The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Adaptations/libhybris/Install SailfishOS for z3c

From Mer Wiki
< Adaptations | libhybris(Difference between revisions)
Jump to: navigation, search
m (Add downlaod link for AOSP)
(Update progress for Sony Xperia Z3c to current status.)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
=== Current status ===
 
=== Current status ===
  
SailfishOS port to the z3c is still a work in progess, some fixes still need to be done upstream. Most of the work was done by locusf and maikoool, but both don't have the time at the moment to continue progress.
+
SailfishOS port to the z3c is still a work in progess, it it based on CM-12.1, and boots to UI. Wifi works, and so does the modem.
  
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.
+
There are currently no prebuilt zips available for flashing. You can however roll a build yourself, using the repositories and manifests at https://github.com/xperiasailors/.
  
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.
+
Feel free to ping maikoool on irc if your want write access on any of the repositories there. You can of course also do a pull request on Github.
  
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 here: http://dfiles.eu/files/aiaya4zlb, it's recommended you use this version. Note the download is very, very slow.
+
maikoool was the latest one working on this port, in April 2016.
  
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.
+
=== Some info for flashing ===
  
When compiling libhybris, use sledges's fork on the aosp branch.
+
If you build a sailfish image, this will not include recovery. CM-12.1 stock recovery cannot be used because of some checksum error.
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.
+
  
 +
Since the Z3c does not have a bootloader recovery option, you will need to flash TWRP recovery or similar other recovery using fastboot. You can get one at http://nut.xperia-files.com/ by uploading your stock CM boot.img there.
  
=== 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.
+
If you want to return to Android, use fastboot to flash your original boot.img. No changes to Android should have been made by flashing SailfishOS.
  
Press vol-up when the device notification light turns on to enter philz touch recovery.
+
If you want to reclaim the diskspace used by sailfish, remove the /data/.stowaways/sailfishos/ folder.
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
+

Latest revision as of 12:55, 20 April 2016

Sony Xperia Z3 Compact

[edit] Current status

SailfishOS port to the z3c is still a work in progess, it it based on CM-12.1, and boots to UI. Wifi works, and so does the modem.

There are currently no prebuilt zips available for flashing. You can however roll a build yourself, using the repositories and manifests at https://github.com/xperiasailors/.

Feel free to ping maikoool on irc if your want write access on any of the repositories there. You can of course also do a pull request on Github.

maikoool was the latest one working on this port, in April 2016.


[edit] Some info for flashing

If you build a sailfish image, this will not include recovery. CM-12.1 stock recovery cannot be used because of some checksum error.

Since the Z3c does not have a bootloader recovery option, you will need to flash TWRP recovery or similar other recovery using fastboot. You can get one at http://nut.xperia-files.com/ by uploading your stock CM boot.img there.


If you want to return to Android, use fastboot to flash your original boot.img. No changes to Android should have been made by flashing SailfishOS.

If you want to reclaim the diskspace used by sailfish, remove the /data/.stowaways/sailfishos/ folder.

Personal tools