yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S7 Questions & Answers] elesbb:
I'm successfully rooted on the U firmware and will not be flashing anything anytime soon lol. Or else I would try it.

But one click root usually works by taking advantage of exploits already in the code. For instance, say the there's a system app that executes something as root in the /data directory, they take advantage of that and have that executable do something like install root. Very poor example but it's basically the gist of it.

I wouldn't be surprised if it worked. I really hope someone tries it!
[Sprint Samsung Galaxy S7 Questions & Answers] AgainstTheFlow:
They want 90.00 to root. I wont pay that!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Reserved
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Screenshots (click for slightly larger non-cropped version)

Screenshot of new TWRP button:

_______________

Main menu (stock partition map detected):

_______________

Repartition choice type when coming from stock:

_______________

Repartition wipe warning/disclaimer if chosing to shrink Userdata for Treble:

_______________

Main menu (Shrunk Userdata type Treble partition map detected):

_______________

Repartition wipe warning/disclaimer if chosing to restore Stock from Shrunk Userdata Treble mode:

_______________

Example of Repartition processing screen:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] GamingDevilsCC:
Good job! :good::)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Chikoow1:
Nice work!

Did you tested treble roms with this? Aex now have treble support :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CaioFerreira:
Omg, you are the best man. [MENTION=7471004]mohancm[/MENTION] also huge thanks to u man, great devs in our XDA. :svetius:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
I have never seen this kind of detailed, kind guide in XDA. You guys are awesome! Thanks for all this work!

One question : If I choose to shrink /userdata instead of /system,

1. Will I be able to flash stock rom by using MiFlash?

2. If I can, will I be able to get OTA and install them w/o issues?

3. Can I restore a TWRP backup that was made before repartitioning?(because of data on /data)

I think lots of people will be wondering about #3. If you think so too, then please add it in OP!

Thanks to all of you devs again!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
This is just the repartition part, one step of Treble. You still need a Vendor pack. But yes, this enables Treble ROMs and the ROMs require repartition.

1. If you do, it will wipe partition map back to stock. So you will need to repartition with Treble Manager TWRP again. But you can make a backup of stock ROM in TWRP and just restore it after the repartition. It should work.

2. Don't know. Needs testing.

3. Yes! I forgot to add this to the FAQ.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Alessandro999:
Has this tpwr f2fs support and working?

Since Los support It i would like ti have
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Filip013:
[MENTION=1844875]CosmicDan[/MENTION]

Thank you so much for your effort. I'm currently on stock and want to retain stock compatibility, so I'm going to wait until this becomes more polished before trying. I understand that Treble is not meant to be compatible with stock, so I realize my question might be out of place. Still, my question is:

Will you also release the .img file for Treble TWRP for those of us who don't want a permanent custom recovery?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] airidosas252:
It's indeed not intended to be compatible with stock ROM, but your mileage may vary, and as [MENTION=1844875]CosmicDan[/MENTION] said, it might work good enough or it won't. You can only try to see the results yourself.

This whole Treble thing is meant mainly for custom ROMS, since stock will never be Treble compatible (still, anything could happen)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I've just updated the TWRP with Treble Manager to 1.1 which fixed a semi-important bug.

Also, I've released a guide for those who find the Treble conversion/install process confusing - check it out. If you can, keep TWRP and Treble Manager specific questions in this thread, but ask your general questions and help over there - I will update the guide as I get feedback :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Ay!

Have just finished testing about OTA on stock after Treblizing!

Result?!?

OTA works perfectly on stock after shrinking data to Treblize! Hurrah! ???

Process I followed:

1) Treblize by shrinking data

2) This is important: flash stock ROM in fastboot using MiFlash! When flashing for the first time, select "clean all and lock"! No other standard options working! I couldn't even boot stock using other options!

I've tested by fastboot flashing April build and then updating it to May OTA!

*** On a note: clean all will erase everything on your phone including your personal data!

If you use "save user data" then stock can't even boot! This may caused by the encryption!

BTW, after everything I just restored my non-Treble RR backup and everything works perfect! Just Treble Check app can't check that it's Treblized!

But don't worry! Treble partition table still remains! Fastboot flash can't touch that and can't recognize that it actually exists! Which to me is a good thing!

[MENTION=1844875]CosmicDan[/MENTION], give me a thanks buddy! I deserve this! ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Don't quote the whole OP and please use a smaller font size.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rakibboss:
Change slot doesn't work... Others are okay as far as i have seen
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Just thought it's too important to highlight! Nothing else! ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Reboot to fastboot and change the slots with

fastboot set_active b
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Use the latest TWRP 1.1! Works fine for me!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Then please atleast remove the OP quote. It's a pain for mobile users to scroll through this
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Ha ha ha! It's related to OP buddy!

Anyways, I am too lazy to quote a certain part of the OP! :mad:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Dude read the FAQ. This isn't mohancm's TWRP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sdeft:
I know it is not. Calm down. I am not stupid. I am just wondering why in your version you require mtp to be disabled when changing slots whereas in mohan's version is not needed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I said read the FAQ. It's for dualboot compatibility. It's not disabled, it's just default off and switched off for slot change because it has to be for dual userdata.

Never said you were stupid lol
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sdeft:
You are correct. I missed your explanation in the FAQ section. Not stupid but blind as always :).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Sorry for bothering again! But shouldn't it be "shrunk system" instead of "shrunk Userdata" on the last sentence?

Got confused!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Oh whoops, yes you are right. Nice catch.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
I have a weird issue while flashing I get this : "Boot slot is , installing update to slot a". And the automatic twrp survival fails. Then it sais Rom install done to slot B. I'm confused as hell
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Are you using 2.1?

Are you running with properly installed TWRP or just fastboot boot TWRP?

I see that you switched slots before installing. This won't change the install slot for the ROM.

I think one of the earlier ZIP's has left something mounted or otherwise didn't clean up properly.

Always install a ROM ZIP first without changing slots first. If you must change slots, change them and reboot recovery *then* install the ROM ZIP before installing anything else, like whatever this "FIX.ZIP" is.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
2.1 yea, properly installed twrp. The FIX.zip is a part of the Carbon ROM to get the ota working. Anyways, everything works fine so I guess it's an issue with the zip. Thank you for your time
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
If you can reproduce it and share exact instructions to do so then I can at least take a look at it on my end. But if it was a one-off then I dunno.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Tuneer:
Hey [MENTION=1844875]CosmicDan[/MENTION], I am using your v1 twrp with RR experimental AIO. How do I update to your latest twrp?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Just flash the ZIP lol

EDIT: Oh and if you use Magisk, you will need to reflash Magisk after you flash TWRP and reboot recovery. Guess I should add that to the FAQ.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
2.2 is up on DevBB and GitHub. Changes:

Support dual boot patch for non-Treble ROM's (tested on stock Oreo)

Add 'Insecure ADBD on Boot' to Patches menu

Add Encryption forced/optional toggle to Patches menu

Add option to skip TWRP survival during payload and boot image flashing (mainly for developers).

EDIT: Re-uploaded that fixed a minor bug with TWRP survival. Anybody who downloaded 2.2 before the time of this edit might want to flash the new 2.2 installer again.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] lehachuev:
Found bug. Installed 2 non-treble ROMs - AEX official and CarbonRom official. Developers options not works.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
With only dual boot patch?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
So if I understand it good it is now possible to use stock and custom together on dualboot?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] lehachuev:
yes dualboot only
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Damn, I'll look into it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
I can confirm the developer settings issue, too.

I'm on RR treble(from AIO).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
That's weird, I'm on RR AIO too as daily but developer menu works. Is your RR in Slot A or B?

Also, did all you guys flash Magisk again after updating TWRP?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
My Mi A1 is 64GB varient, divided to Slot A - 44GB and Slot B - 6GB

Both Slot A and B has Treble RR. Both have screen lock(pattern+fingerprint). Maybe it's the issue.

Also, I think I have a strange bug. When I wipe Data on any slot, it 'alters' internal storage in a strange manner.

It 'hides' all files in the internal storage folder. Any file that was previously in can't be seen in TWRP, but can be seen in Computer via MTP. Pushing new files from computer to phone was successful, and I was able to see the pushed file in the TWRP. Can you have a look at it?

Yeah, I did flash Magisk. will install PE GSI without Magisk to see if it helps.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Regarding Internal Storage, see if disabling and re-enabling MTP solves it. But that's weird, probably another dualboot issue that I never realized since I keep everything on microSD.

Also see if rebooting recovery solves it. I might not be able to fix it.

EDIT: Wait. Are you Formatting Data? Not just Factory Reset? If so, that's normal. As the TWRP Log says - "you may need to restart recovery for it to be usable again". There's nothing I can do about that.

EDIT2: Yep I just tried a fresh RR AIO install, with and without Magisk, and Development menu works fine. Are you guys all using the very latest RR AIO with SELinux enforcing? I'll try Dev Menu on stock ROM now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
disabling and re-enabling MTP and rebooting recovery both didn't solve the problem:(

One more info : The 'hidden' file can be seen in the booted ROM's file manager. Must be a issue with TWRP dealing with post-wiped storage. Not a major issue, so it's okay. Thanks for the wonderful dual-booting solution!

I always do wipe - advanced wipe - tick data & davik cache - wipe. Isn't that equivalent to Factory reset?

---------- Post added at 05:54 PM ---------- Previous post was at 05:46 PM ----------

Entering Developer options still makes settings unresponsive even after installing no-magisk app in slot B with no lock.

Slot A - Treble RR with magisk and gapps, pattern+fingerprint.

Slot B - Treble Pixel Experience(gapps included), no magisk, swipe unlock(no lock).

Developer options is not accessible in both ROMs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I did look at the wipe thing, doing the slider (which is the same as those boxes) and all the folders were stl visible on Internal Storage in the flash menu. So maybe just use the slider instead, could be a TWRP bug.

Is the Treble RR you're using the latest one with SELinux enforcing?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
Yeah, it definetaly was. There was the new 'Trust', and it showed that my A1 was SELinux enforcing.

Now doing a fresh install, too. (Repartition to stock and come to Treble again)

Will boot first time with Pixel Experience ROM.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
OK guys I found the problem, I didn't do any testing with SELinux enforcing ROM's.

There are a few small other things I want to fix/look at before releasing an update, but to fix your SELinux-enforcing ROM's for dualboot for the moment, first boot into TWRP, then mount system manually (and also vendor if using RR AIO or any Treble ROM), then run the following command in adb shell:

restorecon -v /system/system/vendor/etc/fstab.qcom

Reboot and all good.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
If i want to dual boot with rr official and stock oreo, may I need to enable encryption in tissot manager?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
Dear [MENTION=1844875]CosmicDan[/MENTION],

I have two question

1. If i want to dual boot with rr official and stock oreo, may I need to enable encryption in tissot manager?

2. What is insecure ADBD?

one problem

3. after dual booted with rr official and aex ext sd card not showing in os, but showing in twrp.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
1) Stock Oreo is incompatible with dualboot.

2) Don't worry about it, it's for developers and hackers only.

3) See the post above, dualboot for non-Treble and SELinux enforcing is bugged atm. Wait for 2.3 if you can't manually fix it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
[MENTION=1844875]CosmicDan[/MENTION] is it Oké to use the leaked 8.1 twrp version in dualboot because I know if you put back a stock oreo you get troubles with the recovery.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Stock ROM will only work if you flash a custom kernel with dm-verity disabled or Magisk (I think). Wait for my 2.3 release to test.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
Thx for the quick response. Looking forward to the 2.3 version if you need a tester just let me know. Would be really great to have stock on primary because off network fluctuations ( like you also have?) on custom rom ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
Dear [MENTION=1844875]CosmicDan[/MENTION],

Thank you so much for your response, I am unable to fix it manually, waiting for your 2.3 to fix sd card and developer option. your recovery just awesome.

I am successfully dual-booted with stock+magisk and rr treble.

And one more question how to mount userdata_b in the slot a or vice verse?

I am already tried using this terminal cmd ' mount -o rw /dev/block/mmcblk0p52 /data2' as 52 our userdata_b and data2 is mountpoint.

https://imgur.com/Ax53uPT

https://imgur.com/48AATV6
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
That should work fine. /data2 needs to exist first though - which means you need to remount rootfs as rw and create the folder. Probably better to create folder in /data/local/tmp/ and mount there. And of course you need to be root shell to mount.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] syafrul05@gmail.com:
how do we install dolby atmos????in rom rr exprimental build 140618??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
remove audio fx using system app remover, then flash Dolby.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shavi_Suri:
Hey.. after treble with userdata, A/B remain same ?. Give me one answer , can i flash stock ROM with MiFlashtool ? if yes can i do OTAs ?

And BTW ur work is really awesome.... really
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
What's the point of trebelize your phone if you you stay with stock ROM...

Anyway your answer is no.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
As already said, if you want OTA then no. You can't have both.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shavi_Suri:
Thanks for your quick response.. ?

---------- Post added at 07:58 AM ---------- Previous post was at 07:21 AM ----------

I wish in future we can do OTAs too, I Wish it will possible to get both sides. Then we can say it official treble support too... ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
It's probably not possible. I would say impossible but I know better than to say never. Just don't hold your breath.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
Anybody on dualboot? I don't get it right how to install a second rom? Is it like booting in slot a or b and then flash all in one slot or is it like the old way by install rom and twrp installer and then reboot to change slot and then install gapps etc. Hope somebody can help..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
I don't understand the first part, but yes it's like "the old way". You flash AIO, AIO is added to the inactive slot, reboot recovery, and then flash usual stuff. Then install AIO again to flash back to the original (now inactive) slot and repeat. Done - Treble AIO on both slots and can dualboot. Can flash a GSI to one or both of the slot systems.

Ofc you have to be partitioned for dualboot first.

As the OP says, it just changes userdata into userdata_a and _b so each slot gets its own.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
thx for your quick answer. i think i get it now
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ho3yn89:
Guys I am on stock rom and I wanna dual boot stock with treble rr , is it possible to dual boot a treble rom with a non treble one?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
No you cannot dual boot anything non-Treble yet. Wait for 2.3.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ho3yn89:
So I just can have the same rom with 2 usrdata?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Yudhz®:
if we can't dualboot with non-treble rom ,and what does it mean ?

see the picture
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
Sorry this will be off topic, but could you make a TWRP with only the survival script for the guys that want to stay non-treble?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shavi_Suri:
Yup.. Can u explain me something ? A/B has same size, affected part is usrdata , so how it's not possible to do OTAs ? bcz ota will just check partitions ?

I don't know the reason, that's why am asking.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daveve:
[MENTION=1844875]CosmicDan[/MENTION] I thought version 2.2 off your twrp support non treble rom.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
Dear [MENTION=1844875]CosmicDan[/MENTION]

Dual boot is working with everything if SELinux is permissive by default ( not working after changing in app mode) everything working fine even extsdcard.

Stock only dual-booted with magisk and optional encryption.

As you advise me about mounting userdata_b in the slot a or vice verse. I did following steps.

From Rom slot a with terminal emulator.

1. Create a folder data2 in location /data/local/tmp/data2.

2. run the terminal emulator, run su.

3. then run " mount -o rw /dev/block/mmcblk0p52 /data/local/tmp/data2" in terminal emulator.

4. no error showing but nothing mounted.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Yes, if you want.

It boots but it's bugged, no microSD and developer menu crashes, probably other issues. See recent posts. Wait for 2.3, couple days probably.

No. You can use the TWRP fine and just avoid treble process still.

I don't know, I'm not Xiaomi or Google.

What's the point of this if you want stock OTA anyway, this is all about custom ROM's and doesn't benefit stock.

See above.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sudipta08sarkar:
Dear [MENTION=1844875]CosmicDan[/MENTION],

I successfully fix the extsd and developer issue using your cmd 'restorecon -v /system/system/vendor/etc/fstab.qcom' . thank you
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] syafrul05@gmail.com:
still can not, but in RR official can install dolby from magisk, why? whether RR eksrimental yet can put dolby or dolby that does not support project treble? [MENTION=1844875]CosmicDan[/MENTION]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Probably an SELinux related issue, maybe you need permissive. Does it work without dualboot?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
2.3 is now up on DevBB and GitHub. Changes:

Fix dual boot issues for non-Treble (hopefully) and SELinux enforcing ROMs (tested stock Oreo and new RR AIO)

Add SELinux permissive/enforcing option to Patches menu

Fixed/changed ADBD to true "god-mode" (root and insecure ADBD). For developers/hackers only - very insecure!

Other minor fixes
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
[MENTION=1844875]CosmicDan[/MENTION] you are on fire Man. :) . Thank You working so hard even still keeping your temper.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SevenSlevin:
I've tried to flash some custom roms (non-treble) and they never boot (stuck on bootanimation). I'm talking about dual boot. If I dont split sdcard in dualboot, they work fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
1) Are they actually patched for dualboot? Check the patches menu.

2) Did you install Magisk? It's likely required.

I only tested stock Oreo ROM, I just assumed others would work since they're less locked down. If you still can't get it working, tell me an example ROM you tried and I'll see what I find.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
I'm getting error 255 when installing a gsi. I've: reformated data, rebooted the recovery, reinstalled the recovery and nothing seems to help. Do you know what the issue could be?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Remove the space from "Custom ROMs" folder on your microSD.

Will search through everything without unquoted variables next release....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Saswata Chakraborty:
So, let say I am using a non-treble custom rom. So will the procedure be same like twrp 3.2.1-2 (mohancm)? Like booting into twrp, wiping system, data and cache, flashing rom and twrp, rebooting back to twrp, flashing gapps and magisk and rebooting back to system??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Yep. Everything is more or less the same. Just with extra optional stuff.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Yudhz®:
[MENTION=1844875]CosmicDan[/MENTION] I want just ask ,can you make the Mi A1 can boot into linux distro (like ubuntu, kali, debian) . thanks