[Q] Disable Capacitive Buttons With CM9 Installed - Galaxy Tab Q&A, Help & Troubleshooting

Is there a way to disable the four capacitive buttons on the Tab with CM9 installed? I downloaded Tab Button Remapper from the market, but it only FC after giving it root permission.

Not yet at the moment. Perhaps you could try disabling the soft buttons instead. That's why I did for now anyways.
Sent from a Galaxy S 2 Far Away

Yes u can, install this zip with recovery mod in your external sd. This fix and remove soft bottoms and enable usb mass storage when u conect to pc

Excellent! Thank you both for the reply and tavooluis for the file!
EDIT-Ah well I guess I wasn't clear enough on the buttons i wanted disabled--the four buttons on the bottom of the Tab (menu, home, back, search) not the onscreen buttons, but, hey, it IS great to have USB working!

lambstone said:
Not yet at the moment. Perhaps you could try disabling the soft buttons instead. That's why I did for now anyways.
Sent from a Galaxy S 2 Far Away
Click to expand...
Click to collapse
Ok, figured it out......I'm not a DEV, so especially [insert standard disclaimers here].
I used ES File Explorer to go to /system/usr/keylayout/ and I commented out (#) all four of the following entries in AT42QT602240_Touchscreen.kl:
key 139 MENU WAKE_DROPPED VIRTUAL
key 102 HOME WAKE_DROPPED VIRTUAL
key 158 BACK WAKE_DROPPED VIRTUAL
key 217 SEARCH WAKE_DROPPED VIRTUAL
I, personally, like using just the onscreen buttons. Now to get the LEDs to stay off. For now I'm using Button Brightness Widget from the market to turn them off while I'm using it.

ICS Soft buttons only (disabled & dim-able capacitive buttons!)
NovaChief said:
Ok, figured it out......I'm not a DEV, so especially [insert standard disclaimers here].
I used ES File Explorer to go to /system/usr/keylayout/ and I commented out (#) all four of the following entries in AT42QT602240_Touchscreen.kl:
key 139 MENU WAKE_DROPPED VIRTUAL
key 102 HOME WAKE_DROPPED VIRTUAL
key 158 BACK WAKE_DROPPED VIRTUAL
key 217 SEARCH WAKE_DROPPED VIRTUAL
I, personally, like using just the onscreen buttons. Now to get the LEDs to stay off. For now I'm using Button Brightness Widget from the market to turn them off while I'm using it.
Click to expand...
Click to collapse
Thanks a ton for this info... maybe this tidbit will help you a bit -
Did you know that there is a button back-light on/off function built in the ICS CM9 kernel for our Tabs !
koxudaxi developed this in his own kernel and yes it is in there
To use, simply tap and hold the menu key for like 3 seconds then release !
Do the same to toggle back on.
***Edit - I got to thinking....that with the buttons disabled then ofcourse koxudaxi's switcher wouldn't work right?
BUT to my surprise now I have CM9, soft buttons only, with capacitive buttons disabled, and press menu for 3 secs - lights out !
I am now super happy with ICS on tab
Thanks to koxudaxi, humberos for kernel, and NovaChief for this missing puzzle piece.
-peace-

nadiros said:
Thanks a ton for this info... maybe this tidbit will help you a bit -
Did you know that there is a button back-light on/off function built in the ICS CM9 kernel for our Tabs !
koxudaxi developed this in his own kernel and yes it is in there
To use, simply tap and hold the menu key for like 3 seconds then release !
Do the same to toggle back on.
***Edit - I got to thinking....that with the buttons disabled then ofcourse koxudaxi's switcher wouldn't work right?
BUT to my surprise now I have CM9, soft buttons only, with capacitive buttons disabled, and press menu for 3 secs - lights out !
I am now super happy with ICS on tab
Thanks to koxudaxi, humberos for kernel, and NovaChief for this missing puzzle piece.
-peace-
Click to expand...
Click to collapse
Is usb storage working for you? The stock cm9 usb storage I mean. I flashed the zip provided to remove the soft buttons and it worked. So if you did not flash the particular "fix" and instead just disabled the capacitive buttons, does the usb storage work?

lambstone said:
Is usb storage working for you? The stock cm9 usb storage I mean. I flashed the zip provided to remove the soft buttons and it worked. So if you did not flash the particular "fix" and instead just disabled the capacitive buttons, does the usb storage work?
Click to expand...
Click to collapse
No it's not working ATM. I did flash the zip, but when I noticed that the onscreen buttons were gone I flashed back. I did copy/paste the "volds" that was posted in the DEV thread to switch the mount points, but have not gotten usb to pc to work yet. Not a big deal for me right now because i can use BT to transfer files to/from the pc. Takes a bit longer than USB, but it works.

nadiros said:
Did you know that there is a button back-light on/off function built in the ICS CM9 kernel for our Tabs !
koxudaxi developed this in his own kernel and yes it is in there
To use, simply tap and hold the menu key for like 3 seconds then release !
Do the same to toggle back on.
***Edit - I got to thinking....that with the buttons disabled then ofcourse koxudaxi's switcher wouldn't work right?
BUT to my surprise now I have CM9, soft buttons only, with capacitive buttons disabled, and press menu for 3 secs - lights out !
I am now super happy with ICS on tab
Thanks to koxudaxi, humberos for kernel, and NovaChief for this missing puzzle piece.
-peace-
Click to expand...
Click to collapse
That, plus BLN Control Free keeps the lights off perfectly. Thanks for that tip!

oh dear , how i install Cm9 ??? help me and please got it screen shoot in topic

lambstone said:
Is usb storage working for you? The stock cm9 usb storage I mean. I flashed the zip provided to remove the soft buttons and it worked. So if you did not flash the particular "fix" and instead just disabled the capacitive buttons, does the usb storage work?
Click to expand...
Click to collapse
Eh - There appears to be conflicting info in this thread.... OP wanted capacitive "hard" buttons disabled.
The "sbradymobile_fixes.zip" that was posted to help removes the soft buttons entirely
and that is just counter productive
***in short DO NOT flash the zip if you wish to achieve what the OP wanted***
Posts #5 & #6 have all the info needed
-peace-

IT WORKS! Thank you so much. Finally,a great ICS experience on my old Tab.

Nice!
What roms are you guys using?
Maybe we could get the chefs to cook this in as activated by default?
Sent from my GX-I9932 using XDA App

Related

[Q] help with button mapping/haptic feedback for i9000 roms

so im not sure if this is just the particular i9000 rom that im using with reorient kernel or this will happen with all of them, but all the buttons work fine, and haptic feedback works on all of the buttons except for the home button. while this is not a huge issue, it bugs me and ive been looking into trying to fix it. i dont think this is a reorient kernel issue since all the buttons work fine, i think it has to do with the i9000 having only 3 buttons total, and the main home button is a hard key. so ive found in /lib/modules the vibrator.ko module but im not sure if this is relevant or not. also in /system/usr/keylayout melfas-touchkey.kl has the key layouts for the 4 main keys and the home key is key 139. so im guessing that there is a file somewhere that has the haptic feedback controls and button 139 has to be added into this file, but i cant find it. or maybe im completely wrong.
anybody got any ideas, tips or solutions?
thanks in advance.

Would you recommend remapping the volume buttons?

Just wondering if people have done it and didn't like it, or vice-versa. It does seem bad for the hardware, but I can't stand softkeys/button saviour.
If you're using nookie Froyo, you can try the MENU/BACK soft buttons in the status bar mod, instead of remapping the vol+/- buttons. I've been using it since it came out, and can confim it works for nookie Froyo 6.7. Here's the link to the original thread: http://forum.xda-developers.com/showthread.php?t=932631
It does have it's issues, mainly with the stock browser, and causing it to FC. Other than that I have not noticed any other problems.
If you are interested in useing the mod, but don't know how to install it, let me know. I'll pm you or post instructions.
I absolutely recommend remapping the volume buttons. Softkeys is nice, but kind of a pain sometimes. For instance, when I would view pictures in the XDA APP, I would have to restart the app instead of backing out, for some reason softkeys wouldnt let me back out of the picture viewer. It's just much easier to have the menu and back buttons always available than rely on software. I installed volume volume control if I need to adjust volume for some reason.
Is there an app that puts volume in the status bar that anyone knows of?
buffnutz1 said:
Just wondering if people have done it and didn't like it, or vice-versa. It does seem bad for the hardware, but I can't stand softkeys/button saviour.
Click to expand...
Click to collapse
Yup... I've got a Pandigital Novel(white v2) w/custom fw and it'd be essentially useless w/o re-mapping the vol keys to menu and back along with soft-keys in the notification bar...
NC has one up on the WPDN though, it has the n home key plus the 2 vol keys and volume can be controlled through setting or a quick-settings app anyways or by adding soft-keys... still no substitue for physical keys or capacitive screen keys though, unfortunately... (spoilt by gtab with the full complement...)
-------------
buffnutz1 said:
I'm sure you guys know where I'm screwing up. After I adb pull, I only get this
/system/usr/keylayout/twl4030-keypad.kl -> ./twl4030-keypad.kl
/system/usr/keylayout/qwerty.kl -> ./qwerty.kl
/system/usr/keylayout/AVRCP.kl -> ./AVRCP.kl
but it says to edit " 'TWL4030_Keypad.kl' and 'omap_twl4030keypad.kl' "with your text editor of choice; I used vi, always a safe choice.
I don't have the omap. what should I do?
Click to expand...
Click to collapse
Just modify the qwerty.kl in the place of omap. That's what I did and things are working fine.
--ex
Love my remapped buttons and i saved the originals so i can go back anytime i wish.
buffnutz1 said:
Is there an app that puts volume in the status bar that anyone knows of?
Click to expand...
Click to collapse
I am on the stock 1.1 rooted and have mapped my volume buttons - I have tried the other ones, and I MUCH prefer having hard buttons.
I downloaded a volume app "Volume Master Free". It has about 5 different volume controls, but I only use the system volume and the media volume controls.
I use Zeam as home screen; and I put a shortcut to Volume Master on the bottom right of my Zeam shortcut bar. It works very well. I do need to go to the home screen to change volume; but I can tap on the notification bar and toggle mute, so that works for me.
Yes, it makes a huge difference on the stock rom and froyo -- though honeycomb's soft buttons eliminate the need to do so.
Can't recommend remapping the keys enough. On froyo it makes a huge difference in functionality on. The device, life is a pain without it.
how do you remap the vol buttons? i would love to do it
TweetyBear said:
how do you remap the vol buttons? i would love to do it
Click to expand...
Click to collapse
Go here for instructions:
http://nookdevs.com/NookColor_Remap_volume_buttons_for_back_and_menu
--ex
I remapped.
I also recommend remapping your volume buttons. It's handy having tactile buttons for the back and menu functions.
What really sold me on remapping was that I didn't like to have a Softkeys button floating on the home screen. Without a floating button, I would have to double tap the hardware "N" button to bring up the Softkeys interface, then hit "menu" or "back." If I have to double tap a hardware button to use "menu" or "back," I might as well just remap those functions to the volume buttons and use a single tap.
evilxenu said:
Go here for instructions:
http://nookdevs.com/NookColor_Remap_volume_buttons_for_back_and_menu
--ex
Click to expand...
Click to collapse
thanks. will attempt over the weekend
can remapping the volume buttons be done when running cm7 nightlies off SD ?
I didn't find a definitive answer
I ran with the CM7 softkeys, Button Savior, remapped volume keys and I just finally settled on zMooth.

power button options

is there a way to add options when we long press the power button? optionto not only shutdown the phone but also reboot.
The CyanogenMod (CM7) ROM, does this. If you can live with that ROM (or any ROM based on that), I can highly recommend this one from wgspoelstra.
does it have the 64RAM hack (freeing up an extra 64 mb ram)
Yes, CM7 uses the vorkKernel which has this hack.
thanks! i have the WGSPOELSTRA on my phone, working great, i am on v.26, i haven't updated to the latest because i'm seeinig some negative feedback on the release
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
i can't find it again...i knew i found an option that does that... now i'm not sure if it's in the slick custom roms or the WGSPOELSTRA's
Graffin said:
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
Click to expand...
Click to collapse
CM7 has this functionality.
yan go to CM7 settings --> input --> and volume rocker wake option
baste07 said:
is there a way to add options when we long press the power button? optionto not only shutdown the phone but also reboot.
Click to expand...
Click to collapse
Whilst it is possible with stock it's a lot of framework edits. I took a look and hacked together a reboot proof of concept... you have to call an existing function and LG have obfuscated this function in their framework...
Graffin said:
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
Click to expand...
Click to collapse
WidgetLocker supports this.
baste07 said:
yan go to CM7 settings --> input --> and volume rocker wake option
Click to expand...
Click to collapse
Brilliant. I love LG 2X but the power button at the top and volume buttons on the right are a big fail in my opinion. I might be too use to the layout on SGS.
Having said that I don't mind if there is a workaround and this for me is perfect. Thanks.

Is it possible to replace the menu button with the ICS Task Manager/Multitasker?

Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
joshnichols189 said:
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
Agree. Home buttons degrade and break.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
VTEChump said:
Agree. Home buttons degrade and break.
Click to expand...
Click to collapse
Yep, and because given the choice, I'm sure most will opt to use it this way. the menu button is getting deprecated as a hardware button and being implemented more and more inside applications.
Hopefully some more ICS ROM devs will see this and review this suggestion. I would love to know what they have to say about it.
I wouldnt mind a widget to do it either. That shouldnt be to hard to do.
moyajaya said:
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Click to expand...
Click to collapse
+1.
Regards.
This was the first thing I wanted to do after installing ICS. The capacative buttons are mapped in /system/usr/keylayout/melfas-touchkey.kl;
Code:
key 158 BACK WAKE
key 139 MENU WAKE
I'm just not sure what to replace 'MENU' with. 'TASK'?
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
bootlessjam said:
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
Click to expand...
Click to collapse
Thank you for trying this and letting us know about the results. I was thinking if all fails maybe the search option that appears when you click and hold the menu button could be replaced with the menu?
Clicking the Old menu button = New app switcher
Holding the old menu button = Menu
how about that? I think most apps include a search icon if/when they include search functionality.
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
bootlessjam said:
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
Click to expand...
Click to collapse
Great finds! Thumbs up!
Thank you for your efforts!
I would love to try those but I moved back to Gingerbread for the time being. ICS in the note is far from being a daily driver for me. A lots of bugs and battery drains compared to Gingerbread. Hopefully this will change quickly. I trust the dev community and i'm sure they'll beat samsung in having stable ICS releases...
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
moyajaya said:
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1450138
I looked into doing the same thing as you did only because I love the tablet layout and holding the home button doesn't bring it up.
In order to get what you and a few others would want on select roms, the source for the framework would have to be adjusted as said in the thread, meaning each dev would have to implement this independently.
The second thing is alread mentioned in this thread, which is changing the key layout.
You can hope that the dev has no issues with inserting it into their build.
NOT changing the source but editing the key layout will only bring up the a Gingerbread styled task switcher. I've tried ;_;
I personally might I add, would just love the same hold the home button functionality while in tablet mode.
evilisto said:
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
Click to expand...
Click to collapse

Menu Button Failing

So, if you were following my other thread (which I doubt anyone was since no-one offered help), I managed to fix my incredibly hard soft brick
Everything's running great now, except the menu key isn't functioning. This would be fine, except the 3dot menu xposed module is causing other problems when installed and I'm not running a CM ROM so I can't simply make it double press the home button for menu or anything like that.
So I actually need to get the menu button working, not find an alternative. I can't seem to find the number of the button tho. I know you can check with CWM but I don't have it and don't want to risk stuffing up my phone again right now because I will be relying on it pretty heavily for the next week or so. How can I remap the menu button so it can be used as the menu button if I don't know the hard key number? International S4 Active, thanks.
You can try here
http://forum.xda-developers.com/showthread.php?t=2534697. In the Aroma Installer, there's is a button fix of sorts, used on the i537 in safestrap, so we could use regular s4 roms, soomewhere else, don't remember where, the is the button .zip file, by itself.
Sent Via Smoke Signals
tiskael said:
So, if you were following my other thread (which I doubt anyone was since no-one offered help), I managed to fix my incredibly hard soft brick
Everything's running great now, except the menu key isn't functioning. This would be fine, except the 3dot menu xposed module is causing other problems when installed and I'm not running a CM ROM so I can't simply make it double press the home button for menu or anything like that.
So I actually need to get the menu button working, not find an alternative. I can't seem to find the number of the button tho. I know you can check with CWM but I don't have it and don't want to risk stuffing up my phone again right now because I will be relying on it pretty heavily for the next week or so. How can I remap the menu button so it can be used as the menu button if I don't know the hard key number? International S4 Active, thanks.
Click to expand...
Click to collapse
You should be able to flash the keys fix in the MasterPatch that @captaincado posted above. For the actual key numbers see below.
Code:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 172 HOME
key 139 MENU
key 158 BACK
Good luck.
Just an update, I followed all the instructions, couldn't get this working. It's possible that the button just happened to physically break when I flashed the ROM but it doesn't matter, because I found All in one Gestures (link below) which I used to replace the menu button... and then every other button, plus some. It's really good, I recommend it to anyone who has trouble reaching certain button, has a broken button or would just wants to have a go at increasing speed:
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en

Categories

Resources