FORUMS

T-Mobile Galaxy S6 Battery Woes

I’ve been using a T-Mobile Galaxy S6 since the device launched with T-mobile’s … more

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

GS4 Tweaks and mods - Wanam Xposed Module

117 posts
Thanks Meter: 14
 
By rsalas187, Senior Member on 18th July 2014, 04:08 PM
Post Reply Subscribe to Thread Email Thread
12th December 2014, 04:49 AM |#11  
Senior Member
Thanks Meter: 84
 
More
Quote:
Originally Posted by rsalas187

Persistent Data Icon - Enable to always show data type icon even when connected to WiFi

This is not working. on Verizon Note 3, 4.4.2 NC2, and the persistent data icon is always on.
Wanam isn't disabling it. Wanam also thinks it is disabled, because wanam shows it on or off as I mark it.
Any idea how I can remove the persistent 4GLTE icon?
Last edited by hirak99; 12th December 2014 at 04:51 AM.
 
 
13th December 2014, 03:33 PM |#12  
OP Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by hirak99

This is not working. on Verizon Note 3, 4.4.2 NC2, and the persistent data icon is always on.
Wanam isn't disabling it. Wanam also thinks it is disabled, because wanam shows it on or off as I mark it.
Any idea how I can remove the persistent 4GLTE icon?

Send a message to the developer on his page https://seo-michael.co.uk/wanam-xpos...ion-galaxy-s4/
13th December 2014, 04:46 PM |#13  
Senior Member
Thanks Meter: 84
 
More
Quote:
Originally Posted by rsalas187

Send a message to the developer on his page https://seo-michael.co.uk/wanam-xpos...ion-galaxy-s4/

Ok. By the way, I figured out how to solve it. Here is the code that works.

Code:
public class DataConnectionIconFix implements IXposedHookLoadPackage {
	@Override
	public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable {
		if(!lpparam.packageName.equals("com.android.systemui"))
			return;
		Class<?> NetworkController = findClass("com.android.systemui.statusbar.policy.NetworkController", lpparam.classLoader);
		Class<?> Operator = null;
		for(Class<?> c : NetworkController.getDeclaredClasses())
			if(c.getSimpleName().equals("Operator"))
				Operator = c;
		findAndHookMethod(Operator, "getOperatorFromString", java.lang.String.class, XC_MethodReplacement.returnConstant(getStaticObjectField(Operator, "OPEN")));
	}
}
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes