[Q] Swap to wake problem.... - HTC Sensation

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

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

SebastianFM kernel sweep2wake ??

Hi.What about sweep 2 wake is there any way i can put it in this best kernel?
konjo236 said:
Hi.What about sweep 2 wake is there any way i can put it in this best kernel?
Click to expand...
Click to collapse
we are still waiting for his new project so i assume he will include also sweep2wake
be patience mate
Sometimes you can turn on sweep 2 wake by using root explorer. You would go to etc, then go to init.d, then look in those files for the file that contains sweep 2 wake. open this file in text editor of root explorer. You will see it's turned off and that means it's value will be 0. It will say sweep2wake =0, in text editor change this value to 1. Sweep2wake =1. Make sure your permissions are correct. Save this change after you changed the value. And this should turn on sweep 2 wake for you.. I've done this myself and it works! Just make sure sweep 2 wake=0 is not backed up, if it is, delete the backup file. You want it to read sweep 2 wake = 1. That should turn on your sweep2wake for you. Hope this helps. Best wishes!
Sent from my HTC Sensation using xda premium
sebastian kernel does not support sweep2wake so do not try anything with root explore its waste of time there isn't any option there
For now Sebestian Kernel dont support sweep2wake so dont do any kind of mess using root explorer...
Try grogg kernel. s2w sebastian fm fast charge

[ROM][PORT]JB 4.1.2 FOR ZTE v970M [13.04.2014]

[ROM][PORT]JB 4.1.2 FOR ZTE v970M [13.04.2014]
Hello friends.
First thing first: i'm not a true developer; just someone who tries to do something for my own and then decided to share with the community
Here i present a jb4.1.2 rom for ZTE v970m ported from jiayu g3.
Rom Features are:
Solo Launcher 1.6.4 is base launcher
Multi-language...
Lockscreen widget -u may turn off screen simply touchin' it-
Wake up with volume keys -along with the lock screen widget you don't have to use power button any more!-
Xposed Framework and Gravitybox included
gapps included
Added Mtk 6577 Governor Switcher
Added Equalizer to boost volume
Internal sdcard removed, bruno's repartition for internal memory applied
etc...
Known Bugs:
After booting, "the phone" gives fc info but in fact there is no problem...
move to sdcard buggy -fixed with the patch-
notification led problem - fixed with the @superdragonpt's new kernel v1.2
IMPORTANT NOTE:
No kernel is included in the rom you should flash a kernel immedately after flashing the rom...
I strongly recommend you to flash @superdragonpt 's kernel: http://forum.xda-developers.com/devdb/project/dl/?id=6130
Download and flash thru recovery KERNEL_JB4.1_ZTE_v970._v1.2.zip
Thanks:
@bgcngm ; for extended userdata script,
@superdragonpt ; for his kernel and efforts for our device,
@gabor for the jiayu g3 rom
@mngO DEV for the base rom
DOWNLOAD SECTION:
Download rom from mediafire: http://www.mediafire.com/download/dbpyon3dyxd4imq/V970M.JB4.1.2.18.04.2014.zip
Download @superdragonpt's custom kernel from here: http://forum.xda-developers.com/devdb/project/dl/?id=6130
patch to fix for moving apps to sdcard: http://www.mediafire.com/download/vktyq3q3t7m7b7d/sdcard_fix.zip
Flashing Instructions:
Use cwm or twrp recovery
wipe data/factory reset
wipe cache
flash V970M.JB4.1.2.18.04.2014.zip
flash KERNEL_JB4.1_ZTE_v970._v1.2.zip
flash sdcard_fix.zip
Reboot & enjoy...
nadiren said:
DOWNLOAD SECTION:
Download from mediafire: http://www.mediafire.com/download/dbpyon3dyxd4imq/V970M.JB4.1.2.18.04.2014.zip
Flashing Instructions:
Use cwm or twrp recovery
wipe data/factory reset
wipe cache
flash V970M.JB4.1.2.18.04.2014.zip
flash KERNEL_JB4.1.x_ZTE_v970._Stable1.0.zip
Reboot & enjoy...
Click to expand...
Click to collapse
Good rom but i think i`m missing something when i plug in to pc only charge and don`t ask me if i want to connect in mode to copy files from pc to phone (sorry i`m missing that word don`t now verry well english hope u understand) , and i don`t have lockscreen (pattern/slide)
Edit : don`t show any notification in taskbar !! i have dual-sim version.
Best regards
testing
gigel87 said:
Good rom but i think i`m missing something when i plug in to pc only charge and don`t ask me if i want to connect in mode to copy files from pc to phone (sorry i`m missing that word don`t now verry well english hope u understand) , and i don`t have lockscreen (pattern/slide)
Edit : don`t show any notification in taskbar !! i have dual-sim version.
Best regards
Click to expand...
Click to collapse
There is no problem in connecting pc, it just doesnt ask but u can easily apply it from the notification bar
For the lockscreen pattern it is under system/security section, here is my pattern:
nadiren said:
There is no problem in connecting pc, it just doesnt ask but u can easily apply it from the notification bar
For the lockscreen pattern it is under system/security section, here is my pattern:
Click to expand...
Click to collapse
If i go in settings / security i see default it is SLIDE , push power button wait few seconds hit power button again and no lockscreen , go again in security choose pattern setting pattern hit power button , wait again , hit again and nothing its going to main screen (or where it was) , this is my dilema what i`m doing wrong ? , don`t want the pattern only the clasic lockscreen and yes i know i can go to store and download some app for lockscreen but sometimes its not working good (lag etc..)
gigel87 said:
If i go in settings / security i see default it is SLIDE , push power button wait few seconds hit power button again and no lockscreen , go again in security choose pattern setting pattern hit power button , wait again , hit again and nothing its going to main screen (or where it was) , this is my dilema what i`m doing wrong ? , don`t want the pattern only the clasic lockscreen and yes i know i can go to store and download some app for lockscreen but sometimes its not working good (lag etc..)
Click to expand...
Click to collapse
i really don't understand what your problem is?!? as it can be seen in the screenshot the "pattern" works flawlessly for me?! did you follow the flashing instructions?
nadiren said:
i really don't understand what your problem is?!? as it can be seen in the screenshot the "pattern" works flawlessly for me?! did you follow the flashing instructions?
Click to expand...
Click to collapse
I I know how to flash just it not have lockscreen when u push power button it goes to sleep , and if want to wake up the device first it shows lockscreen like this (look at the atach) , on mine it doesn`t ... when i wake up the phone only show directly the main screen .... if u don`t understand i`m not bother again sorry maybe next time tnx again for your support :good: and sorry to be such a ....
gigel87 said:
I I know how to flash just it not have lockscreen when u push power button it goes to sleep , and if want to wake up the device first it shows lockscreen like this (look at the atach) , on mine it doesn`t ... when i wake up the phone only show directly the main screen .... if u don`t understand i`m not bother again sorry maybe next time tnx again for your support :good: and sorry to be such a ....
Click to expand...
Click to collapse
ok, i got the problem now .. first of all i'm not angry with u nor i've offended your questions; just didn't get the your problem before. as i said i had no problem with lockscreen as you see from the screenshots; did you happen to choose "none" instead of "slide" or "pattern" in any case?!?
nadiren said:
ok, i got the problem now .. first of all i'm not angry with u nor i've offended your questions; just didn't get the your problem before. as i said i had no problem with lockscreen as you see from the screenshots; did you happen to choose "none" instead of "slide" or "pattern" in any case?!?
Click to expand...
Click to collapse
Yes but nothing happen i will try again tommorow
Nice
Keep it going, it's always nice to see new Roms for this device
Regards
moving apps to sdcard seems buggy
this patch corrects this bug also makes internal memory as 2.5gb...
apply from recovery without wiping data
thnx to @superdragonpt and his custom kernel, led notification bug is corrected; just flash the new custom kernel v1.2 thru recovery without wiping data/cache:
KERNEL_JB4.1_ZTE_v970._v1.2.zip : http://forum.xda-developers.com/devdb/project/dl/?id=6130
workin' on a new rom... testin' it...
it is again 4.1.2 based since 4.2.2 has that annoying pink camera bug.
it's a super slim jb 4.1.2 with sony bravia engine. rom is just 160 mb with slim gapps included!!
so far there is no bug, but i'll test it for a couple o' days more in order to be sure...
some screenshots attached...
for the last screenshot, it was taken while lenka's windows 8 song playing in the background. The sound level can be adjusted quite high in the rom!...
hi nadiren,
i want to try your rom for it's spesific to v970m ?
but the kernel link seem to be invalid, or i can't download it
it says: This download file is not currently available (it was deleted or disabled).
or may be i don't have the privilage yet ?
Opening ceremony

[Q] Wiko Wax backlight problem

Hello guys, as the title I have problems dynamic backlight display, if I disable all ok, but after a while 'time, or if I restart the phone it is as if you forget that the dynamic backlight is disabled, in fact if I go into settings as soon as I click power management system without touch anything it's alright, but after a while 'the problem recurs, it also happens to you as well? I tried searching around but nothing, can someone help me?
Thanks
P.S.: Sorry for my bad english
Up
Hi, I resolve whit an init.d script that disable permanently dynamic backlight, first of all u enable init.d, there are a lot of guides on xda and other forums, after this download script and put it in system/etc/init.d. Reboot and enjoy
Download:
https://www.dropbox.com/s/735jtz812hw3cxs/01dimmer?dl=0
Have u resolved it?

[Q] Double Tap To Wake on S.H.I.E.L.D. Rom

Hi,
I have installed S.H.I.E.L.D. ROM about 2 days ago... many thanks to @Tkkg1994... the ROM seems perfect so far.
The only thing (maybe a bug?) is "double tap to wake" that is too sensitive. Only a soft touch and display switch ON.
There is a solution? Some string or value in some system file?
Thanks a lot for answer
You have a functional dt2w? How come? It is only in settings and need a custom kernel to wake up.
agarth said:
You have a functional dt2w? How come? It is only in settings and need a custom kernel to wake up.
Click to expand...
Click to collapse
It's enabled in S.H.I.E.L.D. Rom... I think it has default kernel B165 with enabled value in .xml file. Maybe it is default supported in stock kernel...
Really!
How we can do it with stock rom 158 + Root?
On SHIELD ROM, I have:
Build.prop file in folder:
/System (string added by me)
/System/vendor
with this string: ro.config.hw_easywakeup=true
On /System/emui/base/xml
file:
hw_easywakeupmotion_config.xml
string:
<EasyWakeUpMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" />
In Settings>Smart Assistance>Motion Control
SCREEN OFF GESTURES - Double Touch
same here, hope someone can figure out why it's so sensitive. one tap would wake up the screen.

Categories

Resources