Adaptations/libhybris/Install SailfishOS for z3c

Sony Xperia Z3 Compact

Current status
SailfishOS port to the z3c is still a work in progess, some fixes still need to be done upstream.

Noting that the port is heavily WIP, if you'd like to help port the information needed is listed here. For the time being this page can also be used as a manner of communication between porters.

Basically, you need access to a SailfishOS 1.1.7.x or up target. Also, since we don't have working recovery for z3c, you need to manually extract the tar.bz2 on AOSP. You can use busybox and the install script in a working zip as example of how to do so.

You need an unlocked bootloader and flash AOSP. The AOSP version we used is AOSP_L_MR1_150422_aries.zip, you can find this file via the fxpblog.co mirrors, it's recommended you use this version.

The local_manifest for the z3c can be found here: https://gist.github.com/maikelwever/ead60c1bba2b012e92f0

If you make a change, please notify maikoool on IRC so he can update the gist. In the near future this will all be migrated and upstreamed to proper github repositories so you can make a pull request.

When compiling libhybris, use sledges's fork on the aosp branch. When compiling qt5-qpa-hwcomposer, use maikelwever's fork on the aosp branch. When compiling pulseaudio-modules-droid, use jusa's fork on the droid-5.1 branch.

Some tools
There is a non-booting boot.img that has recovery in it here. Many thanks to nut's dualrecovery, on which it is based: https://mega.co.nz/#!qZoDVDDI!GJmnBf6skAAPmpLwY41xjGy3XVK0gz0vT9Tw9pm7nHY.

Press vol-up when the device notification light turns on to enter philz touch recovery. Press vol-down for TWRP recovery (my favorite)

(I'm not sure if this is the correct file, give maikoool a shout on IRC if it isn't): There is a boot.img based on the AOSP image stated above, that boots AOSP like usual, but includes busybox in /system/bin/busybox. This can be used to untar the sailfish image. You can download it here: https://mega.co.nz/#!rYIgGLZS!i7DF89aOon5wfkzufU-VdJsKCHTZpjKNOdYmTlkGedM