sh01d root

msskh

普通会员
2012-01-11
150
0
0
[font=verdana, geneva, lucida,]OK, finally i got root on my SH-01D, here's the tut:

First, grab the attachment "root.rar"

Run these so as to put "shdisphook" into the phone.
"shdisphook" is used to "monitor" the SD-unmount event for further action
adb push onload.sh /data/local/
adb push libsdservice_jni.so /data/local/
adb push shdisphook /data/local/
adb shell chmod 755 /data/local/onload.sh
adb shell chmod 755 /data/local/shdisphook

Create the "oncmd.sh" file for further action triggered by SD-unmount.
And then grant it "system" right.
adb shell
$ echo 'chmod 777 /cache' > /data/local/oncmd.sh
$ echo 'chmod 666 /cache/recovery' >> /data/local/oncmd.sh
$ chmod 755 /data/local/oncmd.sh

Trigger the "shdisphook"!
adb reboot
adb wait-for-device shell /data/local/shdisphook

Note that after running "reboot", the cmd would wait for some time.
Once the cmd is ready, run "wait-for-device" immediately.

After the phone is restarted, go "settings" -> "SD" -> "unmount SD"
There is a dialog asking you to confirm it.
Simply click "cancel". The "shdisphook" should effect!

Please check if "/cache" is 777.
adb shell ls -l /cache
If it is like this, you can proceed:
drwxrwx--- root  root  2011-11-11 03:39 lost+found
drw-rw-rw- system cache 2012-01-24 10:48 recovery

If you are already used the old menthod to try to root before, you must change the /cache directory back to origin like this:
adb shell rm -r /cache/recovery
adb shell mv /cache/recovery_ /cache/recovery

RUN these code:
adb shell mv /cache/recovery /cache/recovery_
adb shell ln -s /dev/boot_daemon_drv /cache/recovery

Please check again if "/cache" is correct.
adb shell ls -l /cache
If it is like this, you can proceed:
drwxrwx--- root  root 2011-11-11 03:39 lost+found
drw-rw-rw- system cache 2012-01-24 10:48 recovery_
lrwxrwxrwx shell  shell 2012-03-02 13:24 recovery -> /dev/boot_daemon_drv
If not please try again from step 1.

Then RUN installfile.cmd

Finally, run adb shell and then su enter to check if it's root #. You might want to install su manager first though.[/font]

 

附件

owen2801

普通会员
2010-03-10
23
0
0
root了是不是可以把電信商偽裝成docomo?? 那就可以升級了? 求解答
 

wayneyi

手机玩家
2007-12-29
51
0
6
粉爱906 发表于 2012-3-3 10:54
哪位大侠汉化下呀!
不要有想法了,完全没用。即使root了也是一时的,重启就没有了。
 

leopanda520

普通会员
2005-12-08
93
0
0
失败6次了……,都是这一步Please check if "/cache" is 777不通过,我觉得是不是文件无效啊什么的,还是移除存储卡的时机不对.
 

psbox15

普通会员
2012-01-07
118
0
0
第一次就成功的到了这一步:
drwxrwx--- root  root 2011-11-11 03:39 lost+found
drw-rw-rw- system cache 2012-01-24 10:48 recovery_
lrwxrwxrwx shell  shell 2012-03-02 13:24 recovery -> /dev/boot_daemon_drv

su也自动装上了 不过还是不能授权
以后再试就不行了
 
G

guo3071

游客
激动人心,无法言表![发帖际遇]:guo3071花钱过多,扣除月底的蓝币-4 何解啊