I would like to flash e-foundation ROM to newly purchased Xiaomi Redmi Note 7 Pro (violet), however having difficulties doing it. I am following the official guidelines for the device, but I am stuck at the last step. To be particular, when I sideload the zip file, I am getting an error, which can be seen in the below screenshot:
About your last error, this is an extract from the install script : assert(xiaomi.verify_baseband("4.3.c2-00018-SM6150_GEN_PACK-2","4.3.c2-00021-SM6150_GEN_PACK-1","4.3.c2-00022-SM6150_GEN_PACK-1") == "1" || abort("ERROR: This package requires firmware from MIUI 9.5.14 or newer. Please upgrade firmware and retry!"););
The “baseband” is somewhat related to country (flavor) and firmware level.
For this device, there are China and India/Global (India has been sold as Global …).
It can be checked in Miui, Settings/About.
I couldn’t find any cross-reference between baseband and Miui version
Some people trying to flash a custom ROM, as you are, simply delete the line from the install script.
Interesting link to keep if something goes wrong : https://romfirmware.com/stock-rom/xiaomi/xiaomi-redmi-note-7-pro-violet-qualcomm-firmware-for-flashtool-fastboot-tgz/
I’ve removed compatibility.zip from zip, and the baseband assertion line from META-INF/com/google/android/updater-script, and viola, it worked. Thanks very much, @smu44.
I was happily using /e/ for a while, then I got system notification saying a new update is available via OTA. I downloaded, restarted, and then I stuck in bootlooping. I can go to fastboot, however not to recovery mode. I tried both flashing and booting TWRP via fastboot, it says it was successful, however I still cannot go to recovery. I am not sure if
fastboot erase userdata
would help as it did on initial installation, however I want to see if it can be done without. Any suggestions on how to solve the problem, or at least to open recovery mode?
first thanks for the tip with the “compatibility.zip” and remove the line. So I was able to install /e/ Android on the Redmi Note 7 pro.
But twrp showed after the adb sideload that no system was installed, was it the same for you?
I restarted the phone, /e/ Android was installed. Why does twrp not recognize this?
I have installed the first 0.9 version.
Could you now install a new version via twrp?
“No system installed” is common for Xiaomi (and others ?), you can ignore it.
To install a new version if you have to modifed .zip at first install, do exactly the same :
download to PC, edit .zip
copy .zip to phone, anywhere visible in Files app
boot recovery TWRP
install (TWRP button), choose .zip (/sdcard or /data/sdcard), wipe Cache/Dalvik
So do I have to do it this way with every new version now?
Download the new version to my PC, unzip it, delete the “compatibility.zip” and the one line from the “updater-script”, then transfer it to my mobile by sideload?
Is it enough if I only delete the Dalvik Cache? That’s how I always do it with my Pocophone.
As long as /e/ builds will include these checks, unfortunately yes
I don’t know if this comes from Android, LineageOS, or /e/ , so you might want to ask directly the /e/ devs : https://doc.e.foundation/how-tos/report-an-issue
It is recommended to wipe both Dalvik & Cache partitions.
Install TWRP screen may include a button for that purpose, if it doesn’t :
Your datas are in Data, Internal Storage, Micro SD Card.
I had the same problem for months for my chiron, it was a firmware level problem.
Using 7Zip on Windows you can avoid un-re-packing .zip, so the entire operation goes quite fast
is it possible that the offered firmware for the Redmi Note 7 pro is for the version without LTE? So NOT the Global Redmit Note 7 pro version?
Yesterday I got another grade 7 pro (Global) and tested it with the Xiaomi firmware, so I got 4G or LTE. Nevertheless I had to change the firmware, like the last time, so I could install it.
Would be interesting to know.
Thank you
Just tested on a Redmi Note 7 Pro violet which was on Android 10 latest stock build with july security patch.
Downloaded the TWRP image from here ver I used was 3.3.1-2 (this was as some of our users have been complaining about issues with the latest TWRP versions)
Flashed the TWRP image first and then went on to the below steps …
Note after fastboot reboot you have to manually press the volume up and power key to get into TWRP menu