FORUMS
Remove All Ads from XDA

[ROM][26May][GNU/Linux] Sailfish OS 2.0.1.11 (community port)

21 posts
Thanks Meter: 82
 
Post Reply Email Thread
Announcing Sailfish for the Sony Xperia Z3 Compact!

This is not Android!
This should be thought of as a development experiment. It may be useful if you are a developer and want to write/port apps the the Sailfish operating system. It is not an end-user product, however, if you wish to experiment and try something different then feel free!
Please do not contact Jolla Care or Jolla Developer Care, as this is not the Jolla phone.

Special thanks to:
  • rss351 and locusf for the collaborative effort in porting SailfishOS to the Z3 compact
  • Everyone from the SailfishOS team/community, sledges and mal- in particular.
  • All Cyanogenmod devs, since SailfishOS uses drivers from Cyanogenmod to talk with the phone's hardware

Known issues:
  • Bluetooth isn't turned on, cause i've put no effort in for that so far
  • Camera doesn't work, cause it's not hooked up to interface.
  • No recovery inside hybris bootimage (you need to flash manually to return to cm/use recovery)
  • Sensors dont work (auto-adjust brightness, etcetera)
  • The Jolla account/store functionality is not enabled. This is being worked on by Jolla. In the meantime: use openrepo's warehouse (see bottom of this post)

What works:
  • Booting, basic usage of the OS itself (browsing, etc)
  • Texting, calling, data over mobile network (2g and 3g tested, 4g should work but is untested)
  • Wifi (both 2,4 and 5 GHz)
  • Power management seems to work fine (not tested much though)
  • Looking around and getting a feel for SailfishOS
  • Using your phone to develop and debug SailfishOS apps.

Installation guide/checklist:
  • Insert default warranty void message here. Your warranty is now void :P
  • Make a backup (just to be sure)
  • Depending on what you need from your phone, this may not be a rom suitable for daily driving with. But installation is non-destructive to your existing rom, so if you're curious, give SailfishOS a try
  • I have not tested this on locked bootloaders, but since I needed to modify the kernel, I guess that you need an unlocked bootloader.
  • Note this is not an official Sailfish OS build, and the Xperia Z3c is not a Jolla phone, so please don't report bugs to Jolla. If you want to report a bug, this thread is perfectly fine for that.
  • BEWARE: this image is NOT optimized for security. The phone boots in development mode by default. There is a root shell on telnet port 2323. This is not secure and will give anyone who wants it remote access to your phone. When the port matures this will be fixed.
  • The Sailfish OS image does not provide recovery, and since the Xperia Z3c does not have a recovery partition, you need a bootimage with recovery on it to flash cm/stock/sailfishos upgrade. I highly recommend using Nut's Xperia files for this. Use the boot.img from your Cyanogenmod installation.
  • The Sailfish OS image is based on a recent version of Cyanogenmod 12.1, so update your Cyanogenmod installation while you are at it. Use cm-12.1-20160523-NIGHTLY-z3c.zip if you encounter issues with other versions. Using another rom is not guaranteed to work, even if this rom is based on Cyanogenmod.
  • You can find the required zip in this Mega folder: https://mega.nz/#F!ucoRnDjD!WAHNWgxLQX5SK1Vdu8MRWw
  • Use your favorite recovery (but not CM's recovery since that checks for signatures, which this image does not have) to flash the zip.
  • If you want to return to Cyanogenmod, extract boot.img from your cm-12 zip and flash that with fastboot. Alternatively you can restore a previous backup. There is no need to re-flash Cyanogenmod because it was not removed by installing SailfishOS. You can remove the /data/.stowaways/sailfishos/ folder afterwards to reclaim disk space.


FAQ
You can find a FAQ which mentions most common user questions for SailfishOS here: http://forum.xda-developers.com/joll...vices-t2727330 . It's mainly aimed to the Nexus 4 and 5, but it's fairly applicable for all other ports as well.

Contributing
If you think this is awesome, and want to help fix the issues currently open: come by in #sailfishos-porters on irc.freenode.net!

Sources
You can find all used source code (may not be up-to-date to the latest image, but all key components are there) here: https://github.com/xperiasailors/

Installing OpenRepos warehouse
OpenRepos warehouse is like what F-Droid is versus Google's Play store. An unofficial, community-driven repository of open source apps.
Go to settings->developer options and set a password. Then open a terminal or connect over ssh to your phone (ssh [email protected]_of_phone).
Download the latest version of the warehouse app from here: https://openrepos.net/content/basil/...use-sailfishos
When you are asked to terminate packagekit anywhere in the steps below, answer yes.
Code:
$ devel-su
# zypper rr adaptation0 
# zypper in <location_of_rpm_you_downloaded>
After this Warehouse app will be in your app launcher.
The Following 7 Users Say Thank You to maikoool For This Useful Post: [ View ] Gift maikoool Ad-Free
 
 
26th May 2016, 11:41 PM |#2  
Impressive work!

Sent from my Sony Xperia Z3 Compact using XDA Labs
26th May 2016, 11:55 PM |#3  
Senior Member
Flag The back of a truck
Thanks Meter: 61
 
More
Just having a go now.

Edit: just stayed on sony screen. Would it be because I came from SLiMM 1.8 ROM and not from a CM based ROM?
27th May 2016, 09:22 AM |#4  
OP Junior Member
Thanks Meter: 82
 
Donate to Me
More
Quote:
Originally Posted by mrrflagg

Just having a go now.

Edit: just stayed on sony screen. Would it be because I came from SLiMM 1.8 ROM and not from a CM based ROM?

Probably, yes.

SailfishOS uses libhybris for hardware communication, which in turn uses the existing Cyanogenmod installation for drivers and proprietary blobs. But hybris is compiled against a certain Cyanogenmod version, so using other roms as a base might fail.

I've updated the TS and put the exact CM version I used in there, that should work fine.
21st December 2016, 11:48 AM |#5  
Junior Member
Thanks Meter: 0
 
More
There are any news? The project is in development?
21st December 2016, 11:51 AM |#6  
OP Junior Member
Thanks Meter: 82
 
Donate to Me
More
Quote:
Originally Posted by Alexander3273

There are any news? The project is in development?

No news, I don't spend much time on this port, every now and then I fiddle around with it an evening.

I'm currently trying to get AOSP based Sailfish port because Cyanogenmod for Z3c seems unmaintained, but progress is very slow.
The Following 2 Users Say Thank You to maikoool For This Useful Post: [ View ] Gift maikoool Ad-Free
21st December 2016, 12:41 PM |#7  
Junior Member
Thanks Meter: 0
 
More
Thank you for the info. Do you know when a version (sailfish port) comes out?
12th January 2017, 06:41 AM |#8  
Junior Member
Thanks Meter: 7
 
More
Hello! Thanks for your work. May i know the progress ?
12th January 2017, 08:11 AM |#9  
Senior Member
Thanks Meter: 44
 
More
it would be great to see a real "european" OS coming out of the dust...
i hate the thought that any company from the other side of the atlantic are wheels in the monster of patriot act...
14th March 2017, 12:09 PM |#11  
explit's Avatar
Member
Berlin
Thanks Meter: 6
 
More
Yes, look here:
https://nokius.net/SFOS/scorpion/PreAlpha/

But still no Cam, no BT, No Sensors and No video playback
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes