yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chris Kerry:
Greetings All.

I just wiped Cache and Data (leaving the Internal Memory and Vendor as was). Then, went through the usual:

1. LOS recovery >> latest LOS 19.1 ROM; reboot into LOS rec. >> latest MGapps; reboot into LOS rec. [again to ensure that both A/B were fully LOS installed and Gapped because I always have issues with the TWRP stage 1st System reboot] >> latest LOS 19.1 ROM; reboot into LOS rec. >> latest MGapps

2. Reboot into Bootloader >> TWRP.img

3. Reboot into TWRP.img >> flashed TWRP.zip from adb (to be sure A/B fully TWRP-applied) >> Reboot into System [I always need to force an active partition switch if not reboot attempts never boot system but return to TWRP]

4. Usual initial setup of phone and main Google account

5. No force closes so far. Internal memory is populated as before (since it wasn't wiped)

6. Reboot to TWRP >> make boot backup into USB-attached storage (since TWRP refused to write into LOS19.1 Int.Memory]

7. Reboot to System >> Install Magisk 25.1 APK (previously in the internal memory) >> Use Magisk to patch the boot image (renamed to boot.img) >> copied the patched IMG to PC

8. Rebooted to Bootloader >> fastboot the patched IMG >> reboot to System

9. Install swift backup APK >> restore apps, messages and call logs

Everything worked well, this time, also the text-to-speech options (whether Google or Ivona's).

Am I going to have to be going through all these steps to apply future LOS 19.1 updates? That would be quite inhibiting if so. Well, let's see how the future ROM idiosyncrasies pan out.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Shouldn't be necessary, just use the built-in updater.

What I do after applying an update and before reboot:

1. run Magisk module "Twrp_a_b_retention script" if you want to stick to using twrp

2. from magisk manager app install magisk to unused slot

Some say Magisk is sticky now between updates, but that extra steps is easy enough
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GiIrain:
I don´t have it on me, but I don´t remember this phone being dual slotted with a slot_a / slot_b replacing system.

Could you have requested that system be read-only when you first set up TWRP ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
no, TWRP is runing in r/w mode. Also tried mounting system partition but doesn't help either

OnePlus6 DOES have an a/b layout, but honestly I'm not sure what you mean by that
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] filjusz:
fastboot erase system_a

fastboot erase system_b
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GiIrain:
I mean that you should wipe slot_a/b instead of looking for the system partition.

At least that how it's presented on my current phone: slot_a/b corresponds to the "old" system.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Thanks; I remember having tried that once then ended up in an even deeper mess. But I admit that was somewhere around 2 a.m. so I guess I created that mess myself. Next time I need to do I'll try that
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chris Kerry:
👍 Many thanks!

I have seen this in the past (for other android 10 and 11 ROMs) but did not know that it would work for this LOS19.1 (Android 12.1) which needs such a finicky installation procedure.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Just a question out of pure curiosity - no complaint: why is it that LOS 19 is taking so long (at least 1 hour on my device) for an OTA update? I downloaded the package at 9:30 this morning then started the update right away. At 11:30 the updater finished. Even if I keep my phone awake all the time I have to be prepared for an hour or so (the updater apparently is taking a break as soon as the phone is in standby mode). Could that have to do with the way I setup the phone, or with apps I installed? None of the other updaters (LOS on different phones, or OOS on this one here) ever took longer than 10 or 15 minutes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jiyermin:
is there any guide to roll back to OXYGENOS? have LOS19 atm, but noticed there are some features in oOS i really miss..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] olifee:
I also wondered about that and had a look via `logcat`. What happens is that after the actual update installation, `dex2oat` is triggered for the most commonly used apps (seems to be about 50 % of the apps). I'm not sure whether this is a new feature with Android 12, but this usually takes up to one hour for me, too, since I have many apps installed.

In short, this means the most commonly used apps are optimized for the phone before the reboot to the new system. The same process usually happens when the phone is idle (and connected to the charger) for over two hours, e.g. when charging overnight.

I think this happening right during OTAs is something new, though, but it likely improves the "post-OTA-experience" a bit since apps will start faster before the first "overnight charge", i.e. "things will settle" faster ;-).

The time for updates to run through can be improved (at cost of more battery usage) by going into the updater, pressing the three dots in the top right corner, and then in settings selectiong to give priority to the update process. This shortens down the process by 20-30 % for me.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Thanks, I sure will try that next time (if I remember... ;))
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
Maybe it also depends upon how many apps you have installed or sth? I use the priority setting, too, and for me it just took around 30-40 minutes this morning.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
A second comment on the recently new behaviour of the stock gallery app. It's a minor 'issue' though.

I like to change my background images frequently. Up till two weeks ago, I could do so by just opening an image in the stock gallery app, entering the top right menu and selecting "Set as..." and "Nova background image" (I use Nova launcher).

For two weeks now the menu option has completely vanished. I have to enter the LOS settings, go down to the Design, Wallpaper menu, click "Change wallpaper", and then I have to search for the image file in the file browser. If I select the system gallery for image selection instead, my background image is shifted to the complete right, no matter which part of the image I select as a wallpaper.

I assume this is due to a new gallery app version? I wonder though why the gallery devs (I assume the AOSP devs) would remove the option to set a wallpaper. Anybody here experiencing similar behaviour or knowing a better workaround? 🤔
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jfreak27:
Installed LOS 19.1 from OOS11 couple of days back. ROM feels great. Very smooth. No ANR, no random restarts, no freeezes.

Going to install Magisk now.

Can I just sideload magisk.zip via recovery?

Magisk GitHub says it's not recommended anymore?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
Just read a few pages back in this thread. The topic is broadly discussed there.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Nihal @A-JAX:
Apart from buggy VoLTE which only works once in a while, there are no major issues in this official ROM.

Anyone relying only on VoLTE for calls and SMS, stay away from this ROM for now! Else need to keep rebooting the phone to get VoLTE working. Airplane mode and fix connectivity option under internet settings doesn't help.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
Hello - WiFi not working

any idea why my OP6 with LOS 18.1 and 19.1. (as well as /e/) has a problem with the WiFi. every time when I want to switch WiFi on, the button jumps back a couple of seconds later.

I have tried different methods to install LOS but without success.

Usually I go back to stock rom with msmdownloadtool, installing the latest (and last) version of OOS. Of course, now WiFi is working:-(

Any idea what I can do?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
No idea really; just a very wild guess since I don't know how you started in the first place: could it be that your firmware is not correctly installed? Maybe (re-) check these firmware installation instructions. Also be sure to observe any warnings in there.

Or - if you want to start from scratch (maybe to be recommended) make sure latest OOS V11 is flashed to *both* slots, then go on flashing LOS. Never forget to wipe data. Comprehensive instructions can be found all over this thread here as well as in the LOS instruction pages.

Good luck!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] al1024:
Hi,

Is this version include OMAPI ?

OnePlus remove OMAPI functionality from their Android 11 Stock ROM.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
Just to end this topic - I checked LOS patch notes of the two recent weeks, and it seems Gallery2 function "Set as" was dropped intentionally due to a bug. So I assume to replicate the possibility to change wallpaper through gallery, one needs a different gallery now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
Hello,

followed the firmware installation instruction but :

>sudo fastboot flash --slot=all abl abl.img

fastboot: error: Could not check if partition abl has slot all

>sudo fastboot flash --slot=b abl abl.img

Warning: abl does not support slots, and slot b was requested.

Sending 'abl' (2132 KB) OKAY [ 0.067s]

Writing 'abl' FAILED (remote: 'Flashing is not allowed for Critical Partitions

')

fastboot: error: Command failed

>sudo astboot oem device-info

(bootloader) Verity mode: true

(bootloader) Device unlocked: true

(bootloader) Device critical unlocked: false

(bootloader) Charger screen enabled: true

OKAY [ 0.001s]

Finished. Total time: 0.001s

>sudo fastboot flashing unlock_critical

FAILED (remote: ' Device already : unlocked!')

fastboot: error: Command failed

Well, no luck.

I also installed OOS with twrp to make sure both slots have been updated (is there any way to check this?). Afterwards I installed /e/ (lineage fork) but with the same result - WiFi is not working.

Any other idea?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Sorry, no idea what is going wrong with the LOS-way to re-install firmware. It's a while that I last tried that, but back then it worked fine. But be aware that these instructions where written for LOS itself, other ROMs may have different layouts and partitions.

And: no clue what type of fork ("/e/") you mean. "fork" means a branched-off version of this LOS build here, right? just did a quick search on "/e/", apparently it's a LOS fork (started 4 years ago? At first glance I didn't find anything younger than 2018...). So apparently you're *not* using this build here >> LOS 19.1. Maybe you have more luck finding a solution in a different ("/e/" related) thread / forum / telegram group / whatever?

basic idea is to boot into recovery (TWRP if you like) then flash OOS, make sure you still have the same recovery available, then reboot to recovery and repeat the above steps incl reboot to recovery. After each "flash" > "rebbot" sequence the slot should have changed, that's how you know that OOS was flashed to the now-active slot. Only after that you proceed with wiping and flashing your ROM etc.

There are numerous posts in this and other related threads describing the procedure; here's how I proceed: https://xdaforums.com/t/rom-official-enchilada-12-lineageos-19.4437321/page-16#post-87010019
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
Hello again,

thank you.

Of course I followed your link and made sure to install OOS in both slots. I have used the SW versions you have used. LOS 19.1 (nightly) is up and running (with twrp and magisk) BUT again without wifi... after trying to activate wifi, it takes a while and sometime the error message appears: system-ui is not responding, close app or wait... it does not matter what you click, wifi is off afterwards.

Besides installing OOS (11.1.2.2) in both slots - is there another way to check the firmware version in both slots? Somehow this is currently my last idea, because the wifi HW is working with OOS but not with LOS...

:-(
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lord high executioner:
From what preivious version did you start?

Are you sure you're really in fastboot(d) mode?

Are your android tools (adb, fastboot) up to date?

sudo should not be necessary at all.

I just did the update from latest 18.1 using adb/fastboot at version 29.0.6.

Worked as expected.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Sorry, I'm lost in that case is as well. Only idea coming to my mind is that probably something went wrong somewhere during the entire process. Just to be sure let me repeat:

1. boot to twrp, check current slot (let's say you currently are in A), flash OOS, flash current twrp then reboot to recovery

2. back in twrp check current slot again, you should be in B now (or in A if before you were in B). Now again flash OOS; no need to flash current twrp again, instead reboot to recovery

3. you should now be in LOS recovery which allows you to do a proper factory reset / format data etc. (current twrp versions apparently cannot do this, at least it never worked on my OP6)

4. from LOS recovery follow instructions to flash current LOS 19.1. After that reboot to recovery again

5. back in LOS recovery flash some gapps solution (MindTheGapps is recommended; I flashed NikGapps but that apparently has some minor issues with LOS; you decide).

6. Now it's time to boot to system. You now should now do a basic LOS setup. Make sure you don't set any screen locking (pattern, pin whatever) yet; do that as the very last step.

7. After that check whether you have Wifi. >> if Wifi is still giving you trouble I'm out, no more ideas

Else you can continue like this:

8. In case you now are having proper Wifi and everything else you can think of,reboot to *bootloader* then start *fastboot* on your PC and boot into TWRP (in case you want TWRP instead of LOS recovery):

fastboot boot twrp.img

Once you're in TWRP recovery you can set that up. Go to "Advanced" and choose "flash current twrp", then reboot to recovery. That should be TWRP now, and you should have unencrypted access to data

9. reboot to system and continue setting up

Good luck once again
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
Hello,

1) from what previous version - I have to admit I am not sure, I think it was 18.1

2) really in fastboot - yes, I always check with fastboot devices before I start

3) android tool - it is version:

Android Debug Bridge version 1.0.41

Version 32.0.0-8006631

Hope this version has no issues with OP6?

without sudo I do get error messages, but with sudo it seems fine (working on a LMDE5)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
thank you for four support - of course I do it again:

- boot into twrp version 3.6.2_11-0-enchilada

- OOS 22.J.62_OTA_0620_all211125... flashing to inactive slot A

- flash twrp version 3.6.2_11-0-enchilada

- reboot to recovery

- OOS 22.J.62_OTA_0620_all211125... flashing to inactive slot B

- reboot to recovery

=> Issue - this is OOS recovery !!!

- wipe data/cache - reset system setting (data & cache) - yes

- erase everything - yes

- from OOS recovery I do not have adb/fastboot access to my OP6

Which steps do you recommend now?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Ok; can't remember what OOS recovery looks like. You need to get into bootloader. If that's possible from OOS recovers, fine. Else you can reboot to OOS system, from there into bootloader. Then follow LOS instructions: https://wiki.lineageos.org/devices/...rily-booting-a-custom-recovery-using-fastboot. Goal is to flash LOS from LOS recovery. Then as described above

Update:

Just re-read my last post describing what you could try. And some steps are missing there, don't know how that happened. Really sorry for that. Anyways, you need to get into bootloader then use fastboot to temp flash LOS recovery to boot, as described in the LOS instructions, then continue from there. Again check LOS instruction on how to start bootloader if you want to double-check
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
ok, continued:

- reboot into fastboot

- fastboot temp install LOS recovery

- in LOS recovery, format data/factory reset

- in LOS recovery, adb sideload to install LOS nightly

- reboot to LOS recovery, adb sideload to install Mindthegapps

- reboot to system now

LOS with mindthegapps up and running

but no WiFi (same problem, click on wifi button and after a while I get an error message of the button just jumps back to inactive)

Thank you for your time and great support!

I will install OOS again... and I will see what I am doing with my last OP mobile...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chris Kerry:
The layout of GitHub is confusing for this retention script. Can't find any "download" button to simply get it.

Please could you (or someone else with it) help me by posting the TWRP_A_B_Retention script that you flash after applying OTA updates? Would be very much appreciated!

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] filjusz:
Just flash this like any other magisk module before rebooting (and after applying an OTA update).

Download twrp-installer-3.6.2_11-0-enchilada.zip

Download page for twrp-installer-3.6.2_11-0-enchilada.zip

eu.dl.twrp.me
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chris Kerry:
I already have this (used it earlier in the process of setting up LOS19.1). However, it is not the TWRP_A_B_Retention script that is being advised (not just by lm089 but all over the internet).

Can't you just give me the link to download that one, please?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Not sure if I understand what you mean. I'm using a module that is offered by Fox's Magisk Module Manager (as Magisk gave up on having its own Module Manager). Either download latest version, or use a module version from your internal storage if available
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
Sorry to read that, and no big idea what else you could try.

Apparently you are willing to try several things, so maybe you could give this one here a shot:

https://xdaforums.com/t/rom-11-0_r57-jaguar-oneplus-6-official-v22-updated-july-8-2022.4224171/

It's A11 based, apparently a quite stable ROM (I tried it once for a few days). Probably worth trying whether Wifi is available there. But no promise of course...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Zys2017:
I flashed today's version from OOS, no google sync, the most recent version of receiving SMS delays happened to me here, I don't know if it's a problem for me or all of us.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
just finished OTA and post processing. Google Sync (contacts and calendar) for me is fine in both directions, SMS reception as well. Took just a couple of seconds having a TAN creation SMS sent to me (remember I had huge delays with one of the June builds)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
The SMS thing is an interesting one. I experienced SOME issues while communicating with my father via SMS recently (sometimes my SMS would not reach him and vice versa); I assume though that this is more a carrier problem than a ROM one?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] olifee:
Which GApps are you using, MindTheGApps or another GApps provider?

Maybe the issue is related to the GApps flavour which is used.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] olifee:
I have now also updated to the OTA from today, using MindTheGApps here. At first, Google Sync was indeed stuck (never tried a forced sync immediately after OTA, though). After a few minutes, syncing works fine again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Spaceoid:
I talked to a few friends whom I sent SMS recently, and they all were delivered without problem, so I strongly assume SMS problems (at least on my side) are carrier problems and have nothing to do with the ROM.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jigoku__:
I seem to be having issues with the SMS service as well. I just sent an SMS to a friend, and a moment later I received three SMS' I should have received in the past five days.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lm089:
what build are you running atm?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nikagl:
Weird; I reinstalled my ROM today (with lineage-19.1-20220712-nightly-enchilada-signed.zip) and it seems Face Unlock has disappeared... that was still available yesterday and afaik I was already on the latest version of Lineage 19... what happened?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mm-privacy:
thank you but I went back to OOS. I have invested already too much time in my OP6... at least the stock rom is working with WiFi... So my next mobile will be a Pixel 6...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nikagl:
I also have a stock google camera instead of the oneplus camera now... any thoughts how to get the oneplus camera back? And Face Unlock? :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jabashque:
I... uh... LineageOS never shipped with Face Unlock and OnePlus camera in the first place for enchilada. I don't know how you had both of those installed previously...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nikagl:
Must have stuck from the previous ROM I had then... would love to know how to add it...

For Camera I now added MGC... wow, what a great camera :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nikagl:
So... I now figured it out 🙈 I had Syberia running before...well... now it's Lineage :) too bad there's no face unlock, the rest is perfect 👍
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nikagl:
On my device the data connection stops when I am on a phonecall. This works fine from an iPhone, but for some reason not when using my Oneplus 6... any thoughts?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ImjuzCY:
Any chance to have Wireguard kernel implementation?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TexnoViking:
Thank you developers for supporting my good old OnePlus 6! Enjoying LineageOS.

I have been having a weird issue with Private DNS. It does not work on mobile data, but it does work over Wi-Fi. It seems to be a rare issue and I could not find much online. I saw this thread, but it seems like nothing came of it.

I do have Google Fi instead of a regular service provider. But combination of stock OOS and Google Fi used to work just fine with 1.1.1.1 private dns setup. I am not sure if it is LineageOS, or Android 12 and its iptables changes (what ever that is), or if it is a Google Fi issue.

I have not tested this extensively, but I think Telegram started having problems as well. It is unable to exchange encryption keys when you are making a call over mobile network. Switching to Wi-Fi fixes that. But it could have been a fluke. I do not use Telegram calls that often.

Any thoughts? Is anybody having data + private DNS issues?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] falcodx:
FYI

I was not able to install apps like Netflix via the play store unless I corrected the devices build.prop fingerprint to a Google certified one.

Used the magisk build.prop Module for this and choose the OnePlus 6 Android 11 fingerprint:

MagiskHidePropsConf/README.md at master · Magisk-Modules-Repo/MagiskHidePropsConf

This tool is now dead... Contribute to Magisk-Modules-Repo/MagiskHidePropsConf development by creating an account on GitHub.

github.com

1. Install Module, reboot,

2. terminal editor -> "su" -> "props"

3. "1 - edit device fingerprint"

4. "f - pick a certified fingerprint"

5. Choose OnePlus, model, Android Version

6. Reboot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] falcodx:
Can you post the source of your camera port?