[ROM][Official][Nightly] LineageOS 17.1 for OnePlus 3/3T

Search This thread

Not-Aus

Senior Member
Sep 5, 2017
165
83
Minden
OnePlus 3T
OnePlus 9
After updating Magisk and Magisk app(to v 23.0), safetynet passes(even cts profile) and most apps are working(after hiding magisk). Any idea why Citi app doesn't work? Is it possible to debug?

Maybe you can rename the TWRP folder, maybe you need to lock the bootloader, maybe both I don't know.
Attention, all data will be lost after locking it!!!

BTW, how is the stability of 18.1 for OP3. Can it be used as a daily driver (when compared to 17.1)?

Its stable!
 
Last edited:
  • Like
Reactions: highdiver_2000

highdiver_2000

Senior Member
Aug 10, 2012
1,637
374
Yes, sure. To make the most of it without Magisk, you could follow these steps:

1. Backup all your data to a PC and remember which Apps you need
2. Update TWRP to latest version
3. Update firmware to latest version
4. Lock your bootloader
5. Wipe all possible partitions on your device and format data
6. Install latest LineageOS 18.1 and the Google Apps addon package
7. Setup your device and encrypt it.

If you want Magisk, follow these steps:

1. Backup all your data to a PC and remember which Apps you need
2. Update TWRP to latest version
3. Update firmware to latest version
4. Wipe all possible partitions on your device and format data
5. Install latest LineageOS 18.1, the Google Apps addon package and the magisk.apk
6. Setup your device and encrypt it.
Android 12 is round the corner. Time to upgrade my 3T. Unfortunately, Nitrogen OS has gone very quiet. I guess it is LineageOS 18 turn
 

moto1022

Senior Member
Feb 17, 2016
144
55
OnePlus 3T
Hi, I hope this question is not posted before.
I'm unable to use PS4 controller on OnePlus 3T. Both Bluetooth & USB connections failed.
Any help is appreciated.

Thanks, regards.
 

DjDeViL66

Member
Jul 4, 2016
9
3
Hi, my brother have an Oneplus 3 with Lineage OS 17.1 (October 2020) is it possible to share de last official release Lineage OS 17.1 ( I supposed in April 2021 ).

It's just for simple update thx for sharing
 

DjDeViL66

Member
Jul 4, 2016
9
3
The last 17.1 build (20210329) is about to be removed from LineageOS' website, so here's a copy/mirror in case someone needs it in the future.

lineage-17.1-20210329-nightly-oneplus3-signed.zip:
- download (sha256)
- recovery (sha256)
- torrent (build + recovery)

Hosted at the Internet Archive. Not the best speeds, but should remain online for a long time.
Thx, I missed it
 
  • Like
Reactions: mangokm40

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
It's not possible to kang blobs from the firmware, if the firmware is not available/accessible.

I highly doubt blobs for other socs will work on msm8996pro/msm8996.
Little late, forget about Galileo, looks like you maybe need to edit NV items with QPTS/EFS explorer. You see GNSS singals are like 4G signals, basically radio. But another promising possibibility is that the OG Pixel "supports" QZSS according to GPStest database.

Another problem is the Legacy GNSS HAL for LineageOS
There is no Galileo support.

But if Im uneducated and missed something, pls educate me on this issue nvertigo67
 
  • Like
Reactions: nvertigo67

nvertigo67

Senior Member
Dec 28, 2011
6,038
12,397
Little late, forget about Galileo, looks like you maybe need to edit NV items with QPTS/EFS explorer. You see GNSS singals are like 4G signals, basically radio. But another promising possibibility is that the OG Pixel "supports" QZSS according to GPStest database.

What do you mean by "OG Pixel"? As far as I can see in the table ypi've posted all msm8996 equipped Pixels doesn't support galileo

Another problem is the Legacy GNSS HAL for LineageOS
There is no Galileo support.

But if Im uneducated and missed something, pls educate me on this issue nvertigo67

Los oneplus3 doesn't use the legacy hal, but the caf implementation:
 
  • Like
Reactions: borisSweden

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
What do you mean by "OG Pixel"? As far as I can see in the table ypi've posted all msm8996 equipped Pixels doesn't support galileo
I didnt say look for Galileo my dude. I meant there is a MSM8996pro device supporting Japanese QZSS. Totally different. Pixel 1 2016 edition sounds better. look at line 107 and 110.
Los oneplus3 doesn't use the legacy hal, but the caf implementation:
Is it better? We dont even get Carrier Freqency support with CAF. Also for the CAF blob to work with EU constilation, we need to edit NV values if we go by my theory. Its the same as opening a band , you open a GNSS band. The phone intercepts the EU signals but cant read them. If you do a adb shell dumpsys location, you will see a list of seen constellations.
 

nvertigo67

Senior Member
Dec 28, 2011
6,038
12,397
I didnt say look for Galileo my dude. I meant there is a MSM8996pro device supporting Japanese QZSS. Totally different. Pixel 1 2016 edition sounds better. look at line 107 and 110.

Got that wrong. I still don't get the benefit of QZSS for galileo.


Better then what? As far as I know, it's the only working solution (see OSS sources: https://github.com/OnePlusOSS/android_vendor_qcom_opensource_location/tree/oneplus/QC8996_N - los uses newer caf soirces). If the optons are working and not working, caf is the working option... Which is better, I guess... ;)
 
  • Like
Reactions: borisSweden

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
Got that wrong. I still don't get the benefit of QZSS for galileo.



Better then what? As far as I know, it's the only working solution (see OSS sources: https://github.com/OnePlusOSS/android_vendor_qcom_opensource_location/tree/oneplus/QC8996_N - los uses newer caf soirces). If the optons are working and not working, caf is the working option... Which is better, I guess... ;)
I mean its there. Also helps Oneplus 3/T users with better location in the far East. I dont know how to use EFS explorer for Galileo so the next best thing is QZSS. Instead of 3 you get 4 constellations if we dont count the mediocre SBAS support.

The setup is perfect. Android 10, MSM8996pro, Pixel.

But if you want to crack another nut there is the LG Q9, a 8996pro phone from 2019 with......BT5.0!
The 821 only supports 4.1 and we have 4.2. IDK what special sauce they used for that.
 
  • Like
Reactions: nvertigo67

nvertigo67

Senior Member
Dec 28, 2011
6,038
12,397
I mean its there. Also helps Oneplus 3/T users with better location in the far East. I dont know how to use EFS explorer for Galileo so the next best thing is QZSS. Instead of 3 you get 4 constellations if we dont count the mediocre SBAS support.

The setup is perfect. Android 10, MSM8996pro, Pixel.

But if you want to crack another nut there is the LG Q9, a 8996pro phone from 2019 with......BT5.0!
The 821 only supports 4.1 and we have 4.2. IDK what special sauce they used for that.

I'm out at this point. Changing a radio profile with pdc is my limit - messing with efsexplorer without complete understanding of efs and efs editing seems to dangerous to me. I'be only a very limited understanding of the efs stuff.
 

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
I'm out at this point. Changing a radio profile with pdc is my limit - messing with efsexplorer without complete understanding of efs and efs editing seems to dangerous to me. I'be only a very limited understanding of the efs stuff.
Me to, I asked this guy https://mt-tech.fi/en/ who makes QPTS/EFS/QDXM tutorials. Doing backups is my limit. Also I cant decode the binary files. As porting baseband from SD6XX series is not adviced, I tought efs was the answear. I will have to read more about it.

But did you check the Pixel lead and LGs impossible Bluetooth implementation, I would guess ApTx would be gone.
 

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
In the end: if we'd have the choice between similary stable and compatible 3.18.y kernel and a 4.4.y kernel, I'd go for 4.4.y - as long as stability and compatibility differs, I'd go with the more stable and compatible kernel: 3.18.y. I'm not the most gifted kernel dev, if excellent kernel devs fail on making 4.4.y as stable and compatible as 3.18.y, I highly doubt there will be a break through in the near future.
Late question but what will devs do when its not feasible to keep using 3.18? Or will development be abandoned as the phone is old enough and not popular to work on. Either do EOL or go up the kernel version as it must be stable enough. If Oneplus software is the issue, open source blob alternatives should be reconsidered(now that OOS is EOL and obsolete, they should open source the software and release schematics after the ColorOS merge)

I know its Linux and has support forever but I wouldnt install Android 11 on my old Galaxy S2 i9100, 10 minutes of SoT isnt useful.
 

nvertigo67

Senior Member
Dec 28, 2011
6,038
12,397
Late question but what will devs do when its not feasible to keep using 3.18? Or will development be abandoned as the phone is old enough and not popular to work on. Either do EOL or go up the kernel version as it must be stable enough.

3.18 still receives fixes, security updates and some backports (see https://android.googlesource.com/kernel/common/+log/refs/heads/android-3.18 ) I know of - at least - one dev, picking these in his sources (see the los microg builds of @MSe1969 ).

If Oneplus software is the issue, open source blob alternatives should be reconsidered

Source build rom devs take vendor precomplled software, when no source is available. By definition blobs are compiled closed source software. The term "open source blob" is oxymoron.

(now that OOS is EOL and obsolete, they should open source the software and release schematics after the ColorOS merge)

*lol* You are right. I just wonder, who will take the job to explain to oneplus and qcom to open source their software...

Since oneplus doesn't support op3/t anymore, even if you manage to convince the hardware vendors to open source their closed source stuff, this is irrelevant for op3/t.
 
  • Like
Reactions: borisSweden

borisSweden

Senior Member
May 10, 2021
266
23
OnePlus 7T
*lol* You are right. I just wonder, who will take the job to explain to oneplus and qcom to open source their software...

Since oneplus doesn't support op3/t anymore, even if you manage to convince the hardware vendors to open source their closed source stuff, this is irrelevant for op3/t.
I tried, only got some upvotes and got buried by southeast asian (JIO)gatekeepers on that god forsaken 1+forum. Also getting a offcal dev to do a expired-NDA AMA is impossible as they wouldn't care. But they did release CyanogenOS code so there is hope, or we have to wait for a leak by a worker who hates OPPO.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 133
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.​
    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void.
     *
     * We are 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 us for messing up your device, we will laugh at you.
     *
     */
    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

    Important information:
    This thread is for LineageOS 17.1 builds for OnePlus 3/3T. The following will not be supported here:
    • Custom kernels
    • Mods
    • Xposed

    We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:
    • Flashed a custom kernel
    • Installed or did mods from untrusted sources
    • Modified system files

    Tips:
    • You need at least OxygenOS 9.0.2 firmware, otherwise you'll get error 7 when installing the zip. Latest firmware is recommended.

    Installation:
    First time flashing LineageOS 17.1 on your device, or coming from another ROM?
    1. Download the zip(s)
    2. Install a compatible Recovery (Official TWRP 3.4+ is highly recommended: https://dl.twrp.me/oneplus3/)
    3. Perform a nandroid backup of your current ROM (Optional)
    4. Wipe data/factory reset
    5. Flash LineageOS
    6. Optional: Install the Google Apps addon package
    7. Reboot

    Source code:

    Credits:
    • LineageOS Team & Contributors
    • Code Aurora Forum
    • ......

    Changelog:
    2019.10.24
    • Initial release

    2019.10.25
    • Sync latest source
    • Fix bluetooth

    2019.11.20
    • Sync latest source
    • Fix wifi display
    • Ship Snap
    • Fix vulkan graphics
    • Pass safetynet
    • Fix crash of some native services

    2019.12.31
    • Sync latest source
    • SELiunx working in enforcing mode now
    • Update kernel to LA.UM.8.6.r1-02900-89xx.0
    • Update blobs from OOS 9.0.6
    • Fix suspend when AOD is on
    • Happy new year!

    2020.1.12
    • Sync latest source
    • Fix ril of the last build
    • Update blobs from LA.UM.8.6.r1-02900-89xx.0
    • Add backuptools
    • Other trivial fixes

    2020.4.2
    • Official nightlies started

    Download:

    XDA:DevDB Information
    LineageOS, ROM for the OnePlus 3

    Contributors
    dianlujitao
    ROM OS Version: Android 10

    Version Information
    Status: Nightly

    Created 2019-10-24
    Last Updated 2020-06-26
    31
    FYI, oneplus3 has just been added ... Now let's wait for merging.

    https://review.lineageos.org/c/LineageOS/hudson/+/267517

    Code:
    # LineageOS build target list
    # <device> <build_type> <branch name> <period ("N"ightly, "W"eekly, "M"onthly)>
    # Nightly lineage-17.1
    beryllium userdebug lineage-17.1 N
    chiron userdebug lineage-17.1 N
    d850 userdebug lineage-17.1 N
    d851 userdebug lineage-17.1 N
    d852 userdebug lineage-17.1 N
    d855 userdebug lineage-17.1 N
    dipper userdebug lineage-17.1 N
    discovery userdebug lineage-17.1 N
    enchilada userdebug lineage-17.1 N
    f400 userdebug lineage-17.1 N
    fajita userdebug lineage-17.1 N
    gts4lvwifi userdebug lineage-17.1 N
    guacamole userdebug lineage-17.1 N
    h830 userdebug lineage-17.1 N
    h850 userdebug lineage-17.1 N
    h910 userdebug lineage-17.1 N
    h918 userdebug lineage-17.1 N
    h990 userdebug lineage-17.1 N
    I01WD userdebug lineage-17.1 N
    jactivelte userdebug lineage-17.1 N
    jflteatt userdebug lineage-17.1 N
    jfltespr userdebug lineage-17.1 N
    jfltevzw userdebug lineage-17.1 N
    jfltexx userdebug lineage-17.1 N
    jfvelte userdebug lineage-17.1 N
    kirin userdebug lineage-17.1 N
    ls997 userdebug lineage-17.1 N
    mermaid userdebug lineage-17.1 N
    nash userdebug lineage-17.1 N
    [B]oneplus3 userdebug lineage-17.1 N[/B]
    pioneer userdebug lineage-17.1 N
    polaris userdebug lineage-17.1 N
    rs988 userdebug lineage-17.1 N
    sagit userdebug lineage-17.1 N
    us996 userdebug lineage-17.1 N
    vs985 userdebug lineage-17.1 N
    vs995 userdebug lineage-17.1 N
    z2_plus userdebug lineage-17.1 N

    Thank you @dianlujitao !

    Edit: about addonsu package and PrivacyGuard ... https://www.xda-developers.com/line...-addonsu-implementation-favor-magisk-manager/
    30
    Are you the gcam man? If so, thanks a million for your work and your latest works fine and dandy on this build.
    "gcam man" - that sounds interesting ;) yes, thanks.
    Thanks a lot dianlujitao for supporting LOS for OP3.
    28
    Thanks, @dianlujitao, for this. Great to have Android 10 running on an encrypted phone.
    I've been playing around with it all day and here's what I've found so far:

    Clean install with Gapps from https://sourceforge.net/projects/opengapps/files/arm64/beta/ and Magisk 20 stable. Once I set the security patch date to 2019-08-01 I passed SafetyNet and was able to set up my credit card with Google Pay.

    Missing:
    - accent colours in settings>display>style>accent colour, though they are available in settings>developer options>accent colour
    - battery text doesn't display

    Broken:
    - NFC: shows as being permanently on and can't be turned off; doesn't register on terminals
    - Gallery shows album images in the Music directory (in Los 16 it ignores them). I've had to add a .nomedia file to the directory.
    - settings>display>style>dark mode>Black causes LineageOS Settings to stop
    - Digital Wellbeing keeps stopping (logs attached)
    - BT connects/disconnects continuously when connected to my car (logs attached)

    And that's all the issues I've got at the moment. Everything else is working fine.
    I'll have a better idea of battery drain after tonight.

    Sent from my OnePlus 3T using XDA Labs
    22
    I believe it doesn't apply to our device (A only). See the section on recovery in https://lineageos.org/Changelog-19/

    Sent from my OnePlus 3T using XDA Labs

    TWRP is still recommended, lineage recovery does NOT support FDE thus you might encounter problems when installing magisk and opengapps