[EB13] [MOD] Keyboard Tweaks -- '@' for SMILEY [UPDATED] 2.27.2010 - Epic 4G Android Development

I am currently working on some kernel hacks with the keyboard files to allow for some more goodies, I have to do it in-between classes, but I am getting somewhere.
Also anyone who knows how to modify API level KeyEvent changes get in touch with me. I am looking into creating my own ENDCALL implementation to only work while(in-phone) but my app is lacking. I think I will have to modify the actual Phone.apk to hang-up on keypress 107 event id.
**now included in some roms**
*thanks for the #include devs*
This only works if you have root and clockworkmod recovery installed see the stickys in the EPIC 4G DEVELOPMENT to get them first.
I, like a lot of people, got sick of the SMILEY button. I also barely use the search button on the bottom of the screen,
so I decided to change them and make them more useful.
edit: according to Geniusdog254 this will need to be reapplied after a rom update, unless it is included in the rom.
DEVS: please feel free to include this or at least a link to this post when updating your roms.
**changed mod method to clockworkmod recovery**
I have had several friends and members ask me how to do this... (they also asked for it to be made dummy proof)
I hope I have succeeded.
FOR NOOBS:
To Enable tweaks
1: download the attachments -
for only smiley to @ tweak
for only search to endcall tweak
2. install through clockworkmod recovery
option 1. use the clockworkmod rom manager to select file and flash
option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install
To Disable tweaks (ie: go back to regular keyboard layout)
1: download the attachments -
for only smiley to @ tweak
for only search to endcall tweak
2. install through clockworkmod recovery ( clockworkmod < 3.0.0 only, I haven't had time to learn the edify scripting developers feel free to make it if you want to include it)
option 1. use the clockworkmod rom manager to select file and flash
option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install
FOR SKILLED USERS:
1. Just download the zip file
2. use ClockworkMod recovery to install the zip files above
or
download, extract, flash the ones of your choosing from here
FOR DEVS and/or SKILLED USERS:
the changes are simple
I got the information from http://pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html...
To make your own keyboard layouts just edit the .kl files in a notepad (gedit or notepad++ choose your flavor) then push them back to /system/usr/keylayout
- for search hack (melfas-touchkey.kl) - key 107 SEARCH WAKE_DROPPED -> key 107 ENDCALL WAKE - then save.
changes:
-for AT/Smiley hack (s3c-keypad.kl) - key 42 SMILEY WAKE_DROPPED -> key 42 AT WAKE_DROPPED - then save.
'SEARCH' Button on the bottom will end calls and put screen to sleep while not in a call
this only affects the capacitive search button on the bottom (the bottom 4 on the main screen)
the hardware search button on the qwerty keyboard is still mapped to search
' - smiley' button on qwerty keyboard is now the '@' symbol... (I have no idea why this wasn't stock to begin with)
**edit**
added attachments for only smiley and only search button hacks
**edit**
changed install method to *.zip for clockworkmod recovery
**edit 2.27.2010**
included specific changes

Wow awesome!
I was pretty excited for the smiley button, but honestly have NEVER used it since I don't like the faces.
I actually use the Search button pretty frequently, so could you put up a separate hack for JUST the smiley/@ button?
Wait, does the search button hack only apply to hardware keyboard or to the capacitive search button also?

search
NeonMonster said:
Wow awesome!
I was pretty excited for the smiley button, but honestly have NEVER used it since I don't like the faces.
I actually use the Search button pretty frequently, so could you put up a separate hack for JUST the smiley/@ button?
Wait, does the search button hack only apply to hardware keyboard or to the capacitive search button also?
Click to expand...
Click to collapse
edited first post
added individual hacks to attachments
PS
search hack is only for capacitive...
the physical search button on the keyboard is still mapped to search

This is old news
I had the first post with it back in the good ole days in the G1 section lmao. My Search2Play app on the Market actually does this, but it remaps search to play/pause music. I really need to update it for the Epic & other SGS devices lol
Anyway, I was going to change the smiley to @ myself the other day but never got around to it. Kudos!
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change

Geniusdog254 said:
This is old news
I had the first post with it back in the good ole days in the G1 section lmao. My Search2Play app on the Market actually does this, but it remaps search to play/pause music. I really need to update it for the Epic & other SGS devices lol
Anyway, I was going to change the smiley to @ myself the other day but never got around to it. Kudos!
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change
Click to expand...
Click to collapse
COOL...
I went from a G1 to an epic 4g,
Was hard to leave cyanogen and all the G1 greatness...
I didn't know that your tool worked for the capacative search button only, I tried it and it changed both of them.
Cant wait to see your updated app and stop using this crude workaround....

smeyerhuky said:
COOL...
I went from a G1 to an epic 4g,
Was hard to leave cyanogen and all the G1 greatness...
I didn't know that your tool worked for the capacative search button only, I tried it and it changed both of them.
Cant wait to see your updated app and stop using this crude workaround....
Click to expand...
Click to collapse
My app actually does the exact same thing your doing, replacing the *.kl file with one that has the buttons remapped. It's just packaged up into a nice shiny little box
Also, it works for all types of buttons, but on capacitive buttons it doesn't work when the screen is turned off.

thanks again.
Geniusdog254 said:
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change
Click to expand...
Click to collapse
updated in OP thanks....
PS.
Isn't the purpose of open source code reuse....
Love your kernel can't wait for the update tomorrow night. I do a lot of personal development on my phone would love to test things for you from time to time.
PPS
I am a student in computer engineering focusing on VLSI so I dont always have time to post my personal edits...

smeyerhuky said:
updated in OP thanks....
PS.
Isn't the purpose of open source code reuse....
Love your kernel can't wait for the update tomorrow night. I do a lot of personal development on my phone would love to test things for you from time to time.
PPS
I am a student in computer engineering focusing on VLSI so I dont always have time to post my personal edits...
Click to expand...
Click to collapse
Of course thats the point of open source lol. I wasn't criticizing you at all if that's what it sounded like, its great you figured that out for yourself. People like you & I who experiment with our phones until we make them work how we want are what makes the world go round lol

Just applied the button hack!
Both work perfectly! The capacitive search remap is really useful! Love it!

Sorry, having trouble installing...I have my phone rooted and busybox, but I'm getting what I think is an error message.
It says- 'adb' is not recognized as an internal or external command, operable program, or batch file
Any ideas as to what I'm doing wrong?

jbuss69 said:
Sorry, having trouble installing...I have my phone rooted and busybox, but I'm getting what I think is an error message.
It says- 'adb' is not recognized as an internal or external command, operable program, or batch file
Any ideas as to what I'm doing wrong?
Click to expand...
Click to collapse
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.

NeonMonster said:
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.
Click to expand...
Click to collapse
Thank you-works great!

I'm going to throw up an update.zip in a few minutes so this can be done on the phone though clockworkmod
Sent from my SPH-D700 using XDA App

NeonMonster said:
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.
Click to expand...
Click to collapse
thanks for lookin out,
I changed the method for the modifications to a update.zip compatible with clockworkmod recovery...
now it can be done on the phone without a computer for easy reinstall with roms

Thanks so much! I was so stoked to see this post when I woke up, and can report the @ tweak under clockwork works like a charm. It's crazy how much work it's taken to get this phone back to the same level of usability as my OG Droid, but between this and the lockscreen hack, I'm the closest I can be now until we have froyo. Cheers!

this is great, but could you please create a version that lets you remap the long press of the search button to something like vlingo?

Does it require a long press of the search button to sleep the phone or hang up? I'm afraid of it being to easy to hit the search button and have it hang up or close phone when you didn't want it to.

For this release the longpress is still mapped to voicesearch
I can remap it if really necessary
Sent from my SPH-D700 using XDA App

smeyerhuky said:
For this release the longpress is still mapped to voicesearch
I can remap it if really necessary
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Long press gives me the option for silent, airplane mode, or power off for me...

Sorry.
Your right just realized I was running a test build w/o the changes XD
Sent from my SPH-D700 using XDA App

Related

[MOD] Remap Any Key on Your G1 (v3, Now can play/pause/skip Music with Camera Key)

NOTE: THIS IS JUST FOR WINDOWS
Although it is easily modded for other systems, but the fancy script doesn't work on its own. Just manually delete the versions of the files that are already there (only of the ones that are in this .zip, leave the others) and then push the new files there.
NOTE 2: This is just for the camera mod, to see how to remap any key see post 2 in this thread.
Thanks to Drizzy Drake Rogers this is now featured in the new Hero 1.79.482.3 .img files released by Haykuro & cooked up by Drizzy!
This is a mod that allows you to map the camera button as the search button.
It is very simple to understand what it does if you just look at the files included in it, so I don't want to write out a whole drawn out explanation here.
Let me start by explaining this, I loved the new global search feature in CM 3.9.11.2, but I hated not having a dedicated search button off the keyboard. So I looked at the keyboard layout files and modded them to change the rarely used camera button to a search button. Also, if you long press on whatever mode you choose, it will give you voice search.
Also, there are 2 modes for the camera button, FOCUS which is where it is pressed halfway down, this focuses in the camera app, and CAMERA which launches the camera app from anywhere on the phone & also snaps a pic in the camera app.
There are four versions of this file, each in it's own folder;
Both Search: Both FOCUS & CAMERA are mapped to search & bring it up.
Camera Search, Focus Normal: Only CAMERA is mapped to search, FOCUS ​still focuses and takes a pic in the camera app.
Focus Search, Camera Normal: Only FOCUS is mapped to search, CAMERA ​still launches the camera app from anywhere on the phone.
Stock: Pushes back the original files to an unmodded state.
To install it, just run Install.bat and press 1, 2, or 3 based on whatever choice you want. All this script does is use the copy of ADB found in the directory to remount the /system partition, delete the original files in /system/usr/keylayout/, push the new files, and reboot the device.
I hope you enjoy this mod and please post feedback.
EDIT: READ IF .bat DOESN'T WORK OR YOU AREN'T ON WINDOWS!
To do this manually, just follow these directions (assuming you have ADB set up, otherwise there are guides on XDA to set it up):
1. Go to the folder of the mod version you want.
2. Run the following commands in ADB:
adb remount
adb shell rm /system/usr/keylayout/trout-keypad.kl
adb shell rm /system/usr/keylayout/qwerty.kl
adb shell rm /system/usr/keylayout/trout-keypad-qwertz.kl
adb shell rm /system/usr/keylayout/trout-keypad-v2.kl
adb shell rm /system/usr/keylayout/trout-keypad-v3.kl
adb push trout-keypad.kl /system/usr/keylayout/
adb push qwerty.kl /system/usr/keylayout/
adb push trout-keypad-qwertz.kl /system/usr/keylayout/
adb push trout-keypad-v2.kl /system/usr/keylayout/
adb push trout-keypad-v3.kl /system/usr/keylayout/
3. Reboot your phone.
EDIT: Wooohoooo! Just leveled up to senior member, this was post #100
V2 is now up. Includes the option to push the stock files back, so feel free to try any mods without worrying about reflashing.
SEE POST 34 FOR MUSIC PLAY/PAUSE/SKIP ABILITY!!
Ok, just to clarify a little here. These files included can be changed to remap any key to any other key. I personally have also remapped the MENU key on the actual keyboard (not the button under the screen above the trackball) to be my shift key, since that is physically more comfortable.
To do this, just open the .kl files (from any mod version, just make sure you have a complete set of them) in your text editor of choice. Then, find the key you want to change, they have labels like this (this is how I changed the camera button):
key 211 CAMERA
change to: key 212 SEARCH
Also, you may notice that some keys have the WAKE tag next to them, add this tag to any key to set it to wake the phone when pressed. I'm not quite sure what the WAKE_DROPPED tag is though.
And, for those of you that are wondering, key 59 is currently marked as MENU, change it to SHIFT_LEFT to make it a shift key as well.
wow great job on this i might try it.
Awesome idea for remapping the menu key the shift key, I can see how that can be a littler easier on the hands. I may have to try this out.
Thank you for sharing your find! I would have figured this would have been harder than it seems.
prash said:
Awesome idea for remapping the menu key the shift key, I can see how that can be a littler easier on the hands. I may have to try this out.
Thank you for sharing your find! I would have figured this would have been harder than it seems.
Click to expand...
Click to collapse
believe it or not, but this is the first time i even noticed that menu key
did anyone try this on a Hero rom?
Is this only for the G1, or could this be adapted to any android device with a keyboard?
Ahhh..thanks for the info...I always used to think about that menu button being waste...now I can change it :-D
I was looking for that a week ago but my editor didn't display the .kl correctly <.<.
Thanks =)
Dror520 said:
did anyone try this on a Hero rom?
Click to expand...
Click to collapse
I haven't tested it on a Hero build, and probably won't as I need my G1 stable. However, there should be no issues with it unless it is changed in the ROM. Later today I will upload v2 that has the option to push the original files as well.
Escaladez2 said:
Is this only for the G1, or could this be adapted to any android device with a keyboard?
Click to expand...
Click to collapse
In theory, it should work on any With Google or standard Android build, and probably even custom mfg ROMs like Hero unless they choose to change the way they map the keys (think hard-coded values).
Yes it works on here build i did it last night
this works on the Hero rom! and also when you long press the camera button it will give you the voice search! thanks! for this!
There is one thing I have missed on the G1's keyboard since the day I got it. A proper Tabular key.
When we press tab now, it just adds about 4 spaces.
What I want it to do is jump to the next element. Just like in text areas where you can simply jump to the next field.
Bavilo said:
There is one thing I have missed on the G1's keyboard since the day I got it. A proper Tabular key.
When we press tab now, it just adds about 4 spaces.
What I want it to do is jump to the next element. Just like in text areas where you can simply jump to the next field.
Click to expand...
Click to collapse
Unfortunately that is something that would require a code change instead of just a file mod, since that feature isn't in the Android OS. I guess they thought that since they require a 4-way+center button d-pad they figured that we wouldn't need a tab key, since you can just scroll with the trackball, or in the case of phones like the Galaxy, just press the arrow key or screen.
thank you so much for this mod. I have been hoping and wondering for awhile about this. XDA IS AWESOME!!!
can someone please help me getting this to work. I plugged my phone in and ran the bat file but get a error message...adb is not recognized as a internal or external command, operable program or batch file..... I did it with adb connected and not connected and got the same error. If i click on the adb.exe in the download I get another error? help me please
^^^^
Thats strange, if its not working for you all you have to do is do it manually, here is a guide (this assumes you have ADB already set up, I won't say how to do that here, there are guides on XDA):
1. Go to the folder of the mod version you want.
2. Run the following commands in ADB:
adb remount
adb shell rm /system/usr/keylayout/trout-keypad.kl
adb shell rm /system/usr/keylayout/qwerty.kl
adb shell rm /system/usr/keylayout/trout-keypad-qwertz.kl
adb shell rm /system/usr/keylayout/trout-keypad-v2.kl
adb shell rm /system/usr/keylayout/trout-keypad-v3.kl
adb push trout-keypad.kl /system/usr/keylayout/
adb push qwerty.kl /system/usr/keylayout/
adb push trout-keypad-qwertz.kl /system/usr/keylayout/
adb push trout-keypad-v2.kl /system/usr/keylayout/
adb push trout-keypad-v3.kl /system/usr/keylayout/
3. Reboot your phone. It should all work.
so would this mod allow for the hardware buttons to be changed? id love for the TALK button to go straight to the dialer rather than 2 the call log in cyanogen/google based roms.
thanks for the reply, yes i have adb setup and i am going to give it a try now. THanks
CC CEO said:
so would this mod allow for the hardware buttons to be changed? id love for the TALK button to go straight to the dialer rather than 2 the call log in cyanogen/google based roms.
Click to expand...
Click to collapse
Again, this is a software issue, either in the dialer app or the main OS. This mod will allow you to assign any button to function as any other button, but it WILL NOT let you add a new function to a key, sorry.
menzo44 said:
thanks for the reply, yes i have adb setup and i am going to give it a try now. THanks
Click to expand...
Click to collapse
No problem, I want this to help other people as it has helped me. Let me know if it works.

[Skins] HTC_IME High/Low Res v27 custom skin generator online! Updated Sep. 7th!

The reason I've been slower at posting requests lately is about to come clear!
I have created an "online kitchen" of sorts for creating custom skinned, signed, HTC_IME high and low res apk files. This means you guys can very easily create your own skins and customize the ones I've created!
What is this?
A website you can visit on your computer or directly from your phone that will let you a> create a custom skinned keyboard based off of any of the images currently in the library (various colored keys, backgrounds, etc) with whatever text color you want and b> customize existing "skins" (will be known as "presets") however your heats desire.
Currently, it should be considered very beta. All the features that are here should be working 100%.
Why beta, that sounds scary?
It's beta for a couple of reasons, 1 because it's currently UGLY as sin (concentrated on features and back end first) and 2 because I'm actively working on it which means it could break at any time.
What is the point of this?
Besides the fact that you can now customize the hell out of the way your keyboard looks, it drastically reduces the amount of work I have to do in the future. Currently, i'm uploading 46 pre-themed apk files for every single update. While this isn't really a big deal since I automated the process, it slows down how quickly I can put up updates. With this new method, all I have to do is upload the original unthemed keyboard apk and classes.dex for each new version and my work is done!
Everything else:
If you select a preset, you will still be asked to choose each portion of the keyboard (background, buttons, text color etc). The image with the yellow border around it (you'll see what I mean) is the default "piece" for the preset.
One last thing, depending on server load it could take anywhere from 30 seconds to 5 minutes to generate the keyboard. Most of the time I suspect it will be < 1 minute tho.
I don't mind if you use this to generate a keyboard and include it with something (theme/morph) or post it somewhere, just give due credit
URL for HIGH RES online kitchen: now offline, sorry
URL for LOW RES online kitchen: now offline, sorry
Current feature list / changelog:
Start from a "preset" (any of my current themes) and change any component of it.
Choose any of my current backgrounds
Choose any of my current primary/function key styles
Choose any of my current "symbol sets"
Choose any of my current space bar logo/images
Upload your own spacebar logo
Choose any color text for letters and alternate characters
Built in bug reporting/feature requests (for new image sets, for example)
Choose any color for background image
Preview keyboard before generating it
Option to see/reuse all skins you have generated
Option to see/reuse last 25 skins anyone has generated
Choose any color for symbol sets
Added lowres kitchen
Added option to choose between 1.5 only and 1.6+ low res versions in low res kitchen.
Added v25 froyo version.
Added all v26 versions to kitchen!
Added all v27 versions to kitchen!
Added v27-froyo lowres version to kitchen!
New option: Create your own primary/function keys is FINALLY here!
Pre-themed/Pre-built skinned keyboards.
Custom skins for Jonasl's HTC_IME high res.
These are signed with the exact same certificate that jonasl uses so if you can install his, you can install these and go back and forth with no problem.
These are no longer flashable update.zip files, all you need to do is download the zip file, extract the HTC_IME_hi.apk to your sd card and install with a file manager (linda, or something that supports reinstalling for future installs).
Special note, if you have not already installed v22 or higher, I highly suggest you read Jonasl's thread here for important information regarding this keyboard. You will need to re-enable and completely reconfigure this keyboard after installing (only if you haven't already done v22+).
One last note, there is a new hi res Clicker.apk available too. I have not included it in these downloads, you will need to get that from the official HTC_IME Mod download if you haven't already! Update: or get it here -> Clicker_hi.zip
v24 links removed because v25 is now available in the kitchen, screenshots represent some of the many themes you can create there!
Thankyou so much all working perfectly !
Oh thanks for this, I definetly don't like Metamorph - so this was a life saver. Well not really a life saver, more like a life enhancer lol..
Great job thanks .
I know this is an htc forum but is there any way you can throw an update.zip of v18 for us droid users? The candidate bar is broken on v19 for droid but it worked on 18... if you can do it would you make it the black with white text theme? This would be much appreciated! Keep up the great work!
trillonometry said:
I know this is an htc forum but is there any way you can throw an update.zip of v18 for us droid users? The candidate bar is broken on v19 for droid but it worked on 18... if you can do it would you make it the black with white text theme? This would be much appreciated! Keep up the great work!
Click to expand...
Click to collapse
Sure thing, I don't want to maintain to many old versions going forward, but this one is the most frequently downloaded one, and it sounds like Jonasl isn't going to get us a new version real soon (i could be mistaken tho).
I'll try to get it posted here in the next 30 mins or so.
gIMpSTa said:
Sure thing, I don't want to maintain to many old versions going forward, but this one is the most frequently downloaded one, and it sounds like Jonasl isn't going to get us a new version real soon (i could be mistaken tho).
I'll try to get it posted here in the next 30 mins or so.
Click to expand...
Click to collapse
Actually im a fool... with the candidate bar on v19 you can long press and dragit to the correct position so don't bother. I read This aafter I posted and gave it a try and voila. Seems like a lot of Droid users didn't read the entire OP like me. Thanks for the quick response. Hope I caught you before you wasted any time!
trillonometry said:
Actually im a fool... with the candidate bar on v19 you can long press and dragit to the correct position so don't bother. I read This aafter I posted and gave it a try and voila. Seems like a lot of Droid users didn't read the entire OP like me. Thanks for the quick response. Hope I caught you before you wasted any time!
Click to expand...
Click to collapse
Hahah I almost suggested you try that, but wasn't sure if this was different bug.
Glad you got it sorted, no time wasted here!
I'm still having problems with installing the themes...I tried all 3 methods you posted, everything installed with no problems or errors...however, when I go to a text screen (sms, for example) I click on the input area and the keyboard just doesn't pop up at all, nothing. Any explanation for this? I don't understand why I can't get this to install properly. I'm convinced it has to do with my rom, jrummy's desire remix on koush's cyanogenmod
philsfan said:
I'm still having problems with installing the themes...I tried all 3 methods you posted, everything installed with no problems or errors...however, when I go to a text screen (sms, for example) I click on the input area and the keyboard just doesn't pop up at all, nothing. Any explanation for this? I don't understand why I can't get this to install properly. I'm convinced it has to do with my rom, jrummy's desire remix on koush's cyanogenmod
Click to expand...
Click to collapse
It must. Have you been able to install the un-themed keyboard from Jonasl? If that is the case, I have absolutely no idea why these wouldn't work. They are identical to the APKs he produces just with my theme changes.
These themed versions work like a charm on stock N1.
I extracted the APK, installed with ASTRO. Just to be safe, I uninstalled previous version.
Talderon said:
These themed versions work like a charm on stock N1.
I extracted the APK, installed with ASTRO. Just to be safe, I uninstalled previous version.
Click to expand...
Click to collapse
Glad to hear!! I assumed they would, but had no way to test it (short of nanding and flashing back to an unrooted stock rom of course).
Thanks for letting me know!
just tried the htc ime apk on wifes stock n1 and no joy also tried installing the clicker apk too and still nothing !
marra2 said:
just tried the htc ime apk on wifes stock n1 and no joy also tried installing the clicker apk too and still nothing !
Click to expand...
Click to collapse
Which install method did you try????
For stock I would recommend option 3 with astro file manager or similar.
I used option 3 with astro go to choose input method and it only gives me android keyboard option ? rebooted phone too just to make sure .
Thanks bro for the update.zip. I had almost given up on flashing the penguins skin as I could not get MM to do it no matter what I tried. Anyway this method worked. Have the keyboard themed with penguins.
quick question: if I install a new ROM and wipe data prior to that will I have to apply this again? If so can I do this directly without installing the orginal HTC keyboard? Thanks again.
marra2 said:
I used option 3 with astro go to choose input method and it only gives me android keyboard option ? rebooted phone too just to make sure .
Click to expand...
Click to collapse
I *think* either on stock firmware and/or first time you run it you have to actually enable it first. Try going to settings, language and keyboard, and see if you have touch input that you can either check mark to enable or go into for settings, then try to set it as your input type.
stlcity said:
quick question: if I install a new ROM and wipe data prior to that will I have to apply this again? If so can I do this directly without installing the orginal HTC keyboard? Thanks again.
Click to expand...
Click to collapse
Yes you will have to apply it again, and yes you can go straight to my pre-themed keyboards (by flashing, pushing, installing, however you want!).
that did it thanks very much
Works great! Thank you.

[Tool] Immediate soft reset on longpress endkey [updated info]

This file is used to have your HD2 immediately soft reset when you do a long press on the endcall key.
Why immediate? Because sometimes it happens that the device locks up in a way you can trigger keypad actions but do NOT see anything on screen (included the confirmation dialogue for the reset), that way if you need to reset you have to remove the back cover.
For someone like me, who switches the battery often, the least times it's needed to peel off the panel, the longer the plastic of the chassis will last.
So well, download this file:
View attachment EndKey.exe.zip
and RENAME IT TO EndKey.exe REMOVING THE .zip EXTENSION, it's NOT a zip file!
I am on an ubuntu laptop right now and since "compress" is not one of the options on the right-click menu I couldn't be bothered to open the archive manager and compress the file manually so i just renamed the exe for the upload sake
Then copy the obtained EndKey.exe file under \Windows\ overwriting the current one (which corresponds either to your stock actionscreen, or to whatever other utility you have installed that hooks on longpress endkey) and to test it just do a longpress endkey, the device should immediately softreset. If not, you got a problem
If you want to go safe, before overwriting the file, rename the original one
Credits for the exe file (which is just a softreset utility renamed to EndKey.exe) go to whoever is its author, I don't know Found this "SR.exe" file among the preinstalled apps on my custom rom so I thought I could as well reuse it for a more useful purpose
[UPDATED INFO]
Apparently this method met with favour a lot of you, and others suggested/integrated it to make it even more useful.
First of all l3v5y created a cab for it here: http://forum.xda-developers.com/showpost.php?p=6376602&postcount=5
If you still need to shutdown the device here and there several users suggested XDAShutDown, with several kind of skins:
1) http://forum.xda-developers.com/showthread.php?t=591149
2) http://forum.xda-developers.com/showpost.php?p=6389730&postcount=25
And browsing through xdaportal I found another shutdown tool that looks good as well:
http://forum.xda-developers.com/showthread.php?p=6335326#post6335326
If you still want a confirmation dialogue before softreset instead of having it trigger right away:
http://forum.xda-developers.com/showpost.php?p=6377877&postcount=15
Great idea, thanks for sharing!
Cool man you did good job, this is what i am looking for
Thanks
thanks! simple and useful!
Here's a cab that should hopefully achieve what the described process does.
great idea. but how do you shut off your device now?
Great idea , it works fine . Thank you both !
Cheers~
skylinepigeon said:
great idea. but how do you shut off your device now?
Click to expand...
Click to collapse
xdaShutdown + my Skin http://forum.xda-developers.com/showthread.php?t=591149
l3v5y said:
Here's a cab that should hopefully achieve what the described process does.
Click to expand...
Click to collapse
Thanks For the cab it's work 100%
skylinepigeon said:
great idea. but how do you shut off your device now?
Click to expand...
Click to collapse
Look. This is an app, that makes the "endkey" to reset the phone,
NOT the "switch-off" key.
So, if you want to turn your phone off, you simply press the power button on the top of you device.
Jack_Surfer said:
Look. This is an app, that makes the "endkey" to reset the phone,
NOT the "switch-off" key.
So, if you want to turn your phone off, you simply press the power button on the top of you device.
Click to expand...
Click to collapse
Really?
Cheers~
Thank you Ephestione for the great soft.
Thank you L3v5y for the cab.
This is really useful.
How could have HTC simply forgot the "Soft Reset" function ??!
Ephestione,
Do you think it could be possible to add a confirmation message before soft reset.
I think it would be useful and more secure.
Many thanks
Jack_Surfer said:
Look. This is an app, that makes the "endkey" to reset the phone,
NOT the "switch-off" key.
So, if you want to turn your phone off, you simply press the power button on the top of you device.
Click to expand...
Click to collapse
Well... I released this... err... "ripoff" for the HD2, we are not lucky enough to have a shutdown button on the top
Anyway, I was away just a couple hours and I see two pages of replies already, I am very happy you liked it fellas (and thanks l3v5y for powering it up with a cab)
Anyway, I'd like to reinstate that my job went only so far to check how longpress endkey function was managed, and renaming an exe file that someone else created... in the Creative Commons language, it would be a very simple derivative work Stil,l if you want to show appreciation, create a dropbox account with the referral link in my sig and I'll get 250mb more
EDIT: BTW, to restore the original action screen, stock from HTC; just delete the endkey.exe you copied/installed from cab, it will get replaced by a 80k exe which is the stock screen
EDIT2: @l3v5y, deleted my exe, installed your cab and moved it to sashimi's auto folder anyway you don't need to make it reboot, since the reset function is active right after the installation/filecopy
arturobandini said:
Ephestione,
Do you think it could be possible to add a confirmation message before soft reset.
I think it would be useful and more secure.
Many thanks
Click to expand...
Click to collapse
well, all I did was rename an exe... tell you what, there is a tool called "hd2connections" which is a collection of exe shortcuts to toggle BT/wifi, reset, shutdown, and stuff like that (search for it on xda).
You can talke the softreset exe from there, rename it to EndKey.exe, copy over to \Windows\, and you'll see a confirmation dialogue asking you if you REALLY want to softreset. It's in french, at least in my installation, but still comprehensible
Anyway, I expressely chose NOT to have a confirmation, because of the times I need to softreset, the faster the better, and this way if your screen locks up in a crash and you can't see the dialogue, you can softreset anyway (at least you should, didn't happen yet to test it )
great stuff, thanks a lot.
tossero said:
Really?
Cheers~
Click to expand...
Click to collapse
Sorry for that, guys
I was not aware, that this nice piece of HTC, called HD2 does NOT have the power button att the top as my TD2 has
Jack_Surfer said:
Look. This is an app, that makes the "endkey" to reset the phone,
NOT the "switch-off" key.
So, if you want to turn your phone off, you simply press the power button on the top of you device.
Click to expand...
Click to collapse
There isn't a power button on the top of the HD2......
tossero said:
Really?
Cheers~
Click to expand...
Click to collapse
Sorry for that, guys
I was not aware, that this nice piece of HTC, called HD2 does NOT have the power button att the top as my TD2 has
Anyway, a really useful piece of app
Thank you very much, ephestione.
Jack_Surfer said:
Sorry for that, guys
I was not aware, that this nice piece of HTC, called HD2 does NOT have the power button att the top as my TD2 has
Anyway, a really useful piece of app
Thank you very much, ephestione.
Click to expand...
Click to collapse
not my app, I just took it, renamed it and copied over to Windows folder, then released the method to the community

[DL17][EC03] Softkey Themes & Ticker Clock Requests?

So, in case you didn't know already, the Continuum's soft keys are actually part of the one full screen... Which means we can change them with a little effort
Hit me with ideas with what you want to see within this thread
Here are the zips so far you need CWM
Here are the zips for 2.2 Froyo on the Continuum! Thank you biznazz for taking the time and porting them over He deserves all the credit for porting, and if you are grateful, click http://forum.xda-developers.com/showpost.php?p=16496004&postcount=135 and click thanks
If you are ready to download, you can head over to the thread listed above and this one: http://forum.xda-developers.com/showpost.php?p=16497349&postcount=136, being sure to thank him along the way!
Located at the bottom of this post (ONLY FOR 2.1 DL17!!!):
Original (duh )
Dark Green
Light Green
Light Blue
Purple
Dots!
Text!
Cool Font [Courtesy of Circa881]
Continued...
Red! [Courtesy of biznazz] :
(DL17)
CWM: http://www.megaupload.com/?d=X819XKAT
Multi-Colored Dots (Softkeys Remapped [Circa881]):
(DL17)
CWM2 : http://www.mediafire.com/?4w2m55uka70wpl8
CWM3 : http://www.mediafire.com/?06i9h5p3a86ean7
***NEXUS S THEME***
This will change your Softkey Functions and looks to match that of the Nexus S! Just to warn you...
Nexus S:
(DL17)
CWM 2 : http://www.mediafire.com/?8hzfp63j1o2824q
CWM 3 : http://www.mediafire.com/?k12f85pu8b0vr6o
If you want the default Softkey Functions back (like when you want to try any of the other softkey themes) Then flash the Default_Softkey_Actions.zip
Default Softkey Actions:
(DL17)
CWM 2 : http://www.mediafire.com/?u5t12dg6lzyyues
CWM 3 : http://www.mediafire.com/?05e83h878ztz4zq
***NOTE ABOUT CWM 3***
Not all the packages are CWM 3 compatible... The Nexus Theme is, and so is the Defaul Softkey Action zip.... For now if you want to flash any of the other themes, download the old Blue cwm 2 and flash that from within the new yellow cwm 3. Then you can flash the files
If you want a certain theme converted, i will do that... I just don't wanna waste any extra energy doing that if i don't have to
***DIY***
THEMING:
If you wanna try tackling this yourself, there really isn't much you have to do... Before embarking, however, make sure you have at least a little knowledge in what your doing....
What You'll Need:
-The Framework-res.apk from /system/framework
-7-zip (easy way)
-(optional) Update-Zip-Packager (not my creation, thank the developer of this batch for his wonderful project )
Steps:
Now, right click on the APK and go to 7-zip --> Open Archive..
A window will appear, where you now maneuver yourself to assets --> images...
Select all of the four google_key_icon_*.png images within that folder, and drag "Copy To" your deskop...
Now, add your special touches to those images
When done, just drag those images back into that same folder you got them from within 7-zip Manager, and you are set
To throw this apk into a flashable zip, i just used Update-Zip-Packager found on XDA... However, you can use ClockWorkRecovery/ADB also... Whatever you want
NOTICE: Backup your old framework-res.apk just in case :3
BUTTON MAPPING:
What You'll Need:
-ADB (or Root Explorer )
-Text Editor (on your computer )
Steps:
The button configuration for the Continuum is located at /system/usr/keylayout, and the file name is qwerty.kl
First we need to mount System as RW... To do this, Use ADB, and type "adb shell /system/bin/mount -o remount,rw -t rfs /dev/block/stl9 /system"
Now that it is mounted properly, we have to copy the qwerty.kl to the computer... Type "adb pull /system/usr/keylayout/qwerty.kl"
(Of course you can just use Root Explorer or another such app if you so choose, but that cost money this is free )
Now, open the file open in your favorite text editor, it doesn't really matter...
Here is a list of the codes and the corresponding button... This is important, because there are more than one buttons labeled as, for example, "Menu":
key 158 = Back
key 139 = Menu
key 217 = Search
key 102 = Home
Make your appropriate changes, and save...
Now you gotta push it back to the phone, which you can either use the Update-Zip-Packager again, or you can just use ADB in CWM
Step 42: Profit
Any modifications that you make yourself, don't be stingy Share with the community, for everyone to use! Just send me the framework-res.apk and/or qwerty.kl, and i will do the rest
Or you could make the zip yourself, that works too
Ticker Clock Colors:
We have managed to figure out how [Thank you Jaizero for helping me with this ] to change the color of the Ticker Clock (and also the date, music info text, etc )... If you want to see a certain color, just ask nicely below, providing at the same time the Hex code you would like to see exactly! If you aren't sure how to find the Hex Code of the color you want, just do a google search for, say, "Blue Hex Value" or something along that lines
If you are thankful just hit thanks<3
Hmm, that sounds interesting. What were you thinking about modifying then to?
Sent from my SCH-I400 using XDA App
can you change the functions as well? or just the icons...
It would be nice to have the ability to lock them during game play because I have the tendency to bump them on accident from time to time and the ability it change the color would be absolutely appreciated
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
1) yeah, I thought this was a cool little hidden plus for our phone and I was thinking maybe for the "clean"people maybe just dots, and maybe for the metro ui people the actual words, like "Menu" "Home" and the works...
2) Yeah, I can change the function, but that doesn't involve what I am talking about.. I'm pretty sure there is a *.ko file in system I can edit to modify the soft keys... idk why you would want to though
3) I don't know how to lock them, sorry froyo has a default setting to make them time out after a while, however... So maybe when we get a froyo rom I can check it out for you
Also, I can change the colors, sure... Just so you know though, once you flash a themed file, you can't change the color until you flash another file... So no automatic color changing if that's what your thinking.. It can be done, I just don't know how to program apps xP
Sent from my SCH-I400 using XDA Premium App
That sound like it will be awesome. I would love to chane the colors also
Sent from my SCH-I400 using XDA App
Thats awesome but my only question is would o have to flash it through the recovery or odin
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
Another question, will I be able to change a certain softkey a different color eg. Home, blue search, green or would they all have to be the same color.
Sorry for all of these questions but one of the main things I wanted to do besides updating to 2.2 was to change the softkeys and since you discovered the ability to do so I figured it's better to ask then to wonder. LoL
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
lol, i like answering questions, so its no problem
They don't all have to be the same, i can make each one a different color if i wanted... Just give me a template with what you want done, and i'll try and get it done Like, what color do you want for what, and what should they look like? (original, words, "dot", etc)...
and i can make a recovery package for you if you want it when/if i finish
I would say let's start off simple and work from there let's keep the original icons and go with a cyanogen blue
And with the recovery package will it work with the stock recovery or will I have to install cwm
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
Just so you know before i start, whatever i make is going to be "grayed" down because of that gray strip we have where the softkeys are.....
and your going to need cwm It's pretty easy to do it nowadays
*Duplicate *
Thats fine with me, but will I also need cwm to install the new soft key theme
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
Yes, you will..
Here is a quick pic of cyan-like softkeys... The blue is much more pronounced when you actually have it installed... Would something like that be good?
Hells yea. LoL
But is there a way to make them brighter with out having to adjust the screen brightness like the icons I have now
Sent from my Rooted Space Time Continuum w/h a 2600mAh battery
I like the idea of having cyan colored keys. Great work
Sent from my SCH-I400 using XDA App
For me I would love to see green, thanks for doing this btw.
I can do green next and no problem its actually pretty easy lol..
Lincoln3828: Here's the thing, with the screen shot the cyan blue is very bright... Whatever you set the brightness for the screen, the soft keys follow... Also, even though those icons look really bright, when you flash it it is a lot more darker/not as bright... It looks more blue, but yeah, not as bright... There isn't anything I can do for that... Thanks to the grey stripe :l
EDIT:
Green Softkeys i think they might be a litttle too dark green when you actually flash it, imo
Do you like it though? haha
Green looks awesome man, cant wait till you upload some stuff lol. Thanks again man
I would love to see some different icons man, Say some text icons maybe? Idk how it would look though because it doesnt look like there is enough room to fit the full words.

[Q] Can you remove the soft /virtual buttons on ICS?

Hi All,
Long time lurker, first time poster. I have had a search around for the correct forum to post this in - sorry if it is the wrong one...
I have recently bought a Zenithink ZT-280 c91 for my Nan to get her on the internet, I am trying to simplify it as much as possible and have come across a problem that no amount of googling has seemed to clear up.
The pad has 4 hardware buttons (Options, Home, Back and Search), however as it has ICS on it, it also have the ICS virtual buttons.
I want to remove these virtual buttons but keep the task bar if possible, having 2 sets of buttons is likely to confuse the old dear.
All threads ive seen so far relate to disabling the hardware buttons but keeping the on screen ones? The task bar is useful and id like to keep it (or if there is an alternative option then that would be great if i can just scrap the buttons!).
I have tried replacing the home launcher - this hasnt done anything so far!
Any help would be greatly appreciated
goto settings >> launcher>>home screen>>there will be settings for that
else use other launcher such as adw,ss,360 launcher..
There are no settings for disabling the buttons, adding a new launcher doesnt make a difference, the buttons remain?
I found instructions on how to enable the virtual buttons on any ROM. From what I can see it should just be a case of using the word "false" instead of "true".
http://goo.gl/VAKqU
Good luck
I did see that one but was hoping there was something even simpler - guess ill have to bite the bullet and give it a shot if not - thanks
there is a youtube vid for this.. haven't tried it yet though
link since I can't get the YT link to work
I would like to thank you guys..
I was going to ask this question but found fortunately it already asked and answered..
Found another solution
I've came across this too tryin' to remove the Virtual button at the bottom of my Android device. I'm using Xperia Arc, with Viper Xperia v4.5 ROM, after that the Virtual Button appear and I kept accidentally hittin' on it.
I have found a tweak that worked for me, try at your own risk.
1. File Explorer with root access (I'm using ES File Manager)
2. Locate build.prop located at system/ (system/build.prop)
3. It is recommended you make a backup copy of build.prop to your SD card (long press options>copy)
4. Long press build.prop and choose to open with a Text Editor or Note Editor (for me it was File Editor)
5. Scroll all the way down and enter this line at the bottom - qemu.hw.mainkeys=1
6. Save and reboot
Hope this helps some of you

Categories

Resources