[Q] Can't get rooted - Sprint Samsung Galaxy S III

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:

Related

problem getting perm root

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

How to Root Galaxy S3 on Mac OSX! U.S./Canadian

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$

i have a question when i press Volume Up, Power, Menu buttons

it takes me to android recovery, i noticed theres a option that says apply update from sd card,
if i put the super user zip to my sd card will it root it? i dont want to brick it though! any suggestions?
please help!
well i just tried installing superuser zip that i got from here http://galaxys3root.com/galaxy-s3-root/how-to-root-galaxy-s3-on-mac-osx/
and it said signature verification failed. hmmm
Need custom recovery to flash that.
damn i got all happy for a seconds thinking i can root my s3 without using my mac!!!
:crying: still unable to root! damn you jellybean! hahaha
is downgrading to ics to root s3 troublesome?
Use the methods that are stickied. Can HARDLY ever go wrong there. I say hardly cause some forums for older phones are not up to date, these are.
mt3g said:
Use the methods that are stickied. Can HARDLY ever go wrong there. I say hardly cause some forums for older phones are not up to date, these are.
Click to expand...
Click to collapse
yeah ive been looking and the only way to root it is with a pc, which the closest one is the library that doesnt enable downloads! =(
beto0216 said:
yeah ive been looking and the only way to root it is with a pc, which the closest one is the library that doesnt enable downloads! =(
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1946149&highlight=root+with+mac
this won't work?
mt3g said:
http://forum.xda-developers.com/showthread.php?t=1946149&highlight=root+with+mac
this won't work?
Click to expand...
Click to collapse
nope this is what i get.
***************************************************************
*
* 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.
* daemon not running. starting it now *
* daemon started successfully *
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
I don't have a mac so I don't have the issues obviously but did you do what it said to do? Go to play store and install Super SU just to test? also, can you not use ODIN? Since no one else is helping I figured I would jump in and spit ball ideas.

ADB not working

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.

[Q] Rooting problems - Please help!

Hello everyone,
I've had my LG Nitro HD for about a year and a half. I've recently been disappointed with it's performance and battery live. I read rooting and adding a new rom really helps free up the phone's natural performance. I've unlocked a few phones in the past. This one seems to be giving me a lot of fits.
I downloaded a zip file called 'P930_v20e_ROOT". I do not want to share any external linking as it's usually frowned upon. Nevertheless I unzipped the folder and copied the file "LG_SystemBackupTest" to the root of my sd card. I downloaded a file manager app to execute the file. Once installed I enabled the option for unverified sources, and the option for USB under development mode. I also installed the OEM LG driver off of their website for the P930 model phone. I then ran the LG_SystemBackupTest file that was in my applications. While it ran it simply states "hello world". I powered off/restarted the phone as instructed.
Once the phone booted up I plugged in the usb cable to my Windows 8 PC. I then ran the "root_p880" file. Below is the error I get repeatedly.
DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!
PUSH FILES
failed to copy 'busybox' to '/data/local/busybox': Permission denied
failed to copy 'su' to '/data/local/su': Permission denied
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': Permissio
Unable to chmod /data/local/busybox: No such file or directory
Unable to chmod /data/local/su: No such file or directory
Unable to chmod /data/local/Superuser.apk: No such file or directory
failed on '/data/local/tmp' - Permission denied
link failed File exists
REBOOT
/system/bin/sh: cannot create /data/local.prop: Permission denied
AGAIN REBOOT
AGAIN!?
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: cannot create /system/xbin/busybox: Read-only file syste
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
I've tried every possible combination I can think of. I even booted up one of my old Windows XP machines, performed all the steps above, and still the same. Just now I finally reset the phone to it's factory defaults. Only to get the same results. Can anyone provide any guidance?
Kind regards,
Jeremy
Just getting root isn't going to allow you to flash a new or custom rom. You need to install cwm using the P930 unbricking guide.
Re: Rooting problems - Please help!
audit13 said:
Just getting root isn't going to allow you to flash a new or custom rom. You need to install cwm using the P930 unbricking guide.
Click to expand...
Click to collapse
Thank you for the prompt reply. I do have another guide I was following to install a custom rom. However it states I first need to root. It provided no instructions and stated to google how to do it.
LilLowEK said:
Thank you for the prompt reply. I do have another guide I was following to install a custom rom. However it states I first need to root. It provided no instructions and stated to google how to do it.
Click to expand...
Click to collapse
Did you try both guides in this forum? I believe this is the guide I used: http://forum.xda-developers.com/showthread.php?t=1784709
You need to brick the phone, revive it, root, and install cwm.
audit13 said:
Did you try both guides in this forum? I believe this is the guide I used: http://forum.xda-developers.com/showthread.php?t=1784709
You need to brick the phone, revive it, root, and install cwm.
Click to expand...
Click to collapse
Thanks. I didn't use that guide. I'll read through it. It sound kind of odd that I first need to brick the phone just to un-brick it. If anyone else has any experience or used a different guide please feel free to share.
Best,
Jeremy
LilLowEK said:
Thanks. I didn't use that guide. I'll read through it. It sound kind of odd that I first need to brick the phone just to un-brick it. If anyone else has any experience or used a different guide please feel free to share.
Best,
Jeremy
Click to expand...
Click to collapse
What room are you using? You need to unlock the boot loader and this needs gingerbread, not ICS. This is the guide I have used on two different phones.
audit13 said:
What room are you using? You need to unlock the boot loader and this needs gingerbread, not ICS. This is the guide I have used on two different phones.
Click to expand...
Click to collapse
Thanks. I sent you a PM with some details on what I was using.
Re: Rooting problems - Please help!
audit13 said:
What room are you using? You need to unlock the boot loader and this needs gingerbread, not ICS. This is the guide I have used on two different phones.
Click to expand...
Click to collapse
LilLowEK said:
Thanks. I sent you a PM with some details on what I was using.
Click to expand...
Click to collapse
Problem seems to be solved. I rooted the phone with the help of the following thread.
http://forum.xda-developers.com/showthread.php?t=1886460
Thanks everyone! Now off to hopefully get a rom installed.

Categories

Resources