不好意思,一朋友手机是OPPO T703,内部存储吃紧,想删掉些定制应用。今天跟度娘聊了一天,硬是没有找到root方法。现在有官方出的recovery mode下用的update.zip卡刷包,可以不可以在这里删掉些应用,重新打包和签名?这样搞的风险大不大?刷完后假如出现问题,能不能用正确的update.zip刷回来?

解决方案 »

  1.   

    应该可以,删除system/app下的apk文件,update.zip只是一个压缩文件,重新打包烧一下试试
      

  2.   

    感谢楼上2位。
    我理清一下思路:
    1:recovery mode模式下的刷机过程是怎么样的?能不能在update.zip里面找到配置文件什么的,比如它要向app下写入某个文件而我删掉了会不会出错导致无法刷机成功?
    2:假如update.zip内容问题导致无法刷机成功,会不会影响下次开机进入recovery mode无法刷官方正确的update.zip包?想尽力了解得透彻点,以免到时候出糗变砖要返厂……
      

  3.   

    咨询了一下公司的牛人,回答的是:无法这样来做...除非你能拿到签名文件,否则修改了update.zip中的文件会影响到文件的完整性,recovery在解密的时候会认为update.zip发生了改变,而且没有正确的签名.
      

  4.   

    网络上有许多ROM签名工具,有用么?签名有没有独特的OPPO公司的标志?
      

  5.   

    这个就不清楚了,没有搞过这些,你自己先试试吧,把原来的update.zip备份好
      

  6.   

    update.zip里面不会有应用程序APK的,你就直接获取root在system/app下删除应用程序就可以了
      

  7.   

    度娘找了,无法获取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");