SH-09D Root Instructions for Build 01.00.05


 

IMPORTANT
・ You assume all responsibility for performing the below operations. 

PREREQUISITES
・ ADB on your computer
・ Sharp ADB driver installed 

1. Download the tool by goroh_kun to move the shell script to system and set the privileges.
1.1. Download the following two files to the folder where your ADB files are, e.g. C:\root.
NOTE: This is assumed to be the directory used. If different, please adjust accordingly.

- isw16sh.ab
- onload.sh
[Original URL] https://t.co/hBCl42Z8

1.2. Download the following file:
- mkdevsh
[Original URL] https://t.co/Sn0oBKBH
Save it in the same folder.

2. Execute the following commands from the command prompt.

>cd C:\root
>adb restore isw16sh.ab

3. On your phone, Press OK when prompted.

4. Confirm that the restore procedures are completed.

>adb shell
>$cd /data/data/com.android.settings/
>$rm ./a/file*
>$while : ; do ln -s /data/data/com.android.settings/lib/libsdservice_jni.so a/file99; done

5. While executing the above, run the following commands in a separate command prompt window.

>cd C:\root
>adb restore isw16sh.ab

On your phone, Press OK when prompted.

6. Exit (close) the first command prompt window.

7. Execute these commands from the second command prompt window:

>adb shell
>$cd /data/data/com.android.settings/
>$ls -l lib

⇒ Check if libsdservice_jni.so exists
If it does not exist, start over, because otherwise the process will fail.

8. Execute the following command from the second command prompt window. 

>adb push onload.sh /data/local/tmp/onload.sh

9. On the phone, go to Settings > microSD & phone storage > Unmount microSD > OK

◎ダイアログ出てすぐ強制終了がかかる
【注意】強制終了ダイアログが出る前に操作が完了している必要あり

10. Confirmation

>adb shell
>$ls -l /data
>$ls -l /cache

◎[/data][/cache]のファイル・ The procedure has failed if the directory is not displayed.
◎[/data][/cache]のファイル・ディレクトリが表示されなければ失敗

11. Execute the following commands from the second command prompt window. 

>adb push mkdevsh /data/local/tmp/mkdevsh
>adb push onload.sh /data/local/tmp/onload.sh
>adb shell chmod 777 /data/local/tmp/mkdevsh
>adb shell chmod 777 /data/local/tmp/onload.sh

12. On the phone, go to Settings > microSD & phone storage > Unmount microSD > OK

◎ダイアログ出てすぐ強制終了がかかる
【注意】強制終了ダイアログが出る前に操作が完了している必要あり
◎microSDがマウントされていない場合は、一度マウントしてから行います

13. Check if you have root permissions

>adb shell
>$ /dev/sh
#

If the cursor changes from $ to #, you have root permissions.

14. Download the MIYABI lock release executable for SH-09D Build 10.00.05 from the following site.
Download the following file and save it in the same folder as above:

- sh09d_unlock_05
[Original URL] http://nrt-information.com/hackz/sh09d05/sh09d_unlock_05

15. Execute the following commands from the second command prompt window.

>adb push mkdevsh /data/local/tmp/sh09d_unlock_05
>adb shell
>$ /dev/sh
># /data/local/tmp/sh09d_unlock_05
># sync;sync;sync 
># mount -o remount,rw -t ext4 /dev/block/mmcblk0p12 /system 
># dd if=/data/local/tmp/su of=/system/bin/su 
># chown root.shell /system/bin/su 
># chmod 06755 /system/bin/su 
># sync;sync;sync 
># mount -o remount,ro -t ext4 /dev/block/mmcblk0p12 /system 
># reboot 

◎途中で[Permision deny]などの文字が表示されなければ成功です

16. Reboot the phone.

># reboot 

17. Install the SuperUser app from Google Play (and any other app you may need).

SOURCE (in Japanese): http://nrt-information.com/hackz/sh09d05/sh09d_miyabi.html