yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] murmurous:
Thanks for the info. Although, I hit the bootloop before I ever get a chance to install any version of gapps. Due to the A/B boot stack, I have to (1) flash ROM to inactive slot, (2) reboot, setting that slot to active, then (3) flash gapps etc to the now-active slot that I just flashed the ROM to. Step 2 sends me to fastboot land.

But let me think...A/B still has only one data partition, so my old gapps (17.1 opengapps)are still kicking around. It should boot fine without any gapps, or with the correct gapps, but maybe the old gapps is interfering. I need to try a clean flash.

Still doesn't explain why recovery doesn't work, but let's see what happens.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xXRapToRiXx:
No need to worry about active / inactive slots. Just follow the guide in the linked wiki.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
New update Is OUT , thanks Dev 😍
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Toutatis_:
What would be the proper way to update LOS recovery only? I cannot find anything about this on the Wiki. I'm running YAAP ROM and I'm encrypted. Coming from 20210418 LOS recovery.

sudo fastboot flash boot lineage-18.1-20210425-recovery-guacamole.img

works fine, while in LOS recovery I can seeVersion 18.1 (20210425). But of course, my phone won't boot anymore after doing that. I then have to flash my ROM boot.img (patched with Magisk) to be able to boot to system:

sudo fastboot flash boot magisk_patched-22104_NQyXh.img

I can still access LOS recovery after this, but it says Version (unknown) (). instead of Version 18.1 (20210425) so I'm not sure whether the recovery has been updated or not.

Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] murmurous:
Wiki doesn't explicitly mention A/B slots, but the procedure is the same:

We know what's going on behind the scenes here ;) The reboot in step 6 swaps the active slot before flashing non-ROM stuff. Or if you skip that step, step 7 will take care of it.

Just tried a clean flash (factory reset > flash 18.1 ROM > reboot system), still fastboot. Wiping data should take gapps out of the equation, so I'm now confident that gapps has nothing to do with my issue. I think flashing a fastboot ROM really may be the only cure.

Anything I'm missing here?

EDIT: After hours of mucking around, I have identified the root cause: TWRP works only on slot B, not on slot A. I will start a separate thread, since it's clearly unrelated to LOS 18.1.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ele95:
deleted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Hi, could you try the latest NikGapps canary build and see if you're facing any issues?

It has several fixes that involves OTA update fix, mounting fix, several app updates.

Would be great if you can clean flash!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zhuang zhuang:
I made clean flash from OB4 with the instructions on wiki page. Everything worked fine except the display didn't show incoming calls (only vibrate & notification sound)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LuK1337:
Set default phone app in settings.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xXRapToRiXx:
I don't have any experience with those newest builds but I have initially used NiksGapps (the early to mid April stock packages) mostly because I thought I needed google calander. I was not happy with the experience (too much stuff running in background and not quite perfect battery and performance for me at least). I switched to the recommended mindthegapps package and I am much happier with the experience currently so I would after all not recommend other gapps. Note that I installed Pixel launcher in System/Product/app cause I do not like stock launcher...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zhuang zhuang:
I set default phone app & also enable override do not disturb but the issue still there.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] khalisz:
Hello :)

Is the Recovery image works only with Lineage OS ?

Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] giga502:
After yesterday's ota update, I got stuck in another boot loop and had to factory reset.

Upon some reading I think it's NikGapps so I've tried the alternative one, hopefully no more bootloops.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ethan730:
After I used LineageOS 18.1, I can't into TWRP recovery...help..
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Which NikGapps build were you on? The latest canary release has it fixed. If you ever plan on clean flashing, please try latest NikGapps build and see if ota update is fine for you.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Alright, well, gapps packages don't modify the apks, we ship what is created by Google. If you're experiencing battery drainage with too much stuff running in background, you can always choose to install the package with minimum apps in it (like NikGapps-core) and install rest of the applications from Playstore. If you will flash a package that has a lot of apps, those apps will do their job. There isn't anything specific gapps packages do to save battery other than enabling gms optimization which NikGapps already has.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ericlui:
Just tried using 4/26 Full gapps canary release, and tried to update from 4/11 build to 4/25 build through OTA, boot looped
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Thanks for trying, which variant did you flash? Was it core or full or any other variant? Could you also attach the logs generated here? You'll find them in /sdcard/NikGapps folder
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ericlui:
I was using full. I went to sdcard using adb and find it empty
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Ah! Okay. Well, I'll try flashing Los tonight to see why ota update is bootlooping.

