yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 General] cnswico:
Yes. For as long as the ROM is based on stock, you can use it with a stock kernel (and with a locked bootloader). Personally, I prefer Recreated Remix. Although, the most updated stock-based ROM I know of is Delta Recreated ROM. Go check 'em out if you want to.

EDIT: Maybe I'll check out Delta Recreated ROM, too.
[Zenfone 5 General] ShinraTensei04:
I've thought about trying recreated too. I'll try the delta as well. But the latter seems to be in beta stage.
[Zenfone 5 General] ShinraTensei04:
Can I flash delta from kitkat stock rom?
[Zenfone 5 General] ezkl:
You CAN'T flash Delta rom to KitKat, its for Lollipop(5.0) .87 based OS only.. otherwise it will leads you to bootloop.
[Zenfone 5 General] ShinraTensei04:
Oh I see

---------- Post added at 06:19 AM ---------- Previous post was at 06:16 AM ----------

I tried official method to unlock, didn't work. How do I use OP's method? I'm confused with all the stuff he's provided... Like, what do I need the fastboot archive and the ifwi archive for? And then that kernel link he gave?
[Zenfone 5 General] kanodiatushar:
what we did at that time was to try different ifwi and dnx files together and find a fix for our phone models(hence the archive). we were unsuccessful at that but noticed that different combinations of ifwi and dnx files result in different freeze times. so ozank provided us with an automated script after observing the files so that we can try which combination lasts for us longer until we find a proper solution. he also provided us with the combination that worked for him(hence" my configuration script")(worked for him in providing atleast a day without freezes)

Later he tried the kernel part too and compiled a cm13 kernel to try with RR
[Zenfone 5 General] ShinraTensei04:
I tried the automated script, and unlocked bl using 2.19 firmware stuff. I faced 2 freezes right after, but none after that... I wonder if this will last forever. Btw, I'm going to try rr by tank. Do I have to do something after getting that rom to prevent freezes? I read somewhere here that I had to reapply freeze patch. But won't my phone bootloop if I relock and unlock bl on a custom rom?
[Zenfone 5 General] kanodiatushar:
i have already given up on this and i am using clean stock rom currently. this happiness of no freezes never lasts forever but the time duration does vary

1) yes we used to reapply the patch after flashing RR

2) relocking and unlocking does not bootloop your device
[Zenfone 5 General] ShinraTensei04:
So wait,

"Relocking and unlocking does not bootloop your device"

So can't I just relock the BL, and then keep using RR? Or does the device bootloop only if I normal boot with locked BL?
[Zenfone 5 General] kanodiatushar:
if you relock your bootloader while trying to boot RR, your device will 'not boot', let alone bootlooping
[Zenfone 5 General] ShinraTensei04:
In such a case, my fastboot and recovery will still be fine right?
[Zenfone 5 General] kanodiatushar:
your recovery will be fine but you cant boot into it unless you unlock again (considering that you are using a custom recovery)

yes your fastboot should be okay
[Zenfone 5 General] ShinraTensei04:
Which tool do I use to semi-lock my bootloader?
[Zenfone 5 General] kanodiatushar:
i don't remember anything about that, search the thread
[Zenfone 5 General] ShinraTensei04:
Here it is, but i don't understand clearly
[Zenfone 5 General] kanodiatushar:
ozank has updated his automated script multiple times

he might be talking about an older(removed) one
[Zenfone 5 General] cnswico:
Here's the thing:

- RR uses a custom Marshmallow kernel in order to boot properly.

- Using a custom kernel requires an unsigned (unlocked) bootloader even if you are using a stock ROM.

- If you try to boot a custom kernel with a locked bootloader, your device will NOT boot (USB logo).

- Stock-based custom ROMs usually come with a custom kernel to make stuff like DT2W work. However, since they're based on stock, they can work even with the stock kernel.

- Only stock kernels can boot from a locked bootloader. However, using stock on a stock-based ROM that uses a custom kernel will mean that certain features will be disabled.
[Zenfone 5 General] ShinraTensei04:
Okay, I get it now.

