yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 General] article15:
Thnx for the camera solution

Hi;

and first of all thank you so much for providing this solution for the camera,

it was fixed my problem. but the thing is which actually i would like your help if you may,

when i was tried write rooting script from adb sile load i get error like

e: end of footer from /tmp/update.zip not 0xFFFF (file exists)

e:signature verification failed

installation aborted.

then i tried download files from your github repo and followed inst exact same there, then everythings was fine my camera comes back, but strange thing is i didnt get my boot unlocked, , tried few times but nothings happens.

i am sure that i am on 2.22.40.53 ww. what do you think the problem is?

thnx for help indeed.

Happy new year 4 all

And regards
[Zenfone 5 General] Justux204:
Do i need That last part (10) to restore vanilla files? or that means if i do it my phone will unroot?
[Zenfone 5 General] AnimalianE730:
Hey man, is it necessary to do Step 10? I dont know much, but it looks as though you are relocking the bootloader in step 10.

Please comfrem this.
[Zenfone 5 General] cracklinken29:
are u still there? I need help to root my zenfone 5 a500cg (4.4.2) any aapps for root is not working to me.
[Zenfone 5 General] Deepan ys:
I was successful rooted my mobile.iy fixes the camera ,but my mobile internet service is not working. How can I fix this ?
[Zenfone 5 General] Intruder1590:
can any one help me to flash firmware i tried a lot but i was unable to do it on

can any one help me to flash firmware i tried a lot but i was unable to do it on
[Zenfone 5 General] juyel92:
First download the firmwares to your PC. Install the zenfone adb and intel drivers in your PC. After installing, now double click "UL-ASUS_T00F-WW-2.22.40.540-user" (don't extract it) and copy fastboot.img and recovery.img to adb folder. Now copy "UL-ASUS_T00F-WW-2.22.40.540-user" zip file to adb folder.

Now enable usb debugging in your phone. Connect your phone through USB cable to your PC.

Aftet setting up everything correctly now follow the steps below -

1. Open command window in your PC.

2. Type in cmd window and hit enter -

adb devices

(If your device is listed there then proceed next, if not then reinstall the drivers properly)

3. Now type -

adb reboot bootloader

4. After entering to bootloader mode then type -

fastboot flash fastboot fastboot.img

5. After that type -

fastboot reboot bootloader

6. When it rebooted again to bootloader mode then type -

fastboot flash recovery recovery.img

7. Don't close the command window and also don't disconnect your device. Now in your device use your volume key and select recovery and press power button to select it .

8. The device will reboot to recovery and there you will see a dead android with "no command" written.

9. Now press and hold volume - key and at the same time press volume + key.

10. Now you have entered to the recovery mode, now again use your volume keys and select "update from adb" option.

11. Now head over to the command window in your PC and type the following -

adb sideload UL-ASUS_T00F-WW-2.22.40.540-user.zip

And hit enter.

Wait untill it sideloades the firmware.

When it will complete the sideload, then you have successfully installed the stock ROM.

12. Now you are still in bootloader mode, so clear cache and data.

13. After clearing everything, now select reboot and press the power button. Thats it.

When the device booted up properly, then transfer the "UL-ASUS_T00F-WW-3.24.40.78-user" zip file to your device internal storage (don't put it inside any folder).

You will get a notification that a system update is available. Just select it and press ok to update the firmware. Now leave the device and let it do the job by it's own.

That's the way you should revert back to stock firmware. When the stock firmware will install, then it will automatically relock the bootloader.

I hope you will follow each steps correctly and you have success.

If this helps you out then please hit the "Thanks" button.
[Zenfone 5 General] tiagoferrari83:
I tried to solve the camera bug after update to Lineage OS several times, following a lot of tutorials with no success but now it is working perfectly!!

My camera back to work! OMG You are the guy! Thank you very much!
[Zenfone 5 General] Abhishek jose benny:
Haii friends how to root in Zenfone 5 t00j kitkat please help me argent........
[Zenfone 5 General] sigoshere:
Installed SuperSU application have built-in full unroot option. It can be also done through fastboot, but you're just 3rd person in this topic - I think about this possibility when more people want this option.

When you're installing new firmware with adb sideload, phone will be automatically unrooted (because /system partition will be formatted).
[Zenfone 5 General] Upgreydd:
If you wanna unroot you can always sideload the same or higher rom version. That should fully unroot your phone.

sigonshare: Dzięki za roota ;) Piwko się należy (Thanks for the root in Polish).
[Zenfone 5 General] zieahnne27:
=(((

Forgive my noobness.

I dont get the instruction .sorry im no good in english =((

The thing i have right now is the root file and my z.5 Is running .54 Firmware already

WhT should i do =((
[Zenfone 5 General] Kesha96:
i need tutorial video please so confuse :( to root zenfone 5 ww 2.22.40.54 anyone.. please i want root my phone
[Zenfone 5 General] sigoshere:
I wrote really simple instruction with commands to run. What part don't you understand? :)
[Zenfone 5 General] R_chan:
No device found!

:confused: I cant root my phone

When I try to reboot to bootloader , 'device not found ' error is showing
[Zenfone 5 General] sigoshere:
Did you enable usb debuggind mode?
[Zenfone 5 General] Arif97:
Enable usb debugging mode your phone.connect your phone with computer.

Open terminal in asus zenfone 5 root directory.

Reboot to bootlouder

I done enable usb debugging and connect to computer i not understand open terminal in asus z5 root directory and reboot to bootlouder..

I not understand well this.. but my firmware ready to 2.22.40.54 only is i need root my phone

:( by kesha96
[Zenfone 5 General] sigoshere:
At first: Do you have 2.22.40.54 firmware already and you just need to root your phone? Right?

About the: open terminal in asus z5 root directory. When you download the rooting package:

1. Extract this (I suppose you're using windows).

2. Click right mouse button on the extracted directory.

3. Select something like "open command window here" from menu (like on the example screenshot).

4. Continue with provided simple manual.
[Zenfone 5 General] isamspirit:
I'm lil confuse

Hi dude, can u make a tutorial with pic/video? I already read ur instruction but still confuse
[Zenfone 5 General] manrock111:
Can anyone confirm this, performing these command will format or hard reset the device?
[Zenfone 5 General] sigoshere:
At this moment I don't have possibility to create pic/video tutorial. In next few days I'll write little more instructions in manual.
[Zenfone 5 General] sigoshere:
As an author of the script I guarantee that any data wouldn't be overwritten - this is completely safe for your settings, files etc. Just make sure that you have correct version of firmware.
[Zenfone 5 General] manrock111:
Thanks for fast reply.

Yes I believe I have right firmware.
[Zenfone 5 General] sigoshere:
Everything is correct. ;)
[Zenfone 5 General] dhruvpandit:
i am new to zf5,

any tutorial will be good as i cant understand how to go in sideload ?

i am very familiar with recovery and other things.

also some questions,

1.) should i need bootloader unlocked for this ? if yes, how to unlock?

2.) will my data wipe off during bootloader unlock or rooting ? ( i know rooting will not effect on data but i think bootloader unlocking will wipe, not sure about it )

p.s. i am already on WW-2.22.40.54
[Zenfone 5 General] manrock111:
after

"Root phone

fastboot flash recovery files/root/recovery.img

fastboot flash update files/root/dummy.zip

adb reboot bootloader"

do i need to perform this too?

"Restore vanilla files

fastboot flash fastboot files/vanilla/fastboot.img

fastboot flash recovery files/vanilla/recovery.img

fastboot flash dnx files/vanilla/dnx_fwr_ctp_a500cg.bin

fastboot flash ifwi files/vanilla/ifwi_ctp_a500cg.bin

fastboot reboot"

My phone restarted normal mode after "fastboot flash update files/root/dummy.zip"

it seems rooted after this command.
[Zenfone 5 General] aveemashfaq:
Is fastboot for Asus working on linux

in the links you have provided, you have put a shell script for rooting it in linux. But I have Ubuntu 14.04 LTS and fastboot never worked for me. I did install from apt-get and got udev rules from cyanogenmod forum. adb works fine for me but not fastboot. fastboot even does not list the device. what are you using? What extra config did you do for fastboot to work :confused: :confused: :crying:
[Zenfone 5 General] Arif97:
Have a problem here..

Im try command adb reboot bootlouder it work.. went i try to do

fastboot flash fastboot files/root/fastboot.img hes said cannot load to files/root/fastboot.img .. help please sigoshere.. i using windows 8.. to root my phone.

:crying:

#anyone help..
[Zenfone 5 General] sigoshere:
You should perform this actions, because it will restore original (from official firmware) flashed files (fastboot, recovery etc).

Extra: if you have problem with your camera after rooting, it will 100% resolve this problem.
[Zenfone 5 General] sigoshere:
I guess that you have already installed android-tools (adb and fastboot). Running adb devices print info about your phone only in normal mode. But running fastboot devices print info about yout phone only in fastboot (aka droidboot) mode.

If it doesn't work anyway, you could try udev rules from arch linux (I'm using it). This could be used in any linux distribution.
[Zenfone 5 General] sigoshere:
How sideload firmware?

Boot your phone to recovery mode.

When "No command" message appears, press and hold down volume button, and press once (still holding down volume) up volume button. You are now in recovery menu.

Select apply update from ADB.

Connect phone by USB cable to your computer.

Run from terminal: adb sideload new-firmware.zip

Note: you can sideload only firmware with the same or higher version. Firmware can be downgraded too, but this is little more complicated.

Should i need bootloader unlocked for this?

No, this rooting script do everything for you (unlock bootloader too).

Will my data wipe off during bootloader unlock or rooting?

No, your data is totally safe. Script will overwrite only:

fastboot

recovery

ifwi

dnx

If you have already 2.22.40.54 firmware, you don't need sideload.
[Zenfone 5 General] sigoshere:
You probably run commands in wrong directory.

Extract downloaded rooting script.

Click right button mouse on the extracted directory and select "open command window here".

Continue with provided manual.
[Zenfone 5 General] Kesha96:
by arif97

im done rooting now.. you are my hero #sigoshere.. thx a lot..

im sooo happy right now..
[Zenfone 5 General] sigoshere:
Could you click "Thanks" on the frist post? ;)
[Zenfone 5 General] geepee410:
How to install firmware if it doesn't go to droidboot like in the picture below?
[Zenfone 5 General] sigoshere:
This is really werid. This icon isn't related to any of part my script.

Btw. why are you trying install firmware? Don't you have 2.22.40.54?
[Zenfone 5 General] geepee410:
First time i saw that icon but I just figured it out why that icon appear when i press power + volume up, its because the battery is low.
[Zenfone 5 General] aveemashfaq:
thanks man. will try that soon
[Zenfone 5 General] Majci8:
What?

What i need to do? i got good firmware and i turn on usb debuging but what now? i download file i extract it and hold shift+right click and open cmd but now what? i need go to any recovery in mobile? plz help

---------- Post added at 10:29 PM ---------- Previous post was at 09:45 PM ----------

Hello i do it and i can make video on this how to do it :)
[Zenfone 5 General] sigoshere:
That would be great - I don't have any camera and time. Could you prepare video?

Send me a private message if I can place your video in this subject.
[Zenfone 5 General] linhng309:
Thank you so much!

Oh my god thank u so so much. I'm new to android device and yesterday I used rooting-firmware 2.21.40.44-method to root my phone which is using 2.22.40.54 and I got "No camera is found" error and I didn't know what to do or how to fix it. I almost cried cause I just bought this 2 days ago LOL (I'm a girl :silly:) And now as I followed your instruction, it worked, I can take picture and my phone is rooted. Big thanks! I had to register a new account to press thanks and post this to show how grateful I am! Omg I'm so happy LOL sorry for my bad English :p
[Zenfone 5 General] Majci8:
Video

Hello i make video how to do it :) : wwwSPACE.youtube.comSPACE/watch?v=BqAeMOLWn5g

Remove SPACE because i dont have 10 posts for giving links :D
[Zenfone 5 General] Kancil81:
2.22.40.54 Verry Work Sir :good: :good: :good:
[Zenfone 5 General] dhruvpandit:
thank you very much bro, done rooting.

was facing "adb device offline " problem.

but i connected phone via PC link once, then phone was connected fine .
[Zenfone 5 General] rnirajj:
Hey i have zenfone 5 and the developer options is not showing in setting... can anyone help me plz ?..
[Zenfone 5 General] sigoshere:
Enabling USB debugging mode
[Zenfone 5 General] rmrwork:
I am confused..

Hallow, I am actually a new user of this ZENFONE 5. I am trying to root using this method but I am not understanding what's happenning at all..!!

have a question regarding the linux method

./root.sh in linux terminal what should I DO??

In terminal it shows "watiing for device" and in my phone shows something like "Fasboot cmd command" ... should I do something or It will just do the work by it's self??

(I am a linux noob... :( , using ubuntu 14.04LTS )
[Zenfone 5 General] sigoshere:
Do you have enabled USB debugging mode in your phone? Look for instructions.
[Zenfone 5 General] rmrwork:
Yes.. i followed ur every instruction ..
[Zenfone 5 General] sigoshere:
If adb devices command will not print info about your device - you must search for help at ubuntu forums. Then back to rooting script.
[Zenfone 5 General] rmrwork:
Do i just have to write the root.sh in terminal and ur script will do everything? And do i have to need any package to install in my ubuntu? Like adb or fastboot? Told u i am linux noob ..... :( TIA

---------- Post added at 06:43 PM ---------- Previous post was at 06:38 PM ----------

after using adb devices in terminal I GOT

List of devices attached

F4AZFG222521	device

is that the ASUS ?? or something else :3 IDK and if it's the device then are we ready to go?
[Zenfone 5 General] sigoshere:
Probably yes. ;) Plug out any other USB devices from your computer for sure.

If root.sh still doesn't work for you, just use method for non-linux system - it's the same, but you must execute command by hand.

If anything doesn't work - post a messege here again.
[Zenfone 5 General] rmrwork:
I failed... :(

Bro I tried everything u wrote...

In ubuntu..

after using the ./root.sh script terminal shows "waiting for device" and my device shows something like "waiting for CMD command" and just remain like this. If I plug out the cable then the phone shows "Offline" ... and nothing happens....

in windows, well when I write the "adb reboot bootloader" then it shows a error like "adb" is not recognized as an internal or external command"............... what to do bro?? Feeling "why mE??!" :(
[Zenfone 5 General] sigoshere:
Before rooting your phone you just need fully working platform-tools apps (adb and fastboot). Make sure that working on your computer (windows or linux - whatever) and then back to rooting.

Find solution at ubuntu/windows forum by "install adb fastboot on ubuntu/linux".
[Zenfone 5 General] rmrwork:
bro, supposr after everything the process failed at the middle of the tutorial... will be it any harm for devicE?

---------- Post added at 05:59 PM ---------- Previous post was at 05:56 PM ----------

after re-installing windows I just lost the dual boot menu.. how to rescue it??

last year I found a one line command for live usb terminal and it worked but now I can't find it any more...

can u help?

---------- Post added at 06:34 PM ---------- Previous post was at 05:59 PM ----------

after I use

fastboot flash recovery files/root/recovery.img

fastboot flash update files/root/dummy.zip

adb reboot bootloader

I saw "installing..." and then "error" and then my phone restarted and I get a superSU in my menu. but why the error thing happened? is that okay?
[Zenfone 5 General] sigoshere:
It is not topic about ubuntu/windows support, realy...

This error is normal, continue executing rest of commands.
[Zenfone 5 General] callofabir:
Life saving solution!!!

I used your script by following the method of Majci8 youtube video - wwwSPACE.youtube.comSPACE/watch?v=BqAeMOLWn5g , remove the SPACE. The extra package(Platform-tools) you need is mentioned and linked in the youtube video. Thanks a lot man . Thank you and Majci8 both :) .
[Zenfone 5 General] gmwk:
has anybody tried these steps using mac?

Hi,

The original tutorial is for windows. I know that the developer said it works in any operating system.

But

1) I wanted to know if somebody tried this in MacOS/X

2) Also, why do we get an error at the end of the procedure? Probably the vanilla files are not being restored back?

3) If I do the factory reset, will the root permissions be erased?

Thanks a lot
[Zenfone 5 General] sigoshere:
Hello.

Tutorial wasn't stick with any operating system. But linux users have automated script for rooting phone. Every other system will be good, as long, as it have android platform tools (adb and fastboot).

Video tutorial in first post was created by person which used my rooting tool.

Error at applying dummy.zip file is actually normal. Vanilla files are restored (without errors) after this file.

Factory reset will format your /data partition. SuperSU and su binary file will be installed at your /system partition. I can't be sure 100% (because I don't tested it) but most likely root permission won't be erased after factory reset.

As I mentioned at first: every operating system will be good for rooting your phone. Also Mac OS.

At this moment there's probably around 500-1k phones successfully rooted with my method.

I hope that I answered all your questions.
[Zenfone 5 General] callofabir:
Is it essential to update SuperSu binary?

After successfully applying your method, my camera is active again, Thanks again.

Now i am just curious if SuperSU binary upgrade essential or not, cause every time the binary upgrade notification drives me to do it. If so, how would you suggest? I tried installing TWRP using other methods that worked before. But now TWRP bat file is not finding my phone(other adb finds my phone). Is there any particular method have to be followed to install TWRP after rooting my phone using your method? Or should I just update SuperSU binary normally?
[Zenfone 5 General] sigoshere:
Updating su binary isn't required, but it's recommended. When notification appears again, just click on it and follow instructions. It's really simple and took 30s-1m.

I hope that you enjoyed your rooted phone. ;)
[Zenfone 5 General] jinconstantine:
Camera Issues Zenfone 5

rooted successfully every app works fine. :victory::D:highfive:

camera is working fine since then no issues even toggling from back to front camera

But after installing SELinuxModeChanger and switching to Permissive and Enforcing back and forth along with restarting phone everytime still

"No Camera is Found" Error is shown or i will only have Black Screen from the Camera App (Back Camera) and when i switch to Front Camera it will force close :( :crying:

I Attached the Logcat using Catlog Logcat Reader APK and 4 parts to fit here properly

I Hope you can help me confirm if this works for Zenfone 5 or not or what i can do to solve this issue

Thanks in advance More Power!!!
[Zenfone 5 General] axlvigorous:
error

Hello, i try your script . I'm on 2.22.40.45 .when i type and load

"fastboot flash dnx files/vanilla/dnx_fwr_ctp_a500cg.bin

fastboot flash ifwi files/root/ifwi_ctp_a500cg.bin

fastboot reboot-bootloader"

Error unable to load "ifwi_ctp_a500cg.bin

Please help..
[Zenfone 5 General] sigoshere:
Are you sure that you are in extracted asus-zenfone-5-root directory? You'll have to open terminal there.
[Zenfone 5 General] sigoshere:
I'm sorry but I understand your post.

Have you successfully rooted your phone or do you need help? I don't know what your atachments are for. :)
[Zenfone 5 General] jinconstantine:
I Have Successfully Rooted Zenfone 5 and successfully Locked Bootloader as weel

Then i installed SELinuxModeChanger APK and set it to Permissive the Stock Camera is not working anymore.................

so i decided to switch SELinuxModeChanger back to Enforcing mode and restarted Zenfone 5 but to no avail

:crying: :crying: :crying:

Please Help me
[Zenfone 5 General] sigoshere:
So... my rooting solutions is working for you. At this moment you have problem with SELinuxModeChanger. I can't help you with this, beacause I don't know this application.

If any solutions doesn't fix your problem with SELinuxModeChanger, you need todo following:

Factory reset.

Install firmware again, with the same version (I recommend adb sideload method, look for instructions in first post).

Apply root again.

Don't install SELinuxModeChanger anymore. ;)

After this, you should have fully working rooted phone.
[Zenfone 5 General] sigoshere:
As you mentioned, you run:

fastboot flash dnx files/vanilla/dnx_fwr_ctp_a500cg.bin
fastboot flash ifwi files/root/ifwi_ctp_a500cg.bin
fastboot reboot-bootloader

Did you now, that is 3 separated command? I don't know why are you getting error. A lot of people successfully rooted their phones. Probably you're doing some wrong.

Does adb devices or fastboot devices print info about your connected phone?
[Zenfone 5 General] axlvigorous:
After this command:

fastboot flash dnx files/vanilla/dnx_fwr_ctp_a500cg.bin

fastboot flash ifwi files/root/ifwi_ctp_a500cg.bin

fastboot reboot-bootloader

I got an error. Says can't load 'ifwi_ctp_a500cg.bin'.

Abd devices recognized my devices as well.
[Zenfone 5 General] sigoshere:
Please download rooting package and try again. I really don't know what's going on.

Could you check, that ifwi_ctp_a500cg.bin file in directory files/root/ actually exists?
[Zenfone 5 General] axlvigorous:
I try to download again and do the process in the script.
[Zenfone 5 General] axlvigorous:
Error: ifwi flash failed

Any. Suggestions.

Thank you.

---------- Post added at 12:41 AM ---------- Previous post was at 12:21 AM ----------

ifwi_ctp_a500cg.bin on what folder

If doesn't exist what should i do.
[Zenfone 5 General] sigoshere:
in directory files/root/

I dont' have any suggestions for you. You're actually first person with this kind of problems. Sorry. :/
[Zenfone 5 General] dkasotra:
Error in rooting

after rooting when i rebooted it showed an error "update failed restored to original state" everythng working fine except Superuser. it is giving error " Super SU binary needs to be updated" and gives two options "Normal" and "TWRP/CWM" and nothing is happening on clicking on both. Kindly guide. Root checker etc are showing status as rooted. i am stuck
[Zenfone 5 General] sigoshere:
The first error "update failed restored to original state" is normal after rooting. This will appear only once.

The second information "Super SU binary needs to be updated" isn't an error - it's notification about updating su application. Just choose "normal" method and follow instructions - updating can take up to ~1 minute. ;)

And this is the end. Everything should works (root, camera and other apps).
[Zenfone 5 General] dkasotra:
but its not updating and i am not able to run xmode
[Zenfone 5 General] sigoshere:
Hm. That's werid. I updated su without any problem. What exactly error message do you have after selecting "normal" method?
[Zenfone 5 General] BerdiMania:
i got this error, what should i do?

Update : Still able to fully boot, but failed to root