Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,750 Members 43,792 Now Online
XDA Developers Android and Mobile Development Forum

G-Slate root

Tip us?
 
Chandon
Old
(Last edited by Chandon; 8th May 2011 at 06:34 AM.)
#1  
Member - OP
Thanks Meter 36
Posts: 28
Join Date: May 2009
Default G-Slate root

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, 5277 views)
The Following 28 Users Say Thank You to Chandon For This Useful Post: [ Click to Expand ]
 
deez1234
Old
(Last edited by deez1234; 24th December 2011 at 06:41 AM.)
#2  
deez1234's Avatar
Senior Member
Thanks Meter 39
Posts: 337
Join Date: Aug 2010
This is unbelievable! Can't wait to give it a shot.
The Following User Says Thank You to deez1234 For This Useful Post: [ Click to Expand ]
 
Bling_Diggity
Old
(Last edited by Bling_Diggity; 9th May 2011 at 07:34 PM.) Reason: Added valuable rooting info.
#3  
Bling_Diggity's Avatar
Senior Member
Thanks Meter 92
Posts: 228
Join Date: Apr 2011
Location: Pensacola, FL

 
DONATE TO ME
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.
BLING BLING

-CURRENT DEVICES-
LG Optimus F3 (VM720): Development (Phandroid) | Apps2extSD MOD | Source Code
Samsung GS4 SGH-M919: Development (XDA) | RootzWiki | Source Code
Polaroid/SouthernTelecom A8 Tablet: Development (FreakTab)
 
deez1234
Old
(Last edited by deez1234; 6th May 2011 at 01:55 PM.)
#4  
deez1234's Avatar
Senior Member
Thanks Meter 39
Posts: 337
Join Date: Aug 2010
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
Do you own a T-Mobile G-Slate or an Optimus Pad?
Join us on IRC today! G-Slate Development & Discussion!
 
deez1234
Old
#5  
deez1234's Avatar
Senior Member
Thanks Meter 39
Posts: 337
Join Date: Aug 2010
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!
 
SmellyTunic
Old
#6  
Junior Member
Thanks Meter 3
Posts: 12
Join Date: Apr 2006
Default 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?
 
Chandon
Old
#7  
Member - OP
Thanks Meter 36
Posts: 28
Join Date: 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: [ Click to Expand ]
 
shinkinrui
Old
#8  
Senior Member
Thanks Meter 91
Posts: 199
Join Date: 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 >.>
 
SmellyTunic
Old
#9  
Junior Member
Thanks Meter 3
Posts: 12
Join Date: Apr 2006
Default 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: [ Click to Expand ]
 
Chandon
Old
(Last edited by Chandon; 6th May 2011 at 11:03 PM.)
#10  
Member - OP
Thanks Meter 36
Posts: 28
Join Date: 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)

The Following 3 Users Say Thank You to Chandon For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes