yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
An OTA will overwrite boot.img (where root lives, one might jokefully say)

I have no idea how to keep root after an update. My recommendation is to always patch and flash the latest recovery (boot.img), which I upload it to my sourceforge for anyone to download (in the recovery subfolder)

If there's relevant documentation from the developers of Magisk on a root retention script, I might include it in the rom, feel free to look into it for me.

Gapps where included because the instructions were getting to difficult for some members to follow.

In theory you should be able to flash any gapps-package after you flash the rom, just remember you will have to do it each time you update the rom.

Since 3.7.0 TWRP has gotten some major updates regarding device encryption, I strongly recommend you to update. Or feel free to do like me and other users of this rom, and just boot it via fastboot when you need it (fastboot boot TWRP-3.7.0_12-YOURDEVICE.img)

I have created and restored tons of TWRP (nandroid) backups, especially during the development of this rom.

To and from Lineage 19.1, Lineage 20, Awaken, Pixel experience, you name it. Everything except OOS I suppose.

Never had a single issue. Not sure I understand your question.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
That sucks!

After some investigation it seems like BCR eToken really hates custom roms (not just LineageOS in particular).

A little bird told me that you can easily fix this with hideprops in Magisk? Preferably some common (official) fingerprint, YMMV.
[OnePlus 6 & 6T Cross Device Development] lm089:
Magisk has this option to flash itself to the other slot right after an OTA and before reboot to system. That's what I'm using after each OTA of LOS 19.1

The retention script is for keeping twrp as recover solution as official LOS apparently is overwriting the existing TWRP with its own recovery solution. So my question was: do I have to take care of TWRP after an OTA of your ROM, or is your OTA leaving an existing rcovery as it is?

understood

good point, will think about it

Well I'm referring to this remark by Siddk saying that backup/restore is not recommended for A/B devices:

https://xdaforums.com/t/recovery-11-12-13-unofficial-twrp-for-oneplus-6-6t.4382121/post-87599221

Never heard of that before, but I'm very far from being an expert in these matters, I "just use the stuff" ;) (and am stunned that it mostly just works!)

Many thanks btw for your patience to answer all those questions. It's highly appreciated! (y)
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
AFAIK there you can't update a A/B device under LOS without updating recovery, might be wrong though.

When you overwrite/update recovery (in other words boot.img) you also overwrite the kernel & ramdisk and also the recovery environment, which means losing root.

One might be able to replace LOS recovery with TWRP in the build process? Not 100% sure how to accomplish this though. My speciality is after all communication, management (people and devices 🙃 ) scripting & automation! I'm in no way a developer, haha.
[OnePlus 6 & 6T Cross Device Development] TheMadKing:
Thank you very much, I will see if hindeprops in Magisk works.
[OnePlus 6 & 6T Cross Device Development] tinotraver#:
Is anyone getting over the Wallet problem in adding payment cards(fajita)?
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
hello very good idea to replace LOS recovery with TWRP because I never managed to use LOS recovery to install in adb sideload always error messages
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
This fork (v2.3.1-MOD_2.0) of SafetyNet could fix the problem.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
New build with TWRP cooking now, fingers crossed.
[OnePlus 6 & 6T Cross Device Development] lm089:
Well, not trying to be a tutor here, but just in case of interest how I perform OTAs since I opened/rooted my OP6; used this in all OOS stock ROMS and official LOS builds without any troubles.

Setup in my case is with TWRP as recovery and latest stable Magisk (25.2 as of now). A Magisk module called "TWRP_A_B_Retention_Script-Magisk.zoip" is already downloaded on my device (you can get it through any Magisk module repository like Fox's):

1. download and install OTA from updater, wait until your told to reboot >> don't rebbot now!

2. start Magisk app run theTWRP retention script from your device >> after that again, don't reboot yet!

3. back in Magisk app hit the upper "install" link (= the one for Magisk itself, *not* the one for the app), then choose "install to inactive slot (after OTA)"

4. after that your safe to reboot

Works like a breeze and if you don't forget those 2 extra steps you can continue using your phone ike you did before
[OnePlus 6 & 6T Cross Device Development] Bäcker:
Alternatively download the OTA, fire up TWRP and select the zips (OTA + magisk) + reflash TWRP option
[OnePlus 6 & 6T Cross Device Development] tinotraver#:
Thank you. Should I have to flash magisk before? And if so, which release?
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Yes you need Magisk in order to use the module.

I would recommend the canary build since it's for Android 13, however 25.2 seems to work fine as well. The canary version is linked on the first page.
[OnePlus 6 & 6T Cross Device Development] marfai83:
Update: after the OTA and a couple of hours, crashes returned. I disabled the fingerprints and restarted and since this afternoon I haven't seen any crashes.
[OnePlus 6 & 6T Cross Device Development] Bäcker:
I'm using Nova Launcher and fingerprint, trebuchet is deactivated. No UI crashes for weeks. Whether that is a coincidence or not I do not know.
[OnePlus 6 & 6T Cross Device Development] marfai83:
Will try, cannot live without fingerprints, thanks 😁
[OnePlus 6 & 6T Cross Device Development] marfai83:
No joy, tried with Nova as well, but as soon as I activated the fingerprints, the crashes started again :(
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
hello I use action launcher my fingerprint always activate never had a problem
[OnePlus 6 & 6T Cross Device Development] marfai83:
Hi, will give it a try, thanks! However, at this point I don't think it's something about the launcher: it seems there's some unlucky people who had somehow something screwed in the installation.
[OnePlus 6 & 6T Cross Device Development] crisontur:
Hello,

i've installed this rom and i think is very good, but i have 2 questions:

1) is possible to assign different ring tone for sim1 and sim2? i don't find any setting for this...

2) in playstore results that the phone is not certified, if i register the phone trough google procedure becomes certified or not? this is not a big issue for me but i can't install some apps like netflix otherwise...

thanks
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Hi!

AFAIK there is no setting to set ringtone by SIM, would be a very neat feature.

Are you using the included gapps? ROM passes certification with mindthegapps (included), see screenshot.

I suggest to clear cache and or storage for Play store.

Spoiler content hidden.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
An update on TWRP, or rather Kitch is slowly going insane™:

I've been able to build/port TWRP 3.7.0, but I'm not very happy with the results (technically it works.... just barely).

I will ask our beloved @Siddk for permission to include his excellent version with the ROM, fingers crossed.

If he says yes, I guess we'll do another poll on whether to include it or not? Thoughts? Suggestions?
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
hello for me LOS recovery never worked adb sideload always error signature messages with twrp adb sideload never a problem otherwise this rom I love it everything works on my oneplus 6 again a big thank you
[OnePlus 6 & 6T Cross Device Development] crisontur:
it is possibile that during restore form google account, i overwrite mindgapp with other??

in this case may i to reinstall rom over current installation without formatting to resolve the problem?

thank you
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Test and let us know!
[OnePlus 6 & 6T Cross Device Development] jojemiqe:
I am not getting any UI crash since day one.(6t)
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
I don't import any google backups because I never do them because before I had problems on certain roms for a few years I do more if it can help who knows

:unsure:
[OnePlus 6 & 6T Cross Device Development] lm089:
it can also be necessary to uninstall any updates of play store app after you cleared cache and personal data:

>> Setup >> Apps >> Google Play Store >> 3 dots >> uninstall updates

Then let Play store app update itself, after that it should be happy again ;)
[OnePlus 6 & 6T Cross Device Development] Ulises31:
I am using Nova Launcher and no problems at all with fingerprint.
[OnePlus 6 & 6T Cross Device Development] marfai83:
I think at this point it's just me and few other unlucky ones :(. I have no time to wipe again, so I will probably disable the fingerprints for now and keep it as it is :P
[OnePlus 6 & 6T Cross Device Development] crisontur:
Ok thank you... i will test in a few days
[OnePlus 6 & 6T Cross Device Development] crisontur:
after this procedure i receive offline error message in play store...after reboot the same warning....
[OnePlus 6 & 6T Cross Device Development] lm089:
Wow, never had that although I performed it at least twice! Weird.

Did you do that for Google Play Store *app* or for the Services? I'll test it in the course of the next days
[OnePlus 6 & 6T Cross Device Development] crisontur:
No...was disabled every type of connection after uninstall.

Now network is working but device not certified
[OnePlus 6 & 6T Cross Device Development] lm089:
So I don't have to test, ok.

And then I don't have a clue. As I wrote, for me that worked twice on this device + once on a different one as well. Sorry
[OnePlus 6 & 6T Cross Device Development] crisontur:
Thank you for supprt
[OnePlus 6 & 6T Cross Device Development] pabsrocka:
I catched a logcat during systemui crash.

Hope it will help!
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
A minor update:

I've been successful in automating the build with all my patches + TWRP. Just waiting for permission from Siddk.

No news regarding the UI crashes, still looking into it.
[OnePlus 6 & 6T Cross Device Development] crisontur:
Ok i've done a sideload of the rom over without formatting and in playstore device non certified anymore....
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
I'm not sure I understand.

Is it certified or not?

If you go to app info of play store, which version is reported at the bottom?
[OnePlus 6 & 6T Cross Device Development] crisontur:
is not certified sorry

version: 32.8.18-21[O][PR] 481699564
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Strange.

Are you using any Magisk modules and or Xposed?
[OnePlus 6 & 6T Cross Device Development] crisontur:
no Magisk, no Root.

i have done a clean install of the rom, but i've restored apps form google account....

for me is difficult at the moment do another clean install beacuse i've some customer vpn apps that requires reactivation and the procedure is not automatic, but i've to contact customers to reactivate
[OnePlus 6 & 6T Cross Device Development] crisontur:
other info: safetynet passed, i can install my banking apps and other apps that require safetynet.

but in playstore device is not certified......so i can not find some other apps like netflix for example
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
I understand.

There's probably an issue with the restore from your google account.

I would suggest migrating/moving your apps and info using either TWRP or Migrate.

Has anybody else on this rom experienced this issue?
[OnePlus 6 & 6T Cross Device Development] sebcio2804:
No problems here.OP6t but I use Magisk Hideprops and Zygisk.On start I hade also same problem but with Time it got fixed by self.
[OnePlus 6 & 6T Cross Device Development] marfai83:
No issues here on OP6. I did fresh install from LOS recovery and restored a backup from Google.

No root.
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I have the same issue. OP6t, did a fresh install and copied files from an old phone in the setup process.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
There's a very quick way to isolate the issue.

Does this occur after a factory reset without restoring any data?
[OnePlus 6 & 6T Cross Device Development] Ulises31:
I haven't faced this issue. I performed a dirty flash, from riceDroid 7.0 to LineageOS 20. No data lost and no issues. Rooted by Zygisk. Banking app works, Playstore works and call recording (google dialer) works through pixelify zygisk module.
[OnePlus 6 & 6T Cross Device Development] Rockishi:
Hello, great ROM. But I have a question about a persistent audio bug.

I've watched the thread for a few weeks and finally decided to flash my OnePlus 6. I wiped the entire phone and installed the new ROM. I came from OOS 10, and did not flash the latest OOS official update (in case that's relevant.) The root apps I installed were Magisk and Adaway. I did not flash any additional GAPPS. After a day the audio began to cut out and lag. This happened on every audio app and video app. So I factory reset the phone, wiped the internal and system partition, and re-installed this ROM yesterday.

But within 6 hours the audio lag problem was back. The phone is unusable because of the audio failure. One time the phone crashed and led me into an Oppo Crash Dump screen. Any insights would be appreciated.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Hi!

If you're coming from OOS you should really flash the latest version (11 something) before coming to a AOSP based rom, as it contains firmware updates.

You can download it here

https://xdaforums.com/t/oneplus-6-r...icial-oxygen-os-roms-and-ota-updates.3792244/
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I try to perform a factory reset within the next few days and let you know.
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I was able to do the reset just now and nothing changed. I didn't login with a google account and didn't copy any data. The phone is currently empty, with no root.
[OnePlus 6 & 6T Cross Device Development] Rockishi:
Flashing the latest OOS makes sense. I'll take your advice and report back. Thanks for the prompt replies on this thread.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
How annoying!

I haven't run into this issue before, since we now pass all SafetyNet checks.

Which version of the rom are you on?

The most relevant thing i found on googles support forum was from another LineageOS user, could you try this?

Spoiler content hidden.
[OnePlus 6 & 6T Cross Device Development] crisontur:
if can help, i'm on the last version of the LOS and i've tested the suggested method for play services and.... nothing.... device non certified but safetynet passed...
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I'm sorry for the inconvenience.

I installed version 20-20221020-unofficial-fajita on my OP6t.

Play Store is on version 32.8.18-21 [0] [PR] 481699564

Google Play Services are on version 22.41.13 (190400-480714934)

I noticed that the google play Services are getting an update after first boot. The Play Protect Certification in the play store is gone at first and shortly after the update it says not certified.

What i tried now:

- Clear cache of play services: no effect

- Delete all data of play services: no effect

- Clear cache of play store: no effect

- Delete all data of play store: the next time i open it, it takes a while to show settings menu and then shows not certified again

- Delete all data of play services and play store before opening it again: same as delete only data of play store, but no effect

All methods are done without loggin in to a google account. Does it matter?

I also used SafetyNet Status to check and it says failed
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
New build uploaded!

Very stable. Have verified most, if not all, google apps. Been running it for 24 hours without any issues.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Build for fajita uploaded!
[OnePlus 6 & 6T Cross Device Development] dayouyu:
My bluetooth earphone (supports aptX) was not working in the 0927 build, even in SBC mode (didn't have enough time to extract the logcat at that moment before reverting to 19.1, sorry). I noticed they have some BT-related commits in the android_device_oneplus_sdm845-common repo recently, including an update to proprietary-files.txt to include the aptX blobs, so I downloaded the 0930 build and extracted payload.bin, but couldn't find system_ext/lib64/libaptX(HD)_encoder.so in the extracted image. Are these commits included in the 0930 build? You may also need to manually update the blobs before building.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
aptX was added back 0928, and I see now that I forgot to update the prorietary files...

New build for enchilada + fajita coming soon with aptX added!
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
New build uploaded with aptX for enchilada and fajita
[OnePlus 6 & 6T Cross Device Development] T2000T2000:
Hi Kitch2400,

thank you very much for building the new Lineage version for these "old" devices. Much appreciated!

In your first post I see

> Passes SafetyNet with kdrag0n's safetynet-fix

My question would be: Are you planning to integrate the things that are needed to pass the safetynet into the build already? Because I think that's the in the (official) Lineage versions, right? that would spare people from instelaling Magisk and probably banking apps would hopefully work out of the box too.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Hi!

You're very welcome.

Sure I could, but then I would deviate from LineageOS source (AFAIK Lineage 20 doesn't pass SafetyNet?).

I will create a poll, if there's enough interest I will integrate a SafetyNet fix.

Great suggestion, thanks for your input!
[OnePlus 6 & 6T Cross Device Development] ravidevani:
Is it fairly stable now? considering moving to this from lineage 19.1..
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Haven't had a single crashed app or reboot the last couple of builds, Gapps works perfectly now 👍
[OnePlus 6 & 6T Cross Device Development] ravidevani:
Cool.. will flash it now.. Thanks!

Update: Dirty flashed over 19.1.. all good till now.. no crashes.. excited to see how it goes!
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
An update:

Working on OTA updates now, looks promising.

MindTheGapps will be included in all future builds for simplicity's sake, starting tomorrow.

New build uploaded for enchilada with latest proprietary sources, build for fajita is cooking (∼ETA 90 minutes)
[OnePlus 6 & 6T Cross Device Development] dayouyu:
TBH I prefer vanilla builds without google stuff... Could you please continue to bake vanilla builds, or provide both versions?
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Since an OTA update will retain Gapps that installs a addon.d-script, this is perfectly fine (users without Gapps won't have them forcefully installed, and those with Gapps will not have to reinstall them).

I will not provide 2 versions as that means that I would have to build 4 versions total, Gapps and non-Gapps for both enchilada and fajita.

Edit: OTA is fully functional now, will be included in next build!
[OnePlus 6 & 6T Cross Device Development] ctushar97:
Excited to see the progress. Was waiting for a build with most stuff working, will flash and report back as soon as I can.

Edit: Does the latest build include gapps for enchilada?
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
No Gapps are included at the moment.

The verified good working ones are NikGapps core and MindTheGapps, but feel free to experiment.
[OnePlus 6 & 6T Cross Device Development] jojemiqe:
thank you mate. Great effort.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
lineage-20.0-20221003-UNOFFICIAL-enchilada.zip is now uploaded to sourceforge.

This build is up to date with LineageOS 20 source, and has OTA enabled.

Fajita version is currently cooking, and will be uploaded in a couple of hours.
[OnePlus 6 & 6T Cross Device Development] ctushar97:
On yesterday's build, everything seems to be working fine alongwith mcd kernel(t1-los20-custom), magisk and mindthegapps. Minor bugs in the UI, which probably need to be fixed upstream in addition to the UI bugs that were already there in LOS19. Storage permission doesn't show up for apps, don't know if that's how A13 is supposed to be. Apps will take storage permission without asking(Eg. Bromite and NekoX have storage access but won't show it in the permissions screen, no option for storage). I was unable to give stock browser storage permissions though.

Also experienced some crashes with play services and UI crashes, though minor, only experienced about 1-2 instances of both throughout the day, I'd say it was during the initial setup as everything seems to be working as intended after that.

Already more stable and smoother than other A13 ROMs that I've tried so far for enchilada.

LiveDisplay, touchscreen gestures work. No DC Dimming or HBM. No issues with BT Audio as well.

Standby drain and SOT seem to be on par with LOS19, though will require further testing as I've had this ROM only for a day.

Also, massive thanks to OP for adding OTA support in the newer builds and building with up-to-date sources with quick builds.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Great to hear!

The UI needs some work, sure, that is however nothing I'm willing to take on.

I haven't had a single crash of the play services, which Gapps are you using?

Might be related to the mcd kernel, just saying..
[OnePlus 6 & 6T Cross Device Development] ctushar97:
Did a clean install with the latest build with mcd. No crashes this time around!
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
@crisontur

Are you also on a Oneplus 6t/fajita?

@MichiHochstetter

No, Play should be able to check the certification status without logging in to your account. It is however dependent on SafetNet, among other things.

I'm starting to think there's something I forgot to add or modify in the latest fajita build...

Cooking a new version now, expect an OTA within a couple of hours!
[OnePlus 6 & 6T Cross Device Development] crisontur:
yes i'm on 6t/fajita
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
If it helps, this is the output of the safetynet test and if i'm on the older version of play store before the update, the "not certified" is gone.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
92% certain that I found the issue 👍

Sadly I don't have a fajita to test on, gonna see if I can pick one up. New build cooking now, will upload within a couple of hours
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
New OTA for fajita available for download.

Im very interested to know if SafetyNet passes and Play store certification status.
[OnePlus 6 & 6T Cross Device Development] crisontur:
Thanks... i'm downloading...

i can dirty flash previous version if something goes worst?
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
Shouldn't have to, but sure.
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I'm sorry, but i've dirty flashed it with no luck. Also a clean install with formatting is not working :/

Edit: I tried another rom (just in case) and it was successfully certified with no problem.
[OnePlus 6 & 6T Cross Device Development] Kitch2400:
I see. Which rom?

What about you @crisontur ?

What about YASNAC output?
[OnePlus 6 & 6T Cross Device Development] MichiHochstetter:
I tried Blissrom (https://downloads.blissroms.org/download/fajita/)
[OnePlus 6 & 6T Cross Device Development] crisontur:
my phone is updating but... slowly slowly finalizig installation package... 50%... i don't know why so slow.....