yashsingh1/xdaforums huggingface dataset:
[Android Themes] KpChuck:
There is an option to hide the stock clock.

Should really have that turned on by default...
[Android Themes] thereal_bigjake:
Is that something I need to do or something you need to fix?
[Android Themes] KpChuck:
There's just an option you need to enable
[Android Themes] thereal_bigjake:
Well it would be nice if you tell me what I need to to enable to have center clock and not also the left clock ? the way this theme is set up it's quite confusing. I'm about to just uninstall and forget about it ?
[Android Themes] KpChuck:
Its the hide stock clock option.

Making it less confusing is difficult so if you have any suggestions...
[Android Themes] tcat007:
Do people even try to find the settings they're looking for?
[Android Themes] thereal_bigjake:
Oh it's in the app and not in the Substratum overlay, smh. That's all that needed to be explained ?

---------- Post added at 08:39 PM ---------- Previous post was at 08:34 PM ----------

Thanks guys, I'm not an Android noob by no means just new to your app/Subs theme and didn't understand.

Anyways works perfectly now ?
[Android Themes] zni3h:
Is lockscreen clock hide option working for anyone on pie? I'm using OP3T with Nitrogen OS (Pie).
[Android Themes] KpChuck:
Not sure, last I checked it was working.

I'm going to be adding more lockscreen clock options soon, then the hide lock clock should work better as I'll be modding the layout
[Android Themes] nickelnine:
Any chance you can make an option to hide lockscreen app shortcuts?
[Android Themes] KpChuck:
Yeah, I'll think about it
[Android Themes] Cro Cop:
Is it possible to set a dynamic color for the center clock on Oreo ? See the picture below, the clock disappears in the status bar. Any way around this ?
[Android Themes] tcat007:
Make it Black or grey? I set my status bar to red, but define day/date as grey.

<font size="12"><font color="grey">EEE</font></font> hh:mm <font size="12"><font color="grey">MMM dd</font></font>
[Android Themes] tcat007:
Looks like this.
[Android Themes] nlbentley@outlook.com:
I would also like this facility. Is it possible.
[Android Themes] KpChuck:
Only way us to use the stock clock option. You can't change the clock format or color, but it's dynamic
[Android Themes] Cro Cop:
That looks dope! What java and color format do you use exactly to get this ?
[Android Themes] tcat007:
<font size="12"><font color="grey">EEE</font></font> hh:mm <font size="12"><font color="grey">MMM dd</font></font>

You can change grey to white or any color you want. Hours and minutes will be whatever status bar text is.
[Android Themes] moreogthanu:
I get this error message whenever I try and build an APK

Build version: 32

Build date: 1979-11-30 00:00:00

Current date: 2018-10-25 22:52:56

Device: LGE LG-M703

Stack trace:

java.lang.RuntimeException: An error occurred while executing doInBackground()

at android.os.AsyncTask$3.done(AsyncTask.java:353)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)

at java.util.concurrent.FutureTask.setException(FutureTask.java:252)

at java.util.concurrent.FutureTask.run(FutureTask.java:271)

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

at java.lang.Thread.run(Thread.java:764)

Caused by: java.lang.RuntimeException: Error modding rom I think:

org.apache.harmony.xml.dom.InnerNodeImpl.removeChild(InnerNodeImpl.java:181)

kpchuck.kklock.xml.XmlWork.fixForLg(XmlWork.java:634)

kpchuck.kklock.xml.XmlWork.setupStatusBar(XmlWork.java:423)

kpchuck.kklock.xml.XmlWork.modController(XmlWork.java:157)

kpchuck.kklock.xml.XmlWork.<init>(XmlWork.java:66)

kpchuck.kklock.utils.ApkBuilder.modTheRomZip(ApkBuilder.java:320)

kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:123)

kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:61)

android.os.AsyncTask$2.call(AsyncTask.java:333)

java.util.concurrent.FutureTask.run(FutureTask.java:266)

android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

java.lang.Thread.run(Thread.java:764)

org.w3c.dom.DOMException

at kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:177)

at kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:61)

at android.os.AsyncTask$2.call(AsyncTask.java:333)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

... 4 more

User actions:

2018-10-25 22:51:41: MainActivity resumed

2018-10-25 22:51:59: MainActivity paused

2018-10-25 22:51:59: InformationWebViewActivity created

2018-10-25 22:51:59: InformationWebViewActivity resumed

2018-10-25 22:52:49: InformationWebViewActivity paused

2018-10-25 22:52:49: MainActivity destroyed

2018-10-25 22:52:49: MainActivity created

2018-10-25 22:52:49: MainActivity resumed

2018-10-25 22:52:50: InformationWebViewActivity destroyed
[Android Themes] KpChuck:
Can you please submit a bug report on github, uploading the files specified

https://github.com/KpChuck/K-Manager/issues/new?template=bug_report.md
[Android Themes] Giuseppe 1971:
Hello,

I'm trying to use K-Klock on my OP3T, stock ROM 5.0.6 but when I lunch K-Manager v32 I don't have the option to select the ROM. I'm attaching a screenshot. Is this mod no longer compatible with the OP3T?
[Android Themes] KpChuck:
You don't need to select roms anymore, it'll still work
[Android Themes] Giuseppe 1971:
With my ROM I cannot have Stock Clock or Dynamic Clock working, right?
[Android Themes] KpChuck:
I think stock clock works
[Android Themes] Giuseppe 1971:
Thanks.

I tried but with no success. I select:

White

Abbreviated Day, Date and Month

Roboto Normal

Center: Stock Clock

and after the reboot I don't have any clock. Am I doing something wrong?
[Android Themes] KpChuck:
That should be working.

Send a screenshot of overlay manager in substratum.

And check if you disabled the clock from your settings.
[Android Themes] KaszasM:
for me on OOS the last 3.21 b is not working with date and month but 3.20b works
[Android Themes] KpChuck:
Yes. I'll add that in the next version:svetius:
[Android Themes] GilX:
Fantastic. Thanks man :cool:
[Android Themes] ReasonablyRooted:
Would you be willing to allow removal of the leading 0 when not needed?
[Android Themes] chrissss91:
Yes if possible
[Android Themes] jameswalker457:
All I want to do is centre the clock in the exact same format and font and colour... I seem to be really struggling with the settings and end up with 2 overlays in the centre. Can anyone help me? Sorry lol
[Android Themes] Funk Wizard:
AM PM Removed ;-(

Edit: Figured out default works with AM/PM ;)

---------- Post added at 09:08 AM ---------- Previous post was at 09:06 AM ----------

Disable stock clock from settings

Settings > Statusbar > Time - Dont Show
[Android Themes] jameswalker457:
What am I doing wrong!!!! FML I just want it to show the time centered in white

https://ibb.co/ngwpiQ

https://ibb.co/gfp9iQ
[Android Themes] MrWilsonxD:
Settings I am using.
[Android Themes] KpChuck:
Update to v5.0. Pick White-Grey Center for the clock position. Leave everything else as default.
[Android Themes] Funk Wizard:
Ok for just the time Centered in White do the below:

Open K-Klock Sub theme

Tick System UI

First Drop Down: Leave the colour to default white on the first option don't do anything

Second Drop Down If you want AM/PM leave it as it is

Third Font Type: Select the 3 option if you use custom fonts

Clock Position: Either Clock on Lockscreen center or no clock on Lockscreen Center as per preference

Apply and reboot
[Android Themes] jameswalker457:
I can't find a download link for 5? Doesn't seem to be on the android file host?
[Android Themes] KpChuck:
You can find it in the folder OOS or OB
[Android Themes] jameswalker457:
All, consider your good deed for the day complete!!! Embarrassed lol
[Android Themes] alukarulz:
Can I use this with Ozone v3.5 ?
[Android Themes] KpChuck:
Yes. As long as you don't have Ozone's center clock installed
[Android Themes] alukarulz:
Ok Thanks!
[Android Themes] ungeeked:
com.android.systemui.headers overlay controls clock in ozone. Uninstall that (or don't install it :p )
[Android Themes] KpChuck:
I'll try it and see if I like it:). I might do it just for 12-hour time.

I'm going to have to test this a bit. I want to add this to the Clock Font option. Which do you prefer: Clock in bold or Bigger Clock?
[Android Themes] chrissss91:
In bold please. :fingers-crossed:
[Android Themes] Jsilver73:
[MENTION=7750173]KpChuck[/MENTION] please could you add option for abrv date month clock

ie: 1 Jul 21:06

Thanks - it's a great project :D:good:
[Android Themes] KpChuck:
Can you send screenshots of overlay manager and K-Klock apks from both versions? I'll check what's wrong
[Android Themes] KaszasM:
https://drive.google.com/folderview?id=1Mbb0N3A1WRmfARzPBWbF1MbL6YbKlwC7

that works

anyway from telegram beta last release fails above 3.20 should be in gdrive also wich i use now
[Android Themes] KpChuck:
By latest release fails do you mean that it builds in K-manager, installs in substratum, but doesn't work?

I'll need the not working version of K-Klock from 3.21 then.

And tell me what options you're picking in substratum pls:)
[Android Themes] KaszasM:
yes

wich i linked is the "actually running" set on my phone.

minimal setup sb color black and date@clock thats all.

the if i update to the last beta from telegram beta 3.21 rebuild without changes and date disappears

(3.20 works ; 3.21 no )

i can reproduce afternoon , then i send u the sub.apk
[Android Themes] KpChuck:
Maybe try uninstalling the overlay in substratum, then clean installing 3.21. i didn't change enough for it not to work
[Android Themes] Moon_420:
Help... on Pixel Experience the Battery Position isn't at right place :(
[Android Themes] Giuseppe 1971:
Hi,

This is the screenshot of overlay manager. I disabled the clock from the settings of the ROM.
[Android Themes] KpChuck:
Yeah, enable the clock from settings. The stock clock style needs that enabled, it'll hide the original clock by itself
[Android Themes] Giuseppe 1971:
Thanks for the explanation. I have now two clocks and the center one doesn't show abbreviated day, date and month. Please see the screenshot.
[Android Themes] KpChuck:
For the two clocks: Go into K-manager and make sure you have the hide stock clock option enabled. If not enable and rebuild

For the format: The stock clock option works like the stock clock, so you can't change the format. Use a different option like Center No clock on lockscreen

:)
[Android Themes] KpChuck:
Please send K-Klock.apk from k-klock folder
[Android Themes] Giuseppe 1971:
OK, it is clear now. I'll use "Center no clock on lockscreen" because the abbreviated day, date and month is very helpful even though, it will not be visible on the the app that have white screens. Thanks again for your help
[Android Themes] Sebi673:
Will there be an option for the center clock padding? It is perfectly centered on Pie but the padding takes so much real estate out of the status bar which leaves me with battery indicator, signal status and not much else - vibrate, wifi and what-else becomes a dot. So a padding option would be perfect :D :D

Thanks!!
[Android Themes] KpChuck:
There is very little padding so I think this is something else. Can you send a screenshot of the issue and send K-Klock.apk from the K-Klock folder and I'll check what's causing it.
[Android Themes] Sebi673:
Thanks a ton. PMed. Also the right placement isn't working. But center is what's bugging me.

Maybe this status_bar.xml (from systemUI apk) helps :)

In the screen I already started modding it - gravity was "start|center" and paddings were End w/ 0 and Start w/ 7dip

Cheers!
[Android Themes] nickelnine:
Hi, I'm facing the following error when decompiling the apk after making my selections. Im on AOSP based Arrow OS:

Build version: 32

Build date: 1979-11-30 00:00:00

Current date: 2019-01-03 20:48:57

Device: OnePlus ONEPLUS A6003

Stack trace:

java.lang.RuntimeException: An error occurred while executing doInBackground()

at android.os.AsyncTask$3.done(AsyncTask.java:354)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)

at java.util.concurrent.FutureTask.setException(FutureTask.java:252)

at java.util.concurrent.FutureTask.run(FutureTask.java:271)

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)

at java.lang.Thread.run(Thread.java:764)

Caused by: java.lang.RuntimeException: Error modding rom I think:

kpchuck.kklock.xml.XmlUtils.replaceAt(XmlUtils.java:269)

kpchuck.kklock.xml.XmlWork.setupStatusBar(XmlWork.java:420)

kpchuck.kklock.xml.XmlWork.modController(XmlWork.java:157)

kpchuck.kklock.xml.XmlWork.<init>(XmlWork.java:66)

kpchuck.kklock.utils.ApkBuilder.modTheRomZip(ApkBuilder.java:320)

kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:123)

kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:61)

android.os.AsyncTask$2.call(AsyncTask.java:333)

java.util.concurrent.FutureTask.run(FutureTask.java:266)

android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)

java.lang.Thread.run(Thread.java:764)

java.lang.NullPointerException: Attempt to invoke interface method 'org.w3c.dom.Element org.w3c.dom.Document.getDocumentElement()' on a null object reference

at kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:177)

at kpchuck.kklock.utils.ApkBuilder.doInBackground(ApkBuilder.java:61)

at android.os.AsyncTask$2.call(AsyncTask.java:333)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

... 4 more

User actions:

2019-01-03 20:48:51: MainActivity resumed
[Android Themes] IAMAB:
I'm trying it to install in OOS pie 1+5. The system clock by default is on left with no way to change in system settings. When I apply the overlay with the setting in screenshot, the battery icon moves to centre. Clocks stays on the left and all other icons are gone.

Any suggestions or is it not supported for Pie?
[Android Themes] tcat007:
Join telegram group and ask. https://t.me/kklock

Works on my 5t, 9.0.1 (but also worked on ob22)
[Android Themes] IAMAB:
[MENTION=7750173]KpChuck[/MENTION]:

Thanks for bringing it to OnePlus. Now the centre clock works on the OOS 9.0.3 1+5. Thanks a lot!!!

I'm facing an issue though. Even after setting the status bar Color transparency to 100, it still appears black. Any way to make it transparent or use the system accent.

Also, maybe an off topic, would it be possible to put the battery percentage inside the battery icon. I know this feature isn't available but just thought of asking.
[Android Themes] tcat007:
If you don't select status bar color, doesn't system accent take over? Or other sub tvheme accent? Does for me with Valerie/Linear.

I just turn off battery icon and leave the percentage, much more readable.
[Android Themes] IAMAB:
Thanks mate. That worked for me. And good tip for the battery icon as well.

All good here. :good:
[Android Themes] HubertGT:
Hi. How Did You change status bar icons color? I've added my color in "Statusbar" section and "StatusBar Icon Color Manager" option but it's still white after substratum setting
[Android Themes] tcat007:
I actually use Linear theme for that.
[Android Themes] KpChuck:
The normal icon color (against dark background) will be whatever the clock color you chose in K-Klocks main overlay.

The status bar icon color overlay part changes the other icon color (against light background) and sets the clock color as the main icon color.

So apply both of those with whatever color you want
[Android Themes] KpChuck:
Huge thanks to [MENTION=4158306]tcat007[/MENTION] for testing OOS as well!

Just turn off the statusbar color option. And no can do with battery inside the icon
[Android Themes] tcat007:
Lots of battery apps from custom battery icons.
[Android Themes] greenleaf10:
Dynamic Clock Color

Hi [MENTION=7750173]KpChuck[/MENTION],

I have a Oneplus 5 running on latest OOS 9.0.3. I was able to get the center clock working. One question I have is whether it is possible for the clock color to change dynamically, like the rest of the status bar icons, such as WiFi, battery, etc. For instance, I have Dark Mode selected in OOS. Most of the time, my status bar icons are white. However, when loading an application, such as Chrome, which has white background, all status bar icons automatically change to dark grey color. However, my center clock remains white, and hence becomes invisible when I am using Chrome. I tried to change clock color to "Match System Accent". That made my clock color a light green/blue color. It's visible in most applications, but it does not have the same behavior as the rest of the status bar icons that were able to change color dynamically based on the current running application.

I just want to confirm that this is working as design and there is no way to change clock color dynamically. Thanks again for the great support!
[Android Themes] tcat007:
Won't change, but you can make it any color you want. You should apply themes that keeps status bar always the same (like Valerie). Mine is always black.
[Android Themes] KpChuck:
The only way is to select a stock clock style in K-Klock. The tradeoff is that changing format doesn't work then (the stock format is used).
[Android Themes] poet145:
K-Klock on OnePlus 6T

Infrequent poster here asking for any help available. I know this is the OnePlus 5 area, but I've installed K-Klock and K-Manager on my OnePlus 6T and have it setup exactly as i want it. Except that it doesn't seem to be keeping the correct time in the notification bar...but is displaying the correct time in the QS pull down area. I've searched for anyone else who may have faced this issue and no amount of my search terms produce anything relevant. Can anyone suggest anything i may have misconfigured? Is this app working on the 6T? Under Clock I've selected: Using OxygenOS, StatusBar Clock Size, Make Clock Hideable in Launchers, No Clock added to StatusBar Option. I've got nothing selected or changed under Statusbar/Misc/Settings. Can anyone help me out?
[Android Themes] tcat007:
Is it like an even hour off, or something odd? Seems odd either way. You might ask Karol in the Telegram thread.
[Android Themes] poet145:
I've done more testing on my own and it must be a problem in my custom date settings. I saw the existing options and read the formatting codes and wrote my own "h:MM <small>M|d</small>" without the quotes of course, and it produces the desired time and date display the way I want, but the time does not change. Substratum builds and updates, I restart, substratum enable, it displays as expected but the time is stuck at whatever time I first enabled the overlay. For an example, it was stuck at 8:02 for an hour. It's probably my time/date code, but I've copied from the sample text.
[Android Themes] tcat007:
Maybe you need two h's? HH:MM? Mine looks like this:

<font size="12"><font color="#e0e0e0">EEE</font></font> hh:mm <font size="12"><font color="#e0e0e0">MMM dd</font></font>
[Android Themes] KpChuck:
MM is for month

mm is for minutes

That's a typo in the format info, I'll fix it
[Android Themes] poet145:
That fixed it! Thanks :)
[Android Themes] Spinee:
Hi,

I've been trying to mess with the status bar settings on my OnePlus 5T running Android 9.0 so that I have the stock clock on the right side, but I've noticed that any time I enable the stock clock (Haven't tested centre or left so not sure on those) in Substratum, my status bar disappears completely on the lock screen, which I don't want. I wasn't able to find any options to enable the status bar on the lock screen on either the Manager or the theme customiser.

This is problematic to me because it either means I have to choose a white coloured clock, which doesn't blend well with white apps and doesn't actively change colour like the rest of the status bar, or match the system accent, which gives me a teal coloured clock that also doesn't actively change colour between apps.

I did a search in this thread but it seems that I'm the only one with this problem. Have I missed a certain setting for enabling the status bar on the lock screen or is this a bug?

Thanks
[Android Themes] KpChuck:
The "hide status bar icons on lock screen and qs " option in the statusbar tab would be the only one that hides everything. Do you have that one enabled?
[Android Themes] Spinee:
Nope, I checked and I have nothing enabled that hides the status bar. This is only caused by using a "Stock clock" option in Substratum. Strangely enough though, this was only the case for having the clock displayed on the left and right side with a stock clock. If I selected the center version, the clock would be hidden on the lock screen (Without the option of it being hidden on lock screen having been enabled), but the status bar is shown.

If I select, for example, "Right/Left/Center: Clock on lockscreen", this would enable the status bar on the lock screen, but then the clock would be continuously white/another colour and wouldn't dynamically change like the rest of the status bar.
[Android Themes] KpChuck:
Ok. I'll look into it more. Oxygenos is tricky to get working sometimes. I'll tag you here or something when I have a test apk for you to try.
[Android Themes] KpChuck:
Hi. Could you check how it's working using K-Manager beta from https://t.me/kklockbeta

I've changed a lot in that one
[Android Themes] Spinee:
Tried the new build and still have the same problem, status bar doesn't show on lock scrern. I see that you included the option in the manager to hide the clock from the lock screen as a sort of workaround, but the status bar is still hidden on the lock screen with and without this setting enabled.
[Android Themes] KpChuck:
Can you send SystemUI.apk from K-Klock/userInput folder.

Not sure what the problem is but I'll check what's changed between centre and left/right clocks
[Android Themes] Spinee:
Can't upload files yet due to 10 post requirement so here's a MEGA link to it

https://mega.nz/#!YclEmCJJ!7-JlZxRgoQLguIsIiTGkTvIZz8VOBRMUM7ak1gBW0U0
[Android Themes] KpChuck:
Alright, I think this should fix this
[Android Themes] Spinee:
Yep, it fixed the problem with the status bar not showing. Hopefully the problem with the stock clock not showing on the status bar will get fixed if possible. Thanks for the fix.
[Android Themes] KpChuck:
I suppose I could extend the clock showing to the stock clock, it's just that not showing up was the normal stock clocks way of doing it
[Android Themes] MrT3chGuy:
Thank you so much for fixing the statusbar not showing on the lockscreen on OOS! Having the statusbar clock back on the right side has been great. Keep up the great work!
[Android Themes] wruyter80:
I like the idea of this app but if I use the format, h:MM a, the time is incorrect upon reboot. Am I doing something wrong if I want my clock to show the time like 8:03 PM for example? The time isn't up to date when I do it.
[Android Themes] KpChuck:
MM is for month, mm is for minutes
[Android Themes] wruyter80:
Ahh so my noobness comes out lol. Thank you sir
[Android Themes] TMSxXDA:
Hi,

I can't manage to make it work right, centering the clock with custom profile hh:MM a EEE dd/MM

I am always getting just the stock clock in the center, what ever custom or predefined profile I use.

Any ideas why?
[Android Themes] tcat007:
You might make sure you have format correct (check caps). Mine works fine and is more complex.

<font size="12"><font color="#919191">EEE</font></font> hh:mm <font size="12"><font color="#919191">MMM dd</font></font>
[Android Themes] TMSxXDA:
Thx, but as I mentioned I tried also predefined formats, and the result dose not change...

I'm on Op5 with 9.0.6 OOS.