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

Thanks JC. Im going to check out your post and see if I can solve the problem. According to a guy in this other thread though he said I was rooted after this. http://forum.androidcentral.com/869600-post191.html

Really confused here because the root process I tried ended up installing superuser on my phone (I can open it from my apps). We will get to the bottom of this.
 
that means your not rooted.

Try method from my signature ;) (post #9 ) then open adb shell then su (make sure super user is installed on your phone)
- Also watch your screen on the phone when you type su-

I followed your instructions to a T in post #9 and still get permission denied when trying su
 
Question. I'm currently on ThunderC recovery. If I want to flash Xionia Clockwork all I need to do is just flash it and it will overwrite my current ThunderC recovery?
 
Just a little more help now. I've extracted the rar and placed the image file on my SD card. I'm assuming root is just L: or whatever the drive happens to be. I have also tried the steps using the whole flash image extracted folder and also just the file in the folder, but when I run the command on the first page and reboot in recovery I still get that standard 4 prompt recovery screen. This is what I get from my cmd prompt.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Justin>cd c:\optimusrootzvd


c:\OptimusRootZVD>adb shell
$ su
su
# # 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
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# ## reboot recovery 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
#

#

# reboot recovery
reboot recovery

c:\OptimusRootZVD>
 
Cut and paste each line *without* the "#" signs. They are just there for information purposes to tell you those commands are to be run while having a root login.

Also paste one line at a time. It looks like you are cut and pasting multiple lines at once.
 
  • Like
Reactions: jhammons10
When I go to restore a nandroid, it prompts me restore boot, system, data, cache, or sd-ext... what should I restore?
 
i only said it looked like it was, not that it was actually ;) sorry for the misinfo...

either way...
 
My phone could unzip the xiona file itself if this was posted in a zip format but with it downloading as rar my phone can't do anything with it. Please consider posting a zip download so this can be done using the emulator terminal and not require a computer
 
My phone could unzip the xiona file itself if this was posted in a zip format but with it downloading as rar my phone can't do anything with it. Please consider posting a zip download so this can be done using the emulator terminal and not require a computer

You need to extract that rar like it says in the first post. Google winrar for you computer if you don't have anything.
 
Please excuse the noobie/wanna-be-geek question (hehe), but when I open a command prompt, what do I type to get to the root of my sd card? Or am I not understanding how to get the two .img files on my sd card - is it as simple as a copy/paste to the card or are the flash instructions on post #1 required?:confused:
 
you can totally drag and drop them to the sd card location in "my computer"



but the # mount -r remount etc etc lines have to be done either through command prompt or terminal emulator.

I'm going to assume you have sdk-tools on your computer...

Basically you have to find the (platform-tools) folder to wherever you installed that...

mine is C:\Program Files (x86)\Android\android-sdk\platform-tools

to get to an adb shell, ensure your phone is connected to your pc, (adb devices command, will show phone's serial) and input adb shell to get to the $ prompt. To change the $ to a #, type su
 
  • Like
Reactions: donnasess
you can totally drag and drop them to the sd card location in "my computer"



but the # mount -r remount etc etc lines have to be done either through command prompt or terminal emulator.

I'm going to assume you have sdk-tools on your computer...

Basically you have to find the (platform-tools) folder to wherever you installed that...

mine is C:\Program Files (x86)\Android\android-sdk\platform-tools

to get to an adb shell, ensure your phone is connected to your pc, (adb devices command, will show phone's serial) and input adb shell to get to the $ prompt. To change the $ to a #, type su

Thanks for the quick response. Platform-tools vs tools - what file should be in the folder to pick the right one? My su file is in tools. And, does my usb storage need to be enabled or disabled to continue w/the command prompt? I had to enable it for it to show up in my computer.

Edit: I tried both tools and platform-tools, and when I type in su, Superuser (on the phone) ask to allow or deny access. Is this supposed to happen? If so, I'm assuming allow is my choice. :)
 
Last edited:
  • Like
Reactions: disenough
Thanks for the quick response. Platform-tools vs tools - what file should be in the folder to pick the right one? My su file is in tools. And, does my usb storage need to be enabled or disabled to continue w/the command prompt? I had to enable it for it to show up in my computer.

Edit: I tried both tools and platform-tools, and when I type in su, Superuser (on the phone) ask to allow or deny access. Is this supposed to happen? If so, I'm assuming allow is my choice. :)

Yeah you need to allow it. Superuser is kind of a mediator between root and apps. Whenever an app that Superuser doesn't recognize requests root access, it prompts the device owner for permission. And you need platform-tools.
 
  • Like
Reactions: donnasess
Yeah you need to allow it. Superuser is kind of a mediator between root and apps. Whenever an app that Superuser doesn't recognize requests root access, it prompts the device owner for permission. And you need platform-tools.

Awesome! This is exciting. It worked, I rebooted, and on my way to a nandroid backup. You must be my guardian angel b/c I think you answered my question in another thread (or you answered someone else's and I needed the answer too). ;) Other than being able to download more apps, what should I do next or keep an eye out for (future updates, possible errors, what NOT to do now that it's rooted, etc)?

Edit: BTW, what's sd-ext? It said it skipped backup b/c it wasn't found. And, where did the backup file get saved to? Just wondering....
 
Last edited:
sd-ext, is an extension (partition) of your sd card.

Partitoning your card will result in reformatting your card. Which i have yet to find a real need to do so
 
sd-ext is a partition on your sdcard that is formatted for linux (ext2, 3 or 4), where you can add additional space to your phone (but takes space away from your sdcard).

If you don't have an sd-ext partition, then that "error" is not a problem. It's just letting you know that it didn't find that partition, so it was not backed up.

sd-ext can come in handy if you are familiar with linux.

I use it to store my apps on and extend the amount of space I have to store apps (search the forums for "Home made Apps2Sd" or something like that).


sd-ext, is an extension (partition) of your sd card.

Partitoning your card will result in reformatting your card. Which i have yet to find a real need to do so
 
you can totally drag and drop them to the sd card location in "my computer"



but the # mount -r remount etc etc lines have to be done either through command prompt or terminal emulator.

I'm going to assume you have sdk-tools on your computer...

Basically you have to find the (platform-tools) folder to wherever you installed that...

mine is C:\Program Files (x86)\Android\android-sdk\platform-tools

to get to an adb shell, ensure your phone is connected to your pc, (adb devices command, will show phone's serial) and input adb shell to get to the $ prompt. To change the $ to a #, type su

Can you be more specific when you say "type su"? because I don't understand. You start the adb shell so it gives you a $. Then what?

Edit: Also, when you say "you can totally drag and drop them to the sd card location in "my computer"", do you mean that I can extract the files directly into the SD card on my phone? Anywhere?
 
Last edited:
Can you be more specific when you say "type su"? because I don't understand. You start the adb shell so it gives you a $. Then what?

Edit: Also, when you say "you can totally drag and drop them to the sd card location in "my computer"", do you mean that I can extract the files directly into the SD card on my phone? Anywhere?

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 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
 
Last edited:

Trending Posts

Forum statistics

Threads
956,900
Messages
6,970,509
Members
3,163,643
Latest member
stonefruit