[NEWS] Required firmware for custom roms - Xiaomi Redmi 5A Guides, News, & Discussion

Hello everyone,
We all know that Redmi 5A(riva) officially shifted with Android Nougat and it got good development with various custom roms. Later riva got Android Oreo update and users who were flashing custom rom at the top of oreo firmware was facing bootloop or several issues if it boots.
To prevent such issues, i enforced Nougat Firmware V10.1.1.0.NCKMIFI and it will be necessary to flash that firmware before flashing the rom (once only) else it will show error. Currently, Lineage OS 16.0 comes with enforced firmware and upcoming rom will have that too!
Note : Users who are on MIUI Oreo and if they want to rollback to nougat firmware for flashing custom rom, they are required to flash nougat fastboot rom or follow this post .
Related Download Links
Fastboot Rom: V10.1.1.0.NCKMIFI
Rollback without using MI Flash Tool: Post
Firmware: V10.1.1.0.NCKMIFI

help
uploaded the finished file here, bro

Can I use this method on Xiaomi.Eu Miui 11?
I got Xiaomi.Eu version and twrp oreo right now
Can I flash this fw and recovery over it and then flash custom rom?

Balkan99 said:
I got Xiaomi.Eu version and twrp oreo right now
Can I flash this fw and recovery over it and then flash custom rom?
Click to expand...
Click to collapse
Ofcourse

sunnyraj84348 said:
Hello everyone,
We all know that Redmi 5A(riva) officially shifted with Android Nougat and it got good development with various custom roms. Later riva got Android Oreo update and users who were flashing custom rom at the top of oreo firmware was facing bootloop or several issues if it boots.
To prevent such issues, i enforced Nougat Firmware V10.1.1.0.NCKMIFI and it will be necessary to flash that firmware before flashing the rom (once only) else it will show error. Currently, Lineage OS 16.0 comes with enforced firmware and upcoming rom will have that too!
Note : Users who are on MIUI Oreo and if they want to rollback to nougat firmware for flashing custom rom, they are required to flash nougat fastboot rom or follow this post .
Related Download Links
Fastboot Rom: V10.1.1.0.NCKMIFI
Rollback without using MI Flash Tool: Post
Firmware: V10.1.1.0.NCKMIFI
Click to expand...
Click to collapse
how to upgrade again to oreo? i have flashed miui global firmware via recovery, after boot into setup, device is reboot back to recovery mode. do i need to flash with miflash?

Danisp said:
how to upgrade again to oreo? i have flashed miui global firmware via recovery, after boot into setup, device is reboot back to recovery mode. do i need to flash with miflash?
Click to expand...
Click to collapse
Just flashing nougat fw from recovery won't work, flash is from miflash tool or follow the post and if you want to upgrade it to oreo fw then you can directly flash from recovery or flash from miflash tool.

sunnyraj84348 said:
Just flashing nougat fw from recovery won't work, flash is from miflash tool or follow the post and if you want to upgrade it to oreo fw then you can directly flash from recovery or flash from miflash tool.
Click to expand...
Click to collapse
am already on nougat firmware, now i'm use your los-17.1, and i want to be back to miui oreo, i have installed oreo firmware and oreo recovery, but when i flash the miui global oreo, it stuck on setup and boot back to recovery.

Related

go to higher version recovery zip file from rooted miui 8

hi
i have miui 8 lolipop rooted and twrp. now i want go to miui 8 marshmallow with official recovery zip file. what can i do to not locking bootloader again and get rooted ?
if i change boot.img from new downloaded rom with kitchen that will work ? or needs do more other works ?
thanks
Why rush to Marshmallow?
But, if you want to flash it, there is a thread on MIUI forum for Marshmallow Kate ( bootloader unlock, TWRP and root ).
My suggestion would be to wait for a while, and see how the situation with MM works out. No need to rush. It's not that you REALLY NEED Marshmallow in your life.
And whats wrong with MM?
my china dev 6.11.3 is stable and smooth, also inbuilt root
you need cofface or ZCX twrp to flash official ROMs without patch.
also if you have official unlocked BL then you can unlock it as many times you want/need on dev rom.
i suggest china dev, china firmware is better imo and I have tried all 4 variants for kenzo.
you can also flash it through miflash with fastboot ROM, thats how I do it, I got bootloop few times when flashing recovery and I used cofface twrp...

How to upgrade to latest miui dev rom 7.6.7?

Hello,
I am currently using NOS rom and The Strix firmware mentioned in the official LOS 14.1 thread. But I am having various signal problems with the firmware and any other firmware does not work with nougat roms.
So, I just want to flash the rom so as to have the latest firmware and a marshmallow bootloader and be able to flash Nougat roms without any hiccups..!
Can anyone help me?
P.S i think that I have to simply flash the rom with supersu and lazy patcher in the twrp recovery, after clearing the data. But, I am not sure.
@pulkit said:
Hello,
I am currently using NOS rom and The Strix firmware mentioned in the official LOS 14.1 thread. But I am having various signal problems with the firmware and any other firmware does not work with nougat roms.
So, I just want to flash the rom so as to have the latest firmware and a marshmallow bootloader and be able to flash Nougat roms without any hiccups..!
Can anyone help me?
P.S i think that I have to simply flash the rom with supersu and lazy patcher in the twrp recovery, after clearing the data. But, I am not sure.
Click to expand...
Click to collapse
You flash the latest global dev rom in fastboot, using Miflash.

Every rom stucks in bootloop except nitrogen os 8.1 latest build

i have unlocked my rn3 (kenzo ) by unofficial method by flashing LP miui rom nd changing bootloder file but then i installed nitrogen os 8.1 it booted successfully but then i tried 3-4 roms none of them booted plz help ;_;
Update to latest firmware , for that just flash latest miui in your phone and then install twrp and install any rom and enjoy
Unlock it officially
Use miflash upgrade firmware to miui8 or miui9. Install twrp see video https://www.youtube.com/watch?v=l9FFL7PUn6A
Flash an other firmware: lineageos, cosmic os...

GSI / Treble related question

Hi Guys,
i am currently flashing different GSI to my Galaxy A20e.
Since the experimental TWRP only worked after i flashed an Adroid 9 based Stock firmware, i was until now also only able to flash Pie based GSI using TWRP.
The Q Based GSI won´t boot.
Does it make a difference wich stock FW i flashed before installing TWRP and flashing the GSI.
Is a flashed Q Stock FW required to install Q based GSI?
As far as i thought the Stock FW does not affect these parts, since i was able to flash the GSI even after breaking the installed FW..
Thanks in advance!

[How-to] Flash GSI ROM for your Redmi K30 5G

Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
siamese007 said:
Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
Click to expand...
Click to collapse
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
abhi281 said:
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
Click to expand...
Click to collapse
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
siamese007 said:
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
Click to expand...
Click to collapse
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
abhi281 said:
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
Click to expand...
Click to collapse
If you followed my method correctly but get bootloop, it means this GSI ROM is not compatible with the device. You need to look for the others. You can test flashing GSI ROMs by using phhusson's GSI ROMs here. His ROMs are the most success ROMs so far. I always use his ROMs to test flashing GSI ROMs for any devices before looking for other ROMs to suit my needs.
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
siamese007 said:
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
Click to expand...
Click to collapse
There are no other ROMs in that link. Only AOSP.
abhi281 said:
There are no other ROMs in that link. Only AOSP.
Click to expand...
Click to collapse
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
siamese007 said:
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
Click to expand...
Click to collapse
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
abhi281 said:
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
Click to expand...
Click to collapse
It should be less than 5-10 minutes after the GSI logo boot up.
siamese007 said:
It should be less than 5-10 minutes after the GSI logo boot up.
Click to expand...
Click to collapse
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
abhi281 said:
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
Click to expand...
Click to collapse
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
siamese007 said:
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
Click to expand...
Click to collapse
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
abhi281 said:
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
Click to expand...
Click to collapse
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Edit: Please note that if you could boot up GSI Logos but get bootloop, it's usually because firmware issues. However there are some GSI ROMs that are not compatible with the firmwares of the devices.
Flashing GSI ROMs are pure OS with no firmwares for Android devices which supports Project Treble like installing Windows on PC. Before that the manufacturers have to build Stock ROMs with firmwares. Right now the manufacturers just build firmwares. This is the main concept of Project Treble.
siamese007 said:
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Click to expand...
Click to collapse
Ok, I have downloaded TWRP3.5 for this device and will flash latest China stable firmware (12.1.6 for K30 5G). I will try those A11 GSI again and also downloaded A10 based OxygenOS GSI.
Let's see what happen....
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition
Click to expand...
Click to collapse
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
Click to expand...
Click to collapse
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
abhi281 said:
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
Click to expand...
Click to collapse
Glad that you could flash some GSI ROMs successfully. Actually other than Descendant XI ROM, I could flash and boot some other ROMs as follow:
1. crDroid A11
2. Fluid OS A11
3. Nusantara OS A11
4. StagOS A11
5. LineageOS A11
6. Havoc OS A11
You can find a big vault of GSI ROMs here. There are tens of GSI ROMs to test as far as their unpacked file sizes do not exceed /system partition of the target devices.
Right now crDroid is my most favorite GSI ROM. You can download and test it here.
The reasons why I like this ROM are from stability and least issues and glitches.
I have tested tens of GSI ROMs and many of them have some issues for playing games which fully utilize hardware resources.
When I tested playing games on some ROMs, the games will crash within 15 minutes. But on crDroid ROM, I could play as long as hours with no problem at all.
There are some other glitches about playing streaming VDOs for some other ROMs as well.
By the way, there are different versions of crDroid from different developers. But I tested crDroid ROMs from the link above.
Edit: I usually download Open Camera app for Camera. This app works well just like the camera app that comes with MIUI.
abhi281 said:
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
Click to expand...
Click to collapse
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
siamese007 said:
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
Click to expand...
Click to collapse
The ROM I am looking for (OxygenOS) has no vanilla versions, I didn't find any
Note: Custom recovery having issues with GSI, I can't flash Magisk with OrangeFOX. Flashing is ok with no error, but after re-booting the device, no magisk in the system! Because of encryption problem? base firmware is MIUI China stable, custom recovery may be not supporting encryption of China firmware.

Categories

Resources