Error loading zip and img on twrp - Zenfone 2 Laser Q&A, Help & Troubleshooting

Hi guys. I have a problem with my ze500KL. I can install only the twrp 2.8.7.7 version. But when i try to install img or zip of roms /original firmware, the twrp fails the operation , saying " error data", "unable to mount"... i have problems with wipe too. any solution?

nik91thebest said:
Hi guys. I have a problem with my ze500KL. I can install only the twrp 2.8.7.7 version. But when i try to install img or zip of roms /original firmware, the twrp fails the operation , saying " error data", "unable to mount"... i have problems with wipe too. any solution?
Click to expand...
Click to collapse
I can't understand what you mean. If you want to install stock rom from TWRP recovery, you have to modify updater-skript.
Why do you can install only the twrp recovery 2.8.7.7, when we have the twrp recovery 3.0.0.2
File img you can flash from fastboot mode. Commands:
fastboot flash system file.img
fastboot flash recovery file.img
fastboot flash boot file.img
or
fastboot boot file.img for example twrp recovery img or stock recovery img. This is command for once booting.

I want to return to original firmware , i download it from the site of asus. So, i booted twrp in fastboot mode (i tried different version of twrp, but the only that starts is the 2.8.7.7 version) using adb.
Now i am in recovery with twrp 2.8.7.7. I can push using .zip files or img files on internal storage.
But i have different problems with this recovery:
IF i use wipe function: error opening sys, could not mount, enabe to mount, ... (failed)
If i install rom or firmware with zip files: error unable to mount, unable to find partition for path.... (failed)
Adb sideload goes failed too.
What should i do???
I think that the problem is in the internal partition... I have to install using a min usb ext storage? or what????? thanks :fingers-crossed:

nik91thebest said:
I want to return to original firmware , i download it from the site of asus. So, i booted twrp in fastboot mode (i tried different version of twrp, but the only that starts is the 2.8.7.7 version) using adb.
Now i am in recovery with twrp 2.8.7.7. I can push using .zip files or img files on internal storage.
But i have different problems with this recovery:
IF i use wipe function: error opening sys, could not mount, enabe to mount, ... (failed)
If i install rom or firmware with zip files: error unable to mount, unable to find partition for path.... (failed)
Adb sideload goes failed too.
What should i do???
I think that the problem is in the internal partition... I have to install using a min usb ext storage? or what????? thanks :fingers-crossed:
Click to expand...
Click to collapse
Easiest way to fix your phone is flash stock rom from stock recovery. Stock rom put to sd card. Reboot to stock recovery and choose flash rom from sd card. New version number system must be the same or higher than installed in the phone.
Do you want to return to the lower version of Android.
http://forum.xda-developers.com/zenfone-2-laser/general/guide-downgrade-zenfone-2-laser-to-t3382172
Do you want to flash stock rom from twrp recovery.
http://forum.xda-developers.com/zen...uide-how-to-flash-stock-rom-via-twrp-t3409768

Muminek111 said:
Easiest way to fix your phone is flash stock rom from stock recovery. Stock rom put to sd card. Reboot to stock recovery and choose flash rom from sd card. New version number system must be the same or higher than installed in the phone.
Do you want to return to the lower version of Android.
http://forum.xda-developers.com/zenfone-2-laser/general/guide-downgrade-zenfone-2-laser-to-t3382172
Do you want to flash stock rom from twrp recovery.
http://forum.xda-developers.com/zen...uide-how-to-flash-stock-rom-via-twrp-t3409768
Click to expand...
Click to collapse
Stock recovery doesn't work man. The only recovery that works is the twrp 2.8.7.7. But it has problems.

nik91thebest said:
Stock recovery doesn't work man. The only recovery that works is the twrp 2.8.7.7. But it has problems.
Click to expand...
Click to collapse
Do you have Lollipop or Marshmallow and what is your version number.
For Marshmallow you need to this working twrp recovery.
https://drive.google.com/file/d/0B7F3ZXr565GkY28yUjhfRkd5MUk/view?usp=drivesdk
For Lollipop you need to this working twrp recovery.
https://drive.google.com/file/d/0B7F3ZXr565GkY1NQbUtoVzdwWEU/view?usp=drivesdk
If you haven't installed stock recovery, it's not no problem. You can it flash from fastboot mode.

i had mawshmallow. i tried but failed...

nik91thebest said:
i had mawshmallow. i tried but failed...
Click to expand...
Click to collapse
How did you flash the file twrp.img.

OK guys I've solved the problem. I moved in this way:
1) Volume up + power to go in fastboot mode
2) after installing adb and the other drivers, i've insered these commands:
fastboot erase cache
fastboot erase userdata
fastboot erase system
3) after downloading twrp version 3.0.0 (for the zenfone 2 laser), I load it using the command "fastboot boot (name file twrp).zip"
4) the recovery starts automatically. Now i downloaded the file "back2stock.zip" and the original firmware (WW, worldwide) form the official site of the Asus
5) this passage is the most important:using 7zip I've extracted the file zip of the firmware and the backtostock, then i created a new file using 7zip : in this new zip i've loaded the files inside back2stock and the files file_contentexts, system.new.dat, system.patch.dat, boot.img e system.trasfer.list inside the zip of the official firmware
6) I've loaded this new file on the phone using the command "adb push (new file name).zip /"
7) at last i have installed this file on the phone ENJOY it

Related

Asus zenfone 5 not start

I install twrp and accidentally wipe all system data there is no backup
when i install new firmware it says unknown file system osip.
when i go to recovery it says there is no os
my phone is not start?
plz help me
Just flash the rom you want. The osip thing is dosen't matter. Just flash the rom and you are golden
How to flash rom?
Magan Mittal said:
How to flash rom?
Click to expand...
Click to collapse
What kind of recovery are you using? If you are using stock recovery. Just use add sideload. If you are using TWRP. Then go to fastboot and flash the stock recovery. You can find the stock recovery in the rom downloaded from Asus : https://www.asus.com/Phone/ZenFone_5_A500CG/HelpDesk_Download/. Version 2.22.40.540 is recommended
i use twrp and adb sideload and recovery mode not working
Magan Mittal said:
i use twrp and adb sideload and recovery mode not working
Click to expand...
Click to collapse
Step 1: Flash recovery I'm via fastboot with "Fastboot flash recovery recovery.img"
Step 2: boot to recovery.
Step 3: Chose Adb sideload option in recovery.
Step 4: use command 'adb sideload (rom). zip

Lost recovery, cant boot, only fastboot

Guys... when i tried to flash oos 3.0 on my op2 through twrp, i first wiped the data to install new rom, then install oos 3.0, it failed. I then flashed the recovery i downloaded from the thread, then restart the recovery
I cant boot into the recovery.
System can't boot
Is it called "brick"?
So i tried to flash stock recovery in pc by command, but it says "remote: device is locked. cannot flash images". any solution to this problem?
I can boot into fastboot mode
You need to run the phone in Qualcomm mode on a PC and run the recovery tool to fix you bootloader.
I did the same and it was a royal ball ache trying to find out how to fix it
Don't do what rosswaa said
Why not?
What you should do is boot your phone into fastboot mode, connect it to your pc. Flash this modified TWRP recovery img to your phone https://www.androidfilehost.com/?fid=24459283995297945. After that you have to flash this modified SuperSU (through the new recovery) https://www.androidfilehost.com/?fid=24459283995297946.
The normal recovery doesn't work in OOS 3.0 (just like in HOS) and it's the SuperSU that gives you the soft brick. A dirty flash of the modified SuperSU should fix it.
I also had your problem and I did what rosswaa said which shouldn't be necessary (I lost all my data and backups).
I didn't lose anything, but I tried doing what you said and my bootloader was screwed so wouldn't take a flashed recovery or anything (yes the modified one)
Wish I hadnt been so excited and just flashed but all sorted now
Hmm okay, if it doesn't work with flashing the new recovery img then do what rosswaa said and after that follow this post https://forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/
Obviously try what green says first, if it works then happy days
first i am really glad that someone give some advices on me. But since i am a noob, how can i flash twrp in fastboot mode? using command? "fastboot flash recovery xxx.img"? thx
SPiCa39's said:
Guys... when i tried to flash oos 3.0 on my op2 through twrp, i first wiped the data to install new rom, then install oos 3.0, it failed. I then flashed the recovery i downloaded from the thread, then restart the recovery
I cant boot into the recovery.
System can't boot
Is it called "brick"?
So i tried to flash stock recovery in pc by command, but it says "remote: device is locked. cannot flash images". any solution to this problem?
I can boot into fastboot mode
Click to expand...
Click to collapse
1 Install official TWRP 3.x via fastboot twrp.me/devices/oneplustwo.html
Reboot to recovery
2 install this modified version of TWRP
forum.xda-developers.com/oneplus-2/development/recovery-teamwin-recovery-project-3-0-0-t3310713
Reboot to recovery
3 install oos3 (And supersu)
Sorry i can't post link

[Q][Help] Nexus 4 stuck in bootloop Recovery after flashing twrp to boot

Hi,
I made this post/thread because i couldn't find a solution to my problem through this forum and google.
Here is my trouble:
I was trying to install a twrp recovery and was following the instructions of a tutorial.
-So first i installed flashify and proceeded to a back up of the current kernel and current recovery
-Then downloaded a custom recovery image through TWRP release for my nexus 4
-After this i accidentally flashed the recovery image to boot instead of recovery
Now as you can guess the trouble is that my phone only boots to TWRP recovery instead of usual boot.
I tried to find aswers on this forum and google and yet i didn't find a solution.
I tried this post but without results:
http://forum.xda-developers.com/tmobile-lg-g3/general/fix-recovery-loop-twrp-computer-t2873386
I would be grateful for any help and wish to recover this mistake without using a factory reset if possible.
Thank you, as you can see i am pretty new to this environment.
Can you get into fastboot mode? If yes, try flashing a stock Google rom and perform a factory wipe after installing the stock rom.
audit13 said:
Can you get into fastboot mode? If yes, try flashing a stock Google rom and perform a factory wipe after installing the stock rom.
Click to expand...
Click to collapse
Thank you for your answer, yes i can get into fastboost mode. As i am pretty new can you explain me how i can flash the stock Google rom (i guess it is the factory rom provided ?). Will this operation erase my data on the phone ?
Boot into fastboot and flash boot.img and recovery.img file from stock rom. Make sure you use the stock rom that matches the rom currently installed on your phone.
Ilovkos said:
Thank you for your answer, yes i can get into fastboost mode. As i am pretty new can you explain me how i can flash the stock Google rom (i guess it is the factory rom provided ?). Will this operation erase my data on the phone ?
Click to expand...
Click to collapse
Once in fastboot, extract the downloaded zip you got from Google. There you will find flash-all.bat Execute it as admin and wait. If it doesn't work, then extract the zip within the first zip and you should get loads of .img files. You will manually have to flash them. The commands are a bit different for each partition. They go like this:
Code:
fastboot flash system system.img
fastboot flash recovery recovery. img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot flash data userdata.img
Note that if your cmd/terminal isn't open from the directory where the files are you will have to input it's location, for example
Code:
fastboot flash recovery C:\Users\YOURUSER\Desktop\recovery.img
Also note that there must be no spaces neither in the file name or the directories where the file is located, otherwise it probably won't flash.
Also yes, doing this will completely revert you to stock, and you WILL loose all your data. You could try just reflashing recovery.img and then flashing TWRP over it. If you can get to TWRP after this, then connect the USB cable to your PC and transfer all the data you need, after which I recommend flashing to stock. You can root and/or flash custom ROMs after this.
However in your case I think you don't have to completely go back to stock. Just try flashing the proper boot and recovery images over fastboot like I explained above and try booting then.
nerotNS said:
Once in fastboot, extract the downloaded zip you got from Google. There you will find flash-all.bat Execute it as admin and wait. If it doesn't work, then extract the zip within the first zip and you should get loads of .img files. You will manually have to flash them. The commands are a bit different for each partition. They go like this:
Code:
fastboot flash system system.img
fastboot flash recovery recovery. img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot flash data userdata.img
Note that if your cmd/terminal isn't open from the directory where the files are you will have to input it's location, for example
Code:
fastboot flash recovery C:\Users\YOURUSER\Desktop\recovery.img
Also note that there must be no spaces neither in the file name or the directories where the file is located, otherwise it probably won't flash.
Also yes, doing this will completely revert you to stock, and you WILL loose all your data. You could try just reflashing recovery.img and then flashing TWRP over it. If you can get to TWRP after this, then connect the USB cable to your PC and transfer all the data you need, after which I recommend flashing to stock. You can root and/or flash custom ROMs after this.
However in your case I think you don't have to completely go back to stock. Just try flashing the proper boot and recovery images over fastboot like I explained above and try booting then.
Click to expand...
Click to collapse
Thanks to both of you I managed to fix this just by flashing the boot.img of the Google factory img. It didn't erase my data except my messages which is nice.

Issue with flashing twrp

Hi guys .... every time I try to flash twrp.img via fastboot it says successful but when I boot into recovery I find it the stock one ... does anyone know what's wrong ??
ps : when I enter "fastboot boot twrp.img" it boots very well into twrp...but when I enter "fastboot flash twrp.img" it doesn't flash the new recovery .
Download required files from downloads
Unlock your bootloader( u must be unrooted)
Reboot to bootloader
fastboot boot recovery.img
flash twp-installer.zip
reboot to recovery and check if twrp is there
, if not (100% chances)
Reboot to bootloader
fastboot set_active b (I am assuming you are on slot a, else use fastboot set_active a or you can change slot on twrp itself)
fastboot boot twp.img
flash twp-installer.zip
reboot to recovery
Success
Thanks to https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472
I have try that but when I flash twrp it says FAILED PARTITION TABLE DOESNT EXSIST and I am getting bootloop. If I try to fastboot boot recovery.img (twrp 3.1.1.0) then the device boots up instead going to TWRP recovery. I can boot only in newest TWRP 3.2 but cant flash anything from it. Tryed to choose SLOT A and B on REBOOT menu but no success. Please help!
Ahmed Al-Sayed said:
Hi guys .... every time I try to flash twrp.img via fastboot it says successful but when I boot into recovery I find it the stock one ... does anyone know what's wrong ??
ps : when I enter "fastboot boot twrp.img" it boots very well into twrp...but when I enter "fastboot flash twrp.img" it doesn't flash the new recovery .
Click to expand...
Click to collapse
Same thing happened with me also and I BRICKED my phone
Try a clean flash of a stock rom, fastboot image of your choice, after that try the twrp boot and flash again. May there's something corrupt on your phones.
https://drive.google.com/drive/mobile/folders/1EAw5z0KFgSDFpniPiOHUDbcyQctmfZ1t
Download the files provided above and follow the same method as given by the OP.
By that recovery image , ur system internal memory will be accessable and u will be able to copy the twrp installer zip file in internal memory of phone .
Once done that , flash in both partitions and you are good to go.
THIS ONLY WORKS FOR OREO STABLE.
I'M NOT RESPONSIBLE FOR ANY KINDA OF DAMAGE DONE TO YOUR PHONE , so be aware and know about what u r going to do.
just use these files , but follow the same steps as u did before
AlwaysWin said:
https://drive.google.com/drive/mobile/folders/1EAw5z0KFgSDFpniPiOHUDbcyQctmfZ1t
Download the files provided above and follow the same method as given by the OP.
By that recovery image , ur system internal memory will be accessable and u will be able to copy the twrp installer zip file in internal memory of phone .
Once done that , flash in both partitions and you are good to go.
THIS ONLY WORKS FOR OREO STABLE.
I'M NOT RESPONSIBLE FOR ANY KINDA OF DAMAGE DONE TO YOUR PHONE , so be aware and know about what u r going to do.
just use these files , but follow the same steps as u did before
Click to expand...
Click to collapse
Thank you you saved my ass!

Official TWRP error

I tried flashing the official TWRP 3.2.1-0 which I downloaded from their website through shreps TWRP 3.1.1. After flashing, I got a recovery error. Even command from powershell can't flash it. Any fixes?
I'm running stock ROM Feb 2018 security patch version
CMKdaGreatest said:
I tried flashing the official TWRP 3.2.1-0 which I downloaded from their website through shreps TWRP 3.1.1. After flashing, I got a recovery error. Even command from powershell can't flash it. Any fixes?
I'm running stock ROM Feb 2018 security patch version
Click to expand...
Click to collapse
try this way of flashing
in command type without quote
"fastboot boot (twrpname).img"
u will get booted to twrp recovery their transfer the twrp img from pc to internal
and thn while still in twrp booted mode select install, select flash img, choose the the twrp img on the internal.
and select recovery partition. DONE :silly::good:
Tanha_Dil said:
try this way of flashing
in command type without quote
"fastboot boot (twrpname).img"
u will get booted to twrp recovery their transfer the twrp img from pc to internal
and thn while still in twrp booted mode select install, select flash img, choose the the twrp img on the internal.
and select recovery partition. DONE :silly::good:
Click to expand...
Click to collapse
I'll surely try. Thanks

Categories

Resources