yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] m+a+r+k:
When I set an alarm I see 2 icons, one on the right (yours?) and one on the left (system?). Both show the alarm time correctly. Then after a few minutes, especially if I go into GravityBox settings for instance (but not exclusively) the icon on the right turns into the system default alarm icon and doesn't show the alarm time. The one on the left does.

I can turn the one on the right not to show in GravityBox of course but I would prefer the one on the right to to left.
[Xposed Framework Modules] GermainZ:
Anything in the Xposed log? How are you testing it?

Anything in the Xposed log?

Are you using GB to tint or change the style of status bar icons?
[Xposed Framework Modules] gordon.shameway:
Thanks [MENTION=4775688]GermainZ[/MENTION] for this nice MOD!!

Working great on OnePlus One with Mahdi Rom.

I really appreciate your work, on TSB you're also doing a great job together with [MENTION=2011359]MohammadAG[/MENTION]! :good:

Keep it on!!
[Xposed Framework Modules] m+a+r+k:
Yes, I use Tinted Status Bar and GB to colour the icons white.
[Xposed Framework Modules] BRSNexuS:
Not working on my rooted lg g3 :(
[Xposed Framework Modules] desertmod1:
When I set up an alarm in the alarm clock I usualy just click "on" on an already set time instead of type the time, nothing happens if I do that, I have to type the time to see the dynamic icon. If I do that first and then click on, the icon change.

Then when I exit the alarm clock app the icon returns to be plain.

I use tinted status bar.

This is the only mention of dynamic alarm icon in the logs:

Loading class com.mohammadag.colouredstatusbar.ColourChangerMod
Loading modules from /data/app/com.germainz.dynamicalarmicon-1.apk
Loading class com.germainz.dynamicalarmicon.XposedMod
Loading modules from /data/app/com.vikas.toaststyler-1.apk
[Xposed Framework Modules] GermainZ:
That looks like the clock app you're using isn't updating the system alarm field. Do other apps (e.g. DashClock) correctly pick up the alarm time?

Also, which clock app is it?
[Xposed Framework Modules] desertmod1:
The default/system alarm clock app, I should mention that I get to the alarm via a shortcut app: https://play.google.com/store/apps/details?id=com.slipstream.alarmLauncherOld

Although I doubt it makes a difference since I get the same result if I get to it via the clock app.

Also sometimes when I just click "on", the dynamic clock does work but only as long as I stay in the alarm clock app itself, the moment I press home or back it changes.

Dashclock does recognize the alarm.

I use Android 4.2.1 and a pretty clean rom, no touchwiz.
[Xposed Framework Modules] GermainZ:
Are you using GravityBox with icon tinting enabled, or any other module that modifies the status bar icons/colors (TSB is fine since it doesn't change the icons entirely but only applies a filter)?
[Xposed Framework Modules] desertmod1:
That's what I use: http://i.imgur.com/DGd0Gt9.png

I turned it off and rebooted and now it works fine but I have those old holo blue icons now even with every tint of TSB...
[Xposed Framework Modules] tangcla:
[MENTION=4775688]GermainZ[/MENTION], I've got a Samsung Galaxy S5 with stock ROM and I've noticed my dynamic icon is slightly off - I have an alarm at 6:30 and it looks more like 6:28 .

I tested by setting an alarm at 12:00 and the minutes hand is definitely off center; I set it to 12:03 and both hands are perfectly pointing upwards.

What info do you need from me?
[Xposed Framework Modules] AlbertC.:
No image on boot with CircleAlarm

Hello,

thanks for the good work, I really like the concept of your app.

Unfortunately, the Icon is not changed on boot on my LG running 4.1.2 in combination with the app "CircleAlarm" (com.tjeannin.alarm).

Once I open CircleAlarm and alter an alarm the icon changes, though.

I have nothing installed that should interfere with the statusbar AFAIK.
[Xposed Framework Modules] GermainZ:
That's Samsung's smart alarm/wake feature.

Anything in the Xposed log?
[Xposed Framework Modules] tangcla:
Ah of course! Thanks, that makes perfect sense.
[Xposed Framework Modules] theknut:
Out of curiosity: What is this feature about?
[Xposed Framework Modules] GermainZ:
It sets a "soft" alarm a few minutes before your main one. The idea is that you'll wake up to bird singing instead of fiery explosions. :p
[Xposed Framework Modules] AlbertC.:
I guess the relevant part of the log is this:

Loading modules from /data/app/com.germainz.dynamicalarmicon-1.apk

Loading class com.germainz.dynamicalarmicon.XposedMod

Loading modules from /data/app/com.germainz.playpermissionsexposed-2.apk

Loading class com.germainz.playpermissionsexposed.XposedMod

java.lang.IllegalStateException: Cannot broadcast before boot completed

at android.os.Parcel.readException(Parcel.java:1433)

at android.os.Parcel.readException(Parcel.java:1379)

at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2098)

at android.app.ContextImpl.sendBroadcast(ContextImpl.java:965)

at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:312)

at com.germainz.dynamicalarmicon.XposedMod$5.afterHookedMethod(XposedMod.java:236)

at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)

at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(Native Method)

at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:445)

at com.android.systemui.SystemUIService.createService(SystemUIService.java:110)

at com.android.systemui.SystemUIService.access$000(SystemUIService.java:45)

at com.android.systemui.SystemUIService$1.handleMessage(SystemUIService.java:120)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:4929)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:511)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:798)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:565)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

at dalvik.system.NativeStart.main(Native Method)

I hope this helps. If you need more info, please tell me.

Edit: Suddenly, without any changes I am aware of, it works. Guess problem solved?!
[Xposed Framework Modules] siealex:
I have no icon (simply a blank space) until I manually change the alarm time or switch off and on the alarm. The icon stays until reboot or systemui restart, then disappears again.
[Xposed Framework Modules] GermainZ:
Which ROM are you using? Anything in the logs?
[Xposed Framework Modules] siealex:
Paranoid 4.6 beta 6 (4.4.4). Logs are disabled completely, enable them?
[Xposed Framework Modules] GermainZ:
You're talking about Xposed Installer > Logs?
[Xposed Framework Modules] siealex:
No, logs are disabled by substituting the log folder with an empty file. *ROFL*
[Xposed Framework Modules] GermainZ:
Seems to me like you're trying to cure the symptom rather than the cause if you're doing that. Regardless, please enable them and check if there's anything from DynamicAlarmIcon.
[Xposed Framework Modules] siealex:
I'll try it tomorrow.
[Xposed Framework Modules] siealex:
Logs show nothing with this module. Loading it and that's all.
[Xposed Framework Modules] siealex:
Some screenshots of the problem.

1. Immediately after boot.

2. Clock app.

3. All alarms off.

4. Alarms on, the icon appears only after this action.
[Xposed Framework Modules] bassie112:
Great module! Any chance for Life Time Alarm support? Best free alarm app I have seen!

https://www.google.nl/url?sa=t&rct=...=Gx-H6Qgl8Ew-4wQ0E0wbvQ&bvm=bv.80642063,d.ZWU
[Xposed Framework Modules] paulle:
great module ! thank you !
[Xposed Framework Modules] peegee15:
Its definitely working. However, every after reboot, it goes back to a specific time. You have.to turn off and on again the alarm to make it work. Nevertheless, it was good!
[Xposed Framework Modules] mannequin:
doesn't work with Timely 1.3, always shows default "5 o'clock" icon (LG G2 stock KK, works perfectly with stock Alarm app).
[Xposed Framework Modules] XlAfbk:
broken on lollipop
[Xposed Framework Modules] sublimaze:
Works fine on my Nexus 4 CM 12 nightly

View attachment 3166819
[Xposed Framework Modules] XlAfbk:
that screenshot is showing the standard alarm icon. unless you happened to set your alarm to 4 it's broken.
[Xposed Framework Modules] sublimaze:
You are absolutely right. I *do* have my alarm set for 4am, which makes it appear to work. Thanks for pointing that out.
[Xposed Framework Modules] siealex:
Set it to 4.05 and post a screenshot.
[Xposed Framework Modules] ffejy462:
As already mentioned, Timely update doesn't work with dynamic alarm. A blank space in status bar where it should be. All other modules disabled. Screenshot and log attached.

https://docs.google.com/file/d/0Bwj2Hf45t6uMdWNFOXhHVWVVWnc/edit?usp=docslist_api

LG G2 xdabbeb's vs982.5
[Xposed Framework Modules] GermainZ:
I'll check it in a couple of days, as Xposed doesn't support Lollipop/TouchWiz(*gasp!*) just yet. :)
[Xposed Framework Modules] Krazee78:
Not working on LG G3 with stock lollipop rom and xposed alpha 3.1

On 4.4 rom works very good.

Waiting for lollipop update

Thanks for module you do
[Xposed Framework Modules] jacrys:
Timely 1.3 incompatibility (released 17 Feb 2015)

Timely 1.3 incompatibility (released 17 Feb 2015)

Here is the specific section from the log that errors :

java.lang.ClassCastException: ch.bitspin.timely.data.DataManager cannot be cast to android.content.Context

at com.germainz.dynamicalarmicon.XposedMod$7.beforeHookedMethod(XposedMod.java:261)

at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)

at ch.bitspin.timely.alarm.AlarmManager.f(Native Method)

at ch.bitspin.timely.alarm.AlarmManager.b(SourceFile:230)

at ch.bitspin.timely.alarm.AlarmManager.b(SourceFile:43)

at ch.bitspin.timely.alarm.d.run(SourceFile:109)

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

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

at ch.bitspin.timely.util.ad.run(SourceFile:31)

at java.lang.Thread.run(Thread.java:841)
[Xposed Framework Modules] theknut:
Fix for Android Lollipop

Remove
[Xposed Framework Modules] theknut:
Hi [MENTION=4775688]GermainZ[/MENTION],

thanks so much for this simple, yet incredible useful Xposed module!

Please see my pull request on Github: https://github.com/GermainZ/DynamicAlarmIcon/pull/4

Since it was developed and tested only on Android Lollipop it should also be tested on previous OS versions. It works for me on an AOSP ROM (Cataclysm).

I attached my apk and signed with my own keys. So you'll need to uninstall your current version of DynamicAlarmIcon and install the attached apk. Repeat the same process once GermainZ updates the Xposed repo.
[Xposed Framework Modules] Ronii10:
Doesnt work
[Xposed Framework Modules] jacrys:
[MENTION=3750499]roni110[/MENTION], what is the issue you are seeing, what is your OS version and are you using the stock alarm?
[Xposed Framework Modules] Ronii10:
Hi thank you for answering

The time dosent show up on task/status bar

My OS version is 4.2.2 JB

And yes i use the stock alarm
[Xposed Framework Modules] jacrys:
Can you take a screenshot? usually it is Power Button+Volume Down or Power Button+Home for approx 2 sec. I forgot to ask initailly, but are you running a custom ROM at all, or do you have any other status bar/ generalized mods applied?
[Xposed Framework Modules] Ronii10:
Sure View attachment 3236581View attachment 3236582

Im running Samsung stock (Touchw iz)

I might have 2 or 3 moduels.
[Xposed Framework Modules] GermainZ:
The module is working as intended. If your alarm clock doesn't show you a notification, then it obviously won't be modified (this module doesn't add a notification by itself). :)
[Xposed Framework Modules] ffejy462:
[MENTION=4775688]GermainZ[/MENTION]

Just curious if Timely alarm update is in the works or did Timely really screw it up? Not asking for an eta by any means, just wondering if I should quit wondering! :P

Thanks!

lg g2 xdabbeb's vs982.5 1.1.0
[Xposed Framework Modules] GermainZ:
As soon as Xposed supports TouchWiz or when I have the time to flash another ROM and check it out. :)
[Xposed Framework Modules] jacrys:
Hey [MENTION=4775688]GermainZ[/MENTION], I have TouchWiz running Timely and can help with debugging testing if needed. Btw, It was working fine until the last Timely update when they added a heads-up notification that appears ~ 1 hr pre alarm. it looks like they added a varaible to the middle of the call and so the typing on the variables the hook uses are mis-matching.
[Xposed Framework Modules] XlAfbk:
1.3.3 is broken again on 5.1 / CM12.1
[Xposed Framework Modules] valk791:
On my nexus 5 and Android 5,0,1 it has never worked.
[Xposed Framework Modules] 0nyx:
Thank u very much for this, can confirm it's working on my S5.

Alliance V8 TW with stock samsung alarm clock and Xposed by [MENTION=4898097]arter97[/MENTION]! :good:
[Xposed Framework Modules] tangcla:
Hi,

If I may, could I please make one request with your version of the apk - on my Samsung Galaxy Note 4 (on Lollipop) the icon does not show up while the phone is on lockscreen. Is it possible for this to show even when the phone is locked?
[Xposed Framework Modules] jaydee 77:
Hi [MENTION=4775688]GermainZ[/MENTION], nice module. Here's a request. Please could you add a function to hide the alarm icon/notification. Alarm icon/notification only to be shown for a configurable time before alarm starts.
[Xposed Framework Modules] :
I'm on temaseks unofficial cm12 based ROM 5.1.1 for the nexus 6 and the alarm icon didn't change... Can I get a log?
[Xposed Framework Modules] GermainZ:
Yup, log please.

(About requests: most of them are on the to-do list, but I'm not having much time to do anything.)
[Xposed Framework Modules] :
How you want me to get the log? Download module, activate, reboot, then get log?

---------- Post added at 06:06 PM ---------- Previous post was at 05:57 PM ----------

@GermainZ here is the log, thanks!

https://www.dropbox.com/s/i8d3yp4bxsfh1oj/xposed_error_20150828_180305.log?dl=0
[Xposed Framework Modules] PrinceCoc:
Thanks a lot :D
[Xposed Framework Modules] :
[MENTION=4775688]GermainZ[/MENTION] any update on development or for a fix? Waiting for xposed to show an update! :)
[Xposed Framework Modules] tonyp:
As I really like this module I compiled an updated version for myself which I thought I'd share.

It includes the Lollipop fixes by [MENTION=1749264]theknut[/MENTION], I just additionally disabled the hook into Timely for Lollipop and above as this causes an error.

Timely now uses the new official AlarmManager API for Lollipop rather than a hidden API before.

The app is signed with my own key, so you have to uninstall old versions first.

It works as expected on my N5 with 5.1.1, I have no idea about other (particulary Samsung) devices.

[MENTION=4775688]GermainZ[/MENTION] I sent you a pull request in case you want to release a new official version:

https://github.com/GermainZ/DynamicAlarmIcon/pull/5

If not I could release a strimmed down version for API 21+ to the Xposed Repo if you want.
[Xposed Framework Modules] GermainZ:
[MENTION=3605868]tonyp[/MENTION] Thanks! ❤ I'll try to merge pending PRs and release a new version tomorrow.

Yup, will also try to look at your log tomorrow.
[Xposed Framework Modules] :
Thanks!! I'm dying to use this module since I'm in school and need it like every morning... It would be incredible helpful!!

---------- Post added at 05:14 PM ---------- Previous post was at 05:00 PM ----------

This works perfectly!! Thank you!!
[Xposed Framework Modules] tangcla:
[MENTION=3605868]tonyp[/MENTION] (and [MENTION=4775688]GermainZ[/MENTION]) - the icon doesn't show up when the phone is at lockscreen - is this intentional? I can't see what time the alarm is, without unlocking the phone.
[Xposed Framework Modules] siealex:
The latest build works fine on ZMOD.
[Xposed Framework Modules] GermainZ:
1.3.3 uploaded to the repo :)

DynamicAlarmIcon is now compatible with Lollipop (patches by [MENTION=1749264]theknut[/MENTION]).

Fixes for Timely on Lollipop (patches by [MENTION=3605868]tonyp[/MENTION]).

Added translations for German (by [MENTION=1749264]theknut[/MENTION]) and Slovak (by [MENTION=5201515]Ja_som[/MENTION]).

If you installed a version signed by someone else (tonyp or theknut), remember you'll need to uninstall it first. Installing the update won't work without uninstalling the old version because of different signatures.

As usual, please report any bugs but remember to include the ROM and Android version you're using, as well as the Xposed logs (accessible from the Xposed Installer app). Thanks!

—————————————————————————————————————————​

That's probably a ROM security setting. Is there no option to disable it in your ROM's settings?
[Xposed Framework Modules] tangcla:
No, I don't have any secure lockscreen option enabled.
[Xposed Framework Modules] Portgas D. Ace:
[MENTION=4775688]GermainZ[/MENTION]:

v1.3.3 works great :) :good:

Is there an option (available or planned) to set a custom size for the clock item? As on my device it is rather small :(
[Xposed Framework Modules] GermainZ:
What ROM are you using?

The size of the icon is supposed to be roughly the same as the stock one. If not, what ROM are you running and can you please provide a screenshot (preferably of both the stock and DynamicAlarmIcon icons)?
[Xposed Framework Modules] tangcla:
Stock ROM, but deodexed. I'll get you some screenshots in a moment.
[Xposed Framework Modules] Portgas D. Ace:
I am currently running Resurrection Remix.

I attached three screenshots. First one is with your module enabled. Second one is the "normal" one, where I have Flat Style Bar Indicators by ibocharov enabled, with the size of the alarm icon manually set to match the size of the other icons. The third screenshot shows the stock icon (which is slightly bigger than the dynamic one).

View attachment 3474298View attachment 3474299View attachment 3474300
[Xposed Framework Modules] jb789:
I just stumbled across your DynamicAlarmIcon module and am really loving it, thanks! Forgive me if I've missed some relevant posts, but I have a possible idea for an AM/PM indicator. How about a dot or dash in between the "bells" for AM, like the hammer on an old alarm clock? My thinking is it's really only AM when you think of needing something loud to wake you up. It shouldn't take up much space and it would be only a minor change to the icon design. Just a thought. :)
[Xposed Framework Modules] :
Hell yes! Beautiful idea!
[Xposed Framework Modules] Crsmsg:
Works great here on CM12.1 ?
[Xposed Framework Modules] Ja_som:
Hi, here is log from Xposed on Android 6

11-15 21:05:56.548 E/Xposed ( 988): java.lang.NoSuchMethodError: com.android.systemui.statusbar.NotificationData$Entry#setBigContentView(android.view.View)#exact
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:181)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:131)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:138)
11-15 21:05:56.548 E/Xposed ( 988): at com.germainz.dynamicalarmicon.XposedMod.hookSystemUI(XposedMod.java:220)
11-15 21:05:56.548 E/Xposed ( 988): at com.germainz.dynamicalarmicon.XposedMod.handleLoadPackage(XposedMod.java:101)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:173)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:655)
11-15 21:05:56.548 E/Xposed ( 988): at android.app.ActivityThread.handleBindApplication()
11-15 21:05:56.548 E/Xposed ( 988): at android.app.ActivityThread.-wrap1(ActivityThread.java)
11-15 21:05:56.548 E/Xposed ( 988): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
11-15 21:05:56.548 E/Xposed ( 988): at android.os.Handler.dispatchMessage(Handler.java:102)
11-15 21:05:56.548 E/Xposed ( 988): at android.os.Looper.loop(Looper.java:148)
11-15 21:05:56.548 E/Xposed ( 988): at android.app.ActivityThread.main(ActivityThread.java:5417)
11-15 21:05:56.548 E/Xposed ( 988): at java.lang.reflect.Method.invoke(Native Method)
11-15 21:05:56.548 E/Xposed ( 988): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-15 21:05:56.548 E/Xposed ( 988): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-15 21:05:56.548 E/Xposed ( 988): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
[Xposed Framework Modules] robert1337:
[MENTION=4775688]GermainZ[/MENTION] can you make your app compatible with "Flat Style Bar Indicators"? if i install that module, it will overwrite your module even if i set it to use stock icon.
[Xposed Framework Modules] :
[MENTION=4775688]GermainZ[/MENTION] or someone wanna update this for Marshmallow support? Loved this module but doesn't work anymore

Sent using XDA One on my Nexus 6
[Xposed Framework Modules] siealex:
That module draws a completely new status bar with its own icons on top of the regular one.
[Xposed Framework Modules] robert1337:
are you sure? because it works on every stock roms i tried, and they arent vanilla android lol
[Xposed Framework Modules] siealex:
It works on every stock rom because it draws a new statusbar.
[Xposed Framework Modules] robert1337:
dude, no. touchwiz's status bar works differently compared to vanilla android. you cant just draw a new status bar, otherwise it wont work with the touchwiz pulldown notifications

that is why there are two wanam xposed modules, one for touchwiz, one for vanilla android
[Xposed Framework Modules] exnoke:
Same here. (Using Stock KitKat 4.4.2. )

TouchWiz icon will be great if is little bigger.

AOSP is exact same size as stock icon (but it's thinner that other icons and doesn't match) :)