[RECOVERY] G2x ClockworkMod flash for Mac
: flashing is a lot more risky than rooting so proceed at your own risk. This has only been tested with the G2x.
This uses the free VirtualBox (from Oracle) and a 900 meg vitrual machine I created to allow flashing recovery (clockworkmod or stock) from a mac. If you run into any problems with the first download link, try the second (it requires free registration).
This will give you a running linux virtual machine that has g2x root/unroot, clockworkmod (and stock) recovery flashing, and the android sdk (including adb) set up. You can root or unroot as well as flash clockworkmod recovery or the stock recovery using some double-clickable scripts. The android sdk is on there too in case you want to play around with adb. The clockworkmod version installed is 22.214.171.124 external with ext4 (http://forum.xda-developers.com/show....php?t=1086687
) but you can download other versions and flash them pretty easily - just check the Readme.txt in the nvflash folder.
The clockworkmod flash here is the mac equivalent of http://forum.xda-developers.com/show....php?t=1056847
- though this thread just uses a linux virtual machine to get it done.
The username and password on the virtual machine are both "android" (without the quotes of course).
- a few gigs of hard disk space
- about 300 megs of RAM
- intel mac
- a sense of adventure
- download virtualbox and the extension pack from http://www.virtualbox.org/wiki/Downloads
- install virtualbox
- install the extension pack (just double click it once virtualbox is installed)
- download the linux virtual machine (thanks to propain4444 for the hosting) http://articulatevisuals.com/g2x/vir...it_0_3.tar.bz2 or (requires free registration for this one) http://www.4shared.com/file/19DywhVS...it_0_3tar.html
- decompress the virtual machine download (double click) if it didn't happen automatically
- in virtualbox choose Machine -> Add… from the menu bar and choose the android_g2x.vbox file inside the android_g2x folder created by the decompressed virtual machine download
- once the vm boots up you'll see the root/untoot and nvflash folders on the desktop with double-clickable scripts inside
After following the requirements above, to connect your phone for flashing with nvflash do the following:
- plug the USB cable into your mac
- turn the phone off
- remove the battery
- hold down volume up and volume down then plug the USB cable into the phone
Nothing will happen on the linux vm (unless you ran the tail_kernel_log.sh script in the nvflash folder) but you *should* be able to then run the flash-clockworkmod-recovery.sh script. If it doesn't see your device try disconnecting from USB and doing the steps above again. If you want more visibility into whether or not it's connected then double-click the tail_kernel_log.sh script and watch for a line to appear when you plug your phone in (with volume buttons held down of course).
If this helped you please click the Thanks button on this post. Thanks to baykakes
for helping with the initial testing and propain4444
for the registration free download hosting. Countless thanks and credit to krylon360
for the updated ClockworkMod, Chris Soyars (ctso
) for the initial test2 ClockworkMod and linux scripts in the g2x forum that motivated me to do this, koush for ClockworkMod and many others here whose knowledge helped make this possible.