yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] P00r:
first thing first I still use windows... so.....

It was an interesting quest... the nvflash from the dropbox only output binary files, and I was trying to use it instead of the one in your format package!

I will try re flashing the format with this other nvflash as an experience (At worst the Gtablet will make a nice table for my morning coffee ;)

As for my "special" partition this is what I have

PartitionId=2

Name=BCT

DeviceId=19

StartSector=0

NumSectors=1536

BytesPerSector=2048

PartitionId=3

Name=PT

DeviceId=19

StartSector=1536

NumSectors=64

BytesPerSector=2048

PartitionId=4

Name=EBT

DeviceId=19

StartSector=1600

NumSectors=1024

BytesPerSector=2048

PartitionId=5

Name=MBT

DeviceId=19

StartSector=2624

NumSectors=64

BytesPerSector=2048

PartitionId=6

Name=BLO

DeviceId=19

StartSector=2688

NumSectors=2048

BytesPerSector=2048

PartitionId=7

Name=MSC

DeviceId=19

StartSector=4736

NumSectors=8192

BytesPerSector=2048

PartitionId=8

Name=OGO

DeviceId=19

StartSector=12928

NumSectors=16384

BytesPerSector=2048

PartitionId=9

Name=SOS

DeviceId=19

StartSector=29312

NumSectors=1920

BytesPerSector=2048

PartitionId=10

Name=LNX

DeviceId=19

StartSector=31232

NumSectors=8192

BytesPerSector=2048

PartitionId=11

Name=APP

DeviceId=19

StartSector=39424

NumSectors=102400

BytesPerSector=2048

PartitionId=12

Name=CAC

DeviceId=19

StartSector=141824

NumSectors=117440

BytesPerSector=2048

This post helped quite a bit too! http://xdaforums.com/showthread.php?p=11983538#post11983538
[G Tablet Android Development] ksc6000:
Okay I am super confused. I've successfully used FORMAT utility and also nvflash restore...but the tablet won't format!!! All my apps and settings are still there when I nvflash restore it!

I ran the nvflash_gtablet.bat from the Format utility..and it looked liked it worked: at the end of the process the tablet showed the red font with the kernel mismatch and bootloader not found, or something along those lines..

Just to be safe, I did it a second time. lol

Then I used nvflash restore to restore it back to original shipping.

I noticed right away something was wrong when as soon as it booted to the tap and tap home screen, the screen started to go dim after 15 seconds (that was the screen timeout time I'd set before formatting and all that).

But I thought maybe it was a fluke, so I checked the app drawer, and all my apps are there!!!! Not only that, it connected to my password protected wifi right away!!

Can someone please help me delete the f_ck out of this thing? I want there to be NOTHING left, so I can get a clean start.

The reason I wanted to format is because, I'm having a sound issue with my gtablet (whenever entering the volume control and adjusting the volume the processes always force closes...no matter what ROM I'm on). I wipe data, try to start fresh, but the problem always occurs after a few hours of use on any ROM (even the brand new TNT 5).

And I don't know if this matters or not, I'm on Windows 7, 64 bit...but I obviously have the USB drivers working because I'm using these utilities.
[G Tablet Android Development] roebeet:
I'm going to update this for 3588 and also drop a linux nvflash binary in there - will update my stickied recovery post and give a nod here -- thanks for the excellent updated tool!

EDIT: Prehaps not. :) Problems. Oh well.
[G Tablet Android Development] rr5678:
I forgot to add.....it doesn't clear userdata. :p I forgot I always used CWM first.

So you have to use ClockworkMod to format /boot, /system, /data, and /cache.

______________________________________________

This (the format utility) is a preventative measure for ROM flashers.
[G Tablet Android Development] Ronin916:
Another word of caution

I did this last night and was unable to power up my tab after it completed, which means I couldn't even get to APX mode. Thankfully, the steps provided in post 17 saved the day, and I do believe that the GTab is impossible to brick. But everyone needs to be aware that there is a real possibility that you may end up having to crack the case on your tablet and short the K2 circuit to get the tab to power up and get back into APX mode. There are probably a lot of people out there that may not want to run this if they are uneasy about getting into the inner workings of their tab.

This is a really good utility to have, and it works (almost too well). But having a warning on the inital post that this is a possibility might not be a bad idea. :D
[G Tablet Android Development] Pazzu510:
I cant get the battery meter to work so i thought that i could format everything and start again. The only problem is that i got linux. Is there any .sh file to run in terminal under linux or do i have to have windows and run the .bat of the folder.

If i need to have windows, can someone post or redirect me to the x86 APX driver.

TNX in advance.:D
[G Tablet Android Development] notwen:
Think I may be opening up my g-tab today as well, unless I intend to keep this fancy paper weight. Hope this is easy as you make it out to be. =]
[G Tablet Android Development] notwen:
Well, I've got power to the g-tab and nvflashes using bekit's method, but am stuck in a permanent bootloop. (ie. Viewsonic screen followed by gtablet screen) Time to do more reading. Anyone point me in the right direction to save some of my Saturday? =]
[G Tablet Android Development] kxs783kms:
I tried running this and got the "Magic Mismatch Value." I didn't feel like reading up on what that was about and how to fix it, so I just ran the original nvflash behind it and I was up and running. I think I'll stick with that and just manually wipe data/cache in cwm after I've restored.
[G Tablet Android Development] notwen:
I was able to get cwm.8 installed, but for some reason it's not viewing my microsd card, it's looking in another location which I cannot discern and cwm fails to recognize any recovery folder/update.zip combo I place in the root of my microsd card.

the echoed error line when it tries to install update.zip from sdcard is as follows:

---

E:Can't open /sdcard/update.zip

(No such file or directory)

Installation aborted.

---

Anyone have any thoughts and/or recommendations?
[G Tablet Android Development] P00r:
the cw look at the internal sd card, your external one mount at sdcard2
[G Tablet Android Development] notwen:
Tried, doesn't work. I'm under the impression that cwm is viewing the internal sd and not my microsd while looking for the update.zip as when I use cwm to install zip from sdcard it views the internal sd card and not the microsd. On another note when I try to format data/factory reset it cannot find /data/.

Any other ideas folks? Been tinkering all day and my only minor victories are getting APX mode back and getting cwm loaded. =]
[G Tablet Android Development] P00r:
this is what I am telling you, recovery are made for internal memory, sdcard folder (not physical) is internal memory on the tablet.

You can check in the recovery under advance you can mount usb, but I am not sure you can see it with the recovery browser...

if you have apx then you can flash the full recovery from bekit and replace the partition 9 with clockwork then change the gtablet.cfg part 9...

[partition]

name=SOS

id=9

type=data

allocation_policy=sequential

filesystem_type=basic

size=3862528

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

filename=part9.img

rename clockwork .8 to part9.img and flash away.

Make sure you use nvflash_gtablet_2010110500 not the other one...
[G Tablet Android Development] notwen:
I already have reflashed w/ cwm's recovery.img(renamed) in place of part9.img and even after reflash I still get stuck w/ bootloop(viewsonic & gtablet screens). I've mounted USB storage via cwm to copy a ROM(OTA 3558) onto what cwm views and even after a successful install I still get the same bootloop as mentioned before. =\

---edit--

Here is the error output of when I use cwm to try and wipe data/factory reset.

E:Can't mount /dev/block/mmcblk3p2

The rest I can wipe w/o any issue.
[G Tablet Android Development] butchconner:
notwen,

The "E:Can't mount /dev/block/mmcblk3p2" comes up on all the G-Tabs. I have mentally speculated the mmcblk3p2 is the second half of memory (512-1024) that

we don't have compared to some of the G-Tablets cousins. Looks for the missing memory and can't find it because sometimes it will report the file if found but

won't work.

Recovery: You can do it by putting the recovery folder and update.zip in /sdcard just like you have said.

You also can do it by putting the recovery folder and update.zip on your mini-SD card in the external slot. But if you do you have to edit the "command" file in the recovery folder to make it /SDCARD2 in place of /SDCARD -- and make sure it get saved as "command" without any .txt afterward.

Another creative way to rebuild if you have CWM loaded is to boot to recovery (CWM) and then hook the tablet up to your PC with the miniUSB/USB cable that came with it. Then go into CWM and find the page with the mounts and go to the bottom and mount the USB memory. When Explorer comes up on your PC you should have an F: or G: drive. If there's anything in it (you were having trouble and things might have changed), you will have Android, DCIM and other folders. Or, one time I had nothing in and had to copy the recovery and update.zip into the blank drive. Then you can

reboot and standard recover will find the two files (if you have some functionality) and

reboot and reload your ROM. It works though it's unconventional.

I have always associated boot loops with partition problems. So anytime I have a boot loop and functional CWM, I re-partition 2048/0 and wipe data and wipe cache before I reinstall the ROM by one of the above methods.

I saw some of your IRC odyssey earlier. Good luck.

Rev
[G Tablet Android Development] notwen:
Thanks for the recommendation, but I've tried the SDCARD2 trick when I still had recovery and I've copied my ROMs to the internal storage via mounting it as USB in cwm and I still come up w/ bootloop.

I've seen some threads regarding repartitioning 2048/0, but could you please provide a more detailed link in my thread I created specifically for my problem here. Don't want to give users considering this util and are more familiar w/ the ins & outs of the G-Tab any discouragement. =]
[G Tablet Android Development] rr5678:
And the above post is the way it's supposed to be done :p

bootloop = corrupt internal SD card. Just repartition it.
[G Tablet Android Development] P00r:
Am I correct if I say this does erase the BCT but recreate it with gtablet.bct since you are wiping partition #2 which is the bct ???
[G Tablet Android Development] notwen:
Will I need to nvflash again after repartitioning? Won't have access to nvflash while I'm at work, but can attempt to flash ROMs no issue. Will try flashing stock 3558 once things slow down here.
[G Tablet Android Development] notwen:
Partitioning the card fixed it. Now happily running TNT Lite 4.3.2 w/o issue. Thanks a bunch. =]
[G Tablet Android Development] rr5678:
Nope. That part2.img in the zip is the actual BCT partition's data.
[G Tablet Android Development] P00r:
my bad, I was expecting it being filled with FF as the other... I should have looked at it prior asking... tnx!

When reading back my partition 11

Z:\>"nvflash.exe" -r --read 11 part-11.img

Nvflash started

[resume mode]

receiving file: part-11.img, expected size: 209715200 bytes

/ 209584128/209715200 bytes receiveddata receive failure NvError 0x120000

command failure: read failed

I have a size mismatch error of a few byte (curent setup of the flash is format was used then bekit images) any suggestion ?

Seem like there's other with the same issue, Jim think it's bad block and this make sense, especially since it at the end of the memroy, the maker of those tablet probably find this acceptable, I wonder if there's a tool to mark those bad in the marvelous world of NVDIA
[G Tablet Android Development] P00r:
guess it was a stuck bit, I have rewriten the img with a few more byte (garbage text) and now I am able to read it back properly...

for partition 11

command used

nvflash --bl bootloader.bin --download 11 part11.img

Yay!
[G Tablet Android Development] Pazzu510:
Great utility, i love it.
[G Tablet Android Development] rr5678:
If you nvflash with just clockworkmod, it;s not going to start. You have to flash a complete nvflash. Read below.

That is normal. There is no more bootloader :p

You have to nvflash back to stock.

It's supposed to go to a black screen. Connect it to your computer. It's in APX mode.

No

Read below. You can't just flash ClockworkMod after doing this, as this format nukes all the system data, including the bootloader.

Your system.img. Why is it only 116,840,064 bytes? Mine is 117,292,032 bytes.

Try this: https://www.dropbox.com/s/wrcd87u1iy31u4e/nvflash_gtablet_2010110500.zip
[G Tablet Android Development] sandyjb:
Can this Format.zip be run off the MicroSD card?

I am having write issues to the SD CARD (its in read only mode and I cant write anything to it) hence cant run it off it.
[G Tablet Android Development] rr5678:
It's not flashable. Unzip it on your computer. NVFlash and the required files are in that zip
[G Tablet Android Development] sandyjb:
DOH! Here I am trying to flash it.

However, I did run it off the computer in APX mode to no avail.

Drive is still read only and the program was unable to format the drive.
[G Tablet Android Development] rr5678:
Your internal SD card is read-only? Try to flash ClockworkMod and repartition.
[G Tablet Android Development] breed007:
PROBLEM VIEWSONIC, after formatting does not start ', THE COMPUTER DOES NOT UNDERSTAND, HOW DO I DO? HELP ME THANKS
[G Tablet Android Development] sandyjb:
Yup, did all of that good stuff. No luck. Still read only. Done everything from NVflash with CWM to flashing new ROM's to trying to format the drive, no change at all. Nothing seems to alter the state of the drive.
[G Tablet Android Development] rr5678:
Oh.......give me a little time, maybe I can think of a solution.
[G Tablet Android Development] narcisco.cruz:
great f-in util. maybe its just me but my tab feels a little snappier. even ****e stock rom felt different. but alas im back on cm7.0.3this time rom stuck agter reboot woth minimal tinkering. thanks man.
[G Tablet Android Development] rcjpth:
Use CWM via NVflash with more successful rate, safe!

Guys,

I would recommend to repartition method via CWM. By this way, it will WIPE out everything, I meant EVERY, EVERY little piece of data you had in your internal SD card.

I found the Format method not really helpful if you get your tablet softbrick loop (the tapntap screen looping or the android loading screen looping)...

I followed the method below by Roebeet so it works great and saved lots of my issue with the tablet

http://xdaforums.com/showthread.php?t=1058649

I'm now:) on HoneyComb Bottle of Smoke Alpha3 - it looks good (my case was to go back, all the way back to 1.0.0 via original nvflash of roebeet and then used update.zip method to go up to 1.1.3588 and then 1.2.4349 and HoneyComb Bottle of Smoke Alpha 3 ...stable now but need more works...so far I have HC Alpha3 on my tablet functioning as EReader - yes Ereader and web browsing good enough until Roebeet and other dev guys fixing all the issues!! good luck everyone!)

Good luck!
[G Tablet Android Development] rr5678:
1) This does not format the internal SD card.

2) CWM does not erase everything. Run data recovery software on it, you'll probably find every piece of data there before the format.
[G Tablet Android Development] P00r:
indeed different utility bring different result,

I found the format very usefull to fully wipe a tablet and to help restore from various situation, only limitation is the bootloader which is not updated (clockwork doesn't either) so for a perfect restore I do:

0- Format

1- NVFlash a stock rom then CWK as partition 9

2- Partition and format SDCARD (you can stop here most of the time if not continue to #3)

3- Copy UPDATE.ZIP (SOME VERSION WILL UPDATE THE BOOTLOADER CHECK THE SCRIPT)

4- NVFlash stock recovery as partition 9

5- Reboot and apply the update.zip

6- (optional) NVFlash CWK that is compatible with the rom I installed

This will recover ANY issue if the update.zip is one of the version who update the bootloader
[G Tablet Android Development] mstevens:
After running this I got a "Magic value mismatch" error.

Now my tablet is off and won't respond in any way, including to extended presses of the power button.

I'd recommend using this with great caution.

Edit:

- no clockworkmod was involved.

- I've nvflashed a number of times in the past. This was the first time using this format stuff.

- After the magic value mismatch message popped up, the tablet no longer responded to any nvflash commands, so I turned it off to re-enter APX mode. It was at that point that it froze completely.

- The screen is black. I can't prove the tablet is off. It doesn't respond to any combination of keypresses I can think of, nor to prolonged or repeated presses of the power key.
[G Tablet Android Development] rr5678:
You should have read the first post.

Your tablet is in APX mode. No screen notification. And remember you formatted it, so no viewsonic birds either. But it IS in APX mode.
[G Tablet Android Development] mstevens:
I did. Every word. I also read every word of the thread before I even downloaded the utility.

As soon as the words "Magic value mismatch" appeared on-screen, my computer lost the APX connection. I did try to go ahead and nvflash bekit's image, but got the error message "USB device not found". I thought perhaps the tablet had tried exit APX mode, so pressed the power key to try to re-enter it. The screen's remained dark ever since, and I continue to be unable to create an APX connection, continuing to get the "USB device not found" error.
[G Tablet Android Development] rr5678:
Huh. Always worked for me. Should I make a video tutorial :p

Did you try charging it? :p

Try a different USB cable. Try holding the power button while the USB cable is plugged in to the computer and see if you hear the device connect sound.
[G Tablet Android Development] P00r:
Hold minus then power and the try nvflash, work for everybody...
[G Tablet Android Development] rr5678:
After the format you dont have to hold minus. It goes directly into APX mode.
[G Tablet Android Development] mstevens:
I always do this sort of stuff with it plugged in.

I just let it sit until I got home from work this evening, hoping that would discharge the battery. I connected a USB cable, held the power and Vol- buttons (whether needed or not, I wanted to try it this way), and plugged in the charger.

Success. Plus, now my tablet is all newly-formatted and springtime fresh.
[G Tablet Android Development] P00r:
Great! Now try Adam Beasty's rom you won't regret it :)
[G Tablet Android Development] mstevens:
Nah. I'm a Brilliant Corners guy.
[G Tablet Android Development] jroger0707:
APX/NVFlash working, tried all, can't get to working

Hi All,

I just received a stock 4349-based gtab just days ago. I've since done many things trying to get from stock to Vegan 5.1.1. This is my second Gtab; first was sub-4349; no issues with root etc.

I have tried:

-NVFlash format.zip; all works...I get the Magic Number Mismatch

-NVFlash Roebeet's 1.1 based image; with and without replaceing part9.img with CWMod.

-It all works in terms of 'successfully' messages but I just get birds and then stuck on Gtab logo for 15+minutes (before I power off and try something else)

-use CW to try to format SDCARD, works

-use CW to try to partition SDCARD, seems to hang at "Partitioning SD Card... please wait..." (again 30+min.).

-use CW to format: boot, system, cache and sdcard all return good EXCEPT for data gives the known "/dev/block/mmcblk3p2" error mounting etc.

-can't mount tab using USB and get "/dev/block/mmcblk0p2" can't mount error when try to mount /sd-ext (16GB microSD, FAT32 with only update.zip, my Vegan5.1.1)

-same seems to apply for Roebeet's 1.2 image as well CW1.2 stuff; although I haven't tried as much with those

-have disco'd battery...no luck

From all I've read, it appears it could be a bad, corrupt or otherwise fubar'd internal SD or maybe bootloader; although the NVFlash 'seems' to work every time.

I'm at my wits end; don't know what else to try.

Is there a way to verify SDCARD somehow or do more debug with NVFlash?

I luv this tab and want it up and running. I have seen very few similar posts and they don't seem to be quite the same as what I'm seeing...:confused:

ANY HELP APPRECIATED!
[G Tablet Android Development] rr5678:
I heard of another type of SD card being used in these G-Tablets. This is for the eMMC G-Tablets. I heard of an actual SD card version being available. (read below)

Or............your internal SD card could be dead.
[G Tablet Android Development] ThunderPuppy:
This is pertinent info. IT SHOULD BE IN THE OP!!! If this is normal you scare the <bleep> out of people when they get an unusual error message in red letters. Then they have to sift through the follow on posts only to find out it is normal. A little heads up would be nice!
[G Tablet Android Development] i3igi3yrd:
help =\

I've done all this except - I can't find this post with pics and cant figure out where the contacts to connect. Can anyone provide a pic or a link to a thread with nonbroken pics?
[G Tablet Android Development] i3igi3yrd:
Looks like I found a breakdown, but can someone highlight the contacts?

http://xdaforums.com/showthread.php?t=842354
[G Tablet Android Development] i3igi3yrd:
Follow up

There are 4 contacts just beside the button on the board. I was able to short those. Looks like I'm back up and at least loading the bootloader, although it still isnt working. At least now I have a functioning screen.
[G Tablet Android Development] lucdeb97:
ok, I have an Olipad (clone of zPad malata) and I tried a rom that"screwed up my tablet completely". I tried then to flash a rom that should have get me back to the original rom (downloaded by an italian forum), but nvflash stop in any case when is downloading system.img: NvError 0x120002 or so (all other things before system.img are successfully downloaded). I tried your tool and is the only which can successufully dowload system.img, unfortunately then I get "magic values mismatch". Also trying nvflash restore tools downloaded from Drop box (that seems very similar to your tool) stop with NvError 0x120002.

Could someone explain to me why?

I need urgent help, thanks.

p.s. my original BL was 1.2 branch.
[G Tablet Android Development] obaoba:
Hi guys, help me please, After format my G-Tablet is stuck on a black screen. :(
[G Tablet Android Development] rr5678:
Your solution was in the first post
[G Tablet Android Development] obaoba:
This is the result........
[G Tablet Android Development] obaoba:
Help me please!
[Xoom General] reezy23:
My xoom no matter what I try will not tether to my rooted atrix not through bluetooth, not wifi nothing. This is disappointing because the stupid ipad will.
[Nexus One Q&A, Help & Troubleshooting] XxXorganXxX:
Hi!

I have an issue with the notification icon when I receive a voice message. After I delete my message, I receive a blank message text and the voice message notification is still there. Have you ever experience this?

I have installed the evil's Nexus sence 1.26 rom. This problem is only there with this rom. All others rom work flawlessly. I also tried this advice: http://xdaforums.com/showthread.php?t=259552 but no luck...

Thanks for your advice.
[Nexus One Q&A, Help & Troubleshooting] XxXorganXxX:
up

any clue guys?
[Nexus One Q&A, Help & Troubleshooting] XxXorganXxX:
bump, help please
[Nexus One Q&A, Help & Troubleshooting] XxXorganXxX:
up.............