Jump to content

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

From postmarketOS Wiki
Wfranken (talk | contribs)
m Added that twrp bootimg also works
Wfranken (talk | contribs)
m Added $ to make clear it is a shell command
Line 19: Line 19:


Replacing the initramfs in a boot image can be done like so:
Replacing the initramfs in a boot image can be done like so:
<code>abootimg -u boot.img -r initramfs</code>
<code>$ abootimg -u boot.img -r initramfs</code>





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