Struck at Error:7 twrp "this package requires firmware from miui 9.5.14"

Starksm

Member
Nov 8, 2015
25
4
0
So I was initially on pixel experience 9.0 plus for my redmi note 7 pro and then decided to flash MIUI V11.0.5.0.PFHINXM via TWRP recovery. After flashing, the phone booted normally. Then I switched the rom to Pixel Experience 10. I didn't like the rom so thought of coming back to 9.0-pixel-experience but when I tried to do so, I got the error Error:7 twrp "this package requires firmware from miui 9.5.14" update your firmware. I tried updating the firmware too by flashing firmware from https://xiaomifirmwareupdater.com/firmware/violet/ but nothing seemed to work. Later I tried flashing pixel experience 10 and got the error. Now I am not able to flash any other rom other than Miui. Can someone help me to fix it, please?

ps: I have already tried flashing factory images of latest miui roms and that has not solved the problems.
 

gursewak.10

Senior Member
Sep 16, 2013
420
228
0
punjab
try flashing stable fastboot rom with option flash all.
then flash orangefox recovery with fastboot and then try.
flashing fastboot rom will undo anything happened to any partition
 

Starksm

Member
Nov 8, 2015
25
4
0
Seemed like it would have worked

try flashing stable fastboot rom with option flash all.
then flash orangefox recovery with fastboot and then try.
flashing fastboot rom will undo anything happened to any partition
I already tried flashing the latest Fastboot image and then tried flashing again. It still doesn't work.
 

gursewak.10

Senior Member
Sep 16, 2013
420
228
0
punjab
are you formatting data before flashing??
when you format data there is no residue left of previous roms.
try format data then flash fastboot rom with "flash all" and then install recovery, try orangefox .
 

Starksm

Member
Nov 8, 2015
25
4
0
Yes

try flashing stable fastboot rom with option flash all.
then flash orangefox recovery with fastboot and then try.
flashing fastboot rom will undo anything happened to any partition
are you formatting data before flashing??
when you format data there is no residue left of previous roms.
try format data then flash fastboot rom with "flash all" and then install recovery, try orangefox .
I first erased everything from wipe and then even removed system,data,cache from advance wipe and then flashed. Whenever I try to flash any rom, it fails at the manifest check and gives the above said error. I even tried flashing the latest firmware. Nothing seem to work for me and now I am stuck at Miui?.
 

gursewak.10

Senior Member
Sep 16, 2013
420
228
0
punjab
I first erased everything from wipe and then even removed system,data,cache from advance wipe and then flashed. Whenever I try to flash any rom, it fails at the manifest check and gives the above said error. I even tried flashing the latest firmware. Nothing seem to work for me and now I am stuck at Miui.
i guess the rom file you are trying to install is either corrupted or checking for something.
could you upload updater-script file from meta-inf/com/google/Android folder from the rom you are trying to flash which is giving this error.
 

Starksm

Member
Nov 8, 2015
25
4
0
Please find the screenshot attached.

i guess the rom file you are trying to install is either corrupted or checking for something.
could you upload updater-script file from meta-inf/com/google/Android folder from the rom you are trying to flash which is giving this error.
Btw every rom has that updater line that I have highlighted. If I remove the assert function from the updater, the rom will get flashed but I just want to know why the issue is happening.

https://drive.google.com/file/d/1-7X0FyJH37mjOxVZcpdnb-STaxM2V_BO/view?usp=drivesdk
 

gursewak.10

Senior Member
Sep 16, 2013
420
228
0
punjab
its for checking, so you cannot flash the rom over a very old version of the stock rom which makes flashed rom not work properly or not booting at all.
they build roms over a specific version on which they test to have it working fine during all phases.
so thats why developers have it to keep a check over version of the rom you are installing upon. so that it has no conflicts between integration in future for running the rom.
moreover i see the version of your rom is old and may have a new version ,so try to have an updated version of the rom which may flash fine.
 
Last edited:
  • Like
Reactions: Starksm

Starksm

Member
Nov 8, 2015
25
4
0
I tried flashing the lastest today's built of mokee and still the same error

its for checking, so you cannot flash the rom over a very old version of the stock rom which makes flashed rom not work properly or not booting at all.
they build roms over a specific version on which they test to have it working fine during all phases.
so thats why developers have it to keep a check over version of the rom you are installing upon. so that it has no conflicts between integration in future for running the rom.
moreover i see the version of your rom is old and may have a new version ,so try to have an updated version of the rom which may flash fine.
https://drive.google.com/file/d/1-EJlMd23ZJXa-Q_G9GCnkAN1oXTPxyGT/view?usp=drivesdk
 

Starksm

Member
Nov 8, 2015
25
4
0
Hey! thanks for helping with your solutions. My issue was solved by flashing the latest INDIAN MIUI FIRMWARE. I can now easily flash any rom without any problems. Thanks
 

cssk19

Member
Dec 30, 2016
25
2
3
Please, can you explain the process, because even I'm getting firmware update error while flashing PE10 even after flashing latest Indian firmware before flashing Custom ROM, Tried Official TWRP, Peter TWRP booth. This started after update of MIUI-11, There was no such issue with MIUI10.