修改update.zip后果问题 不好意思,一朋友手机是OPPO T703,内部存储吃紧,想删掉些定制应用。今天跟度娘聊了一天,硬是没有找到root方法。现在有官方出的recovery mode下用的update.zip卡刷包,可以不可以在这里删掉些应用,重新打包和签名?这样搞的风险大不大?刷完后假如出现问题,能不能用正确的update.zip刷回来? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 应该可以,删除system/app下的apk文件,update.zip只是一个压缩文件,重新打包烧一下试试 感谢楼上2位。我理清一下思路:1:recovery mode模式下的刷机过程是怎么样的?能不能在update.zip里面找到配置文件什么的,比如它要向app下写入某个文件而我删掉了会不会出错导致无法刷机成功?2:假如update.zip内容问题导致无法刷机成功,会不会影响下次开机进入recovery mode无法刷官方正确的update.zip包?想尽力了解得透彻点,以免到时候出糗变砖要返厂…… 咨询了一下公司的牛人,回答的是:无法这样来做...除非你能拿到签名文件,否则修改了update.zip中的文件会影响到文件的完整性,recovery在解密的时候会认为update.zip发生了改变,而且没有正确的签名. 网络上有许多ROM签名工具,有用么?签名有没有独特的OPPO公司的标志? 这个就不清楚了,没有搞过这些,你自己先试试吧,把原来的update.zip备份好 update.zip里面不会有应用程序APK的,你就直接获取root在system/app下删除应用程序就可以了 度娘找了,无法获取root,至少没有针对这款机型的root工具,手机也不在自己手上(不是自己的),无法一个一个的试。集成了N多应用,比如人人网、新浪微博、捕鱼等……需要删除重新装到sd卡上。获得update_script内容如下:assert(getprop("ro.product.device") == "oppo13_gb" || getprop("ro.build.product") == "oppo13_gb");show_progress(0.500000, 0);format("yaffs2", "MTD", "userdata");format("yaffs2", "MTD", "system");mount("yaffs2", "MTD", "system", "/system");package_extract_dir("recovery", "/system");package_extract_dir("system", "/system");symlink("toolbox", "/system/bin/cat", "/system/bin/chmod", "/system/bin/chown", "/system/bin/cmp", "/system/bin/date", "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd", "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill", "/system/bin/ln", "/system/bin/log", "/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof", "/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/sync", "/system/bin/top", "/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe");set_perm_recursive(0, 0, 0755, 0644, "/system");set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");set_perm(0, 2000, 04755, "/system/bin/aee");set_perm(0, 2000, 04755, "/system/bin/check_ota");set_perm(0, 3003, 02750, "/system/bin/netcfg");set_perm(0, 3004, 02755, "/system/bin/ping");set_perm(0, 2000, 06750, "/system/bin/run-as");set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");set_perm(0, 2000, 0755, "/system/vendor");set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");set_perm(0, 2000, 0755, "/system/vendor/lib");set_perm(0, 2000, 0755, "/system/vendor/lib/egl");set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6573.so");set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");set_perm(0, 0, 0755, "/system/xbin/tcpdump");show_progress(0.200000, 0);show_progress(0.200000, 10);assert(package_extract_file("boot.img", "/tmp/boot.img"), write_raw_image("/tmp/boot.img", "boot"), delete("/tmp/boot.img"));show_progress(0.100000, 0);unmount("/system"); 自定义view的ANR问题 怎么样让canvas画出的图形产生onclick事件 学习开发安卓手机的软件,一定要原生安卓吗? 求助安卓模拟器的文件管理器不能添加文件夹 开发pc套件 支持android手机,求思路 为什么我机子有个模拟器怎么看不到 新手求助:怎样将wifi接收的声音二进制数据,通过耳麦能听到 移植Android4.1.2出现摄像头黑屏的问题 基于android的师生答疑平台的开发 关于动态获取一个布局高度的疑问 windows下的java程序能否在android平台上运行 请教困扰很久的问题:android 2.3.4 在平板电脑上有些重力感应游戏不能玩。
我理清一下思路:
1:recovery mode模式下的刷机过程是怎么样的?能不能在update.zip里面找到配置文件什么的,比如它要向app下写入某个文件而我删掉了会不会出错导致无法刷机成功?
2:假如update.zip内容问题导致无法刷机成功,会不会影响下次开机进入recovery mode无法刷官方正确的update.zip包?想尽力了解得透彻点,以免到时候出糗变砖要返厂……
集成了N多应用,比如人人网、新浪微博、捕鱼等……需要删除重新装到sd卡上。
获得update_script内容如下:assert(getprop("ro.product.device") == "oppo13_gb" ||
getprop("ro.build.product") == "oppo13_gb");
show_progress(0.500000, 0);
format("yaffs2", "MTD", "userdata");
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 2000, 04755, "/system/bin/aee");
set_perm(0, 2000, 04755, "/system/bin/check_ota");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");
set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6573.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0755, "/system/xbin/tcpdump");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");