Jumat, 25 Oktober 2013

CWM (Clockwork Mod) & Kernel For Xperia M (C1905) With JB Stock OS

 [RECOVERY][CWM][2013-10-19][SS] Stock kernel with CWM 6.0.4.4 [Unlocked BL]

I just built a new CWM recovery from source and have it combined with stock kernel and ramdisk.

This image contains the kernel from Build 15.1.C.1.17 (dumped from C1905), the stock ramdisk, the CWM ramdisk and a custom root to select which system to boot.

Please backup your data before proceeding! I am not responsible for any data loss!

I've tried on my own Xperia M (C1905) and it can boot, but I haven't tried to restore a backup. You are warned! Not tested on C1904, but it should work though I cannot guarantee anything.

** You need unlocked bootloader to use this. Before you unlock the bootloader, you need to backup all your data and remove the SD card because everything will be deleted! **

Known problems:
  • If you mount /data, you cannot unmount it from the interface (the CWM code is designed to not allow unmounting it). You can, though, execute `adb shell umount /data` to unmount it if you really do need to.
  • (Only applicable to CWM 6.0.4.4) The "mount USB storage" (connect SD card to computer) function does not work.
  • (Only applicable to CWM 6.0.3.7) There is no "mount USB storage" (connect SD card to computer) function.

Install instructions (skip to step 5 if you already unlocked bootloader, rooted and installed busybox):
  1. Install the latest Android SDK platform tools on your computer.
  2. Root: http://forum.xda-developers.com/show....php?t=2457174
  3. Backup TA partition: http://forum.xda-developers.com/show....php?t=2292598 (do this if you want to relock in the far future)
  4. Unlock bootloader: All data will be lost! SD card will be formatted!
  5. Download the attached zip and extract the boot image.
  6. Power off your Xperia M, hold the Volume Up button and connect USB cable, release button when blue LED is on.
  7. Execute:
    Code:
    fastboot flash boot combined-xperia-m-boot.img
    Wait for it to show finished.
  8. Disconnect USB cable.

Boot instructions:
  1. Power off your Xperia M.
  2. Power on by holding the power button. Your Xperia M should vibrate once like normal boot
  3. Note that when the LED turns pink, press Volume Up once (no need to hold down).
  4. LED should then turn cyan
  5. You have booted into CWM!

Report bugs here!

Thanks:
  • CyanogenMod and ClockworkMod for obvious reasons[/url]

Also: Pack any Xperia M kernel with CWM
Check this tool: http://forum.xda-developers.com/show....php?t=2481864


Technical information:
The Xperia M doesn't have a recovery partition, therefore the recovery is packed into a boot image. There is an init script which checks whether it should boot into recovery, and if it should, the script will extract the recovery ramdisk and boot it. Otherwise it will extract the boot ramdisk and boot Android normally. The packer linked above is designed to pack the boot image.

Changelog:
Quote:
2013-10-19
  • Compiled with cm-10.2 sources, CWM 6.0.4.4
  • Major changes in partition table format to allow CWM 6.0.4.4
  • Allow mounting external USB storage (using OTG cable) so backup can be stored on USB flash drives
2013-10-15b
  • Fixed screen shift issue!
2013-10-15
  • Use the zimage of the stock kernel instead of the uncompressed kernel
2013-10-14
  • Updates init script
  • Recompiled recovery to use device-specific key mapping (camera focus key = back)
Source code:
Device files: https://github.com/alvinhochun/cyano...ice_sony_nicki (Note: CWM 6.0.4.4 is built using the `cm-10.2` branch)
Master branch only tested on cm-10.1, cm-10.2 branch only tested on cm-10.2
Prebuilt kernel is extracted from stock ROM.
Kernel source: https://github.com/alvinhochun/sony-xperia-m-kernel
To build, use `lunch cm_nicki-eng` and then `make combinedimage`. Boot image is output as `combined.img`.
If you want to use your custom kernel and ramdisk, simply replace `kernel` and `stock-boot-ramdisk.gz`.

Extra notes:
combined-xperia-m-boot-2013-10-19.img.zip is the newer CWM 6.0.4.4 version.
combined-xperia-m-boot-2013-10-15b.img.zip is the older CWM 6.0.3.7 version.
Current device: Xperia M (C1905)
SPECIAL BIG THANKS..!!!!! TO alvinhochun xda

Tidak ada komentar:

Posting Komentar