• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

Aplexw

Member
Jul 20, 2012
17
1
Zalau
Please refer to the original post and step 10 from the install instructions, you need to open the artifacts zip and flash the zip inside that archive. I don't think there's anything I can do about how the CI packages build artifacts.
Also there's no .img files in that zip as the rootfs archive gets extracted to a directory under /data, so that's impossible.
Thank you. It worked:D
 

kaulian

Member
Apr 23, 2011
10
1
Hello,
I am considering changing my old Jolla 1 for a oneplus5 (I used the oneplusX sailfishos port for 2 years with pleasure)

Are there any blocking points on this port of sailfishos for a daily usage (I don't care about android support)

What is the future with the history of the end of OBS and version 3.4 and next of sailfishos?

Thank you
 

kaulian

Member
Apr 23, 2011
10
1
Hi (again)

So i just got my oneplus5

I downgrade to oxygen9 and flash it and that's work very good.

But bluetooth seems broken.

In lineage it's OK, but in sailfishos, when i try it in settings, the page is empty.

Any idea ?

Thanks
 

decon4

New member
Oct 29, 2019
2
0
Thank you so much! :)
Besides having to reconfigure my wifi connection again the upgrade went without problems! Very much appreciated!
 

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.
 

deathmist

Senior Member
Jun 2, 2019
65
186
Hi! Does this port will be updated to Sailfish 4?
Yes, and I've already successfully updated & booted a local aarch64 SFOS 4.0.1.48 build. I'm waiting for OBS to get aarch64 target support (we'll see how long that whole thing will last) and I'm also curious how an upgrade from the previous armv7hl builds will go.

Additionally I've been dabbling with upgrading the Hybris HAL base from Pie (16.0) to Q (17.1), but I've not yet been successful. When I have more time in the near future I'll certainly spend some more time on it.
 
  • Like
Reactions: SirRGB and decon4

seandpa

Senior Member
Aug 5, 2017
94
4
Feilding
Have installed this SailfishOS onto my oneplus5 and KT looks good, I'm not sure its of level I could trust to use as my daily driver but very promising, I did find the web browser was very slow. I haven't tried the switch-boot as yet. There was an issue trying g to log in to the app store until I rebooted too. Keep the awesome work going
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    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 (physical back buttons may or may not work depending on the app)
    • 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 (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 5, ROM for the OnePlus 5

    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
    10
    Pie rebase

    Good news: I started messing around with 16.0 Pie base and cellular data during my SFOS 3.3 upgrade testing just now, and cellular data works on the Pie base using dummy_netd!
    Expect a base upgrade from 15.1 Oreo -> 16.0 Pie on the next SFOS upgrade as well unless I find something else of importance that is still broken :fingers-crossed:
    I'll give more details on the upgrade process when we get there but expect a full /data wipe at least -> prepare to backup all your stuff! :)
    7
    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!
    3
    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!
    2
    Hi! Does this port will be updated to Sailfish 4?
    Yes, and I've already successfully updated & booted a local aarch64 SFOS 4.0.1.48 build. I'm waiting for OBS to get aarch64 target support (we'll see how long that whole thing will last) and I'm also curious how an upgrade from the previous armv7hl builds will go.

    Additionally I've been dabbling with upgrading the Hybris HAL base from Pie (16.0) to Q (17.1), but I've not yet been successful. When I have more time in the near future I'll certainly spend some more time on it.