How to change lockscreen text color - T-Mobile LG G2x

So far, I've adb pulled android.policy.jar from /system/framework, and baksmali'd the classes.dex file to reveal the editable HoneycombLockscreen.smali file.
I've been able to get the carrier name, the date, and the next alarm time (not the icons though...those pngs are in the framework-res.apk under drawable-hdpi and easily changed) to be blue by adding the code:
const v2, -0xff6301
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
to the constructor() method near the implementation of the mcarrier, mdate, mstatus1, and mstatus2 widgets. However, I can't find where the time(clock) widget is implemented.
I feel like I'm so close, yet so far away. Every place I try sends me into a boot loop. I'll keep searching though, and if I find it before someone else can help me, I'll update this with my results.
edit: Woops, here's a link to the pastebin with the HoneycombLockscreen.smali code: http://pastebin.com/ZTk5bRxM
UPDATE: I went another route and simply replaced my Clockopia.ttf font in /system/fonts/ with a transparent font, but it still shows the little "am".
{
"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"
}

Any help would be appreciated.

Yes, I did it!
It required some xml editing, but I figured out how to get rid of the lockscreen clock. It actually isn't gone, but it's just transparent.
While I was at it, I altered the honeycomb lock as well. I think it looks nifty.

Related

[Theme] Hungry Donuts Notification Icons 2/7/2011

{
"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"
}
This is a notification Icon set that I created based off of the Gingerbread Icons. I decided to post a zip file with all the icons in it so that a user can add them to the files they have on there own phone. This will preserve any custom modifications made to those files. Please enjoy and if you use them in a theme or anywhere else please make sure to credit me. Below is a pdf with the instructions on how to get the icons in the files and install them with a flashable zip. If you have any questions please send me a PM I will try to answer it ASAP. Most of the users on XDA are pretty advanced so I think the instructions will be nothing new or different from modify the files in other ways.
Enjoy! AND ALWAYS DO A BACKUP BEFORE YOU ATTEMPT TO CHANGE ANYTHING!
Installation Instructions - HERE
Zip File with Icons - HERE
having trouble witht he zip link
I just tried it and it fully downloaded
Ok, I just tried it again and it worked. Thanks!
I followed all the steps and it looks like the only icon that actually changed was the signal bars...hmm
what icons did you copy over and did you put them in the right files?

[MOD] 4-Way Reboot For Stock Rooted LB3

I know much of you are probably on CM9, AOKP or a custom rom (AEON)(Shameless Plug) and really need this. I'm sure there are a select few that might.I know there is already an EMP, this one is just easy to do. All props to kahvitahra and his great guide you can follow 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"
}
If you wish to do your own here is a little help to get you started while following his guide.
Once you decompile the policy.jar
In the Open GlobalActions.smali search for this line:
- "Lcom/android/internal/policy/impl/GlobalActions$3;"
(Change 3 to 99. There will be two of them. The other 3 will be a line down)
SAVE!
And in the GlobalActions$SinglePressAction.smali
Change this:
-.method static constructor ()V
TO THIS
.method static constructor <clinit> ()V
After following his directions editing GlobalActions$SinglePressAction.smali before saving check this post to make sure your spacing is correct.
kahvitahra guide. There is a zip file to download with three smali files you will need after you decompile the policy.jar
Thx bigfau....
updated the ISET page >>Mod section, with your 4 Way...looky looky...:cyclops:
http://forum.xda-developers.com/showpost.php?p=25111013&postcount=1
Awesome post! Thanks for your contribution .
Thanks Big, it was the <clinit> I didn't catch, mine was <init> lol, friggin syntax!

Need some help with UCCW and a specific font

So I had the UCCW clock as shown below running fine but did some "cleanup" and messed things up. Now I can't seem to locate the exact same font that's being displayed. I had loaded both AndroidClock.ttf and Roboto-Regular.ttf into a fonts directory so I thought it was using the AndroidClock font. However the shape/height of the numbers is noticeably different. I've gone through all the fonts in the system/fonts folder and it's not there either so I'm really stumped on this one.
{
"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"
}
Mods: if this should be in a different sub-form please move it.
Just to be sure, I am assuming you've already tried changing the font under display settings?
If helped you or you liked what I had to say. Save forum space and thank me using the thank you button.
Sent from my SCH - I535 using XDA Premium App
I've tried just about everything I can think of. This includes changing the system default font, which I believe is Roboto-Regular, and there's no effect other than what one would expect. At this point I have no idea as to how I wound up with a font that doesn't seem to be on my phone - but I want it back
If someone is able to ID the font then I can just locate a copy and add it to the fonts folder.
ETA: Solved. I reloaded the original uccw uzip file and it apparently has that font embedded in it. I guess that means that the ROM that the person was using had a different set of fonts than the stock VZW rom.

S-pen hovering icon change

Red biohazard
{
"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"
}
Always nandroid before modding!!! Just in case....
Here is one way to change the icon of your spen..
I used rom toolbox to copy the framework-res.apk to desired modding location, its found under system, framework... then used zarchive to find desired icon.. long press to copy... then in upper left hit the x. Or cancle whichever it says.... (copied png is still ready) find and open copied framework apk as archive (long press on copied apk) then copy tw_pointer....png image of choice to drawable mdpi folder which is found in the res folder.. close zarchive and then use rom toolbox again and MOVE framework-res.apk back to to system, which will overwrite the existing. Then reboot and all is well!!!!! Icon changed!!
Here are some icons... Just remove the number out of the name before using icon!! Should be named like this
tw_pointer_spot_hovering_spen.png
http://db.tt/2rHZz2o9
All credit goes to bioslayer for making the icons!!
Theres a aroma installer being made in the verizon n2 threads. Wanted to share this for now until hopefully we get an installer for the n10.1...
Notice the green jelly bean in the lower left of the screen shot.
Tapped from an annihilated N10.1

Modifying The Icons On Status Bar with SystemUI

In the past days with older version of Android, it is easy to do by modifying PNG files in drawable-xxhdpi folder in SystemUI.apk, but now with the new version like Marshmallow, I can't find those specific PNG files of Wifi, signal strength and battery icons in systemui.
Not only the Z5 which I'm using now, my HTC One M8 with 6.0.1/Sense 8 can't find those files either.
How can I modify those icons now with Marshmallow?
The picture below is my HTC M8 with Lollipop+Sense 6, I have modified the Wifi and battery icon.
{
"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"
}
p22446633 said:
How can I modify those icons now with Marshmallow?
[/IMG]
Click to expand...
Click to collapse
From Android Kitkat on, statusbar icons are drawed by code instead of being rendered from .png files.
You should root and install one of the Xposed modules that have this function, for example Xstana
http://forum.xda-developers.com/xposed/modules/app-xstana-navigation-status-bars-t2834474
If you are able to, you can take the challenging apk-editing way to change the icons (editing of xml and smali files inside SystemUI.apk). For the battery icon you can follow this guide (and try if it works on Z5): http://forum.xda-developers.com/showthread.php?t=2761928

Categories

Resources