不好意思,一朋友手机是OPPO T703,内部存储吃紧,想删掉些定制应用。今天跟度娘聊了一天,硬是没有找到root方法。现在有官方出的recovery mode下用的update.zip卡刷包,可以不可以在这里删掉些应用,重新打包和签名?这样搞的风险大不大?刷完后假如出现问题,能不能用正确的update.zip刷回来?
解决方案 »
- 求指教 为什么android模拟器无法上网
- 关于真机上运行程序,出现INSTALL_FAILED_MISSING_SHARED_LIBRARY
- 为什么 要有xml布局文件呢?
- 布局问题,RadioGroup in RelativeLayout
- 注册用户在记住账号和密码后怎样直接登陆
- EditText自动换行
- android体系化展示
- android客户端调用webservice报异常,是怎么回事
- 手机定时发送数据 间断问题 困扰了1个月
- 第一个android程序就报错,情何以堪(has stopped)
- 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");