• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Camera reboot issue CM 10.1

Is there anyway to have an app or such kill the camera process when the lock button is pressed? If I'm using snap chat and forget to close it out I get a reboot cause of the camera running.

Sent from my VS920 4G
 
Is there anyway to have an app or such kill the camera process when the lock button is pressed? If I'm using snap chat and forget to close it out I get a reboot cause of the camera running.

Sent from my VS920 4G


What lock button? This phone has no such button.

If you're talking about some sort of shortcut... You could likely just make a shell script of sorts, use an app that will run/execute scripts automatically. Create a script that will do a ps, grep the process name that you're looking for. Then kill that pid, followed by locking the phone via command line (if that's even an option.... I can't imagine busybox doesnt have a command for it though)
 
The power button. When it is used to turn off the display and the camera is on the phone reboots. Has happened on all 4.2 roms for VS920. I read it was a yet to be solved kernel bug. I'm just looking to see if a script could be set to run when the display shuts off or power button pressed
Preferably the latter. I'm just not savvy enough to know how... my attempts using tasker for the purpose have failed.

Sent from my VS920 4G
 
Oh, yeah... If Im not mistaken that's some sort of driver related issue.

TBH the only way you *might* be able to do something about that... is to hook the power button event/intent in an app kill the foreground app, then lock/turn off the screen or return to the original event.

Though, that's a bit more complicated than my example.

You could try to do like the previous person suggested and setup a tasker profile to do something similar. Though you wouldnt be able to use the power button. You'd have to likely setup some gesture (shaking/whiping the phone for example)
 
Hmm.. not a good solution either way. I have formed a habit of using the power button.
Any resources/info that can be a pointed to for the more complicated method? Research and playing around doesn't bother me much.

Sent from my VS920 4G
 
Back
Top Bottom