• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

SailfishOS for lux

Keij0

Senior Member
Mar 19, 2015
98
202
0

SailfishOS for Moto X Play(lux) by VerdandiTeam

Warning: Flashing this may void your device’s warranty, lead
to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore
must be done entirely at your own risk. No one affiliated with this project is responsible for your
actions but yourself.
Not working/bugged:

  • Sensors (somentimes proximity doesn't work, might be my tempered glass)
  • Camera doesn't start the first time you open the app, close it and reopen after you see the UI, it can also lock the orientation, if you experience it, lock the device, flip it into desired orientation and unlock (this is a priority bug right now and the only debugging this port gets now is to fix this scum)
  • On my device WiFi doesn't work at times and reqires devel-su modprobe -r wlan; devel-su modprobe wlan (if you experience this as well, report it immideately)


F.A.Q.

Q: Can I install android apps? Android support?
A: No! This is a pure Linux without Java on board, so unless I say you can do it, you can't.

Q: Is the app xyz available?
A: Google it or check here

Q: Is xyz working?
A: Check OP

Q: Will next build be based on 5.1.1/6.0? Can I use different android zip?
A: No, you can't use another zip until I say so. You shouldn't even care about this, you aren't running android after all.


HOW TO REPORT BUG
After bug occurs type in the terminal following commands:
/usr/libexec/droid-hybris/system/bin/logcat
devel-su dmesg
devel-su journalctl
and give me logs from there (do not paste it in the post! Use pastebin.com) devel-su will ask yo...05422]the latest release of cm-12.1 from here
- download rootfs
- [OPTIONAL] flash Jolla bootlogo :)
- wipe
- flash provided cm-12.1
- reboot recovery
- unmount /data/
- flash rootfs
- enjoy

OTA Guide
Run this in terminal. It will ask you for password you can set in developer mode. Last command reboots the phone. You can do it manually, but beware. All bugs encountered before reboot are features!
Code:
devel-su ssu re 2.2.0.29
devel-su ssu ar adaptation-community http://repo.merproject.org/obs/nemo:/testing:/hw:/motorola:/lux/sailfishos_2.2.0.29/
devel-su ssu ar adaptation-community-common http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_2.2.0.29/
devel-su zypper clean -a
devel-su zypper ref -f
version --dup
devel-su reboot
Changelog:

Beta 1:
- First public build
Beta 2:
- *hopefully* fixed RIL
Beta 3:
- fixed WiFi
- experimental DualSIM support
Beta 4:
- missing changelog, probably fixed RIL
Beta 5:
- bumped SailfishOS version to 2.1.3.7
- built-in OTA for future updates
- fixed bluetooth for real
Stable 1:
- bumped SailfishOS version to 2.4.1.14
Stable 2:
- bumped SailfishOS version to 2.2.0.29
- fixed sound playback


Many thanks to Mister_Magister, mal and other people from #sailfishos-porters on freenode for making this possible.

XDA:DevDB Information
[lux] SailfishOS, ROM for the Moto X Play

Contributors
Keij0, Mister_Magister
Source Code: http://github.com/Keij0

ROM OS Version: 5.1.x Lollipop

Version Information
Status: Beta

Created 2017-05-14
Last Updated 2018-07-21
 
Last edited:

spetrum

Senior Member
Jul 1, 2016
411
373
63
32
Porto Alegre
Sorry, but you could have been more cordial.

But I make the test too umount /date and also had the same problem.

I was able to flash after modifying the updater-script:
Code:
ui_print("Running installation script ...");
set_metadata("/tmp/updater-unpack.sh", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
run_program("/sbin/sh", "/tmp/updater-unpack.sh");
But I did not have a boot, it stopped at bootlogo.

I'm using the model XT1563 32GB. My recovery is TWRP 3.1.0-r1, OP was not inform version of recovery tested or required.
 
Last edited:

Mister_Magister

Elite Member
Jun 3, 2013
1,178
1,252
113
Sorry, but you could have been more cordial.

But I make the test too umount /date and also had the same problem.

I was able to flash after modifying the updater-script:
Code:
ui_print("Running installation script ...");
set_metadata("/tmp/updater-unpack.sh", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
run_program("/sbin/sh", "/tmp/updater-unpack.sh");
But I did not have a boot, it stopped at bootlogo.

I'm using the model XT1563 32GB. My recovery is TWRP 3.1.0-r1, OP was not inform version of recovery tested or required.
Try to reboot recovery after installing cyanogenmod and then install UNMODIFIED SailfishOS zip :)
 

Keij0

Senior Member
Mar 19, 2015
98
202
0
Forgot to add it to OP. If you want to install rest of the jolla apps, run this in terminal.
Code:
pkcon install sailfish-office jolla-calculator jolla-email jolla-notes jolla-mediaplayer jolla-calendar sailfish-weather
 
  • Like
Reactions: DragonClawsAreSharp

macexplorer

Senior Member
Jul 20, 2009
51
7
0
Could somebody provide me with the output of this command over private message?
Code:
ssu s
Hi
Just tried this on my X Play. This is the output of the command (did not type out the uid):

WARNING: ssu.ini does not seem to be writable. Setting values might not work
DBus unavailable. UUID not necessarily connected to reality.
Device registration status: not registered
Device model: Moto X Play (lux / lux)
Device UID: ...
Release: 2.1.0.11
Domain: sales
 

Mister_Magister

Elite Member
Jun 3, 2013
1,178
1,252
113
Hi
Just tried this on my X Play. This is the output of the command (did not type out the uid):

WARNING: ssu.ini does not seem to be writable. Setting values might not work
DBus unavailable. UUID not necessarily connected to reality.
Device registration status: not registered
Device model: Moto X Play (lux / lux)
Device UID: ...
Release: 2.1.0.11
Domain: sales
We did say to write this over PM. You know why? Because of UID. We need UID
 

Keij0

Senior Member
Mar 19, 2015
98
202
0
Check status of firmware.service and firmware.mount with devel-su systemctl status, but set your root password in development options prior to that