Thread Closed

G-Slate root

OP Chandon

6th May 2011, 06:36 AM   |  #1  
OP Member
Thanks Meter: 36
 
28 posts
Join Date:Joined: May 2009
There's no G-Slate forum yet, so this goes here.

How to root your T-Mobile G-Slate

This process works under Linux. The hard part under Windows would be mounting a file as an ext4 filesystem, but if you can do that you win.

You need:
  • The four files in the gslate_root.zip archive attached to this post.

To root:
  1. Put those four files in a directory and open a terminal to there.
  2. Shut down your G-Slate and plug it into your computer via USB.
  3. Hold down both volume buttons and press the power button. The G-Slate will not appear to turn on, but it'll go into APX mode.
  4. Running "lsusb" should show an entry "0955:7820 NVidia Corp."
  5. Run the command "sudo su" to get a root shell. Running "ls" should still show the four files.
  6. ./nvflash --bl bootloader.bin --getpartitiontable ptable.txt
  7. ./nvflash -r --read 8 system-orig.img
  8. Wait while 400 meg of data copies.
  9. cp system-orig.img system.img
  10. mkdir system
  11. mount -o loop system.img system
  12. cp su system/bin
  13. chmod 4755 system/bin/su
  14. cp Superuser.apk system/app
  15. umount system
  16. ./nvflash -r --download 8 system.img
  17. Wait while it copies back.
  18. ./nvflash -r --sync
  19. Press the reset button under the sim cover to reboot.

There's your rooted G-Slate. Making that process "one click" is going to suck.

Troubleshooting:
  • You may need to install the package libstdc++6 or lib32stdc++6 to get nvflash to run.
  • You may need to use "sudo" on the nvflash commands.
  • If you want to try to make this work on Windows, the nvflash.exe binary and the APX USB drivers are are available from nvidia.com
Attached Files
File Type: zip gslate_root.zip - [Click for QR Code] (828.1 KB, 5304 views)
Last edited by Chandon; 8th May 2011 at 06:34 AM.
The Following 28 Users Say Thank You to Chandon For This Useful Post: [ View ]
6th May 2011, 11:16 AM   |  #2  
deez1234's Avatar
Senior Member
Thanks Meter: 39
 
337 posts
Join Date:Joined: Aug 2010
More
This is unbelievable! Can't wait to give it a shot.
Last edited by deez1234; 24th December 2011 at 06:41 AM.
The Following User Says Thank You to deez1234 For This Useful Post: [ View ]
6th May 2011, 01:09 PM   |  #3  
Bling_Diggity's Avatar
Senior Member
Flag Pensacola, FL
Thanks Meter: 92
 
228 posts
Join Date:Joined: Apr 2011
Donate to Me
More
EDIT: For future reference, DO NOT use Virtual Box to try and root your device. There are issues getting the drivers to work properly. Lsusb will not work. The following methods have been tested and work:

1. Wubi install of Ubuntu Linux
2. VMware install of Ubuntu Linux
3. Dual-boot install of ""
4. Dedicated Linux box (duh)

And remember: If at first you don't succeed, try try again. Then visit our IRC channel.

Trying this on Windows 7 is gonna be a trip. Never workt with ext4 before.
Last edited by Bling_Diggity; 9th May 2011 at 07:34 PM. Reason: Added valuable rooting info.
6th May 2011, 01:11 PM   |  #4  
deez1234's Avatar
Senior Member
Thanks Meter: 39
 
337 posts
Join Date:Joined: Aug 2010
More
Install Ubuntu and you can dual boot into Windows or Ubuntu. That's what I do.


Sent from my LG-V909 using XDA Premium App
Last edited by deez1234; 6th May 2011 at 01:55 PM.
6th May 2011, 02:03 PM   |  #5  
deez1234's Avatar
Senior Member
Thanks Meter: 39
 
337 posts
Join Date:Joined: Aug 2010
More
This method is confirmed working. Thank you so much for the hard work Chandon. It wasn't very hard to complete on Linux. I can't believe my G-Slate is rooted!!!! Hell yes! Oh and the device is not wiped during the process either just to let everyone know!
6th May 2011, 02:44 PM   |  #6  
Junior Member
Thanks Meter: 3
 
12 posts
Join Date:Joined: Apr 2006
More
Some More Help
Would it be possible to pull the recovery partition off now?

Why I ask. I am in a bit of a pickle. My slate will get to the first LG boot screen and then freeze. It does not even go to the boot animation. I can still get into fastboot and APX mode and it is seen by my computer.

How did i get here. While poking around in fastboot I am pretty sure i wiped they recovery partition D'OH.

I was able to complete the steps listed (for root) with out issue but still cannot get past the boot screen since this is only modifying the system partition.

I am thinking that if that could be pulled from the device i could flash it to mine and bring my slate back to life?

Am I way off on this one?
6th May 2011, 04:49 PM   |  #7  
OP Member
Thanks Meter: 36
 
28 posts
Join Date:Joined: May 2009
SmellyTunic -

Attached are all the reasonably small partitions that I could pull off my device with nvflash. This should be everything except /system, /cache, and /data.

I suggest backing everything up before flashing any of these, on the off chance that there's some difference between devices.
Attached Files
File Type: zip stock-partial.zip - [Click for QR Code] (7.62 MB, 427 views)
The Following User Says Thank You to Chandon For This Useful Post: [ View ]
6th May 2011, 05:32 PM   |  #8  
Senior Member
Thanks Meter: 91
 
199 posts
Join Date:Joined: Oct 2009
Thanks so much for this! Is there a good linux live cd(or bootable usb flash drive) someone could suggest where this could be accomplished easily? Not ready to take the plunge actually installing linux on my system yet >.>
6th May 2011, 05:38 PM   |  #9  
Junior Member
Thanks Meter: 3
 
12 posts
Join Date:Joined: Apr 2006
More
Here you go
shinkinrui

Info and steps can be found here http://www.ubuntu.com/download

Pretty easy to set up a dual boot machine.

Chandon,

Any chance you know off hand which one of those partitions is the recovery?
The Following 2 Users Say Thank You to SmellyTunic For This Useful Post: [ View ]
6th May 2011, 05:43 PM   |  #10  
OP Member
Thanks Meter: 36
 
28 posts
Join Date:Joined: May 2009
I suggest doing a Wubi install [1], where Ubuntu pretends to be a Windows app (which you can then uninstall like any other app later). Alternatively you could try using VirtualBox [2], but that's less guaranteed to work.

The only reason I wouldn't do this with a Live CD is that you'd risk losing your backup of the stock /system partition when you reboot. It would also make losing power in the middle of the flash really annoying.

[1] https://wiki.ubuntu.com/WubiGuide
[2] (edit: virtual box doesn't easily see the USB device)
Last edited by Chandon; 6th May 2011 at 11:03 PM.

The Following 3 Users Say Thank You to Chandon For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Upgrading, Modifying and Unlocking by ThreadRank