yashsingh1/xdaforums huggingface dataset:
[Zenfone 2 Laser General] Downgrader1995:
It worked, but I have no sound on ZE600KL (Z00L)

I was on a PIE rom with the audio patch for PIE ze60xkl-spk-pie-libs-v1-01

I reinstalled TWRP and I can't flash any ROM, it's giving me error 7 :( even removing the 3 assert lines of any rom doesn't fix it.

I checked and bootloader is unlocked, but now I'm stuck on the stock rom with no Audio unless I plugin a headphone :crying:
[Zenfone 2 Laser General] Chillxx:
I wanted to install a stock rom in a Z00UD, but I don't really know how to find it. (I keep finding roms for Z00T, for ZD551KL and other models, and I don't know how to find it for Z00UD)

Also, do you guys have any tutorial for flashing in TWRP? I never used it, so I don't know how to use it.

Halp, please!
[Zenfone 2 Laser General] mr_gowlin:
Does someone have the Realme Pad RMP2103 stock img files? Would be a great help for me!
[Zenfone 2 Laser General] Xaxhex:
did you find something?
[Zenfone 2 Laser General] wickedpygmy:
*edit* [MENTION=5075128]LuK1337[/MENTION] do you think it will work to return to stock by flashing [MENTION=5203159]rajiko[/MENTION] files from fastboot: http://xdaforums.com/zenfone-2-laser/general/root-ze550kl-t3236264
[Zenfone 2 Laser General] LuK1337:
I have no clue. I wouldn't trust anything he released.
[Zenfone 2 Laser General] pedrazadixon:
-delete-
[Zenfone 2 Laser General] caudisio:
I could do it, after several tries I could, I flash stock recovery and then put the file from ASUS official page, in sd card, restart in recovery, apply update from sd card, choose the file and patient, about 15 min.

As a note, flash zip file of the same version than stock recovery, then install the updates on the normal way from ASUS (recovery stock for V 1.16.40.763 use update V 1.16.40.763)

Sorry for my English....

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

I found a way, it's in a commentary....
[Zenfone 2 Laser General] SoNic67:
I had followed a different path to revert.

First I had to find the factory recovery.zip somehow.

Then I copied on a folder on my microSD card this recovery file and the latest firmware from Asus.

Then, booted in TWRP, applied the recovery file over the existing recovery.

Don't mess up the above step!

Reboot while holding the Volume Down key pressed.

Now I was in the factory recovery and I could navigate on my SD card. Volume keys for up/down and power to select.

Apply the factory FW and after that do a factory reset while still in recovery.

Reboot.

I am not responsible for any damage to your phone if you follow this, I'm just stating what worked for me.

Also don't ask me for the recovery zip, I can't share that, but it is posted somwhere on this forum.
[Zenfone 2 Laser General] amalpk:
thanks worked for ze550kl
[Zenfone 2 Laser General] suyonk:
This Method is work in my ZE500KG :D
[Zenfone 2 Laser General] omardj38:
Hi. i tryng to do a downgrade ZE551KL but i can't do it. I have CM 6.01 custom rom installed with TWRP but i want to go back to stock rom. also de phone is rooted.

When i tryed to copy the file system.new.dat (2.8 Gb) to root directory i can't do it. I tryed with TWRP File manager with no results. Also I tried with Root Explorer (paid version) with no results. so when i flash back2stock.zip it doesn't work

Any suggestion?
[Zenfone 2 Laser General] LuK1337:
Use your PC.
[Zenfone 2 Laser General] omardj38:
hi, tryed but i can't get the root directory using the windows explorer. could you tell me how to do it? i'm using windows 10.

can i use adb commands to do it?

thanks
[Zenfone 2 Laser General] mad.nexus:
Root directory of where? Root directory is the main directory... What are you not getting? :|
[Zenfone 2 Laser General] omardj38:
ok, maybe i'm wrong. check it the photos:

1. I copied all files and backtostock.zip to main directory

2. I used the option to install zip files at TWRP

3. i did a factory reset.

After boot, i get the same CM 6.0
[Zenfone 2 Laser General] LuK1337:
Main directory of zip, not your phone.
[Zenfone 2 Laser General] omardj38:
thanks.

thanks. it worked. The instructions aren't very clear.

for anothers users: you need to extract backtostock.zip, put it inside the files and compress again backtostock.zip with those files inside. i tried to compress using winrar with no results but with 7zip it worked.

thanks again.
[Zenfone 2 Laser General] jose makalolot:
It worked. I downgraded from v1.17 to v1.16 since I was having a lot of lag from the v1.17 firmware

Thanks.

Posted using a calculator and delayed by AT&T.
[Zenfone 2 Laser General] brunnotr4:
For make the downgrade i need unlock bootloader ? or need change recovery for can to have custom rom ? what correct sequence ?
[Zenfone 2 Laser General] LuK1337:
I think so. You can't flash TWRP on locked BL.
[Zenfone 2 Laser General] brunnotr4:
But i dont understand, i need unlock bootloader for update firmware or work at current recovery originals ? My current version from ZE550KL Z00LD is 1.15.40.703.20151107 how i update for last version 1.17 or same 1.16 ? The app unlock bootloader not work in my current version 1.15.40.703.20151107
[Zenfone 2 Laser General] LuK1337:
This method simply won't work in stock recovery as it requires signed images. If you want to upgrade the FW just flash the .zip from ASUS's website.
[Zenfone 2 Laser General] brunnotr4:
Sure, i have the last build .zip donwloaded from asus site, with this zip i can to update at stock recovery ?
[Zenfone 2 Laser General] LuK1337:
No, you just flash unmodified ASUS zip.
[Zenfone 2 Laser General] brunnotr4:
Luk please, help me i no understand, how i do stock update from zip file asus site ? I have the file and am in stock recovey i have that do the normal flash ?
[Zenfone 2 Laser General] LuK1337:
Ffs. Just flash the file you downloaded off asus website using stock recovery.
[Zenfone 2 Laser General] brunnotr4:
Ok, i will try.
[Zenfone 2 Laser General] seraxl:
This metod not back to stock, not replace bootloader.

If I install this method the stock rom. can make official updates without risk of loop ?

thanks.
[Zenfone 2 Laser General] LuK1337:
I guess so. Official updates would update your BL anyway.
[Zenfone 2 Laser General] willcall:
Great work Luk. I got back to stock but I can't do a factory reset because when I try to get into recovery twrp comes up and won't let me, What did I do wrong? Thanks in advance,
[Zenfone 2 Laser General] LuK1337:
Hm, why TWRP won't let you factory reset?
[Zenfone 2 Laser General] willcall:
Maybe I should have said I cant boot into stock recovery to do a hardware reset on my phone (ze551kl) it boots into twrp. I thought twrp would be gone when I went back to stock and I could use the stock recovery.
[Zenfone 2 Laser General] LuK1337:
Well, the stock recovery gets reflashed on boot so you'd need to do a factory reset in the TWRP.
[Zenfone 2 Laser General] willcall:
I did the factory reset in twrp and it didn't flash the stock recovery. Is there anything else you know of that I can do? I am not very tech savy so if you feel I am wasting your time I will understand.
[Zenfone 2 Laser General] LuK1337:
But you booted stock?
[Zenfone 2 Laser General] willcall:
I did. I followed the instructions you posted. I copied all the files you said to copy to back2stock.zip, put back2stock in the root of my phone and used twrp to flash it.
[Zenfone 2 Laser General] LuK1337:
Thats weird. Mostly stock rewrites recovery img on boot...
[Zenfone 2 Laser General] willcall:
Maybe I can find a stock recovery,img file somewhere and flash it. Thanks very much for taking the time to help me.
[Zenfone 2 Laser General] LuK1337:
Well if it's .1234 fw for ZE551KL I think I can upload that for you.
[Zenfone 2 Laser General] willcall:
Mine is WW_1.17.40.1106_20160202. I dont know if you need all that. If you don't have do you know where I might find it?
[Zenfone 2 Laser General] LuK1337:
Ping me on hangouts: priv.luk@gmail.com
[Zenfone 2 Laser General] willcall:
Luk: That solved my problem. I certainly do appreciate your help.
[Zenfone 2 Laser General] mwp007:
ZE601KL - tried everything, nothing works

I got an ZE601KL from Gearbest, out of stock was overborded and espacially with google app search laggy in browsing, so wanted to update firmware.

I updated by copying the update to the root of my fon and on reboot it installed, but I updated to the CN Version (stupid!), cause it was also CN in the Softwareinformation.

But I assumed as it is difficult to switch SKU from CN to XX now, vice versa I should not have been able to update to CN if it hasn't been the setting already...

So wanted o back to WW. updating by stock recovery didnt work by newer version timestamp check (I think would also have failed by SKU check), so wanted to try CM Mod.

Unlocked bootloader, flashed TWRP, CM+gapps (do it in one step!) and found out about the sound issue for ZE601KL .

So I try to go back to stock but The suggested procedure does not work for me. Executing the modified zip with latest OTA update 1.16.40.1338 files is finished within a second! So nothing happens really with a 1GB+ update. Rebooting then results in the boot loop to asus logo. updating also the update-binary file to OTA Version update results in an crash of the file in TWRP. I have all files included in both cases.

So I flashed WW stock recovery ver 1.15.40.825 and tried to update by apply update from sdcard with 1.16.40.1338 and 1.15.40.825 WW OTA Version. Both are failing with

E:Error in /sideload/package.zip
(Status 1)
E: fota_return_code 408

I also tried

fastboot flash system system.new.dat (crazy!)

this results in "failed remote size too large"

So anyone has an idea to bring me back to Stock Rom?

If there just wouldn't be the speakers issue on the CM Mod ... :(:(:fingers-crossed:
[Zenfone 2 Laser General] LuK1337:
Ping me on hangouts : priv.luk@gmail.com
[Zenfone 2 Laser General] mwp007:
Thx Luk for ur help!

For the others.. I couldn't flash system WW cause its to big for my system partition. mine is miraculously 2,5GB. WW System Image is 3GB.

So Gearbest sent me a strange version of the phone, though for WW Market I even never would have been able to upgrade the phone to new WW OTA Version.

So luk has shrunk the WW OTA, and sent me a TWRP BackUp file which I then restored successfully. Of cause I made a donation immediately :)

However now I am stuck with this WW Version till the Speaker Issue is fixed on the CM Mod, but at lest I am back on shrinked stock with speakers functioning.
[Zenfone 2 Laser General] willcall:
I was going back to stock .1234 . I am installing back2stock with twrp. I copied all the files needed from the stock .1234. I have been stuck on "Patching system image unconditionally' for 20 minuets. Do I need to worry?
[Zenfone 2 Laser General] willcall:
I cant the only phone i have is stuck in twrp I think i sent you an e-mail
[Zenfone 2 Laser General] LuK1337:
You can use hangouts on your pc...
[Zenfone 2 Laser General] HampTheToker:
Lol
[Zenfone 2 Laser General] haki.gr:
SOLVED: IT ONLY WORKS IF YOU ZIP THE FINAL FLASHABLE PACKAGE WITH 7Z! PACKAGES MADE WITH ANYTHING ELSE DO NOT WORK!

I am EXTREMELY sure that I did everything the right way. Why am I getting this then???
[Zenfone 2 Laser General] laydada:
Hi,

thank you very much for your tutorial but

I tried in every way to restore the firmware for my selfies zd551kl following all your guides, trying every firmware and relative recovery.img and boot.img but all I want is out of the following error:

error in sideload package zip status 7 fota return code 409

With TRPW 3.0 i install back2stock.zip (with boot.img, system.new.dat, system.patch.dat, system.transfer.list, file_contexts in root of zip from UL-Z00T-WW-1.15.40.1238-user.zip -last firmware from asus site-) but the installation process is a breeze, and ends immediately then i wipe data-factory reset and the phone restarts charging CM13.

Now I installed the CyanogenMod 13 with TWRP Recovery 3

Can you help me please?

Thank you very much

p.s. sorry for my bad English but i'm italian :D
[Zenfone 2 Laser General] LuK1337:
Try using 7zip, some guy said that winrar doesn't really work.
[Zenfone 2 Laser General] laydada:
thank you very much Luk,

I tried to compress with 7zip but the result is always the same: the recovery install the zip fast then, I perform the wipe reset and restart the phone: this is about a minute on the boot screen with asus logo then restarts in TWRP.

I really hope you can help me. Thanks for the great work you are doing. You are the best!!!
[Zenfone 2 Laser General] LuK1337:
Are you installing cross SKU rom?
[Zenfone 2 Laser General] laydada:
Yes SKU WW

I also tried to flash with original recovery (the same of firmware 1.15) 1.15 firmware CN (I tried them all) but appeared the phone was WW SKU and I could not install a firmware with different SKU

I also tried to flash the firmware 1.15 WW by stock recovery (the same of firmware 1.15) but in that case appeared in the written error sideload package status zip 7 fota return code 409installation aborted

Next, I installed the TWRP and I flashed backtostock.zip follow your guide and just half an hour ago I used 7zip with the result that I wrote in the previous comment.

:crying:
[Zenfone 2 Laser General] LuK1337:
Check the SKU on the phone's box and use my guide with correct ROM or just stay CM...
[Zenfone 2 Laser General] pohlipit:
Does anyone have the Marshmallow OS (WW) for the ZE500KL?
[Zenfone 2 Laser General] laydada:
thanks luk !!!!

I've made a donation through paypal to thank you for the work you're doing.

You have solved my problem: the SKU of my phone is CN and placing the needed files in backtostock works !!!!!

But then we are missing the play store and there are some things in Chinese.

There is no way to change the SKU in WW as for other Zenfone?

Many thanks Luk're the best !!!
[Zenfone 2 Laser General] LuK1337:
No there's no way to change SKU. Chinese phones got smaller /system partition fyi. Btw thanks for the donation.
[Zenfone 2 Laser General] hispanico957:
This tool write also official recovery of the firmware ?

Thank

Hispa
[Zenfone 2 Laser General] LuK1337:
No. Booting stock rom should overwrite custom recovery tho.
[Zenfone 2 Laser General] dollasoy:
[MENTION=5075128]LuK1337[/MENTION] I cant use your method in Android M on ZE550kl after flashing the rom and reboot i got stuck in Fastboot Mode
[Zenfone 2 Laser General] LuK1337:
Yeah, M needs new bootloader.
[Zenfone 2 Laser General] MITHI-N:
stock recovery

This method work but I still cyanogen recovery

is there any way to get stock recovery install android M from asus
[Zenfone 2 Laser General] Kim Lu:
Are there any way to get through this and get stock android M installed?
[Zenfone 2 Laser General] LuK1337:
No. Rollback to LP and update to M using stock recovery.
[Zenfone 2 Laser General] mkdot:
update-binary not found error!?

Today I happened to find this thread and tried with my ZE601KL (Z00T) because I'm one of the users who care speaker problem of Cyanogenmod 13 for ZE601KL.

I'm not sure the original firmware is WW or CN because I bought it from Gearbest :P, so I tried both the latest WW and CN firmware with 7zip, NOT with other zip utilities.

But TWRP installation of both zip files failed with the message: "Could not find 'META-INF/com/google/android/update-binary' in the zipfile", although I can clearly find the very file 'update-binary' via Windows explorer in the folder.

If there is any idea about the cause of this failure, could you please help me?

Best regards,
[Zenfone 2 Laser General] LuK1337:
I can upload you TWRP backup if you want. I think I still have it on my server. Drop me mail: priv.luk@gmail.com
[Zenfone 2 Laser General] mkdot:
thank you very much for your help! successfully restored to WW stock firmware!
[Zenfone 2 Laser General] chonnamae:
After this, will I ba able to recieve OTA updates again?
[Zenfone 2 Laser General] LuK1337:
I don't think so.
[Zenfone 2 Laser General] Lag1010:
Hey man I could really appreciate it if you could help me. TWRP says cannot mount /data and /cache. I think I messed up the formats so could you tell me them.
[Zenfone 2 Laser General] LuK1337:
Wipe them then.
[Zenfone 2 Laser General] NiloGlock:
Actually I'm on CM13, and I've updated my firmware using your ZIP. In this case I can flash MM firmware with back2stock.zip, right?

Thank you.
[Zenfone 2 Laser General] LuK1337:
I guess so.
[Zenfone 2 Laser General] SoNic67:
I tried this for curiosity and it worked... but only if you re-zip the files with 7zip, don't use the Windows file manager (you will get errors)!
[Zenfone 2 Laser General] FruitlessPotato:
Same issue here, any know fixes?
[Zenfone 2 Laser General] CustomRomAddicts:
This method works for MM Firmware too!

I have ZD551kl and using this method i downloaded the official Marshmellow firmware and flashed it! It worked..

P.S I have unlocked bootloader and have flashed ROMs like CM,RR and Temasek before!
[Zenfone 2 Laser General] emoskull78:
HI sir luk! :( I have a problem. I tried every steps that I could. I've downloaded the latest firmware from your site and the main site of asus. I've extract the Zip file and place it on the Back2stock.zip. The flashing was successful but every time I reboot into system. It has a sign Fastboot MOde on the top left. Can you please help me? I think I have a problem with the recovery. Now, even on the CM builds i can't flash them. PLease help me.
[Zenfone 2 Laser General] LuK1337:
It looks like you flashed MM rom on LP bootloader. This could also be the reason why you can't flash CM builds.

You can find MM firmware here:

ZE550KL / ZE550KL / ZE600KL : https://s.basketbuild.com/filedl/devs?dev=LuK1337&dl=LuK1337/ZF2L-FW/Z00L-WW-21.40.1220.1708.zip

ZE551KL / ZD551KL / ZE601KL : https://s.basketbuild.com/filedl/devs?dev=LuK1337&dl=LuK1337/ZF2L-FW/Z00T-WW-21.40.0.1692.zip
[Zenfone 2 Laser General] murat124:
Hi did you do factory reset after the flash before booting in to system?
[Zenfone 2 Laser General] emoskull78:
So you mean that I need to flash this MM Firmware first before flashing the back2stock rom that I've created? Thanks for fast response.

---------- Post added at 03:27 PM ---------- Previous post was at 03:27 PM ----------

Yes I've wiped everything. I did a clean install on the back2stock rom that I've created.

---------- Post added at 03:32 PM ---------- Previous post was at 03:27 PM ----------

Btw my phone is on CM Rom before then I used that Back2stock to restore to LP and I tried to use also the back 2 stock to update to MM. Zd551KL
[Zenfone 2 Laser General] LuK1337:
If you flashed MM rom you need MM firmware.
[Zenfone 2 Laser General] Fallendreams11:
boot.img

system.new.dat

system.patch.dat

system.transfer.list

file_contexts

Will these 5, plus the back2stock effectively change the firmware?

For instance if I want to go to MM from LP?
[Zenfone 2 Laser General] LuK1337:
No.
[Zenfone 2 Laser General] Fallendreams11:
Welp, I am currently LP, so if I do this with all LP firmware, put stock recovery back on, and unroot will the phone be able to accept the MM update?
[Zenfone 2 Laser General] LuK1337:
Yeah, stock recovery should be able to flash MM update.
[Zenfone 2 Laser General] Fallendreams11:
Just stock recovery, or everything in that list? I have tried with just stock recovery and got this:

When I wipe the cache and attempt to install it I get

“Failed to unmount /sdcard

failed to set up expected mounts for install; aborting installation aborted”

If I dont wipe it I was getting error

“__bionic_open_tzdata: couldnt find any txdata when looking for localtime!

__bionic_open_tzdata: couldnt find any txdata when looking for GMT!

__bionic_open_tzdata: couldnt find any txdata when looking for posixrules!”
[Zenfone 2 Laser General] emoskull78:
Thanks! Worked for me!
[Zenfone 2 Laser General] Leftrand:
I wonder can this used to downgrade M to L ?
[Zenfone 2 Laser General] sarath21:
Do you flashed latest modem (1708) b4 going to stock ?

If yes. Please tell the method do you use.
[Zenfone 2 Laser General] long2ski:
Im on ze551kl coming from the stock marshmallow firmware. So I tried back to stock to get from cm13 but no luck. I tried several methods and get different errors each time but no luck.

Unpacked and added 5 MM firmware files from Asus download. Bootloop.

Tried leaving zip as is and just dropping the 5 files from extracted firmware (went to very first LP firmware download 1.14.) One time I got "no metafile" found but I see it in the zip. Redid zip by extracting with 7zip adding files, rezip with 7zip. New error, "no google update binary" but I see it in the zip. Any suggestions?

Should I try be trying MM firmware or keep trying each lollipop until it works?
[Zenfone 2 Laser General] Fallendreams11:
Long2ski

We need more information! I am a bit confused about what you are asking and what your objective is.

Are you trying to downgrade MM (marshmellow) to LP (lolipop).
[Zenfone 2 Laser General] long2ski:
I am a bit confused about what you are asking and what your objective is.

No wonder you are confused. I just read back my post and see why.

I want to get back to stock MM. I was on it, messed up at rooting, and flashed cm13 (works great for the most part). I tried several times and followed the instructions as exactly as I could. Bottom line, do I try flashing lollipop again, then upgrade or choose marshmallow firmware?

I extracted the back2stock package and put the correct files from extracted Asus firmware in the back2stock folder, then rezipped using 7zip. I booted to recovery, wiped, then tried to install zip. I get different errors each time.
[Zenfone 2 Laser General] Fallendreams11:
Okay so from it sounds like you have firmware MM on your phone, currently with CyanogenMod 13 ROM and you want to be back to ASUS MM ROM.

I get that you tried it your way, but try it in this fashion. Also messing with phone is inherently dangerous! Do this at your own risk.

21.40.1220.1615 Recover (use this tool to extract it if you dont have it): http://xdaforums.com/android/help/extract-dat-marshmallow-lollipop-easily-t3334117

Firmware: https://www.asus.com/us/Phone/ZenFone-2-Laser-ZE551KL/HelpDesk_Download/

Back2Stock: https://s.basketbuild.com/filedl/devs?dev=LuK1337&dl=LuK1337/ZF2L/back2stock.zip

Download Back2Stock and asus firmware 21.40.1220.1615

From the FW put these files into the back2stock.zip

-boot.img

-file_contents

-System.new.dat

-system.patch.dat

-system.transfer.list

Boot to TWRP Recovery, wipe system (top right button, swipe)

Using TWRP install the newly modified back2stock.zip

Put stock WW-21.40.1220.1615 onto SD

Boot to Fastboot (bootloader)

Flash recovery 21.40.1220.1615

Reboot to recovery. Do this DIRECTLY, DO NOT REBOOT SYSTEM: Hold Power + down volume

Select option update from SD

Select stock 21.40.1220.1615-user.zip
[Zenfone 2 Laser General] long2ski:
Thanks for the reply. I have a lot of further questions. I really, really appreciate the help.

1 .From the FW put these files into the back2stock.zip

-boot.img

-file_contents

-System.new.dat

-system.patch.dat

-system.transfer.list

I assume you do NOT extract the back2stock zip but just put the files extracted from ASUS stock into the zip and let it rezip the files (it seemed to compress them when I did this on my windows 10 PC on previous tries). OR should I extract and then rezip?

Boot to Fastboot (bootloader)

Are you doing this on adb or just reboot twrp, then select reboot to bootloader?

Flash recovery 21.40.1220.1615

I see 3 separate "recovery" files in the system folder created by the extractor tool (what a great tool! Wish I had known about it sooner).

"Recovery-from-boot.p" " install-recovery.sh" "recovery-resource.dat" I see no .img?? files that would tell me it is an stock recovery image to flash. Are any of these right?

I am definitely nervous about doing this even though I have rooted many devices. My phone is working on cm13 but there are definitely some glitches that annoy me from time to time and want to get "back2stock".