yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] Krozalid:
Continuing the discussion from that, which I have already answered, what can I do to fix the camera bug and the device name? I believe both problems are related to the bootloader and/or the img file from your ZF6. Are you referring to the boot.img? If you are, how do I get ZF5's cm13 boot.img?
[Zenfone 5 Android Development] q0kHaN:
zf5 and zf6 uses same boot.img. you can get boot.img from cm13.The issue is device model. You can change every t00g to t00f in build.prop. it might be fix that
[Zenfone 5 Android Development] dgadelha:
Device Name Fix does more than just modifying T00F to T00G, as you can see here.
[Zenfone 5 Android Development] Krozalid:
Well, since both of you are here, what can I actually do to fix it? The real problem is the camera. Already tried the device name fix, which didn't have any effect from what I can see. The name of the the device doesn't really matter, as long as the camera works again.
[Zenfone 5 Android Development] q0kHaN:
you can try this command via adb shell with su privileges

mount -o remount,rw /system
sed -i 's/T00G/T00F/g' /system/build.prop
[U]rm /system/lib/libxditk_DIT_Manager.so
ln -s /system/lib/ditlib_a500cg/libxditk_DIT_Manager.so /system/lib/libxditk_DIT_Manager.so
rm /system/lib/libxditk_DIT_CloverTrailPlus.so
ln -s /system/lib/ditlib_a500cg/libxditk_DIT_CloverTrailPlus.so /system/lib/libxditk_DIT_CloverTrailPlus.so[/U]
rm /system/lib/hw/sensors.redhookbay.so
ln -s /system/lib/hw/a500cg.sensors.redhookbay.so /system/lib/hw/sensors.redhookbay.so
mv /system/bin/akmd09911 /system/bin/a600cg_akmd09911
ln -s /system/lib/a500cg_akmd09911 /system/bin/akmd09911
chmod 0755 /system/bin/akmd09911
chmod 0755 /system/bin/a500cg_akmd09911
chmod 0755 /system/bin/a600cg_akmd09911
chmod 0644 /system/lib/hw/a500cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/a600cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/sensors.redhookbay.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/libxditk_DIT_Manager.so
chmod 0644 /system/lib/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/build.prop
start akmd_a500cg

this fixs sensors but i dont know about camera. you can try copying manually camera libs on /system/lib/ditlib_a500cg/ to /system/lib/
[Zenfone 5 Android Development] killar_aka_arabu:
I'n not sure that libs from /system/lib/ditlib_a500cg are used for camera.

Edit. Copyed, and it works!!

Now only need to fix sim2 network lost
[Zenfone 5 Android Development] q0kHaN:
are you facing network lost issue on only this rom ?
[Zenfone 5 Android Development] killar_aka_arabu:
Yes, every 10-15 minutes my sim2 loosing signal, i need to reboot. Tryed fix from dgadelha thread, but no luck
[Zenfone 5 Android Development] q0kHaN:
did you tried timed modem restart ?

su
echo "1" > /data/dgadelha/modemrestart
[Zenfone 5 Android Development] killar_aka_arabu:
Yes, no changes.. After 15 min modem restarts, and only sim1 get network
[Zenfone 5 Android Development] killar_aka_arabu:
In atach log file from modem
[Zenfone 5 Android Development] q0kHaN:
in v3 it may fixed (i have no zf5 to test it)
[Zenfone 5 Android Development] killar_aka_arabu:
Will test and report!

P.s. can i flash system with terminal and dd if comand?

Edit. Was able to flash boot with dd comand.

When tryed to flash system, phone just freezed after 10 min, and idk, this is freeze because tryed to flash system, or freezed because bootloader unlocked

Edit2: is sim fix (modem timed restart) from dgadelha thread enabled by default in rom?

Edit3: still loosing signal on sim2 ((
[Zenfone 5 Android Development] zephyr2329:
gps working?
[Zenfone 5 Android Development] killar_aka_arabu:
Sure, working, but not on custom roms.
[Zenfone 5 Android Development] Krozalid:
But not all of the sensors are working. Can you download a sensor checker app and check whether all of your sensors are working?
[Zenfone 5 Android Development] killar_aka_arabu:
Hello guys! I'm feeling like "i'm making too much posts in this thread", but, i decided to make one more post, wich i will edit every time when will found new issue, sugestion or solution. So, now i'm on V3 of rom, today i did clean install with full format of phone, and my result is:

10.08.2016 Date

Bugs:

- Cant speed dial (i mean open dialer and type name of contact, like 7 + 2 + 6 = SAM). I type numbers to dial, e.g. mother ( 6, 6, 8..), but there nothing apears. Initialy i was think that dialer not have permission to read contacts, but permissions is enabled.

Now i think that is caused from TrueCaller, i'll try to explain (i have verry bad english).

When i tap numbers like 6,6,8 (for mother), dialer app searching it not in local contact storage, but in truecaller server. (It's just my opinion).

- About sim2 loosing network i allready reported, here. Tommorow i will go to my operator to change sim chip, meybe this is problem (my sim2 was cutted manually, and its verry old). I will report here.

- I have setted to get delivery reports for sms. Still now (before flashing rom), after i have sent a sms (in few time), in right corner of sms text window appears a little tick, now it doesn't.

11.08.2016 Date

- if i recive a voice message on fb messenger, audio is routed to speaker, not to earphones wich is connected.

_________________________________________________

POST WILL BE UPTATED.
[Zenfone 5 Android Development] dsakdecha@gmail.com:
what about A-gps ?

is it working
[Zenfone 5 Android Development] dsakdecha@gmail.com:
i just followed all instruction during installation of v2 but my phone stuck at asus logo.

i can't access bootloader.

plz help me
[Zenfone 5 Android Development] dsakdecha@gmail.com:
camera is not working

there's a strange flashing of screen
[Zenfone 5 Android Development] killar_aka_arabu:
It was answered.
[Zenfone 5 Android Development] aksnitish:
Hey is there any twrp file for this rom?
[Zenfone 5 Android Development] killar_aka_arabu:
No.
[Zenfone 5 Android Development] charlieitme:
camera fix

when anybody will fix the camera problem? cant connect 2 the camera error. All the time:crying:
[Zenfone 5 Android Development] q0kHaN:
enter this command on terminal with su privileges

rm /system/lib/libxditk_DIT_Manager.so
ln -s /system/lib/ditlib_a500cg/libxditk_DIT_Manager.so /system/lib/libxditk_DIT_Manager.so
rm /system/lib/libxditk_DIT_CloverTrailPlus.so
ln -s /system/lib/ditlib_a500cg/libxditk_DIT_CloverTrailPlus.so /system/lib/libxditk_DIT_CloverTrailPlus.so
rm /system/lib/hw/sensors.redhookbay.so
ln -s /system/lib/hw/a500cg.sensors.redhookbay.so /system/lib/hw/sensors.redhookbay.so
mv /system/bin/akmd09911 /system/bin/a600cg_akmd09911
ln -s /system/lib/a500cg_akmd09911 /system/bin/akmd09911
chmod 0755 /system/bin/akmd09911
chmod 0755 /system/bin/a500cg_akmd09911
chmod 0755 /system/bin/a600cg_akmd09911
chmod 0644 /system/lib/hw/a500cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/a600cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/sensors.redhookbay.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/libxditk_DIT_Manager.so
chmod 0644 /system/lib/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/build.prop
start akmd_a500cg

if it isnt still working. Copy manually camera libs on /system/lib/ditlib_a500cg/ to /system/lib/
[Zenfone 5 Android Development] killar_aka_arabu:
Guys, please, can somebody extract /system/etc/permissions/platform.xml (i accidentally delete platform.xml and now all apps crashing coz not have permissions to use hardware). I cant download full image coz i'm on hollydays, and in this country is a verry weak internet conection, its just lose network when i try to download a big file.

Once again, i need platform.xml from V3 rom, file is located on /system/etc/permissions/

BIG THX!! Someone will save me!
[Zenfone 5 Android Development] q0kHaN:
Here
[Zenfone 5 Android Development] killar_aka_arabu:
Thx, but can u pls reupload, bad archive.

Pls if u can upload it to zippyshare. Thx!!
[Zenfone 5 Android Development] q0kHaN:
here
[Zenfone 5 Android Development] killar_aka_arabu:
You are the best!
[Zenfone 5 Android Development] Teks0427:
Thank you very much for this! I was ready to quit on CM13 a few days ago if I hadn't seen this thread.

I installed CM13.1 a few days go but ran across a lot of glitches and the situation was getting worse while I was trying to kill the bugs. It came to a point that I lost all audio in the phone and it was running really slow. I was then ready to go back to Lollipop.

I decided to give it a last try after I saw this thread. I carefully followed all your instructions and got it right the first time, and in less than an hour! I'm a noob as far as fastboot and ADB is concerned, so this is surprising for me.

It's running perfectly on my 500CG and all the apps I've tried worked, except for GPS apps. Unfortuntely, that is one feature that I really need. Is there really no solution to that bug yet? I hope somebody finds a solution to that problem soon.

Also, I noticed that the button for taking a screenshot was also removed. I noticed that because I wanted to take screenshots and post it on FB to show some friends.

Thanks again1
[Zenfone 5 Android Development] q0kHaN:
Asus didnt releases codes for gps so no one able to fix this . which screenshot button are you talking about ?
[Zenfone 5 Android Development] JoaoPxt:
how much space is avaiable to use after the flashing?
[Zenfone 5 Android Development] febry_valdy:
ASUS Zenfone 5 Users

https://telegram.me/Zen5Users

Come and join us guys!
[Zenfone 5 Android Development] Teks0427:
The Lollipop firmware had a notification panel menu with a button for taking screenshots.

The CM13.1 notification panel menu didn't have the screenshot button but it had several new functions that I found more useful.

But anyway, that's a minor problem. My main problem is still the GPS thing. I really hope someone finds a fix for that soon. Aside from that, CM13.1 has been running perfectly on my A500CG.

Thank you.
[Zenfone 5 Android Development] q0kHaN:
GPS bug is related with asus. they didnt released source code of gps and fm radio. so its unable to fix
[Zenfone 5 Android Development] JoaoPxt:
awesome! using this rom with dgadelha kernel for a day and no bugs, very good work and big thanks.

the only thing i missed from stock was the screenshot funtion (long press recent apps to take screenshot), but it has a easy way to do it, using All in one gestures app to have the long press funtion to screenshot, and the app still have many other funtions.

Again, good job, the rom is really good.
[Zenfone 5 Android Development] JoaoPxt:
Link for download kernel while the oficial links from dgadelha are not avaiable.
[Zenfone 5 Android Development] iel0000:
tried flashing fastboot and now my z5 is bricked..
[Zenfone 5 Android Development] febry_valdy:
What fastboot?
[Zenfone 5 Android Development] iel0000:
fastboot.img written on the instructions at op
[Zenfone 5 Android Development] q0kHaN:
Sorry about that. I am using zenfone 6 and accidently this .img is for zenfone 6. i will upload fastboot for zenfone 5

edit: i can help you with unbricking if you cant make it
[Zenfone 5 Android Development] iel0000:
i already fixed it,.good thing i have twrp as recovery and i made a flashable fastboot. anyway thanks,

btw,can you give me the capps you used here? cause the capps from cyanogen gives me error when flashing
[Zenfone 5 Android Development] q0kHaN:
Extract apks from zip and copy manually to system (copy bundled apps to priv-app)
[Zenfone 5 Android Development] q0kHaN:
I made flashable zip for C-Apps (Here)
[Zenfone 5 Android Development] q0kHaN:
Guys i need feedback for dnfix ? Can someone test new build ?
[Zenfone 5 Android Development] fsl24862:
I cannot flash the rom using computer, since device not recognizes in it. Is there any way to flash through twrp, or making zip version of the rom?
[Zenfone 5 Android Development] q0kHaN:
I dont have time to make flashable zip. Search how to flash img files on twrp
[Zenfone 5 Android Development] ketansharmar:
U can install boot.img using Rashr app and system.img using latest twrp i.e 3.0.2
[Zenfone 5 Android Development] Nikhilkumar038:
Del
[Zenfone 5 Android Development] rafiq1004:
major bugs?

gps working well?
[Zenfone 5 Android Development] killar_aka_arabu:
So is 7.0 version of android? Please change first page info
[Zenfone 5 Android Development] haivp3010:
Thanks for the great ROM sir!

Btw, does anyone have rotation problem? I have tried toggling auto rotation on and off but nothing happens when I rotate my phone :(

Edit: I followed the fix in post #41 and now it's working fine :D
[Zenfone 5 Android Development] q0kHaN:
This rom is N themed Android 6.0.1

Not 7.0
[Zenfone 5 Android Development] q0kHaN:
Can you give me logcat. I edited dnfix and it seems it isnt working
[Zenfone 5 Android Development] q0kHaN:
This rom is based on CM 13.1 So it is not working
[Zenfone 5 Android Development] haivp3010:
I'm afraid logcat for the time I ran the fix is not available anymore as I DID have to do a reboot to get it working.
[Zenfone 5 Android Development] q0kHaN:
Only auto rotation isnt working right ? What about camera ? (I found the issue on dnfix. it copies zenfone 6 sensor libs. i will make new kernel for fix)
[Zenfone 5 Android Development] haivp3010:
Yeah, I noticed accelerometer, orientation and magnetic sensors were not working. After the fix, magnetic sensor is still not working (compass apps fail). For the camera, I have it working right after installation
[Zenfone 5 Android Development] killar_aka_arabu:
But i look to screenshots and there is wrote 7.0.

It's just modified build.prop file?
[Zenfone 5 Android Development] q0kHaN:
Read first post carefully
[Zenfone 5 Android Development] iel0000:
any feedbacks about this rom from z5 users?
[Zenfone 5 Android Development] Nikhilkumar038:
Just press the power and volume down button simultaneously to take a screenshot...

Asus has not released the Gps source code yet, it can't be fixed...
[Zenfone 5 Android Development] Teks0427:
On my Zen5 (500CG) it works fine. No crashes or anything. Only problem is, you'll lose your GPS function. The gurus here explained that Asus didn't release the code for the GPS, which is why they couldn't make it work.

If you can live without a GPS, you'll be fine with CM13.1. As for me, I really need the GPS since I travel a lot which is why I'm thinking of going back to Lollipop.
[Zenfone 5 Android Development] Jagadeesh Reddy:
Had dis prblm in resurrection remix 5.7.* builds but in CM13 its wrkng very well no prblm with netwrks...;)
[Zenfone 5 Android Development] RasyiidWho:
Unfortunately, Messaging has stopped. :(
[Zenfone 5 Android Development] q0kHaN:
delete everything expect apk file on /system/priv-app/messaging/
[Zenfone 5 Android Development] wirleyvaldez:
Downloading Issues

Hi, first of all, I would like to say GOOD JOB ON YOUR WORK! :) However, since I am here at PH, I cannot download the file on our current ISP (ehem! PLDT) because it is too slow. I would like to request if we can download the file somewhere else but Google Drive so that we can download it using a download like Internet Download Manager. Thank you so much and I am looking forward for this request so that I may try the ROM itself. God bless you! :cool:
[Zenfone 5 Android Development] Boomshiva:
Will dirty flash over dgadelhas cm 13.1 do ?

Or clean flash is must ?
[Zenfone 5 Android Development] q0kHaN:
Dirty flash will work. But some apps may force closes. Clean flash is recommended
[Zenfone 5 Android Development] wirleyvaldez:
Installation

I have downloaded all of the required files. Can someone teach me how to install it via zenfone assist tool?
[Zenfone 5 Android Development] wirleyvaldez:
Can someone create a walkthrough video of this rom and upload it to youtube? That'd be great. Thank you so much! This is one of the most anticipated ROM out there for our zenfone 5.
[Zenfone 5 Android Development] Asifalisaifi:
3 Issues

1. Please see the image and suggest the solution.

2. Unfortunately, messaging has stopped. (I try to find the messaging folder in system/priv-app/------------ but the messaging folder isn't there.)

3. Unfortunately, screen recorder has stopped.

Please suggest the fix for all above issues.
[Zenfone 5 Android Development] AyieKhushairy:
Try this method it work for me:D

Copy massaging folder in system/app and paste it in system/priv-app
[Zenfone 5 Android Development] q0kHaN:
I will release fix for apps force closing

Did you dirty flashed rom or did you update n-ify module ?
[Zenfone 5 Android Development] Asifalisaifi:
No. I didn't do dirty flash. I flashed with following module...

fastboot flash boot bootN-ified20161018.img

fastboot flash system systemN-ified20161018.img

fastboot erase data

fastboot erase userdata

fastboot erase cache
[Zenfone 5 Android Development] wirleyvaldez:
I did the same thing. But messaging force closes. I did a clean flash.
[Zenfone 5 Android Development] q0kHaN:
Can you give me logcat ?

Flash 20161104 kernel. I didnt tested kernel but it will be fixed. Reboot after your phone boots
[Zenfone 5 Android Development] Asifalisaifi:
Let me try to Flash 20161104 kernel.

Can u temme how to create logcat?
[Zenfone 5 Android Development] q0kHaN:
enable usb debugging and then connect your phone to pc

open cmd on your desktop (shift +right click; open command prompt here)

adb logcat > logcat.txt

logcat.txt will be located on your desktop
[Zenfone 5 Android Development] Asifalisaifi:
I flashed the kernal.

Please check the logcat. Problem is still same.
[Zenfone 5 Android Development] sonic_ear:
I flash this kernel but it seems not fix messanger app
[Zenfone 5 Android Development] wirleyvaldez:
Also, if the phone will be booted up, the layout of the android text logo after the dancing circles upon boot is so large that letters a and d exceed on other sides..
[Zenfone 5 Android Development] sonic_ear:
But this rom were pretty awesome,it brings up Android N feel
[Zenfone 5 Android Development] wirleyvaldez:
This is what I meant. But i gotta admit, for a developer like you sir? You are awesome. Thank you for this rom.
[Zenfone 5 Android Development] sonic_ear:
Do you facing problem when you taking pictures and it save green picture
[Zenfone 5 Android Development] sonic_ear:
I mean this
[Zenfone 5 Android Development] wirleyvaldez:
No, i am not facing problems like that.
[Zenfone 5 Android Development] wirleyvaldez:
Why two 'reply' option?
[Zenfone 5 Android Development] wirleyvaldez:
Sir, is this what were suppose to delete?
[Zenfone 5 Android Development] wirleyvaldez:
There is no more "clear all" button too sir
[Zenfone 5 Android Development] wirleyvaldez:
Sir, is this really how the album thumbnail should look like at lock screen?
[Zenfone 5 Android Development] sonic_ear:
Maybe you have two simcard
[Zenfone 5 Android Development] wirleyvaldez:
Yes I do, if you'll open up the first reply button, it will turn to a reply box. If you open the other reply button, it will open up the quick reply of the application (messenger)..
[Zenfone 5 Android Development] sonic_ear:
You need to download gravityBox and go to miscellaneous and there you should find clear all recent setting in first row

---------- Post added at 02:28 AM ---------- Previous post was at 02:27 AM ----------

Wait your messenger works?how?
[Zenfone 5 Android Development] wirleyvaldez:
I am new about this. Where should i download gravitybox?

---------- Post added at 02:29 AM ---------- Previous post was at 02:28 AM ----------

Just download messenger app from google. It should fix it. Messaging app that is built in force closes
[Zenfone 5 Android Development] sonic_ear:
Over exposed app
[Zenfone 5 Android Development] sonic_ear:
After download gravity box enable module and reboot
[Zenfone 5 Android Development] wirleyvaldez:
Thank you :)
[Zenfone 5 Android Development] wirleyvaldez:
Gmail persists same problem..
[Zenfone 5 Android Development] wirleyvaldez:
How?

Do you need to be rooted to do this? I have no such permission to copy the a[[ from system/app to system/priv-app how did you do it?
[Zenfone 5 Android Development] febry_valdy:
Use root explorer or use the default file manager but you have to change the access mode to root mode, you can access it by going into the file manager settings - general settings - and swipe down a bit, and beneath the advanced section you will find access mode and change it into the root mode.
[Zenfone 5 Android Development] wirleyvaldez:
It doesn't change to root mode sir :(
[Zenfone 5 Android Development] sonic_ear:
You need to grant root
[Zenfone 5 Android Development] wirleyvaldez:
Wait, is your device rooted? Mine's not. Maybe it requires root?
[Zenfone 5 Android Development] sonic_ear:
Go to setting/about phone/build number(tap many times until it said developer option enable)

Go to developer option scroll untill you find root setting
[Zenfone 5 Android Development] wirleyvaldez:
It worked! Thank you sir, I am sorry. I am just a newbie in custom roms for zenfone 5.
[Zenfone 5 Android Development] q0kHaN:
Im uploading new kernel for fix apps force closing. if it isnt working write enter codes to terminal or adb shell with su privileges

rm /system/app/messaging/oat/x86/messaging.odex
rmdir /system/app/messaging/oat/x86
rmdir /system/app/messaging

rm /system/priv-app/Screencast/oat/x86/Screencast.odex
rmdir /system/priv-app/Screencast/oat/x86
rmdir /system/priv-app/Screencast/oat

About double reply, lockscreen album art etc. bugs its related with n-ify module you can report here

And im exported bootanimation from different device. i cant found 1280*720.
[Zenfone 5 Android Development] wirleyvaldez:
Sir, there are few ui bugs here and there:

1. There are no notification badges on any app when a notification arrived.

2. Album art on lock screen while playing music is very small and layout is weird.

3. When replying using quick reply or direct reply at lock or notification screen, message can be sent but the notification does not come off unless you slide it to dismiss.

Messaging app force close was solved using suggestions from other members here in the thread. Solution was moving the messaging app from system/app to system/priv-app
[Zenfone 5 Android Development] wirleyvaldez:
Addition from what I noticed is that when you are going to tap on the search field at drawer, the cursor is a little bit big and is not centered, small issue but very noticeable to the eye.
[Zenfone 5 Android Development] q0kHaN:
As i said before this bugs are related with n-ify.

If you want to update n-ify manually download latest build here then rename it n-ify.apk and copy to /system/app/n-ify/
[Zenfone 5 Android Development] wirleyvaldez:
How to have a notification badge in this rom?
[Zenfone 5 Android Development] Naim Islam:
Is It Stable From

Network/Sim Issue,

Gapps Issue,

Reboot Issue????

Thanks!
[Zenfone 5 Android Development] febry_valdy:
Based on CM 13.1 by dgadelha, so the stability more or less is like that.
[Zenfone 5 Android Development] wirleyvaldez:
So far the only problem that I kept on noticing are the user interface problems. But minor only. For the network or sim issue, I don't encounter such. Gapps issue, Gapps is already built in, and Reboot issue? None, as long as you don't dirty flash it.

---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------

Sir qokhan, can I replace the telephony app with the one that is on google? also the messaging app, can I replace it with the messenger app (google)? (moving apk to system/priv-app)

---------- Post added at 08:42 AM ---------- Previous post was at 08:25 AM ----------

Notification led like sometimes doesn't work. If it doesn't work, the handset need to be restarted. Sir, kindly fix this issue because there are no wake up of lockscreen when there is an incoming sms.
[Zenfone 5 Android Development] Naim Islam:
Thanks for Your Kind Review