1. Download our Official Android App: Forums for Android!

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

Discussion in 'Android Devices' started by jmar, Jan 2, 2012.

  1. jmar

    jmar Nexican
    Thread Starter
    Rank:
    None
    Points:
    523
    Posts:
    4,851
    Joined:
    Sep 27, 2010

    Sep 27, 2010
    4,851
    3,131
    523
    Male
    Sales
    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
     

    Advertisement

  2. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,297
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,297
    23,684
    2,138
    Male
    space alien ;)
    Indy
    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!
     
    jmar likes this.
  3. jmar

    jmar Nexican
    Thread Starter
    Rank:
    None
    Points:
    523
    Posts:
    4,851
    Joined:
    Sep 27, 2010

    Sep 27, 2010
    4,851
    3,131
    523
    Male
    Sales
    San Jose, CA

    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
     
  4. crackers8199

    crackers8199 Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    548
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    548
    59
    78
    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.
     
    jmar, trophynuts and scary alien like this.
  5. jmar

    jmar Nexican
    Thread Starter
    Rank:
    None
    Points:
    523
    Posts:
    4,851
    Joined:
    Sep 27, 2010

    Sep 27, 2010
    4,851
    3,131
    523
    Male
    Sales
    San Jose, CA

    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?
     
  6. jmar

    jmar Nexican
    Thread Starter
    Rank:
    None
    Points:
    523
    Posts:
    4,851
    Joined:
    Sep 27, 2010

    Sep 27, 2010
    4,851
    3,131
    523
    Male
    Sales
    San Jose, CA

    Should I sudo su before running udev commands?
     
  7. crackers8199

    crackers8199 Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    548
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    548
    59
    78
    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.
     
    jmar likes this.
  8. jmar

    jmar Nexican
    Thread Starter
    Rank:
    None
    Points:
    523
    Posts:
    4,851
    Joined:
    Sep 27, 2010

    Sep 27, 2010
    4,851
    3,131
    523
    Male
    Sales
    San Jose, CA
    So I took this info plus the help of a very cool cat over at xda who walked me through the while process over gtalk. I may turn this thread into a guide but I gotta convince my family that it is a great idea (which it is, right?).

    Stay tuned.

    jmar
     
    T-Keith likes this.
  9. T-Keith

    T-Keith Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    397
    Joined:
    May 1, 2010

    May 1, 2010
    397
    33
    43
    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.
     
  10. crackers8199

    crackers8199 Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    548
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    548
    59
    78
    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...
     
Tags:

Share This Page

Loading...