[Galaxy Note II Android Development] jzuijlek:
I have the problem with the SystemUI FC-ing again as I did with every build after the 10-06 build. It only happens when the sim-card is inserted and unlocking the sim. Using logcat I got the follow stack trace:

E/AndroidRuntime( 2529): FATAL EXCEPTION: main
E/AndroidRuntime( 2529): Process: com.android.systemui, PID: 2529
E/AndroidRuntime( 2529): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.provider.Telephony.SPN_STRINGS_UPDATED flg=0x20000010 (has extras) } in com.android.systemui.statusbar.policy.NetworkController@41a98e18
E/AndroidRuntime( 2529):	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:776)
E/AndroidRuntime( 2529):	at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 2529):	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 2529):	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2529):	at android.app.ActivityThread.main(ActivityThread.java:5158)
E/AndroidRuntime( 2529):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2529):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2529):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
E/AndroidRuntime( 2529):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
E/AndroidRuntime( 2529):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2529): Caused by: java.lang.StringIndexOutOfBoundsException: length=2; regionStart=0; regionLength=3
E/AndroidRuntime( 2529):	at java.lang.String.startEndAndLength(String.java:588)
E/AndroidRuntime( 2529):	at java.lang.String.substring(String.java:1475)
E/AndroidRuntime( 2529):	at com.android.systemui.statusbar.policy.NetworkController.filterNetworkName(NetworkController.java:1579)
E/AndroidRuntime( 2529):	at com.android.systemui.statusbar.policy.NetworkController.refreshViews(NetworkController.java:1378)
E/AndroidRuntime( 2529):	at com.android.systemui.statusbar.policy.NetworkController.onReceive(NetworkController.java:461)
E/AndroidRuntime( 2529):	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:766)
E/AndroidRuntime( 2529):	... 9 more

After checking out the KitKat3 branch I found the problem. My Carrier's name, Hi, is 2 characters long which breaks in this function:

private String filterNetworkName(String string) {
boolean bl = true;
String string2 = string.replace((" "), (""))
.replace(("."), ("_")).replace(("&"), ("_"))
.replace(("-"), ("")).replace(("*"), (""))
.replace(("@"), (""));
boolean bl2 = (string2.length() > 3) ? bl : false;
if (string2.length() != 3) {
bl = false;
}
if (!bl2 && bl) return string2.toLowerCase();
String string3 = (string2.length() > 3)
? (string2.substring(0, 4))
: (string2.substring(0, 3));
string2 = string3.toLowerCase();
return string2.toLowerCase();
}

I changed this to:

private String filterNetworkName(String string) {
String string2 = string.replace((" "), (""))
.replace(("."), ("_")).replace(("&"), ("_"))
.replace(("-"), ("")).replace(("*"), (""))
.replace(("@"), (""));
if (string2.length() > 4) string2 = string2.substring(0, string2.length()-1);
return string2.toLowerCase();
}
}

And submitted a pull request on Github.

After compiling my own new build with this patch I can confirm this fixed the problem.