yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] J M L:
That means fastboot isn't seeing your phone. Before starting your phone should be at the bootloader screen. How you get to the bootloader is up to you. You can some form of advanced reboot app/mod, run adb reboot bootloader, or power on with up volume.

The other thing that can be a problem is that your fastboot is too old to work with the zenfone 2. I don't have the version requirements handy, but I believe you need the latest version. I know the version in debian stable is too old. Testing and unstable are up to date, though. It is probably easiest to find the latest version of fastboot and copy it to /usr/local/bin than upgrading your entire OS to get the newer package.

I've attached the required fastboot binary. Download it and run gunzip fastboot.gz then chmod 755 fastboot and then try and run it with ./fastboot If that works then copy it to /usr/local/bin if it fails with file not found, or some such error, then it probably requires a library you don't have. In that case you should probably find a better source for the update.
[ZenFone 2 Android Development] :
[Q] Z008D (Z550ML) witch version of permenent TWRP should I pick??

Goodday mate..

Im a little bit confuse here,, can you guys guide me to a correct version??

for Z008D

thanks for the help:)
[ZenFone 2 Android Development] Djalaal:
I can personally confirm this works on the ze500cl too. Just letting you know.
[ZenFone 2 Android Development] troy5890:
Impossible
[ZenFone 2 Android Development] Djalaal:
I guess I wasn't clear. The tethered method works on the ze500cl. I just used it myself 2h ago.
[ZenFone 2 Android Development] troy5890:
No you were clear, I just didn't think you could use it for that model.
[ZenFone 2 Android Development] Djalaal:
I assure you it works. I've used the Cwm temp recovery to root the phone 1 year ago (approx) on one person's ze500cl, and yesterday I used the twrp version of it (from this thread) on another person's ze500cl (fully stock, nonrooted, and locked bootloader) to recover from boot freeze. And I'm 100% sure these are ze500cl. Heck, I bought 2 of these myself for these 2 ppl.
[ZenFone 2 Android Development] drjessprince:
Cannot boot into TWRP

I have two zenfones, I flash twrp succesfully on one but not on the other one.

I rooted both devices

I unlocked bootloader of both using the official bootloader unlock app

Flashed twrp and it worked on one but not the other.

I attached The OS version on the one I am trying to flash and what I get on cmd on my pc when I flash it.

Also, this phone had no battery issues, after unlocking the bootloader, the battery won't charge properly, so I rooted it to try a custom rom, but I can flash a custom recovery.

What am I doing wrong.
[ZenFone 2 Android Development] MattMatt0240:
How is the new TWRP 3.0 working on the Z00A for everyone? Anyone notice any issues that would prevent normal usage?

________________________________________

Root it and boot it!

Current device: Asus ZenFone 2 (Z00AD/ZE551ML)

ROM: Resurrection Remix

Kernel: FlareM

Service: Straight Talk

Check out my apps on Google Play
[ZenFone 2 Android Development] Siddk007:
Is TWRP v3.0.0 up for Z008?
[ZenFone 2 Android Development] yusuflindo:
I use it about a week, everything is fine on the Z00AD/ZE551ML. I flash roms and mod, backup, restore, wipe using TWRP 3.0.
[ZenFone 2 Android Development] septimvs80:
I'm using the official TWRP 3.0.0-0 on a Z00AD. Everything is fine, except when I go to the ADB Sideload screen and my computer "suddenly" loses connection to the phone. All other ADB commands work, only Sideload doesn't.

---------- Post added at 06:49 PM ---------- Previous post was at 06:44 PM ----------

Hi. Are you using the official TWRP 3.0? Does Sideload work for you? It doesn't for me. When I open the ADB Sideload screen in TWRP, my computer suddenly cannot see the phone anymore (i.e., using the command: adb devices). Instead, when I'm out of the ADB Sideload screen, my computer can see the phone and all other ADB commands work perfectly.
[ZenFone 2 Android Development] social-design-concepts:
I don't think twrp has the USB 3.0 super speed patches for minadbd.

Actually not sure if they have even been submitted for code review yet, I had to manually patch 2.7.0 to make side load work on Intel.

I just started working on twrp 3 for the tethered recovery concept so if it those patches are still needed guess i'll submit them if they aren't in code review.
[ZenFone 2 Android Development] ick21:
I tried that....it says it was a success but i"m unable to access recovery....i have twrp installed...and it says that its there.
[ZenFone 2 Android Development] djole94hns:
ZE500CL - untethered recovery?

Hello,

I've tried the tethered recovery method described above on my ZE500CL, and it worked. I'm wondering, will it work if I flash the recovery permanently (untethered)? We've got a bootloader unlock tool from ASUS just yesterday (well, we've had it even earlier, but they hosted it on the official downloads page for ZE500CL just yesterday), and I wouldn't do it unless I can be assured this will work.

Thanks in advance!
[ZenFone 2 Android Development] puamystery:
anyway could fix the MTP doesn't work problem?
[ZenFone 2 Android Development] vampirefo:
I don't think there is a fix, as TWRP 3 improved somethings other areas, were disabled.
[ZenFone 2 Android Development] ishantanish:
What about z008 ?
[ZenFone 2 Android Development] MironV:
TWRP for Z00A should be the same as for Z008 (info via official twrp page). "Starting with TWRP 3.0.0, Z008 and Z00A TWRP builds are unified. The same image will work on both models." https://twrp.me/devices/asuszenfone2.html

Not that important, but is the TWRP splashscreen logo missing for others as well? (after booting into recovery) :)
[ZenFone 2 Android Development] jrior001:
The splash screen is not proper for everybody, and is generally unimportant. I'll look at eventually but its not high priority.
[ZenFone 2 Android Development] bdd786:
I have TWRP 3.0. I want to flash stock recovery. What should I do?
[ZenFone 2 Android Development] JustTom:
hi guys, i followed the procedure for install the un-tethered twrp via fastboot. No problem at all, i get "finished" on prompt but when i try to boot in recovery mode it returns on bootloader. I reinstalled the stock recovery (my phone is a zenfone 2 ze551ml ordered from China) but i need the untethered version of twrp because the last time i used the tethered one and flashed a rom i almost bricked my phone
[ZenFone 2 Android Development] RealYoti:
Is there twrp 3.0 zip for tethered using?
[ZenFone 2 Android Development] J M L:
I've attached one to this post. It is exactly the same as the one from my earlier post, except I've replaced TWRP with the official image from TWRP. It works for me, but I only use it from Linux, so I can't guarantee that it works from Windows. I find that TWRP 3.0.0 is more consistent about mounting my encrypted data. on 3.0.0 it works 3/5 times, while on 2.8.7.x it seems to work about 1/5 times.
[ZenFone 2 Android Development] holymoz:
tried but not work on win7

can you make it work? twrp 3.0.0 it's better, thanks
[ZenFone 2 Android Development] holymoz:
thanks bro, worked on win7 but only after delete the twrp folder in sdcard.

everytime I have to delete that folder otherwise twrp stuck at logo or no logo at all.

thanks for your support for us with locked bootloader, bought this phone 3 days ago and it's to soon to lose warranty unlocking it.

please if you build with updated twrp share here, thanks:highfive:
[ZenFone 2 Android Development] RealYoti:
Was not work for me :(

Will try this.
[ZenFone 2 Android Development] holymoz:
Also try terminate adb.exe or restart pc, it's a bit random and I have poor patience, si unlocked with this

http://xdaforums.com/showthread.php?t=3371689

Works good
[ZenFone 2 Android Development] irishmyles003:
Can someone tell me what version twrp I need to install for an unlocked bootloader? Just so happened the ATT Asus Zenfone2e now has the ability to unlock the bootloader. And I would like a permanent twrp recovery. I'm just confused as to which version to pick on the google drive page listed on page 1.
[ZenFone 2 Android Development] holymoz:
What model is? Search your model herehttps://twrp.me/Devices/

If listed install the twrp app from store, search it from the app and install it.
[ZenFone 2 Android Development] federico.guerrazzi:
Work perfectly on my ZF2.

Thanks a lot :good:
[ZenFone 2 Android Development] sebx_g1:
I must report that on twrp 3.0.2 I don't have properly mounted adopted storage on my ZF2 - it is no acces to files and they are invisible at all --- on 3.0.0 everything works ...
[ZenFone 2 Android Development] krasCGQ:
Wrong thread to report. Report it here: http://xdaforums.com/zenfone2/development/z00az008-zenfone-2-t3265236
[ZenFone 2 Android Development] RealYoti:
DeleteMe
[ZenFone 2 Android Development] prc.kailas:
can we get back to stock recovery by "fastboot flash recovery [OFFICIAL RECOVERY / STOCK RECOVERY].img" to flash OTA ?
[ZenFone 2 Android Development] MAximDeconinck:
Hello ,

I have a problem.

My zenfone 2 is stuck on the white logo screen after I rebooted the device while I was in the TWRP recovery tool, and I didn't yet installed my OS. Now everythime I try to reboot the devices it gets stuck on the white logo screen. Did I broke my phone completly or is this repairable?

Greetings
[ZenFone 2 Android Development] LcK:
Hi all. I have flashed the Untethered recovery after unlocked the bootloader. Unfortunatley when i try to boot in recovery mode i have obtained an error message and the twrp recovery does not appear.

Someone can help me? Thanks in advance.

My device: zenfone 2 deluxe (Z00AD)
[ZenFone 2 Android Development] Technical:
Using TWRP 2.8.7.0 worked for me at Z00A.

Just a question, would I be able to restore the nandroid with locked bootloader?
[ZenFone 2 Android Development] TheSSJ:
Maybe with the tethered version this should work :good:
[ZenFone 2 Android Development] savinjo22:
Hello guys , just got this phone (ZE551ML) , I' m unlocked bootloader , install supersu , and flash twrp but I keep give me a problem, while backing up device just go dead, and with long press power button wakes up. Can you help me somehow. Tnx . Sorry if it someone allready post simular question
[ZenFone 2 Android Development] Technical:
It's not a "solution" but rather a workaround, disable the screen timeout in the settings and let it always on.
[ZenFone 2 Android Development] ninokotur:
same happens to me recovery never shows up, it kicks me inside fastboot instead of recovery, and recovery is unaccessable ..... any help?
[ZenFone 2 Android Development] TheSSJ:
Then your bootloaders are either still locked or you have marshmallow already installed and need to flash a specially signed image, all credits to [MENTION=4382791]shaca[/MENTION]laca: https://drive.google.com/open?id=0Byp0425xydUaZkFYRTdCOXVLMzA
[ZenFone 2 Android Development] Paul_BR:
I am trying to do a nandroid backup with latest official TWRP (https://dl.twrp.me/Z00A/twrp-3.0.2-0-Z00A.img) but my device simply shutdown every time. What is the most stable TWRP? I am using RussianBear ROM + Flarex kernel (RussiaNBeaR&FlareX+v7+Z00A.zip).
[ZenFone 2 Android Development] jeffrey roy:
[MENTION=2388665]TheSSJ[/MENTION] What if i came from cm13 which is already boot loader unlock ofcorz then flash latest lollipop .img's via fast boot then proceed to side load the mm official fw which i did and i'm using currently, does it mean i have a lock boot loader again and needs to unlock it again to flash twrp/cm13 with mm blobs?
[ZenFone 2 Android Development] TheSSJ:
Good question, to be honest when I flashed the MM build via TWRP I hard bricked my phone and had to recover via xfstk and Asus Flash Tool. Then when I was with the official LP ROM I just updated via stock recovery to MM. And then I unlocked the BL in Marshmallow
[ZenFone 2 Android Development] jeffrey roy:
Thnks for the fast reply! But how did you unlock your boot loader in mm? I'm trying to root my mm fw right now with 1clickroottoll but it seems its not working...
[ZenFone 2 Android Development] TheSSJ:
https://youtu.be/fDls4gLyusY

You need to follow the steps in this video. the author takes his files from shakalaca's work though (credit where credit is due)
[ZenFone 2 Android Development] jeffrey roy:
Thanks man....been following your works also...
[ZenFone 2 Android Development] Pavamarea:
I1m in a Z00AD -- ZE551ML , stock LP, rooted, unlocked, custom kernel, xposed and i'm using TWRP 2.8.7.0. I want to know if i can upload to 3.0.0.0 via TWRP, flashing the img provided in the TWRP site.

Thanks!!
[ZenFone 2 Android Development] jeffrey roy:
You can flash it via twrp...flash the .img located at lower right on twrp screen..i think
[ZenFone 2 Android Development] curtis91:
Hello , may you can use twrp manager .apk and have last release , slower
[ZenFone 2 Android Development] DivyaMamgai:
Getting rebooted to Boot-loader each time I try to boot into Recovery Mode.
[ZenFone 2 Android Development] TheSSJ:
Either locked bl or youare using Marshmallow. This recovery is only compatible with unlocked Lollipop (and is really old :p )
[ZenFone 2 Android Development] PepNYC:
Hey guys. Maybe someone can shed some light on this for me. I have a Zenfone 2 ZE551ML running Marshmallow 6.0.1 which I just recently rooted following the instructions in the thread below. Unlocked the bootloader with unlock.bat, installed TWRP, rooted by flashing the zip files, then ran the restore.bat that relocks the bootloader. The thing is I can't boot back in to TWRP now unless i have the phone connected to my PC and run "fastboot boot recovery.img". I can get to the boot loader fine but when I choose recovery mode it just reboots back in to the boot loader. Normal boot works and the phone boots fine but no recovery mode. TWRP version was 2.8.7.0 and I upgraded it to the latest 3.0.2-0-Z00A hoping it would help but I still can't get in to recovery mode. Any help would be appreciated. Thanks

http://xdaforums.com/zenfone2/general/root-install-xposed-marshmallow-6-0-1-t3456443
[ZenFone 2 Android Development] septimvs80:
I'm using TWRP 3.0.2-M1 (a custom version by jrior001 that was specifically designed to work with the Marshmallow kernel on Zenfone2) and Cyanogenmod 14.1. This version of TWRP simply doesn't accept my encryption password anymore, so I cannot mount /data from recovery, cannot do backups or restore them. The password is, of course, correct, and it works flawlessly when I boot Cyanogenmod instead of recovery.

I looked at TWRP changelogs, it looks like a similar bug had happened with a previous version (3.0.1), it was a glitch in the virtual keyboard and was rapidly solved. Version 3.0.2 (not "M1") used to work flawlessly. I've already posted this on the thread dedicated to CM14.1 for Zenfone2, but devs haven't answered (yet).
[ZenFone 2 Android Development] Fiksdal:
The "download section" from which I am supposed to get "recovery.img" no longer contains such a file. What should I do?
[ZenFone 2 Android Development] TheSSJ:
Should work now
[ZenFone 2 Android Development] grungo:
Hi, I know this is an old recovery thread, but just curious about a few things.

1. Z00A ZE551ML, Stock LP, older revision/update version, rooted but locked bootloader. Not ready to unlock it yet unless flashing CM or similar.

I'm pretty sure I used this a while back to test something, so I feel it should still work since my bootloader has been locked this whole time, correct?

If I make a full nandroid backup with the tethered, can I recover with the tethered, or only with untethered and unlocked bootloader, as mentioned in previous thread replies? Just want to be clear.

2. Can I send the backup to an external SD card, and also possibly restore?

3. Where is the "recovery.zip" file in the Google Drive downloads, all I see are .imgs?

Also, which image should I get? I assume latest, but there's 2 different ones:

- twrp_Z00A_v24.img

- twrp_z00a_v24_repack.img

I assume the repack? Also, I would just rename the file to "recovery.img" and it'll still launch fine, even though it's not a .zip?

Thank you!
[ZenFone 2 Android Development] TheSSJ:
Hi

1. You can backup and restore with the tethered recovery :good: but you cannot flash CM or so, for this your BL needs to be unlocked

2. Should work, I used this type of recovery ages ago so I don't know for sure

3. Unfortunately it seems I have deleted the zip file from my drive and the download section of this thread, sorry for that :(
[ZenFone 2 Android Development] Aksell:
I know this thread is DEAD but I tried to install Cm12.1 my pc can't recognize my phone so I tried with Adb Sideload but when I push Rom file to Phone TWRP says failed and I have this problem on Cm12.1 and RR M even with official TWRP I can only install LP or M Aosp , RR LP (RR LP is laggy) and CM13 based roms and CM13 Based Roms or Aosp Drains my Phone battery fast. HALP!:silly::confused::)

EDIT: When I edit updater script phone gets stuck at Asus Powered With Android logo and this happens everytime!!
[ZenFone 2 Android Development] DallasBelt:
Maybe you need the correct drivers for your device :confused: Try using 15 second ADB installer (v1.3).
[ZenFone 2 Android Development] Aksell:
Do you mean intel drivers on my pc? Because I got the latest drivers downloaded from asus.com and Maybe Adb is outdated because I dowloaded from a youtube video I will try:D
[ZenFone 2 Android Development] DallasBelt:
Well, with 15s ADB installer I never had any problems. You could try tho. But I'm with CM13 and no battery drain whatsoever.
[ZenFone 2 Android Development] krasCGQ:
It actually exists.
[ZenFone 2 Android Development] volcalesia:
where can I get the recovery.zip for tethered twrp? the link you give me only contains twrp.img

I've renamed it to zip and it says it's broken.
[ZenFone 2 Android Development] omidboxter:
recovery.zip doesn't exist in the download section link!

it's my problem too

there isn't any recovery.zip to replace in the link!!!
[ZenFone 2 Android Development] im_ankit:
i want to root my phone 6.0 kingroot not working
[ZenFone 2 Android Development] social-design-concepts:
[MENTION=2388665]TheSSJ[/MENTION] deep on my part your device doesn't need post recovery boot.sh

This device doesn't have adbd as a service in init , I forgot that I added the code so if the adbd service failed to start the recovery launcher would execute the adbd binary directly.

So postrecoveryboot.sh can't stop a service that doesn't exist and can't execute the adbd binary again.
[ZenFone 2 Android Development] TheSSJ:
Kk,will remove it and test a little more
[ZenFone 2 Android Development] TheSSJ:
So I removed postrecoveryboot as you said, still the curtain. Then I replaced your recovery binary with mine (as [MENTION=2472806]vampirefo[/MENTION] said), but the phone rebooted instantly :D

Maybe there are some boardconfig flags of the Zenfone which differ from other Intel based devices? I don't really know...
[ZenFone 2 Android Development] vampirefo:
Just got a chance to compile TWRP with the libenc patch, I did notice no TWRP splash screen displayed this time. Just did a backup, will reboot and restore. See how that goes.

adb works just fine.

It appears restoring is working just fine with the libenc patch, will test a few more days before releasing it.

---------- Post added at 11:26 AM ---------- Previous post was at 10:58 AM ----------

I just tried your recovery binary in my recovery.zip, I didn't have any problems loading your recovery, So I would guess you could load mine, I don't think your intel is any different than other intels. Or my dell venue 8 is very forgiving.
[ZenFone 2 Android Development] social-design-concepts:
Maybe my BoardConfig is very generic only specs are the ARCH/CPU and the twrp flags from the nexus player
[ZenFone 2 Android Development] gh0st-:
I'm afraid to try this out so I want to hear out some suggestion. Is the current release somewhat stable?
[ZenFone 2 Android Development] rafyvitto:
Afraid of what?, its tethered recovery meaning it flashes nothing to your recovery partition, its 100% save to use it, as long as you know what your doing.
[ZenFone 2 Android Development] TheSSJ:
And yes, everything works
[ZenFone 2 Android Development] TheSSJ:
Hi,

shakalaca was faster: https://mega.co.nz/#F!k4MHiAgL!dVuOKeH3eokcwPSNI79ffw

See the _slim folder!

Cheers
[ZenFone 2 Android Development] gh0st-:
Hey man, I hope you won't mind the long question (its NOOBish too)

So I'm on 2.17.40.12 (rooted with a pre-root.img). I want to use / have your recovery installed on my device, quoting this last message of yours, checking on the mega link above, there seem to be a new fw available.

How should I do it? Basically, I'm okay to have the phone wiped clean since I've been encountering some issues which then vanishes plus I can't seem to find the root cause even if I try so hard to study logcat.

If you could shed some light on how to do it, say preserving data (contacts sms etc) or a complete wipe. I'd really appreciate it.
[ZenFone 2 Android Development] TheSSJ:
Hi,

np, this forum exists so that people can ask and get answers ;)

I have to assume that you need to flash this via fastboot command (fastboot flash system system.img). This would mean that you need to download all parts and unpack it and you will extract a file called system.img.

Technically nothing should change, your data would still be available. Maybe I would wipe the cache partition in order to have the apps optimized for first usage again (to be extra sure).

To make this ultra safe you can make a backup of your system and data partition with the tethered TWRP. Should something go terribly wrong (which I don't really think) you can restore the exact state until the backup.

Hope that helps

Cheers
[ZenFone 2 Android Development] gh0st-:
Thanks, downloading the one without slim, would you happen to know the difference between the two?

So Before flashing the one from mega, I should install your recovery 1st?
[ZenFone 2 Android Development] TheSSJ:
The difference is that the slim version has many bloated apps removed (whole Asus apps, preinstalled sh*t like the 50 games app, etc)

Yep, just make a backup in my twrp recovery first,then you can flash the latest version
[ZenFone 2 Android Development] gh0st-:
Just to be clear, I'll just flash system.img even if I'm on 2.17.40.12 I'm trying to update my firmware to Z00A_WW_2.18.40.12_slim
[ZenFone 2 Android Development] Jhdoubleoseven:
Is it possible to create a recovery.img and do fastboot boot recovery.img? Or can someone tell me the pure fastboot commands to test the recovery? I'm deeply annoyed that the only current way to do this is through Windows ? Thanks!
[ZenFone 2 Android Development] rafyvitto:
Go complain to asus about the bootloader been lock't, thats why u can flash anything to system//recovery partitions without asus master key.
[ZenFone 2 Android Development] TheSSJ:
Perfect! as you are installing no delta, but a full image, there will be no missing files :)

No problem, it's possible via Linux, too :) Thanks to [MENTION=2472806]vampirefo[/MENTION] for this:

http://xdaforums.com/dell-venue/general/linux-tethered-cwm-recovery-version-t2963104

Just replace the recovery.zip from his package with the one attached in this thread

Doing it all with the phone is not possible at the moment unfortunately...
[ZenFone 2 Android Development] Jhdoubleoseven:
Sweet, thanks! So many things for this phone seem to be Windows-only type stuff, was really frustrated when trying to update via fastboot cause the system.img was in pieces and it wanted me to use WinRAR... catting all those files together seemed messy but thankfully it worked lol
[ZenFone 2 Android Development] gh0st-:
It worked. Thanks man! :)
[ZenFone 2 Android Development] Bushcrafter:
Will this work with the latest OTA 2.18.40.12?
[ZenFone 2 Android Development] TheSSJ:
[MENTION=5339037]Bushcrafter[/MENTION]: Just try it and don't fear ;) - after a reboot there will be no trace of the tethered TWRP left. But yes, as this thing is pretty much standalone it will work for every coming version, too
[ZenFone 2 Android Development] Bushcrafter:
Okay,thanks for the quick reply. I will give it a try.