Help with installation? Can't get rid of ERROR 7

edofalcone

New member
Mar 12, 2018
1
0
0
Hey there, I own a Mi5S Plus with MIUI Stable 9.2.1 (based on Android 7.0).

For a bug that gives me a terrible battery drain (3 hours of screen usage tops) I decided to install Lineage OS 15.1.

I've got last version of TWRP (3.2.1-1), Unlocked bootloader, the phone has ben rooted.
As explained on the official guide:

- Factory reset with TWRP;

- Install *.zip file with last LOS update, positioned in /sdcard/

- Returns ERROR 7, I do exactly as suggested online
so:

- I delete “assert” strings from “updater-script” file and I zip it back up;
Here I have 2 different outcomes:

1) Invalid zip file format (I used both OSX and Win, using both native apps and third party ones);
2) Missing file “updater-binary” even if it is right in the zip.



What if, being the string after “assert” referring to a specific MIUI version, the problem is due to my installed MIUI version? It makes no sense, I know.
Here's what I'm talking about:


ui_print("Target: Xiaomi/natrium/natrium:6.0.1/MXB48T/V8.2.4.0.MBGCNDL:user/release-keys");


What should I do? I've tried them all!!!:(
 
Last edited: