Jump to content

Sony Xperia Z (sony-yuga): Difference between revisions

From postmarketOS Wiki
Wfranken (talk | contribs)
Wfranken (talk | contribs)
m Added that twrp bootimg also works
Line 16: Line 16:
=== Current status ===  
=== Current status ===  


This currently only works when replacing the ramdisk in the LineageOS boot.img with pmos one using abootimg (so we use the prebuilt kernel of lineageOS).
This currently only works when replacing the ramdisk in the LineageOS/TWRP boot.img with pmos one using abootimg (so we use the prebuilt kernel of lineageOS).
 
Replacing the initramfs in a boot image can be done like so:
<code>abootimg -u boot.img -r initramfs</code>
 


=== Other information ===
=== Other information ===

Revision as of 19:41, 28 August 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

Current status

This currently only works when replacing the ramdisk in the LineageOS/TWRP boot.img with pmos one using abootimg (so we use the prebuilt kernel of lineageOS).

Replacing the initramfs in a 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

Links