Flashing stock rom gives Treble Compatibility error - Xiaomi Redmi Note 7 Questions & Answers

Hello.
I'm trying to get my phone back to stock rom.
I'm using the TWRP from the [All In One] post: https://forum.xda-developers.com/re...overy-unofficial-twrp-touch-recovery-t3921637
And I'm trying to install the file I got from: http://en.miui.com/download-360.html
But when I flash the file (miui_LAVENDERGlobal_V10.3.5.0.PFGMIXM_a5cabeca22_ 9.0.zip) I get the error attached.
Can anyone help me with this error?

Download the zip file again from miui.com, if you’re using a custom rom go to ‘Wipe’ -> ‘Advanced Wipe’ and wipe the ‘Cache’, ‘Dalvik/ART Cache’, ‘Data’ and ‘System’ partitions.
Once you are done, go back and tap on the ‘Install’ button and browse the rom file.
If this doesn't work, try the fastboot method with the miui flash tool.

delete compatibility.zip in rom file and flash normally

Thanks for the replies. I already formatted and wiped, and tried redownloading the stock rom file, but got the same error. I also tried the MIUI flash tool but got an error after doing the last step.
However... I did end up fixing the problem moments ago.
As I was leaving work, a nerd directed to a wepage that had instructions that worked:
https://www.androidexplained.com/redmi-note-7-unbrick

16. May 2020: the tip: unzipping - deleting - zipping and flash that new file worked for me also. Redmi Note 7 Lavender; Rom Lineage 17.1 20200215. Very nice. Ernest from Germany

FligMupple said:
Hello.
I'm trying to get my phone back to stock rom.
I'm using the TWRP from the [All In One] post: https://forum.xda-developers.com/re...overy-unofficial-twrp-touch-recovery-t3921637
And I'm trying to install the file I got from: http://en.miui.com/download-360.html
But when I flash the file (miui_LAVENDERGlobal_V10.3.5.0.PFGMIXM_a5cabeca22_ 9.0.zip) I get the error attached.
Can anyone help me with this error?
Click to expand...
Click to collapse
Why not orangefox?

Related

[Q] Error 7 When installing 2.3.7 from Recovery

Hello XDA Developers! Last time I was here I was hacking a HTC Blue Angel..That was a long time away....I digress
I have this phone which is currently running a 2.3.4 rom and I have ClockworkMod Recovery v2.5.0.5, and when I download any of the 2.3.7 roms this is what happens:
I drag the recovery zip to my phone with no extraction at all and select install zip from recovery menu. It does nothing.
I extract the zip file and end up with recovery.img and a zip file. I drag both to the root of my memory card and then select install zip from my phone. I then get the following error:
i.imgur.com/xlHip.png
I have absolutely no idea what to try from here, the biggest problem i've dealt with thus far was a md5 mismatch...
Kevin
normankev said:
Hello XDA Developers! Last time I was here I was hacking a HTC Blue Angel..That was a long time away....I digress
I have this phone which is currently running a 2.3.4 rom and I have ClockworkMod Recovery v2.5.0.5, and when I download any of the 2.3.7 roms this is what happens:
I drag the recovery zip to my phone with no extraction at all and select install zip from recovery menu. It does nothing.
I extract the zip file and end up with recovery.img and a zip file. I drag both to the root of my memory card and then select install zip from my phone. I then get the following error:
i.imgur.com/xlHip.png
I have absolutely no idea what to try from here, the biggest problem i've dealt with thus far was a md5 mismatch...
Kevin
Click to expand...
Click to collapse
Try toggling script asserts, or re-download the file.
Also, I suggest updating your recovery to 2.5.1.8.
Thanks for the quick reply!
I toggled script asserts so it was enabled, for the raw unmodified zip file nothing happened, and for the extracted zip file I got an Error seven again
I've tried redownloading the file multiple times, even getting earlier versions of the rom to try.
How would I go about updating recovery? I don't have a functional usb cable at the moment unfortunately but if absolutely neccessary I can hack one up.
normankev said:
I toggled script asserts so it was enabled, for the raw unmodified zip file nothing happened, and for the extracted zip file I got an Error seven again
Click to expand...
Click to collapse
I think you should have the asserts disabled to get past the error. (use the extracted zip, which gave you the error 7)
If this does not help, probably best way to go forward is to get a usb cable and try flashing using fastboot

