SailfishOS for lux

Status
Not open for further replies.
Search This thread

Keij0

Senior Member
Mar 19, 2015
100
202
fKthGMN.png

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
35
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

Senior Member
Jun 3, 2013
1,268
1,293
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
100
202
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

Keij0

Senior Member
Mar 19, 2015
100
202
Could somebody provide me with the output of this command over private message?
Code:
ssu s
 

macexplorer

Senior Member
Jul 20, 2009
52
7
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

Senior Member
Jun 3, 2013
1,268
1,293
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
100
202
Check status of firmware.service and firmware.mount with devel-su systemctl status, but set your root password in development options prior to that
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    fKthGMN.png

    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
    5
    Stable2 is out with fixed audio playback and 2.2.0.29 version bump.
    4
    SailfishOS 2.1.2.3 built and waiting for upload. OTA and more fixes coming soon.

    EDIT: Nope, hack broke, delaying release.
    4
    Uploading build with bluetooth fixed.
    4
    New release is out, bumped version to 2.2.1.18