first of all sorry if I make any mistake, I'm new here.

Help. Today I decided to try to root my xiami mi a2 lite... I accidentally flashed twrp-3.2.3-0-daisy.img on both a and b partitions. Because of that, now I can only access the TWRP menu...

I think I should download the official rom and get its boot file, but im not sure and I dont want to mess it up more... I've downloaded the rom and found this .img http://prntscr.com/lmegw9 . If that's it, is it enough to flash it? and in which partition? a or b?

  • I own an MiA1 which also has A/B partitions. My suggestion is based on experience with this and not your device. 1. In any mess up, it's best to always flash the stock image 2. I don't know if your image is stock or not but check XDA to see if there are tools to flash. 3. You will need to flash on both partitions whether you are using a tool or command line. For why see this 4. You will also need to flash system not just boot because you say you flashed TWRP not booted into it – beeshyams Nov 25 '18 at 7:12
  • this XDA thread can help you. You can search for more and study well before you act – beeshyams Nov 25 '18 at 7:18

Find a rom made specifically for your device here https://forum.xda-developers.com/mi-a2-lite

Then use this to unlock your bootloader & flash a new boot.img recovery & rom https://forum.xda-developers.com/mi-a2-lite/development/tool-tool-one-driversunlocktwrpfactory-t3866191

Warning unlocking bootloader will wipe all your files.
Also make sure to flash g-apps. You can search "opengapps" and your os to find the ones you need.


I'm not sure about both A and B partitions...
Android has several partitions ( 10+ ) for different things, system, boot, recovery, frp, nvram, etc....

TWRP is designed overwrite only your Recovery.img

You need your boot image for kernel information, booting etc... so never overwrite your boot partition, unless you are absolutely sure it's designed exactly for your variant of device.

You should be able to use TWRP to reinstall your Boot.img if that was partition A or B .

However if you've overwritten your system, youll need a firmware update or backup to restore the stock images..

In TWRP try to look through your partitions and their sizes in storage... for example, if your system partition only has 345kb of data ( or none ) on it, it's been wiped clean and needs to be reinstalled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.