a/b slot factory reset - Xiaomi Mi A2 Lite Questions & Answers

Hello guys,
I tried some stuff from the twrp thread and now I am curious how I can reflash the stock recovery?
Another question is the a/b slot system. I am currently on slot b with flashed stock image and root. If I use the OTA feature now, will the system set up on the slot a and after the next boot I am on slot a?
Best regards,
smoo62

Related

Slot A not working - Can I re-partition?

I have a Pixel 2XL. It is rooted w/ Magisk and running RR Oreo ROM.
My Slot A does not work. I have tried to to install a ROM from TWRP and boot, but it goes into a boot loop. Slot B works fine. In TWRP, there is a re-partition or fix partitions button. Will that fix the problem? I've been rooting my phones for years, but I really only understand the basics. Is re-partitioning for Slot A/B, of for recovery/boot/vendor etc partitions?
Any other way to fix Slot A? Is there any problem other than OTA updates with not having 2 slots?
Any help would be greatly appreciated! I would really like it work.
TWRP won't fix this, and using the fix partitions option may do more harm than good. Flash a stock ROM (NOT an OTA image) using Fastboot and it should fix your A/B slot issue. From there you can go about setting up your device to use your chosen custom ROM.

Dual boot rooted and unrooted system

Is it possible to have a rooted version of stock Android on one slot and an unmodified version on the other?
I have s rooted version of Q installed on slot B. I tried using fastboot to flash system, boot and vendor to slot A but this didn't work.
Are there other images I need to flash to the A slot?
Is this even possible?
Are some of the images in the system image file shared between both slots?
ird0 said:
Is it possible to have a rooted version of stock Android on one slot and an unmodified version on the other?
I have s rooted version of Q installed on slot B. I tried using fastboot to flash system, boot and vendor to slot A but this didn't work.
Are there other images I need to flash to the A slot?
Is this even possible?
Are some of the images in the system image file shared between both slots?
Click to expand...
Click to collapse
The way I understand it, system is the only partition duplicated in a seamless update setup. Thus both A and B will have root.

How to flash gsi .img for Xiaomi Mi A3

My device forum doesn't have instructions how to do it, i've posted asking there but better to ask here also. I found this post for the Mi A2 that isn't my device mines the Mi A3 https://forum.xda-developers.com/mi-a2/how-to/guide-discussion-aio-gsi-thread-mi-a2-t3933356
The device is A/B arm64 has slots a and b i dunno how that effects flashing here, flashing custom roms will install into the inactive slot then you gotta change your active slot to be the the slot it installed into, then install rest of files there, does this apply with gsi .img files also?
When i tried using flashing the .img file i used orangefox recovery wiped all partitions flashed to system, just says no os installed i will probably try doing that again and flashing DM-Verity & Forceencrypt Disabler and permissiver_v2.zip however who noes if that will help.
If someone can list the correct steps to flash using both fastboot method and twrp/orangefox recovery methods i would appreciate it. If it matters i was trying to flash android 10 gsi. I've seen many different methods listed depending on the device, so i guess that makes it harder to work out.
Thanks.
I've flashed it twice via TWRP with flashing DM-Verity & Forceencrypt Disabler and permissiver_v2.zip. Plus TWRP.
1st time it was into A slot. After 1st flashing I've restarted TWRP and booted into B slot. And then flashed slot B.
After rebooting and seeing Logo in 15 minutes - I've got Android.10
xVM said:
I've flashed it twice via TWRP with flashing DM-Verity & Forceencrypt Disabler and permissiver_v2.zip. Plus TWRP.
1st time it was into A slot. After 1st flashing I've restarted TWRP and booted into B slot. And then flashed slot B.
After rebooting and seeing Logo in 15 minutes - I've got Android.10
Click to expand...
Click to collapse
Thanks for the feedback, are you able to tell me the exact steps? like lets just say twrp is already installed and you factory reset, cleared all data.
Do you flash DM-Verity before you flash the rom? or after you flash the rom and what you just flash Forceencrypt Disabler and permissiver_v2.zip after installing the rom?
What i see with regular roms not gsi when you flash the rom if your on slot a it's actually installing it into slot b when you reboot that's where it is so you need to restart before flashing Magisk and other stuff. So i assume with the gsi maybe you need to reboot after installing as system image before flashing the other files?
Alister. said:
Thanks for the feedback, are you able to tell me the exact steps? like lets just say twrp is already installed and you factory reset, cleared all data.
Do you flash DM-Verity before you flash the rom? or after you flash the rom and what you just flash Forceencrypt Disabler and permissiver_v2.zip after installing the rom?
What i see with regular roms not gsi when you flash the rom if your on slot a it's actually installing it into slot b when you reboot that's where it is so you need to restart before flashing Magisk and other stuff. So i assume with the gsi maybe you need to reboot after installing as system image before flashing the other files?
Click to expand...
Click to collapse
Your better of using fastboot if flashing a gsi .img you dont need twrp really unless the rom is in a .zip format, or your wanting to add extras like magisk and such, or take a backup
Android 11
Did anyone tried Android 11 gsi??

A/B slot question

Right now I have PixelDust flashed to slot A. If I flash Lineage 17 to slot B and reboot to that slot, could I have 2 custom ROMs at once? Am I misunderstanding something?
Also, currently TWRP won't mount vendor, will this be an issue?
NewbRooter89 said:
Right now I have PixelDust flashed to slot A. If I flash Lineage 17 to slot B and reboot to that slot, could I have 2 custom ROMs at once? Am I misunderstanding something?
Also, currently TWRP won't mount vendor, will this be an issue?
Click to expand...
Click to collapse
I don't think you can install two custom ROMs. I would post your questions on the lineage thread: https://forum.xda-developers.com/pi...-lineage-17-0-pixels-marlin-sailfish-t3971039

Question Can we flash miui stock rom on A slot and another AOSP rom on B slot via twrp?

kinda noob question, but previously i never used A/B partion type device. since i have poco f3 now, can we flash stock miui on one slot and aosp type on the other slot? is it possible?

Categories

Resources