yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] r.a.y.8:
please can you help me , how i do it and install magisk without need to reset factory my phone
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
Is your Bootloader locked?

If yes, then the answer seems incorrect and you WILL LOSE YOUR DATA in the process of unlocking.

But as you wrote you want to install Magisk and not unlock your bootloader the answer is also correct: By flashing Magisk you will not reset anything IF YOU ARE ALREADY UNLOCKED.

The steps are

1. unlock your bootloader

2. flash recovery from Fastboot

3. boot into recovery and install Magisk.zip

Done.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anonda:
What rom you are using & what rom you want to use.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] r.a.y.8:
my bootloader is unlocked

i am using the offical Miui 11.0.1 (QFKINXM) and i want to keep using it but with the magisk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
Search for "topjohnwu releases Magisk", you'll find Magisk20.1.zip. Download the zip to your phone's download folder.

You need a PC/Mac with fastboot. There are plenty tutorials on how to get it.

Reboot your device with button "Vol -" pressed. When you see the fastboot logo, you can flash the recovery.

Download the recovery to your PC. In a terminal, go to the folder you've downloaded TWRP to. Then type "fastboot flash recovery twrp-3.3.1-25-****.img" (I can't recall the exact filename just now)

After that reboot your device again, this time with "Vol +" pressed. It'll boot into the recovery. From there choose "Install", select Magisk.zip and reboot your phone afterwards.

Edit: you won't be able to install OTA's as far as I am concerned. I'd prefer to get the OTA from XDA. Magisk and stock recovery is a pain, especially if you don't have an A/B device which K20Pro isn't.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] GuateEdicion:
How can I leave TWRP as factory/stock recovery?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
You can't.

Your device has one recovery partition. You can flash the stock recovery from MIUI or TWRP or another compatible recovery on this partition.

The only reason why I ever had the stock recovery installed was for the sake of OTA Updates.

If you had this setup, you could always hotboot TWRP and install your stuff while leaving the recovery stock. But beware, not every operation works on a hotbooted recovery, so it's not the best idea.

I trashed this approach because I wanted to be able to create backups or flash stuff on the fly without a PC.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nomadewolf:
A couple of questions:

How do i install? Here's what i do:

-fastboot flash recovery [image file]

-fastboot reboot

-press up volume button

-TWRP boots

-insert unlock pattern

-allow modifications

-reboot

-TWRP gets replaced...

Or am i supposed to fastboot boot [image file] everytime i want to flash anything?

What i want is to have TWRP installed on my phone so i can flash LineageOS 17.

Is this even possible?

Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
It's caused by Miui. If you root your device TWRP should stay.

And if you flash LOS it will stay too.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nomadewolf:
Thanks, i'll try it!

Do you have a recommended way to root?

[EDIT]

Followed this guide and it worked fine:

https://www.the***********.com/twrp-root-redmi-k-20-pro-guide/
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
Hey [MENTION=4712355]mauronofrio[/MENTION] could you add this to the OP?

I had a second account active and wasn't aware that backups wouldn't work and just had the joy of setting everything up again.

This should be in red and bold (no caps though, they're just hard to read).
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] sceryavuz:
Download fastboot ROM version, extract tar.gz file. Use recovery.img from this folder.

https://mirom.ezbox.idv.tw/en/phone/raphael/
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] r.a.y.8:
Hi ,

first thank you for your support :o

i flashed recovery , but when i flash magisk and reboot device it keep back to recovery and wont start the system until i uninstall magisk from recovery

and when i restart my phone and try to back again to recovery its replaced by stock recovery

thank you again and waiting your help :good:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
I read that MiUI replaced the recovery pretty aggressively. Unfortunately I can't help you, because I've always only used xiaomi.eu or custom ROMs. Both liked TWRP and Magisk (⌒_⌒;)

Is xiaomi.eu an option for you? Updates work the same like official ones, even as fast as xiaomi themselves. At the same time you get a custom recovery and some options like advanced reboot which are extending the stock ROM
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mandarjoshiin:
Hi, I have some questions. Here's what I did..

1. My device is Redmi K20 Pro I'm on MIUI 11 Indian ROM

2. I unlocked the bootloader

3. Flashed TWRP

4. Flashed Magisk

5. After reboot my device is rooted but recovery is stock now

So now how can I go back to TWRP and keep it permanently without losing the data? I read somewhere that everytime we flash TWRP, we need to to format the data?

Also today I got notification for OTA update but it got failed.. How can I install OTA updates with Magisk, Root n TWRP keeping intact??

Please kindly help. Thank you in advance..
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 2VJ5:
[youtube]VBLPRRBMjeg[/youtube]

Follow this religiously, you won't face a problem
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mandarjoshiin:
Thanks..! But this will wipe my data, right?? :crying:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 2VJ5:
Yes it will
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] r.a.y.8:
its not working with MIUI 11.0.1 (QFKINXM) after flash magisk and reboot system it keep looping in redmi logo
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] phelite2015:
hi, latest build 3.3.1-25 dm verify is not working...

i need to install magisk in order for my twrp to ask for my PIN

if i will not install magisk, my TWRP makes my files with randomized name since its encrypted and it is not asking for PIN during reboot .

---------- Post added at 11:27 AM ---------- Previous post was at 11:19 AM ----------

its because of dm verify...twrp is not asking for PIN to decrypt the data of our phone...check your twrp, click Install and you will see all your files has randomized files names...the only solution is to install magisk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] N0K0:
Hi everyone, I just have some problem when i tried to backup my Xiaomi K20 pro using the latest TWRP version 3.3.1-25. Currently, I am using Xiaomi EU latest beta ROM version 9.12.19. As I can remember, it stopped working in the last 3-4 version of xiaomi eu beta ROM.

There is an error output message that will always interrupt the backup process whenever i tried to backup my phone: createTarFoke() process ended with ERROR: 255

And here is the log: https://drive.google.com/open?id=1UYp8xTvOIm2v5P5uhjlXCoFJ4yP6jsFS

Please help if anyone has any idea. Thanks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] brenosnt:
https://xdaforums.com/k20-pro/devel...icial-twrp-xiaomi-redmi-t3944363/post81025953
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] userguy:
Hi

Just a quick question about the error "createTarFork() process ended with ERROR: 255". Can someone point me in the direction as to how i can find the reason for this?

I've read in this thread that it can be related to having several user accounts. I do however only use one account. Is there any other probable reason for this?

Thanks in advance
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] N0K0:
Wow, mine is working now thank to [MENTION=6210070]brenosnt[/MENTION] who pointing this out again and I give it a try. I found this answer before but I did not expect that to work because I don't have second space nor having any dual app install on my phone. I used to clone one app for some testing and then deleted it manually and i thought it's done but it was not.

To solve this, I have to go to:

- Setting -> App -> Dual App -> Click on Gear icon on the top Right -> delete and format all dual app data. (plz Make sure to backup or copy your data)

Thanks again [MENTION=6210070]brenosnt[/MENTION]
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] testina:
hi,

i have a k20 pro premium edition 12/512gb with miui global 11.0.1 stable qfkmixm.

The phone arrived to me already unlocked by the seller in China. Can I now put twrp 3.3.1-25 with adb and fastboot and magisk 20.1? Can I also install weekly china, europe stable or lineageos 17 afterwards without problems?

Inviato dal mio Redmi K20 Pro Premium Edition utilizzando Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] rshadow:
error 255 on TWRP backup

Good afternoon,

I'm facing the same error 255 on backing up Data from TWRP.

I'm running the latest RecoveryX build from today and i don't have multiple Users or Dual Apps.

In the recovery.log, i found the following:

failed to lookup tar policy for '/data/per_boot' - '8f7e3420d84fcc4d'
I:Error adding file '/data/per_boot' to '/data/media/0/TWRP/BACKUPS/183a8d77/2019-12-22--08-52-34_QQ1B191205011/data.ext4.win002'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/183a8d77/2019-12-22--08-52-34_QQ1B191205011/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

Maybe this helps with finding a solution.

Regards,

Steffen
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
Hello :)

Same here mi9t pro globale miui 11 android 10 error 255 on TWRP backup

Thanks

Édit : Twrp 3.3.1_25
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
You probably have a DualApp or a second profile. This unfortunately makes Nandroid backups impossible.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
Hello

Thanks for reply :)

No,I have no double apk and no second space activated.

I noticed that in the twrp flash, after the data format, I have a red message like "unable to decrypt FBE device" something like that.

@+
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] rshadow:
I've noticed the same, but when trying the official TWRP version. Not with 3.3.1-25
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
I would like to know why we have this message !?

Envoyé de mon SM-G975F en utilisant Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] phelite2015:
its means your files are encrypted and during boot of twrp it doesnt ask for your password.

thats also my problem before with twrp..it didnt ask for my password... no choice but to format data and flash magisk just for it to solve...
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
I've just realized, I get the error message as well! :crying:

I use LOS so there are no second space or dual apps possible.

There must be something else on the data partition it does not like. Any chance for a more detailed log output?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
I think I found the problem.

Anyone has an idea?

Oh am Merry Christmas altogether!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
AND (a little Christmas gift) I found the solution!

Do a nice "rm -rf /data/per_boot" from a root terminal, then it will backup your data partition. If not, copy log to SD card and watch the error message closely
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anonda:
inaccessible or not found..
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
Do you as well have error 255 when trying to create a backup of the data partition? If yes, please do this:

1.) boot into TWRP

2.) try to create the backup, wait for error 255

3.) "Advanced" - "Copy Log"

4.) reboot to System

5.) post your /sdcard/recovery.log file

Maybe there is another file which TWRP does not like to backup.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] WakerPT:
Hey everyone, I need your help.

I've just unlocked the bootloader on my phone (K20 pro Premium 12GB RAM/512GB Storage) and flashed the latest official TWRP. Afterwards I backed up everything, downloaded the latest xiaomi eu rom and flashed it.

When I rebooted it went straight back into the recovery and when I opened it on my PC it had a bunch of folders with weird names on them. I deleted them and now I can't copy anything into the phone.

It shows up as empty, and when I try to copy something to the phone I get an instant error.

I've tried sideloading the zipfile but it also doesn't work (Total xfer: 0%).
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Isley_:
You need to format data in TWRP
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
I try to flash the twrp.img using fastboot,

fastboot flash recovery twrp.img

My device already unlock and the fastboot say it was already flashed the recovery

and it's show successful, but when I try to go to the recovery (power + vol up), it still showing the stock recovery.

the screenshot of fastboot attached
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] phelite2015:
after flashing twrp using fastboot

reboot into twrp not in system

then install again the twrp using twrp to stick it and when you power plus volume up twrp will appear not the stock recovery
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
ahh so the twrp.img need to be flashed on the twrp that got booted from fastboot ?

am I correct ?

-----------------------------------------------------------------------------------------------------

Edit, Ah it's working now, I have the TWRP running now, thanks [MENTION=10177293]phelite2015[/MENTION]
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] phelite2015:
yes.... after fastboot flash twrp.img

next command is fastboot boot twrp.img

then it will boot to twrp..

now flash again the twrp using install in twrp
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] WakerPT:
I've formated it a dozen times and still had the same error... I was able to flash a mi9t Pro global fastboot tgz and it it's fine now.

Edit: I tried flashing again and it worked after I formated data.

It was thinking that formating and wiping data did the same thing and I was wrong.

Thanks for your help.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] heygay:
I had this problem before. Make sure that you hit the FORMAT button, not the wipe options. You will then have to confirm the format by typing in yes or confirm or something I dont remember. And of course you will lose everything on internal storage.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] peeweew:
Hi,

I'm currently using Global 11.0.1.0 (QFKMIXM) Encrypted.

Tried flashing the latest twrp image with and without misc.bin

After flashing, flashed Magisk.zip (I think it's v19) and led to bootloop.

Flashing Magisk Uninstaller fixes the bootloop but reverts the recovery to stock.

Can anyone recommend specific versions?

Also, I'm not aware of the reason why some guide advises to flash misc.bin afterwards.

I don't know why decryption is required as well. (This can be done without reformatting storage right?)

Please educate me.

TIA!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anonda:
Attached log.

Thanks and sorry for post here.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
The file which blocks your update IS the per_boot folder.

The only thing you missed was spaces. Try these commands:

it is crucial to have a ' ' space between "rm" and "-rf" as well as before "per_boot".
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] lelouchsama:
I'm afraid that the data partition fails in my case to do the backup. The error is something like this: createTarFork() function, returning a 255 ERROR. And every time i do something of flashing, trying to do backup or something, i see at the first line, E: Unhandled flag:'wrappedkey'.

I have running the official build.

Thank you very much and sorry for the inconveniences.

Bests ^^.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
Ignore the wrappedkey, it's not important. For the 255 error, try one post above.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] lelouchsama:
Thank you very much, that worked for me.

Now i can flash without any further fear.

Bests ^^.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Josh Adrianne:
Is it compatible with k20 pro premium?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anonda:
Thanks. Now backup created.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] weildhayn:
Can anyone help? I could not decrypt. The recovery wouldn't even let me enter my password for whatever reason it is.

What should I do next?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
Your data is gone now forever... Format data and reboot.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] weildhayn:
But I do not have any rom installed...how do I overcome that?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
Not sure what went wrong there. But without format data you can't go further.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 2VJ5:
You'll be able to push the ROM file in the phone with the help of a computer even after formatting
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] kuyukoo:
i can t back up it fastboot mode bootloop after restore
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] LKML:
I'm in the same situation so waiting for some advice!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
misc.bin does nothing except prevent the phone from booting into system and restoring stock recovery and instead allows you to easily boot into TWRP after installing it. See here for a bit more info https://xdaforums.com/k20-pro/how-to/lr-team-wzsx150s-twrp-status-phh-gsis-t3939325/post79736574. It is unnecessary. Flashing a decryption patch is also unnecessary, unless you actually want to permanently remove encryption.

I would suggest backing up everything then flashing the latest fastboot ROM, to make sure everything is as clean as it can be - the fact you are having issues suggests something is amiss. After that install TWRP 3.3.25. Then immediately boot into TWRP to install Magisk 20.1. After that everything should be good.

Don't install the misc.bin and don't install a decryption patch if you don't want encryption permanently removed.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] peeweew:
Nah. I accidentally wiped data. Luckily I created backup data using the "temporary" TWRP at first boot. Then I backed up my sd card.

Instead of reflashing the same Global image. I switched to xiaomi.eu stable by clean flash and I was able to root already.

This is noted. Thank you!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MartonDev:
Why do we have an unofficial twrp when there's already an official?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
https://xdaforums.com/k20-pro/devel...icial-twrp-xiaomi-redmi-t3944363/post81099893
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xenix96:
The unoffcial will be more updated like beta releases.

The official are the stable TWRP releases and will be not so often updated ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MartonDev:
Thx
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] SethPDA:
Is there any way to flash this TWRP and keep it between restarts?

My twrp is gone after restart and the original recovery comes back
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Palindrombn:
you have to flash dfe after you installed twrp

Gesendet von meinem Redmi K20 Pro mit Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
Flash magisk after twrp.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MartonDev:
First flash twrp than boot into it with `fastboot boot RECOVERY_FILE_NAME.img`
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] SethPDA:
I tried to flash twrp, and then boot it with the command but still OG miui recovery comes back.

I'm not really sure how does that affect the persistance of recovery, but I tried it, and it doesn't stay.

Sadly I don't know what DFE means. Can you please help?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Palindrombn:
sorry my mistake, im new in flashing roms. You need this to install it: disable dm verity zip.

But i have no link.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] David_#27:
Hello there, I'm having backup issues... Backup fails every time I try to create one...

Here's the recovery log: https://drive.google.com/file/d/1-DtJiG-8Z4PP_Hqi6pPe0gR1C96TlUQu/view?usp=drivesdk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xenix96:
Delete the folder .../data/per_boot

then retry backup and let is know ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] R@mpage:
Same here. Data Backup fails "createTarFork() process ended with error 255"

I don't have any per_boot directory. I tried to manually make one unsuccessfully.

my mistake, there were actually a "per_boot" directory

TWRP->advanced->terminal

cd data

rm -r per_boot

exit

now backup data works fine. thanks:)

---

[BACKUP STARTED]

* Backup Folder: /data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011

Backing up Boot...

I:Reading '/dev/block/sde49', writing '/data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/boot.emmc.win'

I:Restored default metadata for /data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/boot.emmc.win

* Generating digest...

I:SHA2 Digest: e07f5c1aad422e33464c9bd8c4b6cdda95a0b49f8fcd43ddc1c2b33d9ca5670e boot.emmc.win

I:digest_filename: /data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/boot.emmc.win.sha2

* Digest Created.

I:Partition Backup time: 1

Invalid encryption mode 'ice:aes-256-cts'

Backing up Data (excl. storage)...

Backups of Data do not include any files in internal storage such as pictures or downloads.

Invalid encryption mode 'ice:aes-256-cts'

Breaking backup file into multiple archives...

I:Creating backup...

I:Creating tar file '/data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/data.ext4.win000'

I:addFile '/data/per_boot' including root: 1

==> set selinux context: u:object_r:system_data_file:s0

failed to lookup tar policy for '/data/per_boot' - '8f47dc0edd46c22a'

I:Error adding file '/data/per_boot' to '/data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/data.ext4.win000'

Error creating backup.

I:ERROR tarList for thread ID 0

Error creating backup.

I:InfoManager saving '/data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/data.info'

createTarFork() process ended with ERROR: 255

Backup Failed. Cleaning Backup Folder.

I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/fff32006/2020-01-07--07-15-20_lineage_raphael-userdebug_10_QQ1B191205011/recovery.log
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] David_#27:
Yes it worked... But everytime I delete that folder it creates itself again... How can I stop that?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xenix96:
I never faced that ...so this is definitly not a twrp related issue.

But this issue is a known issue and can be found on aosp github

https://github.com/aosp-mirror/platform_system_core/blob/master/rootdir/init.rc#L927

and also google git

https://android.googlesource.com/platform/system/sepolicy/+/2367ba358f0ec0c0c591e3e2feadabf891f38eef

found by smeroni68 & Bada187 & Marco ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] David_#27:
Thanks but i can't understand my the issue I have... I also don't understand what do I have to do