FORUMS

Samsung Galaxy Alpha (SM-G850) Gets Android 5.0

An Android 5.0 Lollipop update is finally available to download for the Samsung Galaxy … more

Do You Use 4:3 or 16:9 in the Camera App?

Every person has their own method of taking the best photos on their devices, but which aspect … more

LG G4 XDA Forum Opened

LG’s latest & greatest is just a few hours away from launching, and with so many power users that are … more

Android Wear Close to Running on Samsung Gear 2

Android is an OS that can sometimes be ported to run on devices not designed to … 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  
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