yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] dianlujitao:
Nice to know that nfc pay is working now. Apps are out of my scope, you may consider open an issue on gitlab.

For TWRP, the SAR backup/restore fix was merged earlier, along with a fix for OTA bootloop when encrypted. I may consider updating the official build when I'm able to fully test it.
[OnePlus 3 & 3T Cross Device Development] knpk13:
Glad to know that. Are you talking about official TWRP though? Because OTA (from April 1 to April 2 build) is bootlooping even with SAR TWRP. Restoring works for everything except the "system image" option, which throws an error (not sure if this is expected) :

"Failed to mount system_root" (Invalid Argument)

And the system boots into fastboot/bootloader after it restores.

Restoring the regular file based system backup works though.

Edit: Forgot to mention that during OTA in TWRP, magisk addon.d complained about not working. And TWRP didn't ask for the decryption code, not sure if the OTA would work without it.
[OnePlus 3 & 3T Cross Device Development] pxrave:
clean install / wipe data

2.4. + opengapps micro.

all works fine but trebuched cant start -->BUG?!

i need use pixel launcher from gapps. i dont use root
[OnePlus 3 & 3T Cross Device Development] counterfeit187:
I also tried OTA from 4/01 to 4/02 and got bootloops. I think it's because of magisk or because TWRP didn't ask for decryption pattern. Tried to dirty update in TWRP which booted, but apps crashed.

Finalizing a clean install now.
[OnePlus 3 & 3T Cross Device Development] knpk13:
Forgot to mention those, I updated my post. Also which apps are crashing for you? I just manually flashed the update and all my apps work.
[OnePlus 3 & 3T Cross Device Development] counterfeit187:
Gapps I think. Messages and Google play music are the first ones I noticed before deciding to clean Flash
[OnePlus 3 & 3T Cross Device Development] CodesCodger:
OTA updating from 20200401 to 20200402 caused a rescue party.

My configuration was: Unlocked bootloader, Gapps nano, TWRP-SAR, encrypted (EXT4).
[OnePlus 3 & 3T Cross Device Development] knpk13:
Probably better to flash opengapps nano and install any other gapps from play store manually. Opengapps for android 10 has been buggy, and I find it better to install the leanest package. Actually I don't think opengapps packages higher than nano for 10 has been even released last I checked.
[OnePlus 3 & 3T Cross Device Development] thesplitter:
I'm not encrypted and OTA update went smoothly, SAR TWRP and magisk, ext4
[OnePlus 3 & 3T Cross Device Development] punio4:
I'm not encrypted, bootloader is locked, using the TWRP posted in the first post, no Magisk, gapps micro.

Updating via OTA had an error:

E: unable to decrypt FBE device

Pixel Launcher keeps crashing after update. Installing Magisk and QuickSwitch doesn't allow the recents provider to be set to Pixel Launcher and is stuck on Trebuchet. Reported in https://xdaforums.com/showpost.php?p=82164939&postcount=1020
[OnePlus 3 & 3T Cross Device Development] :
This has been answered already. Please search amd read the thread before posting redudant questions:

https://xdaforums.com/showpost.php?p=82086843&postcount=464
[OnePlus 3 & 3T Cross Device Development] spandy992:
Flashing right now.. any major bugs?

Thank you so much dev for official build !
[OnePlus 3 & 3T Cross Device Development] pijas82:
I find a small bug for me, screen recorder ,crash.

And open gapps pico suc&@

Sometimes apps freeze
[OnePlus 3 & 3T Cross Device Development] punio4:
Nope, reported here: https://xdaforums.com/showpost.php?p=82164939&postcount=1020
[OnePlus 3 & 3T Cross Device Development] H. K. ROY:
1. call recording button not showing up

2. no SBC dual channel HD audio option in Bluetooth settings

anyone faced this?
[OnePlus 3 & 3T Cross Device Development] :
Still no amoled black theme and noticed screen brightness is fluctuating even without reduced power setting in screen options. Missing some small things (options) compared to other ROM flavours but further nice, fast and stable. Good work devs!
[OnePlus 3 & 3T Cross Device Development] sobhan06:
What is the purpose of Magisk?
[OnePlus 3 & 3T Cross Device Development] lobotomize:
I can't really find anything official and don't want to post here if it's not cool, but where would be the best place for feature requests?
[OnePlus 3 & 3T Cross Device Development] punio4:
Haven't noticed screen brightness fluctuating with reduced power off. Could you give me an example on how to reproduce?
[OnePlus 3 & 3T Cross Device Development] :
I noticed this especially in the SAI app when installing splitted apks. So, with a black background and a popup with some white, where black was not really black anymore.
[OnePlus 3 & 3T Cross Device Development] punio4:
I think that's a change in the theme where the modal window / alert overlay background is a lighter color to provide contrast for the black overlay content.
[OnePlus 3 & 3T Cross Device Development] TheAvengingTITAN:
Magisk is a root solution but also acts as a way for passing SafetyNet by using MagiskHide), which apps like banking apps rely on to run and fully function on your device.

An alternative to using Magisk for passing SafetyNet would be to lock your bootloader, so read up on both.

P.S. try search for answers before asking here next time :)
[OnePlus 3 & 3T Cross Device Development] thesplitter:
Been a while trying to sort that out as well. Apparently it's gapps, the pixel launcher of android 10 does not yet support some actions from the navigation, so better stick with trebuchet until that's sorted.

With gapps for Android 10 QuickSwitch should not be necessary after this is fixed.
[OnePlus 3 & 3T Cross Device Development] pijas82:
I flashed 01/04 build with official twrp, now I want clean flash and install new build, it's recommend install.with this twrp? It's a sar version? Thanks
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
So which TWRP Recovery should be used for LineageOS 17.1 if you intend to only use the ROM and Gapps (Pico or Nano)? Official or Unofficial? Reading through the recent pages, it looks like TWRP still has issues with performing OTA Updates with LineageOS?

It's a shame the LineageOS Recovery cannot decrypt /data on FDE Phones like ours. I wonder if they ever intend to change that? If they want all 17.1 Devices to follow the charter in supporting it, then they might wanna support them back. I assume otherwise, it'll work, just no OTA (Manually updating perhaps still possible, as is the case with TWRP anyway to avoid the dreaded issues it seems to have with OTAs)?
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
google "magisk"
[OnePlus 3 & 3T Cross Device Development] thesplitter:
I suggest you the latest modded SAR (system as root) TWRP so you got everything working.

OTA works just fine if you're not encrypted, otherwise, manual flash it or I guess go for the lineage recovery
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Flashable zip files need to take into account that Los 17 uses system as root as you pointed out previously in the nlos thread and [MENTION=4405529]nvertigo67[/MENTION] mentioned in https://xdaforums.com/oneplus-3/one...velopment/rom-nlos-16-0-t3879405/post80549787
[OnePlus 3 & 3T Cross Device Development] immi803:
Deleted

---------- Post added at 02:30 AM ---------- Previous post was at 02:28 AM ----------

I should change this file extension to sh and just copy this file to services.d and reboot? Anything else? Apology if I'm acting noob, don't want to break anything
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Yes, but you also need to grant it execute permission. If you don't know how to do that, send me a pm as that sort of detail doesn't belong in this thread.
[OnePlus 3 & 3T Cross Device Development] ayamstr:
If data swtiches back to H from 4g during a call, means Volte is not working.
[OnePlus 3 & 3T Cross Device Development] immi803:
Thanks [MENTION=2911853]BillGoss[/MENTION]

You're super assistive always :D

No issue Will be to set 755 permissions ;)

Let me try and hope it works this time :angel:
[OnePlus 3 & 3T Cross Device Development] chtitlou:
Yes sorry, you're right. I first noticed it was not switching - I really thought VoLTE worked- but I made additional tests and noticed the issue. I re-edited my post but not fully, so it doesn't make any sense anymore.

Well I confirm VoLTE is NOT working fine.
[OnePlus 3 & 3T Cross Device Development] vny10:
[MENTION=5091734]dianlujitao[/MENTION] any way to increase in call volume
[OnePlus 3 & 3T Cross Device Development] Lord Broker:
Does anyone know how to fix internet? My mobile data is not working, it seems like everything is turned on but phone is acting like I was not having a mobile internet.

Edit. Wiped Dalvik/ART cache and cache and it works now.
[OnePlus 3 & 3T Cross Device Development] immi803:
[MENTION=2911853]BillGoss[/MENTION]

Huge thanks previously for safety net, works perfect :D

Any way to get battery percentage on status bar? It's not working, i know rom is in alpha stage but found it as daily driver compatible already except battery percentage and some issues with data traffic indicators

Thanks
[OnePlus 3 & 3T Cross Device Development] Imnoa:
I know the battery percentage was problematic in the other experimental builds (LOS 15 & 16) in the first few builds. I think it will show up sooner or later
[OnePlus 3 & 3T Cross Device Development] BillGoss:
I've gone back to using this app to display the battery level until the rom can display percentages: https://play.google.com/store/apps/details?id=com.urbandroid.inline
[OnePlus 3 & 3T Cross Device Development] BillGoss:
You may want to have a look at this thread https://xdaforums.com/oneplus-3t/help/low-call-volume-t3575675
[OnePlus 3 & 3T Cross Device Development] ch55:
Does encryption work on this LOS17?
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Search the thread
[OnePlus 3 & 3T Cross Device Development] Master_TC:
No, so far in any Android 10 rom!
[OnePlus 3 & 3T Cross Device Development] Viper The Ripper:
[MENTION=2911853]BillGoss[/MENTION]
[OnePlus 3 & 3T Cross Device Development] knpk13:
What does this mean? I tried looking it up but didn't find any information.
[OnePlus 3 & 3T Cross Device Development] :
https://github.com/LineageOS/android_vendor_lineage/tree/lineage-17.0/prebuilt/common/bin
[OnePlus 3 & 3T Cross Device Development] knpk13:
I tried it out too and I'm ready to switch to it if all my mods work with it (like magisk, viper4android, substratum, etc.)

Need to play around with it more. Restoring 25 GB TWRP backups each time I switch back to NLOS Pie is a pain though :silly:, not to mention dealing with the lockscreen bug after TWRP restore every time.

Is it ok to run a ROM with SELinux permissive as a daily driver? I read about SELinux but I can't figure out if it's really that bad of an idea to not have it enabled.

---------- Post added at 12:40 PM ---------- Previous post was at 12:34 PM ----------

Oh so gapps and other mods won't be preserved after a dirty flash I presume. I haven't used a stock ROM in so long that I don't even remember if backuptools is an AOSP or LOS feature.
[OnePlus 3 & 3T Cross Device Development] :
That depends on your own security policy. Make an educated decision. As long as you can't make your own educated decission, make sure to stay on the safe side, like: if you arn't good at swiming, stay away from the deeper waters.

For rooted devices keep in mimd that selinux is the last bastion against unwanted file, settings, props and data access...

As a matter of fact: enforcing is more secure then permissive.
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
Thanks, although I've heard OTA Updates work for Pixel Experience Official on our phones (With Encryption too I believe), so I wonder why LineageOS has troubles (And has for about a year now).
[OnePlus 3 & 3T Cross Device Development] hen77:
Dirty flashed from official 16 to official 17 and everything works fine so far.

coming from:

unofficial twrp from post #1

official los 16

unlocked bootloader

encrypted

firmware 9.0.6

flashed in this order(NO reboot inbetween):

- official lineage 17

- opengaps

- magisk

big thanks [MENTION=5091734]dianlujitao[/MENTION]
[OnePlus 3 & 3T Cross Device Development] votz11:
full clean flash with 2/4/2020 build

1. i believe that fingerprint does not respond well (sometimes need 2nd try to open)

2. LTE work but i cant enable LTE+ (sim suport LTE+)

someone face same issue?
[OnePlus 3 & 3T Cross Device Development] pijas82:
Reboot and solve fingerprint
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Done. Issues #1703-5
[OnePlus 3 & 3T Cross Device Development] hammer-is:
Lineage Recovery works for OTA when Encrypted

OnePlus 3T / Locked Bootloader / FW 9.0.6 / Encrypted

Installed SAR modified TWRP https://androidfilehost.com/?fid=4349826312261695823

Dirty-Flashed lineage-17.1-20200401-nightly-oneplus3-signed.zip (from lineage-16.0) + open_gapps-arm64-10.0-nano-20200401.zip

Installed lineage-17.1-20200401-recovery-oneplus3.img

OTA upgraded to lineage-17.1-20200402-nightly-oneplus3-signed.zip without any issues / bootloops

- official lineage recovery seems to be the solution for OTA updates until a fixed TWRP is out. Also note that I was NOT prompted for a decryption password when lineage recovery was updating.

All is good so far :o Great work!!!
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
Oh brilliant! Thank you kindly for reporting this as it's great to hear the LineageOS Recovery handles OTA updates just fine!

Out of curiosity, does it allow you to manually flash to the recovery partition inside the Recovery? TWRP can do this which allows you to update to newer versions without requiring Fastboot. I believe this can also allow the Recovery to be updated/changed, even when the Bootloader is Locked (The System for example can be updated or entirely replaced just fine with a Locked Bootloader as long as the new ROM is signed correctly too).

I may be wrong though, perhaps someone could shed some light on this matter (Perhaps OTAs update both System and Recovery automatically)?

Edit: Here's how OTA Updates work without decrypting /data for those curious.
[OnePlus 3 & 3T Cross Device Development] Phid13:
I couldn't find a way to install a recovery image in the lineage recovery. Aside from the OTA updates, it was a very restricted recovery, with no option for backups or even to wipe the system. But if you want to install lineage 17.1 and want to stay on lineage it is perfect
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
Thanks for the info! Although that can be a shame if you're one of us who likes to use a locked bootloader to legitimately pass SafetyNet (And root via ADB-only provides satisfactory) etc. as this poses an issue if you need to update the Recovery at a later time, since unlocking the Bootloader again to do so via Fastboot will require the /data partition to be wiped! I don't suppose there's another way?

Can the Recovery partition even be modified with a Locked Bootloader? I've never tried or seen cases where TWRP has been updated within itself using a Locked Bootloader.
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Yes, you can update TWRP using TWRP. Just like TWRP can flash a system image when the bootloader is locked, it can also flash a recovery image.

You just need to be sure that the recovery image is also signed with the right key (like the official TWRP images are) or you won't be able to boot back into recovery.

What you can't do with a locked bootloader is flash a recovery using fastboot.

PS: if your phone is rooted then you can also flash any recovery you like via Terminal. If the recovery isn't signed with the right keys, you won't be able to boot into recovery, but you can flash a different recovery again in Terminal to fix that.

PPS: you can also use ADB to do the same thing you do in Terminal.
[OnePlus 3 & 3T Cross Device Development] meetlicious:
Im feeling my phone very warm , the clocks is jumping in 300mhz to 1050mhz , theres something i can do?
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
Thanks! Then it would seem all that's left from having a pretty much perfect Aftermarket ROM "Stock" configuration for our phones would be for the ability to update the LineageOS Recovery, either from within itself, OTAs, adb shell root or other means.

Edit: Thank you so much for the extra information [MENTION=2911853]BillGoss[/MENTION]! I'm not sure how to go about flashing a recovery image from adb shell root, I've never attempted it. Perhaps someone wouldn't mind providing documentation/an explanation how?
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Note: ADB must have su permission or this won't work. And the image file must live on the phone (in my example it's on the sdcard)

Here's the transcript of how I just did this:

bill@Envious:~$ adb shell
OnePlus3T:/ $ su
OnePlus3T:/ # dd if=/sdcard/sde21-twrp-3.3.1-20200107-SAR-oneplus3.img of=/dev/block/sde21
55162+1 records in
55162+1 records out
28243244 bytes (27 M) copied, 2.887276 s, 9.3 M/s
OnePlus3T:/ # exit
OnePlus3T:/ $ exit
bill@Envious:~$

Update:

Even if your phone isn't rooted you can do this (tested on Los 17.1):

1. Enable rooted ADB in Settings>System>Developer options>Rooted debugging (screenshot)

2. Connect your phone to your PC and type "adb root". This will switch ADB into root mode.

3. Use the "adb shell" commands as above, but skip the "su" command as it's not needed. You'll notice that the shell prompt will be a "#" telling you that it's using root.

4. Switch back to normal ADB with "adb unroot".
[OnePlus 3 & 3T Cross Device Development] wankros:
I have installed it in mu oneplus 3t. Rom is veey smooth.

Issues as of now:

-- Wifi range and it disconnect intermittently.

-- Network range and disconnect intermittently.

Some more options required in themesrest is gud.

{Mod edit: Quoted OP modified for better readability}
[OnePlus 3 & 3T Cross Device Development] atulclassic:
[/QUOTE]

Pls do not quote full post

If you want to ask something to a specific person or thread owner, just type his/her name stating with @
[OnePlus 3 & 3T Cross Device Development] fbngrt:
Thank you both [MENTION=8966809]Hazbelll[/MENTION] and [MENTION=2911853]BillGoss[/MENTION] for sharing your experience.

I understand that there is no way to update the LineageOS Recovery from within the LineageOS recovery. Furthermore flashing another recovery (e.g. an update of the LineageOS recovery or back to TWRP) whith a locked bootloader is only possible when the device is rooted. Is that correct?

I am currently running TWRP on my unrooted Oneplus 3 with a locked bootloader. I am still torn between having a seamless OTA experience with the LineageOS recovery and the flexibility of TWRP.

In general there seems to be very little information about the LineageOS recovery. Can anyone point me to some kind of documentation or a screenshot perhaps?
[OnePlus 3 & 3T Cross Device Development] bootsy82:
Hey,

thanks for supporting the old op3t lady.

Working good so far, except trebuchet keeps on crashing.

First i did a dirty flash and thought thats the Problem. Today i did a clean flash, but trebuchet still keeps on crashing.

Anybody else has problems?
[OnePlus 3 & 3T Cross Device Development] renndachserl:
Could it be possbile to use ASHA with LineageOS 17.1 and the OP3T or with newer OP phones?

Pixel and Galaxy stock firmware supports it since Android 10.

Background information can be found here: https://source.android.com/devices/bluetooth/asha
[OnePlus 3 & 3T Cross Device Development] Mata99:
When I install OTA update does recovery automatically update?
[OnePlus 3 & 3T Cross Device Development] Darkje:
to bad Volte dont work. Somehow i dont even get 4g on the LOS rom. On the original rom i get Volte. On this rom iam stuck on edge.
[OnePlus 3 & 3T Cross Device Development] :
I do not know where you live, but it could help to change the setting under Network and Internet - Mobile Network - Preferred Network Type. I have set it for example to LTE/WCDMA, which is enough for where I live and where LTE is the first choice, WCDMA the second ;)

LOS is definitely supporting 4G, no doubt about that. VoLTE seems an issue on a lot of roms, I not even try to use it anymore and seems also to use more battery then without.
[OnePlus 3 & 3T Cross Device Development] thesplitter:
Has the volume popup been changed in Android 10 or what? On LOS 16.0 there was a nice expandable popup, now instead of expanding it minimise the full screen video and opens a huge popup window.

Also on the 1.4.2020 build the live captions button appeared beneath the volume popup, now with the 2.4.2020 it has disappeared.
[OnePlus 3 & 3T Cross Device Development] lineagefan123:
No sim card should be disabled before dirty flashing, otherwise it remains disabled forever. The switch for enabling does not exist anymore in LOS17...
[OnePlus 3 & 3T Cross Device Development] Notor1ouS-:
I'll try a dirty flash.

what should i do before/after ?

modem is up2date.

should i wipe system partition before updating?

gapps reflash needed?

magisk needs to be flashed after rom-flash. I've encryption disabled. correct?
[OnePlus 3 & 3T Cross Device Development] fede993:
It happened the same to me... All is ok, but trebuchet crashes... for now i'm using pixel launcher, i'm sure that it will be fixed soon. ;)
[OnePlus 3 & 3T Cross Device Development] DavidXanatos:
So for testing on a OP3 and wanting to be able to go back to the last Oxygen OS backup, one have to use the old TWRP, right?

So what minor issues with it are to be expected?
[OnePlus 3 & 3T Cross Device Development] IC3man1374:
I want to migrate to lineage 17.1 from pixel experience so can just flash the rom and gapps from twrp or we have to flash the lineage recovery from a pc? need a install guide.
[OnePlus 3 & 3T Cross Device Development] BillGoss:
You can't INSTALL an Android 9 rom zip using SAR TWRP. But it's fine for backing up and restoring Android 9 roms.

However, the backups of the system partition are different between the "old" TWRP (they create files named system.*) And SAR TWRP (it creates system_root.* files). Have a look in the backup folder.

So, you can't use "old" TWRP to restore the system partition from a SAR TWRP backup and you can't use SAR TWRP to restore the system partition from an "old" TWRP backup.

So, to restore your OOS backup you'll have to use the same TWRP you used to create the backup.
[OnePlus 3 & 3T Cross Device Development] Hazbelll:
Brilliant! Thank you so much for your help [MENTION=2911853]BillGoss[/MENTION]! I actually just noticed now TWRP's Website includes instructions (Under "dd Install Method") on how to flash TWRP (and assumingly any .img) to the Recovery Partition via dd similar to yours, although it appears both achieve exactly the same result. Still, thank you for showing the output and it's great to hear the recovery can indeed be updated or replaced manually!

You can update/replace the Recovery on your phone as long as the Recovery currently installed supports flashing to the Recovery partition (Such as TWRP allows). Otherwise, if you're using a Recovery which does not allow you to flash to the Recovery Partition (Such as LineageOS Recovery), then you must have a System installed which is rooted (Or allows for root via ADB like LineageOS officially supports). Otherwise, your only option thereafter to change/update the Recovery is to Unlock your Bootloader again (Which will require wiping /data, so you'd want to back up anything you wish to keep first!), least so I believe.

I don't believe it is, which is a shame as it would be nice if it could optionally be updated as part of the OTA procedure.
[OnePlus 3 & 3T Cross Device Development] bootsy82:
After the 20200403 update, trebuchet is working, but pixel launcher keeps crashing. But thats ok for me, i only need trebuchet
[OnePlus 3 & 3T Cross Device Development] pijas82:
Twrp sar, clean flash, drunk, lineage 17.1 03/04 , open gapps pico, magisk beta 20.4 , I can't change ringtones ?

Small bug for me, trebuchet perfect, fluidity build, thanks