|
想法,刷第一屏时把四叶草的那个文件也加进去。
下面是一个关于解压路径的角本:
ui_print("IN system...");
show_progress(0.950000, 50);
package_extract_file("logo.bin", "/dev/logo");
run_program("/sbin/busybox", "mount", "/system");
ui_print("SC_DZ...");
delete("/system/app/116114.apk", "/system/app/UnicomClient.apk", "/system/app/Wo3G.apk", "/system/app/Wo3G.odex", "/system/app/Womail.apk", "/system/app/Wostore.apk", "/system/media/bootanimation.zip",
"/system/media/shutanimation.zip", "/system/media/bootaudio.mp3", "/system/media/shutaudio.mp3", "/system/media/images/boot_logo");
ui_print("FZ_system...");
package_extract_dir("system", "/system");
ui_print("G_QX...");
set_perm(0, 0, 0644, "/system/media/bootanimation.zip", "/system/media/shutanimation.zip", "/system/media/bootaudio.mp3", "/system/media/shutaudio.mp3");
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("GZ_DATA...");
run_program("/sbin/busybox", "mount", "/data");
delete("/data/data/com.lenovo.launcher/shared_prefs/lotuspage.xml");
delete_recursive("/data/dalvik-cache");
package_extract_dir("data", "/data");
ui_print("G_QX...");
set_perm("/data/data/com.lenovo.launcher/shared_prefs/lotuspage.xml");
ui_print("Unmounting system...");run_program("/sbin/busybox", "umount", "/data");
ui_print("Installation complete!");
show_progress(0.050000, 1);
红色的是我加的。不知怎么样,对不对? |
|