yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] gpz1100:
Ideally, the best solution would be some sort of app you can run that lets you select exactly what you want the buttons to do. Each of us has different preferences on the matter. Accommodating each preference seems counterproductive - more so once there are more roms to choose from with varying frameworks.

If i'm understanding all this correctly, short press mods are simple - just a matter of modifying a .KL file with the function you want for that key (ie short press camera for search, or short press recent apps for menu). The complication arises on the long press functions as that in and of itself is a function of the framework.

The charmeleon rom has this user selection capability built in. Albeit still somewhat buggy (menu on recent apps doesn't map correctly and still has to be done manually). Also some more options would be nice. None the less, it's a step in the right direction.

I don't know if an app can directly modify a framework-res on the fly, so perhaps the sole function of the app would be to generate a flashable zip.
[Sprint HTC EVO 4G LTE] runandhide05:
Your just about right.

Note that the long press home is already written in the android.policy.jar by default, HTC had reassigned it to only work in car dock app to launch the house command.

All I did was changed it to the default android action and remove " only in car dock" restriction.

I agree with the app to do it all, someone names sheel has made that, but I don't think he has released it publicly as of yet.
[Sprint HTC EVO 4G LTE] scottspa74:
So in policy.jar, longpress home for recent apps is still there? So it would have to be recompiled and edited to get that functionality back?

I want so bad to have longpress home for recents and use recent for menu. But have no idea how to compile or decompile
[Sprint HTC EVO 4G LTE] Seechay:
Would it be possible to allow NFC Task Launcher to run Tasker tasks, while the screen is locked and off?
[Sprint HTC EVO 4G LTE] runandhide05:
There are zips on the OP for that...
[Sprint HTC EVO 4G LTE] runandhide05:
It hit the media...

http://www.androrev.com/2012/05/31/...ton-on-evo-4g-lte-rooted-users-can-remove-it/
[Sprint HTC EVO 4G LTE] scottspa74:
Nice. Congrats. And yeah, I saw the zips in OP, but deodexed ROM is reqd and I'm still on stick odex. Haven't even flashed a rom yet. As much as I hate dealing with odex ROMs, I'm getting such unbelievable battery on stock, I'm a bit afraid to switch.

That article would have been even better if it noted that you don't even HAVE the device :cool:
[Sprint HTC EVO 4G LTE] runandhide05:
Tell u what, if u must have this in odex form I can tell u how to do it, a device is REQUIRED!!! That's why I have stated I can't do it.

It will take some work, and will require some gtalk time.

Hit me at my name at Gmail

And and give the the what to do.

In short, flash the deodex rom, flash my mod for stock deodex, then use one of the many different odex a deodex rom app

Maybe odexme run the app, then follow apps instructions, then u should be on odex from with modified android.policy for lngpress home.

If all works out pull the android policy and I'll put it in the OP

Edit:

here is a good write up on how to odex a deodex file/rom

http://xdaforums.com/showthread.php?t=1208320
[Sprint HTC EVO 4G LTE] Zameus:
Noob Question. Do I need to delete Google Wallet settings everytime I flash a mod, or just for ROMS only? Thanks guys! :confused:
[Sprint HTC EVO 4G LTE] scottspa74:
@runandhide

I appreciate the offer, man. But really I just need to get with the program and stop using a damn stock odex ROM lol . I've always been so opposed to stock ROMs, but this, outta the box, has actually been really impressive. Anyhow, thanks for the info.

As for when to wipe wallet settings, I believe its any time you format/delete system or data partitions. So, if you're just wiping cache and dalvik, I'd say no. But that's just my understanding.
[Sprint HTC EVO 4G LTE] runandhide05:
Ya man get with the program.. lol why don't u try the stock deodex version for a while and see what u notice, to be completely honest battery life has always IMO been the same. Its other aspects that are affected by the two.

And yes, mods no need to wipe gwallet settings , roms yes!

But I never have and never had a single problem... just sayen
[Sprint HTC EVO 4G LTE] Rocklee99:
can i have a modified version of ur last mod, the one for viper mod with recent apps as menu and whatnot, can u change it so volume keys dont wake the screen? everything else the same?

or do i just flash the regular "vipermod 1.2.1" mod?
[Sprint HTC EVO 4G LTE] runandhide05:
The latest one is the same as the viper 1.2.1 minus the volume wake and the half press camera button for search
[Sprint HTC EVO 4G LTE] WiFi_N:
Could you make another flashable .zip where you just long-press the recent apps key to open menu?
[Sprint HTC EVO 4G LTE] runandhide05:
Asked and answered, in short..no
[Sprint HTC EVO 4G LTE] MassStash:
Thanks for even doing any of this seeing you don't have the phone bro. Thank you. Just got mine yesterday and when I heard about the phone coming out, this was the first I wanted to do. Might make my own randitions and take a lil of the load off ya sir

~Freshly acquired LTEvo; ViperRom'ed in under 2hrs...
[Sprint HTC EVO 4G LTE] runandhide05:
More power to ya! Hit me up if u have any questions that I may be of help.

Pm or gtalk,

My name at gmail dot com
[Sprint HTC EVO 4G LTE] MassStash:
Kool bro, got it yesterday n buddies bachelor's party for weekend wedding is tomorrow, so lookin like gettin down on it next week. But Definately wanted a dif config and instead of bugging you with no device, I figured I'd might as well get my hands dirty n not be lazy haha messed with this stuff already in the android on TP2 days, so I got a slight knowledge background. Thoooooose were the days hahaha not really...

P.S. people always complain bout bat life round here and I really should pipe up more often. Complain bout bat life, man have you ever ran android off an sd card???? Lmao

~Freshly acquired LTEvo; ViperRom'ed in under 2hrs...
[Sprint HTC EVO 4G LTE] Nondescript Van:
i flashed the viperom one with the camera button as the search/voice search and i really don't like that (i keep accidentally hitting it). is there a stock zip i can flash to revert the settings or can i just flash to viper zip without that modded key? Will it fix that or just leave it untouched?
[Sprint HTC EVO 4G LTE] runandhide05:
Look at the bottom of the how to post (third post) it will tell u how to apply the mod manually, just reverse the process
[Sprint HTC EVO 4G LTE] runandhide05:
OP updated with new links for anyone that was having problems. Sorry... dropbox and now box.net have both killed my sharing... too much bandwidth... damn "free" services ...
[Sprint HTC EVO 4G LTE] phillymade:
If I just want to get rid of the three dot menu and nothing else, what mod is that?
[Sprint HTC EVO 4G LTE] runandhide05:
How will u press menu then on legacy apps that do not have a menu built in?
[Sprint HTC EVO 4G LTE] lowetax:
i can understand the change to 3 buttons, but they should have made the right button Menu, with LP = voice search, and kept LPHome = recent apps.

but then, what would you have to do ? :)
[Sprint HTC EVO 4G LTE] runandhide05:
I could not agree more! However I understand why they (HTC) made it like that, but still stupid!
[Sprint HTC EVO 4G LTE] benny3:
does anyone know if there is a mod for the car dock app to allow it rotate
[Sprint HTC EVO 4G LTE] scottspa74:
Really? You understand why? Care to enlighten? Cuz to me, it seems it should be just as just stated/posted. Thanks for all the kickin-ass you been doin here, too :thumbup:

sent from a shining jewel 4g LTE
[Sprint HTC EVO 4G LTE] runandhide05:
To elaborate... Google has changed things when they made HC, to removed the need for physical navigation buttons to for tablets, because let's be honest who wants a physical nav button on a tablet? So they (Google) thought why rely on physical keys for anything other than power and volume.

So sense ics was designed to be implemented on both tablets and phone they said to all manufacturer to ics will now handle search and menu when needed, search is incorporated into every home screen (aosp), and menu into every screen that needs it.

HTC decided that they want to keep an "ics" feel to things with the stock three keys , which would be fine, but they screwed up by not thinking ahead and realizing if they did that there is no available spot to conveniently place the menu, which by default is placed on the navigation bar which should be onscreen so they had no choice but to do what they did.

I do believe as new phones come out designed and built with ics in mind they will handle it a little better, new devices with ics as the target os will likely all have on screen nav bars, unless manufacturers refuse to update there skins ( sense blur, and tw) to accommodate the changes in the os. Then we will continue to have a half ass Mcgyver rigged solution for a problem that should not have existed to start with...
[Sprint HTC EVO 4G LTE] lucidox:
Just a heads up that dropbox will be dropping support for public sharing in August.
[Sprint HTC EVO 4G LTE] runandhide05:
That's for new accounts, those with existing account will still have a public folder, and not to mention although they are dropping that for new accounts you can still share files via a link
[Sprint HTC EVO 4G LTE] dannys.ser:
???

Can you use the Vipers mods on the OMJ rom ??
[Sprint HTC EVO 4G LTE] runandhide05:
Not sure, only way to know for sure would be to flash and try, but odds are no... but it all depends on what changes were made to what files on omj's rom,

If u try report back so others can know
[Sprint HTC EVO 4G LTE] princem131:
Is it possible to map voice search to LP recent apps button to voice search (while still being modded as menu) instead of half press camera? I like camera button mod but that set up would be ideal for me and eliminate accidental presses.
[Sprint HTC EVO 4G LTE] brennen.exe:
Honestly it would be great if someone could just make another flashable zip that had the button mapping like I have it written below (and removes the on-screen menu button), because I've seen people post all over this section that they would like they same layout, and I know most of my friends/coworkers with the phone also prefer this layout:

From left to right:

BACK = BACK ;

BACK Long Press = N/A, leave blank

HOME = HOME ;

HOME Long Press = Menu

MULTI-TASK = MULTI-TASK ;

MULTI-TASK Long Press = Voice Search

REMOVE = On-screen menu button

Basically, leave the capacitive buttons on their default assignment, just add menu to long press home and add voice search to long press multi-task/recent apps. And of course remove the on-screen menu button.

I tried going through all of the instructions and information so I could learn how to make the flashable zip myself, but learning something you know nothing of is time consuming and my daughter was just born a few weeks back, so I just don't have the time.
[Sprint HTC EVO 4G LTE] runandhide05:
I'm sure it would be great.. have at it!

Google is your friend.

I've answered this question at least two dozen time, I know its a long thread but come on...

You want different options ask someone with the phone to make them. Because I am not.

I don't mean to sound like an ass.

If u thing its simply writing a line to say "hey android make long press do this" then u are deeply mistaken. Doing these edits with source in Java is one thing, doing it in smali is a wholenother world that I simple don't want to deal with, I'm not going to spend days rewriting it and excepting other to test and report back! It just does not work. People in general don't know how to test something and report back in a timely enough manor to accurately build something solely relying on feedback.

Here are some tools

http://d-h.st/FeB
[Sprint HTC EVO 4G LTE] brennen.exe:
I know you're the OP for this thread, but not all posts are directed at you. This is the only thread that is more or less dedicated to the button remapping, so discussion about the mod is free game here, no? It wasn't a question, I was simply pointing out that there are many who would prefer the layout I suggested above, so if someone out there who reads this thread is capable and has the time... many of us would appreciate it. That said, I insinuated I'm willing to learn how to do it myself if I have the time, so-- having already searched the thread-- thanks for reposting the tools you use, since your other post with the tools is a dead link.
[Sprint HTC EVO 4G LTE] skanndelus:
is it possible to get this working in an odexed rom?
[Sprint HTC EVO 4G LTE] EarlyMon:
Or, they are calling for an end to the menu button and maybe someday it will be a don't care.

http://www.geeky-gadgets.com/google-suggests-android-developers-drop-the-menu-button-30-01-2012/
[Sprint HTC EVO 4G LTE] scottspa74:
Is it possible to have this thread locked. ?

The reason longpress home for recent is .standard is because that's how android has always been. And anddoidpolicy.jar STILL points to that. Having home longpress as menu doesn't even fit with android and is silly

This thread needs to stop, OP has already posted All pertinent info.

sent from a shining jewel 4g LTE
[Sprint HTC EVO 4G LTE] lowetax:
ah, it appears 'that's how Android had always been' has changed.

as they added a recent apps button !

i just can't believe, with such an awesome new device, how much jumping thru hoops is required just to get what the previous evo models 4 buttons gave you.

i know it's mainly because Jan isn't sharing his awesome tweaks,

but all this to just get what prior models gave you built in ! wowsa
[Sprint HTC EVO 4G LTE] runandhide05:
Miss read your post...but still why lock the thread so it can be lost in the countless non useful threads nobody reads...
[Sprint HTC EVO 4G LTE] b1time:
Love this mod great job runandhide ..Thank you.... I didnt read through the entire thread and didnt see it in post 3 but is there any way to remove the volume to wake screen mod but keep the other two Im using viperrom 1.2.1
[Sprint HTC EVO 4G LTE] runandhide05:
Yes, the third link from the top is the same as what u want minus the halfcam search, and if u still want the search there is a separate zip for that u can flash after the third from the top
[Sprint HTC EVO 4G LTE] b1time:
Thanks will try!
[Sprint HTC EVO 4G LTE] runandhide05:
No problem...

Btw go sox!
[Sprint HTC EVO 4G LTE] omegakai:
is there a way to see it up when you long press the recent app button and get the same function of the search button? i wont to be able to use handcents quick compose button where you hold search button down and get quick compose for texting is that possible? like i dont want to be picky but trying to get that same feel with my last two evos... and if its possible to get it like that i would die... i just want back button to be back , home to be home and long press home to be recent apps and recent apps button press to be ( anything really) and long press recent app to be search button aka quick compose please tell me if possible what i need to do.....!!!!!

---------- Post added at 02:53 AM ---------- Previous post was at 02:07 AM ----------

Never mind i figured it out!!!!!!!!!!!!!! BOss
[Sprint HTC EVO 4G LTE] MassStash:
http://xdaforums.com/showthread.php?p=27715265

~ TF101 on Revolver4_RC3

Currently OC'ed to 1.4, with Guevor's latest
[Sprint HTC EVO 4G LTE] scottspa74:
Worked like a charm on husker91s rom. So nice to have the screen space back.

Just noticed it broke my advanced power menu :confused: I thought APM was in systemui , I didn't see systemui included in your zip. What did I miss?

Edit: NVM fixed, flashed vipers APM with your tweaks over it. All wicked now. Thank you all!
[Sprint HTC EVO 4G LTE] Rocklee99:
do i just use stock w/ no onscreen menu if im using meanROM? thats the one that gets rid of the three dot menu right?
[Sprint HTC EVO 4G LTE] scottspa74:
Yeas, it gets rid of the 3 dot menu. When I flashed it, it removed my APM. but I just flashed vipers APM again, and now I have it all. (At least I think that's what I did, it was late, I was drinking lol)
[Sprint HTC EVO 4G LTE] Rocklee99:
yeah, youre right, thats exactly what happened, thought i was crazy xD thanks
[Sprint HTC EVO 4G LTE] scottspa74:
Actually, if you look at my post directly above yours, you'll see I posted the same thing late last night.
[Sprint HTC EVO 4G LTE] Dmastax1x:
"ah, it appears 'that's how Android had always been' has changed.

as they added a recent apps button !

i just can't believe, with such an awesome new device, how much jumping thru hoops is required just to get what the previous evo models 4 buttons gave you.

i know it's mainly because Jan isn't sharing his awesome tweaks,

but all this to just get what prior models gave you built in ! wowsa"

hey lowetax

i remember you from a bunch of Myn's threads back on the OG Evo. Just got this phone and finished rooting/unlocking/setup etc.. Got a question for you, only because it seems you also feel the same way about the lack of menu/search buttons on this phone as i do. Do you know of any way or any mod/rom that actually incorporates these functions into what is already available? Something like this one here but with: |long press back=force close app| long press home=menu| long press new stupid button=search|

that last one seems to be the one i miss the most atm. hate having to click on an app or widget just to seach something, and it was so accessible before.....
[Sprint HTC EVO 4G LTE] scottspa74:
Floating around in one of these button threads is a half press camera button for search. I just forget where. It had to do with editing a synaptic something file. Wish I could be more specific right now. Sorry. It can be done.
[Sprint HTC EVO 4G LTE] Rocklee99:
Oh wow, ur right...my bad
[Sprint HTC EVO 4G LTE] scottspa74:
Haha its all good.

Damn, it's driving me nuts now I can't find or remember where half press camera button was addressed. I remember synaptic change focus search, if that helps for searching. I'm outta time for now.
[Sprint HTC EVO 4G LTE] runandhide05:
Its in the third post
[Sprint HTC EVO 4G LTE] scottspa74:
*finally done laughing at self*

Hahahahaha. I thought it was in some other thread lol. Dug thru 3 OTHER threads looking for it D'OH! lol
[Sprint HTC EVO 4G LTE] lowetax:
as I've posted elsewhere, i think Tweaks are the greatest thing since sliced bread. options baby. pick n choose. letting the user decide what and how he wants his setup to be, and change easily, without flashing mod after mod.

so, even though it is a port, Jan's PkMn Tweaks are the only game in town, so I'm using Charmeleon, for now.

i have LPB=kill app LPH=menu and LPRA=HTC Speak (voice search). circle battery. infinitive home. landscape rosie. soft menu bar option. capacitive backlight. lockscreen long press home = camera. mms screen on. hide keyboard arrows. recent apps dialog style = android 4.0 (instead of 1 app per screen).

and wiping cache and dalvik cache without rebooting to recovery is interesting !

the only thing that i really want and don't have is volume up down wake. doesn't work when sleeping.

I've flashed fresh, mean rom, viper, classic jewel, also ... all the devs are great and i sure do appreciate what they do and contribute.

i know big changes coming in roms, so we shall see ... but as it stands right now, if they all had Jan's Tweaks, i'd be rocking with viper rom. great work and lots of thread laughs.

pick your poison, you can't go wrong !

it's all good !

edit: I'm back. had to let the dog out at 2:30 am !

to think. i just happened to stop at Sprint store 6.19.2010 to see about a smartphone (my first). got the og evo. a true classic. then ventured into xda and landed in myn's warm threads.

and, as they say, the rest is history !
[Sprint HTC EVO 4G LTE] Dmastax1x:
awesome, about to flash charmeleon now. Thanks man!
[Sprint HTC EVO 4G LTE] Concordium:
Nevermind......I'm an idiot. Mods please delete this post.
[Sprint HTC EVO 4G LTE] TurboX2:
This mod should include:

LONG-PRESS BACK = FORCE CLOSE

Please Add :)
[Sprint HTC EVO 4G LTE] motcher41:
Stock no on screen menu worked great on meanrom thanks runandhide

rockin my EVO 4G LTE
[Sprint HTC EVO 4G LTE] Powerbird101:
I wonder if we can use both Home long press --> recent apps

Reassign recent apps to Menu and make that button long press to search?
[Sprint HTC EVO 4G LTE] scottspa74:
Yes, you can. I just can't remember how to control longpresses. It was explained somewhere here.
[Sprint HTC EVO 4G LTE] motcher41:
The mods there have that...recent key is menu and long press home for recent

rockin my EVO 4G LTE
[Sprint HTC EVO 4G LTE] marvinlh:
Did you ever figure out how to do this, its exactly what I'm looking for. Im on mean Rom and already have the long press home remapped as the recent apps, and I have the right button/recent app button as menu, but now I'm trying to figure out how to get long press of the right/recent app button to be search
[Sprint HTC EVO 4G LTE] Andromorphone:
+1

I came here to post the very same question. Also running Mean v15. Anyone? I'm going to try the Charmeleon RA->menu remap fix in their post #225 (could be #245). Will report back if successful...

UPDATE: Long press RA/Menu should have a 3 digit number assigned to it. It seems if we can figure out which number to enter, it would be possible to add the search function to the key layout file.

I'm going to load decks rom and try and pull it from the synaptics.rmi.touchscreen.kl file. Ill wait a few minutes in case some kind soul is running decks and wants to check his "system/user/keylayout" folder for the above mentioned file and tell us what number is assigned to "Search" (if u have it set to the right-most capacitive button.)

Anyone running decks? Or know the # of lpra?

...titty much protally fit shaced.
[Sprint HTC EVO 4G LTE] Rydah:
I see what you did there. Lol. I too want to remap recent as recent/menu.

Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
[Sprint HTC EVO 4G LTE] Andromorphone:
Whattup Rydah... Grew up in Simi Valley myself, just a stone's throw from u.

Actually want to remap ra-> menu/search. I like keeping with the standard of lph as recent.

~~~~~~~~~~~~~~~~~~~~

...titty much protally fit shaced.
[Sprint HTC EVO 4G LTE] Rydah:
Man, that's only an hour away from me. Crazy.

If anybody could help me get recent apps/menu, I'd like that.

Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
[Sprint HTC EVO 4G LTE] runandhide05:
You want recent app button to act as menu? If so read third post has all the instructions there.
[Sprint HTC EVO 4G LTE] Rydah:
Well, I want recent apps to stay, but long press recent apps to be menu. I followed your setup for half press camera for search. Thanks!

Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
[Sprint HTC EVO 4G LTE] thefoodman52:
My ideal layout would be:

Recent Apps Key

- Short=Menu

- Long=Search Key (not voice search)

Home

- Short=Home

- Long=Recent Apps

Back

- Short=Back

- Long=n/a

-edit-

After reading more into it (specifically post # 3)... how do I get into that (what program would I use?) and what values would I change?
[Sprint HTC EVO 4G LTE] fishpony:
Thats exactly what i would want too. Does anyone know why it borked using the volume rocker to change songs??
[Sprint HTC EVO 4G LTE] OMJ:
the smali code is slightly different in 1.22 android.policy.jar, so the instructions in post #3 wont work...
[Sprint HTC EVO 4G LTE] runandhide05:
Is 1.22 a new ota, or your ROM?

But if its a small change the instructions won't work word for word, but the same idea right, i would think.. but again don't have device so not sure,

Thanks omj
[Sprint HTC EVO 4G LTE] TurboSE1980:
Finally I get to use my whole screen, thank you!
[Sprint HTC EVO 4G LTE] OMJ:
1.22 is the new OTA....I can send u the files if u want to take a look at them...
[Sprint HTC EVO 4G LTE] runandhide05:
Has nobody hacked them yet?

If not go ahead and send away, if they are deodedx,

Framework and the android policy

to my name at gmail dot com