Post Reply

[RECOVERY] ClockworkMod Recovery (Test) for G2X

OP ctso

21st April 2011, 06:45 AM   |  #1  
OP Senior Member
Gainesville, FL
Thanks Meter: 133
 
168 posts
Join Date:Joined: Jan 2010
Donate to Me
More
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.
Last edited by ctso; 24th April 2011 at 04:48 PM.
The Following 19 Users Say Thank You to ctso For This Useful Post: [ View ]
21st April 2011, 06:51 AM   |  #2  
Member
Flag Dallas, TX
Thanks Meter: 1
 
95 posts
Join Date:Joined: Mar 2009
More
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.]
Last edited by lance713; 21st April 2011 at 06:54 AM.
21st April 2011, 06:58 AM   |  #3  
OP Senior Member
Gainesville, FL
Thanks Meter: 133
 
168 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by lance713

[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.
The Following User Says Thank You to ctso For This Useful Post: [ View ]
21st April 2011, 07:06 AM   |  #4  
Senior Member
Thanks Meter: 203
 
1,448 posts
Join Date:Joined: 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
21st April 2011, 07:14 AM   |  #5  
xl DIGITAL lx's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 316
 
1,016 posts
Join Date:Joined: May 2010
Donate to Me
More
Wow good job, going to try this tomorrow.

Sent from my LG-P999 using XDA Premium App
21st April 2011, 07:47 AM   |  #6  
Senior Member
Flag eau claire,wisconsin
Thanks Meter: 236
 
2,096 posts
Join Date:Joined: Feb 2011
More
one day after store release and already a cwm... nice!!!
gonna give this a try
21st April 2011, 07:50 AM   |  #7  
Senior Member
Thanks Meter: 23
 
319 posts
Join Date:Joined: 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...
21st April 2011, 07:52 AM   |  #8  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 32
 
485 posts
Join Date:Joined: May 2010
More
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?
21st April 2011, 07:53 AM   |  #9  
OP Senior Member
Gainesville, FL
Thanks Meter: 133
 
168 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by joackie27

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
21st April 2011, 08:00 AM   |  #10  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 32
 
485 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by ctso

whoops, added it, redownload

Thanks @ChrisSoyars

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes