Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,847 Members 53,747 Now Online
XDA Developers Android and Mobile Development Forum

Power button not working

Tip us?
 
farzii
Old
#1  
farzii's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 147
Join Date: Mar 2011
Default Power button not working

Hi all,
The power button of my atrix 2 is not working. I want to renap it to camera button, with sane fuctionality. I have tried using button remapper by it doesn't have option for camera button. I have tried searching in forums too but didnt find right answer as they were for other devices and also i want to use the camera button in recovery too. There was some script i came across some time ago but cudnt find it


Please help.

Its urgent
Sent from my MI 3W using XDA Free mobile app
 
رامز
Old
#2  
رامز's Avatar
Senior Member
Thanks Meter 83
Posts: 195
Join Date: Nov 2013
Location: Cairo
Tablet Solved (^_^)

Quote:
Originally Posted by farzii View Post
Hi all,
The power button of my atrix 2 is not working. I want to renap it to camera button, with sane fuctionality. I have tried using button remapper by it doesn't have option for camera button. I have tried searching in forums too but didnt find right answer as they were for other devices and also i want to use the camera button in recovery too. There was some script i came across some time ago but cudnt find it


Please help.

Its urgent
Sent from my MI 3W using XDA Free mobile app
Welcome to A2 section farzii

there is no working method for making camera button to work as a power button, don't waste your time cause I've searched and tried a lot of those mapping methods and Xposed modules....THE ONLY WAY to save your trickle power button is to use volume rocker (buttons) as a power button, they works great and you will even get 2 power buttons (volume UP) and (volume DOWN).

The method is really simple...but first you've to root your A2 (you can search the help forum for HOW TO)

2) install Xposed framework (xposed.installer_v32_de4f0d) is the latest version.
3) install (XposedInstallerStaticBusyBox_v1) if you're on a custom rom.
4) Installation of the framework:
Launch the Xposed Installer, go to the "Framework" section and click on "Install/Update"
Reboot.
5) install xposed additions module (com.spazedog.xposed.additionsgb).
6) now open Xposed and activate xposed additions module.
7) Reboot again.
8) open xposed additions and select "Buttons" then "Add new Key".
9) now press volume up (or down).
10) a new button will be added called volume up (press it and choose "add new condition" then press "Screen off"
11) a new option will appear called "SCREEN OFF no active condition" now press it to choose the condition
12) Now activate the "Click Action" option by pressing its right (check-in) mark then choose it and select "Power Key 26"

voila! you've a new power button

if you want to set the volume down also just do the same above but when prompt to ask for pressing the key just press vol. down

To make it easier for you....all file required are provided in the attachments
لا إله إلا الله...محمد رسول الله

Atrix 2 at&t >>> SlimKat >>> System1 (Main usage)
Sony vivaz >> R.I.P Symbian
The Following 2 Users Say Thank You to رامز For This Useful Post: [ Click to Expand ]
 
farzii
Old
#3  
farzii's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 147
Join Date: Mar 2011
Quote:
Originally Posted by رامز View Post
Welcome to A2 section farzii

there is no working method for making camera button to work as a power button, don't waste your time cause I've searched and tried a lot of those mapping methods and Xposed modules....THE ONLY WAY to save your trickle power button is to use volume rocker (buttons) as a power button, they works great and you will even get 2 power buttons (volume UP) and (volume DOWN).

The method is really simple...but first you've to root your A2 (you can search the help forum for HOW TO)

2) install Xposed framework (xposed.installer_v32_de4f0d) is the latest version.
3) install (XposedInstallerStaticBusyBox_v1) if you're on a custom rom.
4) Installation of the framework:
Launch the Xposed Installer, go to the "Framework" section and click on "Install/Update"
Reboot.
5) install xposed additions module (com.spazedog.xposed.additionsgb).
6) now open Xposed and activate xposed additions module.
7) Reboot again.
8) open xposed additions and select "Buttons" then "Add new Key".
9) now press volume up (or down).
10) a new button will be added called volume up (press it and choose "add new condition" then press "Screen off"
11) a new option will appear called "SCREEN OFF no active condition" now press it to choose the condition
12) Now activate the "Click Action" option by pressing its right (check-in) mark then choose it and select "Power Key 26"

voila! you've a new power button

if you want to set the volume down also just do the same above but when prompt to ask for pressing the key just press vol. down

To make it easier for you....all file required are provided in the attachments

Thanks for your help.

I m sorry,but i have already tried this.Through this method i can only lock or wake up the screen.WHat i m looking for is power off anfd power on the device with camera or any other key.
 
رامز
Old
#4  
رامز's Avatar
Senior Member
Thanks Meter 83
Posts: 195
Join Date: Nov 2013
Location: Cairo
Quote:
Originally Posted by farzii View Post
Thanks for your help.

I m sorry,but i have already tried this.Through this method i can only lock or wake up the screen.WHat i m looking for is power off anfd power on the device with camera or any other key.
hmmm...you can power off the device using "power dialog" shortcut in the status bar in 4.4 kitkat roms but while phone is off it's technically impossible to set another button to power on the device as power button is the only button connected to the power circuit inside the phone.
لا إله إلا الله...محمد رسول الله

Atrix 2 at&t >>> SlimKat >>> System1 (Main usage)
Sony vivaz >> R.I.P Symbian
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes