5,593,793 Members 46,287 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] 09/June v1.8.1.6 - fake-flash by Koush, launching recovery without a PC

Tip us?
 
paulobrien
Old
(Last edited by benko286; 6th July 2010 at 10:04 AM.)
#1  
paulobrien's Avatar
Senior Member - OP
Thanks Meter 5672
Posts: 4,437
Join Date: Nov 2003
Location: Norwich
Talking [DEV] 09/June v1.8.1.6 - fake-flash by Koush, launching recovery without a PC

This morning, Koush and I have been working on / stumbling through getting recovery running on a Desire without using a PC for devices rooted with a test image. The same technique also applies to the Legend. Presenting...

fake-flash!


Fake-flash using a similar concept to the original root method, it launches a recovery image from the test image recovery, but instead of pushing the files from a PC, the files are extracted from an update.zip on the SD card. Here's how it works...

This is Recovery ROM which eliminates the need to have a PC to initiate Custom ROM loading process. Currently on a Rooted "Desire": you will need to put your phone in Recovery Mode (Power up phone while pressing Volume Down Key, then Select Recovery Option) and then Run a Batch file (eg. Recovery-windows.bat) from PC while phone is connected via USB Cable. This will put the phone on Customer ROM recovery/Loading Mode. Please check Paul's excellent methods found on MoDaCo. ClockWork eliminates this requirement of PC/Laptop.

If you have/Downloaded ClockWork ROM (Latest is 2.0.1.4), you can always copy this on you SD Card as "update.zip". While in Standard Recovery Mode (Power up phone while pressing Volume Down Key, then Select Recovery Option) Press "Up" Volume Key and Power Button. You will get Standard Android Recovery Menu. Load the update.zip. Once you do this ClockWork will show you the Custom Rom Loading Menus. From there you could load Any Customer ROM stored on your SD Card.

However, to make this simple, you should use ROM Manager Application which integrates everything together. With ROM Manager you could Select Custom ROM while the Phone is Running normally and Install them easily. To download ROM Manager and ClockWork ROM for different phones directly check:

http://www.koushikdutta.com/2010/02/...ery-image.html

Preperation
  • Download the fake-flash update zip from one of the links below
  • Copy the update.zip to the root of your SD card (the name MUST remain as update.zip)
When you want to launch the recovery image
  • Turn on your device with 'volume down' pressed and select 'Recovery'
  • When the exclamation mark appears, press and hold 'volume up' then press 'power'
  • Select the second option, 'Apply sdcard:update.zip
  • That's it, ClockworkMod recovery should launch!
Neat eh?

DOWNLOADS

Just to caveat this initial release, we've yet to carry out extensive testing and you are constrained somewhat by the limitations of the stock kernel (e.g. no support for EXT4).

That's it for now... enjoy... i'll update this post as further advances are made. If you'd like to support Koush's work, consider buying 'ROM Manager Premium' from the Android Market.

P
Follow me on Twitter - http://twitter.com/paulobrien

Follow MoDaCo Android on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

 
heartwork
Old
#2  
Senior Member
Thanks Meter 0
Posts: 126
Join Date: Jun 2006
what the...?

awesome, guys!!!
does it work with all bootloader- versions?

Edit: works like a charm with hboot80!
 
ikbentim
Old
#3  
Member
Thanks Meter 0
Posts: 47
Join Date: May 2010
That is amazing!
 
darkenergy
Old
#4  
Senior Member
Thanks Meter 1
Posts: 143
Join Date: Jul 2008
awesome!!!! i love xda and you guys always making my day
 
MadMic
Old
#5  
MadMic's Avatar
Senior Member
Thanks Meter 12
Posts: 125
Join Date: Jun 2007
Location: Bedford
Does this solve the USB brick issue? Would be legend if it did!!!

Excellent work tho - now can flash whilst waiting on the train
 
fxone
Old
#6  
fxone's Avatar
Senior Member
Thanks Meter 4
Posts: 140
Join Date: Nov 2008
Working Great, thx alot
 
darkenergy
Old
#7  
Senior Member
Thanks Meter 1
Posts: 143
Join Date: Jul 2008
confirmed works great!

does nandroid backup & restore work from this recovery ?
 
dread123
Old
#8  
Senior Member
Thanks Meter 6
Posts: 135
Join Date: Jun 2005
tried nandroid backup but fails on md5 checksum? some error regarding partitions?- hopefully checksum not needed and should still be able to restore?

great work to all
 
M4cr0s
Old
#9  
M4cr0s's Avatar
Senior Member
Thanks Meter 2
Posts: 131
Join Date: Dec 2007
This is great!

Seems to work fine. Successfully flashed a different kernel using this. Only thing I found so far, if mounting usb, dropping a .zip onto the SD, then going back to flash, it haven't updated the SD-card file list, i.e. can't find the new file. Not exactly a major problem though. For first-timers it would be great with some explanation as to what keys to use, and that the "back"-key in fact goes back in the menu structure.

Mac
 
solccp
Old
(Last edited by solccp; 9th June 2010 at 11:25 AM.)
#10  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: May 2010
is it possible to make an SD-ext backup?

I just tried the nandroid backup,
but it said that it couldn't find /dev/block/mmcblk0p2...

great work!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

How to Hack An Android App (Don’t Try This at Home) – XDA Developer TV

Listen, don’t cheat in your games. So don’t … more

Windows Phone 8.1 Developer Preview Now Available!

About two weeks ago at the BUILD conference in San Francisco, Microsoft unveiled Windows … more

Prevent Unwanted Butt Dialing with Smart Pocket Guard

You may recall that back in August of last year, we took a look atAir SwiperbyXDA … more