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

the .rar file HAS TO BE EXTRACTED to the ROOT of the SD CARD. Try redownloading the file, and extract it using 7zip or jzip. From there follow directions on the op, and also read the last several pages (3-4) of this thread if you have issues.
 
I don't know if this has been mentioned but I wanna throw this out there just incase anyone else is having a prob getting this installed and you know you are doing everything right. If your phone is too full you won't be able to install this (kinda obvious, right ...I was thinking when uninstalled sprints backup it would automatically make enough room for the new back up like even swap) but I just wanted to mention this because I spent a long time trying to figure out why I couldn't get this installed and after I uninstalled a bunch of crap and my phone wasn't too full and had enough space it installed with no problem so if anyone is having probs and they can't figure out why this won't install maybe you need to uninstall a couple apps or something cuz you know how we don't have much room on our phones (compared to others)
Anyways, thanks so much for the awsome backup, I'm soo glad I finally got it installed I've been dying to try new roms!
 
Hoping someone can help...

I'm only gettiing basic recovery not Xionia...thinking its not flashing xionia_cwma_12518.6.img
Here are the commands i used. Reboots to recovery but i only see basics (flash .zip, wipe cache, etc..)

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/xionia_cwma_12518.6.img
# reboot recovery

How long should it take to run this command: # flash_image recovery /sdcard/xionia_cwma_12518.6.img ? am i not waiting long enough?
Thanks!
 
Hoping someone can help...

I'm only gettiing basic recovery not Xionia...thinking its not flashing xionia_cwma_12518.6.img
Here are the commands i used. Reboots to recovery but i only see basics (flash .zip, wipe cache, etc..)

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/xionia_cwma_12518.6.img
# reboot recovery

How long should it take to run this command: # flash_image recovery /sdcard/xionia_cwma_12518.6.img ? am i not waiting long enough?
Thanks!
did u unzip the img... or is it still in a zip format. I bet thats ur issue...
 
im getting #
i do SU in adb and watch the phone. It asked for SU permissions first time.
Phone LG Optimus S

Files I copied to sd card:
flash_image.zip
xionia_cwma_12518.6.img

When i get to step: # flash_image recovery /sdcard/xionia_cwma_12518.6.img
I hit enter and it immediately goes back to #
should this step take a few seconds??
 
that flash image isn't supposed to be zip, unzip it then do that command

unzip this

flash_image.zip
 
invalid length? thanks for ouur help :)

$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
cat /sdcard/flash_image > /system/bin/flash_image
/sdcard/flash_image: invalid length
#
 
OK i got it...had flash_image in a folder named flash_image in root of SD card. Moved just file flash_image to root of SD and now got it. Thx for help!!!!
 
Ok so this morning I rooted my wifes phone with the new one step multi platform process.... briliant worked perfectly. I must have missed something tried flashing Zefie's Xionia useing the cpromp .... I have root permission for unknown but string is this:

# mount -o remount,rw -t yaffs2/system/system
Mount -o remount,rw -t yaffs2/system/system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
# cat/dev/mtd/mtd2>/sdcard/recovery-stockfactory.img
Cat/dev/mtd/mtd2: not found

I have no idea if I've made a noob mistake or if I need to do something else to put the recovery on.


Sent from my LG-LS670 using Tapatalk
 
Ok so this morning I rooted my wifes phone with the new one step multi platform process.... briliant worked perfectly. I must have missed something tried flashing Zefie's Xionia useing the cpromp .... I have root permission for unknown but string is this:

# mount -o remount,rw -t yaffs2/system/system
Mount -o remount,rw -t yaffs2/system/system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
# cat/dev/mtd/mtd2>/sdcard/recovery-stockfactory.img
Cat/dev/mtd/mtd2: not found

I have no idea if I've made a noob mistake or if I need to do something else to put the recovery on.


Sent from my LG-LS670 using Tapatalk


your mount script is wrong, if you had rooted the phone manually like you should always do if its you're first time working in adb, you would have known that

mount -o remount,rw -t yaffs2 /system /system

thats what it's supposed to look like.

EDIT: to clarify it looks like you forgot/didn't notice the spaces between words after yaffs2. keep in mind spaces have a purpose in linux commands unlike cmd where spaces only sort of have a purpose, and have exceptions for when they're allowed and not allowed linux terminals are VERY strict about spacing and do not allow for spacing. The reason all file names in linux have "_" in between words, is because of this. Yes you can manually rename files with spaces instead of underscores but then you can't use those files in terminal. class dismissed lol good luck feel free to write back if you have any other questions about the process. Also your cat line wont ever do anything it's also not written properly.
 
Last edited:
your mount script is wrong, if you had rooted the phone manually like you should always do if its you're first time working in adb, you would have known that

mount -o remount,rw -t yaffs2 /system /system

thats what it's supposed to look like.

EDIT: to clarify it looks like you forgot/didn't notice the spaces between words after yaffs2. keep in mind spaces have a purpose in linux commands unlike cmd where spaces only sort of have a purpose, and have exceptions for when they're allowed and not allowed linux terminals are VERY strict about spacing and do not allow for spacing. The reason all file names in linux have "_" in between words, is because of this. Yes you can manually rename files with spaces instead of underscores but then you can't use those files in terminal. class dismissed lol good luck feel free to write back if you have any other questions about the process. Also your cat line wont ever do anything it's also not written properly.

Actually, you don't need to specify the filesystem type with -t yaffs2, as Linux/Android automatically detects it.

The correct (and more universal) command would then be:
Code:
mount -o remount,rw /system /system
P.S. You can use spaces in Linux paths as long as you enclose the path with quotes. Same thing applies when accessing files. Example:
Code:
cd "/home/drewwalton/Desktop/Folder with spaces"
Clarification:
You may use spaces in file/folder names but cannot omit spaces in commands such as the "mount" command.
Correct use (command):
Code:
mount -o remount,rw /system /system
Incorrect use (command):
Code:
mount -oremount,rw /system/system

Correct use (file/folder name):
Code:
cd "/home/myname/Folder with spaces"
Incorrect use (file/folder name):
Code:
cd /home/myname/Folder with spaces
 
Last edited:
Actually, you don't need to specify the filesystem type with -t yaffs2, as Linux/Android automatically detects it.

The correct (and more universal) command would then be:
Code:
mount -o remount,rw /system /system
P.S. You can use spaces in Linux paths as long as you enclose the path with quotes. Same thing applies when accessing files. Example:
Code:
cd "/home/drewwalton/Desktop/Folder with spaces"

Ummm, you realize that this is a response to somebody who's having problems because they took a shortcut and ultimately didn't understand advanced because of it. In response to my CORRECT reply to his post you've suggested he use another shortcut, I ask you, where's the logic in that? Yes your way is also an acceptable method but why would you step in and suggest that in this circumstance?
 
Ummm, you realize that this is a response to somebody who's having problems because they took a shortcut and ultimately didn't understand advanced because of it. In response to my CORRECT reply to his post you've suggested he use another shortcut, I ask you, where's the logic in that? Yes your way is also an acceptable method but why would you step in and suggest that in this circumstance?

What I suggested was not a shortcut, merely an easier (and less error-prone) way to use the "mount" command.

As for using spaces in file/folder names in Linux and other *NIX operating systems, I was simply adding to, and clarifying the information that was already given.

Again, I was simply contributing information pertinent to the topic at hand.

Now let's get this back on topic and be helpful to those in need instead of attacking people's logic.
 
your mount script is wrong, if you had rooted the phone manually like you should always do if its you're first time working in adb, you would have known that

mount -o remount,rw -t yaffs2 /system /system

thats what it's supposed to look like.

EDIT: to clarify it looks like you forgot/didn't notice the spaces between words after yaffs2. keep in mind spaces have a purpose in linux commands unlike cmd where spaces only sort of have a purpose, and have exceptions for when they're allowed and not allowed linux terminals are VERY strict about spacing and do not allow for spacing. The reason all file names in linux have "_" in between words, is because of this. Yes you can manually rename files with spaces instead of underscores but then you can't use those files in terminal. class dismissed lol good luck feel free to write back if you have any other questions about the process. Also your cat line wont ever do anything it's also not written properly.

I'ld like to pretend I know linux, sadly I don't. This is not my first root I used the revert to v9 shove your arm in a blender and hold your breath method... this may be a noob mistake but my learning curve is high. I used the one click method for my wifes wanted to try it. I don't belive the spaces were missed but ill try. Thank You for the analysis ichi.

Sent from my LG-LS670 using Tapatalk
 

Members online

Forum statistics

Threads
955,644
Messages
6,965,445
Members
3,163,350
Latest member
auroralane7754