Post Reply

[Q] Saferoot not working - files/adb.linux not found

6th May 2014, 09:53 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2013
Im attempting to root my Galaxy S4 using saferoot as detailed here: http://forum.xda-developers.com/show...65758&page=172

Android Version is 4.3
Build Version: VRUEMK2
Kernel Version 3.4.0


Here is the output I get:

Code:
./install.sh
---           Samsung i545 VRUEMJ7 Root               ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

./install.sh: 11: [: X: unexpected operator[*] Testing adb usability

Plug in your phone and press ENTER to continue ..../install.sh: 67: read: arg count
./install.sh: 68: ./install.sh: files/adb.linux: not found

Watch your phone. If you see the "Allow USB debugging" prompt,
tap on the "Always allow from this computer" checkbox,
then tap OK.

If this script appears to be stuck at "Waiting for your phone to appear",
then you should try unplugging and re-plugging it to get the
permission prompt for USB debugging to appear.
If you've already done that, you should tap on the USB icon
in the notifications area that says "Connected as a media device".
On the "USB computer connection" page, switch between
"Camera" and "Media Device" to see if the device appears.[*] Waiting for your phone to appear...
Watch your phone. Unlock it and give permission for the install to run.
./install.sh: 85: ./install.sh: files/adb.linux: not found[*] Your phone is detected and ready for rooting.
[*] Sending files to your device...
./install.sh: 92: [: missing ]
./install.sh: 95: ./install.sh: files/adb.linux: not found
./install.sh: 96: [: missing ]
[*] Starting rooting program.
./install.sh: 99: ./install.sh: files/adb.linux: not found
[*] Checking if rooting succeeded
./install.sh: 102: ./install.sh: files/adb.linux: not found[*] Unfortunately, rooting failed. Cleaning up.
./install.sh: 105: ./install.sh: files/adb.linux: not found
./install.sh: 106: ./install.sh: files/adb.linux: not found
./install.sh: 107: [: missing ]
./install.sh: 108: ./install.sh: files/adb.linux: not found
./install.sh: 109: ./install.sh: files/adb.linux: not found

--- All Finished ---
I set permissions to 777 for all files and subdirectories. files/adb.linux is where it should be.

Can anybody help?
7th May 2014, 07:43 AM   |  #2  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2013
Anybody?
7th May 2014, 04:02 PM   |  #3  
Senior Member
Flag Medinah IL
Thanks Meter: 273
 
547 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by nlhaines12

Anybody?

Don't push via ADB; run the script on a Windows PC. Read the OP.........

http://forum.xda-developers.com/show....php?t=2565758
7th May 2014, 04:14 PM   |  #4  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by cbmggm

Don't push via ADB; run the script on a Windows PC. Read the OP.........

http://forum.xda-developers.com/show....php?t=2565758

Read the OP and there are directions for Linux/Mac OS. Why would I need windows?
7th May 2014, 04:21 PM   |  #5  
Senior Member
Thanks Meter: 81
 
150 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by nlhaines12

Read the OP and there are directions for Linux/Mac OS. Why would I need windows?

He assumed you had pushed the saferoot files directly to your phone and attempted to run them on it.

If you are using an actual computer, then the problem is your shell/interpreter. Try running the script by opening a terminal, cd to the extracted directory, and then "bash install.sh".
The Following User Says Thank You to Oishikatta For This Useful Post: [ View ]
7th May 2014, 04:28 PM   |  #6  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2013
Ah, that makes sense, thanks a ton. Maybe this is a noobish question, but why doesn't the install.sh file just contain the hashbang line at the beginning?
7th May 2014, 05:02 PM   |  #7  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by nlhaines12

Ah, that makes sense, thanks a ton. Maybe this is a noobish question, but why doesn't the install.sh file just contain the hashbang line at the beginning?

Tried running the install script with "bash install.sh", and it works a but better, but I'm still getting the same file not found error.

Code:
---           Samsung i545 VRUEMJ7 Root               ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

Do you want to install Busybox on your device [Y/N]? y[*] Testing adb usability

Plug in your phone and press ENTER to continue ...
install.sh: line 68: files/adb.linux: No such file or directory

Watch your phone. If you see the "Allow USB debugging" prompt,
tap on the "Always allow from this computer" checkbox,
then tap OK.

If this script appears to be stuck at "Waiting for your phone to appear",
then you should try unplugging and re-plugging it to get the
permission prompt for USB debugging to appear.
If you've already done that, you should tap on the USB icon
in the notifications area that says "Connected as a media device".
On the "USB computer connection" page, switch between
"Camera" and "Media Device" to see if the device appears.[*] Waiting for your phone to appear...
Watch your phone. Unlock it and give permission for the install to run.
install.sh: line 85: files/adb.linux: No such file or directory[*] Your phone is detected and ready for rooting.
[*] Sending files to your device...
install.sh: line 92: [: missing `]'
install.sh: line 95: files/adb.linux: No such file or directory
install.sh: line 96: [: missing `]'
[*] Starting rooting program.
install.sh: line 99: files/adb.linux: No such file or directory
[*] Checking if rooting succeeded
install.sh: line 102: files/adb.linux: No such file or directory[*] Unfortunately, rooting failed. Cleaning up.
install.sh: line 105: files/adb.linux: No such file or directory
install.sh: line 106: files/adb.linux: No such file or directory
install.sh: line 107: [: missing `]'
install.sh: line 108: files/adb.linux: No such file or directory
install.sh: line 109: files/adb.linux: No such file or directory

--- All Finished ---
7th May 2014, 06:31 PM   |  #8  
Senior Member
Thanks Meter: 81
 
150 posts
Join Date:Joined: Mar 2014
What do you get if you run, from the saferoot directory "files/adb.linux"?

It looks like the rest of the script is working now, so you might just try downloading adb from the sdk and replacing files/adb.linux with a symlink to it.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Verizon Samsung Galaxy S 4 Q&A, Help & Troubleshooting by ThreadRank