[Q] Flashing stock 7.006.03 fails

I'm having trouble flashing the stock rom vache has provided on the dev forum. (SD_Acer_A500_7.006.03_COM_GEN1.zip).
Downloaded fine, used the decrypt tool with key $12, Clear/wipe/format everything, and try to install with CWM.
Problem install aborts.
Can anyone help? I am assuming either the download is incorrect/incomplete, or the decrypt hasn't worked? Has anyone been successful with this rom?
chodkinson970 said:
I'm having trouble flashing the stock rom vache has provided on the dev forum. (SD_Acer_A500_7.006.03_COM_GEN1.zip).
Downloaded fine, used the decrypt tool with key $12, Clear/wipe/format everything, and try to install with CWM.
Problem install aborts.
Can anyone help? I am assuming either the download is incorrect/incomplete, or the decrypt hasn't worked? Has anyone been successful with this rom?
Click to expand...
Click to collapse
Did you download an official acer rom from vaches thread
is it a full rom or just an incremental update - better check!
yes it could be a bad d/l - where did u get it
If it didnt decrypt you can check by trying to open it in windows. You wont be able to 'open' (not extract....) the zip if it is still decrypted
did u extract the actual "update.zip" and flash that?
make sure the you havent named it "update.zip.zip"
how did u try and install with cwm
if u use flash zip choice u dont have to rename it to update.zip
u do if u pick flash update.zip
What rom are u currently running??
Many thanks for the help, it was me being a noob and not extracting the update.zip file.
thanks again

Nexus 4 Stock rom deleted

Hi everyone!
I have come to a slight problem, trying to flash an android L preview port for my N4. I rooted properly, but when CWM asked me if I wanted to fix boot, I unfortunately replied with Yes. After I lost my root, I tried rerooting, when I accidently selected a wipe all function. So, now I have no rom Just a CWM recovery.
I have downloaded a tar.gz factory image file for N4 (4.4.4) and tried adb pushing to the device. The transfer is successful, but when I try to install it from the sdcard (cwm), it reports failure. I googled and read a lot, but not much seems to be helping.
I am using a Mac, btw.
Thanks in advance!!
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
CCody said:
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
Click to expand...
Click to collapse
Yes, I keep trying to do that but without success.
O tried factory kitkat zip and I tried an L android I downloaded.
Could you provide me witha link to a flashable zip?
Then tell me what you want. A factory image or a custom rom. I would recommand you cyanogenmod. Downloaf the zip for your device. http://www.cyanogenmod.org/
To install stock do this:
Extract .tar.gz (using 7Zip) until you come up with folder named "occam-xxxxx"
Copy the files within it to your fastboot.exe folder
Reboot into boot-loader
Hit flash-all.bat
But you may download latest CM from https://download.cyanogenmod.org/?device=mako and install it via flash .zip in CWM (however I recommend Philz Touch Recovery)
I'd like to flash Nexus 4 port for Android L. I had downloaded android l zip file but when I try to flash it, installation aborted keeps popping up.
And once again, people keep mentioning fastboot.EXE and run a batch file, but again... I am on a Mac. It would mean a great lot if the instructions given were for a mac.
Thanks!
Here's what I did:
1. Install Wugfresh's NRT (search online for it)
2. Download the factory image from the Google website
3. Connect your phone in Recovery mode
4. Open NRT and let it update if it has to
5. Hit "Flash stock + Unroot"
6. The usage is clearly explained at every stage. You should ideally have no problems restoring your phone to a working state. Your data however is most likely lost. Sorry.
(PS: I don't usually recommend toolkits because they take away the fun in messing with the phone manually, but sometimes it becomes necessary to use them. This is one of those times )
I tried flashing CM 11 snapshot M8 release, but it gave me status 7, install failed. I tried to fix it by removing asserts and rezipping, and failed again, without a status.
I am trying to revert back to stock now, nothing else works, and neither will this, so it seems.
EDIT:
I flashed new bootloader and new radio, but when I tried to flash a stock rom, it failed again.
I don't know what to do anymore, I feel like throwing a phone against the wall and just getting a Nexus 5.
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
simms22 said:
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
Click to expand...
Click to collapse
Cwm reports unable to mount... i updated to 6.0.5.0 cwm, changed to twrp even using fastboot... But nothing is helping.

Error executing updater binary in zip (TWRP)

I'm getting this error when trying to flash lollipop roms. I can flash Kitkat roms fine as I'm currently running xdabbeb VS982.5 1.0.0 (G3 rom), but it won't let me flash any lollipop rom. I installed twrp via the autorec program which installs 2.7.0.0 then I updated twrp within twrp with the flashable zip.
Please help
Thank you
Anyone?
Seriously no one knows? What is everyone else using that is flashing the latest 5.0.2 roms?
What am I getting this error?
Please help
Possible Fix
I've also had this problem. The only way I can seem to fix it is to also download the .md5 along with the rom itself. Just make sure its in the same folder as the rom. Everytime I have that problem with TWRP this seems to fix it. Let me know if it works for you!
Edit: Also I forgot to mention, if one isn't available to download I can help with that.
Thanks for the suggestion. I'll give it a try. If there is no. Md5 what do I do then?
All you need to do if it comes to that is download an md5 checker on your computer. Just curious, what rom are you trying to flash?
I tried resurrection remix and liquid lollipop roms. I had no issues with the initial 5.0 lollipop roms so I'm not sure what changed with 5.0.2.
So the md5 checker generates the .Md5 then you just put that on the SD card with the rom?
Resurrection remix should have an md5 on the download page right below the rom itself.
derekmt95 said:
All you need to do if it comes to that is download an md5 checker on your computer. Just curious, what rom are you trying to flash?
Click to expand...
Click to collapse
Can you point me to the program to use on my computer? Do I just load the .zip file in the program to generate the .md5sum file then put both the zip and the .md5sum file on the sdcard before flashing?
Thanks
derekmt95 said:
I've also had this problem. The only way I can seem to fix it is to also download the .md5 along with the rom itself. Just make sure its in the same folder as the rom. Everytime I have that problem with TWRP this seems to fix it. Let me know if it works for you!
Edit: Also I forgot to mention, if one isn't available to download I can help with that.
Click to expand...
Click to collapse
Nope, I downloaded the md5 file along with the zip and I'm still getting the same "error executing updater binary in zip".
Any other suggestion? How is no one else having this same issue? I'm using the latest version of TWRP 2.8.3.1 probably like most people. I don't understand.
xxNiradxx said:
Nope, I downloaded the md5 file along with the zip and I'm still getting the same "error executing updater binary in zip".
Any other suggestion? How is no one else having this same issue? I'm using the latest version of TWRP 2.8.3.1 probably like most people. I don't understand.
Click to expand...
Click to collapse
Try to reflash the TWRP.. or maybe is something wrong with the zip file
Use the TWRP compiled by blastagator
Nope, still getting same error with latest twrp.
Finally got it working. I downgraded TWRP to 2.7.0.0 and the lollipop roms are flashing fine now.
Thanks everyone for your help.
xxNiradxx said:
Finally got it working. I downgraded TWRP to 2.7.0.0 and the lollipop roms are flashing fine now.
Thanks everyone for your help.
Click to expand...
Click to collapse
How did you downgrade because I cannot seem to find a way to do it.
TheAnonymousButler said:
How did you downgrade because I cannot seem to find a way to do it.
Click to expand...
Click to collapse
just run AutoRec again and you are all set.
LG G2 cm-11 M12 : Error executing updater binary in zip (TWRP)
kashif87 said:
just run AutoRec again and you are all set.
Click to expand...
Click to collapse
Hi, I am having the same problem. Actually my LG G2 was stuck in boot loop with secure boot error. I used SRK tool to flash the partition files as well as TWRP recovery 2.8.6.1. I have wiped everything and there is no OS installed. I am stuck in TWRP recovery screen [cannot downgrade /upgrade]. I am using and OTG cable to flash the cm-11 custom ROM but it is giving me the same error. Can anyone help ?? It has been 10 days I am trying and my phone is dying please help...
Thanks in advance...
before flash 5.1.1 aosp lollipop rom u must to flash first lollipop bootstack
Hi,
I am assuming the reply was for me. Actually I am not installing lollipop. I am going for kitkat but nothing is working now. I have tried cm-10.2, cm-11 M12, cm-11 M7 but all are showing "error executing updater binary in zip". Please if someone can help me out....
Thanks is advance....
@[email protected] i think kk aosp room need jb bootleader
Hello everyone,
I am running a D802 on stock Lollipop and installed TWRP 2.8.6.0 via AutoRec. Now I booted into recovery, wiped System and Cache and got the Error message when installing CrDroid (Marshmallow 6.0.1). Now I tried installing TWRP 3.0.2.0, which succeeded and then downloaded the twrp 2.7.0.0 zip to try that as the ROM still wouldnt install. But it wont install the older TWRP. So I am asking for help to either
1) Install TWRP 2.7.0.0
or
2) Delete the getprop lines from updater-script (after I removed them I get an error 6 so i probably removed too much?)
Thank you in advance
(Guide for Error 7: http://forum.xda-developers.com/showthread.php?t=2522762)
EDIT: Someone said installing another Kernel might allow installation of the ROMs. Which Kernel could work for my phone?
EDIT 2: When flashing TWRP 2.7.0.0 it says "assert failed: run_program("/tmp/loki.sh")==0". So what exactly am I missing on my phone? Is Loki the MM Bootloader?
EDIT 3: Could it be that the build.prop was deleted when I wiped system? Would be weird if that was the cause, but I simply dont know..
Edit: Booted in Downloa Mode and flashed v30D KDZ with the 2014 LG Flashtool. Works with Stock ROM for now

OnePlus5 - HELP! - TWRP Recovery: Invalid Zip File Format

Hi!
I'm trying to install an update of OxygenOS. I wanted to install this with a .zip folder via my TWRP custom recovery (TWRP 3.2.3-0). However, I'm still having an issue with every ROM that I'm trying to install: "Invalid zip file format!", following by: " Error installing zip file 'OxygenOS.zip' ".
I precise that I have this issue with every .zip ROM that I'm trying to install...
I actually don't have any ROM installed on my OP5, so I can't boot right now.
I'm only fighting with my TWRP recovery and my Bootloader !
The Android version I had before that was Android 7.1.1( old boy...)
I'd be pleased if someone could help me solving this issue...
Have a nice day & Thx !
SkyZFr said:
Hi!
I'm trying to install an update of OxygenOS. I wanted to install this with a .zip folder via my TWRP custom recovery (TWRP 3.2.3-0). However, I'm still having an issue with every ROM that I'm trying to install: "Invalid zip file format!", following by: " Error installing zip file 'OxygenOS.zip' ".
I precise that I have this issue with every .zip ROM that I'm trying to install...
I actually don't have any ROM installed on my OP5, so I can't boot right now.
I'm only fighting with my TWRP recovery and my Bootloader !
The Android version I had before that was Android 7.1.1( old boy...)
I'd be pleased if someone could help me solving this issue...
Have a nice day & Thx !
Click to expand...
Click to collapse
Hello, you need to clean flash 5.1.4, then ota update to 9.0.9 and then flash twrp from PC again with root.
See here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040 including last pages where it's been explained a lot
strongst said:
Hello, you need to clean flash 5.1.4, then ota update to 9.0.9 and then flash twrp from PC again with root.
See here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040 including last pages where it's been explained a lot
Click to expand...
Click to collapse
what do you mean by " clean flash 5.1.4 " ? Android 5.1.4 ? or Oxygen ?
thx
SkyZFr said:
what do you mean by " clean flash 5.1.4 " ? Android 5.1.4 ? or Oxygen ?
thx
Click to expand...
Click to collapse
I mean OxygenOS 5.1.4
strongst said:
I mean OxygenOS 5.1.4
Click to expand...
Click to collapse
I tried so much, but actually I really can't flash nothing...
I'm now having : "Updater process ended with ERROR: 4"
I also had ERRO 7 from TWRP, but I tried everything, like changing a part of the code of one script of the ROM, but nothing is working.

Categories

Resources