[Galaxy S II Android Development] Klaerchen:
Errors in logcat

Hi,

I made a new build today and I have some issues:

Wrong mobile radio mode after boot (3G instead of 2G).

MALI API version mismatch.

Telephony (cell broadcast) acceses CDMA, although it's a GSM model.

Crash of telephony app with barred calls settings.

Always after booting the smartphone the telephone is set to 3G, although the settings say "2G preferred". When I activate the settings activity, then the radio switches immediately to 2G (without further action), and it reacts correctly on further changes in the settings. However I don't find anything in the logcat that seems to be related to this problem. Anybody has the same effect?

Concerning the MALI API version mismatch, I find these lines in the logcat:

01-14 19:44:39.881 2484 2717 D libEGL : loaded /system/lib/egl/libEGL_mali.so

01-14 19:44:39.893 2484 2717 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so

01-14 19:44:39.915 2484 2501 W art : Suspending all threads took: 8.710ms

01-14 19:44:39.954 2484 2501 I art : Background sticky concurrent mark sweep GC freed 15325(1399KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 4MB/6MB, paused 10.137ms total 167.032ms

01-14 19:44:39.964 2484 2717 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so

01-14 19:44:40.017 2484 2717 E : Device driver API match

01-14 19:44:40.017 2484 2717 E : Device driver API version: 29

01-14 19:44:40.017 2484 2717 E : User space API version: 29

01-14 19:44:40.017 2484 2717 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014

01-14 19:44:40.023 2484 2717 I OpenGLRenderer: Initialized EGL, version 1.4

01-14 19:44:40.023 2484 2717 D OpenGLRenderer: Swap behavior 1

I don't see any problems with the GUI, what do these errors mean?

There are cell-broadcast-related errors in the logcat:

01-14 19:50:15.413 4551 4551 D CellBroadcastReceiver: Start Cell Broadcast configuration.

01-14 19:50:15.624 4551 5872 D CellBroadcastConfigService: Enable CellBroadcast on sub 1

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService: exception enabling cell broadcast channels

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService: java.lang.SecurityException: Enabling cdma broadcast SMS: uid 10008 does not have android.permission.RECEIVE_SMS.

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.os.Parcel.readException(Parcel.java:1684)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.os.Parcel.readException(Parcel.java:1637)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at com.android.internal.telephony.ISms$Stub$Proxy.enableCellBroadcastRangeForSubscriber(ISms.java:1241)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.telephony.SmsManager.enableCellBroadcastRange(SmsManager.java:1098)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at com.android.cellbroadcastreceiver.CellBroadcastConfigService.setCellBroadcastRange(CellBroadcastConfigService.java:386)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at com.android.cellbroadcastreceiver.CellBroadcastConfigService.setCellBroadcastOnSub(CellBroadcastConfigService.java:216)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at com.android.cellbroadcastreceiver.CellBroadcastConfigService.onHandleIntent(CellBroadcastConfigService.java:96)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.os.Handler.dispatchMessage(Handler.java:102)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.os.Looper.loop(Looper.java:154)

01-14 19:50:15.655 4551 5872 E CellBroadcastConfigService:	at android.os.HandlerThread.run(HandlerThread.java:61)

There's a request to "enable CDMA broadcats SMS" which results in an error. Why this request? The I9100 has GSM radio, not CDMA. Does anybody have an idea?

When I enter telephony app and go to settings/call settings/call barring then the app crashes:

Line 4033: 01-14 19:50:07.770 2367 2597 E ActivityManager: Activity Manager Crash

Line 4034: 01-14 19:50:07.770 2367 2597 E ActivityManager: java.lang.IllegalArgumentException: Unknown component: com.qualcomm.qti.phonefeature/com.qualcomm.qti.phonefeature.callbarring.CallBarring

Line 4035: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at com.android.server.pm.PackageManagerService.isComponentProtected(PackageManagerService.java:20985)

Line 4036: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:798)

Line 4037: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4536)

Line 4038: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:4504)

Line 4039: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:165)

Line 4040: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2967)

Line 4041: 01-14 19:50:07.770 2367 2597 E ActivityManager:	at android.os.Binder.execTransact(Binder.java:565)

Line 4067: 01-14 19:50:07.842 2367 4153 W ActivityManager: Force finishing activity com.android.phone/.CallFeaturesSetting

Line 4068: 01-14 19:50:08.066 2367 5749 I OpenGLRenderer: Initialized EGL, version 1.4

Line 4069: 01-14 19:50:08.066 2367 5749 D OpenGLRenderer: Swap behavior 1

Line 4070: 01-14 19:50:08.374 2367 2381 W ActivityManager: Activity pause timeout for ActivityRecord{407983 u0 com.android.phone/.CallFeaturesSetting t323 f}

Line 4076: 01-14 19:50:12.030 2367 4153 I ActivityManager: Killing 2743:com.android.phone/1001 (adj -800): crash

Line 4077: 01-14 19:50:12.031 2367 4153 D ActivityManager: cleanUpApplicationRecord -- 2743

Line 4078: 01-14 19:50:12.059 2367 5749 D OpenGLRenderer: endAllActiveAnimators on 0x5e823a00 (RippleDrawable) with handle 0x5e713300

Line 4079: 01-14 19:50:12.078 2367 4153 W ActivityManager: Scheduling restart of crashed service com.android.stk/.StkAppService in 1000ms

Line 4080: 01-14 19:50:12.078 2367 4153 W ActivityManager: Scheduling restart of crashed service com.android.mms.service/.MmsService in 10986ms

Line 4081: 01-14 19:50:12.079 2367 4153 W ActivityManager: Scheduling restart of crashed service com.android.phone/.TelephonyDebugService in 0ms

Line 4082: 01-14 19:50:12.132 2367 4153 E ActivityManager: Removing process that hasn't been killed: ProcessRecord{71f10b1 2743:com.android.phone/1001}

Line 4083: 01-14 19:50:12.132 2367 4153 E ActivityManager: android.util.Log$TerribleFailure: Removing process that hasn't been killed: ProcessRecord{71f10b1 2743:com.android.phone/1001}

Line 4084: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at android.util.Log.wtf(Log.java:295)

Line 4085: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at android.util.Slog.wtfStack(Slog.java:98)

Line 4086: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.ActivityManagerService.removeLruProcessLocked(ActivityManagerService.java:3415)

Line 4087: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.ActivityManagerService.removeProcessLocked(ActivityManagerService.java:6551)

Line 4088: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:381)

Line 4089: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.AppErrors.crashApplication(AppErrors.java:308)

Line 4090: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13617)

Line 4091: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13599)

Line 4092: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1646)

Line 4093: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2967)

Line 4094: 01-14 19:50:12.132 2367 4153 E ActivityManager:	at android.os.Binder.execTransact(Binder.java:565)

Line 4095: 01-14 19:50:12.169 2367 4153 I ActivityManager: Start proc 5756:com.android.phone/1001 for added application com.android.phone

Is this a problem related to i9100, or is this a general lineageos problem?

But seen away from these things, the ROM works really great!

Regards,

Klaerchen

-- Edit --

I uploaded the build to https://www.androidfilehost.com/?fid=745425885120700479.

It contains the commits for data usage limitation, i.e. per-app settings to provent cellular or WiFi data usage.