Xiaomi.eu Roms Problems


Giovanni84

Members
Nov 19, 2016
12
13
hello, i have a redmi4 pro/prime, with china stable, after unlock the bootloader, i put the twrp took from your forum and tried to flash the xiaomi.eu roms... i tried with 6.11.10 and 6.11.17 and in both cases the installattion failed... can some one explain me what to do or where i do wrong?

i post down the photo of my phone system and the recovery error
 

Attachments

  • 7c535b66-55a1-487a-81d9-fcccea9df69a.jpg
    7c535b66-55a1-487a-81d9-fcccea9df69a.jpg
    166.5 KB · Views: 312
  • b3900099-c5bf-40e5-940b-a84a94031770.jpg
    b3900099-c5bf-40e5-940b-a84a94031770.jpg
    221.3 KB · Views: 334
Your TWRP is wrong.. Install TWRP_markw.zip if you have Redmi 4 Prime/Pro

~Tapatalk Mi5~
 
It seems that the unofficial recovery (yes, cofface's recovery is still an unofficial recovery) can't recognize correctly the model of the phone, so when it does the check to see if the rom that you're installing and the phone are the same you get the message Error 7 this rom is markw this phone is " " and the installation fails.

FIX:
you can just remove from the rom the check, that's a really dangerous tweak cause it basically allows you to install a rom that's not made for your phone, but in this case who cares.

Using winrar enter in the rom,
META-INF - com - google - android
and open USING NOTEPAD ONLY the file updater-script

Remove the first line

getprop("ro.product.device") == "markw" || getprop("ro.build.product") == "markw" || abort("This package is for \"markw\" devices; this is a \"" + getprop("ro.product.device") + "\".");

The script must begin with:
ui_print("Target: bla bla bla bla

Enjoy!
 

Attachments

  • 15170917_10211493460435305_5072988892366408881_n.jpg
    15170917_10211493460435305_5072988892366408881_n.jpg
    34.9 KB · Views: 299