Your favorite TWRP for a Mi A1 under Oreo 8.1.0 updated on the last OTA of July 2o18? - Xiaomi Mi A1 Questions & Answers

I'm really sorry... First post: a question…
But in my defense I already made some donations to members here and I am an old lady cats !
Well, I just acquired a Xiaomi Mi A1 and I tried to install a recovery.
I first tried with the official TWRP « twrp-3.2.2-0-tissot.img » from https://eu.dl.twrp.me/tissot but he never want to boot under the command:
Code:
fastboot boot twrp-3.2.2-0-tissot.img
Normal. I realized after that he could not boot because it seems compiled for Nougat 7.1.2 version while I’m running an Oreo 8.1.0 with last July’2018 OTA ( OPM1.171019.026.V9.6.4.0.ODHMIFE )
So, I try a TWRP (type Oreo) whose I don’t remember where I found it, I install it and everything seems to be OK until I restore a backup… Bootloop ! :crying:
But a nasty bootloop ! Because the one and only solution I managed to recover the phone is to Mi Flash the last image of July’18 ( 9.6.4.0.ODHMIFE )
I success flashing and I end up with a brand new phone. :victory:
So… Before breaking anything more I’m here to call to your user experiences to advise me for a TWRP that works (especially for backup/restore) on Mi A1 Oreo 8.1.0
Here my questions :
—1) I hesitate between using and hacking the Stock ROM, LineageOS 15.1 or AospExtended.
——Then, a common TWRP for backup and restore between this three ROMs is not possible I suppose? It seems not because for example LOS would be delivered/flashed with its own TWRP…
—2) I tried to compile my own TWRP but after 4GB of « repo sync » download I still not get a folder « devices/xiaomi/tissot/BoardConfig.mk » neither even only a « BoardConfig.mk » to configure…
——So I left out to compile myself and I sorted out what was available in the most recent TWRP for Oreo Tissot and found:
@mohancm ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3688472
@pl_blaze ’s recovery (based on mohancm above) —> https://forum.xda-developers.com/showpost.php?p=77071659&postcount=1303
@CosmicDan ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3793637
@nicknitewolf ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3821469
——Which one do you advised me to be compatible with a Xiaomi Mi A1 under Oreo 8.1.0 (Non treble) updated to the last patch of July’2018 ( OPM1.171019.026.V9.6.4.0.ODHMIFE ) ?
My goal is to be able to backup & restore system and data without bootloop, without data loss, corruptions and without any bugs in a general way.
Finally for that my first post will not be only an useless question I will share with you image file tree of Boot Stock and image file tree of the 4 TWRP mentioned above. If it can be useful for someone…
Warning ! TAR.GZ compressed ! Extract in Linux preferred ! Not sure how symlink/letter case will react in Windows…
@Stock Boot 8.1.0 Oreo 9.6.4.0 Extracted —> https://mega.nz/Stock_Boot_Extracted (Virustotal)
@mohancm ’s recovery extracted —> https://mega.nz/mohancm (Virustotal)
@pl_blaze ’s recovery extracted —> https://mega.nz/pl_blaze (Virustotal)
@CosmicDan ’s recovery extracted —> https://mega.nz/CosmicDan (Virustotal)
@nicknitewolf ’s recovery extracted —> https://mega.nz/nicknitewolf (Virustotal)
Again, sorry to start with a long post and only questions, but I intend to participate later: I have to make 5 customs images to edit Tissot’s « splash.img » (based on blue/yellow Amstrad CPC theme teaser) and I would share my work here.

? Mumu said:
I'm really sorry... First post: a question…
But in my defense I already made some donations to members here and I am an old lady cats !
Well, I just acquired a Xiaomi Mi A1 and I tried to install a recovery.
I first tried with the official TWRP « twrp-3.2.2-0-tissot.img » from https://eu.dl.twrp.me/tissot but he never want to boot under the command:
Normal. I realized after that he could not boot because it seems compiled for Nougat 7.1.2 version while I’m running an Oreo 8.1.0 with last July’2018 OTA ( OPM1.171019.026.V9.6.4.0.ODHMIFE )
So, I try a TWRP (type Oreo) whose I don’t remember where I found it, I install it and everything seems to be OK until I restore a backup… Bootloop ! :crying:
But a nasty bootloop ! Because the one and only solution I managed to recover the phone is to Mi Flash the last image of July’18 ( 9.6.4.0.ODHMIFE )
I success flashing and I end up with a brand new phone. :victory:
So… Before breaking anything more I’m here to call to your user experiences to advise me for a TWRP that works (especially for backup/restore) on Mi A1 Oreo 8.1.0
Here my questions :
—1) I hesitate between using and hacking the Stock ROM, LineageOS 15.1 or AospExtended.
——Then, a common TWRP for backup and restore between this three ROMs is not possible I suppose? It seems not because for example LOS would be delivered/flashed with its own TWRP…
—2) I tried to compile my own TWRP but after 4GB of « repo sync » download I still not get a folder « devices/xiaomi/tissot/BoardConfig.mk » neither even only a « BoardConfig.mk » to configure…
——So I left out to compile myself and I sorted out what was available in the most recent TWRP for Oreo Tissot and found:
@mohancm ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3688472
@pl_blaze ’s recovery (based on mohancm above) —> https://forum.xda-developers.com/showpost.php?p=77071659&postcount=1303
@CosmicDan ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3793637
@nicknitewolf ’s recovery —> https://forum.xda-developers.com/showthread.php?t=3821469
——Which one do you advised me to be compatible with a Xiaomi Mi A1 under Oreo 8.1.0 (Non treble) updated to the last patch of July’2018 ( OPM1.171019.026.V9.6.4.0.ODHMIFE ) ?
My goal is to be able to backup & restore system and data without bootloop, without data loss, corruptions and without any bugs in a general way.
Finally for that my first post will not be only an useless question I will share with you image file tree of Boot Stock and image file tree of the 4 TWRP mentioned above. If it can be useful for someone…
Warning ! TAR.GZ compressed ! Extract in Linux preferred ! Not sure how symlink/letter case will react in Windows…
@Stock Boot 8.1.0 Oreo 9.6.4.0 Extracted —> https://mega.nz/Stock_Boot_Extracted(Virustotal)
@mohancm ’s recovery extracted —> https://mega.nz/mohancm(Virustotal)
@pl_blaze ’s recovery extracted —> https://mega.nz/pl_blaze(Virustotal)
@CosmicDan ’s recovery extracted —> https://mega.nz/CosmicDan(Virustotal)
@nicknitewolf ’s recovery extracted —> https://mega.nz/nicknitewolf(Virustotal)
Again, sorry to start with a long post and only questions, but I intend to participate later: I have to make 5 customs images to edit Tissot’s « splash.img » (based on blue/yellow Amstrad CPC theme teaser) and I would share my work here.
Click to expand...
Click to collapse
If you don't wan't to trebelize your phone go with the twrp from nicknitewolf, it's the only that can install LineageOs images untill now, but it's only a bootable twrp, don't have permanent twrp untill now, or you can try with cosmicdan twrp, this have a survive function when you install a rom, but cannot install latest LineageOs roms.
With all twrp you can backup and restore any rom, stock and custom.
Edit, now abishek released a new twrp 3.2.3 that work with all roms and it's persistent. It's on the OP from lineageos official threat

mardrest said:
If you don't wan't to trebelize your phone go with the twrp from nicknitewolf, it's the only that can install LineageOs images untill now, but it's only a bootable twrp, don't have permanent twrp untill now, or you can try with cosmicdan twrp, this have a survive function when you install a rom, but cannot install latest LineageOs roms.
With all twrp you can backup and restore any rom, stock and custom.
Edit, now abishek released a new twrp 3.2.3 that work with all roms and it's persistent. It's on the OP from lineageos official threat
Click to expand...
Click to collapse
Seem you are speaking on this --> https://forum.xda-developers.com/showpost.php?p=77189749&postcount=3512
I will check this up ! Thank you mate ! :highfive:
Edit for other, here the links :
TWRP-3.2.3 : https://drive.google.com/a/my.smccd.edu/uc?id=1tjfpvJKaEtviITgd83plS9p0BMQYHgEe&export=download
TWRP-Installer-3.2.3.zip : https://drive.google.com/a/my.smccd.edu/uc?id=1_xM-24m_vANR0eRJrytgnVDAvpiJfC6q&export=download
Please got thanks abhishek987

Related

[NEWBIE GUIDE v2.0] MIUI ROMs, TWRPs, ZIPs, BACKUP, FLASH, RESTORE

UPDATED NEWBIE GUIDE v2.0
FOR REDMI NOTE 3 SNAPDRAGON (KENZO)
(WORKS FOR ALL MIUI / AOSP / CM BASED ROMs)​
GUIDE SECTIONS : QUICK LINKS​#1 : MIUI ROM | TYPES OF MIUI ROM | TWRP | TYPES OF TWRP
#2 : TWRP FLASHABLE ZIPs | FULL PARTITION BACKUP | FLASHING ROM
#3 : RESTORING MIUI FIRMWARE (WIP) | SUMMARY | CREDITS​
IMPORTANT NOTE !!​- Before following any step or asking any question, please read the guide & the below comments very carefully & thoroughly
- You are choosing to make these modifications, I take no responsibility for bricked devices, dead or corrupt SD cards, accidental data wipe etc.
- This guide only supports users who have UNLOCKED their BOOTLOADER using OFFICIAL method
- I have dropped support for users who have UNLOCKED their BOOTLOADER using UNOFFICIAL method as it was risky & confusing
- This guide will be updated as new information, TWRP, methods are added. Do let me know if I have forgot to mention anything useful
MIUI ROM​
MIUI (pronounced as Me-You-I) is Xiaomi's custom built firmware on top of Android like Samsung's Grace UX, HTC's Sense, OnePlus's OxygenOS which runs on their smartphones. MIUI is also the second most popular Android firmware, after CyanogenMod. MIUI is based on Android's AOSP base with its own modifications and extensive features over the top. At first glance it resembles like a hybrid between Google's Material Design and Apple's iOS. But unlike Stock Android or iOS, MIUI is very intuitive, feature rich and has multiple tweaking options.
MIUI is updated regularly depending on the development branch. Xiaomi takes reports, feedback and suggestions from the community, addresses the bugfixes and integrates new features upon request. Most of Xiaomi devices are regularly patched with monthly security updates. The flagship "Mi" series like Mi3, Mi4, Mi5 receive quicker Android version updates than their budget "Redmi" series like Redmi 2, Redmi 3, Note 2, Note 3 etc.
TYPES OF MIUI ROM​
There are 2 development branches of official MIUI ROMs for all Xiaomi devices.
A) Stable Branch aka Stable Builds
- It is updated on a monthly basis or longer
- New features are added slowly after testing
- Higher system stability and less bugs than Beta ROMs
- It has a four digit numbering scheme (X.X.X.X)
- For eg. 8.X.X.X is MIUI8 Stable ROM
- Stable ROMs come in 2 variants
1. MIUI China Stable ROM
- This ROM is pre-installed on all Xiaomi devices sold in China
- It is made for the Chinese market & contains Chinese MIUI apps
- Google Apps are absent. You can install them manually or by using ADB
- It supports Chinese & English language
2. MIUI Global Stable ROM
- This ROM is pre-installed on all Xiaomi devices sold outside China
- It is made for the International market & contains English MIUI apps
- Google apps are pre-installed by default
- It supports 50+ languages
B) Beta Branch aka Developer Builds
- It is updated on a weekly/bi-weekly basis or longer
- New features are added quickly for testing
- Lower system stability and more bugs than Stable ROMs
- It has a three digit numbering scheme (X.X.X)
- For eg. 6.11.21 is MIUI8 Beta ROM for 21th Nov, 2016
- This ROM is not pre-installed on any Xiaomi device.
- You have to install Beta ROM over Stable ROM manually.
- Beta/Developer ROMs come in 2 variants
1. MIUI China Beta/Developer ROM
- It is made for the Chinese market & contains Chinese MIUI apps
- Google Apps are absent. You can install them manually or by using ADB
- It supports Chinese & English language
2. MIUI Global Beta/Developer ROM
- It is made for the International market & contains English MIUI apps
- Google apps are pre-installed by default
- Supports more than 50+ languages
Vendor aka Unofficial MIUI ROM
- Official MIUI ROM is found on Xiaomi devices that are bought from official channels
- Official channels include Xiaomi stores, flipkart.com, amazon.com etc.
- Vendor/Unofficial MIUI ROM is typically found on Xiaomi devices that are bought from unofficial channels/third-party resellers
- Unofficial channels include geekbuying.com, gearbest.com, banggood.com, ebay.com etc.
- Resellers take any of the official MIUI ROMs and modify it by injecting malwares, adwares, promotional apps etc.
- Vendor ROM may or may not contain Chinese MIUI Apps or Google Apps
- The Vendor ROM is then flashed by the reseller via EDL mode using MiFlash Tool, which bypasses LOCKED bootloader status
- Vendor ROMs can be identified by their odd 5 digit numbering scheme (X.X.X.X.X) eg. MIUI8 8.0.1.1.0, MIUI7 7.9.8.8.0
- You can identify a vendor ROM by comparing its version with official MIUI version here : http://en.miui.com/download.html
- Due to stability & security reasons, such ROMs should not be used and should be changed immediately.
- You should flash official MIUI ROMs using MiFlash Tool via EDL mode.
TWRP​
TWRP stands for Team Win Recovery Project. It is a custom recovery used to flash ROMs, kernels & scripts, take full system backups, restore backups etc. There are multiple versions of TWRPs for the Redmi Note 3 Snapdragon (kenzo). Many new users are confused as to which version of TWRP to flash after UNLOCKING the BOOTLOADER OFFICIALLY.
Thanks to Xiaomi for the multiple hardware revisions, outdated kernel sources & the tiresome process of unlocking the bootloader, this device has become even more complicated for the developers as well as for the end users. Hopefully Xiaomi updates the kernel sources as soon as possible. This will result in a streamlined and unified environment for the developers while compiling ROMs and for the user for a better end user experience.
TYPES OF TWRP​
1. Official TWRP : https://dl.twrp.me/kenzo/
- The base version of TWRP 3.0.2-2
- It is the stock version with no modifications done to it
- Used to flash flash ROMs, kernels & scripts, take full system backups, restore backups etc.
2. F2FS TWRP
Nougat : http://forum.xda-developers.com/showpost.php?p=70148939&postcount=3710
Marshmallow : http://forum.xda-developers.com/showpost.php?p=68023154&postcount=2
- Based on official TWRP 3.0.2-2
- Adds support for F2FS based file systems
- Specifically made for official CyanogenMod ROMs
- Compiled with Android 6.x & Android 7.1 branch respectively.
- Users can convert their /data & /cache partitions from EXT4 to F2FS for better performance (Optional)
3. Unofficial TWRP : http://forum.xda-developers.com/redmi-note-3/development/recovery-twrp-3-0-2-0-t3446909
- Based on official TWRP 3.0.2-2
- Up-to-date with Android 6.0 & Android 7.0 branch
- Adds support for F2FS based file systems
- Users can convert their /data & /cache partitions from EXT4 to F2FS for better performance (Optional)
- Can backup all partitions of the device
- Permissive SELinux
4. ZCX TWRP : http://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
- Updated to Android 7.1 TWRP source
- SuperSU updated to v2.76
- Fixes "0MB Storage", "Unable to mount /" errors
- Adds support for Android 6.0 /data partition decryption
- Can be used to flash incremental OTA updates on MIUI rooted ROMs
5. Cofface TWRP : http://forum.xda-developers.com/redmi-note-3/development/recovery-kenzotwrp-cafface-3-0-0-t3369341
- Based on official TWRP 3.0.0-0
- Patches boot.img automatically (Removes dm-verity flag)
6. Safe TWRP v2 : http://forum.xda-developers.com/redmi-note-3/how-to/modified-twrp-deleting-emmcappsboot-t3371667
- Based on Cofface TWRP 3.0.0-0
- Patches boot.img automatically (Removes dm-verity flag)
- Specifically compiled for users who UNLOCKED the BOOTLOADER using UNOFFICIAL method.
- Prevents hardbrick while flashing MIUI Recovery ROM Zip or incremental OTA Zip
7. Alka TWRP : http://en.miui.com/thread-282773-1-1.html
- Based on Cofface TWRP 3.0.0-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
- Can backup all partitions of the device
TWRP FLASHABLE ZIPS​- These zips are meant to be flashed with TWRP with a specific order.
- Before flashing any zip make sure you have taken full backup of your device partitions using TWRP.
- Steps for full backup are mentioned in the next section.
PATCHES
1. Universal Boot Image Patcher : http://forum.xda-developers.com/redmi-note-3/how-to/modified-twrp-deleting-emmcappsboot-t3371667
- This zip patches the boot.img i.e. it disables "dm-verity" (Lollipop Only)
- Use this zip if you are having official TWRP, F2FS TWRP, Unofficial TWRP installed.
- All other TWRPs automatically patch the boot.img so no need to use this zip.
- This zip has to be flashed immediately after flashing MIUI Lollipop Recovery ROM else your ROM wont boot.
2. Lazy Flasher : https://drive.google.com/file/d/0ByWEieei-0nyMTR4R0dxWk9BTms/view
- This zip patches the boot.img i.e. it disables "dm-verity" and disables forced encryption (Marshmallow Only)
- Use this zip if you are having Official TWRP, F2FS TWRP, Unofficial TWRP, Cofface TWRP, Safe TWRP v2 installed.
- If you are using ZCX, Alka TWRP no need to use this zip
- This zip has to be flashed immediately after flashing MIUI Marshmallow Recovery ROM else your ROM wont boot.
3. VoLTE Patch : http://forum.xda-developers.com/redmi-note-3/development/volte-patches-nougat-based-cm-roms-t3509257
- This zip is to be flashed on specific Android 7.x Nougat based ROMs
- It enables VoLTE support by flashing modem partitions
4. RR 5.8.0 Fingerprint Fix : http://forum.xda-developers.com/redmi-note-3/how-to/guide-how-to-enable-goodix-fingerprint-t3507979
- This zip is to be flashed on Resurrection Remix 5.8.0
- This zip enables fingerprint sensor support for models having Goodix FP sensor
5. CM13 Front Camera Fix : http://forum.xda-developers.com/redmi-note-3/how-to/fix-camera-fix-official-cm13-builds-t3454893
- This zip is to be flashed if your front camera doesnt work on CM13 ROM
- This zip fixes "Could not connect to camera" issues.
6. CM13 Security & Radios Fix : https://drive.google.com/file/d/0B2CgYqnPbCh_RnJDaHJtdEFYRGM
- This zip is to be flashed after booting into system after flashing CM13 ROM
- This zip fixes the SIM issues and the force close in Security setting
FIRMWARES
1. Multi-ROM Firmware : http://forum.xda-developers.com/redmi-note-3/development/rom-multirom-firmwares-t3519420
- This zip enables us to boot multiple ROMs on the device simultaneously
- It flashes bootloader and other partitions
- This zip locks the bootloader
2. TheStrix's CM13 Firmware : http://forum.xda-developers.com/showpost.php?p=68023154&postcount=2
- This is the firmware that CyanogenMod 13 supports. Upgrades it from LP to MM firmware.
- This zip has to be flashed before flashing CM13 ROM else fingerprint & other sensors might not work.
- This zip does not lock the bootloader
3. TheStrix's CM14 Firmware : http://forum.xda-developers.com/showpost.php?p=68671310&postcount=2
- This is the firmware that CyanogenMod 14.1 supports.
- This zip has to be flashed before flashing CM14.1 ROM else fingerprint & other sensors might not work
- This zip locks the bootloader. Flash this one if you dont want BL Lock : https://drive.google.com/file/d/0BzDVQwVyIvEbTUZCR3lkSmR6X1E/
4. Android N Firmware : http://forum.xda-developers.com/redmi-note-3/how-to/cm14-14-1-aosp-n-firmware-kenzo-kate-t3507789
- This zip upgrades your firmware to support 7.x Nougat ROMs
- This zip should be flashed before flashing any Android 7.x Nougat ROM
- This zip does not lock the bootloader
ADD-ONS
1. Xposed Framwork : http://forum.xda-developers.com/redmi-note-3/how-to/guide-installing-xposed-framework-roms-t3416123
- Before installing any zip, perform a full backup.
- Official release is for AOSP / CM based ROMs
- Unofficial release is for MIUI ROMs
FULL PARTITION BACKUP​Before proceeding towards Flashing ROMs make sure you have backed up all the partitions on your device. Incase anything goes wrong, you can always restore the backup.
Requirements:
- Windows 7 / 8 / 8.1 / 10 PC
- Unofficial TWRP / Alka TWRP / ZCX TWRP
- Running on official MIUI7 / MIUI8 Stable ROM
- BOOTLOADER UNLOCKED Using OFFICIAL method from here : http://en.miui.com/thread-202290-1-1.html
- Minimal ADB+Fastboot drivers : http://forum.xda-developers.com/showthread.php?t=2317790
1. Installing drivers & initial setup
- On your PC, go to "Folder Options" and de-select "Hide file extensions for known file types"
- Install Minimal ADB+Fastboot drivers & restart your PC
- Make sure your phone's battery level is above 75%. Switch off your phone
- Copy the desired TWRP image file inside the Minimal Fastboot directory (C:\Program Files)
- Rename the TWRP as "twrp.img" Make sure the filename isnt "twrp.img.img"
- Hold "Power Button" & "Volume Down" button together & release both of them after "Fastboot" appears
- Connect the device to PC using USB cable
2. Flashing TWRP
- On your PC, go inside Minimal Fastboot folder directory. Hold shift and right click inside the folder
- Select "Open command window here" and type "fastboot devices" inside the command window.
- If everything goes right, your device should be recognized as "<serial number> <fastboot>"
- Type "fastboot flash recovery twrp.img" & press Enter. This will flash the TWRP in the recovery partition.
- Type "fastboot boot twrp.img" & press Enter. This will boot the phone in TWRP.
- If the language is in Chinese, select the right box, & select English.
- Uncheck "Keep System Read-Only" & Swipe to allow modifications.
3. Backup All Partitions
- Select "Backup" Option & select "Storage location" to external MicroSD card
- Select each & every partition & swipe to backup.
- After backing up, reboot to system.
- For additional saftey, copy the backup from MicroSD card to PC.
4. Flash Recommended TWRP
- After backup is complete you should switch to ZCX TWRP for best results
- Select "Install" Option & select "Flash Image" option
- Select Official TWRP / ZCX TWRP and swipe to flash
- After flashing go back, select "Reboot" and then select "Reboot to Recovery"
FLASHING MIUI/CM/AOSP ROM USING TWRP​Requirements:
- BOOOTLOADER : UNLOCKED Using OFFICIAL METHOD
- BACKUP : Full partitions backup
- TWRP : Use ZCX TWRP for best results
1. Rooting MIUI7/8 Lollipop ROM
- Boot To TWRP
- Flash Universal Boot Img Patcher Zip (Flash if using Official TWRP, else skip step)
- Reboot to System
- Boot to TWRP
- Backup Current ROM
- Flash SuperSU Zip v2.78
- Reboot To System
2. Rooting MIUI7/8 Marshmallow ROM
- Boot To TWRP
- Flash Lazy Flasher Zip (Skip step if using ZCX TWRP)
- Reboot to System
- Boot to TWRP
- Backup Current ROM
- Flash SuperSU Zip v2.78
- Reboot To System
3. Flashing MIUI7/8 Lollipop Recovery ROM
- Boot To TWRP
- Backup Current ROM
- Factory Reset
- Flash ROM Zip
- Flash Universal Boot Img Patcher Zip (Flash if using Official TWRP, else skip step)
- Reboot To System
3. Flashing MIUI7/8 Marshmallow Recovery ROM
- Boot To TWRP
- Backup Current ROM
- Factory Reset
- Flash ROM Zip
- Flash Lazy Flasher Zip (Skip if Using ZCX TWRP)
- Reboot To System
4. Flashing MIUI7/8 Xiaomi.EU ROM
- Boot To TWRP
- Backup Current ROM
- Factory Reset
- Flash ROM Zip
- Reboot To System
5. Flashing Official CM13 ROM
- Boot To TWRP
- Backup Current ROM
- Flash CM13 Firmware Zip
- Reboot to Recovery
- Factory Reset
- Flash ROM Zip
- Flash G-Apps 6.0 Zip
- Reboot To System
6. Flashing Official CM14.1 ROM
- Boot To TWRP
- Backup Current ROM
- Flash CM14 Firmware Zip
- Reboot to Recovery
- Factory Reset
- Flash ROM Zip
- Flash G-Apps 7.1 Zip
- Reboot To System
7. Flashing AOSP 7.x Nougat ROMs
- Boot To TWRP
- Backup Current ROM
- Flash Android N Firmware Zip
- Reboot to Recovery
- Factory Reset
- Flash ROM Zip
- Flash G-Apps 7.0/7.1 Zip
- Reboot To System
FLASHING MIUI ROM USING MIUI UPDATER APP​- This method does not require PC for flashing.
- We use the updater app present on the MIUI ROM itself to flash recovery ROM zip.
- Recovery ROM format : MIUI_DEVICENAME_MIUIVERSION_KEY_ANDROIDVERSION.ZIP
- Example : miui_HMNote3ProGlobal_V8.1.1.0.MHOMIDI_8e5f6f8e03_6.0.zip
Requirements:
- BOOTLOADER : LOCKED / UNLOCKED
- Recovery ROM : MIUI7/8 Stable/Beta : http://en.miui.com/download-301.html
- Stock : System, Boot Image, Recovery
- System : Unrooted
1. Flashing newer Global Stable version from older Global Stable version
i.e. MIUI 8.1.1.0 > MIUI 8.1.4.0
- All data will be preserved in this process, nothing will be wiped.
- Place the ROM zip inside internal storage
- Make sure battery level is above 75%
- Turn on WiFi / Cellular Data
- Open Updater App, select "Choose Update Package"
- Choose the ROM zip & select "Reboot and update"
- The update will take from 5-30 mins to install depending on the size
2. Flashing MIUI Global Beta version from Global Stable version
i.e. MIUI 8.1.1.0 > MIUI 6.12.15
- This process will wipe everything from your device, so take backup before proceeding.
- Place the ROM zip inside internal storage
- Make sure battery level is above 75%
- Turn on WiFi / Cellular Data
- Open Updater App, select "Choose Update Package"
- Choose the ROM zip & select "Reboot and update"
- The update will take from 5-30 mins to install depending on the size
3. Flashing newer MIUI Global Beta version from older Global Beta version
i.e. MIUI 6.12.9 > MIUI 6.12.15
- All data will be preserved in this process, nothing will be wiped.
- Place the ROM zip inside internal storage
- Make sure battery level is above 75%
- Turn on WiFi / Cellular Data
- Open Updater App, select "Choose Update Package"
- Choose the ROM zip & select "Reboot and update"
- The update will take from 5-30 mins to install depending on the size
4. Flashing Global Stable version from Global Beta Version
i.e. MIUI 6.12.15 > MIUI 8.1.1.0
- Unfortunately you cannot flash it using Updater-app
- You will have to use MiFlash Tool to flash fastboot ROM package
- This process will wipe everything from your device, so take backup before proceeding.
- Check out Section #3 for fastboot ROM package flashing using PC
RESTORING MIUI FIRMWARE (WIP)​
- We can restore to Stock MIUI firmware from a custom ROM or softbrick by flashing a fastboot ROM using MiFlash Tool
- This method flashes all partitions using stock images. Your entire phone will be restored to factory state.
- Fastboot ROM Format : CODENAME_IMAGES_MIUI-VERSION_BUILD-DATE_ANDROID-VERSION_REGION_KEY.tgz
- Example : kenzo_images_6.12.15_20161215.0000.00_6.0_cn_7f97e1f7a9.tgz
- There are 2 ways for flashing fastboot ROM
1. EDL : Emergency Download Mode (Qualcomm Only)
- It is low-level mode used for recovering the device when phone cannot boot into system, recovery and fastboot mode
- This mode can be used on LOCKED as well as on UNLOCKED bootloaders
- We can boot into EDL mode using ADB commands, Fastboot2EDL Method, Manual Method or Deep Flash Cable
- When your phone boots into EDL mode, the screen turns blank & LED light flashes continuously
- To exit EDL mode, hold the power button for 8-10 seconds till the device restarts
2. Fastboot
- Fastboot Mode is used to UNLOCK bootloader, flash images onto the partitions, recover the device when phone cannot boot into system, recovery mode.
- This mode can only be used on UNLOCKED bootloaders.
- We can boot into Fastboot mode using ADB commands or by using Manual Method.
- When your phone boots into Fastboot mode, the screen will show "Fastboot" text and "Mi Bunny" image.
- To exit Fastboot mode, hold the power button for 8-10 seconds till the device restarts or by typing "fastboot reboot" inside command window.
Requirements:
- PC : Windows 7 / 8 / 8.1 / 10
- Mi PC Suite : http://pcsuite.mi.com/
- Mi Flash Tool
Beta : https://drive.google.com/file/d/0B9wtW2KGOf0RRS1lZGgybVVnbms/view
01/04/16 : https://drive.google.com/file/d/0B9wtW2KGOf0RaERVZXFtaGxfZ2s/view?usp=drive_web
28/10/15 : http://bigota.d.miui.com/tools/MiPhone20151028.exe
1. Flashing Fastboot ROM using Emergency Download Mode (EDL)
2. Flashing Fastboot ROM using Fastboot Mode
WORK IN PROGRESS
_____________________________________
SUMMARY​
1. OFFICIAL UNLOCKED BOOTLOADERS users should use
Official TWRP
- If they plan on staying only on custom ROMs like CM14.1, AOSP
- Universal Boot Img Patcher / Lazy flasher needed after flashing MIUI ROMs
ZCX TWRP
- If they switch between MIUI & CM / AOSP ROMs
- Universal Boot Img Patcher / Lazy Flasher not needed after flashing MIUI ROMs
2. Just got a brand new Redmi Note 3 and wish to flash TWRP or a custom ROM?
STEP 1 : Verification
- Check the model : kenzo, kate, hennessy
- If kenzo, then proceed
- Verify if the installed ROM on your device is official MIUI ROM
- If NO, flash official MIUI ROM using MiFlash tool on PC via EDL mode
STEP 2 : Unlock Bootloader
- Apply for bootloader unlock
- Backup everything from internal storage, SMS, contacts etc.
- Unlock bootloader
STEP 3 : Flash TWRP
- Flash ZCX TWRP using fastboot mode using PC
- Backup all partitions using TWRP
STEP 4 : Flashing Custom ROM
- Factory Reset using TWRP
- Flash required files needed for the custom ROM
- Flash custom ROM zip
- Flash Google Apps zip
- Reboot to System
3. Follow the guides for recovering your device in case of softbrick/hardbrick, IMEI/EFS corrupt etc.
- Video Guide : Bootloader Unlock, Root, TWRP, Restore, Unbrick & ROMs : http://forum.xda-developers.com/redmi-note-3/how-to/video-redmi-note-3-bootloader-unlock-t3407003
- Flash/Unbrick On Locked/Unlocked Bootloader : http://en.miui.com/thread-235865-1-1.html
- Flash/Unbrick From HS USB 900E Mode : http://forum.xda-developers.com/redmi-note-3/how-to/unbricking-redmi-note3-hardbrickhs-usb-t3351325
- IMEI/EFS Repair : http://forum.xda-developers.com/redmi-note-3/how-to/flash-recover-efs-snapdragon-t3406789
CREDITS
TWRPs
Vibhor : Official TWRP
TheStrix : F2FS TWRP, CM Firmware
dadi11 : Unofficial TWRP
BY~XM : ZCZ TWRP
Cofface????? : Cofface TWRP
Rajdip : Safe TWRP v2
Alka121209 : Alka TWRP
PATCHES
Rajdip : Universal Boot Image Patcher
jcadduono : Lazy Flasher
Sudeep Duhoon : VoLTE Patch
*Moon- : RR 5.8.0 Fingerprint Fix
tank0412 : CM13 Front Camera Fix
banmeifyouwant : CM13 Radios & Security Fix
FIRMWARE
wmaster4g : Multi ROM Firmware
TheStrix : CM Firmware
Psy_Man : Android N Firmware
GUIDES
Tomsgt : Video Tutorial
Rajdip : Unbrick Guide
Muz_paray : Unbrick Guide
Archit9169 : IMEI/EFS Repair Guide
​
why after flashing alka recovery, we should again flash cofface? is alka recovery used for backup only? can we flash roms with alka recovery?
white FANNg said:
why after flashing alka recovery, we should again flash cofface? is alka recovery used for backup only? can we flash roms with alka recovery?
Click to expand...
Click to collapse
For official users you can flash other ROMs with Alka TWRP as well.
For unofficial users you must flash Safe TWRP v2 after Alka to avoid hardbrick if you flash MIUI ROM.
I am running now stocl global rom with officialy unlocked bootloader.
How can I flash Alka recovery to backup and install cm13? just use adb flash recovery?
Thanks for the initiative, can you explain more about the partitions.
What if one doesn't have all the partitions backed up and flashed custom rom ( CM 13)?
Also please include the current version of TWRP for respective recoveries.
nonyhaha said:
I am running now stocl global rom with officialy unlocked bootloader.
How can I flash Alka recovery to backup and install cm13? just use adb flash recovery?
Click to expand...
Click to collapse
fastboot flash recovery alkatwrp.img
mnsk said:
Thanks for the initiative, can you explain more about the partitions.
What if one doesn't have all the partitions backed up and flashed custom rom ( CM 13)?
Click to expand...
Click to collapse
Santhosh's CM13 zip based on M firmware has M boot loader. After flashing the zip your bootloader gets locked & gets updated to M boot loader.
So if you want to revert back to MIUI based on Lollipop you need to take backup of each & every partition using Alka TWRP, other TWRP wont work.
This restores the phone back to L boot loader & preserves IMEI.
All the links are updated to the latest versions of respective TWRPs.
SharkcpN said:
All the links are updated to the latest versions of respective TWRPs.
Click to expand...
Click to collapse
Can you also include them in the OP like official is on 3.0.2, alka on 3.0. Will be easier to keep track.
I think for officially unlocked bootloader the official TWRP should be used. You can flash the universal boot image patcher as a secondary ZIP if needed, and you can back up EFS with it
Hey all, I have successfully unlocked unofficially and flashed a alka via fastboot but I can't boot into recovery.
If I do adb reboot recovery it goes to a screen with a picture of my device which I assume is the stock recovery. If I reboot with Vol Up and Power I get the same thing. Any ideas? Thanks!
EDIT: I flashed "Safe TWRP v2" then Alka and it worked! Thanks OP
Nice information.
So the alka version is the best for official. Just want to know more:
1. Is that mean that backup/restore feature of cofface not backup all partitions?
2. Are there any differences between cofface and alka beside backup feature? Both seem not built from latest official twrp.
3. How about flashing (not restoring) other Rom from Santosh M Rom?
Thanks.
Sent from my Redmi Note 3 using Tapatalk
I installed alka version and it is in chinese, I am trying desperately to find a way to switch language, but all the guides online point to twrp theme manager, which does not work. any guide to change language from within twrp?
I flashed Cofface twrp also and the language is still in Chinese. there is no way to add some files somewhere to change the freakin' language?
Grantius said:
I think for officially unlocked bootloader the official TWRP should be used. You can flash the universal boot image patcher as a secondary ZIP if needed, and you can back up EFS with it
Click to expand...
Click to collapse
Yes you can use it too
Doublewise said:
Nice information. So the alka version is the best for official. Just want to know more:
1. Is that mean that backup/restore feature of cofface not backup all partitions?
2. Are there any differences between cofface and alka beside backup feature? Both seem not built from latest official twrp.
3. How about flashing (not restoring) other Rom from Santosh M Rom?
Click to expand...
Click to collapse
1. Yes, only Alka TWRP is capable of backing up & restoring all partitions including bootloader.
2. Alka TWRP backs up EFS (IMEI) partition as well, Cofface dosent. Rest all features are same.
3. For official unlocked users : You can flash any ROM using Alka TWRP.
Unofficial unlocked users : You must flash Safe TWRP v2 before flashing any ROM else it will lead to hardbricking.
nonyhaha said:
I installed alka version and it is in chinese, I am trying desperately to find a way to switch language, but all the guides online point to twrp theme manager, which does not work. any guide to change language from within twrp?
I flashed Cofface twrp also and the language is still in Chinese. there is no way to add some files somewhere to change the freakin' language?
Click to expand...
Click to collapse
Re-flash Alka / Cofface TWRP, you will be greeted by a chinese text. Click on the box on the right, select English & tick mark the box above slider & swipe it.
SharkcpN said:
Yes you can use it too
1. Yes, only Alka TWRP is capable of backing up & restoring all partitions including bootloader.
2. Alka TWRP backs up EFS (IMEI) partition as well, Cofface dosent. Rest all features are same.
3. For official unlocked users : You can flash any ROM using Alka TWRP.
Unofficial unlocked users : You must flash Safe TWRP v2 before flashing any ROM else it will lead to hardbricking.
Re-flash Alka / Cofface TWRP, you will be greeted by a chinese text. Click on the box on the right, select English & tick mark the box above slider & swipe it.
Click to expand...
Click to collapse
Alka and coface give an error, can't find en.xml in the zip.
nonyhaha said:
Alka and coface give an error, can't find en.xml in the zip.
Click to expand...
Click to collapse
Go to TWRP folder in the internal storage where you have installed Themes folder, delete the entire folder.
....i lost the L boot loader...
...good afternoon...
...i flashed shantosh's rom without taking backup...
...so, i lost the stock L bootloader...
...now i see the M bootloader with cyanogenmod logo...
...it's not a problem since i flashed a lot of cm based roms, and some miui roms also, with this M bootloader...
...but i want the official bunny bootloader back...
...how can i restore it back ?
...flashing with mi flash tool maby ??
Thanks for this post cos this finally clears up my confusions.... And well I suppose Cofface is good because rooting after updates is easy....But just one question....Exactly how do I install OTAs? It seems I cant install the small 150mb ota files so I have to install the fastboot rom...But do I have to wipe system before that? Because I tried flashing 7.3.6.0 update (fastboot rom 1.1gb) without wiping system and its still showing me on 7.3.5.0.... So what exactly is the method before applying OTAs?
anshulratchet said:
Thanks for this post cos this finally clears up my confusions.... And well I suppose Cofface is good because rooting after updates is easy....But just one question....Exactly how do I install OTAs? It seems I cant install the small 150mb ota files so I have to install the fastboot rom...But do I have to wipe system before that? Because I tried flashing 7.3.6.0 update (fastboot rom 1.1gb) without wiping system and its still showing me on 7.3.5.0.... So what exactly is the method before applying OTAs?
Click to expand...
Click to collapse
You need to use recovery ROM, not fast boot.
And how to move from unofficially unlocked bootloader to official unlocking?

[GUIDE][ProjectTreble]Create a vendor partition for cancro to flash a PT GSI IMAGE

Create a vendor partition for cancro to flash a PT GSI IMAGE
This guide only suitable for MI4LTE and MI3W.
MI3TD don‘t support this method and ROM.
First we must thanks to the MkfsSion for his PT works on our MI4LTE.
https://github.com/MkfsSion/android_device_xiaomi_cancro
And thanks to the cjybyjk for his automatic treblizer tools.
https://github.com/cjybyjk/cancro_treblizer
Warning: this operation is highly experimental and may result in a serious risk of irreversibility​
Method 1 With cjybyjk's cancro_treblizer.(Recommend this method now)
1.Let MI4LTE to fastboot mode.
We can press Volume - and Power button to let it into fastboot mode.
2.Let flash the TWRP which support ProjectTreble.
We can use the command [fastboot flash recovery x.img]
Recovery:https://drive.google.com/file/d/1Fc0SK_xYdmkFi5CzR4Vq8QLqQFQ1ikWk/view?usp=sharing
3.Let reboot into the TWRP and flash the cancro_treblizer.zip in TWRP and reboot into the TWRP again when finished.
https://drive.google.com/file/d/14EkMX9VKiC3kbELwtBkxmAYupCmCxPf5/view?usp=sharing
4.Mount the Cache System and Vendor partition and Wipe this 3 partitions.
5.Then we can flash the zip rom from the AFH below.
https://www.androidfilehost.com/?fid=11410932744536984188
6.If you flash the pie gsi arm rom and you must flash this omx-disable patch to fix the boot for pie.
https://drive.google.com/file/d/19TUZiX0vHxIlc9f_6wF2uySI8HcW7xqy/view?usp=sharing
7.Now you can use the nice ProjectTreble ROM on our MI4LTE!
Method 2 With 9008 mode and Diskgenius.(Not recommend now)
1.Let MI4LTE to fastboot mode.
We can press Volume - and Power button to let it into fastboot mode.
2.Let MI4LTE to disk mode(9008 mode).
Open the "磁盘模式工具.rar" ,Unzip it and double click the "清除fastboot进磁盘操作.bat" when MI4LTE go to black screen it was succeeded into disk mode.
Disk Mode Tools:https://drive.google.com/file/d/12uFsjwB_t_XzBWz0aeVJue5zdPiPCc7c/view?usp=sharing
3.Download the DiskGenius Software from the website:
http://www.diskgenius.com/
4.Open the DiskGenius and you will find all the MI4LTE partition in it and we need to restore aboot partition.
aboot partition file:https://drive.google.com/file/d/1aYikwwQQdAsa_XM7cKqv2f49aYAMNybu/view?usp=sharing
5.Then we need to restore ProjectTreble partition table.(For 16GB Version Only)
ProjectTreble partition table file:https://drive.google.com/file/d/1Zg_htr9tSfUHqr04pdxlCyn_qANnwJlM/view?usp=sharing
6.Then we can reboot the MI4LTE into the fastboot mode again and flash the TWRP which support ProjectTreble.
We can use the command fastboot flash recovery x.img
Recovery:https://drive.google.com/file/d/1Y-67W1MfMchny6ljCxKpU1_vq-PdLkpV/view?usp=sharing
7.Press Volume + and Power button to go into the TWRP.
8.Mount the Cache System and Vendor partition and Wipe this 3 partitions.
9.Then we can flash the zip rom from the AFH below.
https://androidfilehost.com/?fid=3700668719832236822
10.Now you can use the nice ProjectTreble ROM on our MI4LTE!
Now our MI4LTE is not ARM64 device so we can only flash A-Only and ARM GSI IMAGE.
​
Update 2018-08-21
Phh have just released the Android 9.0 GSI IMAGE have include ARM and ARM64 so our cancro can flash Android 9.0 GSI IMAGE for experience.
https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
Update 2018-10-20
Fix App FC
Fix OMX
Fix GPS
Noteie PT GSI may need extra patch when you flash the pie gsi image with this pt package.
Cancro Rom Group
Group rules:
1.English only.(You can use the translator to communicate.)
2.Respect developers and administrators.
3. Please do not send spam.
4. Do not send stickers continuously.
Channel: @cancrorom
CN Group: @cancrogroup
https://t.me/micancro
前排支持
Supported ahead.
wow nice treble for our cancro,
is internal storage formatted or not?
Thanks for new thread.
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.
Shiroyasha21 said:
wow nice treble for our cancro,
is internal storage formatted or not?
Click to expand...
Click to collapse
It's no problem to wipe internal storage but when you wipe this you must reboot into Recovery again to copy zip rom to internal storage.
Changed files to Google Driver instead of BaiduYun Disk.
Mi3 not supported(
酷安基佬前来支持:laugh:
酷安基佬来一波??
Sent from my Essential Products PH-1 using XDA Labs
酷安前来支持!
Come from Coolapk.
Supported ahead( 前排吃瓜)
Guy from Coolapk
请问恢复Treble分区那一步,具体是哪个分区?之前没弄Treble,网上搜了一下好像也没有Treble的包,那个GitHub项目好像并不是个可刷的包。抱歉不是太懂,不好意思
All of you, please use English.
Also please tell whether Mi 3 will be supported in future or not?
Thanks.
ptg251294 said:
All of you, please use English.
Also please tell whether Mi 3 will be supported in future or not?
Thanks.
Click to expand...
Click to collapse
Mi3 TD Pisces (old Tegra CPU phone) not supported.
Mi3 W Cancro I've tried a minutes ago, and removing aboot, repartitioning, install new trebled twrp, and install LOS completed successfully @gujiangjiang
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.
JulianJenner said:
Mi3 TD Pisces (old Tegra CPU phone) not supported.
Mi3 W Cancro I've tried a minutes ago, and removing aboot, repartitioning, install new trebled twrp, and install LOS completed successfully @gujiangjiang
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.
Click to expand...
Click to collapse
Thanks for your testing.
Have you guys only tried Lineage? Every GSI rom should work, right?
mdki1996 said:
Have you guys only tried Lineage? Every GSI rom should work, right?
Click to expand...
Click to collapse
I also tried AOSP GSI and works fine yet.
When you flashed PT successed and you can flash the all the GSI IMAGE by your self.
Now the Android P ProjectTreble image have not released yet so we can use aosp,aex,Los first to use now and wait the p image release by phh and if phh released the image for arm then we can easily flash it with PT.
Here are the rom lists for arm32 pt devices and you can try these pt rom now.
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://forum.xda-developers.com/pr...device-development/rom-aosp-extended-t3821934
https://forum.xda-developers.com/pr...evice-development/rom-carbonrom-noct-t3821947
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688
https://forum.xda-developers.com/pr...official-treble-enabled-resurrection-t3761279
https://drive.google.com/folderview?id=1SsPuw3ZtTvoslJyqwSJsmDQ42qvJvYVN
Here is the guide to teach how to flash gsi image with pt support.
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
NOTE:
PLEASE FLASH ARM OR ARM32 GSI IMAGE NOT ARM64.
gujiangjiang said:
I also tried AOSP GSI and works fine yet.
When you flashed PT successed and you can flash the all the GSI IMAGE by your self.
Now the Android P ProjectTreble image have not released yet so we can use aosp,aex,Los first to use now and wait the p image release by phh and if phh released the image for arm then we can easily flash it with PT.
Here are the rom lists for arm32 pt devices and you can try these pt rom now.
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://forum.xda-developers.com/pr...device-development/rom-aosp-extended-t3821934
https://forum.xda-developers.com/pr...evice-development/rom-carbonrom-noct-t3821947
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688
https://forum.xda-developers.com/pr...official-treble-enabled-resurrection-t3761279
https://drive.google.com/folderview?id=1SsPuw3ZtTvoslJyqwSJsmDQ42qvJvYVN
Here is the guide to teach how to flash gsi image with pt support.
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
NOTE:
PLEASE FLASH ARM OR ARM32 GSI IMAGE NOT ARM64.
Click to expand...
Click to collapse
i try other GSI image,Aospe extended,DU,Aosp 8.1, but doesn't boot.reboot phone going fastboot mode
Haggiskop said:
i try other GSI image,Aospe extended,DU,Aosp 8.1, but doesn't boot.reboot phone going fastboot mode
Click to expand...
Click to collapse
I tried without problem.
Please confirm you have flash the pt support.
Then please confirm you download the right arm GAO image and use image flash method flash it not zip rom.
从我的 iPhone 发送,使用 Tapatalk
gujiangjiang said:
I tried without problem.
Please confirm you have flash the pt support.
Then please confirm you download the right arm GAO image and use image flash method flash it not zip rom.
从我的 iPhone 发送,使用 Tapatalk
Click to expand...
Click to collapse
i flash with twrp and without twrp fastboot mode but doesnt boot.arm a only version.lineage 15.1 cancro.zip
work only.

[Fastboot ROM] Stock Android 10 v11.0.11.0 April

Stock Android 10 Fastboot Rom Project
How i made is using payload dumper to unpack payload.bin file inside recovery rom and editing flashing scripts to be usable for this unpacked files.
Requirements
ADB must be installed on PC (Click to ADB to download if you dont have it)
Unlocked Bootloader( fastboot flashing unlock + fastboot flashing unlock_critical )
Steps to install
> Unzip zip file into desktop and open the folder.
> Then run flash_all.bat file and it will install the new update and reboot to system automatically.
(Your files will not be erased if you already unlocked bootloader.)
Latest - v11.0.11.0 - Global - April Security Patch
Recommended Server : Quebec, Canada
DO NOT MIRROR THE DOWNLOAD LINKS BEFORE ASKING ME !
AndroidFileHost - v11.0.11.0 April Security Patch
AndroidFileHost - All Versions
If you want to lock your bootloader after installing it , you can use flash_all_lock.bat OR i prefer to lock it manually by doing this;
Run flash_all.bat and make sure phone boots after installing then open fastboot mode and type
fastboot flashing lock_critical
Then phone will restart automatically into recovery and wipe data.
After screen goes black hold power + volume down button (to open fastboot again) then type
fastboot flashing lock
And after booting you can disable OEM unlock from developer options if you want to.
XDA:DevDB Information
[Fastboot ROM] Android 10 Update , ROM for the Xiaomi Mi A3
Contributors
TechGenius
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Version Information
Status: Stable
Current Stable Version: 11.0.11.0
Stable Release Date: 2020-04-07
Created 2020-03-19
Last Updated 2020-04-07
XDA:DevDB Information
[Fastboot ROM] Stock Android 10, ROM for the Xiaomi Mi A3
Contributors
TechGenius
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Version Information
Status: Stable
Current Stable Version: 11.0.11.0
Stable Release Date: 2020-04-07
Created 2020-04-07
Last Updated 2020-04-07
@TechGenius
thanks man
i updated my phone via ota rom
would you please put boot.img of this rom , it does not exist in ota file !
really good job bro thanks again
Is this possible on build with Magisk without twrp
Thanks dude!
Would your script flash on both slots A & B?
i does not go further than sending modem_b.
what can i do?
C:\Users\MingBee\Downloads\laurel_sprout_global_images_V11.0.11.0.QFQMIXM_10.0>fastboot flash modem_b "C:\Users\MingBee\Downloads\laurel_sprout_global_images_V11.0.11.0.QFQMIXM_10.0\images\modem.img" ||
Sending 'modem_b' (114084 KB)
Click to expand...
Click to collapse
Hi! Does it would update 11.0.7.0 with root and TWRP, without losing the data?
Thank you!!
any one that downloaded this rom please upload boot.img
#MmdRza said:
any one that downloaded this rom please upload boot.img
Click to expand...
Click to collapse
https://forum.xda-developers.com/sho...&postcount=340
PS
@TechGenius thanks for making Fastboot ROM for April build. You are truly a genius.
moyses said:
Is this possible on build with Magisk without twrp
Click to expand...
Click to collapse
#MmdRza said:
any one that downloaded this rom please upload boot.img
Click to expand...
Click to collapse
Have a look at THIS POST, you'll find the original boot and the pre-rooted one
HERE is the how-to guide and a list of original boots.
fuqi said:
i does not go further than sending modem_b.
what can i do?
Click to expand...
Click to collapse
did you solved?
Just installed using a notebook with windows 10 64Bit (i had issue with 32bit laptop)
Everything is fine but still receive the notification of android 10 update to install
i used a .bit file from a different release and it worked.
no update nag for me.
hi , at first thanks for your work!
2nd question: anibody have issues installing twrp? i' m stuck on fastboot everytime i try to install it.
Same issue here.
phillow said:
Same issue here.
Click to expand...
Click to collapse
i try to install the patched boot image in the previous page for having root with magisk, give it a try :good:
Is this the one that got pulled off?
Therion8594 said:
i try to install the patched boot image in the previous page for having root with magisk, give it a try :good:
Click to expand...
Click to collapse
Have you tried it ? I flashed 11.0.11.0 fastboot A10 on girls Mi A3 .. and rooted it without TWRP using magisk 20.4 and im facing reboot to fastboot issue instead to recovery after trying any possible custom recovery there is for this phone..
Masleyko said:
Have you tried it ? I flashed 11.0.11.0 fastboot A10 on girls Mi A3 .. and rooted it without TWRP using magisk 20.4 and im facing reboot to fastboot issue instead to recovery after trying any possible custom recovery there is for this phone..
Click to expand...
Click to collapse
Yes i don't know why but every recovery i've tried It go go fastboot..flash the boot image in the previous Page and everything work .
Therion8594 said:
Yes i don't know why but every recovery i've tried It go go fastboot..flash the boot image in the previous Page and everything work .
Click to expand...
Click to collapse
Because the twrp .IMG file was built only for pie. For Android 10 you will have to use this https://mega.nz/file/1HRAWYKQ#V9OmPxSy3r06qmW8uGszSEBp4qOBJMbmvsaCow2mTJw
Once it is flashed you can use the standard twrp or orangefox or shrp recovery.zip if you want to keep a custom recovery installed
Credits again to @Sapper Morton for creating this Android 10 flashable image
garylawwd said:
Because the twrp .IMG file was built only for pie. For Android 10 you will have to use this https://mega.nz/file/1HRAWYKQ#V9OmPxSy3r06qmW8uGszSEBp4qOBJMbmvsaCow2mTJw
Once it is flashed you can use the standard twrp or orangefox or shrp recovery.zip if you want to keep a custom recovery installed
Credits again to @Sapper Morton for creating this Android 10 flashable image
Click to expand...
Click to collapse
Yes, i've already flashed but i come back to MIUI for the battery, thanks anyway :good:

A Guide To Install Android 10 (With Fixes) on Redmi 7a

Hello,
I know that ROM developement on redmi 7a has been extreemly slow, but we all know that redmi 7a is a treble enabled device and therefore we can install every android GSI as long as it is ARM32-BINDER64-AB, yes and i wouldn't explain it here you can read it over here here.
So i thought that i should give you guys a little guide on how to install GSIs and custom ROMs and yeah with volte fix too
NOTE - I AM NOT RESPNSIBLE IF YOUR DEVICE GETS BRICKED OR THERMONUCLEAR WAR TAKES PLACE, YOUR WARRANTY IS VOID FROM THIS STEP ON, I AM NOT RESPONSIBLE IF YOUR DEVICE GETS BRICKED MAKE SURE YOU HAVE MOVED YOUR DOWNLOADED ROMS AND GAPPS TO A PC OR A SD CARD I AM NOT RESPONSIBLE FOR ANYTHING
1] The very important first step is to unlock your bootloader.
2]The second step is to patch your boot image (if you want to root it with magisk)
3] Install the custom recovery of your choice
Download the TWRP file from here
you also can install TWRP forks like
PICTHBLACK RECOVERY PROJECT or PBRP from here
SHRP RECOVERY from here (i wouldn't recommend this one if you are flashing this for the first time)
If you have your device drivers installed but you dont have adb installed then please download this file and extract it to a suitable folder where your downloaded recovery is extracted and run cmd-here and follow these steps given below
Code:
fastboot devices
this will show you if your device is connected or not.
Code:
fastboot flash recovery (your recovery name.img)
Code:
fastboot reboot
you have to keep pressing you volume increase button to reboot to recovery
4] You have to wipe DATA first then, reboot to recovery and go to mount select system (if it's unchecked)
5] Go to WIPE -> ADVANCED WIPE -> Select SYSTEM - DALVIK CACHE - CACHE - INTERNAL STORAGE
6] The list for the available GSIs or ROMs is ----
1) LineageOS thanks to ExpressLuke (GSI) (You might have to downgrade your miui to be able to boot)
2) HavocOS thanks to Skulshady (GSI) (Boots just fine with any version of miui volte patch is needed)
3) Mokee thanks to GuaiYiHu (ROM) (No worries about anything)
4) AOSP Special thanks to Phhusson (GSI) (Boots just fine without any hiccups volte patch is needed)
5) CAOS by Erenmitein (GSI) (Not tested)
6) CrDroid By Erenmitein (GSI) (tested needs the bolte fix patch. please follow the steps given below)
7] Move your GSI img (extract the .xz file) the extension is going to be .img and will not visible in TWRP or it's forks unless you select the INSTALL IMAGE option in the FLASH section and GAPPs
8] Flash your GSI as a System Image
9] Reboot to recovery again and flash your GAPPS ignore if it says no OS installed when rebooting to recovery
10] The fix for VOLTE is here thanks to Khushraj Rathod
you just have to flash it from TWRP or its forks
11] The first reboot will take some time and voila your GSI has been installed (flashed).
12] For Mokee, personaly i love Mokee rom with its boot animation, you can just flash your zip through twrp with gapps.
Thanks @Faithof_Eden for your detailed instructions. So far I always failed with the already existing manuals of other authors.
One question: What if I don't want to root the device at all, neither with Magisk nor otherwise?
You wrote: "2]The second step is to patch your boot image (if you want to root it with magisk)"
Is it then necessary to carry out step number 2 at all?
kra_ppo said:
Thanks @Faithof_Eden for your detailed instructions. So far I always failed with the already existing manuals of other authors.
One question: What if I don't want to root the device at all, neither with Magisk nor otherwise?
You wrote: "2]The second step is to patch your boot image (if you want to root it with magisk)"
Is it then necessary to carry out step number 2 at all?
Click to expand...
Click to collapse
No.
A problem has occurred during flashing:
After I flashed the AOSP image (system-quack-arm32_binder64-ab-vanilla.img) using TWRP and want to restart the recovery to install GAPPS, the Redmi 7a goes directly into fastboot-mode.
No chance to get into TWRP with the Volume-up button.
Even reflashing Recovery does not help. I've done all wiping in TWRP as indicated.
Havoc (an Mokee - but I dont like it) was finally successfull, but only by formating Data and not to wipe internal Storage....
kra_ppo said:
A problem has occurred during flashing:
After I flashed the AOSP image (system-quack-arm32_binder64-ab-vanilla.img) using TWRP and want to restart the recovery to install GAPPS, the Redmi 7a goes directly into fastboot-mode.
No chance to get into TWRP with the Volume-up button.
Even reflashing Recovery does not help. I've done all wiping in TWRP as indicated.
Click to expand...
Click to collapse
Flash vbmeta
Moke os not working speaker áudio
---------- Post added at 09:27 PM ---------- Previous post was at 09:26 PM ----------
Moke os calls not work
how to get back to stock ROM ?
idcamper said:
Moke os not working speaker áudio
---------- Post added at 09:27 PM ---------- Previous post was at 09:26 PM ----------
Moke os calls not work
Click to expand...
Click to collapse
You flashed floor miui 10.0.2.5.?
can't i do this with twrp? Tutorial ?
Flammenschwert1337 said:
Flash vbmeta
Click to expand...
Click to collapse
Did you find solution?
lslayer4231 said:
Did you find solution?
Click to expand...
Click to collapse
Start with miui 10.0.2.5.
Then go on.
My phone bootloops to redmi logo and recovery after flashing, any help from this?
After installing latest havoc 3.7 gsi the call recording feature not working though normal sound recording works... Any fix?
Hey, guys!
Havoc OS GSI is selinux permissive or enforced?
Is it possible to go back to stock rom by doing a backup using twrp?
I'm sorry if I'm being dumb, but as you already noticed, I'm newbie.
MEMO#22 said:
My phone bootloops to redmi logo and recovery after flashing, any help from this?
Click to expand...
Click to collapse
Switch back to miui 10 global version and install twrp
Has anyone else got media playout over bluetooth OK and if so, which GSI or ROM and which base firmware, please? It does not work for me with AOSP on latest EU firmware. Only calls go to BT.

Stuck in fastboot after flashboot flash recovery twrp.img

Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
Xiaomi Mi 9T / Redmi K20
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.
Please help me fix that,
Thanks!!!
Shahaf said:
Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
Xiaomi Mi 9T / Redmi K20
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.
Please help me fix that,
Thanks!!!
Click to expand...
Click to collapse
OMG
You should first of all know your phone model
"Redmi 9T" reads as different name than "Mi 9T", isn't it?
Hence you MUST NEVER flash TWRP for Redmi K20/Mi 9T (guide clearly says it is for that phone, check the big picture in your post) to your Redmi 9T
oh damn, I can fix that somehow?
Shahaf said:
oh damn, I can fix that somehow?
Click to expand...
Click to collapse
Check on twrp.me is there TWRP for your Redmi 9T
Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP
For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
zgfg said:
Check on twrp.me is there TWRP for your Redmi 9T
Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP
For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
Click to expand...
Click to collapse
Thank you, I will check with them!
Shahaf said:
Thank you, I will check with them!
Click to expand...
Click to collapse
Here you can find firmwares for lime:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)
You could also use MiFlash tool to flash the whole firmware, but it must be not needed
zgfg said:
Here you can find firmwares for lime:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)
You could also use MiFlash tool to flash the whole firmware, but it must be not needed
Click to expand...
Click to collapse
It worked!!! now my device is working, now in order to root, which twrp should I use?
Shahaf said:
It worked!!! now my device is working, now in order to root, which twrp should I use?
Click to expand...
Click to collapse
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)
Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition
If anything goes wrong, flash back the stock boot img
Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?
Generally, use Magisk Stable v23 from TJW:
Magisk/README.MD at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
zgfg said:
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)
Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition
If anything goes wrong, flash back the stock boot img
Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?
Generally, use Magisk Stable v23 from TJW:
Magisk/README.MD at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
Click to expand...
Click to collapse
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img
it did ok on sending, but then failed on booting(unknown command), any fix for that?
Flash (not boot) a healthy un-patched stock "boot.img" that is signed with your ROM version to the device and see if that works.
Shahaf said:
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img
it did ok on sending, but then failed on booting(unknown command), any fix for that?
Click to expand...
Click to collapse
fastboot boot xxx.img boots one time to the xxx.img
For flashing (permanently) to boot you need to use:
fastboot flash boot xxx.img
Before flashing the 'stock' or patched boot img, pls double check: compare your firmware name in Settings / My device against the fastbboot/tgz package you downloaded and extracted the boot.img from
Recovery images might be the same for several firmwares, but boot.img is more critical. If extracted from the wrong firmware, it will not be your real stock boot.img and will not boot
You can use this app (now when your phone boots) to download and look for the proper firmware:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
Shahaf said:
It worked!!! now my device is working, now in order to root, which twrp should I use?
Click to expand...
Click to collapse
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
[TWRP][RECOVERY] List of relevant recovery in one place
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/ I have compiled a list of relevant recovery in one place, i think it will be useful. Updates are monitored each day. Welcome, friends! How to install TWRP https://xiaomi.eu/community/threads/installing-a-custom-recovery.67841/
xiaomi.eu
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img
I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)
The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash
That means if people recommend the TWRP as there, it nust be the right one
Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img
You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
zgfg said:
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
[TWRP][RECOVERY] List of relevant recovery in one place
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/ I have compiled a list of relevant recovery in one place, i think it will be useful. Updates are monitored each day. Welcome, friends! How to install TWRP https://xiaomi.eu/community/threads/installing-a-custom-recovery.67841/
xiaomi.eu
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img
I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)
The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash
That means if people recommend the TWRP as there, it nust be the right one
Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img
You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
Click to expand...
Click to collapse
it worked! thank you

Categories

Resources