[G Tablet General] jimcpl:
Hi,

I've been trying to use nvflash for awhile on Windows. I'd got it kind of working awhile ago, but I haven't actually flashed TO my Gtab using nvflash, because when I first got it working, one of the first things that I tried was doing:

nvflash.exe -r --getpartitiontable foo.txt

BUT, the foo.txt file that was output was always a binary file, which just didn't seem right, so I didn't want to take the chance of trying a flash with possibly bad files.

Up until tonight, I'd been trying to use the files from Bekit's dropbox, as linked in this thread here:

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

However, tonight, I wanted to setup a new Windows laptop, so first thing was to get the APX USB driver working.

In that thread above, it's mentioned that the USB drivers may be in the ZIP files from the dropbox, but that doesn't seem to be the case. The .inf is in the ZIP, but not the actual driver files.

I eventually found the drivers by downloading the .msi file for Android 2.2 Froyo from Nvidia's developer website:

http://tegradeveloper.nvidia.com/tegra/downloads

After I downloaded the .msi, I ran it.

That creates an "NVIDIA\tegra_froyo_20101105\usbpcdriver" directory, and in there, there's a file named "NvidiaUsb.inf", with the subdirs containing the DLLs.

Now, after you power on the Gtab, while holding the Vol- button and get to the black screen, in Windows Device Manager, there'll be a device under USB devices, "APX", with a yellow exclamation mark.

Right click on "APX" and select "Update", then browse to the "NVIDIA\tegra_froyo_20101105\usbpcdriver" directory, then let the driver install.

Then, a device named "NVIDIA USB Boot-recovery driver for Mobile devices" should appear under Universal Serial Bus controllers.

At this point, the APX USB driver is installed.

Now, going back to my original problem, i.e., that the --getpartitiontable was outputing a binary file...

I found that in the "NVIDIA\tegra_froyo_20101105" directory, there's an nvflash.exe, but it was larger than the one from the dropbox ZIP, so, I decided to try that, but, using the "bootloader.bin" from the dropbox ZIP.

So, I did:

- Change directory to "NVIDIA\tegra_froyo_20101105"

- Run nvflash to push the dropbox bootloader.bin to the Gtab:

nvflash.exe --bl <PATH_TO_DROPBOX_ZIP_DIR>\bootloader.bin --go

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: 0x1714404641e0f5d7

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: nand

operating mode: 3

device config strap: 0

device config fuse: 0

sdram config strap: 0

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: ..\..\Windows\bootloader.bin

| 928945/928945 bytes sent

..\..\Windows\bootloader.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

At this point, the following small text appears on the Gtab display:

Entering NvFlash recovery mode / Nv3p Server

[The above message is being displayed by the code in the bootloader.bin when it got loaded into the Gtab, and then "executed" (the --go part of the command line). After the "--bl", the bootloader.bin is in the Gtab memory, then the --go tells the Gtab to execute the bootloader code.]

- Then, I did the --getpartitiontable:

nvflash.exe -r --getpartitiontable foo.txt

Nvflash started

[resume mode]

Succesfully updated partition table information to foo.txt

[The -r in the command line above is because the bootloader has already been started on the Gtab, so this command is a continuation/resume.]

- After that, I checked the foo.txt file, and it was now a text-formated file:

LASH-USB-DRIVER\tegra_froyo_20101105>type foo.txt
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=MSC
DeviceId=19
StartSector=2688
NumSectors=8192
BytesPerSector=2048

PartitionId=7
Name=BLO
DeviceId=19
StartSector=10880
NumSectors=2048
BytesPerSector=2048

PartitionId=8
Name=OGO
DeviceId=19
StartSector=12928
NumSectors=16384
BytesPerSector=2048

PartitionId=9
Name=SOS
DeviceId=19
StartSector=29312
NumSectors=8192
BytesPerSector=2048

PartitionId=10
Name=LNX
DeviceId=19
StartSector=37504
NumSectors=8192
BytesPerSector=2048

PartitionId=11
Name=APP
DeviceId=19
StartSector=45696
NumSectors=102400
BytesPerSector=2048

PartitionId=12
Name=CAC
DeviceId=19
StartSector=148096
NumSectors=111104
BytesPerSector=2048

So, in summary, for Windows, I think that:

- Use the APX USB driver files from the Tegra download to install the APX USB driver

- Use the nvflash.exe in the Tegra download folder, but the bootloader.bin from the dropbox ZIP file.

Anyway, that's what works for me, and I hope that this helps someone here in the future...

Jim