yashsingh1/xdaforums huggingface dataset:
[Verizon Droid Charge] Falcyn:
Close, but it's not the edit button on the top of the page: first open the app drawer, then hit the phone's physical menu button and select Edit. From there you'll see highlights and a - button around each icon and you'll be able to pull apps from the drawer onto the shortcut bar (not vice versa, though, just pull them down and it'll replace what's there).

As far as alphabetizing goes, there are apps like appzorter that will help but just be aware it still won't be true automatic alphabetizing -- you have to manually run the sorting app each time you install something new to have it sorted. The only permanent solution is to switch to another launcher entirely.
[Verizon Droid Charge] blarrick:
Thank you everyone! I've now got an alphabetical app drawer, glued Contacts, Dolphin, Handcent(unfortunately not the widget, which shows a how many new messages you have) and the applications drawer. You've made this the perfect ROM :]
[Verizon Droid Charge] nitroglycerine33:
You can decompile the tw launcher and navigate to res/xml/default_topappilcation.xml and change the value to correspond with the apps you want.

xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher">
<topapp launcher:className="com.sec.android.app.dialertab.DialerTabActivity" launcher:packageName="com.sec.android.app.dialertab" />
<topapp launcher:className="com.sec.android.app.contacts.PhoneBookTopMenuActivity" launcher:packageName="com.android.contacts" />
<topapp launcher:className="com.android.mms.ui.ConversationList" launcher:packageName="com.android.mms" />
</topapps>
[T-Mobile myTouch 4G Slide] nyolsson:
Thanks to 21productionz, and his re-mapping of the Genius button on the MT4G, I was able to re-map the keys on the MT4G Slide as well.

Pls read through before attempting.

What you need:

An S-OFF and perm rooted MT4G Slide. (so re-map sticks)

A file explorer capable of read/writing root directories/files. (Root Explorer is my personal fav)

The expectation that this is a guide to re-mapping keys, so don't mess up. :p

Steps to take:

1. Using Root Explorer, go to /system/usr/keylayout

2. Make sure Root Explorer is mounted as R/W.

(top right button should display Mount R/O, bc you are currently in R/W mode)

3. Long press 'doubleshot-keypad.kl'

4. Select 'Open in Text Editor'

5. Line 5 shows 'key 188' with FUNC_4 next to it. Replace FUNC_4 with 'SEARCH' - all caps.

This re-maps the Genius button on the front of the phone.

6. Scroll down a little and you will see # column 3. 'Key 184' needs to be changed from FUNC_4 to "SEARCH" as well.

This re-maps the Genius button on the qwerty keyboard. (now you can actually use quick launch)

7. Hit the hard menu key and select Save Changes or Save and Exit.

8. Root Explorer will automatically create a backup of the original file you edited with the original file name ending with the extension .bak

(doubleshot-keypad.kl.bak)

9. Need to restart before it takes effect.

Pls be sure you have re-mapped the correct keys and entered 'SEARCH' correctly, or your buttons could fail, resulting in a paperweight - with a keyboard.

Also, I did this without editing 'doubleshot-keypad-v0.kl.'

You can also reverse the re-map by replacing 'SEARCH' back to FUNC_4.

__________________________________________________________________________________

Some users have changed the qwerty home, menu, back, and genius buttons to DPAD values, in other words, up down left right..

-to do so, see this thread here

Some other useful info and re-maps.

FUNC_1 = inputs ".com"

using alt while pressing the key you remapped to FUNC_1 results in ".www"

FUNC_2 = is equivalent to pressing the SYM key next to ALT-Right.

FUNC_4 = Genius Button App

To create a 'tab' button in place of www.com

Same file to edit. under # column 0

---- key 150 should say = FUNC_1

make key 150 = "TAB" (all caps, no quotes, make sure spacing stays even)

restart.
[T-Mobile myTouch 4G Slide] masker2011:
Thank you!im come from china .my device is S-OFF.but not have perm rooted. how to get perm rooted. can you tell me?
[T-Mobile myTouch 4G Slide] nyolsson:
you will want to check this thread here in development section.
[T-Mobile myTouch 4G Slide] OmsagroSylph:
Can you use this to map multiple actions per button. Say, short press for search, long press for Genius button?
[T-Mobile myTouch 4G Slide] 21productionz:
Appreciate the credit.
[T-Mobile myTouch 4G Slide] nyolsson:
From the source thread (21productionz) there was a fix/app called "button shortcut" in the market that would allow you to change certain long press button mapping.. (camera, search button) and this would allow you to choose Genius Button App as the long press search function.

However, I haven't personally looked for it in the market for the Slide..

------------------------------------------------------------------------

This was provided by Mftek, and if it helped you, you can click here to thank him.
[T-Mobile myTouch 4G Slide] nyolsson:
No problem. Appreciate the original find! :cool:
[T-Mobile myTouch 4G Slide] OmsagroSylph:
I'll look into it. I was just wondering if you had information on how the commands would look if editing that config file without an app.
[T-Mobile myTouch 4G Slide] overhauling:
Thank you ! This works perfectly fine.
[T-Mobile myTouch 4G Slide] pao_revolt:
hi there,

can anyone recommend a tool, i saw that root explorer is paid app, is there any free tools?

thanks
[T-Mobile myTouch 4G Slide] overhauling:
You could push an already edited file using ADB... let me know if you need one, I'll upload it.
[T-Mobile myTouch 4G Slide] pao_revolt:
thx for help,

could you tell me instruction for the ADB, i did it long time ago when i change my boot screen on G1.

TIA
[T-Mobile myTouch 4G Slide] overhauling:
Well, I got a better method. This is a Free Root explorer alternative that you could use: https://market.android.com/details?id=xcxin.filexpert&hl=en :D

EDIT: Make sure you enable "Root Explorer" under settings.
[T-Mobile myTouch 4G Slide] neanderthal0:
rooted, perm s-off, now no more genious button.....
[T-Mobile myTouch 4G Slide] OmsagroSylph:
Been using this, its great. I particularly like the built in ftp/web server for multiple file exchange.
[T-Mobile myTouch 4G Slide] pao_revolt:
thanks a lot bro
[T-Mobile myTouch 4G Slide] OmsagroSylph:
You bet. Does anyone know what all the FUNC_? are?

FUNC_1

FUNC_2

FUNC_3

FUNC_4 - Genius Button

FUNC_5

FUNC_6

FUNC_7
[T-Mobile myTouch 4G Slide] pao_revolt:
ok here is a very noob question,

1. i download that app, also from market

2. i open the file explorer gave it root permission. then i go to the /system/usr/keylayout

3. open the doubleshot-keypad.kl with text edit

4. i edit as OP suggested and tried to save it can't so what i did is save to SD card (also reopen the file to confirm that it is changed from FUNC4 to SEARCH)

5. i copy and paste file from SD card to the /system/usr/keylayout, it asked me if i want to overwrite the file, i answer yes

6. i tried to check if it overwrite but it is not

what i did wrong?

thanks

edit, okay i did try in setting of file explorer i mount it with read/write, and follow the same step now i cannot use the genius button at all the rest of button still working...? and yes i replace it with SEARCH
[T-Mobile myTouch 4G Slide] OmsagroSylph:
I assume you are using File Expert and that you have root explorer enabled.

In the keylayout directory, did you open the menu, go to More Options >> Mount >> Mount as Read Write?

One thing that could also help you if you are having issues writing to or overwriting the file is to long press and choose File Operations >> Permission, and Enable read/write/exec permissions.
[T-Mobile myTouch 4G Slide] pao_revolt:
yes i did, i think i might messed up the kl file if you can please upload the edited kl file for me so i can try copy and paste

thanks
[T-Mobile myTouch 4G Slide] overhauling:
Here's an already edited file I've uploaded : http://www.4shared.com/file/CIqKTIyG/doubleshot-keypad.html

Make sure you give the file correct permissions. (RW-R-R)
[T-Mobile myTouch 4G Slide] Aeikozz:
wow very nice. Did this with ES Explorer no problems at all.

loving the brick with a keyboard comment. lol
[T-Mobile myTouch 4G Slide] pao_revolt:
thanks,

i managed to replace your file with mine, and still not fixed the problem (i did verified and saw that the FUNC_4 has been replace with the SEARCH), my symptoms is

- at the front everything work except the genius button.

- on QWERTY what is not work is WWW/COM, HOME, MENU, BACK and GENIUS

- i did replace shortcut at the launcher if that matter?

now question is do i have to edit the doubleshot-keypad-v0.kl?

i will upload youtube video later tonight once i get home

thanks for all the help
[T-Mobile myTouch 4G Slide] overhauling:
Did you fix the file's permissions after copying? And did you by any chance edit any other file? Remember that a full reboot is required for changes to take effect & I didn't have to edit doubleshot-keypad-v0.kl , and received successful results.
[T-Mobile myTouch 4G Slide] pao_revolt:
yes i did.

is there anything i should try?
[T-Mobile myTouch 4G Slide] overhauling:
Well, if your keys are messed up then you should Flash the stock ROM and get everything back to normal. Then S-off and perm root again, and give it another go? It's worth It. I hate the Genius button.
[T-Mobile myTouch 4G Slide] pao_revolt:
well i'm doing it right now will report back, i really hate genius button too lol
[T-Mobile myTouch 4G Slide] raduque:
Does this mod make the "Genius" button bring up the search dialog in everything the Search button normally does?
[T-Mobile myTouch 4G Slide] rorytmeadows:
Is there any app out the that allows single, double, long press customizations for each hardware button?
[T-Mobile myTouch 4G Slide] overhauling:
This mod will makes the Genius button work as a perfect, 100% functional search button. With that I mean that even Quick Launch will work. Even long-press will work. Ofcourse, search dialogs appear too. So yes ! You'll almost feel like if the "search" button was built in.
[T-Mobile myTouch 4G Slide] overhauling:
Let us know how things go. :D
[T-Mobile myTouch 4G Slide] pao_revolt:
ok thanks,

all worked now.

really appreciate for all help bro.
[T-Mobile myTouch 4G Slide] aanarchyy:
Did anyone ever find a list of what the other FUNC_# functions are? I really want to get rid of the www.\.com button and hopefully replace it with a tab.
[T-Mobile myTouch 4G Slide] AviatorJud:
Successfully remapped. Just wondering if it's possible to remap to other apps, like say Maps.

Thanks.
[T-Mobile myTouch 4G Slide] chorpler:
Or, does anybody have any documentation on what all the keys are? I'd like to remap a few other keys, but the way this key file is laid out doesn't seem to be immediately obvious...
[T-Mobile myTouch 4G Slide] overhauling:
I'll take a guess and say that a couple of the functions should be remapping the WWW/COM key, the HOME key, MENU & BACK key. One way to find out would be by actually remapping this FUNC_# keys and reporting what key was affected.
[T-Mobile myTouch 4G Slide] nyolsson:
here is what i can tell ya.

qwerty keys -

key 185 = BACK

key 186 = HOME

key 187 = MENU

FUNC_1 = inputs ".com"

using alt while pressing the key you remapped to FUNC_1 results in ".www"

FUNC_2 = is equivalent to pressing the SYM key next to ALT-Right.

FUNC_4 = Genius Button App

there is no FUNC_3, 5, 6, 8, 93, 24, or 55134.

FUNC_7 is used "not in vision" so don't bother remapping.
[T-Mobile myTouch 4G Slide] nyolsson:
Same file to edit. under # column 0

---- key 150 should say = FUNC_1

make key 150 = "TAB" (all caps, no quotes, make sure spacing stays even)

restart.

.com button will now enter 5 or so spaces.. aka tab. :cool:
[T-Mobile myTouch 4G Slide] ratchetrizzo:
If this works for me with better term, I owe you a beer tomorrow.

Can't edit it til i'm at work
[T-Mobile myTouch 4G Slide] OmsagroSylph:
Keymap

Hardware Keymap

116 = Power

115 = Vol Up

114 = Vol Down

102 = Home (Front)

139 = Menu (Front)

103 = Track Up

108 = Track Down

272 = Track Center (Push in)

158 = Back (Front)

188 = Genius (Front)

211 = Camera Half In

212 = Camera Full In

215 = @

16 = Q

17 = W

18 = E

19 = R

20 = T

21 = Y

22 = U

23 = I

24 = O

25 = P

14 = Del

150 = .com

30 = A

31 = S

32 = D

33 = F

34 = G

35 = H

36 = J

37 = K

38 = L

28 = Enter

42 = Left Shift

44 = Z

45 = X

46 = C

47 = V

48 = B

49 = N

50 = M

214 = ?

54 = Right Shift

56 = Left Alt

186 = Home (KBD)

187 = Menu (KBD)

51 = ,

57 = Spacebar

52 = .

185 = Back (KBD)

184 = Genius (KBD)

183 = SYM

100 = Right Alt

~~~~~

Functions

FUNC_1 = .com

FUNC_2 = SYM

FUNC_3 = No Visible Response

FUNC_4 = Genius Button

FUNC_5 = No Visible Response

FUNC_6 = No Visible Response

FUNC_7 = No Visible Response
[T-Mobile myTouch 4G Slide] unclespoon:
Thank you!
[T-Mobile myTouch 4G Slide] ratchetrizzo:
the tab remapping seems to have worked.

Now we need to figure out how to remap stuff so we have ^ | ` [] <> {}
[T-Mobile myTouch 4G Slide] OmsagroSylph:
As in remapping what the ALT key combo's do?

I think it would involve the files in /system/usr/keychars but I haven't tried editing them.
[T-Mobile myTouch 4G Slide] ratchetrizzo:
I think it's going to require similar like with the g2, editing the binary files for the alt/shift characters.
[T-Mobile myTouch 4G Slide] raduque:
Thanks OP. Pulled the file with ADB, edited it with windows notepad, pushed it back, and moved it using a root shell.

Worked great!
[T-Mobile myTouch 4G Slide] rorytmeadows:
So really? Windows Mobile has an app for this but rooted Android doesn't? (Key assignments)
[T-Mobile myTouch 4G Slide] patek:
Can or could you remap the keyboard Genius button to cursor down key?

I am thinking to buy this phone, but I would need the cursor buttons ( up, down, left, right) on the keyboard

Thanks:)
[T-Mobile myTouch 4G Slide] overhauling:
Try replacing line 184 FUNC_4 with: DPAD_DOWN
[T-Mobile myTouch 4G Slide] aanarchyy:
OK, tab works beautifully, thank you for that. Next I want to change the back button on the hw keyboard so I stop hitting the god damn thing accidently. I don't care if it does nothing at all. I tried just commenting the line out, which worked, but I lost my question mark key also. Any ideas?
[T-Mobile myTouch 4G Slide] Blue6IX:
If this works, then:

Replacing (on the hardware keyboard) Home with left, menu with down, back with up, and genius with right seems like the best move.

The same buttons up on the screen, not on the hardware keyboard, can still perform their functions of home, menu, back and (whatever you made the genius button be) so you won't lose the functionality.

I don't have the time to look more deeply into this right now, and my attentions have been elsewhere with this phone, but i'd love to remap it like I just said.

I won't be able to get back online probably until tomorrow in any kind of a serious context, but i'll throw some time at it then if no one else has.
[T-Mobile myTouch 4G Slide] nyolsson:
same file used in OP..

column 5 - change key 185 from BACK to FUNC_5 (as this doesn't exist) - it will render the qwerty back key useless.

as for loss of ? key, same file.. column 3 - key 214 should be 'QUECHAR' - no quotes.. restart and all should be fine.

also, I haven't seen this affect every remap, but make sure the original spacing with new keys and WAKE_DROPPED stays the same.. if using space button to do so, make sure phone doesn't auto put in that period.. will mess up remap
[T-Mobile myTouch 4G Slide] nyolsson:
same file used in OP..

column 6

key 186 is HOME - change to DPAD_LEFT

key 187 is MENU - change to DPAD_DOWN

column 5

key 185 is BACK - change to DPAD_UP

column 3

key 184 is FUNC_4 (genius button if not yet remapped)

- change to DPAD_RIGHT

you can also exchange Key 184, 185, 186, and 187 to other dpads.. I personally would prefer orig home/menu as up/down and back/genius to left/right
[T-Mobile myTouch 4G Slide] nyolsson:
if you haven't remapped 'SYM' key already it will bring up a little menu with those characters.. (without digging into .bins)
[T-Mobile myTouch 4G Slide] Blue6IX:
I ended up doing Home for down, Genius for up, Menu for left and Back for right.

I played with it a couple of different ways and that just seems to be what i'm most comfortable with.

Thanks for throwing that out there.
[T-Mobile myTouch 4G Slide] Sinfamy:
This is practically 80% of the reason why I even rooted lol

The genius button, as cool as it may be, is completely a gimmick, and other than when I'm driving, I cannot think of antother use for it. Even then, I doubt its accurate enough to not require me correcting it by touching the screen, which defeats its purpose.
[T-Mobile myTouch 4G Slide] OpenMinded:
i thought i read about a mod that made the battery show %.

Can't find it anymore. I think it was a modded frameres-apk, or another similar file.

Does anyone know where it is?
[T-Mobile myTouch 4G Slide] m0j09987:
It's in the other thread I believe THEMES and apps
[T-Mobile myTouch 4G Slide] unclespoon:
I did that.

Here you go:

http://xdaforums.com/showthread.php?t=1233225
[T-Mobile myTouch 4G Slide] AndroidAutobot:
Worked like a charm! =) thanks all =)
[T-Mobile myTouch 4G Slide] icewewe:
Does anyone know how to create a new alt key?

I use the terminal a lot and lack of a pipe character ( "|" ) on the keyboard is really bothering me. I notice that the 'b' key on the keyboard doesn't currently have an alt key. I was wondering what file (if any) could be edited to provide a pipe when you alt+b.

I've looked through the standard keylayout file, but that doesn't seem to define alternate keys.

Thanks.
[T-Mobile myTouch 4G Slide] cal3thousand:
Edit the file on your computer using NotePad++ (free)
[T-Mobile myTouch 4G Slide] Undeadk9:
Your 19 days late on your response :P
[T-Mobile myTouch 4G Slide] dillalade:
$ ===> £

can anyone tell me what I need to change to edit the ALT D for '$' to be '£' instead???

Thanks in advance

EDIT:

I managed to edit the hex value for $ to £ by replacing the value 24 to a3 using Hex Editor Neo - and then Root Explorer. wahoo
[T-Mobile myTouch 4G Slide] OGIGA:
Does anyone know how to get the "control" key? You know, so you can cut/copy/paste?
[T-Mobile myTouch 4G Slide] overhauling:
Your "Menu" key on your keyboard plays as a control key.

If you select all the text, and press Menu+C, it copies. Menu+V, pastes. And Menu+X, cuts.

Menu+A attempts to select everything.... But flashes back off, I'm not sure why. :(
[T-Mobile myTouch 4G Slide] jussme:
hi im having an issue where in my root explorer it mount mount as rw when im in folder for the key mapping kl file. and when i use file expert it works but i dont get an option to open as text editor and when i open as text it doest edit the text just highlights and really crappy. im on the bulletproof rom 1.1 with the bulletproof custom kernel 1.7 oc/uv
[T-Mobile myTouch 4G Slide] Emmanuel U:
I use ES File Explorer...but if you want a good text editor use Jota Text editor

btw: Welcome to the Doubleshot
[T-Mobile myTouch 4G Slide] pantherz:
Hey guys, I have 2 Issues I need to address with my phone. I own a MyTouch 4G Slide with “Gingerbread 2.3.4" using “ES file explorer.” My 1st issue is that I’m trying to Remap the hardware keyboard buttons by changing some of the text in the doubleshot-keylayout.kl file that’s located in the /system/usr/keylayout folder but its telling me that there’s an error and I can’t modify any file in that folder. What is it that I need to do in order to remap the keys correctly?

My 2nd issue is literally just a preference on where the keys are mapped. I'm trying to get the button layout to function like this:

•Front Facing:

Genius = Search

•Hardware Keyboard:

Home = Right Arrow

Menu = Left Arrow

Back = Down Arrow

Genius = Up Arrow

Or I would also prefer if the arrow buttons where on the keyboard itself in this order:

•Hardware Keyboard:

Right Shift = Up Arrow

Right Alt = Down Arrow

Keyboard Back = Left Arrow

Keyboard Genius = Right Arrow

I attached a photo to this post so you could get a better idea of what I’m talking about. Any help would be greatly appreciated!!!
[T-Mobile myTouch 4G Slide] AgentCherryColla:
Don't bump old threads please.
[T-Mobile myTouch 4G Slide] pantherz:
im not sure what you mean. if an issue in a thread is still relevant why not??
[T-Mobile myTouch 4G Slide] rorytmeadows:
I don't get that. They obviously searched and attempted to put it in the correct thread instead of not searching and opening another thread.

Which is it, guys? Make up your mind...
[T-Mobile myTouch 4G Slide] overhauling:
I liked your concept so I went ahead and gave it a go.

I created a doubleshot-keypad file with this configuration and uploaded it here: http://www.4shared.com/file/Y8uL_Tai/doubleshot-keypad.html

(This is for CM9)

Alternately, here are the keys you have to edit:

Go to KEY 54 SHIFT_RIGHT , and change it to KEY 54 DPAD_UP

Go to KEY 100 ALT_RIGHT and change it to KEY 100 DPAD_DOWN

Go to KEY 184 FUNC_4/SEARCH (depends on your ROM/current configuration) and change it to KEY 184 DPAD_RIGHT

And then go to KEY 185 BACK and change it to DPAD_LEFT.

Also, make sure you leave proper spacing and use perfect syntax in order for it to work.
[T-Mobile myTouch 4G Slide] AgentCherryColla:
But Blues thread is almost always on top. I didn't know this was here.

http://xdaforums.com/showthread.php?t=1285244
[T-Mobile myTouch 4G Slide] rorytmeadows:
This is the earlier thread!:silly:
[T-Mobile myTouch 4G Slide] pantherz:
First of all a BIG!!! THANK YOU!!! to "

overhauling

" for such a quick and helpful response!!! EVERYONE who reads this needs to give him a thanks as well :-) if it isnt to much trouble could you post the link of the doubleshot-keypad file to another website because 4shared requires a registration to get the file. if not then its ok.

I'm sill looking for the first remap layout that I posted in my question as a second option for my phone if anyone can please help as well.

The thing i have to figure out now is how to "root" my phone since im guessing its the reason why i was getting the "could not modify" error when trying to edit the doubleshot-keypad.kl file.

I was told by a friend that I have to downgrade my phone in order to gain admin privileges to root my phone. I truly hope that this isn't the case. If anyone could help point me to the right direction on how to achieve this it would also be greatly appreciated :-)

BTW another thank you to "rorytmeadows" for coming to my defense on the posting matter. I knew I wasn't the only one who thought that was strange thing to get scolded for.
[T-Mobile myTouch 4G Slide] pantherz:
Ok so I had my phone rooted by a friend with S-ON and now I can gain access to the root menu by using “superuser” and “root explorer.” I was able to remap a few buttons using “ButtonRemapper,” the only problem is that it doesn’t remamp all of the functions I want. If I try to edit the doubleshot-keypad.kl file through Root explorer I still cannot gain R/W access. I can only gain R/W access in the “/system” folder. Anything after that it will only say R/O. is this because the phone was rooted with S-ON or am I doing something else wrong???
[T-Mobile myTouch 4G Slide] bpleat:
Sounds like you have a quick idea for a quick $0.99 app...

---------- Post added at 11:12 AM ---------- Previous post was at 11:02 AM ----------

Wonderful quick-reference list, thank you!