screen snapshot - HTC Sensation

There was a version of SultanXDA's rom that had the screen snapshot option when you long-press the power button. However, that version was full of bugs and eventually pulled. In following releases, the option was gone. Why was this? Is there a way to get it back?

You can take a screenshot by pressing vol down + power button for about 1 or 2 secs.
The option you talk about need to be set somewhere in settings, not sure where exactly.

Sajito said:
You can take a screenshot by pressing vol down + power button for about 1 or 2 secs.
The option you talk about need to be set somewhere in settings, not sure where exactly.
Click to expand...
Click to collapse
Thanks! I was not able to get the vol down + power button function to work, but I was able to find it in the settings. Settings>Buttons>Power Menu. Works like a charm. You are the man.

Related

How to remap my button..

Hello there..
Currently my nexus s have broken power button..so i cant screenshot..
How i gonna remap my button so i can screenshot using volume button..
I have tried buttonremapper but no option for remap volume button..
Anyone can help me?
Sent from my GT-I9100 using xda premium
al_madd said:
Hello there..
Currently my nexus s have broken power button..so i cant screenshot..
How i gonna remap my button so i can screenshot using volume button..
I have tried buttonremapper but no option for remap volume button..
Anyone can help me?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
yes..already did that..
but is it possible to screenshot just using volume button??
or for screenshot I can just press search button + volume down??
al_madd said:
yes..already did that..
but is it possible to screenshot just using volume button??
or for screenshot I can just press search button + volume down??
Click to expand...
Click to collapse
yes, ics screenshot. long press search button(power) and volume down at the same time. thats how i take my screenshots. as i said, the search button has all the features of the power button except waking the device
simms22 said:
yes, ics screenshot. long press search button(power) and volume down at the same time. thats how i take my screenshots. as i said, the search button has all the features of the power button except waking the device
Click to expand...
Click to collapse
genius......
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
WOW , I was looking for such an option for ages ... Thanks man , you're genious...THANKS button for you too
Power Button
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
:- Can you please let me know how can i remap my serach button to power button for my unrooted nexus s
how can i remap my nexus s running on jb 4.3.1?
the button remapper dont work on my device..
i already select none at the security menu but it doesn't wake my device when i press the volume button..
edit: fixed! found the volume button wake at settings.. )

Is there a way to enable stock screen capture on this?

Is there a way to enable stock screen capture like on vanilla ICS ROM?
Hold power button and press the home button.
Reamer09 said:
Hold power button and press the home button.
Click to expand...
Click to collapse
thanks man..just got my htc one x and im just trying to explore this awesome phone.. and i got 4919 on quadrant wtf!!!
Two ways:
-Hold the Power Button and press home button. This will save the screen shot under your "Camera Shots" folder in your gallery.
-Simultaneously hold the Power Button and the Volume Down button. This will save the screen shot under a newly-created "Screen Shot" folder in your gallery.
S8B said:
Two ways:
-Hold the Power Button and press home button. This will save the screen shot under your "Camera Shots" folder in your gallery.
-Simultaneously hold the Power Button and the Volume Down button. This will save the screen shot under a newly-created "Screen Shot" folder in your gallery.
Click to expand...
Click to collapse
If I remember correctly the power+home button will save it as JPG where there power+volume down will save it as PNG, right?
S8B said:
-Simultaneously hold the Power Button and the Volume Down button. This will save the screen shot under a newly-created "Screen Shot" folder in your gallery.
Click to expand...
Click to collapse
Doesn't work for me (AT&T version). It simply changes volume.
I've tried holding power button for a second before pressing volume down button, as well as pressing both keys at the same time.
Reamer09 said:
If I remember correctly the power+home button will save it as JPG where there power+volume down will save it as PNG, right?
Click to expand...
Click to collapse
No, power + home saves it in PNG format.
The power+volume down works just fine. Your timing may be off.
Sent from my HTC One X using xda premium
Ok, now it worked, you must press them together at the same time and hold for 1/2 sec, I didn't wait that long before...
Thanks.
The difference between the two are:
With power + vol down you get sound notification and notification in the status bar where you can view the captured image from, but because it saves outside of DCIM folder dropbox doesn't upload it automatically (which for many this might be a good thing).
Not sure which I prefer more, although power + home has been standard hot keys for many phones/roms I've used in past 2 years...
S8B said:
Two ways:
-Hold the Power Button and press home button. This will save the screen shot under your "Camera Shots" folder in your gallery.
-Simultaneously hold the Power Button and the Volume Down button. This will save the screen shot under a newly-created "Screen Shot" folder in your gallery.
Click to expand...
Click to collapse
I didn't know about the Home button. This saves me so much time having to struggle to take the picture with volume down.

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

[Q] build.prob mod to change power button to vol button?

ROM: CM11(Kit Kat 4.4.4)
My power button sometime work and sometime not.
Now I want to use vol button as my power button.
How to modify a vol button as power button? Can we mod from build.prob?
Btw, what is this? default is false, what if I set as true?
persist.sys.dalvik.multithread=true
And there is some tweak tips from here:
http://gs3.wonderhowto.com/how-to/t...-with-these-build-prop-android-hacks-0142434/
I wonder, which one is best mod to improve performance of our LGO3D?
Thank you.
cyclonmaster said:
ROM: CM11(Kit Kat 4.4.4)
My power button sometime work and sometime not.
Now I want to use vol button as my power button.
How to modify a vol button as power button? Can we mod from build.prob?
Btw, what is this? default is false, what if I set as true?
persist.sys.dalvik.multithread=true
And there is some tweak tips from here:
http://gs3.wonderhowto.com/how-to/t...-with-these-build-prop-android-hacks-0142434/
I wonder, which one is best mod to improve performance of our LGO3D?
Thank you.
Click to expand...
Click to collapse
Go to System/usr/Keylayout/Generic.kl , you will see a lot of numbers every number represents one key and value on right side is command it is doing (example: key 116 POWER WAKE this wakes device with key 116) now you can search for VOLUME_DOWN and change it to POWER WAKE or if you have TWRP recovery there is option to detect every key numer.

Life after power button, tips on how to make it possible?

Disclaimer: I have fixed the infamous power button several times successfully, but now it's no longer possible so let's not go into that any more. For anyone who really wish to altogether replace the button, the following article is a good read, especially the comments on experiences. https://protyposis.net/blog/replacing-the-nexus-5-power-button/ TL;DR: it's tough.
So, my power button finally died permanently, and I'm now trying to figure out how to manage using a phone without a power button. The following things are doable and absolutely fine:
Turning on the phone: requires a PC with Fastboot, and attached USB cable. Press volume down and attach cable, phone will enter fastboot. Then do "fastboot reboot". This is quite problematic if you're not near a PC, but only really is an issue if the battery runs out.
Shutting down the phone: I use third party app like TWRP manager. Requires root I presume. Can be done with ADB as well e.g. by issuing "svc power shutdown" as root. Anyway a non-issue.
Rebooting: No problem, works basically similarly as shutting down.
My main concern is turning on the display. Currently I'm using CM13 CAF and I've set the volume buttons to turn on the display. It's fine, BUT - there is a long lasting bug where sometimes after phone call the display goes dark, and suddenly the volume buttons do not turn on the display. Only way to use the phone then is to find a computer to reboot it. Even attaching a USB cable does not turn on the display if this bug occurs. Not fun!!! I'm not completely sure about AOSP CM13 if the bug exists there, might have to test.
What are the good options for turning on the display other than CM13 / volume button? Are there some Xposed modules to specifically help with using the phone without power button? Any other tips / ideas?
Would you actually use the phone if your power button really died for good?
Edit: Here are some great suggestions given by you so far:
Gravity Screen - Additional service to unlock screen when necessary using proximity sensor. Has some battery usage concerns though.
Another non-CM13(CAF) ROM that do not perhaps have the "blank screen after phone call" issue, and hope that you won't actually need the power button by any incident
Setting up Xposed and using a module e.g. Xposed Additons to mimic power button behavior on volume button(s)
Use an external Pressy-like gadget to have a ROM-independent way to mimic the power button
Use a kernel that supports DT2W (double tap to wake) feature to turn on the screen. Also has some battery usage concerns.
Modify key mapping (gpio-keys.kl) to assign power button function to a volume button (see below)
So there certainly are options! And stuff like Pressy was even new to me. Can you think of more workarounds?
Gravity Screen.
Hi
I used Chroma which is working very good with volume buttons unlock. Now using my build from AOSP also with volume button wake and navigation button for locking.
Using terminal for reeboting/recovery/bootloader/shutdown.
Thanks for the suggestion, I will check them as well.
I'm testing currently Xposed Additions which allows remap any button to perform actions. I've set the volume key down to wake the phone, and long press volume down to lock it. This way I can still enjoy screen off music controls (at least next track by volume up).
Unfortunately this would not mimic the long pressing of power button for hard reboot. So in case display would just not turn on, the phone is still useless until you can get to a computer. But let's see.
Fihlvein said:
Thanks for the suggestion, I will check them as well.
I'm testing currently Xposed Additions which allows remap any button to perform actions. I've set the volume key down to wake the phone, and long press volume down to lock it. This way I can still enjoy screen off music controls (at least next track by volume up).
Unfortunately this would not mimic the long pressing of power button for hard reboot. So in case display would just not turn on, the phone is still useless until you can get to a computer. But let's see.
Click to expand...
Click to collapse
Not a big fan of Xposed and i dont listen to music on my N5 so a bit easier for me.
su | reboot
su | reboot recovery
su | reboot bootloader
su | reboot -p /power off/
I did not found a way for turning it on but connecting via fastboot and than reboot.
I have the exact same setup, but as backup, I use one of those cheap chinese Pressy clones. I use Headset Button Controller to unlock the screen on click, and it usually works when the download buttons refuse to. The only problem with this is not being able to use hedphones, and having the extra service running "just in case".
Use a ROM/kernel that supports Double Tap 2 Wake?
there is 2 options its a bit risky 1 try running normal CM13 and install ElementalX kernel it supports double tap 2 unlock the second option is just get on ebay buy new button and just replace it had this problem thought that i bricked the phone thanks for good information how to get it back up
I've updated the suggestions so far to the OP, thanks a lot!
By the way, do you know if the "10sec long press power button to force hard reboot" feature is mapped somehow physically to power button only? I'm guessing so as it works independently from where you are, in bootloader, recovery, ROM, etc. I was trying to mimic it using volume button (which is mapped to work as power button), and while the regular power button presses work within ROM, the 10sec long-pressing won't work. That would have be too cool to be possible.
Fihlvein said:
I've updated the suggestions so far to the OP, thanks a lot!
By the way, do you know if the "10sec long press power button to force hard reboot" feature is mapped somehow physically to power button only? I'm guessing so as it works independently from where you are, in bootloader, recovery, ROM, etc. I was trying to mimic it using volume button (which is mapped to work as power button), and while the regular power button presses work within ROM, the 10sec long-pressing won't work. That would have be too cool to be possible.
Click to expand...
Click to collapse
it is a qboot thing(one of the bootloaders from qualcomm, that loads before fastboot mode)
Okay I don't know how I didn't realize this earlier but mapping the power key to a volume button is by far the simplest way for me, if one has root. No extra apps needed. Here's how:
Option 1: on existing ROM:
- Boot into TWRP
- Mount /systen
- Modify e.g. with vim /system/usr/keylayout/gpio-keys.kl (I had to use Linux as Windows adb messed up the characters totally while editing)
Original:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
New (volume down as power):
key 115 VOLUME_UP
key 114 POWER​- Save & reboot, and enjoy volume down functioning as a power button (minus 10s long press, that won't work sadly)
Option 2: directly to source when building ROM by yourself:
- Go to your synced source tree root location and locate your device tree (in this example I'm using CM13-CAF)
cd ./devices/lge/hammerheadcaf/​- Create a new local Git branch:
git checkout -b newbranchname​- Modify the button layout file
nano ./gpio-keys.kl
Original:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
New (volume down as power):
key 115 VOLUME_UP
key 114 POWER​- Commit the change:
git commit -am "change button layout"​- Build & enjoy volume down acting as a power button!
I've tried this, along with other methods such as installing apps with root access. nothing seems to be working. I'm on the pixel experience rom (android 9.0). any help would be appreciated.
nigelrodrigues95 said:
I've tried this, along with other methods such as installing apps with root access. nothing seems to be working. I'm on the pixel experience rom (android 9.0). any help would be appreciated.
Click to expand...
Click to collapse
Although my power button currently works, the case I have makes it really hard to use (and I prefer not to anyway):
"WaveUp" app from F-droid to wake the screen with the proximity sensor.
Double-tap the status bar in lineage-16 to shut off the screen.
For any kind of rebooting, I just open a terminal and type the commands.

Categories

Resources