• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

NVFlash Setup Instructions + Drivers (links active!)

57 posts in this topic

Posted (edited) · Report post

Okay,

So I suspect a few of you are going to want to jump on the NVFlash train that Paul is easing out of the station at the moment. NVFLash is the Nvidia utility for writing to the ROM on your Tegra2 phone, reading details and otherwise critical low level functions. For all intents and purposes this is akin to fastboot for many devices (although not the same as).

Below are the simple instructions and links to the necessary files.

** WARNING **

NVFlash is a powerful utility that works at a very low level on your phone. There are few safety mechanisms built into a tool like this because it is intended for use by people with suitable training. NVFlash can not physically damage your phone but it can render it inoperable. It is unlikely to create an irrecoverable situation but it does have the power to create a situation that you can not recover from yourself requiring factory maintenance. Warranty coverage for your phone is not assured after using NVFlash. Please proceed with the use of the tool carefully and at your own risk. Neither myself nor MoDaCo can be held accountable for any consequences from the use of NVFlash on your phone.

Get Software

  1. Grab the NVFlash utility from here: http://djmcnz.batteryboss.org/stuff/NVFlash.zip
  2. Extract the contents of that archive to a single directory
  3. Grab the NVidia boot-recovery driver from here: http://djmcnz.batteryboss.org/stuff/nvmobileboot.rar
  4. Extract the contents of that archive to a different directory
Prepare Phone
  1. Power down phone
  2. Remove battery
  3. Hold VOL_DWN+VOL_UP & plug in USB connection from computer (note, your phone will not visibly respond but it will boot to APX mode quickly)
  4. Open Device Manager in Windows and you should see "APX Device" listed with an error
  5. If not, rinse and repeat
Install Driver
  1. Right click on the APX device
  2. Select 'Update driver software'
  3. Select 'Browse my computer...'
  4. Select 'Let me pick...'
  5. Select 'Have disk'
  6. Browse to directory you extracted the *driver* software to above
  7. Select 'NVIDIA USB Boot-recovery driver for mobile devices'
  8. Accept any warnings, including the big red alert (you may need to disable UAC)
  9. Now in Device Manager under 'USB Controllers' you should have an 'NVIDIA USB Boot-recovery driver for mobile devices'
  10. If not, uninstall the driver, reboot, rinse and repeat
Testing
  1. Make sure your phone is still plugged in to the computer! (some people, wow.)
  2. Navigate the the directory you extracted the NVFlash archive to
  3. Run a harmless command such as "nvflash --sync"
  4. You should get something back like:

Nvflash started rcm version 0X20001 System Information: chip name: unknown chip id: 0x20 major: 1 minor: 3 chip sku: 0xf chip uid: 0x0280404444803457 macrovision: disabled hdcp: enabled sbk burned: false dk burned: false boot device: emmc operating mode: 3 device config strap: 0 device config fuse: 17 sdram config strap: 0

Update 27/04

Okay, now that the G2x has been released there are different procedures
from this point on
to follow to flash the O2x and G2x back to stock. You must look in the appropriate forum to download the necessary files as well as the command line script.

Tip - For Reading This Far

One of the things you may want to do after flashing your phone is install a custom recovery (e.g. ClockworkMod). Many, many, many people try and fail to boot their 2x in recovery mode and spend endless hours wasted. So, it may save you some time to know the following.

To enter recovery mode use the following procedure but
BE WARNED
: If you do this BEFORE you install a custom recovery you will factory reset your phone. This is because it will boot the stock recovery image which auto-wipes your device.

Hold
VOL_DOWN
then
press &
hold
POWER

Keep both pressed UNTIL the recovery menu appears then release POWER then release VOL_DOWN

The menu text in ClockworkMod Recovery is orange if you get a green menu or a message that your device was reset then you're not running ClockworkMod... sorry.

Edited by djmcnz
2

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Works perfectly!

Well then... im ready to go for testing CWM and any roms :-)

Edited by gensplejs
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Yes, works out good. Brilliant instructions! :-)

EDIT: got he same information as you frm "nvflash.exe --sync".

Edited by sibbor
0

Share this post


Link to post
Share on other sites

Posted · Report post

At the end I also get a message like:

"command failure: no bootloader was specified"

Is this normal?

0

Share this post


Link to post
Share on other sites

Posted · Report post

At the end I also get a message like:

"command failure: no bootloader was specified"

Is this normal?

Yes, that's okay.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have an LG-P990 from 3 Denmark. Android 2.2.2, stock kernel: 2.6.32.9, baseband 1035.21_20110223, build number FRG83G, LGE version LGP990-V10a.

I am having trouble getting NVflash.exe to find the USB connection to the phone in nvflash mode. I am hoping that someone may be able to give me a hint.

C:\Documents and Settings\hej\Desktop\LG\NVFlash>nvflash.exe --sync Nvflash started USB device not found

I have the 'NVIDIA USB Boot-revovery driver for Mobile devices' installed for the APX device and it is loaded (and unloaded) when i do the power-on+vol-down dance. The device manager reports 'This device is working properly' for the device. So I think I am correctly putting the phone into recovery-mode and have the right driver configured.

I have already tried to reboot windows, uninstalling (by right clicking in the devicemanager) and re-installing the Boot-recovery (APX) driver.

USB Connections to the phone works nicely when it is booted into the normal ROM, so I don't think it's a cable problem.

I have tried running the cmd from which i run nvflash.exe as adminstrator, so I don't think it's a permission problem.

Any hints?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I have an LG-P990 from 3 Denmark. Android 2.2.2, stock kernel: 2.6.32.9, baseband 1035.21_20110223, build number FRG83G, LGE version LGP990-V10a.

I am having trouble getting NVflash.exe to find the USB connection to the phone in nvflash mode. I am hoping that someone may be able to give me a hint.

C:\Documents and Settings\hej\Desktop\LG\NVFlash>nvflash.exe --sync Nvflash started USB device not found

I have the 'NVIDIA USB Boot-revovery driver for Mobile devices' installed for the APX device and it is loaded (and unloaded) when i do the power-on+vol-down dance. The device manager reports 'This device is working properly' for the device. So I think I am correctly putting the phone into recovery-mode and have the right driver configured.

I have already tried to reboot windows, uninstalling (by right clicking in the devicemanager) and re-installing the Boot-recovery (APX) driver.

USB Connections to the phone works nicely when it is booted into the normal ROM, so I don't think it's a cable problem.

I have tried running the cmd from which i run nvflash.exe as adminstrator, so I don't think it's a permission problem.

Any hints?

It may just be a typo but are you trying to get into recovery (vol dwn & pwr) as you describe or nvflash (vol dwn & vol up & usb) as is required?

Edited by djmcnz
0

Share this post


Link to post
Share on other sites

Posted · Report post

It may just be a typo but are you trying to get into recovery (vol dwn & pwr) as you describe or nvflash (vol dwn & vol up & usb) as is required?

Thanks for the suggestion, unfortunately that's a "typo". I am having a bit of difficulty with the precise naming here :D

I think I am getting into nvflash mode on the phone, as confirmed by:

  • The USB device appearing in windows when inserting usb and holding down both vol buttons and disappearing when taking out the usb
  • The display on the phone, which is completely blank.

    I can get into 4 modes from "powered off". I don't know their "approved" names, but here is my description and a guess at a good name:

  1. Normal: Battery in, push power for ~2sec.

    Boots into the (currently stock) installed kernel.

    Windows device manager shows 'LGE Android Platfrom Composite USB Device' (Device ID: USB\VID_1004&PID_618E\5&2BA8691F&0&6) and 'USB Mass Storage Device' (Device ID: USB\VID_1004&PID_618E_UMSINTERFACE\6&111656F2&0&0000).

    Two removable devices shows up on 'My Computer' (H:,G:). This happens no matter if I have an external SD inserted or not.

    If I "Turn on USB storage" I can browse the internal and external sdcard respectively through H: and G:

  2. Upgrade: Battery in, hold vol-down, push power for ~1sec.

    Boots into screen that shows round icon with 2 green arrows in a cycle and the text "S/W Upgrade Please wait while upgrading..."

    Windows does not show any USB adapters (that have anything to do with the phone)

  3. nvflash: Battery out, hold vol-down and vol-up, push power.

    Boots into blank screen within ~1 second

    Windows device manager shows a 'NVIDIA USB Boot-recovery driver for Mobile devices" with

    DEVICE Instance Id: USB\VID_0955&PID_7F20\5&2A8691F&0&6
    Device Coinstallers: WdfCoInstaller01007.dll,WfdCoInstaller,WinUSBCoInstaller.dll

  4. recovery: Battery in, hold vol-down & power for ~10secs (untill LG logo does a small "flash")

    Boots into ClockworkMod Recovery (MoDaCo Beta 1) which i have dd'ed to /dev/block/mmcblk0p7

    Windows device manager shows the same a in mode "A" (Normal). I have not experimented with how to expose the internal/external SD.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for the suggestion, unfortunately that's a "typo". I am having a bit of difficulty with the precise naming here :D

I think I am getting into nvflash mode on the phone, as confirmed by:
The USB device appearing in windows when inserting usb and holding down both vol buttons and disappearing when taking out the usb
The display on the phone, which is completely blank.
I can get into 4 modes from "powered off". I don't know their "approved" names, but here is my description and a guess at a good name:
Normal: Battery in, push power for ~2sec.

Boots into the (currently stock) installed kernel.

Windows device manager shows 'LGE Android Platfrom Composite USB Device' (Device ID: USB\VID_1004&PID_618E\5&2BA8691F&0&6) and 'USB Mass Storage Device' (Device ID: USB\VID_1004&PID_618E_UMSINTERFACE\6&111656F2&0&0000).

Two removable devices shows up on 'My Computer' (H:,G:). This happens no matter if I have an external SD inserted or not.

If I "Turn on USB storage" I can browse the internal and external sdcard respectively through H: and G:

Upgrade: Battery in, hold vol-down, push power for ~1sec.

Boots into screen that shows round icon with 2 green arrows in a cycle and the text "S/W Upgrade Please wait while upgrading..."

Windows does not show any USB adapters (that have anything to do with the phone)

nvflash: Battery out, hold vol-down and vol-up, push power.

Boots into blank screen within ~1 second

Windows device manager shows a 'NVIDIA USB Boot-recovery driver for Mobile devices" with

DEVICE Instance Id: USB\VID_0955&PID_7F20\5&2A8691F&0&6
Device Coinstallers: WdfCoInstaller01007.dll,WfdCoInstaller,WinUSBCoInstaller.dll

recovery: Battery in, hold vol-down & power for ~10secs (untill LG logo does a small "flash")

Boots into ClockworkMod Recovery (MoDaCo Beta 1) which i have dd'ed to /dev/block/mmcblk0p7

Windows device manager shows the same a in mode "A" (Normal). I have not experimented with how to expose the internal/external SD.


Well, I can't see anything wrong with what you're doing - on face value anyway.

Since you now have a custom recovery it's probably not critical, what would you like to do?
0

Share this post


Link to post
Share on other sites

Posted · Report post

Well, I can't see anything wrong with what you're doing - on face value anyway.

Since you now have a custom recovery it's probably not critical, what would you like to do?

I agree that it is not critical to me (at least now).

However, I would certainly feel a lot safer flashing away on baseband and ROM if I knew that I could always nvflash to get back to a working phone.

At least my problem is now documented and it doesn't sound like I am just being too stupid to flash :D In time a solution may appear or I may find out what I am doing wrong.

I have backup of the entire internal mmc (gzip </dev/block/mmcblk0 >backup.gz) , so I should probably be able to get stuff working as long as I have CWM.

0

Share this post


Link to post
Share on other sites

Posted · Report post

If so, you're good to go, now just be patient... :D

Excellent stuff, just one question (this is where I've had problems before)

Has anyone tried this with Windows 7 x64?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hello all im new here

I really messed up my phone it seem.

First there a occasional of blackout on the original so i decided to do a root on it

I got the quick recovery thing

Then back up and use the fr10

rebooted it and it never work. it keep reloading boot screen over and over

did a wipe after that and reinstall

it went into the os but i frozed after

so i came to this channel hoping to save my phone firmware..

did all the things above..

and run flash.bat

right now it say NVflash started

what do i do now ? im not sure if it even moving lol

0

Share this post


Link to post
Share on other sites

Posted · Report post

Excellent stuff, just one question (this is where I've had problems before)

Has anyone tried this with Windows 7 x64?

I have tried once and failed, nvflash started but nothing happend. Didn't want to try again.

0

Share this post


Link to post
Share on other sites

Posted · Report post

and run flash.bat

right now it say NVflash started

what do i do now ? im not sure if it even moving lol

Happend for me too on Win 7 64 bit, fortunately I was just messing around, so mine still works, before and after.

I had to abort the process, since NVFLASH did not nothing and just hang there

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Problem:

Installed clockwork, But was unable to reboot in recovery.. The I used menu in clockwork [Recovery] to get into recoverymode.

Then installed the pre baked ROM from MoDaCo. and restarted the phone.

Then i ended up in a boot loop , started up showed MoDaCo logo, and the restarted... never ending...

I could not in any way go into recovery mode (because the phone did not boot up.. )

SOLUTION:

I followed this guide:

http://android.modaco.com/content/lg-optim...s-links-active/

was able to get to recovery mode after this.

Installed the ROM again and after that BEFORE I restarted the phone, I wiped all data and cache.

NOW I WORKS :mellow:

THANKS!!!!!

Tag:

LG Optimus X2 loop, LG Optimus X2 boot loop, LG Optimus X2 stuck at startup

Edited by Johan O R
0

Share this post


Link to post
Share on other sites

Posted · Report post

Can NVFlash be used to make a low level backup of the current state of my phone (ROM, recovery, etc.)? Or is it only for writing? Been looking at the help in the executable but I'm afraid to damage something.

Can't find my version of the FW anywhere, so I would like to backup mine this way.

Hope someone can help out.

Cheers!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Only for restoring the image as far as I can tell. Just use the backup option in Clockwork :unsure:.

Can NVFlash be used to make a low level backup of the current state of my phone (ROM, recovery, etc.)? Or is it only for writing? Been looking at the help in the executable but I'm afraid to damage something.

Can't find my version of the FW anywhere, so I would like to backup mine this way.

Hope someone can help out.

Cheers!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Did a bit of googling and some folks do use it to make backups (VEGA, and Gtablet etc.). I think it makes sense.

The stock ROM Paul released didn't appear from thin air, so I'm guessing he used nvflash or something like that to create the image. But the process is probably quite technical and device-specific (partitions and such) involving a whole bunch of arguments that must be set correctly, and so Paul or someone could make a small how-to or batch/shell script with the correct nvflash arguments to create such backups.

Perhaps smartflash could also fit the bill... I'll see what i can find out...

Cheers!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi i have read this guide and the posts in it and can understand that some have problems using win 7 x64 are that a common problem or is x64 safe to use?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi i have read this guide and the posts in it and can understand that some have problems using win 7 x64 are that a common problem or is x64 safe to use?

Yes, there are problems. I don't know the solution but you should check on XDA as well.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yes, there are problems. I don't know the solution but you should check on XDA as well.

so do i use win 7 x86 or xp?

0

Share this post


Link to post
Share on other sites

Posted · Report post

so do i use win 7 x86 or xp?

Something 32 bit...

0

Share this post


Link to post
Share on other sites

Posted · Report post

will nvflash get my phone to stock lg rom or do i have to install cmw recovery and try to install my own backup?

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have now used nvflash and get the test result as in the guide , but when trying to start my phone it still get stock on lg loading screen.

0

Share this post


Link to post
Share on other sites

Posted · Report post

will nvflash get my phone to stock lg rom or do i have to install cmw recovery and try to install my own backup?

Back to stock.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.