[SOLVED] Is there an app to map a broken power button to another button that does NOT drain battery heavily? - General Questions and Answers

I have an ooold phone, a rooted Xperia E (C1504) from 2013. This is important, because I am limited to using Android 4.1.1 Jelly Bean.
Long story short, the power on button is broken. I pulled it out with pliers because it was malfunctioning to the point of making the phone unusable. I actually use a clip folded so that it touches both ends where the button was soldered and it actually works perfectly fine as a substitute "button". Thing is, it's super inconvenient. I don't wanna take off the lid then put the clip just so the screen turns on so I can change the song playing.
Anyways, is there an app that allows me to turn on/off the screen or map my power button that does NOT heavily drain my battery?
I have tried several suggestions but they either don't do what I want/do it poorly, or are not compatible with jelly bean.
Or better yet, does anyone know of any app that turns ON the screen when connecting 3.5mm earbuds? This is an already included function in many phones so I imagine there should be an app or xposed module that can do that withouth relying on a wakelock running 24/7 draining battery.
Basically I want something that does what "Volume Power" does, the problem with this god tier app is that it drained half my battery on 5 hours of stand-by. It's a shame because it's exactly what I want.
Anyone has any ideas? Thank you
PS. as a side note, if you want to answer, I figured I'd rather ask here than making a thread for something like this.
I have an xperia arc s with a broken screen. If I lift it up of the case in a manner that the flex cables are tense, it works ok with many ghost touches. As soon as I remove what was under it holding it high above the phone case so that it sits normally, the image fades away. Backlight still works, but the image goes away. Only until I pull it up and tense the flex cable is that the image returns. I know the screen is shot, but still, I'm curious, any ideas what happened with it? lol
EDIT. PS.2. Well the problem with the screen I mentioned is that the flex cable was more sensitive than I was accustomed and I damaged, that's about it.
EDIT.
I did find something, and while it may not be a solution for everyone, it was almost exactly what I wanted. First I rooted, then I used Xposed Installer and used Xposed Additions so to be able to map the physical camera button and add "Screen Off" and "Screen On" conditions to it.
The only problem with it is that with a long press instead of showing the power menu (power off, restart) it just opens the camera, as it's supposed to.
I guess you could solve that but it doesn't matter in my case, since the power button switch is soldered directly into my phone's motherboard rather than being a flex cable addition or something, so I just removed the button with pliers and use a sanded paper clip to make a connection between the 2 points where the button was soldered, that way I bring up the power menu and also turn on the phone.
Again, this worked for me because of the way the power button was put on my motherboard and I did this only because the button was completely shot and unusable, like a ruptured appendix. It was turning off and on my phone, also preventing it from turning on and all of this completely at random. If your power button is a flex cable accessory that connects to the main board or is not completely shot like mine, don't do this because it will help nothing, hey, in your case it's probably better because you just replace the power button + volume buttons flex cable for another and you're good to go. You can get it from ebay or buy a 2nd hand phone that is not working (which should be cheap) and use the spares for your own.
Hope this helped someone, someday, anytime.

Related

[Q] Broken Power Button...

