[MOD][ICS] Recent apps on search button - HTC Wildfire S

Hi
If someone prefer "Recent apps" action instead of search button, you must do 7 steps:
1. Download any text editor from market, for example Ted (text editor)
https://play.google.com/store/apps/...GwsMSwxLDEsImZyLnhnb3VjaGV0LnRleHRlZGl0b3IiXQ..
2. Open Root Explorer (or other app like this) and go to /system/usr/keylayout
3. Set permissions to read and write.
4. Open file ****-touchscreen.kl with text editor.
5. Change the line:
Code:
key 217 SEARCH WAKE_DROPPED
to
Code:
key 217 APP_SWITCH WAKE DROPPED
6. Save.
7. Reboot.
Warning!
****- I don't know what it is in other ROMs but in ParanoidAndroid it is cy8c, so in PA this file's name is cy8c-touchscreen.kl
After change it should look like this:
Code:
key 102 HOME WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 217 APP_SWITCH WAKE_DROPPED
If I helped, you can click "Thanks" I won't be angry

I found this file in sense 2.1 ROM
Do you think it could work ?
Sent from my HTC Wildfire S A510e using xda app-developers app

Mazer.one said:
I found this file in sense 2.1 ROM
Do you think it could work ?
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
Try it but make a backup of this file before you will edit it or change it back to SEARCH
Besides, i think in Sense 2.1 recent apps are in a pulldown status bar.
Edit: It won't work. Changing anything in marvel-keypad.kl won't change it. I know because i tried in CM9, but maybe it works in sense

I did the change an now my power button don't work lol.
Search button is still search
But i changed good values
Sent from my HTC Wildfire S A510e using xda app-developers app

Mazer.one said:
I did the change an now my power button don't work lol.
Search button is still search
But i changed good values
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
I have no idea why your power button doesn't work
Unpack your rom.zip on PC, go to system/usr/keylayout , copy marvel-keypad.kl to your SD card and then replace "original" marvel-keypad.kl with this changed. It should work. If not, you should reinstall ROM

I re-edit the file, but now is there à way to restart by command, like reboot ?
Edit 1: volume buttons don't work too
Strange
Maybe it's because i edited the file with text editor from root explorer ?
I added spaces between SWITCH and WAKE instead "tab" ? I don't know !
Edit 2: i rebooted with link2sd, everything works fine now.
Sent from my HTC Wildfire S A510e using xda app-developers app

Related

[Q] is it possible?

is it possible to disable the search button on the bottom right of the phone?..it's a pain in the arse as im always touching it by mistake ..
the|gamer said:
Hi,
as there ware some people that want a Camera Button, I used the pretty useless Searchbutton!
How-To:
The files "qwerty.kl" and "umts_jordan-keypad.kl" in "/system/usr/keylayout" have to be edited in two lines (key 127 & 217) to following:
Code:
key 127 CAMERA WAKE_DROPPED
key 217 CAMERA WAKE_DROPPED
Credits to : shaft from Android-Hilfe.de
Regards
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=924014
Use root explorer for edit file.
Click at qwerty.kl,it's will show menu and select open in text editor.
Change from SEARCH to CAMERA at key 127 and 217.
I think delete SEARCH and save only for disable Search button.
Credit: Mr.bluelissu www.droid-ios.com
If you are running CM7 you can also change it's function from the cyanogen settings menu.
Sent from my MotoDefy.
You can also use RootEplorer and go to the system/app directory. Mount it as read/write, delete GoogleQuickSearchBox.apk, remount it as read-only and reboot.

[Q] Gamepad fix

I'm using CM 7.2.0 fxp 111.When i press circle it acts as the back button in some games.Is there any fix for this?
The circle acts as a back button everywhere, even in your launcher. The developer probably didn't remap the keys correctly.
I know that in the stock rom, you can edit /system/usr/keylayout/keypad-zeus.kl to say "key 305 BUTTON_B" instead of "key 305 BACK ALT WAKE_DROPPED". It probably would work on CM too. Just make sure all permissions stay the same
jacklebott said:
I know that in the stock rom, you can edit /system/usr/keylayout/keypad-zeus.kl to say "key 305 BUTTON_B" instead of "key 305 BACK ALT WAKE_DROPPED". It probably would work on CM too. Just make sure all permissions stay the same
Click to expand...
Click to collapse
Thank you so much, this is very useful to know. I can even remap the ridiculous order of the Android buttons.
jacklebott said:
I know that in the stock rom, you can edit /system/usr/keylayout/keypad-zeus.kl to say "key 305 BUTTON_B" instead of "key 305 BACK ALT WAKE_DROPPED". It probably would work on CM too. Just make sure all permissions stay the same
Click to expand...
Click to collapse
This worked, o acts as o rather then back in Virtua Tennis now, thanks!
Could someone put up a set by step noob tutorial for this fix?
Sent from my R800x using XDA
Good question, Can one just edit this file while the OS is loaded or does this have to be done a diff way or with a CWM script?
1. Download "File Manager" from the Market, or other file manager that has root access. Go to File Manager's Settings and enable "Root Explorer" and "Mount System Folders".
2. Go to folder "/system/usr/keylayout/", copy file "keypad-zeus.kl" and paste it in folder "/mnt/sdcard". At this point, make a back up of the file if necessary.
3. Tap and hold on file "keypad-zeus.kl" and open it with any text editor.
4. In Text Editor, change the contents of the directional and game buttons mapping as follows:
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_X WAKE_DROPPED
key 305 BUTTON_A WAKE_DROPPED
key 304 BUTTON_B WAKE_DROPPED
key 307 BUTTON_Y WAKE_DROPPED
If you're using ICS rom that has the directional buttons rotated 90* to the left (Up becomes Right), make these changes:
# KEY_UP, KEY_LEFT, KEY_RIGHT, KEY_DOWN
key 103 DPAD_LEFT WAKE_DROPPED
key 105 DPAD_DOWN WAKE_DROPPED
key 106 DPAD_UP WAKE_DROPPED
key 108 DPAD_RIGHT WAKE_DROPPED
Click to expand...
Click to collapse
5. Save the changes in Text Editor. Copy file "keypad-zeus.kl" back to folder "/system/usr/keylayout/", overriding the old file.
6. Tap and hold on file "keypad-zeus.kl", select Permissions. Set the permission to:
Owner: Read/Write
Group: Read only
Others: Read only
7. Reboot the phone.
Note: You can't edit the file "keypad-zeus.kl" directly from the system folder, you need to copy it to the sdcard, since the text editor do not have root access to save the changes. (Unless you're using the app Root Explorer.)
Ok here is how I did it. (Thanks eksasol btw for your long version hehe but I didnt see it before I started saying Ill figure it out myself hehe)
So I edited the file, which is attached. Download it, unzip it, save the keypad-zeus.kl to your SDcard on your phone. Then in market use Root Explorer or ES File Manager (Which is free!)
Open Es File Manager, goto settings, Enable Up to Root folder, then scroll down and enable Root Explorer and Mount File System.
Then from there you can navigate to your SD card storage, tap and hold to copy the keypad-zeus.kl file then navigate to the /system/usr/keylayout/ folder, hit menu, operations, paste. It will ask you if you want to merge the file. You hit ok.
Then once done, can close out, reboot and vola, All is working!
What I can 100% confirm this is handy for. No longer will O in minecraft try to open the game menu. Your emulators MAY need to be remapped as well since before it mapped the hardware key to "back"
Hope this helps out.
Mysticales said:
Ok here is how I did it. (Thanks eksasol btw for your long version hehe but I didnt see it before I started saying Ill figure it out myself hehe)
So I edited the file, which is attached. Download it, unzip it, save the keypad-zeus.kl to your SDcard on your phone. Then in market use Root Explorer or ES File Manager (Which is free!)
Open Es File Manager, goto settings, Enable Up to Root folder, then scroll down and enable Root Explorer and Mount File System.
Then from there you can navigate to your SD card storage, tap and hold to copy the keypad-zeus.kl file then navigate to the /system/usr/keylayout/ folder, hit menu, operations, paste. It will ask you if you want to merge the file. You hit ok.
Then once done, can close out, reboot and vola, All is working!
What I can 100% confirm this is handy for. No longer will O in minecraft try to open the game menu. Your emulators MAY need to be remapped as well since before it mapped the hardware key to "back"
Hope this helps out.
Click to expand...
Click to collapse
How is this better??
The UP / Down now = Left / Right ...?
Mysticales said:
Open Es File Manager, goto settings, Enable Up to Root folder, then scroll down and enable Root Explorer and Mount File System.
Then from there you can navigate to your SD card storage, tap and hold to copy the keypad-zeus.kl file then navigate to the /system/usr/keylayout/ folder, hit menu, operations, paste. It will ask you if you want to merge the file. You hit ok.
Then once done, can close out, reboot and vola, All is working!
Click to expand...
Click to collapse
Oh my, i missed a step, pasted your file but root explorer erased mine without merging, buttons are inactive after reboot, only d-pad remains
FPlusPS3 said:
How is this better??
The UP / Down now = Left / Right ...?
Click to expand...
Click to collapse
Um.. not sure what is going on for you, but I am not having that issue. Considering that wasnt even touched. Its just like above with the edits, its just changing 1 mapping from back to be the button instead.
Edit: Ok see your other post, So you only have D-pad working? That doesnt sound right either. Does the root explorer keep the file permissions on it? I know with ES file explorer, it mounted the system files, then I replaced the file, closed out rebooted, no issues. What XP model do you have and what rom?
---------- Post added at 10:31 AM ---------- Previous post was at 10:18 AM ----------
Eskasol, Why change Dpad_Center to Button_A?
Also something else was brought up that is a good question.
gene_wildhart said:
Ah! Now we are getting somewhere! According to the Sony developer documentation, the "O" button is mapped to BACK ALT, which is what DosBox Turbo expects to see. With it re-mapped to BUTTON_B, I suspect the mapping in DosBox Turbo will no longer be able to recognize the 'O' button. Just curious, what is the reason for changing the mapping from what Sony defaulted it to?
Click to expand...
Click to collapse
This is indeed a good question, so on stock roms, is this still showing as BACK ALT or is it showing up as Button_B?
Before everyone starts assuming what the normal is supposed to be now.
Edit: Ok according to a user. Stock rom shows it as "BACK ALT" while some other roms show it as "Button_B" So now the question is, what are we supposed to believe?
Mysticales said:
Ok according to a user. Stock rom shows it as "BACK ALT" while some other roms show it as "Button_B" So now the question is, what are we supposed to believe?
Click to expand...
Click to collapse
I am 100% positive the stock rom uses "BACK ALT" (seeing as I'm using it), but it can be changed to "BUTTON_B" and still work. It may have been modded roms that people saw "BUTTON_B" without changing it themselves. I have used all the stock R800x and R800i roms, and got that result
---------- Post added at 07:27 PM ---------- Previous post was at 07:23 PM ----------
garcimak said:
Oh my, i missed a step, pasted your file but root explorer erased mine without merging, buttons are inactive after reboot, only d-pad remains
Click to expand...
Click to collapse
You messed up the file's permissions when you removed, then put the new file there. By simply overwriting the file, the permissions should stay correct. The correct permissions are rw,r,r (644)
Just for reference, my file is for X = Dpad_Center and O = Button_B
However seems after all the posts we did and some research, BACK ALT is what we should use. Unless we get a rom dev to add a toggle option to change the mapping for us. (Or an app to do this)
i tried to remap xperia play buttons on WWF95 becuase the "O" button always takes me to close dosbox app but now both "O" and "X" aint working.
this is the order:
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_X WAKE_DROPPED
key 305 BUTTON_A WAKE_DROPPED
key 304 BUTTON_B WAKE_DROPPED
key 307 BUTTON_Y WAKE_DROPPED
what should i do to get this buttons to work properly?
thanks.
It should be in the order of "Y,B,A,X" not "X,A,B,Y" that's why
this is the default CM7 setup:
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_Y WAKE_DROPPED
key 305 BACK ALT WAKE_DROPPED
key 304 DPAD_CENTER WAKE_DROPPED
key 307 BUTTON_X WAKE_DROPPED
i have changed to this:
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_Y WAKE_DROPPED
key 304 BUTTON_B WAKE_DROPPED
key 305 BUTTON_A WAKE_DROPPED
key 307 BUTTON_X WAKE_DROPPED
now non of the buttons are working.
what is the right setup?
thanks.
Does the file have the correct permissions? RW,R,R or 644
yes, rw-r--r--
Just remember if push comes to shove, look at my post, use that zip and method to restore your file. Or edit it, then use the method. Just keep in mind however. remapping the buttons will work for apps/games/emulators that allow for custom mapping. However games/apps that DONT will prob not work as most devs code it to be "BACK ALT" not "BUTTON_B" ok? Thats why after we had a big discussion on this, we all decided to keep it as BACK ALT and to tell devs of any issues we found due to the O button.

Tw 4.1.2 vol-wake/non-wake Guide

First & as always, it's safest, since you're working in the /sys or /system file path to make a nandroid backup before hand just in case.
hasn't been tested for JB but i believe it will work.
using a file explorer on the phone, mount the system as Read/Write,
navigate to the directory path:
WAKE - turns on volume rocker wake
WAKE_DROPPED - shuts the the wake off
/system/usr/keylayout/
find the "ffa-keypad.kl" file, long press it, open in text editor
find VOLUME_UP
and
VOLUME_DOWN
and type "WAKE" next to each entry. this will enable wake on volume rocker.
if you were wanting to disable wake on volume rocker type "WAKE_DROPPED".
then settings or menu and "save changes"
now, in the same directory, open "fluid-keypad.kl", "generic.kl.
and do the same steps to add "WAKE" or "WAKE_DROPPED" accordingly next to each Volume UP/DOWN entry.
may require a restart of the phone to take effect.
exelent info ..thanks
I'm on stock UVMC6 rooted and this is not working for me. I've made changes to all three files and after a reboot, no luck.
Help? I really need this mod. I've seen edits to Android policy .jar in the past but I'm not too sure how that works or whether that is needed in this case.
I tried this too and it didn't work. I followed the instructions and had no luck with it.
Same, both files say dropped, but still able to wake screen with volume keys. Running Jedi mind trick
Sent from my SGH-T989 using xda premium
to enable vol wake, you have to mod the android.policy.jar
does this make both volume up and volume down to function as the power button? or just one of them? also, is it possible to change the power button to act as volume down/up?
thanks!
Sent from my SGH-T989D using xda app-developers app
YourPartyBoy said:
First & as always, it's safest, since you're working in the /sys or /system file path to make a nandroid backup before hand just in case.
hasn't been tested for JB but i believe it will work.
using a file explorer on the phone, mount the system as Read/Write,
navigate to the directory path:
WAKE - turns on volume rocker wake
WAKE_DROPPED - shuts the the wake off
/system/usr/keylayout/
find the "ffa-keypad.kl" file, long press it, open in text editor
find VOLUME_UP
and
VOLUME_DOWN
and type "WAKE" next to each entry. this will enable wake on volume rocker.
if you were wanting to disable wake on volume rocker type "WAKE_DROPPED".
then settings or menu and "save changes"
now, in the same directory, open "fluid-keypad.kl", "generic.kl.
and do the same steps to add "WAKE" or "WAKE_DROPPED" accordingly next to each Volume UP/DOWN entry.
may require a restart of the phone to take effect.
Click to expand...
Click to collapse
Thanks for the info.
Was anyone ever able to get this working? I tried the guide in the first post and no luck.
Running UVMC6, rooted.
Does anyone have an android.policy.jar for this ROM edited for volume wake?
Joe USer said:
Was anyone ever able to get this working? I tried the guide in the first post and no luck.
Running UVMC6, rooted.
Does anyone have an android.policy.jar for this ROM edited for volume wake?
Click to expand...
Click to collapse
Try using my guide, it seems to work for everybody.
http://forum.xda-developers.com/showthread.php?t=2299222
joyj112 said:
Try using my guide, it seems to work for everybody.
http://forum.xda-developers.com/showthread.php?t=2299222
Click to expand...
Click to collapse
Thanks, but I'm trying to enable, not disable.
Solved
Solved it.
Install the stock ROM from here http://forum.xda-developers.com/showthread.php?t=2226860 and the volume mod is available as well.
Joe USer said:
Solved it.
Install the stock ROM from here http://forum.xda-developers.com/showthread.php?t=2226860 and the volume mod is available as well.
Click to expand...
Click to collapse
You could do that if you want, but I think in order to turn non the volume wake mod, you just reverse the process and everything should be working
joyj112 said:
You could do that if you want, but I think in order to turn non the volume wake mod, you just reverse the process and everything should be working
Click to expand...
Click to collapse
I tried that first, unfortunately it doesn't work with Jellybean. JB requires changes to the android.policy.jar which requires far more work.

Disable Long Press Menu Kill app

This is specifically for Wicked ROM v10, v9.1 Galaxy S3:
(Remember, always do a nandroid backup)
To disable Long Press Menu Kill app
1. Copy "android.policy.jar" to your phone
2. Use Root Explorer copy "android.policy.jar" and navigate to:
"/system/framework" paste and overwrite the file.
(If it gets frozen, you might have to do hard reset - pull battery)
or hold down "volume up + home button + power button until power off,
then release volume up + home button while still holding power button.
Best option if above doesn't work...(might work on other ROMs)
Best option is to download ROM and open with winzip or winrar,
Navigate to "/system/framework" replace "android.policy.jar" and install rom. (long press menu kill will be gone)
If you want really nice toggles (see attached picture)
navigate to /system/framework and replace/overwrite "lidroid-res.apk"
If you want to replace shutdown animation for stock animation:
navigate to /system/media/video/shutdown and replace/overwrite "shutdown.qmg"
Bootup animation is located at "/system/media"
file named bootanimation.zip - change to your liking...
Mod edit: Attachment removed
@all, I would not download anything this guy has posted!
Sent from my SGH-T999 using xda premium
There are several problems with your instructions. Please learn how to make something flashable before releasing it. Imo, there is no reason to do this the way you wrote it. There are several, much better, much easier, and much safer ways to do this.
Also, is this your own work? Or did you pull it from another rom?
Lastly, be careful not to post paid apps here. This isn't pirate bay or some warez site.
Sent from my SGH-T999 using xda premium
Please read forum rules about using work of others
Seek permission
Post credits

How to get onscreen buttons on Redmi 1s

step 1 – Make sure your RedMi 1s is rooted.
Step2- Install ‘ Root explorer ’ from Play store.
Step 3- Open Root Explorer and allow Super user acess
Step 4-In Root Explorer, open the Device (/) directory from Menu > Local > Device. Go to system folder and open the build.prop file with RB text Editor Or any other Editor
Step 5- Edit the file by selecting the edit option from top right corner. Then scroll down to the bottom and add the line qemu.hw.mainkeys=0 at the last.
Step 6 - Go back and select ‘Yes’ to save the build.prop file.
Step 7- Reboot your phone
Here You Go..
After that I rebooted my mobile but I didn't get onscreen keys.. Can u help me..?
aiyalsenthil said:
After that I rebooted my mobile but I didn't get onscreen keys.. Can u help me..?
Click to expand...
Click to collapse
please... can you give me exact steps ... what you did? . Which ROM are you using..?. have root permission? did you correctly type the codes..? did you save the file.??
I have added that line in build.prob at last . I m using miui 45 stable ROM. The mobile is rooted.
You don't have access for OK button on SIM Pin and can't accept it. It stays beneath the soft keys. There is a way around this issue, like a line code to move the PIN pad a litter higher?
Here's a video tutorial I made for the same
http://youtu.be/8R3acOV9djs
Sent from my HM 1SW using XDA Free mobile app
im unable to edit build.prop coz at end it shows it is read only document cant be edited
shubham.w321 said:
im unable to edit build.prop coz at end it shows it is read only document cant be edited
Click to expand...
Click to collapse
Mount /system as r/w in ES file explorer or anything else which does the function !
We can also use third-party apps
Sent from my HM 1SW using XDA Free mobile app
---------- Post added at 05:46 PM ---------- Previous post was at 05:41 PM ----------
Don't do such thing just go on play store and download a app called softkey enabled.
Sent from my HM 1SW using XDA Free mobile app
For full details go here mtblogr.com/how-to-enable-soft-keys-on-xiaomi-redmi-1s-mtblogr-com
Works perfectly on RedMi 1S with CM11 R14 ! Nice share!
use the app in the description
Or you can use this app for onscreen buttons
Code:
https://play.google.com/store/apps/details?id=net.alviano.android.softbuttons&hl=en
can we set the transparent on navbar?

Categories

Resources