[Q] Swipe2Wake take screen shot - HTC Sensation

I flash a new rom and install update the latest faux kernel, not the beta version still got the same problem. When want to sleep, the phone take screen shot. How to fix? I already flash the new kernel and old kernel already... Thanks

you must disable HTC screenshot feature (Power + Home) by setting ro.htc.framework.screencapture=false in /system/build.prop
then you can either hold Power + Vol Down to capture screenshot or use APM to take screenshot.

Mr-YC said:
you must disable HTC screenshot feature (Power + Home) by setting ro.htc.framework.screencapture=false in /system/build.prop
then you can either hold Power + Vol Down to capture screenshot or use APM to take screenshot.
Click to expand...
Click to collapse
Too advance for me ... What software to use to change it?
I use notepad + then change it to false and then put it into the system directory...

Quantum_Sensation said:
Too advance for me ... What software to use to change it?
I use notepad + then change it to false and then put it into the system directory...
Click to expand...
Click to collapse
build.prop editing = Root Explorer, find build.prop, long press, open in text editor...

Related

[MOD] Volume Button Wakeup Screen for Sense Roms (GB & ICS)

I have been looking for this kind of Mod for a While...
Using Power button to wake up Phone is sometimes uncomfortable to reach when u have a grip around Phone..
Moreover too much use of Power button can cause Power button issues... or may give up after a long time or may become hard to press with time..or loose its chrome finish...
I know there are applications like Unlock etc that will skip unlock screen but who wold wanna skip that Cool Sense Lock screen?
This Mod will not UNLOCK your Screen.. Just wakes it up... u will still get the Sense Lock screen...
I created the android.policy.jar file extracted from InsertCoin Rom using this method and it successfully worked on InsertCoin (3.2.0) and probably work for other Sense based roms.. or u can make urs
Although ur Power button can still be used for Locking/Waking up screen...You can download Screen Lock widget from Android Market to lock again too...
That will completely spare your Power button.. No More screen shot clicks..
How to Install:
1) Download android.policy.jar of your Rom..and copy to SDcard
2) Make a backup copy of ur original android.poilcy.jar(system/framework) and note its Permissions(just incase the mod doesnt work for u. atleast u have a backup)
3) Using Rootexplorer copy the downloaded android.policy.jar to (system/framework) overwriting Original
4) CHANGE Permissions to...
Owner-Read-Write
Group-Read
Others-Read
5) Normal Reboot.. First boot might take long.. so wait..
You can upload android.policy.jar of ur Rom.. i will modfiy it for u if u cant do it urself...
I dont know how to make a flashable file from it.. So if someone can do it, please upload it, i will attach here..
Hit Thanks if it was Helpful
Download:
1) 2.3.5 Roms (Tested on InsertCoin..Should work for other Roms)
2) 2.3.4 Roms (thanks to CdDroiD)
3) For ICS 4.0.3 (3.24)
If its not working with ur Rom or you are facing troubles: The only way is to make ur own android.policy.jar (for Modders and ROM Cookers)
Here is the TIP:
1. Extract KeyguardViewMediator.smali from android.policy.jar and Open with Notepad.
2. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
3. Delete 0x18 and 0x19 lines. Save
4. Repack
detailed instructions given here by from where I got this idea from syc7090 here..
guys please make your own android policy.jar of your Rom and upload with your post so that I can post here...
Nice man thats cool!
EDIT: Heres one for 2.3.4 ROMs dude
this's good!
Thanks man .. works great
I was looking for something like that but to do another function
I'm on InsertCoin 3.2.0 and I wanted the volume button to function like a music controller to forward songs .. etc .
I really want this thing but I can't find a way to do it can u help with that ?
Yeah i agree with that... That was the only function i really like from blackberry ...long press forward or backward the song and short press volume if someone can do that will be awesome... But this wake up mod is awesome too.. thanks man..
Sent from my HTC Sensation Z710e using XDA App
falcon eyez said:
Thanks man .. works great
I was looking for something like that but to do another function
I'm on InsertCoin 3.2.0 and I wanted the volume button to function like a music controller to forward songs .. etc .
I really want this thing but I can't find a way to do it can u help with that ?
Click to expand...
Click to collapse
hmmm... sorry friend thats just beyond my capabilities...
Can you get it to work on cm7??
DroidRC1 said:
Can you get it to work on cm7??
Click to expand...
Click to collapse
I thought cm7 already has this mod...
upload the android.policy.jar from system/framework...
jjdoctor said:
I thought cm7 already has this mod...
upload the android.policy.jar from system/framework...
Click to expand...
Click to collapse
CM7 does indeed have this mod built into it.
Settings/CyanogenMod Settings/Input/Volume rocker wake
silentsnow31802 said:
CM7 does indeed have this mod built into it.
Settings/CyanogenMod Settings/Input/Volume rocker wake
Click to expand...
Click to collapse
Thanx I forget
thank a lot!
works on RCMix 3.5
Perfect my phone...and my life
My goodness this is amazing. I was just thinking something like this and it just show up from me!
100% working on Revolution 3.6.1 ROM.
In my case is that with the soft-gel case on, the power button is a bit difficult to push down. In fact, all the physical buttons become a little harder to press. That's actually good for volume buttons so it won't accidentally get touched then activated that easily. Besides, the volume keys are easier to access (with my left hand), this mod just perfect my life!
Thank you so much!
nice work!
Thanks alot jjdoctor!
Now we only need the volume button to work as a Camera shutter!
How to change permissions?... Tnx
Sent from my HTC Sensation XE with Beats Audio using XDA App
Details...
3.)Make a backup copy of ur original android.poilcy.jar(system/framework) and note its Permissions(just incase the mod doesnt work for u. atleast u have a backup)
Click to expand...
Click to collapse
Firstly, I can't view the Permission of the original file because I get interrupted by a warning message: "android.policy.jar permissions cannot be changed because the file system is read-only". So, I thought I just copy a version of the original file and paste it into my SD card so I have backup. Once I open the original file from the SD Card I can view the permission settings. Which lead me to believe that is not the original file I copied from system/framework. I am hesitant to replace the original file with the modified .jar file not knowing for sure I have a proper backup of the original.
Secondly, if I flash a new ROM or update of a ROM will I lose the Volume Button Wakeup Screen mod and have to go through this process again?
I know this is a little long but bare with me please
You are aware that by DEFAULT the Sensation wakes using the volume button? I personally DISABLE it in my ROM as it annoys the hell out of me. It's a one line addition to the build.prop
Very nuce, thank you dude!
EddyOS said:
You are aware that by DEFAULT the Sensation wakes using the volume button? I personally DISABLE it in my ROM as it annoys the hell out of me. It's a one line addition to the build.prop
Click to expand...
Click to collapse
EddyOS...you seem like a Senior member to me... tell me how by Default sensation has volume wake up?
I would like to know your buildprop line... Coz that never worked for me...
I just add this to the build.prop to remove volume wake:
# Disable volume button wake
ro.config.hwfeature_wakeupkey=0
2.3.4 and 2.3.5 have always done it be default - for me at least. One of my favourite mods as I HATE having the screen wake when I press volume

[ROM] Default EU Android 2.3.5 EU 1.52 will be remove soon!

For those who just want a clean android 2.3.5(EU 1.52) without going thru all the process of flashing this & that. (This ROM will not do a auto wipe, flash it on CWM Recovery)
Fn+Y & Fn+P key bugs is fixed
A to wakeup screen
Default Android 2.3.5 for HTC ChaCha a810e (w fb key reassign)
Default Android 2.3.5 for HTC ChaCha a810e (w/o fb key reassign)
As there is FOTA of 1.54, i'll remove this soon. New version will direct link to:
http://forum.xda-developers.com/showthread.php?t=1336621 to keep the forum neat
***Mod pls help me close this post*** Thanks you!
do i need s-off or can you do a retail package
(like http://forum.xda-developers.com/showthread.php?t=1253062)
is it possible to integrate your package into this? (as i have goldcard i could update to everything but it needs to be in nbh or exe like the one above i could use with s-on!)
hashtowent said:
do i need s-off or can you do a retail package
(like http://forum.xda-developers.com/showthread.php?t=1253062)
is it possible to integrate your package into this? (as i have goldcard i could update to everything but it needs to be in nbh or exe like the one above i could use with s-on!)
Click to expand...
Click to collapse
Yes, u need to have s-off. As i mention file need to be flash thru cwm recovery.
For the hboot package part, i'm not sure how to do it. I'm still a beginner on all this stuff.
Sorry can't help much
e.japonica said:
For those who just want a clean android 2.3.5 without going thru all the process of flashing this & that. (This ROM will not do a auto wipe, flash it on CWM Recovery)
Fn+Y & Fn+P key bugs is fixed
A to wakeup screen
Default Android 2.3.5 for HTC ChaCha a810e
Click to expand...
Click to collapse
nice job but how did u slipstreamed 2.3.5 to existing base since 2.3.5 is from OTA update, correct?
ajeevlal said:
nice job but how did u slipstreamed 2.3.5 to existing base since 2.3.5 is from OTA update, correct?
Click to expand...
Click to collapse
i just restore the recovery to default & flash the eu version & update the OTA.
after that flash cwm recovery & nand droid. put in dsixda kitchen & cook it. but some user has notify me that i had added the fb key reassign. haha i will upload a clean version again
e.japonica said:
i just restore the recovery to default & flash the eu version & update the OTA.
after that flash cwm recovery & nand droid. put in dsixda kitchen & cook it. but some user has notify me that i had added the fb key reassign. haha i will upload a clean version again
Click to expand...
Click to collapse
yes, if you use the fb-button then closes the active app.
i have changed the file keylayout of the fb-button from HTC_SHARE to CAMERA.
now starts fb-button the camera app
carstenheuer said:
yes, if you use the fb-button then closes the active app.
i have changed the file keylayout of the fb-button from HTC_SHARE to CAMERA.
now starts fb-button the camera app
Click to expand...
Click to collapse
but actually there is a camera button beside the space bar to use xD
e.japonica said:
but actually there is a camera button beside the space bar to use xD
Click to expand...
Click to collapse
yes this is correct!
but if you want to open the app, you must first press the fn key!
this is poor with one hand
f button function
In my opinion is f button is for screen off and wake ... How about that and can you do that ....
sathara said:
In my opinion is f button is for screen off and wake ... How about that and can you do that ....
Click to expand...
Click to collapse
as i'm still a beginner, my knowledge is limited. will try to do a search & figure it out if i'm able to
sathara said:
In my opinion is f button is for screen off and wake ... How about that and can you do that ....
Click to expand...
Click to collapse
use root explorer
go to: phone/system/usr/keylayout/chacha-keypad-???.kl
open the file and change in line key 184
"HTC_SHARE" >>> "POWER WAKE"
dont work correct...sometimes the screen will not turn on
can someone upload a version with A2SD+ by DarkTremor enabled...?
I would love to use a 1.52 EU rom without anything removed but with the addition of root and a2sd+...
is there anyone capable of doing this?
schölli said:
can someone upload a version with A2SD+ by DarkTremor enabled...?
I would love to use a 1.52 EU rom with nothing removed only with root and a2sd+...
is there anyone capable of to do this?
Click to expand...
Click to collapse
i've already mention there is some issue with the su binary with Android 2.3.5(EU 1.52) there is still able to use the old binary but you have to do alot of adjustment by hands to make the a2sd+ workable. i cook all these ROMs is by trying to let people no need to use much adjustment by own hands. just flash & run~
e.japonica said:
i've already mention there is some issue with the su binary with Android 2.3.5(EU 1.52) there is still able to use the old binary but you have to do alot of adjustment by hands to make the a2sd+ workable. i cook all these ROMs is by trying to let people no need to use much adjustment by own hands. just flash & run~
Click to expand...
Click to collapse
the small internal storage is the only big breakdown of this device, so a2sd with dalvik cache enabled is a must have. that's my opinion
schölli said:
the small internal storage is the only big breakdown of this device, so a2sd with dalvik cache enabled is a must have. that's my opinion
Click to expand...
Click to collapse
That is why i stated as default clean. easy for those who want a normal 2.3.5 or use for cooking. save their trouble to go thru the process of flashing here & there.
Hi, can anyone tell me how i can change the wake up function from key A to END CALL?
Sent from my HTC ChaCha
carstenheuer said:
Hi, can anyone tell me how i can change the wake up function from key A to END CALL?
Sent from my HTC ChaCha
Click to expand...
Click to collapse
Hope u could understand the below method.
Translate by Google translator:
The following are keys to modify the method: the phone ROM, there are files you can customize the keyboard function, by adjusting the phone's keypad function definition file / system / usr / keylayout / supersonic-keypad.kl can easily open the [Home key + menu key + return key + Search key] wake up and swap a key phone functions (qwerty.kl hard qwerty keyboard should be on the definition, because there is no physical qwerty hardware keyboard EVO, so do not change).
RE browser with the kind of file manager into the / system / usr / keylayout / directory, copy the bravo-keypad.kl
Specific modification method [different mobile phone models are not necessarily identical to the modified files, but the principle is the same]:
1, use Notepad to open bravo-keypad.kl file can be modified (Refer to example below)
2, for example, function keys with WAKE_DROPPED, the key to wake phone
3, the corresponding key bit word to swap, swap key functions can be realized, such as key 217 SEARCH key 217 ENDCALL can be changed to the original search key to hang up key
Before the change:
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 116 POWER WAKE_DROPPED
Changes [to increase [Home key + Menu key + return key + key] wakeup phone search but do not swap key functions]:
key 102 HOME WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 116 POWER WAKE_DROPPED
Editorial changes will modify the files are copied to a good mobile phone coverage / system / usr / keylayout / directory of the supersonic-keypad.kl file, restart the phone to take effect.
supersonic-keypad.kl as chacha-keypad.kl

[Q] Swap to wake problem....

i have installed the faux kernel and bricked kernel with swap to wake function, and when i swap to lock screen , sometime the phone will screenshot itself
Can anybody know how to fix it?
Sorry for my bad english
goddestroyer said:
i have installed the faux kernel and bricked kernel with swap to wake function, and when i swap to lock screen , sometime the phone will screenshot itself
Can anybody know how to fix it?
Sorry for my bad english
Click to expand...
Click to collapse
You have used tweaks to make one of the capacitive buttons take a screenshot on long press. Either remove this or don't keep any button pressed for long while sweeping.
goddestroyer said:
i have installed the faux kernel and bricked kernel with swap to wake function, and when i swap to lock screen , sometime the phone will screenshot itself
Can anybody know how to fix it?
Sorry for my bad english
Click to expand...
Click to collapse
You need to disable to htc Screenshot feature.. Then sweep to wake works properly
Use any file explorer
(you need to give r/w access to system)
Go to /system
And open build.prop
Chk for this line
ro.htc.framework.screencapture = true
Change it to
ro.htc.framework.screencapture = false
Save the file
Exit and reboot
This will resolve the issue
Sent from my pyramid.. Through blazing fast sonic waves
thanks for both of your reply
i will try and see this work or not

4-in-1 reboot menu

So, I've installed the stock t-mobile rooted limited edition for the 2.35 version, however, it doesn't include the 4-in-1 reboot menu. Maybe I just don't know what the official name for the reboot menu is, but I can't find anything (I search a lot and 99% of the time, find what I'm looking for). Any insight on how to enable the 4-1 reboot menu easily?
rodin95 said:
So, I've installed the stock t-mobile rooted limited edition for the 2.35 version, however, it doesn't include the 4-in-1 reboot menu. Maybe I just don't know what the official name for the reboot menu is, but I can't find anything (I search a lot and 99% of the time, find what I'm looking for). Any insight on how to enable the 4-1 reboot menu easily?
Click to expand...
Click to collapse
Try searching for APM (Advanced Power Menu)
rustykwak said:
Try searching for APM (Advanced Power Menu)
Click to expand...
Click to collapse
Sent from my HTC One S using xda app-developers appAndvanced power settings is in the market as hidden settings with no need for root
Thanks! I'll do some looking around for it.
@siqbudz - I don't find anything in the Market? I see actual software that will provide those options, but not the regular power off?

[TWEAK LP 5.0.2] Wake up your device with "focus" key

hello friends..
Inspired by funky0308 posted , from here
funky0308 said:
Hi guys....
I just bought Z1 and root it so I tried to set that unlock feature on this device as well.
This is extremely easy tweak/tip and we all like it on our Xperia S...
Why do to this:
And even it's on Z1 power button on a great position I like the way to unlock device with hmmm...what's the word...let's say "bottom of my thumb"...
You will preserve your power button if you unlock your device with two buttons, instead of pressing one button all the time.
Click to expand...
Click to collapse
Method:
Updated
Credit @lamthang1127 Here
Need root access,
1. Using Root file manager Go to system/usr/keylayout
2. Open file "gpio-keys.kl" with text editor
3. change key 528 FOCUS to key 528 POWER.
Reboot .
attached flashable zip , flash using recovery , tested on z1 LP.
addtional - Wakeup with volume key (2nd attachment )
iedafarha said:
hello friends..
Inspired by funky0308 posted , from here
Method:
Need root access,
1. Using Root file manager Go to system/usr/keylayout
2. Open file "gpio-keys.kl" with text editor
3. change key 528 FOCUS to key 528 WAKEUP.
Reboot .
attached flashable zip , flash using recovery , tested on z1 LP.
Click to expand...
Click to collapse
Great, will test it when lp comes in my region
MaxTheBomb said:
Great, will test it when lp comes in my region
Click to expand...
Click to collapse
hope you like it :}
But for what?
Sent from my C6903 using XDA Free mobile app
l92 said:
But for what?
Sent from my C6903 using XDA Free mobile app
Click to expand...
Click to collapse
did you read description? this tweak for wakeup screen using focus key , to more clear read THIS
screenshot ..
Great
Dear man
It worked great, but please make a tweak wake up with volume key.
I used to use it in KK with Xposed. :good:
But in 5.02 i can not install Xposed
blackfieldmono said:
Dear man
It worked great, but please make a tweak wake up with volume key.
I used to use it in KK with Xposed. :good:
But in 5.02 i can not install Xposed
Click to expand...
Click to collapse
i will try .. :fingers-crossed:
blackfieldmono said:
Dear man
It worked great, but please make a tweak wake up with volume key.
I used to use it in KK with Xposed. :good:
But in 5.02 i can not install Xposed
Click to expand...
Click to collapse
This is file for wakeup screen use volume button m8 , hope you like it, try on my phone deodex rom
​
iedafarha said:
This is file for wakeup screen use volume button m8 , hope you like it, try on my phone deodex rom
Click to expand...
Click to collapse
Great mate, i'll try it now.
blackfieldmono said:
​Great mate, i'll try it now.
Click to expand...
Click to collapse
feedback its working or not.
iedafarha said:
feedback its working or not.
Click to expand...
Click to collapse
Oh mate, it works if i press the volume button right after i turn off the screen.
But if the screen is off just 2 seconds i can not wake it up by volume button.
I use this ROM [Stock][ROM][C6902/C6903][Pre-Rooted][5.0.2] 14.5.A.0.242 Customized SG
http://forum.xda-developers.com/xperia-z1/development/rom-stock-14-5-0-242-customized-sg-t3084100
Can you make it double tap to weak
zahid5h said:
Can you make it double tap to weak
Click to expand...
Click to collapse
sorry, cant, double tap relation with kernal
iedafarha said:
hello friends..
Inspired by funky0308 posted , from here
Method:
Need root access,
1. Using Root file manager Go to system/usr/keylayout
2. Open file "gpio-keys.kl" with text editor
3. change key 528 FOCUS to key 528 WAKEUP.
Reboot .
attached flashable zip , flash using recovery , tested on z1 LP.
Click to expand...
Click to collapse
If you change from [ key 528 FOCUS ] to [ key 528 WAKEUP ] you can only wake the screen. Howerver, by changing [ key 528 FOCUS ] to [ key 528 POWER ], your focus button become the second power button with full functions: lock screen / unlock screen, longpress for shutdown menu, screen capture etc...
Hope that helps.
lamthang1127 said:
If you change from [ key 528 FOCUS ] to [ key 528 WAKEUP ] you can only wake the screen. Howerver, by changing [ key 528 FOCUS ] to [ key 528 POWER ], your focus button become the second power button with full functions: lock screen / unlock screen, longpress for shutdown menu, screen capture etc...
Hope that helps.
Click to expand...
Click to collapse
thanks , did it , put this tuts on first post if you dont mind :good:
Dear @iedafarha
Did you fix the volume wake?
blackfieldmono said:
Oh mate, it works if i press the volume button right after i turn off the screen.
But if the screen is off just 2 seconds i can not wake it up by volume button.
Dear @iedafarha
Did you fix the volume wake?
Click to expand...
Click to collapse
hi Buddy , tested no problem on my phone , turn off screen , screen off 2 or 3 seconds, press volume button , screen wakeup and my phone set sleep after 1 minute , then after screen turn off itself, try press vol button . the screen wakeup.
How if we edit volume button to POWER too? Do we lose volume capabilities too?
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock LL 5.0.2 | Root |
jcsy said:
How if we edit volume button to POWER too? Do we lose volume capabilities too?
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock LL 5.0.2 | Root |
Click to expand...
Click to collapse
yes may be we lose volume capabilities, this mod only enable wake up screen when we press vol button and volume capabilities still there .
Works like charm!
Thank you so much buddy, I had this on my Xperia S and needed it a lot on my Z1 cause I messed up my power button. Focus key power works perfectly

Categories

Resources