OnePlus5 - HELP! - TWRP Recovery: Invalid Zip File Format - OnePlus 5 Questions & Answers

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.

Related

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

Oneplus 5 Update fails

Hello everyone,
For a while now, I have been delaying this, because I can't afford to lose the content that I have on this device
I have a Oneplus 5 OxygenOS 5.1.4 release that I can't install. Everytime I do, it just fails, and reboot. A while after, I have a new notification telling me that the update is available
My phone is not rooted but I think the bootloader is unlocked. TWRP isn't installed either
Is there any way for me to easily update my phone witout risks of losing what I have on it ? Might be a dumb question, but I'm a huge noob
Thansk a lot for your help
Mouchoir said:
Hello everyone,
For a while now, I have been delaying this, because I can't afford to lose the content that I have on this device
I have a Oneplus 5 OxygenOS 5.1.4 release that I can't install. Everytime I do, it just fails, and reboot. A while after, I have a new notification telling me that the update is available
My phone is not rooted but I think the bootloader is unlocked. TWRP isn't installed either
Is there any way for me to easily update my phone witout risks of losing what I have on it ? Might be a dumb question, but I'm a huge noob
Thansk a lot for your help
Click to expand...
Click to collapse
Do you get the bootloader unlock warning message at boot? Is the device new or used? You want to update from 5.1.4 to 5.1.5 with ota right? Does the ota download 1.7GB or detect root before downloading?
Hello strongst and thanks for your answer
The phone is old but it's always been mine. I rooted it a while back but I reinstalled everything, which is why the bootloader is unlocked even tho the phone isn't rooted.
I do have the warning message when I boot
I'm trying to update with OTA indeed. When I do so, it downloads the update, reboots, and then I get this :
"Instaling, please wait..." and a few seconds after "Installation failed"
Then I just rebot the phone and everything is back to its initial state
strongst said:
Do you get the bootloader unlock warning message at boot? Is the device new or used? You want to update from 5.1.4 to 5.1.5 with ota right? Does the ota download 1.7GB or detect root before downloading?
Click to expand...
Click to collapse
You did not answer all questions, so I only can guess...
Mouchoir said:
Hello strongst and thanks for your answer
The phone is old but it's always been mine. I rooted it a while back but I reinstalled everything, which is why the bootloader is unlocked even tho the phone isn't rooted.
I do have the warning message when I boot
I'm trying to update with OTA indeed. When I do so, it downloads the update, reboots, and then I get this :
"Instaling, please wait..." and a few seconds after "Installation failed"
Then I just rebot the phone and everything is back to its initial state
Click to expand...
Click to collapse
I'm guessing it downloads partial ota and not a full rom like about 1,7GB so the update fails. In case you have twrp you can easily download the 5.1.5 FULL zip from here and flash it https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
I am sorry that my answer wasn't complete.
- I do have the bootloader message
- The device is a year old, but only used by me
- It's trying to download 5.1.4 OTA which is 1609MB. It downloads everything and tries to install it
- No root is detected
- I don't have TWRP on the phone
Thanks for your answers
Best way it simply install latest TWRP like Sian, do a dirty flash with the full OOS Rom package (5.1.7) for force update.
1/ Do a full backup of your data / sms / pictures on your computer (just for be sure, you must always backup for big changes, especially with encrypted roms)
2/ install TWRP Sian
3/ On TWRP > Wipe > Dalvik/ART - Cache paritions
4/ Install > the latest stable OOS 5.1.7 Rom
5/ Just after that flash Magisk (if you want keep the custom recovery) or don't flash Magisk (stock recovery will erase TWRP after SetupWizard)
Hello Pho3nX, thanks for your answer.
I tried to figure out what "TWRP Sian" is, but I couldn't find anything. I found this one : https://twrp.me/oneplus/oneplus5.html and I'm planning on following the "Fastboot Install Method". Is that OK ?
Do you recommand me to flash Magisk ?
Thanks a lot
Mouchoir said:
Hello Pho3nX, thanks for your answer.
I tried to figure out what "TWRP Sian" is, but I couldn't find anything. I found this one : https://twrp.me/oneplus/oneplus5.html and I'm planning on following the "Fastboot Install Method". Is that OK ?
Do you recommand me to flash Magisk ?
Thanks a lot
Click to expand...
Click to collapse
This : [RECOVERY] TWRP-3.2.3 with Pie decryption support [experimental]
And yes i advise to install Magisk for keep TWRP & tools / root, permit using useful root app like Titanium/Theme/Adaway/Explorer etc...
Pho3nX said:
This : [RECOVERY] TWRP-3.2.3 with Pie decryption support [experimental]
And yes i advise to install Magisk for keep TWRP & tools / root, permit using useful root app like Titanium/Theme/Adaway/Explorer etc...
Click to expand...
Click to collapse
Hello
I'm back Thanks for your answer. However, there is no explaination on how to use the .img I've downloaded. Could you point me to some instructions ?
Sorry I'm not good at this stuff
Mouchoir said:
Hello
I'm back Thanks for your answer. However, there is no explaination on how to use the .img I've downloaded. Could you point me to some instructions ?
Sorry I'm not good at this stuff
Click to expand...
Click to collapse
If you have no twrp already installed on your device you must flash the twrp.img file with fastboot like "fastboot flash recovery twrp.img"
Hello,
You haven't heard from me because I wait to be at home so I can safely follow your instructions.
I just saw a news about Android Pie 9.0 beta being released for Nexus 5.
Pho3nX said:
4/ Install > the latest stable OOS 5.1.7 Rom
Click to expand...
Click to collapse
Would it work if I download it instead of the one you sent me ?
Thanks a lot
Mouchoir said:
Hello,
You haven't heard from me because I wait to be at home so I can safely follow your instructions.
I just saw a news about Android Pie 9.0 beta being released for Nexus 5.
Would it work if I download it instead of the one you sent me ?
Thanks a lot
Click to expand...
Click to collapse
Error 7 for me i tried i'm with unlocked bootloader latest TWRP by Eng.stk and i removed form the zip also compatibility.zip
Hello,
I finally managed to install the zip thanks to TWRP, but it seems that my cellphone is stuck on the boot turning logo with the two red dots turning around the big red one
Fixed : https://forum.xda-developers.com/oneplus-5/help/bricked-oneplus-5-t3884364

Error when installing new rom

So Ive been trying to install multiple different pie roms and each one gives me error 7 during the install with twrp.
Ive updated twrp to the newest 3.2.3, I read that could be the issue.
I was using nolimits rom but due to no future updates I wanted to try something different.
Im sure its something simple, but I cannot seem to find any resources.
I even tried deleting the assert lines in the rom zip, still same error.
Im at a complete loss.
I just put nolimits back on it so I at least have a working phone.
Any info is appreciated
cblock said:
So Ive been trying to install multiple different pie roms and each one gives me error 7 during the install with twrp.
Ive updated twrp to the newest 3.2.3, I read that could be the issue.
I was using nolimits rom but due to no future updates I wanted to try something different.
Im sure its something simple, but I cannot seem to find any resources.
I even tried deleting the assert lines in the rom zip, still same error.
Im at a complete loss.
I just put nolimits back on it so I at least have a working phone.
Any info is appreciated
Click to expand...
Click to collapse
Please post your question only once https://forum.xda-developers.com/oneplus-5/help/updating-to-beta-22-t3879346/post78437012
Please answer some questions:
Which twrp (file name)?
Which xXx rom(file name)?
Decrypted or encrypted storage?
Which rom do you want to install (exact steps)?
Sorry for the double post, Ive been super frustrated with it.
Right now im running twrp 3.2.3.0 from the twrp website, I have tried codeworkx with no change.
I was trying multiple different roms, but for the sake of troubleshooting I was trying PixelExperience Cheeseburger 9.0
Most of the installs attempted have been through twrp so Im guessing decrypted.
And I was following the steps on the roms thread.
Factory wipe, delvik and data, then attempt the install.
cblock said:
Sorry for the double post, Ive been super frustrated with it.
Right now im running twrp 3.2.3.0 from the twrp website, I have tried codeworkx with no change.
I was trying multiple different roms, but for the sake of troubleshooting I was trying PixelExperience Cheeseburger 9.0
Most of the installs attempted have been through twrp so Im guessing decrypted.
And I was following the steps on the roms thread.
Factory wipe, delvik and data, then attempt the install.
Click to expand...
Click to collapse
Decrypted or encrypted storage? Which rom do you want to install now? Please use latest codeworkx recovery.
Which xXx rom exactly you're coming from(file name)?
Ok, I am coming from xXx_NoLimits_12.0_OP5_Oxygen_5.1.3_full and Id love to install OxygenOS Open Beta 22 Full
I can certainly install the codeworkx recovery if needed.
How can I tell if I am encrypted or not? Ive always just left things as default
Btw thanks for your help
cblock said:
Ok, I am coming from xXx_NoLimits_12.0_OP5_Oxygen_5.1.3_full and Id love to install OxygenOS Open Beta 22 Full
I can certainly install the codeworkx recovery if needed.
How can I tell if I am encrypted or not? Ive always just left things as default
Btw thanks for your help
Click to expand...
Click to collapse
Just follow instructions in first post for clean installation, make sure you made backups: https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-beta-1-android-oreo-t3710003
Encryption means, you cannot access your internal storage without entering a pin when starting twrp or accessing the devices memory from outside.
So Ive followed the new install instructions from start to finish, and I cannot get past the OS flash.
Continuing to receive error 7.
Also receiving cannot mount /vendor as well
cblock said:
So Ive followed the new install instructions from start to finish, and I cannot get past the OS flash.
Continuing to receive error 7.
Also receiving cannot mount /vendor as well
Click to expand...
Click to collapse
For the error 7 make sure you downloaded the correct files, without download issues(maybe use checksum). have you removed compatibility.zip from the OB22 rom zip with either 7zip or total commander?
For vendor partition error try to mount vendor partition within twrp manually, if there's no checkbox, you need to flash what I suggested you here https://forum.xda-developers.com/oneplus-5/help/updating-to-beta-22-t3879346/post78437012
Earlier open betas created this vendor partion. You can try with OB13.
I have same problem, except I tried to fix it by flashing OB19 firmware and radio zip. Now when I boot the recovery I don't get "no vendor partition" and the bootloader unlocked error, but when I try to flash ANY rom (stable 5.1.4 /open beta 19 / PIE ), the system and vendor partitions would patcg unconditionally, but I get no OS error and the device reboots to recovery. Please help.
Ps: I have magisk and TWRP 3.2.3, and tried both clean flashing and dirty flashing. the unlocked bootloader error changed even after restoring the NAND backup. I had already removed the compatibility zip from the Pie zip. I tried blu spark and codeworx versions of twrp 3.2.3
yohouse2 said:
I have same problem, except I tried to fix it by flashing OB19 firmware and radio zip. Now when I boot the recovery I don't get "no vendor partition" and the bootloader unlocked error, but when I try to flash ANY rom (stable 5.1.4 /open beta 19 / PIE ), the system and vendor partitions would patcg unconditionally, but I get no OS error and the device reboots to recovery. Please help.
Ps: I have magisk and TWRP 3.2.3, and tried both clean flashing and dirty flashing. the unlocked bootloader error changed even after restoring the NAND backup. I had already removed the compatibility zip from the Pie zip. I tried blu spark and codeworx versions of twrp 3.2.3
Click to expand...
Click to collapse
Same as my answer above. Oneplus published every open beta as an update(even when it's a full rom) of the previous version hence when your last open beta was 10 and you want 22 you missed several in between(this was an example!).
FINALLY got it all to work.
Apparently I had issues with the firmware, had to go back and install codeworx 15.1 firmware, after that it seems to be good to go.
THANK YOU Strongst.
cblock said:
FINALLY got it all to work.
Apparently I had issues with the firmware, had to go back and install codeworx 15.1 firmware, after that it seems to be good to go.
THANK YOU Strongst.
Click to expand...
Click to collapse
How did you fix it? Can you explain what you mean by codeworx firmware? Could you provide link for file or guide?
This is the firmware from Codeworkx
https://sourceforge.net/projects/ch...firmware/firmware_5.1.7_oneplus5.zip/download.
You might have to go to an older version of twrp as well, just to get this installed.
strongst said:
Same as my answer above. Oneplus published every open beta as an update(even when it's a full rom) of the previous version hence when your last open beta was 10 and you want 22 you missed several in between(this was an example!).
Click to expand...
Click to collapse
I flashed open beta 13 & 19, and stable 5.1.4, all failed, what should I try?
---------- Post added at 07:40 PM ---------- Previous post was at 07:37 PM ----------
cblock said:
This is the firmware from Codeworkx
https://sourceforge.net/projects/ch...firmware/firmware_5.1.7_oneplus5.zip/download.
You might have to go to an older version of twrp as well, just to get this installed.
Click to expand...
Click to collapse
Which twrp version and developer? And after this can I flash Pie directly or should I install something before it? Did you dirty flash or did you use clean install? Sorry for too many questions but I tried it many times and am frustrated that it didn't work, but you fixing it gives me hope.
yohouse2 said:
I flashed open beta 13 & 19, and stable 5.1.4, all failed, what should I try?
Click to expand...
Click to collapse
What exactly means "failed"? Which error? Screenshot maybe? And from which oxygenOS you tried to update?
Also you need to flash magisk after flashing oxygenOS to make twrp sticky. Also a format of internal storage may be necessary to solve a boot problem.
The Unlocked Bootloader Warning screen is normal cause it's a warning when you unlock your bootloader, if it changed, it's due to changes made by oneplus some time ago, they changed it.
I was able to flash pie directly after updating the firmware.
twrp 3.2.3 should work
strongst said:
What exactly means "failed"? Which error? Screenshot maybe? And from which oxygenOS you tried to update?
Also you need to flash magisk after flashing oxygenOS to make twrp sticky. Also a format of internal storage may be necessary to solve a boot problem.
The Unlocked Bootloader Warning screen is normal cause it's a warning when you unlock your bootloader, if it changed, it's due to changes made by oneplus some time ago, they changed it.
Click to expand...
Click to collapse
By failed I mean that I would wipe the system partition for clean flash, install the ROM zip, which would run but say patching system and vendor partitions unconditionally, then when I want to reboot it says warning no OS. Continuing to reboot gets me automatically back to recovery.
I tried updating from xXx 5.1.2
yohouse2 said:
By failed I mean that I would wipe the system partition for clean flash, install the ROM zip, which would run but say patching system and vendor partitions unconditionally, then when I want to reboot it says warning no OS. Continuing to reboot gets me automatically back to recovery.
I tried updating from xXx 5.1.2
Click to expand...
Click to collapse
Did you try the firmware link I posted earlier?
cblock said:
Did you try the firmware link I posted earlier?
Click to expand...
Click to collapse
Will try in just a minute
---------- Post added at 09:23 PM ---------- Previous post was at 09:05 PM ----------
cblock said:
Did you try the firmware link I posted earlier?
Click to expand...
Click to collapse
still getting system patching unconditionally
Does it get stuck with an error?
Its suppose to say that

[HELP]xXx No Limits to Android Pie

Hello everyone, could anyone help me to migrate from ROM xXx to Android 9?
I am currently using the ROM xXx but when trying to switch to another ROM I have problems with bootloop.
I tried following the procedures outlined in the last comments of the original thread but did not succeed, could anyone help me with a step by step to get out of the ROM and go to version 9 of android?
Here is some information that may be helpful in finding a possible solution:
Actually ROM: xXx No Limits 4.3 (https://forum.xda-developers.com/on...xxx-nolimits-1-1-speed-ram-optimized-t3627121)
New ROM:OxygenOS 9.0.1 (https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003)
Device is decrypted
Bootloader Unlocked
TRWP 3.2.1-X blu_spark v8.61
In some attempts to install ROM the TWRP returned me error regarding vendor partition.
Thanks to anyone who can help me.
josebeserra said:
Hello everyone, could anyone help me to migrate from ROM xXx to Android 9?
I am currently using the ROM xXx but when trying to switch to another ROM I have problems with bootloop.
I tried following the procedures outlined in the last comments of the original thread but did not succeed, could anyone help me with a step by step to get out of the ROM and go to version 9 of android?
Here is some information that may be helpful in finding a possible solution:
Actually ROM: xXx No Limits 4.3 (https://forum.xda-developers.com/on...xxx-nolimits-1-1-speed-ram-optimized-t3627121)
New ROM:OxygenOS 9.0.1 (https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003)
Device is decrypted
Bootloader Unlocked
TRWP 3.2.1-X blu_spark v8.61
In some attempts to install ROM the TWRP returned me error regarding vendor partition.
Thanks to anyone who can help me.
Click to expand...
Click to collapse
You'll need to be on your PC for this. Make sure you backup anything you want to keep from Internal Storage:
OOS:
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
1) Wipe and Format everything in TWRP.
2) Move OOS 5.1.3 (Full Zip) to Internal Storage
3) Install 5.1.3 and nothing else (You will lose TWRP, but don't worry abut that now)
4) OTA up to 5.1.7
5) If you don't get offered OTA to 9.0.1 use full zip from here: https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
6) Once on OOS 9.0.1 you can use Fastboot to flash latest Codeworkx TWRP: https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
If you want to install a custom ROM after that:
7) Wipe and Format
8) Install Pie ROM/Gapps etc
Dirk said:
You'll need to be on your PC for this. Make sure you backup anything you want to keep from Internal Storage:
OOS:
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
1) Wipe and Format everything in TWRP.
2) Move OOS 5.1.3 (Full Zip) to Internal Storage
3) Install 5.1.3 and nothing else (You will lose TWRP, but don't worry abut that now)
4) OTA up to 5.1.7
5) If you don't get offered OTA to 9.0.1 use full zip from here: https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
6) Once on OOS 9.0.1 you can use Fastboot to flash latest Codeworkx TWRP: https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/
If you want to install a custom ROM after that:
7) Wipe and Format
8) Install Pie ROM/Gapps etc
Click to expand...
Click to collapse
Thx for Help dude, but i have a problem.
I backed up my stuff and joined TWRP, after joining TWRP I went to WIPE> Format Data.
After that I passed the file from ROM 5.1.3 to the internal memory of the device and went to install and started the procedure, but doing so returned an error and I would like you to help me if it were possible.
The following message was displayed:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/OnePlus5Oxygen_23_OTA_036_5.1.3.zip'
Can you help me?
josebeserra said:
Thx for Help dude, but i have a problem.
I backed up my stuff and joined TWRP, after joining TWRP I went to WIPE> Format Data.
After that I passed the file from ROM 5.1.3 to the internal memory of the device and went to install and started the procedure, but doing so returned an error and I would like you to help me if it were possible.
The following message was displayed:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/OnePlus5Oxygen_23_OTA_036_5.1.3.zip'
Can you help me?
Click to expand...
Click to collapse
Error 7 leads to corrupted file. Check your downloaded file, try again.
strongst said:
Error 7 leads to corrupted file. Check your downloaded file, try again.
Click to expand...
Click to collapse
ok, i will re-download the file and try the installation again.
I downloaded it again and tried the installation but again I got the same error when trying to install.
I am doing the download again but this time I will try to download without using download managers, in the previous attempts I used the Internet Download Manager (IDM) to do the downloads, do you recommend some download manager or browser?
I will also download via mobile data on the 4G network.
josebeserra said:
I downloaded it again and tried the installation but again I got the same error when trying to install.
I am doing the download again but this time I will try to download without using download managers, in the previous attempts I used the Internet Download Manager (IDM) to do the downloads, do you recommend some download manager or browser?
I will also download via mobile data on the 4G network.
Click to expand...
Click to collapse
I never use or recommend download managers cause of this
You can use Opera mobile, Firefox etc. But with download managers there are more issues(you'll find a lot on xda).
strongst said:
I never use or recommend download managers cause of this
You can use Opera mobile, Firefox etc. But with download managers there are more issues(you'll find a lot on xda).
Click to expand...
Click to collapse
Okay, thanks, I'll try to download again and I'll come back with the result soon
I downloaded the file from ROM 5.1.3 on the phone and again it returned the same error, I will try one more time.
Please give me your opinion, is there any version of TWRP that is recommended for installation? is it not the version I'm using that might not be reading the file?
Anything else, do I need to install 5.1.3 exactly or can I get a version prior to it?
There's something wrong in the middle of it, but let's keep trying.
lol
josebeserra said:
Actually ROM: xXx No Limits 4.3 (https://forum.xda-developers.com/on...xxx-nolimits-1-1-speed-ram-optimized-t3627121)
New ROM:OxygenOS 9.0.1 (https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003)
Device is decrypted
Bootloader Unlocked
TRWP 3.2.1-X blu_spark v8.61[/B]
Click to expand...
Click to collapse
Are you on xXx No Limits 4.3 (Nougat - 4.5.14) or xXx No Limits 4.3 Magisk Rom?
If you are talking about the Magisk Rom then we need to know what OOS version you are on to be able to give you the right advise.
josebeserra said:
I downloaded the file from ROM 5.1.3 on the phone and again it returned the same error, I will try one more time.
Please give me your opinion, is there any version of TWRP that is recommended for installation? is it not the version I'm using that might not be reading the file?
Anything else, do I need to install 5.1.3 exactly or can I get a version prior to it?
There's something wrong in the middle of it, but let's keep trying.
lol
Click to expand...
Click to collapse
Maybe you can try with this recovery: twrp-3.2.3-0-20181031-codeworkx-cheeseburger.img
And see if it works.
Otherwise I would recommend to download OxygenOS 5.1.4 and try to flash that.
Z-Blade said:
Are you on xXx No Limits 4.3 (Nougat - 4.5.14) or xXx No Limits 4.3 Magisk Rom?
If you are talking about the Magisk Rom then we need to know what OOS version you are on to be able to give you the right advise.
Click to expand...
Click to collapse
I'm currently in version 4.3 Magisk, I think this can make it easier to find a possible output or end up making it more difficult.
strongst said:
Maybe you can try with this recovery: twrp-3.2.3-0-20181031-codeworkx-cheeseburger.img
And see if it works.
Otherwise I would recommend to download OxygenOS 5.1.4 and try to flash that.
Click to expand...
Click to collapse
I will test with the one that recommended me and I will also download version 5.1.4
josebeserra said:
I'm currently in version 4.3 Magisk, I think this can make it easier to find a possible output or end up making it more difficult.
I will test with the one that recommended me and I will also download version 5.1.4
Click to expand...
Click to collapse
4.3 xXx magisk means you're running a stock oxygenOS where xXx 4.3 mod is running. Do you remember which oxygenOS version it was? 5.1.4 5.1.7 or whatever?
josebeserra said:
I'm currently in version 4.3 Magisk, I think this can make it easier to find a possible output or end up making it more difficult.
Click to expand...
Click to collapse
It could make things easier. If your phone still boots into OOS, go into Setting and scroll to the very bottom and select About Phone. Look at what Oxygen OS you are running. What you need to do is get that version all the way up to 5.1.7. Once you are there, you can just flash 9.0.2.
strongst said:
4.3 xXx magisk means you're running a stock oxygenOS where xXx 4.3 mod is running. Do you remember which oxygenOS version it was? 5.1.4 5.1.7 or whatever?
Click to expand...
Click to collapse
I'm using the OREO Stable version xXx_NoLimits_12.0_OP5_Oxygen_5.1.3 with the update patch xXx_NoLimits_4.3_magisk_rom
Z-Blade said:
It could make things easier. If your phone still boots into OOS, go into Setting and scroll to the very bottom and select About Phone. Look at what Oxygen OS you are running. What you need to do is get that version all the way up to 5.1.7. Once you are there, you can just flash 9.0.2.
Click to expand...
Click to collapse
This is the problem, I can not get out of the ROM No Limits to go to another ROM, I've tried some suggestions but still nothing worked, I'm counting on the patience of the members here of the forum to help me with this problem, but I believe that will soon be resolved and thank you all for the help.
josebeserra said:
I'm using the OREO Stable version xXx_NoLimits_12.0_OP5_Oxygen_5.1.3 with the update patch xXx_NoLimits_4.3_magisk_rom
Click to expand...
Click to collapse
Ok, so you're on a patched xXx rom not stock rom with xXx mod. Weird setup
Anyway, did 5.1.4 sucessfully flash without error 7?
strongst said:
Ok, so you're on a patched xXx rom not stock rom with xXx mod. Weird setup
Anyway, did 5.1.4 sucessfully flash without error 7?
Click to expand...
Click to collapse
strongst said:
Ok, so you're on a patched xXx rom not stock rom with xXx mod. Weird setup
Anyway, did 5.1.4 sucessfully flash without error 7?
Click to expand...
Click to collapse
I have not tried to install 5.1.4 yet, I was trying to 5.1.3 as it was suggested, I will download version 5.1.4 that is in this repository (https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190), and I will try to make the installation clean, ie format all the data, move the ZIP into the internal memory and try to see if it works.
I will try to clarify about the patch in case I try to reinstall ROM No Limits I need to install the full version which is 12.0 and patch 4.3 is just an update patch for the latest version and I can also go back to version 12.0.
Version 5.1.4 I have not yet tested if I can install it without errors, I will do it soon and I will come back with the result.
I think 5.1.4 should do the trick. I would highly recommend you wipe everything including systems, internal and data. This will pretty much give you a blank phone. Connect the phone to your computer and copy over 5.1.4 to the internal storage through TWRP, it should be the only file you see in your sdcard. Flash it and you should be good.
Z-Blade said:
I think 5.1.4 should do the trick. I would highly recommend you wipe everything including systems, internal and data. This will pretty much give you a blank phone. Connect the phone to your computer and copy over 5.1.4 to the internal storage through TWRP, it should be the only file you see in your sdcard. Flash it and you should be good.
Click to expand...
Click to collapse
Okay, I'll do the test and I'll come back soon with the result, I'll change the version of TWRP too, this may be the problem.
Bringing the result of a few more tests, I first changed the recovery version, I went to the twrp-3.2.3-0-20181031-codeworkx-cheeseburger.img as suggested and after that I formatted all the data and started to appear a new one Error that was Failed to mount '/ vendor' (Invalid argument), I tried to install the 5.1.3 ROM and also to 5.1.4, which it was indicating was installing but at the end of the installation again I returned the error Failed to mount '/ vendor '(Invalid argument).
After that I reinstalled ROM No Limits 12.0 v. 5.1.3.
Does anyone know how to solve this new error?

Update to OxygenOS 9.0.0

Hello,
I have a rooted Oneplus 5 (Android 8.1, OxygenOS 5.1.7) and I'm trying to update it to get the newest version of Oxygen OS.
I found the Firmwares here : https://www.getdroidtips.com/oneplus-5-stock-firmware/
However, when I try to install it via TWRP, I get this
Code:
Updating partition details...
...done
Full SELinux support is present.
Data successfully decrypted
Updating parition details...
...done
MTP Enabled
Installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988.zip
Checking for Digest file...
Skipping Diggest check: no Digest file found
[COLOR="Red"]E:String resource 'zip_compatible_err' not found.
Using default value.
Zup Treble compatibility error!
Invalid zip file format!
Error installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988.zip[/COLOR]
Updating partition details...
...done
After looking around on the internet, I found that it is because my TWRP is outdated.
I tried to download newer versions from the Official TWRP App but when I go to the recovery, I only get a black screen.
I reinstalled this version 3.2.3 : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723 but still can't manage to update OxygenOS.
Any help ?
Thanks
Mouchoir said:
Hello,
I have a rooted Oneplus 5 (Android 8.1, OxygenOS 5.1.7) and I'm trying to update it to get the newest version of Oxygen OS.
I found the Firmwares here : https://www.getdroidtips.com/oneplus-5-stock-firmware/
However, when I try to install it via TWRP, I get this
After looking around on the internet, I found that it is because my TWRP is outdated.
I tried to download newer versions from the Official TWRP App but when I go to the recovery, I only get a black screen.
I reinstalled this version 3.2.3 : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723 but still can't manage to update OxygenOS.
Any help ?
Thanks
Click to expand...
Click to collapse
Hello, I can't recommend any guide on outside of xda cause they're not consistent...
Just follow this guide in the first post https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003 would help you.
You can't flash twrp 3.3.1 cause you need newer firmware, pie firmware.
Please answer all the questions:
What is you current twrp recovery (file name)?
What is your current Rom(file name)?
What is your magisk version?
Is your storage encryped or decrypted?
Hello and thanks for your answer.
My current TWRP is twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
I am not sure about my ROM's file name
My Magisk version is 19.3 (19300) - Magisk Manager version is 7.3.4 (235) : it says everything's up to date
I think my storage is encrypted since it asks for my password when I start TWRP
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
Download the full ROM zip from the downloads section above
Transfer the zip to the root of your device's internal storage
Only needed if you are coming from Oreo and use a TWRP that does not ignore the compatibility.zip check: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
Reboot to TWRP recovery (make sure you're using an Oreo TWRP if you're on Oreo Firmware/ROM or Pie TWRP if you're on Pie Firmware/ROM) and take a nandroid backup of your existing ROM
Flash Magisk Uninstaller (recommended)
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
Flash the latest stable Magisk in case you want to root
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash xXx No Verity 4.0.zip from here
Reboot
Note: First boot may take some time, so please be patient and wait for it to boot.
Click to expand...
Click to collapse
If I understand correctly from the link you sent me, TWRP doesn't ignore the compatibility.zip check so in order to install OxygenOS 9.0.8 I need to delete this part of the ZIP first ?
Thanks
Mouchoir said:
Hello and thanks for your answer.
My current TWRP is twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
I am not sure about my ROM's file name
My Magisk version is 19.3 (19300) - Magisk Manager version is 7.3.4 (235) : it says everything's up to date
I think my storage is encrypted since it asks for my password when I start TWRP
If I understand correctly from the link you sent me, TWRP doesn't ignore the compatibility.zip check so in order to install OxygenOS 9.0.8 I need to delete this part of the ZIP first ?
Thanks
Click to expand...
Click to collapse
Exactly, delete the compatibility.zip from 9.0.8 rom file and flash it with your current twrp, exactly like in the linked guide for update, not clean flash if you have already a rom above OxygenOS 5.1.4, so please check your OxygenOS version(settings, about).
strongst said:
Exactly, delete the compatibility.zip from 9.0.8 rom file and flash it with your current twrp, exactly like in the linked guide for update, not clean flash if you have already a rom above OxygenOS 5.1.4, so please check your OxygenOS version(settings, about).
Click to expand...
Click to collapse
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Mouchoir said:
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Click to expand...
Click to collapse
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Mouchoir said:
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Click to expand...
Click to collapse
Clean flash wipes system and data, so no os, data and settings.
PierreVicquery02 said:
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Click to expand...
Click to collapse
Thanks I'll do that. Can I go for the newest version directly or do I have to flash them one by one untill the most recent one ?
Mouchoir said:
Thanks I'll do that. Can I go for the newest version directly or do I have to flash them one by one untill the most recent one ?
Click to expand...
Click to collapse
As I already wrote you: if you are already at 5.1.4 or newer, you can flash 9.0.8
strongst said:
As I already wrote you: if you are already at 5.1.4 or newer, you can flash 9.0.8
Click to expand...
Click to collapse
Better safe than sorry !
I downloaded the version here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
and deleted compatibility.zip from OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip but I still have an issue when installing :
Code:
Data successfully decrypted
Updating parition details...
...done
Successfully decrypted with a default password.
Updating parition details...
...done
Full SELinus support is present.
MTP ENabled
Installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip
Checking for Digest file...
Skipping Diggest check: no Digest file found
Patching system image unconditionally...
E1001 Failed to update system image.
[COLOR="Red"]Updater process ended with ERROR:7
Error installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip[/COLOR]
Updating partition details...
...done
Mouchoir said:
Better safe than sorry !
I downloaded the version here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
and deleted compatibility.zip from OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip but I still have an issue when installing :
Click to expand...
Click to collapse
Error 7 is corrupt file, you'll find about it here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003/page591
Yeah I can't seem to find the solution. I've tried to use codework's TWRP as stated here : https://forum.xda-developers.com/showpost.php?p=75543048&postcount=3104
I've tried to wipe cache/Dalvik : https://forum.xda-developers.com/showpost.php?p=75079739&postcount=2470
I tried to flash then restart and flash again : https://forum.xda-developers.com/showpost.php?p=75077082&postcount=2416
I just can't seem to find the solution to the ERROR:7
Mouchoir said:
Yeah I can't seem to find the solution. I've tried to use codework's TWRP as stated here : https://forum.xda-developers.com/showpost.php?p=75543048&postcount=3104
I've tried to wipe cache/Dalvik : https://forum.xda-developers.com/showpost.php?p=75079739&postcount=2470
I tried to flash then restart and flash again : https://forum.xda-developers.com/showpost.php?p=75077082&postcount=2416
I just can't seem to find the solution to the ERROR:7
Click to expand...
Click to collapse
With which tool did you remove the compatibility.zip from the rom zip? That's the key usually and explained within the instructions
strongst said:
With which tool did you remove the compatibility.zip from the rom zip? That's the key usually and explained within the instructions
Click to expand...
Click to collapse
As stated here, I used 7zip
PierreVicquery02 said:
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Click to expand...
Click to collapse
I re-did all the process and managed to update my OS on the second try.
Now I have an issue trying to put TWRP and Magisk back : I'm following this tutorial https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 but I can't seem to be able to put TWRP.
When my phone is on and connected to the computer,
Code:
adb devices
does see the phone but then when I go into the bootloader and I type
Code:
fastboot devices
nothing happens. When I go for
Code:
fastboot flash recovery recovery.img
it just tells me it's waiting for any device.
I've tried deleting and reinstalling the drivers with the too provided in the thread, but still doesn't work.
Yes because to use fastboot you have to be in fastboot mode...
PierreVicquery02 said:
Yes because to use fastboot you have to be in fastboot mode...
Click to expand...
Click to collapse
Thanks for your answer. I believe I am in fastboot mode/bootloader as I said in my previous message. I've been following this tutorial : https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
I just checked on Youtube, this is the screen I am on : https://www.youtube.com/watch?v=4xlmZXgkUrQ
So as I said, once I am on this screen where I can select between START/POWER OFF/RECOVERY MODE/RESTART BOOTLOADER and I type the "fastboot device" command, nothing comes up.
Is this screen not the "Fastboot mode" ?
Mouchoir said:
As stated here, I used 7zip
I re-did all the process and managed to update my OS on the second try.
Now I have an issue trying to put TWRP and Magisk back : I'm following this tutorial https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 but I can't seem to be able to put TWRP.
When my phone is on and connected to the computer,
Code:
adb devices
does see the phone but then when I go into the bootloader and I type
Code:
fastboot devices
nothing happens. When I go for
Code:
fastboot flash recovery recovery.img
it just tells me it's waiting for any device.
I've tried deleting and reinstalling the drivers with the too provided in the thread, but still doesn't work.
Click to expand...
Click to collapse
Mouchoir said:
Thanks for your answer. I believe I am in fastboot mode/bootloader as I said in my previous message. I've been following this tutorial : https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
I just checked on Youtube, this is the screen I am on : https://www.youtube.com/watch?v=4xlmZXgkUrQ
So as I said, once I am on this screen where I can select between START/POWER OFF/RECOVERY MODE/RESTART BOOTLOADER and I type the "fastboot device" command, nothing comes up.
Is this screen not the "Fastboot mode" ?
Click to expand...
Click to collapse
Yes this is fastboot sorry maybe I didn't understand. If you are able to backup your data, use Unbrick tool to update your device
PierreVicquery02 said:
Yes this is fastboot sorry maybe I didn't understand. If you are able to backup your data, use Unbrick tool to update your device
Click to expand...
Click to collapse
I was hoping I could flash TWRP and Magisk without wiping my data
It's weird that when it's on I can see it with "adb devices" and Windows sees it's a Oneplus, but when it's in fastboot I can't with "adb fastboot" and Windows detects an USB but can't say what it is.
I feel its a driver issue but can't figure it out
Mouchoir said:
I was hoping I could flash TWRP and Magisk without wiping my data
It's weird that when it's on I can see it with "adb devices" and Windows sees it's a Oneplus, but when it's in fastboot I can't with "adb fastboot" and Windows detects an USB but can't say what it is.
I feel its a driver issue but can't figure it out
Click to expand...
Click to collapse
That's such a strange bug. If you are in fastboot, it's impossible for your PC to recognize it in ADB mode. Try with another computer or use unbrick tool to clean your phone (it installs Oxy 9.0.8)
Well I managed to see the fastboot thanks to the EOM cable but I think I bricked my phone

Categories

Resources