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

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

Related

[DEV] Deodexed 1.72.405.3 framework files!

Finally the framework files got deodexed. They where deodex by Feeyo who is a good friend of mine so no credits to me here.
Dowload!
Direct download
Oh man the advanced power menu doesn't work with this
Soooo...what's the plan now? Should we close the thread or....?
M_T_M said:
Soooo...what's the plan now? Should we close the thread or....?
Click to expand...
Click to collapse
No the deodexed files work it's just the advanced power menu which is an addition for older ROMs doesn't work... Lot's of people has been struggling with deodexing the framework files of this ROM but I was just hoping the advanced power menu would work on this
why don't you use Quick boot from the market?!
place the icon on the home screen or an other screen, and you're done, you can use it with any rooted ROM ; )
liljom said:
why don't you use Quick boot from the market?!
place the icon on the home screen or an other screen, and you're done, you can use it with any rooted ROM ; )
Click to expand...
Click to collapse
I know but still though.
still better without installing apps, better it is there by default
It's robocik that makes the advanced power menu right?
well we have tried into 2.2.1 still some troubles with it, thats why touch4g ports don't have the menu, cause it is 2.2.1
Okay hope you get it working

[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

Disable Wake on Volume in Bouyancy Rom

Hi,
I love the Buoyancy Rom for the Skyrocket, but did not want the wake on volume feature. Easy fix:
themikmik.com/showthread.php?9319-Removing-wake-on-volume-%28any-ROM%29-Other-mod-2ND-post
The file to edit on the Skyrocket is "sec_key.kl". Do NOT remove the entire block of text, just remove the word "wake"
Hope this helps.
OR just flash this!!!!!!
ganja_guru said:
Hi,
I love the Buoyancy Rom for the Skyrocket, but did not want the wake on volume feature. Easy fix:
themikmik.com/showthread.php?9319-Removing-wake-on-volume-%28any-ROM%29-Other-mod-2ND-post
The file to edit on the Skyrocket is "sec_key.kl". Do NOT remove the entire block of text, just remove the word "wake"
Hope this helps.
Click to expand...
Click to collapse
appdroid said:
OR just flash this!!!!!!
Click to expand...
Click to collapse
Actually, as the creator of this rom, you probably shouldn't flash that. If I'm not mistaken that file will in fact replace the current framework-res.apk that I heavily modified to be Buoyancy specific. Method in the first post works better

Capacitive sounds

Hi all.
I'm on KingDroid V5 based on latests LRG stock rom.
I would want to change the touch sound of the capacitive buttons. On previous versions was as easy as changing the original file (TW_touch.ogg) for the adecuate one. And I have done it but on this version that only change the screen tap sound but not the capacitive buttons.
Someone knows what file to modify??
Thanks in advance.
straycat said:
Hi all.
I'm on KingDroid V5 based on latests LRG stock rom.
I would want to change the touch sound of the capacitive buttons. On previous versions was as easy as changing the original file (TW_touch.ogg) for the adecuate one. And I have done it but on this version that only change the screen tap sound but not the capacitive buttons.
Someone knows what file to modify??
Thanks in advance.
Click to expand...
Click to collapse
TW_Touch.ogg and TW_SIP.ogg
Find them from a rom that you like the sound and replace them in system/media/audio/ui.
Keep in mind the version.
I m not sure and dont remember but i think that you need the same tw version....but not sure.
sotmax said:
TW_Touch.ogg and TW_SIP.ogg
Find them from a rom that you like the sound and replace them in system/media/audio/ui.
Keep in mind the version.
I m not sure and dont remember but i think that you need the same tw version....but not sure.
Click to expand...
Click to collapse
Thanks!
TW_Touch.ogg works as expected.
For the capacitive buttons I had to change the S_HW_Touch.ogg on /system/media/audio/ui.
The really weird thing is that when I "previsualice" with any player the original files both sound like I want but finally in the real world they don't...
straycat said:
Thanks!
TW_Touch.ogg works as expected.
For the capacitive buttons I had to change the S_HW_Touch.ogg on /system/media/audio/ui.
The really weird thing is that when I "previsualice" with any player the original files both sound like I want but finally in the real world they don't...
Click to expand...
Click to collapse
Maybe there is some kind of confliction there...
I see that many times and to avoid it you have to put the files in system and make a wipe data factory reset but it is obvious that none of us want to start over just for a sound...
) ) ) over the air on Galaxy Note ( ( (
sotmax said:
Maybe there is some kind of confliction there...
I see that many times and to avoid it you have to put the files in system and make a wipe data factory reset but it is obvious that none of us want to start over just for a sound...
) ) ) over the air on Galaxy Note ( ( (
Click to expand...
Click to collapse
There is some conflict, that's for sure.
Next time I will put the correct files on the correct path of the flashable zip to avoid the annoying issue.
Regards.

[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

Categories

Resources