[MOD] Keyboard Layout Tweak - Asus Eee Pad Transformer Prime

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

Related

Button Swapping

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?

Disabling capacitive buttons in HC (Keyboard working NOW) 7/29/11

Ok guys i'm posting this in a new thread (didn't see another in search sorry if i noobed up and missed it) Me and others have been enjoying HC to it's fullest thanks to the awesome work being done by the DEV teams. But I feel it's time to cut ties with those dreaded capacitive buttons that always get in MY way because they are no longer needed in HC.As we all know button Remapper does not work on HC.
Anyways too the good stuff...after digging around a bit i found this file here:
/system/usr/keylayout/Generic.kl
This file controls the button mapping, all you have to do is edit the top 4 lines and restart Or i'll include the modified file so you can just push it using Root Explorer.
As of now i will no longer be continuing this, as i'm going to be leaveing XDA for some personal reasons ty all for your replies and i will be leaving this download up.
Edited Download....just rename without the .zip ok guys
So far i've tested this on Flashback 5.5 but please leave feedback if it works on Gtabcomb and 1.1 or 1.2 Boot loaders please.
OK as the title now says KEYBOARD working... it turned out to be an easy fix..
Just change the top lines to (FOCUS). Thank You to the person who shot me the PM to try it out (abentley).
Also as a side note it turnes out that you can use a usb 4in1 to hook up a mouse+keyboard+usb if you guys want...
If you guys like the work i (TRY) to do then hit me a Thanks...my meter is falling to the dark side!!!
gtabcom 1.2 beta 3.2
Working, thanks a lot, I was wondering if possible, hate when accidentally touch any of those cap. Keys.
Thanks for the reply...and also including the Rom your on.
You can put it on xda. just add .zip to the filename. please do that. thanks
Ok OP has been updated Enjoy guys...just remove the .zip
I'm not a coder (at all), but is there a way to turn this into an app so we can easily toggle the buttons on/off? That would be awesome!
My fat fingers thank you
I'd like an auto hide bar "windows" style, maybe unhiding with home or something I don't like to loose screen, 600pix are few enought.
nvanlaar said:
I'm not a coder (at all), but is there a way to turn this into an app so we can easily toggle the buttons on/off? That would be awesome!
My fat fingers thank you
Click to expand...
Click to collapse
+1
this is a great idea...
well i'm not a coder but yes i agree that this app should be made. <<just a tinkerer.
... my mistake
Worked great in Flashback 6, although I find myself trying to use the hardware buttons from time to time
Do the capacitive buttons still work in recovery? Because I know they're required for CWM and I wouldn't want to do this if it meant giving up CWM for the lame old stock recovery.
raphenucleus said:
Do the capacitive buttons still work in recovery? Because I know they're required for CWM and I wouldn't want to do this if it meant giving up CWM for the lame old stock recovery.
Click to expand...
Click to collapse
forgot about that! good catch...
Yes the Buttons DO work in Recovery!......but as of now still no keyboards
also if you guys like anything i do please hit the Thanks button....my meter is falling to the dark side!!
Calvinx1 said:
I'd like an auto hide bar "windows" style, maybe unhiding with home or something I don't like to loose screen, 600pix are few enought.
Click to expand...
Click to collapse
To save your pixels and remove honeycomb-statusbar, you can do a force stop of "System UI" from the settings menu, and "system-ui" will automatically restart the status-bar wont reappear (because of an existing bug).
Goto Settings->Applications->ManageApplications->All
Select "System UI"
Force Stop.
-morchu
anyone verify if this works on gtabcomb yet?
Edit: got root explorer and did it, works great. no more pesky buttons being pushed by accident in the dark, thanks!
Yes so far working on every HC Rom..
Thanks for this info, its really useful.
But I am confused by the following sentence regarding keyboard.
kicker22004 said:
OK as the title now says KEYBOARD working... it turned out to be an easy fix..
Just change the top lines to (FOCUS) TY botton remepper and also the person who shot me the PM to try it out (abentley).
Click to expand...
Click to collapse
How should I edit that file for keyboard to work? Should I replace word "FOCUS" with "TY botton remepper"? Or should it be "BUTTON_REMAPPER"? I am really not sure whether you mistyped it or what ;-)
Can anyone put this into a flashable zip? I'm not quite sure how to go about edit the file myself.
Thanks.
lol sorry, ya it's worded wierd all you have to do is replace the file with the one i posted...going to be making a flashable one soon so give me a few guys new link will go up.

[Q]How to remap a BT keyboard's keys or how to find out it's V_ID and P_ID

I reecntly bought a Rapoo BT keyb (E6300), it is optimized for the Apple products therefore some keys do not behave as i wish with my Nexus S.
I'd like to find out how (as per title) remap the keys or at least find out Vendor and Product ID... anyone can help?
[solution on the way ]
so, using this command from the terminal: cat /proc/bus/input/devices
i discovered that my KB has Vendor=099a Product=0500.
now i'm gonna build a custom Keyboard layout, should i create a keyCharacterMap as well?
[solution still not reached...]
well, after some more digging, i think i won't need to make a KCM. Still i can't find a way to let my Keyb to use my keyboardlayout. According to catlog it still uses the generic.kl even if in the right directory a file with the keyb name exists...
really need some help here...
well now, renaming my keyboardlayout correctly (as the name of the device appearing on catlog), i finally made it use my layout... still the changes do not apply. I changed the escape key (scancode 1) from: MOVE_HOME to BACK. resulting in a key that does nothing but waking up the device when locked.
I hope this post is helping someone....
Aaaaaaaand custom layout is working. i managed to change the escape key to work as the back button , in the next few days i'm gonna total customize my Keyblayout.
Looks like a KCM was needed after all. atm i'm doing fine with a copy of the qwerty basic layout renamed as the KL.
i did not catch many readers, that's a shame, nonetheless i hope i'll help somebody with my post. i will update if any surprise comes out.
Tanks for reading.
kbkang said:
well now, renaming my keyboardlayout correctly (as the name of the device appearing on catlog), i finally made it use my layout... still the changes do not apply. I changed the escape key (scancode 1) from: MOVE_HOME to BACK. resulting in a key that does nothing but waking up the device when locked.
I hope this post is helping someone....
Aaaaaaaand custom layout is working. i managed to change the escape key to work as the back button , in the next few days i'm gonna total customize my Keyblayout.
Looks like a KCM was needed after all. atm i'm doing fine with a copy of the qwerty basic layout renamed as the KL.
i did not catch many readers, that's a shame, nonetheless i hope i'll help somebody with my post. i will update if any surprise comes out.
Tanks for reading.
Click to expand...
Click to collapse
I know, this is a verry old thread, but I just have this problem now with my Rapoo keyboard and my phone. Did you end up with a working solution? If yes, could you send me a cpy of the files?
Thanks a lot and see you

Remove Nav Bar Permanently

At Your Own Risk!!! I Am Not Responsible For Anything You Do To Your Device
So if you are like me you're tired of looking at the gaudy version of a nav bar and soft keys that amazon has come up with. So I started looking around for a way to modify the soft keys to look more like stock android. I may at some point dive into the framework and rewrite portions to do this, but in my search I came across an old method for removing the nav bar altogether. It is a very simple build.prop edit and at the same time adds some screen real-estate. I've confirmed this does work on this device, check out the screenshots below.
How to(rooted device):
1- You will first need a soft key/nav buttons app(once this is done the stock keys will be gone, and kinda hard to navigate without some). I like using Button Savior, it allows you to place the soft keys anywhere around the perimeter of the screen, and has multiple themes you can use. Also if you have the paid version you can change the number and position of buttons
2- Using a file manager navigate to /system/build.prop file
3- Open build.prop with a text editor, scroll to the end and on a new line enter:
Code:
qemu.hw.mainkeys=1
4- Save and reboot.
Now there are ways to do this with launchers but it will not be permanently removed and will still show up in apps.
To get stock keys back just delete the line you entered in the build.prop and reboot
Remove soft keys
onemeila said:
At Your Own Risk!!! I Am Not Responsible For Anything You Do To Your Device
So if you are like me you're tired of looking at the gaudy version of a nav bar and soft keys that amazon has come up with. So I started looking around for a way to modify the soft keys to look more like stock android. I may at some point dive into the framework and rewrite portions to do this, but in my search I came across an old method for removing the nav bar altogether. It is a very simple build.prop edit and at the same time adds some screen real-estate. I've confirmed this does work on this device, check out the screenshots below.
How to(rooted device):
1- You will first need a soft key/nav buttons app(once this is done the stock keys will be gone, and kinda hard to navigate without some). I like using Button Savior, it allows you to place the soft keys anywhere around the perimeter of the screen, and has multiple themes you can use. Also if you have the paid version you can change the number and position of buttons
2- Using a file manager navigate to /system/build.prop file
3- Open build.prop with a text editor, scroll to the end and on a new line enter:
Code:
qemu.hw.mainkeys=1
4- Save and reboot.
Now there are ways to do this with launchers but it will not be permanently removed and will still show up in apps.
To get stock keys back just delete the line you entered in the build.prop and reboot
Click to expand...
Click to collapse
Hello
Just wanted to say thanks for the above info. It all works great and the extra room on the screen is appreciated. By the way, I am using CM 10 rom on my RAZR M, and it works great there as well. Doesn't work perfectly on the stock RAZR M, although both soft keys and header info (3G/4G-signal strength, etc).are removed as well, but there is a System.UI closing warning. However, it does work on the stock if the added directions are removed from build.prop in text editor, but NO reboot. Otherwise the stock keys return.
Works on 7" KFHD, too. Just set up, very cool. Big thanks
Sent from my rooted Kindle Fire HD
onemeila said:
At Your Own Risk!!! I Am Not Responsible For Anything You Do To Your Device
So if you are like me you're tired of looking at the gaudy version of a nav bar and soft keys that amazon has come up with. So I started looking around for a way to modify the soft keys to look more like stock android. I may at some point dive into the framework and rewrite portions to do this, but in my search I came across an old method for removing the nav bar altogether. It is a very simple build.prop edit and at the same time adds some screen real-estate. I've confirmed this does work on this device, check out the screenshots below.
How to(rooted device):
1- You will first need a soft key/nav buttons app(once this is done the stock keys will be gone, and kinda hard to navigate without some). I like using Button Savior, it allows you to place the soft keys anywhere around the perimeter of the screen, and has multiple themes you can use. Also if you have the paid version you can change the number and position of buttons
2- Using a file manager navigate to /system/build.prop file
3- Open build.prop with a text editor, scroll to the end and on a new line enter:
Code:
qemu.hw.mainkeys=1
4- Save and reboot.
Now there are ways to do this with launchers but it will not be permanently removed and will still show up in apps.
To get stock keys back just delete the line you entered in the build.prop and reboot
Click to expand...
Click to collapse
Works fine on my recently re-rooted 7.2.2 - went ahead & sprung for the pro so I could remap the phone key to something useful ("calling home", going to the original home so I can read books. I sometimes forget that's what I originally bought it for).
Thanks.
Sadly, i must say that i detected an issue. Some apps that are coming with an own menu-button lost this button, e.g. Aldiko (app to read books) or google chrome. In chrome, the menu can be accessed with the menu-button that comes with button saviour, but the menu of Aldiko can't be accessed at all.
Sent from my rooted Kindle Fire HD
This will work for me until cm 10 comes out. Confirmed working on Kindle Fire HD 7". This also fixes the issue of the keyboard in landscape mode.
Wow, this is the greatest thing I have done to my kindle yet, make sure to install button savior first or else you are gonna be having a hard time fixing it. Couldnt access my root to change the build prop back to install button savior, luckily i was able to download the apk file on my computer and transfer it over and install it. Set it to appear when i swipe from the right corner...and goes away after 5 seconds..different themes... and alot of options when it comes to using custom triggers. Found a pro version on google, works flawless.
Thanks for the tip, but can I suggest the better looking ltm launcher.
Sent from my KFTT using Tapatalk 2
Nice tip, I used button saviour previously on my HTC Desire and found it to be a great piece of kit, but I've noticed that while using it on my Kindle, particularly in portrait mode, when the button saviour bar is closed there is a flicker lower down the screen which is very annoying. Its as though it repositions itself at the bottom of the screen before closing. I'm using the pro version as well, so it's not got anything to do with that.
For now I've gone back to the default nav bar - it is annoying that there is no autohide for that really as otherwise it does the job. There must be a way to autohide it as some apps do that.
I also had the no menu button problem. I had to go back to stock nav bar till that is figured out..oh well
Sent from my KFOT using Tapatalk HD
rockystar000 said:
I also had the no menu button problem. I had to go back to stock nav bar till that is figured out..oh well
Sent from my KFOT using Tapatalk HD
Click to expand...
Click to collapse
You can customize it in button savior to make a menu button there are a ton of extras in the settings
Sent from my KFTT using XDA Premium HD app
Yeah i know but with out stock nav bar the menu button doesn't do anything. For instance if i set it up with a menu button on button savior but no nav bar when an app should have a menu button it wouldn't be there any more. The button savior menu button also does nothing when u click it. If the stock nav bar is their however then the button savior menu button works again and it appears in the app again
Sent from my KFOT using Tapatalk HD
rockystar000 said:
Yeah i know but with out stock nav bar the menu button doesn't do anything. For instance if i set it up with a menu button on button savior but no nav bar when an app should have a menu button it wouldn't be there any more. The button savior menu button also does nothing when u click it. If the stock nav bar is their however then the button savior menu button works again and it appears in the app again
Sent from my KFOT using Tapatalk HD
Click to expand...
Click to collapse
I had noticed this, but not the part about the menu working with the bar there. perhaps we could mod the framework-res.apk to set the height to 0 or something then we would not need to do the qemu.hw.mainkeys=1..
About the file edit?
When I open the file and type the new line in.. It will not let me save it. Is it write protected or something? How do I get past this?
Thanks!
thanks alot for sharing.ill give it a try in my kindle fire hd 7" keep it up and GODBless!
cmullins135 said:
When I open the file and type the new line in.. It will not let me save it. Is it write protected or something? How do I get past this?
Click to expand...
Click to collapse
What file explorer are you using? Some of the text editors dont work on this device. I believe I ended up using root browser.
You're a life saver, man! Couldn't stand the huge bar Amazon thought looked good
Edit: Is there any way to make it so Button Savior automatically acquire super user privileges upon boot, without having to interact with it first?
An unimportant request, but would be pretty awesome
Sent from my KF-HD7
searched, but couldn't find it - but can anyone point me to a method for removing the amazon adds when in lockscreen mode? I can't stand it...! Lol... Thanks in advance!
cmullins135 said:
When I open the file and type the new line in.. It will not let me save it. Is it write protected or something? How do I get past this?
Click to expand...
Click to collapse
If you use root explorer, it works perfect - just mount as R/W,and it'll let you save.
cmullins135 said:
When I open the file and type the new line in.. It will not let me save it. Is it write protected or something? How do I get past this?
Click to expand...
Click to collapse
Make sure you mount the s system folder, and make sure whatever text editor you use has super user permissions or it won't save
Sent from my KF-HD7

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