FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

GS4 Tweaks and mods - Wanam Xposed Module

117 posts
Thanks Meter: 15
 
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: 85
 
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: 15
 
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: 85
 
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