Re: 4.4 KitKat?
skinbark:
You should be able to flash a custom recovery with fastboot commands (you need to be in the fastboot screen).
Put the recovery.img in the sdk folder, in the same folder that the fastboot.exe is in. Get your phone into the fastboot screen (blue screen with white text) by using adb.
Code:
adb shell
reboot bootloader
Open up a terminal in the same folder your fastboot.exe is in and type in:
Code:
fastboot flash recovery <exact full name of recovery.img>
You can also use fastboot commands to erase the partitions.
Code:
fastboot erase recovery
fastboot erase cache
fastboot erase boot
fastboot erase system
fastboot erase userdata
You might also be able to flash the Xionia recovery in it's zipped form like you would a ROM (you don't need to wipe anything). Once you have flashed it, go to the reboot recovery option in the recovery you now have. Once the option is selected it will boot into the Xionia.
Note: To see the current recovery screen use Droid@Screen. This should allow you to see the recovery menu from your computer. The physical up/down and select buttons should work, but might not be the same as a recovery built for our phones, but it should be easy to figure out.
I ended up gettting rid of the 64bit Peppermint. I tried to set up the sdk but no go. It probably has some major dependency issue's.
I ended up installing Xubuntu 12.04LTS 64bit. I know it will work (had the 32bit version on my 32bit machine).
Once I have everything setup I will jump in head first.
EDIT: Here is a more complete guide on fastboot.
Boot device into bootloader
Connect the device to the computer via USB.
On your computer, open terminal and run (you may need elevated privileges for this):
fastboot devices
You should see something similar to:
List of devices attached
XXXXXXXXXXdevice
fastboot --help
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partion
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:2048
Manual Nandroid restore
Make a Nandroid backup, and copy the folder off your SD card to your desktop.
cd ~/Desktop/path/to/backup/
fastboot flash userdata data.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot
Flash Custom Recovery.img
fastboot flash recovery /path/to/<recovery>.img
fastboot reboot
Flash Custom boot.img
You should make a Nandroid backup first, in case you need to recover your boot.img
fastboot flash boot /path/to/<boot>.img
fastboot reboot
Development
If you are developing a kernel, you may find it helpful to delete your boot.img and recovery.img to force booting into fastboot:
fastboot erase boot
fastboot erase recovery
You can then manually boot from your custom kernel and a ramdisk:
fastboot boot <kernel> <ramdisk>
Once you have a working kernel and ramdisk, you can automatically combine them within fastboot:
fastboot flash:raw boot <kernel> <ramdisk>