Btw, I tried out recreated remix, with unlocked bootloader, and I faced only 1 freeze in 2 days...

I used the automated script using 2.19... fw files.
[Zenfone 5 General] shanmukh2778:
Im just frustrated with these freezes ..

Is there any better stable version in resurrection remix..
[Zenfone 5 General] Boomshiva:
Freeze is because of unlocked bootloader not ROM issue .

RR 5.7.2 is stable .

Also you can try out custom ROM which are stable enough like cm 13.1 , dirty unicorn .
[Zenfone 5 General] shanmukh2778:
Im also used..cm 13.1

No change in performance ..

Freeze issue stiil there..

Is threre any solution for it..

Now i decided to revert back to stock..:svetius:
[Zenfone 5 General] ShinraTensei04:
No matter which rom you use, you'll get freezes with unlocked bootloader, unless somehow you find the right unlock tool
[Zenfone 5 General] Nurhakim:
What is v1 and v2..i do not get it..my zenfone 5 t00j 1.6ghz 16gb rom 2gb ram mfg 2015 getting freezes after unlock bootloader..want to unlock bootloader too..please help
[Zenfone 5 General] Manik Saini:
Help plzz

So I used ur method .... Worked perfectly fine for one whole day .... Got 3 or 4 freezes ... Which were good enough for me

But then I started getting bootloop ..... After waiting for 3 hours I switched it off and wiped system , cache and data and reflashed the ROM

This time it stuck in between .....tried reflashing many times same thing

Now I tried to go back to stock but fastboot isn't flashing any other recovery

Even tried to change fastboot .... It says as finished without any error but boots into same fastboot and recovery everytime
[Zenfone 5 General] Aswin Raj KK:
hii...

i have asus zenfone 5.it shows ERROR:invalid boot image while power on.can you help me???
[Zenfone 5 General] Boomshiva:
Provide more information to us like :

1) firmware

2) how to reproduce this situation

3) any tampering done by you to software /hardware
[Zenfone 5 General] vixx1978:
Unfortunately only thing to help with freezing was for me to disable 2 cpu cores using Kernel Adiutor as stated by some other memeber here on XDA. Phone is little slower - but that was expected. Zero freezes since yesterday (before that phone would freeze in about 5 minutes).

As stated by author of this thread - disabling cores will result in camera not working.

Zenfone 5 A501CG (8Gb) - T00j.
[Zenfone 5 General] nheolinkin:
Have you ever tried removing it or using a rom without "if.bin" again? For godsake if you could do it again and confirm that it would be freeze.
[Zenfone 5 General] Boomshiva:
that piece of information which I had shared don't hold good . If.bin does not make any difference whether you remove it or paste it .
[Zenfone 5 General] nheolinkin:
So when you forgot to put "if.bin" file. It was actually freezed because of something else?
[Zenfone 5 General] Boomshiva:
Yes exactly that was a comment made before playing up with the tool , lol
[Zenfone 5 General] nheolinkin:
You've just shutdown my hope you know :laugh:

Anyway thanks.
[Zenfone 5 General] revolc05:
can i relock the bootloader after flashing custom rom like resurrection remix?
[Zenfone 5 General] nheolinkin:
No, you can't.

How on earth could you relock bootloader and still can use RR?
[Zenfone 5 General] KrGaurav:
need help

but how to use the downloaded file to unlock bootloader

there is nothing titled unlock bootloader
[Zenfone 5 General] votinhtuyetthien:
You can use bootloader unlocker made by ozank

https://drive.google.com/file/d/0B6A...UhpWWd5TWN0ZFk
[Zenfone 5 General] mcrazymanu:
Guys ive tried alot of methods in unlocking bootloader ... and the final result is ending up in screen freeze.... can some one helpe sort this out??.... shakalaca is a well knwn zenfone 5 developer anyway to contact him ... im uaing zenfone 5 tooj 8gb
[Zenfone 5 General] aditia581999:
You could try to use like kernel auditor to disable 1 core, it will stop freezing, but camera wont work, so you must enable that core again in order to make it work again
[Zenfone 5 General] nheolinkin:
screen freezed issue fixed

https://xdaforums.com/zenfone-5/general/share-discussion-users-problems-unlock-t3629739
[Zenfone 5 General] mcrazymanu:
Wil this works? Im currently on lolipop latest version 3.xx.87

---------- Post added at 10:00 AM ---------- Previous post was at 09:58 AM ----------

Which core should i disable?.... 0-3 ?
[Zenfone 5 General] aditia581999:
Im not sure tho since i already sold my old zf5, but in the past i disable core 3, but the camera wont work, so theres an app (which i forgot the name) that can control cores for individual app, so you can set the camera to all cores on so the camera works again

Btw my old zf5 is T00F
[Zenfone 5 General] mcrazymanu:


---------- Post added at 10:23 AM ---------- Previous post was at 10:22 AM ----------
[Zenfone 5 General] nheolinkin:
I've given you the link for nothing?
[Zenfone 5 General] mcrazymanu:
Tried the twrp it doesnt fix the freeze... and the tool is not working

---------- Post added at 10:58 AM ---------- Previous post was at 10:48 AM ----------

Adbd cannot run as root in production buildsremote object '/d/oisp/cmdline' does not exist

Faisled to copy 'cmdline' to '/d/oisp/cmdline': permission denied
[Zenfone 5 General] mcrazymanu:
Screen freeze reduced...... Now imfacing only twice in 16hrs

Thanks to

[MENTION=8005486]juyel92[/MENTION] for his bootloader unlock tool [MENTION=7272215]nheolinkin[/MENTION] twrp fix
[Zenfone 5 General] nheolinkin:
wrong thread?

twrp fix what?
[Zenfone 5 General] BeeNeX:
For those who want to revert back to stock kitkat with root and xposed WITHOUT any FREEZE

Follow this:

It has been successfully used on my A501CG T00J, 8GB 1.6Ghz variant more than 20 times so I'm sure about this one. I promise, just keep calm and be patient with reboot and boot times after a new upgrade.

1. Just flash 1.17.40.16's boot, fastboot and recovery (stock doesn't have one thus search "zenfone 5 stock recovery" and go to the

mediafire link given in asus website link that comes in 1st result)

2. Reboot to bootloader and then flash this ROM in sideload mode.

3. Wipe everything from that menu itself and reboot.

4. Now, go to fastboot mode again flash boot, fastboot and recovery of 2.20.40.54 (NOT MR 11.3 kinda versions as they interfere

with xposed).

5. Reboot to bootloader again, go to recovery and flash this ROM in sideload mode.

6. Wipe again and reboot.

