[REQ] Hardware key swap - Galaxy S6 Q&A, Help & Troubleshooting

Would be great if we could swap the HW keys the correct way around. So the back button is on the left.

jhericurls said:
Would be great if we could swap the HW keys the correct way around. So the back button is on the left.
Click to expand...
Click to collapse
try this, it allows changing the functions of the soft keys
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en

nflwideout86 said:
try this, it allows changing the functions of the soft keys
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en
Click to expand...
Click to collapse
This doesn't answer what the OP is asking.
Op I know you would go into /system/usr/keylayout and edit the generic.kl file with a text editor
Two things that need to be swapped are Key 158 and 254 and reboot. Make sure to swap the text next to each as they are written. Make sure you are rooted.

NJGSII said:
This doesn't answer what the OP is asking.
Op I know you would go into /system/usr/keylayout and edit the generic.kl file with a text editor
Two things that need to be swapped are Key 158 and 254 and reboot. Make sure to swap the text next to each as they are written. Make sure you are rooted.
Click to expand...
Click to collapse
The app way seems easier...but that works too

nflwideout86 said:
The app way seems easier...but that works too
Click to expand...
Click to collapse
Upon further reading which I should I had done in the 1st place. *smacks forehead*. At least I found out where they were physically at in the device in case anyone else needed to know specifically.

nflwideout86 said:
The app way seems easier...but that works too
Click to expand...
Click to collapse
Thanks dude, this app works a treat.

I agree this app is pretty cool. Just wish it had a menu key option.

NJGSII said:
This doesn't answer what the OP is asking.
Op I know you would go into /system/usr/keylayout and edit the generic.kl file with a text editor
Two things that need to be swapped are Key 158 and 254 and reboot. Make sure to swap the text next to each as they are written. Make sure you are rooted.
Click to expand...
Click to collapse
Thanks for this excellent fix - just what I was looking for, and works perfectly!! Do you know how to remap longpress back to kill app, by any chance? Is this possible on stock rooted, or do we need to wait for CM? Cheers

That app allows long press back button kill!

Elisha said:
That app allows long press back button kill!
Click to expand...
Click to collapse
Thanks - tried it, but it crashes my settings when, as it requires, I try to turn on universal switch... Think I went overboard when freezing bloatware in TB...

grim489 said:
I agree this app is pretty cool. Just wish it had a menu key option.
Click to expand...
Click to collapse
Are you rooted or no?
I have the menu option available to me in that app, but i am rooted so i'm just wondering if some options are removed when not rooted.

nflwideout86 said:
Are you rooted or no?
I have the menu option available to me in that app, but i am rooted so i'm just wondering if some options are removed when not rooted.
Click to expand...
Click to collapse
Maybe that's the problem, no I'm not rooted.

Related

Help! Soft Key Editor! can't find

forget it. found it. but how do you change the softkeys in the phone app?
scwilson8382 said:
forget it. found it. how do you delte an unwanted thread?
Click to expand...
Click to collapse
Attached
taiseer999 said:
Attached
Click to expand...
Click to collapse
will this change the softkeys in the phone app? I'm using Finger Friendly Friends which is awsome by the way and need to change the contacts softkey in the phone menu to FFF. I have already changed the home softkey.

Home Long Press

Is there any app that makes the pop-up selection 9-12 programs? (OR a Home Long Press look-alike replacement)
If not, would changing this require modifying the Android source code? Or would an app be able to change this functionality? (Not sure if it's locked down etc)
I'm checking the code now...useful to have.
+1 for this. I've been starting to use it while im on the browser and i get a text, pretty useful
I believe a few people like Wysie were talking about this on twitter, not sure what ever came of it though.
This is the code that needs to be updated.
http://android.git.kernel.org/?p=pl...nal/policy/impl/RecentApplicationsDialog.java
CM's git: http://github.com/cyanogen/android_frameworks_policies_base
Code:
ActivityManager.RecentTaskInfo
Information you can retrieve about tasks that the user has most recently started or visited.
I see this in the log:
Code:
D/StatusBar( 137): DISABLE_EXPAND: yes
Attempting to make the changes in the .smali assembly code...
Casao said:
I believe a few people like Wysie were talking about this on twitter, not sure what ever came of it though.
Click to expand...
Click to collapse
Can you give any more details?
Double check if that's the correct name? Or tell me who else was involved?
I'm trying to search Google for various things and nothing comes up:
http://www.google.com/search?num=100&hl=en&q=site:twitter.com/Wysie+home
britoso said:
This is the code that needs to be updated.
http://android.git.kernel.org/?p=pl...nal/policy/impl/RecentApplicationsDialog.java
CM's git: http://github.com/cyanogen/android_frameworks_policies_base
Code:
ActivityManager.RecentTaskInfo
Information you can retrieve about tasks that the user has most recently started or visited.
I see this in the log:
Code:
D/StatusBar( 137): DISABLE_EXPAND: yes
Attempting to make the changes in the .smali assembly code...
Click to expand...
Click to collapse
So it's definitely not something that is possible through an app then, correct?
Yes it should be, in fact the code to do this is in reloadButtons() in that file.
Someone can change launcher to direct the home button longpress at a custom handler to display 12 tasks.
I've got stuck with trying to make an assembly fix.
The 6 recent tasks are assigned to 6 hardcoded placeholders on the recent_apps_dialog window. That xml layout will need to be re-compiled and the new placeholder IDs need to be added in at line 720.
info:
jar: android.policy.jar
file: \com\android\internal\policy\impl\RecentApplicationsDialog.smali
lines: 12,14,4,646-720
I would really like to see this happen as well!
This would be a fantastic addition!
britoso said:
Yes it should be, in fact the code to do this is in reloadButtons() in that file.
Someone can change launcher to direct the home button longpress at a custom handler to display 12 tasks.
I've got stuck with trying to make an assembly fix.
The 6 recent tasks are assigned to 6 hardcoded placeholders on the recent_apps_dialog window. That xml layout will need to be re-compiled and the new placeholder IDs need to be added in at line 720.
info:
jar: android.policy.jar
file: \com\android\internal\policy\impl\RecentApplicationsDialog.smali
lines: 12,14,4,646-720
Click to expand...
Click to collapse
In my many many searches (I've been wanting an app like this for 6+ months haha) I read somewhere that the Home Long Press is protected and can't be overwritten by a standard Android app. Is this true?
15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185
pershoot said:
15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185
Click to expand...
Click to collapse
CM only? Noooooo
Is a thread for that home long press? I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.
muncheese said:
Is a thread for that home long press? I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.
Click to expand...
Click to collapse
its for effect, and also with 15 loaded up and sifting through, 'could' make things easier for navigation, without the need for the use of the trackball.
muncheese said:
Is a thread for that home long press?
Click to expand...
Click to collapse
What? This part makes no sense.
I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.
Click to expand...
Click to collapse
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.
Paul22000 said:
What? This part makes no sense.
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.
Click to expand...
Click to collapse
Sorry I'm not contributing to the thread, but I never really noticed how useful this feature was until now. Having 15 or more so apps would be nice, but I'm on a Desire ROM also..
pershoot said:
its for effect, and also with 15 loaded up and sifring through, 'could' make things easier for navigation, without the need for the use of the trackball.
Click to expand...
Click to collapse
I must have girlie fingers then, lol. Hope it can be optional down the line, my initial thought was that you would be able to pull options for the app after selecting it and then hitting the menu button. Maybe like a quick task manager too force kill running apps.
That first line was supposed to say "is there a thread for the mod"
Paul22000 said:
What? This part makes no sense.
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.
Click to expand...
Click to collapse
i think he meant of the addition of select then launch. my original statement on it still holds true. i personally dont like to use trackball through 15 apps highlighting each one, especially if there is one with more then word of line text and i want to see what it says.
maybe this will get configurable in settings along with the number of recent apps (which is on the todo list). we'll see...
pershoot said:
15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185
Click to expand...
Click to collapse
after i flashed this my phone wont auto rotate anymore i dont know if thats a known issue or not but its nice like the idea

Remap Facebook button on HTC ChaCha/Status

Hi, can someone tell me how I can remap the facebook button on my HTC ChaCha?
I know how to mod the hardware keyboard by editing /system/usr/keylayout/qwerty.kl
But I can't seem to find the facebook button anywhere...
I know this is somewhat wrong, but isn't having one dedicated facebook button the whole point of that phone?
Should be in the build.prop file
Sent from my M860
salas2324 said:
Should be in the build.prop file
Sent from my M860
Click to expand...
Click to collapse
no, it shouldn't.
Check /system/usr/keylayout/[devicename]-keypad.kl to change it.
GazaIan said:
no, it shouldn't.
Check /system/usr/keylayout/[devicename]-keypad.kl to change it.
Click to expand...
Click to collapse
Thanks, that worked, I just commented it out (key 184 HTC_SHARE).
Would you know how to change it to my led flashlight app?
@BenKranged, ya prolly for a lot of people that was a selling point but for me the chacha is the best crackberry alternative. With the right mods the chacha is awesome! (what a crap name though)
You could probably change it to launch that app, but I wouldn't know how to launch apps via the keylayout file.
does anyone know how to replace facebook button, i mean it's purpose to start fb to starting another app, or at least disabling it.
tnx
@Zebdi,
Hey Zebdi, hope you finayly managed to remap the key.
How did you manage to get root access, or did you already have S-OFF?
try this app
FB ReMap For HTC ChaCha

[REQ] Long press back button to close foreground app?

Can someone make me a flashable zip for this or know where I can get one? Ever since I updated to Clean Rom 6R2 I really miss it since kindacrapmods doesnt work.
I have searched the forums and the net with no luck....
Thanks everyone!
Re: [REQ] Back button to close foreground app?
Andybones makes a menu to kill http://forum.xda-developers.com/showthread.php?p=39293176
Sent from my SCH-I535
Re: [REQ] Back button to close foreground app?
Ya, I seen that but I use long press menu to use Google/Google now
viskey said:
Ya, I seen that but I use long press menu to use Google/Google now
Click to expand...
Click to collapse
You'll still have Google now. It just says it closes touch wiz launcher, but launcher stays locked in memory...
Sent from my SCH-I535 using xda app-developers app
The one in kindacrapmods closed whatever foreground app you were in, not the launcher
viskey said:
The one in kindacrapmods closed whatever foreground app you were in, not the launcher
Click to expand...
Click to collapse
Yeah. I've been wanting hold back too kill as well. The menu one just feels weird.. And i also don't like Multi window... So I just try to get rid of it with that.
Hopefully we can get this working
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
andybones said:
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
Click to expand...
Click to collapse
Is there a way you can decompile the kindacrapmods to see what it was and go from there?
andybones said:
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
Click to expand...
Click to collapse
It says it does, but launcher stays locked in memory, so it doesn't effect anything, but you get the toast message.
The code changed in 4.1.2 so the kindacrap way doesn't work on the newer ROMs. I don't know of anyone working on this, as menu works the same (you just lose the half @ss 'search' function) and multi window should be coming...
Sent from my SCH-I535 using xda app-developers app
I know coding has changed in the new update since kinda crap. What I was trying to say was just to see if he can decompile it and look at it to compare the differences. Who knows, what needs to be changed might just stick out to him and may be any easy fix. Just an idea...
viskey said:
Is there a way you can decompile the kindacrapmods to see what it was and go from there?
Click to expand...
Click to collapse
trust me man, like I said I want this MORE than anyone, this is my favorite MOD and is drives me NUTS I can't get it...
I don't like using Menu any more than you but it's better than nothing, right?
Yes, I have tried diffing the code MANY times, can't get it bro. My smali skills are limited, I am going to try and get some outside help though.
andybones said:
trust me man, like I said I want this MORE than anyone, this is my favorite MOD and is drives me NUTS I can't get it...
I don't like using Menu any more than you but it's better than nothing, right?
Yes, I have tried diffing the code MANY times, can't get it bro. My smali skills are limited, I am going to try and get some outside help though.
Click to expand...
Click to collapse
Thanks for trying though Good luck! Let us know!

[Q] Is there a shortcut to the clip tray?

Just wondering. I love the way it works but wish there was a way to open it without having to use a text box.
I looked around too...I think that's the only way.
s1lentmage said:
Just wondering. I love the way it works but wish there was a way to open it without having to use a text box.
Click to expand...
Click to collapse
If you can figure out what those buttons are...
uicnren said:
If you can figure out what those buttons are...
Click to expand...
Click to collapse
The first is the settings button in the LG Keyboard. You hold down on that and get the option for the clip tray. Looks like it is baked into that instead of being a separate app. That sucks.
s1lentmage said:
Just wondering. I love the way it works but wish there was a way to open it without having to use a text box.
Click to expand...
Click to collapse
I have lg g4.
If u use tasker u can set an action under system -> set clipboard this will make it apear. I use gesture event to open the tray.
Htwh,

Categories

Resources