Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,304 Members 41,180 Now Online
XDA Developers Android and Mobile Development Forum

[miniGUIDE] Disable flipclock for Sense HD

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 514
Posts: 1,461
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:
Select Code
const-string v5, "clockwidget_flip"

    const/4 v6, 0x1
- and change it to:
Code:
Select 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 431
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
Retired 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+
 
madindehead
Old
#3  
madindehead's Avatar
Senior Member
Thanks Meter 82
Posts: 2,242
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 514
Posts: 1,461
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 92
Posts: 1,285
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.
Samsung Galaxy Note 3 N9005, knox 0x1

Running latest leanKernel

Previous devices:

Nexus 10
Nexus S
HTC Desire
Tags
desire hd clock, flipclock, sense hd, wheatherclock
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes