yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
Hmm ... but my phone doesn't even ask me for any password/pin/pattern when booting into TWRP.

Under Settings->Security->Encryption & credentials, the "Encrypt phone" setting shows "Encrypted", and it is greyed out and cannot be changed from that screen.

My (possible mis-)understanding is that my filesystem is somehow still encrypted, but this is somehow accomplished without a password. When I inititalize my OS, I always bypass the request to set a password. I'm guessing that this allows TWRP to not need a password for reboot, but to still somehow encrypt the file system.

The reason I believe that my filesystem is still somehow encrypted is because in the past, I installed an OS, did a nandroid backup in TWRP, and then saved the TWRP directory tree to my desktop computer. Later, after trying a different OS, I wanted to go back to that first OS, and so I restored that saved TWRP directory tree to my device and tried to do a restore under TWRP. However, TWRP did not recognize that directory as containing any backups, and I am guessing that it's because they were encrypted under the previous OS and are therefore unreadable under the current OS's encryption scheme.

But all this is just guessing on my part.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AndroidRooterKev:
https://source.android.com/security/verifiedboot/dm-verity
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] -Deco-:
No this is not correct, dm-verity is an encryption scheme which allows for a device running on Linux to have the disk encrypted using Full Disk Encryption, the verify option being signature integrity with the decryption key during the boot process.

Dm-verity is a function implemented on the OS level, removing it will cause Safetynet to fail rendering banking apps inoperable. Decrypting the device simply resets the dm-verity key, so yes you will need to have no lock on the phone to remove it.

And indeed removing it will not stop mobile operators preventing third party app installations, since this is prevented on a bootloader level by preventing unlocks and has nothing to do with dm-verity.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
OK. I think I mostly understand now. Thank you.

But I still am confused about a couple of things. If I reset the dm-verity key in order to implement decryption, will this render banking apps inoperable on my device?

Another question I have has to do with something stated in this thread about dm-verity: https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

That thread describes a module which can be flashed in order to modify dm-verity, encryption, and disk quota. In talking about the module's zipfile, the following statement is made in that thread ...

This seems to imply that it's possible to disable dm-verity and encryption independently of each other.

I'm still confused about this relationship (or possibly non-relationship) between dm-verity and encryption.

My goal is to always make use of a non-encrypted filesystem so that nandroid backups made under one ROM's installation can be restored in TWRP over a different ROM's installation. Do I disable dm-verity, encryption, or both in order to achieve that goal?

... and in doing so, will I no longer be able to use banking apps on my device?

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] -Deco-:
No, resetting the key does not "implement" decryption, there is no such thing as adding on additional decryption, you are simply allowing for data on the disk to not be encrypted.

Firstly, you are confusing something which is the same - SHA256 is the encryption cipher, and dm-verity is the extension of Android to verify the integrity of the signature during boot, you are simply overcomplicating it. (Third explained further on that this is not possible).

Lastly, the third suggestion is not at all possible - you cannot backup a filesystem using NAND to be used over a different ROM installation (and this is getting extremely off topic but I will finish it here), different ROM's will utilise different algorithms for disk seeking to storage - restoring a NAND backup will restore an incompatible method not recognised by the ROM, and as such corrupt the device, or more probably freeze the device, forcing you to wipe the storage anyways. A filesystem goes much further than simply decryption, hence your suggestion is technologically impossible to do.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AntiVirus085:
hello friends. if oneplus 7 pro is rooted, can the system send me the audio files? If you send both notification sounds and ringtones I would appreciate it. thanks in advance
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
OK. Thank you for all your explanation. Back in the stone age when I was using the paleolithic device, Samsung S5, as well as when using even more ancient devices before that, I could flash a ROM, do a nandroid backup in TWRP, flash a different ROM, and then go back to the earlier ROM simply by restoring its nandroid backup. I guess that those days are over.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
Unable to backup to USB via TWRP

Using TWRP on my OnePlus 7 Pro, I am trying to do a backup onto a USB drive.

The USB drive is recognized, but I get the following error when trying to back up:

If I then go to Terminal under TWRP, I see the following error messages ...

I can see the /usbstorage directory via the TWRP Terminal, and I can cd into that directory. But if I then do an ls, I get this error ...

If I boot to System and connect the USB storage, I can access it with no problem in any file manager that I use, and I can cd into it and create files and subdirectories within it.

I never knowingly did anything to create any symlink for /system/etc/ld.config.txt.

Does anyone know what I have to do in order to enable this USB storage for backup and restore under TWRP?

Thank you in advance.

PS: When I boot into System and examine the /system/etc directory, there is no ld.config.txt file there, only ld.config.29.txt. My guess is that TWRP somehow is creating the following symlink ...

/system/etc/ld.config.txt -> /system/etc/ld.config.29.txt

... but that this symlink is somehow set up incorrectly.

But this is pure conjecture.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
I fiigured it out and fixed it!

I am using xXx-NoLimits, and one of the options I originally chose is to have it install busybox. That busybox installation goes into /sbin, and the busybox-supplied programs in that directory only work properly when the device is booted into System. The shared libraries are different when running under TWRP, so these utilities fail with the errors I reported above, and this causes the software used by TWRP for backing up to USB to fail.

I disabled the xXx-NoLimits busybox installation, and now, USB backup is working properly from within TWRP.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] juustinn:
Does the "Other Install guide (More articulated but fully functional):" mentioned in the original post still work?

I would like to install TWRP. I have Magisk 20.1, xXx ROM, and SmurfKernel but I'm noticing people running into issues and having to use older versions of Magisk and/or TWRP.

Would I run into any issues if I follow the guide? Any tips before I explode my phone would be much appreciated.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeekMcLeod:
https://xdaforums.com/oneplus-7-pro/how-to/guide-bootloader-unlock-twrp-install-t3940368

This is the guide I used.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] juustinn:
It worked! That guide worked perfectly. Thank you!!

I made sure to reflash Magisk after I installed TWRP as well.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mesmurized:
Deleted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Diiegg:
I install twrp on my OnePlus 7 pro anfter flashing the rom twrp is deleted, how can iI keep it ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AndroidRooterKev:
https://xdaforums.com/oneplus-7-pro/how-to/guide-bootloader-unlock-twrp-install-t3940368

3 posts ago if you simply scrolled up or searched. Come on man...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeekMcLeod:
If you aren't familiar with rooting with root/twrp installed, google it. And it appears you aren't familiar with it. Don't get me wrong, I screw up a lot but it is not hard to figure how the process works or how to fix it if you screw it up. If you can't figure it out, you shouldn't be doing this.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jaggillararla:
#savagelife
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gorilla p:
You really need to review some information for updating this device. There is a good tutorial linked.

For your question, you have to re-flash Twrp every time you flash a ROM
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jerjawi:
Anyone knows what the red line is about? It started appearing with the latest version.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Are you encrypted or decrypted? Pretty sure that only shoes if you're not encrypted.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jerjawi:
I'm decrypted. Like I was before. But it only started showing with this version. I was using 3.3.1-35 before it if I can remember correctly.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Oh, that's quite an old version! I know everything from -70 and up will show that error when you're decrypted. It's looking for encryption keys/info and can't find any, because there AREN'T any. Nothing to be worried about, though I can completely understand the concern.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] YooSaaa:
U have to flash twrp directly after U flashed the Rom without to reboot between flashing them:

If u r in twrp:

1. Flash Rom

2. Flash twrp

3. Reboot to Recovery

4. Flash Rom

5. Flash twrp

6. Reboot to Recovery

7. Flash Open gaps nano

8. Reboot to system and set it up till u are on homescreen

9. Reboot to Recovery

10. Flash magisk Manager

11. Reboot to system

12. Open magisk Manager

13. Click on Install

14. Click on Install direct

15. reboot

READY
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
So with the latest updates OnePlus introduced a new "fake" partition called india, this contains all is needed for the new OnePlus Cloud Service. The twrp is able to flash correctly this partition but this partition is needed only for Indians users, so if you flashed the rom and you found a OnePlus log in pop up and you want to remove it you need to delete /data/india/india.img file, if you are not practical i made a recovery flashable zip. This zip will work on OnePlus 6, OnePlus 6T, OnePlus 7 and OnePlus 7 Pro, maybe it will work also on the 7T series when the TWRP will work on it.

India Fake Partition Deleter by mauronofrio

P.s. Please don't wipe data after you flashed the new rom or you will lose india partition and also the other fake partition (called reserve). If you accidentally wiped data after flashed the rom just flash it again.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Soumy1234:
So I just flash this and forget it?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
You have to flash this all times you flash an update
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] adame09:
Is that partition doing US users any harm? Why delete it when we can just forget it's there.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gorilla p:
[MENTION=4712355]mauronofrio[/MENTION]

Thank you very much for your contributions to the OnePlus development community. I have found multiple crucial tools that you have taken time to create that have saved me a lot of time and frustration.

The fastboot flashable ROMs have saved me twice in the past 2 months alone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Raven_999:
I have no SIM card detected and no WiFi after flashing TWRP .74 and Magisk 20.1. Data works fine though. Does anyone know how to solve this issue? GM 1913, OOS 10.0.3
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
How did you flashed the twrp?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Raven_999:
"Fastboot flash boot twrp.img" then the installer and then Magisk. A strange thing I noticed in "about phone is that the kernel is from September, but I'm on OOS 10.0.3. Maybe that is the problem?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sportytony:
Hi all, I'm just curious as to why the original twrp just freezes on the fastboot mode screen when i try to boot official image and install but when I force a reboot and start again with mauronofrio img and zip it's good? Thank you Mauronofrio! (but I'm curious) Thanks for any info
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gorilla p:
Reboot to twrp, flash OOS stable, flash TWRP, reboot to recovery and repeat and see if that helps. If not, you might need to format data.

The amount of data formatting I've had to do on my Oneplus devices is insane.

I suggest anyone with these devices invest the couple dollars in a flash drive and OTG cable, then keep all of your essential files on it (OOS stock, magisk, twrp IMG and installer, magisk modules, swift/titanium backup files, etc).
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
I'm pretty sure that you're supposed to 'fastboot boot' that TWRP img and not 'fastboot flash boot' it.

At this point, you probably want to reflash the stock boot.img to your active slot from within TWRP and follow up immediately with the TWRP installer before you reboot.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
The oneplus 7 official twrp .img can be used only on android pie
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CacheOnlyPlease:
Hey everyone I just wanted to check and see if a new version of TWRP is needed for the Open Beta 7. I'm about to flash the Beta 7 zip but wanted to see if I had to have an upgraded version of TWRP first. Been bit in the past with encryption issues. Thanks for all of the hard work everyone does to keep this stuff awesome!

EDIT: I forgot to mention that I'm on 3.3.1-74 right now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Better to flash in system updater imo
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CacheOnlyPlease:
The stock system updater? Wouldn't I lose TWRP upon reboot if I did that?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Flash this module:

So basically system updater then twrp module then magisk to inactive slot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CacheOnlyPlease:
I've had issues in the past where a certain TWRP version is needed to retain encryption on new builds. Is that only an issue when you flash through TWRP? That essentially goes away if you use this method? I've just always flashed through TWRP so this is new for me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Encryption is working fine [emoji106]
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xByt3z:
I flashed the new Open Beta 7 and I cannot use this version of TWRP. When I switch slots back then it's just fine and I can flash things.

I assume we'll need a new version. What is it that OnePlus keeps changing so TWRP breaks? The official TWRP hasn't worked almost since I got this device and this modified version saved me then,
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CacheOnlyPlease:
Thank you for the reply. This is the exact behavior I'm seeing. I'm afraid to flash new versions in fear of losing TWRP every time. In previous years I would only update TWRP every couple of months. Now it's almost every update.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
You can also flash the regular twrp-installer using FK Kernel Manager, provided you have root. It works just fine for manually flashing the zip as if you were in TWRP
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xdaGerry:
Has anyone done a restore from a backup using TWRP 3.3.1-74

I had version 3.3.1-4 of twrp installed. When my phone crashed. I booted into twrp 3.3.1-4 to do a restore from a backup. The restore end with a fork 255 error. When I rebooted the phone it was a brick. I used the msm download tool and got running again. I have now installed twrp 3.3.1-74 and I have made a backup to a usb flash.

My question is: Has anyone done a complete restore using twrp 3.3.1-74?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rapdes:
Yes I just did a complete restore of 10.0.3 a few days ago, and with my device encrypted, worked without issues
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mibuix0r:
So this has been working well for me lately with Omnirom and I take a backup every Sunday before I do the weekly update. I am now getting "createTarFork() process ended with error: 255" whenever I try to take a backup of Boot, System Image, and Data. I have tried reflashing 3.3.1-74 TWRP and Magisk but no go. I only see one folder (which is 0) in the /data/user folder or any of the other folders listed. The remove user 999 command fails (presumably because there is no 999 user in any of those folders) Any idea what is wrong and how to fix it. I've read a few guides but no go.

Forgot to add, it also fails if I fastboot in to TWRP.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gorilla p:
This has been discussed at length in multiple threads

169 instances of "fastboot flash" mentioned in this thread alone...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
I'm not sure why you're quoting my post here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] matejdro:
I seem to be having some problems with decrypting data. When OOS 10 is flashed, this TWRP works fine. But as soon as I flash any other ROM (such as OmniROM 10), TWRP 3.3.1-74 will not mount data anymore with following error:

Recovery does not even show the PIN prompt, but it just goes straight to the menu with data unloaded. I have GM1913.

Any idea what could cause that?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] foobar66:
Thanks [MENTION=4712355]mauronofrio[/MENTION] for your continued work. Donation on its way. Have a nice Xmas!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] matejdro:
In case anyone else encounters data issue, it appears that OOS's data format is not compatible with TWRP or any other ROMs. I had to format my internal storage and now it works fine.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MikeBl1:
Problem 255 already solved? Unfortunately, it also comes to me when I try to make a full backup.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] null0seven:
matejdro

Format Data in twrp or ADB wipe ALL in youre phone.

Wipe data erase only data.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mibuix0r:
It is definitely not solved I tried everything from the tips section and stuff I read elsewhere and its still not fixed.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] CacheOnlyPlease:
So I just want to clarify, you're on Open Beta 7 with TWRP 3.3.1-74? You flashed normally with the system update, then flashed that Magisk module, and then flashed Magisk? I'm just trying to avoid any issues with having to revert back to stock like I've had to do the past 2 times I've done this. The "update system" notification I'm getting in my notification tray is getting annoying.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Guys if you have some problems with backups, open an issue on the teamwin repo on github, explaining the problem and adding the logs.

Here is the repo where open the issue: https://github.com/TeamWin/Team-Win-Recovery-Project
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] csmooth2001:
can't install twrp

phone arrived in mail from oneplus

GM1915

flashed twrp.img

flashed twrp.zip

** so far so good**

the things went crazy.

**heres my jumbled memory**

tried to chg OS to flash, then went into edl mode, then changed slot from A to B and back to A again

etc etc

LONG STORY SHORT

took 5 days and posts to get phone rescued w/ msmdownload tool

*****

low and behold im still trying heres my 2nd attempt.

phone can load into the OS installed by msmdownload tool

i have unlocked the oem

set developer options to advanced reboot, usb debugging and file transfer

BUT I CAN'T FLASH TWRP.IMG

(in order to then flash twrp.zip)

file corrupt (not the twrp.img file, cuz i've tried several, it must be the file system on the phone)

maybe msmdownloadtool thought my phone was gm1917 cuz after loading the os that msmdLtool installed the "about" section listed my phone as GM1917, the sticker on the back says GM1915

maybe that screwed it up... maybe i flashed international...

maybe i used windows with msmdLtool and then tried to flash twrp.img with ubuntu?

(maybe not cuz i can't flash with windows either)

maybe i sinned really bad in a past lifetime, and since god dont' like ugly, im paying for it now???

i need help... please please please, i seriously don't want anything google in my phone

looking to install lineage with microg (still not sure inf microG is a stand alone thing)

THANK YOU IN ADVANCE FOR YOUR HELP
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AndroidRooterKev:
Regardless of whatever model of Oneplus 7 Pro you have, if you follow this guide, you should be able to install twrp successfully.

https://xdaforums.com/oneplus-7-pro/how-to/guide-bootloader-unlock-twrp-install-t3940368

But based on your post, it looks like you're flashing the img incorrectly. If you follow section 2 from the link I provided, you should be good.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] csmooth2001:
fastboot boot C:\Android\twrp-3.3.1-72-guacamole-unified-Q-mauronofrio.img

< waiting for device >

downloading 'boot.img'...

OKAY [ 0.686s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.692s

---------- Post added at 03:22 PM ---------- Previous post was at 03:15 PM ----------

fastboot screen on the phone reads

FASTBOOT MODE

PRODUCT NAME: msmnile

VARIANT - SMS UFS

BOOTLOADER VERSION -

BASEBAND VERSION -

SERIAL NUMBER - (im not publishing)

SECURE BOOT - yes

DEVICE STATE - unlocked

maybe this helps??

(is it suppose to have a secure boot??)

---------- Post added at 03:26 PM ---------- Previous post was at 03:22 PM ----------

forgot to add, i don't have a card in the phone yet... so can't make phone calls.

(im in hopes i can just use the card from my old Oneplus 5)

that shouldnt be an issue.. b'cuz i did successfully install twrp once.. just can't get it to do it again
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AndroidRooterKev:
This part in your step is wrong ---> fastboot boot C:\Android\twrp-3.3.1-72-guacamole-unified-Q-mauronofrio.img

You need to put the img file within your phone storage (in the root is recommended). Then your command should simply be:

fastboot boot twrp-3.3.1-72-guacamole-unified-Q-mauronofrio.img
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] danielqf45:
What is this India fake patrition deleter zip?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] csmooth2001:
having the twrp.img (yes i renamed it) in the root of the phone DOES NOTHING

having twrp.img in the directory in which i opened a terminal window does the following:

fastboot boot twrp.img

downloading 'boot.img'...

OKAY [ 0.734s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.734s
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AndroidRooterKev:
Don't rename it. I believe that matters.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] null0seven:
csmooth2001

you have a problem with the pc drivers/phone software (OnePlus, Google and the most important Platform tools) Latest is 29.0.5

https://xdaforums.com/oneplus-7-pro/how-to/guide-bootloader-unlock-twrp-install-t3940368

From post 2, step 2 "Download"

Of course you can change the name. Sometimes does not work for me with the long name. After i renamed like 3.3.1-74, it workt.

DON'T forget to put .img at the end. ( 3.3.1-74.img )

In Fastboot should look like that;

fastboot boot 3.3.1-74.img