yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 General] a8962383:
Camera black out

I have tried each and every custom roms available for zenfone 5 till now. So far, this the most stable one. A big clap for [MENTION=6292495]dgadelha[/MENTION]. Everything is working fine except the camera. None of the custom roms could make the camera working including this one too. I flashed the rom properly following each and every steps but camera remains as black screen. When the flash is on, it captures images but without flash, it takes blank/black images. Front camera doesn't even work for me. It says "Camera error - Can;t connect to the camera." Hope, you will come up with a fix. Good luck!!! :good:
[Zenfone 5 General] vivek2viv:
[MENTION=6292495]dgadelha[/MENTION] the screen lock issue comes when mobile data is on. no problm with wifi. Its confirmed
[Zenfone 5 General] a8962383:
Right u r.......i found the same.
[Zenfone 5 General] aditya510:
Download 'mediaserver killer' from play store and kill mediaserver and check if it helps. :good:
[Zenfone 5 General] a8962383:
nope, it didn't.....:(
[Zenfone 5 General] ChristopherXI:
Nah. I manually configured it by myself

Thank you anyway :)
[Zenfone 5 General] Kyo.:
I use data mobile and have no problem. You know me specify what realmento happen! And when it happens? Simply lock the screen?
[Zenfone 5 General] herbert_15:
Flashable zip

Please create a flashable zip for TWRP

I really want to test but I'm no PC

G8 work :good:
[Zenfone 5 General] arieph7x:
The rom is very stable ... Multitasking without lag....but screen lock and wake going crazy when signal Got "E"

Here logcat https://drive.google.com/file/d/0B6Ks1FhpWaqzVHdDY0hPaHRHQjQ/view?usp=sharing
[Zenfone 5 General] aPISUPORTE1:
D2TW

why not have d2tw in enforcing kernel?:confused:
[Zenfone 5 General] dgadelha:
Because a strict SE Policy (Enforcing mode) denies system access to the dt2w control

I'll fix that yet, but it's low priority

It's yet the MultiDisplay issue, you're using the latest build?

03-15 22:35:36.304 I/DisplayManagerService(547): Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 720 x 1280, 60.000004 fps, supportedRefreshRates [60.000004], density 320, 290.327 x 290.913 dpi, appVsyncOff 0, presDeadline 17666666, touch INTERNAL, rotation 0, type BUILT_IN, state OFF, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
[Zenfone 5 General] aPISUPORTE1:
Recovery

why shows " E: Unable to locate page ( system_readonly ) " when will install something on recovery ? :confused:
[Zenfone 5 General] abw_bw:
I use theme for twrp and allows system modification, its work
[Zenfone 5 General] dgadelha:
Sorry but I'm not giving support for TWRP recoveries.

You should contact the recovery developer.
[Zenfone 5 General] arieph7x:
Yeah im using lastest build 14032016...using kernel 14032016 enforcing....
[Zenfone 5 General] Ghi98:
When will the next update be out ? :)
[Zenfone 5 General] Kyo.:
[MENTION=6292495]dgadelha[/MENTION] vibration fixed?
[Zenfone 5 General] dgadelha:
New Nightly Release - 20160315

Updated Known Issues:

Random Screen Wake-Ups - PLANNED (Reason: Intel MultiDisplay) [Still affects some users]

Random Screen Locks - PLANNED (Reason: Intel MultiDisplay) [Still affects some users]

No Vibration - FIXED

Extra Changelog:

LATEST Sources

NOTE: Nigthlies paused until I find a full fix for random screen locks/wake-ups. Those are the only main bugs now.

NOTICE: Looks like the BasketBuild servers (where I host the images) are very slow at the moment of this post, if they don't fix this issue in some hours, I'll provide a mirror. Thanks!

Downloads
[Zenfone 5 General] milano88:
i found https://github.com/quanganh2627/and...er/libmultidisplay/com.intel.multidisplay.xml and https://github.com/thuutin/android_...er/libmultidisplay/com.intel.multidisplay.xml for Intel MultiDisplay
[Zenfone 5 General] dgadelha:
We already got that here

I think it's some conflict of libaries

Thanks
[Zenfone 5 General] milano88:
More stable of this ROM does not have seen so far. The latest version is just perfect :cool:
[Zenfone 5 General] milano88:
How to flash ROM in TWRP ?

1. Copy system-XXX-EXPERIMENTAL.img to your Internal Strotage ( /sdcard ) and rename to system.img

2. Download my flashable kernel images dgadelha-Kernels.zip

3. Reboot to recovery TWRP and flash compatible kernel image

4. After flahing kernel go to terminal emulator in TWRP

5. type dd if=/sdcard/system.img of=/dev/block/mmcblk0p9 and enter wait... to finish

6. After flashing system.img flash your OpenGapps

7. Go to Wipe and Swipe to factory reset and restart system

8. Final

9. Thanks :)
[Zenfone 5 General] dgadelha:
Many thanks for the contribution, this will help a lot of people!
[Zenfone 5 General] milano88:
Thanks for your hard work my friend. In the stable version I'll try to do it directly for twrp
[Zenfone 5 General] dgadelha:
Yes getting the system files is simple, just use simg2img then mount it or extract with 7zip, but the hard part is adapting a updater-script.
[Zenfone 5 General] ChristopherXI:
Nice job
[Zenfone 5 General] Ale uto:
Provide mirror download link Google drive.
[Zenfone 5 General] Ale uto:
[MENTION=6292495]dgadelha[/MENTION] xanwer kernel working in this ROM ?
[Zenfone 5 General] TechGenius:
Hi Dgadelha , its bug list where is the change log :confused:

Edit : I founded changelog :D
[Zenfone 5 General] abw_bw:
I'm trying but stuck on starting apps :confused:
[Zenfone 5 General] vinsensiusk:
Hi Dgadelha, i have an audio delay 1 sec on every games. Can you fix it?
[Zenfone 5 General] mfauzirahman:
anyone test on zenfone 6? any review?
[Zenfone 5 General] Kyo.:
Google DNS does not work

Since the build of 14 Google DNS seems 're not working .

Use VPNs to release all sites, but I just limited to Whatsapp and Telegram by Google DNS account not work :(

[IMG="Print"]http://i.imgur.com/jHQvOv8.jpg[/IMG]
[Zenfone 5 General] dgadelha:
Hi Ale,

I'll be providing a mirror soon, but won't be on Google Drive.

Thanks.

Hi Ale,

I just can give support for the kernels that I build.

Thanks!

Hi vinsensiusk

Can you tell me a game that you face a audio lag so I can take a look?

You also could try enabling "Use AwesomePlayer (deprecated)" on Developer settings, this may help!

Thanks.

Hi, this will probably work on Zenfone 6, you can give a try.

Thanks.

Hi Kyo,

Google DNS servers are working, there's no problem. This can be an issue of your application.

My suggestion is for you to try the Level3 Root DNS, which are

4.2.2.1
4.2.2.2

Thanks!
[Zenfone 5 General] vivek2viv:
Hi [MENTION=6292495]dgadelha[/MENTION]....any progress in screen wake and lock issue??
[Zenfone 5 General] dgadelha:
Hi [MENTION=4998774]vivek2viv[/MENTION]

Not yet, I'm investigating yet.

Thanks.
[Zenfone 5 General] Ale uto:
OK, but can you add interactiveX governor. Thanks
[Zenfone 5 General] dgadelha:
I'll take a look.

I don't have any experience with such kernel customizing but I'll try.

Thanks.
[Zenfone 5 General] Ale uto:
OK thank you. Anyway good luck ?
[Zenfone 5 General] Edorewiel:
[MENTION=6292495]dgadelha[/MENTION] I get chromium error.

http://i.hizliresim.com/7gqAVa.png

How to fix this error ?
[Zenfone 5 General] dgadelha:
Well, looks like you have aborted a build before when it was building the library, then now it throws an error. You gotta search the obj directory for anything related to webview and chrome and delete it, then build again.

Thanks.
[Zenfone 5 General] Ghi98:
FAILED"remote: flash_cmds error" while flashing system, what can I do ?
[Zenfone 5 General] dgadelha:
Hi [MENTION=5998692]Ghi98[/MENTION]!

Can you flash this fastboot image before flashing the system?

fastboot flash fastboot fastboot-2.21.40.30.img
fastboot reboot-bootloader

After doing this you can flash the system image.

Thanks.
[Zenfone 5 General] Ghi98:
I done it but the problem is not fixed...
[Zenfone 5 General] dgadelha:
Hi [MENTION=5998692]Ghi98[/MENTION],

Can you try using the Bootloader Unlock Tool from my CyanoZenMod thread?

Thanks.
[Zenfone 5 General] Edorewiel:
Problem not fixed.
[Zenfone 5 General] dgadelha:
Hi

Try a

make clean

Or removing the "out" directory and setting up the build entirely again,

. build/envsetup.sh
lunch cm_a500cg-user
make - j16

Thanks.
[Zenfone 5 General] Ghi98:
I tried it now but nothing :(
[Zenfone 5 General] kuranzi:
I have this problem too bfore, try re-unlock the bootloader, wait untill the process finish and then restar ur bootloader, then u can try to reflashing kernel and system again, hope it help :D
[Zenfone 5 General] Edorewiel:
Please send me folder ?

out/target/product/a500cg/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates
[Zenfone 5 General] Ghi98:
Thanks, but it didn' t work...

---------- Post added at 20:12 ---------- Previous post was at 20:02 ----------

Sorry guys, I hadn' t extracted the .zip archive and i was trying to flash it without unzip. Sorry again :silly:
[Zenfone 5 General] vinsensiusk:
I'm already turn on the awesomeplayer bit still delay 1 sec
[Zenfone 5 General] dgadelha:
I'm sorry but this directory has more than 1 GB and I can't upload that.

Hi,

I need the link of an application that has this issue

Thanks.
[Zenfone 5 General] @Cracker747:
Same like me, I have Crisis Action game, after turn on the Awesome Player, the audio still delay 1 sec, please help me, Thanks xD

*Sorry for my bad English
[Zenfone 5 General] milano88:
Hi guys i successfully created flashable zip for this ROM and starting upload , after an 1 hour will be ready
[Zenfone 5 General] milano88:
Hi for all TWRP users,

Link for zip: CM-12.1-EXPERIMENTAL_a500cg-signed.zip

How to flash ?

1. Download flashable zip

2. Reboot to recovery

3. Wipe Cache, Dalvik-Cache, Data

4. Flash my zip

5. Flash Open-Gapps

6. Flash SuperSU ( optional )

7. Flash xposed-v80-sdk22-x86.zip( optional )

8. Go to Wipe and Swipe to factory reset

9. Restart System

NOTE: Using system-20160315-EXPERIMENTAL.img and bootCM-20160314-SELinuxEnforcing.img
[Zenfone 5 General] ChristopherXI:
Nice!
[Zenfone 5 General] Kyo.:
Good job [MENTION=5289472]milano88[/MENTION] :D
[Zenfone 5 General] mfauzirahman:
installed on my zenfone 6....thanks to [MENTION=6292495]dgadelha[/MENTION] and [MENTION=5289472]milano88[/MENTION] :good:
[Zenfone 5 General] Ghi98:
How can I turn on dt2w ? I am already using permissive kernel
[Zenfone 5 General] emirfahimi:
why theme per app cannot be use?and there is no double tap..btw such a nice rom!
[Zenfone 5 General] kuranzi:
Double tab is about the kernel as i know...
[Zenfone 5 General] guidoido004:
Damn, you managed to reach a higher score than i did in asus's lollipop. Have you added any mod opr tweak to [MENTION=6292495]dgadelha[/MENTION]'s CM12.1?
[Zenfone 5 General] dgadelha:
Hi [MENTION=5998692]Ghi98[/MENTION],

The Double-Tap-To-Wake feature isn't available on the latest kernel yet.

I'll build a new kernel with this feature.

Thanks!
[Zenfone 5 General] dgadelha:
New Nightly Release - 20160317

Updated Known Issues:

Random screen locking - FIXED [NEEDS CONFIRMATION: I don't have this issue, however some users says they still have]

Random screen wake-ups - FIXED [NEEDS CONFIRMATION: I don't have this issue, however some users says they still have]

Extra Changelog:

LATEST Sources (yes, everyday they are updated)

Restore DT2W on Permissive Kernel

NOTE: If the Random screen locks/wake-ups issue is confirmed as FIXED, the ROM will now enter a Stable phase. Thanks for everyone that helped to test it!

Downloads

Extra EXPERIMENTAL Feature:

This one is for the users with screen freezes. I've modified a lot a kernel ramdisk and the binary parts to help avoiding freezes.

NOTE: If your Touchscreen doesn't work entirely (like half of it) after flashing this, I'm sorry, I can't give any support for your device.

bootCM_FF-20160315-SELinuxEnforcing.img

bootCM_FF-20160315-SELinuxPermissive.img

How does this kernel works? It fakes your hardware table to imitate a fully-functional device with no freezes.

What causes the freezes? Intel.

Some testers had 24+ hours without freezes using this kernel with Unlocked Bootloader.

NOTE: If you don't have screen freezes when unlocking your bootloader, DO NOT FLASH THIS KERNEL.
[Zenfone 5 General] mfauzirahman:
nop...just normal
[Zenfone 5 General] dgadelha:
Hello guys,

Anyone has faced a random screen lock or wake-up since the last update?

Thanks!
[Zenfone 5 General] emirfahimi:
hey thanks for the zip file and also..can you update thr zip file?and can you make cyanozemod download file also in zip file?thanks in advance?
[Zenfone 5 General] arieph7x:
Downloading....
[Zenfone 5 General] R E:
still audio delay when playing Implosion : Never Lose Hope :/

and also real drum
[Zenfone 5 General] aditya510:
I just tried latest Nightly with kernel. But as soon as I installed the ROM ( In order - Kernel,ROM,flash userdata,data,cache, TWRP - Flash Gapps/Wipe Cache/Dalvik Cache). It boots, but when I have to enter Language, touch screen does not work. Please help [MENTION=6292495]dgadelha[/MENTION]
[Zenfone 5 General] vinsensiusk:
Can you make an update.zip (flash twrp if can) so we are have not do to factory reset?. Thank you
[Zenfone 5 General] Ale uto:
Do you faced any auto screen lock/wake up ? On latest build ? ?
[Zenfone 5 General] hexapent:
I flash your latest ROM (flash system, wipe dalvik/cache, wipe data, flash GApps/superSU/xposed v80 sdk22) but I don't know it's stuck at starting apps (for about 1 hour), I think I miss something. Do you know what it is? Sorry bad English

Edit :

I forget to flash the kernel :silly: trying to flash bootCM-20160317 kernel but got error "flash_cmds error!"

Sorry.. this error because I write the wrong command lol ("fastboot flash kernel") :silly::silly:

Finally it can boot :good::good:, thank you [MENTION=6292495]dgadelha[/MENTION] for the ROM and sorry to bother you :D:D
[Zenfone 5 General] vinsensiusk:
Are you done flash boot.img? The kernel
[Zenfone 5 General] TechGenius:
Hi Dgadelha , Random screen lock - wake bug is fixed , thanks , but do a more battery backup please :o
[Zenfone 5 General] FaizK:
Is it possible to fix airplane mode bug in cm based ROM?
[Zenfone 5 General] vivek2viv:
unfortunately i m still facing these waklock issue with 17th march build..when mobile data is on.. :/

update: after 2 reboots its working perfectly..no wakelocks at all...testing going on

[MENTION=6292495]dgadelha[/MENTION] is there any prblm with 17th march permissive kernal??it showed as enforcing and not getting all cpu governors that was present in old builds..but still d2tw works
[Zenfone 5 General] arieph7x:
Sadly still facing random lock wake :(

View attachment 3687618

View attachment 3687619
[Zenfone 5 General] Esk1mOo:
Can you add doubble tap to unlock?
[Zenfone 5 General] ChristopherXI:
He already added it in the Latest Permissive kernel
[Zenfone 5 General] Esk1mOo:
Okey. Thank you.

Отправлено с моего ASUS_T00F через Tapatalk
[Zenfone 5 General] arieph7x:
Does anybody got bug bluetooth headphone like me??
[Zenfone 5 General] dgadelha:
Hi,

Which kernel are you using?

Thanks!

I'll take a look. Thanks!

Not yet. But I'm researching. Thanks.

Hi,

I'm now using a Stock-based kernel (was using BORETS based kernel) to avoid screen freezes.

Thanks!

Hi [MENTION=5508708]arieph7x[/MENTION]

I'm sorry but a screenshot of a part of your logcat doesn't help.

You need to send me a full logcat in text-format

Thanks!

Hi [MENTION=7347808]tyson_catchem[/MENTION]

I'm not giving any support for TWRP recovery.

Plus, you should contact the recovery developer about this issue.

Thanks!
[Zenfone 5 General] dgadelha:
How to Enable Double-Tap-To-Wake on SELinuxEnforcing Kernel

Download a Terminal Emulator application to run the commands or use adb shell to run the following commands:

su
echo "1" > /sys/devices/pci0000:00/0000:00:00.3/i2c-0/0-0020/input/input1/dclick_mode
setprop persist.asus.dclick 1

How to Disable Double-Tap-To-Wake on SELinuxEnforcing Kernel

Download a Terminal Emulator application to run the commands or use adb shell to run the following commands:

su
echo "0" > /sys/devices/pci0000:00/0000:00:00.3/i2c-0/0-0020/input/input1/dclick_mode
setprop persist.asus.dclick 0

How to Enable Glove Mode (untested) on SELinuxEnforcing Kernel

Download a Terminal Emulator application to run the commands or use adb shell to run the following commands:

su
echo "1" > /sys/devices/pci0000:00/0000:00:00.3/i2c-0/0-0020/input/input1/glove_mode
setprop persist.asus.glove 1

How to Disable Glove Mode (untested) on SELinuxEnforcing Kernel

Download a Terminal Emulator application to run the commands or use adb shell to run the following commands:

su
echo "0" > /sys/devices/pci0000:00/0000:00:00.3/i2c-0/0-0020/input/input1/glove_mode
setprop persist.asus.glove 0

NOTE: All those commands work for SELinuxPermissive kernel too.
[Zenfone 5 General] @Cracker747:
[MENTION=6292495]dgadelha[/MENTION], DT2W and Glove Mode works for SELinux Enforcing, Thanks !

Edit : Can you fix 1 sec Audio Delay when playing some games? Thanks xD
[Zenfone 5 General] clloud77:
Very good ROM. Perfect! Not found bug
[Zenfone 5 General] aditya510:
BUG - Screen freeze after/during Calls.
[Zenfone 5 General] dgadelha:
Yes, I'm yet looking for a fix for this issue.

Thanks!

Try to disable Ambient Display / Double-Tap-To-Wake.
[Zenfone 5 General] Kyo.:
Also I have problem in BT headphones, but call works without problem, it seems to be the only media.

Thanks for the amazing ROM!
[Zenfone 5 General] dgadelha:
Well, I don't have any Bluetooth Headphone so I can't try to reproduce this issue.

But a logcat would help a lot.
[Zenfone 5 General] rashmi0733:
random freezing even after use custom kernel
[Zenfone 5 General] Kyo.:
How can I create a logcat for you?

Sorry , I'm a little novice :p
[Zenfone 5 General] ChristopherXI:
Use command "adb logcat text"
[Zenfone 5 General] Kyo.:
When possible , I bring you the logcat ;)

Good night!
[Zenfone 5 General] dgadelha:
Thanks, just a notice, to save the log directly on a txt file, use

adb logcat > logcat.txt

Don't forget to give some seconds before closing the command prompt, to allow to copy the entire log.

Thanks!

Hi,

Do you have freezes with unlocked bootloader on any other ROM?

In this case, look for my latest release post, there's a kernel special for you.

If not, well, you're the only with these issues, so I can't give support.

Thanks.
[Zenfone 5 General] iqbalaulia0:
how do I use this rom?
[Zenfone 5 General] emirfahimi:
i have a problem ..sometimes after booting my or soft reboot my screen is freeze and i have to power off my phone and start again..any solution..and amazing rom!
[Zenfone 5 General] vivek2viv:
again started facing wakelock issue with latest build :/
[Zenfone 5 General] myrul:
[MENTION=6292495]dgadelha[/MENTION] It seems that wake up and screen lock bugs also affecting lollipop stock rom and other custom rom. And yes your latest rom also have this bugs when the signal drop to 2g(edge).
[Zenfone 5 General] kuranzi:
2g random lock appear in srock rom too ? Im not facing this issue on stock, but this issue appear on rr rom, on CyanozenMod im not face this issue...
[Zenfone 5 General] aditya510:
Is there any way to use dt2w without screen freeze? I disabled dt2w and is not having freeze issue anymore but really want to use dt2w.

Latest nightly with permissive kernel.
[Zenfone 5 General] Kyo.:
[MENTION=6292495]dgadelha[/MENTION] here is the logcat BT headphones

Google Drive
[Zenfone 5 General] abhimanyu.singh:
Hi I confirm the screen lock issue when on 2g data and its very often. If we use sim1 as data sim and use 2g as data network then we get random locks. How ever if we use sim2 for the same we do not get any issues. Please see if you can do something for this.

Thanks man for the awesome rom
[Zenfone 5 General] dgadelha:
Hi

You can try using the Enforcing kernel and use this command to enable DT2W: http://xdaforums.com/showpost.php?p=65916844&postcount=317

Thanks!

Thanks Kyo! I'll be looking and searching for a fix.

Hi [MENTION=6878037]abhimanyu.singh[/MENTION]!

I'm looking for a fix for this issue.

I need some time as this isn't an easy thing to do.

Thanks!

NOTE: If anyone can help, we need a hand here: https://github.com/zf5/android_vendor_asus_a500cg/issues/1
[Zenfone 5 General] abhimanyu.singh:
I can understand bro. I just wanted you to know how to reproduce the issue. I am not asking for any ETA. please take your time. Thanks...
[Zenfone 5 General] dgadelha:
[MENTION=7347808]tyson_catchem[/MENTION]

Again, this is not a thread of support for TWRP recovery. Please contact the recovery developer to solve your issue.

If there's any other query about this, I'll ask a moderator to delete the post.

Thanks!
[Zenfone 5 General] tyson_catchem:
Sorry dude...I jst answered to the other guy's query...
[Zenfone 5 General] dgadelha:
New Nightly Release - 20160320

Updated Known Issues:

Random Screen Locks when using 2G - PLANNED

Bluetooth Audio Not Working - PLANNED

(Some users - not everyone) Audio delay on some games - PLANNED

Missing Library Files - PENDING

Extra Changelog:

LATEST Sources (yes, everyday they are updated)

Disable hardware buttons backlight setting

Cleanup the old releases

Downloads
[Zenfone 5 General] arieph7x:
Deleted
[Zenfone 5 General] dgadelha:
Right here.
[Zenfone 5 General] gusbalaa:
What is PLANNED mean ? is already fixed ? or to be fixed ?

Noob Questions , peace
[Zenfone 5 General] dgadelha:
That I'm yet researching about the issue and a fix is planned, but not confirmed.
[Zenfone 5 General] arieph7x:
Sorry slow connection... :D
[Zenfone 5 General] herecomesmaggi:
Bro, thanks for most updated and pure rom. Just a request until u have space in your please don't delete old releases. Sometimes old release works better than newest. :P :)

Also, (not a request just a suggestion) a dev of mi4i has made ota type of updates for his rom. If it is possible then it would be heaven.

Finally a huge thanks for ur effort, time and work. Loved your work as always.

Your friend, Maggi.
[Zenfone 5 General] TechGenius:
Again , Thanks Douglas , This version is soo good , battery backup is awesome :D ,Great work ,Keep working :)
[Zenfone 5 General] Parliamert:
Hey [MENTION=6292495]dgadelha[/MENTION], thanks for your hardwork.

Can you release the new builds as a flashable zip, as pre-rooted? Rooting process with the every new build is a real pain :)
[Zenfone 5 General] dgadelha:
[MENTION=5855733]Parliamert[/MENTION]

CyanogenMod is already a pre-rooted rom. You don't need to flash Supersu.

All you need to do is enable Developer settings then on Root access option select Apps or Apps and Adb

Thanks!
[Zenfone 5 General] Parliamert:
I feel like a total newbie right now :D

Thank you!
[Zenfone 5 General] gusbalaa:
agree with you. ?