[Solved] Redmi Note 7 Pro Violet, couldn't flash the ROM : firmware MIUI 9.5.14

At the last step (Installing /e/ from recovery => adb sideload e-0.14-p-2021012798470-dev-violet.zip),
I receive the following message
error : This package requires firmware from MIUI 9.5.14 or newer. Please upgrade firmware and restart and retry!

Can I solve this problem, I have no backup , nor other ROM for my devices. And if I try to reboot , the device is rebooting continuously …
How can I proceed?

Thanks in advance for your responses.
Michel

nb : I’m a newbie

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

If you have the previous installed ROM image available, you can flash it over using a key-combo to boot to recovery.

I follow this https://romfirmware.com/stock-rom/xiaomi/xiaomi-redmi-note-7-pro-violet-qualcomm-firmware-for-flashtool-fastboot-tgz/
And I found back my device
To summarize and help other people :

  1. Download violet_images_V10.3.5.0.PFHCNXM_20190510.0000.00_9.0_cn_acb5f32f11.tgz
  2. Unzip the file
  3. Download Xiaomi Flash Tool : https://xiaomiflashtool.com/
  4. Run XiaoMiFlash.exe
  5. Select violet_images_V10.3.5.0.PFHCNXM_20190510.0000.00_9.0_cn_acb5f32f11\violet_images_V10.3.5.0.PFHCNXM_20190510.0000.00_9.0_cn_acb5f32f11\violet_images_V10.3.5.0.PFHCNXM_20190510.0000.00_9.0_cn
  6. Choose option “Clean all” at the bottom
  7. Refresh
  8. Flash
    After few minutes , the result will said something like failed in red but if you reboot your device you will have the version 10 of miui.
  1. Download violet_images_V10.3.5.0.PFHCNXM_20190510.0000.00_9.0_cn_acb5f32f11.tgz

To solve the issue of “This package requires firmware from MIUI 9.5.14 or newer. Please upgrade firmware and restart and retry!”

I’ve applied this solution : community.e.foundation/t/redmi-note-7-pro-violet-couldnt-flash-the-rom-zip-treble-compatibility-error/12940

To summarize :
1)Unzip the e-0.14-p-2021012798470-dev-violet.zip
2) Delete the file compatibility.zip
3) Go to …\e-0.14-p-2021012798470-dev-violet\META-INF\com\google\android
4) Open the file updater-script with Notepad++ (https://notepad-plus-plus.org/)
5) Delete the second line
6) Save and close the file update-script
7) Go to …\e-0.14-p-2021012798470-dev-violet directory
8) Zip the solution
9) Follow the instruction from “Installing /e/ from recovery” : doc.e.foundation/devices/violet/install
And it works for me :crazy_face:

I don’t understand what I did, I’m newbie, I just followed the instructions … Now I’d like to understand from the begining (twrp, fastboot , …)

Any remarks , comments ?

Additional interesting video : https://www.youtube.com/watch?v=r3R9kiBIx34

You’re facing a firmware level check, maybe inherited from LineageOS.

To ensure it will run smoothly, an Android ROM must relies on firmware at compatible level.
So the installation script includes a firmware level check.

Older firmware may run your Android ROM without noticeable problems, but you’re highly recommended to install latest firmware or the whole MIUI.

Please see more technical details here : Redmi Note 7 Pro (violet), couldn't flash the ROM: Zip Treble compatibility error or directly https://gitlab.e.foundation/e/backlog/-/issues/476#note_27505

BTW latest stable firmware and MIUI for your device is V12.0.5.0.QFHINXM (https://xiaomifirmwareupdater.com/firmware/violet/ and https://xiaomifirmwareupdater.com/miui/violet/, India version).
Please avoid downloading firmware or ROM from random sources, they may include crap.

PS : if you had MIUI installed previously, latest MIUI & firmware should have been available as an OTA update.

Because of this problem, in case of an /e/ OS update in the future (that I accept to do), is there a danger that my device doesn’t reboot correctly and that I loose my data ?
If yes how can I solve this ? Open an /e/ account ? other ?
Are there /e/ OS OTA update ?
Thanks.
M/

It’s unlikely you will loose data, but your phone can misbehave in some unpredictable ways …
If it’s currently booting ok, this may not change unless you apply another ROM or upgrade (please see at bottom about updates and upgrades).

Please read carefully this page : https://doc.e.foundation/devices/chiron/upgrade
This upgrade page is missing for violet, but I think it can apply to all Xiaomies.

If you wish to upgrade your baseband, I think that the best path would be to :

  • backup all your data, record installed apps
  • flash latest MIUI, ideally at the latest level (YOU WILL LOOSE ALL YOUR DATA)
  • perform a MIUI OTA update/upgrade
  • unlock the phone (YOU WILL LOOSE ALL YOUR DATA, again …)
  • install TWRP then latest /e/ ROM available, at first without modifying the install script

Alternative path, easiest :

  • backup all your data, record installed apps
  • within TWRP, flash latest firmware
  • cross some fingers, reboot phone, enjoy

If your /e/ ROM is official (you got it from /e/ downloads page), you will get OTA updates for the Android version you have (in example 0.14 Pie to 0.15 Pie).
But, most likely, not OTA upgrades (in example from Pie to Q).