• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root HOW TO: Flash stock recovery

skater95

Android Enthusiast
First off you must have a 100% stock rom and be rooted
Things you will need:
http://androidforums.com/ally-all-things-root/166588-how-flash-stock-lg-rom.html Thanks death2all110
stock_recovery.img Thanks drellisdee
flash_image Thanks drellisdee
universal androot Thanks to ?

After you download these things put them in your sd card and then flash the stock v8 rom using whatever recovery you are using.

After you flashed v8 rom install universal androot (you can use astro file manager to install androot) (go to settings>applications>allow unknown sources) and then root it

After your rooted open up command prompt then do these following commands:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/stock_recovery.img
reboot

and that's it! You have stock recovery so you now can download the ota update!

After you flashed the stock recovery. Open up the phone dialer and push *#*#2432546#*#* and the update should start downloading. Go to setting>about phone>system updates to check.
 
First off you must have a 100% stock rom and be rooted
Things you will need:
V8 stock rom Thanks drellisdee
stock_recovery.img Thanks drellisdee
flash_image Thanks drellisdee
universal androot Thanks to ?

After you download these things put them in your sd card and then flash the stock v8 rom using whatever recovery you are using.

After you flashed v8 rom install universal androot (you can use astro file manager to install androot) (go to settings>applications>allow unknown sources) and then root it

After your rooted open up command prompt then do these following commands:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/stock_recovery.img
reboot

and that's it! You have stock recovery so you now can download the ota update!

After you flashed the stock recovery. Open up the phone dialer and push *#*#2432546#*#* and the update should start downloading. Go to setting>about phone>system updates to check.

I see no need to flash v8 to get stock recovery. But I guess this is intended to be more of a "flash stock everything" HowTo, eh?
 
Thats not enough. The stock v8 was taken with a nandroid dump after v8 ota patch was applied to v6. Nandroid ever so slightly modified the boot.img so it doesnt pass the boot.img patch checksum on VZB ota update. You must downgrade to v6 and reapply stock recovery to sucessfully install the VZB ota update. If you dont want to do that flash the rooted one from any version and you will have a rooted VZB with some junkware removed to sdcard.
 
Thats not enough. The stock v8 was taken with a nandroid dump after v8 ota patch was applied to v6. Nandroid ever so slightly modified the boot.img so it doesnt pass the boot.img patch checksum on VZB ota update. You must downgrade to v6 and reapply stock recovery to sucessfully install the VZB ota update. If you dont want to do that flash the rooted one from any version and you will have a rooted VZB with some junkware removed to sdcard.

So could you give me a link to a stock v6 rom or is there not one?
 
First off you must have a 100% stock rom and be rooted
Things you will need:
V8 stock rom Thanks drellisdee
stock_recovery.img Thanks drellisdee
flash_image Thanks drellisdee
universal androot Thanks to ?

After you download these things put them in your sd card and then flash the stock v8 rom using whatever recovery you are using.

After you flashed v8 rom install universal androot (you can use astro file manager to install androot) (go to settings>applications>allow unknown sources) and then root it

After your rooted open up command prompt then do these following commands:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/stock_recovery.img
reboot

and that's it! You have stock recovery so you now can download the ota update!

After you flashed the stock recovery. Open up the phone dialer and push *#*#2432546#*#* and the update should start downloading. Go to setting>about phone>system updates to check.

Will be implementing your guide into my post (credit to you for taking time out of your day since i have class and could not) Thanks bro.

it seemed to delete my recovery perfect but still didnot update


You have to follow my guide to get back to stock v6.
 
Will be implementing your guide into my post (credit to you for taking time out of your day since i have class and could not) Thanks bro.




You have to follow my guide to get back to stock v6.


Yeah, man. You do a lot for the ally community, I thought I could do something also. You know?
 
I'm not sure of what is actually going on but I reverted to stock VZ8 with stock recovery, received the OTA update to VZB, reloaded aloha 1.2.3 and reload a nandroid backup(velocity .011), re-flashed stock recovery, and received a second system OTA update for VZB. So now I have stock recovery with VZB release and Velocity .011.
 
I'm not sure of what is actually going on but I reverted to stock VZ8 with stock recovery, received the OTA update to VZB, reloaded aloha 1.2.3 and reload a nandroid backup(velocity .011), re-flashed stock recovery, and received a second system OTA update for VZB. So now I have stock recovery with VZB release and Velocity .011.

If you are on drellisdee's custom recovery (i assume you are because 1.2.3 is the latest version) then you can just tell the update to install and when it boots into recovery and tries to install you should get a validation error since you are on velocity.

The reason your getting the system update on velocity .1 again even though you installed it on your stock rom is because it's not based on the new update but telling it to install won't hurt anything as it should not install.

On a side note have your tired Velocity v0.2 yet? :)
 
What does .2 provide over .1.1?

It's faster imo, has a new theme theme, new boot img, the animated verizon image is disabled, astro file manager built in, scripts to remove certain apps, ad blocking, are the things i can think off of top of my head.
 
Well stock rom just in case deal, and yeah stock everything guide

Just make sure people understand what they're getting into... flashing their data away is not the same as just changing the recovery (which is possible alone)
 
After your rooted open up command prompt then do these following commands:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/stock_recovery.img
reboot

Now where am I typing this in at? I tried it on the phone in terminal emulator and it says permission denied. I tried it on my computer and it says 'abd' is not recognized blah blah blah
 
Now where am I typing this in at? I tried it on the phone in terminal emulator and it says permission denied. I tried it on my computer and it says 'abd' is not recognized blah blah blah

You do that with adb which is included with the android sdk. You can do it through terminal on the phone but it's different instructions and i don't know them.
 
OK. Now I get to this part:

cat /sdcard/flash_image > /system/bin/flash_image

and it says "no such file or directory"
 
OK. Now I get to this part:

cat /sdcard/flash_image > /system/bin/flash_image

and it says "no such file or directory"

Download the file called flash_image from the original post and place it on the root of your sdcard.
 
I have that on there...

still getting "no such file or directory"

Have tried it both with it still zipped and unzipped
 

Attachments

  • Capture.PNG
    Capture.PNG
    4.2 KB · Views: 178
Well I'd like to thank DOTS for helping me over the IRC last night. Got my phone almost totally back to stock, with the exception of the Superuser Permissions icon which I can't seem to get rid of without being rooted, which is how I got it in the first place, LOL. Now I am ready to play around with Velocity and all the other fun stuff.!

Added: Figured this out.
Solution: I purchased Root Manager previously, so I used it to browse to \system\apps and then deleted the Superuser.apk. Then I used Universal Androot to unroot - and now I am Factory again!

On to the next lesson !!
 
zomg wow, i decided to root my phone to day because im buying an incredible tomorrow.

i went from swVB the most recent to rooted velocity
Then changing it back
Flashed to to version 9
then flashed it back to version 6
with root to try and flash 8
it wouldnt flash from 6
so i flashed 9 to see if i could flash back to 8 from there with root

confusing yes...

so i flash back to 6 and root again skip flashing to 8 and find out what sdk was remove non stock recovery then update

Sw still says version 6 but it has nothing to do with root or recovery on it.
Maybe i will be able to get it to update idk.

im just now trying to *#*#checkin#*#* after i did a stock recovery
i just booted it and it starts an andriod update that is 24.9MB hope it works guys if not =( i wont ever mess with rooting again

So ended up having to flash to 6 get root, reflash stock recovery, then un root, reflash 6, then stock recover the phone, and then ota updates worked. It wouldnt update on 6 with the stock recovery right away, trust me i tried ALOT, because the version 6 flash was over top of the non stock recovery when version 6 was put on. I tried stock recovering the phone after stock recovery was restored and it worked as stock recovery should but it just wouldnt update.

I have also came to the conclusion if you dont reflash version 6 it trys to send you a 24.9mb update being the latest VB
Where as a fresh flashed version 6 over top of a stock recovery was 18.5MB.
But it all depends on making sure you stock refresh before you try to update.

hope i helped anyone that was having weird problems like me.
 
Ok This might help people go back to stock Recovery
Put this file on your SD Card.

signed_clockwork_to_Stock_Recovery.zip

This Is a Zip that you can flash From Clock Work Recovery that Will make your phone go back to stock Recovery and no longer have Clock Work

I give ALL credit for this to Drellisdee and whoever else created the original version that Makes your phone go to Aloha Recovery 1.2.4

Again I modified this it is not my own I did not Engineer it and I take 0 Credit for it. All of your Homage and Support should go to Drellisdee.

Thank you Drellisdee!!!

If this helps you please click the Thanks Button. It gives me a warm Fuzzy. LOL
 
Back
Top Bottom