FORUMS
Remove All Ads from XDA

[Xposed] True Silent Mode for Lollipop v2.9

5,022 posts
Thanks Meter: 34,986
 
By tonyp, Inactive Recognized Developer on 1st March 2015, 01:13 AM
Post Reply Email Thread
True Silent Mode for Lollipop

Download @ Google Play

Help translate the app

I proudly present my first Xposed module: True Silent Mode for Lollipop

This Xposed module will restore the good old silent mode from Kitkat in Lollipop.
The missing silent mode has been one of the most discussed issues after the release of Android 5.0.
In silent mode you will still receive all notifications (contrary to the new None or Priority mode), but there won't be a sound or vibration, just a LED or ambient display notification.

There are various workarounds but this app is the only real fix for this issue.
The most popular workaround is to disable all priority interruptions and use the Priority option to substitute the silent mode.
But this comes with two problems:
  • Now you can't use the Priority mode for it's actual use: to allow certain notifications and block others
  • You won't have any LED Notifications in Android 5.0 (Google at least fixed this in 5.1)

By installing this app and activating the module in the Xposed installer you will be able to use the Silent mode as in prevous versions of Android: By putting your device into the Vibrate mode and pressing Volume Down.
In silent mode you will still receive all notifications (contrary to the new None or Priority mode), but there won't be a sound or vibration, just a silent LED or ambient display notification.

The pro version of this app will allow you to display a statusbar icon when the device is in silent mode.
You can't buy or afford the in app purchase? Fret not! I'm offering you a "Freeload" option in the app which enables all pro features without paying a dime!
(Although I would be very happy if you decide to support the further development of this module in the future, of course).


Additionally this module offers you to get rid of another Lollipop quirk once and for all: You can unsilence Alarms.
By default Lollipop blocks your Alarms when your device is in the "None" mode. While Google introduced a workaround in 5.1 which wil disable the mode prior to ringing the Alarm, this option allows you to just set and forget your device to None. No more fear of missing an alarm in the morning!



Features:
  • Brings back the silent mode we came to love in previous Android versions (no sound, no vibration)
  • Comes with an optional statusbar icon when the device is in silent mode (pro)
  • Comes with a Freeload option in case you can't afford the in-app-purchase
  • Gives you the option to use Alarms despite putting the device to the "None" interruption mode. Never miss an alarm again!
  • Keeps LED notifications intact
  • Re-enables (most) apps and widgets to set up the silent mode, e.g. Power Toggles or Silent Mode Widget
  • Has Tasker support
    You need to use the following intents:
    Code:
    com.thetonyp.truesilentmode.taskerreceiver.MUTE
    com.thetonyp.truesilentmode.taskerreceiver.UNMUTE


Ever since the release of Android 5.0 I've been terribly annoyed by the lack of a true silent mode in Lollipop.
And it seems I'm not the only one, users are raging here at xda, at reddit, at Google's AOSP issue tracker and on various other places of the web.


Attention:
I wrote this module for AOSP-based ROMs, it should work on all Nexus devices and Google Play Edition phones.
So far it seems to work on most vendor stock ROMs (LG, Motorola etc.) as well, but due to the multitude of devices out there I can't promise that it works on each and every Lollipop device and ROM out there.
If you encounter any bugs just report it here and I'll try to fix it.
Please attach the Xposed Log (you can export it in the Xposed installer) and possibly a logcat to your bugreport, without I probably won't be able to fix your issues.



Download:

Google+:

Last but not least an obligatory huge thanks to @rovo89 for his amazing Xposed framework!



If you like this module don't forget to press thanks, rate this thread with 5 stars, consider a donation etc. etc.

Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	21216
Size:	131.7 KB
ID:	3188319   Click image for larger version

Name:	Screenshot_2015-04-10-00-28-07.jpg
Views:	10142
Size:	90.3 KB
ID:	3254456   Click image for larger version

Name:	Screenshot_2015-04-10-00-31-08.png
Views:	10390
Size:	183.0 KB
ID:	3254457   Click image for larger version

Name:	Screenshot_2015-04-10-00-33-31.png
Views:	9924
Size:	191.7 KB
ID:	3254458   Click image for larger version

Name:	Screenshot_2015-04-10-00-36-45.png
Views:	9962
Size:	149.5 KB
ID:	3254459   Click image for larger version

Name:	Screenshot_2015-04-10-00-30-11.jpg
Views:	9906
Size:	100.9 KB
ID:	3254460   Click image for larger version

Name:	Screenshot_2015-04-10-00-30-44.jpg
Views:	9604
Size:	84.4 KB
ID:	3254461   Click image for larger version

Name:	Screenshot_2015-04-10-00-33-14.jpg
Views:	9256
Size:	84.8 KB
ID:	3254462  
The Following 182 Users Say Thank You to tonyp For This Useful Post: [ View ] Gift tonyp Ad-Free
1st March 2015, 01:14 AM |#2  
tonyp's Avatar
OP Inactive Recognized Developer
Thanks Meter: 34,986
 
Donate to Me
More
Credits:
(If anyone is missing here please give me a call and I'll fix it immediately!)
  • Module:
    • @XlAfbk for Tasker support and the former CM12 statusbar icon workaround
    • @rovo89 for the Xposed framework
    • @romracer for the initial 5.1 Xposed bringup
    • @C3C076 for the 5.1 Xposed bootloop fix

  • Translations:
    • Spanish: Adrian Castillo (Yakandu), craynicon, kafepuya
    • German: Firetribe, TerrorApple, Robin Brauer (abroad36), Kampfpudding, ShadowBow
    • Portuguese: jlobo912, KingKaminari
    • French: Daniel Thirion (danithi2011), The_Steph, DaanKemps, Fabien Claude (sploutch), Ruddy. A
    • Italian: KingKaminari, gionni_b, dhabsot
    • Slovak: pyler
    • Polish: danithi2011
    • Hebrew: dshtul
    • Finnish: jujo
    • Hungarian: benjoe1
    • Russian: greatslon, AlexUnderKH
    • Turkish: yilmzfurkan


Installation Instructions:
  1. Install Xposed for Lollipop
  2. Download and install the module
  3. Activate it in the Xposed installer
  4. Reboot your device
  5. Open the app to change the options to your liking


Changelog:
Code:
v2.9
- Added Support for OnePlus Oxygen ROMs
- Added experimental Samsung Stock support
- Improved compatibility with LG Stock ROMs
- Minor code improvements
- Added Finnish, Hungarian and Russian, fixed Hebrew, updated translations

v2.8
- Fixed a deadlock blocking the module from setting the silent mode in a scarce state
- Updated translations from www.getlocalization.com/truesilentmode/

v2.7
- Added experimental option to disable all vibrations during silent mode
- Removed Allow Alarms toast confirmation - instead the Volume Panel text dynamically changes to "No interruptions, except alarms"
- Improved internal preference handling

v2.6:
- Refactored Xposed hooks to (slightly) increase performance
- Added Hebrew translation and merged translation updates. 

v2.5:
- Minor fixes for the new experimental options
- Various improvements
- Added Dutch language & updated others to their newest versions

v2.4:
- Added experimental options with advanced volume panel controls (change icon, keep slider enabled, toggle ringer)
- Refactored volume panel code to improve compatibility
- Fixed statusbar bell icon shape for Android 5.0
- Added French, Portuguese (Brasil), Slovak and (partly) Italian translations

v2.3:
- Full Android 5.1 support (make sure to use the newest Xposed 5.1 super alpha framework version!)
- Greatly improved detection of Xposed problems (not activated, not rebooted etc.)
- Added German, Spanish and (partly) Portuguese translations

v2.2:
- Fixed statusbar icon for CM-based ROMs. Requires Xposed alpha3 (API 64+)
- Greatly improved statusbar icon implementation. Supports on-the-fly icon changes, no reboot required
- Added check if Xposed Installer is available
- Changed default value for the "Unsilence Alarms" option (now off by default, re-check if you use this feature!)
- Reduced apk size by ~40% to <60KB
- Various code improvements

v2.1beta:
- preliminary Android 5.1 support
Note: Unfortunately the unofficial Xposed version for 5.1 currently breaks this module (same as with Gravitybox).
We need to wait for the next, hopefully bugfree release.
Code-wise the module should work with a stable 5.1 Xposed, although this is untested obviously.

v2.0 (initial release on Google Play):
- Option to show a statusbar icon (you get a choice between two icons) 
- Option to unsilence alarms when putting the device to the "None" interruption mode
- Added settings interface
- Preliminary Tasker support
- Icon refresh

v1.0: initial beta release

The Following 18 Users Say Thank You to tonyp For This Useful Post: [ View ] Gift tonyp Ad-Free
1st March 2015, 03:17 AM |#3  
padhu1989's Avatar
Senior Member
Flag Chennai
Thanks Meter: 493
 
More
Working fine in Moto G running stock 5.0.1
1st March 2015, 04:45 AM |#4  
itzallgood707's Avatar
Senior Member
Thanks Meter: 45
 
More
Working on my Nexus 6
1st March 2015, 04:59 AM |#5  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,660
 
More
Great, Galaxy S5, CM12 Fusion ROM.
A shortcut on Homescreen would be nice.

HGT - Galaxy S5 G900F - OneplusOne - Tesla TTL7
1st March 2015, 06:03 AM |#6  
occtec's Avatar
Senior Member
Flag South Australia
Thanks Meter: 932
 
More
@tonyp Well done and a big thank you! Working as described on my Nexus 5, a much needed mod for our lollipoped devices
1st March 2015, 06:11 AM |#7  
treChoy's Avatar
Senior Member
Thanks Meter: 147
 
Donate to Me
More
Praise be to [insert higher power here].

This was literally my worst gripe about Lollipop. You, sir, are fantastic.
1st March 2015, 06:39 AM |#8  
vanisleguy1976's Avatar
Senior Member
Flag Vancouver Island
Thanks Meter: 944
 
More
NICE! This mod is a lifesaver! Thanks for sharing


~~~~~~~~~~~~~~~~~~
DEVICE: SM-N900W8
ROM: Temasek's CM12 v8.0
BASEBAND: N900W8VLUCNI1
KERNEL: Arter97 4.01
RECOVERY: TWRP 2.8.5.0 hlte
XPOSED? YEAH BABY!
1st March 2015, 07:08 AM |#9  
chris264's Avatar
Senior Member
Thanks Meter: 439
 
More
Great Works on my OnePlus One many Thanks

OnePlus One

---------- Post added at 07:08 AM ---------- Previous post was at 07:03 AM ----------

Would it be possible to install a silent icon? So you know it's silent. Nice greetings

OnePlus One
The Following User Says Thank You to chris264 For This Useful Post: [ View ] Gift chris264 Ad-Free
1st March 2015, 07:50 AM |#10  
fLipz's Avatar
Senior Member
Flag 14° 35' N, 120° 59' E
Thanks Meter: 1,132
 
More
Kewl Module! working great here on LG G2 D802. Thanks Dev @tonyp
1st March 2015, 08:15 AM |#11  
Senior Member
Thanks Meter: 1,185
 
More
Hi,

Amazing!!!

First i waited for an update untill XPosed was ready. After waiting for such a long time i was nearly ready to go back to KK just becasue of the lack of a silent mode. You saved me, thanks a lot! Hopefully an indicator of some kind can be done. One that sits in the statusbar would be the nicest.


thanks!
The Following 2 Users Say Thank You to Droidphilev For This Useful Post: [ View ] Gift Droidphilev Ad-Free
Post Reply Subscribe to Thread

Tags
lollipop, silent mode, xposed

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes