Rooting the G-Slate with Ubuntu wubi

    Share
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 12:35 pm

    NOTE: This thread is a split from the "reward for root thread". It details all my my trials and tribulations in trying to use Ubuntu Linux to root my G-Slate. The original "How To Root" thread with instructions is located on XDA - Click HERE. If you come up with any errors, look in this thread and you'll probably find that I already experienced it and solved it. Or at least Chandon or Deez1234 solved it for me Very Happy





    deez1234 wrote:It is confirmed working Bling. It was very easy on Linux, but I'm not sure how it will work on Windows 7. I now have root access and I'm damn excited about it. Now what we need is a working recovery!! cheers

    Cool. I just tried it with Windows...no dice. I'd use Linux to do it but I don't know how to do that either. Maybe I could install some type of Linux emulator on my laptop? Hmm...

    What version of Linux did you use, btw?



    Last edited by Admin on Sat May 07, 2011 1:28 am; edited 2 times in total

    Chandon
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 10

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Chandon on Fri May 06, 2011 12:50 pm

    I'd just go ahead and install Ubuntu - it finds itself space and sets up a dual boot automatically - but some other alternatives are a Wubi install or virtualizing it using Virtual Box.

    [1] https://wiki.ubuntu.com/WubiGuide
    [2] http://www.virtualbox.org/
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 1:01 pm

    Yeah I just decided to use Virtual Box. My processor in my laptop is AMD 64-bit which VB claims to have full support for so yeah.
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 2:03 pm

    Come on Bling, get that beast rooted so we can make a recovery lol.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 2:47 pm

    In the process of installing Ubuntu right now. I'll let u know when I start the rooting process.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 3:24 pm

    Ok, truth be known I've never used terminal before, as I've rarely ever used Linux. So I have no idea how to enter any of the commands. I got as far as holding down the power button and both volume buttons. Now I'm lost.


    EDIT: I entered "lsusb" into terminal, but didn't get anything about "0955:7820 NVidia Corp."
    All I got was:
    Bus 001 Device 002: ID 80ee:0021
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


    Last edited by Admin on Fri May 06, 2011 3:31 pm; edited 1 time in total
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 3:29 pm

    Copy and paste his commands after you CD into the directory where the files are located.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 3:36 pm

    nvflash --bl bootloader.bin --getpartitiontable ptable.txt
    No command 'nvflash' found, did you mean:
    Command 'tvflash' from package 'tvflash' (universe)
    nvflash: command not found
    bling_diggity@MW-VB-Ubuntu:~$ run nvflash --bl bootloader.bin --getpartitiontable ptable.txt
    No command 'run' found, did you mean:
    Command 'crun' from package 'ceph' (universe)
    Command 'zrun' from package 'moreutils' (universe)
    Command 'runq' from package 'exim4-daemon-heavy' (main)
    Command 'runq' from package 'exim4-daemon-light' (main)
    Command 'runq' from package 'sendmail-bin' (universe)
    Command 'grun' from package 'grun' (universe)
    Command 'qrun' from package 'torque-client' (universe)
    Command 'qrun' from package 'torque-client-x11' (universe)
    Command 'lrun' from package 'lustre-utils' (universe)
    Command 'rn' from package 'trn' (multiverse)
    Command 'rn' from package 'trn4' (multiverse)
    Command 'rup' from package 'rstat-client' (universe)
    Command 'srun' from package 'slurm-llnl' (universe)
    run: command not found
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 3:52 pm

    You have to extract the nvflash linux file, gslate nvflash file, and the xoom superuser files in the directory.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 4:00 pm

    I did. Or at least I thought I did. In the directory I created, there are 5 files:

    bootloader.bin
    nvflash (which I got from nvflash_linux_2010110500.tar.gz)
    nvflash_gtablet.sh (which also came from nvflash_linux_2010110500.tar.gz)
    su
    superuser.apk

    Am I missing something here?
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 4:02 pm

    Did you extract the G-Slate nvflash file also? There should be many more than 5 files.


    _________________
    Join us on IRC today!
    G-Slate Development & Discussion!
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 4:05 pm

    Extract these files into the directory you created:

    nvflash_gtablet_2010110500.zip
    nvflash_linux_2010110500.tar.gz
    xoomroot.zip

    Make sure they aren't in seperate folders after extraction. Keep all the files in one directory.

    Don't forget you need to be in the folder you created in the terminal by using the command "cd <Directory Path>"
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 4:10 pm

    Ah, no I didn't extract the "nvflash_gtablet_2010110500.zip" because it kept saying it wanted to overwrite the bootloader.bin file
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 4:21 pm

    Ok, terminal is in directory I created. All files from "nvflash_gtablet_2010110500.zip" extracted into that directory as well, except for bootloader.bin which I chose not to overwrite.

    Typed in:
    ./nvflash --bl bootloader.bin --getpartitiontable ptable.txt

    And this is what I get:

    bash: ./nvflash: No such file or directory
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 4:25 pm

    Try typing "sudo su" and it will prompt you for your Linux password. After that try doing the commands again.

    I would also just copy and paste the commands if you are not already.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 4:40 pm

    Got into Sudo su. Still no dice. I really don't understand what I'm doing wrong. I'm copying and pasting directly from the XDA thread.

    root@MW-VB-Ubuntu:/home/bling_diggity/gslate# Run ./nvflash --bl bootloader.bin --getpartitiontable ptable.txt
    Run: command not found
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 4:43 pm

    You don't need to include "Run".
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 5:02 pm

    Didn't think so. But:

    root@MW-VB-Ubuntu:/home/bling_diggity/gslate# ./nvflash --bl bootloader.bin --getpartitiontable ptable.txt
    bash: ./nvflash: No such file or directory

    Am I supposed to have a directory named "nvflash" with something in it? Because I don't. I have the nvflash file itself in the "gslate" directory I created. But that's it.
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 5:05 pm

    Check that you aren't missing any files because thats what the error is telling you.

    Look for ptable.txt and bootloader.bin and make sure they are there. Other than that I can't tell what your doing wrong unless your files aren't all in the same directory.
    avatar
    Admin
    Admin
    Admin

    Join date : 2011-04-27
    Posts : 206
    Rooted? : Yes
    Location : Florida Panhandle
    Job/hobbies : USAFR
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Admin on Fri May 06, 2011 5:13 pm

    No ptable.txt. What zip file was that in? I can't find it anywhere.
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 5:16 pm

    REMOVED


    Last edited by deez1234 on Fri May 06, 2011 5:19 pm; edited 1 time in total

    Chandon
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 10

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Chandon on Fri May 06, 2011 5:16 pm

    First, you need to make sure the device is showing up in "lsusb". There should be a menu in VirtualBox that lets you forward USB devices to the guest OS, but if you can't make this work reasonably quickly I'd go ahead and do a Wubi install since device drivers are a weird point for virtualization.

    Once you can see the Nvidia device in "lsusb", make a directory on your desktop called "v909" and copy the four files you need (nvflash, bootloader.bin, su, and Superuser.apk) into it.

    Now, go to your terminal window and type this:
    cd ~/Desktop/v909
    ls -F

    That should give this output (in some order, maybe with colors):
    bootloader.bin
    nvflash*
    su
    Superuser.apk

    The important thing is the star after "nvflash", that means it's there and executable.

    From there following the root directions should be pretty straightforward.

    (Edit: don't worry about ptable.txt; It's generated by running the first nvflash command.)
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 5:18 pm

    I didn't realize he was using a VirtualBox. That explains why I can't walk him through this i believe. Chandon knows best!

    Not to hijack your thread but was wondering if Chandon knows how we can get a recovery working?

    Chandon
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 10

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Chandon on Fri May 06, 2011 5:30 pm

    Recovery *might* be the LG downloader that shows up if you boot with volume down pressed. If so, then it may just a question of writing the correct partition. If not then I've got no clue because "adb reboot recovery" doesn't work and there's no combinations of boot buttons left unused.
    avatar
    deez1234
    Moderator
    Moderator

    Join date : 2011-05-05
    Posts : 265
    Rooted? : Duh.
    Job/hobbies : Construction, Tech, Games, Movies
    Male Scorpio

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by deez1234 on Fri May 06, 2011 5:32 pm

    I tried contacting Koush earlier to no avail. Maybe he can help when I get ahold of him...although it may be hard if he doesnt have the device. I was looking at the G2X forums and they used Nvflash to get a working recovery. I don't want to brick my device by using the same files though.

    Sponsored content

    Re: Rooting the G-Slate with Ubuntu wubi

    Post by Sponsored content


      Current date/time is Mon Nov 20, 2017 3:40 am