FORUMS
Remove All Ads from XDA

[STICKY][ROM] nvflash FULL restore, using bekit's original image (Instructions)

3,487 posts
Thanks Meter: 1,409
 
By roebeet, Senior Member on 5th December 2010, 06:18 PM
Thread Closed Email Thread
MANY THANKS TO REV FOR RE-WRITING THIS FOR ME!
(Post was updated on 3/23/2011)

=======================================

This post is to provide a template for using NVFlash to restore/recover your G-Tablet after suffering some kind of malfunction. Specifically, this document tries to provide ALL the information you need to use the NVFlash tool to recover the bekit 1105 software version, which has been found to be safe as a starting point for rebuilding your tablet after having a problem. This post does not include other methods of setting up NVFlash (such as installing the SDK, etc.) because this method is proven and can be easily supported.

I use Ubuntu Linux and know that the Linux instructions below are correct. Others have written Windows instructions and those too have been checked carefully and have been used before successfully.

A WARNING IN ADVANCE: NVFlash makes changes to the partition structure of your device. You should tread carefully and understand the risks. (MOD EDIT Note: It also has been noted a bunch of times that even NVFlashing your G-Tablet will not completely overwrite everything on it.)

The NVFlash setup process begins with a visit to:

http://db.tt/Wm25t7U

(Note: Sometime this DropBox is cranky. If you have trouble with it, check back later.)

Linux users: You want to get "nvflash_linux_2010110500.tar.gz" and "nvflash_gtablet_2010110500.zip "

Windows users: You want to get "nvflash_windows_20100500.zip" and ""nvflash_gtablet_2010110500.zip"

Note: The above "nvflash_gtablet_2010110500" is commonly referred to as bekit version 1105 in many posts relating to nvflashing (especially my posts).

-------------------------------------------

Installation


First, create a folder named "NVFlash" on your PC to put the needed files into and to work from. (Note: You can call it something else if you want to; we're just using "NVFlash" to keep all of us on the same page.)

Next, extract the files you downloaded from the DropBox above into the "NVFlash" directory. The files with linux and windows in the middle of then are the files for setting up NVFlash. (The are taken from the SDK and do not install the whole SDK -- just a simple, operable NVFlash for us to use here.) The files with gTablet in the middle contains the .img files with the software to go on your G-Tablet.

Third, for Windows users, you'll need to have an APX-specific USB driver for the next steps. (The Windows package bekit supplied has an .inf file in it, but the actual drivers are not there). For Linux users, you don't need an extra driver.

One source for the Windows drivers is at

http://www.myadventvega.co.uk/

Find the "Downloads" tab in the middle of the page and click on "USB System Driver" to get the files. Extract them and go down two levels to the "USB" folder -- and move that into your "NVFlash" directory. The USB folder has the .inf file for installation in it along with two other directories with drivers for the various operating systems. (Note: These drivers, which are the same as the drivers in the SDK, are proven to work with Win 7 64-bit and have the setup include to load into other versions of Windows.) Follow this narrative for actual installation of the drivers.


CHECKPOINT: At this point, you should have the nvflash files, .img files, and USB directory (and files) in you "NVFlash" directory and are ready to begin the recovery process.

Now, you will need to boot into G-Tablet APX mode: hold down the power and volume - button simultaneousl until your G-Tab comes up and the goes back to a black screen. The black screen means it is in APX mode and it is waiting to display the flashing process. In Linux, type "lsusb" in a terminal and you should see this "0955:7820 NVidia Corp.". 7820 means the device is in APX mode.

Connect your G-Tablet to your PC using your miniUSB to USB cable that came with your tablet.


Linux users: At this point, open up a command window to the folder you created, and run this script:

./nvflash_gtablet.sh

This will wipe the device back to bekit's original TnT stock image, except for user data which is retained. Should take about a minute to run and the device will reboot itself automatically. If the script does not work, make sure that the shell script and nvflash binary are set as executables.


Windows users: When you connect to the PC, the PC immediately tries to load a driver -- but since it doesn't know where the USB driver files are it will fail. Click through Start/Control Panel/Device Manager and find "APX" listed in the devices with a yellow "!" (exclamation point) on the icon. Select the APX item and find the "Update Driver" button and click it. When it asks where to search, choose the local computer manual selection choice and tell it to Browse.

Point the Browse (and the USB install) at the "USB" directory under the "NVFlash" folder. When pointed at the "USB" directory, the driver installed and I was ready to nvflash. If you go back to Device Manager after the Windows install has completed, it will show the nVidia USB drivers near the top of the USB device list.


Again, for Windows: Run this script which is in the "NVFlash" folder:

nvflash_gtablet.bat

This will wipe the device back to bekit's original TnT stock image except for user data, which is retained. Should take about a minute to run and the device will reboot itself automatically all the way to the main screen.


POST NVFlash:

When your G-Tablet has booted back to the main screen, you will have to check and make sure everything is set up. Particularly, get the wifi on and connected to the Internet. Almost immediately, you should get a notice about an OTA (over the air) update. This is the OTA Update to software version 3588. If it does, go ahead and have it do the update. From there, you can begin using your "stock 3588" G-Tablet.

If you don't get an automatic OTA notification, you can go the to manual "Update" icon on your tablet and have it check for updates -- and hopefully it will find OTA 3588.

Or, if neither of the above happen, you can download 3588 at the following link and install it manually:


http://tapntap.http.internapcdn.net/...-3588-user.zip


Note: Following is a STICKY from General Forum on the stock recovery process:

http://forum.xda-developers.com/showthread.php?t=892090


NOTICE: There are many threads out there with tell how to do this process. Others tell individuals' problem solving experiences. A few of them may not be right! The above process is not the only way to do this -- but it is fairly straightforward and it is proven. It is recommended for anyone who does not have experience with nvflashing.

************************************************** *


Further references (since I'm not a Windows user): http://forum.xda-developers.com/show...0&postcount=28

and http://forum.tegratab.com/viewtopic....bbde76184e550a and http://wiki.tegratab.com/index.php/Nvflash_FAQ

An additional suggestion if you also want to tack on bekit's clockworkmod recovery versus standard recovery: http://forum.xda-developers.com/show...3&postcount=17

Hope this helps!

03/2011 update -- I've been told that this tool has been useful to erase ALL partitions, including user data. I believe you need to re-flash with the bekit 1105 above, AFTER you use this: http://forum.xda-developers.com/showthread.php?t=974422

04/22/2011 update -- I've built out both 1.1-3588-based and 1.2-4349-based versions that have effectively replaced bekit's 1105 image ("nvflash_gtablet_2010110500.zip"), at least on my own device - I'm also addding a clockworkmod recovery option. It is being hosted in the same location as my 1.2-based mods - I will be making updates there, from this point on (as I might update them from time to time).

(you'd still need bekit's Windows or Linux tools, keep in mind) I've been able to bring back my device back from a soft-brick several times, so I feel they are usable.

05/09/2011 update -- A reminder that these images are not being updated, here. I have a newer nvflash post over in the same site where I have my 1.2-based mods. The 1105 bekit image mentioned here is still relevant for 1.1-based ROM users, or you can use my 3588 ot 4349 solution at the other site.

05/10/2011 update -- I have PM'd the moderator to either unsticky this post and / or assign it to someone else, as I do not plan on updating it, here. I believe that there is a 3588 image in the TegraTab IRC that someone created, for example.
The Following 59 Users Say Thank You to roebeet For This Useful Post: [ View ] Gift roebeet Ad-Free
 
 
5th December 2010, 08:37 PM |#2  
Sprdtyf350's Avatar
Senior Member
Thanks Meter: 78
 
More
Looks good Roebeet. I wrote a little how to a while back on tegratab. I know you are aware but for the benefit of others I wanted to add the following.

One little thing is sometimes when you are done you will get a boot loop. I think it only may happen once as I never saw it again. The fix is to go into Clockwork and partition the internal sd card again. The old settings said 512 for memory, and 256 swap. Bekit updated Clockwork and now you can format all the way to 4gb if you like, and swap should be 0 as it is not used.

Edit: New wisdom says not to partition the internal sdcard to anything but 2048. Folks have had issues with memory errors in the market with anything bigger. 0 for a swap is also the recommendation as Android apparently does not make use of the swap.
The Following User Says Thank You to Sprdtyf350 For This Useful Post: [ View ] Gift Sprdtyf350 Ad-Free
10th December 2010, 08:34 AM |#3  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by roebeet

Wanted to expand on what was already here, since there seems to be a lot of questions that pop up. I use Ubuntu so I know that the Linux instructions are correct.

A warning in advance: nvflash makes changes to the partition structure of your device. You should tread carefully and understand the risks.


Pre-req:
http://db.tt/Wm25t7U

Linux users: You want to get "nvflash_linux_2010110500.tar.gz" and "nvflash_gtablet_2010110500.zip "

Windows users: You want to get "nvflash_windows_20100500.zip" and ""nvflash_gtablet_2010110500.zip"

Other references (since I'm not a Windows user): http://forum.xda-developers.com/show...0&postcount=28

and http://forum.tegratab.com/viewtopic....bbde76184e550a

http://wiki.tegratab.com/index.php/Nvflash_FAQ


-------------------------------------------

Installation

Create a folder on your PC which you use as your restore base, and then extract the platform-specific ZIP into that location.

Then, download the "nvflash_gtablet_2010110500.zip" package and unzip the /nvflash_gtablet/ folder inside into the same folder as where you dropped nvflash.

For Windows users, you'll need to have an APX-specific USB driver for the next steps (I believe that the Windows package bekit supplied has that .inf file, but again I don't know for sure). For Linux users, you don't need an extra driver.

Once ready, boot the device into APX mode (power up and volume down, at the same time - you'll see the boot screen pop up, and then go blank.). In Linux, type "lsusb" in a terminal and you should see this "0955:7820 NVidia Corp.". 7820 means the device is in APX mode.

Linux users: At this point, open up a command window to the folder you created, and run this script:

nvflash_gtablet.sh

This will wipe the device back to bekit's original TnT stock image, except for user data which is retained. Should take about a minute to run and the device will reboot itself automatically.

Windows users: (again, I did not test this myself). Run this script, in the folder you created:

nvflash_gtablet.bat


Hope this helps!

I need help. I finally got Windows 7 to recognize the device in APX mode but how do I flash from this point. It only shows up in my Device list with all the subfolders in it.
17th December 2010, 02:42 AM |#4  
Senior Member
Thanks Meter: 20
 
More
What is this for? Restoring to factory Rom?

Thanks,
Scott
17th December 2010, 02:47 AM |#5  
roebeet's Avatar
OP Senior Member
Flag Pennsylvania
Thanks Meter: 1,409
 
More
Quote:
Originally Posted by cscotty

What is this for? Restoring to factory Rom?

Thanks,
Scott

Yes, you can use it for exactly that. I believe bekit added Launcher Pro and superuser, but other than that it's a way to completely wipe the device. Moreso than a standard recovery would do.
17th December 2010, 04:14 PM |#6  
Senior Member
Thanks Meter: 43
 
More
The pre-req link doesnt work. Can you update the link?

Thanks

Quote:
Originally Posted by roebeet

Wanted to expand on what was already here, since there seems to be a lot of questions that pop up. I use Ubuntu so I know that the Linux instructions are correct.

A warning in advance: nvflash makes changes to the partition structure of your device. You should tread carefully and understand the risks.


Pre-req:
http://db.tt/Wm25t7U

Linux users: You want to get "nvflash_linux_2010110500.tar.gz" and "nvflash_gtablet_2010110500.zip "

Windows users: You want to get "nvflash_windows_20100500.zip" and ""nvflash_gtablet_2010110500.zip"

Other references (since I'm not a Windows user): http://forum.xda-developers.com/show...0&postcount=28

and http://forum.tegratab.com/viewtopic....bbde76184e550a

http://wiki.tegratab.com/index.php/Nvflash_FAQ


-------------------------------------------

Installation

Create a folder on your PC which you use as your restore base, and then extract the platform-specific ZIP into that location.

Then, download the "nvflash_gtablet_2010110500.zip" package and unzip the /nvflash_gtablet/ folder inside into the same folder as where you dropped nvflash.

For Windows users, you'll need to have an APX-specific USB driver for the next steps (I believe that the Windows package bekit supplied has that .inf file, but again I don't know for sure). For Linux users, you don't need an extra driver.

Once ready, boot the device into APX mode (power up and volume down, at the same time - you'll see the boot screen pop up, and then go blank.). In Linux, type "lsusb" in a terminal and you should see this "0955:7820 NVidia Corp.". 7820 means the device is in APX mode.

Linux users: At this point, open up a command window to the folder you created, and run this script:

nvflash_gtablet.sh

This will wipe the device back to bekit's original TnT stock image, except for user data which is retained. Should take about a minute to run and the device will reboot itself automatically.

Windows users: (again, I did not test this myself). Run this script, in the folder you created:

nvflash_gtablet.bat


Hope this helps!

17th December 2010, 05:43 PM |#7  
roebeet's Avatar
OP Senior Member
Flag Pennsylvania
Thanks Meter: 1,409
 
More
Quote:
Originally Posted by stanglx

The pre-req link doesnt work. Can you update the link?

Thanks

It seems to go up and down (it's bekit's dropbox). Try this:

https://www.dropbox.com/s/wrcd87u1iy31u4e
18th December 2010, 04:31 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by roebeet

Wanted to expand on what was already here, since there seems to be a lot of questions that pop up. I use Ubuntu so I know that the Linux instructions are correct.

A warning in advance: nvflash makes changes to the partition structure of your device. You should tread carefully and understand the risks.


Pre-req:
http://db.tt/Wm25t7U

Linux users: You want to get "nvflash_linux_2010110500.tar.gz" and "nvflash_gtablet_2010110500.zip "

Windows users: You want to get "nvflash_windows_20100500.zip" and ""nvflash_gtablet_2010110500.zip"

Other references (since I'm not a Windows user): http://forum.xda-developers.com/show...0&postcount=28

and http://forum.tegratab.com/viewtopic....bbde76184e550a

http://wiki.tegratab.com/index.php/Nvflash_FAQ


-------------------------------------------

Installation

Create a folder on your PC which you use as your restore base, and then extract the platform-specific ZIP into that location.

Then, download the "nvflash_gtablet_2010110500.zip" package and unzip the /nvflash_gtablet/ folder inside into the same folder as where you dropped nvflash.

For Windows users, you'll need to have an APX-specific USB driver for the next steps (I believe that the Windows package bekit supplied has that .inf file, but again I don't know for sure). For Linux users, you don't need an extra driver.

Once ready, boot the device into APX mode (power up and volume down, at the same time - you'll see the boot screen pop up, and then go blank.). In Linux, type "lsusb" in a terminal and you should see this "0955:7820 NVidia Corp.". 7820 means the device is in APX mode.

Linux users: At this point, open up a command window to the folder you created, and run this script:

nvflash_gtablet.sh

This will wipe the device back to bekit's original TnT stock image, except for user data which is retained. Should take about a minute to run and the device will reboot itself automatically.

Windows users: (again, I did not test this myself). Run this script, in the folder you created:

nvflash_gtablet.bat


Hope this helps!

Roebeet sorry but I just noticed for noobs that the linux command needs to be

. nvflash_gtablet.sh

Also if you unzip those files into a premade directory such as "gtablet" when you unzip them each have their own directories and if you ls you can see that the bash script isn't executable from there. So you need to copy either the gtablet files into the platform folders or copy all the files inside both into your "gtablet" folder. Then you can run the ". nvflash_gtablet.sh" command and voila. Sorry I am on Ubuntu and don't know if it is different, but that is the way I run them.
18th December 2010, 04:35 PM |#9  
roebeet's Avatar
OP Senior Member
Flag Pennsylvania
Thanks Meter: 1,409
 
More
No worries - all replies are welcome! the more info we have, the better.
19th December 2010, 01:34 AM |#10  
Senior Member
Thanks Meter: 11
 
More
This should be stickied. Nvflash has saved my gtab many times and I think its the reason why my gtab doesn't really encounter too many Force closes. Its the perfect method to ensure your gtab is clean.
20th December 2010, 04:00 AM |#11  
ehunyadi's Avatar
Senior Member
Flag Houston, TX
Thanks Meter: 79
 
More
I tried this tonight to try to get my gTablet back to stock so that I could show people how to install CWM on a video but I could get neither of my Windows 7 64-bit computers to recognize the APX .inf that was included in the pack.

I have a linux machine around here somewhere I may have to use...
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes