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.
Okay to start off I love my nexus one and would not buy an iphone so all the android fanboys don't jump on my case. But there are some software aspects of the iphone that i like. For instance I like the way messages show up on the lockscreen on the iphone and the iphones multi-tasking. I was wondering if it would be possible to implement the iphone style of multi-tasking into the nexus one. Basically the trackball can still be used for selection and all that good stuff if you even do that, but if you double tap it at a selectable speed it would open recent apps. Or even go further to make the scroll bar that the iphone has. Give me some response on this, tell me what you guys think.
what is this...i dont even?
what is your question? I want to somehow have a setting in the nexus one where if you double tap the trackball it will open up recent apps and possibly implement an iphone like scroll bar at the bottom.
Sorry for asking but.... Are you sure you know how to use your Nexus ?
yes i know how to hold the home button... lol
jakeneal22 said:
yes i know how to hold the home button... lol
Click to expand...
Click to collapse
and? why would you want to double tap your trackball? you know iphone do that because they only have one button right?
also it would create huge issues for selection with trackball...
Let's say while wanting to double tap the trackball for multitasking, you had something selected, the first click should theoretically open that app/link directly...if we implement such feature, people that actually use the trackball for opening stuff will have delays, which sucks massively.
All in all, this idea is awful. You can make the number of recent apps higher in Cyanogen, do that and you won't need the scrolling bar of the iPhone...
If you want to double tap something, download QuickDesk PRO and set it to open on double tap of home key. It has a 'QuickPanel' feature that shows recent apps and its a fantastic piece of sofware.
For the messages on lockscreen.. download WidgetLocker and place Pure Messenger Widget on the lockscreen..
chompSMS does this lockscreen "thing", and even allows you to reply to them without unlocking, if you so wish, and relocks after.
For double-tap home, there's literally loads of multitasker apps that can do that, even offering "coverflow" style switching between apps...
Itching thumb is another good task switcher. nice looking graphics and gesture support.
Use HandcentSMS to replicate that better than Iphone experience
just get an iphone.
then you can try that, and maybe you'll go back to the nexus one, maybe not.
moomooshrooms said:
just get an iphone.
then you can try that, and maybe you'll go back to the nexus one, maybe not.
Click to expand...
Click to collapse
Nice first post
OP, the reason double tap is a feature on iPhones is because of the lack of buttons. Steve only likes to push is customer's buttons, not his phone's
(horrible, I know lol)
ccunningham83 said:
Itching thumb is another good task switcher. nice looking graphics and gesture support.
Click to expand...
Click to collapse
Thanks, The video below looks great.
http://www.androidpolice.com/2010/1...amazing-free-task-switcher-you-want-this-now/
http://www.appbrain.com/app/itching-thumb-(task-manager)/com.bw.flipit
http://www.androlib.com/android.application.com-bw-flipit-jDFBF.aspx
Unfortunately it does not seem to work with CM61/ADW, only see 1-3 apps. Also the 'styles' preference is disabled.
wow lots of activity just got out philosophy class so its alil hard to comprehend all of it but, I am gonna try the lockscreen thing and the double tap the home button sounds really good. The thing that i got annoyed with holding the home button is that sometimes it will accidentally go to the home screen. LOL I don't want the iphone... my mom, step-dad, and roommate all have them lol. Android is where its at. With all these customizations you guys have told me about I am satisfied.
if you hold "home" button the last used apps would appear and that also means those apps would open faster which leads you again multi tasking. ok, I admit that's not a user-friendly way to access the apps but theyre going to fix alotof stuff like that in gingerbread.
There's also a program called Smart Taskbar. I didn't like it, but perhaps someone else will..
http://www.appbrain.com/app/smart-taskbar-(sidebar)/com.smart.taskbar
have you thought about running miui for rom?
I do. I am on rods 11.9
Sent from my Nexus One using Tapatalk
I own a Sansa Fuse+ and I wondered if anyone was working on a new rom for it, or if anyone could. As is the UI is decent but it's hard and time consuming to scroll through a couple thousand songs. If someone could make the volume up and down (the only physical switches) alternate between volume and a up and down scroll switch, that would be awesome, maybe a quick press on the power switch to activate and a quick press to deactivate, also adding more bands to the adjustable equalizer would be super helpful.
prestige777 said:
I own a Sansa Fuse+ and I wondered if anyone was working on a new rom for it, or if anyone could. As is the UI is decent but it's hard and time consuming to scroll through a couple thousand songs. If someone could make the volume up and down (the only physical switches) alternate between volume and a up and down scroll switch, that would be awesome, maybe a quick press on the power switch to activate and a quick press to deactivate, also adding more bands to the adjustable equalizer would be super helpful.
Click to expand...
Click to collapse
I think you should tell Sandisk that and hopefully they will update your OS
prestige777 said:
I own a Sansa Fuse+ and I wondered if anyone was working on a new rom for it, or if anyone could. As is the UI is decent but it's hard and time consuming to scroll through a couple thousand songs. If someone could make the volume up and down (the only physical switches) alternate between volume and a up and down scroll switch, that would be awesome, maybe a quick press on the power switch to activate and a quick press to deactivate, also adding more bands to the adjustable equalizer would be super helpful.
Click to expand...
Click to collapse
Searching doesn't really show any development efforts for that device, but you can request a forum for it here: *** New Device Forum Requests ***
haha
husam666 said:
I think you should tell Sandisk that and hopefully they will update your OS
Click to expand...
Click to collapse
Haha I want someone who knows what they are doing to develop it. If Sansa did it, it would take years to come to fruition at best. The only reason I even bother with it, is because the Fuze+ has a good quality processor and was proven to put out less harmonic distortion then other mp3 players and I am very happy with the clean sound quality.
Guys,
Does anyone know of a way to show the Vanilla Android Soft-Key Menu at the bottom and disable the capacitive buttons?
CISGS said:
Guys,
Does anyone know of a way to show the Vanilla Android Soft-Key Menu at the bottom and disable the capacitive buttons?
Click to expand...
Click to collapse
I actually just wrote up an article about how to disable the capacitive buttons
- http://www.androidexplained.com/galaxy-s6-disable-capacitive-buttons/
and I'm working on one for the software navigation too. I'll edit here with a link when it's published
- http://www.androidexplained.com/galaxy-s6-software-navigation-buttons/
I hope it helps
Enddo said:
I actually just wrote up an article about how to disable the capacitive buttons
- http://www.androidexplained.com/galaxy-s6-disable-capacitive-buttons/
and I'm working on one for the software navigation too. I'll edit here with a link when it's published
- http://www.androidexplained.com/galaxy-s6-software-navigation-buttons/
I hope it helps
Click to expand...
Click to collapse
I am a technical writer and your writing is impressive.
I really appreciate this kind of stuff man (since I do this daily).
CISGS said:
I am a technical writer and your writing is impressive.
I really appreciate this kind of stuff man (since I do this daily).
Click to expand...
Click to collapse
Wow, thanks you're too kind. Hopefully the write-ups will help get you in the direction you were going for.
I'm always looking for feedback and tips/suggestions for new articles so feel free to comment or use the contact form to send an email at any time you think of something
I have done this to all my Samsung phones,,,is there a way to enable the menu softkey as well?
Enddo said:
Wow, thanks you're too kind. Hopefully the write-ups will help get you in the direction you were going for.
I'm always looking for feedback and tips/suggestions for new articles so feel free to comment or use the contact form to send an email at any time you think of something
Click to expand...
Click to collapse
Archangel said:
I have done this to all my Samsung phones,,,is there a way to enable the menu softkey as well?
Click to expand...
Click to collapse
In the Pie Control application, there is a option to set a button as the menu key(it requires root access). So you could create a fourth button in the pie controls app or you could even set one of your pre-set buttons to execute the menu key when a long-press is detected on it
Cool is there a way to show the stock menu softkey without using pie?
Enddo said:
In the Pie Control application, there is a option to set a button as the menu key(it requires root access). So you could create a fourth button in the pie controls app or you could even set one of your pre-set buttons to execute the menu key when a long-press is detected on it
Click to expand...
Click to collapse
Archangel said:
Cool is there a way to show the stock menu softkey without using pie?
Click to expand...
Click to collapse
Oh, I dunno about that. I'll look into it though
Thanks that would be cool!
Enddo said:
Oh, I dunno about that. I'll look into it though
Click to expand...
Click to collapse
Archangel said:
Thanks that would be cool!
Click to expand...
Click to collapse
So far I have only been able to find a solution for this that involves Xposed. Sadly, I don't think it's working on TouchWiz, right?
Yeah I dont think it work yet,,,but hopefully soon. Thanks for looking!
Enddo said:
So far I have only been able to find a solution for this that involves Xposed. Sadly, I don't think it's working on TouchWiz, right?
Click to expand...
Click to collapse
Very nice but.......it makes double tab home button camera to stop working and night clock also gets messed up. Also it makes the phone detect like if there were a magnetic cover on it.
With the new update for S10 you can customize the Bixby butto to open other stuff.
I want to program the button to automatically drag down the notification bar.
Does anyone has an idea how to do that?
@Jawomo
TheJokerArtZ said:
With the new update for S10 you can customize the Bixby butto to open other stuff.
I want to program the button to automatically drag down the notification bar.
Does anyone has an idea how to do that?
Click to expand...
Click to collapse
You can do that with, bxLauncher or if you want more control, with bxActions
Jawomo said:
You can do that with, bxLauncher or if you want more control, with bxActions
Click to expand...
Click to collapse
Ah ok thanks but is there a way to get it working with the native/standard button remap...
TheJokerArtZ said:
Ah ok thanks but is there a way to get it working with the native/standard button remap...
Click to expand...
Click to collapse
I don't have mine in hand just yet but from what I've seen, the app referred above is significantly more superior than the options Samsung gives for the Bixby button.
Outbreak444 said:
I don't have mine in hand just yet but from what I've seen, the app referred above is significantly more superior than the options Samsung gives for the Bixby button.
Click to expand...
Click to collapse
I installed it but its totaly bugged bcs of the new samsung remao function. I deactivated the samsung remap option but still it wont work...
I think you need to check out this thread here:
https://forum.xda-developers.com/galaxy-s10/themes/app-bxactions-remap-bixby-button-single-t3903172
From there, the developer would probably be able to assist you much faster.