ADB not working - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

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.

Related

[Q] Permission denied to push vending.apk

Last night I tried to root a Fire (6.3.1) for the first time using KFU and briefly saw something flash by about a problem with check_rooted. Someone on the KFU thread mentioned this also. Does this mean the rooting process is incomplete?
Proceeding further, I attempted to install the optional apps and received permission denied errors when abd went to push the vending GoogleCalendarSyncAdapter and GoogleContactsSyncAdapter apk files to /system/app.
Reading further on the KFU thread, someone else suggested sideloading superuser. I did this and still was unable to manually push the files (following the batch file as a model to mount read/write, push the apps, then mount read-only).
The goal was to add access to Google Play to an otherwise stock 6.3.1 operating system. Short of loading a new rom, is there something else I might try?
SLOmtb said:
Last night I tried to root a Fire (6.3.1) for the first time using KFU and briefly saw something flash by about a problem with check_rooted. Someone on the KFU thread mentioned this also. Does this mean the rooting process is incomplete?
This is typically nothing to worry about. You will receive an error if the "check_rooted" folder didn't exist to begin with. Normal
Proceeding further, I attempted to install the optional apps and received permission denied errors when abd went to push the vending GoogleCalendarSyncAdapter and GoogleContactsSyncAdapter apk files to /system/app.
Reading further on the KFU thread, someone else suggested sideloading superuser. I did this and still was unable to manually push the files (following the batch file as a model to mount read/write, push the apps, then mount read-only).
Click to expand...
Click to collapse
The method for doing this is
Code:
adb root
adb remount
adb push ≤filename1≥ /system/app
adb push ≤filename2≥ /system/app
...when finished...
Code:
adb remount
adb kill-server
The goal was to add access to Google Play to an otherwise stock 6.3.1 operating system. Short of loading a new rom, is there something else I might try?
Click to expand...
Click to collapse
To make things simple, the MoDaCo rom has the exact same interface as stock, except it comes pre rooted with all of the Google apps and services already installed. No work is necessary.
Wow! I'll give it a try tonight. Thanks!
soupmagnet said:
The method for doing this is
Code:
adb root
adb remount
adb push ≤filename1≥ /system/app
adb push ≤filename2≥ /system/app
...when finished...
Code:
adb remount
adb kill-server
To make things simple, the MoDaCo rom has the exact same interface as stock, except it comes pre rooted with all of the Google apps and services already installed. No work is necessary.
Click to expand...
Click to collapse
Well, darn. I tried "adb root" and it says: "adbd cannot run as root in production builds." So I guess it isn't really rooted, after all.
Maybe the MoDaCo rom is the way to go, after all. Thanks, anyway!
adb devices
list of device attached
5A5A5A5A5A5A..... (NOT CORRECT)
adb shell
[email protected]
adb push flash_image /dev/
failed .... permission denied
adb push recovery.img /dev/
failed .... permission denied
what should I do ?
sabithpkcmnr said:
adb devices
list of device attached
5A5A5A5A5A5A..... (NOT CORRECT)
adb shell
[email protected]
adb push flash_image /dev/
failed .... permission denied
adb push recovery.img /dev/
failed .... permission denied
what should I do ?
Click to expand...
Click to collapse
The which system version?
Sent from my XT894 using Tapatalk
sd_shadow said:
The which system version?
Sent from my XT894 using Tapatalk
Click to expand...
Click to collapse
Thanks for interesting ,,
I am on leave for many days over my exam fear ..
any way , I am having Android 4.1.1 JB tablet
sabithpkcmnr said:
Thanks for interesting ,,
I am on leave for many days over my exam fear ..
any way , I am having Android 4.1.1 JB tablet
Click to expand...
Click to collapse
That's Android version, not system version
Sent from my XT907 using Tapatalk

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.

[Q] Can't get rooted

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:

[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