yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] akapaul26:
I agree...

I also like the clock downloaded and tried but just feels too small...or short really. Are there any plans to resize? Good work though, I am a big fan of that style clock.
[HTC Sensation] artymarty:
I remember seeing a comment about the two suns/ two moons weather effect bug, but I cant find it now.

Has anyone got a fix for that?

Sorry I have tried search, no luck...

Warmly, Marty
[HTC Sensation] dillysgirl:
I am currently using on my Sensation Mike's 4.17 ROM which features Sense 3.5. I tried the modified HTC clock, downloading from one of the alternate sites and installing it as a zip file. Unfortunately, the clock looks funny and is unreadable. I had to uninstall.
[HTC Sensation] ClydeB1:
The only fix I'm aware of is disabling full screen weather animation when adding the widget.

---------- Post added at 03:21 PM ---------- Previous post was at 03:18 PM ----------

Remove the funny clock and re-add the widget which will then allow you to choose the smaller clock and which should work perfectly. As has been said, you can either have the original clock or the new small clock but you can't have both.
[HTC Sensation] flex2k9:
works on sensation xe? rooted?

is this on a rooted sensation xe, cos my xe (stock/original) has sense 3.0 and from all i've read this apk does not work on 3.0.

pls confirm before i screw mine up... i have wanted this widget since i was on the touch hd2...
[HTC Sensation] cee:
Hi flex,

u r right. No Sense 3.0 support, only 3.5 - sorry.

Greetz, cee.
[HTC Sensation] artymarty:
Just wondering if there is a newer version of this clock?

I'm running the original version, and there are a few small bugs with it.

All the links I can find on the Internet point back to this thread!

Warmly, Marty

Sent from the future using a sensational Z710a size rip in the space-time continuum
[HTC Sensation] KotDroid:
Uhm...

http://xdaforums.com/showthread.php?t=1376414

It's included also in newest IC (3.4.5)
[HTC Sensation] sasory:
Very bad that no longer work hours 4x2 :( But on my EVO 3D GSM work 4x1, which is very happy (Sense 3.5 by Will972)
[HTC Sensation] fmedrano1977:
Do some searching, the full working apk has been posted on different thread on this forum. Starts off [widget]

HTC Sensation 4G
[HTC Sensation] Rolando88:
Ejj man kan je aub je achtergrond sturen?? kan hem niet vinden of in de juiste resolutie voor sensation..
[HTC Sensation] KotDroid:
People can you just read a little bit?

I've posted link on this page already.

maybe this will help:

Fully working 4x1 clock widget is posted HERE​

Use english.
[HTC Sensation] Greenpred8tor:
Thanks alot, atticus182. Great app.

Tried to flash it from .zip with Clockwork Recovery - didn't work properly, used easy installer app then to install apk file - works like a charm and looks beautiful.

Thanks again.

Sense 3.5
[HTC Sensation] EddyOS:
Did you not think to look at the

100% working version

in the post above yours?
[HTC Sensation] Greenpred8tor:
Just wanted to give a credit to thread author
[HTC Sensation] atticus182:
I have added the link to the new version to the first post, thanks for the alertness!
[HTC Sensation] sensati13:
hey this looks great, can't wait to install it
[HTC Sensation] Jiggs82:
Can someone or does anybody know how to change the clock font to roboto style? Thanks in advance
[HTC Sensation] xeroxcool:
Found it!!Thanks!!
[HTC Sensation] Rhamon's:
What's about this widget without weather and other online stuff (2x1 size for example)?
[HTC Sensation] jjdoctor:
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...
[HTC Sensation] CdTDroiD:
Nice man thats cool!

EDIT: Heres one for 2.3.4 ROMs dude ;)
[HTC Sensation] cecc500:
this's good!
[HTC Sensation] falcon eyez:
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 ?
[HTC Sensation] velazkool:
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..
[HTC Sensation] jjdoctor:
hmmm... sorry friend thats just beyond my capabilities...:rolleyes:
[HTC Sensation] DroidRC1:
Can you get it to work on cm7??
[HTC Sensation] jjdoctor:
I thought cm7 already has this mod...

upload the android.policy.jar from system/framework...
[HTC Sensation] silentsnow31802:
CM7 does indeed have this mod built into it.

Settings/CyanogenMod Settings/Input/Volume rocker wake
[HTC Sensation] DroidRC1:
Thanx I forget
[HTC Sensation] juangil:
thank a lot!

works on RCMix 3.5;)
[HTC Sensation] yungyeh:
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!:D
[HTC Sensation] zoro_op:
nice work!
[HTC Sensation] omar302:
Thanks alot jjdoctor!

Now we only need the volume button to work as a Camera shutter!
[HTC Sensation] jomblass:
How to change permissions?... Tnx
[HTC Sensation] McLongDong:
Details...

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 :)
[HTC Sensation] EddyOS:
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
[HTC Sensation] Sharpi1:
Very nuce, thank you dude!
[HTC Sensation] jjdoctor:
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...
[HTC Sensation] EddyOS:
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
[HTC Sensation] jjdoctor:
To Enable this it should be

???
[HTC Sensation] samsunghowie:
I've added the following line to /system/build.prop

ro.config.hwfeature_wakeupkey=1

Then I wiped cache twice and wiped dalvik cache twice. However, volume rocker doesn't wake the screen. Anyone else had luck using the ro.config.hwfeature_wakeupkey property?
[HTC Sensation] *damo*:
Yeah its not working for me :(

HTC Swyped from my Sensation using XDA Premium
[HTC Sensation] jjdoctor:
the only way is then android.policy.jar

if you think your Rom has a different sized jar file then unpack android.policy.jar

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
[HTC Sensation] zmfl:
I might end up using this eventually, thanks :)
[HTC Sensation] yungyeh:
AllinOne + volume wakeup

I have used jjdoctor's tip to make one for Revolution HD 3.6.x

This pack is an APM(advanced power menu) + EQS(extended quick setting/STOCK NO GB GREEN/black background) + TMO 4G icon + volume key wake up.

You can find the original AllinOne mod for ARHD 3.6.2 from here

I take no credit of making it. Feel free to modify as you desire and share to people who may need.

How to install? Just flash in recovery. ;)

Edit: ultimate all-in-one with volume wake in my sig
[HTC Sensation] kingskidd268:
I post a question on XDA thanks just what I was looking for.
[HTC Sensation] darkshinning:
Thanks good work, I use this mod in insertcoin 3.3.1 :)
[HTC Sensation] :
Could you then please upload the source code to somewhere? I really like to get that volume buttons music control back! :)

Would be great!
[HTC Sensation] deadeye0908:
Nice! Thx :) Exactly what I've been wanting! Was bout ready to find the closet brick wall n show it my sensation lol..
[HTC Sensation] chairman_palm:
Anybody can upload the android.policy file which closed the wakeup sense function

Thanks
[HTC Sensation] mandeep294:
plz make it to work on incredible s.tried it but sense crashes
[HTC Sensation] jjdoctor:
extract it from zip of your original rom zip file and set permissions...

No prob mate...upload ur jar file and mention the android version...
[HTC Sensation] mandeep294:
thanks..but found the mod in incredible s threads..same as ur procedure
[HTC Sensation] jnlinh:
Use battery indicator app u can wakeup screen with volume button

Do not need any mod
[HTC Sensation] McLongDong:
Not Quite...
[HTC Sensation] Step-han:
Can i have it working on MIUI rom? 1.10.14?
[HTC Sensation] jjdoctor:
i think MIUI already has this feature but upload ur android.policy.jar file...will modify and upload again..
[HTC Sensation] McLongDong:
Please FIX for me, please!

I just added the policy.jar for InsertCoin_Sensation_Android_2.3.4_Stable_2_2.5-SE. Please I want this volume wake up screen and my phone will be perfect...for me =)
[HTC Sensation] jjdoctor:
Here u go bro.. its NOT flashable file.. extract the .jar file and replace with original using Root Explorer and REMEMBER to set permissions correctly.. Reboot Normally..
[HTC Sensation] McLongDong:
One more time

I really want this to work, but the android policy.jar that you created for me was actually for InsertCoin_Sensation_Android_2.3.4_Stable_2_2.5-SE. Which was what I told you, but I forgot I had incrementally updated to InsertCoin_Sensation_Android_2.3.4_Stable_2_2.5-SSE. So, to just play it safe, I have uploaded the android policy.jar of my current rom. Hopefully this next time, it will work because I really want this mod.
[HTC Sensation] jjdoctor:
Its ARHD room of same version... SSE out SE doesn't matter... It will work for both...
[HTC Sensation] McLongDong:
Solution?

I tried yours and it didn't work. I tried it 3 times. Can you please take another look at it again? I followed the instructions but no result. But two things I noticed...

1.) When i placed the one you modified and overwrite the original one...the permissions was already properly set. Anything wrong with that? What do you think the issue is? Isn't ARHD based on a 2.3.5 rom? So wouldn't that be different than mine, a 2.3.4?

2.) Why did the file size shrink from 127.4 to 124.0?
[HTC Sensation] jjdoctor:
permissions are never set correctly after copying via root explorer. u sure u overwrited correctly?

check permissions of android.test.runner.jar... it shud be same as that

I modified the file u uploaded .its 2.3.4 as u mentioned ... shud work on all 2.3.4 Athens Rome..
[HTC Sensation] McLongDong:
I'll give it another go...but the permissions...kind of weird. I'll post back whether it worked or not.

---------- Post added at 12:55 PM ---------- Previous post was at 12:25 PM ----------

Alright, I did something extremely stupid....I mistaken the .zip file as a .jar file and placed it in the system/framework. I was wondering, was there a android.policy.zip file in system/framework? Is it safe for me to delete it from the folder? Thanks for being patient with me.
[HTC Sensation] jjdoctor:
hehe.. I mentioned in early post to EXTRACT .jar file. I already have one in attachment with this name so I couldn't upload another that's y I had to zip it to make it different.

just overwrite android.policy.jar and set permissions correctly. u can delete yr zip file u mistakenly copied. no prob with that...
[HTC Sensation] McLongDong:
Gratitude

You're awesome bro, thanks for helping me out. :cool:
[HTC Sensation] infazz:
Can some one help me? :)

for me the android.policy.jar changed the "power button hold" menu, adding to it more options. And I like it :)

But I don't want to wake phone on volume keys, as you cant change volume if screen is of.

Maybe some one can change the file so volume buttons don't wake the phone and leave those options in "power button hold" menu? :)

OR

Maybe it is possible NOT to wake the phone with volume buttons only when music is playing? And to wake it with volume keys if music not playing. That will be awsome :)
[HTC Sensation] jjdoctor:
y don't u just flash advanced power menu mod?.. tell me ur rom atleast...2.3.4 or 2.3.5?
[HTC Sensation] infazz:
it is 2.3.4

:)
[HTC Sensation] easyguy:
Hi op here is my jar file, can you edit it for me? Thanks

Rom is sense-o-maniac 2.3.5 sense 3.5
[HTC Sensation] jjdoctor:
i just downloaded but you have to wait coz i m on 2 days vacation and don't have PC..

If you can't wait then just download InsertCoins 3.4.1 ROM and extract the jar file from that and paste in yr framework folder and change

If that didn't help then let me know then..
[HTC Sensation] wchiichang:
thx alot..keep it up
[HTC Sensation] gilbert11231123:
it would b cool to use volume up to wake up screen and volume down to turn off screen :D
[HTC Sensation] McLongDong:
RCMIX v09

Another one for you, thanks!
[HTC Sensation] EddyOS:
No, just delete the entry full stop. Then I guess it goes back to whatever the default is (which should be volume to wake)
[HTC Sensation] McLongDong:
Virtuous XE ROM

Here's another one. :-) Virtuous ROM
[HTC Sensation] kaminari84:
should also work with stock rom 2.3.5 (Senso 3.0) of Desire S?
[HTC Sensation] maniep:
DO NOT USE THIS GUY'S ADVISE.

I Flashed his volume mod and it missed up my phone sending it into a reboot every 3 seconds. :(
[HTC Sensation] yungyeh:
NO!!! your are wrong. My mod is working.

I am sure the mod I made has nothing to do with your reboot issue. You must flash the wrong mod!:confused:

This file is meant for ARHD rom only.

if you are NOT using any ARHD 3.6.x rom, PLEASE DO NOT FALSH THAT FLASHABLE ZIP!!!!!!

This mod is officially posted in the mod section in ARHD and so far your are the first user complain about it.

Besides, could you please explain what do you mean by "reboot every 3 second"? I seriously doubt any phone can do something like that!

If you are using insertCoin (like you said in your sig), please use the instruction from OP.

Do not frame me if it is your own mistake.:mad:
[HTC Sensation] maniep:
As long as you admit the mod only works on your ROM, then it is okay.

But why do you have 2 links in your sig for download?

EX: Vol wake : Here and Here for 3.6.x only

^ This is confusing to us. It looks like the first link is for other Builds and the the second link for your ROM.

So I got the 1st one and that does not work for InsertCoin as you know.

It made my phone reboot every few seconds over and over again into the boot animation.

I had to do a full wipe of ROM and Apps, settings etc.

I realize is not your fault

, but please make it clear next time when you post MODS for just your ROM.
[HTC Sensation] Bronyr:
Just installed bulletproof Rom, it's all there, excellent Rom btw...
[HTC Sensation] the_judges86:
wonderful...thx!
[HTC Sensation] yungyeh:
Does InsertCoin has any version in 3.6? If not, you'd better read anyone's post carefully before you do anything to your phone.

I believe I said it rather clear.

In that post as well as the first link in my sig, I clearly said that the flashable file is for ARHD 3.6. Can you please tell me what part of it you do not understand? Besides, I can put anything I want in my signature as long as it won't violate forum's regulation, like I won't judge any nonsense in your signature.

Regarding the full wipe stuff...why don't you do a nandroid backup before you flash anything? Even in the OP it says do a back up for original "android.policy.jar". It's your fault and you blame me?
[HTC Sensation] dragonnson:
Um so I am using Coredroid...I replaced and set all the correct permissions...but my phone has taken over an hour now to boot up, it remains on the htc screen :confused: helpppp me please! i have no idea what to do.
[HTC Sensation] jjdoctor:
Maybe you have set the wrong permissions or copied .jar file from 2.3.5..

It doesnt take more than 3-5 mins to boot again... CoreDroid already comes with Volume awake option in Tweak I guess... Dont know exactly...

Flashing the rom back will only solve ur problem then..
[HTC Sensation] McLongDong:
Once ROM

I'm trying out this *ROM* and I need the Volume Wake Function. The thing is I am not sure if this is actually a sense ROM or have the capabilities of it. Here's the Link http://xdaforums.com/showthread.php?t=1395554.

I don't know if it possible to integrate the volume wake function with this ROM. So I just uploaded the .jar file just in case it can. Thanks!
[HTC Sensation] unl0rd:
I gave this a shot on my stock Sensation XE and it didn't work, so attempted to modify it myself, however, my /system/build/android.policy.jar that I backed up is much smaller, only 314 bytes.

All it contains is the META-INF\MANIFEST.MF file, nothing else at all.

I thought that perhaps my backup was no good, but it's identical to the ones in all my nandroid backups (system.ext4\system\framework). Any ideas?

Is it beacuse it's a stock ROm and isn't deodexed?

Also, Post #17 by EddyOS reads "You are aware that by DEFAULT the Sensation wakes using the volume button?" Mine doesn't and never has.

Sensation XE 1.73.707.4
[HTC Sensation] gmi78:
..

exist wake up file for aosp ics rom???
[HTC Sensation] cgjjaf:
I was wondering the same thing, this is a great feature to have in any rom.

Can anyone get this to work with aosp ics?
[HTC Sensation] jjdoctor:
You guys are lucky... I already have one for ICS 4.0.3.. Works on both sense and aosp (nonsense) versions...;)
[HTC Sensation] watcherliu:
Hello,

Is it possible to work for HTC vivid?
[HTC Sensation] watcherliu:
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 ===> may I know what's the 2 lines in non-changed file? I would like to change it in another ROM.

Thanks
[HTC Sensation] jjdoctor:
when U open Keygauardmediator.smali with Notepad, Search for x18...

You will see Like this

:sswitch_data_8
.sparse-switch
[B][COLOR="Red"] 0x18 -> :sswitch_5
0x19 -> :sswitch_5[/COLOR][/B]
0x1b -> :sswitch_5
0x4f -> :sswitch_5
0x55 -> :sswitch_5
0x56 -> :sswitch_5
0x57 -> :sswitch_5
0x58 -> :sswitch_5
0x59 -> :sswitch_5
0x5a -> :sswitch_5
0x5b -> :sswitch_5
.end sparse-switch
.end method

Delete the two lines, it should be like this now

:sswitch_data_8
.sparse-switch
0x1b -> :sswitch_5
0x4f -> :sswitch_5
0x55 -> :sswitch_5
0x56 -> :sswitch_5
0x57 -> :sswitch_5
0x58 -> :sswitch_5
0x59 -> :sswitch_5
0x5a -> :sswitch_5
0x5b -> :sswitch_5
.end sparse-switch
.end method

Just Save, repack

and yes it will work on Vivid..
[HTC Sensation] watcherliu:
Thanks, man! I already done it and it works for vivid! Great!
[HTC Sensation] watcherliu:
Hi jjdoctor,

I know it may be a little hard for you.

But could you please think about it's possible to do some modification then we can wake up screen with home key (left bottom of Vivid)?

Thanks very much!
[HTC Sensation] jjdoctor:
if that's a soft key then its impossible as soft led keys and touch screen share the same digitizer... When phone is locked then whole digitizer is turned off...
[HTC Sensation] watcherliu:
Dude, got it. Thanks very much.
[HTC Sensation] gbagdufs:
searching all the forums elsewhere in vain and finally found it here. thanks
[HTC Sensation] mikef:
Hi jjdoctor, is it possible for you to edit this android.policy.jar for ARHD 6.1.0 for the volume wake mod? I was reading your instructions and it seems I need to do some more reading before attempting it myself. Many thanks in advance!

edit: Never mind, I found that grandelama had already done it using your method. Thank you!
[HTC Sensation] ArmandHammer:
Hey JJdoctor,

First off thank you for this great feature. It has seems that using the 4.0.3 policy.jar that you uploaded is making some setting menus unreadable in Virtuous Inquisition v3.0.0.

I am posting the policy.jar from the ROM and any help would be greatly appreciated.

Thanks again

Hammer
[HTC Sensation] galaxys:
I also would like to have this working on Virtuous Inquisition v3.0.0!
[HTC Sensation] jksingh:
Cool.
[HTC Sensation] jjdoctor:
Ok guys.. U will get it in few hours...
[HTC Sensation] jjdoctor:
Here you go Guys,

Volume Awake Should work with all Sense and Senseless Roms like Inquisition (except Pure AOSP- Quadratto) based on ICS 3.24

Flash in Recovery...:)
[HTC Sensation] gmi78:
.

not exist volume wake up for new miui v4 or cm9??
[HTC Sensation] TripManISR:
Will it work on stock HTC ROM ?(with android 2.3.4 or 2.3.5)?

All I need to do is to copy one of the next files instead of my current file according to my android version?

1) 2.3.5 Roms (Tested on InsertCoin..Should work for other Roms)

2) 2.3.4 Roms (thanks to CdDroiD)

I dont have any custom ROM, as I said.

I afraid to make any dangerous changes that will harm my new phone.

Thanks in advance.