• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Verizon] Galaxy Nexus root / un-root without unlocking bootloader

No luck it seems, I just used the last Ubuntu LiveCD:

Code:
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$ sh root-unroot-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
root-unroot-for-linux.sh: 32: [[: not found
root-unroot-for-linux.sh: 38: [[: not found
Would you like to 'root' or 'unroot' your Galaxy Nexus?
root
root-unroot-for-linux.sh: 44: typeset: not found
root-unroot-for-linux.sh: 45: Syntax error: "(" unexpected (expecting "then")
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$

the only thing I done was using chmod +x on the .sh file.. everything else as described in your howto, not really much to follow :)
 
No luck it seems, I just used the last Ubuntu LiveCD:

Code:
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$ sh root-unroot-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
root-unroot-for-linux.sh: 32: [[: not found
root-unroot-for-linux.sh: 38: [[: not found
Would you like to 'root' or 'unroot' your Galaxy Nexus?
root
root-unroot-for-linux.sh: 44: typeset: not found
root-unroot-for-linux.sh: 45: Syntax error: "(" unexpected (expecting "then")
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$

the only thing I done was using chmod +x on the .sh file.. everything else as described in your howto, not really much to follow :)

Aha, I think you are running into the same issue that another member had on the Mac/OSX system... I'm guessing that the shell code I used doesn't match the specific shell you might be using.

The methodology that the script you are trying to use is actually not very hard at all--you could examine the "Original thread content:" section of the first post for the details of the manual commands I originally used to prove this concept and to base the scripts off of. You seem eminently qualified and savvy enough to try issuing the commands manually yourself :).

Check it out and let me know. I'll check back in the morning.

Thanks!
 
Sadly, I'm not. I'm a windows-user, really :)

I even can't run the adb-linux ouf of the package:

Code:
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$ adb-linux
adb-linux: command not found
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$ ./adb-linux devices
bash: ./adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot/simple-gnex-root-unroot$
No idea what to do else :(

Anyway good night :)
 
PhinPhin,

Sorry for the delay--I was up way too late last night :p ;) :), but I hope we'll be able to get you sorted-out.

I've built you a stripped-down version of the Linux scripts that you can try to use:

View attachment 29399

There's one for root and one for unroot.

Check 'em out and see how they work for you.

Cheers!


No prob, I haven't had myself the time until today... sadly I still get this:

Code:
ubuntu@ubuntu:~/Desktop/!stripped-linux-scripts-ROOTUNROOT$ chmod +x adb-linux
ubuntu@ubuntu:~/Desktop/!stripped-linux-scripts-ROOTUNROOT$ ./stripped-root-for-linux.sh 

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 45: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 46: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 47: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 48: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 49: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 51: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 52: ./adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: ./adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 61: ./adb-linux: No such file or directory
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: ./adb-linux: No such file or directory
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: ./adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 73: ./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 74: ./adb-linux: No such file or directory

# --- all done ---
./stripped-root-for-linux.sh: line 77: ./adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/!stripped-linux-scripts-ROOTUNROOT$
I took the earlier zip, extracted all in a folder, copied it to the Ubuntu desktop and I just added now the 2 shellscripts. Any idea what I could do wrong? The file is in the same folder....

Oh and thank you very much for your help! :)
 
No prob, I haven't had myself the time until today... sadly I still get this:

<snip>

I took the earlier zip, extracted all in a folder, copied it to the Ubuntu desktop and I just added now the 2 shellscripts. Any idea what I could do wrong? The file is in the same folder....

Oh and thank you very much for your help! :)

Huh / hmm...I'm a little stumped myself...

I see where you added execute permissions to the adb-linux utility and then just ran the script...that should work, IMO.

You could try changing the adb="./adb-linux" to have a hard-coded path to the adb-linux binary (or remove the the "./" from that assignment):

adb="adb-linux"

-- or (for example) --

adb="~/Desktop/!stripped-linux-scripts-ROOTUNROOT/adb-linux"

I can try re-testing this on my Linux laptop tonight, but all I did was strip-out other code that was halting you before...something else / weird is going on that I can't see or understand.

Let me know if you try something, otherwise I'll test something for you tonight to see if I can recreate what you are seeing.

Cheers!
 
Thanks :)

I used Ubuntu 11.10 running in "Live" from a SD-card. Nothing changed, I even used Unity instead of Gnome :P

I will try it later if I'm back at home, thanks!

Have a nice day!
 
I have no idea what it is, but it's not working. I copy the whole terminal with all the stuff I did:

Code:
adb-linux         root-unroot-for-linux.sh    stripped-root-for-linux.sh~
adb-mac           root-unroot-for-mac-osx.sh  stripped-unroot-for-linux.sh
AdbWinApi.dll     script1-root.sh             su
AdbWinUsbApi.dll  script1-unroot.sh           Superuser.apk
mempodroid        script2-root.sh             unroot-for-windows.bat
README.txt        script2-unroot.sh
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ stri
strings  strip    
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ stripped-root-for-linux
stripped-root-for-linux: command not found
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ stripped-root-for-linux.sh
stripped-root-for-linux.sh: command not found
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ /.stripped-root-for-linux.sh
bash: /.stripped-root-for-linux.sh: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
sudo: adb-linux: command not found
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: adb-linux: command not found
./stripped-root-for-linux.sh: line 45: adb-linux: command not found
./stripped-root-for-linux.sh: line 46: adb-linux: command not found
./stripped-root-for-linux.sh: line 47: adb-linux: command not found
./stripped-root-for-linux.sh: line 48: adb-linux: command not found
./stripped-root-for-linux.sh: line 49: adb-linux: command not found
./stripped-root-for-linux.sh: line 51: adb-linux: command not found
./stripped-root-for-linux.sh: line 52: adb-linux: command not found
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: adb-linux: command not found
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: adb-linux: command not found
./stripped-root-for-linux.sh: line 61: adb-linux: command not found
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: adb-linux: command not found
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: adb-linux: command not found
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: adb-linux: command not found
./stripped-root-for-linux.sh: line 73: adb-linux: command not found
./stripped-root-for-linux.sh: line 74: adb-linux: command not found

# --- all done ---
./stripped-root-for-linux.sh: line 77: adb-linux: command not found
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ chmod +x adb-linux
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
sudo: adb-linux: command not found
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: adb-linux: command not found
./stripped-root-for-linux.sh: line 45: adb-linux: command not found
./stripped-root-for-linux.sh: line 46: adb-linux: command not found
./stripped-root-for-linux.sh: line 47: adb-linux: command not found
./stripped-root-for-linux.sh: line 48: adb-linux: command not found
./stripped-root-for-linux.sh: line 49: adb-linux: command not found
./stripped-root-for-linux.sh: line 51: adb-linux: command not found
./stripped-root-for-linux.sh: line 52: adb-linux: command not found
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: adb-linux: command not found
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: adb-linux: command not found
./stripped-root-for-linux.sh: line 61: adb-linux: command not found
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: adb-linux: command not found
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: adb-linux: command not found
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: adb-linux: command not found
./stripped-root-for-linux.sh: line 73: adb-linux: command not found
./stripped-root-for-linux.sh: line 74: adb-linux: command not found

# --- all done ---
./stripped-root-for-linux.sh: line 77: adb-linux: command not found
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
chmod: cannot access `~/Desktop/simple-gnex-root-unroot/adb-linux': No such file or directory

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
sudo: ~/Desktop/simple-gnex-root-unroot/adb-linux: command not found
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 45: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 46: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 47: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 48: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 49: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 51: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 52: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 61: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 73: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 74: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory

# --- all done ---
./stripped-root-for-linux.sh: line 77: ~/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 45: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 46: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 47: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 48: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 49: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 51: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 52: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 61: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 73: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 74: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory

# --- all done ---
./stripped-root-for-linux.sh: line 77: /home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 45: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 46: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 47: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 48: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 49: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 51: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 52: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 61: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 73: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 74: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory

# --- all done ---
./stripped-root-for-linux.sh: line 77: /home/ubuntu/Desktop/simple-gnex-root-unroot/./adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$ ./stripped-root-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
chmod: cannot access `~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux': No such file or directory

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
sudo: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: command not found
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
./stripped-root-for-linux.sh: line 44: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 45: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 46: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 47: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 48: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 49: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 51: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 52: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
./stripped-root-for-linux.sh: line 57: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
./stripped-root-for-linux.sh: line 60: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 61: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] rebooting your phone
./stripped-root-for-linux.sh: line 63: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
[*] waiting for reboot to complete
./stripped-root-for-linux.sh: line 65: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
./stripped-root-for-linux.sh: line 72: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 73: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
./stripped-root-for-linux.sh: line 74: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory

# --- all done ---
./stripped-root-for-linux.sh: line 77: ~/home/ubuntu/Desktop/simple-gnex-root-unroot/adb-linux: No such file or directory
ubuntu@ubuntu:~/Desktop/simple-gnex-root-unroot$
No idea why it's not found, I think I tried every possible combo... or is it a problem with Ubuntu?
I just changed the line you showed... nothing more.
 
My son's here with me...he's gonna help me burn a Live CD like you have and see what the heck is going on...

"I'll be baaaaack!" (said in my best/worst Arnold impersonation ;) :)).

P.S. / edit: can you tell me which version you are running? (nevermind...I see it in the post above...thanks!)
 
Oh thats cool, I'm really lost without help... thanks so much! :)
And yup, just the recent release, nothing fancy like nightlybuild or so.

Oh wait, just one thing: might be that it's the 64bit version? Or is that not important for rooting the phone?
 
Oh thats cool, I'm really lost without help... thanks so much! :)
And yup, just the recent release, nothing fancy like nightlybuild or so.

Oh wait, just one thing: might be that it's the 64bit version? Or is that not important for rooting the phone?

PhinPhin,

Okay, I'm booted-up and running Ubuntu 11.10 (32-bit) from a USB drive on my 64-bit PC and running FireFox where I'm typing this.

Honestly, I downloaded the original .zip file from the first post and it works like a charm.

Now, here's what I did:

1. Downloaded the simple-gnex-root-unroot.zip from the very first post in this thread (didn't have to use any special files like the stripped version I built for you). This file gets placed in the virtual (ramdisk) "Downloads" folder until /home/ubuntu

2. Started-up the Home Folder (file explorer), navigated to the Downloads folder, and did an "Extract Here" on the simple-gnex-root-unroot.zip file

3. Clicked on the Ubuntu symbol ("Dash Home") in the top left corner of the screen and did a search for "terminal", which then started-up a Terminal window (bash shell)

4. In the Terminal window, I simply did what you see below:

Code:
ubuntu@ubuntu:~$ [B][COLOR=Blue]pwd[/COLOR][/B]
/home/ubuntu
ubuntu@ubuntu:~$ [B][COLOR=Blue]cd Downloads[/COLOR][/B]
ubuntu@ubuntu:~/Downloads$ [B][COLOR=Blue]ll[/COLOR][/B]
total 1724
drwxr-xr-x  5 ubuntu ubuntu    160 2012-03-25 04:44 ./
drwxr-xr-x 22 ubuntu ubuntu    680 2012-03-25 04:39 ../
drwxrwxr-x  2 ubuntu ubuntu    220 2011-12-05 18:41 sdk-tools/
-rw-rw-r--  1 ubuntu ubuntu 796932 2012-03-25 04:36 sdk-tools.zip
drwxrwxr-x  2 ubuntu ubuntu    400 2012-03-25 04:45 simple-gnex-root-unroot/
-rw-rw-r--  1 ubuntu ubuntu 946051 2012-03-25 04:43 simple-gnex-root-unroot.zip
drwxrwxr-x  2 ubuntu ubuntu    120 2012-03-25 04:42 stripped-linux-scripts/
-rw-rw-r--  1 ubuntu ubuntu   2203 2012-03-25 04:28 stripped-linux-scripts.zip
ubuntu@ubuntu:~/Downloads$ [B][COLOR=Blue]cd simple-gnex-root-unroot[/COLOR][/B]
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ [B][COLOR=Blue]pwd[/COLOR][/B]
/home/ubuntu/Downloads/simple-gnex-root-unroot
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$[B][COLOR=Blue] ll[/COLOR][/B]
total 1964
drwxrwxr-x 2 ubuntu ubuntu    400 2012-03-25 04:45 ./
drwxr-xr-x 5 ubuntu ubuntu    160 2012-03-25 04:44 ../
-rw-rw-r-- 1 ubuntu ubuntu 161792 2011-12-02 20:51 adb.exe
-rwxrwxr-x 1 ubuntu ubuntu 340896 2011-11-18 14:20 adb-linux*
-rw-rw-r-- 1 ubuntu ubuntu 349196 2011-11-18 14:20 adb-mac
-rw-rw-r-- 1 ubuntu ubuntu  96256 2011-12-02 20:51 AdbWinApi.dll
-rw-rw-r-- 1 ubuntu ubuntu  60928 2011-12-02 20:51 AdbWinUsbApi.dll
-rw-rw-r-- 1 ubuntu ubuntu  37273 2012-02-12 15:44 mempodroid
-rw-rw-r-- 1 ubuntu ubuntu   1129 2012-03-02 22:10 README.txt
-rw-rw-r-- 1 ubuntu ubuntu   2416 2012-02-19 15:05 root-for-windows.bat
-rw-rw-r-- 1 ubuntu ubuntu   3736 2012-02-19 15:07 root-unroot-for-linux.sh
-rw-rw-r-- 1 ubuntu ubuntu   3741 2012-03-02 22:07 root-unroot-for-mac-osx.sh
-rw-rw-r-- 1 ubuntu ubuntu    149 2012-02-18 11:01 script1-root.sh
-rw-rw-r-- 1 ubuntu ubuntu    153 2012-02-18 11:02 script1-unroot.sh
-rw-rw-r-- 1 ubuntu ubuntu    851 2012-02-19 14:50 script2-root.sh
-rw-rw-r-- 1 ubuntu ubuntu    811 2012-02-19 15:01 script2-unroot.sh
-rw-rw-r-- 1 ubuntu ubuntu  22364 2012-02-10 14:16 su
-rw-rw-r-- 1 ubuntu ubuntu 843503 2012-02-10 14:16 Superuser.apk
-rw-rw-r-- 1 ubuntu ubuntu   2660 2012-03-25 04:45 testme.sh
-rw-rw-r-- 1 ubuntu ubuntu   2213 2012-02-19 15:05 unroot-for-windows.bat
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$[B][COLOR=Blue] . ./root-unroot-for-linux.sh[/COLOR][/B]

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
Would you like to 'root' or 'unroot' your Galaxy Nexus?
[B][COLOR=Blue]root[/COLOR][/B]

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
1815 KB/s (37273 bytes in 0.020s)
3 KB/s (149 bytes in 0.040s)
20 KB/s (851 bytes in 0.040s)
544 KB/s (22364 bytes in 0.040s)
3119 KB/s (843503 bytes in 0.264s)
#
[*] securing work files...
#
[*] rooting the phone...
 
[*] running the exploit script...
#
[*] cleaning-up /data/local...
[*] rebooting your phone
[*] waiting for reboot to complete
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...

# --- all done ---
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$
I'm wondering if the key here is the ". ./root-unroot-for-linux.sh" (pay special attention to the "dot space dot slash" that precedes the "root-unroot-for-linux.sh" portion of the command.

Anyway, try this sequence out and see how it works for you.

Cheers and good luck!
 
I think "no soupe ... erm root for me" with the Galaxy Nexus... I did everything as shown:

Code:
ubuntu@ubuntu:~$ pwd
/home/ubuntu
ubuntu@ubuntu:~$ cd Downloads
ubuntu@ubuntu:~/Downloads$ ll
total 714312
drwxr-xr-x  3 ubuntu ubuntu       100 2012-03-25 05:24 ./
drwxr-xr-x 24 ubuntu ubuntu       700 2012-03-25 03:45 ../
drwxrwxr-x  2 ubuntu ubuntu       380 2012-03-02 22:09 simple-gnex-root-unroot/
-rw-rw-r--  1 ubuntu ubuntu    946051 2012-03-25 05:24 simple-gnex-root-unroot.zip
-rw-------  1 ubuntu ubuntu 729067520 2012-03-25 05:23 ubuntu-11.10-desktop-i386.iso
ubuntu@ubuntu:~/Downloads$ cd simple-gnex-root-unroot/
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ pwd
/home/ubuntu/Downloads/simple-gnex-root-unroot
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ ll
total 1960
drwxrwxr-x 2 ubuntu ubuntu    380 2012-03-02 22:09 ./
drwxr-xr-x 3 ubuntu ubuntu    100 2012-03-25 05:24 ../
-rw-rw-r-- 1 ubuntu ubuntu 161792 2011-12-02 20:51 adb.exe
-rw-rw-r-- 1 ubuntu ubuntu 340896 2011-11-18 14:20 adb-linux
-rw-rw-r-- 1 ubuntu ubuntu 349196 2011-11-18 14:20 adb-mac
-rw-rw-r-- 1 ubuntu ubuntu  96256 2011-12-02 20:51 AdbWinApi.dll
-rw-rw-r-- 1 ubuntu ubuntu  60928 2011-12-02 20:51 AdbWinUsbApi.dll
-rw-rw-r-- 1 ubuntu ubuntu  37273 2012-02-12 15:44 mempodroid
-rw-rw-r-- 1 ubuntu ubuntu   1129 2012-03-02 22:10 README.txt
-rw-rw-r-- 1 ubuntu ubuntu   2416 2012-02-19 15:05 root-for-windows.bat
-rw-rw-r-- 1 ubuntu ubuntu   3736 2012-02-19 15:07 root-unroot-for-linux.sh
-rw-rw-r-- 1 ubuntu ubuntu   3741 2012-03-02 22:07 root-unroot-for-mac-osx.sh
-rw-rw-r-- 1 ubuntu ubuntu    149 2012-02-18 11:01 script1-root.sh
-rw-rw-r-- 1 ubuntu ubuntu    153 2012-02-18 11:02 script1-unroot.sh
-rw-rw-r-- 1 ubuntu ubuntu    851 2012-02-19 14:50 script2-root.sh
-rw-rw-r-- 1 ubuntu ubuntu    811 2012-02-19 15:01 script2-unroot.sh
-rw-rw-r-- 1 ubuntu ubuntu  22364 2012-02-10 14:16 su
-rw-rw-r-- 1 ubuntu ubuntu 843503 2012-02-10 14:16 Superuser.apk
-rw-rw-r-- 1 ubuntu ubuntu   2213 2012-02-19 15:05 unroot-for-windows.bat
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ . ./root-unroot-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
Would you like to 'root' or 'unroot' your Galaxy Nexus?

 *** Sorry, I don't understand '' as an option
     Please try again and respond with either 'root' or 'unroot'.

ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ . ./root-unroot-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
Would you like to 'root' or 'unroot' your Galaxy Nexus?
root

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
bash: ./adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
[*] rebooting your phone
bash: ./adb-linux: No such file or directory
[*] waiting for reboot to complete
bash: ./adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory

# --- all done ---
bash: ./adb-linux: No such file or directory
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ chmod +x adb-
adb-linux  adb-mac    
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ chmod +x adb-linux 
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$ . ./root-unroot-for-linux.sh

# ==========================================================================
# Samsung Galaxy Nexus Simple Root by AndroidForums 'scary alien'
#
# Written for and tested on Samsung Galaxy Nexus running stock Android 4.0.2
#
# This script will install the root binaries (su, Superuser.apk) on an
# unrooted GNex without needing to unlock the bootloader
#
# For additional details, credits, etc., please visit:
#
# http://androidforums.com/verizon-galaxy-nexus-all-things-root/499117-root-gnex-without-unlocking-bootloader-yep.html
#
# Instructions:
#
# 1) Make sure you have the adb USB device drivers installed
#
# 2) Make sure you have USB debugging enabled on your phone
#
# 3) Connect your phone and computer via your USB cable
#
# 4) Run this script from the same directory where the rest of the
#    files from the extracted .zip file are located
#
# ==========================================================================
#
Would you like to 'root' or 'unroot' your Galaxy Nexus?
root

Press the <enter> key to root your Galaxy Nexus
[*] securing the adb utility...
#
[*] waiting for adb USB connectivity to your device
#
[*] connectivity established! here we go! :)
#
[*] pushing our binaries and scripts over to the phone...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
#
[*] securing work files...
#
[*] rooting the phone...
bash: ./adb-linux: No such file or directory
#
[*] cleaning-up /data/local...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
[*] rebooting your phone
bash: ./adb-linux: No such file or directory
[*] waiting for reboot to complete
bash: ./adb-linux: No such file or directory
#
# Congratulations, your GNex has just been rooted :)
#
# Use your new root powers carefully and wisely.
#
# final clean-up...
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory
bash: ./adb-linux: No such file or directory

# --- all done ---
bash: ./adb-linux: No such file or directory
ubuntu@ubuntu:~/Downloads/simple-gnex-root-unroot$

*headdesk*

headdesk.jpg
:)
 
Gonna set up Ubuntu in VirtualBox here, too. Just in case I can try it with the 32bit version of Ubuntu, too. Just to be sure.
 
PhinPhin,

Try grabbing the adb binary (fastboot-and-adb.zip) from this page on XDA:

[upload] fastboot and adb binaries for 64-bit linux - xda-developers

Don't forget to rename the "adb" file to "adb-linux" so you don't have to tweak the script.

I have no idea if this is the issue...it really doesn't make sense to me, especially given that you are seeing a "No such file or directory" error when the file is clearly in your current path.

You could also try setting your search path to the "/home/ubuntu/Downloads/simple-gnex-root-unroot" by:

export PATH=/home/ubuntu/Downloads/simple-gnex-root-unroot

to see if that helps.

I might try downloading the 64-bit version of Ubuntu tomorrow and see if I get the same behavior as you do...I'm about to turn in for the night, though.

Good luck, sir!
 
Thank you, gonna try it today (it's 9:42am in the morning while I type it) :)

Maybe it works better with a installed version running in VirtualBox. Good night and take care, need to sleep, too :p

EDIT: tried it now without sleep: http://pastebin.com/gCWU7qrJ

Now I can't be sure if the VirtualBox isn't doing stupid stuff... can I check if the phone shows up as ADB-device?

Haven't forgot to activate debug, too... I think I must live without root.

EDIT2: I done it! Used my Netbook with WinXP and it worked with the same "Universal Naked Driver" I used on the Desktop-machine under Win7, too.

I hope I was the only one with this prob :)
 
Excellent news, PhinPhin!

I'm still thinking that its related to the 64-bit thing... I'm going to re-make my Ubuntu bootable USB drive and try it with the 64-bit version to see if it will re-create what happened to you.

Glad you are finally working, though! :)

Cheers!
 
PhinPhin,

Good news (:rolleyes: -- guess its good news, anyways ;) :))--I created a 64-bit Ubuntu installation and received the same errors as you did regarding the inability to run the adb utility.

I even got the same behavior when trying to run a supposedly 64-bit version from the XDA link I provided above. I think what we saw was not really that the file couldn't be found, but that it couldn't be executed (since the binary was not compatible with the 64-bit distro).

Anyway, I'll update the first OP with information that it works for 32-bit installs of Linux only (you should have been able to run a 32-bit install on your 64-bit PC, too).

Cheers and have a great rest of your weekend!
 
Yeah, I actually did run a 32bit Ubuntu, but in the VirtualBox. Might be that it couldn't find the phone via the virtual USB-driver. I'm glad that it was atleast reproducable, and not totally my dumbness or lazyness! :) "Could" it be that even the adb.exe for Windows won't run on 64bit systems? The only difference now was that I used WinXP (32bit)... :P

So, finally I can have a decent volume for the ringtone so that I hear it ringing in my pocket... :D the max-volume of the ringtones is ridicules, I really wonder what Samsung did smoke as they set the specs...
 
Downloaded and followed directions word for word...worked perfectly. The only thing I did differently was "chmod 777" The she'll script for Linux. Though I probably could have done it with a simple sudo invocation. Either way, I have a question now. Would it be safe to install a custom recovery via rom manager? I know I'd have to remove a specific file for it to stick(recovery_from_boot, or something like that). What are the limitations of having a rooted device with a locked bootloader.
 
Downloaded and followed directions word for word...worked perfectly. The only thing I did differently was "chmod 777" The she'll script for Linux. Though I probably could have done it with a simple sudo invocation. Either way, I have a question now. Would it be safe to install a custom recovery via rom manager? I know I'd have to remove a specific file for it to stick(recovery_from_boot, or something like that). What are the limitations of having a rooted device with a locked bootloader.

Kris,

Yep, you can indeed install a custom recovery.

First thing I'd do, by the way, would be to make a Nandroid backup of your currently stock (but rooted) setup and save that off-site for safe-keeping.

Check out my new app, Android Root Toolkit for an easy way to flash your recoveries and make recovery "stick".

Also, here's a link to the standard ways of flashing a custom recovery:

http://androidforums.com/verizon-galaxy-nexus-all-things-root/474570-how-all-things-root-samsung-galaxy-nexus.html#clockworkmod

which also includes information on manually making recovery "stick".

The limitations for having a locked bootloader would be that you won't be able to use fastboot to flash or soft-boot a recovery or system image, etc. (i.e., flash the factory images). You'll still be able to install a custom ROM (and kernels, etc.) with ClockworkMod, etc.

But you'll always have the ability to unlock in your back pocket :).

Cheers!
 
One more question. Because of the single partition hard drive, does flashing a rom wipe data? Or how does it work with the single partition?
 
One more question. Because of the single partition hard drive, does flashing a rom wipe data? Or how does it work with the single partition?

Do you mean the entire /data partition (i.e., since the "SD card" is soft-linked / mounted in /data/media)?

I do believe that a CWM format of /data will exclude any files encountered in /data/media.

Well, I don't think simply flashing a ROM will wipe "data", but you've got the variability of the ROM dev's installation instructions and whatever commands are included in the flashable .zip file, so its best to:

1. Make a Nandroid backup of your current setup and save it off to your PC

2. Make a backup of the phone's "internal storage" ("SD card" or /data/media or /sdcard) contents and save it off to your PC

3. Pay careful attention to the ROM dev's installation instructions (wouldn't hurt to read through several of the first and last pages of their thread, too, to get a feel for what folks are saying about any issues they might be having).

This (^^^) is simply what I do...better safe than sorry, eh?

Cheers and good luck!
 
Damn it seems I'm the only one who doesn't get it :)

I unlocked my phone (a yakjuxw on 4.0.2) with your script and it worked fine. Now I just don't get it how I can update it to 4.0.4

From what I understand I could place the update in the cache folder using the ES file explorer and the launch the file. But I don't know anything about code so it's really hard to make sense from yout discussions :)

I also tried to just copy the update file on my phone and launch it via cmd but I can't access the Folder of my phone.

Am I just miles away from a solution or can anyone explain to me in a simple way what to do? Would be awesome


And please don't tell me this things only apply for the Verizon Version
 
Back
Top Bottom