Objective:
Thought I would create an app to try to make it easier to flash the ClockworkMod to your phone so you can get to recovery without having to use ROM Manager. This app will also let you revert back to Stock Recovery.
Flashing the custom recovery using NvFlash is the only way to ensure that in the case your phone will not boot up, you will be able to get into recovery to fix the issue / flash a ROM / restore from nandroid backup. That is what this app will do for you.
If you flashed the ClockworkMod recovery from ROM Manager it does not flash the recovery to your phone, it fake flashed it. The only way you can gain access to ClockworkMod recovery is through ROM Manager at that point. Using this method is the only way to flash recovery so it is persistent and accessible booting to recovery.
If you have already flashed through ROM Manager you can still proceed with this method. Flash Away!
(You can use both ROM Manager CWM and have the nvflashed version working together. You just access either or one at a time, having the nvflashed one means you can boot to CWM. Welcome to Tegra2)
Quote:
Credits:
Thanks goes to player911, djmcnz, ctso(Chris Soyars) and mapin0518 for their contributions!
Thanks goes to omarsalmin for posting the guide and pulling it together for us!
Thanks goes to David Cogen at Unlockr for creating a video tutorial for this app!
Thanks goes to Krylon360 for his original modding work.
Thanks goes to RussUnderHill for his touch port.
And of course thanks (as always) goes to Koushik Dutta for developing ClockworkMod Recovery!!
New option for flashing from the internal memory! When you choose "install zip from sd card" there is now an option "choose zip from internal SD card".
External Only Nandroid Backup Support.
EXT4 Support
Fixes a bug where root is sometimes lost during a ROM restore.
CWM Touch Port from P990 updates to CWM 5.8.1.3
Touch Interface
Experimental
Quote:
Procedure: If you came here first, go here and read the getting started before flashing this recovery: GETTING STARTED GUIDE This process consists of 2 steps.
1. Install the windows driver.
2. Flash the Recovery using the OneClick App.
*** You will need to have .Net Framework 2.0 or above installed. ***
You can watch a Video provided for us by the UnLockr for a walk-through of how to use the One-Click ClockworkMod Recovery Flasher. (Thanks Dave!) Click on The UnLockr Image to watch the video:(Video is no longer relevant pertaining to entering recovery from boot. And the buttons you can click.)
****Warning I am not responsible if you brick your phone!****
Instructions:
Quote:
Extract the package:
Extract the One-Click-G2x-recovery-flasher-04-28-12.rar to some location of your choosing.
Quote:
Nvidia NvFlash APX Driver
Unlike a lot of Android phones out there the Nvidia Tegra2 chipset require additional drivers in Windows to support low level flashing.
Install APX Windows driver from APX folder.
(Windows x86 and x64 O/S Drivers): ****If you are running VmWare kill it.****
Remove the battery.
Plug in your USB cable to your PC.
Hold Volume Up and Volume Down at the same time keeping them held down.
Plug in the USB cable to your phone. (Keep the buttons held until Windows detects a new APX device.)
Open Device Manager in Windows and you should see "APX Device" listed with an error icon.
Right click on the APX device.
Select 'Update driver software'.
Select 'Browse my computer...'.
Select 'Let me pick...'.
Select 'Have disk'.
Browse to directory you extracted the *driver* software to: One-Click-G2x-recovery-flasher-04-28-12\APX.
Accept any warnings, including the big red alert (you may need to disable UAC).
Now in Device Manager under 'USB Controllers' you should have an 'NVIDIA USB Boot-recovery driver for mobile devices'.
If not, uninstall the driver, reboot, rinse and repeat.
Quote:
Flash ClockworkMod Recovery
Remove the battery.
Goto NvFlash directory and Double Click "OneClickRecoveryFlasher.exe".
Make sure the USB cable is unplugged from your phone.
Hold Volume Up and Volume Down at the same time keeping them held down. (Keep them held until you see the "S/W Upgrade" screen on your phone after you complete step7!).
Plug in the USB cable to your phone.
Click the "Flash CWM" button of your choosing. If you own a External SD card I suggest to choose version 5.0.2.0. This gives you Internal and External SD Support for ROM flashing but has External SD Nandroid Backup Support Only! If you do not own a External SD Card choose version 4.0.1.5 what has full Internal SD support for flashing ROMS and Nandroid backup.
You should see it send a bunch of files to the device and the phone screen should say "S/W Upgrade - Please wait while upgrading...". Once the files are sent and the program is finished running in the command window, you can just pull the USB cord while it still says "S/W Upgrade - Please wait while upgrading...".
Put the battery back in and you can now boot into Recovery. (see below..)
Quote:
Booting into ClockworkMod Recovery
Power off your phone.
Hold Vol Down + Power.
Keep holding them, as soon as you see a "Blue LG Graphic" logo let go of the buttons.
Quote:
Restore LG G2x Stock Recovery
Flash Stock recovery only when you want to send your phone in to T-Mobile. Otherwise do not flash Stock recovery. Stay on ClockworkMod Recovery.
Remove the battery.
Goto NvFlash directory and Double Click "OneClickRecoveryFlasher.exe".
Make sure the USB cable is unplugged from your phone.
Hold Volume Up and Volume Down at the same time keeping them held down. (Keep them held until you see the "S/W Upgrade" screen on your phone after you complete step7!).
Plug in the USB cable to your phone.
Click the "Flash Stock" button.
You should see it send a bunch of files to the device and the phone screen should say "S/W Upgrade - Please wait while upgrading...". Once the files are sent and the program is finished running in the command window, you can just pull the USB cord while it still says "S/W Upgrade - Please wait while upgrading...".
Put the battery back and you are done.
Quote:
Take it easy guys! I was a pleasure working with all of you.
I am moving on to another device Galaxy S III.
PM me if you have any support questions.
If you like my work, buy me a drink.
______________________
Google Android OS Rules!!!
My Phones and Tablets:
T-Mobile G1
T-Mobile Vibrant
T-Mobile HD2
T-Mobile G2x
T-Mobile Galaxy S III
Nexus 7
ASUS Eee Pad Transformer All Rooted and Romed Baby!!!! Yeah!!
Old Devices:
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")
If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .
in the extracted folder,someone could place recovery-clockwork-3.0.2.7-p999.img in there and edit the FlashCWMRecovery.cmd to
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 cwm-recovery-recovery-clockwork-3.0.2.7-p999.img and it should work,correct?
in the extracted folder,someone could place recovery-clockwork-3.0.2.7-p999.img in there and edit the FlashCWMRecovery.cmd to
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 cwm-recovery-recovery-clockwork-3.0.2.7-p999.img and it should work,correct?
I will wrap it up and add it to my app.
EDIT: OK Done Deal
If you like my work, buy me a drink.
______________________
Google Android OS Rules!!!
My Phones and Tablets:
T-Mobile G1
T-Mobile Vibrant
T-Mobile HD2
T-Mobile G2x
T-Mobile Galaxy S III
Nexus 7
ASUS Eee Pad Transformer All Rooted and Romed Baby!!!! Yeah!!
could you set it to a variable that allows you to enter a file path to a recovery image and it just flashes that? rather than just the two hard-coded options
Quote:
Originally Posted by j2eubank
couldn't you have just done the same with a batch file or am I missing something?
couldn't you have just done the same with a batch file or am I missing something?
Yes I could have and did. But for the new guys, they seem to like just clicking buttons. This should be newbie proof and easier in my opinion.
If you like my work, buy me a drink.
______________________
Google Android OS Rules!!!
My Phones and Tablets:
T-Mobile G1
T-Mobile Vibrant
T-Mobile HD2
T-Mobile G2x
T-Mobile Galaxy S III
Nexus 7
ASUS Eee Pad Transformer All Rooted and Romed Baby!!!! Yeah!!
______________________
Google Android OS Rules!!!
My Phones and Tablets:
T-Mobile G1
T-Mobile Vibrant
T-Mobile HD2
T-Mobile G2x
T-Mobile Galaxy S III
Nexus 7
ASUS Eee Pad Transformer All Rooted and Romed Baby!!!! Yeah!!
could you set it to a variable that allows you to enter a file path to a recovery image and it just flashes that? rather than just the two hard-coded options
I will keep it updated with the latest versions. Soon there will be just one.
If you like my work, buy me a drink.
______________________
Google Android OS Rules!!!
My Phones and Tablets:
T-Mobile G1
T-Mobile Vibrant
T-Mobile HD2
T-Mobile G2x
T-Mobile Galaxy S III
Nexus 7
ASUS Eee Pad Transformer All Rooted and Romed Baby!!!! Yeah!!
When writing an app with performance in mind, you most likely want to write it native code using the … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?