大贤者
精华
|
战斗力 鹅
|
回帖 0
注册时间 2011-4-19
|
好不容易装好gcc for C4Droid和C4Droid本体 结果用g++编译的时候又碰上权限问题
一堆mount:not found 再来就是permission denied
MX确实按照gfan的教程root了 ES里看/system也有读写权限了(http://bbs.gfan.com/android-3573423-1-1.html)
不过好像不彻底 root的过程一堆failed 找不到目录没执行某些操作 但完全看不懂怎么回事
放狗找到个类似的案例 但因机器不同不知道"/Removable/MicroSD"该替换成啥 而完全没法尝试
http://forum.xda-developers.com/showthread.php?t=1215981
有大大给指点下迷津么 这个mount怎么回事 图片底下附上了第二次root时的cmd里的信息

 - 如果root不成果,请将显示内容截图,发帖上传。
- E:\mxroot>pause
- 请按任意键继续. . .
- E:\mxroot>adb shell "cd /data/local/tmp/; rm *"
- E:\mxroot>adb push zergRush /data/local/tmp/.
- 1607 KB/s (23052 bytes in 0.014s)
- E:\mxroot>adb shell "chmod 777 /data/local/tmp/zergRush"
- E:\mxroot>adb shell "./data/local/tmp/zergRush"
- [**] Zerg rush - Android 2.2/2.3 local root
- [**] (C) 2011 Revolutionary. All rights reserved.
- [**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.
- [+] Found a GingerBread ! 0x00017118
- [*] Scooting ...
- [*] Sending 149 zerglings ...
- [+] Zerglings found a way to enter ! 0x10
- [+] Overseer found a path ! 0x000175e8
- [*] Sending 149 zerglings ...
- [+] Zerglings caused crash (good news): 0x40119cd4 0x0054
- [*] Researching Metabolic Boost ...
- [+] Speedlings on the go ! 0xafd2598d 0xafd395e7
- [*] Popping 24 more zerglings
- [*] Sending 173 zerglings ...
- [+] Rush did it ! It's a GG, man !
- [+] Killing ADB and restarting as root... enjoy!
- E:\mxroot>adb wait-for-device
- E:\mxroot>adb push busybox /data/local/tmp/.
- 3859 KB/s (1075144 bytes in 0.272s)
- E:\mxroot>adb shell "mount -o remount rw /"
- mount: not found
- E:\mxroot>adb shell "mkdir /tmpsys"
- mkdir failed for /tmpsys, Read-only file system
- E:\mxroot>adb shell "chmod 777 /data/local/tmp/busybox"
- E:\mxroot>adb shell "/data/local/tmp/busybox mount -o remount,rw /system"
- E:\mxroot>adb shell "/data/local/tmp/busybox mount /dev/block/mmcblk0p2 /tmpsys
- "
- mount: mounting /dev/block/mmcblk0p2 on /tmpsys failed: No such file or director
- y
- E:\mxroot>adb shell "chmod 777 /tmpsys/app"
- Unable to chmod /tmpsys/app: No such file or directory
- E:\mxroot>adb shell "chmod 777 /tmpsys/app/*"
- Unable to chmod /tmpsys/app/*: No such file or directory
- E:\mxroot>adb shell "chmod 777 /tmpsys/xbin"
- Unable to chmod /tmpsys/xbin: No such file or directory
- E:\mxroot>adb push su /tmpsys/bin/.
- failed to copy 'su' to '/tmpsys/bin/.': No such file or directory
- E:\mxroot>adb shell "chown root.shell /tmpsys/bin/su"
- Unable to chmod /tmpsys/bin/su: No such file or directory
- E:\mxroot>adb shell "chmod 06755 /tmpsys/bin/su"
- Unable to chmod /tmpsys/bin/su: No such file or directory
- E:\mxroot>adb shell "rm /tmpsys/xbin/su"
- rm failed for /tmpsys/xbin/su, No such file or directory
- E:\mxroot>adb shell "ln -s /system/bin/su /tmpsys/xbin/su"
- link failed No such file or directory
- E:\mxroot>adb push Superuser.apk /tmpsys/app/.
- failed to copy 'Superuser.apk' to '/tmpsys/app/.': No such file or directory
- E:\mxroot>adb push Sysremountv0.5.apk /tmpsys/app/.
- failed to copy 'Sysremountv0.5.apk' to '/tmpsys/app/.': No such file or director
- y
- 若无问题,则准备重启手机。
- E:\mxroot>pause
- 请按任意键继续. . .
复制代码 |
|