yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] pintuvirani:
Bro first i let you know that’s i am having zenfone 5 a501cg 1.2 Ghz t00j ww

Before i tried many methods for unlock boot loader from net and i am always getting freezing issue on stock rom also.

After i unlock boot loader from my way and i didn’t get any freezing issue on stock rom past 12 hours.

Step 1) first unlocks your boot loader form any tools or drag out unlock file from package and unlock boot loader.

Download UL-ASUS_T00F-WW-2.20.40.13-user from ASUS WEBSITE

Extract boot.img, fastboot.img, and recovery.img from the zip downloaded from Above Asus Firmware zip Place them in ADB folder. Also Copy the whole zip to same adb folder.

Place them in ADB folder. Also Copy the whole zip to same adb folder. OPEN ADB prompt by shift + right click and select open command window here in same folder.

now do bellow step for relock boot loader proper way.

2). Boot your phone in Fastboot mode and do exactly as following,

fastboot flash fastboot fastboot.img

fastboot reboot-bootloader

fastboot erase cache

fastboot erase userdata

fastboot erase data

fastboot erase system

fastboot flash boot boot.img

fastboot flash recovery recovery.img

3). Now select recovery from fastboot menu and press power to boot into recovery mode.

4). Press and hold volume down then tap volume up at dead droid splash for recovery menu.

Select adb sideload and type

adb sideload UL-ASUS_T00F-WW-2.20.40.13-user

Wait Until it downloads on your phone and is installed. It usually takes 20-25 minutes to boot into phone. As this is the first time phone is booting after complete format expect it time taking.

Boot into Phone And Congrats You Have Locked your bootloader properly which is ready to unlock properly

Now we want to unlock boot loader do step below

1) copy if.bin file from mobile. (system/etc/firmware) and past to mobile sd card.

2) Now connect your mobile to pc and copy that if.bin file and paste into ADB folder.

3) Now extract dnx_fwr_ctp_a500cg from UL-ASUS_T00F-WW-2.20.40.13-user to ADB folder.

4)Now OPEN ADB prompt by shift + right click and select open command window here in same folder.

Type In command:

adb reboot-bootloader

when you get in droidboot now type:

fastboot flash dnx dnx_fwr_ctp_a500cg.bin

fastboot flash ifwi if.bin

fastboot reboot-bootloader

after reboot to boot loader now u can see your boot loader is unlocked. Now use for some hours or one day for freezing or not.

This way I didn’t get any single freeze in stock rom. Try this method bro I think you will not get freeze in stock rom. Let me know getting freeze in stock rom or not.
[Zenfone 5 Android Development] Sayan44:
[MENTION=3946418]pintuvirani[/MENTION]

Thanks for the guide. It's pretty lengthy process, I saw it in some other thread. My device is A500CG. I saw for other Zenfones there are some official bootloader unlocking app. Also for our device it exists. Is it possible to use it successfully and unlock bootloader on current firmwire version?
[Zenfone 5 Android Development] pintuvirani:
bro i tried your official unlock boot loader app for my device. i unlocked it from your app but getting always freeze in stock rom also. might be i am having a501cg and its app for a500cg only.
[Zenfone 5 Android Development] Sayan44:
okk. I will try the app tomorrow and let you know.
[Zenfone 5 Android Development] HKpKsON:
Really guys? Again? He never stop once. So, can you guys stop asking about this every single time op gone off-grid and developing the rom or other personal matters? Guys, he's has a life! So stay back relax and wait for op...
[Zenfone 5 Android Development] pintuvirani:
Guys i unlock boot loader from my way and i flash tecno tails cm12.1 and i didnt get any freezing issue.
[Zenfone 5 Android Development] LuanHalaiko:
I never asked again but people was saying that he stopped the work, so I asked him
[Zenfone 5 Android Development] quanganh2627:
that's people said, NOT me. Unfortunately, it's still can't bootable, i have no idea to resolve it right now.
[Zenfone 5 Android Development] adamilmanns:
Take your time dev. Btw u can ask this guy to fix not bootable.
[Zenfone 5 Android Development] tank0412:
[MENTION=5392204]quanganh2627[/MENTION] Sorry to trouble you but can you publish this code?

vendor/intel/hardware/camera_extension

Your device tree calling it but i can not find it on the Github. My CM12.1 build has some troubles with camera due to this. (IMHO, I can mistaking)
[Zenfone 5 Android Development] LuanHalaiko:
someone have lags in rr 7.2.2?
[Zenfone 5 Android Development] FaizK:
Yes lags for me.

Try that double recreated one posted in previous pages.
[Zenfone 5 Android Development] Aquati:
No lags here. But I not tested in games and Antutu

Enviado de meu ASUS_T00F usando Tapatalk
[Zenfone 5 Android Development] XHook:
me :c

unfortunately after the build 7.0 is impossible to use the RR here
[Zenfone 5 Android Development] abw_bw:
I push if.bin from xanwar kernel and get sometime lags not everytime
[Zenfone 5 Android Development] FaizK:
Try the ROM posted on pgno.401

It solves lag issue for me.

(It's based on RR 7.2.2)
[Zenfone 5 Android Development] quanganh2627:
job done.plz search again on my github
[Zenfone 5 Android Development] mado79:
Can you receive ota update by this way?

Inviato dal mio ASUS_T00J utilizzando Tapatalk
[Zenfone 5 Android Development] ekinodermata:
i got no lags in rr 7.2.2.

no problems on installing app.

still don't install games yet.
[Zenfone 5 Android Development] RevanEphys:
[MENTION=5875920]tank0412[/MENTION] and [MENTION=5392204]quanganh2627[/MENTION] can i dirty flash / upgrade from 7.2 to 7.2.2 i just want to know ? :)
[Zenfone 5 Android Development] quanganh2627:
of course you are.
[Zenfone 5 Android Development] RevanEphys:
Wow nice thanks :D
[Zenfone 5 Android Development] C.Chongthu:
is the gps and fm fixed? or is it ever going to be fixed?
[Zenfone 5 Android Development] Ghi98:
When Asus release the suorce code developer will be able to fix this two things
[Zenfone 5 Android Development] sayan7848:
will the capps by cyanogen be compatible with the latest build?
[Zenfone 5 Android Development] DarkFrenzy:
What is "Capps" ?
[Zenfone 5 Android Development] T/-_j@$:
C-Apps !! developed by cyanogen !!

visit their website for more info !! ;)
[Zenfone 5 Android Development] Aquati:
Use capps x86. You can download it here http://xdaforums.com/zenfone2/development/cyanogen-apps-capps-x86-t3247101

Cyanogen Apps, from CyanogenOS http://www.cyanogenmod.org/blog/introducing-the-cyanogen-apps-package
[Zenfone 5 Android Development] darkfrang0:
Bootloader unlock

SORRY BUT I WILL POST IN PORTUGUESE OF BRAZIL

DESCULPA MAIS VOU POSTAR EM PORTUGUÊS DO BRASIL.

QUEM QUISER TRADUZIR DE FORMA CORRETA PARA INGLÊS

RECEBI A SEGUINTE MENSAGEM

Cara eu tenho um zenfone 5 tbm e já tentei todos os metodos possiveis pra desbloquear o bootloader, mas toda vez ele cai no travamento e reboot. Eu baixei a primeira versão da stock rom que vinha com o if.bin q era a UL-ASUS_T00F-WW-1.17.40.16-user Sku WW usei o dnx e o if.bin dessa rom pra desbloquer o bootloader mais não deu em nada !! continuava tendo o congelamento de tela. Quarta feira eu baixei a mesma versão mais com o sku TW (Tailandia eu acho) - UL_ASUS_T00F_TW_1_17_40_16.

Da rom UL_ASUS_T00F_TW_1_17_40_16 eu extrair o arquivo, e peguei o dnx_fwr_ctp_a500cg.bin do ifwi.zip e o if.bin de system/etc/firmware e usei pra desbloquer o bootloader, usando o comando: fastboot flash dnx dnx_fwr_ctp_a500cg.bin e fastboot flash ifwi if.bin. Pra minha surpresa já estou com mais de 24 horas com o bootloader desbloqueado e sem o congelamento de tela. Eu tó acompanhando o forum da Resurrection Remix 5.5.9 ia postar lá isso, mais não sei pq o forum diz q eu não tenho acesso pra postar e como eu vi q tu é BR e tem o mesmo problema q eu, pensei em mandar essa msg pra ti
[Zenfone 5 Android Development] Fernando0258:
- deleted
[Zenfone 5 Android Development] quanganh2627:
I know your troubles. And,

1 - Choosing & understanding a prefer method : integrated kernel's tree in Android tree(like as Borets & Asus's guide) or separated them like many tuts out there.

2 - Now assuming you following integrated method. then "workingdir" is Android tree root "$HOME/android" which contains .repo folder( Ctrl+H to display hidden folder. Tips: another way to having an Android's tree is download your favorite Rom distro snapshot as provided [SOURCES] Android Sources Highly Compressed]here. It spends about 3-4Gb only instead of 20-30Gb like usual). And extracting kernel tree to "$HOME/android/linux" , and it'll contains 2 subfolders: kernel & modules right now.

3 - Always moving to "$HOME/android" before starting build process.

For RIL&MMGR & friend libs, i used stock prebuilt, as already in vendor folder. I tried to built from AOSP/CM ril src but always working partial like you said. If change to built from Intel's private rapid-ril , then not success as missing libmcdr. Thus, even although i can see at rapid-ril has a commit to resolve restore mobile network after turn off Air-flight mode, but can't figure out how to apply it to RR.

Perhaps you should try with my uploaded houdini at here(use git tag to check all its tag, and git checkout imin/redhookbay/a50/... to switch to our supported tag.
[Zenfone 5 Android Development] tank0412:
Thank you a lot, man.

I talked with few russian devs. It looks like RIl is dead due to Zenfone5RIL.java

It looks like RIl files on AOSP are much different than files on CM. Zenfone5RIL.java is written for CM-based rom. So thats why it is dead on AOSP.
[Zenfone 5 Android Development] shashanksetty:
Guys, any idea about the next update? And can GPS ever be fixed?
[Zenfone 5 Android Development] RevanEphys:
You know we could wait while they ( the dev ) doing their work :)
[Zenfone 5 Android Development] RevanEphys:
[MENTION=5392204]quanganh2627[/MENTION] and [MENTION=5875920]tank0412[/MENTION] how to fix asus camera updating again ? I remember once somebody ask but i didn't read all of it ( and i had a error code -505 )

Thanks :)
[Zenfone 5 Android Development] tank0412:
Try to upload it from other web sites (like 4PDA) and this way you can install new updated apk.
[Zenfone 5 Android Development] adamilmanns:
[MENTION=5392204]quanganh2627[/MENTION] [MENTION=5875920]tank0412[/MENTION] help me for the last
[Zenfone 5 Android Development] RevanEphys:
[MENTION=5875920]tank0412[/MENTION] can you tell me specific way how to do it ?
[Zenfone 5 Android Development] dgadelha:
chmod a+x build/core/find-jdk-tools-jar.sh

---------- Post added at 08:54 PM ---------- Previous post was at 08:53 PM ----------

http://www.apkmirror.com/apk/zenui-asus-computer-inc/camera-zenui-asus-computer-inc-2/
[Zenfone 5 Android Development] LuanHalaiko:
I know RR uses custom ART by Intel, but that makes audio lags in games, is there any way to "change it" or maybe fix audio lags?
[Zenfone 5 Android Development] quanganh2627:
your file hasn't been granted executable permission, resolve by (from root tree):

chmod a+x build/core/find-jdk-tools-jar.sh
[Zenfone 5 Android Development] tank0412:
[MENTION=5392204]quanganh2627[/MENTION] Can you check your Github?

It looks like you created a repo with camera-extensions but you did not sync it so it is empty.

https://github.com/quanganh2627/camera_extension
[Zenfone 5 Android Development] adamilmanns:
[MENTION=5875920]tank0412[/MENTION] [MENTION=5392204]quanganh2627[/MENTION] how about this
[Zenfone 5 Android Development] XHook:
[Right method to unlock bootloader]Unlock_Bootloader Tool for Zenfone 5 by XHook v1: http://xdaforums.com/zenfone-5/general/method-to-unlock-bootloader-t3288610
[Zenfone 5 Android Development] quanganh2627:
Be sure to install*gcc-multilib*andg++-multilib. These depend on both the 64 as the 32-bit gcc and stdc++ libraries.

---------- Post added at 09:17 AM ---------- Previous post was at 09:16 AM ----------

let me see
[Zenfone 5 Android Development] quanganh2627:
i uploaded yet, but u press at tags to show. i used a new tool named "hub" to do a batch uploading, then it creates and show a blank master branch automatically.
[Zenfone 5 Android Development] pakpenyo:
Are you sure freeze screen because unlock bootloader?

I already trying unlock with official apk at .30 ww stock. No more freeze after 3-4 days.

And 3 month ago, i unlock with sigo unlocker tool (it's already at github) and using stock .53 or .54 ww. I think i'm using for one month, and no freeze.

I get freeze after using cm12.1 from tran, then continued with RR, since beta 4 or 5, till now.

I changed my mind, freeze problem is because rom or kernel....
[Zenfone 5 Android Development] pintuvirani:
Bro u r right. After unlock boot loader in stock rom now i am not getting freeze. But when i flash custom rom i m getting freeze issue. Bro i m having zenfone 5 a501cg 1.2 ghz. But i tried official app in .30 but its telling your device is not supported. But .18 i got unlocked from official app and still getting freeze. Bro can u tell your device specification. Thanks bro.
[Zenfone 5 Android Development] pakpenyo:
A500CG, 2560, 1.6ghz, 16gb rom, 2gb ram. WW IDA (Indonesia).

I already trying all method for unlock, all version, and none of them worked with RR. I'm really sorry to say this, but now i'm sure this issue come from rom or kernel, not bootloader. You can check my post at this thread, most of them is about freeze issue [emoji12]
[Zenfone 5 Android Development] quanganh2627:
I provided some useful link to setup environment machine early, then recommend you have a look at them. Another useful thread: http://xdaforums.com/showthread.php...E] Android ROM Development From Source To End
[Zenfone 5 Android Development] desolator143:
Not rooted?

I guess the version Beta7.2.2 given in the first post isn't rooted. Can you guys tell me how to root this?

Or is it already rooted?
[Zenfone 5 Android Development] tank0412:
Yeah. But if my memory does not fail me, you should manually enable root in the Developers Settings.
[Zenfone 5 Android Development] Kyo.:
Disable CPUs can bring more lasting battery?

It could cause the CPU to sleep without having to do so by Kernel Adiutor? (Disable automatically)
[Zenfone 5 Android Development] syafiqpeot:
I think yes..set the profile for the kernel auditor and put the shortcut widget kernel auditor in your desktop phone..i disable 2 core for save battery but in 2 core mode the camera can not be use.
[Zenfone 5 Android Development] Kyo.:
Yes, I am aware that the camera will not operate. But if disabled according to the need not have this problem.

Any developer or those who know tell me if it is possible to do this in our Intel chips?
[Zenfone 5 Android Development] quanganh2627:
For what? 1 core, 300Mhz? is this ZenFone or Galaxy Y ? BTW, i think our ZenFone didn't compatible with BFQ, since I have no time to playing A8 for a long time, but yesterday I played it for a while. It's terrible, lags and freezes. but when i set back to CFQ, then it runs better very much, still has a little bit of lags st,but no freeze anymore. So although CM recommend it but i will revert back to stock kernel's build config later.
[Zenfone 5 Android Development] Ghi98:
Any news about update ?
[Zenfone 5 Android Development] XHook:
Rom which you have an interest that is ported to Zenfone 5?

http://xdaforums.com/zenfone-5/help/rom-ported-to-zenfone-5-t3289589
[Zenfone 5 Android Development] LuanHalaiko:
can you please stop spamming this message? we alwery know that post, try to port slim rom, so start the work hehe :good:

---------- Post added at 02:54 AM ---------- Previous post was at 02:40 AM ----------

Oh yeah, when android 6.0 is tried to be ported or compiled to zenfone 5 it always stuck on OEM logo becouse of kernel, did the kernel got any errors in building process? If kernel don't, the rom is probally giving the OEM logo for ever, it can be a file that is "currupted", this is my ideia of why is not booting, I think we need to compile cm 13 first, becouse RR 5.6.0 is based on it, and the rom AICP have a source of marshmallow 6.0 x86 without repo here http://xdaforums.com/showpost.php?p=63450681&postcount=7 I belive it will be easyer to port, and thanks [MENTION=5875920]tank0412[/MENTION] [MENTION=5392204]quanganh2627[/MENTION] and other devs for the awesome roms that we have today
[Zenfone 5 Android Development] RevanEphys:
I like how you to make people to get motivated but can you please read again before sending ? ;) the typo kinda bugs me :p sorry for the inconvenient :D
[Zenfone 5 Android Development] adamilmanns:
oh. but i thinks quangan was use knonenull kernel on beta 2 and 3.
[Zenfone 5 Android Development] ChungVan:
hey , first thank you for builded CM12.1 rom , i really like this rom.Second, i using CM12.1 of you with kernel stock , it really good , no problem just something lag , hope you continue build CM rom until have official. Sorry my bad english :D

♬ •♩ ·.·´¯`·.·♭•♪*Spirit of Ectasy*♪ •♭·.·´¯`·.·♩ •♬
[Zenfone 5 Android Development] knoneNull:
can you give me the link of that kernel then i try to rebuild
[Zenfone 5 Android Development] adamilmanns:
wait. im on uploading
[Zenfone 5 Android Development] knoneNull:
i message you can you test
[Zenfone 5 Android Development] quanganh2627:
I clone yours source, and others side, I try to test with source downloaded from Asus too, separate dir of course. And use T00F_defconfig.

Yes. After finish, I get extractly all of them

Some lines in logcat : OpenServices: drmOpen failed. I do some researches, and I found that compiled modules were not signed yet,
[Zenfone 5 Android Development] knoneNull:
about compile modify i just disable the signature check and use the match localhost version of stock version because before

i don't know this .dep and .bin to be build so try to check the AndroidKernel.mk and there is the solution is to duplicate or copy the some localhost to my build kernel

okey i know the problem about drm we need make the graphics driver to be build in wait will build again with build in sgx graphics driver

it need to be changes

https://github.com/zenfone5/android...ules/intel_media/bld/clovertrail/sgx/Makefile

obj-m += $(DRIVER_NAME).o -> obj-y += $(DRIVER_NAME).o

https://github.com/zenfone5/android...ules/intel_media/bld/clovertrail/pnw/Makefile

obj-m += $(DRIVER_NAME).o -> obj-y += $(DRIVER_NAME).o

https://github.com/zenfone5/android...aphics/sgx/services4/srvkm/env/linux/osfunc.c

make CAP_SYS_MODULE tobe -> CAP_SYS_ADMIN

wait i build again
[Zenfone 5 Android Development] haitaczizi:
Thanks [MENTION=6149972]knoneNull[/MENTION] for supporting us :), hope have new features and reduce bugs
[Zenfone 5 Android Development] knoneNull:
thanks i hope quangan can fix some problem :)

2nd build

https://basketbuild.com/filedl/devs?dev=knone&dl=knone/Kernel Zenfone 2/2new_boot.img
[Zenfone 5 Android Development] haitaczizi:
Cant boot, stuck at splashscreen :(
[Zenfone 5 Android Development] knoneNull:
i send pm lets talk in private message
[Zenfone 5 Android Development] quanganh2627:
Tks [MENTION=6149972]knoneNull[/MENTION] a tons, i rebuild later.

And as i said early, RR rom can fix graphic modules to play A8 as well, but here not a new build, just small fix for beta5 https://drive.google.com/open?id=0BwEWY6gMvYOeWjRhS3Z3S3U3MDQ

And here's a small diffirence with above: (ingrated gapps inrom + try some Asus ported) :https://drive.google.com/open?id=0BwEWY6gMvYOedEljMS13VEVJNGc

NOTE: the link below is very big (580MB), so DONT USE adb method to flash, only flash it via TWRP like normally (Copy to phone Internal/external storage, then boot to TWRP then choose install to flash it. I want to say one more time, no need to wipe data, i dont nkow why, but "dirty-flash" give you a better performance, especially if you switch from Stock, unless you ahve real bootloop- after 15-20', it still at RR logo.)

Maybe this week i cant release a new build, coz i very busy, then keep patient to test , found a bugs then post here:laugh:
[Zenfone 5 Android Development] kunalshah912:
can i install it over beta 5 first build ?? or do i have to wipe data ? also i wanted to tell you [MENTION=5392204]quanganh2627[/MENTION] i tried beta 5 first build with gapps and not with vibration fix and it worked well......:) the boot loops during incoming call decreased, but still present ! also felt a bit stable!
[Zenfone 5 Android Development] quanganh2627:
Yes, it's all you need to do, and i say many times early, i don't recommend you do a wipe. I tried to build RR compatible as closest as i can. It's my question for your question a few day ago (sr for my late), "why I re-use stock-kernel". Another answer is I can't build a kernel by myself:p

You still have reboot issue? Really? I test it for 6 days now, and no face it once more time, but i confirm it slower than beta 2, thats all.
[Zenfone 5 Android Development] haitaczizi:
Slow is graphic bugs, when laggy happening, test antutu you can see low fps(7-13) and bad mark
[Zenfone 5 Android Development] pakpenyo:
So, i reflashed my RR beta 5 with fastboot-4013.img, dnx from stock LL and ifwi fromhttps://github.com/sigo/asus-zenfone-5-root/, then wipe dalvik. And now i'm using dclick-gps.

Now my RR beta 5 is better, only one or two freeze when playing 8 Pool Bal (i'm trying 2 hours non stop play). Trying install xposed, greenify, amplify, appsopsxposed. And install Nicholas Dark Material Themes. No lag animation (antutu 23464), beauty UI, MX Player and Youtube can play video, smooth vibration.

Thanks again for the great rom. I hope with [MENTION=6149972]knoneNull[/MENTION] in here, [MENTION=5392204]quanganh2627[/MENTION] can make this better.

Sent from my ASUS_T00F
[Zenfone 5 Android Development] blackstar55:
RR is awsome

All asus camera featurea work?

Why integrate gapps, we already have gapps downloaded its a pain downloading big files. Maybe you should make gapps and rom separate.

Just ang opinion.
[Zenfone 5 Android Development] omercicek43:
Is there any option to connect pc as a mass storage?
[Zenfone 5 Android Development] omercicek43:
I will test it too and i'm using boot-stock named kernel right now and its really good, no more lag and also battery is better then others.

here it is what im talking about https://drive.google.com/file/d/0Bzq2BW910nt8SEVHWFg2amw1ZzA
[Zenfone 5 Android Development] gumelaragum:
In me... Theme can't install sir... Use 540 MB
[Zenfone 5 Android Development] XHook:
I am not posting spam I posted in a 4 topics of the so rom link as I had to delete I had to create another topic, and edit the post
[Zenfone 5 Android Development] LuanHalaiko:
I do not speak english very well, thats why I wrote like this :/
[Zenfone 5 Android Development] adamilmanns:
[MENTION=5392204]quanganh2627[/MENTION] i tried to compile kernel. I unpack your kernel and replace bzimage with mine then pack. Its not booting. Stuck at OEM logo/splash screen. Hahahaha
[Zenfone 5 Android Development] tank0412:
You forgot to copy your modules in lib folder.
[Zenfone 5 Android Development] LuanHalaiko:
Do overvolt will be ever possible in zenfone 5? and will it bring more performance if overclock the cpu to 2.0ghz with overvolt? why it is so hard to do this?

and its possible to

unlock

the gpu clock? like, to set new governors, set the frequency
[Zenfone 5 Android Development] eragon21:
Not a good idea to overvolt. This is not a PC. Even if it's possible, it's risky. Even if one CPU can be overvolted to push to 2Ghz that doesn't mean it's possible in all chips. if a particular CPU sample is not good, you risk frying the CPU. Also, why would you do that in ZF5? battery is already bad.
[Zenfone 5 Android Development] LuanHalaiko:
--------A Friend mine shared with me :)---------
[Zenfone 5 Android Development] adamilmanns:
My first kernel. But this just from Asus source. So doesnt have double tap for wake up, no UC,OC. (Will add later)mybe

[MENTION=5875920]tank0412[/MENTION] can u add on OP

https://drive.google.com/file/d/0BwzvmnP6Q7x9MUhLX3pISEJ5dGc/view?usp=docslist_api

Thanks to [MENTION=5392204]quanganh2627[/MENTION] [MENTION=5875920]tank0412[/MENTION] [MENTION=2388665]TheSSJ[/MENTION] and more.