yashsingh1/xdaforums huggingface dataset:
[XDA Assist] XDA Visitor:
Hi everyone,

I'm working on solving an issue I'm having with Google Glass, which is, when connecting a mouse I get a cursor but clicking doesn't seem to do anything. Which I half expect using a "glassapp"; but I have a variety of legacy apps I have side-loaded that I know work with a mouse but just don't on glass.

Through adb I can see that a new mouse is created in /dev/input/ and when I do getevent I can see mouse events firing. These include mouse movements, as well as button down and button up events. It looks like all the driver stuff is set up correctly and the mouse is working fine.

What I believe is the issue is that there is a disconnect between the event and the event listener in the actual apps. So what I am curious to know is, how do event listeners actually get triggered by a system event?

My guess is that the app is looking for /system/lib/libinput.so to register the mouse event but the lib loaded on glass doesn't have methods for mouse inputs. In which case if I updated this library I could potentially get this functionality back? If this is true how can I go about decompiling this library to add this functionality?

My understanding of apks and unix system events is very limited and this is just my current hunch. If anyone who knows more could lend me some knowledge or point me in a better direction I would appreciate it.
[XDA Assist] GuestK0087:
Greetings,

Thank you for using XDA Assist.

Please create an XDA account and ask your question here:

Questions and Answers

You'll receive expert advice there. Good luck and welcome to XDA!
[OnePlus 2 Q&A, Help & Troubleshooting] 0v3rl0rd:
Hi

Just connected my OPT to my Windows 10 machine and I got the message like in the picture >> USB device not recognized.

I tried uninstalling and reinstalling drivers but it is still not recognized ("malfunctioned").

When in device manager in device status I get: "This device cannot start. (Code 10). A device which does not exist was specified."

Any ideas of what should I do
[OnePlus 2 Q&A, Help & Troubleshooting] Deacon-Frost:
Try to disable usb debugging. And then try again
[OnePlus 2 Q&A, Help & Troubleshooting] 0v3rl0rd:
Thanks for Your suggestion, but I didn't mention that it was the first thing I tried... I did uninstall the drivers and reinstall them... and yesterday I eventually gave up... this morning it just started working on its own again, so right about now it works perfectly fine -.-'

Conclusion: give up more easily xD
[Zenfone 5 Android Development] quanganh2627:
Support

Temporary patch zip for known issue (will migrate in next build):

For build 20/02/2016:

patch zip V2: Add missing thermal manager - migrated with older (of course)::p

Attach files fixwebview_v2.zip

patch zip V1: Webview + APNs: flash attached zip below via TWRP:

Fix missing webview libs

Update apns.conf

Fix platform permissions

Enable read/write (recognize-able) for Asus ZenUI Apps(Pixel, Browser...) without external app:

- Add below lines to your system build.prop & reboot to make it effects. You can do it by many ways: copy/paste via any root explorer, even internal CM File Manager, add new entry via internal apps: Kernel Adiutor or 3ctools; ....

ro.epad.mount_point.microsd=/storage/MicroSD
ro.epad.mount_point.usbdisk1=/storage/USBdisk1
ro.epad.mount_point.usbdisk2=/storage/USBdisk2
ro.epad.mount_point.usbdisk3=/storage/USBdisk3
ro.epad.mount_point.usbdisk4=/storage/USBdisk4
ro.epad.mount_point.usbdisk5=/storage/USBdisk5
[Zenfone 5 Android Development] quanganh2627:
FAQ

FAQ section

(copy/paste from user post )

Simcard disable after quitting Airplane mode

No need to reboot, just goto Settings/Simcards/Mobile network settings/Network operators, press Back to skip search, then press on "Choose automatically", your Simcard will re-enable immediately. FYI, Longpress on mobile-data icon can quickly asscess this settings, too

Enable read/write (recognize-able) for Asus ZenUI Apps(Pixel, Browser...) without external app:

- Add below lines to your system build.prop & reboot to make it effects. You can do it by many ways: copy/paste via any root explorer, even internal CM File Manager, add new entry via internal apps: Kernel Adiutor or 3ctools; ....

ro.epad.mount_point.microsd=/storage/MicroSD
ro.epad.mount_point.usbdisk1=/storage/USBdisk1
ro.epad.mount_point.usbdisk2=/storage/USBdisk2
ro.epad.mount_point.usbdisk3=/storage/USBdisk3
ro.epad.mount_point.usbdisk4=/storage/USBdisk4
ro.epad.mount_point.usbdisk5=/storage/USBdisk5
[Zenfone 5 Android Development] quanganh2627:
Reserved
[Zenfone 5 Android Development] quanganh2627:
Reserved #3
[Zenfone 5 Android Development] quanganh2627:
Reserved #4
[Zenfone 5 Android Development] quanganh2627:
Reserved #5
[Zenfone 5 Android Development] mr_robot:
sdcard write..

is default write/install on external sdcard working in this ?
[Zenfone 5 Android Development] Edorewiel:
nice job i am downloading rom

quabqanh2627

Do you have android 6.0 for zenfone operation ?
[Zenfone 5 Android Development] FaizK:
Great one [MENTION=5392204]quanganh2627[/MENTION] keep going!!
[Zenfone 5 Android Development] LucasBernardesLopes:
I must flash xposed with this rom?
[Zenfone 5 Android Development] Fernando0258:
Good job! The ROM is very fluid.

I found these bugs:

Vibration is not working.

And just as the Resurrection Remix, I can not use the headset controls for back/pause/forward music with the locked screen because the screen lights turn on instead of changing the music.
[Zenfone 5 Android Development] Thiago.m_:
Great ROM! I'm using it now

I found a bug: Vibrator is not working
[Zenfone 5 Android Development] quanganh2627:
Oops, i have been thought this cause by my phone. In this case, i know why, same as RR's framework bug. Anything else ? Cannot believe in it anymore, poor my phone!
[Zenfone 5 Android Development] abw_bw:
Link gapps access denied :(
[Zenfone 5 Android Development] adamilmanns:
I'm use this ROM from last night. So far its okay. Smooth ! I'm will stay on this ROM even vibrate not working. Hahaha. Awesome

[MENTION=5392204]quanganh2627[/MENTION] need to set apn manually for mobile data.
[Zenfone 5 Android Development] EduDias:
It does not have to take the screen bug block alone?
[Zenfone 5 Android Development] LisuPlayingGames:
everything looks fine, but vibration not work, you were right guys, ambient display too, and apn must be set up manually, and little problem with expanded signal option on notification drawer, after tapping carrier name settings with signal options pop up, not expanded signal enabler with limit transfer. but it's smooth i can tell... good work, but I miss ressurection options... just dreaming about carbon rom with all customization features... haha
[Zenfone 5 Android Development] quanganh2627:
Just updated link yet, or u can find on Opengapps, remember choice correct our chip x86
[Zenfone 5 Android Development] quanganh2627:
Everything always has its time.

What prevent you build it for yourself?
[Zenfone 5 Android Development] dgadelha:
Can you specify the error or post a screenshot of the error? (you can screenshot on TWRP just like any ROM)
[Zenfone 5 Android Development] vinsensiusk:
...........
[Zenfone 5 Android Development] tank0412:
vinsensiusk,

It is a violation of xda rules. Pls do not discuss it here.

Really.
[Zenfone 5 Android Development] vinsensiusk:
Okay, i'm sorry
[Zenfone 5 Android Development] StefanoZen5:
Can u tell me the differences between the AICP and the RR?
[Zenfone 5 Android Development] tank0412:
Common: Based on CM source

Differentce: Modificated framework so interface is different a bit. (look at the screenshots)
[Zenfone 5 Android Development] Boomshiva:
Dark booster

Can I use ABS dark booster in this ROM
[Zenfone 5 Android Development] marceloz5:
I camt use mobile data in this ROM...who i do?
[Zenfone 5 Android Development] monnett:
Set APN manual bro or download fix from 1st page
[Zenfone 5 Android Development] vinsensiusk:
I have a random screen lock issue, what should i do?
[Zenfone 5 Android Development] Boomshiva:
Random reboot

Can anyone tell me how to fix random reboots issue

P.s.: I did a clean install . Also I reflashed it again but facing random reboots
[Zenfone 5 Android Development] shobint7:
Turn off ambient display from settings menu>display!!
[Zenfone 5 Android Development] Zufars:
I have problem on Aicp , i want install this on my zenfone 5 with aicp but in Playstore say not compatible with my phone , and my friend phone (same zenfone 5 using cm12.1) its have compatible. It issue or bug ?
[Zenfone 5 Android Development] marceloZen5:
Dude flash this file i think this will fix your problem
[Zenfone 5 Android Development] Zufars:
Seems not work to me for fix the playstore not compatible
[Zenfone 5 Android Development] marceloZen5:
you flashed gapps?
[Zenfone 5 Android Development] Zufars:
Yes
[Zenfone 5 Android Development] StefanoZen5:
Here's the error I receive when I try to install
[Zenfone 5 Android Development] tank0412:
Maybe zip is corrupt. Try to re-upload it.
[Zenfone 5 Android Development] StefanoZen5:
I think i've found the problem.

Before I flashed the whole zip file but I have to flash the zips inside.

Can u tell me the order of the flashing queue?
[Zenfone 5 Android Development] marceloZen5:
In first flash the rom, gapps and super su...before this wipe your cache, dalvik and data
[Zenfone 5 Android Development] minhduongtrung:
2016-02-23.zip, Where?
[Zenfone 5 Android Development] StefanoZen5:
I tought I had upload it, btw I installed it.
[Zenfone 5 Android Development] ShuviterDjogja:
There is officially build 20160220..
[Zenfone 5 Android Development] kiayichsan:
what's not working ?
[Zenfone 5 Android Development] herecomesmaggi:
Hello all, I must say that rom is working fine with great battery life. There are no major bugs to stop us from using it as daily driver.

After using if for 4 days I found following bugs.

Major

NO FM , NO GPS , as Sources are not released from official app developer so it is impossible to fix them.

Major

Sometimes black screen after call and even power button doesn't wake up screen until call is hanged.

USE Xpose module To Deactivate proximity and use power button to lock the screen. Or use app from playstore call screen lock.

Major

If u connect headphones and cover proximity during call screen stays on, though dialer app options touch doesn't work(Mute, hold, answering waiting call or even end call button) . However u can pull down notification drawer and end call from notification.

This I fixed by replacing latest dialer app from Cm12.1 from built in. There is a size difference of 1.8MB

very minor

cannot disable single sim from setting.

minor

vibration intensity setting is not working

minor

1 second lag in audio video ,though gets fixed on sw dcoder in MX player

very minor

on call mute button doesn't work. it starts working if call recording is turned on. call recording on other hand starts recording after few seconds.

This too gets fixed by replacing dialer app from latest cm12.1

Very Minor

No external sd data classification and calculation in setting /storage.

Note-

Turn off ambient and dt2w feature to avoid any random restarts Ui lock and no touch glitches.

Regards.

Maggi

P.S.

I suggest if you are ok with no FM / GPS then do give this rom a try.
[Zenfone 5 Android Development] heyned:
[MENTION=5077599]herecomesmaggi[/MENTION]

did you check screen rotation on lockscreen? i have disabled it and still rotate.
[Zenfone 5 Android Development] herecomesmaggi:
For me bro its working fine. I tried it works fine.
[Zenfone 5 Android Development] @Cracker747:
[MENTION=5392204]quanganh2627[/MENTION], Sometimes BT are FC, can you fix that sir?? Thanks XD
[Zenfone 5 Android Development] ChristopherXI:
This error in a known bug to the developer. Before posting any bugs found please use the search tool .If no one have posted it first then you are free to post your bug. Vice versa... don't post it .Thank you
[Zenfone 5 Android Development] johnny132:
what are BT and FC means?

sorry English is not my mother tongue
[Zenfone 5 Android Development] dgadelha:
Bluetooth and Force Close
[Zenfone 5 Android Development] StefanoZen5:
What kernel do you suggest? I was thinking to flash the smai v7, do u recommend it?
[Zenfone 5 Android Development] arieph7x:
I found a bug...

-system ui always forced closed after paused the video (mx player) n streaming using chrome....

- setting app forced closed after changed mobile data from sim 1 to sim 2 or otherwise...

#sorry for my bad english
[Zenfone 5 Android Development] HRTShok:
I can't take a screenshot. It says that "Can't take screenshot due to limited storage or it isn't allowed by the app of your organization" . My device's free space is 4,4GB. Could you guys tell me how to fix it please?

BTW this ROM is the best ROM for Zenfone 5. It run smoothly on my device :)
[Zenfone 5 Android Development] johnny132:
is it ok to flash other version of SuperSU ?

because i need to hide root to play Puzzle & dragons JAP ver.

I edit boot.img-ramdisk/default.prop

set

ro.secure=1

ro.debuggable=0

I flash a edited version of SuperSU and then Deactivate it

after these steps I can play P&D on RR ROM 5.5.9

I think it works on this ROM too ?
[Zenfone 5 Android Development] aditya510:
I have never had any screen freeze except in RR and now twice in AICP. Will flashing xposed help?
[Zenfone 5 Android Development] Zufars:
It's this rom compatible with capps x86 ?
[Zenfone 5 Android Development] adamilmanns:
Yes

---------- Post added at 11:53 AM ---------- Previous post was at 11:52 AM ----------

This for first time i hear this problem. I think better u wipe cache,data again. I hope will fix ur problem.

---------- Post added at 11:54 AM ---------- Previous post was at 11:53 AM ----------

No. Freeze because Unlock Bootloader.
[Zenfone 5 Android Development] monnett:
I found problem if i switch that ON then reboot i got blackscreen. I cant use my phone . Then i flash SMAI kernel and blackscreen gone . I dont know what the problem . I just report [emoji16] [emoji16]
[Zenfone 5 Android Development] herecomesmaggi:
[MENTION=5392204]quanganh2627[/MENTION]

Hello Dev,

I am Facing a very strange problem. sometimes after some tweaks i face bootloop when i clear /wipe cache after that i get optimizing apps but just after optimizing last app home screen blinks and handset goes in boot loop again.

Problem is same as in this thread (http://xdaforums.com/nexus-6/help/optimizing-apps-boot-loop-stock-kernel-t3064255)

Till Now I faced 2 bootloops have to format data / cache to resolve it other wise it doesnt go. ( I tried reflashing rom , uninstalling xposed, clear cache , diffrent kernel )

I have Freezed Asus Apps . Are they safe to freeze ?

Please shed some light if u have any solution.

UPDATE - AFTER Research Either culprit is ART Uncompatible App problem Or cpu freq change ...
[Zenfone 5 Android Development] StefanoZen5:
Do you recommend to disable dt2w feature to increase battery or improve stabilty?
[Zenfone 5 Android Development] Zufars:
I have problem , new bug , flashlight and flash camera not working
[Zenfone 5 Android Development] monnett:
My flashlight normal bro . Btw l use xanwar kernel
[Zenfone 5 Android Development] vinsensiusk:
Me too

---------- Post added at 09:06 AM ---------- Previous post was at 09:05 AM ----------

I'm working fine. Try to clear dalvix and cache
[Zenfone 5 Android Development] Zufars:
Thank guys , it fix with wipe cache and dalvik
[Zenfone 5 Android Development] StefanoZen5:
Should I disable dt2w to increase performance and battery life or it's useless?
[Zenfone 5 Android Development] herecomesmaggi:
Definitely some battery is improved, as dt2w keeps digitizer awake disabling it sure has some effect on battery, also u r saved from other glitches.
[Zenfone 5 Android Development] StefanoZen5:
Ok thank you
[Zenfone 5 Android Development] itsarjunsinh:
ZenFone 6

First of let me congratulate quanganh2627 for making the most stable custom ROM for ZenFone 5. I've yet to face a FC (I have encountered a couple freezes but it's alright).

Now I've got my cousin's ZenFone 6 lying around. I was planning to flash this ROM but I'd like to know first as to how stable it is on ZenFone 6? If anyone has tested it then please reply.
[Zenfone 5 Android Development] muratkorayozkan:
You can try that

http://xdaforums.com/android/development/rom-resurrection-remix-zenfone-6-t3301014
[Zenfone 5 Android Development] itsarjunsinh:
AICP not RR

Thank you but I was asking about the stability of AICP on ZenFone 6. If I ever want to flash Reserruction Remix for ZenFone 6, I'll use your ROM. :good:
[Zenfone 5 Android Development] muratkorayozkan:
Stability will be same with zf 5 but sensors won't work and camera will be excessive red
[Zenfone 5 Android Development] sol78987:
Flash rom + gapps + supersu then wipe cache and data then flash xposed and webview? Do i need to wipe anything after that?
[Zenfone 5 Android Development] tCarbon:
With the battery at 1% I did 1h of screen, already calibrated the battery but still the same . Some way to show the real percentage of battery?
[Zenfone 5 Android Development] abw_bw:
[MENTION=5392204]quanganh2627[/MENTION] any news for next build? and how about your RR rom sir? :)
[Zenfone 5 Android Development] quanganh2627:
Solution for PixelMaster and Asus ZenUI Apps can save to/recognizes MicroSD update HERE
[Zenfone 5 Android Development] wahyudie78:
Its works...thanks
[Zenfone 5 Android Development] kuranzi:
Can i use this method on another CM ROM ?
[Zenfone 5 Android Development] arieph7x:
Nice its work ...[emoji4] [emoji4] [emoji106] [emoji106] [emoji106] [emoji7]
[Zenfone 5 Android Development] quanganh2627:
Sure, I found out that prop when I look at decompiled PixelMaster code. Actually, it's still available for a first few my RR , then dunno when it missed.
[Zenfone 5 Android Development] StefanoZen5:
Headset button not working. Any soluntions?
[Zenfone 5 Android Development] herecomesmaggi:
Hello dev, You are getting better day by day... ;)

Just a request could you add this sd card storage fix in webview fix zip,(May b include whole build.prop) this way users have to flash only that zip with rom rest all will be good.

I Just asked this cause I uninstalled 3ct tools and other apps, had to download a app to write these values in build.prop.

Regards

Maggi
[Zenfone 5 Android Development] vickolnr:
Is there any solution to improve the battery? I've tried SMAI kernel but doesn't different.
[Zenfone 5 Android Development] herecomesmaggi:
Bro this device have 2400 mah battery, for that 4 hrs Screen on time is good enough.

Through settings / privacy /disable location of Google service it helps alot. Don't use many apps with auto run. Disable autorun of apps from 3ct tool.

Try to use better battery stats to know whether your device is going in deep sleep or not.??

U can further use DS battery saver for deep sleep.

Regards,

Maggi
[Zenfone 5 Android Development] herecomesmaggi:
Also [MENTION=5392204]quanganh2627[/MENTION] please replace dialer app of rom from Cm12.1(latest sources) as inbuilt dialer app has some problem with proximity. During calls with headphones if one covers proximity, then there is no touch incall ui. Please Add this fix in the webview fix.zip

Thanks and wishes

Maggi
[Zenfone 5 Android Development] vickolnr:
Thanks for your advice dude. U help my battery a lot :D
[Zenfone 5 Android Development] herecomesmaggi:
No problem mate..
[Zenfone 5 Android Development] mfauzirahman:
installed on ZF6
[Zenfone 5 Android Development] mzj4213:
how is performance? :confused:
[Zenfone 5 Android Development] mfauzirahman:
so far smooth but speaker not so loud like RR ROM by [MENTION=6607022]grady_8[/MENTION]
[Zenfone 5 Android Development] emirfahimi:
Sorry for asking but is there any developer is developing android M?
[Zenfone 5 Android Development] marceloz5:
any update?
[Zenfone 5 Android Development] tCarbon:
I'm using xAnwar kernel , with the governor thessjactive , I'm getting almost 5 am (4: 40min )
[Zenfone 5 Android Development] TongYabgu:
RR or aıcp which ones?
[Zenfone 5 Android Development] tCarbon:
AICP
[Zenfone 5 Android Development] Trafalgar Square:
Lol. You are asking in an AICP Thread, which ROM to install ?

Do you think someone here will recommend RR?
[Zenfone 5 Android Development] herecomesmaggi:
Hahaha truly said..

But it's the fact that Quan has gain lot of experience till AICP and thus it is almost bugless.. Not like RR

Regards
[Zenfone 5 Android Development] vickolnr:
Yap, I should try it too. Thanks dude :D

It should be good if we have a thread to tweak some batteries for this phone.
[Zenfone 5 Android Development] quanganh2627:
Actually it was my troubles, not RR rom. I broke my tree then everything is becoming terrible & too complicated to resolve than start again from the scratch. But once I haven't no better choice, then it's time for our new ROM - AICP. This is the real reason why I immediately switch to AICP. The smaller one is to prove what I said that now with our devices tree, we will complete building any Rom with a few small fix for some private requirements of Rom(if any, which in general, just rename only: build AICP then change to aicp-a500, aicp.mk, etc...). So, hoping it will make everyone can build other rom easier, to bring us more and more.
[Zenfone 5 Android Development] adamilmanns:
[MENTION=5392204]quanganh2627[/MENTION] dev, can u look at this ?

http://xdaforums.com/showthread.php?p=65621112
[Zenfone 5 Android Development] tCarbon:
Is there a problem with the battery status , because I'm always getting one hour of battery with 1℅ final . That way I never know when my battery will discharge . Do you have any way to fix this ?
[Zenfone 5 Android Development] Droidlist:
Anyone tell me the file size of this ROM. I'm going to download it but not sure if my data plan could handle it:D:D
[Zenfone 5 Android Development] vinsensiusk:
547 Mb, gapps 42Mb
[Zenfone 5 Android Development] TongYabgu:
Lel. I know ım asking in an AICP THREAD :D :laugh::laugh::laugh:

Someone can recommend RR :D

I didnt flash aıcp and ı didnt use so ı asked which ones battery,game performances better than other ı dont decide which one should ı flash :D
[Zenfone 5 Android Development] adamilmanns:
AICP is more smooth than RR.
[Zenfone 5 Android Development] TongYabgu:
I trust you and ım flashing :D

ı hope charge performance its better
[Zenfone 5 Android Development] Edorewiel:
You should use the " i " not " ı " :D
[Zenfone 5 Android Development] mfauzirahman:
where i can get kernel for this rom?
[Zenfone 5 Android Development] TechGenius:
How To Fix Touch screen problem :/
[Zenfone 5 Android Development] monnett:
aicp + tank kernel i love it . Can read ntfs .
[Zenfone 5 Android Development] abaka123:
Link of tank kernel please. Thanks!
[Zenfone 5 Android Development] quanganh2627:
Job done. Plus one more: thermal manager

Yes, it's my mistake too. After several RR's version put it in checklist, then when i think it's ok, then it's gone with save to SD. Dunno why, when, where this cause happens. Just a minor bugs, but really annoying, right?

Gửi từ ASUS_T00F của tôi bằng cách sử dụng Tapatalk
[Zenfone 5 Android Development] vinsensiusk:
[MENTION=5392204]quanganh2627[/MENTION] hello dev.. After flashing fixwebview v2 i got lagging on my phone
[Zenfone 5 Android Development] herecomesmaggi:
Sometime's phone doesn't recognises touch ..?

If this is problem u r facing then, clean reinstall is recommended. Format data,cache system if possible then internal storage too. After that replace dialer and incallui app from cm12.1 . use xposed proximity disable to disable proximity during calls and use call screen lock from play store to lock during calls.

Also don't disable autorun permission of android apps if u don't know them.

Regards.
[Zenfone 5 Android Development] monnett:
Me too Sir [MENTION=5392204]quanganh2627[/MENTION] . but i revert back lib. files & ect.. with previous vers and deleting thermal manager. My phone run like before . Smooth [emoji5]