Can't flash rom in TWRP - Xiaomi Redmi 6 Pro Questions & Answers

Whenever I try to flash Xiaomi rom in twrp, I get an error message- e3004: this package is for "sakura_india" devices; this is a "sakura".
Even though my build.prop says- ro.product.device=sakura_india
I can flash rom using Mi Flash Tool. What can I do?

spsrijan said:
Whenever I try to flash Xiaomi rom in twrp, I get an error message- e3004: this package is for "sakura_india" devices; this is a "sakura".
Even though my build.prop says- ro.product.device=sakura_india
I can flash rom using Mi Flash Tool. What can I do?
Click to expand...
Click to collapse
Download roms from xiaomi.eu website
İ have same trouble
İ fixed problem with xiaomi.eu site's rom
İ have hm6PRO miui 10.3 stable.

Related

I cannot install xiaomi.eu. ERROR 7 in TWRP

I can't install xiaomi.eu for my mi5s. When I try to install I get error
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/xiaomi.eu_multi_MI5S_V8.5.2.0.MAGCNED_v8-6.0.zip'
md5 for this file is ok
Are you using Updater app?
You should not!
Use TWRP.
BTW, your device is unlocked, isn't it?
Error 7 is that the ROM is not for your phone.
bootloader version problem
You might have installed TWRP and tried to install EU rom.
Flash the latest chinese developer rom to update the bootloader, wipe and install the EU rom you want.
It'll solve the problem

I have brickeado the phone (Android 9)

I need your help please, my my a2 lite has stayed in the Bootloop, I also get a .bat error when flashing the official rom with My Flash I do not know what to do, and I get an error when installing a ROM with TWRP:crying::crying::crying:

How to flash MIUI 10 ROM and Firmware?

I'm planning on updating my Mi 5s to Lineage OS16 but I would first like to flash the latest firmware for the device. To do this I first need to flash the developer firmware and ROM from here. This however is not possible. To flash the ROM requires a previous version of MIUI to be installed since no "fastboot version" exists yet. In the past, a "fastboot version" of the ROM could be flashed using their XiaoMiFlash tool but since that version does not yet exist for MIUI 10, I'm forced to use the other method of flashing from the device itself. This would usually be fine, however, since I am on LineageOS, I am unable to flash MIUI from the device. Does anyone know how to flash MIUI 10 when their Mi 5s is using LineageOS? Any help is appreciated.
Rom flash procedure: https://forum.xda-developers.com/mi-5s/how-to/fastest-android-9-0pie-rom-xiaomi-mi-5s-t3929174
MIUI 10 download link: https://sourceforge.net/projects/xi...s/files/xiaomi.eu/MIUI-WEEKLY-RELEASES/9.5.9/
candemir2005 said:
Rom flash procedure: https://forum.xda-developers.com/mi-5s/how-to/fastest-android-9-0pie-rom-xiaomi-mi-5s-t3929174
MIUI 10 download link: https://sourceforge.net/projects/xi...s/files/xiaomi.eu/MIUI-WEEKLY-RELEASES/9.5.9/
Click to expand...
Click to collapse
This is exactly what I was looking for. Thank you very much!
Hey!
I too am having some troubles, but the linked XDA thread does not give an answer.
I want to install the MIUI 10 Global Stable form xiaomi eu (based on Oreo) (https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-10-3-10-4-stable-release.47170/), but after installation it does not boot.
I have tried the following:
I am coming from official LOS 16, and had my storage encrypted. Before installation of LOS16 I updated the firmware using xiaomifirmwareupdater.com to version 10.2.3.
Now, I wipe cache, dalvik, system and data and then install the zip from xiaomi.eu (https://androidfilehost.com/?fid=11410963190603906104), which does not throw an explicit error, but returns a [0] in TWRP. Then, when I reboot, TWRP gives the message "No OS installed"'. I continued anyways, and let the phone sit for 30 minutes, but it is stuck on a boot screen (different boot screen than I had with LOS though). I checked the MD5 hash, which is correct. Also, I performed exactly the same procedure another time.
Does anyone know how to solve this problem?
I though it might had to do something with the following:
- going from AOSP to MIUI?
- Having encrypted through LOS16?
- Having updated the firmware to 10.2.3, and the installing a 10.2.1 ROM (although the xiaomi eu roms have their required firmware baked into the zip right?)
Any help would be much appreciated!

Impossible to install custom rom with TWRP

Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, havoc, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.
edit: I tried to lock and relock bootlander, still geting the same error. I'm stuck on Oreo
bob_bricoleur said:
Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, havoc, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.
edit: I tried to lock and relock bootlander, still geting the same error. I'm stuck on Oreo
Click to expand...
Click to collapse
I think that i figured out something, I am able to flash system.img file using fastboot but I can't flash zip rom using recovery.
As anyone encounter this ?
Did you try reflash twrp latest version?

Bricked Xiaomi Mi 9 SE after wiping system

I decided to install Pixel Experience for my Mi 9 SE today with TWRP but I kept getting the message "android.process.media" has stopped so I decided to wipe dalvik, cache and system. After that, I reflashed the firmware and rebooted then my phone got bricked into a fastboot loop.
Then for hours I had tried hundreds of ways, including using XiaomiFlash that said flash vendor error (with the Global ROM) and using XiaomiTool v2 that somehow got the TWRP on (but unable to mount /system_root so I cannot flash anything else).
Then I followed this video and changed the datatype of /system but now I got the error:
"E3004: This package is for "grus" devices; this is a "".
Updater process ended with ERROR: 7....." So Error installing the ROM.
Can anyone please tell me what to do because I think I am about to go crazy
You had to FORMAT (not wipe) DATA (not system)
xanxusokumura said:
I decided to install Pixel Experience for my Mi 9 SE today with TWRP but I kept getting the message "android.process.media" has stopped so I decided to wipe dalvik, cache and system. After that, I reflashed the firmware and rebooted then my phone got bricked into a fastboot loop.
Then for hours I had tried hundreds of ways, including using XiaomiFlash that said flash vendor error (with the Global ROM) and using XiaomiTool v2 that somehow got the TWRP on (but unable to mount /system_root so I cannot flash anything else).
Then I followed this video and changed the datatype of /system but now I got the error:
"E3004: This package is for "grus" devices; this is a "".
Updater process ended with ERROR: 7....." So Error installing the ROM.
Can anyone please tell me what to do because I think I am about to go crazy
Click to expand...
Click to collapse
Hi, this is probably coming a little too late, but when something like this happens, you should reflash the stock ROM provided by Xiaomi:
https://c.mi.com/oc/miuidownload/detail?guide=2
Using either their MiFlash tool or doing it yourself from terminal via the flash_all script. Usually, the phone should be working again afterwards.
lachesis197 said:
Hi, this is probably coming a little too late, but when something like this happens, you should reflash the stock ROM provided by Xiaomi:
https://c.mi.com/oc/miuidownload/detail?guide=2
Using either their MiFlash tool or doing it yourself from terminal via the flash_all script. Usually, the phone should be working again afterwards.
Click to expand...
Click to collapse
Hi, im stuck in the same spot, my mi9se wont let me install any custom rom, i get error 7, 1 and everything but i cannot get out of the stock rom, can you please share the steps that you use (if you know) to sucessfully flash a custom rom on this cellphone?
Do not WIPE system and vendor. Just use the standard button in the first page of WIPE in the TWRP. I had the same problem with that and I got the solution only by flashing the Fastboot ROM (here: https://c.mi.com/in/miuidownload/detail?guide=2) with Mi Flash tool. Search more information about the instructions.
I saw something about flashing the vbmeta.img to solve the problem with the fastboot loop and without the fastboot rom, but I didn't check.
sebashebe said:
Hi, im stuck in the same spot, my mi9se wont let me install any custom rom, i get error 7, 1 and everything but i cannot get out of the stock rom, can you please share the steps that you use (if you know) to sucessfully flash a custom rom on this cellphone?
Click to expand...
Click to collapse
I got this error too and I solved with this TWRP version: https://forum.xda-developers.com/t/grus-recovery-twrp-3-4-0-2-mi9se.3949328/

Categories

Resources