What phone that you use?
Sent from my ST26i
First of all i want to thank you for this app and your tutorial it was the best and i also want to include STAR N9776 MTK 6577 china phone to the working one thanks again
Hi,
i made a small script which is able to root ICS/JB phones. It uses a remount timing issue in Androids "adb restore" service.
So normally it should work on nearly all ICS/JB devices, for some it won't but the idea may work in a slightly modded version
There is a case for Xperia T and Xperia S,P etc. phones, this phones run ICS but don't have android's native restore with adb, Sony has added a own custom "Backup&Restore" app, the script handles this cases too, just choose the correct option!
Download:
Root_with_Restore_by_Bin4ry_v15: Click
Have fun with it and if you like you can donate to me
How-To:
1.) Download attached file.
2.) Extract it using 7zip
3.) Double click the RunMe.bat and follow instructions!
Xperia phones = Normal mode
Sony Tablet and similar = Special mode
Video Tutorial: http://xdaforums.com/showthread.php?p=33470626#post33470626
Updates:
Updated to v2 windows&linux! (thanks kamistral for the Unix port )
Updated to v3 (no unix script included yet, sorry no time!) - Included Sony Tablet S mode thanks WonderEkin for helping me out there!
Updated to v4 - On many requests i added a unroot option
Updated to v5 - Other renamed to Normal, Xperia T integrated to Normal-Mode, adjusted wait-for-device time to atleast 10 seconds etc...
Updated to v6 - Made it even more simple Checks itself for Xperia S, P etc etc and switches modes automatically. So only 3 modes left: Normal, Tablet S and unroot.
Updated to v7 - Fixed some scripting errors & added some more output!
Updated to v8 - Fixed very very stupid scripting error!
Updated to v9 - Fixed another bug (thanks maxrfon) & Added automatic stat for Backup&Restore on special Sony devices like LT26,LT22 ...
Updated to v10 - Just updated Superuser app and su binary
Updated to v11 - Added sync to Special mode, thanks to smokey_joe
Updated to v12 - Added ric for Xperia T, device will not reboot anymore on system remount + Full Unix script (thanks codeworkx for port)
Updated to v13 - Fixed selfmade bugs -.-
Updated to v14 - Fixed several Unix bugs, added support for more devices with RIC, no more reboot issues on this devices after remounting system partition to RW
Updated to v14_2 - Just a fix for Unix SH script (thanks to shadyabhi)
Updated to v15 - Fixed "lagging devices", just re-root a lagging device and it will be fine
Notice:
Normal Mode will not wipe any other data, dont worry!
Special Mode CAN wipe your data, Rollback SHOULD restore, but to be sure backup you data somehow!
Confirmed devices:
Sony Xperia : S, T, P , Acro S, Ion , Tipo , Tablet S, Go, Sola, U
Google: Nexus 7 [UK Firmware] (thanks Paul O'Brien for test) [seems some firmwares to work and some don't, as i dont have this device myself i would appreciate reports with FW-versions]
XTouch: X401
Jiayu G2-S thanks txakar
LG: P705 thanks mariolcneto, P7510 thanks fdothivanka
HTC: One S thanks sebagsm, Sensation XL [ICS 4.03] thanks Koate via PM, Sprint's OTA ICS update on Evo3D seems incompatible, Desire S thanks to Krayt via PM
Kyocera: Rise & Hydro thanks jmztaylor
Samsung: Galaxy S2 thanks danroob
Some more
Ainol: Novo 7 Tornado 7 thanks anoperson
Prestigio: MultiPad PMP5197D 9.7 ULTRA thanks logofreax
HDC: I9300 S3 clone thanks PMmshprojects
Additional info for SONY 2012 Owners:
If your STOCK ROM does not have preinstalles Sony's Backup&Restore app please visit arielhezi thread, it may help you:
http://xdaforums.com/showthread.php?t=1898240
Regards
No and no. For Xperia p I think you must use the normal method, which doesn't wipe your data.
Sent from my ST27i using xda app-developers app
I just got my Xperia Ion this past week. I want to root it, so I tried this method.
I am running 4.0.4 Build # 6.1.C.1.105. Will this work for me?
Here is the message I get when I tried this method:
C:\Windows\system32>cd C:\Root
C:\Root>stuff\adb devices
List of devices attached
CB5A1KPHL4 device
C:\Root>RunMe
======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (13.10.2012) v15 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 1
Checking if i should run in Normal Mode or special Sony Mode
Please connect your device with USB-Debugging enabled now
3097 KB/s (142735 bytes in 0.045s)
remote object '/system/bin/ric' does not exist
.
Found Sony Backup-Restore.apk
LT26,LT22 etc. mode enabled!
.
Pushing busybox....
2724 KB/s (1085140 bytes in 0.389s)
Pushing su binary ....
4082 KB/s (91980 bytes in 0.022s)
Pushing Superuser app
3277 KB/s (996704 bytes in 0.297s)
Making busybox runable ...
.
Pushing fake Backup
2322 KB/s (73728 bytes in 0.031s)
Extracting fakebackup on device ...
Watch now your device. Select the backup named RootMe and restore it!
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.L
AUNCHER] cmp=com.sonyericsson.vendor.backuprestore/.ui.BackupActivity }
Error type 3
Error: Activity class {com.sonyericsson.vendor.backuprestore/com.sonyericsson.ve
ndor.backuprestore.ui.BackupActivity} does not exist.
If all is successful i will tell you, if not this shell will run forever.
Running ......
Not working on a Stock Xperia S... doesnt ask to restore... just reboots... and fails to chmod
$ dd if=fakebackup.ab bs=1 skip=24 | openssl zlib -d >fakebackup.tar
$ tar tvf fakebackup.tar
-rw-rw-rw- user/user 2093 2012-08-02 03:21 apps/com.android.settings/_manifest
drwxr-xr-x user/user 0 2012-07-12 16:55 apps/com.android.settings/r/
drwxrwxrwx user/user 0 2012-08-02 22:23 apps/com.android.settings/r/a/
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/[B][COLOR="Red"]file44[/COLOR][/B]
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file50
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file71
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file72
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file25
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file49
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file61
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file34
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file05
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file78
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file33
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file39
-rw-r--r-- user/user 524288 2012-08-02 22:22 apps/com.android.settings/r/a/file70
...