yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
By reading the FAQ and not asking already answered questions.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vishal king:
Help me cosmicdan

How to fix my problem your partition map is unrecognized
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
i never saw this issue before. Do one thing that,

either use fastboot commands

or MI flashtool to flash stock ROM Once again. Start fresh. Then these silly errors will not be there. assuming that you know how to use mi flash tool and fastboot commands. Now flash any ROM and just install twrp installer. You will be good to go.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vishal king:
[No message]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kolpomanob:
My pattern lock is un recognizable it shoes wronh pattern. Can not unlock developer option neither change the pattern.i can only unlock the phone using fps.what is the fix [MENTION=1844875]CosmicDan[/MENTION]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Don't know how you managed to get that. You will have to flash stock via EDL to restore clean stock, as detailed in the linked thread. Make sure you backup storage.

Are you using dualboot? Lock is not supported on dualboot, as already said in the OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vishal king:
My repartition is not working how to fix
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Follow the linked guide..... Also I'm not a mind reader.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
[MENTION=1844875]CosmicDan[/MENTION]

some user report error trying to flash latest version of lineageos and i have verified, send you a log, maybe something is change in LOS, no problem flashing previous version
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
I myself dirty flashed latest build.. So I guess issues are with clean flash
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
what is your previous version? i tried dirty flash from 17th to 21th and have this error.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
I guess 17th. It was clean flash btw..

Also I am using latest twrp
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] findrome:
Is it possible 17 to 21 may be too great of an incremental jump?

Dirty flashing generally works best incrementally, ex; 18 to 19, 19 to 20, and so on.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
17 and 21 refer to the date of release of the update, the problem is linked to the signature verification, it will be fixed in the next update
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
There are hardly any kernel side changes that a dirty flash or clean flash would make a huge difference
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] findrome:
I am corrected.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
New LOS Recovery (15.1-20180721-nightly-tissot) removed my installation of CosmicDan's TWRP (TWRP-Installer-3.2.1-with-Tissot-Manager-2.4) after that it allowed me to install SU, which is nice.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
So is it a known LOS zip problem?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
so it was reported to me
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] valhallen.282:
Just an FYI. I managed to flash a bad GSI and it broke my /system partition.

It would fail with /system no such partition.

Repair partition would fail with Zero MB.

Device bootlooping.

How to fix it -

Tissot Manager > Restore stock partition > reboot >

Tissot Manager > Treblize system partition > reboot >

This rebuilds all the partitions. Remember to shrink system partition not user.

You can end here if you like. But if you want everything working -

Tissot Manager > Restore stock partition > reboot >

Tissot Manager > Treblize user partition > reboot > Done.

It's an obvious fix but it sometimes the obvious doesn't occur to people.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Did you try "fastboot erase system" before all that? And also "Change Filesystem" option in TWRP (selecting ext4)? One or both of those should have worked.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] valhallen.282:
Yes sir. Tried both.

I was testing gsi's to see how I can get verified status without Magisk. Turns out booting into the GSI without gapps once and then Factory reset > flash gapps > reboot works perfectly for most of the them.

I flashed phhuson vanilla no su no gapps image but download must have been incomplete. And would always destroy my system partition.

Change filesystem would fail with unable to mount no such name. Fastboot flash would fail with no such partition.

I didn't want to reflash stock via MiFlash is why I went this way. Odd right how this worked but fastboot erase system didn't.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
That sounds like the partition table was indeed corrupted. Don't know how you did that, but at least it's fixed now.

Yes, it's strange that Tissot Manager didn't detect a corrupted partition table.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] valhallen.282:
I'd be glad if you could save this somewhere might come to use one of these days!

Edit. The name /System would show. But was unmountable and not readable. Wipe repair would detect the partition but size would be 0Mb. So attempting to flash via your recovery would work and succeed but after that would say unmount failed. I might have some logs will attach.

https://drive.google.com/file/d/1-frVnef8LCunqive7UxidfIRnvsQsqkX/view?usp=drivesdk

I don't remember what is in this log now. Sorry to bother our with it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] syafrul05@gmail.com:
if anyone is experiencing like me, i use twrp 3.2.1.0 my official connect mi a1 to pc still read so i switch using twrp treble which version 3.2.2.0 arises little problem with unreadable mi a1 on pc. whether there is a solution or there is a mistake from me, please tell me.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I've heard this from three people now but I cannot reproduce. I'm not sure what the problem is. I am guessing an issue with TWRP 3.2.2.0, maybe you can use the previous version instead.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nextheart:
Yes, same problem for me. I can mount MTP on PC in official TWRP, but can't mount it in this TWRP. I tried to manually toggle in menu, but no success.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] syafrul05@gmail.com:
enable mtp
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Are you using dual boot and changing slots? It can cause an issue, but it's minor (just need to toggle MTP option again).

It works fine for me, I just boot TWRP and plug it in. I dunno what to say, makes no sense.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nextheart:
Already tried, no help.

No dual boot or changing slots, only single ROM installed. Toggled 3 to 4 times. Tried v2.3 & v2.4 of your TWRP. No clue how it's happening.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
You use windows or Linux

---------- Post added at 11:15 AM ---------- Previous post was at 11:15 AM ----------

Have you. Tried changing the port of USB
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nextheart:
Yes, tried all 3 ports. Works in official one perfectly.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Don't you think that the OP will see this post anyway?

There's absolutely no reason to quote the whole OP, you also don't need to quote a certain part of it.

It's bs, just like this offtopic talk we are having right now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
You don't know the context the OP and I carrying! Do you?

So please stop!

Peace out BTW!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
The stupidity and ignorance of 95% of the XDA community is beyond my mind :silly:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Filip013:
Did you try flashing Magisk after flashing Stock with the option to save userdata? Maybe it didn't boot because you didn't flash Magisk?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
It's going nowhere! So please can't you just stop?

---------- Post added at 02:52 PM ---------- Previous post was at 02:48 PM ----------

No! I didn't!

And it's unlikely the problem is caused by magisk! I think totally irrelevant because It's pure stock what I was flashing! No TWRP, no root! So no magisk what I thought!

Only problem should be either the encryption or may be I just wiped data for only A or B! The later is also unlikely!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
v1.2 released

One minor but useful change:

Support flashing img files to vendor and system (e.g. GSI's)

Known issue when you first Treble-ize, needs fastboot workaround. See the guide for details.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Joody-:
Did everything. But still cant mount vendor partition. "unable to Mount"
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Follow the guide linked in the OP. You did something wrong.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] deveshgupta69:
What is the process to flash GSI?

and which ones are working?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
See the recommended guide linked in OP. Those questions belong there. Read it all first before asking again.

GSI's all work, except camera for now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
[MENTION=1844875]CosmicDan[/MENTION], found something odd on the TWRP! May be just I think so! The issue is every time I have to flash Treble TWRP (to upgrade) non treblized ROMs fails to boot and boot loops to recovery! I have to restore the "boot" backed up earlier to successfully boot the ROM every time I flash TWRP! That's may be because the TWRP patches every ROM boot for treble even if it's non treble!

Can you make the patching optional?

May be an option on TWRP to do that?

It would be much more efficient and standard for peoples who uses (at least for now) non treble ROMs!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Cannot reproduce. I run RR official non-treble daily, and just dirty flash updated yesterday - it worked fine.

This TWRP does no "patching". All it does is add extra mounts for vendor and persist, and add the Treble Manager tool.

You must have done something wrong. You probably didn't do the manual slot change in fastboot fix when first installing.

Or you didn't reboot-recovery and reinstall Magisk.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rahulrulz:
Is there any hope for miui gsi?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Don't know.

Wrong place to ask. Should go in the guide that's linked in OP. Or nowhere at all, I'd prefer. Asking me is not going to make it easier.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tanapak1:
I'm curious on something, if I use twrp backup and stored somewhere in pc then make it treble compatible with userdata method, can I do a full twrp restore? will partition break or have issue?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
It will work fine. Unless the userdata is over 20GB and it runs out of space :p (e.g. for 32GB device)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
I reproduced it when upgrading to 1.1 and to 1.2!

But I forgot about magisk anyway! ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SevenSlevin:
I dont find the option to flash system, vendor images from this twrp, where is it? I can only repartition emmc.

ps. I'm using 1.2 version
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Repartition emmc? Wat? Are you trying to flash from Treble Manager?

It's in TWRP. When you browse for a file to install, press the "Image" button in the bottom right....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SevenSlevin:
It's right. I tought there was a special option from treble manager.

Everything fine now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipakd:
NEED HELP

NEED HELP

I need help urgently, i was on latest dp4.(as per op) mistakely i replace build.pro and copied marlin prop (both) to the root folder, but after reboot my touch pad is not working. i am unable to touch properly. if I touch somewhere it touches any where else, even in TWRP recovery touch screen is not working properly, then i flashed stock firmware but still problem persist, what should i do? please help me. Is there any way to solve the problem
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tanapak1:
I was having a mtp issue inside the treble twrp for a long time ago.(can't remember which version but somewhere in the early version)

Never having dual boot, tried latest version, enabled mtp in mount, mtp shows in pc but can't transfer file from pc to the phone. (It shows progress but stuck at 0%)

Also tried switching pc and the problem still persist, so I have to fastboot and boot to official twrp to having a file transfer when I don't have access to the rom system.

It could be good if this fixed, but if most of user don't really have this issue so I don't mind it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipakd:
NEED HELP

[MENTION=1844875]CosmicDan[/MENTION] i need your help please
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
Even if you have a problem, you can't post every hour, just wait patiently someone to respond. You know some of us are form US, Europe, Asia... Not same timezone. We are not on XDA 24/7, neither is CosmicDan.

You went back to stock in fastboot or EDL mode?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipakd:
no i flashed stock through fastboot mode, any advice from you please?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Flash stock via EDL mode, as explained in Guide linked in OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] arjunbalan1994:
!!Noob Alert!!

Hello,

I have treblized my device and Intstaled the recovery as it is mtp shows but cannot copy files from PC to Tissot while in recovery.Is it an error caused by faulty cable or bug in recovery!!??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Baron1971:
Thats an Issue of the actual TWRP, Install Version 2.3, and everything is fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Is that actually the case?

I've seen people say the same problem with older versions too, but I still have no idea why. I cannot reproduce the problem in any version at all.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Baron1971:
If i connect my A1 to the Pc, i can choose Folders etc. But when i want to transfer a File, nothing happens. I stucks.

Can you make a Test Bulid with the new Twrp 3.2.3.0?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
i understand the problem. I was referring to your comment that the older version worked, but latest one does not. It's no different for me.

I will update eventually, but it won't fix this issue.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Baron1971:
Ah, ok. It is a strange Problem! Logs are not possible in TWRP? But Thanks for your work.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Logs are gotten from "Save Logs" option. But they haven't shed any light on the situation (well I've only got one log so far).

It might be a kernel issue. What kernel are you using?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Baron1971:
I have installed Rr 6.1 Treble with Moun Kernel in Treble Version.

https://xdaforums.com/mi-a1/development/kernel-moun-kernel-los-aosp-t3771841
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
[MENTION=1844875]CosmicDan[/MENTION] error flashing error applying update: 18 (error code: : kdownloadoayloadpubkeyverificationerror) Recovery Log

Dmesg Log

twrp gave this error while flashing Latest LineageOs update 31st one. Though this user said this commit might be reponsible for making LineageOs maintainer Op has New recovery linksrecovery work. Here is the post LineageOs Recovery Post as Per User
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Use the other TWRP until I update, it's a known bug in the version of TWRP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
I will wait on the current built. Till you make new one. My phone will not boot with any other recovery buddy. ?

edit: I have to flash another recovery because of this error. ugh.. error
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Saswata Chakraborty:
[MENTION=1844875]CosmicDan[/MENTION]

Hi buddy, I have a question. I have heard a lot of people saying that a clean wipe on TWRP doesn't always wipe everything. They suggest to first clean flash stock rom before switching from one custom rom to another. So let say, I am on rom A and I would like to switch to rom B. Is it enough if I just boot into twrp and wipe System, Cache and Data and then flash rom B? Or is it best to first flash stock rom through miflash tool (with clean all and lock) and then proceed with flashing of rom B? I would like to switch from AOSIP to AEX. Please help!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] findrome:
Following!

If it's worth anything; I haven't flashed stock yet, instead, I have been formatting then flashing rom, etc. I wouldn't oppose opinions for or against.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Flash stock if you encounter issues.

Wiping data is all you usually need. Wiping cache does nothing, cache does not exist on A/B devices.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] samrattt:
I am now on aex non treble.i want to trebelize my phone for installing pie.so i have to shrunk data.should i go back to stock to shrunk data?or i can shrunk data from aex?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rkview37:
It doesn't matter it will wipe your device completely

U can proceed
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] pedram.abac:
Report and fix the TWRP TISSOT MANAGER problem. Version 2.4

Note: The problem appears only in the first stage of the repartition, and then the problem is resolved

Problem: The sudden removal of the vendor file from the existing ROM does not install any files

Solution: After repartitioning before installing any file, install the vendor file, then proceed as follows:

*Reboot to Recovery »Data Format FullWipe» Install the ROM and twrp installer »Reboot to Recovery» enter Mount option and tick the vendor, system, persist files »Install Gapps and Magisk» Reboot system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rkview37:
I request you to please reply my query [MENTION=1844875]CosmicDan[/MENTION]

After untrebilize the device

Can I restore full twrp backup of my stock rom instead of flashing fresh stock rom through mi tool & setup everything all over again

It's a more convenient way if possible
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] t.uday shankar:
Anyone got for redmi note 4x
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fabio_faria_23:
How to use dual boot? How to install 2 roms in dual boot? Pls explain
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Bastaerd:
I believe all the information required is in the OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I don't understand this problem.

I already answered this before. The answer is in the Treble Guide, the FAQ I think makes a point of it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
TWRP with Tissot Manager 2.4.1 is up on DevBB and GitHub. Changes:

Update to TWRP 3.2.3
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sanzNya:
Where's download link. I go to github but no link..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
It's right there on the "Releases" tab, same as always.

Also, I just realized there really is no point updating to this right now - it doesn't solve the verification problem with latest LOS and CarbonROM and such. I will release a fix for that in a couple hours.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sanzNya:
Ummhh.. Ok then. I'll wait. I want to flash latest LoS.

Thanks for ur work on our device sir..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
There we go, a proper 2.5 release is on DevBB (shortly) and GitHub (now).

Changes:

Update to TWRP 3.2.3

Add option to ignore verification when flashing a payload (default enabled) (yes, this fixes the new LOS-based ROM error 18)

Add option to set target slot when flashing a payload (default is inactive slot, as per standard)

Merge performance-mode update_engine change from upstream (not sure if relevant for Recovery installs)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
uption to set target slot, so we can decide where the payload will be flashed ?

no need "reboot to recovery" thing again ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Correct. Unless it says "Failed mounting /system" in red after install, which could happen in some rare cases.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Thanks Daniel. I flashed twrp normally from lineageOs maintainer to yours. Glad to see update
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] justboryata:
Please give me a solution. I get this error and I DO reboot to recovery after I flash a ROM. And it changes the slot but still gives me this error.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Probably because you didn't actually *choose* to install to the same slot. It's not the default. If the slot changes after TWRP reboot, then you didn't choose it. It's an option - not a forced or default.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] justboryata:
I did, sorry for not clarifying.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sh0w 0f:
Hello, soo I know this will be a stupid question but can this twrp work on any treble supported devices?

Ps. Sorry for the noob question
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mardrest:
This recovery are only for treble enabled and non treble MiA1 phone.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
no, tissot only
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mardrest:
MiA1 and Tissot are the same Phone
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
read the question carefully, he ask about compability to ANY TREBLE DEVICE, meaning many device that has treble enabled
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mardrest:
Thats why i put "only MiA1 phone", you also doesn't read my response.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
your response is not important for me
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Please stop this. This is development thread.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] riccetto80:
Hello!

Noob there! :D

First of all, thanks to CosmicDan for this version of twrp who, atm, seems the only one really working.

Second, i would like to ask what is the best way to back up my [hone before flash a custom rom?

i read is possible to have the wifi partition or other important partition who arent restored using xiaomy tool to flash back stock rom, damaged after installed a custom rom, if you revert back to stock.

How i can avoid this and be sure to have a back up of all is important before flash a custom rom on my mi a1?

thank you people.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Dunno, works fine for me. I tested with LOS first and have reinstalled CarbonROM many times, always with the Current Slot option.

Google for Mi A1 Low-level backup/restore tool, there's a thread here on XDA.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] riccetto80:
https://xdaforums.com/mi-a1/how-to/tool-low-level-backup-restore-unbrick-t3790307

this one? you developed this one too, lol!

GG!!!