Sony Xperia Z (sony-yuga): Difference between revisions
Appearance
m Added $ to make clear it is a shell command |
Update status |
||
Line 12: | Line 12: | ||
* Compiling the kernel | * Compiling the kernel | ||
* Flashing pmos + kernel | * Flashing pmos + kernel | ||
* Telnet into it, fill in passphrase for decrypting system and get into SSH | * Telnet into it, fill in passphrase for decrypting system and get into SSH (only with prebuilt kernel) | ||
=== Current status === | === Current status === | ||
It is possible now to flash pmos + kernel and boot into it. However, for the moment we cannot telnet into the system. Dmesg of the host system says: the host system cannot enumerate the USB. | |||
But when using the TWRP boot image and replacing its ramdisk with the pmos one we can telnet into the system (in other words our custom built kernel does not work). | |||
Replacing the initramfs in the TWRP boot image can be done like so: | |||
Replacing the initramfs in | |||
<code>$ abootimg -u boot.img -r initramfs</code> | <code>$ abootimg -u boot.img -r initramfs</code> | ||
=== Other information === | === Other information === | ||
* | |||
* When red leds are flashing, offsets are wrong | |||
* LineageOS boot.img is far larger because the recovery is inside it | * LineageOS boot.img is far larger because the recovery is inside it | ||
Line 29: | Line 30: | ||
* [https://github.com/LineageOS/android_kernel_sony_msm8974 Kernel Source] | * [https://github.com/LineageOS/android_kernel_sony_msm8974 Kernel Source] | ||
* [https://github.com/Wouter92/pmbootstrap-sony-yuga Current device and kernel files] |
Revision as of 08:45, 1 September 2017
Contributors
- wfranken
- ollieparanoid (help via IRC)
- ata2001 (help via IRC)
- CmdrWgls (help via IRC)
- opendata (help via IRC)
What works
- Compiling the kernel
- Flashing pmos + kernel
- Telnet into it, fill in passphrase for decrypting system and get into SSH (only with prebuilt kernel)
Current status
It is possible now to flash pmos + kernel and boot into it. However, for the moment we cannot telnet into the system. Dmesg of the host system says: the host system cannot enumerate the USB.
But when using the TWRP boot image and replacing its ramdisk with the pmos one we can telnet into the system (in other words our custom built kernel does not work).
Replacing the initramfs in the TWRP boot image can be done like so:
$ abootimg -u boot.img -r initramfs
Other information
- When red leds are flashing, offsets are wrong
- LineageOS boot.img is far larger because the recovery is inside it