Hi every one, in this thread, I will guide How to Flashing GSIs for all Android devices (2021).
- A to Z for new babie, just only fastboot guide.
- I'm highly recommend using pHH GSIs image rom. (List here) AND DO NOT ASK ME SGSI ROM.
Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
1. Prepair:
- Brain (to understand what I write below and make sure u will do it right)
- Using this app Treble Info to check your devices is support Treble (A/B, A only or VNDK)
- Unlock your Bootloader devices.
- Payload dumper for extract payload.bin BASE Rom. -> Check this video HOW TO EXTRACT Payload.bin rom
- U must be on stock rom to flashsing GSIs rom (flashing your stock rom on 1 slot, DO NOT FLASH ON BOTH SLOT). If u are on custom rom, then u will need to flash stock rom again.
- ADB driver, fastboot driver (guide for windows)
1.1 BASE ROM: Highly recommend using Lineage OS rom for base rom. (and u can try with another base rom, for example, on xiaomi devices, u have MIUI rom and AOSP rom aka OSS, and u can try both of these for BASE ROM)All u need in base rom:- vendor.img (must be in the same BASE ROM with boot.img) DO NOT try to mix with another boot.img- boot.img (must be in the same BASE ROM with vendor.img) DO NOT try to mix with another vendor.img- system_vbmeta.img (or vbmeta.img) or u can download this vbmeta.img here- patched magisk boot.img (if u want to root your devices)- vendor overlays: Some devices with notch/hole need this. (u can extract your stock rom to have this)- phh magisk v23 (download here)1.2 GSI ROM: I'm highly recommend using pHH GSIs image rom. (List here)All u need in GSI rom:- Yes, GSI rom aka system.img (recommend to rename it system.img)- product.img (download here) - credit @kusti4202. Flashing:
- Guide for A/B devices.
- Put your devices on FastbootD (using code adb reboot fastboot or using physical buttons power key and volume down key to make devices go to bootloader, then using code fastboot reboot fastboot to make your devices is on FASTBOOTD mode)
- Using these code instructions below: all in FastbootD
Step1:
Code:
fastboot getvar current-slot (see which slot u are using. Ex: a , b)
fastboot --set-active=b (if u are using slot a, change b to a) to make sure u're flashing gsi on 1 slot
Step2: vbmeta.img, vendor.img is from BASE ROM. product_gsi.img is from GSI ROM
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot flash product product_gsi.img
Step3: system.img is from GSI ROM. Some devices is request system.img <3GB, so your choise vanilla or full GAPPS GSI ROM.
Code:
fastboot erase system
fastboot flash system system.img
Step4: -w will wipe all data in your devices. boot.img is from BASE ROM.
Code:
fastboot -w
fastboot flash boot boot.img
fastboot reboot
Step5: when your gsi rom booted, flash boot patched magisk to have it root.
If it NOT BOOT, try to delete your product.img
Code:
fastboot delete-logical-partition product
If it NOT BOOT, change another vendor, boot from another BASE ROM!!!!
Good luck guys!!!!!
Successed boot GSI ROM ON PIXEL 4, PIXEL 3, PIXEL 3XL, XIAOMI REDMI K40.
I will make auto file flashing gsi rom later.
Video prop gsi rom, video guide on post 2.
Bugs + FAQ in #3
CREDIT:
@phhusson for all GSI ROM
@Allexwin50 for product_gsi
1. VIDEO GUIDE
2. Review
- Dot OS 5.2 GSI rom on Pixel 4:
BUGS ON PIXEL:
-VOLTE
i see you took that product img from my post, but you credited the wrong person for it
@Allexwin50 is the one who made it afaik, you can also see him being mentioned in my post for it
nice guide. i'm curious to test on my note 10 5g with mtk cpu. but i dont have a second phone. its a shame cause i'm modding addicted. but i can't risk to brick my phone. maybe in future... or if i buy a second phone. like note 8 2021
wetito said:
nice guide. i'm curious to test on my note 10 5g with mtk cpu. but i dont have a second phone. its a shame cause i'm modding addicted. but i can't risk to brick my phone. maybe in future... or if i buy a second phone. like note 8 2021
Click to expand...
Click to collapse
wym by "note 8 2021"???????
because i would like to test on mtk device
nambavuong said:
Hi every one, in this thread, I will guide How to Flashing GSIs for all Android devices (2021).
- A to Z for new babie, just only fastboot guide.
- I'm highly recommend using pHH GSIs image rom. (List here) AND DO NOT ASK ME SGSI ROM.
Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
1. Prepair:
- Brain (to understand what I write below and make sure u will do it right)
- Using this app Treble Info to check your devices is support Treble (A/B, A only or VNDK)
- Unlock your Bootloader devices.
- Payload dumper for extract payload.bin BASE Rom. -> Check this video HOW TO EXTRACT Payload.bin rom
- U must be on stock rom to flashsing GSIs rom (flashing your stock rom on 1 slot, DO NOT FLASH ON BOTH SLOT). If u are on custom rom, then u will need to flash stock rom again.
- ADB driver, fastboot driver (guide for windows)
1.1 BASE ROM: Highly recommend using Lineage OS rom for base rom. (and u can try with another base rom, for example, on xiaomi devices, u have MIUI rom and AOSP rom aka OSS, and u can try both of these for BASE ROM)All u need in base rom:- vendor.img (must be in the same BASE ROM with boot.img) DO NOT try to mix with another boot.img- boot.img (must be in the same BASE ROM with vendor.img) DO NOT try to mix with another vendor.img- system_vbmeta.img (or vbmeta.img) or u can download this vbmeta.img here- patched magisk boot.img (if u want to root your devices)- vendor overlays: Some devices with notch/hole need this. (u can extract your stock rom to have this)- phh magisk v23 (download here)1.2 GSI ROM: I'm highly recommend using pHH GSIs image rom. (List here)All u need in GSI rom:- Yes, GSI rom aka system.img (recommend to rename it system.img)- product.img (download here) - credit @kusti4202. Flashing:
- Guide for A/B devices.
- Put your devices on FastbootD (using code adb reboot fastboot or using physical buttons power key and volume down key to make devices go to bootloader, then using code fastboot reboot fastboot to make your devices is on FASTBOOTD mode)
- Using these code instructions below: all in FastbootD
Step1:
Code:
fastboot getvar current-slot (see which slot u are using. Ex: a , b)
fastboot --set-active=b (if u are using slot a, change b to a) to make sure u're flashing gsi on 1 slot
Step2: vbmeta.img, vendor.img is from BASE ROM. product_gsi.img is from GSI ROM
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot flash product product_gsi.img
Step3: system.img is from GSI ROM. Some devices is request system.img <3GB, so your choise vanilla or full GAPPS GSI ROM.
Code:
fastboot erase system
fastboot flash system system.img
Step4: -w will wipe all data in your devices. boot.img is from BASE ROM.
Code:
fastboot -w
fastboot flash boot boot.img
fastboot reboot
Step5: when your gsi rom booted, flash boot patched magisk to have it root.
If it NOT BOOT, try to delete your product.img
Code:
fastboot delete-logical-partition product
If it NOT BOOT, change another vendor, boot from another BASE ROM!!!!
Good luck guys!!!!!
Successed boot GSI ROM ON PIXEL 4, PIXEL 3, PIXEL 3XL, XIAOMI REDMI K40.
I will make auto file flashing gsi rom later.
Video prop gsi rom, video guide on post 2.
Bugs + FAQ in #3
CREDIT:
@phhusson for all GSI ROM
@Allexwin50 for product_gsi
Click to expand...
Click to collapse
Is possible flash Gsi A11 or A12 in Huawei Mate9 runing Harmony OS ?
aureliolage said:
Is possible flash Gsi A11 or A12 in Huawei Mate9 runing Harmony OS ?
Click to expand...
Click to collapse
Hi, I have a MHA-L29 that I bootloader unlocked with PotatoNV and have twrp and android gsi by phh installed, I can help but I can't guarantee anything as you have a china model
SamJN1344 said:
Hi, I have a MHA-L29 that I bootloader unlocked with PotatoNV and have twrp and android gsi by phh installed, I can help but I can't guarantee anything as you have a china model
Click to expand...
Click to collapse
Can help me but here i run Harmony os
SamJN1344 said:
Hi, I have a MHA-L29 that I bootloader unlocked with PotatoNV and have twrp and android gsi by phh installed, I can help but I can't guarantee anything as you have a china model
Click to expand...
Click to collapse
??
buy a huawei with Harmony for modding.... curious choice
Lenovo didnt provide vendor.img for my tablet TB-J606F how can I backup\extract it from existing system?
I have root and I tried dd if=/dev/l9Y/.magisk/block/vendor .... and it didnt have permission. Is this only works on custom recovery? becuse I didnt find any for my device
I tried just flashing GSI 12 on the tablet and it worked but auto brightness and some more small but anoying suff didnt work perfect
Code:
fastboot --disable-verity --disable-verification flash system GSI.img
Does this code make our system becoming fail to pass safetynett ? i dont know either . coz for me , after using kdragon zygisk safetynet fix also cant pass cts and basic test. im on ancientOS GSI right now for my mojito device
I was on a custom ROM, used this guide, I didn't even have to flash the stock ROM. I flashed crDroid GSI.
ronen1n said:
Lenovo didnt provide vendor.img for my tablet TB-J606F how can I backup\extract it from existing system?
I have root and I tried dd if=/dev/l9Y/.magisk/block/vendor .... and it didnt have permission. Is this only works on custom recovery? becuse I didnt find any for my device
I tried just flashing GSI 12 on the tablet and it worked but auto brightness and some more small but anoying suff didnt work perfect
Click to expand...
Click to collapse
Do you have super.img??
Benjamin B C H said:
Do you have super.img??
Click to expand...
Click to collapse
For that, use product GSI to be able to flash the system image. Worked for me.
Benjamin B C H said:
Do you have super.img??
Click to expand...
Click to collapse
I have 5 super files
ronen1n said:
I have 5 super files
Click to expand...
Click to collapse
Extract those super images and you might get the vendor file
Benjamin B C H said:
Extract those super images and you might get the vendor file
Click to expand...
Click to collapse
how can I do it? I tried few tools and it didnt work
Related
Disclaimer
I am not responsible for bricked devices or anything like that. YOU are choosing to make these modifications, and if you point your finger at me for messing up your device, I will laugh at you.
Here are the current fastboot links for the Xiaomi Mi A2 (jasmine):
Fastboot Images:
Android 10.0 [V11.0.15.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.15.....QDIMIXM_20201019.0000.00_10.0_3ea0b7a69b.tgz
Android 10.0 [V11.0.12.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.12.....QDIMIXM_20200724.0000.00_10.0_79e67f3105.tgz
Android 10.0 [V11.0.11.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.11.....QDIMIXM_20200610.0000.00_10.0_512a1978b3.tgz
Android 10.0 [V11.0.10.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.10.....QDIMIXM_20200521.0000.00_10.0_fc90551230.tgz
Android 9.0 [V10.0.18.0.PDIMIXM]: - removed!
https://bigota.d.miui.com/V10.0.18....0.PDIMIXM_20191211.0000.00_9.0_33e3d9a287.tgz
Android 9.0 [V10.0.17.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.17....0.PDIMIXM_20191108.0000.00_9.0_94629a1855.tgz
Android 9.0 [V10.0.13.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.13....0.PDIMIXM_20190807.0000.00_9.0_9083804c9e.tgz
Android 9.0 [V10.0.12.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.12....0.PDIMIXM_20190712.0000.00_9.0_1e580ee45b.tgz
Android 9.0 [V10.0.10.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.10....0.PDIMIXM_20190611.0000.00_9.0_9e6473956a.tgz
Android 9.0 [V10.0.9.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.9.0...0.PDIMIXM_20190513.0000.00_9.0_bbaa8993fe.tgz
Android 9.0 [V10.0.8.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.8.0...0.PDIMIXM_20190411.0000.00_9.0_bacce1f2bd.tgz
Android 9.0 [V10.0.7.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.7.0...0.PDIMIXM_20190323.0000.00_9.0_b92b08b636.tgz
Android 9.0 [V10.0.2.0.PDIMIFJ]:
https://bigota.d.miui.com/V10.0.2.0...0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz
Android 8.1.0 [V9.6.17.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.17.0...0.ODIMIFE_20181108.0000.00_8.1_1c60295d1c.tgz
Android 8.1.0 [V9.6.16.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.16.0...0.ODIMIFE_20181030.0000.00_8.1_5e098a2c1a.tgz
Android 8.1.0 [V9.6.14.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.14.0...0.ODIMIFE_20181010.0000.00_8.1_94929604f8.tgz
Android 8.1.0 [V9.6.13.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.13.0...0.ODIMIFE_20180913.0000.00_8.1_fbd1120565.tgz
Android 8.1.0 [V9.6.10.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.10.0...0.ODIMIFE_20180731.0000.00_8.1_2aeda83301.tgz
Android 8.1.0 [V9.6.9.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.9.0....0.ODIMIFE_20180723.0000.00_8.1_53f18f370a.tgz
Use
Code:
fastboot flashing unlock
to unlock the bootloader.
You may also need to unlock the critical partitions by typing:
Code:
fastboot flashing unlock_critical
You can flash factory images using the batchfile in the firmware archive or using MiFlash. You can also flash in Snapdragon EDL-(Emergency Download) Mode (bootloader unlocked is necessary) by typing:
Code:
fastboot oem edl
(Instructions about flashing and download links can be found here [PC only!]) https://c.mi.com/oc/miuidownload/detail?guide=2
Reserved
Reserved
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Ivan93tm said:
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Click to expand...
Click to collapse
Try this: http://en.miui.com/a-232.html
I haven't tested anything yet.
Niktendo said:
Try this: http://en.miui.com/a-232.html
I haven't tested anything yet.
Click to expand...
Click to collapse
Thanks, i'll give it a try, for the moment i will keep 9.6.5 version , i reflashed stock boot and everiting is fine with relocking bootloader but for now i can't have camera api enabled
Ivan93tm said:
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Click to expand...
Click to collapse
Use this fastboot command by default to unlock bootloader:
Code:
fastboot flashing unlock_critical
error flashing
i got this error flashing latest fasboot image using mi flash tools
DeeditTotoi said:
i got this error flashing latest fasboot image using mi flash tools
Click to expand...
Click to collapse
Try again with more available RAM (eg. close Google Chrome).
I got the same error even with only miflash open and 8gb ram.
Hi I have a MI6X can I flash this rom??
Thanks
abefre said:
Hi I have a MI6X can I flash this rom??
Thanks
Click to expand...
Click to collapse
In theory - yes http://en.miui.com/thread-3439864-1-1.html But you can break your phone very easily doing it.
Cagixxx said:
I got the same error even with only miflash open and 8gb ram.
Click to expand...
Click to collapse
Did you install all Xiaomi drivers using MiFlash and disabled driver signature?
Did you also unlock the critical partitions?
Try one of the batch files from the stock rom via command prompt. E.g. flash_all.bat, which worked for me as MiFlash did not want to do the job, too. Unlock critical is needed though.
The only way to flash was in EDL/Test Point mode. I opened the phone but you can use a Xiaomi deep flash cable (EDL cable).
Cagixxx said:
The only way to flash was in EDL/Test Point mode. I opened the phone but you can use a Xiaomi deep flash cable (EDL cable).
Click to expand...
Click to collapse
You can also boot into EDL mode from fastboot (needs bootloader unlocked) by typing the following command:
Code:
fasboot oem edl
So did anyone flash fastboot ROM with success using MiFlash or not?
pianistaPL said:
So did anyone flash fastboot ROM with success using MiFlash or not?
Click to expand...
Click to collapse
Yes, my flash succeeded sucessfully after the second try. I got an error (system_b flashing failed), I closed Chrome to free up more RAM and the flash finished.
To unlock the bootloader, do I need to create a xiaomi account and request a token to unlock it or can I use the usual
>fastboot oem unlock
?
cbrunos said:
To unlock the bootloader, do I need to create a xiaomi account and request a token to unlock it or can I use the usual
>fastboot oem unlock
?
Click to expand...
Click to collapse
You can unlock the bootloader for the Xiaomi Mi A1 and A2/Lite (Xiaomi Android One smartphones) by typing:
Code:
fastboot flashing unlock
OR
Code:
fastboot oem unlock
You also need to unlock the critical partitions by typing:
Code:
fastboot flashing unlock_critical
Hey guys,
Although Mi CC9e (laurus) has been released for some days, there's few discussion on this device. The reason why I bought laurus is because I think it will share a community with Mi A3 (laurel_sprout), and it's easier to get laurus in China (with 6GB RAM). And indeed, laurus use exactly the same kernel with laurel_sprout. Most people think laurus is A only and laurel_sprout is A/B, which is almost, but not entirely correct. Devices launched with Android 9 are mandatory to use system-as-root.
In previous versions of Android, devices that didn't support A/B updates could mount the system image under the /system directory. In Android 9, the root of the system image is mounted as the root of the device.
Click to expand...
Click to collapse
In short, laurus MUST flash A/B image instead of A only, just like Mi 9 (cepheus) and Mi Mix 3 (perseus).
I assume that your'phone is unlocked and you've configured ADB and Fastboot.
So, let's start.
1. Flash TWRP
Reboot your laurus to Fastboot with Power + Volume Down.
There's a available TWRP from Chinese developer LR.Team
Download Link
The batch script is in Chinese, but I'm sure you know what to do if you're familar with Fastboot.
Code:
fastboot flash recovery recovery-TWRP-3.3.1-0914-XIAOMI_CC9E-CN-wzsx150.img
2. Flash BeastROM 1.6
Although BeastROM 2.0 has released but I can't get it work. It just display Mi logo and then jump to Fastboot. Most other GSIs won't work as well, it dosen't boot at all. So the only choose is BeastROM 1.6 for laurel_sprout @mdeejay.
BeastROM 1.6
unzip it, and what we need to do is flash system.img ONLY.
Code:
fastboot flash system system.img
And then reboot to TWRP, wipe data partition.
Edited:
You can find your vbmeta in fastboot ROM of laurus.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
This command is NOT NEEDED if you can disable dm-verity via magisk. You can't boot without disabling dm-verity (stuck on Logo). I don't know how it works. Need some help from devs.
3. Flash Magisk
You HAVE TO flash magisk, or it will stuck on boot animation.
You can do it by "Install Root" in Advanced of TWRP.
Or do it manually by flash Magisk.
4. Flash GApps (Optional)
OpenGApps
Just Flash it in TWRP, nothing more to say. Maybe you need to wipe data again.
I think everything is perfect for now, execpt it's Android 9 instead of 10. At least you can get most of features in Mi A3 and get rid of stupid MIUI
Some stupid idea: for people who wanna get MIUI in laurel_sprout, you can flash system.img in fastboot of laurus. I don't think it will work but it worth trying.
I've tried flashing laurel_sprout image into laurus, it can boot, but it won't work. Screen blinks and it get stuck on welcome page, touching works though.
Fastboot of laurus
Fastboot of laruel_sprout
For people who prefer stock A3 Android One ROM, Here is the method I've tested
con_sau_may_tinh said:
mi cc9e can use stock rom of mi a3 without root, this mean bank app will work perfect
1- flash full rom with miflash (any lower version will not boot) http://bigota.d.miui.com/V10.2.13.0...FMCNXM_20190830.0000.00_9.0_cn_fc9f51f46d.tgz
2- download rom of mi a3, extract file system.img only
http://bigota.d.miui.com/V10.3.4.0....0.PFQMIXM_20190815.0000.00_9.0_00838b4c0e.tgz
3- go to fastboot and flash (vbmeta of micc9e)
fastboot flash system system.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
Click to expand...
Click to collapse
i flash only system but, my phone stuck on fastboot mode
please help
vanly6.2 said:
i flash only system but, my phone stuck on fastboot mode
please help
Click to expand...
Click to collapse
Are your device Mi CC9e instead of Mi A3? Make sure you're flashing BeastROM 1.6 instead of 2.0 or you'll get stuck on fastboot. And maybe you need to format your data partition in TWRP.
Crosstyan said:
Are your device Mi CC9e instead of Mi A3? Make sure you're flashing BeastROM 1.6 instead of 2.0 or you'll get stuck on fastboot. And maybe you need to format your data partition in TWRP.
Click to expand...
Click to collapse
i has flash ok, but i can use finger, you have problem as me ?
vanly6.2 said:
i has flash ok, but i can use finger, you have problem as me ?
Click to expand...
Click to collapse
Fingerprint sensor works for me.
Can i back to miui if something wrong,or on bootloop
oska3 said:
Can i back to miui if something wrong,or on bootloop
Click to expand...
Click to collapse
Of course you can, just flash the fastboot ROM of laurus.
Stug on fastboot too
How i can go in twrp
oska3 said:
Stug on fastboot too
How i can go in twrp
Click to expand...
Click to collapse
Power and Volume up can make it boot into Recovery.
But if you flashed dtbo and vbmeta of BeastROM 1.6, or maybe you wipe your system partition. , it will be stuck at fastboot and cannot boot (or enter recovery)
One way to fix this is disable dm-verity, just use magisk, you can do it by "Install Root" in Advanced of TWRP. (Flashing magisk manully does the same job)
(However, you can't enter TWRP, so this won't work. )
Another way to disable dm-verity is flash vbmeta with --disable-verity --disable-verification, but I'm not sure whether it works.
Your best chioce is flash the fastboot ROM of laurus and do it again. Remerber to flash magisk in TWRP after flashing system.img, I made a mistake that magisk is not included in BeastROM and you must flash it to disable dm-verity or it will never boot.
im fix it and its ok now,how,i dont know
finaly miui gone,yyyuuhuu
If u update magisk and stug on bootloop,u can start on twrp and flash magisk manualy and reboot in beastrom again
---------- Post added at 09:32 PM ---------- Previous post was at 08:37 PM ----------
Just dont use or update to magisk 20,stug on bootloop
Crosstyan said:
Hey guys,
Although Mi CC9e (laurus) has been released for some days, there's few discussion on this device. The reason why I bought laurus is because I think it will share a community with Mi A3 (laurel_sprout), and it's easier to get laurus in China (with 6GB RAM). And indeed, laurus use exactly the same kernel with laurel_sprout. Most people think laurus is A only and laurel_sprout is A/B, which is almost, but not entirely correct. Devices launched with Android 9 are mandatory to use system-as-root.
In short, laurus MUST flash A/B image instead of A only, just like Mi 9 (cepheus) and Mi Mix 3 (perseus).
I assume that your'phone is unlocked and you've configured ADB and Fastboot.
So, let's start.
1. Flash TWRP
Reboot your laurus to Fastboot with Power + Volume Down.
There's a available TWRP from Chinese developer LR.Team
Download Link
The batch script is in Chinese, but I'm sure you know what to do if you're familar with Fastboot.
Code:
fastboot flash recovery recovery-TWRP-3.3.1-0914-XIAOMI_CC9E-CN-wzsx150.img
2. Flash BeastROM 1.6
Although BeastROM 2.0 has released but I can't get it work. It just display Mi logo and then jump to Fastboot. Most other GSIs won't work as well, it dosen't boot at all. So the only choose is BeastROM 1.6 for laurel_sprout @mdeejay.
BeastROM 1.6
unzip it, and what we need to do is flash system.img ONLY.
Code:
fastboot flash system system.img
And then reboot to TWRP, wipe data partition.
Edited:
You can find your vbmeta in fastboot ROM of laurus.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
This command is NOT NEEDED if you can disable dm-verity via magisk. You can't boot without disabling dm-verity (stuck on Logo). I don't know how it works. Need some help from devs.
3. Flash Magisk
You HAVE TO flash magisk, or it will stuck on boot animation.
You can do it by "Install Root" in Advanced of TWRP.
Or do it manually by flash Magisk.
4. Flash GApps (Optional)
OpenGApps
Just Flash it in TWRP, nothing more to say. Maybe you need to wipe data again.
I think everything is perfect for now, execpt it's Android 9 instead of 10. At least you can get most of features in Mi A3 and get rid of stupid MIUI
Some stupid idea: for people who wanna get MIUI in laurel_sprout, you can flash system.img in fastboot of laurus. I don't think it will work but it worth trying.
I've tried flashing laurel_sprout image into laurus, it can boot, but it won't work. Screen blinks and it get stuck on welcome page, touching works though.
Fastboot of laurus
Fastboot of laruel_sprout
Click to expand...
Click to collapse
First of all, tks for getting the first not official rom for the cc9e! Really appreciated.
Can you please confirm if this rom has Spanish Language included? Tks!
im confirm,there is espanol language and almost all popular,and work like a charm
oska3 said:
im confirm,there is espanol language and almost all popular,and work like a charm
Click to expand...
Click to collapse
Tks buddy! I will try it
Thankyou heaps for for this post.
I will be back in 168hrs (mi unlock) to attempt (⌒▽⌒).
help
1)i flash fastboot stocck laurus rom
2)then flash twrp (always use files that you provide in this thread)
3)then flash system.img
4)then reboot to twrp >format data>yes
5)then install magisk 19.4 and pico gapps
6)then repeat format data and reboot
but always phone stuck on "G" logo booting
also try to flash vbmeta from stock after 4)
also try without gapps
also try vbmeta from beast 1.6
nothing
please help me
what i do wrong
sorry for my bad english
Some of us Mi A3 users want to use Miui 11 from CC9e, how possible is that. Could you give a tutorial?
Android one is snappy on mi a3, with 6g ram on CC9e it will be really smooth.
Xiaomi Mi A3 - Неофициальные прошивки miui 10 port,4pda
aleksbrain said:
1)i flash fastboot stocck laurus rom
2)then flash twrp (always use files that you provide in this thread)
3)then flash system.img
4)then reboot to twrp >format data>yes
5)then install magisk 19.4 and pico gapps
6)then repeat format data and reboot
but always phone stuck on "G" logo booting
also try to flash vbmeta from stock after 4)
also try without gapps
also try vbmeta from beast 1.6
nothing
please help me
what i do wrong
sorry for my bad english
Click to expand...
Click to collapse
Try to use the root in Advanced tab of TWRP.
mi cc9e can use stock rom of mi a3 without root, this mean bank app will work perfect
1- flash full rom with miflash (any lower version will not boot) http://bigota.d.miui.com/V10.2.13.0...FMCNXM_20190830.0000.00_9.0_cn_fc9f51f46d.tgz
2- download rom of mi a3, extract file system.img only
http://bigota.d.miui.com/V10.3.4.0....0.PFQMIXM_20190815.0000.00_9.0_00838b4c0e.tgz
3- go to fastboot and flash (vbmeta of micc9e)
fastboot flash system system.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock) because is no more needed. The updates will be done on the slot not used for example if you are using slot a the update will be installed on slot b and the slot b will be set as default. If you brick and you are in bootloop how you can restore the rom? You can't with Stock ROM you have, because the zip can be only installed via Update Engine, so what can you do? Flash a stock rom via fastboot. I have extracted all images from the stock zip and i have made a new zip with the Fastboot ROM with a flash-all.bat included. This will work only if your bootloader is unlocked. This will erase all your data and will wipe your internal storage.
HOW TO FLASH
This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 8 in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 8 to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.
DOWNLOAD
All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 8
BRANDED PHONE
For now branded device are not supported
MANUAL FLASH: Windows - OSX - Linux
If you want to manual flash these roms these are the commands (You need the latest sdk platform tools, you can find it here
Is reccomended to format data or the rom cannot boot:
Code:
fastboot -w
Others Commands to flash a fastboot rom
Code:
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash LOGO LOGO.img
fastboot flash modem modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw qupfw.img
fastboot flash storsec storsec.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash opproduct opproduct.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
REMEMBER
"Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.
If the device automatically reboot in Stock Recovery mode don't reboot it and wait the flash end.
These ROMs can't be used to update or downgrade your phone but just to restore your phone.
If the rom seems doesn't start go in recovery stock and follow this guideline: English -> Wipe data and cache -> Erase everything.
If you want to rebrand your phone from HydrogenOS to OxygenOS you can follow this guide: Rebrand Guide
If you want you can use also my tool to flash Factory Images, unlock bootloader, flash twrp or to understand if the device is recognized: https://toolaio.tk/
If you got some problems like write error or no partition, check this: https://forum.xda-developers.com/showpost.php?p=76658555&postcount=34
DONATE LINK
If you want to support this and others my projects please consider making a donation, thanks.
Branded devices is for example a Chinese version with HydrogenOS to which OxigenOS has been installed? If so, how can a branded device be recovered?
Thanks
Hi guys, i'm here again to ask for your support, actually with android 10 Google introduced a lot of changing, from dynamic partitions to the new keymaster 4 encryption/decryption. Teamwin is working hard to update TWRP but they will still take some time. Currently some things already work but there are difficulties in bringing them to the OnePlus 8/8 Pro, for example decryption already works but creates some problems on the OnePlus devices. That's why I decided to create a Paypal moneybox to be able to bring you the latest updates in the shortest time possible. As I have previously done, I assure you of a support of at least 2 years (within the limits of my possibilities). In addition to the TWRP I will improve the fastboot roms and add OnePlus 8/8 Pro to my TOOL ALL IN ONE (and maybe I will also bring the RevengeOS). By getting hold of a OnePlus 8 or 8 Pro I will also be able to improve the TWRP for OnePlus 7T and 7T Pro.
OnePlus 8/8 Pro PayPal MoneyBox: https://www.paypal.com/pools/c/8pfrIOL3Qa
If you are unable to participate in the PayPal moneybox, you can make a normal donation (perhaps specifying that it is for the moneybox), however all private donations that I will receive for this or other projects will be included in the moneybox.
Private PayPal Donations: https://www.paypal.me/MauronofrioTool
Why after flash it, it boot up to Qualcomm crashdump mode and how to fix?
sakun-ice said:
Branded devices is for example a Chinese version with HydrogenOS to which OxigenOS has been installed? If so, how can a branded device be recovered?
Thanks
Click to expand...
Click to collapse
I think unbranded devices mean the device bought from T-Mobile or Verizon. Nothing to do with chinese versiion flash oxygenOS, if I'm not wrong.
Can't seem to get this to work. I'm trying to flash a stock rom for my OnePlus 8 after bricking it during a rooting process.
The device' bootloader is obviously unlocked and i can get the phone into Fastboot mode and connected to my PC.
The only issue is when i execute the flash-all.bat file, it can't seem to flash any of the files and gives an error consisting of the message "FAILED (remote: 'Flashing is not allowed for Critical Partitions').
What to do guys? Can anyone help me out.
Does anyone know where to find mobile oneplus 8 5g tmobile from mine is bricked I had same error as post above
KJStar said:
Can't seem to get this to work. I'm trying to flash a stock rom for my OnePlus 8 after bricking it during a rooting process.
The device' bootloader is obviously unlocked and i can get the phone into Fastboot mode and connected to my PC.
The only issue is when i execute the flash-all.bat file, it can't seem to flash any of the files and gives an error consisting of the message "FAILED (remote: 'Flashing is not allowed for Critical Partitions').
What to do guys? Can anyone help me out.
Click to expand...
Click to collapse
Try to flash fastboot rom with "tool all in one),It worked for me.
I needed modem I forgot to fastboot reboot fastboot guy in post 6 that's all you need to do is reboot fastboot then flash all I was looking for different file
Never mind I fixed it by downloading ota and going to system updates in settings because fastboot won't flash to modem right
I am having issues flashing. flashing not allowed on critical partition. please help I tried to use the large address aware program but nothing has changed.
bluemoel said:
I am having issues flashing. flashing not allowed on critical partition. please help I tried to use the large address aware program but nothing has changed.
Click to expand...
Click to collapse
Make sure your on the latest update: 10.5.8
mauronofrio said:
Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock) because is no more needed. The updates will be done on the slot not used for example if you are using slot a the update will be installed on slot b and the slot b will be set as default. If you brick and you are in bootloop how you can restore the rom? You can't with Stock ROM you have, because the zip can be only installed via Update Engine, so what can you do? Flash a stock rom via fastboot. I have extracted all images from the stock zip and i have made a new zip with the Fastboot ROM with a flash-all.bat included. This will work only if your bootloader is unlocked. This will erase all your data and will wipe your internal storage.
HOW TO FLASH
This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 8 in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 8 to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.
DOWNLOAD
All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 8
BRANDED PHONE
For now branded device are not supported
MANUAL FLASH: Windows - OSX - Linux
If you want to manual flash these roms these are the commands (You need the latest sdk platform tools, you can find it here
Is reccomended to format data or the rom cannot boot:
Code:
fastboot -w
Others Commands to flash a fastboot rom
Code:
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash LOGO LOGO.img
fastboot flash modem modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw qupfw.img
fastboot flash storsec storsec.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash opproduct opproduct.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
REMEMBER
"Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.
If the device automatically reboot in Stock Recovery mode don't reboot it and wait the flash end.
These ROMs can't be used to update or downgrade your phone but just to restore your phone.
If the rom seems doesn't start go in recovery stock and follow this guideline: English -> Wipe data and cache -> Erase everything.
If you want to rebrand your phone from HydrogenOS to OxygenOS you can follow this guide: Rebrand Guide
If you want you can use also my tool to flash Factory Images, unlock bootloader, flash twrp or to understand if the device is recognized: https://toolaio.tk/
If you got some problems like write error or no partition, check this: https://forum.xda-developers.com/showpost.php?p=76658555&postcount=34
DONATE LINK
If you want to support this and others my projects please consider making a donation, thanks.
Click to expand...
Click to collapse
Hi, do you know if patching with local update a Oxygen OS Europe release from a Global release may cause problems to the fingerprint? I have a IN2010 with the Global OxygenOS but I would like to switch to the European versione becasue I live in Italy like you
Why not flash reserve.img?
nnyd said:
Why not flash reserve.img?
Click to expand...
Click to collapse
Because it is placed in userdata and not in a dedicated partition
I have an issue trying to flash on fastboot. It's says I can't flash on critical partitions. Yes I know alot of people are saying that but what I haven't seen is this:
This is my problem:
Fastboot get device-info
(Bootloader) device unlocked:true
(Bootloader) device critical unlock: false
(Bootloader) charger screen enabled: true
I have already tried "fastboot flashing unlock_critical"
It says bootloader already unlocked. I then re lock bootloader which I know is not a good idea( reflash stock with msm tool) and it lock then I try unlock critical command again and it still says device critical unlock: false
i need help please ..
i tried this method not the latest version i tried the 10.5.4 global
so it gave me all failed and error to foramt and others
then it restart my phone to show me crashdump
what should i do ?
should i use latest version ?
i hope you replay fast .. thank you
Alucardo1 said:
i tried this method not the latest version i tried the 10.5.4 global
so it gave me all failed and error to foramt and others
then it restart my phone to show me crashdump
what should i do ?
should i use latest version ?
i hope you replay fast .. thank you
Click to expand...
Click to collapse
Try again with 10.5.7. When it reboot to recovery, let it continue to run till it reboots on its own.
Unbrick from fastboot method
I hope I can help someone since I spent the whole night trying various methods to unbrick my Oneplus 8 and only this one worked for me JUST FOR INTERNATIONAL VERSION
You must have the drivers installed (Adb & Fastboot)
You must have your phone with the bootloader unlocked
1.- Download the file
2.-Unzip it
inside you will find Flash-all.bat
3.-Enter Fastboot mode
4.-Double click on the Flash-all.bat command
5.-It will direct you to the recovery, select the English language and restart in fastboot mode so that the process continues, wait for it to finish flashing everything and ready, the phone restarts on the latest version
https://mega.nz/folder/8tpUSSrR#7wH4NX_ccr2a6Ub8LXpsEA
Donate Link to support my work
https://paypal.me/pakomorales?locale.x=es_XC
cannot relock bootloader on oneplus 8
bro thanks for fastboot room for oneplus 8,i flash your fastboot room 10.5.9 everthing ok,but i relocked to boot loader it the phone be correpted. what should i do ,
please help me.
I wanted to create a discussion for flashing GSI's and experimentations with Treble on our Pixel 3a. If you're unfamiliar with GSI's and Treble, please check out the wiki and FAQ here. Not all GSI's run flawless on our device, as to be expected, there WILL BE bugs here and there. These methods will wipe userdata, so backup all of your important data before attempting to flash a GSI. Make damn sure you have a way to recover your device in case something goes wrong!
What you'll need:
Fastboot and ADB installed correctly.
Factory image for Sargo - get it here.
An unlocked bootloader.
A GSI to install.
(vbmeta.img / vendor.img can be extracted from our factory image.)
Auto install a GSI:
The Universal Auto GSI Installer by @zedomax works for our device with all the GSI's I have tried from XDA. His instructions and video tutorial is included in the thread. The script is very easy to set up and use to install a GSI.
Manually install a GSI:
Code:
From stock Android 10 or 11
Boot into fastboot, then to fastbootd:
$ fastboot reboot fastboot
Disable verify boot (AVB) by flashing vbmeta.img:
$ fastboot --disable-verification flash --slot all vbmeta vbmeta.img
Find your current slot:
$ fastboot getvar current-slot
Delete the product partition to free up space for the system partition (Current slot):
$ fastboot delete-logical-partition product_a
The postfix _a should match the slot ID from our last command.
Erase the system partition:
$ fastboot erase system
Flash the GSI:
$ fastboot flash system system.img
This will take a bit.
Now wipe userdata and reboot:
$ fastboot -w reboot
Other resources regarding flashing GSI's:
Google's instructions.
Known issues and releases.
Android 11 Installation and info, translate to read.
Reserved
Phone redmi 7a china variant. MIUI 12.5
My fathers phone suddenly bootloop in the middle of using, I use MI flash pro and flash using fastboot no luck, I used stock china rom miui 10, miui 12 global still no luck, i install TWRP 64 bit and flash recovery rom miui 12 and miui 10 still no luck i even flash custom PE still no luck , btw i use clean flashes wipe and format data. the phone just stock in redmi logo bootlooping, sometimes when i use fastboot flashes it work after i charge the phone but it wont last a couple of minutes and go black and bootloop again. i would like to ask what is wrong?, im not new in custom roms and phone tweakings but this trouble is pain.
My flash steps
NEW STEP for PINE only
1. format data and advance wipe vendor,internal,dalvik,data,system and cache
2. install rom and wipe cache, then format data again and reboot.
OLD STEP
1. advance wipe vendor,dalvik,data,system and cache
2. install rom wipe cache or skip and direct reboot.
download fastboot rom
Redmi 7A (pine) China Fastboot & Recovery ROM | XiaomiROM.com
Xiaomi Redmi 7A (pine) China official ROM, include stable, weekly and beta MIUI firmware which can be updated with Recovery and Fastboot (need mi …
xiaomirom.com
fextract and find vbmeta.img under images folder
Then
fastboot --disable-verity --disable-verification flash vbmeta C:\.../vbmeta.img
where "C:\.../vbmeta.img is replaced by the directory of vbmeta.img
LR7875 said:
download fastboot rom
Redmi 7A (pine) China Fastboot & Recovery ROM | XiaomiROM.com
Xiaomi Redmi 7A (pine) China official ROM, include stable, weekly and beta MIUI firmware which can be updated with Recovery and Fastboot (need mi …
xiaomirom.com
fextract and find vbmeta.img under images folder
Then
fastboot --disable-verity --disable-verification flash vbmeta C:\.../vbmeta.img
where "C:\.../vbmeta.img is replaced by the directory of vbmeta.img
Click to expand...
Click to collapse
thanks I'll try this..
LR7875 said:
download fastboot rom
Redmi 7A (pine) China Fastboot & Recovery ROM | XiaomiROM.com
Xiaomi Redmi 7A (pine) China official ROM, include stable, weekly and beta MIUI firmware which can be updated with Recovery and Fastboot (need mi …
xiaomirom.com
fextract and find vbmeta.img under images folder
Then
fastboot --disable-verity --disable-verification flash vbmeta C:\.../vbmeta.img
where "C:\.../vbmeta.img is replaced by the directory of vbmeta.img
Click to expand...
Click to collapse
btw , which first? do i flash the stock rom first then vbmeta.img ? thanks much appreciated.
Luffy83 said:
btw , which first? do i flash the stock rom first then vbmeta.img ? thanks much appreciated.
Click to expand...
Click to collapse
No no need flash stock ROM yet just flash the vbmeta, try flashing custom ROM and boot, if it does not work then try the stock rom
LR7875 said:
No no need flash stock ROM yet just flash the vbmeta, try flashing custom ROM and boot, if it does not work then try the stock rom
Click to expand...
Click to collapse
thanks ill try then, much appreciated
Luffy83 said:
thanks ill try then, much appreciated
Click to expand...
Click to collapse
I had the same problem. I explained what I did here: https://forum.xda-developers.com/t/...er-and-install-twrp-rom.4526205/post-87940671
I hope it helps if the method suggested by @LR7875 doesn't work haha