Error "Can't verify update" after update manually - Xiaomi Mi 5 Questions & Answers

Hello all,
I recently puchased a mi5 standaard and it is full of bloat- and adware, so i wanted to reflash the MIUI ROM from their website.
I tried the Chinese devolpment ROM and the global stable but they both don't work. I copy them to interna storage, open update app, choose update package and then i select the zip file.
I get the error popping up "Can't verify update", and yes i'm connected to WLAN.
Thanks!
SOLUTION: flashed it via MiFlash using the guide on the Xiaomi subreddit.

Related

[eu.miui 10] Is it safe to use the "choose update package" in the Updater App?

[eu.miui 10] Is it safe to use the "choose update package" in the Updater App?
Dear community,
I tried to update my eu.miui 10 via the updater app. The app showed me that there is a new version but when I click on download it said something like "you already have the latest version" (which I don't but I read that the OTA does not work well always).
So I tried update via fastboot but I cant boot to TWRP for unknown reasons.
That's why I thought if I can try to update via the "choose update package" option within the updater app?
I would just like to know if it's safe to use that method or if I can brick the device or loose data when I use this way?
thanks and kind regards,
undefined
flash TWRP again
undefined999 said:
Dear community,
I tried to update my eu.miui 10 via the updater app. The app showed me that there is a new version but when I click on download it said something like "you already have the latest version" (which I don't but I read that the OTA does not work well always).
undefined
Click to expand...
Click to collapse
I have also this issue "you already have the latest version" i noticed when i press on download there is a 32k size file on the main SD card which was needed to be the right update
and even if i try to delete it and press again on download It repeats itself agian
so i never update via updater only twrp
it would be nice if there is a fix for this issue.

Updater process ended with ERROR: 1

Hello, help would be amazing as this is my 2nd day trying to root my xPeria XZ Premium!
I've finally flashed twrp , I'm trying to install this rom:
https://forum.xda-developers.com/xz-premium/development/kernel-sony-xz-premium-5-2018-t3784669
But I'm getting stuck when trying to install magisk, OR move any zip files from my SD card to my Internal Storage.
Could anyone guide me through how to resolve this? :crying:
Have unlocked boot loader?
Need to format data first
xStatiZx said:
Hello, help would be amazing as this is my 2nd day trying to root my xPeria XZ Premium!
I've finally flashed twrp , I'm trying to install this rom:
https://forum.xda-developers.com/xz-premium/development/kernel-sony-xz-premium-5-2018-t3784669
But I'm getting stuck when trying to install magisk, OR move any zip files from my SD card to my Internal Storage.
Could anyone guide me through how to resolve this? :crying:
Click to expand...
Click to collapse
Hey my dude follow these steps, in twrp select wipe->format data (You'll lose all your files) now try flash the rom, you should find a custom kernel for your device as well and install it after the rom. If the Kernel doesnt install magisk now would be a good time to do it :highfive:
Matthewwwww1998 said:
Hey my dude follow these steps, in twrp select wipe->format data (You'll lose all your files) now try flash the rom, you should find a custom kernel for your device as well and install it after the rom. If the Kernel doesnt install magisk now would be a good time to do it :highfive:
Click to expand...
Click to collapse
This isn't necessary. Just extract boot.img from whatever rom.zip you're using, flash that in recovery, reboot to recovery again and magisk should install.
murph187 said:
This isn't necessary. Just extract boot.img from whatever rom.zip you're using, flash that in recovery, reboot to recovery again and magisk should install.
Click to expand...
Click to collapse
You're a GOD. Thank You!!!!!
updater process ended with error: 1
I was able to install magisk but after that if i try to install nethunter I get this same error. I am using redmi 4(santoni). have installed lineage OS 15.1
Can someone please help me?
logs
I had similar error shown below while installing a custom ROM:
Error applying update: 7 (ErrorCode:: kInstallDeviceOpenError )Updater process ended with ERROR: 1 Error installing zip file
Solved by using slightly older version of TWRP
i try and didnt work how to extract boot image in steps ??
magicstep said:
I had similar error shown below while installing a custom ROM:
Error applying update: 7 (ErrorCode:: kInstallDeviceOpenError )Updater process ended with ERROR: 1 Error installing zip file
Solved by using slightly older version of TWRP
Click to expand...
Click to collapse
which version you use
murph187 said:
This isn't necessary. Just extract boot.img from whatever rom.zip you're using, flash that in recovery, reboot to recovery again and magisk should install.
Click to expand...
Click to collapse
Hi, which option may i have to choose? there are 4 options
magicstep said:
I had similar error shown below while installing a custom ROM:
Error applying update: 7 (ErrorCode:: kInstallDeviceOpenError )Updater process ended with ERROR: 1 Error installing zip file
Solved by using slightly older version of TWRP
Click to expand...
Click to collapse
3.2.2 worked for me.
In my case unmounting all the partitions fixed it for me, the boot.img method didn't work.
magicstep said:
I had similar error shown below while installing a custom ROM:
Error applying update: 7 (ErrorCode:: kInstallDeviceOpenError )Updater process ended with ERROR: 1 Error installing zip file
Solved by using slightly older version of TWRP
Click to expand...
Click to collapse
I had flashed new version on firmware but forgot to update TWRP recovery that is why I was getting this error. I updated TWRP recovery. also flashed boot.img image then I was able to fix this issue.
guys please help me i have xiaomi mi a2 lite whit twrp 3.5.0_9 installed and unlocked bootloader i downloaded android 11 rom link: https://forum.xda-developers.com/t/rom-11-0-daisy-aosp-11-0.4167961/. When i go to recovery mode i flash the rom and appears this error: Updater process ended whit error: 1 to flash additional zips please reboot recovery to switch to the updated slots. Error installing zip file rom.zip. please help me.
THANKS
samyxy said:
guys please help me i have xiaomi mi a2 lite whit twrp 3.5.0_9 installed and unlocked bootloader i downloaded android 11 rom link: https://forum.xda-developers.com/t/rom-11-0-daisy-aosp-11-0.4167961/. When i go to recovery mode i flash the rom and appears this error: Updater process ended whit error: 1 to flash additional zips please reboot recovery to switch to the updated slots. Error installing zip file rom.zip. please help me.
THANKS
Click to expand...
Click to collapse
I was having the same issue... After hours of research I finely managed to fix it. Try the following:
1 - Install TWRP (I also had the 3.5.0_9 version).
2 - Format data and wipe all the advanced options possible.
3 - Download the program "payload_dumper-win64".
3.1 - Following the payload dumper instructions, I've copied the payload.bin from my custom ROM to the payload_input folder.
3.2 - Execute payload_dumper.exe and wait, a lot!
3.3 - Copy the resulted files (boot.img, system.img, vendor.img) in to the phone.
4 - In TWRP, go to install, select from images, and, one by one, install the images you've just copied.
4.1 - Note that during the install process, you will have to select the correct "slots" to flash the images. In my case, there where to options for system and vendor. I've chosen the "System Image" and "Vendor Image" option.
5 - Restart.
That's it! I didn't had to change slots nor wipe data after the installation... I don't know if this was the correct approach, but after many tries this is what worked for me
Sorry about my bad english...
Sometimes it is caused due to corrupted file. While transferring file through MTP it is likely to corrupt large files. I had the same problem. Then I tried copying file while in TWRP (sure it is also MTP) and it worked.
PendiukG said:
I was having the same issue... After hours of research I finely managed to fix it. Try the following:
1 - Install TWRP (I also had the 3.5.0_9 version).
2 - Format data and wipe all the advanced options possible.
3 - Download the program "payload_dumper-win64".
3.1 - Following the payload dumper instructions, I've copied the payload.bin from my custom ROM to the payload_input folder.
3.2 - Execute payload_dumper.exe and wait, a lot!
3.3 - Copy the resulted files (boot.img, system.img, vendor.img) in to the phone.
4 - In TWRP, go to install, select from images, and, one by one, install the images you've just copied.
4.1 - Note that during the install process, you will have to select the correct "slots" to flash the images. In my case, there where to options for system and vendor. I've chosen the "System Image" and "Vendor Image" option.
5 - Restart.
That's it! I didn't had to change slots nor wipe data after the installation... I don't know if this was the correct approach, but after many tries this is what worked for me
Sorry about my bad english...
Click to expand...
Click to collapse
It's legit procedure. Also you don't need to manage slots here, caz recovery automatically does that for you.
Hello guys, i'm from Russia, sorry for my bad English. I using Poco X3 Pro, and i have some troubles. I wanted to install custom firmware. First ROM
delivered successfully, unlike the second. After clearing all sections except sd cart and otg, I tried to install the original MIUI build, but it didn't work. I downloaded the original MIUI, but still. When installing, it says: "Update process ended with ERROR: 1" The methods from the top didn't help, please help!
Sushanthn94 said:
updater process ended with error: 1
I was able to install magisk but after that if i try to install nethunter I get this same error. I am using redmi 4(santoni). have installed lineage OS 15.1
Can someone please help me?
logs
Click to expand...
Click to collapse
Kali Nethunter on redmi 4x (santoni) is updated here:
Releases · Neternels/android_kernel_xiaomi_msm8937
Redmi 4X (santoni) NetHunter Kernel. Contribute to Neternels/android_kernel_xiaomi_msm8937 development by creating an account on GitHub.
github.com
Follow it and flash firmwares (if needed).

Redmi K20 Pro update issues

I am currently using Redmi K20 pro Indian version(rooted), and I have some problem updating to MIUI 11. I got the Stable OTA from updater app but after I clicked on reboot with took me to TWRP and I installed it from there but I got some error. After rebooting to system the file went missing and the vanished as it is partial roll out. So I downloaded the zip file for K20 Pro from XDA developers and I got "Error 7" and "Invalid zip file" from TWRP while installing it. I searched on YouTube for solutions, but they said to delete a line witch is not there in my file. And also to delete the compatibility zip file which I deleted, but still I was getting "Error 7" on TWRP
Please help me to update my device.

MI 9T Pro - System update with TWRP - Verification failed

Greetings.
So I recently rooted my MI 9T Pro with no problem at all. That worked like a charm.
Now there's a system update and I was like "Yeah, why not" but I am currently stuck. What did I do?
- Downloaded the zip-package (RAPHAELE...V 11.0.3.0 EU Version)
- copied it to a new folder, just in case
- Settings -> My Phone -> System-Update -> tap the three dots and "choose update package" and picked the copied file
- MI restarts in TWRP-mode, so far...so good.
Now everything was encrypted but I managed to decrypt my folders with TWRP -> Mount -> Decrpyt Data.
After that I take Install -> the copied zip file -> Swipe to confirm Flash -> and BAM "Zip signature verification failed!".
Now what? I am not sure if I am missing something of if I am just dumb......or maybe both. ^^
Any suggestions? I would like to keep my phone if that's possible. Just the update, no hard reset.
Thanks and greetings from Germany!
T_Z_P
Hm, nobody?
Is it a lack of information or am I missing something?
Hey, have you checked if "Zip Signature Verification" is enabled inside the TWRP Settings? If yes, disable it and you should be good to go.
I can choose between "Zip verification failed" or "File is corrupt", when I disable the verification. Man, why is it so damn complicated....
T_Z_P said:
I can choose between "Zip verification failed" or "File is corrupt", when I disable the verification. Man, why is it so damn complicated....
Click to expand...
Click to collapse
What TWRP are you using? Try the latest from Mauronofrio, if you're not using it already.
It's it still doesn't work, try manually flashing the recovery ROM in TWRP, instead of using the updater app.
Get the latest ROM from here https://xiaomifirmwareupdater.com/miui/raphael/
I found this now How-to and it worked like a charm
https://forum.xda-developers.com/mi-9t/how-to/guide-ota-updates-stock-recovery-t3975027
Thanks everybody, that was a bumpy ride but totally worth it.

Unable to install Official update ROM manually from MIUI updater

Hi, I have a Redmi Note 9 shipped with MIUI version MIUI Global 12.0.3 Stable (QJOEUXM) I already unlocked bootloader because I want to root it and already backed important partitions with SP_Flash_Tool. Phone wan´t to update to 12.0.9.0 version but I want to update manually to 12.0.4.
Following this guide https://www.xda-developers.com/how-...i-android-update-xiaomi-mi-redmi-smartphones/ I already created the downloaded_rom folder and placed the miui-blockota-merlin_eea_global-V12.0.3.0.QJOEUXM-V12.0.4.0.QJOEUXM-7f62044532-10.0.zip file but when I choose "Choose update package" and select the zip it asks to "connect to a Wi-Fi network to download this update", I do, then select again the zip file and I get the error Can´t verify update Sorry, flash to this stable version is not allowed. Same issue with miui_MERLINEEAGlobal_V12.0.4.0.QJOEUXM_71e6083767_10.0.zip.
If I use the latest update miui_MERLINEEAGlobal_V12.0.9.0.QJOEUXM_5a7954d9cf_10.0.zip then allowed to update.
Then I try recovery method, rename the zip file to update.zip and placed to the base directory of the phone’s internal storage. I Rebooted the phone into recovery mode but there is no any option to install update zip, only Reboot - Wipe data and Connect with MiAssistant.
I should to do a factory reset to "unblock" this update hang 12.0.9.0 blocking me to update to 12.0.4.0 or there is some clear updater cache and data option (I can´t find it) ?
Why I can´t update manually, is because MIUI updater is detecting and waiting to updating latest update 12.0.9.0 and then is blocking older update to installing manually?
Why there is no option in recovery menu to install update.zip file?
How I can update to 12.0.4.0 from MIUI updater and zip file?
I should to use MiFlash and flash merlin_eea_global_images_V12.0.4.0.QJOEUXM_20201121.0000.00_10.0_eea_66369cf4be.tgz as last alternative ?.
Another doubt I have is if I update to 12.0.9.0 can I root flashing patched Magisk boot.img (12.0.9.0) from fastboot ? everything about rooting is allowed with 12.0.5.0 or Higher? I ask this because I do not understand correctly when I read "if you are on 12.0.5.0 or higher you need to use SP_Flash_Tool in EDL mode bypassing authentication for flashing" is only about flashing custom Rom?.
I only want to use Official Xiaomi ROM and rooting to restore app data from my previous rooted smartphone using Titanium Backup. Also I can´t to use Netflix because with unlocked bootloader Netflix do not want to update and I can´t use it and I don´t know if Magisk can fix this.
Sorry for my poor english skills and thanks for reading and for all the help you all can provide.
GitHub - ianchb/MIUI-Flash-Freely: By changing the "support_ota_validate" value in the device_features file of any available Xiaomi or Redmi phone running MIUI 12/12.5/13 to "false", it is possible to freely select the .zip package in the System Upda
By changing the "support_ota_validate" value in the device_features file of any available Xiaomi or Redmi phone running MIUI 12/12.5/13 to "false", it is possible to freely sele...
github.com

Categories

Resources