how do i open up keyboard on TERMINAL on mytouch?
Just hold down the menu button and it will pop up for you.
Related
Things you need:
Windows computer
Android SDK (on the root of your C:\ drive)
A phone running Android (duh)
Your SDcard inseterd into the phone
USB charge/data cable that came with the phone
A few mins of your time
The purpose of this is to show you how to create a text file listing the applications in the '/system/app' directory. This is where the apk and obex(program) files are located. There are so many in there it's nice to have a list so you can pick and choose which ones you want to remove OR move to your SDcard incase you want them later.
When I downloaded the SDK from Androids site I just extracted it and renamed it sdk and placed it in the root of my C: drive. Open a CMD window or terminal and change to 'c:\sdk\tools' directory.
With the phone powered off plug it into the computer with the USB cable. Hold the POWER button + VOL DOWN while the phone turns on. Choose RECOVERY, when it appears, with the VOL DOWN key and tap POWER. Again with VOL DOWN choose 'partition menu' and press in the OPTICAL MOUSE button. Using the VOL DOWN key you want to highlight '-mount /system' and
'-mount /sdcard' using the OPTICAL MOUSE button to choose each one so they should change to '-unmount /system' and '-unmount /sdcard'.
At this point focus your attention back to the terminal or command window that should be sitting at the 'c:\sdk\tools' prompt. Type in 'adb shell' and press enter. Leave off the ' in the command. Once it connects to your phone change directory to the '/system/app' folder by typing this out...
#cd /system/app/ <hit enter>
Now type
#ls > /sdcard/applist.log
That's it! You should now have a log file on your sdcard. It's so much easier than reading the screen and making a quick decision to remove something that might be bugging you now when you MIGHT need it later. Hope this helped someone!
Once the command is finished (it only takes a second or two) unmount the SDcard and /system folder and reboot your phone.
Snickasaurus said:
Things you need:
Windows computer
Android SDK (on the root of your C:\ drive)
A phone running Android (duh)
Your SDcard inseterd into the phone
USB charge/data cable that came with the phone
A few mins of your time
The purpose of this is to show you how to create a text file listing the applications in the '/system/app' directory. This is where the apk and obex(program) files are located. There are so many in there it's nice to have a list so you can pick and choose which ones you want to remove OR move to your SDcard incase you want them later.
When I downloaded the SDK from Androids site I just extracted it and renamed it sdk and placed it in the root of my C: drive. Open a CMD window or terminal and change to 'c:\sdk\tools' directory.
With the phone powered off plug it into the computer with the USB cable. Hold the POWER button + VOL DOWN while the phone turns on. Choose RECOVERY, when it appears, with the VOL DOWN key and tap POWER. Again with VOL DOWN choose 'partition menu' and press in the OPTICAL MOUSE button. Using the VOL DOWN key you want to highlight '-mount /system' and
'-mount /sdcard' using the OPTICAL MOUSE button to choose each one so they should change to '-unmount /system' and '-unmount /sdcard'.
At this point focus your attention back to the terminal or command window that should be sitting at the 'c:\sdk\tools' prompt. Type in 'adb shell' and press enter. Leave off the ' in the command. Once it connects to your phone change directory to the '/system/app' folder by typing this out...
#cd /system/app/
Now type
#ls > /sdcard/applist.log
That's it! You should now have a log file on your sdcard. It's so much easier than reading the screen and making a quick decision to remove something that might be bugging you now when you MIGHT need it later. Hope this helped someone!
Once the command is finished (it only takes a second or two) unmount the SDcard and /system folder and reboot your phone.
Click to expand...
Click to collapse
Very usefulfor people who like the "de-sensed" route.
Sent from my ADR6300 using XDA App
Thank you. I thought it would be useful to some. After seeing 80+ have viewed this threat I feel it may have been a waste of time but perhaps someone will learn something from it.
Before the 1.2 update in rooted 1.1 pressing n-button twice would always bring up softkeys, so I didn't have to have that annoying button on the screen. With 1.2 rooted with MN 4.5.6 pressing n-button twice bings up softkeys only in apps that aren't full screen. Full screen apps don't seem to respond to that and simply exit (or whatever their handler for "home" does) on the first n-key press. The only way around that that I found is to have that annoying button up on the screen which seems to work.
Did anyone else encounter this? Is there any kind of a workaround? It is quite annoying to have that button up there when watching videos, etc.
Thanks
My understanding is that B&N changed the home button so it's just a 'back' action now. That being the case, I don't know why you would need softkeys anymore. You can always swipe right to left on the status bar to go back as well.
doncaruana said:
My understanding is that B&N changed the home button so it's just a 'back' action now. That being the case, I don't know why you would need softkeys anymore. You can always swipe right to left on the status bar to go back as well.
Click to expand...
Click to collapse
There is no status bar in a full screen app, and I typically want to hit menu or back.
Reprogramming the Vol+/- keys
mkhuh said:
There is no status bar in a full screen app, and I typically want to hit menu or back.
Click to expand...
Click to collapse
There is an easy mod to edit a couple keylayout files to replace the vol +/- button functions with "back" and "menu" functions. Further, if you can boot a rooted SDcard containing ADB support (or have Connectbot installed), you can do the mod without even rooting.
I have gotten so used to this mod that it's hard to imagine being without it:
For replacing vol+/- with "back"/"menu" (v1.2) on a rooted NC w/ ADB access:
1. cd /system/usr/keylayout
2. mv qwerty.kl qwerty.kl.org
3. mv twl4030-keypad.kl twl4030-keypad.kl.org
4. exit
5. adb pull /system/usr/keylayout/qwerty.kl.org c:\qwerty.kl
6. adb pull /system/usr/keylayout/twl4030-keypad.kl.org c:\twl4030-keypad.kl
On your PC, edit the two ASCII files just "pulled" to replace functions for keys 114 and 115 with "BACK" and "MENU".
1. adb push c:\qwerty.kl /system/usr/keylayout/qwerty.kl
2. adb push c:\twl4030-keypad.kl /system/usr/keylayout/twl4030-keypad.kl
3. adb shell
4. chmod 644 /system/usr/keylayout/*.kl
5. exit
DeanGibson said:
There is an easy mod to edit a couple keylayout files to replace the vol +/- button functions with "back" and "menu" functions. Further, if you can boot a rooted SDcard containing ADB support (or have Connectbot installed), you can do the mod without even rooting.
I have gotten so used to this mod that it's hard to imagine being without it:
For replacing vol+/- with "back"/"menu" (v1.2) on a rooted NC w/ ADB access:
1. cd /system/usr/keylayout
2. mv qwerty.kl qwerty.kl.org
3. mv twl4030-keypad.kl twl4030-keypad.kl.org
4. exit
5. adb pull /system/usr/keylayout/qwerty.kl.org c:\qwerty.kl
6. adb pull /system/usr/keylayout/twl4030-keypad.kl.org c:\twl4030-keypad.kl
On your PC, edit the two ASCII files just "pulled" to replace functions for keys 114 and 115 with "BACK" and "MENU".
1. adb push c:\qwerty.kl /system/usr/keylayout/qwerty.kl
2. adb push c:\twl4030-keypad.kl /system/usr/keylayout/twl4030-keypad.kl
3. adb shell
4. chmod 644 /system/usr/keylayout/*.kl
5. exit
Click to expand...
Click to collapse
Thanks. I realize I can remap the volume buttons, but I just really liked how you could simply double click the n-button before. I guess something about 1.2 update or the MN changed that behavior from before and I guess there is no known way to get that back. Thanks again for your help.
Here is a little guide on how to disable the screen from turning on in your pocket by accidentally clicking the home key. Which can set off unwanted calls/txts/homescreen changes/etc.
Perhaps there is an easier way, but this works for me, and sharing is caring
There I obtain a copy of Root Explorer, its easy for me to do. For those of you who are too cheap, scroll a bit further down this post, both methods require, obviously, root access:
I have no idea if there are free programs with the same usabilities as root explorer
Method with Root Explorer (or similar?)
Open Root Explorer
Go to /system/usr/keylayout
Click on the button ‘Mount R/W’ (upper right)
Locate, press and hold es209ra_keypad.kl file
Select ‘open in text editor’
Find this line:
key 102 HOME WAKE_DROPPED
Remove the WAKE_DROPPED, so that the end result is:
key 102 HOME
Save the file
Reboot
Done
Method without Root Explorer
You need a little understanding of adb.exe
Typ in cmd.exe:
adb pull C:\es209ra_keypad.kl /system/usr/keylayout/
Go to C:\ and open es209ra_keypad.kl in wordpad
Change:
key 102 HOME WAKE_DROPPED
to:
key 102 HOME
Save the file
Typ in cmd.exe:
adb shell
#su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock2 /system
(ONLY if you got an error, while trying to remount)
[*]Typ in adb shell:
[*]#cat /proc/mounts
[*]and search for 'system' in the mount list to check correct path for ‘/dev/block/mtdblock2 /system’. If it differs, alter the above line.
Typ in adb shell:
#exit
adb push C:\es209ra_keypad.kl /system/usr/keylayout/
Reboot your phone
This should work... if it doesn't, just leave a comment, and I'll probably try to help you.. that is, if I'm in a good mood..
I attached my es209ra_keypad.kl, just for reference purposes I guess, or for people who are too shy to pull stuff from their phone.
thanks for this!! i have been after a few key tweaks for a while!! don't suppose you have any idea how to make the back key "kill" foreground app!!
2.1 optimised 2.1.67
good idea
thanks for sharing this
[Q] Disable wakeup using home button? [SOLVED]
Use Search next time
prewed said:
[Q] Disable wakeup using home button? [SOLVED]
Use Search next time
Click to expand...
Click to collapse
Aren't you just mister friendly? Thank god we got guys like you on this forum, otherwise this place would be fun.
I did use search, so unfortunately for you. I could not find a correct guide explaining step by step how to do it WITHOUT root explorer
xx
[email protected] said:
thanks for this!! i have been after a few key tweaks for a while!! don't suppose you have any idea how to make the back key "kill" foreground app!!
2.1 optimised 2.1.67
Click to expand...
Click to collapse
no problem, ill try to find out if it is possible in 2.1, i think its in the framework though. It's already embedded in 2.2 and 2.3 (long press back), so you can try a custom ROM ?
Hello,
Can I disable the home button for activity so it doesn't wake up the phone?
Just the power button hqs to wake up the phone.
Any ideas?
thx a lot!!!
--- Send from my phone ---
GRTZ FROM BELGIUM! Danny Schaukens Service.
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "key 172 HOME WAKE"
6) Back out, Save, Reboot
vpwrf said:
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "key 172 HOME WAKE"
6) Back out, Save, Reboot
Click to expand...
Click to collapse
TOP!!! :good::good:
THX FOR THE INFO!
Grtz!
I'm trying to control my Nexus 4 using adb commands from computer, but when I type in adb shell and then su on command prompt I can't click "yes" on the dialog box to enable superuser permissions. How can I do this?
For anyone having the same problem, I found a solution. You'll need USB Debugging for most of this.
-Download a program called MyMobiler to your PC
-Connect your phone via usb and use MyMobiler on the pc toolbar to install the app on the phone
-You'll need to grant superuser permissions if your phone is rooted, so in order to do that you'll need to use adb commands from the Android SDK. Open up a command prompt in the platform-tools folder once you've downloaded SDK
-To get past the lock screen use commands from this link. For me (I don't have a pin or anything, I just needed to get out of the lock screen), I typed "adb shell input keyevent 22" to swipe right to the camera app and then "adb shell input keyevent 3" to hit the home button, which got me to my home screen. If you have a pin, you can type in "adb shell input text 1234" and replace 1234 with whatever your pin is
-Now you can control your screen using the commands on the link above (mainly numbers 19-23)
-If all is running correctly (and you have granted superuser permissions to let MyMobiler run on your phone), you can use the arrow keys to navigate throughout the phone
-If you have any problems, you should follow the MyMobiler start guide
I also followed this guide for help. He uses the app androidscreencast, but that didn't work for me, so I went with MyMobiler.