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

Help Disable Camera button shortcut?

AndroidHaCks

Android Enthusiast
I'm trying to disable the camera shortcut when you push the camera button, but I can't quite figure it out. I want to disable it because I would like to use a Tasker profile that toggles 3G when I push the camera button, but when I try that now, it does toggle 3G, but it also goes to the camera.
 
I'm trying to disable the camera shortcut when you push the camera button, but I can't quite figure it out. I want to disable it because I would like to use a Tasker profile that toggles 3G when I push the camera button, but when I try that now, it does toggle 3G, but it also goes to the camera.

In Tasker, go to the preferences, and uncheck "Beginner Mode" in the UI tab. Create a profile based on "Event"->"Hardware"->"Button: Camera". When you select it, an even edit screen pops up. Give it the highest priority and check the "Stop Event" box. This prevents the event from propagating past your "3G toggle" task, so it never reaches the "Bring up the camera" command. Then obviously just assign it to the "3G toggle" task.
 
Here's what worked for me (Motorola Razr i / Android 4.1.2):

1. Root is required
2. Install Root Browser
3. Open the Root Browser and go to the folder /system/usr/keylayout/
4. Open, one by one, all ".kl" files with the Root Browser editor and place a hash symbol (#) at the start of the lines where the word "CAMERA" appears. Example: the text "key 212 CAMERA" becomes "#key 212 CAMERA".
5. Restart your device

I hope it works for you.
 
Back
Top Bottom