yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hello!

New week, new approach!

I've disabled Qualcomm specific hardware en-/decryption modules and left those for Android native en-/dectryption active.

No other changes to sort things out the proper way.

Download: https://www.nextgen-networks.de/de/downloads/category/15-xiaomi-mi-mix-2.html

Interesting for further touchscreen issue reporting/debugging:

What firmware are you using?

- pre 7.12.21 ?

- if 7.12.21 or newer -> did you use the global dev or china dev (also included in xiaomi.eu ROMs)?

- Oreo beta besters: whats your experience with that TWRP? Touchscreen issues?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DaCoolX:
Awesome, thanks for your continued great work and effort.

Just tested it, encryption still seems unmountable

But still, good luck with your efforts, I and many others are pretty grateful for your releases.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Short update:

I've build a new version with MTP/ADB support mainly for the Mi MIX 2 yesterday.

Download new version here: https://www.nextgen-networks.de/downloads/category/15-xiaomi-mi-mix-2.html

To-Do List for universal:

MTP/ADB via USB should be fixed - done

USB Storage via OTG should be fixed

en-/decryption should be fixed (discussion/development here)

touchscreen issues have to be sorted out

display brightness should be improved
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hawst:
With latest build de/encryption still not working. It is not ask password/key when loading into recovery. And sdcard shows encrypted content. Tested with xiaomi.eu 7.12.21
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] maxlcc:
not MIUI,encryption is working.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DaCoolX:
Nice job on the working MTB/ADB USB interface, now if the Lineage encrypted data in mountable somewhere down the line, your recovery will be the best all around.

Best of luck archiving that.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hi [MENTION=4632433]Angyann94[/MENTION],

spotted this TWRP also and it looked very promising - autodecryption of MIUI Android Oreo volume worked well too.

There seems to be some trouble with backup & restore - got none of my old backups restored properly/working afterwards.

Have to check how it is working with fresh created backups - maybe it is only an fstab confing thing ...

I've also faced no problems while installing Magisk 15.3 - maybe you have to wipe/format all your partitions and make a clean approach again.

I tried to get in contact with lulu-TEE (the developer of that TWRP) but got no response until now.

Would be fantastic to continue his work an bugfix the restore/fstab problem to get an rock-stable feature rich TWRP for Mi MIX/MIX2.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Angyann94:
Thaks a lot raupe,

Yes i read that a wipe is probably necessary to make magisk runnig correctly, but i don't want to wipe all lol and today I do not really need to root my smartphone because third-party themes are applicable and the gesture set up is super convenient so no more need to change the navigation bar.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
CALL FOR SUPPORT! :)

I was successful in building basic TWRP on an LineageOS based build environment.

But it seems to be essential to compile on Oreo to get the proper decryption libs selected while building TWRP.

I'm very interested about the setup if anyone of you is out there and has an working Oreo based build environment (omnirom preferred but not a must).

"Persons of interest" are in special:

the exact init repo command/adress/branch

an copy and paste of the xml content of your local repository

info about the build setup (os/version, additional installed packages, java version)

config settings for android build in .profile & .bashrc
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Xiaomi.eu - has released an Oreo 8.1.18 based ROM (but their source is the modified chinese ROM).

Advantage:

Seamless update from their Nougat ROMs & no autoencryption! *yay*

Thus said the TWRP 3.2.1-0 released 2018-01-10 is working well with that rom/firmware and they also linked it in their thread (without giving a hint *gr*)

-> But remember: No en-/decryption possible with this TWRP (for now)! This is work in progress.

Download: https://xiaomi.eu/community/threads/8-1-18.43035/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
TWRP recovery 3.2.1-0 UNIVERSAL BUILD - 20180119-1700

Update time! :)

New build (20180119-1700), with many fixes unter the hood...

... those that can be noticed by you:

display brightness fixed - it's bright again!

additional partitions backup & restoreable (15 overall)

Backup is on speed again! :) (70-100 MB/s)

DOWNLOAD: https://www.nextgen-networks.de/downloads/category/15-xiaomi-mi-mix-2.html

Please read known issues carefully! (en-/decryption still does not work)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] TrustAugustus:
Does this work with the Oreo beta ROMs? Thanks!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
I've tested and can't see internal storage with Oreo miui
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] punkmonkey1984:
Its because your device is encrypted from the beta roms. Backup sd card and wipe data. then it should work.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] cartooncow:
I also have the same problem about flash magisk v15.3.

My flash first step was flash oreo via fastboot mode and miflash.

Then flash the twrp via fastboot mode and CMD.

Finally wipe data and flash magisk v15.3 via twrp.

But it always not reboot to system normally and go to the mi recovery.

What's wrong with this?:confused:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Have you tried the ported Oreo version from xiaomi.eu?

It woked like a charm ;)

https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
Working like a charm!

Starting from a well installed Global Beta 8.1.18, fully configured and working.

Firstly tried with TWRP from Xiaomi.eu but it doesn't work with Beta 8.1.18 because it cannot decrypt data and internal storage. I can boot it, but I cannot see internal storage to flash anything. Also, once you reboot to system, original recovery is automatically flashed to replace custom recovery.

I've tried then your chinesse version and it flawlessly works.

- I can see internal storage and data partition.

- MTP works.

- I've make a backup.

- I've restored boot.img to check funcionality.

- I've installed Magisk 15.3 and rebooted.

Everything works as expected. Also recovery remains in place.

Best regards.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] cartooncow:
I just used the official global beta 8.1.18.

The ported Oreo version may be a good choice. I will try to flash it tomorrow.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
AFAIK, Xiaomi.eu is made from Chinesse Beta, so it doesn't have notification shades (new notifications from AOSP).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] cartooncow:
Thanks!

I also done the same procedure, and it worked!!

But I just want to mention a point.

Don't directly install magisk 15.3 after flash the twrp.

It must boot into system first, then reboot to twrp and flash magisk. If it isn't, you will always boot into recovery.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] pittrich67:
Globe ROM and Multi ROM also do not have the new notifications from AOSP :confused:

That's why I'm back at Global Dev
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
As far as they are xiaomi.eu based, all of them are based on chinesse beta/stable -> no aosp notifications.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] pittrich67:
:eek:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mimuta:
Link to twrp

Can you share a link to recovery working with encrypted storage?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
It's here: https://xdaforums.com/showpost.php?p=75206193&postcount=31

I've replied the original post with the mediafire link to the recovery.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
It looks like we have a winner ...

... stay tuned for an update tomorrow!

(have to do some compatibility checks with different firmwares & OS versions)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
Great!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... we have en-/decryption!

... at least for MIUI ROMs - LOS/RR/MK need other libs/further investigation

Also there are more partitions available - but these are needed only in rare uses cases.

Boot/System/Data/Recovery should be fine for daily usage.

Download here: https://www.nextgen-networks.de/twrp-chiron-latest
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hawst:
Thank you! Decrypt works! Just tested with global 8.1.19 ROM. Testing backup/restore - will update soon.

---------- Post added at 02:44 PM ---------- Previous post was at 02:34 PM ----------

Same error as chinese TWRP. When it tries restore Data partition - "extractTarFork() process ended with ERROR: 255". It is strange error, i would tell backup creation issue. I have backup create by TWRP 3.1.1 (MIUI 7.12.21, Android 7) - it can restore w/o issue. But backup created by TWRP 3.2.1 for MIUI Oreo - cannot restore.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hi [MENTION=2321061]hawst[/MENTION],

thanks for your fast reply - i'll test this on my device tonigt and post an update later.

-- Delay announcement -- ;)

Restore debugging is shifted to be done next night. Have to get some sleep ...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hawst:
Small observation on backup path

1) Other TWRPs - 'TWRP/BACKUPS/<deviceId>/<backup name>'

2) Your TWRP - 'TWRP/<backup name>'
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
I got this behauvior under circumstances as follows too:

Device has or internal storage partition been formatted and twrp was not restarted in meantime.

Solution:

After device/partition formatting restart TWRP to recovery again.

(TWRP device config file could not be written to internal storage after format. This leads to unknown device serial/device-id that is used for backup folder naming.)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
Hi man.

Confirm that works as expected, but it takes a while to boot.

Is it the normal behavior?

Regards.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Senexis:
Heya, I quickly wanted to say that I appreciate your work! The fact that you attempt to keep TWRP updated for Chiron is immensely useful.

I wanted to ask you whether you have the source code available somewhere. I am interested in this sort of stuff and would love to build my own instances of TWRP. Would you be so kind as to link your source code?

Thanks!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hey [MENTION=5180338]Sard Shift[/MENTION]!

Yes source code will be made variable in a few days.

I'm in progress of migrating the dev environment from Omni 7.1 base to Omni 8.1 and prebuild to live build kernel atm.

This fine tuning takes a little time. I'll give an update in this thread & 1st post when finished.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... hmm what do you mean exactly with "takes a while to boot"?

Reboot after restore or reboot after install of fresh rom?

(the MIUI daily global dev roms took ages on my device to settle after first boot)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Greetings!

Tested the backup & restore yesterday with encrypted partition for MIUI Global Stable 7.12.21 and don't faced this error.

Anybody else with that error?

Perhaps it could help to rewrite all partitions to factory settings via the XIAOMI Flash tool and thus perform a backup and restore test on a comparatively error-free system?

Download flash tool and matching ROM here: http://en.miui.com/a-234.html
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
I mean that TWRP itself takes a while to boot... takes more time than expected... takes more time than chinesse TWRP or older TWRPs...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hawst:
As i was mentioned - issue only occurs for Android 8 MIUI. You tested 7.12.21 which is Android 7.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
*nargh* sorry read your post not carefully - i'll replay the test scenario with this weeks Oreo Global build from en.xiaomi.com and give you a feedback within next days.

Cheers raupe
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Senexis:
Thanks for the reply -- I look forward to it!

Another quick question: Are you planning on applying for official TWRP builds? Would simplify flashing and tinkering with Chiron for everybody as there's currently, what, 4 different versions of TWRP for Chiron out there, including yours? :p
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] brunnogama:
I'm having this error when I falsh Epic ROM (Android Oreo):

/dev/block/bootdevice/by-name/system device or resource busy

I did all wipes and format data. What can I do?

Edit: i did another Format data after install and now it works!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... yes this is normal™ - it happens often after an wipe of partition or complete format of internal storage.

To avoid this (as you've done alsready) - just reboot your recovery to recovery ;)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Heyho!

I'm very new in this build your own recovery thing from the scratch "business" and don't feel very skilled by now.

This decision will made in a couple of weeks and after next 200 internternal builds ;)

But yeah it would be an better solution to have one working official TWRP (that will be maintained by more than one dev).

Thus said this can also be understood by every reader as call for collaboration for everyone with matching dev skills, former TWRP-builder, bug-smasher and FAQ maintainer.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] tombassi:
The twrp tries to mount the system while it's already mounted that is the reason it gives that error and the solution is to unmount it, no need to reboot recovery.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
[MENTION=4345283]tombassi[/MENTION]

Thanks for your explanation! Saves us a reboot.

@ dear readers

... to make the flashing a little more convinient I've written a little windows script that utilizes adb/fastboot and presents all recovery images in its folder for your flashing happines ;)

Download recovery-flash.cmd 1.28 here.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... i've added some scripts to the initial post that made my flashing experience more comfortable - maybe they are useful for some of you

... head over to first post :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hovnovice:
Hi ! I have flashed twrp from first post today successfully with adb fastboot but I can t reboot to system, it reboots ONLY IN TWRP.

Can you help me what to do please (I did again a factory reset with orginal recovery but it is still stuck in booting with TWRP)

Thank you
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Huexxx:
Have you flashed the no-verify-opt-encrypt file from first post?

If this doesn't solve the problem...

Download your actual rom, extract the zip and take boot.img

>fastboot flash boot boot.img

>fastboot flash recovery nameofrecovery.img

>fastboot boot nameofrecovery.img

Once on twrp, flash the no-verify-opt-encrypt file from first post and reboot to system

Enviado desde mi Mi MIX 2 mediante Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hovnovice:
Done,,successfully Thanks !!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] CrazyBeaver2377:
Are there any benefits over iceman's TWRP? I might switch to this one but iceman's works fine for me.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iXanza:
This works on Oreo.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Veritas06:
Anyone else run into this problem & know how to solve it?

fastboot flash recovery twrp-3.2.1-0-chiron_raupe-20180124-0958.img

target reported max download size of 536870912 bytes

sending 'recovery' (26608 KB)...

OKAY [ 0.625s]

writing 'recovery'...

OKAY [ 0.126s]

finished. total time: 0.752s

fastboot boot twrp-3.2.1-0-chiron_raupe-20180124-0958.img

downloading 'boot.img'...

OKAY [ 0.624s]

booting...

FAILED (remote: dtb not found)

finished. total time: 1.093s

EDIT: And yes, I am unlocked:

fastboot oem device-info

...

(bootloader)	Device tampered: false

(bootloader)	Device unlocked: true

(bootloader)	Device critical unlocked: true

(bootloader)	Charger screen enabled: false

(bootloader)	Display panel:

OKAY [ 0.070s]

finished. total time: 0.070s

EDIT2: Okay so I think I found out at least one issue... Apparently I have to flash the "Mi Mix" \ lithium recovery... Has anyone else seen this? I believe I purchased a Mix 2 (has USB-C), but attempting to boot any of the chiron recovery gives me the "FAILED (remote: dtb not found)" error. Booting lithium works, but it looks like the touchscreen does not.

EDIT 3: Yeah, I found my problem. I bought the Mi Mix 1, not 2. Explains why I found it for so cheap. FML

[ro.product.device]: [lithium]

[ro.product.model]: [MIX]
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
Manually boot into twrp. After you flash recovery? Ok yeah lol hit up the lithium forums that sucks though..
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Gamerz_den:
Thanks For TWRP !

Thanks for sharing TWRP.

everything works just fine ?.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... en/decryption achieved in Resurrection Remix 6.0.0!

Updated recovery will be available tonight.

Cons: seems we've to split up recoveries again into MIUI and LineageOS/ResurrectionRemix fork :-/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
TWRP 3.2.1-0 for LineageOS (LOS) / Resurrection Remix (RR) / Android Open Source Project (AOSP) with decryption support and some additional features is live.

Test deep dive has been made with Android 8.1 Oreo based RR 6.0.0 ROM from Arasthel.

Please use Link provided in first post of this thread for your download pleasure ;)

Important changes in latest LOS/RR/AOSP build: 20180218-1202

split up development in build environment in dedicated LOS/RR/AOSP targeted string

en-/decryption support for LOS/RR/AOSP based ROMS

ADB/MTP support

display brightness fixed - it's bright again! (see detailed notes in download section if it did not work for you)

additional partitions backup & restoreable (17 overall)

Backup is on speed again! (50-150 MB/s)

:confused: INFO:

If your reboot from reboot menu within Android itself you wont be able to use your touchscreen.

Solution: reboot via "adb reboot recovery" or hardware keys

I will post the used repos after cleanup & upload to github in a couple of days.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... short beta test.

Users of MIUI stable/dev ROMs based on Xiaomi ROMs from en.miui.com (not xiaomi.eu!) please give this build a test drive:

twrp-3.2.1-0-chiron-raupe-20180219-1540-LOS.img -> https://has-inter.net/index.php/s/N8sggP57MkDcs9s

Download possible until 26-02-2018

Changes:

added fbe script & config from msm8998 common device tree

Challenge:

could your MIUI encrypted device be decrypted successfully?

Good to know:

Just reboot with hardware keys (POWER + VOL-UP) to recovery, if your touchscreen is not working after direct boot from MIUI/LOS/RR/AOSP into TWRP recovery.

Or simply "adb reboot recovery".

Your feedback is very appreciated :) THX!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Virus1x:
I've flashed the 02-18 and 02-19 builds and no matter what files are encrypted on the device... what is causing this? I have tried PIN set and not set on settings on device, it never prompts me to enter anything.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
[MENTION=1365052]virus1k[/MENTION] hmm - not sure i got your right ...

Is your device encrypted or not? Setting a pin or pattern for lockscreen means not automaticly the device is encrypted.

To get the status of encryption just have a look in security settings of your device.

And also important question: What ROM & version is installed on your device?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DICKO1984:
Hello ! [MENTION=496297]raupe[/MENTION] why the twrp does not become official???
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
... because i've not enough feedback that everything is fine with the latest versions ...

... and we've the situation that we have 2 versions of this twrp (one for MIUI one for LOS/RR/AOSP) ...

... ah - and i've not published sources because they have to be cleaned up ...

... aaaand "someone"™ has to communicate with the twrp team to achive that.

You see - a plenty bunch of reasons (for now) ;)

Thus said: Call for support - more feedback please :D
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DICKO1984:
Thanks sir ! I use it since the first time i got the phone and it's really a good work !!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] paulojorjealmeida:
Works very good on my mi mix 2, tank's
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] semail00:
Hello,

thanks to your work.

I have a Mi MIX 2 with Miui 9 Global Beta 8.2.8 Beta with original recovery.

I wanted to install Dolby ATOMS without root and found a guide to install this using ADB command with only TWRP recovery from boot.

I used your TWRP ( twrp-3.2.1-0-chiron-raupe-20180219-1540-LOS.img ).

I boot TWRP with ADB commands but when I open the TWRP I only have empty folders with clear and legible names but with 0MB and there is not the zip file that I have transferred in the phone to install Dolby ATOMS.

For your information I use a password to open the screen.

Can you help me a find solution.

Thanks and Rgds.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
Try removing password lock and try again
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] semail00:
Thank you your answer.

I have try remove PIN/Password ( fingerprint also ) of screnn and i have the same problem . I see folders with correct name but 0MB and nothing file zip to install.

I would not want to wipe system cache and dalvik cache to decrypt because I would lose all my data. I do not understand why I can not just install twrp from the boot and handle and then come back to stock to get all the regular OTA firmware.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Robot12:
As you are on a MIUI-ROM, you have to use the MIUI build of this TWRP, you are using the one for Los/RR/AOSP-ROMs...

Look in first Post, there is one TWRP for Los/RR/AOSP-ROMs, and one TWRP for MIUI-ROMs....

Edit: I just realised, that you are using a Testbuild of this TWRP from Page 9 ( twrp-3.2.1-0-chiron-raupe-20180219-1540-LOS.img ).

Try the stable build: 20180124-0958 for MIUI-ROMs from Page 1 in Download....
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Carlosk1966:
Hallo.

I flash eragon v5 ROM with MIUI twrp.

If i want to flash Los/RR/AOSP-ROMs what shuold i do?

Just install TWRP for Los/RR/AOSP-ROMs and flash Rom? What about beckups if i want to restore

Eragon rom back?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Robot12:
I would say yes, always the TWRPversion made for ROMversion you want to flash..

Restoring Backup always with the TWRP the Backup was made with, in my Opinion.

So if EragonBackup was made with MIUI-TWRP, flash the MIUI-TWRP before Restoring the EragonBackup.

And always, when flashing different TWRP from within TWRP, don't forget to Reboot to Recovery...

Maybe [MENTION=496297]raupe[/MENTION] can confirm this...