5,606,530 Members 34,221 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY] ClockworkMod Recovery (Test) for G2X

Tip us?
 
ctso
Old
(Last edited by ctso; 24th April 2011 at 04:48 PM.)
#1  
Senior Member - OP
Thanks Meter 132
Posts: 168
Join Date: Jan 2010
Location: Gainesville, FL

 
DONATE TO ME
Default [RECOVERY] ClockworkMod Recovery (Test) for G2X

Read Me First!
This will get CWM on your device's recovery partition and wipe out your stock recovery. If you wish to keep things simpler, just install ROM Manager and "flash" the T-Mobile G2x recovery from there, it doesn't actually overwrite your stock recovery, but it will still let you boot into CWM recovery, only by using ROM Manager, of course.

** Not responsible for any damage done, obviously. **

Instructions
Here is an initial test of CWM recovery for the G2X. You need to use nvflash to flash this, I've packaged it up for you and included a nice bash script to flash it, on Linux.

Pull battery.
Hold VOL UP+VOL DOWN
Plug in USB.

The phone won't do anything, but you should see it under 'lspci'.

Then grab http://mirror.dal.tdrevolution.net/c...h-recovery.tgz

Extract it, and run flash-recovery.sh
You're not stuck on a software upgrade screen, when your computer says the recovery image was transferred successfully, just pull USB and you're done.

Changes
test2 - Properly mount /sdcard to the external SD.
test2 - Fix device name, should be p999 not p990.
test2 - Do not use custom recovery ui, navigate using VOL UP/DOWN and Power to select. (BOARD_HAS_NO_SELECT_BUTTON).
test1 - Initialness.
Follow me on Twitter! @ChrisSoyars

I hate XDA. If you see me posting here, it's probably important.
The Following 19 Users Say Thank You to ctso For This Useful Post: [ Click to Expand ]
 
lance713
Old
(Last edited by lance713; 21st April 2011 at 06:54 AM.)
#2  
Member
Thanks Meter 1
Posts: 95
Join Date: Mar 2009
Location: Dallas, TX
Wow, this was fast. I'm already loving the development on this phone.

Too sleepy to try something I'm not familiar with, but thank you SO MUCH for the quick recovery!!! I was afraid I was going to regret leaving the N1 dev scene, but seriously, I don't think I'll notice a difference...

[edit: can't do it anyways.... running windows 7 here.]
[edit 2: wait, now I'm confused. Is the entire thing linux only or just the script? I feel extremely stupid right now.]
Current:
T-Mobile Nexus One / CM 6.0 / Clockwork Recovery

Retired:
Motorola Cliq: Nov 2009 - Apr 2010
T-Mobile G1 Oct 2008 - Nov 2009
 
ctso
Old
#3  
Senior Member - OP
Thanks Meter 132
Posts: 168
Join Date: Jan 2010
Location: Gainesville, FL

 
DONATE TO ME
Quote:
Originally Posted by lance713 View Post
[edit: can't do it anyways.... running windows 7 here.]
[edit 2: wait, now I'm confused. Is the entire thing linux only or just the script? I feel extremely stupid right now.]
You can run nvflash on Windows, i just don't have the files handy. Just the tools I provided are linux-only, maybe someone will whip up a quick windows version.
Follow me on Twitter! @ChrisSoyars

I hate XDA. If you see me posting here, it's probably important.
The Following User Says Thank You to ctso For This Useful Post: [ Click to Expand ]
 
stefan.buddle
Old
#4  
Senior Member
Thanks Meter 203
Posts: 1,448
Join Date: May 2009
Had a feeling something was going to be released so I had to starly up

Sent from my LG-P999 using XDA App
 
xl DIGITAL lx
Old
#5  
xl DIGITAL lx's Avatar
Senior Member
Thanks Meter 316
Posts: 1,016
Join Date: May 2010
Location: Los Angeles

 
DONATE TO ME
Wow good job, going to try this tomorrow.

Sent from my LG-P999 using XDA Premium App
Google Nexus
Rom: AOKP
 
nate420
Old
#6  
Senior Member
Thanks Meter 236
Posts: 2,096
Join Date: Feb 2011
Location: eau claire,wisconsin
one day after store release and already a cwm... nice!!!
gonna give this a try
If I Helped Hit The Thanks Button It's All Us Non-Developers Have
 
mapin0518
Old
#7  
Senior Member
Thanks Meter 23
Posts: 318
Join Date: Dec 2006
Trying to do this in Windows...almost got it... but I need the NVidia APX driver in order for Win7 to recognize the device. Searching...
-----
Nexus 4 + Nexus 7
Previously owned: G1, Nexus One, G2x, Nexus S, HP Touchpad, Galaxy Nexus
 
joackie27
Old
#8  
Senior Member
Thanks Meter 32
Posts: 485
Join Date: May 2010
Location: Los Angeles, CA
sudo ./nvflash --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-star-test1.img

Based on the flash-recovery.sh script above, is there a need for a fastboot.bin file as well?
“Intellectuals solve problems, geniuses prevent them.” - Albert Einstein
 
ctso
Old
#9  
Senior Member - OP
Thanks Meter 132
Posts: 168
Join Date: Jan 2010
Location: Gainesville, FL

 
DONATE TO ME
Quote:
Originally Posted by joackie27 View Post
sudo ./nvflash --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-star-test1.img

Based on the flash-recovery.sh script above, is there a need for a fastboot.bin file as well?
whoops, added it, redownload
Follow me on Twitter! @ChrisSoyars

I hate XDA. If you see me posting here, it's probably important.
 
joackie27
Old
#10  
Senior Member
Thanks Meter 32
Posts: 485
Join Date: May 2010
Location: Los Angeles, CA
Quote:
Originally Posted by ctso View Post
whoops, added it, redownload
Thanks @ChrisSoyars
“Intellectuals solve problems, geniuses prevent them.” - Albert Einstein

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes