Renal search button - LG Optimus 2x

Hi,
I have forzen all the google search apk and now the search hutton is useless how can I remap it Rondo something else? I have some experiense with digging Into the phone can some one point into the right direction ?
Thanks
Sent from my LG-P990 using XDA App

flash your rom again?

no i dont want to get the search feature back
i want to configure the search button to do something else, like open a browser or a certain app.

You might have to change the .kl file (system/usr/keylayout/) to report a different key code for search key.

yep found it
key 127 and 217
thanks.

I also found it, but which file?.. how should i change it? Lets say, i want to change it to open my stock browser..

shpapy said:
yep found it
key 127 and 217
thanks.
Click to expand...
Click to collapse
Tell me too how to change/remap it to be as a virtual camera key without halfpress button(obvious) or some app ???
Sent from my Optimus 2X using XDA App

Errr.. people...
Which of this files and lines i need to edit? I want my "Search Button" to run my stock browser..
1. AVRCP.kl
2. lgosp-hid.kl
3. qwerty.kl
4. tegra-kbc.kl
5. usb_keyboard_102_en_us.kl
My rom is V20q..

shpapy said:
yep found it
key 127 and 217
thanks.
Click to expand...
Click to collapse
You should definitely right a tutorial, mate

Related

Registry app

Which is the best app to go for to tweak window mobile registry plz? also is there somewhere on this site that has apps to d/l? cheers
I use TotalCommander...
Easy to use and i great filemanager too
http://www.ghisler.com/pocketpc.htm
I've now got that program installed on the diamond but how on earth do I tweak the reg? I want to follow this guide but I don't know where to start with this!
8. Prevent screen switching off during phone call --> HKEY_Local_Machine\Drivers\BuiltIn\RIL\EnableFastD ormantDisplayDuringCall to 0 (Note: does not work on all ROMs)
AND (tested and works on EU ROMs thanks to Rod65)
HKCU\ControlPanel\Phone\Sleep switch value from 1 to 0
Double click on '\\Plugin' then on 'registry'
now you can go wherever you want in the registry...
to edit a value just double click and change
EDIT:
If It's the screen off during calls reg tweak then this worked for me... ( can't remember where I found it?? but it's in the forum somewhere)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"BatteryTimeoutInCall"=dword:20
"BattSuspendTimeoutInCall"=dword:20
"EnableFastDormantDisplayDuringCall"=dword:1
[HKEY_CURRENT_USER\ControlPanel\Phone]
"Sleep"=dword:1
[HKEY_CURRENT_USER\ControlPanel\BackLight]
"LightSensorPollingEnable"=dword:1
This gives me 20 seconds of screen time before it goes out. You can change 20 to any number you want.
I can,t see //plugin, i have a list of other folders but not one called plugin.
sony007 said:
I can,t see //plugin, i have a list of other folders but not one called plugin.
Click to expand...
Click to collapse
Hmmm... ok? and you are att the 'root'?
because at the top I have //Plugin
This is how my TotalCommander looks like... ( It's in Swedish )
Does there really need to be this many threads on this question? Please use the search before asking.
Use CeRegEditor and you can edit the registy remotly from youre PC
I've managed to get a snapshot of my phone and I think it's the root directory but no //plugin
sony007 said:
I've managed to get a snapshot of my phone and I think it's the root directory but no //plugin
Click to expand...
Click to collapse
Ok, I managed to get it like u 2... just use a singel '\' instead of '//\' at the top...
hope it helps
No joy, no worry m8. Thanx for trying to help!
sony007 said:
No joy, no worry m8. Thanx for trying to help!
Click to expand...
Click to collapse
No... you still have it like '/\' .... just the '\'
finally I got it right cheers m8 much appreciated
After u used total commander...
PHMregedit, very good, very easy in use. try it

How to wake TD2 up from sleep mode by pressing any button

It's incovenient to press the power button only.
I tried to put keylock.exe in it but it don't work.
Pls help
ssseii said:
It's incovenient to press the power button only.
I tried to put keylock.exe in it but it don't work.
Pls help
Click to expand...
Click to collapse
I'm also interested in such an option.
Any news on this one? My Diamond1 had the option "Keylock" onder Settings --> System... The D2 hasn't anymore?
I'm Currently using ThrottleLock V.06 The lockscreen like on Android. It has the option to wake on any key.
Also try the cab file I have below. I used it on my Elfin with 6.5 ROM to Auto Lock when I closed the screen. I'm sure it has the same option to wake on any button.
HTC Touch Freak said:
I'm Currently using ThrottleLock V.06 The lockscreen like on Android. It has the option to wake on any key.
Also try the cab file I have below. I used it on my Elfin with 6.5 ROM to Auto Lock when I closed the screen. I'm sure it has the same option to wake on any button.
Click to expand...
Click to collapse
any method to do this by edit the registry or install a little application? coz i want to use PocketShield but it don't hv this option
Any news on this one?
vegardg said:
Any news on this one?
Click to expand...
Click to collapse
Seems like changing HKCU\controlpanel\Keybd\DefaultKeyLock from 1 to 0 did the trick.
It works great!!
Thank you! vegardg!
hi bro, hwo do u edit that? sorry i'm a noob, hope u can help. thanks,
vegardg said:
Seems like changing HKCU\controlpanel\Keybd\DefaultKeyLock from 1 to 0 did the trick.
Click to expand...
Click to collapse
Didnt work for me
any other suggestions?
Can i copy a file from my athena that would enable this? and if so, which?
wackyr said:
Didnt work for me
any other suggestions?
Can i copy a file from my athena that would enable this? and if so, which?
Click to expand...
Click to collapse
Did you perform a soft reset after changing the registry value?
Very nice! Thanks
vegardg said:
Seems like changing HKCU\controlpanel\Keybd\DefaultKeyLock from 1 to 0 did the trick.
Click to expand...
Click to collapse
Works for me. Thank you.
It works it works now, I like my Topaz so much
It works OK. Thank you.
Thanks.works well.
It works,thanks.
But when it in some program,can't work well,have to use power button to wake up

[Q] CM10 Remap G Button

Hey folks,
So yeah, I'd like to remap the G button to the camera. This was possible in all GB ROMs by editing a .kpl file in /system/usr. I remember the G button's number in the file was 95, but I can't find this key in CM10. Can anyone help with this? Cheers!
edit /system/usr/keylayout/Generic.kl
t0g3 said:
edit /system/usr/keylayout/Generic.kl
Click to expand...
Click to collapse
I got that far myself, thanks... but as I said, G button on GB was nr 95, I can't find that here anywhere. Tried adding a string with it manually, didn't work.
Siguiriya said:
Hey folks,
So yeah, I'd like to remap the G button to the camera. This was possible in all GB ROMs by editing a .kpl file in /system/usr. I remember the G button's number in the file was 95, but I can't find this key in CM10. Can anyone help with this? Cheers!
Click to expand...
Click to collapse
Yeah.... You can do it in cm10 too....
Here's the link...
http://forum.xda-developers.com/showthread.php?p=32732761
And here's the proof.. Img
Sent from my LG-P970 using xda app-developers app

can't find the speed dial funtion

Hi all,
Does anyone found the speed dial funtion on Xperia Z stock fw .434 ?
Please share.I have a bad feeling it's missing.
Thx
@function i mean (title issue)
nikkon said:
Hi all,
Does anyone found the speed dial funtion on Xperia Z stock fw .434 ?
Please share.I have a bad feeling it's missing.
Thx
@function i mean (title issue)
Click to expand...
Click to collapse
GO TO THE PHONE AND THEN LONG PRESS ANY NUMBER AND THE SPEED DAIL LOG WILL APPEAR THEN YOU WILL HAVE TO CONFIG. IT
Hit the thanks button if i helped
did that already and doesn't work.
that's the reason of the post
Sent from my robo-droid device
nikkon said:
did that already and doesn't work.
that's the reason of the post
Sent from my robo-droid device
Click to expand...
Click to collapse
I don't think you can add traditional speed-dials to dialling keys by long-pressing - it doesn't work for me - but surely "Starred Contacts" (one swipe to the right of the dialler) makes speed dial redundant? If you want one-touch dialling to specific numbers, you can always add direct dial shortcuts to your homescreen or in a folder via Homescreen Longpress>Apps>Shortcuts>Direct dial.
SF
Sushifiend said:
I don't think you can add traditional speed-dials to dialling keys by long-pressing - it doesn't work for me - but surely "Starred Contacts" (one swipe to the right of the dialler) makes speed dial redundant? If you want one-touch dialling to specific numbers, you can always add direct dial shortcuts to your homescreen or in a folder via Homescreen Longpress>Apps>Shortcuts>Direct dial.
SF
Click to expand...
Click to collapse
thx...it's an option too, but not for me.
hope they enable this in the update to 4.2.2
nikkon said:
thx...it's an option too, but not for me.
hope they enable this in the update to 4.2.2
Click to expand...
Click to collapse
it is there, but sony disabled it for some reason. if you have root, i can make a modified phonebook.apk with speeddialing enabled. just need the original apk as mine is modified to support a non-standard dpi and may not work propperly for you...
nikkon said:
Hi all,
Does anyone found the speed dial funtion on Xperia Z stock fw .434 ?
Please share.I have a bad feeling it's missing.
Thx
@function i mean (title issue)
Click to expand...
Click to collapse
Do you mean this function? I have access to it by opening phone.apk and long press on a number or by going to settings in phone.apk
Sent from my Xperia Z using xda premium
Dreiundachzig said:
Do you mean this function? I have access to it by opening phone.apk and long press on a number or by going to settings in phone.apk
Sent from my Xperia Z using xda premium
Click to expand...
Click to collapse
For some ppl this is disabled inside the phonebook.apk (that is the one responsible for the dialer, semcphone.apk comes in after you push the green 'dial' button).
Anyways, if this is still important to the OP and others, pls post the phonebook.apk from system/app and i will uplode a mod of it with the enabled speeddial thing, it will take under 10 mins to do =)
shulmus said:
For some ppl this is disabled inside the phonebook.apk (that is the one responsible for the dialer, semcphone.apk comes in after you push the green 'dial' button).
Anyways, if this is still important to the OP and others, pls post the phonebook.apk from system/app and i will uplode a mod of it with the enabled speeddial thing, it will take under 10 mins to do =)
Click to expand...
Click to collapse
@Dreiundachzig: yep that one.
@shulmus : please find the file attached.
nikkon said:
@Dreiundachzig: yep that one.
@shulmus : please find the file attached.
Click to expand...
Click to collapse
back up just in case smth went wrong as usual and,
Push to system/app with the сorrect permissions and have the speeddialing fun.
shulmus said:
back up just in case smth went wrong as usual and,
Push to system/app with the сorrect permissions and have the speeddialing fun.
Click to expand...
Click to collapse
Just tried, it works. Thanks
need to have root to overwrite the app.
damn.
nikkon said:
need to have root to overwrite the app.
damn.
Click to expand...
Click to collapse
is there a problem getting root? since it is availble for locked bootloaders, afaik you risk nothing - you can root and unroot and even being rooted does not brek anything including the BE2 and ota / sony upd tool updates
will do this tonight
nikkon said:
need to have root to overwrite the app.
damn.
Click to expand...
Click to collapse
At least give the guy a thanks
Sent from my C6602 using xda premium
shulmus said:
back up just in case smth went wrong as usual and,
Push to system/app with the сorrect permissions and have the speeddialing fun.
Click to expand...
Click to collapse
thanks buddy
wud it work in xperia z .350 stock firmware..???
I can confirm that it works on .434 UK unbranded firmware
@gm007 did that in private already
Sent from my robo-droid device
Bad post. Sorry

Need touch_dev.kl

Hi guys!
Please help me: I need the following file:
touch_dev.kl
located at
\systrem\usr\keylayout\
Can someone please upload a copy?
I would be very happy if u could help me!
Regards Cheetah1024
Cheetah1024 said:
Hi guys!
Please help me: I need the following file:
touch_dev.kl
located at
\systrem\usr\keylayout\
Can someone please upload a copy?
I would be very happy if u could help me!
Regards Cheetah1024
Click to expand...
Click to collapse
I cannot find this file in the folder.
itandy said:
I cannot find this file in the folder.
Click to expand...
Click to collapse
Really?
Can u make a screenshot please, so i can see what files u have there? Maybe it's just called different on your phone... I have the lg optimus 4x hd...
Sent from my LG P880
Cheetah1024 said:
Really?
Can u make a screenshot please, so i can see what files u have there? Maybe it's just called different on your phone... I have the lg optimus 4x hd...
Sent from my LG P880
Click to expand...
Click to collapse
This is what's in the layout folder.
Can u please give me generic.kl? Should do the trick...
Sent from my LG P880
Cheetah1024 said:
Can u please give me generic.kl? Should do the trick...
Sent from my LG P880
Click to expand...
Click to collapse
Here you go.
Didn't help, but thanks anyways...
Sent from my LG P880
Cheetah1024 said:
Didn't help, but thanks anyways...
Sent from my LG P880
Click to expand...
Click to collapse
Each device is having difference .kl files because they have/support different hardware buttons/keyboards
Don't mess up your device .kl files with our device.
CressKH said:
Each device is having difference .kl files because they have/support different hardware buttons/keyboards
Don't mess up your device .kl files with our device.
Click to expand...
Click to collapse
Yeah, i got it... But i know what this file does, so don't be afraid... I got myself a navbar on my phone and now i want to use the menu button for opening the camera and taking pics... I already use the home button for power...
Sent from my LG P880
Cheetah1024 said:
Yeah, i got it... But i know what this file does, so don't be afraid... I got myself a navbar on my phone and now i want to use the menu button for opening the camera and taking pics... I already use the home button for power...
Sent from my LG P880
Click to expand...
Click to collapse
Cool. Wish you luck then
CressKH said:
Cool. Wish you luck then
Click to expand...
Click to collapse
Thanks! Wait, maybe u can help me... Do u know what kl file it is, where the phone actually gets the information from? For example in my phone it's the touch_dev.kl
Sent from my LG P880
I'm trying to figure out too. Trying to make my camera shutter button to quick launch my camera in cm10.1 where this feature is lost from stock.
My device uses gpio-keys.kl, and some other .kl files under different scenario.
You can have my gpio-keys.kl if you want to explore.
CressKH said:
I'm trying to figure out too. Trying to make my camera shutter button to quick launch my camera in cm10.1 where this feature is lost from stock.
My device uses gpio-keys.kl, and some other .kl files under different scenario.
You can have my gpio-keys.kl if you want to explore.
Click to expand...
Click to collapse
Thanks! What does your button do now?
Sent from my LG P880
Hey man, that really helped!! Thanks!!:thumbup:Btw, try longpressing your camera button... This should open the camera app... At least it workes here... normal press in camera app takes a picture:thumbup:
Sent from my LG P880
No sweat. Glad I helped.
In stock Sony ROM, the camera shutter button is able to quick launch camera from deep sleep.
But in cm10.1, this feature is lost, probably because the key is intercepted in interceptKeyBeforeQueueing method in android.policy.jar
I need help in smali programming for that lol.
CressKH said:
No sweat. Glad I helped.
In stock Sony ROM, the camera shutter button is able to quick launch camera from deep sleep.
But in cm10.1, this feature is lost, probably because the key is intercepted in interceptKeyBeforeQueueing method in android.policy.jar
I need help in smali programming for that lol.
Click to expand...
Click to collapse
Hehe^^ I don't know smali either...
What does the button do now in cm?
Sent from my LG P880
It does nothing in sleep mode.
The key got intercepted before it tries to wake the device.
Sad...
CressKH said:
It does nothing in sleep mode.
The key got intercepted before it tries to wake the device.
Sad...
Click to expand...
Click to collapse
And what does it do if its awake?
Sent from my LG P880
Cheetah1024 said:
And what does it do if its awake?
Sent from my LG P880
Click to expand...
Click to collapse
After unlocked, it can launch camera apps.

Categories

Resources