• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM+Kernel][OMS][EXPERIMENTAL] Unofficial Sultan LineageOS 14.1 with OMS

Status
Not open for further replies.
Search This thread

matssa

Senior Member
Jan 8, 2015
1,817
1,898
Code:
/*
 * Your warranty is... still valid?
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *
 */


This thread is not maintained anymore since I switched to the OP5. However, you can still check my github for those who wants to build. Thanks to everyone, and see you soon!




Important information:

I made this thread in order to avoid the off topic in the official Sultan LineageOS thread by @Sultanxda.

The ROM that I propose is an experimental build using the official unified Sultan LineageOS 14.1 ROM+kernel including extra stuff, which can be found on the third post of this thread.

I can add some extra stuff, ONLY if you explain what you want to add, if you know where I can find the source code (github link is perfect), and after validation by me and by a poll. However, I don't want to add too much bloat in order to avoir bugs and merging issues. See post 3 to see the extra features.

I share all of my building information in order to help the users know what is included and how to reproduce. However, if you share your builds, please quote this thread in order to give the correct credits to the correct persons.


The following will not be supported here:
  • Custom kernels
  • Mods
  • Xposed

I am not a dev, I only build the ROM. If you have any issues, please test using the original build from this thread.



Known bugs
  • "oppo.verify_trustzone" error when installing the ROM --> Use the correct firmware found in this thread.
  • Extra slider stuff can be a little bit buggy


Installation
  1. Download the zip
  2. Install a compatible Recovery (TWRP is recommended)
  3. Perform a nandroid backup of your current ROM (Optional)
  4. Wipe /data and /system for a clean install
  5. Flash the ROM
  6. Flash the Google Apps addon package, only if clean flash! (micro or nano)
  7. Flash Magisk or SuperSU or the LineageOS su addon package if root is needed
  8. Reboot

Updating the ROM is possible via the built-in OTA updater (it will download the whole ROM package so beware!), either by downloading manually the ROM and dirty-flashing without wiping anything (except cache after installation).



Download
XDA DevDB



Sources
Source Code:
https://github.com/sultanxda
https://github.com/Matssa56


Credits
  • CM team
  • LineageOS team
  • Substratum team
  • @dianlujitao
  • @siankatabg
  • @Sultanxda
  • everyone else that helped me :)

XDA:DevDB Information
Unofficial unified Sultan LineageOS 14.1 ROM with OMS for the OnePlus 3, ROM for the OnePlus 3

Contributors
matssa
ROM OS Version: 7.x Nougat
Based On: LineageOS

Version Information
Status: Beta

Created 2017-04-20
 

Attachments

  • Phone_status_1.png
    Phone_status_1.png
    116.7 KB · Views: 14,247
  • Phone_status_2.png
    Phone_status_2.png
    156.7 KB · Views: 14,011
  • Dash_Charge.jpg
    Dash_Charge.jpg
    125.1 KB · Views: 14,053
  • OOS_Camera.jpg
    OOS_Camera.jpg
    237.5 KB · Views: 14,016
  • Proxy_speakerphone_1.png
    Proxy_speakerphone_1.png
    96.2 KB · Views: 13,951
  • Proxy_speakerphone_2.png
    Proxy_speakerphone_2.png
    99.3 KB · Views: 13,761
Last edited:

matssa

Senior Member
Jan 8, 2015
1,817
1,898
Changelog
Please note that the changelog generated has all changes made in the last day. Several changlogs can have the same commits since I'm not building everytime at the same hour, and sometimes several ROMs per day.
Build: 2017-06-23
Code:
 ▼ 06/23/2017

Project name: frameworks/base/
  * b67967a SystemUI: Network Traffic [1/3]
  * 57d77b1 Merge branch 'cm-14.1' of github.com:LineageOS/android_frameworks_base into cm-14.1-OMSrootless2
  * 260e7f3 Automatic translation import

Project name: hardware/qcom/fm/
  * 4c2e39e Automatic translation import

Project name: lineage/cve/
  * 3762fa0 cve_tracker: make status descriptions smaller to alleviate space issues
  * 90b0552 classes: fix spacing on hashbang

Project name: lineage/mirror/
  * 6ccc3bc Updated to 22-Jun-2017 21:18:33 UTC

Project name: lineage/updater/
  * b4caf24 Fix typo from afd0835

Project name: lineage/wiki/
  * 35138c4 Add gmrt to Committers

Project name: packages/apps/Bluetooth/
  * 7f2b5c8 Automatic translation import

Project name: packages/apps/CMBugReport/
  * 2a50a65 Automatic translation import

Project name: packages/apps/CMParts/
  * 69addb9 CMParts: Network Traffic [3/3]
  * 403ac8d Automatic translation import

Project name: packages/apps/Calendar/
  * ca094f3 Automatic translation import

Project name: packages/apps/CellBroadcastReceiver/
  * ebf9e97 Automatic translation import

Project name: packages/apps/Contacts/
  * 5c3755a Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_Contacts into cm-14.1-OMSrootless2
  * e4db886 Automatic translation import

Project name: packages/apps/ContactsCommon/
  * a6a7758 Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_ContactsCommon into cm-14.1-OMSrootless2
  * 136471a Automatic translation import

Project name: packages/apps/CustomTiles/
  * 9c8fcd2 Automatic translation import

Project name: packages/apps/Dialer/
  * ac0210e Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_Dialer into cm-14.1-OMSrootless2
  * 49d45fd Automatic translation import

Project name: packages/apps/FMRadio/
  * 900759c Automatic translation import

Project name: packages/apps/Jelly/
  * dd23317 Automatic translation import
  * 818e92d Jelly: Guess filename from URL
  * 1a4f237 Jelly: Allow media scan on download
  * a8fe6fa Jelly: Show download notification on completed

Project name: packages/apps/LockClock/
  * b41c0d7 Automatic translation import

Project name: packages/apps/Messaging/
  * c8e61e5 Automatic translation import

Project name: packages/apps/PhoneCommon/
  * 1d65b87 Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_PhoneCommon into cm-14.1-OMSrootless2
  * 433f6c8 Automatic translation import

Project name: packages/apps/Recorder/
  * 67d5b07 Automatic translation import

Project name: packages/apps/Settings/
  * 6052919 Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_Settings into cm-14.1-OMSrootless2
  * 6f6e045 Automatic translation import

Project name: packages/apps/SetupWizard/
  * 33b4491 Automatic translation import

Project name: packages/apps/Terminal/
  * a2a05d2 Automatic translation import

Project name: packages/apps/TvSettings/
  * 6f07406 Automatic translation import

Project name: packages/inputmethods/LatinIME/
  * 3e047b8 Automatic translation import

Project name: packages/providers/DownloadProvider/
  * 30cc23d Automatic translation import

Project name: packages/resources/devicesettings/
  * 75498f7 Automatic translation import

Project name: packages/services/Telephony/
  * 23b6f58 Automatic translation import

Project name: vendor/cm/
  * 472674b Merge branch 'cm-14.1' of github.com:LineageOS/android_vendor_cm into cm-14.1-OMSrootless2
  * f008618 Add sensitive numbers for Ukraine.
  * b9b2e57 Add Virgin Media Ireland to APN's

Project name: vendor/cmsdk/
  * 962096d cmsdk: Add Network Traffic [2/3]
  * df15137 Automatic translation import

Project name: vendor/cmsdk/samples/weatherproviderservice/YahooWeatherProvider/
  * dd1766a Automatic translation import


 ▼ 06/22/2017

Project name: lineage/cve/
  * 1f2cb4f cve_tracker: close Dialogs on [Esc]
  * a30997e cve_tracker: Check adding/editing CVEs for sane formatting
  * b2d8402 Revert "cve_tracker: Check adding/editing CVEs for sane formatting"
  * 9462e22 cve_tracker: Check adding/editing CVEs for sane formatting
  * 9ff7672 cve_tracker: Various fixes & improvements

Project name: lineage/updater/
  * 9c2c043 updater: remove extraneous brs
  * 9cfb053 updater: update su zips
  * afd0835 updater: stop showing md5s, link to sha1/sha256 in mirrorbits

Project name: packages/apps/Settings/
  * 12011ba Merge branch 'cm-14.1' of github.com:LineageOS/android_packages_apps_Settings into cm-14.1-OMSrootless2

Project name: packages/apps/Snap/
  * b1395c9 Revert "Snap: Hide video pause button"
  * 27b0a6d SnapdragonCamera: Use resume/start based on the SDK version

Project name: vendor/cm/
  * 42ded06 sensitive_pn: Add additional FR number


 ▼ 06/21/2017

Project name: lineage/jenkins/
  * a8e0b24 hudson: Ship weeklies for ham again
  * 765b1a6 jenkins: Re-enable h830, h850, h918, us996, v521

Project name: lineage/updater/
  * 52c60a7 Regenerate device dependency mappings

Project name: lineage/wiki/
  * 53ea4c7 wiki: Fix v521 install method

Project name: packages/providers/MediaProvider/
  * fadf365 MediaProvider: Fix where condition of delete queries

Project name: vendor/cm/
  * f3972a9 sensitive_pn: Add additional GB numbers
  * f2e9a83 sensitive_pn: Add additional PT numbers


 ▼ 06/20/2017

Project name: build/
  * 762ca4d Disable recovery resource warning

Project name: frameworks/base/
  * 7ae6785 SystemUI: Fix task lock & freeform buttons placement
  * 84e6fa9 [1/3] Torch long press power: add auto-off function

Project name: lineage/cve/
  * 58d547d cve_tracker: Fix device repo links
  * 438fc6c cve_tracker: add a devices page
  * 467a3f4 cve_tracker: materialize

Project name: packages/apps/CMParts/
  * eab1c5d [3/3] Torch long press power: add auto-off function
  * e8a2f89 CMParts: Rename button action list handlers

Project name: packages/apps/Settings/
  * e226952 Settings: handle decrypting larger pattern sizes for sw600dp

Project name: system/core/
  * fdea661 init: Run restorecon_recursive asynchronously

Project name: vendor/cmsdk/
  * bdea7f5 [2/3] Torch long press power: add auto-off function


 ▼ 06/19/2017

Project name: hardware/qcom/bt-caf/
  * 6473ddb Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD

Project name: lineage/wiki/
  * 3535799 wiki: add h918/h830 install instruction
  * fe1ae14 devices: maguro: Fix boot key press instructions

Project name: vendor/cm/
  * 9e1a579 sensitive_pn: add missing phone number for Brazil


 ▼ 06/18/2017

Project name: device/qcom/common/
  * 5985a61 power: Use the correct opcode for STOR_CLK_SCALE_DIS

Project name: packages/apps/SetupWizard/
  * d82d392 The bluetooth pairing page cannot be exited, disable it for now.

Project name: vendor/cm/
  * e5969e2 roomservice: Search for repos in lineage snippet too
  * 21b9d39 roomservice: Remove support for devices in main manifest


 ▼ 06/17/2017

Project name: frameworks/base/
  * 4570384 Aapt2: Fix png leak
  * f35e01c Destroy Allocation right away on exception
  * 85090f4 SymbolComparator operator() is missing const
  * bab2a83 StatusBar: Catch OOM caused by third-party icons

Project name: hardware/ril/
  * 5758b0e ril: fix a memory leak.

Project name: hardware/ril-caf/
  * 588e49d ril: fix a memory leak.

Project name: lineage/wiki/
  * ae85e65 wiki: Update Xiaomi's bootloader unlocking instructions

Project name: packages/apps/Settings/
  * c2dc422 Revert "Settings: Fix internal storage summary for non-emulated storage"

Project name: packages/apps/WallpaperPicker/
  * 5b27292 Fix bad wallpaper preview image format

Project name: vendor/cmsdk/samples/weatherproviderservice/WundergroundWeatherProvider/
  * 37e893a Fix missing s/cyanogenmod/lineageos


 ▼ 06/16/2017

Project name: build/
  * 528b46e Revert "Preventing default locale from being overridden because of buildinfo.sh"
  * a4075bf Revert "build: skip 'ro.product.device' using  new macro "TARGET_SKIP_PRODUCT_DEVICE""

Project name: device/oneplus/oneplus3/
  * 2f2841f Merge branch 'cm-14.1-matssa56' of github.com:Matssa56/android_device_oneplus_oneplus3 into cm-14.1-matssa56
  * 29ac756 Merge branch 'cm-14.1-sultan' of github.com:sultanxda/android_device_oneplus_oneplus3 into cm-14.1-matssa56

Project name: frameworks/base/
  * f3c8597 Adopt lockscreen shortcut hint from AOSP

Project name: kernel/oneplus/msm8996/
  * 0c9b7b4 Merge branch 'cm-14.1-sultan' of github.com:sultanxda/android_kernel_oneplus_msm8996 into cm-14.1-matssa56
  * 0468be9 PM / devfreq: Fix typo that caused an infinite loop

Project name: lineage/updater/
  * 8a4f8d3 Add WeatherProviders

Project name: packages/apps/CarrierConfig/
  * 1249ef5 Remove TIM from non-roaming networks list of H3G IT

Project name: vendor/oneplus/
  * 2d021b3 Merge branch 'cm-14.1-matssa56' of github.com:Matssa56/proprietary_vendor_oneplus into cm-14.1-matssa56
  * 29db37a Merge branch 'cm-14.1-sultan' of github.com:sultanxda/proprietary_vendor_oneplus into cm-14.1-matssa56


 ▼ 06/15/2017

Project name: device/oneplus/oneplus3/
  * a02e7a6 Merge branch 'cm-14.1-sultan' of github.com:sultanxda/android_device_oneplus_oneplus3 into cm-14.1-matssa56
  * 339ca30 op3: Pin camera HAL blob

Project name: frameworks/base/
  * eb039a8 Merge branch 'cm-14.1' of github.com:LineageOS/android_frameworks_base into cm-14.1-OMSrootless2
  * f077227 CaptivePortalLoginActivity correctly gets UserAgent
  * 58800f6 Prettify the captive portal sign-in activity

Project name: vendor/oneplus/
  * 3719d94 Merge branch 'cm-14.1-sultan' of github.com:sultanxda/proprietary_vendor_oneplus into cm-14.1-matssa56
  * 0a53956 op3: Hex-edit camera HAL to always disable QuadraCFA mode



Older changelogs

Build: 2017-06-15
Code:
 ▼ 06/15/2017

Project name: device/oneplus/oneplus3/
  * 339ca30 op3: Pin camera HAL blob

Project name: frameworks/base/
  * 17516ec PowerManagerService: only light up buttons if pressed
  * 2b0fe49 SystemUI: Network Traffic [1/3]
  * f077227 CaptivePortalLoginActivity correctly gets UserAgent
  * 58800f6 Prettify the captive portal sign-in activity

Project name: packages/apps/CMParts/
  * 3aa894b CMParts: Network Traffic [3/3]

Project name: vendor/cmsdk/
  * b629401 cmsdk: Add Network Traffic [2/3]

Project name: vendor/oneplus/
  * 0a53956 op3: Hex-edit camera HAL to always disable QuadraCFA mode


 ▼ 06/14/2017

Project name: frameworks/base/
  * a6a5763 LocationTile: Behave like other tiles

Project name: lineage/wiki/
  * f0b36a8 wiki: add us996 install instruction
  * e755533 wiki: add h850 install instruction


 ▼ 06/13/2017

Project name: frameworks/base/
  * f61b778 Fix a use-of-uninitialized-value warning.
  * f3c417c Fix a use-of-uninitialized-value warning.
  * 05bdf55 Check for spurious wake ups
  * 336f3b3 Reduce hwui CPU time by using glDrawRangeElements
  * 6334326 Stop holding mProxyLock while downloading PAC script data.
  * b715a08 Format Japanese numbers using national format when in Japan.

Project name: lineage/jenkins/
  * 756756e hudson: disable athene for now

Project name: lineage/website/
  * 7d8912a Changelog 11

Project name: packages/apps/Eleven/
  * 6665277 Eleven: Remove unused permission REAL_GET_TASKS

Project name: packages/services/Telephony/
  * a40c8ca Fix Phone Service crash on MSIM devices as Guest user

Project name: system/bt/
  * 331fc1e bt: Disable AVRCP 1.6

Project name: vendor/oneplus/
  * a1ddedf bacon: Hex-edit GPS blobs to change 'GnssSvStatus' to 'HaxxSvStatus'

Build: 2017-06-13
Code:
 ▼ 06/13/2017

Project name: frameworks/base/
  * bb6f32d PowerManagerService: only light up buttons if pressed
  * b1f3708 SystemUI: Network Traffic [1/3]
  * f61b778 Fix a use-of-uninitialized-value warning.
  * f3c417c Fix a use-of-uninitialized-value warning.
  * 05bdf55 Check for spurious wake ups
  * 336f3b3 Reduce hwui CPU time by using glDrawRangeElements
  * 6334326 Stop holding mProxyLock while downloading PAC script data.
  * b715a08 Format Japanese numbers using national format when in Japan.

Project name: lineage/website/
  * 7d8912a Changelog 11

Project name: packages/apps/CMParts/
  * 74b46bd CMParts: Network Traffic [3/3]

Project name: packages/apps/Eleven/
  * 6665277 Eleven: Remove unused permission REAL_GET_TASKS

Project name: packages/services/Telephony/
  * a40c8ca Fix Phone Service crash on MSIM devices as Guest user

Project name: vendor/cmsdk/
  * bee9c2a cmsdk: Add Network Traffic [2/3]

Project name: vendor/oneplus/
  * a1ddedf bacon: Hex-edit GPS blobs to change 'GnssSvStatus' to 'HaxxSvStatus'


 ▼ 06/12/2017

Project name: frameworks/base/
  * fd4fa4f NullPointerException: Attempt to invoke virtual method 'int android.os.Parcel.dataSize()' on a null object reference


 ▼ 06/11/2017

Project name: frameworks/base/
  * 99bf8fc SystemUI: allow user to dismiss a locked task by swiping it away manually
  * 5ebba8f SystemUI: animate icon when locking a task
  * 6c158c6 SystemUI: Support recents task locking
  * 4b3a0fd fingerprint: handle PerformanceStats NULL pointers

Project name: lineage/jenkins/
  * da39b16 hudson: Move maserati, spyder, targa and umts_spyder to 14.1

Project name: lineage/wiki/
  * ce9cbb7 devices: Move maserati, spyder, targa and umts_spyder to 14.1


 ▼ 06/10/2017

Project name: frameworks/base/
  * 6ab406c Optimised hwui rounded corners shader

Project name: lineage/jenkins/
  * 82e4a4f hudson: Ship Nexus 9 LTE (flounder_lte)

Project name: lineage/wiki/
  * eed10dc devices: Differentiate Nexus 9 (Wi-Fi) from Nexus 9 (LTE)
  * b2aa9ea devices: Add Nexus 9 LTE (flounder_lte)


 ▼ 06/09/2017

Project name: build/
  * c3e7f17 Makefile: Add the missing dependency on FUTILITY.
  * f36f76a Build FUTILITY tool from futility-host.

Project name: frameworks/base/
  * 2dbfdfd Remove FastJNI optimization on AssetManager to avoid dead lock.

Project name: kernel/oneplus/msm8996/
  * 2805a82 PM / devfreq: Remove null termination in boost_devices
  * acb30d6 msm: mdss: Fix compile errors when debugfs is disabled
  * 07742a3 msm: ipa: mhi: Fix compile errors when debugfs is disabled
  * 8094b10 wakeup: Move fallback wakeups location to /proc/wakelocks
  * 857531c Revert "oneplus3_defconfig: Re-enable debugfs"
  * aad207f power: qcom: Don't compile debug_core.c when debugfs is disabled

Project name: lineage/jenkins/
  * c597689 hudson: temporary disablement of BQ tenshi

Project name: lineage/wiki/
  * c1af267 wiki: update ham maintainer

Project name: packages/apps/Email/
  * ea4eb75 Adjust Email UnitTests to e353ae2ea19c9ea800d10b37e05de7b0ea1aeeb4

Project name: vendor/cm/
  * f5049a6 Add sensitive numbers for Israel.
 
Last edited:

matssa

Senior Member
Jan 8, 2015
1,817
1,898
Extra features proposed by the community
Here is a list of the different features that have been added or asked to be added with my feedback/opinion. Please be aware that if you want more custom stuff, I suggest you use a ROM that is made to have all of these extra custom stuff.

  • OMS from Substratum Team --> Ok, implemented
  • Wakelock blocker --> Ok, implemented
  • Dash Charge text on lockscreen --> Ok, implemented
  • Proxi Dialer stuff --> Ok, implemented (only works with stock dialer app)
  • Double tap on lockscreen to sleep --> Ok, implemented with toggle.
  • Extra slider stuff --> Ok, implemented, a little bit buggy
  • Let user deactivate lockscreen media art --> Ok, implemented
  • Network traffic indicator --> Ok, implemented
  • Quick Unlock --> Unlock the screen when PIN is good was removed in CM/LAOS in Lollipop because of security reasons. I won't add stuff that has security issues
  • Clear all button --> Will not be included (too much modifications to be taken into account, including theme)
  • Camera Wrapper from LAOS --> Seems to work Ok,but LAOS changed a lot of stuff,
    so need to wait for Sultan feedback and see where we go from here
 
Last edited:

matssa

Senior Member
Jan 8, 2015
1,817
1,898
Hey bud thank for this. I'm so excited to have OMS on sultan rom but can you merge commits in to block kernel wakelocks which are written by Franco?

Point me towards them and I'll see what I can do. However, since the kernel mostly the reason why Sultan's build are almost perfect, I'm a bit scared of breaking stuff and all...
 

matssa

Senior Member
Jan 8, 2015
1,817
1,898
FYI: Download link isn't working properly.
Which one? They should both point to the top directory and not to the direct link, since I don't really want to update the first post every time.

However, the OTA will have the direct link, easier to change the file in a shell script with user input ;)


Sultan camera is best. Port OOS camera dont quality
Both of them are there, I only added it, didn't overwrite it.
 

JagravNaik

Senior Member
Jun 20, 2014
359
1,482
Which one? They should both point to the top directory and not to the direct link, since I don't really want to update the first post every time.

However, the OTA will have the direct link, easier to change the file in a shell script with user input ;)



I saw your post seconds after your posted it and it wasn't proper. Seems to have been corrected now. :D

---------- Post added at 01:18 PM ---------- Previous post was at 01:17 PM ----------

Which one? They should both point to the top directory and not to the direct link, since I don't really want to update the first post every time.
However, the OTA will have the direct link, easier to change the file in a shell script with user input ;)



I saw your post seconds after your posted it and it wasn't proper. Seems to have been corrected now. :D
 
  • Like
Reactions: matssa

matssa

Senior Member
Jan 8, 2015
1,817
1,898

Thanks for the info, I'll take a look. If it is the same as the ones I just saw on Franco github, then it seems it blocks only some wakeclocks, can't seem to be able to chose other wakelocks like Amplify (man I wish I could have xPosed right now and blow the crap out of some apps...).

EDIT/// I'm also afraid that we lose some WiFi connections while screen is off :/ I'll have to try it out, but still afraid it goes in the bad way. I wonder why sultan didn't merge these already :confused:
 
Last edited:
  • Like
Reactions: vinax89

keaheng

Senior Member
Feb 19, 2013
420
174
Cambodia
Thanks for the info, I'll take a look. If it is the same as the ones I just saw on Franco github, then it seems it blocks only some wakeclocks, can't seem to be able to chose other wakelocks like Amplify (man I wish I could have xPosed right now and blow the crap out of some apps...).

EDIT/// I'm also afraid that we lose some WiFi connections while screen is off :/ I'll have to try it out, but still afraid it goes in the bad way. I wonder why sultan didn't merge these already :confused:

Understood but if it really causes something broken, i cant imagine how users flood his threads. He maintains almost 10 devices alone :D

Anyway you can turn it off by default and leave the users to decide
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    Code:
    /*
     * Your warranty is... still valid?
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *
     */


    This thread is not maintained anymore since I switched to the OP5. However, you can still check my github for those who wants to build. Thanks to everyone, and see you soon!




    Important information:

    I made this thread in order to avoid the off topic in the official Sultan LineageOS thread by @Sultanxda.

    The ROM that I propose is an experimental build using the official unified Sultan LineageOS 14.1 ROM+kernel including extra stuff, which can be found on the third post of this thread.

    I can add some extra stuff, ONLY if you explain what you want to add, if you know where I can find the source code (github link is perfect), and after validation by me and by a poll. However, I don't want to add too much bloat in order to avoir bugs and merging issues. See post 3 to see the extra features.

    I share all of my building information in order to help the users know what is included and how to reproduce. However, if you share your builds, please quote this thread in order to give the correct credits to the correct persons.


    The following will not be supported here:
    • Custom kernels
    • Mods
    • Xposed

    I am not a dev, I only build the ROM. If you have any issues, please test using the original build from this thread.



    Known bugs
    • "oppo.verify_trustzone" error when installing the ROM --> Use the correct firmware found in this thread.
    • Extra slider stuff can be a little bit buggy


    Installation
    1. Download the zip
    2. Install a compatible Recovery (TWRP is recommended)
    3. Perform a nandroid backup of your current ROM (Optional)
    4. Wipe /data and /system for a clean install
    5. Flash the ROM
    6. Flash the Google Apps addon package, only if clean flash! (micro or nano)
    7. Flash Magisk or SuperSU or the LineageOS su addon package if root is needed
    8. Reboot

    Updating the ROM is possible via the built-in OTA updater (it will download the whole ROM package so beware!), either by downloading manually the ROM and dirty-flashing without wiping anything (except cache after installation).



    Download
    XDA DevDB



    Sources
    Source Code:
    https://github.com/sultanxda
    https://github.com/Matssa56


    Credits
    • CM team
    • LineageOS team
    • Substratum team
    • @dianlujitao
    • @siankatabg
    • @Sultanxda
    • everyone else that helped me :)

    XDA:DevDB Information
    Unofficial unified Sultan LineageOS 14.1 ROM with OMS for the OnePlus 3, ROM for the OnePlus 3

    Contributors
    matssa
    ROM OS Version: 7.x Nougat
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2017-04-20
    15
    Hey guys, I'll make maybe one or two last builds for you, as soon as Sultan updates some stuff. These should be my lasst builds since I'm switching to OOS Beta since I will order the OP5 (and give this one to my wife).

    I'l keep you posted!
    13
    Latest build uploaded with option 1 and 2.
    11
    Hey guys, I managed to make my script for the OMS merging, it can maybe help you guys out as well for ROM makers out there ;) I'm currently making the new build, I'll give this out when it is done :) I'll test the camera stuff tomorrow though. I'll keep you posted!
    10
    Can you help to add traffic indicater?


    Guys, that's not how it works. It's easy to request something, but you can't just tell matssa you want a particular feature, expect him to do his magic or something and the feature will be available to you. First, search the github of other ROMs (preferred LAOS based ROMs) and search for the commits that will implement that feature. Share it in the thread and tell us what it does and why it should be implemented. If matssa decides to look at the request (which he most likely will), he will need to check if it is compatible with the current ROM. If all that doesn't bring up problems and the feature is requested by more people (e.g. by votes in the poll) it will eventually make its way into the ROM. Please don't give matssa a hard time, he wants to provide us with a great ROM and we should help him as much as we can. Thanks for reading the full post btw.