[Guide] Easiest Way To GSI for Mi A2 - Xiaomi Mi A2 / 6X Guides, News, & Discussion

So i decided to make this thread after spending nearly 2 days trying to boot any gsi image into My Mi a2 xD
Requirments
1. Android Q dev 3 backup for mi a2 from here
2. DM-Verity & Forceencrypt Disabler from here
3. permissiver_v2.zip from here
Instructions
1. format both a and b completely ( Data , system , etc ) also format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
2. Restore the android q backup but only vendors and boot DONT RESTORE SYSTEM
3. install your gsi as system image
4. install. DM-Verity & Forceencrypt Disabler
5 . install permissiver_v2
6. format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
7. reboot system and enjoy
if there is an easier way or more suitable vendors feel free to share with us your experience
and i will add your experience to the thread
List Of tried GSI
1.MI A2
1.ColorOS AB Gsi ( Bugs : fingerprint scanner / face id )
2. Android Q Dev 3 (https://forum.xda-developers.com/mi-a2/how-to/guide-install-android-q-developer-t3930379)
3. Miui 10 Erfan Gsi
2. Mi 6x
bootlooping issues

Reserved

Hey, Thanks for making the guide. I followed your steps and I am facing a challenge. When i reach step 6 : I try to format data it fails. It says it is encrypted cannot format. Can you help me out please I have been dying to boot OOS on my MIA2.

godgotstoned said:
Hey, Thanks for making the guide. I followed your steps and I am facing a challenge. When i reach step 6 : I try to format data it fails. It says it is encrypted cannot format. Can you help me out please I have been dying to boot OOS on my MIA2.
Click to expand...
Click to collapse
i didn't face this problem but i could think of a solution that should work
1. get userdata.img from the original factory (Stock) mi a2 rom that you have on your device
2. i will assume that you have a platform tools folder with adb and fastboot , put the userdata.img there
3. boot to fastboot on your device
4. enter this command " fastboot flash userdata userdata.img "
5. boot to the recovery
6. format data using the option that lays next to advance option * the option that requires you to write yes * ( don't use normal format option as it will not work and will cause storage issues)
7. now reboot to the rom and hopefully it will work

Mohamed Sallah said:
i didn't face this problem but i could think of a solution that should work
1. get userdata.img from the original factory (Stock) mi a2 rom that you have on your device
2. i will assume that you have a platform tools folder with adb and fastboot , put the userdata.img there
3. boot to fastboot on your device
4. enter this command " fastboot flash userdata userdata.img "
5. boot to the recovery
6. format data using the option that lays next to advance option * the option that requires you to write yes * ( don't use normal format option as it will not work and will cause storage issues)
7. now reboot to the rom and hopefully it will work
Click to expand...
Click to collapse
After I reboot to recovery and try formatting it allows to format but I get stuck at boot animation.

godgotstoned said:
After I reboot to recovery and try formatting it allows to format but I get stuck at boot animation.
Click to expand...
Click to collapse
how long did you let your device boot for ? some roms may take too long to boot specially OEM
so it's always good to let your device run for 14 min to decide if it's a bootloop
if you done that and you pretty sure it's a bootloop
try flashing magisk it may fix the bootloop problem
if it doesn't
then try ColorOS gsi that i mentioned using the same methods if boots up then the problem is with your gsi and i can't help ( maybe try other boot img or vendors it's up to you at this point "
however
if it doesn't then you did something wrong following the guide and we could try to fix it

Mohamed Sallah said:
how long did you let your device boot for ? some roms may take too long to boot specially OEM
so it's always good to let your device run for 14 min to decide if it's a bootloop
if you done that and you pretty sure it's a bootloop
try flashing magisk it may fix the bootloop problem
if it doesn't
then try ColorOS gsi that i mentioned using the same methods if boots up then the problem is with your gsi and i can't help ( maybe try other boot img or vendors it's up to you at this point "
however
if it doesn't then you did something wrong following the guide and we could try to fix it
Click to expand...
Click to collapse
Hey man thanks for your response. I tried what you said. Color OS gsi is booting but something comes on Chinese language and it turns black.

Mohamed Sallah said:
So i decided to make this thread after spending nearly 2 days trying to boot any gsi image into My Mi a2 xD
Requirments
1. Android Q dev 3 backup for mi a2 from here
2. DM-Verity & Forceencrypt Disabler from here
3. permissiver_v2.zip from here
Instructions
1. format both a and b completely ( Data , system , etc ) also format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
2. Restore the android q backup but only vendors and boot DONT RESTORE SYSTEM
3. install your gsi as system image
4. install. DM-Verity & Forceencrypt Disabler
5 . install permissiver_v2
6. format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
7. reboot system and enjoy
if there is an easier way or more suitable vendors feel free to share with us your experience
and i will add your experience to the thread
List Of tried GSI
1.MI A2
1.ColorOS AB Gsi ( Bugs : fingerprint scanner / face id )
2. Android Q Dev 3 (https://forum.xda-developers.com/mi-a2/how-to/guide-install-android-q-developer-t3930379)
3. Miui 10 Erfan Gsi
2. Mi 6x
bootlooping issues
Click to expand...
Click to collapse
It's work with latest OneUI AB GSI ?

Hi,
i tried restoring the Q beta but my twrp doesnt show the backup file! should i unzip it & then copy paste it in my phone?

Mohamed Sallah said:
So i decided to make this thread after spending nearly 2 days trying to boot any gsi image into My Mi a2 xD
Requirments
1. Android Q dev 3 backup for mi a2 from here
2. DM-Verity & Forceencrypt Disabler from here
3. permissiver_v2.zip from here
Instructions
1. format both a and b completely ( Data , system , etc ) also format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
2. Restore the android q backup but only vendors and boot DONT RESTORE SYSTEM
3. install your gsi as system image
4. install. DM-Verity & Forceencrypt Disabler
5 . install permissiver_v2
6. format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
7. reboot system and enjoy
if there is an easier way or more suitable vendors feel free to share with us your experience
and i will add your experience to the thread
List Of tried GSI
1.MI A2
1.ColorOS AB Gsi ( Bugs : fingerprint scanner / face id )
2. Android Q Dev 3 (https://forum.xda-developers.com/mi-a2/how-to/guide-install-android-q-developer-t3930379)
3. Miui 10 Erfan Gsi
2. Mi 6x
bootlooping issues
Click to expand...
Click to collapse
i don't Understand step 3
how?

when i flash any gsi it ends up with not enough space on the system image partition to install the gsi.
tried with erfan's one ui gsi and color os gsi, still no luck

Tried with Color Os GSI and stuck on oppo loading screen. Format the data again but with same result.

How did you flash gsi without not enough storage problem??

Has anyone tried OOS on mi a2

alwathekahmed said:
How did you flash gsi without not enough storage problem??
Click to expand...
Click to collapse
Did you flash it as system image file? (not zip)

Yes I extracted the zip file and copied the result .IMG file (around 4gb) to the internal storage using my pc
Also when I checked the system partition size it was around 2950mb and the image was around 4gb soon... I really don't know what to do now ??:crying:

alwathekahmed said:
Yes I extracted the zip file and copied the result .IMG file (around 4gb) to the internal storage using my pc
Also when I checked the system partition size it was around 2950mb and the image was around 4gb soon... I really don't know what to do now :crying:
Click to expand...
Click to collapse
I dont know how to help you. I just flashed the image file through TWRP as system image
---------- Post added at 12:15 PM ---------- Previous post was at 12:12 PM ----------
Mohamed Sallah said:
So i decided to make this thread after spending nearly 2 days trying to boot any gsi image into My Mi a2 xD
Requirments
1. Android Q dev 3 backup for mi a2 from here
2. DM-Verity & Forceencrypt Disabler from here
3. permissiver_v2.zip from here
Instructions
1. format both a and b completely ( Data , system , etc ) also format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
2. Restore the android q backup but only vendors and boot DONT RESTORE SYSTEM
3. install your gsi as system image
4. install. DM-Verity & Forceencrypt Disabler
5 . install permissiver_v2
6. format data completely from twrp ( there is option which let you format data and userdata together next to advance option)
7. reboot system and enjoy
if there is an easier way or more suitable vendors feel free to share with us your experience
and i will add your experience to the thread
List Of tried GSI
1.MI A2
1.ColorOS AB Gsi ( Bugs : fingerprint scanner / face id )
2. Android Q Dev 3 (https://forum.xda-developers.com/mi-a2/how-to/guide-install-android-q-developer-t3930379)
3. Miui 10 Erfan Gsi
2. Mi 6x
bootlooping issues
Click to expand...
Click to collapse
Can you please tell me what recovery are you using? (what TWRP version)

Oh okay it's fine
Any other help here would be appreciated

Does MIA2 not support Android q gsi beta 4,5,6 ??

Android Indonesia said:
Does MIA2 not support Android q gsi beta 4,5,6 ??
Click to expand...
Click to collapse
Only 3 for now, 4 doesn't boot.

Related

[GUIDE] Dual Boot Patcher [STEP-BY-STEP]

NOTE: IF YOU DON'T WANT TO USE MAGISK THEN JUST FOLLOW STEPS FROM 1 to 7 WITHOUT STEP 6a
<strike>asd </strike>
A lot of Mi Max 2 users have problem with Dual Boot Patcher. You can pass installation step, but if you want to boot into secondary ROM the phone just vibrate and boot into recovery?
If your answer is "YES" then this guide is for you and it also contain how to get fully working Magisk (optionaly)
What is causing crash? It's encryption on internal storage.
What you have to do:
1) Boot into recovery
2) Make a backup of /system /data /boot on SD Card (it's important to make it on sd card!)
3) Wipe internal storage (it will erase all of your data including photos, music etc.)
4) Restore your backup and boot to your ROM
5) Install Dual Boot Patcher,go to ROM tab -> press 3 dots and press "Update ramdisk" and choose "Reboot now" It causes bootloop for some users and its only necessary for "App sharing" feature but it doesn't work properly on our device, so don't update RAMDISK and go to next step
6) Patch your ROM and install it as secondary on /system or on /data partition - it's your choice. I have MIUI and LOS installed on /system partition and it has still 1.7 GB of free space there
6a) Patch Magisk_v12.zip (see attachment) as a zip for secondary ROM and flash it
7) Select your secondary ROM in ROM list and reboot.
From now on everything what is below we will do on secondary ROM
8) Install Dual Boot Patcher.
9) Install magisk.apk (see attachment)
10) Open Magisk Manager
11) Go to Modules-> press "+" button -> search for Magisk_v15.3.zip -> hold your finger on it -> press "Open". Wait for installation end. Now press close button. Don't restart
12) Open Dual Boot Patcher -> confirm for change current kernel
13) Reboot and voila! You have fully working secondary ROM with Magisk!
English is not my native language. If there are any eye-bleeding language mistakes then send me PM with corrected text. Thanks!
reserved
so if i wanna install 3rd rom. i have to wipe internal again ?
phuocrose said:
so if i wanna install 3rd rom. i have to wipe internal again ?
Click to expand...
Click to collapse
No! It's just for decrypct internal storage. No need to wipe internal again
it worked and the 2nd rom booted correctly then i added magisk 15.3 and set kernel .. the next boot the phone boots to the primary rom and stuck at bootanimation
when checking from recovery it appears that data partition cant be read and twrp asks for password
i managed to format and restore a backup
but what exactly caused this ??
Hi, I tried to follow each step as described but after clicking 'reboot' in the dual boot patcher app it just reboots to TWRP and I can't boot into the os anymore..... Anyone having the same issue?
kalawy said:
it worked and the 2nd rom booted correctly then i added magisk 15.3 and set kernel .. the next boot the phone boots to the primary rom and stuck at bootanimation
when checking from recovery it appears that data partition cant be read and twrp asks for password
i managed to format and restore a backup
but what exactly caused this ??
Click to expand...
Click to collapse
Thread updated. Try to follow steps again. I have removed updating ramdisk step because it causes random bootloops
Benoît Lagasse said:
Hi, I tried to follow each step as described but after clicking 'reboot' in the dual boot patcher app it just reboots to TWRP and I can't boot into the os anymore..... Anyone having the same issue?
Click to expand...
Click to collapse
Dirty flash your current ROM and don't update ramdisk. Thread updated. If it boot then go to dual boot patcher and set kernel for your primary rom, if it asks
Unable to boot in primary os
Well thank you so much for this post
I followed all step carefully did same as written
Didn't keep miui as primary,
ISSUES
I went to Recovery fresh install of superior os
Did Backup , Wipe ,and restore now rebooted
Installed DBP Patch Miui 11 ROM and I thought that there's no enough storage in my system partition so flashed it in data slot )))
Switched to Miui 11 everything worked fine!
But I'm unable to boot in my primary superior os
FOA I were unable to switch ROM to superior then I updated kernel and ramdisk switched successfully but still
I can't boot to my primary superior os Everytime I reboot I boot into Miui 11 -
Using
Mi Max 2 (oxygen)

[MIUI 10][A2] Update Guide

Hello A2 users
If you convert your Mi A2 to Mi 6X (Android One to MIUI) the updater in MIUI by xiaomi.eu will install Xiaomi ARB (Anit Rollback protection) and you will stuck in MIUI if ARB is installed, for update MIUI without install ARB you need use TWRP and I already delete firmware-update folder for delete ARB from the MIUI update.
1 - Download TWRP.zip and the MIUI update
2 - Reboot your phone in fastboot and connect your phone at your PC
3 - Extract TWRP folder from TWRP.zip
4 - Launch Flash_TWRP.bat (It's will install TWRP and boot in TWRP)
5 - Put the MIUI update in your phone (MTP is already enabled)
6 - Go to wipe > Advanced wipe > select Dalvik's/ART cache and cache and swipe to wipe
7 - Go to Install and select the MIUI update and swipe to confirm to flash
8 - Reboot system and MIUI update is installed
Photo Guide for Install MIUI update in TWRP : https://photos.google.com/album/AF1QipNsuQZv1ZX0sahYwRWpPUEN77o0djhSkLPnKamp
Thanks to @Abdoubody for [MIUI 10][A2] Install Guide
Nice one dude. Can you also put a guide if someone like me from a Custom ROM with TWRP Recovery installed can flash MIUI on Mi A2 device thanks dude and more power!
Any news???
MaxImbrox said:
Any news???
Click to expand...
Click to collapse
Guide is done
Thanks dude!
i did the flashing correctly but now um stuck on boot loop, the device does not start and stuck on MI logo and reboots into TWRP every time.
Update : i have wiped the delvic, cash and data in TWRP to get rid of the boot loop and worked

want to install lineageos 16 but dont know of a/b partitions

i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.
iamranjodh said:
i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.
Click to expand...
Click to collapse
there you go
https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
1. Flash or update to lastest stock rom
2. Boot twrp (don't flash TWRP, just boot) from:
https://forum.xda-developers.com/mi-a1/development/treble-twrp-installer-treble-manager-t3793637
3. Wipe to factory
4. Install LOS16
5. Reboot to bootloader and boot TWRP again
6. Flash gapps and magisk if you need it
That's what I did and works like a charm but I prefer RR.
Cheers!
ccalixtro said:
1. Flash or update to lastest stock rom
2. Boot twrp (don't flash TWRP, just boot) from:
https://forum.xda-developers.com/mi-a1/development/treble-twrp-installer-treble-manager-t3793637
3. Wipe to factory
4. Install LOS16
5. Reboot to bootloader and boot TWRP again
6. Flash gapps and magisk if you need it
That's what I did and works like a charm but I prefer RR.
Cheers!
Click to expand...
Click to collapse
This method is not working. We have to use a special bootable TWRP for LOS 16 Official builds.
Sent from my Mi A1 using XDA Labs
---------- Post added at 09:52 PM ---------- Previous post was at 09:33 PM ----------
iamranjodh said:
i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.
Click to expand...
Click to collapse
Try following these steps:
1. Download and boot this TWRP. Only boot it, don't flash it. https://drive.google.com/file/d/1LtLrNnL0h7alZaaOWADvc2Sf5aNkNukM/view
2. Wipe system, data, cache and dalvik. If you are encrypted, make a Format Data.
3. Go to Reboot and select other slot. (For example, if you are on Slot A, select Slot B)
4. Boot TWRP again.
5. Wipe system, data, cache and dalvik. Make a format data again.
6. Install latest LineageOS 16 Official nightly. You can select A or B.
7. Reboot to bootloader.
8. Boot TWRP again.
9. Flash GApps and Magisk (if you want root).
10. Reboot to system and enjoy Lineage!
Sent from my Mi A1 using XDA Labs

Mi 9T and my the TWRP/Flash dilemma

Hello everyone
i spent 10hours from my weekend to try to flash a Xiaomi.EU Firmware to my Global Mi 9T. I didn't understand why it's not working, i flashed in the past several xiaomi devices with other firmwares.I am frustrated and i hope so someone can tell me what i do wrong. Here are the steps which i tried:
My Xiaomi Mi 9T is unlocked.My target is to flash Xiaomi.EU 9.8.15 to my device with actually Global 10.3.12
1. i copied the zip file from Xiaomi.EU 9.8.15 to the internal storage.
2. i installed with adb the "Greek" Version from TWRP to my device (*i saw this list https://forum.xda-developers.com/mi-9t/how-to/twrp-versions-xiaomi-mi-9t-t3955946 )
3. I installed the zip file with TWRP. I installed normal without disable something. At the end of the installation i saw something with "unconventional vendor.." or something like this. i am not sure if this is the problem.
4. After the installation i reboot my device. I saw for a short time "Redmy by Xiaomi" and after that the device start automatically in the fastboot bootloop.
I reinstalled my device serveral times with Mi Flash and installed Global 10.3.12 again to try the same steps again. One time i cleaned cache/dalvik but the problem is the same.I am hanging on a fastboot bootloop and have no idea what the problem can be.
I will be so thankful for every piece of idea or information what i do wrong.
Thank for an answer, have a great day !
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Dear Schnedi
Do you know anything about mount or unmount partitions at twrp?
When i tried to flash the miglobe rom with the greek twrp It says that the system partition was unmounted.
mauriciocardoso said:
Dear Schnedi
Do you know anything about mount or unmount partitions at twrp?
When i tried to flash the miglobe rom with the greek twrp It says that the system partition was unmounted.
Click to expand...
Click to collapse
is it perhaps encrypted? try flashing dm verity, wipe everything, reboot twrp, and it should let you flash whatever
No, It wasn't encrypted...twrp showed everything! Mystery!!
mauriciocardoso said:
Dear Schnedi
Do you know anything about mount or unmount partitions at twrp?
When i tried to flash the miglobe rom with the greek twrp It says that the system partition was unmounted.
Click to expand...
Click to collapse
Hi.
I have had the same issue installing Magisk. After mount or unmount it (Home -> Mount -> check or uncheck system), I tried to install it again and it worked.
Dear Schnedi
Thank you for your answer. I had to admit that i don't have knowledge enougth to work with twrp! I need a Guide for It!
Schnedi said:
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Click to expand...
Click to collapse
Thank you very much for your answer ! I will try this for first without the last steps (Install magisk, dm verity and disable force encrypt)
- Did i understand your correctly: Even i make a factory reset in the TWRP settings, i am enable to copy something to my internal storage with a USB Cable with my PC ?
- I would like install the Xiaomi EU 9.8.15 WEEKY RELASE rom, should that a problem oder will be take this other "special steps" ?
- Did you install magisk & "Dm Verity and Disable ForceEncrypt" after your second step "format data" ?
- Where i can download your same magisk version and this "Dm Verity" ?
Thank you very much to try to helping me !
Lavendel Queen said:
Thank you very much for your answer ! I will try this for first without the last steps (Install magisk, dm verity and disable force encrypt)
- Did i understand your correctly: Even i make a factory reset in the TWRP settings, i am enable to copy something to my internal storage with a USB Cable with my PC ?
- I would like install the Xiaomi EU 9.8.15 WEEKY RELASE rom, should that a problem oder will be take this other "special steps" ?
- Did you install magisk & "Dm Verity and Disable ForceEncrypt" after your second step "format data" ?
- Where i can download your same magisk version and this "Dm Verity" ?
Thank you very much to try to helping me !
Click to expand...
Click to collapse
1- Yes, even after format data, your computer will recognize your device.
2- No, with those steps I installed eu weekly over global stable.
3- No, they are installed after install the ROM
4- Magisk: https://github.com/topjohnwu/magisk_files/blob/master/canary_builds/magisk-release.zip and DM: https://zackptg5.com/android.php#disverfe
Schnedi said:
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Click to expand...
Click to collapse
Hi Schnedi
I think i have now a bigger problem....
after get into TWRP, i choose "advance settings" and select anything like delete cache, dalvic, system and more... only i didn't select USB-OTG.
After that i restart the device to flash the Xiaomi.EU Rom... but now i am again in a fastboot bootloop. And Mi Flash Tool can't recognize my device to flash global room. It seems look like de USB Debug Modus is now deactivated in my device.
When i connected my device to windows pc, i see the message that a usb device is connected but the drive is unknow.
Do you have any idea ? Or is that a problem which user called "My device is bricked" -.- ....
Thanks someone for help.
Lavendel Queen said:
Hello everyone
i spent 10hours from my weekend to try to flash a Xiaomi.EU Firmware to my Global Mi 9T. I didn't understand why it's not working, i flashed in the past several xiaomi devices with other firmwares.I am frustrated and i hope so someone can tell me what i do wrong. Here are the steps which i tried:
My Xiaomi Mi 9T is unlocked.My target is to flash Xiaomi.EU 9.8.15 to my device with actually Global 10.3.12
1. i copied the zip file from Xiaomi.EU 9.8.15 to the internal storage.
2. i installed with adb the "Greek" Version from TWRP to my device (*i saw this list https://forum.xda-developers.com/mi-9t/how-to/twrp-versions-xiaomi-mi-9t-t3955946 )
3. I installed the zip file with TWRP. I installed normal without disable something. At the end of the installation i saw something with "unconventional vendor.." or something like this. i am not sure if this is the problem.
4. After the installation i reboot my device. I saw for a short time "Redmy by Xiaomi" and after that the device start automatically in the fastboot bootloop.
I reinstalled my device serveral times with Mi Flash and installed Global 10.3.12 again to try the same steps again. One time i cleaned cache/dalvik but the problem is the same.I am hanging on a fastboot bootloop and have no idea what the problem can be.
I will be so thankful for every piece of idea or information what i do wrong.
Thank for an answer, have a great day !
Click to expand...
Click to collapse
Did you unlock the bootloader?
NOWO1983 said:
Did you unlock the bootloader?
Click to expand...
Click to collapse
you can NOT flash anything without an unlocked bootloader
NOWO1983 said:
Did you unlock the bootloader?
Click to expand...
Click to collapse
Yes the bootlocker is unlocked. Is that possible that i delete something with TWRP which disabled me in Mi Flash Tool to recognize the device ?
Schnedi said:
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Click to expand...
Click to collapse
Hi Schnedi, thanks for your guide!
I´m evaluating the option to unlock and root my Mi 9T Pro new device (i´m looking about what I will lose if I go ahead with that, like NO NFC, Netflix, etc), but basically the steps you followed are:
• Unlock the bootloader
• Install and boot to TWRP
• Go inside the WIPE menu and click on "Format data" and type YES
• Reboot into TWRP
• Go inside the WIPE menu and this time swipe to the right to perform a "Factory reset"
• Reboot TWRP
• Go inside the INSTALL menu, click on "select image" and Install xiaomi official Global ROM (I used an USB OTG) (you can just connect it to your computer and copy the files) and without rebooting/restarting yet.....then
• Go back to the INSTALL menu, this time select the Magisk.zip file and do the same with the
• Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip file and then...
• Reboot system?
Am I right?
Just dont want to mess with this.
Thanks in advance!!!
Ale.
Schnedi said:
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Click to expand...
Click to collapse
i repaired now my mi 9T with Mi Flash tool and with the Global Version and tried serveral times some of your steps but it didn't work.
- After installed twrp greek, i format cache, dalvic, system and Flash the Xiaomi.EU 9.8.15 rom. Also one time without delete "system". Then i would restart but i get every time a message from TWRP "No OS installed!" , why? I restarted anyway and i see again for a short time "Redmi by Xiaomi" and then again the fastboot loop.
- Then again Mi Flash & Global to repair it.
- I didn't install magisk. Is that necessary ? I know after a restart the TWRP will be disabled but i think with a one time twrp installation and this steps normally the Xiaomi.EU shuld be flashed correctly.
- Or is the problem that the Xiaomi.EU Version 09.8.15 is lower than my installed Global Version 10.3.12 to flash ?
Thanks someone for an idea -_-
FIIIIIIIIINALLLLLLLY !!! Now i have TWRP permanently on my device without fastboot bootloop and with the Xiaomi.EU 9.7.25
1. I flashed before the Mi 9T 10.3.9.0 Global Rom with the Mi Flash Tool "click clear all data" in Mi Flash Tool ----> AND NOT "Clear & unlock" , if you do this, your bootloader will be unlocked again.
2. After you set up your device, copy the Xiaomi.EU 9.7.25 zip file into your internal storage, enable USB debugging and choose by USB connecting ---> File transfer
2. Follow this steps from this site: https://miui.blog/redmi-k20/flash-twrp-root-mi-9t-proven-steps/ ( i choose to install without magisk, but there is also a step with magisk)
3. Be sure you downloaded the Updated information about twrp in the middle of this site with "unofficial build of twrp".
4. After you are into twrp: just click "wipe" and select the "Swipe to Factory Reset ( wipes data,cache and dalvic )
5. After that, not reboot, just install directly the Xiaomi.EU 9.7.25 zip file in twrp.
6. After that, delete cache & dalvik and restart your device.
7. Welcome to your new custom Rom and twrp is also permanently installed.
JonasVFC said:
you can NOT flash anything without an unlocked bootloader
Click to expand...
Click to collapse
Of course, but it can try it and brick the phone
Lavendel Queen said:
FIIIIIIIIINALLLLLLLY !!! Now i have TWRP permanently on my device without fastboot bootloop and with the Xiaomi.EU 9.7.25
1. I flashed before the Mi 9T 10.3.9.0 Global Rom with the Mi Flash Tool "click clear all data" in Mi Flash Tool ----> AND NOT "Clear & unlock" , if you do this, your bootloader will be unlocked again.
2. After you set up your device, copy the Xiaomi.EU 9.7.25 zip file into your internal storage, enable USB debugging and choose by USB connecting ---> File transfer
2. Follow this steps from this site: https://miui.blog/redmi-k20/flash-twrp-root-mi-9t-proven-steps/ ( i choose to install without magisk, but there is also a step with magisk)
3. Be sure you downloaded the Updated information about twrp in the middle of this site with "unofficial build of twrp".
4. After you are into twrp: just click "wipe" and select the "Swipe to Factory Reset ( wipes data,cache and dalvic )
5. After that, not reboot, just install directly the Xiaomi.EU 9.7.25 zip file in twrp.
6. After that, delete cache & dalvik and restart your device.
7. Welcome to your new custom Rom and twrp is also permanently installed.
Click to expand...
Click to collapse
I skimmed through this thread so I might have missed something, but as far as I can see the only thing you changed to get it working is installing the russian 4PDA TWRP version instead of the Greek TWRP version?
Schnedi said:
Hey.
I will write the steps I followed and flashed succesfully.
• Install and boot to TWRP
• Format data
• Reboot TWRP
• Factory reset
• Reboot TWRP
• Install xiaomi.eu ROM (I used an USB OTG) (you can just connect it to your computer and copy the files)
• Reboot system
These are extra steps I did before reboot
• Install Magisk
• Install Dm Verity and Disable ForceEncrypt
• Reboot system
And I used the same TWRP (greek). After a minute, it booted succesfully (rooted and unencrypted).
Click to expand...
Click to collapse
THIS WAS AMAZING... BUT something strange is happening...
Without flashing Dm Verity and Disable ForceEncrypt zip after the ROM I was not able token boot the Custom ROM, my phone was kipping me on Recovery with all data crypted.
With this zip I can finally boot my ROM (Havoc OS), but all the data on SDCARD partition are still crypted!! I installed a file manager from the play store and what I get are a bunch of strange folders with silly names in the root of the phone... I cannot save a screenshoot because says me that my memory is full or I haven't an SDCARD.
How to solve this?

[ROM] [Q][10] Evolution-X 4.0 for Moto Z-Griffin[TREBLE]

Thanks to your feedback I have added some extra steps to ensure that everyone can enjoy the GSI ROM
First of all I am not the creator of this ROM-GSI I only share it in the XDA community and give all the credit to @turbolukex5
You can download and try all of his work from https://sourceforge.net/projects/expressluke-gsis/files You can see all the work of him in https://forum.xda-developers.com/project-treble/trebleenabled-device-discussion/gsi-expressluke-built-gsis-t4003457
Evolution X 4.0 has all the extra features of the AOSP ROMs plus extra features of Evolution X and all the sweetness of the Pixel. Tested by myself, like Lineage is stable for daily use without any problem of any kind (obviously we all know that moto-mods don't work, only the moto-mod battery in default mode) when used in Moto Z. Needless to say, as you read in the title this ROM is GSI so if you want to try it you need to have Official Lineage OS 16 installed in your Moto Z before attempting to install the GSI image.
So let's go to the installation steps:
Steps when you are already in another GSI
1. Download the GSI image from https://sourceforge.net/projects/expressluke-gsis/files/EvolutionX/Ten/ARM64/A/ EvolutionX_4.0_ARM64A-10.0-20200112-2146-GSI.img.xz
2. Unzip the file to extract the system image and copy it inside your Moto Z
3. Go to TWRP and wipe Data(not internal storage) /Cache/System
4. Go to Install and change to Install image
5. Select the image of Evolution X and flash as system partition
6. Flash Magisk Canary if you want root, gapps already included
6. Reboot to System
7. Wait fist boot and enjoy Evolution X 4.0
First Install/Clean install
1. Install Official Lineage OS 16
2. Boot to Lineage 16
3. Reboot TWRP
4. Wipe System, Data, Cache, Internal Storage
5. Reboot to recovery
6. Copy Evolution X 4 GSI image to Internal storage
7. Go Install IMAGE and select as System partition
8. Flash permissiver_v4
9. Reboot to System
10. Wait first boot and enjoy Evolution X 4.0
By far the best GSI I have tested for our Moto Z
Screenshots
https://imgur.com/a/vxLkVUj
Extra Tips:
Magisk Modules
LSpeed Magisk Module for extra battery life
Magisk Dolby ATMOS Q. Although the GSI already comes with very good audio
One more:
Arnova Gcam
Android OS version: 10.0
Security patch level: January 2020
GSI author: turbolukex5
Source code: https://github.com/Evolution-X
ROM Developer: joeyhuab
ROM Kernel: Linux 3.18
ROM Firmware Required: Official Lineage OS 16
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 4.0
Stable Release Date: 2020-01-12
mosfet321 said:
Evolution X 4.0
Status: Stable
Current Stable Version: 4.0
Stable Release Date: 2020-01-12
Click to expand...
Click to collapse
Hey, thanks for the great share! :good::fingers-crossed::highfive::laugh::silly:
1. 'By far the best GSI I have tested for our Moto Z' - have you already tested havoc 3 gsi?
2. please, change this in the description "no gapps already included" it's not clear if they are included or not. simply state 'gapps included'
3. how long should one wait for boot? - for me it's on boot animation min 15 already.
3.1 currently can't pass boot animation (-05 china version of Moto Z)
4. is latest official twrp OK for flashing this image?
dimdimdim said:
Hey, thanks for the great share! :good::fingers-crossed::highfive::laugh::silly:
1. 'By far the best GSI I have tested for our Moto Z' - have you already tested havoc 3 gsi?
2. please, change this in the description "no gapps already included" it's not clear if they are included or not. simply state 'gapps included'
3. how long should one wait for boot? - for me it's on boot animation min 15 already.
3.1 currently can't pass boot animation (-05 china version of Moto Z)
4. is latest official twrp OK for flashing this image?
Click to expand...
Click to collapse
Thank you for your advice, I tried Havoc but the battery life was not ideal for me but it is still a great option. You need to use twrp-3.3.1-0 but I'm not sure if the official version works in the CN version. Already installed does not take more than 3 minutes to boot. Try to erase Data and flash Magisk.
mosfet321 said:
Thank you for your advice, I tried Havoc but the battery life was not ideal for me but it is still a great option. You need to use twrp-3.3.1-0 but I'm not sure if the official version works in the CN version. Already installed does not take more than 3 minutes to boot. Try to erase Data and flash Magisk.
Click to expand...
Click to collapse
Yeah, official 331 works just fine.
The case is it's 2 sim phone and aosp on this phone even has no sim up.
What do you mean by erase data? - format or factory reset or wipe?
By the way, which partitions do you backup in twrp for successful full restore?
dimdimdim said:
Yeah, official 331 works just fine.
The case is it's 2 sim phone and aosp on this phone even has no sim up.
What do you mean by erase data? - format or factory reset or wipe?
By the way, which partitions do you backup in twrp for successful full restore?
Click to expand...
Click to collapse
I mean Wipe data partition where you have to write "yes" to wipe data. I had a similar problem when I started trying GSI everything was solved when I did a full wipe of System, Data, Cache then reboot to TWRP and install Lineage 16 afther that reboot to system and after full boot again TWRP and start to flash gsi, never had problems again when I want to try a GSI image I just do wipe cache and system and that's it
I do not make any backup I only make a backup copy of google that saves my contacts, photos, Wi-Fi networks, etc. and does not wipe data partition
Remember permissive and fixzygote are not needed for GSI builds made after 25th September
mosfet321 said:
I mean Wipe data partition where you have to write "yes" to wipe data. I had a similar problem when I started trying GSI everything was solved when I did a full wipe of System, Data, Cache then reboot to TWRP and install Lineage 16 afther that reboot to system and after full boot again TWRP and start to flash gsi, never had problems again when I want to try a GSI image I just do wipe cache and system and that's it
I do not make any backup I only make a backup copy of google that saves my contacts, photos, Wi-Fi networks, etc. and does not wipe data partition
Remember permissive and fixzygote are not needed for GSI builds made after 25th September
Click to expand...
Click to collapse
Will try... Later
I don't know what I'm doing wrong but I can't damn install it
piotriix said:
I don't know what I'm doing wrong but I can't damn install it
Click to expand...
Click to collapse
Give us more information to help you. What is the error that shows you or where are you stopped in the process?
There is no mistake.
The installation ends with the boot image evolution and nothing further happens.
I wait about 20 minutes
I even did a clean LineageOS installation and it did nothing.
---------- Post added at 10:23 AM ---------- Previous post was at 09:55 AM ----------
mosfet321 said:
2. Unzip the file to extract the system image and copy it inside your Moto Z
Click to expand...
Click to collapse
winrar ? 7z?
piotriix said:
There is no mistake.
The installation ends with the boot image evolution and nothing further happens.
I wait about 20 minutes
I even did a clean LineageOS installation and it did nothing.
---------- Post added at 10:23 AM ---------- Previous post was at 09:55 AM ----------
winrar ? 7z?
Click to expand...
Click to collapse
winrar work pretty ok
check the consequence above by author with format via "yes" - BE SURE TO BACKUP INTERNAL STORAGE BEFORE AS IT CLEANS IT OUT.
I have the same problem as you, only can get a life long boot animation. even though aosp 210 boots up (with no ril unfortunately).
but I have not tried to do it with yes-format yet. so, if you are up to it now, would be great to know if you succeeded.
which device do you own? mine is -05 chineese 2 sim
piotriix said:
There is no mistake.
The installation ends with the boot image evolution and nothing further happens.
I wait about 20 minutes
I even did a clean LineageOS installation and it did nothing.
---------- Post added at 10:23 AM ---------- Previous post was at 09:55 AM ----------
winrar ? 7z?
Click to expand...
Click to collapse
Into the TWRP, folow these steps:
1- Go Wipe - Format Data (DON'T BOOT the System Yet)
2- Go Reboot - Recovery
3- Now you flash the System img. Be patient and wait the process. It can take 3-5 minutes, maybe more. (DON'T BOOT the System Yet)
4- Go Reboot - Recovery
5- Now go Wipe - Format Data - Boot Rom
Moto 03 reatu
Blackigor said:
Into the TWRP, folow these steps:
1- Go Wipe - Format Data (DON'T BOOT the System Yet)
2- Go Reboot - Recovery
3- Now you flash the System img. Be patient and wait the process. It can take 3-5 minutes, maybe more. (DON'T BOOT the System Yet)
4- Go Reboot - Recovery
5- Now go Wipe - Format Data - Boot Rom
Click to expand...
Click to collapse
I did so too.
All in all, I did a few approaches with different configurations.
piotriix said:
Moto 03 reatu
I did so too.
All in all, I did a few approaches with different configurations.
Click to expand...
Click to collapse
0. Check the attached
1. Try to flash permissiver on it
2. Try to wipe data not from twrp, but from fastboot only
3. Flash can still be done via twrp
4. Please, post the result
i have flashed permissivier over the rom and it worked https://androidfilehost.com/?fid=6006931924117886495
No change.
It hangs on the start log
piotriix said:
No change.
It hangs on the start log
Click to expand...
Click to collapse
OKAY, THIS IS HOW I BOOT IT (EASY):
1. system, data, cache wipes
2. flash lineageos16
3. boot and pass first setup
4. boot to recovery
5. flash image
6. flash permissiver V5 - with v4 there is no ril
7. boot
boots fast, a couple of minutes.
dimdimdim said:
0. Check the attached
1. Try to flash permissiver on it
2. Try to wipe data not from twrp, but from fastboot only
3. Flash can still be done via twrp
4. Please, post the result
Click to expand...
Click to collapse
Excellent step, apparently if you have never installed a GSI ROM it is absolutely necessary to flash permitsiver_v4, I have added the step and works smoothly. :good: I realized that after trying JoyUI GSI from Vegazsd, (it works but with the bugs of the camera and gsm network :crying and when I returned to Evolution X it only worked after flashing permissiver_4
The guide is updated and ready for everyone to enjoy the GSI on their Griffin
I installed permissiver_4 before installing img. It is a pity that I did not know about v4 installation after and not before.
And all in all I still don't know if v4 is good or if you need to install v5.
I have a request if you donate something, try to follow the right order of installation because information chaos creeps in.
Thank you for the advice and best regards.
Today I will try again and if it goes wrong it fits
As I understand it is supposed to be pure lineageos16 without gaps and Google applications like that?
He asks now in detail not to err.
As I understand it is supposed to be pure lineageos16 without gaps and Google applications like that?
He asks now in detail not to err.
---------- Post added at 11:01 AM ---------- Previous post was at 10:31 AM ----------
I tried and it works
I installed permissiver_v5 and clean lineageos 16
Thank you once again
Blackigor said:
Into the TWRP, folow these steps:
1- Go Wipe - Format Data (DON'T BOOT the System Yet)
2- Go Reboot - Recovery
3- Now you flash the System img. Be patient and wait the process. It can take 3-5 minutes, maybe more. (DON'T BOOT the System Yet)
4- Go Reboot - Recovery
5- Now go Wipe - Format Data - Boot Rom
Click to expand...
Click to collapse
I recommend flash permissiver v5 as my ril was back only with it. V4 doesn't help
And I think you can skip data formats if you did it once.
I did only
normal wipes,
then lineagos flash
then boot it and first setup
then straightly flash img and permissiver v5
then it boots just ok and fast
Ah, yeah, and for me it's always best idea to reboot recovery after every operation. Because here and there I've seen it may fail to properly mount some partitions depending on the situation, which leads to errors while flashing
I have a request.
Which Magisk to install?
The link from the first post has disappeared.

Categories

Resources