Unable to delete old TWRP backup as root - Android Q&A, Help & Troubleshooting

Hi
Code:
[email protected]_mecdug:/storage/emulated/0/TWRP # ls -las
total 12
-rw-rw---- root sdcard_rw 956 2017-12-30 14:59 .twrps
drwxrwx--x root sdcard_rw 2017-12-28 16:17 2015-04-12--20-30-48_LRX22G_release-keys
drwxrwx--x root sdcard_rw 2017-12-30 14:23 BACKUPS
m -rf 2015-04-12--20-30-48_LRX22G_release-keys/ <
rm: data.ext4.win.md5: Permission denied
rm: system.ext4.win.md5: Permission denied
rm: boot.emmc.win: Permission denied
rm: data.info: Permission denied
rm: boot.emmc.win.md5: Permission denied
rm: recovery.log: Permission denied
rm: data.ext4.win: Permission denied
rm: system.ext4.win: Permission denied
rm: system.info: Permission denied
1|[email protected]_mecdug:/storage/emulated/0/TWRP # lsattr
lsattr: reading ./BACKUPS: Inappropriate ioctl for device
lsattr: reading ./2015-04-12--20-30-48_LRX22G_release-keys: Inappropriate ioctl for device
WTF?

Try
sudo m -rf 2015-04-12--20-30-48_LRX22G_release-keys/
Or may be these files is locked by other process

Related

[Q] Will Photon AIO root work with US cellular electrify?

Tried the AIO root for the electrify on us celluar. got this:
* daemon not running. starting it now *
* daemon started successfully *
Getting temp root
RE-boot-en
Hackin Things
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
deleting all yo ****
remount failed: Operation not permitted
77 KB/s (4292 bytes in 0.054s)
Copying files onto phone...
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
failed to copy 'remount' to '/system/xbin/remount': Read-only file system
Setting permissions...
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/remount: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
link failed Read-only file system
Installing busybox...
/system/xbin/busybox: not found
Cleaning up files...
"You should have root!"
Press any key to continue . . .
Any suggestions?
Thanks in advance
There are problems with the AIO for Electrify running 2.3.5. The "Photon Torpedo" method should work, though. (If you're comfortable with ADB shell, I would recommend using that instead of a terminal emulator on your phone.)
Wow just a newb. that looks pretty complex. May need to wait it out unless someone else can suggest something more my cup of tea.
thank you for you response. I may end up trying it.
Regards,
CTB

[Q] SGPT112US/S Root Help Please!

I have an unrooted Sony Tablet S 32GB Wifi model #SGPT112US/S Android Version 4.0.3 (release 5) Kernel 2.6.39.4 [email protected] #1.
Desktop trying to root from is Windows 7 64 bit (never had any issues rooting when it was on HC and or other devices in the past)
I have attempted the automated way from http://forum.xda-developers.com/showthread.php?t=1886460 , & http://forum.xda-developers.com/showthread.php?t=1828107 all 15 scripts, one at a time, all failed, all factory reset after including erasing USB storage so it is clean.
I have tried to re-sign step by step, copy/paste line by line from http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42 and then follow instructions from http://forum.xda-developers.com/showthread.php?t=1828107 and tried the auto scripts again and still no luck.
I already have latest drivers from the afore mentioned http://forum.xda-developers.com/showthread.php?t=1828107 & and tested ADB as well. After each reset I enable Unknown Sources from Settings, Security, and Settngs, Developer Options, USB Debugging.
Wifi enabled, I also run Google Play and download Zinsigner2. (obviously for re-signing), tablet is plugged into wall outlet in case any issue with power and the update.
Files Extracted to root of C:\ using 7-zip using latest version of 7-zip in case of any directory length limitations.
I have tried running ADB from both the directory itself and enviornment path from afore mentioned link, and same adb version as from link.
I have also attempted the manual mode from http://forum.xda-developers.com/showthread.php?t=1886310 with both re-signed vpnfaker and not and no go.
I have also tried multiple people's other vpnfaker files just to eliminate I am somehow a total [email protected] and cant copy/paste but no go either (didnt really expect that to work but figured worth a shot).
Below is what I receive from Automated script 1st, and 2nd manual typing it out from manual link. If you have any suggestions/personal experience with this model and have success, please let me know what else I may be missing. I have way to many hours into this so far.
Thanks in advance.
Manual
C:\Root>adb restore settings.ab
C:\Root>cd /data/data/com.android.settings
The system cannot find the path specified.
C:\Root>adb shell
[email protected]:/ $ cd /data/data/com.android.settings
cd /data/data/com.android.settings
[email protected]:/data/data/com.android.settings $ rm -r a
rm -r a
rm failed for a, Permission denied
255|[email protected]:/data/data/com.android.settings $
I then run the while : ; do ln -s /data a/file99; done and it starts the loop.
I continue with the following
C:\Root>adb shell ls -ld /data
drwxrwxrwx system system 2012-10-15 18:42 data
C:\Root>adb push busybox /data/local/tmp
1313 KB/s (1867568 bytes in 1.388s)
C:\Root>adb push rootkit.tar.gz /data/local/tmp
1337 KB/s (469979 bytes in 0.343s)
C:\Root>adb push Superuser.apk /data/local/tmp
1259 KB/s (1468798 bytes in 1.138s)
C:\Root>adb push su /data/local/tmp
1323 KB/s (380532 bytes in 0.280s)
C:\Root>adb shell
[email protected]:/ $ cd /data/local/tmp
cd /data/local/tmp
[email protected]:/data/local/tmp $ chmod 755 busybox
chmod 755 busybox
[email protected]:/data/local/tmp $ ./busybox tar zxf rootkit.tar.gz
./busybox tar zxf rootkit.tar.gz
[email protected]:/data/local/tmp $ exit
exit
C:\Root>adb push VpnFaker.apk /data/local/tmp
1254 KB/s (200436 bytes in 0.156s)
C:\Root>adb shell
[email protected]:/ $ touch -t 1346025600 /data/local/tmp/VpnFaker.apk
touch -t 1346025600 /data/local/tmp/VpnFaker.apk
[email protected]:/ $ exit
exit
C:\Root>adb shell
[email protected]:/ $ cd /data
cd /data
[email protected]:/data $ /data/local/tmp/busybox cp -r system system2
/data/local/tmp/busybox cp -r system system2
cp: can't open 'system/entropy.dat': Permission denied
cp: can't open 'system/batterystats.bin': Permission denied
cp: can't open 'system/users/userlist.xml': Permission denied
cp: can't open 'system/users/0.xml': Permission denied
cp: can't open 'system/accounts.db': Permission denied
cp: can't open 'system/accounts.db-journal': Permission denied
cp: can't open 'system/called_pre_boots.dat': Permission denied
cp: can't open 'system/wallpaper_info.xml': Permission denied
cp: can't open 'system/appwidgets.xml': Permission denied
cp: can't open 'system/netpolicy.xml': Permission denied
cp: can't open 'system/netstats.bin': Permission denied
cp: can't open 'system/netstats_xt.bin': Permission denied
cp: can't open 'system/netstats_uid.bin': Permission denied
1|[email protected]:/data $ /data/local/tmp/busybox find system2 -type f -exec chmod
666 {} \;
d system2 -type f -exec chmod 666 {} \; <
[email protected]:/data $ /data/local/tmp/busybox find system2 -type d -exec chmod 7
77 {} \;
system2 -type d -exec chmod 777 {} \; <
[email protected]:/data $ mv system system-
mv system system-
[email protected]:/data $ mv system2 system
mv system2 system
failed on 'system2' - Permission denied
255|[email protected]oid:/data $ mv app app-
mv app app-
[email protected]:/data $ mkdir app
mkdir app
[email protected]:/data $ mv /data/local/tmp/VpnFaker.apk /data/app
mv /data/local/tmp/VpnFaker.apk /data/app
[email protected]:/data $ TZ=0 ls -l /data/app
TZ=0 ls -l /data/app
-rw-rw-rw- shell shell 200436 2012-08-27 00:00 VpnFaker.apk
[email protected]:/data $ /data/local/tmp/busybox sed -f /data/local/tmp/packages.xm
l.sed system-/packages.xml > system/packages.xml
tem-/packages.xml > system/packages.xml <
/system/bin/sh: cannot create system/packages.xml: Permission denied
1|[email protected]:/data $ /data/local/tmp/busybox grep vpndialogs system/packages.
xml
p vpndialogs system/packages.xml <
grep: system/packages.xml: No such file or directory
2|[email protected]:/data $
Device reboots on its own after putting in /data/local/tmp/busybox grep vpndialogs system/packages.xml
Although it seems silly, still following directions I type in and perform the following.
exit
adb reboot
Auto script (version 15 in this example)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Mike>cd\
C:\>dir r*
Volume in drive C has no label.
Volume Serial Number is B637-CD90
Directory of C:\
10/15/2012 05:37 PM <DIR> Root
10/13/2012 05:11 AM 10,236 RunMe.bat
10/13/2012 05:12 AM 11,695 RunMe.sh
2 File(s) 21,931 bytes
1 Dir(s) 285,418,246,144 bytes free
C:\>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: 2
Special mode:
1) Root
2) Rollback
Make a choice: 1
Tablet S mode enabled!
1093 KB/s (314540 bytes in 0.280s)
pkg: /sdcard/tmp/Term.apk
Success
1281 KB/s (1085140 bytes in 0.826s)
1151 KB/s (91980 bytes in 0.078s)
1273 KB/s (996704 bytes in 0.764s)
1337 KB/s (469982 bytes in 0.343s)
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/netpolicy.xml': Permission denied
cp: can't open '/data/system/netstats.bin': Permission denied
cp: can't open '/data/system/netstats_xt.bin': Permission denied
cp: can't open '/data/system/netstats_uid.bin': 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 . . .
201 KB/s (1241 bytes in 0.006s)
/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 . . .
I am having the exact same issue. Only main difference is I am running Windows XP not 7.
Same here.
I don't get "Android is updated" after the reboot. Terminal emulator doesn't start, when I start it manually and enter "id", the UID is 10076, and not 1000 (as it should be as a system app). I think the problem is that we don't get a write permission that others get.
Edit:
in the instructions of the manual rooting method there is a line that reads"Start the injected Terminal Emulator". I know almost nothing about adb, but before this line the emulator "Term.apk" has been mentioned NOWHERE, so it hasn't been injected, or am I getting something wrong.
daClaus said:
Same here.
I don't get "Android is updated" after the reboot. Terminal emulator doesn't start, when I start it manually and enter "id", the UID is 10076, and not 1000 (as it should be as a system app). I think the problem is that we don't get a write permission that others get.
Edit:
in the instructions of the manual rooting method there is a line that reads"Start the injected Terminal Emulator". I know almost nothing about adb, but before this line the emulator "Term.apk" has been mentioned NOWHERE, so it hasn't been injected, or am I getting something wrong.
Click to expand...
Click to collapse
I also don't get android upgated as well (my line of same exact issue might need to be tweaked a bit, I was half asleep when I compared the OP situation to my own) As far as your edit above when I go through manual rooting I get nothing but permissions errors. My understand, forgive me if I am wrong, is that much of it will cause permissions errors and that is okay. I also think the guys here are light years ahead of the game for me as well as many others, so it may just be that everyone else picked up and understood what they were saying to do and I completly missed it.
I did run a AIO script yesterday and it came back as unrootable, which bothers me to say the least, exspecially since I've seen everyone get the thing rooted here.
Good luck, I'm subscribed to this and if I find anything I'll be sure to share here with you
Rob
I have posted to other threads to see if anyone has gotten the root to work with our model SGPT112US/S. I tried to skim through and see (although there are dozens and dozens of pages) but dont think I saw one that did as of yet. Wondering if there is some sort of bug/something different that has to be done for SGPT112US/S.
Time will tell I guess.
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
daClaus said:
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
Click to expand...
Click to collapse
I have the same problem but moving the file to c:\ didn't work for me- same result
Did you re-sign the VpnFaker.apk?
daClaus said:
Did you re-sign the VpnFaker.apk?
Click to expand...
Click to collapse
I didn't will give that a try. Thanks.
I tried resigning the VpnFaker.apk but still didn't work. Just for the hell of it I tried running the script in Normal mode rather than Tablet S mode with the results shown below. Based on the results of this i.e. no backup and restore on the system I installed back up and restore apk from the forum and tried the script again with the results shown below. During this I noticed that there was a message on the tablet saying that backup and restore had stopped working and in fact neither of the two backup and restore apk's from the forum will actually run on my tablet s so at the moment I'm assuming that this is the problem and looking for ways to resolve this.
Output in Normal Mode:
======================================================================
= 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....
1057 KB/s (1085140 bytes in 1.002s)
Pushing su binary ....
1087 KB/s (91980 bytes in 0.082s)
Pushing Superuser app
1122 KB/s (996704 bytes in 0.867s)
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
mount: permission denied (are you root?)
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
Output in Tablet S Mode:
======================================================================
= 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: 2
Special mode:
1) Root
2) Rollback
Make a choice: 1
Tablet S mode enabled!
929 KB/s (314540 bytes in 0.330s)
pkg: /sdcard/tmp/Term.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
1255 KB/s (1085140 bytes in 0.843s)
1299 KB/s (91980 bytes in 0.069s)
1180 KB/s (996704 bytes in 0.824s)
1229 KB/s (469987 bytes in 0.373s)
mkdevsh
onload.sh
onload2.sh
packages.xml.sed
remount.sh
VpnFaker.apk
_su
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/users/userlist.xml': Permission denied
cp: can't open '/data/system/users/0.xml': Permission denied
cp: can't open '/data/system/usagestats/usage-20121018': Permission denied
cp: can't open '/data/system/usagestats/usage-20121019': Permission denied
cp: can't open '/data/system/usagestats/usage-history.xml': Permission denied
cp: can't open '/data/system/registered_services/android.accounts.AccountAuthent
icator.xml': Permission denied
cp: can't open '/data/system/registered_services/android.content.SyncAdapter.xml
': Permission denied
cp: can't open '/data/system/sync/status.bin': Permission denied
cp: can't open '/data/system/sync/accounts.xml': Permission denied
cp: can't open '/data/system/sync/pending.bin': Permission denied
cp: can't open '/data/system/sync/stats.bin': Permission denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permis
sion denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Per
mission denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permissi
on denied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permi
ssion denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/even[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission de
nied
cp: can't open '/data/system/dropbox/[email protected]': Permission d
enied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/dropbox/[email protected]': Permission
denied
cp: can't open '/data/system/throttle/temp': Permission denied
cp: can't open '/data/system/inputmethod/subtypes.xml': Permission denied
cp: can't open '/data/system/shared_prefs/log_files.xml': Permission denied
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/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/netpolicy.xml': Permission denied
cp: can't open '/data/system/appwidgets.xml': Permission denied
cp: can't open '/data/system/netstats.bin': Permission denied
cp: can't open '/data/system/netstats_xt.bin': Permission denied
cp: can't open '/data/system/netstats_uid.bin': Permission denied
failed on '/data/system' - Permission denied
failed on '/data/system2' - Directory not empty
failed on '/data/app' - Permission denied
mkdir failed for /data/app, File exists
failed on '/data/local/tmp/VpnFaker.apk' - Permission denied
/system/bin/sh: cannot create /data/system/packages.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 . . .
148 KB/s (1241 bytes in 0.008s)
/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 . . .
I have still had no luck either manual or automatic as of yet. I did find someone with a US model and they provided there VpnFaker.apk file. If someone wants to give it a shot, here is the link.
http://forum.xda-developers.com/showthread.php?t=1886460&page=83
I had no luck with it, but, beginning to wonder if mine is cursed lol.
Note - I did find one odd thing, if I use Internet Explorer, it saves the file as Vpnfaker.zip , Firefox/Chrome saves it correct as Vpnfaker.apk . Just a heads up there because it doesnt "look" any different via Explorer. (didnt notice it until I did a DIR from DOS prompt.
I tried to the root of C:\ as well and no luck, I really think it is something with this specific model. Just a matter of what.....
Thanks for the post though.
daClaus said:
Well, I solved the problem. The whole thing worked the first time when I copied everything to C: on my hard disk. I have to admit that I have the SGPT111AT/S, but I think that doesn't make a difference. RunMe.bat and RunMe.sh are in root, the rest is in the "stuff" folder. Rooting rel. 1a worked instantly, and rooting Rel. 5 after the upgrade worked also at the first attempt. Before that I had the files on my desktop and always got the errors mentioned in the first post.
Click to expand...
Click to collapse
FINALLY!
Here is what I did.
Factory reset including wipe USB
Setup wireless & google account
Settings, Security, check Unknown Sources
Settings, Developer, USB Debugging checked, Stay Awake checked, and Allow mock locations checked.
Download attachmetn from post by k4syx from http://forum.xda-developers.com/showthread.php?t=1886310&page=31
From there, resign the vpnfaker.apk from the extracted folder from instructions http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42
Then replace the vpnfaker.apk file in rootkittablet.tar and inside that rootkit.tar .
run the runme.bat, choose Tablet S,
Follow along until the point the terminal emulator loads.
From there open a new dos box , type adb shell and start from "Still in the Terminal Emulator, ignore the script error" from http://forum.xda-developers.com/showthread.php?t=1886310
Note - I attempted the backup of Backup /system (you may just skip it) but then all I got was a blank screen, and had to start over in new dos box and start over.
One thing I have learned from attempting various scripts, various methods I wanted to pass on.
1. Always factory reset after failed attempts
2. Re-extract original zip file to different location on additional attempt (I think there is something goofy with the backup files after trying to run a 2nd time)
3. Re-sign vpnfaker file after each attempt.
Hope it helps!
mikeblahblah said:
FINALLY!
Here is what I did.
Factory reset including wipe USB
Setup wireless & google account
Settings, Security, check Unknown Sources
Settings, Developer, USB Debugging checked, Stay Awake checked, and Allow mock locations checked.
Download attachmetn from post by k4syx from http://forum.xda-developers.com/showthread.php?t=1886310&page=31
From there, resign the vpnfaker.apk from the extracted folder from instructions http://forum.xda-developers.com/showpost.php?p=31582941&postcount=42
Then replace the vpnfaker.apk file in rootkittablet.tar and inside that rootkit.tar .
run the runme.bat, choose Tablet S,
Follow along until the point the terminal emulator loads.
From there open a new dos box , type adb shell and start from "Still in the Terminal Emulator, ignore the script error" from http://forum.xda-developers.com/showthread.php?t=1886310
Note - I attempted the backup of Backup /system (you may just skip it) but then all I got was a blank screen, and had to start over in new dos box and start over.
One thing I have learned from attempting various scripts, various methods I wanted to pass on.
1. Always factory reset after failed attempts
2. Re-extract original zip file to different location on additional attempt (I think there is something goofy with the backup files after trying to run a 2nd time)
3. Re-sign vpnfaker file after each attempt.
Hope it helps!
Click to expand...
Click to collapse
Thanks for the perseverance will give it a go. One question does your tablet have the sony backup and restore program on it? Mine doesn't and I cant get any of the posted apk's to run.
I did not install any seperate app, just what was built in with 4.0.3. release 5. It does prompt after a reset if I wish to restore my settings, I am assuming it is using the new options with release 5 (I dont remember this with release 1a)
Hope it helps.
tippo88 said:
Thanks for the perseverance will give it a go. One question does your tablet have the sony backup and restore program on it? Mine doesn't and I cant get any of the posted apk's to run.
Click to expand...
Click to collapse
mikeblahblah said:
I did not install any seperate app, just what was built in with 4.0.3. release 5. It does prompt after a reset if I wish to restore my settings, I am assuming it is using the new options with release 5 (I dont remember this with release 1a)
Hope it helps.
Click to expand...
Click to collapse
Ok thanks. I'm still on 1a. Notsure if can get to release 5 guess you are in the US?
I solved my problem too! Apparently it just was a matter of selecting unknown sources.
Sent from my Sony Tablet S using XDA Premium HD app
Correct, US model
tippo88 said:
Ok thanks. I'm still on 1a. Notsure if can get to release 5 guess you are in the US?
Click to expand...
Click to collapse
Good deal, enjoy the root!
kandemirb said:
I solved my problem too! Apparently it just was a matter of selecting unknown sources.
Sent from my Sony Tablet S using XDA Premium HD app
Click to expand...
Click to collapse

Unpacking and repacking .cpio

I can unpack the ramdisk-recovery.cpio with the ubuntu's archive manager.
But how to repack them ??
Plz help me guys
Sent from my Xperia Mini using xda app-developers app
Try this:
Code:
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app
Got it
Make the .cpio.gz using above command
And then gzip -d ramdisk.cpio.gz
Mods place close the thread
Sent from my Xperia Mini using xda app-developers app
What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied
Mlopik said:
What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied
Click to expand...
Click to collapse
You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
---------- Post added at 11:04 AM ---------- Previous post was at 11:01 AM ----------
singh_dd93 said:
I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app
Click to expand...
Click to collapse
Just do
Code:
find . | cpio -o > ramdisk.cpio
You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
Click to expand...
Click to collapse
A really good point! I was stuck for a day and you let me go, man!

[Q] How to recover-repair root??

Hi
Can anyone help me with my rooting.
this is the first time that i unlock, - root and install a room on a mobile and all was great till last night.
Idk what happened that my root doesnt allow me to delete or move files.
Even that i have root access i have no idea how to Fix tihs problem: Setuid attribute is NOT present BUT root user ownership is present. Root access is NOT correctly configured for this file!
sorry for my bad english, im mexican.
Congratulations! You have root access!
Super User Application Status:
SuperSU application - version 2.46 - is installed!
System File Properties for Root Access:
Standard Location
Check Command: ls -l /system/bin/su:
Result: /system/bin/su: No such file or directory
Analysis: File /system/bin/su does not exist.
Standard Location
Check Command: ls -l /system/xbin/su:
Result: -rwxr-xr-x root root 75364 1970-06-15 08:42 su
Analysis: Setuid attribute is NOT present BUT root user ownership is present. Root access is NOT correctly configured for this file!
Alternative Location
Check Command: ls -l /sbin/su:
Result: /sbin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative Location
Check Command: ls -l /system/xbin/sudo:
Result: /system/xbin/sudo: No such file or directory
Analysis: File /system/xbin/sudo does not exist.
Root User ID and Group ID Status:
Root user id:
uid=0(root)
Root group id:
gid=0(root)
System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin
ADB Shell Default User:
ADB shell setting for standard access, stored in default.prop, is configured as: shell (non root) user - ro.secure=1
Results provided on your D6503 device by Root Checker Pro version 1.3.6 from joeykrim in the Android Market - http://goo.gl/NcnHn
Sent from my Sony Xperia™ smartphone
i finally found a way
http://forum.xda-developers.com/showpost.php?p=49850360&postcount=4
GREAT POST!
Super User Application Status:
SuperSU application - version 2.46 - is installed!
System File Properties for Root Access:
Standard Location
Check Command: ls -l /system/bin/su:
Result: -rwsr-xr-x root root 133472 2008-02-29 03:33 su
Analysis: Setuid attribute is present and root user ownership is present. Root access is correctly configured for this file! Executing this file can grant root access!
Standard Location
Check Command: ls -l /system/xbin/su:
Result: -rwsr-xr-x root root 133472 2008-02-29 03:33 su
Analysis: Setuid attribute is present and root user ownership is present. Root access is correctly configured for this file! Executing this file can grant root access!
Alternative Location
Check Command: ls -l /sbin/su:
Result: /sbin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative Location
Check Command: ls -l /system/xbin/sudo:
Result: /system/xbin/sudo: No such file or directory
Analysis: File /system/xbin/sudo does not exist.
Root User ID and Group ID Status:
Root user id:
uid=0(root)
Root group id:
gid=0(root)
System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin
ADB Shell Default User:
ADB shell setting for standard access, stored in default.prop, is configured as: shell (non root) user - ro.secure=1
Results provided on your D6503 device by Root Checker Pro version 1.3.6 from joeykrim in the Android Market - http://goo.gl/NcnHn
Sent from my Sony Xperia™ smartphone

Help! Accidentally lost root on GT I9300 international. Resurrection Remix LP v 5.59

Hello there, I searched for a method to re-root my S3 after accidentally unrooting it. Running on Resurrection Remix 5.51. have found nothing that works.
Is there a method to reroot? Below the report from rootchecker.
 @varund7726
-----------------------------------------------------------------
-Overall Status: Root access is not installed on this device
Feedback Mode: Install Root
Issue: Not installed superuser app and su binary, and unable to access root user account
Feedback: Locate a guide for root installation on a GT-I9300 device
Stage 1 - Superuser App: Not Installed
NOT installed: SuperSU by Chainfire, Superuser by ChainsDD, or Superuser by Koush
Stage 2 - Superuser Binary Files: Not Installed
Standard Location
Command: ls -l /system/bin/su
Result: /system/bin/su: No such file or directory
Analysis: File /system/bin/su does not exist.
Standard Location
Command: ls -l /system/xbin/su
Result: /system/xbin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative Location
Command: ls -l /sbin/su
Result: /sbin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative Location
Command: ls -l /system/sbin/su
Result: /system/sbin/su: No such file or directory
Analysis: File /system/sbin/su does not exist.
Alternative Location
Command: ls -l /system/xbin/sudo
Result: /system/xbin/sudo: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative System Environment Location
Command: ls -l /su/bin/su
Result: /su/bin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Alternative System Environment Location
Command: ls -l /vendor/bin/su
Result: /vendor/bin/su: No such file or directory
Analysis: File /vendor/bin/su does not exist.
Alternative System Environment Location
Command: ls -l /su/xbin/su
Result: /su/xbin/su: Permission denied
Analysis: File system permissions restricted and denied access.
Stage 3 - Root User Account: Error
Error: java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
Optional - ADB Shell User
Status: Non-Root Shell User
Setting stored in /default.prop and configured as: ro.secure=1
Additional - System Environment PATH
System Environment PATH: /su/bin /sbin /vendor/bin /system/sbin /system/bin /su/xbin /system/xbin
License: Y
Results provided for your GT-I9300 - Android 5.1.1 device by Root Checker Pro version 1.6.2 from joeykrim in Google Play
-----------------------------------------------
Any feedback would be grestly appreciated. Best regards,
Eveline ( fractalchemist )
If you have custom recovery installed just flash supersu (google it) zip from custom recovery and you will take the root back.. Enjoy

Categories

Resources