[MOD][XPOSED] Smart Alarm Icon [1.2][HTC/Samsung 4.0.3+]

Search This thread

Mantelinho

Senior Member
Oct 22, 2012
75
220
Düsseldorf
Redmi Note 8 Pro
New Xposed Mod: Smart Alarm Icon

This mod will change the alarm icon in status bar to be only displayed for a configurable time before alarm will go off. This for example will remove the icon on Friday and Saturday if the alarm is scheduled for working days only. The threshold for when the icon gets shown is configurable via UI.
=> This makes the alarm icon more valuable again, since if shown permanently one gets used to it quite fast.

Limitations
  • Works on HTC and Samsung stock-based ROMs version 4.0.3 and higher (permanently hides the icon on other devices)
  • You MUST accept that you use any modification at your own risk

If you want to try it, follow these steps:
  1. If not done yet or included in your custom ROM, install the Xposed framework as described in this thread (requires root)
  2. Install the attached APK and activate the module in the Xposed installer (this is also described in the framework thread)
  3. Reboot
  4. To change settings, tap on the module in Xposed installer
ChangeLog

Code:
[B]1.2[/B]
- Samsung ROMs now fully supported

[B]1.1[/B] (392 dloads)
- Preferences now include "show never" (slider left) and "show always" (slider right)
- Removed "active" checkbox (now configured with slider)

[B]1.0[/B] (86 dloads)
- Initial release

Hope you enjoy and let me know. Great thanks go to rovo89 for this fabulous framework.
 

Attachments

  • SmartAlarmIcon_1.2.apk
    172 KB · Views: 12,729
Last edited:

Mantelinho

Senior Member
Oct 22, 2012
75
220
Düsseldorf
Redmi Note 8 Pro
My Other Xposed Mods

All HTC and Samsung ROMs Android 4.0.3 and above
Smart Alarm Icon
Only shows the alarm icon in status bar a configurable time before next alarm

All HTC Sense 5 ROMs
BlinkFeed Back To Top
Enables the back button in BlinkFeed to fast scroll to top

All HTC ROMs Android 4.0.3 and above
Custom Status Bar Opacity
Easily configure the opacity of the status bar when it is transparent in lock screen and launcher
 
Last edited:

terminal 7

Senior Member
Jan 27, 2008
469
45
exeter, uk.
nice

Nice idea, good to see more Xposed framework stuff for the m7.

a little off topic but i wonder if xposed could activate or deactivate the NFC icon that shows up in some countries ? ( doesnt show up in uk devices )

PEACE:)
 

Mantelinho

Senior Member
Oct 22, 2012
75
220
Düsseldorf
Redmi Note 8 Pro
Nice idea, good to see more Xposed framework stuff for the m7.

a little off topic but i wonder if xposed could activate or deactivate the NFC icon that shows up in some countries ? ( doesnt show up in uk devices )

PEACE:)

Probably yes. I don't have my hands on any AT&T/Rogers ROM, on which NFC icon it is reported to show up. Furthermore, I'm not using NFC at all, so I'm afraid it makes no sense for me modding this. I suggest keeping an eye on trixx's TrickDroid thread, his ROM at least supports AT&T models - maybe he's willing to include this at some point
 
  • Like
Reactions: terminal 7

Tw1tchy

Senior Member
May 28, 2011
386
77
VanCoVer
1.29 rogers stock Rom here and everything is perfect. Xposed is so good it's almost sexual...

Sent from my HTC One using xda app-developers app
 
  • Like
Reactions: Mantelinho

jaythenut

Senior Member
Sep 6, 2012
7,330
2,374
Cool thanks man being waiting for someone to get rid of that works great :cool:
 

jacobb23

Senior Member
Aug 13, 2010
151
38
Thanks!

Dude. I didn't bother looking around to see if anybody had tried this on a GS3 (yeah I know wrong thread) but this is awesome. I absolutely HATE the stupid icon up there all frackin day when my alarm isn't until the morning. So far works great on my sprint GS3. Thanks!
 

jeremiahEJ54

Senior Member
Mar 23, 2013
251
98
Black Hawk
Smart Watches
Has work great on my note 2, but really it should work on any device as long as you have xposed installed. Would be great to hide other icons as well.

Sent from my SCH-I605 using xda app-developers app
 

thedicemaster

Senior Member
May 10, 2009
1,763
863
it works partially for me on my note 2.
hiding permanently works.
but if I set the icon to be visible again it stays hidden.
is there a delay in this, or is it a bug?
it's not a disaster if it's a bug though, I wanted the icon gone permanently anyway.
 
  • Like
Reactions: Mantelinho

Mantelinho

Senior Member
Oct 22, 2012
75
220
Düsseldorf
Redmi Note 8 Pro
it works partially for me on my note 2.
hiding permanently works.
but if I set the icon to be visible again it stays hidden.
is there a delay in this, or is it a bug?
it's not a disaster if it's a bug though, I wanted the icon gone permanently anyway.

Thanks for your feedback. I updated to v1.2, which fully support Samsung ROMs now. v1.1 had the limitation that threshold was only working on HTC ROMs. On none-HTC/Samsung ROMs it will keep on hiding the icon permanently.
 

RogueCoyote

Senior Member
Jan 30, 2012
177
32
I have been searching high and low to get rid of that icon on JB. Thank you for freeing up some space on my status bar!
 

Mantelinho

Senior Member
Oct 22, 2012
75
220
Düsseldorf
Redmi Note 8 Pro
Tested on Nexus 4 and it works perfectly, Running vanilla Android 4.2.2, so it's not just limited to Samsung/HTC roms it seems.:good:

Thank you for this information. Wondering which clock app is installed / comes shipped on your device? Since only HTC and Samsung alarm settings and changes are handled, it should only hide (not auto-show) the icon on vanilla ROMs.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    New Xposed Mod: Smart Alarm Icon

    This mod will change the alarm icon in status bar to be only displayed for a configurable time before alarm will go off. This for example will remove the icon on Friday and Saturday if the alarm is scheduled for working days only. The threshold for when the icon gets shown is configurable via UI.
    => This makes the alarm icon more valuable again, since if shown permanently one gets used to it quite fast.

    Limitations
    • Works on HTC and Samsung stock-based ROMs version 4.0.3 and higher (permanently hides the icon on other devices)
    • You MUST accept that you use any modification at your own risk

    If you want to try it, follow these steps:
    1. If not done yet or included in your custom ROM, install the Xposed framework as described in this thread (requires root)
    2. Install the attached APK and activate the module in the Xposed installer (this is also described in the framework thread)
    3. Reboot
    4. To change settings, tap on the module in Xposed installer
    ChangeLog

    Code:
    [B]1.2[/B]
    - Samsung ROMs now fully supported
    
    [B]1.1[/B] (392 dloads)
    - Preferences now include "show never" (slider left) and "show always" (slider right)
    - Removed "active" checkbox (now configured with slider)
    
    [B]1.0[/B] (86 dloads)
    - Initial release

    Hope you enjoy and let me know. Great thanks go to rovo89 for this fabulous framework.
    4
    I will look into this as soon as I have time. If you encounter any problems like this and you know how to use logcat, it would be helpful if you could grab debug output (tags Xposed, SmartAlarmIcon) and send it to me via PM. Thank you very much
    3
    My Other Xposed Mods

    All HTC and Samsung ROMs Android 4.0.3 and above
    Smart Alarm Icon
    Only shows the alarm icon in status bar a configurable time before next alarm

    All HTC Sense 5 ROMs
    BlinkFeed Back To Top
    Enables the back button in BlinkFeed to fast scroll to top

    All HTC ROMs Android 4.0.3 and above
    Custom Status Bar Opacity
    Easily configure the opacity of the status bar when it is transparent in lock screen and launcher
    3
    I've the same problem in cyuanogenmod 10.1.0 and 10.1.1 stable on Nexus4. Any hint?

    It is the same problem as stated here:

    There is no unique intent over all ROMs of all vendors after alarm settings have changed (it depends on the alarm/clock apk you are using). However, a generic approach exists but a delay upon changed alarm settings had to be accepted, so I discarded it for the time being.

    I did not finish version 1.3 which includes a generic approach as fallback for all other ROM bases since I'm busy working on some other mods. Sorry for that. When finished, I will publish it here.
    3
    it works partially for me on my note 2.
    hiding permanently works.
    but if I set the icon to be visible again it stays hidden.
    is there a delay in this, or is it a bug?
    it's not a disaster if it's a bug though, I wanted the icon gone permanently anyway.

    Thanks for your feedback. I updated to v1.2, which fully support Samsung ROMs now. v1.1 had the limitation that threshold was only working on HTC ROMs. On none-HTC/Samsung ROMs it will keep on hiding the icon permanently.