Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[miniGUIDE] Disable flipclock for Sense HD

OP kurniawan77

15th February 2011, 06:29 PM   |  #1  
kurniawan77's Avatar
OP Retired Forum Moderator
Flag ☺☻♦▼▼┘
Thanks Meter: 522
 
1,482 posts
Join Date:Joined: Nov 2008
Donate to Me
More
Haven't seen this mod in the Desire HD threads or even in the HD2 Nand DHD threads so i hope i am the first that found out this mod. If not correct me then... Figured the way to hack this flipclock so here we go!

I assume that if u want to do this you know how it works so i'm not going into details too much.

- smali backsmali classes.dex in HtcClockWidget.apk or decompile with dependencies...
- look up for the file HtcDigitalClock42View.smali in \com\htc\WeatherClockWidget
- search for these lines:
Code:
const-string v5, "clockwidget_flip"

    const/4 v6, 0x1
- and change it to:
Code:
const-string v5, "clockwidget_flip"

    const/4 v6, 0x0
That's it.... Happy theming peeps...

this is what i have done so far... a nice transparent clock... without the flip

Last edited by kurniawan77; 18th February 2011 at 10:31 AM.
The Following 2 Users Say Thank You to kurniawan77 For This Useful Post: [ View ]
17th February 2011, 09:55 AM   |  #2  
HQRaja's Avatar
Retired News Writer
Flag Islamabad
Thanks Meter: 432
 
490 posts
Join Date:Joined: Jan 2008
More
Hello!

Can you please post a guide on how to get a clock like yours for someone who doesn't know how to customize themes and smali/backsmali etc.

If possible, can you also provide with files that anyone can use to install or replace the original files with, to get exactly the look like your clock?

Thanks.
17th February 2011, 11:15 AM   |  #3  
Senior Member
Flag Maidenhead
Thanks Meter: 82
 
2,247 posts
Join Date:Joined: Apr 2009
More
Does this disable the minutes and hours flip, or just the flip the clock does everytime the home screen refreshes. As one is annoying, and the minutes flip is actually nice, it is important to get it right.

And as for extracting the files, not a clue on how to do it. So it's less of a mod, and more of a guide I would say.
18th February 2011, 11:16 AM   |  #4  
kurniawan77's Avatar
OP Retired Forum Moderator
Flag ☺☻♦▼▼┘
Thanks Meter: 522
 
1,482 posts
Join Date:Joined: Nov 2008
Donate to Me
More
Alright changed the title to miniGUIDE then. If you like to know how to mod the apk i would like to refer you to ApkTool or much easier ApkManager. If u want to pull out the apk from your phone use ADB or Droidexplorer. I'm not that guy that explains everything for these tools, if u read it u might understand why. I'm just explaining which lines u need to modify to get the flipclock disabled. This way the flipclock is fully disabled, no way to have other options...
The Following User Says Thank You to kurniawan77 For This Useful Post: [ View ]
5th April 2011, 09:43 PM   |  #5  
Senior Member
Flag Galati
Thanks Meter: 119
 
1,341 posts
Join Date:Joined: Dec 2010
More
Do you really expect people to know how to decompile stuff and then sign them? Really? This guide is beyond poor...it needs a proper tutorial or just delete this thread, useless.
I don't have the slightest idea how to do this and I'm not even going to try, when I've seen the GUI of apk manager I freaked out.
Post Reply Subscribe to Thread

Tags
desire hd clock, flipclock, sense hd, wheatherclock
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes