[Zuk Z1 Original Android Development] Koulsak07:
TWRP says Error 7.

Updater process ended with Error: 7, says TWRP when I try to flash almost any ROM. I used to fix things by editing the script with Notepad++ and removing the assert quotes and compressing it again. Now it doesn't work anymore as when I extract the ROM and open the script, some weird text comes instead of what I was supposed to edit. Can someone help me out please! Thanks in advance.

Here's some of the text in that script file that wasn't there:

ELF  ( 	ˆ 4 TÖ  4  (    € € @r @r    °z °

 °

 4d t¾       8 8   Påtdôn ôî ôî L L   Qåtd    pP³ P3 P3 ÀH ÀH   Råtd°z °

 °

 PE PE      Android     GNU *

ó#Àkòp4u$ê‰T_ µF¹ð@ù ¹ðßù F*ð²íq¬ê0Ÿå0à “å Rãÿ/ “å÷ÿÿêt; IOð~RÀïP yDF@ùÍ

`HJxDzD¹ð4¹šî ál Jî IOð~RÀïP yDF@ùÍ

`HJxDzD¹ð¹†î ñe î H "xDhHxDÁé "Š`J hzD¹ð

¹ÀÉ ¾É öí H "xDhHxDÁé "Š`J hzD¹ðö¸°É ®É Îí I yD

Fˆ`BøH

`JxDzD¹ðâ¸´î õæ ¦í pµHLxDI h|DyD"F¹ðÑøI &"FyDFŽ`@øo`HxD¹ðÄøH"FIxDhyDÁé f(FŽ`¹ð¸øI(F"FyDÁé fŽ`¹ð¯ø

I(F"FyDÁé fŽ`½èp@¹ð¤¸fÉ –î ˆí Œî ƒé É zî vî tî €µ0 yð~øJOð" I1#zDbù

yDbùÏ*Áé <FòiB K„ ñ{Dˆ`Bù* "@ù

hpJFzD½è€@¹ðk¸ ¿8î žQ ŽÈ ¼ì µHxDh Fzð·ùH!FJxD hzD½è@¹ðQ¸ ¿ðÉ äÉ ˆì €µOHxDøœ ÀÐMHxDÐø¤ yðnøKHxDø ÀÐIHxDÐø˜ yðbøGHxDø„ ÀÐEHxDÐøŒ yðVøCHxDøx ÀÐAHxDÐø€ yðJø?HxDøl ÀÐ=HxD@oyð?ø;HxDø` ÀÐ9HxD€nyð4ø8HxDøT ÀÐ6HxDÀmyð)ø4HxDøH ÀÐ2HxD myðø1HxDø< ÀÐ/HxD@lyðø-HxDø0 ÀÐ+HxD€kyðø*HxDø$ ÀÐ(HxDÀjxðýÿ&HxD ~ÀÐ%HxD jxðóÿ#HxD {ÀÐ"HxD@ixðéÿ HxD xÀ¿€½HxD€h½è€@xðÜ¿ ¿œú ú „ú xú lú `ú Tú Hú <ú 0ú &ú ú ú ú úù îù äù Øù Îù Âù ¸ù ¬ù ¢ù ˜ù Žù „ù zù nù €µOHxDøœ ÀÐMHxDÐø¤ xð–ÿKHxDø ÀÐIHxDÐø˜ xðŠÿGHxDø„ ÀÐEHxDÐøŒ xð~ÿCHxDøx ÀÐAHxDÐø€ xðrÿ?HxDøl ÀÐ=HxD@oxðgÿ;HxDø` ÀÐ9HxD€nxð\ÿ8HxDøT ÀÐ6HxDÀmxðQÿ4HxDøH ÀÐ2HxD mxðFÿ1HxDø< ÀÐ/HxD@lxð;ÿ-HxDø0 ÀÐ+HxD€kxð0ÿ*HxDø$ ÀÐ(HxDÀjxð%ÿ&HxD ~ÀÐ%HxD jxðÿ#HxD {ÀÐ"HxD@ixðÿ HxD xÀ¿€½HxD€h½è€@xð¿ ¿œù ù „ù xù lù `ù Tù Hù <ù 0ù &ù ù ù ù úø îø äø Øø Îø Âø ¸ø ¬ø ¢ø ˜ø Žø „ø zø nø pµ	MOôtN}D~D(ø ÀÐ0Pø xðºþ <óÑp½–ø ”ø pµ	MOôtN}D~D(ø ÀÐ0Pø xð¢þ <óÑp½Žù Œù HxD {ÀÐ€µ	HxD@ixðþ½è€@HxD xÀ¿pGHxD€hxðƒ¾Žú ‚ú tú hú HxD {ÀÐ€µ	HxD@ixðpþ½è€@HxD xÀ¿pGHxD€hxðc¾nú bú Tú Hú µ LH	I|DxD"FyD¥ðzÿH"FIxDyD½è@¥ðq¿ ¿Âþ °ü Éü Îþ ½ü hF ð¸ €µ„°	I

JyDÑø ÀzD	IhJyD	hzDÍé<«h‘ !¸ð6ÿ<Â :Â 2Â :Â (¿pG GJFHzDxD¸ðß½ ¿íÿÿÿ¢ç K{D¶ðx¼Žç -éðO³°

Fßø¬Fßø¤yDxD	h hhh !2’µð+ùßø” !xD h hµð#ùßøˆ"¯ßø„*¬xD:F hyD+‘ßøx#ßøxyD1xD*‘0!F"(F.”&—Kðü&˜‡BÐ(±hIiàh	iˆG.˜„BÐ(±hIiàh	iˆGFð (ÑÕø*šø 18À²(Øšø Ð±Kð¼þ(@óª$àKðµþ(@ó$ßø¤2™xD h h@¿ F3°½èð*ðø¨h§ðLùßøìyD´ðuú€FµðÔøÕø  Íé Íé* ,HF¤ðÐúFñ€ðÆƒ /Òx Dð /ø¨

Ñàñ ð XFxð"ýFKð ,”Íé* FIF:F£ðÉø *©àU¨ð

þFø¨ ÀÐ,˜xðJý„±Ýé«êhðÚÿF”±KðRþ(@óš˜ðüÿàKðIþ(@ód$¨ð.ÿçßøH ¬ FyDððþ˜*ª!FðmøFL±Kð1þ(@ó¹˜ðÛÿ$ãç/™¬ ' F "Íéw—ðêüøXDðš/›˜ð¿"F*©ð•ýF¹ñ 	ÐKð þ(@óØ˜ðµÿ$Íâð÷ÿð=ü	ðùþðiüøXª˜—ð—¿ F©ð2þ*»˜(1Ú-ðŒúßø´F|D `-ð†ü h8¹ßø¨#!"CFxDµðìù˜Íé€PF§ð~øÝé«Ã"¨©ªð[ú.?Ñ,ißøxyD F£ð$ÿ*³ßøp!FxD´ð ÿ0àKð¶ý(@ó°˜ð`ÿ$gâ¤ð¦ûF !"'hÍé !Oðÿ0**J"ßøà #(FyDKð¢ýKðžýßøÐ "yD ð°û1Fyðoú(FKðæý'`×æ ø¤ ø¤˜ðÜþ *"¬Íé ©*F Fð7ûFßøàxD h x8±ßøØ

!"CFxDµð|ùž±ø0 ßø šðyD¿Eð@F´ðAü˜±ðÿ $þáø %ð¿EKðJým³ñ(@ó‚ @ö!Íé ª*ø)Fø	¨Lðûøø ÀÐ˜xðüÝé	šÑE ð¬ßødU4ßøPeßøPµ}DßøPu~DûDDká(@ó‚ßøL+!"CFxDµð$ù”á¤ðûF !"Ôø €Íé !Oðÿ0*®Q"ßø¨ #0FyDKðýKðþüßø˜3"yD ðûmhF(F¤ð1ùF8F)F ðû0FKð?ýÄø €(æ¤ðÚúF !"Ôø €Íé !Oðÿ0*®`"ßø\ #0FyDKðÕüKðÑüßøL"yD ðãúíhF(F¤ðùF8F)F ðÙú0FKðýÄø €næ¤ð*úF !"Öø Íé !Oðÿ0

ñ¨f"ßø #@FyDKð§üKð£üßøø"yD ðµúíhF(F¤ðÖøF8F)F ð«úßøÜ"yD ð¥úF Fð)ýF¤ðÄøF(F!F ð™ú@FKðÒüÆø %æ¤ðmúF !"Õø €Íé !Oðÿ0"®o"æI #0FyDKðiüKðeüãI"yD ðxúáI*"yD ðsúàI"yD ðnúFHF¤ðøF8FIF ðeúÚI"yD ð`úF FðäüF¤ðøF8F!F ðTú0FKðüÅø €æ¤ð(úF !"Õø €Íé !Oðÿ0"®z"ÉI #0FyDKð$üKð üÅI$"yD ð3úFHFð·üF¤ðRøF8F!F ð'ú0FKð`üÅø €úå¤ðûùF !"&hÍé !Oðÿ0"*Œ"ÊI #(FyDKðøûKðôû™yðËøÅI

"yD ðú(FKð=ü&`-æ¤ðÙùh¿"  ‘ #½IOðÿ0¨yDKðÖû¨KðÑûYF" ðåù™ø ÀÙé!ð¿	ñOê\ ðØù9F" ðÔù¨Kð

üÝé`!à™ø ð ¿IÙøÁ± ( ¿	ñÙø	xE)Ñ ( ¿	ñ Ùø 1F"F´ð›þ(ÐKðû(«Ý™ø )FÀ ¿	ñÙø @F´ðiú	ñ	ÊEÍÑ	¨ ð.ù'š…IP¿"'’yD@F´ðXú(šPÐ€I@FyD´ðPú(˜s( ÑKðcû(@ó€€|H

!"CFxD´ðmÿ˜±ðý$ø0 ÀÐ˜xð:úø ÀÐ&˜xð3ú e±ñ ð@ú(yÀÐèhxð%ú(Fxð"úøX À?ôë¬˜xðúæä¤ð$ùF !"Öø Íé !Oðÿ0	¯¸"OI #8FyDKð ûKðûKI"yD ð/ùø0&™ð¿i%š¿Z ð#ù8FKð\ûÆø ºå¤ð÷øF !"&hÍé !Oðÿ0	*µ"?I #(FyDKðôúKððú;I!"yD ðù(FKð<û&`Çå¤ðØøF !"&hÍé !Oðÿ0	*Ð"4I #(FyDKðÕúKðÑú1I'"yD ðäø(FKðû&``ç*¨ð>øØÁ ÞÁ ÈÁ ¶Á 1	>‚ ^‚ Îð äð Žï Åï Kó 4ï ¢ï Øî ]ï Uï ¾ò \î )ï ôî %ï Ëî Òí ´î $å mò cò Yò ´¾ Ïñ Êë }í ¤ñ ¨ñ Äñ Ðñ rë ×ì Oñ î ~î 4ë Ií ±í Ÿò zí {î Á 6í HIxDš hyD h´ð9¹ ¿p¸ µì pµF%h*±`h¨BÐFø ðÐPø xð(ùµB0FóÑ h à(Fe`xðù Fp½pGxð¹ µF xðÓøIbhyD1Àé ½®x JzD2

`@hH`pG ¿žx pµ‚°Ýé^œÓø ÀFh+hh	hÞø %hÍé FFbF°G°p½µF xð¥øIbhyD1Àé ½vx JzD2

`@hH`pG ¿fx	hBhFG-éðO‡°F+HŠF!FxDF h h¨xðnþø È³ h

ë	VFPø 'xh×ø€ýl ð° (¿NFhÑ

ñ 9FXFxðüHxDhXF‹ðLùhÊi !GFXF‹ð+ùýdè²QF2FKFÍé p@F ð ø@¹ hPø DiAðxðnû¨xðDþH™xD h h@¿ F°½èð¬ðrûr· >· Þ¶ -éðO…°F<H™FFxD ' h , haÐÝø8°©ënÛø €È¿F.Û h2Fk F˜G°BNÑ/<ÛÝø<€ /Íé Òx ø hF@ð

VFàñ ð

PFwðòÿFJð –Íé hF@ð

0F9FBF¢ðšû ðU"hø k:F™ð F¿QF˜GFø ÀÐ˜xðø¾BÑ©ë.Û h)F2Fk F˜G°BÑ Ëø à $H™xD h h@¿ F°½èð¬ðîú®¶ Öµ -éðA€FØø `³Øøp·BÐ $Wø] -<` Ðñ ÿ÷ìÿ(yÀÐèhwðÑÿ(FwðÎÿ¾BëÑØø à0FÈø`wðÄÿ@F½èð‚°°µ†°FH*xD h hÍé

#

...