Unable to flash any custom ROM on Z2 plus - Lenovo ZUK Z2 (Plus) Questions & Answers

Hi,
I have unlocked my bootloader and installed TWRP on my Lenovo Z2 plus, but whenever I try to flash a ROM like AICP, AEX, ViperOS etc, I get the below error.
update process ended with error 7
I have tried upgrading/downgrading the TWRP versions and have even tried the below fix but didn't work.
https://forum.xda-developers.com/showthread.php?t=2522762
Luckily I had taken Backup of the stock ROM which I have restored back.
Has anyone else facing the same issue ?
Please help me!

kevinp1992 said:
Hi,
I have unlocked my bootloader and installed TWRP on my Lenovo Z2 plus, but whenever I try to flash a ROM like AICP, AEX, ViperOS etc, I get the below error.
update process ended with error 7
I have tried upgrading/downgrading the TWRP versions and have even tried the below fix but didn't work.
https://forum.xda-developers.com/showthread.php?t=2522762
Luckily I had taken Backup of the stock ROM which I have restored back.
Has anyone else facing the same issue ?
Please help me!
Click to expand...
Click to collapse
You need this https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287

visheshjain25 said:
You need this https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Click to expand...
Click to collapse
When flashing the Factory2Vendor_plus.zip, I'm getting unable to mount /vendor

visheshjain25 said:
You need this https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Click to expand...
Click to collapse
After rebooting the device I was able to flash the ROM.
Thanks a lot.
Kevin

Related

[Q] TWRP unable to find partition size for

Hello Everybody,
i am using this rom 4.3 from a while ago and i wanted to change it to the 4.4 rom
i decided to flash Omni 4.4.2 new rom from this url
http://forum.xda-developers.com/showthread.php?t=2487526
As per the installation instructions i went to download TWRP ver. 2.6.3.1 from here
http://techerrata.com/browse/twrp2/t03g
and i installed it through Odin, and when i tried flashing the rom through TWRP it says successful when i do factory reset and when i try to format data it says failed and when i try to flash the rom it says failed
it keep saying
e:/ unable to find partition size for "/data"
am not developer or expert, but i used to flash many roms for all my past android devices and this is my first time to see such error
well, the device still working when i exit TWRP and do system reboot my rom boot up normally and the device is perfectly working on my phonix 4.3 rom
but i noticed that Odin can not detect my device on the downloading mode anymore but it still can detect it if the device is turned on
So, could you guys advise about what exactly i had missed or damaged here? can i flash other roms? or recovery?
please give me some help here in deep details as am really new to such errors
Thanks a lot in advance and Happy New year for everybody
hey guys, any updates?
I m having the same problem, ay solution?
Mee too: http://forum.xda-developers.com/showpost.php?p=69313945&postcount=45
Mohamedloza said:
hey guys, any updates?
Click to expand...
Click to collapse
Jotapoggi said:
I m having the same problem, ay solution?
Click to expand...
Click to collapse
You still have the problem?
Sent from my Xiaomi Mi 5 using XDA Labs

Stuck with No ROM Installed

FOR SOLUTION READ POST:
[SIZE="5"]https://forum.xda-developers.com/showpost.php?p=71007646&postcount=6[/SIZE]
Long time silent reader here. I always find solutions for my problems in xda-devs, until now.
Hope you guys can help me once again..
So, yesterday I messed up my OP3 and wiped all partitions on my phone.
I've tried many steps, trying to flash a flashable stock rom (the one with boot.img and system img) in fastboot, result= installation succeed, but getting blackscreen on boot.
Installing full OOS rom from adb sideload using stock recovery, result= failed (* cannot read 'OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883.zip' *)
Installing full OOS rom from adb sideload using TWRP recovery, result= failed (* cannot read 'OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883.zip' *)
Copy the rom to my phone, and installing the zip with TWRP, result failed (error=7)
So far these are my references:
https://forums.*neplus.net/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-3.452634/
OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883.zip
OnePlus3Oxygen_16_OTA_008_all_1606122244_e0cfc5ffc8bf411a.zip
oxygen-os-3.2.5-fastboot-flashable.zip
twrp 3.0.3
https://forum.xda-developers.com/showthread.[/CODE]php?t=2588979
Click to expand...
Click to collapse
applsaus said:
Long time silent reader here. I always find solutions for my problems in xda-devs, until now.
Hope you guys can help me once again..
So, yesterday I messed up my OP3 and wiped all partitions on my phone.
I've tried many steps, trying to flash a flashable stock rom (the one with boot.img and system img) in fastboot, result= installation succeed, but getting blackscreen on boot.
Installing full OOS rom from adb sideload using stock recovery, result= failed (* cannot read 'OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883.zip' *)
Installing full OOS rom from adb sideload using TWRP recovery, result= failed (* cannot read 'OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883.zip' *)
Copy the rom to my phone, and installing the zip with TWRP, result failed (error=7)
So far these are my references:
Click to expand...
Click to collapse
So twrp is working right?
Flash any rom say lineage os
Flash multirom by BitOBSessiOn
Flash multirom twrp
Flash oos as secondary rom
And then swap oos to primary rom
try with some other TWRP . May be v16 blu_spark
https://forum.xda-developers.com/devdb/project/?id=15934#downloads
Ye sideboard gives me issues aswell, push the zip and manually flash it In twrp: "adb push romzipname /sdcard/", the file is now ib the folder /sdcard/.
Puddi_Puddin said:
Ye sideboard gives me issues aswell, push the zip and manually flash it In twrp: "adb push romzipname /sdcard/", the file is now ib the folder /sdcard/.
Click to expand...
Click to collapse
tried it with OOS 3.2.8 and OOS 4.0.2, both give me ERROR=7
abhi0502 said:
So twrp is working right?
Flash any rom say lineage os
Flash multirom by BitOBSessiOn
Flash multirom twrp
Flash oos as secondary rom
And then swap oos to primary rom
Click to expand...
Click to collapse
Working on it. Flashed lineage os, looks like working.
Still waiting on boot screen tho (15 mins & counting, hope it won't be bootloop)
hyperorb said:
try with some other TWRP . May be v16 blu_spark
https://forum.xda-developers.com/devdb/project/?id=15934#downloads
Click to expand...
Click to collapse
Good idea, I'll put ur idea for the next try
applsaus said:
tried it with OOS 3.2.8 and OOS 4.0.2, both give me ERROR=7
Working on it. Flashed lineage os, looks like working.
Still waiting on boot screen tho (15 mins & counting, hope it won't be bootloop)
Good idea, I'll put ur idea for the next try
Click to expand...
Click to collapse
Then it's a twrp issue. I'm currently in Bluspark v16 so
Error 7 in TWRP AFAIK is an issue with using an incompatible recovery, try the latest one 3.0.4-1 I think it is from this forum.
Puddi_Puddin said:
Then it's a twrp issue. I'm currently in Bluspark v16 so
Click to expand...
Click to collapse
ghostofcain said:
Error 7 in TWRP AFAIK is an issue with using an incompatible recovery, try the latest one 3.0.4-1 I think it is from this forum.
Click to expand...
Click to collapse
I flash twrp bluspark as @Puddi_Puddin suggested and flashing Freedom OS. After that, I restore my data using my last Nandroid backup, then the bootloop comes again. Tried it several times using TWRP Bluspark with different ROMs, still no luck. So I suggest, there's nothing I can do to restoring my phone's data.
I read across the XDA forums and Oneplus forums that some people had similar issues for me, and they suspected something's wrong about corrupted partition, not because twrp version. And I also had tried flashing a few ROM in the past using the same TWRP 3.03 version without any problems. Strange.
Anyway, problems solved, my phone's up and running.
CASE CLOSED.
Thanks XDA
P.S: MODS Please Lock/Close this thread
applsaus said:
Anyway, problems solved, my phone's up and running.
CASE CLOSED.
Thanks XDA
P.S: MODS Please Lock/Close this thread
Click to expand...
Click to collapse
And, what was the solution ?
Restarting from Zero I guess.
Donglip said:
And, what was the solution ?
Click to expand...
Click to collapse
This:
hyperorb said:
try with some other TWRP . May be v16 blu_spark
https://forum.xda-developers.com/devdb/project/?id=15934#downloads
Click to expand...
Click to collapse
emuandco said:
Restarting from Zero I guess.
Click to expand...
Click to collapse
Better than not starting at all, at least.

Error executing updater binary in zip (noob here)

Hi guys,
I tried to flash LineageOS 13.0 and 14.1 but it fails and I get shown the error "Error executing updater binary in zip". Since I am no professional for sure I thought I might ask you guys. How can I fix this?
If you need further information about my device dont hesitate to tell me.
imgur.com/a/64IbJ
If I missed a thread discussing this issue please excuse me.
Kind regards
-Pierasso
edit: Just noticed I posted this in the wrong forum, sorry!
edit2: Alternatively I'd be happy if someone could upload or link me a backup of the stock rom. For some reason mine got corrupted
pierasso said:
Hi guys,
I tried to flash LineageOS 13.0 and 14.1 but it fails and I get shown the error "Error executing updater binary in zip". Since I am no professional for sure I thought I might ask you guys. How can I fix this?
If you need further information about my device dont hesitate to tell me.
imgur.com/a/64IbJ
If I missed a thread discussing this issue please excuse me.
Kind regards
-Pierasso
edit: Just noticed I posted this in the wrong forum, sorry!
edit2: Alternatively I'd be happy if someone could upload or link me a backup of the stock rom. For some reason mine got corrupted
Click to expand...
Click to collapse
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Flyhalf205 said:
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Click to expand...
Click to collapse
Thanks mate, gonna try it asap!
Edit: Tried now a couple of ROMs. Most of the time I just get the same error and if it does indeed install, after rebooting it just goes directly into the bootloader again and wont boot the ROM
Weird thing is than I had it working before with that recovery and lineageOS 13
pierasso said:
Thanks mate, gonna try it asap!
Edit: Tried now a couple of ROMs. Most of the time I just get the same error and if it does indeed install, after rebooting it just goes directly into the bootloader again and wont boot the ROM
Weird thing is than I had it working before with that recovery and lineageOS 13
Click to expand...
Click to collapse
What firmware are you running? Try updating that.
Flyhalf205 said:
What firmware are you running? Try updating that.
Click to expand...
Click to collapse
Hi mate,
I updated the firmware with "3.37.605.28_NoBoot_TWRP3.1.0-0_firmware.zip" from the "★ ☆ [6.0][FIRMWARE/RUU] Verizon HTC One M9 Marshmallow 3.37.605.28 Resources ☆ ★" thread (cant post links)
I managed to update twrp to the most recent one and I can finally install LineageOS 13. But for some reason it installs the rom but after the LineageOS bootanimation it keeps shutting down and rebooting.
Any idea on how to fix this? So far you were really helpful mate!
Edit: I always got "updater process ended with error 7" when installing a ROM so I edited the file "updater-script" with this guide: forum.xda-developers.com/showthread.php?t=2522762
Edit2: Now my phone will reboot after booting no matter which ROM I use. Not even my backup will work now.
pierasso said:
Hi mate,
I updated the firmware with "3.37.605.28_NoBoot_TWRP3.1.0-0_firmware.zip" from the "★ ☆ [6.0][FIRMWARE/RUU] Verizon HTC One M9 Marshmallow 3.37.605.28 Resources ☆ ★" thread (cant post links)
I managed to update twrp to the most recent one and I can finally install LineageOS 13. But for some reason it installs the rom but after the LineageOS bootanimation it keeps shutting down and rebooting.
Any idea on how to fix this? So far you were really helpful mate!
Edit: I always got "updater process ended with error 7" when installing a ROM so I edited the file "updater-script" with this guide: forum.xda-developers.com/showthread.php?t=2522762
Edit2: Now my phone will reboot after booting no matter which ROM I use. Not even my backup will work now.
Click to expand...
Click to collapse
Something probably got ginked up in the process and I would start over with RUU at this point.
Back up anything important on your internal memory as this will wipe your device and ruu - https://forum.xda-developers.com/showpost.php?p=65358513&postcount=4 - then factory reset from stock recovery and flash 3.37.605.28_NoBoot_Twrp3.1.0-0 - https://forum.xda-developers.com/showpost.php?p=65358020&postcount=2 and you're on your way again
Flyhalf205 said:
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Click to expand...
Click to collapse
Thanks, it worked. i loged in just for thank you

Ressurection Remix boots to bootloader when Magisk is installed.

Hello,
This one is a funny one, as on my OnePlus 2 rooting was easy but ever since I got my OnePlus 5T I've always had issues, rooting it in the first place was troublesome but managed to get Magisk running with OOS and I have decided to migrate to Resurrection Remix (What I used to run on OnePlus2) when I format my data and flash RR and gapps it runs perfectly fine, but when I flash Magisk it states it has successfully changed the boot.img and when I restart the system it ends up going to the bootloader, I can then run the Magisk uninstaller and my RR will run normally again.
Magisk definitely seems to be the issue but I don't know why, I have gone back to stock firmware and locked my bootloader and tried again from stock and still, after installing the latest RR with Magisk after the first initialisation I get no errors it just doesn't boot.
Has anyone got any idea of what I could do wrong, I have found myself following guides online with no luck. As no one seems to have an issue similar.
An advice?
As far as I know.magisk should be flashed only after booting into system and completing the initial setup
Hi dude,
maybe you will find your answer in this thread!
https://forum.xda-developers.com/on...x-os-6-0-0-t3747038/post76922486#post76922486
rakuyo said:
As far as I know.magisk should be flashed only after booting into system and completing the initial setup
Click to expand...
Click to collapse
I do install it after the intial set up and it still doesn't load :/
nicorvienne said:
Hi dude,
maybe you will find your answer in this thread!
https://forum.xda-developers.com/on...x-os-6-0-0-t3747038/post76922486#post76922486
Click to expand...
Click to collapse
Thanks this was my solution, just needed to flash a custom kernel.
NarcoticNoble said:
Thanks this was my solution, just needed to flash a custom kernel.
Click to expand...
Click to collapse
You are welcome!

Recovery messed up

Hey I was trying to flash resurrection remix 8.6.0 on my Redmi 5A(riva) but twrp showed error 7. Then I tried flashing Pixel Experience but still error 7 i tried reflasing the recovery also tried orange fox but still nothing is working. I was able to flash rr 7.0.2. So can someone help me update it to 8.6.0. Now whenever I boot into recovery nothing is not mounting
Thanks in advance
Did u already downgrade to Nougat? U can use this https://forum.xda-developers.com/xiaomi-redmi-5a/how-to/rollback-downgrade-to-miui-nougat-t3938904 or flash the complete ROM from Mi in fastboot mode.
PierceB said:
Did u already downgrade to Nougat? U can use this https://forum.xda-developers.com/xiaomi-redmi-5a/how-to/rollback-downgrade-to-miui-nougat-t3938904 or flash the complete ROM from Mi in fastboot mode.
Click to expand...
Click to collapse
sorry I forgot I posted this thread.......
Nope I downgraded to Pie its working fine I just can't upgrade to android 10. I don't know whats the issue but my device is not allowing android upgrade anymore..

Categories

Resources