mount: permission denied (are you root?)
I root my Xperia S in this way, but when i'm tried to install cyano (with fastboot mode) I had back this message -> Your device must be rooted ..wtf .. root seems to be working
nope it now works, i had to reinstall the drivers...dunno why, anyways, the superuser is blocking the root access ... so is not really rooted
======================================================================
= 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 =
= (20.09.2012) v11 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 2
Special mode:
1) Root
2) Rollback
Make a choice: 1
Tablet S mode enabled!
1059 KB/s (314540 bytes in 0.290s)
pkg: /sdcard/tmp/Term.apk
Success
1308 KB/s (1085140 bytes in 0.810s)
1283 KB/s (91980 bytes in 0.070s)
1315 KB/s (996704 bytes in 0.740s)
1311 KB/s (469980 bytes in 0.350s)
mkdevsh
onload.sh
onload2.sh
packages.xml.sed
remount.sh
VpnFaker.apk
_su
rm failed for /data/data/com.android.settings/a/*, No such file or directory
Please look at your device and click "Restore my data"
1st RESTORE OK, hit ENTER to continue.
Press any key to continue . . .
rm failed for /data/data/com.android.settings/a, Permission denied
Please look at your device and click "Restore my data"
Achieved! hit ENTER to continue.
Press any key to continue . . .
cp: can't open '/data/system/entropy.dat': Permission denied
cp: can't open '/data/system/batterystats.bin': Permission denied
cp: can't open '/data/system/users/userlist.xml': Permission denied
cp: can't open '/data/system/users/0.xml': Permission denied
cp: can't open '/data/system/accounts.db': Permission denied
cp: can't open '/data/system/accounts.db-journal': Permission denied
cp: can't open '/data/system/called_pre_boots.dat': Permission denied
cp: can't open '/data/system/wallpaper_info.xml': Permission denied
cp: can't open '/data/system/appwidgets.xml': Permission denied
cp: can't open '/data/system/netstats_uid.bin': Permission denied
cp: can't open '/data/system/netpolicy.xml': Permission denied
Need to reboot now!
Waiting for device to come up again....
Unlock your device, a Terminal will show now, type this 2 lines, after each line
press ENTER
/data/local/tmp/onload.sh
/data/local/tmp/onload2.sh
after this is done press a key here in this shell to continue!
If the shell on your device does not show please re-start the process!
Starting: Intent { cmp=com.android.vpndialogs/.Term }
Error type 3
Error: Activity class {com.android.vpndialogs/com.android.vpndialogs.Term} does
not exist.
Press any key to continue . . .
121 KB/s (1241 bytes in 0.010s)
/data/local/tmp/script1.sh[1]: /dev/sh: not found
/data/local/tmp/script1.sh[2]: /dev/sh: not found
/data/local/tmp/script1.sh[3]: /dev/sh: not found
/data/local/tmp/script1.sh[4]: /dev/sh: not found
/data/local/tmp/script1.sh[5]: /dev/sh: not found
/data/local/tmp/script1.sh[6]: /dev/sh: not found
/data/local/tmp/script1.sh[7]: /dev/sh: not found
/data/local/tmp/script1.sh[8]: /dev/sh: not found
/data/local/tmp/script1.sh[9]: /dev/sh: not found
/data/local/tmp/script1.sh[10]: /dev/sh: not found
/data/local/tmp/script1.sh[11]: /dev/sh: not found
/data/local/tmp/script1.sh[12]: /dev/sh: not found
/data/local/tmp/script1.sh[13]: /dev/sh: not found
/data/local/tmp/script1.sh[14]: /dev/sh: not found
/data/local/tmp/script1.sh[15]: /dev/sh: not found
/data/local/tmp/script1.sh[16]: /dev/sh: not found
/data/local/tmp/script1.sh[17]: /dev/sh: not found
/data/local/tmp/script1.sh[18]: /dev/sh: not found
/data/local/tmp/script1.sh[19]: /dev/sh: not found
Almost complete! Reboot and cleanup.
Waiting for device to come up again....
/system/bin/sh: su: not found
/system/bin/sh: su: not found
/system/bin/sh: su: not found
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
======================================================================
= 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
remote object '/system/app/Backup-Restore.apk' does not exist
remote object '/system/bin/ric' does not exist
.
.
Normal Mode enabled!
.
Pushing busybox....
1717 KB/s (1085140 bytes in 0.617s)
Pushing su binary ....
1455 KB/s (91980 bytes in 0.061s)
Pushing Superuser app
1911 KB/s (996704 bytes in 0.509s)
Making busybox runable ...
.
Please look at your device and click RESTORE!
If all is successful i will tell you, if not this shell will run forever.
Running ...
Successful, going to reboot your device!
Waiting for device to show up again....
Going to copy files to it's place
- exec '/system/bin/sh' failed: Operation not permitted (1) -
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
続行するには何かキーを押してください . . .
I am facing same issue as yours, Can you tell me what exactly you did to reinstall the drivers also which drivers you used??
Thanks In Advance.
does not work on galaxy chat b5330Hi,
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!
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
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
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
...