yashsingh1/xdaforums huggingface dataset:
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
Can anyone give me an idea on why I cannot flash or boot?

I tried booting into fastbootd

fastboot flash lineageos-for-microg-keys-migration.zip

unknown partition 'lineageos-for-microg-keys-migration.zip'

fastboot: error: cannot determine image filename for 'lineageos-for-microg-keys-migration.zip'

I then tried the recovery.img from the lineage website:

anarcho@LuNoHo:~/Documents/LineageOS/18T$fastboot boot recovery.img

Sending 'boot.img' (98304 KB) OKAY [ 2.909s]

Booting FAILED (remote: 'Unrecognized command boot')

fastboot: error: Command failed

anarcho@LuNoHo:~/Documents/LineageOS/18T$fastboot devices

72cfba44 fastboot
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
MSM tool time. Never flash zip file with Fastboot unless it's explicitly made for that, it will brick the phone just like you found out. You must boot the LineageOS recovery first before flashing any zip files via ADB sideload as it's actually safe to flash anything as long as the superblock partition is actually mounted.

Recover your phone with the MSM tool, and then tether boot the recovery from there on, which then there's checks to make sure it doesn't mess up the system - never ever flash the recovery image onto the phone, you can only do tethered boot which is almost always the first thing you're supposed to do with the phones shipped with Android 9 Pie and beyond, just FYI.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
So, I tried updating with sideload but the phone upon reboot was back to the same version. 😑

Could this be the issue?

adb sideload copy-partitions-20210323_1922.zip

Is this now an absolute requirement with the official release??- even though I am already installed on slot b (I believe) and have not had this issue with previous updates.

Does installing this zip wipe the phone?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
It does not touch data + would it really hurt your soul to go through this step even if by some chance it wouldn't be necessary? It's marked as not optional for a reason.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
Thanks for the assistance!

I flashedadb sideload copy-partitions-20210323_1922.zip successfully.

I am still having issues though whether I boot into fastbootd or do

'adb reboot bootloader' as per new instruction and run

fastboot devices

I get the following:

no permissions (missing udev rules? user is in the plugdev group); see [http://developer.android.com/tools/device.html] fastboot

I have the correct id enter in file:///etc/udev/rules.d/51-android.rules

Bus 003 Device 002: ID 18d1:4ee0 Google Inc. Nexus/Pixel Device (fastboot)

sudo udevadm control --reload-rules

(although this keeps changing and was working in fastbootd)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
I have now added both id's to the udev rules:

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0666", GROUP="plugdev"

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666", GROUP="plugdev"

but that does not work either!

Also, I am on the latest adb

Android Debug Bridge version 1.0.41

Version 31.0.1-7187441
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
Fix your udev rules or adb kill-server and then use sudo adb.

Maybe you need to reboot, idk.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
After reboot I again have fastboot recognised to a point in fastbootd - but it fails

fastboot devices

72cfba44 fastboot

anarcho@LuNoHo:~/Documents/LineageOS/18T$fastboot boot recovery.img

Sending 'boot.img' (98304 KB) OKAY [ 2.860s]

Booting FAILED (remote: 'Unrecognized command boot')

fastboot: error: Command failed

Fastboot still does not work after 'adb reboot bootloader' in recovery.

fastboot flash recovery.img

unknown partition 'recovery.img'

fastboot: error: cannot determine image filename for 'recovery.img'
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
Why are you trying to fastboot boot something? Can you just follow https://wiki.lineageos.org/devices/kebab/install? I don't see a single `fastboot boot` step there.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
Well boot recovery did not work -

but when I flashed recovery (once I actually put 'recovery' in the command) it worked and I could then sideload the rom.

I have successfully updated to lineage-18.1-20210422-nightly-kebab-signed.zip

I have lost root of course, so hopefully fastboot will work with the new recovery, so that I can apply the patched boot.img
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
hmmm, the patched boot.img for root would not boot.

I had to restore the original boot.img

I flashed it in fastbootd

fastboot flash boot boot.img

Sending 'boot_a' (98304 KB) OKAY [ 3.405s]

Writing 'boot_a' OKAY [ 0.372s]

Has anyone successfully rooted the official version?

UPDATE: I just used the canary version of Magisk and this too produces a failed boot.img ☹️
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
I don't ever manually patch the Linux kernel as they usually cause bootloops and soft-bricks, so I install the Magisk via LineageOS and TWRP recovery on my phones I have in my collection.

However there is a new twist regarding the Magisk app, you have to just download the recent Magisk app and rename it from .apk to .zip and then install it via the recovery. Zero problem with root.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
OK, interesting.

The official documentation recommends patching still but I shall give this a go.

There is no TWRP so what is best for flashing the magisk zip - adb sideload or Fastboot?

Thanks.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
ADB sideload.

EDITED: the same ADB sideload command obviously also work on TWRP once and if it finally arrives for our OnePlus 8T phone.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
OK, thanks.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Got the Magisk installed?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
I installed it and it would not boot.

I uninstalled it and it will still not boot.

I cannot even sideload the rom on anymore!

Nothing but bootloops now.

adb sideload lineage-18.1-20210422-nightly-kebab-signed.zip

adb: sideload connection failed: no devices/emulators found

adb: trying pre-KitKat sideload method...

adb: pre-KitKat sideload connection failed: no devices/emulators found
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
That's strange. Recover it with MSM Tools, and then start clean slate on LineageOS ROM - reboot into the recovery then install the Google Apps package and let it boot as normally and finally reboot into recovery and sideload the Magisk. That's what I did to have trouble-free installation. Android 11 is kinda complicated.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] anarchotaoist:
I can only find MSM tools for Windoze. Linux?

This looks like I will loose all my data - ?

Googe app package? I put on Lineage precisely because I do not want google apps!

🤬
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Alright, Google Apps are optional though, and if you don't want to restore everything, try flashing or Fastboot boot the virgin Linux kernel from the LineageOS ROM package with the payload extractor, as an alternative way to get back in. Also, I wish Qualcomm Snapdragon processor tool is available for Linux too, unfortunately it's usually OnePlus' and Qualcomm's call, so I was forced to do MSM Tools on my T-Mobile OnePlus 8T via Windows 10 as I accidentally bricked the 5G modem in it (it wasn't able to connect even though I can see IMEI and it read the SIM card okay).

Or if you know that another slot have known working copy of LineageOS, try do fastboot slot switch.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] ivanperezcaro:
Hello. I would need your help. I can't install the gapps MindTheGapps-11.0.0-arm64-20210412_124247.zip. The installer says:

Could not mount /mnt/system! Aborting

E:Error in /sideload/package.zip (status 1)​

I have followed all the steps on the official page.

During the installation of the lineage file, the following message appeared:

E: Logical partitions are mapped. Please reboot recovery before installing an OTA update.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
That error message sounds pretty clear to me? No idea why you'd go straight to flashing google apps when your lineage sideload failed.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] ivanperezcaro:
Thanks for your answer.

It was a stupid mistake on my part. I was using the full path to the file on my computer (adb sideload /mnt/Descargas/Android/kebab/lineage-18.1-202104

22-nightly-kebab-signed.zip) instead of just the filename.

I'm sorry I asked for help for this nonsense. It seems that everything is fine now.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
Uh, the actual mistake was *not rebooting* like the error message told you. Absolute vs relative path makes no difference whatsoever.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
I just simply right-click into the open folder containing the Linux version of Google Platform Tools and LineageOS ROM zip on Ubuntu, and select "Open terminal here" then type just the ./adb and the filename, saves me a lot of time typing out the whole directory. So it doesn't actually matter too much.

EDITED: It's definitely recommended to reboot back into recovery after having installed the chosen operating system, before you install anything else, otherwise the recovery will complain - the way recovery works is a lot different from the Android Lollipop - Nougat phones, as Oreo and beyond changed how the SSD partitions are handled - Android 10 and 11's typical SSD partition is one big continuous block that's user visible, other than multiple partitions across two slots previously (that apparently caused the problems with the UEFI bootloader, so Google - and therefore OnePlus - deleted second bootloader slot, instead boot from one bootloader slot for two separate operating system bootable slots).
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] pouic98:
Good evening

where can we find the details of lineage 18 because I do not know what brings this rom compared to a stock rom.

sorry I don't have a good command of English so I haven't read all of the 36 pages
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
LineageOS ROM is basically modified version of AOSP operating system so it's nearly as clean with a few bells and whistles that both CyanogenMod and LineageOS are known for.

So far a few OnePlus exclusive video features works, like Pixelworks processor for AMOLED screen, DC dimming, selective color profile (I use DCI-P3 as it looks better as far as HDR10 videos are concerned), and 60 / 120 Hz video refresh speed setting (it automatically switch to 120 Hz on 60 FPS videos and revert back to 60 Hz when exiting the video player like YouTube).
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] pouic98:
yes I knew cyanogen but I have problems understanding the tutorial correctly on the lineage site and I don't want to do bull****
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
I see. It should just be simple, but you need to back up everything, all of the contents in the phone's SSD so you don't lose anything because wipe is definitely mandatory due to the partition encryption signatures which is different between OxygenOS and LineageOS ROM, then fastboot boot the LineageOS recovery (DO NOT FLASH - it will wreck the phone, only do tethered booting of the recovery image, LineageOS ROM installer will automatically install the recovery) and sideload the ROM you want installed, and then reboot back into the recovery and install whatever you want, and let it boot as normally. That's pretty much it.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] pouic98:
Do you have a reliable tutorial because I did not understand everything you said .... sorry

I'm trying to figure out what's on the lineage website but it's confused

he talks about putting a recovery special and then flashing the rom lineage and copying the partition a to the partition b and vice versa

for me it's all confused
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
I don't think flashing to Partition B immediately after doing Partition A would work because of the update locks implemented within the bootloader which I discovered, which you should run the OS first before you switch the slot, it's mostly to prevent the accidental brick. And you just have to download the recovery from LineageOS' download page and then fastboot boot recovery, and sideload the ROM installer, and reboot it back into recovery installed onto the phone via LineageOS ROM installer, and do factory reset (it's required or it errors out and wind up bricked until you reboot into recovery and do factory reset), and install whatever your favorite app package zips you want like Magisk, and Gapps, and reboot it as normally.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] pouic98:
how to install the recovery "lineage-18.1-20210428-recovery-kebab.img."

we are talking about adb and fastboot but I don't quite understand

is there another way?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
DO NOT FLASH. Fastboot boot the recovery for the first time unless you want to wreck the phone. The recovery is also already inside the LineageOS ROM installer, it will be automatically installed so don't worry about doing it manually. Just do tethered boot.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] pouic98:
Hi

I don't understand how to flash the rom in the phone

the tutorial indicates that you must flash a recovery first before flashing the rom

I'm lost!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] LuK1337:
Can you just mindlessly follow instructions on wiki? Pretty sure that'd work for you.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
Hi can you let me know which gcam port you used exactly? thanks
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Grabbed it from the link via this thread, and don't enable and use Monochrome and high speed camera / telephoto cameras, it will cause it to crash. I will have to see if they would bother to fix that (doubtful, at least the camera driver import is being fixed so it should re-add some missing camera features). And astrophotography feature works. You have to use exactly the version of Google Camera port that is designed for OnePlus phones, and the configuration file for the OnePlus 8T.

https://xdaforums.com/t/google-camera-for-the-oneplus-8t.4207683/
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] chomsky55:
How do you implement the configuration file if you don't mind me asking?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Make two new folders in home directory, GCam, and Configsx (ie. for GCam v7, Configs7 folder should be used, as it should follow the camera version) as explained therein. And then touch the empty black area at the bottom of the camera app, between the buttons, you may have to do it a few times until it finally ask you what configuration file you want to restore.

How to Load & Save XML Configs in Google Camera Ports

How to import and export settings/configs on Google Camera versions that support this feature.

www.celsoazevedo.com
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Kinda would have been nice if LineageOS recovery can install the file off the home directory, rather than doing the tethered update, but I can live with it as I am used to do tethered unbricking, as I had to recover some hard-bricked phones (LG Thrill 4G apparently liked to delete its bootloader).
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Ah, but then recovery would need to be able to access encrypted data.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Oh yeah, that too. It's kind of why recovery builds are coming along slowly for the Android 10 phones in general. At least TWRP is being worked on for support of Android 10 SSD encryption, which should make it a bit less painful to port that Android 11 TWRP onto OnePlus 8T phones.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] fates13:
Is nearby share broken for anyone else in the latest builds?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] hhllss:
Hello,

Just a question. I am unable to pass safetynet at all (all red in Magisk). Is that something expected ? Or did I make something wrong ?

Running LOS latest version, on KB2003, Magisk 22.1 (with MagiskHide Props Config, and Universal Safetynet fix).

For the rest, everything is smooth and running nicely. OTA works like a charm keeping root and Gapps.

Thank you :) !
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] mvmike:
You need to enable MagiskHide in the Magisk app too, I'm passing safetyNet with that and the very same config as you
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] hhllss:
So this is strange, since I am using MagiskHide, also. So a problem here, but I do not know why.

Thank you anyway !
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
Im on the 4-22 version and for some reason I get random lockups after a while. meaning any app i open does not open. it launches then just freezes. it has happened about twice so far and i have to restart the phone each time to get everything working again.

And for updating, do i need to factory reset/wipe between each update or can i just flash the update on top?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] ivanperezcaro:
I have not had any of those problems.

To update you don't need to do a clean flash. I recommend that you use the updater. You will keep Gapps and Magisk.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
The fingerprint scanner somehow got borked, so Luk1337, do you think it has to do with the old fingerprints via dirty update and reinstallation of the Gapps? If yes, I will have to delete the fingerprint files somewhere to get the scanner to function once again.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
Perfect, so i can use the updater through settings, hit install and it will just update without me having to reflash anything and still keep root?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] ivanperezcaro:
Yes. I did so in the last update and the Gapps and Magisk were kept.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] OhioYJ:
@mvmike are you checking in the Magisk app (recently)? I don't believe that check is working right now. @hhllss if you use another method to check you'll most likely find you are passing, and you are still certified in the play store.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
so i tried it and im stuck in a boot loop.. great. it just keeps restarting. cant even turn off the phone..

edit: was able to fix it by booting into fastboot and changing active slot back to a and reflashing old recovery. doesnt seem to be updated, guess im stuck on this version forever lol
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Hold both volume keys down for Fastboot, and it should stop at the bootloader screen.

I never trusted the OTA, and this is kinda why. Also, I usually reinstall both Magisk and Gapps package after the operating system, to play it safe.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
Do you just dirty flash the rom to update?

I did get my phone out of the bootloop like i mentioned, just not able to update.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Dr. Mario:
Yep, I am still able to update, although Slot A was kinda broken (my own fault).
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] ivanperezcaro:
Sorry for my "advice". I have always updated my devices in this way (https://wiki.lineageos.org/devices/kebab/update) and I have never had any problems.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] hhllss:
Hello,

Seems you are right. Play Store is OK, I can install and run Netflix (which I don't care, that was a test), and I can pay Apps. I also checked with three "Safetynet check" apps, since it seems that Play Store is not always accurate, and two of them said the phone passed (the third not, no idea why). So in fact, it seems that I am OK, on my side.

Thank you for pointing that to me :) !

Regards,

H
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] wzyoct:
I have solved this problem, and I hope it will be effective for you. This problem occurs because of the update channel of magisk. I used the stable version before. Now I changed to the canary version and everything is normal. You can also Try to see if it works for you
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] mvmike:
Glad to help, I also use netflix to check safetynet :)

It's an issue related with google changing the API key, hence why the canary (already updated) is working and the stable will be soon.

https://xdaforums.com/t/safetynet-api-error.4262631/
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
The stable version of Magisk still works but it's check of SafetyNet shows a failure (though it's actually ok). This is fixed in Canary 22104. See Post in thread 'Magisk General Support / Discussion' https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84872043

Also see https://github.com/topjohnwu/Magisk/commit/94ec11db588b3096aef68cdbcfd16bf0b436b7c5 for the explanation of why it failed.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nuwan32:
So im trying to get google pay working and just cant.. I've tried many of the guides using magisk hide, and hiding from all google apps, installed hide props config, systemless hosts, safetynet fix modules for magisk but still cant get pay to allow contactless payment. i check play store and i can never get it to show as certified. checking safety net on magisk always shows failing at ctsprofile. anyone have any ideas?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Here's what I would do:

1. Enable MagiskHide in Magisk>Settings (gearwheel) (see screenshot)

2. Verify that Google Play Services is hidden (shield>MagiskHide) (see screenshot of expanded Play Services entry) which is on by default. No need to hide anything else other than apps that complain about root.

3. Clear data from Google Play Services and Google Pay.

4. Set up Google Pay

Note that it may take Google Play quite a while to show certified again.

PS: use latest Canary Magisk as it fixed the issue with showing an error when checking SafetyNet in Magisk stable.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] bugdebug:
Hello guys, i am currently using lineageos and i wanna go back OOS, but i dont know how. Please help me. And i dont know what firmware should i install, kb2003
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] wzyoct:
just use msm tool.You can Google the keyword "oneplus8T msm", of course, if you do this, you will lose all your data, so please make sure to back it up
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] chomsky55:
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS

Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...

xdaforums.com
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] bugdebug:
I dunno know what firmware am gonna install, international firmware?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] chomsky55:
where did you buy the Oneplus phone?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] bugdebug:
Philippines sir, oneplus store