[ROM][GNU/Linux][OTA][3.4.0.24] Sailfish OS for OnePlus 5T

Search This thread

deathmist

Senior Member
Jun 2, 2019
65
186
It seems that the fingerprint sensor on 5T with Sailfish OS doesnt work. At the first start after the installation I could create a new fingerprint and it worked. But after a restart it seems that the device isnt recognizing the sensor.
But everything else is awesome! :D

I think there is some race condition that activates randomly when you boot, sometimes the fingerprint sensor, haptics in pulley menus and iirc some other things didn't work either; I honestly have no idea what causes this strange behavior :/
You can try rebooting the device a few times to see if it helps, but I really can't give any better advice for now sadly.
 
  • Like
Reactions: -scryptic-

Dgonix

Senior Member
Aug 10, 2013
134
15
Mistake
 

Attachments

  • Screenshot_1971-04-25-15-17-17.png
    Screenshot_1971-04-25-15-17-17.png
    170 KB · Views: 303

stoefelz

Member
Mar 19, 2019
7
1
Fingerprint

I dont know if it is helpful (I have no idea from porting sfos) but this Github page github.com/piggz/sailfish-fpd-community says that the fingerprint needs a device specific sailfish-fpd-slave package.
On the Xperia XA2 it is preinstalled but on the Oneplus 5T the package search "pkcon search sailfish-fpd-slave" cannot find the package.
Could it be possible that this cause the fingerprint problem?
 

Dgonix

Senior Member
Aug 10, 2013
134
15
SailfishOS 3.4 released.
Jolla has published the release of the Sailfish 3.4 operating system.
It is available as an OTA update. Sailfish uses a graphical stack based on Wayland and the Qt5 library, the system environment is built on the basis of Mer, which has been developing since April as an integral part of Sailfish, and packages from the Mer distribution Nemo. The user shell, basic mobile applications, QML components for building the Silica GUI, a layer for launching Android applications, a smart text input engine and a data synchronization system are proprietary.
In the new version:
Changes prepared by the developers of the mobile operating system "Aurora" (a fork of Sailfish OS, developed by the company "Open Mobile Platform"):
Provided the ability to develop components and applications in the Rust language.
Added experimental support for 64-bit architecture.
Redesigned interface for receiving incoming calls. You can use a horizontal sliding gesture to receive a call, and an upward shift to reject.
Implemented the ability to use the device by several users. Up to 6 additional users can be added on one device to share the phone.
- Added the ability to create temporary guest users without a separate account and with limited rights.
Improved implementation of screen lock. For all new devices (Xperia X / XA2 / 10), home directory encryption is enabled by default. Provided the setting of the access code when the device is first started. Entering the passcode (if activated) is now mandatory after boot (fingerprint verification is not enough).
The browser engine in Sailfish Browser has been updated to Mozilla Gecko 52.
- Hardware accelerated video decoding is provided in the browser via Gecko Media Plugin.
Improved Exchange account setup. Synchronization of mail folders between Exchange and IMAP has been implemented.
The interface for adding and editing address book elements has been modernized.
Improved automatic backups to cloud services.
Improved sync and collaboration based on Nextcloud platform.
Optimized the scanning process for available wireless networks (reduced system load and increased battery saving).
Expanded VPN settings: added the ability to define default routing (whether to route all traffic through VPN or not).
Improved performance of spreadsheet and presentation viewers. Opening large Excel spreadsheets is now 4 times faster. Improved pinch zoom responsiveness.
Added support for configuring Active Sync accounts over MDM.
Changed notification of SMS receipt.
The file manager has been updated. In the storage settings, you can now rename files and catalog.
All SMS messages are now grouped by the date they were received. Added fast scroll mode to jump to the last post in a thread.
Added the ability to rewind or fast forward 10 seconds in the video player.
Added a new Settings> Users menu through which the device owner can create, delete, change and switch additional users or enable a guest user.
Added stricter checks for potential conflicts with a downloadable platform update. Packages that could lead to conflicts or whose replacement could lead to a failure are now displayed as potentially problematic and recommended for removal before continuing with the update installation.
Fixed problems with copying large files (more than 300MB) from PC to SD-card of the device via MTP protocol, as well as problems with transferring files to SD-card via MTP from Linux-based devices.
 
  • Like
Reactions: -scryptic-

deathmist

Senior Member
Jun 2, 2019
65
186
SailfishOS 3.4 released.
Jolla has published the release of the Sailfish 3.4 operating system.
It is available as an OTA update. ...

Why not post a link to the source instead of a very long wall of text? This just makes viewing the thread and scrolling through it more annoying (especially for mobile users)
Also it's not even possible to update a OnePlus 5/5T running Sailfish OS to release 3.4 yet since the update has not been released on OBS yet. I make update posts anyway when they're ready.
Additionally Jolla's plan is to shut down OBS in the future so I'm not sure for how long OTAs of the port will even be possible anymore.
When that happens and if there's no proper alternative other than releasing local builds which will be impossible to update without reflashing everything I may just stop working on the project entirely :(
EDIT: Apparently updating to SFOS 3.4 is possible, however I am unable to help currently if anything stops working properly as us (porters) don't have update repos for that release on OBS as I mentioned previously.
 
Last edited:

luisiy0

Member
Jan 26, 2017
5
0
the link to twrp b3310 doesn't work ... would everything work fine if I install twrp3400? I only see that version available on the official twrp website

Thanks for the work
 

deathmist

Senior Member
Jun 2, 2019
65
186
the link to twrp b3310 doesn't work ... would everything work fine if I install twrp3400? I only see that version available on the official twrp website

Thanks for the work

Ah it seems they merged the TWRP releases of 5/5T now. I'm not sure as I've not tested but you can try, it should work fine.
If it doesn't it's likely that my previous "ro.omni.device" prop check will prevent it and you'll have to edit the update-binary (actually a script file) inside the install zip and manually add the change from this commit (ignore the removals)
You won't have to do this manually soon as that commit will be present on the SFOS 3.4.0 zips that I'm working on :)
 
  • Like
Reactions: -scryptic-

D-J97

Member
Feb 7, 2018
48
2
Hey dude, I think I'm going to give this a go tonight, I've been itching to get Linux on my phone and I think this'll be as close as I can get. Quick question, I've seen lineage official has moved to nightly 17.1 builds for the 5T, have you any plans of rebasing this on Android 10? Or will you be sticking with Pie for the foreseeable future?
 

deathmist

Senior Member
Jun 2, 2019
65
186
Hey dude, I think I'm going to give this a go tonight, I've been itching to get Linux on my phone and I think this'll be as close as I can get. Quick question, I've seen lineage official has moved to nightly 17.1 builds for the 5T, have you any plans of rebasing this on Android 10? Or will you be sticking with Pie for the foreseeable future?

When Q based HAL can work with hybris / SFOS, I'll certainly update the base. It also makes sense since that's the current latest firmware for the devices.
 
  • Like
Reactions: -scryptic-

D-J97

Member
Feb 7, 2018
48
2
When Q based HAL can work with hybris / SFOS, I'll certainly update the base. It also makes sense since that's the current latest firmware for the devices.
Awesome thanks, if I had the time/knowledge I'd have rather gone for something like your PMOS port but according the the wiki everything is working on this sailfish port. Thanks for all your work on keeping this device alive! It's awesome that Linux is available in one form or another!
 

stoefelz

Member
Mar 19, 2019
7
1
I dont think we would benefit from upgrading the base to Android 10. It seems the Update to Android 10 brings more problems than it solves (in the OPForum the useres aren't amused).
 

naaadiaa

New member
Aug 24, 2010
4
0
I have a sim cad issue. one sim card is working fine (if used alone) when i insert either that particular SIM card or both sim cards, there is a problem. the OS doesnt recognize that any sim has been registered. i am unable to make any call. However when i make call from other phone to that phone the call goes through but there is no notification on the sailfish OS. Help in this regard is appreciated.
 

deathmist

Senior Member
Jun 2, 2019
65
186
I have a sim cad issue. one sim card is working fine (if used alone) when i insert either that particular SIM card or both sim cards, there is a problem. the OS doesnt recognize that any sim has been registered. i am unable to make any call. However when i make call from other phone to that phone the call goes through but there is no notification on the sailfish OS. Help in this regard is appreciated.
Hmm, I'll have to take a look; I've not tested dual SIM functionality before since I personally only use 1 SIM, but I'll see what I can do.
 
  • Like
Reactions: -scryptic-

Mr.Conkel

Senior Member
Oct 10, 2020
187
47
London
Nexus 7 (2013)
OnePlus 5T
I might sound like a broken record here but I've been considering switching to this Os it'd be a nice change from Android but I use lots of socials and small banking tools daily, is there much if any app support for this? Because I can't see myself giving up these apps.
 

deathmist

Senior Member
Jun 2, 2019
65
186
Quick update
Sensors were fully broken on the previous 3.4.0 build, but not to worry: you can fix this with a quick update from the repositories as follows:
Code:
devel-su
zypper ref
zypper dup
systemctl restart sensorfwd
I've also updated the zip (dated 2020-12-16) on CI so new users won't have to see this issue.
 
  • Like
Reactions: -scryptic-

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    This work is released under the permissive MIT license.

    6lIuAZv.png


    (click above image for higher resolution and quality images!)

    Code:
    #include <std_disclaimer.h>
    /*
    * I am NOT responsible for data loss, you getting fired because the alarm app failed or if you brick
    * your device. Please do some research if you have any concerns about features included in this OS
    * port before flashing! YOU are choosing to do these modifications, and if you point the finger at me
    * for messing up your device, I will laugh at you.
    * BOOM goes the dynamite!
    */

    Hello, fellow XDA developers & users alike!
    I think it's been long enough that we've not had alternative non-Android operating systems in a usable state for the popular OnePlus 5* devices, so here is a Sailfish OS port after over 6 months in development!

    I'd really appreciate it if you give feedback and report bugs so I can attempt to fix them as best I can 🤞



    Features
    • Slick and clean Sailfish OS UI/UX
    • Fully gesture driven navigation of the OS
    • Ambiences: a combination of system background, primary UI colors, sounds & volume levels
    • Sleep mode gestures e.g. double-tap to wake, music controls, 'V' for toggling flashlight etc
    • Ability to control configurable ambiences with the notification slider
    • Independent & alternative OS not based on Android (droid base is only used for drivers & HAL in SFOS)
    • Run regular GNU/Linux (armhf) tools and utilities natively out of the box from Jolla, OpenRepos, other custom repositories or direct binary format
    • Privacy-first OS with no spyware or bloatware pre-installed
    • Dual-booting between LineageOS & Sailfish OS with a simple zip flash in recovery (boot-switcher, linked below)
    • OS version OTAs, look at the merproject wiki page (see 'OTA updates' below)
    • A stable hardware adaptation (port) with basically everything working, but please also read about the problems right below
    • And more to explore...


    Problems
    • No Android apps (APK) will run inside Sailfish OS as is the norm with community ports; you can just dual-boot with LineageOS (see FAQ below)
    • There is no VoLTE / VoWiFi support in SFOS at the moment (see FAQ below)
    • Even though NFC works, it's implementation is quite basic in Sailfish OS currently
    • Produced video recordings from the camera are unusable right now due to corruption of the beginning in recordings & artifacts when moving even slightly
    • Flashlight misbehaves for picture taking by taking too long to activate and causing nearly pitch black images (it also turns on/off rapidly a few times when disabling)
    • Some audio does not get routed properly to/from (Bluetooth) headsets
    • Sailfish OS Developer mode (SSH via USB cable) doesn't work
    • Rarely waking up from sleep mode can take a long time (up to about 15 seconds)


    How to install
    1. Backup all your data from the device to a computer
    2. Download Pie Firmware 9.0.11, TWRP 3.4.x image, the LineageOS 16.0 base ROM & a Sailfish OS release
    3. Install device firmware version 9.0.11 (not the ROM!)
    4. Flash TWRP 3.4.x as your recovery
    5. Reformat /data to ext4 and check it for issues
    6. Reboot to recovery
    7. Wipe cache & dalvik
    8. Flash LineageOS 16.0
    9. Flash anything else you normally flash for Android e.g. GApps, Magisk, no dm_verity etc
    10. Flash Sailfish OS (the zip that contains rootfs.tar.bz2) from inside CI artifacts archive
    11. Reboot and enjoy!
    You can also flash my boot-switcher zip (or switch between hybris-boot and droid-boot images created on /sdcard) afterwards for simple dual-booting of the 2 operating systems!


    Links & source
    sailfishos-oneplus5: All project repos & source
    important: Info and detailed guides about flashing, self-building etc
    android_kernel_oneplus_msm8998: The used kernel source
    sailfishos.org: General info about the OS as well as contributing, translation, app development etc



    Changelog
    wiki.merproject.org: Place with general info about the port status, OTAs etc
    droid-config commits: Stuff modified on the Sailfish OS side



    OTA updates
    See "OTA (Over-the-Air) update" section under the libhybris adaptation wiki page.


    Special thanks to
    kimmoli for gesture-daemon & triambience
    nathanchance for maintaining the OP5 linux-stable merged kernel tree
    Mister_Magister, mal, r0kk3rz, rinigus, PiggZ, spiiroin, jusa, vknecht, NotKit and everyone else at #sailfishos-porters
    The port was made possible thanks to you all!



    FAQ
    What does "SFOS" mean?
    Sailfish OS; it's simply a common abbreviation.

    Can I run [insert name here] Android app in Sailfish OS?
    If there is no currently maintained client or similar app in the Jolla Store or (my preference) OpenRepos, then probably not. I may look into bringing Android app support via Anbox or similar project much later on; no ETAs.

    Does VoLTE or VoWiFi work in Sailfish OS?
    As of SFOS 3.4.0, these are still not implemented, but should be coming later in perhaps Sailfish OS 4.

    How can I skip the SFOS beginner tutorial?
    Tap each corner of the screen once starting from top-left going clockwise.

    I found a bug, what can I do?
    See "Report bugs" section under the libhybris adaptation wiki page.

    XDA:DevDB Information
    [ROM][GNU/Linux][OTA][3.4.0.24] Sailfish OS for OnePlus 5T, ROM for the OnePlus 5T

    Contributors
    deathmist
    Source Code: https://github.com/sailfishos-oneplus5

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    ROM Firmware Required: 9.0.11 (Pie)
    Based On: LineageOS 16.0

    Version Information
    Status:
    Stable
    Current Stable Version: 3.4.0.24 (Pallas-Yllästunturi)

    Created 2020-01-17
    Last Updated 2020-12-10
    14
    Fingerprint sensor enablement for the project

    Yep, it has happened; the fingerprint sensor is now fully functional and integrated into Sailfish OS thanks to community efforts!
    New users don't have to do anything special as I've updated the SFOS 3.3 zip you can download straight from the porters CI!
    Existing (SFOS 3.3) users however have to run the following in a terminal to get the same enablement:
    Code:
    devel-su
    # enter your SSH password from Settings > Developer tools
    zypper ref -f
    zypper dup
    # choose solution 1 to deinstall conflicting encsfa packages
    reboot
    After this you can just head to Settings > Device lock > Add fingerprint and follow the instructions to enroll new fingerprints :)
    Let's hope this all works out on the 5T as well because I can only test on the regular 5 myself :fingers-crossed:

    NOTE: Keep in mind simply pressing on the sensor once when the screen is off will just wake up the device to the password prompt and you have to press your finger down AGAIN to actually identify with a saved fingerprint.
    12
    Upgrade to Sailfish OS 3.3.0 (Rokua)

    Hello everyone!

    The port has now been upgraded to SFOS 3.3.0 and HAL components are now all based on Android 9 Pie! :cool:
    Check out the details of this release here!
    5
    Upgrade to Sailfish OS 3.4.0 (Pallas-Yllästunturi)

    Hello everyone!

    The port has now been upgraded to SFOS 3.4.0! :)
    Check out the details of this release here!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone