yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] lordpipa:
As soon as we have a custom recovery my ZF2 will be Broken!!

Sent from my Nexus 7
[ZenFone 2 Android Development] tuilalnvinh:
Hi, how can I use fastboot to flash it on my zenfone 551ML ? Please anyone give a more detail guide, thanks :D
[ZenFone 2 Android Development] lordpipa:
What system are u running?

---------- Post added at 10:13 PM ---------- Previous post was at 10:08 PM ----------

http://www.asus-zenfone.com/2015/04/asus-zenfone-2-pre-root-systemimg.html?m=1
[ZenFone 2 Android Development] richiehd:
I don't know about him but I'm using OSX. It's always fun to root things on my Macbook.

Sarcasm. Hah.
[ZenFone 2 Android Development] tuilalnvinh:
Thanks, i could get root now [emoji1]
[ZenFone 2 Android Development] tuilalnvinh:
Btw, do we could still get OTA update after root as OP mentioned ?
[ZenFone 2 Android Development] glockaki:
read carefully...you can ota update but you'll lose root.
[ZenFone 2 Android Development] clemsyn:
If root is successful, then I guess bootloader is unlocked? Is it just a process of flashing our boot.img and flashing it back to original if it doesn't work? Same with system.img or does it need to be signed? Sorry it's been a very long time since I developed kernels but I just got this phone and somehow this tickled my curiousity :)
[ZenFone 2 Android Development] glockaki:
in general section someone posted this http://www.unlock-bootloader.info/2015/02/asus-zenfone-2-ze551ml-6917.html

i wonder if this is true.i dont heve the phone yet but i think things are going fast!!!
[ZenFone 2 Android Development] clemsyn:
Don't think this is true, just looking at the dates of the comments, it doesn't add up. I have a feeling that doesnt a fastboot oem unlock (with a droidboot.img) can brick the device. BTW, I have compiled a kernel using the instructions by ASUS but I need help. It gave me an output of kernel and bzImage (both have the same size as the default zImage). I used the kernel and renamed it to zImage and then compiled it using the Android kitchen. It created a boot.img.... unfortunately flashing this via fastboot could brick the device especially if the bootloader is locked. Unless of course, if ASUS gave us an unlocked bootloader and we just don't know it :)
[ZenFone 2 Android Development] lesmo_sft:
I'm quite new to the Android scene, I was a bit more of a Windows Phone kind of guy. I'd feel like we've got an unlocked bootloader since it's the first time I've ever seen a manufacturer make kernel sources available for a particular phone... maybe I'm wrong? Perhaps shooting an email asking about it?
[ZenFone 2 Android Development] ddfault:
TW version

I have a ze551ml TW version and I'm worried the WW version of these images will brick me. Could you explain how you pulled these off the phone?

I've used fastboot to mount the /system as rw and push superuser.apk and su over to the phone, but stuck actually gaining root in order to dump the partitions. Your help would be greatly appreciated.
[ZenFone 2 Android Development] lordpipa:
I have the TW too. The OTA update on April 7 is WW and it went without a hitch. I confirmed flashing the prerooted.img and have root no problems.
[ZenFone 2 Android Development] ddfault:
My worry is LTE firmware/bands are different between the WW and TW so the modem/chipset may not be 100% the same. I'm fine with flashing it, but I want to dump my bootloader/recovery/system beforehand.
[ZenFone 2 Android Development] lordpipa:
I see what you mean. It was weird to me that the update would come in WW and not TW.
[ZenFone 2 Android Development] ddfault:
The TW phone came with 2.13.40.13. If and when they drop a new build I'm sure they will include all the flavors. For now though, it doesn't help us.
[ZenFone 2 Android Development] ddfault:
This is good. You are seeing android recovery!. You should be able to sideload the newest full OS onto your phone and in the process flash fastboot back! Once you're back up and running you can flash a pre rooted system.img.

I talk all about it here:

http://xdaforums.com/showpost.php?p=60455752&postcount=167
[ZenFone 2 Android Development] lesmo_sft:
I installed it for Lucky Patcher. It works ok. It left me like 8mb free on /system though.
[ZenFone 2 Android Development] ilos:
ok i will try !
[ZenFone 2 Android Development] lordpipa:
I do for kernel adiutor
[ZenFone 2 Android Development] -fluffy-:
Doesnt work
[ZenFone 2 Android Development] ddfault:
It can take me quite a few tries to get into the Recovery Menu. Try varying how much you hold the buttons and which order you press them. Menu then Vol Up, Vol Up then Menu, Both at the same time, Subtle delay between one and the other. Keep trying and you will eventually get the menu.
[ZenFone 2 Android Development] -fluffy-:
I cant i just restart i push power 1 sec then while holding wolume up then it just restart an start over again
[ZenFone 2 Android Development] ddfault:
Can you press volume up and volume down buttons without it rebooting? Can you press Power and then Volume Up while it is saying Updating? (a tiny delay between when you press Power and when you press volume up) and see if you get the menu and it doesn't reboot. For me, if I hold the power button and volume up too long it will restart.

Can you copy the latest stock zip UL-Z00A-WW-2.15.40.10-user.zip onto a microSD card and rename it MOFD_SDUPDATE.zip and if that doesn't work try renaming the file update.zip or UPDATE.zip.
[ZenFone 2 Android Development] cde2006:
I flashed the latest system.img Z008 WW 2.15.40.11 and now my phone is stuck in the asus boot logo.

I did the OTA for 2.15.40.11 before, is there anything wrong?

When I go to recovery it says Error! and stuck there...

The I tried to flash recovery as well from same image, but still failed.

Do I need to flash, boot.img and droidboot.img as well?

Or flash back to original rom?
[ZenFone 2 Android Development] ddfault:
Do you have the ZE551ML or ZE550ML, because you flashed the ZE550ML firmware onto your device.
[ZenFone 2 Android Development] Xcaliber:
Flash every image, preferably in this order:

'fastboot flash fastboot droidboot.img'

'fastboot flash recovery recovery.img'

'fastboot flash boot boot.img'

'fastboot flash system system.img'

You may flash boot.img after System, but I doubt it matters.
[ZenFone 2 Android Development] cde2006:
My mistake I flashed Z00A not Z008...the file I have is:

Z00A_WW_2.15.40.10_system_w_root

and I have the ZE551ML with 4gb and 64gb

---------- Post added at 02:05 AM ---------- Previous post was at 01:50 AM ----------

Last part didn't work, and not I cannot even go back to fastboot mode :(

This is the error I have:

G:\Downloads\FlashTools>fastboot flash fastboot system.img

target reported max download size of 536870912 bytes

sending sparse 'fastboot' (523340 KB)...

OKAY [ 18.549s]

writing 'fastboot'...

FAILED (remote: flash_cmds error!

)

finished. total time: 19.029s
[ZenFone 2 Android Development] ddfault:
Are you using this version of fastboot?

Your syntax is completely wrong.

You are trying to flash the system.img to the fastboot partition. (The previous poster has led you a stray.)

This is the correct syntax:

fastboot flash fastboot droidboot.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
[ZenFone 2 Android Development] cde2006:
Oh my, so how do I get to fastboot now, all I get is a usb symbol...

Is the phone bricked?
[ZenFone 2 Android Development] ddfault:
Try the correct syntax. You phone may default to recovery or fastboot. There is a panic partition on the phone which may have become enabled since fastboot is erased but not flashed. You are in uncharted territory for me.
[ZenFone 2 Android Development] Xcaliber:
Oh ****!!! I apologize for that mistake, damn copy-paste!

To get back, reboot the phone and try to get into fastboot using Volume Up + Power. Once there, do 'fastboot flash fastboot droidboot.img'

That should reinstall your fastboot partition, and you can then continue flashing the other partitions.
[ZenFone 2 Android Development] cde2006:
When I use Volume Up + Power, I got this usb symbol, no fastboot...

When i try to flash, it say << waiting for devices >>
[ZenFone 2 Android Development] ddfault:
What does it look like. Can you include a pic?
[ZenFone 2 Android Development] cde2006:
Picture attached
[ZenFone 2 Android Development] ddfault:
Is there text under that usb logo? If so, what does it say?
[ZenFone 2 Android Development] cde2006:
No it i just a kind of progress bar but it never moves.

After a few minutes it reboot and come back to this...
[ZenFone 2 Android Development] ddfault:
Try the power and volume Up and see if you can get text. It may take a few iterations and variability with the buttons to get it to work. This may be panic mode and its expecting you to do something during the window. Have you tried the fastboot flash fastboot fastboot.img while its up? It may be recovery and wanting you to sideload a .zip (where I would recommend the latest full from asus.)
[ZenFone 2 Android Development] Xcaliber:
Try this:

Make sure your phone is switched off and unplugged.

Press and hold volume UP button while connectecting your phone to pc.

You should be in fastboot mode now.

Let me know what you see.
[ZenFone 2 Android Development] -fluffy-:
Gonna give it a try l8 im a work now
[ZenFone 2 Android Development] cde2006:
I tried several time nothing happen :(
[ZenFone 2 Android Development] Xcaliber:
Make another thread so we can get dedicated help there and not flood this forum. Send me the thread name and check your messages.
[ZenFone 2 Android Development] cde2006:
I will probably return the phone for repair, just got it today...thanks for the help.

I will open a new thread if I still have the phone in a few days.
[ZenFone 2 Android Development] Xcaliber:
Alright man. Let me know what happens. Check your inbox.
[ZenFone 2 Android Development] sunshine333:
Has anybody noticed a serious increase in battery drain in the last few days? I'm on version 15, and right after I installed it I was getting great battery life. Suddenly yesterday I was getting huge battery drain from Android OS and Wifi. I don't typically use Wifi and have hardly used it since getting the phone. I keep it off, but I do allow it for gathering my location. I've tried restarting several times thinking it was because I had used the Wifi Hotspot but it didn't make a difference. A bunch of the Asus and Google apps updated in the last few days before this happened, could this be related to that? Perhaps coincidentally, I've also suddenly been getting tons of card notifications from Google Now. Anybody else see something like this?
[ZenFone 2 Android Development] Xcaliber:
I suggest you go into WiFi settings and disable "scanning even while WiFi is OFF". I find that setting extremely useless, because anytime I use GPS, I just turn WiFi on as well and let it use it along with GPS. Keeping it on manual setting gives me no battery drain when I don't need it. Also, keep LOCATION completely disabled as well. Apps that need your location can get a pretty accurate fix using your network signal combined with WiFi. The only time Location services should be enabled is for ACTUAL GPS hungry apps, like Google Maps or other Navigation apps.

Using the above mentioned advice along with my 130+ apps, most of which are constantly running (I have 512MB/4GB RAM free :P ), I get a nice 10-18 hours battery life. I get around 3-5 hours of On Screen Time depending on what I am doing. I do not play 3D games, I just play 2048 and a simply designed card game. Most of my apps are business apps like calendars, timesheets, chrome, maps, and messaging apps.
[ZenFone 2 Android Development] -fluffy-:
thx big thx to u i now got a working phone :D:D:D
[ZenFone 2 Android Development] cde2006:
I posted my problem here:

http://xdaforums.com/showpost.php?p=60556846&postcount=1
[ZenFone 2 Android Development] keepfishes:
Hey guys, I just got my phone today so I am a newbie to this. Just to ask, is the rooted ROM posted on the first post the stock vanilla Android or ZenUI version? If not, is there a stock vanilla Android for this phone? I am not liking ZenUI.

Thanks!
[ZenFone 2 Android Development] cloudnineX:
Its the the ZenUI ... just a rooted version of the original ROM
[ZenFone 2 Android Development] ddfault:
Which of these options worked for you? So we know for the future.
[ZenFone 2 Android Development] keepfishes:
I see... Right, thanks. Guess I have to wait for custom roms with a debloat then...
[ZenFone 2 Android Development] -fluffy-:
the one with

putting the latest ww firmware on SDcard

renamed it to MOFD_SDUPDATE.zip

then started the phone an it came up an said system updating

an the it just hang

then i tryed Again

an wen it hade showed the system updating

i pushed volume up an power

then it showed the Progress

an it updated the phone

an wen it was done it showed recovery menu

an i rebooted the system an vupti it startede an i got fastboot back
[ZenFone 2 Android Development] vivix:
1) Download .img files from : V2.15.40.10 for WW SKU 2015/04/30 http://www.mediafire.com/folder/sety...#dy87k1a0f8m81

2) Boot to fastboot mode (Power + Vol Up) to enter Bootloader Manu

3) ADB TOOLS : http://tools.asuszenfoneblog.com/201...boot-tool.html

TIP : At Flashtool/fastboot folder <b>press shift+Right Click then Open Command Here

Using ADB command prompt flash files by using fastboot commands :

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash fastboot droidboot.img

4) Reboot phone

5) Upload V2.15.40.10 for WW SKU 2015/04/30 OTA file to phone root storage :

http://dlcdnet.asus.com/pub/ASUS/Zen...237.1430874705

6) Update via notification on screen about new update avaliable

7)Wait till update will finish (approx 10 min)

8)Enjoy latest V2.15.40.10 WW

Say THANKS if i helped !

I Lost 6 hours to achieve this and only THIS method working for 100%.
[ZenFone 2 Android Development] keepfishes:
Thanks for the tutorial, May I know what is meant by step 5? Do I put the system.img file into an sdcard and put it into phone?

UPDATE: I could flash the droidboot, recovery and boot images with success but I get an error when trying to flash the system.img using the command "fastboot flash system system.img" found on the first post. Can someone help me?
[ZenFone 2 Android Development] -fluffy-:
Yes it Will show an error just let it be an it Will start update it's because fastboot only support files at 500MB but just wait an it will update in parts
[ZenFone 2 Android Development] keepfishes:
Thanks for the reply. I am getting this error and it doesn't start...

Pic is as attached. Thanks!
[ZenFone 2 Android Development] -fluffy-:
Try put the flashtools folder in the root of ur PC c:// an TRY again remember to put system.img into flashtools folder
[ZenFone 2 Android Development] keepfishes:
I have tried but still the same :(
[ZenFone 2 Android Development] -fluffy-:
try this command insteed

fastboot.exe flash system system.img
[ZenFone 2 Android Development] keepfishes:
Still the same my friend...
[ZenFone 2 Android Development] -fluffy-:
try this Tool here insteed
[ZenFone 2 Android Development] keepfishes:
OMG it works now! Thanks a bunch! I think I'll write detailed rooting instructions with links to the relevant files later. It took me quite a while to figure out how to get root on this thing because the information is all over the place...
[ZenFone 2 Android Development] ddfault:
I have found hit or miss success with various version of fastboot.exe. I have been successful using the latest version of fastboot from google. It also includes adb.
[ZenFone 2 Android Development] Chinaphonearena:
Excellent guide, man. I've written a very similar one here: http://www.chinaphhttp://www.chinaphonearena.com/forum/showthread.php?tid=10253

Pictures coming soon.

Main thing to be aware of is to not update SU. Beyond that should be no worries.
[ZenFone 2 Android Development] ddfault:
I believe you are making this a lot more complicated.

First off, the latest version for the ZE551ML is WW_ V2.15.40.10_20150425. For ZE550ML the latest version is WW_V2.15.40.11. You reference V2.15.40.11 as the latest without specifying model or region. The TW phones auto updated into the WW SKU. I have a TW phone and its using the WW SKU. I cannot speak of any other regional version of the phone.

Secondly, I recommend using the tools directly from google as I have stated in the past:

As far as steps, I can only speak of the ZE551ML. Start with an unrooted OS.

1.) Download the ADB and Fastboot tools from google (see links above). Download the pre-rooted from from shakalaca in post #1 (If you download the 200MB split version, Windows File Explorer will allow you to open the .zip and copy the .img file out.)

2.) Download the stock full ROM WW_2.15.40.10 directly from support.asus.com

3.) Plug the phone into the PC via USB and copy the UL-Z00A-WW-2.15.40.10-user.zip onto the phone.

4.) The phone will notify you that there is an update:

[IMG="Update Notification"]http://goo.gl/PtjMi7[/IMG]

5.) When you select the notification you will be prompted of which file to use in the update:

[IMG="Update Prompt"]http://goo.gl/X53mgW[/IMG]

6.) Hit OK and the phone will reboot and update everything it needs to update per ASUS. (This will include the fastboot/droidboot image, boot, recovery, system, silentlake, and modem firmware.)

7.) Once the update has completed, unplug and power off the phone.

8.) While holding volume up, press the power button until the phone vibrates. At this point release the power button but keep holding the volume up button until the screen flickers to the fastboot menu. Release the volume button when the screen flickers.

9.) Plug the phone back into your computer, open a command prompt and navigate to where you extracted the google tools and the system.img.

10.) Run:

fastboot devices

11.) You should see a your device listed, if you do not, your device is not in fastboot mode.

12.) Assuming you see your device listed in Step 10, run:

fastboot flash system system.img

This will erase your current system partition and then start writting the new image to the partition. Fastboot will split the system.img file into ruffly 500MB chucks and send them to your device.

13.) Once its finished, you can select boot normally on your phone by pressing the power button or run:

fastboot reboot
[ZenFone 2 Android Development] miky1989:
Question:

With this method we'll have permanent root ? When Asus will relase new updates, i can able to see it?

If yes, after updated the phone.. i always have root permission or need to do a new pre-root method?

Thanks you very much !
[ZenFone 2 Android Development] Xcaliber:
If you update while it is rooted, it might go into a boot loop. However, if you UNROOT, then you can install the updated PreRoot images over your current UNROOTED image, and get the latest ROOTED version. Just remember to UNROOT completely before updating!
[ZenFone 2 Android Development] miky1989:
So.. the automatic updates from Asus.. never will appear again on the device? Need to download all in manual mode?

And.. how i can unroot the phone?
[ZenFone 2 Android Development] Xcaliber:
They will appear, but you should NOT download them. Once they appear, there will already be a PreRooted image of that same version on here. Get that version and follow my previous steps.

To UnRoot, you just have to Open SuperSU and find the option in settings. It will say "FULL UNROOT".
[ZenFone 2 Android Development] ddfault:
If by permanent root you mean you will have root after reboot, yes.

You will still receive new updates from ASUS when they release a new firmware, but these updates are around 100MB in size because they are patch files for the entire OS. It can do this because it assumes these files have not been altered since the last update. This is where having root breaks stuff. In order to install the new updates you will need to unroot your phone and then install the update. shakalaca has been very good at releasing new prerooted system.img files as new versions come out. One of the most recent updates to the OS checks to verify fastboot is the latest on the phone otherwise it won't boot. This has rendered people who install the latest system.img file but don't update the other partitions in a boot loop as well. So far ASUS hasn't hindered our ability to flash the system.img file using fastboot. As long as this remains the case I believe this process of unroot, update, flash new prerooted system.img file will continue to work.

The future is uncertain and nothing is guaranteed. If you want root, wait a bit before upgrading to the latest patch. Give us time to see how it affects the phone.

If you install any root companion apps, please uninstall those. Once complete, SuperSU has an unroot option in its settings menu.
[ZenFone 2 Android Development] miky1989:
For example.. if i install pre-root and Asus will release a new update..

1) Unroot the phone

2) Install update

I can continue to use normally the phone without root permission or something changed?

3) For have again root permission after updates, need to install a new version of pre-root

Right?

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] ddfault:
Yes. That is how it currently works. We cannot guarantee this will work in the future.
[ZenFone 2 Android Development] miky1989:
And what need to do for hard reset the phone?

It's better do it? From the purchase date, never done :d

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] ddfault:
You can wipe phone from the settings menu. Choose Backup & Reset and then Factory data reset.
[ZenFone 2 Android Development] miky1989:
Is not better from recovery?

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] ddfault:
When you do it from the settings menu, the phone reboots and recovery wipes your phone. It should be the same without the hassle of getting into the recovery menu.
[ZenFone 2 Android Development] uchiharayka:
does available root for Z00A-WW-2.15.40 ?

because today available for update,

anyone have file pre rooted for Z00A?

Thanks

sorry i'm zenfone new user
[ZenFone 2 Android Development] ddfault:
It literally just came out, please give shakalaca time to release a new prerooted system.img.

This is not an automated system. It takes time.
[ZenFone 2 Android Development] uchiharayka:
oke buddy, i'll be wait
[ZenFone 2 Android Development] ddfault:
I messed around with firmware files and my phone ended up with zero sound. No sound, at all, ever.

I backed up everything, rebooted to fastboot, ran:

fastboot devices (to confirm phone was recognized)

fastboot flash system system.img (with the Z00A_WW_2.15.40.10_system_w_root image from shakalaca)

and rebooted.

This solved my sound problem. I ignored the prompt about SuperSU wanting to install.

From here, I checked for firmware update, saw today's ZE551ML_ WW_ V2.15.40.13, allowed it to download, and installed it. Phone rebooted to recovery and installed. After a few tries of Power + Volume Up I was able to go from the splash screen to text. It was able to finish successfully. This update wiped out any root companion apps I had installed. Thanks to shakalaca, supersu and root was not wiped out. The phone rebooted and upgraded 99 applications which took quite a while.

Its probably best to wait on shakalaca, but as shakalaca has said,

[IMG="ASUS_Z00A-2.15.40.13_20150506"]http://goo.gl/I83xcG[/IMG]
[ZenFone 2 Android Development] uchiharayka:
Sir what i must to do, if i want to upgrade 15.40.13 rooted like you?

For now my status in 13.40.13 rooted condition

Thx before
[ZenFone 2 Android Development] ddfault:
Did you install the SuperSU update? (You get a notification that says "The SU binary needs to be updated!")

If you did, you should reflash the prerooted system image.

If you did not, you can allow the ota update to install without losing root.
[ZenFone 2 Android Development] uchiharayka:
oh bad news, since after rooted i had been updated SU binary update

probably i must reflash prerooted system image,

but, what version prerooted system image?