Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP nitsuj17

17th February 2013, 10:31 PM   |  #1  
nitsuj17's Avatar
OP Recognized Developer
Flag PA
Thanks Meter: 17,091
 
10,086 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Here is a mod that *should* disable wireless charging in the latest verizon update...

***I do not have a charger to test, but this is the same change I did in 1.15 for ViperDNA and it was successful...please make a backup before flashing! You may need to have services signature checking disabled to use this, ask your rom developer to do so***
  • changes systemui.apk
  • disables wireless charging popup/notification
  • works on stock deodex or odex

****this will overwrite any other mods you have installed for systemui***


Download

***Feel free to include this in your rom/project, just properly credit, thanks!

For 2.04 Verizon 2/15 OTA
remove_wc_2.04.zip: link removed til i fix it
md5:
Last edited by nitsuj17; 18th February 2013 at 05:52 PM.
The Following 8 Users Say Thank You to nitsuj17 For This Useful Post: [ View ]
17th February 2013, 10:31 PM   |  #2  
nitsuj17's Avatar
OP Recognized Developer
Flag PA
Thanks Meter: 17,091
 
10,086 posts
Join Date:Joined: Aug 2010
Donate to Me
More
For Developers Only!

how to apply this mod to your SystemUI project:


navigate to:

Quote:

smali/com/android/systemui/statusbar/phone/PhoneStatusbarPolicy.smali

search for:

Code:
.method private final showWirelessChargingStatusForVzW
wholesale replace the method with this:

Code:
.method private final showWirelessChargingStatusForVzW(Landroid/content/Intent;)V
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

worked on 1.15 in viperDNA, no guarantees it works correctly in 2.04...some feedback would be helpful

(these seem like overly simplistic code changes in changing a 600 line method to the above, but should work fine...yes there are other ways to do it)
Last edited by nitsuj17; 17th February 2013 at 10:36 PM.
The Following 4 Users Say Thank You to nitsuj17 For This Useful Post: [ View ]
17th February 2013, 10:38 PM   |  #3  
MustafaHadaKing's Avatar
Senior Member
Flag Boston
Thanks Meter: 1,248
 
868 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Re: {Mod /How to}Remove Wireless Charging Notification 2.04.605.2 710RD
Quote:
Originally Posted by nitsuj17

For Developers Only!

how to apply this mod to your SystemUI project:


navigate to:



search for:

Code:
.method private final showWirelessChargingStatusForVzW
wholesale replace the method with this:

Code:
.method private final showWirelessChargingStatusForVzW(Landroid/content/Intent;)V
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

worked on 1.15 in viperDNA, no guarantees it works correctly in 2.04...some feedback would be helpful

(these seem like overly simplistic code changes in changing a 600 line method to the above, but should work fine...yes there are other ways to do it)

Flashed the zip and the systemui force closes on boot and their is no longer a status bar on 2.04

Sent from my HTC6435LVW using xda app-developers app
17th February 2013, 10:41 PM   |  #4  
nitsuj17's Avatar
OP Recognized Developer
Flag PA
Thanks Meter: 17,091
 
10,086 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by MustafaHadaKing

Flashed the zip and the systemui force closes on boot and their is no longer a status bar on 2.04

Sent from my HTC6435LVW using xda app-developers app

tell me what the logcat says from the fc, because i pushed the systemui over viperDNA on 1.15 and it doesnt force close

its possible you may need signature checking disabled in services.jar (it is in viper)
18th February 2013, 05:25 PM   |  #5  
zone23's Avatar
Recognized Contributor
Thanks Meter: 2,283
 
5,314 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by nitsuj17

tell me what the logcat says from the fc, because i pushed the systemui over viperDNA on 1.15 and it doesnt force close

its possible you may need signature checking disabled in services.jar (it is in viper)

I tried disabling signature checking in the services.jar but didn't seem to help. So that means one of two things 1.) I screwed up the services.jar 2.) thats not the problem. Thanks for your help. I'd be happy to post the modified services.jar if you think it would help.
The Following User Says Thank You to zone23 For This Useful Post: [ View ]
18th February 2013, 05:39 PM   |  #6  
nitsuj17's Avatar
OP Recognized Developer
Flag PA
Thanks Meter: 17,091
 
10,086 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by zone23

I tried disabling signature checking in the services.jar but didn't seem to help. So that means one of two things 1.) I screwed up the services.jar 2.) thats not the problem. Thanks for your help. I'd be happy to post the modified services.jar if you think it would help.

hrmm, ill look at it more when im on 2.04

does the statusbar crash on install, or when you start wireless charging?
18th February 2013, 05:40 PM   |  #7  
MustafaHadaKing's Avatar
Senior Member
Flag Boston
Thanks Meter: 1,248
 
868 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Re: {Mod /How to}Remove Wireless Charging Notification 2.04.605.2 710RD
Quote:
Originally Posted by nitsuj17

hrmm, ill look at it more when im on 2.04

does the statusbar crash on install, or when you start wireless charging?

On install

Sent from my HTC6435LVW using xda app-developers app
18th February 2013, 05:40 PM   |  #8  
zone23's Avatar
Recognized Contributor
Thanks Meter: 2,283
 
5,314 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by nitsuj17

hrmm, ill look at it more when im on 2.04

does the statusbar crash on install, or when you start wireless charging?

Crashes on bootup.
18th February 2013, 05:51 PM   |  #9  
nitsuj17's Avatar
OP Recognized Developer
Flag PA
Thanks Meter: 17,091
 
10,086 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by zone23

Crashes on bootup.

interesting, flashed fine over 1.15....thanks for the feedback ill fix it up this week
The Following User Says Thank You to nitsuj17 For This Useful Post: [ View ]
18th February 2013, 05:54 PM   |  #10  
trickster2369's Avatar
Senior Member
Flag SD
Thanks Meter: 787
 
2,370 posts
Join Date:Joined: Feb 2011
Donate to Me
Re: {Mod /How to}Remove Wireless Charging Notification 2.04.605.2 710RD
After doing the OTA update to 2.0.4, I reflashed Viper and all the Viper updates back to 1.1.3, and it still works on the new firmware. Just sayin. But you probably already knew that.

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes