[Custom Recovery] Xionia Clockwork (CWMA v1.2518.6)

Thank allot ma. although you forgot to include how to get to adb shell for newbies and also to type su and accept it on the phone. but you helped allot
 
I get this error on the 2nd step...
recovery01.png

....
I'm a goober. I still had USB turned on. :) never mind on that...

but I get this error now...
recovery02.png
 
Last edited:
Worked perfectly. The first time I tried it it gave me an error saying my device was out of memory when I went to flash the recovery but second time it worked perfectly. Thank You. Great Work!
 
i am a newb @ rooting, i just rooted my lg optimus s w/ gingerbreak. and now i tried to do a custom recovery and now im getting a blank black screen. why?
 
maybe you skipped a step? reboot phone into android and try again


when it shows the $ this is where you type su

(check your phone also at this time, if your rooted *should have superuser installed already*, it may ask for permission, always allow) If it prompt says permission denied, then you dont have superuser installed or you are not rooted.

You want to extract the files (both) directly to your sd card (make sure sd card is mounted on the computer-drag finger down from the top part of your phone screen (notification bar), you will see where it says usb connected -select to copy files to/from your computer-select this then turn on usb storage)

Turn off usb storage after files are extracted to the sd card, otherwise you will get "no such file or directory" starting at cat /sdcard/flash_image > /system/bin/flash_image

xionia.jpg
 
i am a newb @ rooting, i just rooted my lg optimus s w/ gingerbreak. and now i tried to do a custom recovery and now im getting a blank black screen. why?

this is another reason most of us seriously recommend doing your first root with an adb method instead of a one click method.

please take the battery out and post your serial number (s/n)

also i'm ASSUMING because you're posting in this recovery thread, that you are using this recovery is that the case or are you using thunderc?
 
Wow, I did the stupidest mistake ever, I wiped everything on my phone (reason was because I was going to flash a ROM) but before I flashed anything I clicked on "reboot system now".

Biggest mistake of my life, is my phone bricked? can I get back to custom recovery?
Pull battery, re-insert battery
Press & hold pwr+home+volume down to get back into recovery

sent from my CM7 gingerbread Optimus S



sent from my CM7 gingerbread Optimus S
 
Last edited:
What's the difference between this and Thunderc recovery? Is Thunderc compatible with with CM7 roms?
 
xionia is the recommended recovery for the optimus s, as it supports all current optimus models, while thunderc only supports the older models.
i don't know about cm7 compatability, but i do know that xionia is built on the official recovery used with the official cm7 distribution.
 
What's the difference between this and Thunderc recovery? Is Thunderc compatible with with CM7 roms?

One of the big differences is if you do a ##786# reset with thunderc, you will get a brick. But not with xionia. Also, the early version of thunderc won't play nice with newer LCD's. I truly don't know all the other differences.

Now I run thunderc 1.1.0 still and I have no issues with cm7 roms. BUT, since xionia is recommended, if you have ANY issues while running thunderc, you will need to switch before reporting anything.
 
jcwxguy/johndevere,

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The problem was that after I copied the files to the root of the SD Card, I DID NOT turn off USB Storage...that is what was screwing me over.

Once I turned that off, I connected w/ ADB Shell, ran the commands and MAGIC!!!!!!!!!!!!!!!!!!

THANK YOU GUYS SO MUCH!!!!!!!!!!!!!!

BJ

Anytime.. looks like thats 2 peeps tonight that had the SAME issue...


REMEMBER!


TURN OFF usb storage, TURN ON adb


Hey all I've having this same issue. My goal is to get a nand backup before I start messing around with roms and what not. I read the entire thread. I'm able to get super user access using su in adb so I know my phone is rooted. I used Gingersnap to root my Optimus S.

Here's what I'm doing:
1. I have both flash_image and xionia_cwma_12518.6.img seated firmly in the root of my memory card.
2. Having the phone connected to my computer (with all drivers installed) I start up cmd, type "cd c:\optimusroot" (where I have adb.exe and it's corresponding files) then "adb shell" and "su" to get into super user. I haven't not activated USB storage as the files are already on the card.
3. I type "reboot recovery" and the phone restarts into Xionia recovery menu. I have not closed the command prompt it goes back into "C:\optimusroot"
4. Recovery menu options are "reboot system now", "apply sdcard:update.zip", "wipe data/factory reset", and "wipe cache partition".

Any idea what I'm doing wrong? Also using "Home + Volume Down + Power" from a shut down doesn't boot the phone into recovery. I'm assuming "Home" is the button with the house on it :p

Any help would be appreciated! Thanks! :)
 
Xionia CWMA v1.2518.6
  • Xionia Kernel 013, which fixes any blank LCD issues
  • Experimental (untested) support for AmonRA (drellisdee) nandroid restore of sd-ext
  • Attempts to backport CWM 3.0 features
  • Fixed known issue from previous version

Xionia CWMA v1.2518.5
  • Xionia Kernel 009
  • Should fix /sd-ext issues
  • LG-Style Reset option removed, due to causing more trouble than its worth
  • ext2/ext3/ext4 support thanks to Xionia Kernel
  • No longer set to "PERFORMANCE" governor, so the phone no longer idles at 600mhz in recovery
  • Known Issue:Occasionally, when rebooting after flashing a zip, an error about ignoring radio image may briefly appear. It seems harmless, so you can ignore it for now. Will look into this later.

Xionia CWMA v1.2518.4

DO NOT USE LG-STYLE FACTORY RESET IF YOU ARE RUNNING CM7!
Feature will be removed in next version of Xionia CWMA.

  • Added support for LGE special Factory Reset command. Invalidates this issue
  • Execute standard data/cache wipe or full LG-Style Factory Reset (found under "advanced")
  • "Fix Recovery Boot Loop" option now supports both bootloader and lge special parameters, ensuring you get out of that loop.
  • Known Issue: If you enable USB Mass Storage, then disable it again, it does not re-enable until you reboot back into recovery. (workaround: unplug and replug device. windows is ejecting the device, so you need to reinsert it.)
Xionia CWMA v1.2518.3
  • Added "Fix Recovery Loop" option under "Advanced", gets you out of an infinite recovery reboot loop.
  • Fixed cosmetic issue where in certain cases, a radio update would still ask you to reboot to finish it. (doesn't really flash)
  • Fixed version number.
  • Reverted to stock kernel (+lzma) (why use a fancy overclock power kernel for recovery mode?)
  • Addressed an issue with USB Mounting (may or may not fix issues some users are having)
  • Removed alternate LG logo that briefly flashed during startup of recovery mode.
  • Switched nandroid functions to external tools (no more fancy status, sorry) due to localized corruption issues.
  • Fixed 'reboot returned' issue when trying to reboot out of recovery via adb shell reboot
Xionia CWMA v1.2518.2
  • Radio Flashing Removed Will now ignore radio.img part of all updates, regardless of signature verification setting.
  • Fixed bug where a nandroid backup would not restore completely if it did not have an .android_secure image.
  • LGE Recovery binary now included for future usage...
  • Bug: version reports as v1.2518.1
Xionia CWMA v1.2518.1
  • Minor bug fix, could not select zip if it was the last item on the menu.
Xionia CWMA v1.2518
  • Safety check - will not flash LG OTA zips and brick you (DO NOT DISABLE SIGNATURE VERIFICATION)
  • Dual Nandroid Support (new /sdcard/clockwork/backup/ as well as old /sdcard/nandroid/mem=477M/)
  • Use either menu or camera for select, we like both of you :)
  • Powered by Xionia Kernel 007 (not overclocked)
  • LZMA Compressed ramdisk to hold even more content
  • Blue theme like GNM Recovery
  • Ease of use of CWM, with power for the hardcore. Many useful CLI tools included.
xionia_recovery.png
xionia_recovery_dual_nandroid.png
xionia_recovery_dual_nandroid_2.png


How to Install:
Copy flash_image and xionia_cwma_12518.6.img to the root of your sdcard. RAR file is protected with recovery record in case of corrupt download. Please extract rar before attempting to flash.
To flash: via adb shell or terminal type this from root # shell



Note:
If you receive this error:
failed on '/system/etc/install-recovery.sh' - No such file or directory
Then ignore it and keep going, it means the file is already backed up or deleted, and your recovery will not be erased by LG.

Key combo to boot custom recovery from powered off is Volume Down + Home + Power and release keys at LG splash.

Recovery Key mapping:
Up: Volume Up
Down: Volume Down
Select: Menu or Camera
Back: Back

Archive
Index of /zefie/files/cell/LGLS670/roms/custom/archive/Xionia/recovery - Persona Files

Source Code
https://github.com/zefie/xionia_cwma_recovery

Special Thanks:
CyanogenMod for Clockwork Recovery
Amon_RA for the signature verifier since I could not get Cyanogen's to work
Drellisdee for the original custom recovery that got us all started, and for the flashing instructions i swiped >.>
Just flashed this using Terminal Emulator that I downloaded from the market. For some reason my phone wouldn't mount to my macbook so I had to find a workaround. It took some trial and error, but it is possible to do without being mounted to the computer and running sdk.
 
I'm new to all this stuff so is there anywhere I can find step by step instructins to do this. My optimus s is already rooted I jus can't figure out how to install recovery
 
Hey all I've having this same issue. My goal is to get a nand backup before I start messing around with roms and what not. I read the entire thread. I'm able to get super user access using su in adb so I know my phone is rooted. I used Gingersnap to root my Optimus S.

Here's what I'm doing:
1. I have both flash_image and xionia_cwma_12518.6.img seated firmly in the root of my memory card.
2. Having the phone connected to my computer (with all drivers installed) I start up cmd, type "cd c:\optimusroot" (where I have adb.exe and it's corresponding files) then "adb shell" and "su" to get into super user. I haven't not activated USB storage as the files are already on the card.
3. I type "reboot recovery" and the phone restarts into Xionia recovery menu. I have not closed the command prompt it goes backi into "C:\optimusroot"
4. Recovery menu options are "reboot system now", "apply sdcard:update.zip", "wipe data/factory reset", and "wipe cache partition".

Any idea what I'm doing wrong? Also using "Home + Volume Down + Power" from a shut down doesn't boot the phone into recovery. I'm assuming "Home" is the button with the house on it :p
Any help would be appreciated! Thanks! :)
did you extract or just copy the 2 files to root
Of SD card? Also post an image of your cmd screen so we can see if your missing any steps
 
  • Like
Reactions: Partof300
I extracted the both. See below for pictures of the files on my memory card as well, the cmd screen, as well as my the menu when my phone reboots into recovery.

Memorycard.jpg


cmdscreen.jpg


imagejpeg_2_8.jpg

The highlighted option you can't read is the "reboot system now" option.

Thanks! :)
 
Please help me, i keep getting the same error over and over again...

Here is what i see in Terminal Emulator:

$ $su

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system

Usage: mount [-r] [-w] [-o options] [-t type] device directory


(This is what i see every time i enter that line, is this usage message supposed to happen?)

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

(THIS IS ERROR --->) cannot create /system/bin/flash_image: read-only file system

(ignoring the issue i continue....)

# chmod 755 /system/bin/flash_image

Unable to chmod /system/bin/flash_image: Read-only file system

I am running an Lg Uptimus S (Model: LS670) (SW Version: LS670ZVD)

Plugged into PC, running Usb Debugging

Both files in root of SD already
Extracted flash_image (not a zip anymore just a file) (no extension)
xionia_cwma_12518.6.img is left as is

Superuser is confirmed working and allowing terminal

No spaces issues because i copy line by line from browser to terminal (enter a line hit home copy next line, etc.)

Thank you so much for any help you can give :p

EDIT

Anyone having this issue please use ADB from the Android SDK just type

adb shell
su

then copy all codes without the #

Note: your phone will ask permisson from an unknown source just allow it

Used this site to set up: http://forum.xda-developers.com/showthread.php?t=532719

If posting that link isnt allowed my bad.
 
Last edited:
  • Like
Reactions: mk3