yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] devilboynv:
FOLLOW THIS IF YOU WANT TO INSTALL CM12.1 PROPERLY :-

Try getting back into bootloder and

download the attached file FROM THIS LINK :- http://xdaforums.com/attachment.php?attachmentid=3400340&d=1436639197

and extract it on your desktop and open that folder and click on START.cmd and then connect your phone.

now flash the fastboot.img by typing fastboot flash fastboot fastboot.img

then type fastboot reboot-bootloader after that

type fastboot flash dnx dnx_fwr_ctp_a500cg.bin

then type fastboot flash ifwi ifwi_ctp_a500cg_unlock.bin

then type fastboot reboot-bootloader

now your bootloder is unlocked properly

i assume that you have downloaded the cm12.1 auto installer.zip file extart that and copy the boot-new.img and system-new.img from that folder to

the unlock bootloader folder which you downloaded before and then

make sure you are still connected your phone to your pc

now type fastboot flash boot-new.img

then then type fastboot flash system-new.img

wait for sometime and after completion type

fastboot erase cashe then type

fastboot erase userdata (you may get FAILED ERROR ON THIS COMMAND. dont worry )

then type fastboot reboot

thats all your phone will take some time for the first boot

BUT IF YOU WANT TO REVERT BACK TO STOCK FIRMWARE FOLLOW THIS METHOS:-

download the adb setup folder from this link :- https://drive.google.com/file/d/0B8V...ew?usp=sharing

copy it and extract it on your desktop

and download this stock kitkat firmware:- http://dlcdnet.asus.com/pub/ASUS/ZenFone/A500CG/UL-ASUS_T00F-WW-2.22.40.53-user.zip

IF THE LINK IS NOT WORKING DOWNLOAD IT FROM THIS LINK ....SEARCH FOR WW-2.22.40.53 :- http://www.asus.com/Phone/ZenFone_5_A501CG/HelpDesk_Download/

and after downloading place the .zip file in the adb folder

open that adb folder and click on START.cmd now connect your phone with your pc !

- GO INTO BOOTLOADER FLASH THE stock 2.22.40.53 recovery by typing fastboot flash recovery 2.22.40.53-recovery.img press enter!

- THEN FLASH THE stock fastboot 2.22.40.53 fastboot by typing fastboot flash fastboot 2.22.40.53-fastboot.img press enter!

- then reboot into recovery by selecting the recovery option in the bootloader by navigating using your volume keys and selecting using the power button !

-when you are in recovery press [ volume up + volume down + power button ] it will show the recovery menu

then from that select option adb sideload

make sure that you connected your mobile to your pc

and now type again adb sideload UL-ASUS_T00F-WW-2.22.40.53-user.zip press enter wait for it to complete !

your phone will take time to reset it will lock your bootloader and revert your mobile back to stock kitkat !

then after completion you can update your phone to lollipop if you wish! :good:
[Zenfone 5 Android Development] DarkFrenzy:
How many hours do u have remaining in normal usages or stabdby

I have 18 hours

in stock lollipop I have 2 days

A big difference from 2 days to 18hrs I m going to stock lollipop
[Zenfone 5 Android Development] vuquanghai:
Could you tell me how to debrick?
[Zenfone 5 Android Development] tank0412:
Use this:

http://www.asus-zenfone.com/2014/11/how-to-unbrick-zenfone-5-and-zenfone-6_8.html

Then you can try install CM 12.1 and maybe all will be work OK.
[Zenfone 5 Android Development] vuquanghai:
OK. Let me try then repord to you :)

I'm using CM12.1. After debrick, do i need to reinstall CM?
[Zenfone 5 Android Development] tank0412:
It is optional. Do what you want,
[Zenfone 5 Android Development] mpguchii:
' Flashing CM 12.1 (second build)
'
'
'
sending 'boot' (10403 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.000s
sending 'system' (851581 KB)...
FAILED (command write failed (No such device or address))
finished. total time: 0.000s
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 30.003s

I tried tom reinstall CM12, but not working.
[Zenfone 5 Android Development] themonyo666:
can u work for 500cl? i wish someone work for 500cl [emoji17]
[Zenfone 5 Android Development] tank0412:
Bootlaoder is locked and you gadget is unpopular so i think that Asus do not provide bootloader unlock for your phone.

Bootloader unlock is necessary for custom roms.
[Zenfone 5 Android Development] jashmon:
from where do you get droidboot.img of stock lollipop firmware .60 ? :)
[Zenfone 5 Android Development] themonyo666:
my poor android [emoji22] hopeless for custom rom..
[Zenfone 5 Android Development] chatian18:
need help, how to unmount otg?

---------- Post added at 06:23 PM ---------- Previous post was at 06:19 PM ----------

But the only problem you cant use external storage for the camera.
[Zenfone 5 Android Development] Ghi98:
How s about battery life in the latest build and kernel ?
[Zenfone 5 Android Development] tank0412:
Guys, if you install this old kernel by Tran Huu Tin (https://yadi.sk/d/ccE2jdOOhwmvN), battery drain will disappear and battery backup will become much better but double-tap-to-wake-up will stop working.
[Zenfone 5 Android Development] robteix:
[MENTION=6149972]knoneNull[/MENTION], first of all, thank you for the work! Really impressive. That said, the camera doesn't work at all on T00J ac501g. Blank screen with the back camera and crash when switching to the front one. Tried several camera apps. Any ideas? Could it be a difference between your T00F and the T00J?

Anyway, thanks for the effort again.
[Zenfone 5 Android Development] MR.SHEKHARROY:
I too have a tooj model but both of my camera working properly :)
[Zenfone 5 Android Development] dan3840:
battery performance actually improves even the performances in general, only the memory card fails to recognize
[Zenfone 5 Android Development] waynerog:
i think new bug appear on v 5.1 , and the v 4.2 is better in performance ? . or maybe there's a way to reduce the lag on v 5.1?
[Zenfone 5 Android Development] condition_svk:
in system/libs is different libcameraservice.so file than the original stock FW so I think thats the problem but not sure
[Zenfone 5 Android Development] darkfrang0:
freezing error, help

great job !! most have multiple people in error, random freezing.

Please help us :(
[Zenfone 5 Android Development] skghosh.mail:
I want to share something with you guys with the hope of learning if you have ever faced this kind of issue. Every time i install or update TWRP (by flashing the recovery image in droidboot) i end up with the dreaded usb logo sign after reboot from droidboot. No matter how many times I try to boot into system, i end up with the usb logo. The way out of this circle is to boot into recovery from droidboot and then reboot from there. Then everything goes back to normal.

Weird! Isn't it?
[Zenfone 5 Android Development] jimmys121979:
can we install xposed with cm12.1 ?
[Zenfone 5 Android Development] mshazrul82:
Once usb icon appear hold power and vlume up once then recovery appear
[Zenfone 5 Android Development] des i gner:
but the sd card is not recognized:(

---------- Post added at 05:17 PM ---------- Previous post was at 05:10 PM ----------

Here you go, this is the fixed build prop flashable via twrp recovery not need to configure permissions

TWRP? link, please
[Zenfone 5 Android Development] gumelaragum:
[Old Bug Info]

[Old Bug Info]

- can't deactivate SIM,

- when airplane mode on, then off that, signal loss, must search network manually im setting, to fix that,

---------- Post added at 05:29 PM ---------- Previous post was at 05:24 PM ----------

http://xdaforums.com/android/development/recovery-twrp-2-8-6-0-asus-zenfone-5-t3136263
[Zenfone 5 Android Development] jimmys121979:
i prefer a better battery performance than the double tap. the knonenull kernel has a very bad battery performance!!!
[Zenfone 5 Android Development] marcoartioli87:
hi sir, how can i flash this kernel? i try with the command "fastboot flash boot boot-fix.img" but it say me: waiting for device.... thank's
[Zenfone 5 Android Development] tank0412:
Type this: adb reboot-bootloader then type this: fastboot flash boot boot-fix.img
[Zenfone 5 Android Development] jimmys121979:
your phone wasn't connected thats why waiting for device
[Zenfone 5 Android Development] darkfrangox:
xposed

xposed CM 12.1

h t t p s :// drive.google.com /file/d/0B-7PkXH153ExM2hCMmVqUmY3cms/view?usp=sharing

remove space
[Zenfone 5 Android Development] marcoartioli87:
i've flash the v5.1 and the touch doesn't work in anyway... i restore an old backup (i think the v4.2) and i flash the kernel boot.fix and now the phone is very smooth and fast :)
[Zenfone 5 Android Development] jimmys121979:
this is the best kernel until now
[Zenfone 5 Android Development] kheniu:
Can u give link to kernel boot.fix ?
[Zenfone 5 Android Development] marcoartioli87:
https://yadi.sk/d/ccE2jdOOhwmvN
[Zenfone 5 Android Development] jimmys121979:
just take the kernel from the rom file.. i do it like that
[Zenfone 5 Android Development] knoneNull:
Test this new kernel boot-3.img

https://drive.google.com/file/d/0B05UM2q8MdJFeWxOWVBYMThjUjA/view?usp=sharing

fastboot flash boot boot-3.img

We got some report Freeze happen if your bootloader is KITKAT version

make sure your bootloader is UNLOCK and flash this LOLLIPOP bootloader

https://drive.google.com/file/d/0B05UM2q8MdJFX1VGSUlSUDM1T0k/view?usp=sharing

fastboot flash fastboot droidboot.img

dont ask for my support if you came from other kernel port my kernel source and use the ramdisk inside the kernel

source

https://github.com/zenfone5
[Zenfone 5 Android Development] omercicek43:
i will report

edit: its not the fix for "lag" but this is it https://yadi.sk/d/ccE2jdOOhwmvN. could you look to that why its havent that issue
[Zenfone 5 Android Development] LucioB16:
Cm 12.1 zf5

What does this boot.img fix?
[Zenfone 5 Android Development] des i gner:
Can give me TWRP link? Thanks
[Zenfone 5 Android Development] knoneNull:
fix proper permission on root / *.rc files

more permissive way to avoid SELinux denials

-rwxrwxr-x system system 676432 2015-08-06 15:11 init
-rw-r--r-- system system 8279 1970-01-01 08:00 init.a500cg.usb.rc
-rw-r--r-- system system 2384 2015-08-06 11:47 init.avc.rc
-rw-r--r-- system system 558 1970-01-01 08:00 init.bt.rc
-rw-r--r-- system system 525 2015-08-06 11:48 init.bt.vendor.rc
-rw-r--r-- system system 7015 2015-07-06 15:39 init.cm.rc
-rw-r--r-- system system 11518 2015-08-07 07:55 init.common.rc
-rw-r--r-- system system 583 1970-01-01 08:00 init.compass.rc
-rw-r--r-- system system 126 2015-08-05 19:01 init.config_init.rc
-rw-r--r-- system system 1047 1970-01-01 08:00 init.debug.rc
-rw-r--r-- system system 460 2015-08-05 17:41 init.diag.rc
-rw-r--r-- system system 1159 2015-07-27 14:49 init.environ.rc
-rw-r--r-- system system 109 2015-08-04 16:05 init.firmware.rc
-rw-r--r-- system system 4321 1970-01-01 08:00 init.logtool.rc
-rw-r--r-- system system 4392 2015-08-05 19:03 init.modem.rc
-rw-r--r-- system system 21618 2015-08-05 18:33 init.rc
-rw-r--r-- system system 1755 2015-08-06 11:48 init.recovery.redhookbay.rc
-rw-r--r-- system system 30617 2015-08-07 07:19 init.redhookbay.rc
-rw-r--r-- system system 330 1970-01-01 08:00 init.superuser.rc
-rw-r--r-- system system 1927 1970-01-01 08:00 init.trace.rc
-rw-r--r-- system system 3821 2015-07-27 15:01 init.usb.rc
-rw-r--r-- system system 436 1970-01-01 08:00 init.watchdog.rc
-rw-r--r-- system system 976 1970-01-01 08:00 init.wifi.rc
-rw-r--r-- system system 1188 2015-07-28 19:28 init.wifi.vendor.rc
-rw-r--r-- system system 382 2015-07-28 19:28 init.wireless.rc
-rw-r--r-- system system 269 1970-01-01 08:00 init.zram.rc
-rw-r--r-- system system 301 1970-01-01 08:00 init.zygote32.rc

this is not sure if this is proper permission if there any body can confirm in your other devices which running cm12.1 is this below right permission for selinux?

[COLOR="red"]-rw-rw-r[/COLOR]-- system system 788 2015-08-06 16:55 [COLOR="Red"]seapp_contexts[/COLOR]
[COLOR="red"]-rw-rw-r[/COLOR]-- system system 61 2015-08-06 16:55[COLOR="red"] selinux_version[/COLOR]
[COLOR="red"]-rw-rw-r[/COLOR]-- system system 140280 2015-08-06 16:55 [COLOR="Red"]sepolicy[/COLOR]
[COLOR="red"]-rw-rw-r[/COLOR]- system system 10875 2015-08-06 16:55 [COLOR="red"]service_contexts[/COLOR]
[COLOR="red"]-rw-rw-r[/COLOR]-- system system 16126 2015-08-06 16:55 [COLOR="red"]file_contexts[/COLOR]
[Zenfone 5 Android Development] dgadelha:
The selinux permissions are -rw-r--r--
[Zenfone 5 Android Development] knoneNull:
ok bro thanks for inform updating

---------- Post added at 10:51 AM ---------- Previous post was at 10:13 AM ----------

this may fix battery draining a little bit

boot-5.img

https://drive.google.com/file/d/0B05UM2q8MdJFUjlzTVM4ZmtqS0k/view?usp=sharing

set manual your frequency to interactive or ondemand to save battery

on boot frequency set to performance

fix permission or root /

remove hot-plug on/off screen
[Zenfone 5 Android Development] Inquiad Raad:
I flashed the rom using auto installer. Then flashed lollipop droidboot.img, but then the phone won't boot. The USB sign appears.
[Zenfone 5 Android Development] chatian18:
reflash boot.img.
[Zenfone 5 Android Development] abhishek0704:
guys i want to share my experience on this build of cm

Asus Zenfone 5 501cg 2gb

how i installed it:

i was on stock lollipop by asus. i unlocked the bootloader.

flashed system.img (from 4 july build )

flashed boot-fix.img (from earlier build)

cleared cache..rebooted

every thing works fine...camera,music,root, themes,butter smooth...all my data and apps remained intact..every app is working....all features of zenfone camera are working...all zenfone apps are working...and it has improved the battery back up a lot..must say a good work by the developers...
[Zenfone 5 Android Development] NotTheAmericanAverage:
I'll give it a try, thanks for listening to our problem knone. great work, appreciate it so much :)
[Zenfone 5 Android Development] icesunc:
it's awake all times.

my device has no deep sleep. please help me. :(

when it lock screen,battery drain.
[Zenfone 5 Android Development] haitaczizi:
Anyone flashed boot5.img please answer me that A500CG lag exist? Graphic improve?
[Zenfone 5 Android Development] knoneNull:
no grapchis still a problem
[Zenfone 5 Android Development] icesunc:
my device has no deep sleep. please helpppp !!! :crying:
[Zenfone 5 Android Development] napskin16:
Me too, don't have deep sleep. Device is always at lowest frequency (800)
[MENTION=5140765]knone[/MENTION] Just wanna ask if boot5.img has fix in unresponsive touch while playing skyjump in Pou app?
[Zenfone 5 Android Development] Inquiad Raad:
Thanks. It booted. I'll report if the freeze fixes or not.
[Zenfone 5 Android Development] NotTheAmericanAverage:
me too, my phone is always awake. battery usage info shows that my Awake bar is constant, I don't know what keeping my phone awake n I don't have any apps installed yet =.="

but, I've flashed boot-5.img, I will see if there's some improvement or not
[Zenfone 5 Android Development] ChungVan:
wifi not work

" turning Wifi on ..." :( help me
[Zenfone 5 Android Development] nattapan8:
thx very much for cm12.1 v5.1 :o:o until wait for new version for fix bug sry for my english
[Zenfone 5 Android Development] 9Teen:
i can't boot to fastboot after installed boot-4.img

please help.

Thx.
[Zenfone 5 Android Development] nattapan8:
me too :confused:
[Zenfone 5 Android Development] knoneNull:
try this stock kernel maybe save your problem

https://drive.google.com/file/d/0B05UM2q8MdJFWFltYVl5R0FMa0E/view?usp=sharing

i don't test it so don't ask for this

and im also busy if you need something here the source https://github.com/zenfone5
[Zenfone 5 Android Development] condition_svk:
if someone brick phone hard :D

there is good solution if you cant get in fastboot :)

http://www.asus-zenfone.com/2014/11/how-to-unbrick-zenfone-5-and-zenfone-6_8.html
[Zenfone 5 Android Development] Inquiad Raad:
Still screen freezes. Need an authentic way to fix this screen freeze.
[Zenfone 5 Android Development] gumelaragum:
If anyone have a lag for the graphics, try to clean install, flash the boot n system, and then erase the cache and userdata, in fastboot mode,

Now, my phone no more lag, (don't install the busybox, it can lag the graphic),

If you use auto installer v5.1 from [MENTION=5875920]tank0412[/MENTION], just flash again the fastboot4013 to lastest droidboot from stock rom

About screen freeze, just flash the fastboot to the lollipop droidboot stockrom, you don't have no screen freeze...

Until now, when I use the lastest CM12.1 build, the bug :

- sometime when turn on wifi just stuck in ”turning on wifi" < must reboot to fix this

- can't deactivate sim

- when airplane moden turn on, and then off, signal loss, must search network manually in setting,

- battery drain ( I think the developers of the Stockrom don't fix yet until now), it's classic problem...

Thanks for all developers, shakalaca, edwin adato, thuutin, knone, and many more...

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

If you still screen freeze after flash the droidboot, clean install your CM12.1 and in the autoinstaller.bat, edit that, before fastboot reboot you have to add :

Fastboot reboot-bootloader

Sleep 20

Fastboot flash boot droidboot.img

Sleep 5

Fastboot rebot

Put the droidboot.img to the files folder of autoinstaller,

I mean, you must flash the fastboot to the lastest droidboot.img stockrom before the first boot of clean install your rom
[Zenfone 5 Android Development] blinoff82:
I should to flash droidboot.img from last stock rom .60?
[Zenfone 5 Android Development] gumelaragum:
I think .40, because the custom kernel source is from .40
[Zenfone 5 Android Development] Inquiad Raad:
Did you ever face the screen freeze issue yourself? Cause I tried everything you said and more. Still the same.
[Zenfone 5 Android Development] tank0412:
But we do not have .40 firmware.

We have 3.23.40.52 and 3.23.40.60.

Maybe it does not matter what you should flash.
[Zenfone 5 Android Development] blinoff82:
What you mean? This?

This is not a firmware version, this version of the kernel source code.
[Zenfone 5 Android Development] rishiud:
Mass Storage Full in notfication

i don't know about other thing...

plzzz sole this issue :silly::silly:
[Zenfone 5 Android Development] R04N:
After flashing boot-3.img and droidboot.img I can't access bootloader,when I write "adb reboot bootloader" the phone restart and it shows usb logo. Trying power + volume up boot up normally.

How can I fix this problem?
[Zenfone 5 Android Development] hackarajer:
[MENTION=5403377]rishiud[/MENTION] see this: http://xdaforums.com/showpost.php?p=62186553&postcount=686
[Zenfone 5 Android Development] Redaki:
My biggest problem at this build is graphic lag. Tested some 3d games and fps very low, and it seem like blocked at about 30fps and lower. I'm sure that previous build not has this problem.After read your post i try uninstall busybox, restart again but problem still there.

And one more thing, after edit build.prop due to full storage problem, my phone cant connect to pc to use file explorer.

That all bugs i face to until now, any help about graphic lags ??
[Zenfone 5 Android Development] vuquanghai:
If i flash droidboot of Lolilpop version in order to fix screen freezing problem, problem fixed, but i can't touch to anything. It seem my device doesn't respond to my touch gesture.

My English not so good :D
[Zenfone 5 Android Development] hackarajer:
I think that's good if you erase cache and data.

Test flash this kernel too: h t t p s : / / drive.google.com/file/d/0B1bdyNT6GF1rQVhXek1jWVJUMGc/view

(remove spaces before load the link above)
[Zenfone 5 Android Development] NotTheAmericanAverage:
my biggest problem is battery drain, I don't know how to deal with this issue, I did everything I can, xposed module, greenify, amplify, boot manager, wakelock detector (even I don't have any apps installed yet & even greenify doesn't know what app to hibernate coz I don't have any apps installed =.=" ), the battery still drains fast.. my Awake bar in battery information shows a constant awake. help please :)
[Zenfone 5 Android Development] absck:
to fix the Storage issue

Sir, should i just replace the build prop file in the system with this one??
[Zenfone 5 Android Development] vuquanghai:
I forgot one more thing. If flash Lollipop droidboot, i can install TWRP and CM, but can't boot into them. The USB sign appears.:crying:
[Zenfone 5 Android Development] wallton777:
I installed SpiritF that has radio fm functions but when I start it it says that maybe the needed driver are not in the kernel. Ken somebody tell what can be done for this problem?

Also the official fm radio app fail to start. :confused:

-----------------------------------------------------------------------------------------

Camera app work very well but only if don't send offline one of the core of cpu.

I have v.4.2 of autoinstaller.:D
[Zenfone 5 Android Development] absck:
To fix the storage issue.

Sir, Should i just replace the build prop in the system with this one to solve the issue?

Thanks in advance.
[Zenfone 5 Android Development] wallton777:
no just add the line at the end of the file
[Zenfone 5 Android Development] Maniloveo:
GPS NOT working

Please fix gps ... i have flashed boot-5.img.. as far its okay not freezed yet ... but from begining my gps doesnt work... :(:(:(:(:(
[Zenfone 5 Android Development] absck:
sorry to bother you again, but can you state the line? you can tell me the starting point to ending point.

Thanks
[Zenfone 5 Android Development] wallton777:
it is in the posts above somewhere. [emoji1]
[Zenfone 5 Android Development] hackarajer:
You have to turn off the device and press volume up button + power. Stay pushing power button after asus logo appears during 2 or 3 seconds. Release power button but stay pushing volume up button to droidboot boot up.
[Zenfone 5 Android Development] vuquanghai:
And? If i can't boot into CM, then go to droidboot for what?
[Zenfone 5 Android Development] haitaczizi:
[MENTION=6149972]knoneNull[/MENTION] i think you should unpack huutin boot to fix graphic now, because his boot doesnt have this bug :D
[Zenfone 5 Android Development] hackarajer:
I think to solve the random freezing screen problem is necessary modify ifwi_ctp_a500cg.bin, because the ifwi_ctp_a500cg_unlock.bin is incompatible with many zen5 variations or have an error in this self.
[Zenfone 5 Android Development] Redaki:
Anyone still keep v4.2 auto installer ? Or saved google drive link ?, i want go back that build. Battery and graphic lag is annoying :crying: Hope knone null fix this soon :(
[MENTION=5875920]tank0412[/MENTION] can you give me v4.2 google drive link :confused: pls pls~
[Zenfone 5 Android Development] gumelaragum:
Sorry. I forget, I mean the droidboot image from knone...

---------- Post added at 04:25 PM ---------- Previous post was at 04:23 PM ----------

Yes, I dit it, I edit the auto installer n I Clean Install the rom, but not install busybox

---------- Post added at 04:26 PM ---------- Previous post was at 04:25 PM ----------

Sory I forget, droidboot from knone

---------- Post added at 04:29 PM ---------- Previous post was at 04:26 PM ----------

Have TWRP Recovery, try to flash bootloader from recovery,

---------- Post added at 04:39 PM ---------- Previous post was at 04:29 PM ----------

Thanks for the hard work
[Zenfone 5 Android Development] darkfrangox:
very good

really the problem is this. it informed the TRAN HUU