- 0
- 0
- 约2.49万字
- 约 16页
- 2026-01-26 发布于北京
- 举报
本于网络和个人经验,非全部。
本仅适用于MTK。
各个版本之间理论上只能进行深度移植,例如4.1与4.1、4.2与4.2不同版本间的自测,请注意。
ROM对MTK的移植非常简单,但后续Bug修复部分较为。
开始。建议选择分辨率相近的机型,避免部分错位和无法启动。
第一部分:带平台移植(如MTK6589互移)1.ROM的ROM移植和提取。2.从你的系统中提取
以下文件(建议多次整合后方便移植)。
需要替换的文件夹:(没有文件夹可以跳过,不要管)
system/vendor/lib/system/usr/keychars和
keylayout两个文件夹system/lib/modu/
system/lib/hw/
system/lib/cam***.so(这里就是了,我的习惯是先替换libcameracustom.so,如果头有问题再替
换其他)
system/lib/audio***.so(通常我只在这里替换libaudio.primary.default.so)
system/etc/firmware/
system/etc/mddb/
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth(如果蓝牙出现问题请替换)system/etc/wifi(Wi‑Fi出现问题请替换)
将覆盖这些文件夹以移植ROM,请注意是替换而不是覆盖或合并。
第二,刷机的使用使用记事本++打开
要移植的ROM
META‑INF//android/updater‑script
(1)如果以型号验证开始例如,assert(getprop(“ro.product.device”)“**x”||
getprop(“ro.product.product”)“**xx”)
此模型是代码的验证。不会被忽略,机器名称也可以修改为他的。
Thistutorialisderivedfromthenetworkandalexperience,notalloriginal.
ThistutorialisonlyapplicabletoMTKphonechip.
Eachotheronlydeepzhuoversiontransntationintheory,forexample,4.14.1,4.2,4.2differentversionsof
theself-test,please.
ROMphoneMTKchipstransntationisverysimple,butsubsequentBugfixingpartismoredifficult
Thetutorialbegins.
Suggestchoosingresolutionofsimilarmachines,avoidpartialdislocationandnotboot.
Thefirstpart:withtformtransntation(MTK6589mutualtransnt,forinstance)
1.TheROMtransntationofROMandextract.
2.Thefollowingfiextractedfromyoursystem(moretimesafteradviceintegrat
原创力文档

文档评论(0)