FORUMS

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more

Which Features from Apple Watch Do You Think Android Wear Will Copy?

The Apple Watch and Android Wear are both growing platforms. Now … more

XDA Picks: Best Apps of the Week (May 15 – 22)

Apps are at the front and center of any smartphone experience, and with over a … more

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more
Post Reply Subscribe to Thread Email Thread

GS4 Tweaks and mods - Wanam Xposed Module

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: 11
 
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