TWRP Error 7 Oneplus One - XDA Assist

Hi,
I had a bricked OPO and used OneplusOneRestoreTool so the phone is fixed and running CM11. I have flashed latest version of TWRP recovery onto it via adb and I have rooted it. Whenever I try to flash a new ROM I get Error 7. I have tried removing the assert... line in the updater script but then when I re-zip the file and try to flash it, another error message comes up saying updater-binary could not be found.
Ideally trying to flash latest Resurrection Remix.
Oneplus One A0001
Android 4.4.4, CM 11.0-XNPH44S
Thanks in advance.

Related

[Q] Error while flashing a CM based ROM after downgrading to KK from 5.0

So, I had Asia 5.0.2 and I saw a FIUI ROM for our device at the MIUI forums. I decided to give this a go and first downgraded to KK and then tried to flash the zip from TWRP and Philz recovery but got this error:
"Can't install this package on top of incompatible data. Please try another package or run a factory reset"
I thought it might be a ROM specific error, but I also tried to flash CM11 but got the same error. How can I get around this? Is this an issue with the updater script or something?
Any help will be appreciated.
prateektaneja said:
So, I had Asia 5.0.2 and I saw a FIUI ROM for our device at the MIUI forums. I decided to give this a go and first downgraded to KK and then tried to flash the zip from TWRP and Philz recovery but got this error:
"Can't install this package on top of incompatible data. Please try another package or run a factory reset"
I thought it might be a ROM specific error, but I also tried to flash CM11 but got the same error. How can I get around this? Is this an issue with the updater script or something?
Any help will be appreciated.
Click to expand...
Click to collapse
Did you do a factory reset from the recovery menu?

[Q] Im really stuck

I was running factory 5.1 but decided to install cm-12 nightly. Every time I tried it failes no matter what I did. I ried installing cm-11 and that worked but no dice on latest nightly of cm-12. Im rooted unlocked BL and running TWRP 2.8.6.1 when I try to flash the cm12 zip i get this error: error executing updater binary in zip /sdcard download cm-12 2015404 nightly hammerhead zip. Any suggestions.
Could be bad download or that nightly is borked
Sent from my Nexus 5 using Tapatalk

[HELP] mobile network connections won't function after upgrading to cm12 firmware

I've used CM12.1 based ROMs for a while now, and with my talent have managed to brick my bacon (oneplus one global 64GB), and unbrick it (using this guide)
I've restored it to stock with no problem using this tool.
my problem begins when i try to update to any LP ROM - flashing such ROMs' zip files in TWRP returned "E: error executing updater binary in zip". i found two solutions to this error:
1. first one is described in this thread. i ditched this method after it got me stuck in bootloop every time after flashing a ROM
2. second one (probably the way it should be done) is to update device firmware like described in this oneplus forums thread. flashing this zip indeed allowed me to successfully install my ROM but with one big problem - the SIM card is detected for a few seconds (even then the device wont find any networks) and then drops to "no SIM card detected - emergency calls only" then it gets detected again and so on...
I've also tried flashing some different modems like described here but it didn't change anything
have anyone encountered any network related problem after upgrading to a CM12.1 based ROM or have any idea how to solve my problem (mobile network connections won't function after upgrading to cm12 firmware)?
help would be very appreciated!
edit: if it helps, i also found that OTA updating to the latest build XNPH44S also breaks the phone's ability to connect to a mobile network
Get the oneplus one build which was released as a fix to ghost touch.. It is nothing but oxygenOS!! Backup ur data and follow the instructions and flash the oxygen rom then wait for the first boot after first boot just update ur recovery to latest twrp and get the bacon firmware update zip file from any of the major rom threads like blisspop or exodus then flash that then flash the latest cm12.1 nightly and AK kernel(optional) then boot it up!!!
Transmitted via Bacon
yashshan said:
Get the oneplus one build which was released as a fix to ghost touch.. It is nothing but oxygenOS!! Backup ur data and follow the instructions and flash the oxygen rom then wait for the first boot after first boot just update ur recovery to latest twrp and get the bacon firmware update zip file from any of the major rom threads like blisspop or exodus then flash that then flash the latest cm12.1 nightly and AK kernel(optional) then boot it up!!!
Transmitted via Bacon
Click to expand...
Click to collapse
1. TWRP must be installed before installing OxygenOS as it comes as a flashable zip and not an OTA/Cyanodgen update...
2. installing OxygenOS was no problem without the firmware, however after it booted i noticed it broke my mobile communications in a very similar way, so no luck with that one.
3.even after installing oxygen the firmware update is required to install anything like a CM nightly or a CM based LP ROM, and my problem was that this firmware upgrade broke my network connection, so i don't see how that could help me in any way
3.1 after flashing OxygenOS not even the firmware update would allow me to install a different ROM...
4. i linked the forum thread my firmware update came from (also found a similar suggestion in a YouTube video) and couldn't find any reference to it in any of the main ROMs' threads like you suggested, they all just say to install TWRP wipe everything and flash their zip (some say to flash a nightly before)
any other ideas? I'm starting to get desperate around my suddenly not-so-functional bacon :crying:
!!SOLVED!!
steps:
1. flash the latest CM12S fastboot image
2 .delete line 2 "aassert(oppo.verify_trustzone("TZ.BF.2.0-2.0.0109") == "1");" from the updater-script file in the custom ROM's ZIP installation file
3. flash the "hacked" zip file with no problem
4. enjoy your custom ROM installed bacon, WITH your mobile connection.
thanks for the help anyway!

"error executing updater binary in zip" please help <3

So I've had a chinese version of the opo since last summer, first thing I did was root it and unlock bootloader etc. I've been running a rom for quite a while (really embarrassing, but can't remember what rom). And I tried to flash a new one, but I got greeted with the message "error executing updater binary in zip". I've tried most things, updating firmware, updating to latest recovery, wiped everything, then trying to install, then rebooting and trying again, but no luck. Running CM12 nightlies work, so does oxygenos, however they're not that good tbh. Would love any help
Roxkyp said:
So I've had a chinese version of the opo since last summer, first thing I did was root it and unlock bootloader etc. I've been running a rom for quite a while (really embarrassing, but can't remember what rom). And I tried to flash a new one, but I got greeted with the message "error executing updater binary in zip". I've tried most things, updating firmware, updating to latest recovery, wiped everything, then trying to install, then rebooting and trying again, but no luck. Running CM12 nightlies work, so does oxygenos, however they're not that good tbh. Would love any help
Click to expand...
Click to collapse
Flash latest CM12.1 nightly first
And then flash your desired ROM
Or else
Flash factory images of latest version Cyanogen OS 12.1 and then flash TWRP and then your desired ROM
Guide to flash ROMs and factory images >> http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Mr hOaX said:
Flash latest CM12.1 nightly first
And then flash your desired ROM
Or else
Flash factory images of latest version Cyanogen OS 12.1 and then flash TWRP and then your desired ROM
Guide to flash ROMs and factory images >> http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Click to expand...
Click to collapse
Unfortunately these methods did not work for me, I can get on 12.1, but when I want to flash something else (resurection rom in this case) I get the error.
Its a firmware issue you need the correct firmware

Help Me please !!!!

i am using Redmi 4x and used twrp package installer to install twrp and thus installed twrp 3.0.3-0(cofface).Now i am trying to install pixel experience and forgot to have a backup . I wiped all data and system and now when i am flashing the new rom i am getting Error 7 and No MD5 file found.So what should i do ? i tried flashing newer version of twrp and was succesful but i am not rebooting the device as i am fearing to get it in bootloop . Need Help Fast as the phone is my primary device.
Bhagyesh2491 said:
i am using Redmi 4x and used twrp package installer to install twrp and thus installed twrp 3.0.3-0(cofface).Now i am trying to install pixel experience and forgot to have a backup . I wiped all data and system and now when i am flashing the new rom i am getting Error 7 and No MD5 file found.So what should i do ? i tried flashing newer version of twrp and was succesful but i am not rebooting the device as i am fearing to get it in bootloop . Need Help Fast as the phone is my primary device.
Click to expand...
Click to collapse
Error status 7 occurs when what you are trying to flash is not built for your specific model number or if you're trying to flash a custom ROM via stock recovery or if you're trying to flash a stock update.zip via custom recovery.
It has to be for your specific model number
Are you certain that you successfully flashed TWRP and are you certain that you're booted into TWRP instead of stock recovery?
Sent from my LGL84VL using Tapatalk
Yes , i successfully flashed twrp and i also booted into it . But it was a older version 3.3-0 (cofface) and was unofficial and was installed via a twrp installer package . And i rom i was trying to flash was also correct . I also tried it with Lineage OS and it was the same .Then downloaded the Miui stable rom and flashed it and was successful . But before booting it said "No OS installed" , so i tried having a backup and when i did my device got Bricked .

Categories

Resources