Button Swapping - Sony Ericsson XPERIA X10 Mini

Is there anyway, with an existing app - or a tweak on an xml file etc that I can change the up and down volume buttons when the phone is in landscape?
On the stock rom - when you are in landcape - pressing "left" to increase volume is so utterly counter intuitive it drives me insane!

teapea said:
Is there anyway, with an existing app - or a tweak on an xml file etc that I can change the up and down volume buttons when the phone is in landscape?
On the stock rom - when you are in landcape - pressing "left" to increase volume is so utterly counter intuitive it drives me insane!
Click to expand...
Click to collapse
i have no time to search the buttons assignments, in fact it should be easy to do, if you get me how to asign buttons, i could do a script for you..

There is a button re-mapper. See if it helps you.
http://forum.xda-developers.com/showthread.php?t=850464

Yeah it's easy enough to change the key mappings in the /system/usr/keylayout/*.kl files - the problem is that it doesn't affect the phone until a reboot.
It's also an issue of hooking into "something" so that when the phone rotates it swaps the commands over. I believe CM does this (as well as for any D-pad swapping on rotation) by hijacking the input queue in the file KeyInputQueue.java
However as I'm on a stock ROM and can't really edit this, I'm guessing it's not really possible.
So... I've just permanently swapped the buttons over for the time being. I never use volume controls unless I'm watching vids and at that point I'll always be in landscape - so I'll take the annoyance on the portrait mode instead!

teapea said:
Yeah it's easy enough to change the key mappings in the /system/usr/keylayout/*.kl files - the problem is that it doesn't affect the phone until a reboot.
It's also an issue of hooking into "something" so that when the phone rotates it swaps the commands over. I believe CM does this (as well as for any D-pad swapping on rotation) by hijacking the input queue in the file KeyInputQueue.java
However as I'm on a stock ROM and can't really edit this, I'm guessing it's not really possible.
So... I've just permanently swapped the buttons over for the time being. I never use volume controls unless I'm watching vids and at that point I'll always be in landscape - so I'll take the annoyance on the portrait mode instead!
Click to expand...
Click to collapse
I just needed to know that *.kl thing wait im gonna make a script
EDIT: It's not gonna be so easy

D4rKn3sSyS said:
I just needed to know that *.kl thing wait im gonna make a script
EDIT: It's not gonna be so easy
Click to expand...
Click to collapse
Yeah - got to the same point at me now

Woo and indeed Hoo!
Managed to work out what's going on, and after a bit of smali editing - it's all working.
Essentially, the DPAD rotation stuff is already in there, but since the device doesn't have the DPAD it's a bit useless. However it's possible to fool the device into thinking it's got a DPAD and using the existing rotate routine, and instead of remapping DPAD directions remap the VOLUME_UP and VOLUME_DOWN keys.
Seems to work perfectly!
I will tidy up the code (lots of debug hooks in at the moment!) and write a HowTo - but since it's hacking the internals of services.jar - my version would blat over the top of any custom theme.

any news about this?

Related

Tombraider on XDA

Just put Tombraider on my XDA, absolutely brilliant.
Ive tried it yes brilliant!
...but lacking two buttons...how do you access the
menu to save game or use health packs?
alqwerty said:
Ive tried it yes brilliant!
...but lacking two buttons...how do you access the
menu to save game or use health packs?
Click to expand...
Click to collapse
Can you give me a link where i can find this tombraider, i am a fanatic.
i found the link on google searching for tombraider pda
http://www.tombraidertogo.com
hope it's the right one
Just discovered the lack of buttons, I am going to try the different key controls A B C, have you tried those yet? I was hoping the save/pause button is remapped. Will let you know.
All keys are available
use the contacts and calender buttons and the rec button for the above mentioned functions.
The game is almost a direct port - with the exception of no multiple key presses - so you cant make Lara do that handstand climb manouever.
I am glad that I never played the game originally on the playstation - so I am slowly trying to complete it for the first time.
4 months in and I am only up to level 5!!!!!
Jayman
I remember I installed the game, but I had to take it out, because the only way that I could quit the game was resetting the machine, how do you quit?
Jayman are you using a xda?
I cannot access the menu or quit too.
Nope neither can I, how do you map those buttons to save/pause etc, as the man said, the only way out is a soft reset.
Right:::
I use control config A.
Flip screen left and toggle off both running and walking.
Within the game, all soft buttons(ie those on screen) should work as advertised.
D pad -directs Lara
calender - gets out current weapon.
contacts - fires or actions.
record/volume button - accesses menu.
In the menu u can go up and down 3 levels
Inventory - here are your weapons medipaks compass, press the soft select to use a medipak (Lara will groan) or to change weapon.
Above that is Items where you keep anything you have found.
The bottom screen is the options where if you select 'game' you have the option to load or save a game. You can also exit to the title screen.
Then from the title screen you use the same option to exit back to TODAY.
I have also found that if i press one of the phone buttons - it exits imediately without the need for a soft or hard reset and when you restart the game providing you have not hard or soft reset, you are exactly where you left the game.
Hope this all makes sense and is of help to you. If this does not work for you it may be the OS you are running or some software that is providing a conflict. This all worked on original OS and SE1.2 but I have not upgraded to WM2003 yet. If you have any other software that has the rec/volume button mapped - this may be the conflict to prevent you getting to the menus.
Good luck and Good Raiding.
Jayman.
(PS - I never enjoyed single player games on console or PC - always prefered to beat someone in the room - but it is great on a mobile platform when caught out with time to kill - yet would not carry a handheld - so this game is a godsend hence earlier post - MORE PLEASE)
Thanks Jayman.
The copy I am testing is probably a demo :wink:
guys a bit tarded :|
D pad -directs Lara
calender - gets out current weapon.
contacts - fires or actions.
record/volume button - accesses menu.
no way u can remap the volume button on a XDA!!!!! simple
gazzaman2k said:
guys a bit tarded :|
no way u can remap the volume button on a XDA!!!!! simple
Click to expand...
Click to collapse
Not quite accurate.
I haven't tried the Volume button on Tomb Raider specifically, but there are plenty of games that allows you to use the volume button.
Between the ones I can remember are:
Motocross Stunt Racing, Morphgear emulator, Darxide EMP, etc.
i got the full version of tombraider and i could never get the medipk and options up to exit i had to soft reset :\ even when i remaped buttons it dont work for volume :|
Well pressing volume or any of the phone buttons does nothing.
Jayman, are you using an XDA, the phone buttons on mine do zilch, I cannot quit or get a menu once I have started a game.
Yeah I am using the XDA.
I did nothing special when I loaded it on so I can not see how yours would be different - unless you have mapped the buttons in another application that could be affecting it?
Try reinstalling and make sure all apps are closed right down before booting. Also - shouldn't make a difference - but i usually turn the phone off before playing games.
Jayman.
I have spent ages with this, without success, there is no menu at the foot of the screen, just have left/right arrows bottom right, and the movement icons, the volume key does nothing, neither of the phone keys red/green does anything.
i told you it didnt work but no one listened :| only way to exit is soft reset
gaz
i wonder why... i have an emulator, that emulates an old computer of mine, (colecovision ADAM), and IT allows me to map all 5 buttons to play the ADAM roms. hmmm
im sure its just a programing glitch.
i installed the game, great graphics.. but its too sufisticated for me
i like arcade cames, like TURJAH II, SIBERIAN STRIKE X and such.

[MOD] Keyboard Layout Tweak

This is my first real bit of development work. I just wanted to post a mod I put together, and how to install it. It's simple enough that someone else may have done it before me.
PROBLEM
Do you like ALT more than SEARCH? Do you often press SEARCH-TAB when what you really wanted was ALT-TAB? Do you realize that ICS has a perfect little Alt-Tab interface? Well! I have a perfect mod for you!
WHAT YOU NEED
TF201 (TF101 version coming soon!)
Keyboard Dock
Root (Does *not* require unlocking)
File replacement tool: Terminal Emulator, a Root File Manager of your choice, or ADB
STEP 1
(Root your TF201 if you haven't already.) Download my modded asusdec.kl below. You'll need to extract it. For the purposes of commands I use below, put the extracted asusdec.kl in:
/sdcard/download
STEP 2
navigate to: /system/usr/keylayout
STEP 3
Back up your asusdec.kl. I've provided a backup of mine, from .21, which should work in the event of a problem.
STEP 4
Replace your asusdec.kl with my modded one. You can do that any way you like, but I prefer doing it in a Terminal session. You may need to remount /system as RW. Terminal Commands are:
Code:
mount -o remount,rw /dev/block/mmcblk0p1 /system
Code:
mv -f /sdcard/download/asusdec.kl /system/usr/keylayout/asusdec.kl
STEP 5
Reboot! After that, you're all done.
RESULTS
If the mod has been performed correctly, your Search key will now perform ALT_LEFT instead, which allows you to use ALT commands where they would apply (Alt-Tab being the biggest one). To make up for this, your ALT_RIGHT key has been remapped to SEARCH. You've lost no functionality
FILES MODDED
/system/usr/keylayout/asusdec.kl
DOWNLOAD
ORIGINAL
MODDED
Awesome! Thanks!
Added to the ROM/Kernel and Tweak Directory.
Nice work
pbrauer said:
Added to the ROM/Kernel and Tweak Directory.
Nice work
Click to expand...
Click to collapse
Thanks! I'm looking forward to doing more in the future. I have all the files I need to do the same mod for TF101, but I don't have a rooted TF101 to test it on. I don't like posting unverified files, but if i can find a tester, I can wrap up that version ASAP.
I also intend to do a couple of mods for specific bluetooth keyboards.
This looks cool! Is there any way to physically swap the buttons too?
Sent from my Transformer Prime TF201 using XDA Premium HD app
Great, I was waiting for this since ages ...
Just one issu is that in France the keyboard layout is different and the right Alt is used for Alt Gr which allow to type some characters such as @, ^ [] #~ ...
It's a bit annoying not to be able to type these letters now ...
Anyway, great work
Moist said:
This looks cool! Is there any way to physically swap the buttons too?
Sent from my Transformer Prime TF201 using XDA Premium HD app
Click to expand...
Click to collapse
Yes you can! You have to do it manually though, there is no software that can do that
The way to do it, is to put your nail under the key on either top or bottom and just flip it out. After you've done that, you can just put it back by pressing it down untill you hear a nice 'click'.
I have done so myself and I must say I'm quite comfortable with the result
Btw, nice work Pandages!
I don't suppose the keyboard layout hack here could be adapted to add or change the shortcut keys? Like launching a different browser, or changing the lock key to do something else? My guess is that's baked into the Android OS, but had to ask.
Been searching for an app or hack to allow me to map my own keyboard shortcuts to whatever I want ( Ctrl + ` for terminal perhaps ) but haven't found anything that comes close.
Has anyone gotten this to work with Virtuous? I have the Modded file in there (checked file size) and it's not happening for me, even after a few reboots.
Moist said:
This looks cool! Is there any way to physically swap the buttons too?
Click to expand...
Click to collapse
Possibly! It looks like someone else already answered this one, above me.
polo2503 said:
Great, I was waiting for this since ages ...
Just one issue is that in France the keyboard layout is different and the right Alt is used for Alt Gr which allow to type some characters such as @, ^ [] #~ ...
It's a bit annoying not to be able to type these letters now ...
Anyway, great work
Click to expand...
Click to collapse
If you'd like to work with me, I could make a version that would do specifically what you need. I'm happy to help.
RubenRybnik said:
I don't suppose the keyboard layout hack here could be adapted to add or change the shortcut keys? Like launching a different browser, or changing the lock key to do something else? My guess is that's baked into the Android OS, but had to ask.
Been searching for an app or hack to allow me to map my own keyboard shortcuts to whatever I want ( Ctrl + ` for terminal perhaps ) but haven't found anything that comes close.
Click to expand...
Click to collapse
Actually yes. It would be super easy to make the Lock key do something else, but most of the types of keystrokes you're looking for are baked into the framework. Most of them can launch your default app for a given function, rather than the stock app, but some are stock-app-specific. I like the idea of Ctrl+` to get a terminal, but I think that's outside of the scope of what I can do with .kl hacks.
razgriz8426 said:
Has anyone gotten this to work with Virtuous? I have the Modded file in there (checked file size) and it's not happening for me, even after a few reboots.
Click to expand...
Click to collapse
I haven't used that ROM, as my TF201 remains locked. However, if you can provide me the *.kl files from the relevant directory, I can probably whip something up for you.
Very interesting ... looking at the layout file. You're right, would be easy to switch out what keys to what( Even the page up fn+arrow up combo ). I wonder where those key definitions like " MEDIA_PLAY_PAUSE" are actually defined? If it's just a constant to a function definition in some apk then maybe we could decompile it and change the const definition to make any keys "Special function" do something new. Hell, maybe the keyboard recognizes fn+t or any other key with fn as a new numeric key id, then we could add new ones off the function key. Going to delve into some of the system apks to see what I can ferret out.
Not too hopeful here, seems much to easy, but its a start.
RubenRybnik said:
Very interesting ... looking at the layout file. You're right, would be easy to switch out what keys to what( Even the page up fn+arrow up combo ). I wonder where those key definitions like " MEDIA_PLAY_PAUSE" are actually defined? If it's just a constant to a function definition in some apk then maybe we could decompile it and change the const definition to make any keys "Special function" do something new. Hell, maybe the keyboard recognizes fn+t or any other key with fn as a new numeric key id, then we could add new ones off the function key. Going to delve into some of the system apks to see what I can ferret out.
Not too hopeful here, seems much to easy, but its a start.
Click to expand...
Click to collapse
The special buttons are defined in /system/app/Keyboard.apk
There was a mod created which changed the browser button to use your default rather than be hard-coded to the stock Brower app
Original thread is here: http://forum.xda-developers.com/showthread.php?t=1497624
Sent from my Transformer Prime TF201 using Tapatalk 2
Pandages said:
Do you like ALT more than SEARCH? Do you often press SEARCH-TAB when what you really wanted was ALT-TAB? Do you realize that ICS has a perfect little Alt-Tab interface? Well! I have a perfect mod for you!
Click to expand...
Click to collapse
Yes but I also like ESC more than the Back Button. Mind cooking up another one with ESC modded in? I dont know if esc is hard coded to cause back in android.
Im always hitting back on accident when using splashtop, It registers the left alt now tho!
Is there any way to type unicode with alt codes? I'm really sick of not being able to triforce while on my tab.
Sent from my tf9001 with XDA XD.
Before jumping to downgrade and root my .21, is it possible to push such files through ADB (without root)? That would be awesome =)
Does this still work on .28 update?
Or does it need to be updated?
Crap. I should of just done the mod without trying to switch the keys.
I think I pried the alt key off to hard and now it won't sit back flush on the key again.
Wonder if I can RMA the keyboard for a faulty key =\
The mod will persist through the upgrade from .21 to .28, no real possibility of problems. Still works great for me.
As for making a version with ESC instead of Back, yeah, that could probably be done pretty quickly. Only thing is, how are various applications going to interpret ESC? Most android keyboards don't provide ESC, so many apps just interpret Back as ESC (terminal emulators, etc.)
clockwork58 said:
Crap. I should of just done the mod without trying to switch the keys.
I think I pried the alt key off to hard and now it won't sit back flush on the key again.
Wonder if I can RMA the keyboard for a faulty key =\
Click to expand...
Click to collapse
happened to me too. check the pins underneath the keyboard to make sure they're all open and you can put the "stick" part of the keyboard back into that part of the key.
---------- Post added at 10:38 AM ---------- Previous post was at 10:37 AM ----------
Pandages said:
The mod will persist through the upgrade from .21 to .28, no real possibility of problems. Still works great for me.
As for making a version with ESC instead of Back, yeah, that could probably be done pretty quickly. Only thing is, how are various applications going to interpret ESC? Most android keyboards don't provide ESC, so many apps just interpret Back as ESC (terminal emulators, etc.)
Click to expand...
Click to collapse
any ideas on how to make the sleep button a true delete button, not just an extra backspace button?
nhshah7 said:
happened to me too. check the pins underneath the keyboard to make sure they're all open and you can put the "stick" part of the keyboard back into that part of the key.
thanks. when i took out the alt key i took the white part with it. And only took off the cap part from the search key. once i seperated it and put the white part back on, the top of the key went on smoothly. Now to actually DO the mod.
Click to expand...
Click to collapse

[Q] disable hardware navigation buttons and enable onscreen

I really don't like the hardware buttons...the home key is too slim and I always press the menu key when playing with the device in landscape, while I really appreciated the on screen navigation bar of the galaxy nexus. It's simply always there, it's a lot faster to access the app switcher and it's really better in everything (in my opinion of course).
If it isn't yet possible I'll stick with my nexus till this feature will be available because I really can't stand with those poor designed hardware keys.
Thank you very much
Marco
Wait for cm9/aokp
Sent from my GT-I9300 using xda premium
I second that... on screen keys are the way forward... saves accidental presses too.
Sent from my Galaxy Nexus using Tapatalk 2
Waiting for someone to bring out the on screen buttons on Samsung rom as well.the problem with aokp rom is that some Samsung functions are lost. I tried to enable it in Samsung rom by it freezes the phone. I can see that the Samsung onsxreen button has slightly different icon that standard ics. Hopefully someone can figure put how to do it on stock rom soon
en0203 said:
Waiting for someone to bring out the on screen buttons on Samsung rom as well.the problem with aokp rom is that some Samsung functions are lost. I tried to enable it in Samsung rom by it freezes the phone. I can see that the Samsung onsxreen button has slightly different icon that standard ics. Hopefully someone can figure put how to do it on stock rom soon
Click to expand...
Click to collapse
You and me both... The on screen keys is the reason I'm still using my gnex as opposed to my gs3.
Sent from my Galaxy Nexus using Tapatalk 2
why dont you try the app Button Saviour bro? Had my friend try it on his S3 and it works perfectly.
raymondswong said:
why dont you try the app Button Saviour bro? Had my friend try it on his S3 and it works perfectly.
Click to expand...
Click to collapse
It's not quite the same and looks no where near as nice.... Plus I would also want to disable the capacitive buttons.
I too want to disable the home button and cap buttons and use on screen nav when I get my phone. Is it possible on a samsung based rom? I know you can enable on screen nav pretty easily and on the GS2 there was a way to disable the buttons and lights but on the Gs2 I thought it cost too much screen real estate. with a 4.8 inch screen I wouldnt mind giving up a little bit of it for on screen nav
graffixnyc said:
I too want to disable the home button and cap buttons and use on screen nav when I get my phone. Is it possible on a samsung based rom? I know you can enable on screen nav pretty easily and on the GS2 there was a way to disable the buttons and lights but on the Gs2 I thought it cost too much screen real estate. with a 4.8 inch screen I wouldnt mind giving up a little bit of it for on screen nav
Click to expand...
Click to collapse
I don't mind the home button still working as I don't think I would make any accidental presses, the capacitive buttons on the other hand need to be disabled.
Lets get a dev to make it happen... I don't mind donating to the cause either.
ronak47 said:
I don't mind the home button still working as I don't think I would make any accidental presses, the capacitive buttons on the other hand need to be disabled.
Lets get a dev to make it happen... I don't mind donating to the cause either.
Click to expand...
Click to collapse
Well when I get the device in a few weeks I will attempt it if its not done by then
Sent from my SGH-I777 using Tapatalk
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
thanks
hocgwai said:
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
Click to expand...
Click to collapse
Wow, that's the right link. I was able to disable softkeys and I already tried messing with bools.xml but my new framework-res crashed everything. I gave a look to the link you posted and it seems to be great! Tomorrow if I find some spare time I'll try.
Thank you very much!
hocgwai said:
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
Click to expand...
Click to collapse
Thank you so much. Those hardware buttons were driving me insane. Happy to have them disabled now. Thanks, gratefully given!
may i get a little help?
Somehow i cant change the permission of melfas_touchkey.kl
if i try Anttek explorer says the partition is read only... (i have root privileges) however i created the file with.. strange..
What i did wrong?

On installation: Is there an alternative way to click Next?

Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
whitespiral said:
Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
Click to expand...
Click to collapse
If you feel like messing around, you could try to use ADB on TWRP to pull your /data/data/com.android.providers.settings/databases/settings.db, edit it with SQL, find the value that means rotation and set it to whatever value seems correct (I can't use touch events. ****ty Touchscreen Firmware Flasher app crashed on me and left me with no driver). Sorry if this is very sketchy, but it's all I know off the top of my head. You could also try out other ROMs (I know some do rotate the setup screen) or use MIUI. Cool, but not very useful. I wish someone with the correct knowledge could make a port and us, the ones who only know the hands-on stuff, could beta-test these things... Very nifty.

MOD - [ROOT REQUIRED] use volume keys to move cursor in txt field

@dwitherell made an awesome mod that I have used in other ROMs and have not seen for the V20. So, I asked him if he could make it for the V20. All credit goes to him.
The mod lets you use your volume keys to move the cursor back and forth while you are in a txt field. It is very helpful when you type a long txt, for instance, and you realize you need to edit it. It's much easier to use the volume keys than to try to get the cursor where you need it with your finger. The mod involves some changes to the framework.jar file in /system/framework/. To make it work, you just need to replace the current framework.jar file with the one you DL from the following link and reboot. The first reboot takes a long time. It will go to the "Android is starting" screen and take a while to complete. Be patient. It is a good idea to keep a backup of the original framework.jar file.
I have only tested this on the WETA ROM for TMO. However, it should work on any TMO ROM where the framework.jar has not already been modified. I confirmed with @NotATreoFan that his ROM has an unmodifed framework.jar file. So, this should work on his ROM, at least on TMO.
I do not know if the mod will work on v20 ROMs for other carriers other than TMO. You could probably do a CRC compare of the stock TMO framework.jar and the one in your ROM to be sure. If the files are the same, the mod should work.
If it works on your non-TMO ROM, let me know.
https://drive.google.com/file/d/0Bz2LTeGg4ZTHeGpFY1BMZEVRNGM/view?usp=drivesdk
mcdavid said:
@dwitherell made an awesome mod that I have used in other ROMs and have not seen for the V20. So, I asked him if he could make it for the V20. All credit goes to him.
The mod lets you use your volume keys to move the cursor back and forth while you are in a txt field. It is very helpful when you type a long txt, for instance, and you realize you need to edit it. It's much easier to use the volume keys than to try to get the cursor where you need it with your finger.
Click to expand...
Click to collapse
This kinda cool to know, quick Q... How do the volume buttons behave outside of a text...do they still control volume? Does the mod work in web based message boards like here?
2muchspl said:
This kinda cool to know, quick Q... How do the volume buttons behave outside of a text...do they still control volume? Does the mod work in web based message boards like here?
Click to expand...
Click to collapse
I had the same question before I first used it. When not in a txt field,. which is most of the time, volume controls work totally normally. It should work any time you are able to type. It just works. Note that you will need to re-replace the framework.jar file every time you flash your rom (unless the dev decides to bake in the modified jar file).
mcdavid said:
I had the same question before I first used it. When not in a txt field,. which is most of the time, volume controls work totally normally. It should work any time you are able to type. It just works. Note that you will need to re-replace the framework.jar file every time you flash your rom (unless the dev decides to bake in the modified jar file).
Click to expand...
Click to collapse
Definitely gone give this a spin
I appreciate the mod from Dwitherell so I'm definitely not trying to downplay it or anything, but just thought I'd mention this for anyone who uses SwiftKey and doesn't know about it already (or anyone else who might want to try it)..
SwiftKey keyboard has an option in it's settings called "arrow keys" (which is not enabled by default) that adds a row of up, down, left, and right arrow keys across the bottom of the keyboard, which allow you to navigate the cursor throughout your text.
I know everyone has their own preferences so to each their own of course but imho it basically eliminates the problem this mod was made for, and for me at least whenever I try different keyboards always wind up switching back to SwiftKey because I'm so use to having the arrows. Anyway hope it helps
Sent from a ridiculously modified ColecoVision
jeep447 said:
SwiftKey keyboard has an option in it's settings called "arrow keys" (which is not enabled by default) that adds a row of up, down, left, and right arrow keys across the bottom of the keyboard, which allow you to navigate the cursor throughout your text.
Click to expand...
Click to collapse
Google Board (G-Board) allows you to use wipe gestures on the space bar to move around quite a bit, quite fast. Just throwing that out there too.
jeep447 said:
I appreciate the mod from Dwitherell so I'm definitely not trying to downplay it or anything, but just thought I'd mention this for anyone who uses SwiftKey and doesn't know about it already (or anyone else who might want to try it)..
SwiftKey keyboard has an option in it's settings called "arrow keys" (which is not enabled by default) that adds a row of up, down, left, and right arrow keys across the bottom of the keyboard, which allow you to navigate the cursor throughout your text.
I know everyone has their own preferences so to each their own of course but imho it basically eliminates the problem this mod was made for, and for me at least whenever I try different keyboards always wind up switching back to SwiftKey because I'm so use to having the arrows. Anyway hope it helps
Sent from a ridiculously modified ColecoVision
Click to expand...
Click to collapse
Yes. I have used the arrows on swiftkey before. I like the volume keys better because you can use your left hand to quickly move back and forth, while you can swype type with your right, without having to peck around with a finger on the arrow keys. Install the mod and see what I mean.
Vuciz said:
Google Board (G-Board) allows you to use wipe gestures on the space bar to move around quite a bit, quite fast. Just throwing that out there too.
Click to expand...
Click to collapse
Yes and the stock LG keyboard lets you swipe in the space bar to move the cursor. For me, it is more precise to move one space at a time with each click of the volume key. Try it an you'll see.
mcdavid said:
Yes and the stock LG keyboard lets you swipe in the space bar to move the cursor. For me, it is more precise to move one space at a time with each click of the volume key. Try it an you'll see.
Click to expand...
Click to collapse
I've used that mod before. I agree it's useful. However I prefer on screen controls.
My new app Cursor Control lets you use the volume keys to easily move the cursor in text fields and works without Root.

Categories

Resources