• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[FIX][CWR ZIP] Stuck in Clockwork after performing factory reset?

Search This thread

thecubed

Inactive Recognized Developer
Aug 19, 2008
1,046
10,457
Austin, TX
Well, it seems that somehow some people are getting stuck in Clockwork after performing a factory reset...

I'm not sure what's causing it when triggered from within Clockwork, but I do know what's happening when triggered from within Android.

Either way, here's the fix.

What is this?
A Clockwork flashable .zip file that will fix your "phone only boots to clockwork" problems.

Instructions
Download this .zip to your SD card, boot to clockwork (ha!), and select "Install zip from SD card" and select this zip file.


Technical Information
The LG Revolution's bootloader is strange.
Partition 8 (mmcblk0p8) is the MISC partition on this device, and the first hundred bytes is the "bootloader command" block. This is where the bootloader communicates with Android or Recovery, to tell it to do things like "reboot-recovery" or "apply OTA". That's all standard stuff.

However, a few hundred bytes later is a strange flag- "FACT_RESET_6".
There seem to be a few different values that this is set to during different stages of the phone's operating and reset procedures.
"FACT_RESET_3" seems to be what Android sets when the phone requires a "Master Clear" (i.e. selecting "Clear device" from within Android)

Another flag I've seen references to is "LGE_TEST". No idea what that does, but I'm thinking it may be something like an engineering flag to allow access to fastboot and whatnot. I'm not going to be the first to set my flag to that until I understand completely what it does.
 

Young Dc

Senior Member
Aug 11, 2008
503
15
Whiteville Nc
Error status 6

I get error status 6 installation aborted

Tried everything its stuck in Cwr





EDIT:Thanks for fixing my phone Majorpay
 
Last edited:

thecubed

Inactive Recognized Developer
Aug 19, 2008
1,046
10,457
Austin, TX
Oops, misplaced "s" in set_perm() in my Edify script...
re-uploading now...

EDIT: new update is live.
 
Last edited:

thecubed

Inactive Recognized Developer
Aug 19, 2008
1,046
10,457
Austin, TX
Not sure what/why the option "wipe data/factory reset" differs from "Mounts and Storage -> Format /data"...

I need to look into the specifics of the CWR code to find out why it's getting users stuck in recovery.

Either way, next version of recovery is going to have a bunch of fixes...
 
  • Like
Reactions: Young Dc

Young Dc

Senior Member
Aug 11, 2008
503
15
Whiteville Nc
It's possible that the manual version of recovery is the way to go? I don't remember if I ever tested factory reset personally. Perhaps Cubed can shed some light on this issue. It appears that the MISC partition is getting corrupted on ever factory reset.
If you get a lot of force closes, you may need to wipe /data

first time i did volume down power button reset= stuck in CWR
2nd time was Wipe/data = Stuck in CWR

EDIT: I Wiped/data before installing De-Crapified Clean ROM V1.1 and it booted right up, Didn't get stuck on that last wipe
 
Last edited:

wirelessrevolution

Senior Member
Aug 1, 2011
78
0
first time i did volume down power button reset= stuck in CWR
2nd time was Wipe/data = Stuck in CWR

EDIT: I Wiped/data before installing De-Crapified Clean ROM V1.1 and it booted right up, Didn't get stuck on that last wipe

I can't install any ROM. It keeps saying MD5 mismatch

I downloaded the file several times and I did an MD5 sum on the image and it's MD5 does match. However CWM insists it doesn't match.

I'm a n00b so please be specific when responding and try to resist the urge to say "delete fileX"
 

RegnierD

Recognized Contributor
I can't install any ROM. It keeps saying MD5 mismatch

I downloaded the file several times and I did an MD5 sum on the image and it's MD5 does match. However CWM insists it doesn't match.

I'm a n00b so please be specific when responding and try to resist the urge to say "delete fileX"

Check the folder in the clockworkmod folder on the external SD card. If inside of Revo_decrap you have another Revo decrap folder, that's your problem. You need the Revo decrap folder to contain system.img, not another folder that says Revo decrap.
 

RootThese

Member
Jun 26, 2011
18
0
I was just looking around on here, so I can flash roms and all that jazz. Thanks for being helpful to people! I may need some of that some time! :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Well, it seems that somehow some people are getting stuck in Clockwork after performing a factory reset...

    I'm not sure what's causing it when triggered from within Clockwork, but I do know what's happening when triggered from within Android.

    Either way, here's the fix.

    What is this?
    A Clockwork flashable .zip file that will fix your "phone only boots to clockwork" problems.

    Instructions
    Download this .zip to your SD card, boot to clockwork (ha!), and select "Install zip from SD card" and select this zip file.


    Technical Information
    The LG Revolution's bootloader is strange.
    Partition 8 (mmcblk0p8) is the MISC partition on this device, and the first hundred bytes is the "bootloader command" block. This is where the bootloader communicates with Android or Recovery, to tell it to do things like "reboot-recovery" or "apply OTA". That's all standard stuff.

    However, a few hundred bytes later is a strange flag- "FACT_RESET_6".
    There seem to be a few different values that this is set to during different stages of the phone's operating and reset procedures.
    "FACT_RESET_3" seems to be what Android sets when the phone requires a "Master Clear" (i.e. selecting "Clear device" from within Android)

    Another flag I've seen references to is "LGE_TEST". No idea what that does, but I'm thinking it may be something like an engineering flag to allow access to fastboot and whatnot. I'm not going to be the first to set my flag to that until I understand completely what it does.
    6
    Here's a link to my copy.

    Sent from my VS910 4G using Tapatalk 2
    2
    I really have to hit the sack, but if you meet me on irc (irc.freenode.net) in #lgrevolution within the next few minutes, I can fix it
    2
    Yes i do, just let me know the steps

    1) put exitrecovery.zip in same folder as adb

    2) open command prompt and go to folder with adb and zip

    3) use this command without quotes "adb push exitrecovery.zip /sdcard/exitrecovery.zip"

    4) then go to install zip from sdcard and exitrecovery.zip should be there!

    Sent from my VS910 4G using xda premium
    1
    Here's a link to my copy.

    Sent from my VS910 4G using Tapatalk 2

    Worked perfect Bait, Thank You for having the box account and Thank You Cubed for the fix. Worked like a charm. Im back in...