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
Post Reply

GS4 Tweaks and mods - Wanam Xposed Module

OP rsalas187

12th December 2014, 05:49 AM   |  #11  
Senior Member
Thanks Meter: 84
 
196 posts
Join Date:Joined: Oct 2011
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 05:51 AM.
13th December 2014, 04:33 PM   |  #12  
OP Member
Thanks Meter: 3
 
58 posts
Join Date:Joined: Jul 2009
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, 05:46 PM   |  #13  
Senior Member
Thanks Meter: 84
 
196 posts
Join Date:Joined: Oct 2011
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