[MIUI 10][A2] Install Guide

Search This thread

Abdoubody

Member
Apr 23, 2017
40
47
Hello A2 users ,
Code:
* Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.

1-you need unlocked bootloader
2- Download Stock Rom for A2 : Download
3- Download MI 6X MIUI 9 at first (to avoid Anti-Rollback)(fastboot) : Download
4- Unzip Stock Rom and MI 6X MIUI 9 ROM
5- Go to Stock Rom folder > image
then copy this files
*abl.elf
*prog_emmc_firehose_Sdm660_ddr.elf
*prog_emmc_firehose_Sdm660_lite.elf
To 6X MIUI 9 > image
and accept replace files
6- put ur phone in EDL mode and Connect Mobile to pc by usb
7- Download MIFlash : Download
8- Open MiFlash Select 6X Miui folder
9- Click Refresh on Mi Flash Then choose Clean all and click flash
10- waiting Mobile boot up .... Now u on MIUI 9
11- Don't Update mobile from updater it self to not stuck in MIUI only and can't back to Android One
12- Download MIUI 10 : Download
13- Open ZIP using winrar and delete "firmware-update" (to remove anti-rollback)
14- install TWRP : Download
15- put your mobile in Fastboot
16- Open CMD and write "fastboot boot twrp-3.2.1-test-wayne.img"
17- Now your mobile opened TWRP go to Wipe and Factory reset
18- go to wipe > Advanced wipe > david/cache/data Don't select system
19- Move MIUI 10 folder to your mobile and flash it
20- Congratz u got MIUI 10

**Don't update mobile from Setting every update u should use TWRP and don't forget to delete "firmware-update"**

When u go to take photo using camera u got error "can't connect to camera" ?
Jut go to Camera > Setting > Disable Enhance lowlight photos and will work normally

Telegram Group : Join Now

Thanks: @windforce3425
 

Attachments

  • 42100930_729881047365132_228447833005490176_n.jpg
    42100930_729881047365132_228447833005490176_n.jpg
    25.6 KB · Views: 34,968
  • 41900342_729881127365124_6722052039364313088_n.jpg
    41900342_729881127365124_6722052039364313088_n.jpg
    26.1 KB · Views: 34,717
  • 42194955_729881087365128_7180973095987970048_n.jpg
    42194955_729881087365128_7180973095987970048_n.jpg
    23.3 KB · Views: 34,590
Last edited:

Mr.Nice.ba

Senior Member
Jul 5, 2010
450
201
Sarajevo
Can we go back to android one stock rom after trying MIUI ? Is there any problem going from A/B partition to A only and back? Any major bugs in MIUI ? Thank you very much for your response and guide.
 

hrizuwan

Member
Nov 20, 2016
34
4
Thank you for the instructions.
Please tell me how to go to edl mode and also in the step no 13 after unzip and deleting the "firmware update" do i need to repack it? And how will I install via twrp? As an img or a zip file?

And also which are the bugs? Is it as smooth as the other xiaomi devices?
Again thank you for your efforts.
 

Abdoubody

Member
Apr 23, 2017
40
47
Can we go back to android one stock rom after trying MIUI ? Is there any problem going from A/B partition to A only and back? Any major bugs in MIUI ? Thank you very much for your response and guide.

if u did all steps right
yeah u can back to Android one again
No problem when u install MIUI u will be Just A partition and when u back again to Android one u will be A/B
No bugs because A2 and 6X same drivers and hardware
 

Abdoubody

Member
Apr 23, 2017
40
47
Thank you for the instructions.
Please tell me how to go to edl mode and also in the step no 13 after unzip and deleting the "firmware update" do i need to repack it? And how will I install via twrp? As an img or a zip file?

And also which are the bugs? Is it as smooth as the other xiaomi devices?
Again thank you for your efforts.

1- u can use A2 toolkit form other thread to reboot in EDL
2- I didn't say unzip in no.13 I said open it by WinRAR delete it and close WinRAR again
3- after u delete "firmware-update" from zip copy Zip file to mobile and flash it
 

windforce3425

Member
Jul 15, 2016
40
28
Munich
Did you check this rom out personally? If so then how was your experience? Battery life improved? And also can you help me how can I go to edl mode?

Thanks in advanced

Of course man, check first post OP mentioned me at the end. Battery life didn't improve, it's same as on Stock. I get 5-6h SOT with some tweaks other people here on xda are also using. To reboot simply type "fastboot reboot edl" when in fastboot mode.
 

iEstuardo

Senior Member
Dec 26, 2011
136
30
Is the camera working fine?
What's the procedure to get back to Android One?
Can u guys please post a guide on how to go back to stock?
 

djmitza222

Senior Member
Feb 16, 2008
95
261
Baia Mare
The camera works with GCam but with the stock MIUI, when you take a picture, it crashes instantly. Overall, great performance! I was able to install AOSP Extended Custom ROM as well for Mi 6X on my Mi A2 by just downloading the zip file for wayne + Gapps and flashed them through TWRP. All of this is possible because the device got converted to wayne (Mi 6x) with the partition layout. So any custom ROM made for Mi 6x is compatible.

Edit: Custom ROM from mi-globe.com works even the camera! So I think it's a bug in the stock ROM, idk.
 

hrizuwan

Member
Nov 20, 2016
34
4
Of course man, check first post OP mentioned me at the end. Battery life didn't improve, it's same as on Stock. I get 5-6h SOT with some tweaks other people here on xda are also using. To reboot simply type "fastboot reboot edl" when in fastboot mode.

HELP I'm on miui 9. I installed twrp but data is encrypted. what can I do now to install MIUI 10?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    Hello A2 users ,
    Code:
    * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.

    1-you need unlocked bootloader
    2- Download Stock Rom for A2 : Download
    3- Download MI 6X MIUI 9 at first (to avoid Anti-Rollback)(fastboot) : Download
    4- Unzip Stock Rom and MI 6X MIUI 9 ROM
    5- Go to Stock Rom folder > image
    then copy this files
    *abl.elf
    *prog_emmc_firehose_Sdm660_ddr.elf
    *prog_emmc_firehose_Sdm660_lite.elf
    To 6X MIUI 9 > image
    and accept replace files
    6- put ur phone in EDL mode and Connect Mobile to pc by usb
    7- Download MIFlash : Download
    8- Open MiFlash Select 6X Miui folder
    9- Click Refresh on Mi Flash Then choose Clean all and click flash
    10- waiting Mobile boot up .... Now u on MIUI 9
    11- Don't Update mobile from updater it self to not stuck in MIUI only and can't back to Android One
    12- Download MIUI 10 : Download
    13- Open ZIP using winrar and delete "firmware-update" (to remove anti-rollback)
    14- install TWRP : Download
    15- put your mobile in Fastboot
    16- Open CMD and write "fastboot boot twrp-3.2.1-test-wayne.img"
    17- Now your mobile opened TWRP go to Wipe and Factory reset
    18- go to wipe > Advanced wipe > david/cache/data Don't select system
    19- Move MIUI 10 folder to your mobile and flash it
    20- Congratz u got MIUI 10

    **Don't update mobile from Setting every update u should use TWRP and don't forget to delete "firmware-update"**

    When u go to take photo using camera u got error "can't connect to camera" ?
    Jut go to Camera > Setting > Disable Enhance lowlight photos and will work normally

    Telegram Group : Join Now

    Thanks: @windforce3425
    4
    How to return to stock ROM (the safe way):

    Download the latest Mi Flash from here
    Download the stock ROM for Mi A2 from here
    Download the Mi A2 toolkit from here

    Step 1 - Put all the files in a folder and organize everything so you don't get confused.
    Step 2 - Open the Mi A2 tool kit by opening the toolkit.bat and select 5, then select 2 (reboot into EDL).
    Step 3 - Open the XiaoMiFlash.exe you downloaded (the one inside the folder, not the executable outside the folder, that one doesn't work) as administrator.
    Step 4 - Press refresh and see if your phone gets detected.
    Step 5 - Extract your stock ROM zip to a folder.
    Step 6 - Select that stock ROM folder on Mi Flash, select clean all and press flash.
    If you're getting errors while flashing (hello packet or object reference), simply hold POWER + Volume down until it restarts back to fastboot (it should be a black screen, don't worry its normal) then do Step 2, 4, and 6 again.
    Step 7 - After flashing is complete, close Mi Flash and press POWER + Volume down to boot back to fastboot (it should be a black screen, don't worry its normal)
    Step 8 - Extract your Stock ROM zip again but this time extract the contents to the same folder where's your fastboot and adb files (mine is C:\ADB for example)
    Step 9 - Open the flash_all.bat file from where you extracted your Stock ROM zip (same folder where's your fastboot and adb files)
    Step 10 - After the flashing is complete (if the phone reboots,press POWER + Volume down to boot back to fastboot), open the Mi A2 toolkit and select 1. Lock/Unlock Bootloader, then select 6 Lock flashing critical and lock your bootloader (a message should appear on your phone to lock your bootloader).
    Step 11 - Boot back into fastboot again, open Mi A2 toolkit, select 1. Lock/Unlock Bootloader then select 5 lock flashing and lock your bootloader (a message should appear on your phone to lock your bootloader).
    Step 12 - Let the phone restart and welcome back to Android One :) (remember to do your system updates since the Stock ROM you downloaded isn't the latest version).
    2
    Flashed magisk with twrp and works like a charm, so root is working fine. I do not have usb to hdmi to try, sorry.

    For me there is no bugs for now. This is the first rom that is not stock to work like daily driver. Every other gsi rom have fp reader bug, front flash, led notification problem, etc.

    Ps. Google cam works fine after enabling camera2 api.

    Sent from my MI 6X using Tapatalk
    2
    The camera works with GCam but with the stock MIUI, when you take a picture, it crashes instantly. Overall, great performance! I was able to install AOSP Extended Custom ROM as well for Mi 6X on my Mi A2 by just downloading the zip file for wayne + Gapps and flashed them through TWRP. All of this is possible because the device got converted to wayne (Mi 6x) with the partition layout. So any custom ROM made for Mi 6x is compatible.

    Edit: Custom ROM from mi-globe.com works even the camera! So I think it's a bug in the stock ROM, idk.
    2
    I have flashed it and camera works perfectly. Read the OP, disable in camera settings option : enhance low light photos automatically, something like that. Now everything is working smooth, perfect ROM. Full screen gestures is fantastic feature, using full screen is much better experience than android one. Untill stock Pie rom roll out, I am not leaving MIUI :D
    Once more, thank you Abdoubody for this guide.