Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Power button not working

OP farzii

17th August 2014, 10:46 PM   |  #1  
farzii's Avatar
OP Senior Member
Thanks Meter: 3
 
147 posts
Join Date:Joined: Mar 2011
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
21st August 2014, 09:19 PM   |  #2  
رامز's Avatar
Senior Member
Flag Cairo
Thanks Meter: 89
 
200 posts
Join Date:Joined: Nov 2013
More
Tablet Solved (^_^)
Quote:
Originally Posted by farzii

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
The Following 2 Users Say Thank You to رامز For This Useful Post: [ View ]
22nd August 2014, 06:17 PM   |  #3  
farzii's Avatar
OP Senior Member
Thanks Meter: 3
 
147 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by رامز

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.
23rd August 2014, 07:20 PM   |  #4  
رامز's Avatar
Senior Member
Flag Cairo
Thanks Meter: 89
 
200 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by farzii

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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes