Failed to update system image error 7?? - ZTE Axon 7 Questions & Answers

I tried to migrate from GSI Treble rom Havocos 2.7 to SuperiorOS Pie by runninghamster
(I'm A2017G btw)
These are the steps I followed:
1. Reboot to TWRP
2. Wipe dalvik/art cache, cache, vendor, system, data, etc.
3. Reboot back to TWRP again (using okilabs 3.23.0)
4. Flash Universal bootstack v2, then flash A2017G_omodem
5. Flash okilabs twrp again
6. Flash superioros rom (here's where it goes wrong)
In the process of flashing superioros rom, it goes to error 7 and says, failed to patch system image unconditionally, updater process error 7 and all of that.
I've tried the tutorial where you remove the assert lines and all of that yet it still says that.
Please help me, it would be awesome.

Related

TWRP error: error executing updater binary in zip

I cant flash any custom ROM TWRP error: error executing updater binary in zip.
I try this TWRP:
TWRP 2.8.6.0
TWRP 2.8.7.0
I try this ROM:
Big ROM
Shell ROM
Gecko ROM
RECREATED REMIX STOCK
RECREATED REMIX STOCK BLUE
RECREATED REMIX METAMORFOSE
RECREATED REMIX [BLACK] LEOPARD
How fix this problem?
Solved! Use TWRP 2.8.7.0
How to:
1. reboot to recovery
2. wipe cache, dalvik cache, data, system
3. try flash custom ROM - NOT WORKING
4. restart recovery
5. wipe cache, dalvik cache, data, system
6. restart recovery (recovery say: no install supersu, swipe to install supersu)
7. flash custom ROM - WORKING

Problem installing omnirom android 9 on oneplus 5

i follow the instructions as per omnirom thread... flash the vendor/firmware, wipe data , reboot recovery, and flash the rom, but the omni rom does not boot at all and just shows the OMNI sign on/off. How should i proceed?
Which ROM were you on? What Firmware were you on? Were you Encrypted? Did you only Wipe /Data or did you wipe everything?
Dirk said:
Which ROM were you on? What Firmware were you on? Were you Encrypted? Did you only Wipe /Data or did you wipe everything?
Click to expand...
Click to collapse
Lineageos 15.1 (android 8.1)
I first flashed OOS stock firmware, then OOS, then LOS.
I format data and then wipe dalvik cache, cache, data, system.
datg said:
Lineageos 15.1 (android 8.1)
I first flashed OOS stock firmware, then OOS, then LOS.
I format data and then wipe dalvik cache, cache, data, system.
Click to expand...
Click to collapse
Is your Recovery up to date? I'd recommend the latest Codeworkx TWRP. Did you already have the Vendor partition on your device before attempting to flash Omnirom?
If in doubt flash full OOS 5.1.3 and OTA all the way up to and including 9.0.1. Then reinstall TWRP by fastboot, wipe and format everything and then flash Omni.
Dirk said:
Is your Recovery up to date? I'd recommend the latest Codeworkx TWRP. Did you already have the Vendor partition on your device before attempting to flash Omnirom?
If in doubt flash full OOS 5.1.3 and OTA all the way up to and including 9.0.1. Then reinstall TWRP by fastboot, wipe and format everything and then flash Omni.
Click to expand...
Click to collapse
I still tried, it does not work. My phone got bricked, so I used MSM tool to unbrick and after that I got Nougat 7.1.1. I upgrade my Android to 8.0 (OOS 5.1.3) from system update, and after that update another one came, Android 8.1.1 ( OOS 5.1.7). I then unlock bootloader, flash twrp, flash vendor/firmware, wipe data, flash Omnirom but I get stuck into the omni loading screen. The phone does not load.
datg said:
I still tried, it does not work. My phone got bricked, so I used MSM tool to unbrick and after that I got Nougat 7.1.1. I upgrade my Android to 8.0 (OOS 5.1.3) from system update, and after that update another one came, Android 8.1.1 ( OOS 5.1.7). I then unlock bootloader, flash twrp, flash vendor/firmware, wipe data, flash Omnirom but I get stuck into the omni loading screen. The phone does not load.
Click to expand...
Click to collapse
Okay, i'm not seeing anything about a Format operation there. Wipe does not equal Format. I've just finished setting up Omnirom 9 on my own OP5, so it does work. (Great ROM btw)
Backup everything from Internal Storage to your PC, including all the installation files. The following will wipe your storage!
1) Boot into TWRP
2) Wipe Menu, Advanced, Select all Partitions manually and Wipe
3) Wipe Menu, Format. (Type Yes when prompted)
4) Reboot Menu, Reboot Recovery
5) Copy Installation files from PC to Internal Storage
6) Install Menu, Queue up and install zips in the following order:
i) Vendor/Firmware
ii) ROM
iii) Gapps
7) Wipe Dalvik/Cache when prompted
8) Reboot
9) Set up and done.
Dirk said:
Okay, i'm not seeing anything about a Format operation there. Wipe does not equal Format. I've just finished setting up Omnirom 9 on my own OP5, so it does work. (Great ROM btw)
Backup everything from Internal Storage to your PC, including all the installation files. The following will wipe your storage!
1) Boot into TWRP
2) Wipe Menu, Advanced, Select all Partitions manually and Wipe
3) Wipe Menu, Format. (Type Yes when prompted)
4) Reboot Menu, Reboot Recovery
5) Copy Installation files from PC to Internal Storage
6) Install Menu, Queue up and install zips in the following order:
i) Vendor/Firmware
ii) ROM
iii) Gapps
7) Wipe Dalvik/Cache when prompted
8) Reboot
9) Set up and done.
Click to expand...
Click to collapse
I did it, but I get a bootloop. Omnirom does not boot, it just shows the OMNI logo lights.
datg said:
I did it, but I get a bootloop. Omnirom does not boot, it just shows the OMNI logo lights.
Click to expand...
Click to collapse
The only difference between the two of us that i can see is that i flashed OOS 9.0.1 and booted into it once before doing the steps above.
Don't know if it's relevant but the Vendor/Firmware that i used was 9.0.1 also:
https://drive.google.com/drive/folders/11o0FxZ_rw5lhthGz8_iyYEXBt0dwiv3x
Make sure you nuke everything before starting. Wipe and Format everything. Move installation files across and follow steps.
Dirk said:
The only difference between the two of us that i can see is that i flashed OOS 9.0.1 and booted into it once before doing the steps above.
Don't know if it's relevant but the Vendor/Firmware that i used was 9.0.1 also:
https://drive.google.com/drive/folders/11o0FxZ_rw5lhthGz8_iyYEXBt0dwiv3x
Make sure you nuke everything before starting. Wipe and Format everything. Move installation files across and follow steps.
Click to expand...
Click to collapse
I flashed OOS first and booted everything and I followed the steps and got everything right, but still I get stuck with a bootloop that does not load OmniROM.
Works fine for me;
Flashed the latest OxygenOS. Now you dont need to worry about flashing firmware later in the process.
Enabled unlocking the bootloader in developer menu.
Rebooted into bootloader and flashed the recovery image from clockworkx and booted into twrp recovery.
Wiped everything and formatted data as well.
Reboot recovery.
Flashed rom. I always use sideload but that should not matter. Dont flash anything else; first reboot into your working system.

unable to root oneplus 5 midnight black

hello every one , i know this was spoken about before but i followed every TUT in xda or out of this site and nothing has worked for me .
steps i did to be brief
1. unlock oem
2. flash twrp
3.magisk
4.no varity op5
all have gone in process without any errors , at last when i start the phone and check for root i get " not rooted"
i have did about 3 tut's using 3 different sources , most of them the same , but unlucky with any of them
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
https://forums.oneplus.com/threads/...wrp-root-nandroid-efs-backup-and-more.548216/
https://www.theandroidsoul.com/oneplus-5-root/
----
oneplus 5 midnight black a5000 / android 9 / security patch DEC ,1 , 2018
will some one help please ?
i found the solution my self , ref: https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
-----------
[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 or if you use an old TWRP recovery that's not the latest and Pie compatible: 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 siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) 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 Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot

Cannot root OP5 via Magisk

I cannot root my OP5. I have followed all of the directions unless I'm missing something. A week ago I previously switched to LineageOS but didn't like it so far. So I'm comfortable flashing ROMS.
1. I then downloaded the OOS official ROM, then loaded.
2. Update to most recent OOS (9.0.3) via OTA
3. Followed by factory reset to completely clear TWRP (which was downloaded via official website).
4. Downloaded TWRP
5. *Flash* No verity-opt-encrypt
6. Rebooted to TWRP
7. Downloaded Magisk zip, then flashed
8. Downloaded Magisk apk
9. Open Magisk app *shows* "Magisk is not installed*
I'm thinking maybe I've messed my phone FUBAR up or just completely doing wrong.
*sorry if this has already been answered as well or is posted in the wrong category*
sjonesd3 said:
I cannot root my OP5. I have followed all of the directions unless I'm missing something. A week ago I previously switched to LineageOS but didn't like it so far. So I'm comfortable flashing ROMS.
1. I then downloaded the OOS official ROM, then loaded.
2. Update to most recent OOS (9.0.3) via OTA
3. Followed by factory reset to completely clear TWRP (which was downloaded via official website).
4. Downloaded TWRP
5. *Flash* No verity-opt-encrypt
6. Rebooted to TWRP
7. Downloaded Magisk zip, then flashed
8. Downloaded Magisk apk
9. Open Magisk app *shows* "Magisk is not installed*
I'm thinking maybe I've messed my phone FUBAR up or just completely doing wrong.
*sorry if this has already been answered as well or is posted in the wrong category*
Click to expand...
Click to collapse
The instructions you need to follow are here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
You did not mention any file versions from rom, twrp, magisk.
What does the twrp log says? Are there any errors why magisk isn't installing sucessfully?
strongst said:
The instructions you need to follow are here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
You did not mention any file versions from rom, twrp, magisk.
What does the twrp log says? Are there any errors why magisk isn't installing sucessfully?
Click to expand...
Click to collapse
Sorry for not including the rom type. I was gonna try & run the official stock rom, while rooted. I know it was the TWRP from the official TWRP site "twrp-3.2.3-0-cheeseburger.img". Magisk was the most recent version a "Magisk-v18.1.zip". I don't think there were errors, but I can definitely try again.
I am going to try following those instructions. With me already being on "OxygenOS 9.0.4" via OTA update would I just need to cancel some parts? And to make sure that I flashed blu-spark correctly. I just drag then flash that while under TWRP correct?
[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 or if you use an old TWRP recovery that's not the latest and Pie compatible: 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 siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) 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 Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot
sjonesd3 said:
Sorry for not including the rom type. I was gonna try & run the official stock rom, while rooted. I know it was the TWRP from the official TWRP site "twrp-3.2.3-0-cheeseburger.img". Magisk was the most recent version a "Magisk-v18.1.zip". I don't think there were errors, but I can definitely try again.
I am going to try following those instructions. With me already being on "OxygenOS 9.0.4" via OTA update would I just need to cancel some parts? And to make sure that I flashed blu-spark correctly. I just drag then flash that while under TWRP correct?
[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 or if you use an old TWRP recovery that's not the latest and Pie compatible: 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 siankatabg's TWRP if you're on Oreo or codework's TWRP/blu_spark TWRP if you're on Pie) 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 Disable DM-Verity and ForceEncrypt 2.0 (OP5-5T-Treble).zip from here
Reboot
Click to expand...
Click to collapse
Use latest Codeworkx twrp(link in the instructions) and flash it with your current twrp
Then flash magisk 18.1 and watch the log for errors!
Then flash no verity patch(if you were decrypted before and want to stay, otherwise please inform me!)
Your quoted instructions are the ones for clean flash the whole rom. DON'T DO THIS! there are also instructions for updating
strongst said:
Use latest Codeworkx twrp(link in the instructions) and flash it with your current twrp
Then flash magisk 18.1 and watch the log for errors!
Then flash no verity patch(if you were decrypted before and want to stay, otherwise please inform me!)
Your quoted instructions are the ones for clean flash the whole rom. DON'T DO THIS! there are also instructions for updating
Click to expand...
Click to collapse
I followed this right in order. And right when it was time to reboot, it was a black screen with a blue LED light. Looked it up, said that it's bricked/stuck in boot loop
sjonesd3 said:
I followed this right in order. And right when it was time to reboot, it was a black screen with a blue LED light. Looked it up, said that it's bricked/stuck in boot loop
Click to expand...
Click to collapse
Firmware issue. Your device is most likely on a firmware other then the one that twrp supports.
So what was the last oxygenOS firmware / rom you use and which twrp(file name) did you flash?
Within the flashing instructions it's written that you need to be on 5.1.7 before flashing 9.0.x

Actual custom rom flashing instructions ??

This is my first Oneplus device and I just realized that in this device, in order to flash Custom Roms, you need to have a OOS installed beforehand plus not wiping /System partition.
So I was wondering which one is the best and quickest way to do a clean and fresh install from scratch, with the less amount of stuff from previous roms since wiping /System will end up on a bootloop.
Would it be something like this:
Starting from fresh and clean OOS latest version:
-Wipe /Data /Cache /Internal
-Flash Rom + kernel (optional) + TWRP
-Reboot recovery
-Flash Gapps + Magisk.
-Reboot System.
Is this the cleanest way to do it ?
I've seen @Koogly 's video but I dont know if theres a better way to do it.
Thank you all.
dirtyl0lharry said:
This is my first Oneplus device and I just realized that in this device, in order to flash Custom Roms, you need to have a OOS installed beforehand plus not wiping /System partition.
So I was wondering which one is the best and quickest way to do a clean and fresh install from scratch, with the less amount of stuff from previous roms since wiping /System will end up on a bootloop.
Would it be something like this:
Starting from fresh and clean OOS latest version:
-Wipe /Data /Cache /Internal
-Flash Rom + kernel (optional) + TWRP
-Reboot recovery
-Flash Gapps + Magisk.
-Reboot System.
Is this the cleanest way to do it ?
I've seen @Koogly 's video but I dont know if theres a better way to do it.
Thank you all.
Click to expand...
Click to collapse
First time from oos zip
Flash latest stock rom oos
Flash twrp zip
Wipe data and cache
Reboot to recovery
Flash latest stock rom oos zip
Flash twrp zip
Wipe data and cache
Flash custom rom zip
Flash twrp zip
Flash gapps zip
Flash magisk zip if you want root
Reboot to system
If you are already on custom
Flash lastest stock oos zip
Wipe data and cache
Flash custom rom zip
Flash twrp zip
Flash gapps zip
Flash magisk zip if you want root
Reboot to system
If going from custom to oos
Back up all your internal storage pictures videos music etc
Wipe data internal storage and cache
Flash latest stock oos zip
Flash twrp zip if you still want to customize
Reboot to recovery
Flash latest stock oos zip
Flash twrp zip if you still want to customize
Flash magisk zip if you want root
Reboot to system
If you want a custom kernel on any of these methods I would recommend booting the rim first and going through setup process the rebooting back to to twrp after and flashing the kernel
Also you will want a USB c otg port bc after the first flash your data will be encoded. You can select the otg storage via twrp to make the process easier.
If you don't have an otg cable you will need to sideload each zip via cmd prompt with fastboot tools and sideload in twrp
After all flashes are complete and you boot the rom the encrypted data will no longer be encrypted on custom rom flashing if going back to stock oos rom you lose all internal data
Most ROMs threads have instructions in main thread and those should be followed first. Some ROMs may require some bits and pieces from original oxygen rom prior to custom install
Asoip for example
Is flashing oos necessary if we unlock bootloader?
I see instructions for lineage os dont mention flashing of oos bit they have the first step as unlocking the bootloader
mustafabakrolwala said:
Is flashing oos necessary if we unlock bootloader?
I see instructions for lineage os dont mention flashing of oos bit they have the first step as unlocking the bootloader
Click to expand...
Click to collapse
You flash oos first so you have the correct vender and up to date files etc before flashing. Some ROMs require you to flash old oos versions bc their rom was based on that oos vender

Categories

Resources