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

ClockworkMod Recovery for U, P & Sola - AOKP Xperia Project

Search This thread

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
25
Sunderland
Here you can download a kernel with ClockworkMod Recovery built into it, which allows you to flash zips and to make and restore backups.
This version of ClockworkMod Recovery is the ICS version, so it is the latest (until there is a jellybean one).

Nickholtus has prepared for you an easy to flash package here for you:

Xperia P: http://forum.xda-developers.com/showthread.php?p=28778819

Xperia U: http://forum.xda-developers.com/showthread.php?p=28819512&postcount=282

Xperia Sola (working external sdcard): http://forum.xda-developers.com/showthread.php?p=28957468&postcount=412

To flash this recovery, download the kernel, put it in your fastboot folder and name it kernel.elf.
Then open up a command prompt and in that folder do:
Code:
fastboot flash boot kernel.elf

This is a joint effort of I, nickholtus, K900 and championswimmer, our sources are at https://github.com/AOKPXperia, our main aim is to make trees that will build on AOSP and any other android source tree (AOKP ;) - unicorns).

Thanks to Arakmar for clearing things up for me on how to individually compile the recovery binary.

Keiran
 
Last edited:

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
25
Sunderland
Here is my progress:
Got minimal device tree set up for kumquat (ST25i, Xperia U)
All I need now is to make recovery.fstab, can people post mount info for P, U and Sola?
Then after that I edit ram disk to allow booting into recovery and I will post it on this thread.
 

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
25
Sunderland
Progress:
Got minimal device tree done - check
Compiled recovery - check
Now all we need to do is inject recovery into boot image, then you can have recovery on stock kernel ;)

Our sources are at https://github.com/AOKPXperia
Current repo I am using is device_sony_kumquat
;)

Keiran

Edit: from above info /sdcard is at /dev/block/vold/179:14
 
Last edited:

unreal3000

Senior Member
Nov 27, 2010
617
148
Code:
C:\Program Files\Android\android-sdk\platform-tools>Adb shell cat /proc/partitio
ns
major minor  #blocks  name

   7        0      10427 loop0
   7        1       4190 loop1
   7        2       4190 loop2
 179        0    7757824 mmcblk0
 179        1       1023 mmcblk0p1
 179        2        512 mmcblk0p2
 179        3        128 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5       8192 mmcblk0p5
 179        6       3072 mmcblk0p6
 179        7       5120 mmcblk0p7
 179        8       8192 mmcblk0p8
 179        9      16384 mmcblk0p9
 179       10    1048576 mmcblk0p10
 179       11    2097152 mmcblk0p11
 179       12     256000 mmcblk0p12
 179       13      16384 mmcblk0p13
 179       14    4173824 mmcblk0p14
 254        0      10426 dm-0
 254        1       4189 dm-1
 254        2       4189 dm-2

C:\Program Files\Android\android-sdk\platform-tools>
here u go again :p xperia U mounts....

---------- Post added at 04:10 PM ---------- Previous post was at 04:05 PM ----------

Code:
# mount
mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /dev/shm tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p10 /system ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p6 /modemfs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordere
d 0 0
/dev/block/mmcblk0p11 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,
noauto_da_alloc 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered
 0 0
/dev/block/mmcblk0p8 /data/idd ext4 rw,nosuid,nodev,noatime,barrier=0,data=order
ed 0 0
/dev/block/vold/179:14 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,
uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:14 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.trust5.odp-1 vfat ro,dirsync,nosuid,nodev,relatime
,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mix
ed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/teenpatti.com.ibibo-1 vfat ro,dirsync,nosuid,nodev,rel
atime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortnam
e=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/play.ibibo.rummy.cash-1 vfat ro,dirsync,nosuid,nodev,r
elatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortn
ame=mixed,utf8,errors=remount-ro 0 0
#
should help u too :p
 

DeanBoro

Senior Member
Dec 11, 2010
604
220
Do this for me,
adb shell "cd /dev/block ; ls ;"
And post here the output :)

If this device gets root on locked boot loader, maybe.

Keiran


Here is the output you requested :)

Code:
* daemon started successfully *
vold
mmcblk0p14
mmcblk0p13
mmcblk0p12
mmcblk0p11
mmcblk0p10
mmcblk0p9
mmcblk0p8
mmcblk0p7
mmcblk0p6
mmcblk0p5
mmcblk0p4
mmcblk0p3
mmcblk0p2
mmcblk0p1
mmcblk0
loop7
loop6
loop5
loop4
loop3
loop2
loop1
loop0
ram15
ram14
ram13
ram12
ram11
ram10
ram9
ram8
ram7
ram6
ram5
ram4
ram3
ram2
ram1
ram0
 
Last edited:

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
25
Sunderland
Here is the output you requested :)

Code:
* daemon started successfully *
vold
mmcblk0p14
mmcblk0p13
mmcblk0p12
mmcblk0p11
mmcblk0p10
mmcblk0p9
mmcblk0p8
mmcblk0p7
mmcblk0p6
mmcblk0p5
mmcblk0p4
mmcblk0p3
mmcblk0p2
mmcblk0p1
mmcblk0
loop7
loop6
loop5
loop4
loop3
loop2
loop1
loop0
ram15
ram14
ram13
ram12
ram11
ram10
ram9
ram8
ram7
ram6
ram5
ram4
ram3
ram2
ram1
ram0

You have p9, p9 is visible, is boot partition... don't know if you can flash to it though, may be protected on locked bl - anyway you need root first.
 
  • Like
Reactions: mikew29

DeanBoro

Senior Member
Dec 11, 2010
604
220
You have p9, p9 is visible, is boot partition... don't know if you can flash to it though, may be protected on locked bl - anyway you need root first.

I cant unlock the bootloader as the fastboot is locked unfortunately (N) :(. Do you have any suggestions on how I could attempt to gain ROOT on it, or maybe even possibly Temp ROOT?
 

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
25
Sunderland
Okay, so from some hard work and testing from nickholtus (hats off to him) we have fixed up bootrec and he is currently using a recovery compiled by me on his P ;)
With this you can even back up boot/kernel partition on the go! No need for fastboot!
Not working:
Mass storage (we are using ICS recovery sources, with different USB gadget implementation to gingerbread)
Everything else works for now ;)
We will post recovery when we have patched stock kernel ram disk for the devices.

Keiran
 

Top Liked Posts