[破解/提权教程] 帮你解决SU permission denied的问题,正解

来源:互联网 发布:手机版淘宝怎么退货 编辑:程序博客网 时间:2024/05/16 14:39

http://bbs.hiapk.com/thread-2230602-1-1.html


本帖最后由 daohunpo 于 2011-8-11 19:01 编辑

http://wiki.cyanogenmod.com/wiki/HTC_Dream:_Rooting#Installing_a_Custom_Recovery_Image
看这个wiki的帖子照着步骤一步一步来,虽然是英文但是单字都不难。
论坛上提权的教程,我都遇到permission denied的问题,但是经过这个网站上一步步的来,终于获得权限,刷了一整天,皇天不负有心人。
跟大家一起来分享一下

    我找到最致命的让很多人su 拒绝的最主要原始是少了以下这段
If you're having problem with signing in to Google at the Setup Wizard, here is your solution:
  • Downgrade the firmware
  • Copy the desired recovery image to the root of the SD card, name it recovery.img
  • Enable WiFi connection and connect to your local home network: Windows or Linux
  • On the Android screen, type this: <enter>telnetd<enter>
  • On your PC, open a new Command Line (Win+R, type cmd<enter>)
  • On the device, press on your connection to know your local IP
  • Back on PC, type this to the fresh command line: telnet [your_local_ip]. This should connect you to the device, and you should see this: # #
  • If it's right, copy these lines and press enter on the end of them:
  • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  • dd if=/system/bin/sh of=/system/bin/suchmod
  • 4755 /system/bin/su
  • Now let's try it. Type su in the console. If it says nothing, but opens a new line (# #) then you're good. If it says "permission denied", repeat step 8.
只要这段你能过就说明你得到su的权限,剩下的就小菜了,不过很多网站上的刷机方法都没提到这个。

原创粉丝点击