MI 9T Pro - System update with TWRP - Verification failed - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

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.

Related

Error "Can't verify update" after update manually

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.

[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).

[ROM] [GUIDE] - HOW TO INSTALL CRDROID 7.5 ANDROID 11 ON REDMI 8 (GSI but all work)

Hi, here's a guide on how install crDroid 7.5 (A11) on Redmi 8
UPDATE: THERE'S 7.5 VERSION AVAIABLE, IF YOU ARE USING 7.4 FOLLOW THIS STEPS TO UPDATE WITHOUT LOSING DATA (NEW ROM IS IN MEGA FOLDER, ):
1- Reboot in recovery
2- Go to Wipe -> Avanced wipe -> wipe dalvik, cache and system
3- Go to Reboot -> Recovery
4- Now follow the normal guide from the flashing of the .img file as system image
VERY IMPORTANT: DON'T FORMAT DATA AFTER FLASHING GSI FIXER OR YOU WILL LOST ALL YOUR DATA
Features:
- All functions of the phone work (face unlock, fingerprint, voLTE, voWIFI, hotspot, bluetooth, fast charge, DT2W, ...)
- Magisk safetynet passed without flash nothing (screenshot at the bottom)
- Permissive Selinux by default (in settings is writing disabled, it's wrong) but you can switch to enforcing with
SelinuxModeChanger app, apk at the bottom
What doesn't work
- Nothing if you use fixes below
Note 1: You may have problems with the brightness or sim calls/sms, there are solutions:
- For brightness: Open settings -> Go in "Phh Treble Settings" -> "Misc Features" -> Scroll until you are in backlight menu -> Select "Force alternative backlight scale" and "Enable auto-brightness overlay" -> then deselect both and reboot
- For sim calls: Open settings -> Go in "Network and internet" -> "Mobile network" -> Tap on "Preferred network type" and select "GSM/WCDMA/LTE" or "Global" (try which is better for you) and then reboot
Note 2: If you fing bugs tell me in comments, maybe I could help you (I'm not the developer of the rom)
​IMPORTANT ADVICE:​I am not responsible for any damage caused to your device by not following the steps, all the steps were tested on my personal device and are confirmed, my device is Redmi 8 4/64
Installation Steps - All the files you need are HERE​
Note 3: I did the installation coming from Mui 12.0.1 stock (flashed in fastboot with Mi Flash) and there was no problem in the installation process or in the boot process, YOU NEED THIS ROM IF YOU WON'T PROBLEMS
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Before continue following steps estract on pc "crdrom-v302-210315-arm64-bvZ.img" from "crdrom-v302-210315-arm64-bvZ.img.xz" and activate USB debug in phone settings
4- Reboot in fastboot and connect the phone to the pc with cable
5- Install on pc minimal adb tool (zip at the bottom), flash the TWRP recovery typing " fastboot flash recovery ", now drag twrp file near the command, then vbmeta typing " fastboot --disable-verity --disable-verification flash vbmeta " and drag vbmeta file near the command. Finished the procedure type " fastboot reboot " and hold volume + on the phone until you see the recovery screen
6- Scroll on the slider at the bottom of the phone screen to access in the TWRP
7- Go to Wipe -> Format data -> type "yes"
8- Go to Reboot -> Recovery
9- Go to Wipe -> Avanced wipe -> wipe dalvik, data, cache and system
10- Go to Reboot -> Recovery
NOW YOU HAVE TO TRANSFER ALL OTHER FILES OR IN THE INTERNAL STORAGE OF THE PHONE OR IN SD/USB WITH OTG CABLE
11- Go to Install -> Select the storage where you have files -> Install img -> select "crdrom-v306-210425-arm64-bvZ.img" (Extracted from the .xz file) -> select "system image" and flash
12- Wait and then go to Reboot -> Recovery
13- Wipe -> Advanced wipe -> select "system" and click on "Repair or change file system" -> Resize system
14- Wait and then go to Reboot -> Recovery
15- Install -> Select the storage where you have files -> Flash "GSI-BUGS-FIXER_11_Q.zip"
16- Wipe -> Format data -> type "yes"
17- Wait and then go to Reboot -> Recovery
18- Install -> Select the storage where you have files -> Flash "BiTGApps-arm64-11.0.0-R19_signed.zip"
19- Wait and then go to Reboot -> System
20- Configure phone and enjoy your new rom
Note 4: I reccomend you to flash magisk after you have configured the rom to avoid problems, I leave you the zip to flash in recovery below
Note 5: I reccomend you the best gcam I've found for Redmi 8, everything works except slow motion, link HERE
Thanks for the attenction​
-Estatè
Happy that many GSI roms are under develment. I hope this phone will die due to hardware, as there are lots of options in future to keep the software updated.
Anyway, if someone intends to try, following is the link of all GSI Roms.
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Can i flash vbmeta through recovery
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
Hey
I'm not using crDroid yet, but I've already installed TWRP.
It is advertised that you should flash vbmeta when you're installing TWRP.
I hope I can help you
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
No, you have to flash it with ADB like twrp
letouvetpierre said:
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Click to expand...
Click to collapse
I recommend you to remove it from the magisk app to avoid problems but I think that would be the same
Naulels said:
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Click to expand...
Click to collapse
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
letouvetpierre said:
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
Click to expand...
Click to collapse
Yes, all work fine becouse you flash the gsi fixer for gsi roms on redmi 8
Estatè Mosconi said:
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Click to expand...
Click to collapse
I have reinstalled and fixed it, thanks
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
letouvetpierre said:
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
Click to expand...
Click to collapse
Hi, I'm happy for you, for safetynet try the magisk module, I didn't have this problem, anyway, try the rom and than leave a feedback, it could be useful for other people who want to try this rom
I can't get this rom to work correctly. Did the steps as described, but it has SELinux not enforced and Google play isn't certified. Tried multiple times.
EDIT: seems my phone is soft bricked now (Can't install any rom). Going back to xaomi stock to try again.
I tried again and got it to work. The certificate patch throws an error but Google apps are working.
I get an SE Linux not enforcing error. though.
Is there anything I can do about that?
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
ndduc said:
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
Click to expand...
Click to collapse
There is the solution for brightness in the guide, you don't need that file
Estatè Mosconi said:
There is the solution for brightness in the guide, you don't need that file
Click to expand...
Click to collapse
thanks you, i fixed
ndduc said:
thanks you, i fixed
Click to expand...
Click to collapse
Ok good

When trying to install Magisk via TWRP it asks "Select partition to flash image"

Hello!
When trying to flash Magisk-v25.1.zip in "Install image", I get a dialogue "Select partition to flash image:"
- system image
- ventor image
- recovery
- boot
- modem
I tried "boot" but after flashing it gave me an error after restart: "the sistem has been destroyed" - I solved this with flashing CarbonROM in TWRT. My heart almost stopped
Until now, TWRP never gave me this dualogue to select partition. Until now, after every CarbonROM update Magisk has been deleted, so I always downloaded Magisk-vX.apk from github, renamed it to .zip and flashed it via TWRP. Simple. But no it shows "Select partition to flash image:" and I do not know what to select.
Please help
*I have also tried to install Magisk via Magisk android app, but when I "select and patch a file boot.img", the insllation is successfull, but Magisk app still shows MAGISK INSTALLED N/A.
Phone: mido
xdaslo said:
Hello!
When trying to flash Magisk-v25.1.zip in "Install image", I get a dialogue "Select partition to flash image:"
- system image
- ventor image
- recovery
- boot
- modem
I tried "boot" but after flashing it gave me an error after restart: "the sistem has been destroyed" - I solved this with flashing CarbonROM in TWRT. My heart almost stopped
Until now, TWRP never gave me this dualogue to select partition. Until now, after every CarbonROM update Magisk has been deleted, so I always downloaded Magisk-vX.apk from github, renamed it to .zip and flashed it via TWRP. Simple. But no it shows "Select partition to flash image:" and I do not know what to select.
Please help
*I have also tried to install Magisk via Magisk android app, but when I "select and patch a file boot.img", the insllation is successfull, but Magisk app still shows MAGISK INSTALLED N/A.
Phone: mido
Click to expand...
Click to collapse
Magisk is not an image to install the way you tried. Install it like any other zip package. You do not need to select "Install image ...".
gaindelioide said:
Magisk is not an image to install the way you tried. Install it like any other zip package. You do not need to select "Install image ...".
Click to expand...
Click to collapse
Unfortunately this does not give me an answer HOW TO, just how not to.
To install Magisk.zip I used (until now) the same steps as for CarbonROM.zip. -> TWRP-Install-Install zip-select correct .zip from the list - Install image. After that it is all automatic.
But now for Magisk.zip I get this "Select partition to flash image". What changed?
Thankk you

Categories

Resources