Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kurniawan77
Old
(Last edited by kurniawan77; 18th February 2011 at 09:31 AM.)
#1  
kurniawan77's Avatar
Retired Forum Moderator - OP
Thanks Meter 437
Posts: 1,285
Join Date: Nov 2008
Location: ☺☻♦®▼▼õ┘Œ

 
DONATE TO ME
Lightbulb [miniGUIDE] Disable flipclock for Sense HD

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

__________________________________________




http://forum.xda-developers.com/show...9&postcount=45 Maybe then.... some of you might understand why!
The Following 2 Users Say Thank You to kurniawan77 For This Useful Post: [ Click to Expand ]
 
HQRaja
Old
#2  
HQRaja's Avatar
Retired News Writer
Thanks Meter 410
Posts: 490
Join Date: Jan 2008
Location: Islamabad
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.
Regards,
Haroon Q. Raja.

Entrepreneur | Writer | Math Teacher | Web Developer | Technology Enthusiast
News Writer at XDA Portal | Senior Editor at AddictiveTips | Founding Editor at HQTech
Visit my Website | Subscribe on Facebook | Follow on Twitter | Add me on Google+
Want something covered on the XDA portal? PM me and I'll cover it if it meets the requirements.
 
madindehead
Old
#3  
madindehead's Avatar
Senior Member
Thanks Meter 81
Posts: 2,237
Join Date: Apr 2009
Location: Glasgow
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.
HTC Desire HD//HTC Sensation//HTC One X//HTC One
 
kurniawan77
Old
#4  
kurniawan77's Avatar
Retired Forum Moderator - OP
Thanks Meter 437
Posts: 1,285
Join Date: Nov 2008
Location: ☺☻♦®▼▼õ┘Œ

 
DONATE TO ME
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...
__________________________________________




http://forum.xda-developers.com/show...9&postcount=45 Maybe then.... some of you might understand why!
The Following User Says Thank You to kurniawan77 For This Useful Post: [ Click to Expand ]
 
lvnatic
Old
#5  
Senior Member
Thanks Meter 50
Posts: 962
Join Date: Dec 2010
Location: Iasi
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.
Google Nexus S GT-I9023
Running Oxygen v2.3.1 ROM on Lucid Nexus kernel
_____________________________

HTC Desire A181 - Sold
 
Post Reply+
Tags
desire hd clock, flipclock, sense hd, wheatherclock
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...