[Q] Is it possible to flash a rom without a functional power button? - Nexus S Q&A, Help & Troubleshooting

I'm currently on CM 7.1 using the volume button to unlock the phone. I want to try out the ICS port but I have no way of getting into recovery in order to flash it....Is there some way I could flash a rom without using the power button?

You can download an app that lets you reboot into recovery. If those are compatible with the nexus
Sent from my SAMSUNG-SGH-I997 using xda premium

except you have to use the power button to confirm a flash

In cmw you can use the capacitive buttons in place of the physical buttons. I believe the search button functions as the power button/enter, the back button goes back, the menu button is down, and the home button is up (might have mixed the last two up). Hope that helps

thank you so much man. that worked perfectly! got it all sorted out now. just gotta be sure to have an app that lets me use volume keys to wake my phone.

Related

Power button fail

So today my power button failed its always on I tried everything to disengage it. Good news is I can get into download mode by pressing the down button is there anyway to remap the power button?? I can flash roms but I cannot use CWM since it wont let me confirm my choice. please help me... my upgrade isnt until dec 6th and I dont have any money for another phone.
Search galaxy tuner on market...never used it but it says it will remap keys
Sent from my SAMSUNG-SGH-I897 using XDA App
I found this on google http://forum.xda-developers.com/showthread.php?t=850464 works wonders this should hold me off until december

Are there any apps that enable volume rocker wake?

Thanks in advance!
WidgetLocker has the ability
Just tried it, checked the box in settings, but no dice
Uninstalled and got a refund.
Any others?
no lock?
or
Screen Off and Lock?
Thanks, already tried both of them because they worked on my og evo, but no such luck
Coming from the galaxy s2 I do miss the power button on the side, hoping to find a solution still
Sent from my HTC One X using XDA
Actually, I used to have a Nexus One and the power button was broken. To circumvent that, I had to use an app called AnyUnlock. I turned the screen on with the volume rocker and you could also use a widget to turn the screen off (rather than using the power button to turn the screen off). Which I suppose could be useful if you have smaller fingers or something and didn't want to make the reach. Very, very useful app when your power button stops functioning.
trevortx said:
Actually, I used to have a Nexus One and the power button was broken. To circumvent that, I had to use an app called AnyUnlock. I turned the screen on with the volume rocker and you could also use a widget to turn the screen off (rather than using the power button to turn the screen off). Which I suppose could be useful if you have smaller fingers or something and didn't want to make the reach. Very, very useful app when your power button stops functioning.
Click to expand...
Click to collapse
I'm sure it uses the same method that the other apps use and it even says in the description on their app page that it only works on Froyo and GB.
Yea seems like all of them don't work with ics urrrrrrrrr
Sent from my HTC One X using XDA
I was actually wondering this very same thing earlier today. Hope someone finds a solution.
Sent from my HTC One X using xda premium
Volume Rocker Wake works on CM9 Alpha 5
I've been using CM9 Alpha 5 for a few hours now and it's great !
The first think I set was the Volume Rocker Wake as the Power Button is not as easy to press when using most cases covering the power button.
To enable it, go to SETTING --> DISPLAY --> VOLUME ROCKER WAKE
it enables waking the phone by pressing the volume rocker EITHER up/down.
There is no way to specify one or the other
However, it works great ! I'm really liking CM9, my only complaint is the missing HTC Camera which was just amazing with the hardware burst (I'm still looking for a way to flash it if that's even possible).

remap volume buttons to power button - for people with broken power button Captivates

Hi every1,
I have a captivate with a broken power button and it was driving me nuts for the last 2 months since I couldnot wake up the phone if it went to lock screen. I tried no lock and other apps but they didnt work 100% of the time. Today I found this thread :
http://forum.xda-developers.com/showthread.php?t=850464
It is button remapper utility but it doesnot support captivate yet. However my only concern was to remap my volume buttons to power button.
This is how I did it :
Firstly, we'll need to pull the file that controls the buttons which is entitled "aries-keypad.kl" in "system/usr/keylayout".
To pull the file, connect your captivate and run:
adb remount
adb pull system/usr/keylayout/aries-keypad.kl aries-keypad.kl
Click to expand...
Click to collapse
Edit this pulled file like below :
key 115 POWER WAKE
key 114 POWER WAKE
key 102 HOME WAKE_DROPPED
key 116 POWER WAKE
Click to expand...
Click to collapse
Key 115 was VOLUME_UP while Key 114 was VOLUME_DOWN. I reassigned both to behave as POWER button.
After you're done with your edits, you'll need to save the file properly (NO .txt files!), and then you'll have to push it back to the phone.
adb remount
adb push aries-keypad.kl /system/usr/keylayout
Click to expand...
Click to collapse
Reboot your phone, and then check to see if the remapping works as expected. Your volume buttons should now behave as power button.
Simple and Effective!
For more info, look at threads :
http://forum.xda-developers.com/showthread.php?t=850464
http://forum.xda-developers.com/showthread.php?t=695936
Thanks for this, but I just have two questions.
Does this make us lose control of the volume using the volume rocker?
and
This change allows us to turn turn off the screen as well using the volume buttons, correct? Not just to power the screen on.
Yes you will lose volume control over which ever you choose. I personally chose to lose my volume up since i think it would be more important to lower my volume if i suddenly needed to. To answer you second question yes this function will work as an exact replacement for your power button meaning it turns the screen on, off, powers on and off, and would get you into download or recovery mode depending on the volume rocker you still had available.\
P.S. I did not change all options to the power key. I left the Key 114 VOLUME_DOWN the same.
oh alright. Thanks!
So I decided to go ahead and try this but I seem to run into a problem. I am able to pull the file through adb, but I can't seem to push it back into the phone. It gives me two errors: "operation denied" and "read-only file." Is there any way to fix this? If it matters, I am able to pull the file with having to do the "adb remount" step; idk if there is something wrong, but it won't let me "adb remount" either.
I've made sure I have all the su permissions so i don't what could be wrong.
jtd9 said:
oh alright. Thanks!
So I decided to go ahead and try this but I seem to run into a problem. I am able to pull the file through adb, but I can't seem to push it back into the phone. It gives me two errors: "operation denied" and "read-only file." Is there any way to fix this? If it matters, I am able to pull the file with having to do the "adb remount" step; idk if there is something wrong, but it won't let me "adb remount" either.
I've made sure I have all the su permissions so i don't what could be wrong.
Click to expand...
Click to collapse
You can edit the files on your phone using ES File Explorer.
If you install most asop builds there is usually an option under from control that will let you use the volume button to turn on the screen without losing volume cintrols . Works well too.
I don't mean to hijack this thread, but since we seem to have a similar problem, I figured you guys would have an answer.
How, if possible, are you guys installing custom rom since I really can't get CWM to work with the power button broken?
I'm using Root Toolbox to reboot in recovery, then using the home button for selecting things in CWM.
For example i remapped the power button to vol down. If my phone is off, can I power it on by using the volume down?
takeoutttt said:
For example i remapped the power button to vol down. If my phone is off, can I power it on by using the volume down?
Click to expand...
Click to collapse
No you cannot. The remap only takes affect when android has booted. When the phone is off the power button is still the power button
Sent from my SGH-I897 using xda premium
Thank you, it worked like a Charm...
hd779 said:
If you install most asop builds there is usually an option under from control that will let you use the volume button to turn on the screen without losing volume cintrols . Works well too.
Click to expand...
Click to collapse
That won't let you "sleep" the phone with the volume control button. My button is to the point where I press it sometimes it works, sometimes it brings up the power menu but most of the time it does nothing.
I use volume wake and an app called turn off screen. More inconvenient than power button but once you use the app once to turn off the screen it stays in your list when you long press the home key so I can turn off the phone without having to go the home screen every time.
Rip power button you are sorely missed.
I use rom manager to restart my phone into recovery for flashing.
I also asked this in another thread... I want to disable WAKE with power button...
I edited all . kl files in system > usr > keylayout and deleted WAKE on power button lines with no luck.
I am on galaxy s2 slim 2.7.0 rom. android 4.1.2
For those of you that this method did not work there is a much easy and hassle free alternative!! Takes a minute or two only!!
Get 'Go launcher' from the app market (play)
Get 'Go Locker'
Now Enable Go Locker on your device. And you are done!!
When the screen goes black again, Just press the volume button, The screen wakes up!!
Using this method you don't lose the normal functionality of the volume rocker!!
I respect the effort put in by "puneet_champ" to make this post.. I went through this post, I couldn't find a file named 'aries-keypad.kl' Good thing I didn't!
As a result of which I recalled that I used to have Go Locker on my phone, and that when I pressed the Volume key the screen turned on!!
At that time I found it a little annoying, But now it has turned out to be such a gift!!
infaas said:
For those of you that this method did not work there is a much easy and hassle free alternative!! Takes a minute or two only!!
Get 'Go launcher' from the app market (play)
Get 'Go Locker'
Now Enable Go Locker on your device. And you are done!!
When the screen goes black again, Just press the volume button, The screen wakes up!!
Using this method you don't lose the normal functionality of the volume rocker!!
I respect the effort put in by "puneet_champ" to make this post.. I went through this post, I couldn't find a file named 'aries-keypad.kl' Good thing I didn't!
As a result of which I recalled that I used to have Go Locker on my phone, and that when I pressed the Volume key the screen turned on!!
At that time I found it a little annoying, But now it has turned out to be such a gift!!
Click to expand...
Click to collapse
The issue there is you have to have a custom launcher, and you can't turn your phone off yourself.
Samsung Galaxy S Captivate
Android 4.2.2
Kernel 3.0.66-g6c5dade
Cyanogen 10-1-20130224-NIGHTYLY-captivatemtd
I used both ES File Explorer and ADB method to try to edit the file to fix my power button issue.
Both methods allowed me to edit the file and have the edits remain after a reboot and reviewing of the file. However the edits don't seem to be doing anything as the volume keys still function as volume.
If anyone knows what I might be doing wrong it would be much appreciated.
^^^i had the same issue as you. No matter how I tried editing it to re map buttons it did not work. I trouble shoot this for many weeks and made no progress. A member did suggest making some custom scripts which was above my skill level. Ended up buying a new button. Actually just got the phone back fixed this weekend.
Sent from my Nexus 4 using xda app-developers app
infaas said:
For those of you that this method did not work there is a much easy and hassle free alternative!! Takes a minute or two only!!
Get 'Go launcher' from the app market (play)
Get 'Go Locker'
Now Enable Go Locker on your device. And you are done!!
When the screen goes black again, Just press the volume button, The screen wakes up!!
Using this method you don't lose the normal functionality of the volume rocker!!
I respect the effort put in by "puneet_champ" to make this post.. I went through this post, I couldn't find a file named 'aries-keypad.kl' Good thing I didn't!
As a result of which I recalled that I used to have Go Locker on my phone, and that when I pressed the Volume key the screen turned on!!
At that time I found it a little annoying, But now it has turned out to be such a gift!!
Click to expand...
Click to collapse
The file that you needed and you didn't find is probably not called aries-keypad.kl . Every sort of devices calls it a bit different, with keypad or kpd in the name of the file. For example the file on my device is called mtk-kpd.kl . You see?
Greetings, Plehai
Easier to use an app called button remapper and make the search button the power button. Volume buttons to wake.
Sent from my SGH-I897 using xda app-developers app

Nexus S 4g - Disable broken power button?

I've already read through this thread: http://forum.xda-developers.com/showthread.php?t=1596085 and used this thread http://forum.xda-developers.com/show....php?t=1524858 for remapping my search button to my power button, along with using volume for wake. I have done both of these, and that works just fine.
But, my problem is a little different.
My original power button didn't just stop working, it is actually malfunctioning. Meaning that the power button is being hit at random times, even when I don't press it (or the search button which is now my power button). It is extremely annoying and difficult to use the phone.
Does anyone know of a way to disable the power button completely? I'll settle to using search for off and volume buttons for wake, but I need a way to disable the original power button. The button remapper app from the thread above includes a way to remap or disable every button, except the original power button.
Thanks for your help
It says it all in the second link you posted. Read it all.
Sent from my Galaxy Nexus using xda app-developers app
No.
Like I said, I want to DISABLE the power button completely, because it's malfunctioning. I have ALREADY remapped it to the search key, but the original power button keeps pressing itself, turning the screen on and off, bringing up the boot menu, etc.
The button remapper app allows you remap or disable every button EXCEPT the power button. So while you can remap search to be power, you couldn't remap power to be search (or in my case, disable power completely).
Anyone?
You would have to physically disable the button yourself.
I don't think its possible to fully power off your phone, but what you can do is map the volume up or down buttons as a wake key. I myself want to do this and am still searching for the solution, but if you want to take a crack at it:
The file buttons you want to edit should be in here. somewhere(system/user/keylayout) Root explorer can help you edit the layout without changing the format. That's as far as I can take you for now
Sent from THE JUGGERNAUT 5.0 sgh t989
Try open your nexus..using small screwdriver..
Just pinched it..make it seperate with motherboard..
Sent from my GT-I9100 using Tapatalk 2

[SOLVED] How to get a screencapture at phone with stock/stock-like ROM

What is the technique to get a screencapture?
I know there is a way to get screencaptures with ADB, but I want to do this with a standalone phone.
I've used ROMs that include it in the shutdown/power menu.
I've used ROMs that require combo use of power and volume buttons.
I'm currently using a stock-like ROM and, for the life of me, I've not been able to get the combo to work.
Is it still possible with the M8 without a special MOD or a custom ROM with this baked in?
Thanks.
____
Edit, 4/23/2014: Answer provide in post 2. Thanks, Abe21599.
hold the power button and tap the home key. theres also a volume button combo but i dont remember that. both are built in.
Power+volume down together
Sent from my HTC6525LVW using Tapatalk
Abe21599 said:
hold the power button and tap the home key. theres also a volume button combo but i dont remember that. both are built in.
Click to expand...
Click to collapse
Thanks for that! I knew about the power+volume down but that's a pain. This is much easier. (And having it included in the APM is even easier, but don't have that quite yet).

Categories

Resources