yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] snarkophilus:
Not working on HTC One M8

Hi folks,

I'm not seeing any notification counts with my HTC One M8 running stock Telstra (Australian) Android 4.4.2 / HTC Sense 6. I've tried all the choices in the exception list for a couple of different apps that have multiple notifications.

I've got lots of the following from the Xposed logs:

java.lang.NoSuchFieldError: com.android.systemui.statusbar.StatusBarIconView#mNumberPain
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getObjectField(XposedHelpers.java:611)
at com.woalk.apps.xposed.notifcount.XposedMod$1.afterHookedMethod(XposedMod.java:105)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.StatusBarIconView.<init>(Native Method)
at com.android.systemui.statusbar.BaseStatusBar.createNotificationViews(BaseStatusBar.java:946)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1078)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1070)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(Native Method)
at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:294)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5872)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:852)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:668)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)

Is that useful? Is there any other information I can provide?
[Xposed Framework Modules] SyCoREAPER:
So here is the best example I can give. I must have downloaded 3 apps previously yesterday. Later that night I downloaded a 4th (all notifications cleared) and notification count said 4
[Xposed Framework Modules] Woalk:
It indeed is useful, even while it is difficult to fix (instead of simply putting on a workaround).

It would be helpful if you could provide me a deodexed SystemUI, or a link to a ROM with your HTC System Version (something like 3.xx.xxx.x, e.g. 3.28.841.9).

Play Store, when installing a new app, or updating one?

The "Update available" notifications seem to be a little bit odd, just from factory state on. The number Notification Count uses on apps that provide the number by themselves (what Play Store's "Update available" notification does) can be seen in the lower right corner of the notification, check if the number there is as odd as the number badge. If yes, it's the app's fault...

If you mean any other notification from Play Store or other apps, which setting did you try to experience that?
[Xposed Framework Modules] SyCoREAPER:
I was downloading through Chrome from APK Mirror with default setting. So far the default seems to be most problematic.

PushBullet for example was acting goofy adding stuff up but I switched to count updates and it seems (24 hours so far) to be have correctly
[Xposed Framework Modules] Woalk:
Dowloading via Chrome means actually downloading via Android's built-in Download Manager, which I suggested to switch to "Title contains number" or "Don't add number", right in the first post about the new update.

This applies to every app updating their notifications frequently without increasing quantity.

Manually switching to "Count updates" applies to every app containing numbers in the title which do not represent a quantity.
[Xposed Framework Modules] WunSick:
Would it be possible to add a Single Badge mode? For example no matter how many different types of notifications you only have a single badge, that shows the number, and expanding the notification bar, you see all your notifications? I like to keep my bar nice and clean, and would love to know I simply have 3 notifications (and don't really care what kind).
[Xposed Framework Modules] Woalk:
I think this would be an idea for a new module, not this one.

You can ask in the official thread for module suggestions and hope there is a developer who can do this rather quickly, or you can wait for me to have time for another additional module to develop and maintain.

For the time being, I'm getting more and more busy enough again...

But this is never sure. Idea noted for every case. :)
[Xposed Framework Modules] WunSick:
Thanks so much! Will do!
[Xposed Framework Modules] snarkophilus:
I can't post a proper link unfortunately (I'm a noob!). From the HTC website is a ROM for carrier Telstra, ROM version 1.12.841.17. Here's the broken URL with spaces instead of slashes: http dl4.htc.com RomCode Source_and_Binaries m8-3.4.0-g278eae8.zip

Is that enough?
[Xposed Framework Modules] Woalk:
Your HTC ROM version can be found in Settings > About > Software information > Software number.

But for 4.4.2, this should be the version available in HTC's downloads.

With this number, I can check in an unlocked HTC ROM (carrier-free, version number x.xx.401.x) for your problem.

But this may not solve the problem, as your carrier is allowed to make changes to those files in contrast to HTC stock software.

I can try to solve it with the ROM by HTC. But this may not be possible instantly, sorry.

Nevertheless I'll note it and try to fix that way. :)
[Xposed Framework Modules] Marília de Oliveira:
He ta not working in menseger Plus! [Telegram by Rafalense]
[Xposed Framework Modules] Woalk:
Does it not count the notifications in the bottom right of an expanded notification?

If no, that would be somehow strange, as the stock Telegram does that and there would be no point in removing the feature... Maybe file an issue to Rafalense (GitHub, mail or whereever he allows).

In case of a 'no', also, which options of Notification Count for the respective app did you try to fix manually?
[Xposed Framework Modules] Marília de Oliveira:
Correcting. ta operate normally! excuse my mistake. very good your modules! ta modules you doing yet or already stopped?

I think its the best modules for customization term! :D:victory:
[Xposed Framework Modules] snarkophilus:
The ROM version is that 1.12.841.17 number I mentioned earlier in my post. I can also try to give you a deodexed SystemUI if that will be helpful.

No rush, but I'll be happy to test anything when you're ready :).
[Xposed Framework Modules] mobilio:
Thanks for the app. May I suggest if we can have a sort sequence in the exception list by the notification count displayed....thus this is easier to exclude those items don't want to have the count display?
[Xposed Framework Modules] nonoldw:
Great app, but can you change it to white list controlled instead of the current Blacklist or exception list?
[Xposed Framework Modules] papete:
Whatsapp Groups

Great Module!! I was using the previous one (from bukowski) and I'm glad you are updating his work.

I have a problem with Whatsapp, notification count for persons is working fine, but for groups it is messed up. For example you can see from the screenshot that I got 2 group notifications (from the same group) and the launcher is showing the correct number of unread notifications while the module is showing a wrong number. If you need logs or something let me know.

(I'm using Team Black Out's WhatsApp, they just change the colors, so I guess it shouldn't interfere with the module in any way)

Edit: I think I know what is going on... The group is called "fantasy 2015", so the module must be picking y the first 3 numbers from the groups name.
[Xposed Framework Modules] Woalk:
I don't think sorting in another way than alphabetically (+ changed settings at top) would be a plus for usability, it would be very difficult to find the app you search when you have many apps installed. When you know the name, you can simply scroll down to the letter you search...

Oh, sorry, I heard of this request earlier and did not have time since then...

I'm currently fiddling with my server technology and also have more work again.

Please be patient, I will include this feature, as well as 'real' custom styles etc. :)

Then make sure you use 'extract from summary' for WhatsApp, that should prevent using the notification title for counting.
[Xposed Framework Modules] Patybello:
Crash to ready app list on my lg g3, ok in xperia z3 compact
[Xposed Framework Modules] Woalk:
Stacktrace (logcat)?
[Xposed Framework Modules] Patybello:
No errors
[Xposed Framework Modules] Woalk:
This can't be, would be very extraordinary.

(I mean normal `adb logcat` command, not the Xposed log, just for sure. Xposed log is only for modding failures, not for the configuration.)
[Xposed Framework Modules] Note 3 Chicago:
Great app!

However, the applist is crashing for me (it loads to 60%, then FC's). VZW Note 3 (SM N900v) running stock rooted 4.4.2. I don't think it's a module conflict, because it happens with all other XPosed modules disabled. I can send you a logcat if you need it, just tell me where.

Thanks very much!
[Xposed Framework Modules] Woalk:
Post, PM or mail dev@woalk.com, just as you want.

(But I'm currently working on my mail server, so it could be a bad idea to do that at the moment. At least I could most likely not answer on that channel.)

I don't need a full logcat most of the time, just the last lines immediately after the crash, containing the (hopefully existing) Stacktrace.

It looks like that, if you never saw one:

Exception in thread "main" java.lang.NullPointerException
at com.example.myproject.Book.getTitle(Book.java:16)
at com.example.myproject.Author.getBookTitles(Author.java:25)
at com.example.myproject.Bootstrap.main(Bootstrap.java:14)
at (... and so on)

So it could also be posted in the thread normally.
[Xposed Framework Modules] Note 3 Chicago:
Here you go. Thanks again!

06-04 14:01:45.110 I/ActivityManager(28503): Process com.woalk.apps.xposed.notifcount (pid 7620) (adj 0) has died.

06-04 14:01:45.110 I/WindowState(28503): WIN DEATH: Window{448d86d8 u0 com.woalk.apps.xposed.notifcount/com.woalk.apps.xposed.notifcount.Activity-Alias}

06-04 14:01:45.120 I/SurfaceFlinger(28124): id=723 Removed Bctivity-Al (6/22)

06-04 14:01:45.120 I/SurfaceFlinger(28124): id=723 Removed Bctivity-Al (-2/22)

06-04 14:01:45.120 D/KeyguardUpdateMonitor(28737): sendKeyguardVisibilityChanged(true)

06-04 14:01:45.120 W/ContextImpl(28503): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1485 com.android.server.am.ActivityStack.removeHistoryRecordsForAppLocked:3688 com.android.server.am.ActivityStack.handleAppDiedLocked:4462 com.android.server.am.ActivityStackSupervisor.handleAppDiedLocked:3010 com.android.server.am.ActivityManagerService.handleAppDiedLocked:4508

06-04 14:01:45.120 W/ActivityManager(28503): Force removing ActivityRecord{4768f270 u0 com.woalk.apps.xposed.notifcount/.Activity-Alias t56}: app died, no saved state
[Xposed Framework Modules] chong67:
It crash on my phone also. It has the error pop up every 2 sec. I have the rooted T-mobile Note 4 running KK 4.4.4
[Xposed Framework Modules] Woalk:
I think this is after the error and the stacktrace. Stacktraces are very good to distinguish from other log content because they are indented and every line except the first few starts with "at". :)

(And please use

and for longer logs [HIDE] blocks.)
[Xposed Framework Modules] Woalk:
I didn't find time to post this yesterday, but

there is a new version of Notification Count around there in the Xposed Repo!

This Version, 3.0 respectively, adds some nice new features:

You can now adjust the notification badge style freely.

This means, you can now change the background color, border color, text color, text size and badge shape.

You cannot use a transparent badge for now, I will look into this for the next release.

The Notification Count settings can now be integrated into Android's notification long-click menu.

You no longer have to search for the app after a notification behaved wrongly.

You can long-click on the notification and choose "Notification Count settings" from the menu.

This works with AOSP ROMs, Android 4.1 and up.

Don't enable it on earlier versions, and be very careful to enable it on non-Lollipop-ROMs that are far from AOSP, this may result in continuous System UI crashes.

(In most cases you can still trick yourself into the module's settings and disable the setting, but it's no fun to do so.)

Lollipop ROMs should be safe from crashes, it just would or would not add the setting to the menu, you can try it out without great danger.

And finally, you can now change the behavior of the 'Exception list' from blacklist to whitelist (again).

Have fun with this new version! :)

Feel free to report any feedback you have, including bug reports and further addition requests.
[Xposed Framework Modules] Curious Boy:
Integrated setting not work on my lg g3 kitkat.
[Xposed Framework Modules] Krozalid:
Badge design

Oval and rectangle, but no circle? :p
[Xposed Framework Modules] Spodi2290:
Integrated Setting works fine on TouchWiz KitKat :)

Im still missing number from full text :D
[Xposed Framework Modules] Woalk:
For KitKat, you can provide me a (deodexed) SystemUI.apk and/or a link to the ROM you're using, for Lollipop the same with Settings.apk.

Then I'll see what I can do to integrate it. But it may take some time before I look into this, depends on the time I have.

"Rectangular circle" is the nearest approach to a circle. It shows the badge just like it did before you could select shape.

Reason that it is no real circle is that such a circle would occupy more space in height as it makes sense when the number gets two digits or more.

For one digit, "Rectangular circle" is in fact nearly a clean circle. :)

Oh, sorry... I really managed to let this not find a way onto my big To-Do-list...

Next release, certainly.

For those waiting impatiently on a specific feature: you can regularly check the GitHub of my project, keeping track of my `woalk/master` branch (and feature branches, but features there are most of the time incomplete).

New features come there first, so - you can always build your own version (I'm sure Google provides good guides on that). :)
[Xposed Framework Modules] Curious Boy:
My systemui

ttps://docs.google.com/file/d/0B5NYHkGjyDhfeFdUVGF5dURWMUE/edit?usp=docslist_api

:)
[Xposed Framework Modules] Spodi2290:
Don't hesitate, you already did some great improvements on the module. It's just a selfish wish of mine :)
[Xposed Framework Modules] RusherDude:
[MENTION=5510242]Woalk[/MENTION], does this work on 5.0-5.1.1 now? I remember testing this in the past and it didn't, can't find anything on the last posts or the title tho :(. To get more audience, you should add a [4.4.4-5.1.1] or so in the title with the versions working for this module :D

Edit: I see now that it works for 4.1+LP, you should add it anyway for more people :D

An small bug: when changing the notification size, I can't make test notifications appear anymore after I reboot :(. -- I can't replicate it tho! didn't happen again :D

Awesome work with this module you're doing!! Thanks a lot!
[Xposed Framework Modules] Woalk:
The module should work from 4.0.3 upwards (not tested), but it has very variable restrictions at different Android versions.

Maybe I'll test any of them and add a "what works where" table.

5.1 is untested (by me) and will probably always be until there is an official version of Xposed for it.

Not replicable bugs are the most interesting ones...

I hope it doesn't happen again, and if so, try to catch a log of it.

I'm happy that you like it. :)
[Xposed Framework Modules] RusherDude:
Awesome haha, I'm using it on stock 5.1.1 on an Nexus 5 and works flawless :), so it works absolutely good on 5.1.1 base :good:

Why are you waiting for an "official" version for 5.1? the unofficial versions works as good as the official one for 5.0... in fact, those "alphas" and "super-alphas" are way more stable than the own 4.4.4 official version for me haha. And since rovo is not motivated, we will have to rely on unofficial stuff for some time it seems :)
[Xposed Framework Modules] Woalk:
Nice that it works there out-of-the-box.

That indeed sounds good, I think I will give it a try. Thank you for the suggestions. [off-topic]
[Xposed Framework Modules] jacobyo7:
Work great, thanks! It's kinda usefull
[Xposed Framework Modules] sever20067:
how to turn off a notification from a specific application?
[Xposed Framework Modules] Woalk:
Turn off the notification itself or Notification Count?

To disable the Notification Count workaround (searching for a number in various places and displaying it "intelligently"), select "Don't add number".

To hide any number badge, select "Don't show any number". Pretty straight-forward.

To disable a notification completely (don't show and don't notify), go to Android's settings dialog for the respective app (long-click on the notification as easiest way).
[Xposed Framework Modules] SyCoREAPER:
Wish there was a way to do a manual scan for new apps rather than each time you open exception list. Takes quite a while to make a quick change when it tries to rebuild the list each time
[Xposed Framework Modules] Woalk:
I'm working on threading and caching all this more efficiently, I will apply that to all my apps (incl. Notification Count) once finished. :)
[Xposed Framework Modules] SyCoREAPER:
You sir rock. Very responsive developer and are definitely in my top list.
[Xposed Framework Modules] Woalk:
I'm honored, thank you.. ?
[Xposed Framework Modules] xPr0metheus:
Hi dev, I have a problem with this module.

I installed it on a Samsung Galaxy Note 4 SM-N910F, running Android 5.0.1 Touchwiz, BOD2 deodexed.

Everything ia fine so far, however the notification for my keyboard (in my case A.I.type) also adds numbers to it for each message that i send (for example in whatsapp)

What I tried so far: using whitelist in settings and disable count for all A.I.type apps and stock keyboard. Did not work. Anything I can do?
[Xposed Framework Modules] Curious Boy:
I thing this is android system notification( touch and hold ->appinfo). you may try with this and it may not effect untill reboot , not sure.

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

I thing this is android system notification( touch and hold ->appinfo). you may try with this and it may not effect untill reboot , not sure.
[Xposed Framework Modules] Woalk:
New version with many changes!

Notification Count 3.1 is available!

This version adds many new things. Including:

New app list engine. This will reduce RAM usage, fix FCs, and load faster!

You can now extract the number from the notification content. Specify it as exception if you wish that.

You can now change alpha value (transparency) of the number badge.

System integration also works now for HTC devices running Sense 6 Lollipop (and possibly 7, too).

Enjoy! :)
[Xposed Framework Modules] snarkophilus:
Is this worth trying on my M8 with Sense 6 KitKat? Remember I had the problems on no notifications being counted regardless of the settings.
[Xposed Framework Modules] Curious Boy:
Please add system integration on lg g3 kitkat https://drive.google.com/file/d/0B5NYHkGjyDhfeFdUVGF5dURWMUE/edit?usp=docslist_api
[Xposed Framework Modules] Woalk:
No, I'm sorry. Those two problems are still on my whiteboard.

Maybe I'll work on them today. :)

EDIT [MENTION=3124855]snarkophilus[/MENTION]:

It seems like HTC removed the counting ability completely.

For whatever reason, maybe saving a few KB of memory.

It will take some extra work to add it again, but maybe I'll manage it the next weeks.
[Xposed Framework Modules] snarkophilus:
Thanks for looking [MENTION=5510242]Woalk[/MENTION]. I'll keep checking back here, waiting with baited breath. :fingers-crossed:
[Xposed Framework Modules] siealex:
Test notifications of this type always show "2". WTF?
[Xposed Framework Modules] Woalk:
You have to specify [Notification Count] as an exception to let Notification Count's notification numbers be extracted from content. :)

It is not included in automatic setting because too many notifications could display numbers "accidentally" in the content, without further meaning for the amount.

EDIT: Concerning the "2": Notification Count updates the notification right after it is created. So it falls back to "count updates" and counts to creation + update = 2.
[Xposed Framework Modules] enli:
I am on MotoX (1st gen) 5.1 stock firmware and llama shows insanely notification counts. Right now it is showing 11 count. I am seeing this behavior with other apps as well. For example, I missed call my phone from another mobile twice, but the notification count shows 3 count whereas it should be 2. Tasker also showed same behavior.

Is there any workaround or am I missing some setting? Also, if there is workaround, I hope to get that as a setting that is applied to all apps, instead of user applying those settings to individual app.

Thanks.
[Xposed Framework Modules] Woalk:
Did you at least try changing settings for the misbehaving apps, so that you know what would work, is there a pattern?

If an app is not designed for notification counting, this is how it is.

Notification Count will then default to "Count updates", and this will give you huge or false amounts on frequently updated or re-used notifications.

In my view, misbehaving apps for Notification Count's already existing auto-detect function (without which it would be a lot worse) are not too many, so it should not be a really big problem to exclude each of them manually.
[Xposed Framework Modules] enli:
Sure, I can try different settings if there were no other options. I added tasker and llama to exception list i.e. "Don't show any number". Also, for missed calls I set "Content containing number".

Thanks for the much needed module :)
[Xposed Framework Modules] Woalk:
Ah, so this is how it should work.

I hope this is not too much inconvenient for you. It is just not really possible to do it otherwise. :)
[Xposed Framework Modules] jt23738:
Not working for me, xperia z2 on 5.02
[Xposed Framework Modules] jt23738:
And is this normal? Having 4 status bar notification icons for the same app?
[Xposed Framework Modules] Curious Boy:
This is normal and unrelated to notification count.
[Xposed Framework Modules] Woalk:
Xposed log?
[Xposed Framework Modules] jt23738:
Here: https://www.dropbox.com/s/xmtvgaoz4b1kee8/error.log?dl=0
[Xposed Framework Modules] kliu888:
I frequently get 99+ but the actual unread messages were less than 10. What could cause it to think there are more than 99 messages? Xposed log was empty. Thank you.
[Xposed Framework Modules] Woalk:
Which app and settings for the app did you try? I could only think of a misconfiguration (not every app works well with the auto-detect function).

And to all of you waiting for something new:

It is a strange time currently. I will definitely try to compensate this as soon as I can with some nice new features I have in mind!

Please understand the inconvenience of no update where I promised some of you to include some bugfixes already a few weeks ago. I'm really sorry. I will not abandon this and I'm still here. It's just the time. As always.
[Xposed Framework Modules] kliu888:
The offending app is LINE. I use default settings (automatic). Should I be using something else? Thanks.
[Xposed Framework Modules] xperia_sp_2014:
Hi. Is there anyway to save notification detail? For example my friends leave a comment on my instagram post and i see a notification with his short view msg, im looking for a way to save this stuff, i find a way that show me when and what apps gave a notifixation to me, but its useless, i want to see what was their subject? Do you know any way to save notification in this method?

Sent using Tapatalk