Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,562 Members 37,686 Now Online
XDA Developers Android and Mobile Development Forum

{Mod /How to}Remove Wireless Charging Notification 2.04.605.2 710RD

Tip us?
 
.torrented
Old
#21  
.torrented's Avatar
Recognized Contributor
Thanks Meter 1473
Posts: 2,785
Join Date: Mar 2011
Location: Suffolk, VA

 
DONATE TO ME
I know this is OT but is there a way to remove the annoying nag when you disable the Mobile Data ?
 
spinkick
Old
#22  
spinkick's Avatar
Senior Member
Thanks Meter 78
Posts: 609
Join Date: Apr 2010
Default Re: {Mod /How to}Remove Wireless Charging Notification 2.04.605.2 710RD

Would love this, should I just flash viper?
 
gitku
Old
(Last edited by gitku; 29th March 2013 at 09:28 PM.)
#23  
Senior Member
Thanks Meter 75
Posts: 176
Join Date: Dec 2010
Default Re: [MOD][REQUEST] Remove Sense wireless charging message?

Edit ** dope .. wrong post reply
 
nitsuj17
Old
#24  
nitsuj17's Avatar
Recognized Developer - OP
Thanks Meter 17072
Posts: 10,101
Join Date: Aug 2010
Location: PA

 
DONATE TO ME
if someone on a deodexed version of our ota and has a wireless charger wants to try this

https://dl.dropboxusercontent.com/u/...werManager.apk

it may or may not remove the charging nag...lmk
The Following 2 Users Say Thank You to nitsuj17 For This Useful Post: [ Click to Expand ]
 
.torrented
Old
(Last edited by .torrented; 28th December 2013 at 05:29 AM.)
#25  
.torrented's Avatar
Recognized Contributor
Thanks Meter 1473
Posts: 2,785
Join Date: Mar 2011
Location: Suffolk, VA

 
DONATE TO ME
Quote:
Originally Posted by nitsuj17 View Post
if someone on a deodexed version of our ota and has a wireless charger wants to try this

https://dl.dropboxusercontent.com/u/...werManager.apk

it may or may not remove the charging nag...lmk
Can I asked what was changed? I see what was done.

Nobody testing mine but this is what I did.
Code:
public void onReceive(Context context, Intent intent)
    {
        mContext = context;
        String s = intent.getAction();
        if (s != null && s.equals("com.htc.server.batteryservice.action.SHOW_WIRELESS_CHARGING"))
            return;
        else
            return;
    }
Here is mine if anybody wants to test this as well: http://forum.xda-developers.com/show...3&postcount=74 (this is not for viperDNA, just stock sense 5 OTA)
The Following User Says Thank You to .torrented For This Useful Post: [ Click to Expand ]
 
xlxcrossing
Old
(Last edited by xlxcrossing; 30th December 2013 at 09:27 AM.)
#26  
xlxcrossing's Avatar
Senior Member
Thanks Meter 295
Posts: 1,152
Join Date: Dec 2009
Location: Soquel, CA
Works. Notification is gone, although screen on and sound still occur. I know we can place an empty sound file to solve that issue but you guys see any code related to the screen turning on? Many thanks

Here's a blank charging sound for those who don't care to hear it

https://www.dropbox.com/s/tp4hkek709...ingStarted.ogg

Just paste into /system/media/audio/ui and set permissions to rw-r--r
 
.torrented
Old
#27  
.torrented's Avatar
Recognized Contributor
Thanks Meter 1473
Posts: 2,785
Join Date: Mar 2011
Location: Suffolk, VA

 
DONATE TO ME
Quote:
Originally Posted by xlxcrossing View Post
Works. Notification is gone, although screen on and sound still occur. I know we can place an empty sound file to solve that issue but you guys see any code related to the screen turning on? Many thanks
his or mine? if it was his would you please try mine and let me know of the results?
 
xlxcrossing
Old
#28  
xlxcrossing's Avatar
Senior Member
Thanks Meter 295
Posts: 1,152
Join Date: Dec 2009
Location: Soquel, CA
Quote:
Originally Posted by .torrented View Post
his or mine? if it was his would you please try mine and let me know of the results?
Was talking about his but just tested and yours works too Any chance of eliminating the screen on when charging?
 
.torrented
Old
(Last edited by .torrented; 30th December 2013 at 09:38 AM.)
#29  
.torrented's Avatar
Recognized Contributor
Thanks Meter 1473
Posts: 2,785
Join Date: Mar 2011
Location: Suffolk, VA

 
DONATE TO ME
Quote:
Originally Posted by xlxcrossing View Post
Was talking about his but just tested and yours works too Any chance of eliminating the screen on when charging?
I will look into that, didn't realize that occurred as well. Thanks for testing!

The Screen-On I believe is in part with actually plugging in the phone (which also causes it to turn on), so If that is disabled it will cancel it for both.
The Following 2 Users Say Thank You to .torrented For This Useful Post: [ Click to Expand ]
 
redadz
Old
#30  
Junior Member
Thanks Meter 2
Posts: 18
Join Date: Nov 2012
I'm not sure if this thread is only for ViperDNA ROMs or not, so apologies if this is off-topic. But I had good luck with the Wireless Charging Xposed module on NuSenseSIX. It doesn't remove the popup notification though, only the sound. But you might try it in addition to the mod in this thread.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes