m0m4x / AdvDataPlan

Advanced Data Plan Xposed Framework module
https://forum.xda-developers.com/xposed/modules/xposed-advanced-data-plan-t3634138
12 stars 2 forks source link

System crash and rebooting with out-land SIM and data roaming disabled #2

Closed CaiMiao closed 7 years ago

CaiMiao commented 7 years ago

I'm using an dual SIM device, and one of my SIM is foreign SIM and on roaming mode.

I can't really confirm the problem is on dual SIM or roaming SIM so I wrote the title like this. I can give you more information in case you need.

CaiMiao commented 7 years ago

Test again with roaming SIM plugged in only, caused crash.

CaiMiao commented 7 years ago

But I can't confirm if the problem is caused by switching to another SIM, as I don't own the third SIM.

m0m4x commented 7 years ago

Ok Could you please provide me with the logcat of the error? Thank you! Il 16/Ago/2017 17:11 "Fumii Chuu" notifications@github.com ha scritto:

But I can't confirm if the problem is caused by switching to another SIM, as I don't own the third SIM.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/m0m4x/AdvDataPlan/issues/2#issuecomment-322803835, or mute the thread https://github.com/notifications/unsubscribe-auth/AD09hQ9rJYFb3oNjjYDR7-7fSjanx_naks5sYwabgaJpZM4O5Bkc .

CaiMiao commented 7 years ago

08-16 23:38:10.742 I/Xposed (13922): HOOK NetworkPolicyManager methods! (pkg:com.android.settings) 08-16 23:38:10.744 I/Xposed (13922): HOOK DataUsageSummary methods! (pkg:com.android.settings)! 08-16 23:38:11.201 I/Xposed (13922): HOOK RES init - com.android.settings ! 08-16 23:38:11.204 I/Xposed (13922): HOOK RES ...found R.layout.data_usage_cycle_editor : 2130968647 ! 08-16 23:38:13.893 I/Xposed (13922): HOOK android.net > computeLastCycleBoundary (pkg:com.android.settings) 08-16 23:38:13.894 I/Xposed (13922): HOOK REQ loaded bitshited Ints 31.0.0 08-16 23:38:13.894 I/Xposed (13922): HOOK REQ LAST Cycle with prefTime:31/01/2017*0 for currentTime:16/08/2017 08-16 23:38:23.582 I/Xposed ( 5752): HOOK RES init - com.android.settings ! 08-16 23:38:23.586 I/Xposed ( 5752): HOOK RES ...found R.layout.data_usage_cycle_editor : 2130968647 !

Loop same thing like this when I try to open mobile data management on system settings.

m0m4x commented 7 years ago

Which Android version/ROM are you running? On which device?

m0m4x commented 7 years ago

Please try this build: https://github.com/m0m4x/AdvDataPlan/blob/issue-2/apk/AdvDataPlan_issue2.apk Thank you.

CaiMiao commented 7 years ago

This build works for me, and I may have know where the actual problem is! Ty for your work!