[Q] Camera Button is acting as power button - Cyanogenmod 10.1 - Sony Xperia T, TL, TX, V

I have installed the stable release of Cyanogenmod 10.1 recently on my Xperia T but one thing really annoys me.
The camera button is acting as the power button. If you touch the camera button with only a half press the phone awakes.
So when you have the phone in your pocket it starts calling, is sending messages or is selecting/entering stuff on the lock-screen widgets for example.
Is there a way to disable the camera button as power button in Cyanogenmod 10.1?

windvanger said:
I have installed the stable release of Cyanogenmod 10.1 recently on my Xperia T but one thing really annoys me.
The camera button is acting as the power button. If you touch the camera button with only a half press the phone awakes.
So when you have the phone in your pocket it starts calling, is sending messages or is selecting/entering stuff on the lock-screen widgets for example.
Is there a way to disable the camera button as power button in Cyanogenmod 10.1?
Click to expand...
Click to collapse
There is a fix for this in CM10.1 thread at Original Development. Search for "camera" keyword.

thedisturbedone said:
There is a fix for this in CM10.1 thread at Original Development. Search for "camera" keyword.
Click to expand...
Click to collapse
Thanks, but can you give me a link to the thread or post?
I have searched the forum but can't find a solution on this one.
Only to disable the camera on the lock-screen with the app: Lockscreen policy.

windvanger said:
Thanks, but can you give me a link to the thread or post?
I have searched the forum but can't find a solution on this one.
Only to disable the camera on the lock-screen with the app: Lockscreen policy.
Click to expand...
Click to collapse
Here you go lazy person
http://forum.xda-developers.com/showthread.php?p=43159436&highlight=camera#post43159436
Read that page

thedisturbedone said:
Here you go lazy person
http://forum.xda-developers.com/showthread.php?p=43159436&highlight=camera#post43159436
Read that page
Click to expand...
Click to collapse
Thank you!
This lazy person is satisfied!

Related

[THINK TANK] Remap Power/Lock to Camera Functions & Remove Low Battery Limitations

[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.

[Q] Working screen capture app for CM7

does anyone have any success with this? I've read in other device forums that the only way to screen capture in CM7 is with DDMS, true? I used screenshot with NOVA but both it and drocap just give a black image. Hard to believe something so simple cannot be done.
I don't have any problem using the CM7 build in screenshot functionnality
quyTam said:
I don't have any problem using the CM7 build in screenshot functionnality
Click to expand...
Click to collapse
are you using one of the 2 apps i mentioned, or something else?
no, "built-in" screenshot (with the menu when long press power button)
Only click the power button
ok, i am a COMPLETE and utter idiot, thanks!
actually CM7 already has a "printscreen" doesn't it? just press power button for about 2~3 secs and theres the option, or pressing power+home is the same as stock rom
first one...

[Q] Longpress Home Google Now changeable ?

Sup,
When you longpress the Home button you can swipe it up to the Google Now.
I don't really like this Google Now. It would be way better if you could start any App via Home button. i.e Camera.
So does anyone know of a fix/hack/mod to change Google now ?
Haldi4803 said:
Sup,
When you longpress the Home button you can swipe it up to the Google Now.
I don't really like this Google Now. It would be way better if you could start any App via Home button. i.e Camera.
So does anyone know of a fix/hack/mod to change Google now ?
Click to expand...
Click to collapse
but thr s not longpress on home button it s just swipe up from everywhr on bottom bar
and i don think on stock rom maybe u can change it by custom rom like CM
check feature of CM10.1 for xperia Z
http://www.xperiablog.net/2013/03/05/cyanogenmod-10-1-now-available-for-xperia-z/
You're right. But Longpress also works ^^
Ah well, I'll wait for official 4.2 and switch toa custom ROM then.
Hey @Haldi4803
I suggest you take a look at the excellent Slide Launcher which allows for launching multiple custom actions, including camera app, quicktext a contact, etc.
If all you want is launch a single app, no question asked, you may use Home Button Launcher
that looks awesome! Thx dude!

CM10.2 hardware buttons swipe

I've just installed cyanogenmod 10.1.3 RC2 and i've got this annoying thing that every time i swipe up my home button the recent apps menu appears and when i swipe up the menu button google now appears, so is there any way to disable this thing?
soudy1994 said:
I've just installed cyanogenmod 10.1.3 RC2 and i've got this annoying thing that every time i swipe up my home button the recent apps menu appears and when i swipe up the menu button google now appears, so is there any way to disable this thing?
Click to expand...
Click to collapse
Search please before asking simple questions.
SimonTS said:
Search please before asking simple questions.
Click to expand...
Click to collapse
I already searched for like half an hour and i didn't find any solution, maybe i'm not so good at searching so if you know how to fix this or a thread that says how just share it
soudy1994 said:
I already searched for like half an hour and i didn't find any solution, maybe i'm not so good at searching so if you know how to fix this or a thread that says how just share it
Click to expand...
Click to collapse
That's because of long press of settings button (the right one). It's triggered as Search button, you have to disable it in settings.
Maczuga said:
That's because of long press of settings button (the right one). It's triggered as Search button, you have to disable it in settings.
Click to expand...
Click to collapse
i did try this, but it won't fix the recent apps problem
Is it only me who have this problem?? When i click on the home button and swipe up the recent apps appears and it's really annoying
Sent from my LG-P880 using xda app-developers app

Xiaomi Mi5 CM Button reassignment.

Hi all.
Currently running CM13 Unofficial on my Mi5.
It appears as though my hardware home button on my Mi5 has failed... Hard press does nothing....
This started on my previous ROM 16/09/2016, and continues on my new ROM 22/09/2016.
I strongly suspect this is a hardware issue rather than a software issue...
My question for you guys is how do I reassign buttons? Is it possible to make the right capacitive (currently app switcher) the home button?
Also, my preferred button to use as a home button would be the soft capacitive touch on the fingerprint scanner on the home button so i can retain my app switcher button....
Any help guys is greatly appreciated.
Many thanks in advance.
When Xiaomi releases Kernel Source there will be an option for non physical home button. On rr you can reassign more options to your buttons. Cm does not work on my device.
Greet
brownhound said:
Hi all.
Currently running CM13 Unofficial on my Mi5.
It appears as though my hardware home button on my Mi5 has failed... Hard press does nothing....
This started on my previous ROM 16/09/2016, and continues on my new ROM 22/09/2016.
I strongly suspect this is a hardware issue rather than a software issue...
My question for you guys is how do I reassign buttons? Is it possible to make the right capacitive (currently app switcher) the home button?
Also, my preferred button to use as a home button would be the soft capacitive touch on the fingerprint scanner on the home button so i can retain my app switcher button....
Any help guys is greatly appreciated.
Many thanks in advance.
Click to expand...
Click to collapse
If your home button is broken, then maybe you should enable 'on screen' (software) buttons from Buttons submenu in Settings?
Capacitive touch is not going to work on prebuilt kernel (every ROM so far, wait for CM's big update).
marcoly said:
If your home button is broken, then maybe you should enable 'on screen' (software) buttons from Buttons submenu in Settings?
Capacitive touch is not going to work on prebuilt kernel (every ROM so far, wait for CM's big update).
Click to expand...
Click to collapse
Have done so. Cheers for the suggestion.. I didn't know this option existed!
As for the capacitive buttons not working, I've seen this mentioned a number of times... My capacitive buttons have always worked since flashing CM?
brownhound said:
Have done so. Cheers for the suggestion.. I didn't know this option existed!
As for the capacitive buttons not working, I've seen this mentioned a number of times... My capacitive buttons have always worked since flashing CM?
Click to expand...
Click to collapse
I meant home button back/recent is always working :fingers-crossed:
marcoly said:
I meant home button back/recent is always working :fingers-crossed:
Click to expand...
Click to collapse
Fingerprint scanner has worked without a hitch too!
brownhound said:
Fingerprint scanner has worked without a hitch too!
Click to expand...
Click to collapse
Yeah, fingerprint to unlock and such.. What about touching (not pressing) home button to return to the launcher? That's what everybody wants to have (and waits for proper kernel)
marcoly said:
Yeah, fingerprint to unlock and such.. What about touching (not pressing) home button to return to the launcher? That's what everybody wants to have (and waits for proper kernel)
Click to expand...
Click to collapse
OK... Thats what I don't have...
Thanks for clarification.
Any idea when there's likely to be a build with this baked in?
brownhound said:
OK... Thats what I don't have...
Thanks for clarification.
Any idea when there's likely to be a build with this baked in?
Click to expand...
Click to collapse
Nobody knows.. No ETA

Categories

Resources