• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MOD] AM/PM removal

Fuzzy13

Extreme Android User
Dec 8, 2011
7,284
2,502
A-T-L-A-N-T-A
That's right. AM/PM removal mod. (Still Beta until confirmed working but YOU GUYS!!!! :D

Note- This is made for 240dpi. Haven't tested it on anything smaller.

I didn't make this mod using conventional methods but it works and it looks right. I guess that's all that matters huh?


Description and Install


Flashable Install Description

- 2 flashable versions. One for any of the ICS themes we have. I used my ICS systemUI.apk for the flashable version. The other is stock #2 systemUI.apk. (Any mods you have made to your systemUI will be lost. Check manual xml installation to be able to keep your current layout.)


Manual Installation Files Description

- Statusbar.xml file. One for ICS version, one for #2 version.





Choose which install option you want to use


#1-Flashable Install

-Place the chosen zip, ICS or #2, onto your SD card.
-Flash in CWM


ICS- Dev-Host - ICS.AMPM.Mod.zip - The Ultimate Free File Hosting / File Sharing Service

#2- Dev-Host - #2.AMPM.Mod.zip - The Ultimate Free File Hosting / File Sharing Service




#2-Manual Install of systemUI.apk

-Download ICS or #2 systemUI.apk
-Copy current systemUI.apk for a backup. Paste wherever.
-Paste chosen systemUI.apk to system/app
-Reboot


ICS systemUI.apk- Dev-Host - SystemUI.apk - The Ultimate Free File Hosting / File Sharing Service

#2 systemUI.apk- Dev-Host - SystemUI.apk - The Ultimate Free File Hosting / File Sharing Service




#3-Manual XML Install (If you've modded your status bar use this)

-Extract your current systemUI.apk from system/app to your desktop
-Use 7zip to paste the statusbar.xml of your choosing to your systemUI.apk
-Paste your new systemUI.apk to system/app
-Reboot

(Android Commander) is perfect for this :D


ICS statusbar.xml- Dev-Host - status_bar.xml - The Ultimate Free File Hosting / File Sharing Service

#2 statusbar.xml-
Dev-Host - status_bar.xml - The Ultimate Free File Hosting / File Sharing Service




Most of you know how bad I wanted this and how much time I've put into TRYING to get this done. All I ask is that you show your support. It took a lot of tweaking and trail and error to get this clock just right. If anyone cares as to how I did it, I will be happy to explain. :D



Screens

vo0vir.png


ae8iki.png
 
I have to wait till the clock reads 1:00AM before I can upload the files. Must check one last thing to make sure.

With that being said I am going to go ahead and create the OP and get ready. The files are uploaded and ready to go.

When I get up at 6, I will check my phone. If the clock looks correct, I will add the files to the OP.


Let's hope it looks okay cause Im excited. :D
 
Upvote 0
So you finally got it huh? What exactly did you do? make the AM/PM font really tiny?

Lol. No.

I basically added a margin line to the clock and added a negative number to push the margin to the right. After that i had to position the clock and push it just enough to hide the ampm. But when i first did it, i set it up while it was 12:xx so all 4 digits were being used. When the clock changed to 1:xx a digit disappears and the clock shifted further right thus cutting off some of the clock.

So i had to figure out a way to keep the clock from moving. When you don't have a margin the icon can only go so far. So by adding and extending the margin i made more room on the status bar, even though it's off screen.

It took about 50-60 reboots and a lot of tweaking values to get it just right.

The ampm is still there, its just off the screen. If you were to make the dpi smaller, eventually the ampm would creep in the screen again.


I am however gonna try and figure out how to make the font size a little bigger and also make the icons sit a little closer together. Make it look a little neater. Lol
 
Upvote 0
I thought you didn't want any parlor tricks? :) but hey, it works and looks good. Sweet.

Think your trick will work on a centered clock? Lol ;) (Prolly not :()

No i didn't want half ass. Meaning changing the font to black or making a custom status bar to cover it up. I didn't want this because that would mean there would be a blank space to the right of the clock. I wanted the clock ask the way to the right like it's supposed to be.

So yes, i didn't want any parlor tricks but only for visual reasons. ;)

Honestly if I said i modded it through smali like it should be, no one would have noticed. :D
 
Upvote 0
Lol. No.

I basically added a margin line to the clock and added a negative number to push the margin to the right. After that i had to position the clock and push it just enough to hide the ampm. But when i first did it, i set it up while it was 12:xx so all 4 digits were being used. When the clock changed to 1:xx a digit disappears and the clock shifted further right thus cutting off some of the clock.

So i had to figure out a way to keep the clock from moving. When you don't have a margin the icon can only go so far. So by adding and extending the margin i made more room on the status bar, even though it's off screen.

It took about 50-60 reboots and a lot of tweaking values to get it just right.

The ampm is still there, its just off the screen. If you were to make the dpi smaller, eventually the ampm would creep in the screen again.


I am however gonna try and figure out how to make the font size a little bigger and also make the icons sit a little closer together. Make it look a little neater. Lol

off topic: have you tried decompiling the lg hidden menu app (is it even "decompileable"?)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones