yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
I have been reading and trying to keep up with this in preparation to install TWRP for like a week now but still haven't installed TWRP, only booted an earlier version to install Magisk. i have waited bc so far, the moments i have started to do the install, changes were incoming/eminent, so i waited. In the meantime, I have read every post in this thread and still am not 100% certain.

The two things that most often *appear* to have been at play when people cannot restore are the backup type being _image (system_image vs system, etc) and having to restore data separately *after* the other images (after system_image, etc.) When those two things are done does it still not restore properly?

i ask bc now i have time and a booted pc but am not positive that there is not another caveat to back up/restore in TWRP. Like many here, this is my first A/B device, and i just want to be certain i know what im doing fully.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] suzook:
NO, not for me. I have been restoring .img since its been available on TWRP. The issue is something is wrong with restoring data for me, and some others. Everyone keeps blaming multi user, or parallel apps, which i dont have.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
which os ver are you on? and international or Tmobile?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] suzook:
06, international.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
128/6, 128/8, or 256/8?

you can see my thought clouds...there has to be a reason
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] suzook:
128/6
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
last annoying question [MENTION=2313936]suzook[/MENTION] were you running stock kernel?

anyone else that cannot restore data, please chime in if you see any pattern.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] suzook:
Once i was, 2 other times, cust kernel. Not annoying, just would like a properly working twrp. Im done messing around, fastboot flashing stock 3 times, and a msm restore due to corrupt phone in 5 days is not fun.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
Yeah. I ended up losing everything once bc i installed an incompatible theme. so it wouldn't be the end of the world if i lost everything, but enumerating the possible variables seems like something that needs to happen for progress for everyone.

that being said, is it possible that custom kernel is the variable?

edit: just re-read that. so stock and custom kernel both failed..

I have seen several posts where people successfully restored data, but i doubt that everyone is on a custom kernel and likely the OS and memory are not factors, but i asked bc i have seen crazier things make a difference. there has to be a logical explanation.

as i said initially, this is my first A/B device. this is also the first device i have had where TWRP resides in boot partition versus recovery, so that is another one i dont understand fully yet.

im tempted to read through the pixel 3 recovery thread and try to find similar situations, but idk at this point.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ajruckman:
Can anyone help me with how to fix my bootloops without having to factory reset? Every time I uninstall *any* Magisk module I can no longer boot. It sits at the boot screen with the red dot and 2 white dots.

I have tried fastbooting twrp.img and then re-flashing twrp.zip and re-flashing magisk.zip but it doesn't help. I have also tried wiping the cache partition and dalvik cache. Every time I have to do an erase in TWRP.

This latest time I was uninstalling Lawnstep from Magisk. The modules I have tried don't do any harm after I install them, only when I uninstall them and reboot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TheBurgh:
Try flashing tye stock boot.img
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] 5upon:
I ran into this when I installed and disabled Lawnstep. Some overlay references are created when it's installed, and they aren't deleted when it's disabled or removed. Open an ADB root shell and do the following:

rm /data/system/overlays.xml

rm /data/resource-cache/overlays.list

reboot
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ajruckman:
Thank you, I am not sure if this is what you meant but I tried fastbooting boot-9.0.6.img but it didn't work, it is still stuck on the boot screen...

---------- Post added at 04:23 PM ---------- Previous post was at 04:19 PM ----------

Thank you! This worked. I guess I must have just been really unlucky with the Magisk modules I have tried so far, I've had trouble uninstalling all 3 of them...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
But this is a problem of all module or only this one?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ajruckman:
I might have spoke too soon, this fixed my boot loop but it seems like Lawnstep is still installed? I still have the Lawnstep navigation bar at the bottom and the Lawnstep gestures are still working. Is there a way I can get back to what I had before Lawnstep?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] 5upon:
It's the same kind of bootloop that happens when a Substratum overlay is removed but the reference isn't, and the system keeps trying to load it during boot. There's a visible loop in logcat. I'm not sure if Magisk Manager has the ability to execute a script when a module is disabled or uninstalled - if it does, then this module and others don't clean up after themselves properly.

That's weird - did you disable the module in Magisk Manager? If that didn't work, open an ADB shell and delete the module's directory in /sbin/.core/img.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ajruckman:
Yes, I uninstalled it in Magisk Manager, which caused the bootloop, so I rebooted to recovery and deleted the files in the terminal like you said. I tried it twice to make sure I did it right. There is nothing in /sbin/.core/img except lost+found...

I did find / -name lawnstep* but the only files it came up with were a couple in my Documents folder, which I deleted to be safe, but it didn't help either.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] 5upon:
Hmm... Maybe try the nuclear option and run the Magisk uninstaller? Then if/when you reinstall you'll start with a fresh magisk.img.

https://github.com/topjohnwu/Magisk/releases/download/v17.3/Magisk-uninstaller-20181022.zip
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ajruckman:
Nevermind I'm an idiot... you can switch the navigation bar style in Settings > Buttons & gestures > Navigation bar & gestures. I guess Lawnstep changed it to "Back, Home" from "Back, Home, Recents" and I was mistaking that nav bar style for a Lawnstep feature.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] faulkner23:
password everytime

followed this guide but when i boot to twrp it asks for password everytime is it ment to be only one time
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
It should ask every time
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Follow the guide in the first post
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Did you ask me to follow the guide?

I was answering the question.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Sorry i bad read your post
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] felek73:
Did you try to restore this backup?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] faulkner23:
Yes done this excatly but with the updated twrp 3.2.3-8 and everything works great
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
LineageOS 16 for Oneplus 6T. The ROM download link was taken down though so maybe there's an issue with the ROM.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] liam_davenport:
Wouldn't install that anyway no source linked and the site isn't official Lineage..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
I was already on twrp-fajita-3.2.3-8. There's no reason to flash magisk since I restored the same partitions I had just backed up, but I had tried it anyways and it didn't work.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Yamvmax1:
No.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] xXx:
if you are decrypted and get a wrong pin error after a restore, go back to twrp and flash the attached patch. This will remove your pin.

Important. This patch is for decrypted devices only!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
Thanks! So this won't be a problem if I just wait it out for a fully functional TWRP build correct?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] dreinulldrei:
Yeah, but just flashing Magisk even from this preliminary TWRP works fine...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
I'll probably wait it out for a stable TWRP, but if I get restless, I just might use this one and sideload magisk. It's an option that's there!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
Yes or manually delete the file locksettings.xxx :D

Very good to see you here, you think to make new xXx rom for new 6T? :silly:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] xXx:
If you are decrypted you can use my OP6 NoLimits Magisk Rom already. You will find it in my OP6 thread as I will not open an extra thread for the OP6T.

Once TWRP can handle encrypted devices NoLimits can also be used on encrypted Fajita devices.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ram4ufriends:
Are you getting 6T?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
Thanks a lot for the info, actually i'm encrypted, if i will dectypt my device sure try your rom, just doubt if decrypting and flashing no verity for OP6 setting new pin and fingerprint the TWRP work normally like on my old OnePlus 5.

Teorically so i can install all rom for OP6 but fingerprint will work?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jsilver73:
Yeah - problem is that once decrypted it seems impossible to register finger prints (always gives the 'wrong pin' error) - someone did say that they were decrypted and rubbing clean slate kernel but I'm not sure they were really understanding what I was talking about, I haven't tried yet as been busy enjoying my new device today :D
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] xXx:
no I will skip the 6T. My next device definetly won't have a notch.

All you need for decryption you will find here

https://xdaforums.com/oneplus-6/dev...1-0-speed-ram-optimized-t3799167/post78100903

First users reported it already working.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
I think that can try to delete before all pin and fingerprint, then format data so flash noverity and then try to register new fingerprint, teorically can work.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] SpectraFun:
Lol good luck.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
Thanks a lot, if i will decrypt sure will try :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ram4ufriends:
Is there anyway to encrypt that phone again just in case needed?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] xXx:
yes, format data again but don't flash the no verity patch anymore.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jsilver73:
Nope - that's the problem exactly, clean formatted system (from no pin previously set) decrypted would setup pin then immediately after registering face detail would then ask for pin before registering fingerprint (doesn't do that on encrypted startup Wizard just goes straight into setting up fingerprints) and at this point gives wrong pin error. Something funky going on with decryption which if you think about it makes sense as encryption is there for user safety - but a pain in the arse for power users like us lol.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
Yes i saw the exactly issue at the beginning with OnePlus 5, hope can solve it shortly. :fingers-crossed:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jsilver73:
Interesting - I had op5 on pre release from the pop up shop event in London last year, and rooted and twrp'd with the first dodgy Chinese twrp (yellow) and never saw any issue with wrong pin entry - not disbelieving you but just saying it's interesting, I wonder if there is more to this than meets the eye do to speak.

Ah but wait, now I fine to think about it I stayed encrypted at first for quite a while - that must be it !
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
I'm also buy at the beginning on the release day and had that issue with some rom, not all and i solved simply deleting all the files named locksettings.xxx in /data/system if remember correctly.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] micky387:
it's not a place to talk about this here but be careful , kernel source code using for this build does not have dtb for op6t ....
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
I have TWRP 3.2.3 installed, and I went to update via flashify and it can't find my recovery partition. So I got the zip and went to flash it and my sdcard is nothing but folders like 67gjeh638;ysjD8. Why are my folders like this? How do I see the normal folders?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jl2222:
I got my Nandroid to successfully restore and boot after my phone kept crashing and going straight to TWRP on reboot. Messed up my phone with a bad substratum theme from ozone.

1. Do not manually wipe system. System will wipe during the restore process.

2. Make sure RF format is enabled in TWRP settings

3. Wipe data cache and dalvik (factory restore swipe) only once

4. Restore all paritions. Use system image and vendor image not regular system and vendor.

5. Flash magisk 17.3

6. Reboot system

7. Profit

Additional info: I restored a 9.0.6 backup with no limits xXx and bluespark kernel using TWRP 3.2.3-6.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Do you restore Boot Modem and EFS? Just curious.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jl2222:
Yeah Boot Modem and EFS too.

Edit: Don't mind the yellow color of the screen shot for some reason that happens to screen shots in TWRP.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Very cool. :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] niphoet:
How do you take a screenshot in TWRP?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I think it is hold power and press volume down

Stored in Pictures/Screenshots
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
It's TWRP 3.2.3-0 that's installed. Is that why all of my folders are weird?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Yes it does not decrypt data partition. You will have to use either computer or USB drive and install the latest version of TWRP
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
Thanks! I've been desperately trying to find out a fix.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Are you rooted?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
Yeah. Magisk17.3 right now. It doesn't show any modules. I got the zip to 17.1 and 17.3. Which do you recommend?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I'm using 17.3
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jl2222:
Correct
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
Okay cool. Are you getting modules showing up? I'm not. But then it may be due to my TWRP
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I have only used the systemizer module. No problems with it.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
I have 3.2.3-6... Can I flash 3.2.3-8 through TWRP?

Will these steps work? Flash 3.2.3-8 in my current TWRP>reboot to TWRP> then flash Magisk 17.3 installer> reboot to system..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
Yes that is what I did
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Nsane457:
So apparently setting "Use rm -rf instead of formatting" from the beginning was absolutely necessary for restore. Restore is working with that option.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
I got it updated. Installed, reboot to recovery, installed magisk 17.3, booted up. What's the password for the system??
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] trinidude4:
Did you already try the password or pin for your lockscreen?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] zakkyzombie:
No I just hit back and flashed from my USB stick.

Edit: went and tried and that's it.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Funk Wizard:
Its suppose to be entered everytime you enter twrp in order to decrypt your storage, so that is how its suppose to be :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Funk Wizard:
Decryption issue has been solved since last week, please try the new img. Rooted here with 17.3 no issues.

There may be more builds after this one but this one was able to decrypt fine and take backup for me :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
I guys I'm on OP6T 8+256 latest stock Oxygen, this TWRP from great [MENTION=4712355]mauronofrio[/MENTION] and obviously magisk.

I'm still ENCRYPTED.

Can I ask you:

Actually, at this point of development (no romz) what is the main reason to decrypt?

If i want to decrypt, what are the steps?

TWRP format data > yes ?

Then other to do in TWRP?

What will this wipe exactly?

If I don't have any lock security method like Pin or pattern, twrp won't ask me nothing to decrypt right?

If I decrypt, will a Titanium backup taken when encrypted restored when decrypted?

I have a lot of other question but I stop here :silly:

Reading the thread I see that some substatrum theme caused problems. I can confirm it happened to me as well.

With PitchBlack. I applied it, reboot, then I activated overlays, reebot, i checked and decided to unistall it so i unistalled overlays, reboot. NO BOOT in system, recovery, fastboot. After 30 minutes of long pressing all the pressable, it booted again in fastboot and from there i was able to reebot in system.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
Both dm verity and forced encryption are the part of Android Secure Boot. You cant simply modify the partitions, dm verity check partitions on every boot or reboot. Forced encryption, encrypt your phone on first boot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] krohme:
Does this mean you have to enter password every time you enter recovery?

Also does this wipe data in order to decrypt?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
Is this the fix all? Or are some of you still having issues even with the setting?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Striatum_bdr:
Main reason to decrypt? None in fact as long as TWRP works

The only reason to decrypt is if TWRP or the ROM can't decrypt (I had this issue with pie custom ROMs on my op3, obliged to decrypt to have 9.0)

No other reason justify decrypting

To decrypt you must format (and not only wiping, big confusion sometimes) /data, it will erase all your apps + personal data.

Then you must flash magisk with 'force data encryption' unset as OOS forces encryption. But I don't see the point of doing that.

Backups have nothing to do with encryption.

I think it's preferable to have a lock security set and being asked to enter it in recovery it's a matter of... Security.

TWRP decrypting has NOTHING to do with the lockscreen password, decryption uses built in procedures, with hardware keys that even OnePlus can't access. There is always a HUGE confusion between securing the access to twrp and encryption. Two different things.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] fracman:
So what is the process to decrypt fully? That isn't in the instructions. When do we format? Do we boot twrp.img, format, flash installer.zip, flash magisk? Reboot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] micky387:
if you want to decrypt totally ,you need to edit fstab.qcom in /vendor/etc.

Remove "fileencryption=ice" in ext4 /data and save it.

reboot to recovery, choose format data ,type "yes" and done.

reboot to recoveryand you have a fully decrypted device but no more encryption at all. it's not the best way to do it ... or wait, we working on it ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] st_voss:
Are you sure about that?

My understanding is:

Yes, Android's file based encryption is using hardware keys.

But these hardware keys are in turn stored encrypted.

And the encryption key used for storing the hardware keys is derived from the user's lockscreen PIN/pattern.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Striatum_bdr:
Not at all as it's encrypted even if you don't set any lockscreen pattern or password.

It was a source of a lot of misunderstanding in many threads as people were confusing those two different things.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
That's the forced encryption, it will encrypt the device on the first boot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cwalker0906:
I think the guy is confused. Twrp decryption is the ability for it to see your files. It doesn't mean you have to decrypt your phone.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Araa01:
We have first rom for 6T! [emoji7][emoji3059]

Any guy check this? Work?

https://r.tapatalk.com/shareLink?ur...share_tid=3799167&share_fid=3793&share_type=t
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] scott45333:
It's not technically a room, but more of a tweaks package for stock roms. If you configure the profile file, you can set everything exactly as you would like it. I've been running 4.0 for a few days and it's great. I would definitely recommend trying it out.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Araa01:
All work? What oxygen inside? 9.0.6?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] dipole:
do i need to disable fingerprint before I backup?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] scott45333:
The only issue I had was I lost signal when running no limits with SmurfKernel. I changed changed "3g signal and speed tweaks" to off via the profile and have had no issues since. I am on Verizon, which could have added to that problem.

Running Oxygen OS 9.0.6, SmurfKernel RC18 and no limits.

**Sorry for the off topic**
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] bcool_1:
I am rooted with OOS 9.0.6 by adb sideloading TWRP and Magisk both.

Now can I just go straightforward by flashing the unofficial TWRP and then magisk and boot to system.

Will I encounter any problem or do I need to flash Rom.zip ,then TWRP and then magisk and reboot to system.

And one more question I want to have it permanently until OFFICIAL TWRP releases for oneplus 6T.

So should I flash the .img file only or both .img file and installer.zip file?

What is the sequence if both I have to flash or only installer.zip?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
Use swift black substratum theme.... Pitch black works it's just very buggy...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Man the .img file should not be flashed, only the installer must be flashed
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] EnterpriseTech:
I am new here and get my 6t yesterday and this recovery working fine here.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] AnoopKumar:
Lineage os test build booted