I searched the forums for this issue, but seems like no one else has experienced this yet..!? I'm not sure how it happened, but just 2 days ago, my power button stopped responding. In other words, no matter how much pressure I put on it, or how long I hold it, my tablet will not turn on or wake up from sleep..! I'm not even sure how it happened. I just left it near on the floor propped up near my night stand earlier this week and the next morning I noticed I had a tough time turning my tablet on... (However, I did notice before this that sometimes my power button was way too sensitive and would ask if I wanted to power off the tablet, when all I did was press it for a second to put it to sleep. Guess, that was signs of eminent failure?)
And it's definitely a hardware and not a charging problem, since I can make my tablet turn on by removing it from the dock for a few secs and then reconnecting it, but obviously this is not acceptable. And other than that I don't know how else to turn it on...
I bought my tablet from Amazon, so I can't take it back to any store. Has anyone here had this problem before and tried to repair it themselves? Or has anyone at least tried to send their tablets in for repair to ASUS after unlocking the bootloader, rooting and loading a custom ROM? How did that go for you?
Any advice or suggestions would be appreciated.
amazon has a superb return policy - at least here in germany - should be no prob in the US - just call them so they open a RMA for you - or send it to asus directly.
good luck
cheers
power to the button
d0ubl3_d1zzl 3 said:
I searched the forums for this issue, but seems like no one else has experienced this yet..!? I'm not sure how it happened, but just 2 days ago, my power button stopped responding. In other words, no matter how much pressure I put on it, or how long I hold it, my tablet will not turn on or wake up from sleep..! I'm not even sure how it happened. I just left it near on the floor propped up near my night stand earlier this week and the next morning I noticed I had a tough time turning my tablet on... (However, I did notice before this that sometimes my power button was way too sensitive and would ask if I wanted to power off the tablet, when all I did was press it for a second to put it to sleep. Guess, that was signs of eminent failure?)
And it's definitely a hardware and not a charging problem, since I can make my tablet turn on by removing it from the dock for a few secs and then reconnecting it, but obviously this is not acceptable. And other than that I don't know how else to turn it on...
I bought my tablet from Amazon, so I can't take it back to any store. Has anyone here had this problem before and tried to repair it themselves? Or has anyone at least tried to send their tablets in for repair to ASUS after unlocking the bootloader, rooting and loading a custom ROM? How did that go for you?
Any advice or suggestions would be appreciated.
Click to expand...
Click to collapse
My power button was giving me the power off / restart reboot which had been driving me crazy. Took the back off and investigated. The actual power button mechanism is flimsy and not well put together. After attempts with tape, with brief success the reboots returned. Today I looked again and took of the small bit of plastic with the silver button on it and noticed it was not central. Carefully peeled off the silver power button and attached it in the centre. Applied some tape and another piece in the plastic physical button mechanism to help it spring back. The result is my power button feels perfect and no more reboots so far.
Buster99 said:
amazon has a superb return policy - at least here in germany - should be no prob in the US - just call them so they open a RMA for you - or send it to asus directly.
Click to expand...
Click to collapse
jennies said:
..Today I looked again and took of the small bit of plastic with the silver button on it and noticed it was not central. Carefully peeled off the silver power button and attached it in the centre. Applied some tape and another piece in the plastic physical button mechanism to help it spring back. The result is my power button feels perfect and no more reboots so far.
Click to expand...
Click to collapse
Thanks for the input, guys. Glad to hear I'm not the only one and that it seems to be something I can try and fix on my own... I was mostly worried it was well known problem and ASUS wouldn't repair the devices that were tampered with or had unlocked bootloaders, but looks like they may not be thoroughly checking that. And my return window from Amazon expired in late June, so I figured it wasn't worth going through them anymore, but I've never had to that before, so I'm not sure...
jennies said:
My power button was giving me the power off / restart reboot which had been driving me crazy. Took the back off and investigated. The actual power button mechanism is flimsy and not well put together. After attempts with tape, with brief success the reboots returned. Today I looked again and took of the small bit of plastic with the silver button on it and noticed it was not central. Carefully peeled off the silver power button and attached it in the centre. Applied some tape and another piece in the plastic physical button mechanism to help it spring back. The result is my power button feels perfect and no more reboots so far.
Click to expand...
Click to collapse
What kind of tape did you use?
Got the Power Button Working...
trevor7428 said:
What kind of tape did you use?
Click to expand...
Click to collapse
I just pulled off the back (it has pressure pins, so i just use my nails, 'bcuz i don't have the plastic tool..), the Power Button is a 'lil switch, the top metallic part is held to the bottom part by a transparent piece of tape, if its not centered, just carefully remove it and place in the center.. If it the tape have enough glue to hold it back, You can use to same piece of tape to hold it back together.. If not, You can use a standard hmm (don't remember the name..) transparent tape to do the job... Hopefully the button keeps in place for while....

Power button hardware issue!

Haven't seen this one anywhere here on XDA yet, but I did find one other person through google that has my same issue. So, here is the problem, when you slightly press on the screen just below where the power button is, either the screen turns off or the power menu comes up. This just happens to be exactly where I put my thumb when holding the tablet, so I constantly get the power menu or turn off the screen on accident. This is an extremely frustrating problem, it happens non-stop right now. I've also noticed that the power button itself is messed up too, in that I don't even have to push it. If i just barely touch it with my finger it turns off the screen, it's like the button is stuck. Of course, I have already unlocked so getting a warranty replacement is out of the question. Just wanted to put this problem out there so other people know about it.
PS. anyone know of an app that will disable the power button? If not, I guess I'll open it up can physically disconnect it or something, just make sure it never gets turned off!, lol
How would you implement it?
j21blackjack said:
Haven't seen this one anywhere here on XDA yet, but I did find one other person through google that has my same issue. So, here is the problem, when you slightly press on the screen just below where the power button is, either the screen turns off or the power menu comes up. This just happens to be exactly where I put my thumb when holding the tablet, so I constantly get the power menu or turn off the screen on accident. This is an extremely frustrating problem, it happens non-stop right now. I've also noticed that the power button itself is messed up too, in that I don't even have to push it. If i just barely touch it with my finger it turns off the screen, it's like the button is stuck. Of course, I have already unlocked so getting a warranty replacement is out of the question. Just wanted to put this problem out there so other people know about it.
PS. anyone know of an app that will disable the power button? If not, I guess I'll open it up can physically disconnect it or something, just make sure it never gets turned off!, lol
Click to expand...
Click to collapse
how are you going to turn it on/off if you disable that button?
Well, I seem to have fixed it for now. The power button is actually three pieces, the plastic button, a small sticker with a tiny piece of foil on it, and a tiny contactor on the circuit board. The button pushes down on the foil, and this connects the two piece contact on the circuit board together to complete the circuit. It looks like the piece with the foil was too tight over the contact on the board, so anytime any pressure was put on it in the area of the power button, it would make the connection. I simply pulled the foil piece off (the sticker), and stuck it back on, but more loosely than before. For now everything works correctly with no accidental power button pushes. However, all the little plastic tabs that hold the back on the tablet are apparently one time use, because they are all broken now, and the back is barely hanging on. Guess it's time to find a case that I can use with the dock so I don't lose the back off this thing!
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Good fix, perhaps some glue?
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

S6 faulty bad/power button?

I have a verizon s6
The Volume buttons work, Home button works, but the power button does not seem to not be working
I plug the phone into charger and it shows 99%. When the battery charging animation display turns off after a few seconds, I can wake the phone up with either of the volume keys and home keys, but the power button will not wake the phone up.
If its something hardware (mobo/mainboard) How is the battery charging animation display being executed?
I have disassembled it now. Water damage, corrosion on contacts. I cleaned them, but still not working.
How can I test the logic board? Or try to power it on without the power button? If the charging battery animation shows, does this mean the logic board is working or not?
I don't really know hardware at all, but I do know Samsung considers water damage Beyond Economical Repair.
Something is interfering with the power button or the way it's detected by the device....but what that means as far as the mobo....I have no idea.
Ok, I looked closely at the board and looked for the contacts points that the physical buttons were going to.
Pulling from my automotive wiring experience, I tinkered/brainstormed around for a little bit....then I got a little piece of aluminum foil and "jumped" the two contacts points......and whattaya know...SAMSUNG GALAXY S6 POWERED BY ANDROID!!
So now I have to figure out how to get this working with the phone fully assembled.....
Problem solved (AFAIK)
I placed a piece of foil physically in-between the power button ribbon cable contact pad and the contact point on the logic board.
Working as normal. Now I can uninstall these "power button to volume rocker" apps and re-seal the backglass/cover.
I bought this phone on a whim that I could repair it.....money well spent
Ah! it was a project phone. Congratulations!
Indeed, was advertised as "water damaged", but as soon as I seen that it would show the battery charging animation..... I knew there was potential.....Now I guess its time to lay my G2 to rest (IMO one of the best phones of the recent-gen years)

Nexus 5 stuck on turn off , turn on

So I have been using nexus 5 from the start and a few months ago the phone started showing some weird signs.
It was shutting down every time I used the power button and if I tried to turn it on it would turn back off.
So I remapped the volume button as a power on and power off and even installed a custom ROM. It was all working perfectly , I was using volume button to turn on the screen. Sometimes I even used power button for screenshot and no problem.
But yesterday my phone just gave up one me.
It will go up to the google screen and then just stay there .
So I thought it was because of the aosp ROM so I managed to go into twrp recovery , wiped everything including system and flashed the stock image of marshmallow .
It did turn on and reached till the setup and page and then again turned off.
So now sometimes it does turn on goes to google screen and then shuts down.
I am able to go into bootloader mode by pressing volume down and power button .
But the damn phone won't go past google screen
Sometimes it does then it again turns off.
Does anyone knows what is happening?
Ive Been having same problem. Couldnt access factory reset Via recovery says only "No command".
You need to replace your power button it is a known problem for many N5 users
George35000vr said:
You need to replace your power button it is a known problem for many N5 users
Click to expand...
Click to collapse
I did open up my phone and cleaned it but it didn't work.
Are u sure about that?
I read somewhere on reddit that because of not using the nexus charging cable sometimes the boot ic gets damaged. Can that be the case?
It's the switch. Very common problem, I recently bought a 5-pack of the switches and replaced the one on my wife's phone.
How did you clean it? Did you use a bit of spray solvent in it (there are YouTube videos on this). Cleaning with solvent also did not work for me.
If you don't have the tools + experience needed, DO NOT TRY TO REPLACE THE SWITCH YOURSELF! The switch is smaller than a grain of rice and you can damage the phone.
It took me three tries - one of them I dropped the switch and lost it, one I bodged the soldering and had to remove the new item. My soldering iron is not the greatest but at least it has temperature control and I have multiple tips for it. The ground plane of the board that the switch solders to wicks a lot of heat and that makes it hard to get the old one off, the tiny through holes are very hard to clear.
So I suggest that you will need someone who has experience and the correct tools for soldering surface mount components for this job.
ModemJunki said:
It's the switch. Very common problem, I recently bought a 5-pack of the switches and replaced the one on my wife's phone.
How did you clean it? Did you use a bit of spray solvent in it (there are YouTube videos on this). Cleaning with solvent also did not work for me.
If you don't have the tools + experience needed, DO NOT TRY TO REPLACE THE SWITCH YOURSELF! The switch is smaller than a grain of rice and you can damage the phone.
It took me three tries - one of them I dropped the switch and lost it, one I bodged the soldering and had to remove the new item. My soldering iron is not the greatest but at least it has temperature control and I have multiple tips for it. The ground plane of the board that the switch solders to wicks a lot of heat and that makes it hard to get the old one off, the tiny through holes are very hard to clear.
So I suggest that you will need someone who has experience and the correct tools for soldering surface mount components for this job.
Click to expand...
Click to collapse
Okay thanks . I will try finding a repair shop.

S7 Restarts only in safe mode

To start, I bought this phone used a few months ago. I'm traveling, my other phone was old and the camera was broken, and I wanted something that wouldn't be bricked if I fell into a river while hiking (it happened in the past; the current was faster and the river deeper than I anticipated). Anyways, so I got this S7 and the only issue seemed to be that the volume down key was a bit... off.
A few days ago, I went for a hike in here in the south of Spain, in the seemingly only place with some water... and... only thinking about the phone's supposed water-resistance, I went under a waterfall with it to take some video. It worked (although somewhat glitchy), then it displayed the volume mini-screen on the display as if I had pressed one of the volume buttons (I hadn't), and then it restarted. Into safe mode...
Since then, everything else besides the volume has worked without any flaw. I can use every other feature of the phone, but if I restart it, it ALWAYS starts into safe mode. Using the diagnostics screen (*#0*#), neither of the volume keys registers. I thought perhaps the volume down key was stuck as when I press the home and power buttons (without touching vol down), it takes a screenshot. So I took the back cover off and checked it.
The initially dodgy vol down button was a result of the previous owner breaking something and having the back cover taken off to fix it. They had reglued (rather than using the standard adhesive strip) the cover on and the glue had gotten into button's allocated space. Their shoddy gluing job was also the reason why water was able to enter so easily when I went under the waterfall... Anyways, I cleaned their glue out and detached the flex cable for the volume buttons. With no change. The phone still starts into safe mode and the screenshot is still taken without any need for the volume key.
My last thought was that if I hold the power and home key during startup, then maybe I can use the same process as a screenshot to get into download mode. Turns out I cannot...
---------------------
So, backstory and details aside, does anyone have any previous experiences like this? Could it, in fact, be the power buttons (I initially thought so, but the lack of change when detached makes me think otherwise)? Or did the water that seeped in maybe affect the motherboard and is there a place/method by which I could check this?
Any help on the issue would be greatly appreciated as I'm rather stumped at the moment.

Categories

Resources