|
小白一枚 自己尝试改包
解包重打包system.new.dat和system.transfer.list文件 (小幅精简,DPI改为400)
修改刷机脚本updater-script
ui_print("update....");
ui_print("Please wait a moment...");
show_progress(0.750000, 0);
block_image_update("/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
ui_print("Verifying the updated system image...");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/boot");
show_progress(0.200000, 10);
package_extract_file("lk.bin", "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/lk");
package_extract_file("trustzone.bin", "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/tee2");
package_extract_file("trustzone.bin", "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/tee1");
delete("/cache/recovery/last_mtupdate_stage");
unmount("/data");
其他地方没有改动
但刷完之后开机总是如下提示
|
|