[MOD] Remove AM/PM text from statubar clock - Verizon LG G2

Hi guys, if you're seldom confused about whether it's night or morning, you might like this mod! It removes the AM/PM text from the statusbar clock when it's in 12-hour format. 24-hour clock folks obviously have no AM/PM indicator anyway, so you need not mess with this.
This mod alters framework-res.apk, which means it conflicts with burningmembers' small navbar mod. I really like the small navbar, so I've packed up a few different versions of this clock mod.
StatusBarClockNo-AM-PM.zip doesn't mess with the size of the nav bar, just removes the AM/PM text.
StatusBarClockNo-AM-PM-med-navbar_v0.2.zip comes with the medium sized navbar.
StatusBarClockNo-AM-PM-tiny-navbar.zip comes with the tiny navbar.
To revert, you can use the revert zip in burningmembers' thread.
AT&T
If you've got an AT&T device, please check out this AT&T thread.
Technical details:
For interested devs, this was a pretty simple one. The statusbar clock uses the value of the "twelve_hour_time_format" string resource in framework-res as the format string for a SimpleDateFormat. The default is "h:mm a". I just did a global search and replace to change all instances of "h:mm a" to "h:mm" (without the quotes). You have to do a global replace (i.e., "Replace all in files" in notepad++), so that you get all the various localizations. After recompiling, be sure to copy over the AndroidManifest.xml and META-INF from the original apk into the modified apk, or you'll get boot loops.

Just flashed this - with medium nav bar- and still have am-pm...
Sent from my VS980 4G using Tapatalk 4

BriVG said:
Just flashed this - with medium nav bar- and still have am-pm...
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
Aw man, I must have done something wrong when packaging it... I'll see if I can figure it out real quick and fix it.

BriVG said:
Just flashed this - with medium nav bar- and still have am-pm...
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
Sorry about that. I fixed it and edited the OP to link to it. Got lost in the shuffle, I guess.

There we go! Excellent work

can you help with modding the status bar to look like AOSP? I've got the decompiling/recompiling thing down, but not sure what xmls to edit or how.
Thanks!
Edit: I didn't read your complete post....

Great mod. I am on clean rom and not trying to do too much in the way of mods. This is a good one. That status bar is way to cluttered. Just flashed and it worked fine. Thanks!! :good:

Nice. I just moved the clock to the right on mine so the AM/PM appears off screen. This is probably better.

Of course if you put your clock in military time (24 hour) , there is no AM/PM .

Simple and all I wanted, but anyway to get rid of that pesky e911/location icon? Not sure anybody wants that there!

Any chance this works on D801
Sent from my LG-D801 using Tapatalk

I have Verizon G2. rooted... The hide am/pm with Tiny nav bar zip is not working.Trying with CWM and it gets an error that it can't install. please Don't tell me the that hide am/pm with Tiny Zip is only for TWRP? But the hide am/pm with no nav bar edit is only for both? that would suck.....Because If i do the hide am/pm with no nav bar edit zip in CWM, that works.. Please help. I need this combo to work.

Related

Transparent Statusbar Project?

Can someone provide us with a transparent statusbar metamorph theme?Even a white one.This solid black statusbar is annoying...^^
Sent from my HTC Wildfire using XDA App
tobybobby said:
Can someone provide us with a transparent statusbar metamorph theme?Even a white one.This solid black statusbar is annoying...^^
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
WildpuzzleROM have that allredy. hmm but not the tiny bar, but when you drag that down it will be transparent.
Regard Daniel
(ps more themes WILL come, when i have time to spare)
I 've managed to extract framework folder.I opened framework-res.apk and found a lot of folders.I assume the .png i am looking for is located in drawable-ldpi folder,but the problem is that i cannot find which .png it is.If someone could guide me things would be much easier.Thanks Daniel for your response,can't wait for your themes...
Hey there!
sorry for activating up that old thread, but i'm trying to get my statusbar transparent at the momen.
I think al almost did it, there's just one strange "bug".
I changed all the *.png relatet to the status bar with transparent pictures, that does work for now i think,
BUT:
If my Screen is locked, i can see the background picture behind the status bar, if screen is unlocked, background picture is "cut" under the statusbar, statusbar is just black, if i drag down the bar, i can see that the dragdown menu is "sliding" between the statusbar and that strange black background....
any suggestions or tips?
d00m1n0 said:
Hey there!
sorry for activating up that old thread, but i'm trying to get my statusbar transparent at the momen.
I think al almost did it, there's just one strange "bug".
I changed all the *.png relatet to the status bar with transparent pictures, that does work for now i think,
BUT:
If my Screen is locked, i can see the background picture behind the status bar, if screen is unlocked, background picture is "cut" under the statusbar, statusbar is just black, if i drag down the bar, i can see that the dragdown menu is "sliding" between the statusbar and that strange black background....
any suggestions or tips?
Click to expand...
Click to collapse
If you have it working that far i cen tell you how to see it on regular screen too. You need to be running ADW.launcher (or launcher pro but i have no idea how to enable it)
In ADW launcher there is a setting for Wallpaper hack , in system settings i believe. Turn that off and you should see the wallpaper through the statusbar.
thanks for the reply, would be nice to know how it works with launcher pro, that's my prefered launcher...
will test it in ADW now.
I guess there could be some similar trick to Launcher Pro.
ADW is working fine, looks cool, unfotunately i can't attach files here, if i could, i would share my framework-res.apk with everyone here
I did already build 3 framework-res.apk file, theyre similar to each other, no big changes done, just other style of the status bar and changed battery Icons, sothat normal battery icon is black/white, only the orange an red batteryicons are colored.
Launcher Pro doesn't work, there's no way to use it without the wallpaper hack...
at the moment I'm trying to build my own custom Rom, but have to read more about that before i can realy build one...

[Q] Deactivating status bar toggles

Does someone know of a way to remove the status bar toggles? Is there a file to modify in systemUI.apk or framework-res.apk?
yes there is a way unfortunate im not that skilled
I'm listening... I'd love to get rid of the mobile data toggle. The others are useful, that one isn't.
I hope there is someone out there knowing the answer as I like to use my own toggles app and having two of them doesn't look goog at all.
Also I saw this screenshot showing a blue clock in the expanded notification bar and would like to know what to modify to change the color of the clock and the date? (this came from a Mod which included the toggles, I would only need the file and passage to edit for changing the color)
Any help is appreciated.

[MOD] Hide 4g icon when WiFi is connected, no carrier on lockscreen & more

Hi guys, I've made a few more mods to declutter the stausbar a bit and remove the carrier labels from the Lock Screen and the notification panel. I've also fixed a few bugs in the recent apps mod that I'll be posting to that thread soon.
Bugfixes to recent apps:
You no longer need to reboot your phone after changing the position of the recent apps key.
The recent apps key now rotates properly in the camera app.
Here's what's on offer in this post:
Black Status Bar
Replaces pink navbar theme with solid black
Removes carrier label from lockscreen and notification shade
GPS and headset icons are totally removed (no gap in status bar from transparent icons)
Mobile data icon (4g, 3g, etc) is removed when WiFi is connected
Also, the linked thumbnails show a couple things that are in separate posts:
NFC statusbar icon is disabled
Clock in status bar no longer displays AM/PM text in 12-hour mode
Follow the links below to hide the NFC icon and/or change the statusbar clock:
Hide NFC Icon: Verizon (AT&T to come soon, PM me if you can help me re-odex it)
Remove AM/PM from statusbar: Verizon, AT&T
All the other mods are bundled together, however, I'm packaging up a few different versions so you can choose how the soft keys behave.
To install, pick the zip you want and install using TWRP.
DeclutterStockMenuKeys.zip will not change the behavior of the navigation bar, although it will still replace the pink theme with a solid black one. You still have the stock key layout: Back, Home, Menu, Notification Toggle, with long-press on home for recent apps.
DeclutterMenuToRecents.zip will replace the menu key with recent apps, with long-press on home for menu. This gets you Back, Home, Recent Apps, Notification Toggle, with long-press on home for Menu.
DeclutterNotificationToRecents.zip will replace the notification toggle key with recent apps, and will not change the long-press behavior of the home button. This gives you the following four buttons: Back, Home, Menu, Recents. Long-press home will still bring up Recent Apps.
If you want the Action Bar overflow menu with the three dots, you'll need to flash VerticalEllipsis.zip in addition to whatever you choose above.
With thanks to burningmembers for the small navbar (love that mod!) and 777jon for the black status bar and navbar themes. Also big thanks to scrosler for CleanROM, which kicks ass, and the whole xda community for the excellent resources.
Lock screen got changed to the stock android one and its hard to see. Any way you can include the regular lock screen without the carrier label?
Sent from my VZW LG G2
So DeclutterStockMenuKeys.zip has:
Black Status Bar
Replaces pink navbar theme with solid black
Removes carrier label from lockscreen and notification shade
GPS and headset icons are totally removed (no gap in status bar from transparent icons)
Mobile data icon (4g, 3g, etc) is removed when WiFi is connected
Sorry if I am just being dense.
sefnap said:
[*] GPS and headset icons are totally removed (no gap in status bar from transparent icons)
[*] Mobile data icon (4g, 3g, etc) is removed when WiFi is connected
[/LIST]
.
Click to expand...
Click to collapse
In fact can you do a flash mod with just the stuff quoted. And maybe a returned to stock zip also.
Thanks.
Sent from my VZW LG G2
QQ - will this affect my navbar key height?
Stigy said:
QQ - will this affect my navbar key height?
Click to expand...
Click to collapse
Went ahead and flashed it - answer is no.
Kept everything the same and now I have a much less cluttered status bar. The development already is amazing.
Thanks so much. Where can I donate?
Stigy said:
Went ahead and flashed it - answer is no.
Kept everything the same and now I have a much less cluttered status bar. The development already is amazing.
Thanks so much. Where can I donate?
Click to expand...
Click to collapse
Can u keep transparency of the nav bar?
Sent from my VS980 4G using Tapatalk 4
BriVG said:
Can u keep transparency of the nav bar?
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
I don't have transparent nav bar so not sure, BUT I do have Medium height nav bar and it stayed after the flash so I have to assume this mod doesn't do anything to touch the height of it?
Just a guess though.
If u tick ths transparent setting in front touch buttons does the nav bar go transparent? I understand if you don't want to be my tester
Sent from my VS980 4G using Tapatalk 4
BriVG said:
If u tick ths transparent setting in front touch buttons does the nav bar go transparent? I understand if you don't want to be my tester
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
Oh you meant stock launcher - yes it's still transparent. See below - ignore rounded corners that's due to Roundr.
---
Sent from my Verizon LG G2 using Tapatalk.
Awesome, thanks for checkin!
Sent from my VS980 4G using Tapatalk 4
Reginald476 said:
So DeclutterStockMenuKeys.zip has:
Black Status Bar
Replaces pink navbar theme with solid black
Removes carrier label from lockscreen and notification shade
GPS and headset icons are totally removed (no gap in status bar from transparent icons)
Mobile data icon (4g, 3g, etc) is removed when WiFi is connected
Sorry if I am just being dense.
Click to expand...
Click to collapse
Yeah, everything you listed is common to all the Declutter zips. The only difference between them is how they modify the soft keys in the navigation bar.
sefnap said:
Hi guys, I've made a few more mods to declutter the stausbar a bit and remove the carrier labels from the Lock Screen and the notification panel. I've also fixed a few bugs in the recent apps mod that I'll be posting to that thread soon.
Bugfixes to recent apps:
You no longer need to reboot your phone after changing the position of the recent apps key.
The recent apps key now rotates properly in the camera app.
Here's what's on offer in this post:
Black Status Bar
Replaces pink navbar theme with solid black
Removes carrier label from lockscreen and notification shade
GPS and headset icons are totally removed (no gap in status bar from transparent icons)
Mobile data icon (4g, 3g, etc) is removed when WiFi is connected
Also, the linked thumbnails show a couple things that are in separate posts:
NFC statusbar icon is disabled
Clock in status bar no longer displays AM/PM text in 12-hour mode
Follow the links below to hide the NFC icon and/or change the statusbar clock:
Hide NFC Icon: Verizon (AT&T to come soon, PM me if you can help me re-odex it)
Remove AM/PM from statusbar: Verizon, AT&T
All the other mods are bundled together, however, I'm packaging up a few different versions so you can choose how the soft keys behave.
To install, pick the zip you want and install using TWRP.
DeclutterStockMenuKeys.zip will not change the behavior of the navigation bar, although it will still replace the pink theme with a solid black one. You still have the stock key layout: Back, Home, Menu, Notification Toggle, with long-press on home for recent apps.
DeclutterMenuToRecents.zip will replace the menu key with recent apps, with long-press on home for menu. This gets you Back, Home, Recent Apps, Notification Toggle, with long-press on home for Menu.
DeclutterNotificationToRecents.zip will replace the notification toggle key with recent apps, and will not change the long-press behavior of the home button. This gives you the following four buttons: Back, Home, Menu, Recents. Long-press home will still bring up Recent Apps.
If you want the Action Bar overflow menu with the three dots, you'll need to flash VerticalEllipsis.zip in addition to whatever you choose above.
With thanks to burningmembers for the small navbar (love that mod!) and 777jon for the black status bar and navbar themes. Also big thanks to scrosler for CleanROM, which kicks ass, and the whole xda community for the excellent resources.
Click to expand...
Click to collapse
sorta unreleated.... but how did you edit your locksceen launch apps?
Thanks!
Can you do the declutter stock menu zip workout the black status bar??
Sent from my VZW LG G2
ethanhunt123 said:
sorta unreleated.... but how did you edit your locksceen launch apps?
Thanks!
Click to expand...
Click to collapse
In the lock screen settings, there's an entry called "Shortcuts" that only appears when your unlock method is set to swipe. You can then tap on an icon to change the app.
sefnap said:
Yeah, everything you listed is common to all the Declutter zips. The only difference between them is how they modify the soft keys in the navigation bar.
Click to expand...
Click to collapse
Works as advertised, I was having issues with another MOD doing similar things, thank you very much for sharing. It is functioning a little bit more like my GNex.
Are you/would you be interested in looking at adding Transparent Status Bar and Navigation to third party Launchers? You can find Jishnu Sur's thread here, at the bottom he has the code to allow this for other launchers.
Thanks for an awesome set of MODs!
by removing the gps and headphone icons, does this mean when I'm on GPS, it won't show in the status bar anymore so there is no way to know if gps is on unless you look at the settings?
OMG! I think I luv you....thank you so much for this! Can you also make the Bluetooth icon go away when not being used?
Posted via my screaming, rooted G2!
---------- Post added at 05:30 PM ---------- Previous post was at 05:24 PM ----------
wethead4 said:
by removing the gps and headphone icons, does this mean when I'm on GPS, it won't show in the status bar anymore so there is no way to know if gps is on unless you look at the settings?
Click to expand...
Click to collapse
Launch maps...you'll see....
Posted via my screaming, rooted G2!
any way you can post a tutorial? I'm still learning this stuff, and I just did your am/pm mod myself! I'd like to get an AOSP status bar going and need help with positioning, etc. Thanks!
Southern_mind said:
Lock screen got changed to the stock android one and its hard to see. Any way you can include the regular lock screen without the carrier label?
Sent from my VZW LG G2
Click to expand...
Click to collapse
Is this correct OP? Thanks for the mods!
VZW LG G2

Help with xblast and gravity box kk pretty please.

I'm constantly messing about with my phone, anyway after uninstalling both of these mods and back to installing them again, I seem to have lost a setting... somehow...!
These are the only two mods I had so I know the setting I'm looking for is somewhere in these but it seems to have gone!?
It was a setting that made the profile icon (vibrate/mute icon) in the status bar invisible... not just changed it's colour, actually invisible. When having to reboot my phone the icon did come back up but as long as I just did a quick change over of vibrate back to mute or vise versa then it became invisible again.
Pretty pretty please can anyone help tell me where this setting is??? No, I'm not imagining it and yes it does or did exist between one of these two mods.
Happy to try any other stable mod if anyone knows of one that will do the same :-\
Re:
GB. StatusBar tweaks/QuickSettings Managment/Statusbar QuickSettings Tiles/Ringer Mode. You should be careful messing about with those 2 mods. They overlap and could have your phone fighting itself if you set the same thing in both mods. It could be a double knock out.:crying:
compwrench said:
GB. StatusBar tweaks/QuickSettings Managment/Statusbar QuickSettings Tiles/Ringer Mode. You should be careful messing about with those 2 mods. They overlap and could have your phone fighting itself if you set the same thing in both mods. It could be a double knock out.:crying:
Click to expand...
Click to collapse
Don't worry, I only use xblast because gravity box doesn't seem to do the full transparent status bar, I should probably change it to a less bloaty mod!
I followed the settings above but that only changes it when the status bar is expanded doesn't it?
Cant get transparent notification bar on asus memo pad please help

[Q] Status Bar App.....

Is there a good app that will let me change the status bar icons and clock location that does not require root. I have tried a few on Google Play but none seem to do what I want them to.
Thanks.
Maybe try configuring something with Zooper or UCCW widget? You can use a launcher (I use Nova pro) to hide the actual status bar then use a widget in place of it, this way you can design it the way you want.
Sent from my Droid Turbo using XDA
twillet50 said:
Is there a good app that will let me change the status bar icons and clock location that does not require root. I have tried a few on Google Play but none seem to do what I want them to.
Thanks.
Click to expand...
Click to collapse
Not without root, sorry. streebs87's work around might do something for you, but you're not going to be able to configure the actual status bar at all without some sort of root tool.
swboland said:
Not without root, sorry. streebs87's work around might do something for you, but you're not going to be able to configure the actual status bar at all without some sort of root tool.
Click to expand...
Click to collapse
That's what I was afraid of. Thanks.
"Color Status Bar" app will mod the quick buttons, clock location & style without root.
Edit @twillet50
8bit status bar well worth the price too.
aviwdoowks said:
"Color Status Bar" app will mod the quick buttons, clock location & style without root.
Edit @twillet50
8bit status bar well worth the price too.
Click to expand...
Click to collapse
That does part of what I want. Thanks for the tip!!
Also check out an app called Power Toggles. I love it. You can put customizable toggles in your notification drop down. Here's a screenshot from my phone:
Edit: whoops! Misread your post. Not what you were asking.

Categories

Resources