[miniGUIDE] Disable flipclock for Sense HD - Desire HD Themes and Apps

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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

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.

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.

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...

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.

Related

Clear Genie Widget for 1.5 (News and Weather)

I am trying to make a clear genie-widget from the ported 1.5 version. I unzipped the apk but can't find the background.
This is my first attempt at modifying a widget and I am obviously missing something here...can someone point me in the right direction?
thanks
EDIT: Got it done. Both files available below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If I had to guess, it would be widget_bg.9.png in the drawable folder?
I do agree that it looks like the most likely suspect. So it's expanded allowing for different resolutions?
*I'm away from my comp or I'd give it a go
Here you go, drop these 2 images into the correct folders, like in the zip. They work fine for me using metamorph
I tried the two files but they were not the correct png's. I figured out which image to modify (appwidget_bg.9.png in /res/drawable-mdpi), and then spent a few hours learning the ins/outs of .9.png images and the correct method of signing apk's.
So, after rigorous testing I present:
geniewidget_clear_1.5.apk (first post)
nice work!
tstack77 said:
I tried the two files but they were not the correct png's. I figured out which image to modify (appwidget_bg.9.png in /res/drawable-mdpi), and then spent a few hours learning the ins/outs of .9.png images and the correct method of signing apk's.
Click to expand...
Click to collapse
The files work fine on mine, but im running 2.1 so guessing there's the problem, i didnt read initially that you wanted it for the 1.5 version sorry. Glad you got it sorted.
djmace said:
The files work fine on mine, but im running 2.1 so guessing there's the problem, i didnt read initially that you wanted it for the 1.5 version sorry. Glad you got it sorted.
Click to expand...
Click to collapse
No worries. You actually helped in pointing me in the right direction to look in the drawable-mdpi folder. I wanted to make an apk anyway for this instead of using metamorph...of course I had no idea how much work was involved though with signing/.9.png/eclipse
just curious, but what clock and blutetooth etc.. widgets are those, would like to get them
jonny#1 said:
just curious, but what clock and blutetooth etc.. widgets are those, would like to get them
Click to expand...
Click to collapse
Clear HTC widgets HERE
Foundhttp://forum.xda-developers.com/showthread.php?t=588351 in the CDMA section so nandroid first.

How do you edit sreenlock bar?

im using modaco r5 but not a fan of the screen unlock bar, anyway to have a unlock screen like below? obviously keeping the notifiation bar and using a different bakground
is there a guide or anyone fancy helping me
thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
failing that just to be able to change the bar to a straight one like from sensehero
I think deleting HtcLockScreen.apk form /system/app and rebooting should work. (Or get you something similar)
Could you tell me where you got that screenshot from? It looks really nice
yeh ill try it, then ill need to edit the layout in framework to change that style?
i got it here, http://forum.xda-developers.com/showthread.php?t=735480
for the evo
ill try an port it if i work this out lol
rosswaa said:
yeh ill try it, then ill need to edit the layout in framework to change that style?
i got it here, http://forum.xda-developers.com/showthread.php?t=735480
for the evo
ill try an port it if i work this out lol
Click to expand...
Click to collapse
look in the hero cdma section themes someone already has for cynageon 6 roms thought it will save you some time also the gsm icons (G,E,H,(3G been done) have not been done
is there a link? im searching atm an not finding anything
1 sec then
Here you go
thanks for that, would i need to pull the lockscreen then flash?
any ideas on what i need to pull from it?
dont flash that pull /system/framework-res.apk then open the file you downloaded with the theme in extract that chose then images you want out of that then open your fw-res.apk open it with 7zip put the images you want in the corect folders closew it then push it back to your phone
thanks for that, i managed to do it but when u hold power to power down the menu list is all messed up, so i just reflashed sensehero an put on the desire lock screen so i still keep the straight bar instead of the curved one
thanks alot for you help with this anyway

[Mod]Battstatt - spanish

Little mod to battstatt,to display battery info in spanish, has some minor glitches with the sizes except large one, and another one that happen when the battery is below 10% the message below that percent has the "_y_" in front, that's because how the numbers are written in spanish. dont know how to fix it without the source code or messing with the widget core.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope someone find this useful.
any advice are welcome!
All the credits to http://blog.mudderman.com/ <- original autor of battstatt
thanks! it looks beautiful
Can you maybe explain how you changed the launguage?
I would like to make for my.
stifler05 said:
Can you maybe explain how you changed the launguage?
I would like to make for my.
Click to expand...
Click to collapse
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
kmilof said:
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
Click to expand...
Click to collapse
Thank you mate.
"Text Battery Widget" has spanish builtin

[Collection] Flashable Zips/Apk working Via Recovery (contribution needed)

Now that we have Clockworkmod Recovery, we can flash various .zips, The purpose of this thread is to post any zip you have flashed. Please make sure it was TESTED and also include the build you used it with.
TESTED AND WORKING.
1)Smooth Sense Icons By jercik. (Tested on Stock Desire:Frankinstine Droid v1.1). Thread: Here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) CircleMod Status Bar Icons By Hooolm. (Tested on Stock Desire:Frankinstine Droid v1.1) Thread Here
3) Nexus S Live Wallpaper. Thread Here
4) Ubuntu Font. Thread Here
5) iPhone keyboard. Thread Here
Reserved.....
Has anybody gotten the battery icon to work on mdj gingerbread. If so how?
Edit-Nevermind got it
mattfmartin said:
Has anybody gotten the battery icon to work on mdj gingerbread. If so how?
Edit-Nevermind got it
Click to expand...
Click to collapse
i don't have balls to try it, because my gingerbread is working awesome and looks georgeous. but the circle mod status bar will fit perfect in my theme... who ever will test it, will get a "thanks" (if it is enough).
by the way: very useful thread!!!
just read this:
Edit-Nevermind got it
Click to expand...
Click to collapse
have you managed it and how? do you have any errors after that? thx in advance.
i'm one step closer now: i tried to extract the framework-res.apk by adb, (re)place the old battery icons by the new ones with winrar (as a lot of tutorials say on google), gave the framework-res.apk the permission 644 and adb it back to phone. i don't get errors, but the icon is stuck 80%... just when i plugin usb, it changes to charging icon (but this is stuck, too - no animation!)
can anybody try this please? i would like to know if it's related to my build (mdj gingerbread 2.2) or if i made some mistakes?! editing stat_sys_battery.xml should not be necessary, since i just replaced a few icons, right? thx in advance for suggestions.
wrong place
overshadowss said:
wrong place
Click to expand...
Click to collapse
I think i might be the right place as it involves CWM
it's not an app after all when it need CWM (Flashing )

LG Theme Template for Nougat 7.0 (G5 & V20)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code: https://github.com/RaafatAkkad/LGThemeTemplate
Releases: https://github.com/RaafatAkkad/LGThemeTemplate/releases
Happy Theming!
Tercüme et
bu temalar hangi programla yapılıyor
With which program these themes are made
This is incredible!
So, it looks like common > src/main > res > drawable-xxxhdpi-v4 contains the Yellow, Green, and Pink background files respectively. If we wanted to make a barebones theme, would we just replace those three files and package with gradle? What about things like the dialer keys, etc, where do those resources live?
I'm super-new to theming and app development in general, but I think my skills as a designer would really benefit the community, I'd love to start doing themes for you guys!
Thank you so much for this! I have the info all there but how do you make the apks that actually theme the apps? like come.lge.theme.template.common.apk?
Edit, I did find this: https://plus.google.com/+PiereRalph/posts/9zqVrHrCWrS
Just do that for each app I want to theme? This is going to be fun haha
eczplaaain!
slamanna212 said:
Thank you so much for this! I have the info all there but how do you make the apks that actually theme the apps? like come.lge.theme.template.common.apk?
Edit, I did find this:
Just do that for each app I want to theme? This is going to be fun haha
Click to expand...
Click to collapse
but can you pleas tell what to edit to change the colors and phonts? im not very good at java.
Is there a guide on how to use the files in the template? This seems more complicated than just changing a few colours or substituting images.
The readme.md doesn't say much...
I am not a programmer.
what do i edit here to change the colors? and how do i install it on my phone?
This literally helped every question I ever had however once I edit an apk file do they need to keep the name com.lge.theme.template.common.apk?
slamanna212 said:
Thank you so much for this! I have the info all there but how do you make the apks that actually theme the apps? like come.lge.theme.template.common.apk?
Edit, I did find this: https://plus.google.com/+PiereRalph/posts/9zqVrHrCWrS
Just do that for each app I want to theme? This is going to be fun haha
Click to expand...
Click to collapse
This response may never get to you but if it does use apktool to decompile it then in assets/overlays/ you will find the apks of each individual app. Use apktool to decompile those and then go from there. I just decompiled the stock 'black' theme. Once finished theming replace the new modded apk where the overlay apks are. Then use apktool to repackage. It may need to be signed when completed however, I haven't quite gotten there yet.
Hi guys, I have a question regarding com.lge.theme.template.common.apk, this apk refers to everything in the framework-res.apk is true?
Thanks for the template.

Categories

Resources