Remap hardware keyboard? - Epic 4G Q&A, Help & Troubleshooting

Is there an app to allow me to Remap keys on the hardware keyboard?
I want to play zenonia with my game gripper.
Sent from my SPH-D700 using XDA App

You should be able to in the app but I'm not sure cuz I don't have it but other emulators have that option.

You can't in zenonia unfortunately.
Sent from my SPH-D700 using XDA App

You can remap keys by editing the file /system/usr/keylayout/s3c-keypad.kl with a standard text editor. Just make a backup of the file, edit, then reboot.
I mapped my emoticon key to a tab key so I could auto-complete commands while in a Bash shell.
Sent from my SPH-D700 using XDA App

Woah! I've been wanting a Tab key for a hella long time.
curvatura99 said:
You can remap keys by editing the file /system/usr/keylayout/s3c-keypad.kl with a standard text editor. Just make a backup of the file, edit, then reboot.
I mapped my emoticon key to a tab key so I could auto-complete commands while in a Bash shell.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App

I changed SMILY to TAB and I tried with Connectbot and it didnt auto-complete. It just put a literal tab space. Any thoughts? You use a different terminal app?
p3dr0maz said:
Woah! I've been wanting a Tab key for a hella long time.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App

It's pretty simple. Change key 42 in the file to look like this:
Key 42 TAB WAKE_DROPPED
Now you have a tab key. You can use the sed command if your version of busybox has it:
sed '/s/SMILY/TAB/g' /system/usr/keylayout/s3c-keypad.kl -i
Sent from my SPH-D700 using XDA App

Switch to an ash shell instead:
su -c ash
It's the shell that does auto-complete. If that doesn't work download terminal emulator from the market. It's free and works well.
Sent from my SPH-D700 using XDA App

I just tried su -c ash with Connectbot and it doesn't work properly so just use terminal emulator which IMHO is better for terminal commands and it has more options.
Sent from my SPH-D700 using XDA App

Will do. Thanks Terminal Emulator auto-complete worked like a charm.
curvatura99 said:
I just tried su -c ash with Connectbot and it doesn't work properly so just use terminal emulator which IMHO is better for terminal commands and it has more options.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App

Perfect! Thanks so much!
Sent from my SPH-D700 using XDA App

Related

Setting hostname at boot

Does any one have a way to set the hostname at boot? For example, if I do "getprop net.hostname" in terminal. It will say android-xxxxxxxxx.
I also tried putting "setprop net.hostname Galaxy-Nexus" in a init.d script, but it errors.
Sent from my Galaxy Nexus using XDA App
Put it in your build.prop
Sent from my Galaxy Nexus using xda premium

Cm7.2 stable mod adobe flash player blank screen..

When I was trying to play YouTube video using any browser,the video want show up.Just black screen with audio..anyone have this problem? Any idea how to solve it?
Sent from my HTC Vision using xda app-developers app
1) force stop the browser process 2) Remove all permissions for /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data
Sent from my HTC Vision using xda app-developers app
OriginalGabriel said:
1) force stop the browser process 2) Remove all permissions for /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
How to remove permission? Delete that conf file?
Sent from my HTC Vision using xda app-developers app
Nope ...
If you a good file explorer, longpress that file and there should be an option to change permissions of it, otherwise use a terminal emulater and run 'chmod 000' on it.
Sent from my HTC Vision using xda app-developers app
OriginalGabriel said:
Nope ...
If you a good file explorer, longpress that file and there should be an option to change permissions of it, otherwise use a terminal emulater and run 'chmod 000' on it.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Change all to rwx?
Sent from my HTC Vision using xda app-developers app
Any idea where can I get Chinese input for cyanogenmod 7.2 stable? I can't seem to find one working..
Sent from my HTC Vision using xda app-developers app
Steven How said:
Change all to rwx?
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
No, you're *removing* all permissions for that file.
Sent from my HTC Vision using xda app-developers app
OriginalGabriel said:
No, you're *removing* all permissions for that file.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Okay,thanks man! It work now
Sent from my HTC Vision using xda app-developers app
I got to the com.adobe.flashplayer folder but that folder was empty, so i couldnt proceed.. Any ideas??
Sent from my T-Mobile G2 using xda app-developers app
mapheG2 said:
I got to the com.adobe.flashplayer folder but that folder was empty, so i couldnt proceed.. Any ideas??
Sent from my T-Mobile G2 using xda app-developers app
Click to expand...
Click to collapse
It's at /data/data/find browser that u use to flash content
Sent from my HTC Vision using xda app-developers app
mapheG2 said:
I got to the com.adobe.flashplayer folder but that folder was empty, so i couldnt proceed.. Any ideas??
Sent from my T-Mobile G2 using xda app-developers app
Click to expand...
Click to collapse
Your file explorer is probably not set to display hidden files/folders
You can either fix that or just run the following in a terminal emulator
1. su
2.chmod 000 /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data
If it goes back to the normal prompt, you're all set; if it throws up an error, just double check you entered everything right.
Sent from my HTC Vision using xda app-developers app
Hi, I tried the command on the terminal and it returned me to the normal prompt after input without any error. However when I try to watch a video on dolphin browser hd, I still have the same audio and black screen with no video.
Sent from my T-Mobile G2 using xda app-developers app
mapheG2 said:
Hi, I tried the command on the terminal and it returned me to the normal prompt after input without any error. However when I try to watch a video on dolphin browser hd, I still have the same audio and black screen with no video.
Sent from my T-Mobile G2 using xda app-developers app
Click to expand...
Click to collapse
Oops, sorry ... you need to reboot afterwards for it to take effect.
Also, the Dolphin browser holds it in a different folder (not com.android.browser), so you'll have to dig around for that (I'm assuming it will be something like com.dolphin.browser)
Sent from my HTC Vision using xda app-developers app

Android intent juicedefender

Dose anyone know how to enable and disable juicedefender via android intent, I'm trying to do it through app called llama because at night juice defender doesn't work well with a sleeping app I use
Sent from my PC36100 using xda app-developers app
You can start an app using an intent, but you can't kill it using an intent. If you're rooted you can just run a script that kills it
Then you can combine that with something like tasker to kill it at night and then restart it in the morning
Kill:
Code:
killall com.xxx.xxx.juicedefender
#or if you know the process id
kill ID_HERE
Start:
Code:
am start -a android.intent.action.MAIN -n com.xxx.xxx.juicedefender/MAIN_INTENT_NAME_HERE
You can decompile the juicedefender apk using apktool and then figure out what the Main intent is by taking a look at the AndroidManifest.xml
Sent from my PG06100 using xda premium
CNexus said:
You can start an app using an intent, but you can't kill it using an intent. If you're rooted you can just run a script that kills it
Then you can combine that with something like tasker to kill it at night and then restart it in the morning
Kill:
Code:
killall com.xxx.xxx.juicedefender
#or if you know the process id
kill ID_HERE
Start:
Code:
am start -a android.intent.action.MAIN -n com.xxx.xxx.juicedefender/MAIN_INTENT_NAME_HERE
You can decompile the juicedefender apk using apktool and then figure out what the Main intent is by taking a look at the AndroidManifest.xml
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Yea I got that far but I can't find the way disable or enable, I can kill it but it comes back I know the package name is com.latedroid.juicedefender but I didn't see anywhere in the xml how to disable
Sent from my PC36100 using xda app-developers app
You can use the "killall" command to kill the process, the killing part has nothing to do with intents
Sent from my PG06100 using xda premium
CNexus said:
You can use the "killall" command to kill the process, the killing part has nothing to do with intents
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Com.latedroid.juicedefender/ disable doesn't work :/
Sent from my PC36100 using xda app-developers app
Thats what I'm saying...theres no "disable" intent that you can send to that application to turn it off
Instead, the app is either running or its not
Sent from my PG06100 using xda premium
CNexus said:
Thats what I'm saying...theres no "disable" intent that you can send to that application to turn it off
Instead, the app is either running or its not
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
But there's a disable button in the quickbox
Sent from my PC36100 using xda app-developers app
Yeah, but that doesnt mean that theres a disable intent...the disable button is just XML layout code
Sent from my PG06100 using xda premium
CNexus said:
Yeah, but that doesnt mean that theres a disable intent...the disable button is just XML layout code
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Oh :/ well that sux
Sent from my PC36100 using xda app-developers app

[Q] OK I have done the partitioning of my SD card and I'm sure I made the ext4. Now h

Sent from my X10 using xda app-developers app
What question are you asking?
Sent from my Galaxy Nexus
CRIME INC. said:
What question are you asking?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Lmao that is a good question... I thought I typed everything... what I want to know is. Is there a way to check to see if my SD is partitioned to ext4..
Sent from my X10 using xda app-developers app
I believe, and don't quote me on this, if you type a2sd check into terminal emulator, it will list what extension your on. But if you upgraded your partition, I see no reason why you wouldn't be
Sent from my Galaxy Nexus
OK then it still won't let me into a2sd.. my phone is rooted, my SDcard is at ext4, so now how do I get the a2sd scripts that it says its missing.. I have installed a2sd every way I can..
Sent from my X10 using xda app-developers app
hondafreak513 said:
OK then it still won't let me into a2sd.. my phone is rooted, my SDcard is at ext4, so now how do I get the a2sd scripts that it says its missing.. I have installed a2sd every way I can..
Sent from my X10 using xda app-developers app
Click to expand...
Click to collapse
What is telling you that it's missing? The a2sd GUI app?
Sent from my Galaxy Nexus
I asked almost The same thing
http://forum.xda-developers.com/showthread.php?t=2128787
116 views, no response or help.
@hondafreak:
I home you mean "a part of" SD partitioned to ext4.
A2sd finds it, claims to try to mount, you restart, and then a2sd again repeats the same finding and mounting....in circle.
CRIME INC. said:
What is telling you that it's missing? The a2sd GUI app?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Yes
Sent from my X10 using xda app-developers app
hondafreak513 said:
Yes
Sent from my X10 using xda app-developers app
Click to expand...
Click to collapse
The a2sd GUI app isn't compatible with every version of a2sd. Anything you can do in that app, you can do through terminal emulator
Sent from my Galaxy Nexus
CRIME INC. said:
The a2sd GUI app isn't compatible with every version of a2sd. Anything you can do in that app, you can do through terminal emulator
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
OK cool.. I'm guessing there is a tutorial on commands to enter in TE to run a2sd.
Sent from my X10 using xda app-developers app
hondafreak513 said:
OK cool.. I'm guessing there is a tutorial on commands to enter in TE to run a2sd.
Sent from my X10 using xda app-developers app
Click to expand...
Click to collapse
There's a command you can put in that will list all commands possible, I just can't remember it. It might be a2sd check. What are you trying to do?
Sent from my Galaxy Nexus
hondafreak513 said:
OK cool.. I'm guessing there is a tutorial on commands to enter in TE to run a2sd.
Sent from my X10 using xda app-developers app
Click to expand...
Click to collapse
I have the GUI app if you need it,let me know.
EDIT:Matter of fact here you go.... https://dl.dropbox.com/u/24522487/a2sdGUI.apk
Terminal Command:
Go into terminal and type "su" then press enter. Press allow when prompted by SuperSU,Then type "a2sd install" then hit enter and wait for it to reboot.
Diablo is the man. He won't steer you wrong.
Sent from my Galaxy Nexus
CRIME INC. said:
Diablo is the man. He won't steer you wrong.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Hahahahaha,thanks CRIME.
Diablo67 said:
I have the GUI app if you need it,let me know.
EDIT:Matter of fact here you go.... https://dl.dropbox.com/u/24522487/a2sdGUI.apk
Terminal Command:
Go into terminal and type "su" then press enter. Press allow when prompted by SuperSU,Then type "a2sd install" then hit enter and wait for it to reboot.
Click to expand...
Click to collapse
I have the app.. I will try the install again...
Sent from my X10 using xda app-developers app
[X] invalid command: install
Sent from my X10 using xda app-developers app
hondafreak513 said:
[X] invalid command: install
Sent from my X10 using xda app-developers app
Click to expand...
Click to collapse
If your still having an issue with this check out the thread in the link below.
http://themikmik.com/showthread.php?p=71032
TEAM MiK
MikROMs Since 3/13/11

Where to check bootloader version?

This might seem like a dumb question, but I'm honestly not sure where I can find it.
Edit: just found a system info app finally saw what version I'm in just want to make sure I'm ready for new 4.3 goodness
Sent from my Nexus 7 using xda premium
All over this forum get a terminal emulator app and enter this
su(enter)grant permissions
getprop ro.bootloader(with the space and press enter)
Sent from my SGH-T999 using xda premium

Categories

Resources