5,597,354 Members 32,774 Now Online
XDA Developers Android and Mobile Development Forum

[Q] NVFlash

Tip us?
 
dude2k5
Old
#1  
dude2k5's Avatar
Senior Member - OP
Thanks Meter 230
Posts: 635
Join Date: Jul 2010
Default [Q] NVFlash

So I never used it before, since I thought it would be fairly straightforward. But nope, it turns out more complicated. First I wanted to backup the device, yet when I downloaded the zip file, I only see scripts. How the hell do you run them. Do I replace the files in the original folder and run the download.bat? Videos online show it formatting and installing prime when you run download.bat. After backing up I wanted to dual boot Ubuntu, yet those instructions aren't much more clear. Again do I replace those files in the zip with the original nvflash folder? How do I run the script once I put them in there? The Nvflash.exe doesnt help. And he says to put recovery.img, boot.img, and system.img in the /image folder (for prime), yet I have no idea where those are. NVFlash hasnt been explained well. I see videos online showing how to use it for basic root, but when it comes to anything else, everyone is silent.
 
deeren
Old
#2  
deeren's Avatar
Senior Member
Thanks Meter 270
Posts: 1,167
Join Date: Nov 2008
Location: Bucuresti
Here:
http://www.androidroot.mobi/2011/06/...s-transformer/

There is a link to the prime rom 1.4 needed too.
1- download nvflash
2-download the primerom 1.4
3-extract both zips
4- in the extracted primerom folder, copy system.img, boot.img, recovery.img
5-paste them in your nvfash folder
6-connect your tablet to ur pc n enter APX mode
7-double click on download.bat(yes it looks like a script)
8-sit and relax and your tablet will boot with thw prime rom.
9-now, boot into recovery (POWER+ DWN) THEN UP. wipe everything and install the rom of your choice.

Sent from my Transformer TF101 using Tapatalk
The Following User Says Thank You to deeren For This Useful Post: [ Click to Expand ]
 
hachamacha
Old
#3  
Senior Member
Thanks Meter 102
Posts: 388
Join Date: Jun 2010
Quote:
Originally Posted by dude2k5 View Post
So I never used it before, since I thought it would be fairly straightforward. But nope, it turns out more complicated. First I wanted to backup the device, yet when I downloaded the zip file, I only see scripts. How the hell do you run them. Do I replace the files in the original folder and run the download.bat? Videos online show it formatting and installing prime when you run download.bat. After backing up I wanted to dual boot Ubuntu, yet those instructions aren't much more clear. Again do I replace those files in the zip with the original nvflash folder? How do I run the script once I put them in there? The Nvflash.exe doesnt help. And he says to put recovery.img, boot.img, and system.img in the /image folder (for prime), yet I have no idea where those are. NVFlash hasnt been explained well. I see videos online showing how to use it for basic root, but when it comes to anything else, everyone is silent.
It's not easy to explain something that has so many uses and so little documentation. Try to find anything over at nvidia where this thing comes from and let us know how that goes:

Here is all I've gotten and it is just by typing in (either in linux or Win) this:

Code:
nvflash --help

Nvflash started
nvflash action [options]
action (one or more) =
   --help (or -h)
       displays this page
   --cmdhelp cmd(or -ch)
       displays command help
   --resume (or -r)
       send the following commands to an already-running bootloader
   --quiet (or -q)
       surpress excessive console output
   --wait (or -w)
       waits for a device connection (currently a USB cable)
   --create
       full initialization of the target device using the config file
   --download N filename
       download partition filename to N
   --setboot N
       sets the boot partition to partition N
   --format_partition N
       formats contents of partition N
   --read N filename
       reads back partition N into filename
   --getpartitiontable filename
       reads back the partition table into filename
   --getbit filename
       reads back BIT into filename
   --getbct
       reads back the BCT from mass storage
   --odm C Data
        ODM custom 32bit command 'C' with associated 32bit data
   --go
       continues normal execution of the downloaded bootloader
    options =
   --configfile filename
       indicates the configuration file used with the following commands:
       --create, --format_all
   --bct filename
       indicates the file containing the BCT
   --sbk 0x00000000 00000000 00000000 00000000
       indicates the secure boot key for the target device
   --bl filename
       downloads and runs the bootloader specified by filename
   --odmdata N
      sets 32bit customer data into a field in the BCT, either hex or
      decimal
   --diskimgopt N
       sets 32bit data required for disk image convertion tool
   --format_all
       formats all existing partitions on the target device using the config file,
       including partitions and the bct
   --setbootdevtype S
       sets the boot device type fuse value for the device name.
       allowed device name string mentioned below:
           emmc, nand_x8, nand_x16, nor, spi
   --setbootdevconfig N
       sets the boot device config fuse value either hex or decimal
   --verifypart N
        verifies data for partition id = N specified. N=-1
        indicates all partitions
        Intended to be used with --create command only.
   --setbct
       updates the chip specific settings of the BCT in mass storage to
       the bct supplied,used with --create, should not be with --read,and
       --format(delete)_all,format(delete)_partition,--download, and--read
   --sync
       issues force sync commad
   --rawdeviceread S N filename
       reads back N sectors starting from sector S into filename
   --rawdevicewrite S N filename
       writes back N sectors from filename to device starting from sector S
   --updatebct <bctsection>
       bctsection should refer to the section of the bct we are updating.
       Curently we suport updates for following sections
       <SDRAM> updates SdramParams and NumSdramSets fields
       <DEVPARAM> updates DevParams, DevType and NumParamSets
       <BOOTDEVINFO> updates BlockSizeLog2, PageSizeLog2 and PartitionSize
And this crazy nvflash utility has been the most useful small program I've had for the transformer and I think will remain that way. Some of the commands (e.g. when you insert the SBK or Secure Boot Key) seem like magic, and I've no idea where people have come up with these things. Other pieces of it are pretty clear like using --read {filename} to put a partition .img file on the PC as a backup of that numbered partition.

Sorry: I'm still learning this as well, and will be well . forever.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes