yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 General] KChoudhry:
[MENTION=7272215]nheolinkin[/MENTION] Thanks a lot man this tool helped me a lot... I used to have freezes every 10-15 minutes and then i relocked the bootloader and unlocked it again with your tool... Now i get freezes once or twice a day :).. will be very thankful to you if you can help me solve this issue too :)... In the bootloader unlock tool i used 1-4-9 :)
[Zenfone 5 General] juyel92:
First of all, You should read the main post properly.

In the main post, it has been written that to unlock your bootloader you should use the bootloader tool which you have done already. After unlocking, you have to use "Fix screen freeze tool" to fix the freezing issue in your device.

You have just unlocked the bootloader. It will not solve your problem completely. To solve your problem, you have to tweak your kernel using "fix screen freeze tool" which you can download it from the main post.

So, first try the "fix screen freeze tool" first.
[Zenfone 5 General] KChoudhry:
I already did that :( but is still get freezes once or twice a day..
[Zenfone 5 General] KChoudhry:
And yess.. I forgot to mention.. My camera is still working perfectly even after bootloader unlock and fix screen freeze tool.:)
[Zenfone 5 General] juyel92:
Then you should provide the logcat to the developer [MENTION=7272215]nheolinkin[/MENTION]. Providing logcat will help him to find the solution for you.
[Zenfone 5 General] rty1995:
camera error

Did it fix camera error?
[Zenfone 5 General] KChoudhry:
I don't think so.. I never had had a camera error even when I first unlocked the bootloader..I just had freezes it fixed that to a great extent but not completely

---------- Post added at 01:45 PM ---------- Previous post was at 01:44 PM ----------

OK thanks :) BTW can u tell me how to get logcat I don't know how to get it..
[Zenfone 5 General] nheolinkin:
UPDATED 05/09/2017

- Check the 1st post for more information

- Don't need to use the latest tool if you've already used the older one and gotten thing fixed.
[Zenfone 5 General] KChoudhry:
Will try the new tool today.. Can I get another help.. I am on temasek cm 13 and whenever I (myself) reboot my device, the theme automatically changes.. How to fix it?

Edit: Installed new tweeks.. Camera working.. Watching around freezes no freeze till now:)
[Zenfone 5 General] himanshu awasthi:
how do i root when i am using linage 14.1 os

You mention in 2nd step to root the device ( i have tried your whole procedure without rooting again but still freeze ). I have flash the linage 14.1 in my asus zenfone 5 T00J but now i am stuck . I have no longer root access so that i can copy cmdline file and paste it into the root directory. So please help me I tried very hard to root .

i tried using flashing Superuser binary zip but then it stuck in boot loop at starting.

King root doesn't have any method to root my device.

So what i am gonna do please help so i can have root access.
[Zenfone 5 General] gnomishe3:
Request su addon for your Rom, u need exact build number of your ROM
[Zenfone 5 General] himanshu awasthi:
sorry i didn't understand. Please elaborate. Thank you for helping.
[Zenfone 5 General] KChoudhry:
Bro r u using lineage at the moment?
[Zenfone 5 General] himanshu awasthi:
yes linage 14.1 latest rom.
[Zenfone 5 General] juyel92:
To get the root access, Flash the su add-on which I'm providing below. Kingroot doesn't work in our zenfone 5 device. LineageOS is already pre-rooted, it only need the su files to give you root access. So, don't use superSU from playstore (by chainfire), it will bootloop your device. King root and other root gaining app will not work for x86 device. To get the root access follow the steps below.

Steps to get root access -

1. Download the SU Add-on zip file from below.

2. Reboot to recovery.

3. Flash the su addon.

4. Reboot system.

5. When your device booted up properly, go to setting - developer option, there you will find root option. Just select "apps and adb" and you are good to go. Your device will become rooted.

After getting root access, copy the cmdline file to the /d/osip/
[Zenfone 5 General] himanshu awasthi:
Before telling what i did or doing or problem occurred I wanted to thank you for helping me.

I tried all this and all these steps are successfully completed and now in my developer mode i can see the 3 more option and i selected the app and option but when i am using es explorer for root explorer it say "sorry test failed. This feature cannot run on your device".

And for confirming the root i install root checker and CPU-Z they both are showing "Root access on your device is not properly installed / root status = no".

so how can i tell app to use root access.

what i am gonna do please help
[Zenfone 5 General] KChoudhry:
You do not need to flash any su addon, Lineage already has root access in the ROM ..

Follow these steps:-

1. Go to about phone tap build number 7 times

2. You will get a new option in the settings: Developer options

3. Open developer options and scroll down till you find root access

4. Tap and change disabled to apps and adb and confirm

5. Congo you have root access now:)
[Zenfone 5 General] KChoudhry:
If you got it fixed, please let me know
[Zenfone 5 General] himanshu awasthi:
i have selected the option of 'app and abd ' in root access but still when i am using es file explorer and try select "root explorer" it say "this feature is not available on your device".
[Zenfone 5 General] KChoudhry:
Then you might need to reinstall the ROM clearing your data and even if it doesn't work, revert back to stock ROM and the start the whole process again i.e unlock your bootloader again etc. If it works we can talk on private message..
[Zenfone 5 General] juyel92:
No need to go back to stock ROM. The problem is in the LineageOS itself. Just reflash the lineageOS with the SU add-on and you are good to go. Reverting back to stock ROM and then again coming back to custom ROM is a great headache. So don't waste your time in reverting. Just flash the LineageOS again with necessary addons and then activate root access from the developer option. Remember to select the "apps and adb" option.
[Zenfone 5 General] himanshu awasthi:
thanks bro. Now i am on root access. But my both sim card is not detecting signals only 1st is detecting.
[Zenfone 5 General] nheolinkin:
This thread is for bootloader's problems but not LineageOS's. Please take your time, visit LineageOS thread to find the answer for your questions.

Stop asking about LineageOS or anything related here please?
[Zenfone 5 General] KChoudhry:
[MENTION=7272215]nheolinkin[/MENTION], can you provide the link for the old tool as the new update isn't working for me i.e I still get freezes... The old tool helped me more than the new

I am on Cm12.1
[Zenfone 5 General] rty1995:
Camera Error

any solution for camera not found? its been 3 years already. i think the unlocker is not compatible with my device. i also tried to root my device then i experience camera error but when i use other rooting tools my camera is working. i think the other rooting tool is not compatible same as the unlocker
[Zenfone 5 General] Andi naufal:
Why do when I ubl couldn't work and stuck on (waiting for device),but I've install driver and work normally,help please (my zeny on root)
[Zenfone 5 General] Sr.Jagger:
Understandable, have a great day
[Zenfone 5 General] Toast~:
I have found my method to fix the camera (Camera not found) :D

I'm using the LineageOS 14.1, I was so confused why my camera can't be used (I'm using camera that often :crying:). I tried to change the ROM to STOCK, from Kitakat to Lolipop, but there's no difference :( (Still, camera not found).

Then, I was just like "If I lose my camera, why don't I lose my phone too? :silly:" Tried to disassemble my own Zenfone 5, unplugging the battery, SIM's cable etc (Using this youtube.com/watch?v=GTH0NharBj4 for the source of the knowledge :good:), and mainly the camera one (the main camera is located at the mainboard of "2:00" at that video).

After I'm done with the unplugging, I tried to re-seating all of the camera back to its place. Plugging back the component, and TADAAA :victory: , I can use the camera again. :cool:

This is my real experience :o, I don't know if it helps for you guys, but I did it by myself and I want to share with you guys. Seriously man, no joke. But Do With Your Own Risk! :angel: ;)
[Zenfone 5 General] nheolinkin:
I heard this story years ago but nothing explains for that.

And also not every users want to or can do that sort of thing.

Thanks anyway!

Please take a look at the 1st post if you don't mind.
[Zenfone 5 General] designr47:
I've tried resurrection rom before summer and i face screen freeze issue and reverted back to offical lollipop. now i want to try resurrection again with this tool but i got confused.

do i have to unlock bootloader like in this thread (https://xdaforums.com/zenfone-5/general/guide-how-to-unlock-bootloader-safely-t3562640)

and after that flash resurrecition rom after that use this tool for freeze or

unlock bootloader with this tool and flash resurrection ?

can anyone help me with the steps of process.

edit: i found answer for my question. if anyone have my concerns and not want to dig the thread this is the answer

first unlock bootlader by any unlocker like one recommended in the rom thread

second flash your desired rom

third do the fix/tweak by [MENTION=7272215]nheolinkin[/MENTION] if you have screen freeze issue
[Zenfone 5 General] raven001:
So if iam from lineage os rom then i unlock bootloader again with nheolink tool then i choose tool for lollipop 87 method right?
[Zenfone 5 General] andynho:
I can take photos with flash on inside whatsapp

The screen dont show nothing, but when i push the button, the APP capture the photo

Why?

A501 CG nougat

RR 5.8.5

T00j 1.6ghz

Thanks a lot your tool works like a charm

:victory::D:D:D:D
[Zenfone 5 General] designr47:
I've a problem. I'cant root my phone so cant apply this tweak.

-I've unlocked phone and installed twrp with juyel92's tutorial and files.

-I've flashed the final Resurrection rom, pico gapps and the su-addon provided by RR first post for final version (which is addonsu-14.1-x86-tank0412)

-I've opened usb debugging and changed root setting to Apps and ADB.

-When I run the tweak it does its job, checking cmdline from phone and creating new one in sdcard (there is a strange thing, when i look files in RR explorer cmdline file is in internal storage not on the sdcard with rom,gapps or any other files. but the tweak says its created in sdcard,anyway)

-I can't find root folder in RR explorer so I installed solid explorer. After selecting and copying cmdfile, I need to go to upper folder and go for root D/osip but when i select 3 lines on top left ,solid explorer relases the file i copied to clipboard so i cant paste it in to d/osip.

-After that i checked the root status with root checker app and it says "root access is not properly installed on this device"

What should i do now ?
[Zenfone 5 General] juyel92:
Don't spam in all the threads by posting the same questions. If you want the answers then post your question in the respective thread and then wait for someone to answer it. SO, DON'T COPY PASTE YOUR QUESTION IN ALL THREADS. IT WILL SPAM THE THREADS AND OTHER USERS WILL FEEL DISTURBING.

Anyway, go to RR N thread by tank, I have already provided the answer for your problem.

I hope that in future, you will not spam in all threads.
[Zenfone 5 General] WacesFerpit:
Well, based on this response response,

I also tried this, and with another app OpenCamera, and got the same results of it getting a picture if using the flash.

I'm not claiming finding anything big, but think this can be some direction maybe ?
[Zenfone 5 General] LuanHalaiko:
W o w

This actually works!, nice job [MENTION=7272215]nheolinkin[/MENTION]
[Zenfone 5 General] omkarnathsingh:
I finally used this tool using my Ubuntu desktop. [MENTION=7086483]Boomshiva[/MENTION] helped in the process. I would like to explain the process in smallest possible way.

1. Pull exisitng cmdline file using

adb pull /d/osip/cmdline cmdline

2. Append following in it, using any text editor.

acpi=off apm=off pnpbios=off nomodeset i915.modeset=0 intel_idle.max_cstate=0 idle=mwait

3. Push this file to phone, using

adb push cmdline /sdcard/cmdline

4. Then move to file to /d/osip using any explorer.

Thanks [MENTION=7272215]nheolinkin[/MENTION] making this, it will be better if you add a shell script for Linux based OS also.
[Zenfone 5 General] Ashwin Chandru:
ASUS T00J

TWRP 3.1.1

lineage 14.1-20171003 installed

Rooted

I have one problem!!! I unlocked my bootloader using the tool given by devilboynv and successfully installed the latest twrp and have rooted the ROM. But the Screen Freeze occurs occasionally like when my phone temperature gets above 42'C or when i use some heavy games so i always switch on powersave mode to not get freezed.

Do i have to start ur process from the start to fix the issue or all i need to do is change the cmdline i checked mine the phrase u mentioned is not there.

If i just change that will it solve my prob or i have to start the process all over again by ur bootloader tool.. Plz reply
[Zenfone 5 General] nheolinkin:
Stick to my instruction except "unlocking bootloader" if you've already done that
[Zenfone 5 General] Ashwin Chandru:
yeah man done that now its working gr8 now no freezes till now... thnz for ur work man finally it got fixed:)
[Zenfone 5 General] alhgienn:
the fix to remove screen freeze

install any ROM then just delete init.d in /system/etc/ done :)
[Zenfone 5 General] Ashwin Chandru:
won't i get a bootloop or something or any sorts of hangs after doing that?
[Zenfone 5 General] alhgienn:
no :) its safe
[Zenfone 5 General] nheolinkin:
I would not do that if I were you. This patch doesn't do anything with init.d.

Perhaps you wanna keep it for tweaking scripts instead of deleting it.
[Zenfone 5 General] fauzAn_A:
me too, my asus z5 after Unlock bootloader camera not found. Always
[Zenfone 5 General] gelogelogelo:
Hi [MENTION=7272215]nheolinkin[/MENTION]. My phone is freezing after applying the tweaks. Luckily, it rebooted. And I've got the last_kmsg or the console-ramoops file(new file of the last_kmsg in android 6.0, located at /sys/fs/pstore/console-ramoops). I'm on Lineage OS 14, Nougat. [Just renamed the file to last_kmsg......]
[Zenfone 5 General] cyberangel22k:
My screen freeze was fixed by flashing the TWRP provided by OP. Thanks.
[Zenfone 5 General] Hiidx:
Used the tool to try solve the freezes but after restarted the phone i get bootloop os asus screen. How solve?
[Zenfone 5 General] juyel92:
To solve the bootloop issue, just flash the ROM again with gapps. You need to reboot your device into recovery mood, and there you have to flash the ROM again. It is recommended to do a clean flash by wiping everything and then flashing the ROM but if you want to keep the app data then just dirty flash the ROM with gapps.
[Zenfone 5 General] Hiidx:
I flashed the rom again but the freezes not stoped, before re-flash the rom i used this tool to try fix the screen freezes, but the phone got bootloop, my phone only gets screen freezes, no restart, this tool can fix my problem?
[Zenfone 5 General] nheolinkin:
Sorry for late reply.

I did checked your logs. And the freezing issue that you're facing is what I actually faced before kernel patching.

I don't know why some devices (including mine) got it fixed but some devices not.

But for now, all I know there is a limitation of hardware to get this totally fixed and that is not what we can change.
[Zenfone 5 General] gelogelogelo:
Thanks for replying. But I do have another set of logs which I received when my phone suddenly froze while bootinh. It gave me a different message at the bottom (maybe different, just check it). Maybe these logs could help. Thanks again.
[Zenfone 5 General] yasin0005:
can you provide instructions with links that will help me alot
[Zenfone 5 General] sarathsvs:
I Cant use Stock Lolipop. (FREEEEZZZZZEEEEEEE)

Whatever I do i cant use stock lolipop

now i am using "UL-ASUS_T00F-WW-2.22.40.540-user.zip"(Kitkat-NO FREEZE)

but I NEED "UL-ASUS_T00F-WW-3.24.40.87-user.zip" (Lolipop) Without FREEZE /RESTARTS

i tried unlock without freeze and Relocking (FYI after unlock 59.A1 , after relock 59.29/59.49)

but my Zenfone 5 Freeze in [3.24.40.87 with locked bootloader]

1)I Tried Unlock-with-freezing-patch (Result:FREEZE)

2) I Tried Flashing LP boot.img,recovery.img,droidboot.img with dnx and ifwi from stock rom(3.24.40.87) (Result:FREEZE)

3) I Tried "/d/osip/cmdline" [ROOT] method and i made sure (- Check if value in /proc/cmdline has "... intel_scu_watchdog ...") (Result:FREEZE)

I Cant Use No CUSTOM ROMS eg. Resurrection,RecreationR,BigROM,CM,CleanStockROM (freeze every 5 mins)

i cant use Stock Lolipop from ASUS Website (freeze every 5 mins)

IF ANYONE CAN FIND WHAT THE HELL IS WRONG WITH MY PHONE ITS YOU GUYS.

I AM REPEATING NOW I AM USING ZENFONE 5 T00J STOCK KITKAT

IF YOU NEED MORE DETAILS ABOUT MY PHONE'S PROBLEM . Then Replay
[Zenfone 5 General] cyberangel22k:
Just read the 1st post.
[Zenfone 5 General] sarathsvs:
I just installed stock from lollipop from Asus website but my phone still freeze I didn't even unlocked the bootloader.

My Zenfone 5 only support stock KitKat

Otherwise it freeze

Please help
[Zenfone 5 General] sarathsvs:
I flashed recovery.img of KitKat latest ROM then sideloaded the lolipop ROM

Still freezes
[Zenfone 5 General] AsgardSoldier:
Unable to apllied this tweak

Hi,

I tried apply this tweak at my Zenfone 5 Ressurection Remix 5.8.3 (last update) and doesn't work. I tried by command line (fix Bootloader) and send by fastboot TWRP 3.1.1-0 avaliable on this thread (with was a fixed TWRP freezing error), but, in first case, the command line returned device not found and i discovery, (after searching here) it was necessary "turns" ADB Sideload on, but, when i did it, the command line show me another error: "error:closed"

How i can solve this issue, [MENTION=7272215]nheolinkin[/MENTION]?
[Zenfone 5 General] sarathsvs:
My Zen5 is TW, I changed it to WW is that why my phone is freezing?

my phone is not unlocked/not rooted just stock lolipop 3.24.40.60 (I TRIED ALMOST EVERYTHING )

NO ONE CAN HELP ME..
[Zenfone 5 General] sarathsvs:
Check my kernel logs help me

View attachment Zenfone5KernalLog.rar Here is my last_kmsg.txt and logcat.txt

my phone is freezing please help me..... :crying::crying:
[Zenfone 5 General] FirmanYanuar:
I got something weird

1. After applying your tweak my second sim wont work

2.Phone freezed when it reach 1% battery state

3.When i tried to connect to a wifi with Login Webpage, when the phone connected to wifi after 5 mins it disconnected, then when i trying to reconnecting again it will stuck on Obtaining IP Address then the phone freezed

im Sure about the second sim because before i applied your tweak, both of sim work fine.

Sorry for my bad english :p
[Zenfone 5 General] jerrymonkey:
Thank you!

Oh god it is working! I just registered to thank you, now I flashed CyanogenMod 13, and it was freezing and require a force reboot to make it working every minute. But since then I keep finding the solution to fix this, I tried to relock the bootloader, but it can't boot, and appears a usb icon. I have seen many people have their own script, just like yours, but without the second program, that just not gonna work. I reply to thank you, and also proof that this works, so if anyone have this problem, definitely try this!
[Zenfone 5 General] #digineo:
I am using the Zenfone5 from last 3 years and last 6month's was not too good because I was facing the freezing problems. 3 days ago I replaced the battery (it cost me ₹400or $8)and in last two days there is no freezing even when using the Google camera/snap / Asus camera or any problem . I applied this patch but not helped me .
[Zenfone 5 General] bimmok:
hi

if I have already unlocked the bootloader and now the phone is constantly freezing and restarted, I just have to download that tool and install it?
[Zenfone 5 General] tranxuanthang:
If OP or someone have time, please check my dmesg and logcat here:

https://paste.ee/p/cDZrZ#s=1

https://paste.ee/p/cDZrZ#s=0

These are what I got after rebooting from a freeze (patch applied successfully). My phone always freezes like so, everytime before the battery is about to run out. After freezing it usually reboots to "low battery" screen, indicating that it can't be booted until the battery is charged enough.
[Zenfone 5 General] akhiltj114:
Not working

Follows the instructions in post

( Fix Freezed Screen/Camera Issue With Unlocked Bootloader by nheolinkin )

1, already the bootloader unlocked

2, excute the tool, which creates a file (cmdline)in internal storage

3, copy the file to d/osip folder ( already there exists cmdline named file, so overwrite the file)

4 , restart the phone

After these steps turn on the phone with usb logo like symbol and power off

I read the content from cmdline file created by using the tool

[acpi=off apm=off pnpbios=off nomodeset i915.modeset=0 intel_idle.max_cstate=0 idle=mwait]

I tried to check /proc/cmdline to identify the value of intel_idle.max_cstate, but that parameter not appear in the file.

dmesg files

https://drive.google.com/folderview?id=1u2Dd5xPMSRSQMX1R_9pVu8lJ2j1RP52K
[Zenfone 5 General] vinaykharayat:
After using this tool, I copied cmdline inside /d/osip but device is stuck in boot logo (asus logo).

Currently in latest stock lollipop rom.

Strange thing is that the file created by your tool "cmdline" is empty and of 0kb size. Is it normal?[MENTION=7272215]nheolinkin[/MENTION]
[Zenfone 5 General] akhiltj114:
Yup... If have any doubt you can open by any note editor
[Zenfone 5 General] imjinah:
hello, is this screen normal when using the freeze fix? [IMG="image"]https://prnt.sc/koh61z[/IMG] . I've noticed that there was no cmdline file on my sd card after running the .bat file. Also , do I need to run this everytime factory reset my rom or change to a new one? prnt DOT sc/koh61z
[Zenfone 5 General] FirmanYanuar:
i got Freeze without rebooting issue when i use this tool then i give up im back to stock rom. but when i want to flash a rom that required an unlocked bootloader i unlock the bootloader then i install the rom. after installing the rom, i forgot to relock the bootloader (and im too lazy to relock it :p) so im using a rom with unlocked bootloader without facing freeze and camera problem :D here's what i do

- I came from Tank' RR Nougat before. i flash KitKat Recovery then Sideload KitKat 2.22.40.53 and upgrade to Lollipop Rom ( v78 then upgrade again to v87) This is where the bootloader state is back to Locked

- I unlock the bootloader using ozank's bootloader tool by Using the first choices. and flash latest twrp by XAnwar.

So far i never facing freezing issues and Camera problem. (2 days usage)

My Device is ASUS Zenfone 5 T00F A500CG

hope this information help everyone

Sorry for my bad English. hehe
[Zenfone 5 General] Harshatxda:
any solutions for camera error now?

hi,

i know time has changed a lot, many devices have come out in the market so this phone & thread is too old to discuss. but can you tell me if you have got any solution for no camera/black camera screen for zenfoen 5 501.
[Zenfone 5 General] levi1506:
Will flashing TWRP with Tweak applied solve my problem??
[Zenfone 5 General] visionsvisions:
Hi i need this tool to fix my asus t00j. I need it to linux and windows versions.

thanks
[Zenfone 5 General] nheolinkin:
Sure, if you want, but I gotta ask developers for post them here.