7. Now root with zenfone 5 rootkitv3 ( it doesn't mess with dnx and ifwi bootloader files while rooting)

8. Install xposed and viper4android if you want.

Done.
[Zenfone 5 General] aditia581999:
Isnt all stock rom rooted not freeze the phone? Cuz what makes the phone freeze is the unlocked bootloader
[Zenfone 5 General] BeeNeX:
Well some users have reported that they aren't getting freezes even after unlocking. This is maybe because there model works with those files.

My solution works because it does NOT involve unlocking bootloader as I've mentioned in 7th point (this rootkit works without changing dnx or ifwi files)

:o
[Zenfone 5 General] Stephen:
Moderator Information,

Thread closed at OP's request.
[Zenfone 5 General] aditia581999:
Already freeze 3 times :(

I already run v1+v2 after flash rr mm, freeze, then i put if.bin to firmware,freeze, after that freeze i thought the device is now not freezing anymore, but when i update app from playstore, it freeze, any solution?
[Zenfone 5 General] ozank:
Reapply the patch, and make sure your if.bin's permissions are 644 (rw-r--r--). We tested it for 2-3 days and still no freezes at all. (If that's not working, then your device is different i have to say. Please test it more and give a feedback to be sure, then i will think about it.)

I am using cm13 latest by [MENTION=6292495]dgadelha[/MENTION] for the records. (If you want to know.)
[Zenfone 5 General] aditia581999:
already reapply the patch like 2 times, test playing super hexagon, freeze , yeah i set the if.bin file to 644, now im revert back to stock lolli then till i found a proper way without freeze,cuz its driving me nutz! btw im using RR 5.6.7 by tank
[Zenfone 5 General] ozank:
I'm sad to hear that. Maybe your device is newer than ours. Do you remember when you buy it and what was your first rom?
[Zenfone 5 General] pintuvirani:
As described i did v1 and v2 still i didnt get freeze. I am on stock rom .87. Want see more days it will freez or not then i will go for cm 13. Thank you guys for helping in this issue.
[Zenfone 5 General] testgame01:
i want borest24's flash kernel so which number do i need to choose?

i want borest24's flash kernel so which number do i need to choose?
[Zenfone 5 General] ozank:
If you are not sure, choose 1 and wait a bit after flashing kernel.

If you were using my script, choose 2 to update bootloader to semi-locked state.

If you were using my script and you want to update your kernel now, you need to choose 3 and unlock bootloader to normal state.

This file won't flash any kernel. It just unlocks bootloader. You may searching for Zenfone 5 Custom batch. This is not the thread. This batch only unlocks bootloader (for freezing devices)
[Zenfone 5 General] pintuvirani:
I got 2 time freezes in 25 minutes in stock lollipop rom.
[Zenfone 5 General] ozank:
Just to be sure, you copied if.bin to firmware folder and restarted?

I haven't got any freezes at all for two days yet. So I am just trying to understand the situation from these feedbacks because this is just an experiment. :)
[Zenfone 5 General] pintuvirani:
Did you flash v1 and v2 both?
[Zenfone 5 General] ozank:
Yeah you need to do this step by step. If you did it properly that gives you a 59.a1 ifwi with a locked bootloader that can run custom roms.

You can use the script's 1st option as well for automatically.
[Zenfone 5 General] pintuvirani:
I didnt understand please ca you tell me step by step how to do this. Thank you in.advance
[Zenfone 5 General] rashmi0733:
I use Auto Installer after 1st boot my mobile stuck in white battery bar with question mark

now what should i do.
[Zenfone 5 General] Boomshiva:
No freeze

Ok so yesterday I used your automated script first I selected 1 which was IF YOU UNLOCKING YOUR BOOTLOADER FOR FIRST TIME . Then after 4 hours of using my zenfone it freezed. So I used the v2 to unlock my BOOTLOADER again and voila its been 12 hours no single freeze I encountered . That's actually a good job dev . I think we have the zenfone with same builds :D ARE you sure that I can flash custom Rom and recovery in semi locked state which you mentioned in one of the comments (.a1)

Well thank you for the script
[Zenfone 5 General] ozank:
You need to revert back and then install rom and you should get to same state with v2, if you don't get the same state use 1 and then 2 :laugh:

I am just running cm13 on this config like 18 hours without any reboot (last reboot was by me, so like 3 days). :laugh:
[Zenfone 5 General] ozank:
You should use another kernel. Are you using resurrection remix kernel?
[Zenfone 5 General] ozank:
Press 1 for once, use phone and if it freezes, go to fastboot and press 2.
[Zenfone 5 General] Boomshiva:
Ok so I need to unlock the BOOTLOADER again to normal state and then after installing custom Rom I need to again unlock with v2 right ? Surprise me if wrong ;)
[Zenfone 5 General] ozank:
This is actually you need to do :laugh:

Because you can't flash anything in that state; so you should flash system.img, boot.img, recovery.img, gapps, root and xposed (if you use). Then clear cache and relock it with v2.
[Zenfone 5 General] rashmi0733:
I use Auto Installer after 1st boot my mobile stuck white battery bar with question mark an now i unable to boot fastboot mode i can't flash anything now

when i press power+vol up its not go in fastboot mod its stuck white battery logo.

i am using stock .87
[Zenfone 5 General] ozank:
Pretty weird, you're the first corrupted device from my thread, check the important notes of the first post. There's a recover script. Use another cable while flashing.
[Zenfone 5 General] rashmi0733:
i read every thing carefully no solution because all process want fastboot mod and im unable to use fastboot mod

my mobile not boot in fastboot
[Zenfone 5 General] ozank:
https://andrewbenedictus.wordpress.com/2016/02/15/how-to-unbrick-asus-zenfone-5-stuck-on-intel-logo/

Try this, XFSTK downloader. It doesn't need fastboot.

And [MENTION=7390599]swiczak[/MENTION] 's tutorial you need to just plug the cable and run debrick.bat for go to droidboot, it didn't need for droidboot as well.
[Zenfone 5 General] rashmi0733:
i want only fastboot

recovery working and my mobile also working only fastboot not working
[Zenfone 5 General] ozank:
Then recover only fastboot :laugh:
[Zenfone 5 General] pintuvirani:
I press 1 its relock and unlock it. After that i got one freeze and i push if.bin file with rw-r-r and restart it now want to see its getting freeze or not. I will let you know. Thanks bro replying quickly.

---------- Post added at 12:58 PM ---------- Previous post was at 12:06 PM ----------

I got freeze with v1. Now i will try as you describe.

---------- Post added at 01:23 PM ---------- Previous post was at 12:58 PM ----------

Can i flash v1 and afterthat v2? Or its necessary to use the phone after flash v1?
[Zenfone 5 General] ozank:
Actually if you get locked 59.a1 with lock, it's done.

I am not sure about it.
[Zenfone 5 General] ozank:
Actually i didn't reboot myself for a proof of 22 hours non-freeze and reboot.

If you want to see, you can check the attached screenshot. (Sensitive information is painted white)
[Zenfone 5 General] pintuvirani:
Bro i flashed v1 and v2 afterthat i got freeze in 10 mints. Afterthat i push if.bin into system/etc/firmware but still i got freeze.
[Zenfone 5 General] aditia581999:
i will try the 2.20.40.13 method, i will tell you whether its freeze/not ok :D
[Zenfone 5 General] pintuvirani:
Bro which model do you have. I m.having 1.2 ghz 501cg 2gb ram and 8 gb rom. Please let me know its freeze or not. Thank you bro.
[Zenfone 5 General] aditia581999:
Im using asus t00f 2gb 16gb

---------- Post added at 20:05 ---------- Previous post was at 20:04 ----------

Btw, i already did the method, and its still freeze, now im trying to push the if.bin file from the fw and see what happen, i will report back
[Zenfone 5 General] ozank:
If it's still freezing then nothing changes with this method, I found that on some blogs and forums but i doubted it, just wanted to share and i know now that's not the case :laugh: , who knows maybe it would be working, because this phones are like joke, someone's phone is okay, the others' are not okay. :laugh:
[Zenfone 5 General] pintuvirani:
I m also thinking some phone are not freezing and some same config phone are freezing. Dont know what is problem.
[Zenfone 5 General] ozank:
Before i wrote this article, my phone was freezing like an ice cream :laugh: . Then I found this solution (v1+v2) randomly. My freezing has gone, then i updated my rom and freezing came again. After that i reflashed (v2), no more freezing at all. So I did this tutorial and actually it worked on 3-5 people's phones as well. I don't know whether we are doing the flashing wrong (i tried 2 or 3 times for the getting this configuration) or really all the phones are different. :laugh:

This was the indicator of the solution: in the end you should get 59.a1 ifwi file but when you try to flash something (like twrp) it wrote Secured image, Signed Boot then aborts itself.

If you saw like this, you did the flashing correctly but your phone is different. I am now on 27 hours+ without no reboot.
[Zenfone 5 General] pintuvirani:
when i flashed v2 after than when i flash recovery it showing secure image and its still freezing bro. bootloader is showing 59.a1 and when flash recovery its showing secure image. but still freezing bro.
[Zenfone 5 General] ozank:
You sent if.bin to firmware folder and rebooted as well? Then phone is different, I am sorry to hear that.

By the way can you do one more last time to flash v2 or the update (2) option on script?
[Zenfone 5 General] pintuvirani:
yes i copy if.bin file to firmware folder with rw-r-r permission and restart it. now i flash fastboot sep 3 build which one have in v1 tool now will see its freezing or not. just tried of this freezing issue bro.

---------- Post added at 07:17 PM ---------- Previous post was at 07:09 PM ----------

ok i will try now.
[Zenfone 5 General] testgame01:
dear Ozank !!!

in your SCRIPT, that mean

num 1 = flash V1 then flash V2

Num 2 = only flash V2

Num 3 = flash V1

Do u agree with me ????
[Zenfone 5 General] ozank:
Absolutely.
[Zenfone 5 General] pintuvirani:
where is num 3?
[Zenfone 5 General] ozank:
File has been updated yesterday, maybe you downloaded two days ago
[Zenfone 5 General] pintuvirani:
i am using automated tool. first i choose option 1 and enter it, after process finish and select option 2 and enter it. i did this method. is it right ozank bro?
[Zenfone 5 General] ozank:
That was right, 3 was designed for reverting back changes (unlocking bootloader fully)
[Zenfone 5 General] testgame01:
i used your script in my order: firstly i choose 1, then i choose 3, finish, i choose flash kernel borest 24, finally i choose 2

if freeze continues occuring, i will copy if.bin and continue testing
[Zenfone 5 General] ozank:
If you get in the end a1 locked, script is done.
[Zenfone 5 General] testgame01:
yes, complete process, then i check droidboot, ifwi ver :59.a1, now i am using double tap normal , continue testing freeze
[Zenfone 5 General] ozank:
I am using dt2w, dt2s as well. No freezes at all with these.
[Zenfone 5 General] testgame01:
did you copy if.bin? ozank
[Zenfone 5 General] Boomshiva:
Same build no freeze

Well as I said earlier ozank yours and mine ZenFone is of same build so we did not encounter any freeze after using the script .just for record I had two ZenFone 5 bought together , but the funny thing is one freezes and other not on unlocked bootloader .the one which used to freeze do not freeze after using yours script so I guess the key is the ifwi files of the firmware with which the ZenFone u received, as you mentioned in earlier comment ,so I guess every phone issue won't be solved as I can see people complaining about freeze :confused:
[Zenfone 5 General] pintuvirani:
Means after flash v2 and then i have to flash again v1? Am i right?
[Zenfone 5 General] ozank:
Yes, for prevention, it's not necessary i think.
[Zenfone 5 General] ozank:
Actually thanks for supporting me :victory:

I am just trying to solve freezing series (Because i was affected as well and i solved it with my script). And i am thinking every phone has a non-freezing configuration but everyone needs to try themself for the best.

Actually someone has a good internet should download all the roms and extract ifwi, dnx and fastboot in folders individually and upload them for finding best configuration for everyone :laugh:
[Zenfone 5 General] ozank:
No you have to flash v2 at the end.
[Zenfone 5 General] testgame01:
pevious, i tested accordng to other way: i flash v1, then i flash v2, finally i flash boot kernel borest but it isn't flashed
[Zenfone 5 General] ozank:
You have to use 3rd option for kernel flashing. Then you should relock that.
[Zenfone 5 General] pintuvirani:
Ozank bro i want to ask you if i want flash custom rom first i have to flash v1 and after that have to flash custom rom and last i have to flash v2 for relock it. May i right bro?
[Zenfone 5 General] testgame01:
V1 then v2 , flash custom kernel = error

But

Choose 1 ( flash v1 + v2) , choose 3 ( flash v1) then flash kernel , choose 2 ( flash v2) = success

Why :)
[Zenfone 5 General] ozank:
Yes that's right. You can do with your regular unlocked bootloader as well or script's 3rd option. Then you have to lock it with v2.
[Zenfone 5 General] ozank:
V2 relocks the bootloader (different than normal lock). It locks for custom rom.
[Zenfone 5 General] testgame01:
it may be fix unclock freeze solution

i still use and don't have freeze
[Zenfone 5 General] ozank:
It fixes for some devices and you maybe in the lucky side. :laugh: