[Need Help] .kl files - LG G5 Questions & Answers

Hi guys, recently my lg g5 rebooted randomly and deleted all apps cache. I had no mayor problems ever since but one, i have an AVH bluetooth gamepad which has a phone stand to play emulator games anywhere. Since that reset i can press and use all buttons BUT i cant hold a button for more than 1 sec. If i hold a button it registers that i lifted my finger 1 sec after i pressed it, i tried with another phone and it works ok, also on a computer it works ok.
I think it may be related to .kl files, anyone can zip the original lg .kl files to me? i'm using fulmics rom 5.5, i dont know if you have to send me the kl files from the same rom or if you know another solution.
Thanks

Related

NEW XDA2 O2 UK Problem Power button

Hi there
first of all wish you all a very happy new year
now i have a problem with my XDA2 (On O2 UK ), problem is when i turn off my XDA from the power button it turn off properly, thats ok but when i try to turn on by using the Power Button or even with any other button it won't turn ON,
I recently upgraded to 2.06 and deleted some file from Windows/Startup folder, the four files were XFlashMan , where X--> t, n... something like that.
i don't the problem os due to deleting the files or something else,
please can any body help
Thanx
Regards
Gugi
or anybody just upload four files from there startup folder in windows
file ending with XFlashMan X--> n, t .....
thanx
Gugi

Mapping keys for Blutooth HID?

Iv'e been at this sense last night and haven't gotten anywhere! Its getting frustrating so i decided to try and branch out for some advice.
Im using an LG Optimus V with Bobzhome Cynagenmod 7, I am trying to get my ThinkOutside Universal BluTooth Keyboard to work a little more like it should with my device. It will pair and connect no problem and all the keys work, Its just that some of them don't work the way there suppose to.
Ive been trying to get my Ctrl Esc and < > keys working properly. The resources ive been using are
Cant post the links becuase im a new user, but its a blog about the kl and kcm.bin files and an android dev page about porting KBs and writing drivers for them.
Anyways i'm basically just editing the /system/usr/keylayout/qwerty.kl file, by using nano from the command line from debian on the phone. Nothing i seem to do works it either totally breaks the keyboard totally or it just doesn't anything. My file is just the basic qwerty.kl right now and i added a line that says
Code:
Key 29 VOLUME_DOWN
Im using a program on my phone to get the KeyCodes and ScanCodes from my keyboard. Im sure 29 is the right scancode for my Ctrl key. Once I edit the qwerty.kl reset the phone and reconnect and pair the KB the ctrl key still comes up ass scancode 39 keycode 0 when i press it, which is what it was before i wrote the new file.
i know there also the kcm.bin file but im not sure what that does, im under the assumption thats only for editing the shift and alt modifiers for key right?
sorry mods for bringing up this thread after so long, i'm facing a similar problem and would like to know what's the
program on my phone to get the KeyCodes and ScanCodes from my keyboard
Click to expand...
Click to collapse
please.
Thanks in advance

[Q]

My Huawei Ideos u8150 is stuck on the logo. its six month old and not under warranty seal... I don't know what I've done...
now when I was surfing the internet (Obviously with another phone) I got an info says that I can format the SD card and create a new folder named "dloder" then put some files on it. then when I restart the phone pressing the volume down, red button and power button, the phone will update itself and it'll be ok again. now my Qs are:-
1 - does such method work?
2 - if it works then what are the files I should put on the "dloder" folder and where do I get those files?
Thanks in advance...
jhonet said:
My Huawei Ideos u8150 is stuck on the logo. its six month old and not under warranty seal... I don't know what I've done...
now when I was surfing the internet (Obviously with another phone) I got an info says that I can format the SD card and create a new folder named "dloder" then put some files on it. then when I restart the phone pressing the volume down, red button and power button, the phone will update itself and it'll be ok again. now my Qs are:-
1 - does such method work?
2 - if it works then what are the files I should put on the "dloder" folder and where do I get those files?
Thanks in advance...
Click to expand...
Click to collapse
Yes, such a method may work. See here: http://www.mygsmforum.com/f15/huawei-ideos-u8150-updates-procedures-7317/ (You need to register get the files though).

Fix for old headsets (earphones with one button) (non-Android dedicated) in Lollipop

Hi all,
i recently upgraded to Lollipop 5.0.2 (big mistake, I prefered KitKat, but I don't know how to downgrade).
One of the major problems for me was the fact that my headsets did not work with Headset Button Controller (or any other headset control app).
They worked just fine in Kit Kat.
I must mention that this headset earphones were from another Samsung phone (non-smartphone). But I am very satisfied with them and don't want to buy other ones.
( I also have Android-dedicated earphones, but they do not deliver the same quality (but they worked with Lollipop). I just don't want to use them)
Every time I pressed the button in order to stop/pause/volume control/answer phone, the mother****ing Google search would pop up.
I finally managed to fix this by re-mapping the keys on the keyboard layout, in order for HEADSETHOOK to be "perceived" instead of VOICE_ASSIST
First you need to root your phone (I used the King Root method, and then did a factory reset and installed SuperUser).
Then I installed SdCard fix, (which fixes the writing permissions on SD on KitKat and Lollipop) https://play.google.com/store/apps/details?id=nextapp.sdfix
After that I used the thread http://forum.xda-developers.com/nexus-4/general/guide-headset-controls-t1997277
From there I downloaded the Keytest App, and saw that my old headphones' clicks were perceived as key 582 VOICE_ASSIST instead of 226 HEADSETHOOK
The file you need to modify is in Root folder/system/usr/keylayout/Generic.kl
You will find many *.kl files there, but Generic.kl id the only one you need to modify
I sent it to my PC and modified it using WordPad.
What you need to do it find the the line for key 582 (towards the end of the file) and replace VOICE_ASSIST with HEADSETHOOK.
(Me personally I also replaced key 226 from HEADSETHOOK to VOICE_ASSIST, probably a bad decision )
Then you need to send it back to your phone and use a file explorer app to replace the one in your system.
I used Xplore (fell inlove with it since I had a Symbian Nokia). You need to give it superuser rights with write permission on read-only locations. ->Configuration -> Root access -> Superuser + mount writable (4th option). Now you can over-write the Generic.kl in /system/usr/keylayout/
After that I rebooted my phone and everything works fine.
On short presses Headset Button Controller kicks in and does what I need and on long press Google search pops up.
Hope it helps.
Delete

[HELP] Slimbox 10.1 with mx3 air control - X96 max plus

Hardware: X96 MAX+ 4GB/32
ROM: ROM:Slimbox 10.1 ATV
Hi guys, I just step into this android TV world, and bought this device. Luckily flashed Slimbox 10.1 into my box on my first run without breaking it. Everything works fine expect I noticed I am not able to turn on device after completely shutdown with mx3 air remote control.
I was able to do the following with original remote control:
Long press power button to shutdown (menu shutdown)
Short press power button to boot up after shutdown.
Short press power button to sleep
However, when i use 2.4G Mx3 air remote control, I am not able to boot device after it's completely power off. I had to re-plug in device to boot it.
Does anyone have the same issue, and able to solve it by remapping? or copy the remote config from somewhere to solve this? I found some related solution about this kind of issue, but I am not able to find these files.
#Update
So i was able to unpack the origional img file by using 'Amlogic Unpacker by Nayam'. I found several remote files, but I am not understanding file structure.
There are 'system' and 'vendor' folders under level 2:
-\level2\system\system\usr\keylayout (94 .kl files)
-\level2\vendor\usr\keylayout (44 .kl files)
Not sure whats the different between these 2 folders, and what config files i should copy into USB and into the device.
Thanks in advance.
Hello boys! To me the same thing happens to me. I installed version 8.1 on x96 from sd card and it works great! But when I turned the box off, I could never turn it on again. Does anyone know how to fix it? From now many thanks and greetings!
Did you try enabling CEC control, so when you turn on the TV the box powers up
Rainey222 said:
Did you try enabling CEC control, so when you turn on the TV the box powers up
Click to expand...
Click to collapse
Ok, I'll try it that way Rainey. Thanks a lot!

Categories

Resources