Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP paulobrien

9th June 2010, 11:30 AM   |  #1  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 5,684
 
4,437 posts
Join Date:Joined: Nov 2003
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
Last edited by benko286; 6th July 2010 at 11:04 AM.
9th June 2010, 11:34 AM   |  #2  
Senior Member
Thanks Meter: 0
 
126 posts
Join Date:Joined: Jun 2006
what the...?

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

Edit: works like a charm with hboot80!
9th June 2010, 11:35 AM   |  #3  
Member
Thanks Meter: 1
 
51 posts
Join Date:Joined: May 2010
More
That is amazing!
9th June 2010, 11:40 AM   |  #4  
Senior Member
Thanks Meter: 1
 
145 posts
Join Date:Joined: Jul 2008
awesome!!!! i love xda and you guys always making my day
9th June 2010, 11:40 AM   |  #5  
MadMic's Avatar
Senior Member
Flag Bedford
Thanks Meter: 14
 
130 posts
Join Date:Joined: Jun 2007
More
Does this solve the USB brick issue? Would be legend if it did!!!

Excellent work tho - now can flash whilst waiting on the train
9th June 2010, 11:41 AM   |  #6  
fxone's Avatar
Senior Member
Thanks Meter: 4
 
140 posts
Join Date:Joined: Nov 2008
Working Great, thx alot
9th June 2010, 11:45 AM   |  #7  
Senior Member
Thanks Meter: 1
 
145 posts
Join Date:Joined: Jul 2008
confirmed works great!

does nandroid backup & restore work from this recovery ?
9th June 2010, 11:55 AM   |  #8  
Senior Member
Thanks Meter: 6
 
136 posts
Join Date:Joined: 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
9th June 2010, 12:16 PM   |  #9  
M4cr0s's Avatar
Senior Member
Thanks Meter: 2
 
131 posts
Join Date:Joined: 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
9th June 2010, 12:18 PM   |  #10  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: 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!
Last edited by solccp; 9th June 2010 at 12:25 PM.

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

Advanced Search
Display Modes