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

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

Search This thread

trgowtham

Member
Jan 30, 2014
24
5
Bangalore
Sorry if the post is repetitive. I have been trying all options to get this working but no luck. I had moved from Official OxygenOS to Lineage OS 17.1 few months back on OP3. Unlocked boot-loader, installed TWRP, rooted using magisk(as some apps were not working with ROM).

After installing magisk and hiding the apps, some of the apps started working. But there are quite a few banking apps that are still not working. I am actually fed up with not being able to use banking apps. So need some help with it. Can I get answer to few questions? Please forgive they are noob questions

- I hid an app using magisk and later that app is updated, it stops working though it is still hid in magisk. Is this expected? What is solution for it?
- Can I update Magisk?
- There are still some apps not working no matter I hid, rename magisk. Any solution to it? Ex: HDFC, Citibank etc as in screen shot
- Can I update Magisk manager? Last time I hit of update magisk manager in the app and the app stopped working(doesn't open saying it is updating and it loops). I had to reflash magisk to get it to work again.
- Can any version of magisk be flashed on any device? Or is it restricted.
- How to fix ctsprofile error in safetynet? I now see Safety net api issue as well.
- Can we google for issues and use solutions recommended to other phones and apply to OP3 as well?
- Will upgrading OP3 to latest lineage OS lose media, data, magisk root?
- Can unrooting, locking boot-loader help? I read that doing so is risky and might brick the device.

My only aim is to use Lineage OS with banking and other apps intact. I do not need rooting etc for any other purpose. Is there an easier and long term solution than root/magisk etc? Any help will be much appreciated.
Please let me know if any more information is required.

Thanks in advance.
 

Attachments

  • 0.jpeg
    0.jpeg
    29.8 KB · Views: 46
  • 1.jpeg
    1.jpeg
    37.9 KB · Views: 47
  • 2.jpeg
    2.jpeg
    58.1 KB · Views: 45
  • 3.jpeg
    3.jpeg
    57.4 KB · Views: 45

Not-Aus

Senior Member
- I hid an app using magisk and later that app is updated, it stops working though it is still hid in magisk. Is this expected? What is solution for it?

Solution can be to update Magisk or remove Magisk and / or lock the bootloader.
Maybe it will help to rename the TWRP folder.

- Can I update Magisk?

Yes, please do this first! At first step update the Magisk App, as second step update Magisk.

- There are still some apps not working no matter I hid, rename magisk. Any solution to it? Ex: HDFC, Citibank etc as in screen shot

Lets see if this problem still occurs after updating Magisk.

- Can I update Magisk manager? Last time I hit of update magisk manager in the app and the app stopped working(doesn't open saying it is updating and it loops). I had to reflash magisk to get it to work again.

The "Magisk Manager" is now called "Magisk App". Yes, you should be able to update it. If not, just install it again.

- Can any version of magisk be flashed on any device? Or is it restricted.

It depends on. The Magisk page explains about restrictions.
But for our OP3(T): Yes, the latest version, please.

- How to fix ctsprofile error in safetynet? I now see Safety net api issue as well.

Lets see if this problem persists after updating.

- Can we google for issues and use solutions recommended to other phones and apply to OP3 as well?

Might depent.

- Will upgrading OP3 to latest lineage OS lose media, data, magisk root?

Updating your LineageOS 17.1 to the latest available 17.1 will not lose media, data and magisk root.

Upgrading a 17.1 to 18.1 won't lose data, too but the system might end in a boot loop, in an unstable state and / or you might not be able to unlock it. So a clean flash to 18.1 is recommended. You would first have to backup all your data to a PC and then install your phone completely new.

- Can unrooting, locking boot-loader help? I read that doing so is risky and might brick the device.

Unrooting the phone can help, that should work without problems.
Locking the bootloader ->WILL<- make you lose all your data!!! Be sure to notice this!

My only aim is to use Lineage OS with banking and other apps intact. I do not need rooting etc for any other purpose. Is there an easier and long term solution than root/magisk etc? Any help will be much appreciated.

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.
 
Last edited:
  • Like
Reactions: highdiver_2000

trgowtham

Member
Jan 30, 2014
24
5
Bangalore
Yes, please do this first! At first step update the Magisk App, as second step update Magisk.
Thanks a lot for taking time and answering all the queries. 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?

BTW, how is the stability of 18.1 for OP3. Can it be used as a daily driver (when compared to 17.1)?
 
  • Like
Reactions: Not-Aus

Not-Aus

Senior Member
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,542
341
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
108
5
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,029
12,340
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
108
5
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,029
12,340
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
108
5
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,029
12,340
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
108
5
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
108
5
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,029
12,340
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
108
5
*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