[Xiaomi Redmi 1S] teddy0804:
something with preferred network type

SIM-1 : On [3G]

SIM-2 : On [2G]

In Settings > Cellular Networks, I have switched to SIM-2 and chosen preferred network type, but after several tests... sometimes I can not back to 3G or 2G in SIM-1 or vice versa. Might it an upstream bug from AOSPA-L in supporting MSIM (?). Here's some logcat:

05-30 00:05:31.351 W/ActivityManager( 714): Bad activity token: android.os.BinderProxy@3c1dff18

05-30 00:05:31.351 W/ActivityManager( 714): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

05-30 00:05:31.351 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:372)

05-30 00:05:31.351 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1075)

05-30 00:05:31.351 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.getStackLocked(ActivityRecord.java:1083)

05-30 00:05:31.351 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.getActivityDisplayId(ActivityManagerService.java:8741)

05-30 00:05:31.351 W/ActivityManager( 714):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2216)

05-30 00:05:31.351 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2223)

05-30 00:05:31.351 W/ActivityManager( 714):	at android.os.Binder.execTransact(Binder.java:446)

05-30 00:05:31.353 W/ActivityManager( 714): Bad activity token: android.os.BinderProxy@3c1dff18

05-30 00:05:31.353 W/ActivityManager( 714): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

05-30 00:05:31.353 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:372)

05-30 00:05:31.353 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1075)

05-30 00:05:31.353 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.setTaskDescription(ActivityManagerService.java:8406)

05-30 00:05:31.353 W/ActivityManager( 714):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2280)

05-30 00:05:31.353 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2223)

05-30 00:05:31.353 W/ActivityManager( 714):	at android.os.Binder.execTransact(Binder.java:446)

05-30 00:05:31.363 D/NetworkSettings( 1420): Settings onCreate phoneId =1

05-30 00:05:31.367 D/GsmUmtsOptions( 1420): Not a CDMA phone

05-30 00:05:31.367 D/GsmUmtsOptions( 1420): updateOperatorSelectionVisibility. mPhone = GSM

05-30 00:05:31.368 D/NetworkSettings( 1420): settingsNetworkMode: 1

05-30 00:05:31.370 W/ActivityManager( 714): Bad activity token: android.os.BinderProxy@3c1dff18

05-30 00:05:31.370 W/ActivityManager( 714): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

05-30 00:05:31.370 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:372)

05-30 00:05:31.370 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1075)

05-30 00:05:31.370 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.getActivityOptions(ActivityManagerService.java:10712)

05-30 00:05:31.370 W/ActivityManager( 714):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1683)

05-30 00:05:31.370 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2223)

05-30 00:05:31.370 W/ActivityManager( 714):	at android.os.Binder.execTransact(Binder.java:446)

05-30 00:05:31.374 W/ActivityManager( 714): Bad activity token: android.os.BinderProxy@3c1dff18

05-30 00:05:31.374 W/ActivityManager( 714): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

05-30 00:05:31.374 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:372)

05-30 00:05:31.374 W/ActivityManager( 714):	at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1075)

05-30 00:05:31.374 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.getActivityOptions(ActivityManagerService.java:10712)

05-30 00:05:31.374 W/ActivityManager( 714):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1683)

05-30 00:05:31.374 W/ActivityManager( 714):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2223)

05-30 00:05:31.374 W/ActivityManager( 714):	at android.os.Binder.execTransact(Binder.java:446)

screenshot is attached.

edited:

when I have rebooted, I've got this in logcat:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
--------- beginning of crash

05-29 23:55:16.930 E/AndroidRuntime( 3515): FATAL EXCEPTION: main

05-29 23:55:16.930 E/AndroidRuntime( 3515): Process: com.android.settings, PID: 3515

05-29 23:55:16.930 E/AndroidRuntime( 3515): java.lang.NumberFormatException: Invalid int: "null"

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at java.lang.Integer.invalidInt(Integer.java:138)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at java.lang.Integer.parseInt(Integer.java:358)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at java.lang.Integer.parseInt(Integer.java:334)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at org.cyanogenmod.hardware.VibratorHW.getCurIntensity(VibratorHW.java:40)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at com.android.settings.hardware.VibratorIntensity.onBindDialogView(VibratorIntensity.java:101)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.preference.DialogPreference.createDialog(DialogPreference.java:313)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.preference.DialogPreference.showDialog(DialogPreference.java:286)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at com.android.settings.hardware.VibratorIntensity.showDialog(VibratorIntensity.java:114)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.preference.DialogPreference.onClick(DialogPreference.java:274)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.preference.Preference.performClick(Preference.java:983)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:214)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.widget.AdapterView.performItemClick(AdapterView.java:305)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.widget.AbsListView.performItemClick(AbsListView.java:1148)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3059)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.widget.AbsListView.onTouchUp(AbsListView.java:3878)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.widget.AbsListView.onTouchEvent(AbsListView.java:3643)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.View.dispatchTouchEvent(View.java:8472)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2400)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2093)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2369)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1719)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.app.Activity.dispatchTouchEvent(Activity.java:2798)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2330)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.View.dispatchPointerEvent(View.java:8667)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4141)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4007)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3615)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3581)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3698)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3589)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3755)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3615)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3581)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3589)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5825)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5799)

05-29 23:55:16.930 E/AndroidRuntime( 3515):	at android.