Remap menu key long press to take screen shot - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Hello
Is that possible ? the factory combination of pressing vol plus power button is tricky or at least I like to save the power button as much as possible...
Any useful idea is appreciated..
Thanks

mahanddeem said:
Hello
Is that possible ? the factory combination of pressing vol plus power button is tricky or at least I like to save the power button as much as possible...
Any useful idea is appreciated..
Thanks
Click to expand...
Click to collapse
Out of curiousity.. what rom are you running?

btm fdr said:
Out of curiousity.. what rom are you running?
Click to expand...
Click to collapse
Stock UCLF6 deodexed rooted

Dont know if this may work but its definitely worth a shot at least
https://play.google.com/store/apps/details?id=com.smart.swkey&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5zbWFydC5zd2tleSJd
as well i do know tat Mohan_kr maker of Embryo was able to remap. maybe a quick PM to him might also help since i searched and cant find anything
after a little more research i was able to find out the that it can be change in the residing location: /system/usr/keylayout or in the framework. sorry couldnt be much help but this is what i could find

crashpsycho said:
Dont know if this may work but its definitely worth a shot at least
https://play.google.com/store/apps/details?id=com.smart.swkey&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5zbWFydC5zd2tleSJd
as well i do know tat Mohan_kr maker of Embryo was able to remap. maybe a quick PM to him might also help since i searched and cant find anything
after a little more research i was able to find out the that it can be change in the residing location: /system/usr/keylayout or in the framework. sorry couldnt be much help but this is what i could find
Click to expand...
Click to collapse
Thanks for your input ... I am not looking for an app as most of them filled with silly ads or taking unnecessary resaurces ... I need to mod system to remap some key to take screen shots ... And I guess you're right it's somewhere around /system/usr/keylayout

Afaik not possible in stock but aokp/cm9+10 allows that remap in settings
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

There is an app called "screenshot er" that lets you take screenshots by holding down the search key, and it has a delay that you can set for however long you want, and it works amazingly well. No extra crap, just a really good app. I know it's not what you want, but it's worth checking out.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

i agree with atrix ive used then Screenshot er app before the remmaping became available and works flawless

The power button and home key works for screen shots
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

I know this is an old thread, but all the screenshot remapping threads seem old, so I'm hoping I can get some help here anyway. My stock ICS on my S2 has home+power for screen shots. Hardware buttons died (home, menu, back, search) so i use softkeys to navigate, (Button Savior, works amazing, saved me a major headache) never the less, the screen shot doesn't work by pressing power and the home soft key. I've used other roms, like CM, where the screenshot is power+vol down and i want to use this method on my stock ICS. I to, don't want an app to do it, i just want power+vol down

Been trying to use xposed additions to remap for screenshot. not working so far and unsure of reasoning why, even bought the pro version to allow a multi step action to occur

Related

[MOD] [21/07] Wake up using Home, Menu, Search or Back UPDATE. [Trackball wake]

Flash any of the below links through your desired recovery console. Clockwork or R.A .
Big thanks to lambrospower and KingChris. Nice work guys...
Wake up using Menu Button
Wake up using only Menu, without use of the Power button
Wake up using the Search button, without use of the Power button
Wake up using the Back button, without the use of the Power button
Wake up using the Home button, without use of the Power button
Track-Ball Wake (With Power Enabled)
Track-Ball Wake (Only Trackball)
Restore original functionality (Just the power button)
Note:
These should work with both HTC and Stock ROMS, either on 2.1 or 2.2. Any troubles, post your comment below with a brief description of what went wrong, We'll try out best to help.
Nandroid first....as allways.
Enjoy.
CP.
For the General progress of this mod, check out http://forum.xda-developers.com/showthread.php?t=683902
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
how to deactivate if you dont like it?
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
7pellc said:
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
Click to expand...
Click to collapse
Great & quick support!
OP updated.
Now includes back to original functionality.
CP
Re: [MOD] Wake up using Home, Menu, Search or Back
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
lsmgeb89 said:
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I am not sure if this would make sense, as the volume rocker keeps working when you are listening music and the screen is off.
hi, im the one named Burst on www.android-hilfe.de
i want to set a link to the original post here on XDA where the mod has started
http://forum.xda-developers.com/showthread.php?t=683902
work with any button
Hi guys. This post was exactly what I was looking for.
I flashed only the search key to wakeup.
Result: now it wakes up with any button (also volume and trackpad).
Is it my mistake (which one?) or what?
Just flashed from the recovery and rebooted.
Thanks for your support
linkback: http://forum.xda-developers.com/showthread.php?t=683902
Thankyou soooo much! Just what I wanted!
janvandusschoten said:
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
Click to expand...
Click to collapse
+
Want wake up with trackball too
thx
++
Trackball.
Is needed all wipe??
@kingChris
I'll add your link to the first post mate.
It's nice to see mods with different buttons working. I used kingchris's mod as soon as he posted, and it's been working great since then.
is it possible to have the same function as stock hero 1.5/2.1 where u press the menu button twice, it unlocks the lockscreen?
ivicask said:
++
Trackball.
Click to expand...
Click to collapse
+++
i have looked in system/usr/ and there are more files showing key numbers, i couldnt find trackball tho..
Does this work with MCR 3.1?

[ How-To ] Disable Search Button

For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip
does that take care of the button completely or just it's long-press function?
Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?
Both of the .kl files are the same...just giving ya a heads up before someone restores the default and doesn't have their search button back...but nice find. Thanks!
The default one was the one I forgot to put in there but it's fixed now
frifox said:
does that take care of the button completely or just it's long-press function?
Click to expand...
Click to collapse
Completely disabled
Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?
nice i seen a few people complaining that they kept hitting it all the time. good work bro
stylz3 said:
Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?
Click to expand...
Click to collapse
I tried making it an end button...but no go...maybe I missed something...
RavenII said:
I tried making it an end button...but no go...maybe I missed something...
Click to expand...
Click to collapse
Its probably not built into the Sense build on the device. It used to be, but idk anymore since it isn't required by Android 2.0+
Also, to the people that want it to do something else:
See my post here. My guide is from way back in the G1 days, but all the same things apply here. Just change file names. An interesting use would be to change the search button to a camera button
Or see Decad3nce's wonderful writeup on the functions you can assign here. For the CDMA Hero, again just use your judgement. Use the right files
Also, my app Search2Play will soon be making it's way to the Evo now that we have usermode system partition access. Check it out here
Nice! Thanks for this, I always hit that button by accident.
Thank you! That damn button annoys the hell out of me everyday
Strange. I love the search button and use it all the time to text, call, launch apps etc.
Glad this is helpful to all the rest!
thanks!! i hit that damn button all the time
Calkulin said:
For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip
Click to expand...
Click to collapse
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.
If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.
joeykrim said:
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.
Click to expand...
Click to collapse
Yeah that's fine, I don't mind
joeavery2 said:
If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.
Click to expand...
Click to collapse
Is it possible to get the volume to do the wake feature while also keeping the volume buttons working like normal?
Calkulin said:
Yeah that's fine, I don't mind
Click to expand...
Click to collapse
Thanks Calkulin, its been added! Great work as always!
newbie2369 said:
Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?
Click to expand...
Click to collapse
Get no lock from the market.
Volume down takes you streight into the phone no lock screen.

Dead Space works on Evo4G

I posted this in the Evo3D forum (since I upgraded to the 3D) but I do still have my OG 4G and recently installed DeadSpace, which is "exclusive" to the xperia Okay right now... But if you look you can find it
Well, it works on the original 4G as well! And plays pretty well I might add? I was surprised.
One little caveat with the game is the lack of a dedicated "lower weapon". But that can be worked around by simply bringing up the in game menu and exiting it. It lowers the weapon. But if you want a dedicated button. You can do this.
OK. This isn't a mod of the actual game... I'll (pretend i know what I'm doing and) look into it though.
This is an edit of the phones actual keylayout file in order to trick the game into thinking we have an L1 button to.make lowering the weapon much easier.
First. Make a backup...for me? And you... Help me help you and just do it.
Either adb pull /system/user/keylayout/supersonic-keypad.kl
Or
Use root explorer and just text edit that file. We want to change key 115 from VOLUME_UP to BUTTON_L1
Remember to back up!! Save the file and reboot.
If you did an adb pull. You'll need to remember to adb push the file you just edited.
"Adb push supersonic-keypad.kl /system/user/keylayout/"
After the restart. Load up dead space and Viola! Easy weapon lowering!! If you want the function of that key back, restore your backup and reboot.
A problem with this method is you lose the ability to actually up volume..unless you change the file back and reboot again :/
Sent from my PG86100 using Tapatalk
Sent from my PG86100 using Tapatalk
This is awesome! However, I do like keeping my Volume Up functionality :-/ is there a way to do this for my Home button or something? And does functionality return to normal for these buttons once the game is exited? I'm playing on a Samsung Galaxy S2. I'd much prefer to do this with the Home button since it's a hard physical button on the SGS2 rather than a soft key. I think everyone can agree we'd rather a modded version of the game where we have a method of lowering our weapon easily, heh.
Also, instead of pulling up the menu and exiting to lower weapon, I find that double-tapping on yourself to do the quick 180 turn is more convenient for lowering without a button mod.
rkaplan2 said:
This is awesome! However, I do like keeping my Volume Up functionality :-/ is there a way to do this for my Home button or something? And does functionality return to normal for these buttons once the game is exited? I'm playing on a Samsung Galaxy S2. I'd much prefer to do this with the Home button since it's a hard physical button on the SGS2 rather than a soft key. I think everyone can agree we'd rather a modded version of the game where we have a method of lowering our weapon easily, heh.
Also, instead of pulling up the menu and exiting to lower weapon, I find that double-tapping on yourself to do the quick 180 turn is more convenient for lowering without a button mod.
Click to expand...
Click to collapse
Or bringing up your Nav Point Guide. Any of those work. And no, after exiting the game the functionality of the button doesn't come back. The only way to get it back is to reedit the file and reboot the phone. I have an Evo3D and have set the lower weapon button to "Focus" on the camera button. I don't lose the function of the actual camera button. Just the first click which is to focus the camera. I don't mind at all because I can still tap on the screen to focus in on something.
Since the GSII has physical buttons you might be able to change one of those. You should be able to change any hardware button except power of course. This mod really isn't as convenient if the phone doesnt have a camera button or some other button that isn't used hardly at all. Lol
Sent from my PG86100 using Tapatalk
@OP.
Nice walkthrough and thanks for sharing. I doubt I'll personally use this, but still, thanks for sharing and good walkthrough/instructions.
Sent from my PC36100 using xda premium
this is awesome...my only issue is i am having a really hard time finding the apk...
any hint ..
i also cannot find the game any where. im willing to buy it, just cant find it.

"No Power Button" Project

Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently using few apps&tricks:
Turning off screen:
Screen Off & Lock
Turning on the screen:
Volume key wake
or as in most roms now, its enable-able in settings/tweaks
Rebooting, entering recovery or bootloader:
Quick Boot (Reboot)
And recovery:
4EXT Recovery Touch
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Thanks for the tips.
I'm sure this will come in handy for people who're wearing out their power button (like me!!)
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
knockedx said:
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Hey, thanks for that video. Makes for an interesting party trick!!
But the problem with this is phone unlocking inside your pocket, and secondly, continuous polling of the proximity sensor is going to gobble your battery up pretty fast. But i'll have to try it out for atleast a day to support that theory.
Thanks for the info anyway.
Did anyone try to use warranty because of the power button? mine is going softer every week...
Sick1 said:
Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Click to expand...
Click to collapse
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
lowveld said:
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
Click to expand...
Click to collapse
Yummy, more mischief from the chef!!
I've always used Screen off apps on all my devices !
Even since the days of WinMo there was such app
One of the first apps I install on my phone when I load a New ROM is screen off and lock
I don't need the volume wake though - that would just wear out the volume buttons when I already use it for music control

Access Multitasking ICS?

Hey,
I'm running ICS rom on my HTC Desire and the home button randomly stopped working :/ . My question is, if there is anyway to access multitasking on ICS without pressing and holding the home button. Like a shortcut or app or something. I understand that you can force close apps other ways, but I need to get to that multitasking swipe screen.
Many thanks in advance
kanay2000 said:
Hey,
I'm running ICS rom on my HTC Desire and the home button randomly stopped working :/ . My question is, if there is anyway to access multitasking on ICS without pressing and holding the home button. Like a shortcut or app or something. I understand that you can force close apps other ways, but I need to get to that multitasking swipe screen.
Many thanks in advance
Click to expand...
Click to collapse
You can re-map the multitasking button to search
Just search "search to recent apps"
http://forum.xda-developers.com/showthread.php?t=1448576
You can try this .. but its only tested on nexus s ... so backup
Sent from my Crespo using XDA
Forgot to mention that the search button doesnt work either, and I was hoping do something simple instead of root related. Thanks anyway
kanay2000 said:
Forgot to mention that the search button doesnt work either, and I was hoping do something simple instead of root related. Thanks anyway
Click to expand...
Click to collapse
Then try this
http://forum.xda-developers.com/showthread.php?p=23644426
As again.. only tested on nexus s so backup
Sent from my Crespo using XDA
Thank you for your generous help! But I have somehow fixed the buttons (it turned out it was a software not hardware problem).
Thanks again anyway
you can add activite shortcut then set the activty to multitasking application activity
Apex Launcher can let you make shortcuts to recent apps
Also, Button savior works great
You can try this tutorial to get virtual buttons if your up to it http://forum.xda-developers.com/showthread.php?t=1364757
Sent from my SGH-I777 using xda premium

Categories

Resources