Is there any other issue that you're experiencing? When you use nikgapps normally (I mean before ota)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ericlui:
After flashing Nik Gapps first time, LOS recovery requires me to format data before booting up, using Full Gapps package
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Dri94:
Did you find a flashable zip or did you extract the boot.img from the payload.bin?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CR4NKK:
Anyone else having trouble flashing the newest LinageOS with Magisk?

It says the following: "Unsupported/Unknown image format"

Tried it with Linage 18.1 Version from 25.04

Flashing the recovery works fine for me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ericlui:
Trying again using mindthegapps, and find that device not certified in play store, is this normal?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xXRapToRiXx:
same here
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] muphetz:
Try flamegapps,,choose basic,,
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] giga502:
Clean flashed 18.1 with Mindthegapps and using Magisk.

I'm VERY keen to see if I'll boot loop when the next OTA comes out.

I'm getting very good at resetting my phone!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CR4NKK:
So I just found out that I am stupid and I updated my lineage-18.1-20210411 to lineage-18.1-20210425 without using the OTA Patch method guideline by Magisk.

Can anyone help me what I have to do now to get back to the rooted version I had before without wiping my data?

Thanks a lot!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] giga502:
what's the OTA patch method guideline you speak? When I was on lineage 17.1 I didn't have to do anything when doing OTA updates and magisk would be installed afterwards.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
Hello!

I found a problem, maybe don't need logs, I found my phone's sensors are all broken! My OnePlus 7 Pro is chinese verson, and I update to latest Hydrogen OS(Android 11) then flashed the lineage os(2021.04.25 version) according to this phone's instructions on the lineage os website.

And here is the screenshot by the AnTuTu Benchmark app, it shows all the sensors on my phone are invalid, I want know why and how should I do to solve this? (Should I used the Oxygen OS rather then Hydrogen OS?)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CR4NKK:
I am talking about this method:

OTA Upgrade Guides

The Magic Mask for Android

topjohnwu.github.io
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twoxa:
Emmmmmm no 90hz refresh?... Can't find the setting.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djsubterrain:
Ooooh don't do that, that's a nono on XDA. Telling people to install something else? Shame on you young padawan.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Santarosa 503:
Lineage os is working much better in my opinion literally took a 5 minutes search to find gapps im using the zip by sagar
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ttle54:
Would you mind attached the link for gapps? I can't find a proper Gapps for Android 11

Edit: I found it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sumondhk1:
Is there any forced 90hz refresh option and panel mode/display calibration option present in this ROM ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ttle54:
I tried all the Android 11 ROMs. So far this is the best looking ROM. Would love to enable 90 hz refresh rate feature and Dolby Atmos
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MJPollard:
LineageOS 17.1 doesn't even have this, nor does it have the ability to change the settings of the alert slider (both of which are present in other LOS- and AOSP-derived ROMs), so I'm thinking that the answer to this is going to be "it'll be a cold day in hell before it shows up" (but I'd love to be proven wrong). On the other hand, it's also pretty understandable, as I'm sure that LuK1337 has his hands full just trying to get and keep the basics operational, and probably doesn't have the spare time to devote to features that aren't part of the base LOS feature set.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nkhater:
https://www.cyanogenmods.org/downloads/arm64-nikgapps-for-android-11-download/
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
Do you need to flash beta or can you go from 10 straight to 11?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mholloway:
Can you post some screenshots
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ttle54:
There are screenshots on first page I think
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ele95:
[MENTION=5075128]LuK1337[/MENTION] for some reason 90hz worked fine on first build but not in last , anyone have idea
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] skythian:
No mobile network for me. "Mobile Network" is grayed out. No cellular connection, although I do strangely have data. Verizon USA.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] DaJakerBoss:
Could you please share the link? Can't seem to find it anywhere and NikGapps isn't working properly

The above is INVALID, I got NikGapps to work and documented it in a later reply you can find here! Thanks to Nik for their help working this out!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
I had similar issues. I didn't try long enough to see if I have the data or not. I couldn't call out and it was all grayed out. I am using Visible which is one of those small mvno owned by Verizon.

Everything else seems to be working ok. Times like this, I do miss att.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rohitece06:
seems like no mobile network on verizon (sim not recognized) plagues all Android 11 roms on oneplus 7 pro
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Hi, it's working perfectly, tried it myself, what issue are you facing?

If you're facing flickering of screen when you landed on home after you flashed NikGapps, that's because Trebuchet Lawnchair is conflicting with Pixel Launcher. You can just go to settings and set Pixel Launcher as your default home app.

If you're facing issues with phone or in call ui, you can just set google phone as your default Dialer.

Latest NikGapps release is of 10th Oct and Los 18 for our device released after that so I haven't removed Trebuchet launcher with installation of Pixel Launcher. I will do it with next release. Till then, you can follow above steps and it'll work perfectly for you.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] elcom:
Thanks for the nice work.

Rom works great as a daily driver.

Small tip/workaround for installing with twrp .

Every time we install we need to delete pin and fingerprint and then install with twrp(because twrp doesn't decrypt on android 11 as of now).

Instead of going through the while process of deleting lon and then redoing the whole pin and fingerprint process, you can just copy the files to a usb drive and install straight from the drive.

When twrp asks for your pin just click on cancel and then proceed to installing from usb drive.

Much simpler.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] DaJakerBoss:
My query was solved, I worked with Nik on fixing the issue in their Telegram group and I'll edit the original comment and go through my issue and steps here in case anyone is having the same problem.

Whenever Google Pay was installed and launched on a fresh LineageOS 18.0 install, flashed with NikGapps full or core, attempting to launch the app would prompt the user to allow Google Play Services a handful of permissions, one of which included SMS. Unfortunately, no matter how many times you attempted to manually allow it the SMS permission, the setting would immediately revert and you would in turn never be able to allow it SMS making the app (and presumably whatever also relied on the same permissions regarding Play Services) loop endlessly and never work. This was solved by doing a factory reset of LineageOS and after gong through the setup process (I was using full at the time instead of core) Google Pay worked fine. A bit of a hitch, but thanks to Nik's help it's working great now!

Nik also documents this issue in their Telegram channel, they recommend flashing their GApps after initial ROM flashing but before initial boot. If you have this issue, another non-destructive workaround might be to delete /data/system/users/0/runtime_permissions.xml in TWRP and reboot (as pulled from a FAQ in their telegram channel). Hopefully anybody else who runs into this issue can get some insight from this post!

Now we get to wait for Magisk :fingers-crossed:

---------- Post added at 09:14 AM ---------- Previous post was at 09:10 AM ----------

Decrypting PIN is broken, however decrypting with any other lock method (I've tried passphrase and pattern) does work properly on Android 11. Consider switching your pin to the passphrase method or using a pattern perhaps?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kjslabber:
Got root to work using magisk A11.zip. Extracted the manager apk form the zip and installed. The app UI crashes every time I try to load it., but all the root apps I use will get the prompt to allow superuser and grant permission. Then I uninstalled manager app and installed the regular 8.0.2 manager app. This one will load and allow you to change any settings, install any modules you want to try to use. The regular 8.0.2 version doesn't want to prompt you for superuser permission. I guess that is what the modded version is supposed to do. Too bad I couldn't get it to load.

Also used Bitgaps with the setup and cts-config files. Setup went smooth and everything passes safety net check.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zhuang zhuang:
Patch the boot.img with Magisk and fastboot flash boot it, you will get root
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gwolfu:
you need to flash persist.img as it got corrupted for you

more on that here

https://xdaforums.com/t/rom-stock-f...boot-roms-for-oneplus-7-pro-7-pro-5g.3931424/
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CR4NKK:
I am sorry to ask but how do I patch the boot.img and where do I find it?

I am completly new to this procedure :S
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] giga502:
So as far as my understanding goes.

Cancel automatic updates in Dev settings.

In magisk click uninstall and hit restore images

Install the OTA, but don't reboot.

Install magisk to inactive slot

Reboot

I guess this changed from Android 11?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zhuang zhuang:
1. You need to extract the boot.img file from the payload.bin in the .zip rom (use payload dumper to extract) & copy that boot.img file to your phone

2. Install magisk app on your phone

3. Open Magisk, press the top most Install button

4. Choose "Select & patch the file" & select the boot.img you copied. Magisk will patch your boot.img & create a new patch file in "Downloads" (file name is something like magisk_patched-xxx.img)

5. Copy the new patch file to computer

6. Flash that file in fastboot

fastboot flash boot magisk_patched-xxx.img

7. Reboot the phone, now you will have root again.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
@LuK1337 do you mind trying nikgapps again? I've fixed the bootloop issue with OTA update with latest stable release. Also not facing any issue with dialer not being set as default.

is there any underlying issue that needs addressing?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
I tried to do this, but I got an error
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
Hello!

@LuK1337

I found a problem, maybe don't need logs, I found my phone's sensors are all broken! My OnePlus 7 Pro is chinese verson, and I update to latest Hydrogen OS(Android 11) then flashed the lineage os(2021.04.25 version) according to this phone's instructions on the lineage os website.

And here is the screenshot by the AnTuTu Benchmark app, it shows all the sensors on my phone are invalid, I want know why and how should I do to solve this? (Should I used the Oxygen OS rather then Hydrogen OS?)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LuK1337:
Try restorecon -RF /mnt/vendor/persist as root while in Lineage and reboot the phone.

Hint: adb root + adb shell.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
I tried it, but it didn't work, I used these two commands:

adb root

adb shell restorecon -RF /mnt/vendor/persist
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LuK1337:
What was the output of these commands tho?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
From AnTuTu Benchmark app, the phone sensor is still broken:ROFLMAO:, Are your phone is OK?

Maybe I need update to the latest Oxygen OS(A11) rather then Hydrogen OS, then flash lineage os 18.1?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
The return:

SELinux: Loaded file_contexts
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LuK1337:
Upload full output of ls -laZR /mnt/vendor/persist/.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1130381752:
I just executed the command and didn’t restart it. Now I restart and check again. The sensor is ok. Thank you very much.(y)(y)(y)(y)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LuK1337:
Cool, that's better than flashing someone else's persist.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] T-RoR:
Hi @LuK1337, Hide Navigation hint and all gestures work perfect now on 18.1-20210502 on my 1+.

Is it possible to do something to reduce the size of the bar below the virtual keyboard? And with the slider, is it possible to customize it? Adding "do not disturb" would be great.

Thanks for all the developments!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Technomadic:
Trying to sideload, I get "NikGapps not supported for your device yet!"

I have installed the Lineage 18.1 and am attempting the Gapps install via sideload on a OnePlus GM1917 dual sim phone. I've downloaded the latest gapps file - NikGapps-omni-arm64-11-20210201-signed.zip

Please let me know if there is something I'm missing, or if there is a different Gapps file for guacamole on the GM1917.

Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] T-RoR:
MindtheGapps:

Redirecting…
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Sideloading works perfectly fine for me, I did it yesterday. Are you on latest Los 18.1 recovery?

Also, I believe you meant NikGapps-omni-arm64-11-20210501-signed.zip. Right? If not please flash latest.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] almahix:
I am considering updating the stock Android 11 on my oneplus 7pro to Lineage 18.1 using the lineage recovery. After killing the phone with TWRP on A11, I want to know if Lineage recovery is safe with Android 11? Any advice would be gratefully appreciated. Thank you
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] giga502:
Just did an OTA update of the latest OTA.

The 'restore images' button didn't work.

But installing magisk to the inactive slot did!

I don't know if it was that, or NOT using NikGapps that made it work.

But I finally don't have to restore everything so I'm very pleased!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
Los is exceptional, I always try and return to her, she is perfect, the battery is infinite compared to OOS. Thanks for developing this wonderful and super light creature.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Bootloop with OTA update issue is fixed with 1st may release in NikGapps. Glad that your ota update worked out. Feel free to flash nikgapps again, I'm sure you'll have seamless ota update even with nikgapps.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ericlui:
Using latest nikgapps full and have no issue updating to 5/2 build, however play store is still not certified
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ele95:
anyone can update ota with nikgapps i got ota app fc and cant update via ota
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
Make sure your safetynet is passed

Once it is, clear playstore data and play services data.

Reboot.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GamingDoggo:
Can I flash lineage through TWRP or do I need to sideload as the instructions say?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
Yes you can flash it with TWRP , work 100 tested by me , but you are forced to remain without encryption.

Then I also put LOS recovery, it works so well that now I only use LOS. It is the best AOSP, super light, stable and without gaming reaches 10H of SOT.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GamingDoggo:
Alright. Thanks for the answer. And wow that SOT is off the charts! Did you get the 10 hours with 90hz?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GamingDoggo:
I installed it through twrp and it won't boot. Twrp keeps trying to boot over and over. Nevermind
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
See this step :

From OOS 11 Unecrypt with TWRP see this step :

Flash Lineage with TWRP in both slots (see this tutorial) :

1) Flash Lineage on first slot (ex. A) , Flash TWRP and wipe data factory reset. Reboot to recovery without start the system.

2) Flash magisk and DFE

3) flash Lineage and TWRP in second slot (Ex B)

4) Restart to Slot A and boot the system.

For me work 100%

10H SOT always 90HZ (from 25% with powersaving)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GamingDoggo:
I flashed it differently but it's working great! And thanks man for the help too. I had to change the recovery to lineage recovery and it booted up normally.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] razibus:
Hi All

I want to go back to the stock OS

How can I do that please ?

Th
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GamingDoggo:
Do you have twrp installed?