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

[Verizon] Anyone unlocked, rooted using Ubuntu 11.10? Or any Version of Ubuntu?

jmar

Nexican
Sep 27, 2010
4,850
3,131
San Jose, CA
So I don't have Windows right now...long story and am looking for some advice. My problem is that I am unable to get asb and fastboot to work properly. I followed a guide on xda (will provide link and credit shortly) with no luck. I am no noob to windows command line, manual programming of fastboot and adb but I need help here. Any direction would be most appreciated. Again, I will post a link and credit in a few...gotta put the baby to sleep right now.

Yours,

jmar
 
So I don't have Windows right now...long story and am looking for some advice. My problem is that I am unable to get asb and fastboot to work properly. I followed a guide on xda (will provide link and credit shortly) with no luck. I am no noob to windows command line, manual programming of fastboot and adb but I need help here. Any direction would be most appreciated. Again, I will post a link and credit in a few...gotta put the baby to sleep right now.

Yours,

jmar

I don't think you are the only one, jmar.

I tried to connect to my GNex from Ubuntu 10.x the other day without success (I must admit I didn't try that hard, but it appears that MTP requires a little setup to get it working on Ubuntu).

I haven't had time to thread through these threads yet, but hopefully there's some good information in there for you:

http://androidforums.com/galaxy-nexus-all-things-root/471642-great-video-tutorials-rooting-nexus-mac.html

http://androidforums.com/galaxy-nexus-all-things-root/464427-how-unlock-bootloader-using-mac.html

http://androidforums.com/galaxy-nexus-all-things-root/457411-newb-question-unlocking-bootloader-mac.html

Cheers and good luck!
 
  • Like
Reactions: jmar
Upvote 0
I don't think you are the only one, jmar.

I tried to connect to my GNex from Ubuntu 10.x the other day without success (I must admit I didn't try that hard, but it appears that MTP requires a little setup to get it working on Ubuntu).

I haven't had time to thread through these threads yet, but hopefully there's some good information in there for you:

http://androidforums.com/galaxy-nexus-all-things-root/471642-great-video-tutorials-rooting-nexus-mac.html

http://androidforums.com/galaxy-nexus-all-things-root/464427-how-unlock-bootloader-using-mac.html

http://androidforums.com/galaxy-nexus-all-things-root/457411-newb-question-unlocking-bootloader-mac.html

Cheers and good luck!


What is interesting is that I found an app, per se, which allows for USB mass storage-like mounting of the gnex file system in Ubuntu. I know that adb and fastboot protocols are different from that of USB mass storage but dang it!!! I don't want to use Windows anymore!!! I have been contemplating a VM but I want to learn the hard way...even if the support around it is a lot less prevalent.

I will check out the links you provided when I am on my PC.

Thanks Scary. If you have any success getting adb or fastboot to work (if you care to) please, please hit me up here or PM. Like I said, really want to get it the hard way, even if with help!

jmar
 
Upvote 0
i haven't been able to get mtp working on ubuntu, but rooting and unlocking the bootloader in ubuntu 11.04 took literally about 5 minutes (actually took about an hour, but took 5 minutes after i figured out that i was stupid and wasn't running commands as root).

make sure you run both adb and fastboot as root...either sudo every command, or sudo su to change to root (if you don't feel like sudo'ing every command).

if you sudo su, then adb devices you should see the phone come up. my mistake was just running adb devices without sudo left me with '???????????? no permissions' under the devices list.
 
Upvote 0
i haven't been able to get mtp working on ubuntu, but rooting and unlocking the bootloader in ubuntu 11.04 took literally about 5 minutes (actually took about an hour, but took 5 minutes after i figured out that i was stupid and wasn't running commands as root).

make sure you run both adb and fastboot as root...either sudo every command, or sudo su to change to root (if you don't feel like sudo'ing every command).

if you sudo su, then adb devices you should see the phone come up. my mistake was just running adb devices without sudo left me with '???????????? no permissions' under the devices list.


okay..I may make an installation of 11.04 tomorrow and try this. So the command in terminal is sudo su once so every command is root?
 
Upvote 0
i haven't been able to get mtp working on ubuntu, but rooting and unlocking the bootloader in ubuntu 11.04 took literally about 5 minutes (actually took about an hour, but took 5 minutes after i figured out that i was stupid and wasn't running commands as root).

make sure you run both adb and fastboot as root...either sudo every command, or sudo su to change to root (if you don't feel like sudo'ing every command).

if you sudo su, then adb devices you should see the phone come up. my mistake was just running adb devices without sudo left me with '???????????? no permissions' under the devices list.


Should I sudo su before running udev commands?
 
Upvote 0
i used koush's method, but before running any commands in adb or fastboot run "sudo su" (without the quotes of course) to change to root. this is where i got caught up - running the commands without being root will probably lead to you not having permission to do anything with the device. once i figured that out, it was smooth sailing.

http://androidforums.com/verizon-ga...49-how-root-vzw-lte-samsung-galaxy-nexus.html

http://androidforums.com/verizon-ga...w-unlock-bootloader-galaxy-nexus-verizon.html

from there, just do exactly what the guide tells you and it should be done within minutes...literally. the only thing i did slightly differently was in unlocking the bootloader - i connected to the computer while the phone was on, then opened terminal, navigated to platform-tools, and ran ./adb devices. i did this because i'm paranoid and wanted to make sure adb was working before i tried to go into fastboot. this is where i saw the "??????????????????? no permissions" thing...so, from there, after a half hour or so of searching and trying to figure it out, i finally found the answer:

sudo su (enter your password when prompted)
./adb devices

when you run ./adb devices after switching to root, you should now see that adb can see your device is connected....

./adb reboot bootloader
./fastboot oem unlock (after the phone boots into the bootloader, of course)

follow the guide/video from there :) also, watch the video once before you start...even though it's done on a windows pc, it's still helpful for following how the whole procedure works. it's much easier on ubuntu because you don't have to mess with the drivers...

don't forget to exit out once everything is done, so you're not sitting there in the terminal as root for longer than you need to be.
 
  • Like
Reactions: jmar
Upvote 0
I had a lot of trouble too and had to edit a few configuration files. There is a good root program out for windows hopefully they will port it to Linux, I miss revoked from my dinc.

I had some luck using ptp and a camera program, but you couldn't do folders and it was super slow. I gave up and installed airdroid, it was much faster and easy to use.
 
Upvote 0
i've also used airdroid and sshdroid to transfer files to ubuntu - sshdroid is actually a bit nicer because you can mount the phone as a share (ssh / secure ftp) and copy files that way.

also, once you get adb and the android sdk configured and get the phone rooted that way, you can always copy files back and forth via adb push and adb pull...
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones