Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,847 Members 54,188 Now Online
XDA Developers Android and Mobile Development Forum

[Q] button map for cwm recovery - @rwaterspf1

Tip us?
 
nijhawank@yahoo.com
Old
(Last edited by nijhawank@yahoo.com; 16th May 2014 at 08:44 PM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Default [Q] button map for cwm recovery - @rwaterspf1

Hi friends:

I have an infuse 4g with the infamous power button issue. Somehow I have managed to install kitkat on it (due to power button being too touchy in touching it, it was almost impossible to boot to recovery or download mode using the button combo).

So I flashed AoCP 7.2 which was good. I even liked the fact that the CWM recovery included with it did not need me to press the power button for menu selection but rather the capacitive touch search button worked for menu item selection. The CWM version was 6.0.4.6.

But now I updated to CM11 and it upgraded my recovery to 6.0.4.8 but now capacitive search button does not work for item selection. Option and home capacitive touch buttons are still working for moving up and down but I really want search capacitive touch button to work for item selection.
Can somebody explain how can I enable this?

Edit: the search capacitive button does not work for item selection in the root menu (it works in any of the sub-menus).

Thanks in advance.
 
nijhawank@yahoo.com
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
anybody please.
 
nijhawank@yahoo.com
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Default @Fullmetal Jun

Hi Fullmetal Jun:

I applied your recently created cm11 image and it seems the latest recovery does not allow search capacitive button on the main screen in cwm.
I checked the recent commits in recovery in the github and there are some changes related to how the search button is handled.

I thought to compile the recovery myself but i need the board specific make file that i want to extract from the boot.img but the unpack tools are not working on the boot.img, can you please provide this or generate a new boot.img with recovery fixes (the fix should be small).

Thanks
 
Fullmetal Jun
Old
#4  
Fullmetal Jun's Avatar
Senior Member
Thanks Meter 50
Posts: 128
Join Date: Sep 2013
Location: Netherealm Mortal Kombat
Quote:
Originally Posted by nijhawank@yahoo.com View Post
Hi Fullmetal Jun:

I applied your recently created cm11 image and it seems the latest recovery does not allow search capacitive button on the main screen in cwm.
I checked the recent commits in recovery in the github and there are some changes related to how the search button is handled.

I thought to compile the recovery myself but i need the board specific make file that i want to extract from the boot.img but the unpack tools are not working on the boot.img, can you please provide this or generate a new boot.img with recovery fixes (the fix should be small).

Thanks
I'm sorry, but I've never created any files for the Infuse! You sure it's really me?
All I know is that I created a detailed list of procedures to flash ROMs properly for the Infuse 4G!
For selection using touch screen, CWM Recovery supports only the capacitive buttons like you mentioned above!
BUT another recovery called TeamWin Projects(TWRP) allows use of touch screen in recovery while flashing which is what you want! It has a newer interface and is as reliable as CWM!! You'll need to find a stable version though
My gratitude to Scott.hart.bti for his continuous support for the old Infuse 4g.My thanks to Enthropy for stable cm9,gtg,Andros,qkster and xda members for their tricks to use technology more efficiently
Devices: S Galaxy Infuse 4G unofficial CM11 (Main smartphone),
LG G Pad 8.3 on LG official 4.4.2 (Tablet).
 
nijhawank@yahoo.com
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Default @rwaterspf1

Ohh I'm sorry. rwaterspf1 did it and I saw one of your reply in that thread. Thanks for your replying.

So yeah search capacitive search button does not work for selection in the root menu (the very first menu that you see when cwm recovery starts).
I want this as my infuse has power button issue and I don't want to use power button for selection.
 
nijhawank@yahoo.com
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Default @rwaterspf1

So i checked the source code in default_recovery_keys.c in https://github.com/CyanogenMod/andro...ecovery_keys.c

earlier it was like this and the search capacitive button was working for item selection:
case KEY_END:
case KEY_BACKSPACE:
case KEY_SEARCH:
- if (ui_get_showing_back_button()) {
- return SELECT_ITEM;
- }
- if (!get_allow_toggle_display() && !ui_root_menu) {
- return GO_BACK;
- }
case KEY_BACK:
if (!ui_root_menu) {
return GO_BACK;

but with a recent commit, it was changed to following and as you can see that search button wont anymore do item selection:
case KEY_END:
case KEY_BACKSPACE:
case KEY_SEARCH:
case KEY_BACK:
if (!ui_root_menu) {
return GO_BACK;

I think it'd be really great to use search button for item selection so that the devices like mine can use it instead of the buggy power button
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Compile Your Own Kernel From Source with Comprehensive Tutorial

One glance at any developer section of any device forum on XDA and youll find … more

WowWee Mip – Android Accessory Review – XDA Developer TV

The holidays will be here in no time, so why not start thinking about … more

Stream Your Media Files with the New Version of Droid Sync Manager

Android is a Linux-based operating system, but this fact doesn’t put … more

Old but Gold Internet Browser is a Blast from the Past

A Web browser is one of these applications that we can’t live without. We useit … more