Can anyone help with the following error:
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
Normal Mode enabled!
Pushing busybox....
3989 KB/s (1085140 bytes in 0.265s)
Pushing su binary ....
2874 KB/s (91980 bytes in 0.031s)
Pushing Superuser app
3114 KB/s (996704 bytes in 0.312s)
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?) <----------THE ERROR I GET WHEN RUNNING THE SCRIPT
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
This is from the following script posted on this site: http://forum.xda-developers.com/show....php?t=1886460
The script is confirmed to work with the Samsung Galaxy S2. (I've tried v9, v10, and v11). v12 doesn't run on my PC as it reports there is an unexpected GOTO somewhere in one of the scripts it runs.
I have Titanium Backup installed and after trying v9, v10, and v11, it says it cannot obtain root access. All three versions produce the "mount: permission denied" error.
Android Version: 4.0.3
Baseband: T989UVLE1
Please help!!!
Stop using that script that doesn't work and go here:
http://galaxys2root.com/
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
RTFOP said:
Stop using that script that doesn't work and go here:
galaxys2root
Click to expand...
Click to collapse
I tried several of the methods from that site already and haven't found one that works. Do you know which one will work on T-Mobile's Galaxy S2?
http://forum.xda-developers.com/showthread.php?t=1650908
Or
http://forum.xda-developers.com/showthread.php?t=1311194
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Easiest way to root our GSII is Odin back to stock, then Odin CWM Recovery, Flash Superuser Zip file. and then YOU'RE ROOTED.
Sent from my SGH-T989 using Tapatalk 2
Finally found a set of instructions that worked and has working links to any required files!
Here is the link for anyone else having trouble rooting their T-Mobile Galaxy S2: androidauthority.com/galaxy-s2-t989-root-uvle1-97764/
Related
im using the rage method and everything worked up until after i used the command gfree - f.
then i input the command sync followed by /data/local/tmp/root, this is what i get
# /data/local/tmp/root
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
mkdir failed for /system/xbin, File exists
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
Unable to chmod /system/xbin/busybox: No such file or directory
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
Unable to chmod /system/bin/su: No such file or directory
#
if I were you, you should use gfree method... or unfrogivens way
Sent from my HTC Vision using XDA Premium App
I used rage to get temp root, and using gfree but during the last execution, it doesn't work and that's the message I get back
Sent from my T-Mobile G2 using XDA App
This problem sounds familiar, let me look at previous threads I have participated in and see if I can find anything useful
FYI, /data/local/tmp/root is a script that copies busybox and does other root functions.
I'm guessing that the gfree part did work, you can verify this by rebooting into the bootloader and seeing if you have S-OFF
If you are only looking to flash a custom ROM you don't even need to worry about this issue (as long as you do have S-OFF), all you'd need to do is obtain temp root again (using rage or even visionary) then install ClockWorkMod Recovery (I'd recommend using this method), once you have that you can boot into recovery and flash any pre-rooted ROM you want.
Eidt: I found the post I was thinking of, seems like this guy had a similar problem running /data/local/tmp/root
http://forum.xda-developers.com/showthread.php?p=11215689#post11215689
My advice still stands, if you have S-OFF and can get CWM flashed onto your phone (should be able to with temp root) you can flash a custom ROM (which will be pre-rooted) or flash a pre-rooted stock ROM (see this thread)
Hey there,
today I tried to get perma root and followed the guide from cyanogenmod
everything runs great till step 5 in Gaining Permanent Root Access & More
when I enter:
/data/local/tmp/root
I receive the message like nguyenhoanggg described..
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
mkdir failed for /system/xbin, File exists
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
Unable to chmod /system/xbin/busybox: No such file or directory
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
Unable to chmod /system/bin/su: No such file or directory
for sure plan was to install cyanogenmod but I even want permaroot :/
thanks for any help
this was the similar problem when i rooted my desire Z
just ignore it and install clockworks recovery
your phone should actually be rooted by then~
but make sure before you do gfree command, you have already pushed all the other files into the proper location, IE busybox, SU and root
Good Luck~
I seem to be having a simmilar problem using the rage method. I can transfer everything through adb on my pc. But when i run the /data/local/tmp/rage it completes the action but after reseting the terminal and force closing the first time it will not open the second time. Any advice??
Thanks for answer,
when I have temproot and try to install clockworks it says no root-access using google search to find out how to get permaroot...
I was having same issue and realized that busybox's md5 from cyanogenmod wiki wasn't the same as the one it says. I downloaded the busybox file from this guide. Busybox is in gfree_temp-root.zip file.
Fibriso said:
Thanks for answer,
when I have temproot and try to install clockworks it says no root-access using google search to find out how to get permaroot...
Click to expand...
Click to collapse
What method are you using to install CWM? I suspect that ROM Manager will fail if ou only have temp root but I would expect that the flash_image method will work.
Do you have a guide or a good explaination for the flash_image method you talked about?
sacarino2k2 said:
I was having same issue and realized that busybox's md5 from cyanogenmod wiki wasn't the same as the one it says. I downloaded the busybox file from this guide. Busybox is in gfree_temp-root.zip file.
Click to expand...
Click to collapse
just want to bump / confirm that this worked for me. the gfree_temp-root.zip download from that link worked for me. note the underscore vs. dash from the link off the wiki.
as far as i can tell the problem was with the file named 'root' pointing to to some wrong paths but i couldnt see a difference in between the 2 in a text editor.
i'm now happily running cyanogen 6 on my HTC vision / g2 using the directions off http://wiki.cyanogenmod.com with the other root.zip file
Try again
Sent from my HTC Vision using XDA App
okay, i had this problem this morning trying to root my g2 and i got the same problem. i did get it to work after a couple of hours of trying 2 figure out why it wouldnt give me perm root.
the steps posted on the cyanogen wiki are correct. the only thing that you need to do is download the 02 version of gfree instead of the 04 version, and also download a different busybox (i think thats what i did).
i think i got the different busybox file from here.
you can just start off at the steps where it deals with pushing gfree to your phone. also, just push the gfree file (not the .cpp or whatever type it was that has a bunch of code in it. all you need 2 push is that one single file from that zipped file.
if you did it right, it will just print out one line with the failure regarding the 'file already exists' thingas stated in the cm wiki.
hierophanta said:
just want to bump / confirm that this worked for me. the gfree_temp-root.zip download from that link worked for me. note the underscore vs. dash from the link off the wiki.
as far as i can tell the problem was with the file named 'root' pointing to to some wrong paths but i couldnt see a difference in between the 2 in a text editor.
i'm now happily running cyanogen 6 on my HTC vision / g2 using the directions off http://wiki.cyanogenmod.com with the other root.zip file
Click to expand...
Click to collapse
The problem isn't in the root script. It is in busybox file. It doesn't work for some vision systems. Looks like compatibility compilation issues. So if you get errors running the root script use the busybox binary i posted before.
Fibriso said:
Do you have a guide or a good explaination for the flash_image method you talked about?
Click to expand...
Click to collapse
Here you go:
http://forum.xda-developers.com/showthread.php?t=902493
Just to touch base on this, it is related to the busybox binary on the CM wiki.
We've gone ahead and replaced the 'bad' one about 3 hours ago from this post.
Thanks for all of you who lets us know about the compatibility issues
Hi, I saw Bin4ry root method that can be done with locked bootloader. I tried it on my Gnexus but it doesn't work.
Can someone make it working on the galaxy nexus?
Lorenzo_9 said:
Hi, I saw Bin4ry root method that can be done with locked bootloader. I tried it on my Gnexus but it doesn't work.
Can someone make it working on the galaxy nexus?
Click to expand...
Click to collapse
makes it working with a locked bootloader, on Sony NXT, and we don't have /data/local.prop, at least checking it on the device/gui, in the shell it could be different.
Ok. But in some nexus 7 it works so I thought it could be done in Gnexus
Sent from my Galaxy Nexus using xda app-developers app
Lorenzo_9 said:
Ok. But in some nexus 7 it works so I thought it could be done in Gnexus
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
That's a very interesting way to get root! Props to Bin4ry for this .
I was just going over his script, and I may have an idea. Can you tell me where if fails for you?
efrant said:
That's a very interesting way to get root! Props to Bin4ry for this .
I was just going over his script, and I may have an idea. Can you tell me where if fails for you?
Click to expand...
Click to collapse
Here's what I get with the script:
Normal Mode enabled!
Please connect device with ADB-Debugging enabled now....
3995 KB/s (1085140 bytes in 0.265s)
1399 KB/s (22364 bytes in 0.015s)
3771 KB/s (843503 bytes in 0.218s)
Please look at your device and click RESTORE!
If all is successful i will tell you, if not this shell will run forever.
Successful, going to reboot your device!
Waiting for device to show up again....
mount: permission denied (are you root?)
remount failed: Operation not permitted
/system/xbin/su: cannot open for write: Read-only file system
Unable to chmod /system/xbin/su: No such file or directory
/system/app/Superuser.apk: cannot open for write: Read-only file system
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
You can close all open command-prompts now!
After reboot all is done! Have fun with Root!
Bin4ry
Premere un tasto per continuare . . .
Try using the attached script instead of the Runme.bat that Bin4ry had included, and let me know if there is any change.
EDIT: Deleted attachment.
efrant said:
Try using the attached script instead of the Runme.bat that Bin4ry had included, and let me know if there is any change.
Click to expand...
Click to collapse
It doesn't work:
Please connect device with ADB-Debugging enabled now....
3260 KB/s (1085140 bytes in 0.325s)
325 KB/s (22364 bytes in 0.067s)
2366 KB/s (843503 bytes in 0.348s)
Please look at your device and click RESTORE!
If all is successful i will tell you, if not this shell will run forever.
Successful, going to reboot your device!
Waiting for device to show up again....
mount: permission denied (are you root?)
/system/bin/su: cannot open for write: Read-only file system
Unable to chmod /system/bin/su: No such file or directory
link failed Read-only file system
/system/app/Superuser.apk: cannot open for write: Read-only file system
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
You can close all open command-prompts now!
After reboot all is done!
Premere un tasto per continuare . . .
Try running it as a superuser (sudo su). Seems this is for Windows, try running as administrator.
Also, including 'adb remount' in the script before the files are pushed may help with the read-only errors.
Sent from my Transformer TF101 using Tapatalk 2
@efrant
like someone said before, could be a problem the fact that we don't have the file /data/local.prop ?
the script say succesfull even the file is not found i though
andQlimax said:
@enfrant
like someone said before, could be a problem the fact that we don't have the file /data/local.prop ?
the script say succesfull even the file is not found i though
Click to expand...
Click to collapse
Nope, it wouldn't have to do with that.
If I understand correctly how this is supposed to work, is that Android will look for local.prop when booting, and if the qemu flag is set to 1 in that, then shell will run as root. What this does is supposed to do is create the local.prop file with ro.kernel.qemu=1, so that on the following reboot, adb will run as root.
I'm not sure why it's failing. I'll post in Bin4ry's thread for him to have a look over here. Hopefully he can sort it out with folks here testing (as I'm sure he doesn't have the GNex).
I just had a look over at his thread (I haven't gone through it all yet). Let's see if we can figure this out before we have to bug Bin4ry.
Try doing this steps here to enter the first three lines of code, and see if you end up with a root shell (#) or a normal shell ($).
On the subsequent reboot (after putting the local.prop in place), couldn't you run:
Code:
$ getprop | grep qemu
At least then you could confirm if the setting in local.prop is being read/applied.
Well, I have good news and bad news.
Good news: I tried this out (typing in the commands manually, not using the provided script), and it seems to have given me a root shell. Not sure why others were having issues.
Bad news: Something seems to have gotten corrupt in the process, so I had to wipe.
I may take another stab at trying to figure it out when I have time.
Ok thank you very much for your work
Sent from my Galaxy Nexus using xda app-developers app
http://forum.xda-developers.com/showthread.php?p=31751966
Hey guys, can you please test the new attached v5 in the thread?
I adjusted some stuff, hopefully normal mode should work here then
Regards
Bin4ry said:
Hey guys, can you please test the new attached v5 in the thread?
I adjusted some stuff, hopefully normal mode should work here then
Regards
Click to expand...
Click to collapse
EDIT:
v5 runs through the process but doesn't work at the end, see screenshot.
v6 doesn't work as well. The DOS window forcecloses without a notice, here is a screen right before the crash.
Device specs: Galaxy Nexus, 4.1.1, GSM version, Build JRO03C
Thanks for testing.
can you run most latest version of today? I had an annoying fault inside the script it is now corrected
Regards
Bin4ry said:
Thanks for testing.
can you run most latest version of today? I had an annoying fault inside the script it is now corrected
Regards
Click to expand...
Click to collapse
Great work discovering this exploit, Bin4ry.
Please see the following topic where this discussion is continuing:
[HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for all ICS & JB)
http://forum.xda-developers.com/showthread.php?t=1894717
Bin4ry said:
Thanks for testing.
can you run most latest version of today? I had an annoying fault inside the script it is now corrected
Regards
Click to expand...
Click to collapse
Still no luck with v9, similar error as in v5: "mount: permission denied". Superuser app isn't being pushed on my phone.
Btw great work on the Tablet S root, worked perfectly!
Here's how to root your Samsung Galaxy S3. This is ONLY work for U.S or Canadian Galaxy S3. DO NOT TRY ON INTERNATIONAL!
I have tested this process and works flawlessly.
Note: This will only root your phone, it will NOT install ClockworkMod Recovery. If you want ClockworkMod Recovery 1st root your phone and then flash ClocworkMod Recovery using ROM Manager
Download Links & Step by Step Guide: http://ultimatedroid.blogspot.com/2012/10/how-to-root-galaxy-s3-on-mac-osx.html
Credits:
Zedomax - For the tool!
sparkym3 - For finding the exploit!
As of this post it has only been confirmed working on ICS, I have not tested it on Jelly Bean. I will be testing it on Jelly Bean when it is official released.
Enjoy!!
I thought I was either stuck waiting for the next Heimdall update or I was gonna have to pay someone to root my phone, but I found this link yesterday completely by accident. Worked perfectly for me on OS X Lion. Rooted at last!
Does anybody use this method? Seems pretty easy way to root if you have a Mac...
It works fast and painless. But doesnt seem to work with 4.1.1 which I got an OTA of and lost root. So Im looking for another script method because Heimdall wouldnt work for me. Im going to give it another shot now that Kies is gone maybe it wil work now.
Did it work?
Confirmed. Working. Doesn't seem malicious, either. I also used Triangle Away to flash my counter back to 0 to make it look original
Does this method work with jellybean?
Edit: it doesn't work for jellybean
Sent from my SGH-T999 using xda app-developers app
can somebody confirm if this works for 4.1.1 I want to root but afraid that it may not work. Also, on another site they mention about drivers do we have to download something extra for this to work?
I am currently trying to root 4.1 as well with alecsharp over here
http://forum.xda-developers.com/showthread.php?t=2068353
The more help the better I say.
Sent from my SGH-T999 using xda app-developers app
Any idea what I'm doing wrong? I keep getting this error:
waiting... If you get stuck here, try another USB port.
Start Rooting...
failed to copy 'debugfs' to '/data/local/': Is a directory
failed to copy 'su' to '/data/local/': Is a directory
failed to copy 'debugfsinput' to '/data/local/': Is a directory
failed on /data/local/tmp.bak - Not a directory
link failed Not a directory
reboot #1 - DO NOT DISCONNECT YOUR DEVICE!
Unable to chmod /data/local/debugfs: Not a directory
/system/bin/sh: can't open /data/local/debugfsinput: Not a directory
rm failed for /data/local/tmp, Not a directory
failed on /data/local/tmp - Not a directory
rm failed for /data/local/su, Not a directory
rm failed for /data/local/debugfs, Not a directory
rm failed for /data/local/debugfsinput, Not a directory
reboot #2 - DO NOT DISCONNECT YOUR DEVICE!
All Done rooting Galaxy S3, install SuperUser or SuperSU app from Play Store to get full root!
RootMac.sh: line 40: unexpected EOF while looking for matching `"'
RootMac.sh: line 42: syntax error: unexpected end of file
Winston-OBoogie:GalaxyS3RootUSCanadaMac Coco$
Hi, I just got my replacement S3 and I am attempting to root it. I've tried doing it on my own and with toolkits but nothing seems to work.
When putting the phone in debugging mode it technically won't go in. The little jellybean guy no longer shows up on the top and it says connected as a media device but 5 times out of 10 it will show up in ./adb devices.
I am attempting to transfer the root files but every time it gives me permission denied, what can I do?
failed to copy 'debugfs' to '/data/local//debugfs': Permission denied
failed to copy 'su' to '/data/local//su': Permission denied
failed to copy 'debugfsinput' to '/data/local//debugfsinput': Permission denied
failed on '/data/local/tmp' - Permission denied
link failed File exists
reboot #1 - DO NOT DISCONNECT YOUR DEVICE!
Unable to chmod /data/local/debugfs: No such file or directory
/system/bin/sh: can't open /data/local/debugfsinput: No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/debugfs, No such file or directory
rm failed for /data/local/debugfsinput, No such file or directory
reboot #2 - DO NOT DISCONNECT YOUR DEVICE!
All Done rooting Galaxy S3, install SuperUser or SuperSU app from Play Store to get full root!
RootMac.sh: line 40: unexpected EOF while looking for matching `"'
RootMac.sh: line 42: syntax error: unexpected end of file
Try uninstalling your Samung USB drivers and installing the most up to date ones instead. If they are up to date try doing that anyway. Also make sure your using your factory cable. And lastly try another USB port on or PC or another PC all together
Sent from my SAMSUNG-SGH-I747 using xda premium
I'm using a mac. Everything worked with the old device
I had trouble with this also. My replacement phone had Jelly Bean.
I just put it into Download mode and flashed a rooted stock ROM instead.
CZ Eddie said:
I had trouble with this also. My replacement phone had Jelly Bean.
I just put it into Download mode and flashed a rooted stock ROM instead.
Click to expand...
Click to collapse
Just tried that but the device doesn't show up in adb in download mode. Why is this so hard? My first phone was a 1-2 thing.
jliehr said:
Just tried that but the device doesn't show up in adb in download mode. Why is this so hard? My first phone was a 1-2 thing.
Click to expand...
Click to collapse
Why are you using ADB in download mode?
Use Odin.
CZ Eddie said:
I had trouble with this also. My replacement phone had Jelly Bean.
I just put it into Download mode and flashed a rooted stock ROM instead.
Click to expand...
Click to collapse
CZ Eddie said:
Why are you using ADB in download mode?
Use Odin.
Click to expand...
Click to collapse
I'm trying everything I can.
I have a windows/mac machine. The device doesn't show up on the PC (drivers/kies both installed) but it does in my mac but I get the permission denied errors for everything as mentioned in OP.
Sounds like ADB is requesting super user permissions from or Mac. Or best bet would be Odin on a PC. See if it sees the device. If it doesn't try it with debugging on and off
Sent from my SAMSUNG-SGH-I747 using xda premium
Have you updated the SDK to the latest? There were recent (in the last month or so) updates.
I have a mac computer and am trying to root my galaxy s III and tried using terminal to do it this is what I getlocalhost:~ Tim$ cd desktop
localhost:desktop Tim$ cd galaxys3rootuscanadamac
localhost:galaxys3rootuscanadamac Tim$ sh rootmac.sh
***************************************************************
*
* One-Click Root Script for Galaxy S3!
*
* brought to you by Ultimatedroid.blogspot.com
*
* Credit goes to XDA user sparkym3 for exploit & Max Lee.
*
***************************************************************
This script will give you
1. Root !
Please read full tutorial at Ultimatedroid.blogspot.com
***************************************************************
waiting... If you get stuck here, try another USB port.
Start Rooting...
failed to copy 'debugfs' to '/data/local//debugfs': Permission denied
failed to copy 'su' to '/data/local//su': Permission denied
failed to copy 'debugfsinput' to '/data/local//debugfsinput': Permission denied
failed on '/data/local/tmp' - Permission denied
link failed File exists
reboot #1 - DO NOT DISCONNECT YOUR DEVICE!
Unable to chmod /data/local/debugfs: No such file or directory
/system/bin/sh: can't open /data/local/debugfsinput: No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/debugfs, No such file or directory
rm failed for /data/local/debugfsinput, No such file or directory
reboot #2 - DO NOT DISCONNECT YOUR DEVICE!
All Done rooting Galaxy S3, install SuperUser or SuperSU app from Play Store to get full root!
rootmac.sh: line 40: unexpected EOF while looking for matching `"'
rootmac.sh: line 42: syntax error: unexpected end of file
can anyone help me out?
Thanks in advance
I forgot to say I'm on 4.1.2
BRICK0044 said:
I forgot to say I'm on 4.1.2
Click to expand...
Click to collapse
I know there used to be no way to root s3 with mac, but there may be a newer solution that I haven't heard of
Ya the exploit your trying to do was plugged with jelly bean. Normally would recommend heimdall here since youre on a mac however I do not believe it currently works on this s3.i recommend you go and grab Oracle virtualbox and run windows through that. (Xp should suffice). Then download cf auto root (in the original dev section) and you'll have root in 30 seconds
billard412 said:
Ya the exploit your trying to do was plugged with jelly bean. Normally would recommend heimdall here since youre on a mac however I do not believe it currently works on this s3.i recommend you go and grab Oracle virtualbox and run windows through that. (Xp should suffice). Then download cf auto root (in the original dev section) and you'll have root in 30 seconds
Click to expand...
Click to collapse
I'd recommend that as well, or if wanted to do it old school, use the team epic method.
That works too although I'm not a huge fan of a custom recovery if u only want root and have no plans of flashing stuff. Plus the team epic zip installs busybox which I don't think should be installed unless it's needed. It all depends on what u plan on using root for.
billard412 said:
Ya the exploit your trying to do was plugged with jelly bean. Normally would recommend heimdall here since youre on a mac however I do not believe it currently works on this s3.i recommend you go and grab Oracle virtualbox and run windows through that. (Xp should suffice). Then download cf auto root (in the original dev section) and you'll have root in 30 seconds
Click to expand...
Click to collapse
i got xp on virtual box but it doesnt see my phone, I used toolbox to install drivers but no help
Got it, I used my sons pc. Thanks for your help
Awesome, now go get a rom on there :thumbup: