Related
[THINK TANK] Remap Power/Lock to Camera Functions & Remove Low Battery Limitations
Hi all, i've had a thread about this in general for a while, but i think I would get more attention to this matter here.
I may not be a dev, but I do believe this is very doable, especially because Ive read this in a thread posted by rhcp0112345 titled Debug Codes which proves that the power button can be remapped to do certain functions just like my old G1 could do:
*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.
Click to expand...
Click to collapse
I also remember devs adding support for a Reboot Option to the Power Off Menu, so I think if that is possible, then it should be possible to add a Camera option to that list, and when the Camera is open, rather than use the power button to lock the screen and capacitive buttons, we can allow it to take pictures, and if you long press it, it will show the usual Power Off Menu plus the Lock option.
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
speedysilwady said:
Hi all, i've had a thread about this in general for a while, but i think I would get more attention to this matter here.
I may not be a dev, but I do believe this is very doable, especially because Ive read this in a thread posted by rhcp0112345 titled Debug Codes which proves that the power button can be remapped to do certain functions just like my old G1 could do:
I also remember devs adding support for a Reboot Option to the Power Off Menu, so I think if that is possible, then it should be possible to add a Camera option to that list, and when the Camera is open, rather than use the power button to lock the screen and capacitive buttons, we can allow it to take pictures, and if you long press it, it will show the usual Power Off Menu plus the Lock option.
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
Click to expand...
Click to collapse
If I remember correctly, the key mapping is actually in the kernal, which means that someone who was cooking up a full blown ROM would directly have to go in and map the driver function to the kernal. I don't think this is impossible, but it may not happen for a while. I do agree though, this is a very good idea except for moving Screen Lock to the menu for holding the power button. I think something simple like double press or Power+Volume Up. If I ever find time to muck around in the kernal source, I'll give this a look
speedysilwady said:
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
Click to expand...
Click to collapse
This would be great!
Tydiz said:
If I remember correctly, the key mapping is actually in the kernal, which means that someone who was cooking up a full blown ROM would directly have to go in and map the driver function to the kernal. I don't think this is impossible, but it may not happen for a while. I do agree though, this is a very good idea except for moving Screen Lock to the menu for holding the power button. I think something simple like double press or Power+Volume Up. If I ever find time to muck around in the kernal source, I'll give this a look
Click to expand...
Click to collapse
ah so its all in the kernel i see. Yeah your idea the double tap sounds good too! I appreciate your interest in the idea! Do you know how to disable the Low Battery Limiter? would that be in the kernel too?
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
thegreatcity said:
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
maybe someone could make an apk along with the kernel to remap it to any button you want. i remember the g1 had a hack that allowed that possibility so im sure the vibrant can do it if someone had the will and know-how
The battery thing is here:
http://forum.xda-developers.com/showthread.php?t=748400
rhcp0112345 said:
The battery thing is here:
http://forum.xda-developers.com/showthread.php?t=748400
Click to expand...
Click to collapse
Thats not quite what I think they are talking about. That will simply make the popup that says "battery full, please unplug" go away. The issue is when your battery is low, the phone will deny you going into certain applications, such as the video player or other things.
Any progress on the low battery limiter?
thegreatcity said:
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
Then what would you do with the zoom in/out function that's currently mapped to the volume rocker?
I think the current "Lock Screen" function of the power button is useless, and would make way more sense as a physical button for the shutter.
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
Then what would you do with the zoom in/out function that's currently mapped to the volume rocker?
I think the current "Lock Screen" function of the power button is useless, and would make way more sense as a physical button for the shutter.
Click to expand...
Click to collapse
I second this statement.
No offense to anyone, but using the volume buttons is a stupid idea!
Sent from my SGH-T959 using Tapatalk
so i tried contacting JAC about this through a Private Message a few days ago, he hasnt responded yet but he's been active on twitter lately, so maybe he doesnt check his PMs, i dont have a twitter so i was wondering if anyone that does could tweet this thread to him and ask if he would be interested in implementing it in his kernel?
remapping the volume keys isn't necessarily in the kernel. just install adw launcher or launcher pro and add the camera app to your dock. it's easier.
xREVOx, I think you misunderstood the OP. I believe he is suggesting the power button be remapped to the camera shutter, which I believe is an excellent idea. I would love to help, if I could. I know c++, but have never messed with the linux kernel or android rom dev so I doubt I would be of much use. Either way, I would lover to see it a part of CM 6.1 when that comes out
Sent from my SGH-T959 using XDA App
xREVOx said:
remapping the volume keys isn't necessarily in the kernel. just install adw launcher or launcher pro and add the camera app to your dock. it's easier.
Click to expand...
Click to collapse
Like MinosDis said I was thinking of having an option to add Launch Camera to the power button menu, and once the camera app is launched the power button could be used as a physical shutter button.
Also I really wanna get rid of that low battery popup that prevents access to the music player video player and camera.
If anyone with a twitter echoes my sentiments perhaps they can retweet this thread to @wesgarner or @justanotherdev because I can't get ahold of them on here and I have no twitter.
I use mixzing, and it will play up until you phone powers off. Not quite a hack, but a viable workaround for now
Sent from my SGH-T959 using XDA App
adamcooks said:
I use mixzing, and it will play up until you phone powers off. Not quite a hack, but a viable workaround for now
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Thanks for the tip, I use rock player for videos, and I tried some free camera apps but they all aren't as good as the stock one so I'm hoping jac or kingklick will implement this into one of their kernels
Did you guys Manage to Remove Low Battery Limitations? If not I have, mine is now set to warn / warning level at 5%
eugene373 said:
Did you guys Manage to Remove Low Battery Limitations? If not I have, mine is now set to warn / warning level at 5%
Click to expand...
Click to collapse
Hey eugene thanks for your input and contribution I don't think anyone made any progress on this front. JAC told me it is rom AND kernel related if I wanted the battery limits removed and the camera button remapped so it's not that easy. I'm very glad and thankful that you handled the low battery limitations thank you so much!
Just in case anyone subscribed to this thread.
There's an app in the market called "SGS Tools". You can now use the power button as a shutter button, take pictures when battery is low, and pinch to zoom on the camera (it's a little sluggish). Thanks to Fr4gg0r for developing this.
Article here
http://androidspin.com/2010/12/12/update-your-galaxy-s-camera-to-support-push-to-zoom/
Edit:Do Not Download. There has been reports of it messing up the camcorder and force closes.
I have make small app, which switching off screen.
Instant, without any waits or faking switching off by set brightness to zero.
It's simulate pressing of power button.
Maybe this one will be interest for somebody
root needed
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
pinn___________ said:
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
Click to expand...
Click to collapse
There is a hack for this but the menu key etc on the hd are not active when the screen is locked so it doesn't work. I did it today but you have to press power then the keys become active and you can use menu etc to unlock. Pointless as you still need to use power button first. The hero's keys were hard buttons as is the desire. It worked great on the desire. Unless anyone knows a way to have them active while locked? My power buttons a nightmare as it's not very clicky and really recessed. My wife's hd power button is much easier to use. Anyone know a way to have the soft keys active all the time?
Sent from my Desire HD using Tapatalk
Thanks for this app, i was waiting for.
Power button isn't as practical as your app to power down the phone.
Thank you mate.
Very Nice.... I like it.
But can you please Chance the Icon for me?
Im not able to do this myself.
I would like something like that.
Back and white with a bit gray or shaded would be very nice
Hi,
does it possible to work on unrooted phones?
thx
gervasius said:
Hi,
does it possible to work on unrooted phones?
Click to expand...
Click to collapse
No, only rooted. Su permission requried :-(
Korny89 said:
But can you please Chance the Icon for me
Click to expand...
Click to collapse
I can, but i'm need final icon in resolution 72x72px, can you draw it?
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
r0cky0790 said:
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
Click to expand...
Click to collapse
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
pinn___________ said:
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
Click to expand...
Click to collapse
Lol, maybe I didn't want the technical version after all. Dumb it down so I can understand. I'm have it installed but I don't see it doing anything. I have an Evo. How does this work (explain normal).
r0cky.Da.3v0.SU.
Its just a app to lock the phone and turn the screen off. Not sure if it works on evo
Ok thanks buddy, Uninstalling.
r0cky.Da.3v0.SU.
Dunno if this is doable but have you seen the screen lock on the new nexus that was seen at recent web 2.0 summit. Its kinda like the effect you get when u turn off an old crt TV. Could you implement that instead of the current fade effect? Ta
here i send you the perfect icon for me.
I hope you can do this. This would be very great.
Can you make the white corners transparent?
If you cant please make it black...
Im looking forward to you work
Korny89 said:
here i send you the perfect icon for me.
Click to expand...
Click to collapse
Done.
Look first post for update.
Hello, thanks a lot. its look very very sexy.
The only problem i have is with the "More Icons Widget"
That shows me the old symbol.
I think thats not you Problem. So i will check that.
thanks!
Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again.
Sent from my Desire HD using XDA App
"Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again."
i also agree ! that would be a perfect app and since most people do not check their sms upside down it would also be extremely practical
+1
Benjyk said:
I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down)
Click to expand...
Click to collapse
I'm busy now, but will look for your feature request in few days. Most of everything is possible
For those that would like some onscreen softkeys that you can even see in the dark.
http://forum.xda-developers.com/showthread.php?t=865525
I have been using this little utility on my Android HD2 for a while now and figured I would give it a shot on my Gtab. Works Great! Merry Christmas to All!
[UPDATE Dec 30th 2010]
This great utility is now on the Android Market. Install it from there and you will get prompts for updates when they are released. I had an update yesterday that added a couple of skins and a few new features. It also has a new settings interface and it still works great on the G-Tab!
Sent from my VEGAn-TAB-v1.0.0b3 using Tapatalk
Work great.
thanks.
Awesome find!
great find..... I wish we could now disable the buttons on the side that are so annoying when you hit them accidentaly
insight3fl said:
great find..... I wish we could not disable the buttons on the side that are so annoying when you hit them accidentaly
Click to expand...
Click to collapse
Was thinking of trying to find a way to disable the right side hardware buttons myself. They are fine until you are trying to reposition the tablet and accidentally press one. Or lose your grip and are grasping for purchase and press one then. Very annoying for sure.
Great find. Whose up for doing a YouTube review?
Scott
cscotty said:
Great find. Whose up for doing a YouTube review?
Scott
Click to expand...
Click to collapse
Would do one myself but have no dock or easel at this time that would provide the necessary stability for video purposes.
Sent from my VEGAn-TAB-v1.0.0b3 using Tapatalk
Neat app I like it. I put 4 very tiny adhesive dots on the side of the case so I know where everything is at night. This app works too though
TeamSpeed said:
Neat app I like it. I put 4 very tiny adhesive dots on the side of the case so I know where everything is at night. This app works too though
Click to expand...
Click to collapse
Some nice little glow in the dark dots would be nice. I wonder if something like that would affect the responsiveness of the buttons? Maybe the dude from AndroidStickers.com can give us some input here?
BTW, this app has been updated and is now on the Android Market. Check the OP for more info.
hitekredneck said:
Some nice little glow in the dark dots would be nice. I wonder if something like that would affect the responsiveness of the buttons? Maybe the dude from AndroidStickers.com can give us some input here?
BTW, this app has been updated and is now on the Android Market. Check the OP for more info.
Click to expand...
Click to collapse
Did a quick market search for button savior and got nadda. What's It called there?
Allenfx said:
Did a quick market search for button savior and got nadda. What's It called there?
Click to expand...
Click to collapse
It shows up in market for me. Have you done the market fix (clear cache, etc.)? It's exactly as spelled above.
Jim
hitekredneck said:
Some nice little glow in the dark dots would be nice. I wonder if something like that would affect the responsiveness of the buttons? Maybe the dude from AndroidStickers.com can give us some input here?
BTW, this app has been updated and is now on the Android Market. Check the OP for more info.
Click to expand...
Click to collapse
I have tried fluorescent reinforcement stickers, but you can not see them that well in total darkness. As far as disabling the keys you have to cover them with something thick like leather or many layers of paper. I tried sticky notes.... several layers of them but they still pick up your touch
this app is a lifesavor! Streaming vids crash alot due to that damn cooliris.com gallery association. Button Savior is the only escape when gallery decides FC.
Sent using Tapatalk
I might be way off, but I saw an app in the market called Button Remapper. I haven't had a chance to dig into it, but it looks like it's able to remap the soft keys on the bezel. I don't know if they can be remapped to null or an empty command, but at the least maybe they can be remapped to something that doesn't do much (like dpad up/down/left/right or something).
If I get a chance to play with it, I'll report back. Of course, anybody who beats me to it is encouraged to post their results.
EDIT:
Hey, it worked. I decided to jump into it and try it out. I basically just popped in and replaced any buttons that were soft buttons (search/home/menu/back) with DPAD buttons. I don't know if changing every reference is required or if there are better options than using DPAD buttons, but it's a start.
EDIT AGAIN:
DPAD worked fine but I kept accidentally selecting links and whatnot in the browser. I tried End Call, since we don't have phone capability, but it seemed to just close whatever app I was in. Ended up binding Back/Menu to Volume Down and Search/Home to Volume Up, which is working well.
EDIT AGAIN AGAIN:
Even better, Focus seems to not do anything at all (obviously), unless in an app that uses the camera's focus. Don't know how I didn't notice that. Now to train myself to never use the soft keys!
reynwrap582 said:
I might be way off, but I saw an app in the market called Button Remapper. I haven't had a chance to dig into it, but it looks like it's able to remap the soft keys on the bezel. I don't know if they can be remapped to null or an empty command, but at the least maybe they can be remapped to something that doesn't do much (like dpad up/down/left/right or something).
If I get a chance to play with it, I'll report back. Of course, anybody who beats me to it is encouraged to post their results.
EDIT:
Hey, it worked. I decided to jump into it and try it out. I basically just popped in and replaced any buttons that were soft buttons (search/home/menu/back) with DPAD buttons. I don't know if changing every reference is required or if there are better options than using DPAD buttons, but it's a start.
EDIT AGAIN:
DPAD worked fine but I kept accidentally selecting links and whatnot in the browser. I tried End Call, since we don't have phone capability, but it seemed to just close whatever app I was in. Ended up binding Back/Menu to Volume Down and Search/Home to Volume Up, which is working well.
EDIT AGAIN AGAIN:
Even better, Focus seems to not do anything at all (obviously), unless in an app that uses the camera's focus. Don't know how I didn't notice that. Now to train myself to never use the soft keys!
Click to expand...
Click to collapse
How easy is it to revert back to stock button action? Or do you turn this function ON each time you boot and then run this program?
At each bootup there's a notification item that you can select to restore to your defaults, which you can clear until the next restart, in case something gets borked.
I have 4 very small black metal "nail covers" that I superglued directly on the side next to each soft button. Now I just feel the button with my index finger and use the side of my thumb to press the screen next to it, works great in the dark, better than the adhesive pads I had. Very small and black and low profile...
reynwrap582 said:
At each bootup there's a notification item that you can select to restore to your defaults, which you can clear until the next restart, in case something gets borked.
Click to expand...
Click to collapse
I am running tnt lite 3.1.4 and just downloaded button remapper. It loaded, but when I went to run it it FC and never let me set any buttons. Now each time I run it it FC.
What rom are you on?
Thanks
EDIT:Working fine for me now. Don't use galaxy tab version. Download standard.
reynwrap582 said:
I might be way off, but I saw an app in the market called Button Remapper. I haven't had a chance to dig into it, but it looks like it's able to remap the soft keys on the bezel. I don't know if they can be remapped to null or an empty command, but at the least maybe they can be remapped to something that doesn't do much (like dpad up/down/left/right or something).
If I get a chance to play with it, I'll report back. Of course, anybody who beats me to it is encouraged to post their results.
EDIT:
Hey, it worked. I decided to jump into it and try it out. I basically just popped in and replaced any buttons that were soft buttons (search/home/menu/back) with DPAD buttons. I don't know if changing every reference is required or if there are better options than using DPAD buttons, but it's a start.
EDIT AGAIN:
DPAD worked fine but I kept accidentally selecting links and whatnot in the browser. I tried End Call, since we don't have phone capability, but it seemed to just close whatever app I was in. Ended up binding Back/Menu to Volume Down and Search/Home to Volume Up, which is working well.
EDIT AGAIN AGAIN:
Even better, Focus seems to not do anything at all (obviously), unless in an app that uses the camera's focus. Don't know how I didn't notice that. Now to train myself to never use the soft keys!
Click to expand...
Click to collapse
is button remapper free?
I'm on Vegan B3.
ButtonRemapper is US$1.03
This would be nice for the xoom something small with color, size, and theme customization. I would do it, but I've never made an application before.
nevermind i just found volume widget and its tablet friendly
Which one are you using? I searched "volume widget" and came up with a lot of results.
Thanks!
Stupid design of Software, I found very difficult to control the volume, 2 hard buttons are not enough, motorola~!!!!!
ITKingdom said:
Stupid design of Software, I found very difficult to control the volume, 2 hard buttons are not enough, motorola~!!!!!
Click to expand...
Click to collapse
I love my xoom to death but i wish they would have work hard on this the first time instead of trying to destroy the ipad so quick. If they took time and got everything together they could have blown the ipad out of the water. lol
xoom, xooom
I love how you can tap one of the hard volume buttons and then drag the volume up and down on the screen.
You do realise, once you tap a hard volume button, you can "grab" the on screen volume and slide with your finger to control the volume...
It would be nice if someone would theme it for us...
volume control widget is what I'm using its not that great. I'm actually looking more for something that maybe is in the lower notification bar always there. Root is probably gonna be required for this mod.
l5cygx said:
I love how you can tap one of the hard volume buttons and then drag the volume up and down on the screen.
You do realise, once you tap a hard volume button, you can "grab" the on screen volume and slide with your finger to control the volume...
It would be nice if someone would theme it for us...
Click to expand...
Click to collapse
yeah I noticed the on screen drag after the hardware button is pressed. I also found another volume widget that you could touch and it would bring up the stock on screen volume control for you to drag
flippingout said:
Which one are you using? I searched "volume widget" and came up with a lot of results.
Thanks!
Click to expand...
Click to collapse
Try app brain i found it there
l5cygx said:
I love how you can tap one of the hard volume buttons and then drag the volume up and down on the screen.
You do realise, once you tap a hard volume button, you can "grab" the on screen volume and slide with your finger to control the volume...
It would be nice if someone would theme it for us...
Click to expand...
Click to collapse
Thanks! I never tried it before although it is so obvious!
[sent with Xooming Android technology]
Try this
https://market.android.com/details?id=com.simha&feature=order_history
will give you small icon close to notification bar and you can click on it to adjust the volume
Regards,
Alfahmad said:
Try this
https://market.android.com/details?id=com.simha&feature=order_history
will give you small icon close to notification bar and you can click on it to adjust the volume
Regards,
Click to expand...
Click to collapse
Link not working...
Evo Better Than The Best...
lokko21 said:
Link not working...
Click to expand...
Click to collapse
Worked for me...
Alfahmad said:
Try this
https://market.android.com/details?id=com.simha&feature=order_history
will give you small icon close to notification bar and you can click on it to adjust the volume
Regards,
Click to expand...
Click to collapse
Aaaah! Very nice, thanks bro! ill try this out..
funnycreature said:
Worked for me...
Click to expand...
Click to collapse
https://market.android.com/details?id=app-com.simha
hi everyone ..is there a way to switch music using note earphone while playing music??? if yes plz hlp ..if no plzz create it
search for android headset button reassign or something similar. there are apps in the market you can assign different actions for different buttons and clicks (like double or tripple) with.
There's a free Klipsch app on the market to go with their S4A earphones, however the app seems to work other one button headsets as well.
I'm assuming by switch music, you mean skip tracks. If so, you actually can: it's double click of the play/pause button but your timing has to be dead on (a slow full press then an additional click) which is not ideal but easy to get used to once you discover it. You can adjust the timing and functionality using this: https://market.android.com/details?id=com.kober.headset&hl=en
pp_prathap said:
hi everyone ..is there a way to switch music using note earphone while playing music??? if yes plz hlp ..if no plzz create it
Click to expand...
Click to collapse
I'm not sure if he's asking about changing music with the headset controller or the note's volume button (when the headset doesn't have a controller).
Is there an app for the 2nd option?
jayshah said:
I'm assuming by switch music, you mean skip tracks. If so, you actually can: it's double click of the play/pause button but your timing has to be dead on (a slow full press then an additional click) which is not ideal but easy to get used to once you discover it. You can adjust the timing and functionality using this: https://market.android.com/details?id=com.kober.headset&hl=en
Click to expand...
Click to collapse
yes dude u r correct but that needs a little practice as sometimes in the click is note correct it.pauses and then again plays and then pauses bit annoyin but after few clicks u get it