[Galaxy S III Android Development] Miwer:
Hi all,

I just want to share some findings I have with this ROM:

I see a lot of these errors in the logcat - anyone knows why this module is missing?

10-06 19:13:42.205 2238 2751 E memtrack: Couldn't load memtrack module
10-06 19:13:42.205 2238 2751 W android.os.Debug: failed to get memory consumption info: -1
10-06 19:14:22.976 2238 2264 E memtrack: Couldn't load memtrack module
10-06 19:14:22.976 2238 2264 W android.os.Debug: failed to get memory consumption info: -1
10-06 19:14:42.425 2238 2751 E memtrack: Couldn't load memtrack module
10-06 19:14:42.425 2238 2751 W android.os.Debug: failed to get memory consumption info: -1
10-06 19:15:11.349 2238 2264 E memtrack: Couldn't load memtrack module
10-06 19:15:11.350 2238 2264 W android.os.Debug: failed to get memory consumption info: -1

Also there seems to be a problem with parsing the settings involving the automatic power save feature.

By default this is disabled, and I can go Settings --> Battery --> Battery saver and perfomance --> Automatic power saver, and enable it with 5%, 15%, or 25%, but then the settings force close, and after this, I cannot enter the "Battery saver and performance" settings menu again. It will just force close every time with some "java.util.FormatFlagsConversionMismatchException" - see logcat below:

10-06 13:23:54.630 2257 2721 I ActivityManager: START u0 {act=org.lineageos.lineageparts.parts.perf_profile_settings cmp=org.lineageos.lineageparts/.PartsActivity} from uid 1000
10-06 13:23:54.637 2048 6233 D audio_hw_primary: select_output_device: AUDIO_DEVICE_OUT_SPEAKER
10-06 13:23:54.639 2048 2108 D AudioFlinger: mixer(0x43503f80) throttle end: throttle time(26)
10-06 13:23:54.663 16740 16740 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6b06e0f
10-06 13:23:54.684 16740 16808 D vndksupport: Loading /system/lib/egl/libEGL_mali.so from current namespace instead of sphal namespace.
10-06 13:23:54.707 16740 16808 D libEGL : loaded /system/lib/egl/libEGL_mali.so
10-06 13:23:54.724 16740 16808 D vndksupport: Loading /system/lib/egl/libGLESv1_CM_mali.so from current namespace instead of sphal namespace.
10-06 13:23:54.729 16740 16808 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
10-06 13:23:54.813 16740 16740 D PartsActivity: Launched with: Intent { act=org.lineageos.lineageparts.parts.perf_profile_settings cmp=org.lineageos.lineageparts/.PartsActivity } action: org.lineageos.lineageparts.parts.perf_profile_settings component: org.lineageos.lineageparts.PartsActivity part: perf_profile_settings fragment: null
10-06 13:23:54.815 16740 16740 D PartsActivity: Launching fragment: org.lineageos.lineageparts.power.PerfProfileSettings
10-06 13:23:54.850 2257 2721 E UserRestrictionsUtils: Unknown restriction: null
10-06 13:23:54.898 16740 16808 D vndksupport: Loading /system/lib/egl/libGLESv2_mali.so from current namespace instead of sphal namespace.
10-06 13:23:54.901 16740 16808 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
10-06 13:23:54.918 16740 16740 D OpenGLRenderer: Skia GL Pipeline
10-06 13:23:55.011 16740 16812 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
10-06 13:23:55.063 16740 16812 W TileUtils: Found org.lineageos.lineageparts.trust.TrustPreferences for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata
10-06 13:23:55.085 16740 16740 D AndroidRuntime: Shutting down VM
10-06 13:23:55.087 16740 16740 E AndroidRuntime: FATAL EXCEPTION: main
10-06 13:23:55.087 16740 16740 E AndroidRuntime: Process: org.lineageos.lineageparts, PID: 16740
10-06 13:23:55.087 16740 16740 E AndroidRuntime: java.util.FormatFlagsConversionMismatchException: Conversion = b, Flags =
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter$FormatSpecifier.failMismatch(Formatter.java:4398)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter$FormatSpecifier.checkBadFlags(Formatter.java:3091)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter$FormatSpecifier.checkGeneral(Formatter.java:3049)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2816)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter$FormatSpecifierParser.<init>(Formatter.java:2624)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter.parse(Formatter.java:2557)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter.format(Formatter.java:2504)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.util.Formatter.format(Formatter.java:2458)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at java.lang.String.format(String.java:2842)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.preference.ListPreference.getSummary(ListPreference.java:178)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.preference.Preference.onBindViewHolder(Preference.java:584)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.preference.PreferenceGroupAdapter.onBindViewHolder(PreferenceGroupAdapter.java:375)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at org.lineageos.lineageparts.SettingsPreferenceFragment$HighlightablePreferenceGroupAdapter.onBindViewHolder(SettingsPreferenceFragment.java:794)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at org.lineageos.lineageparts.SettingsPreferenceFragment$HighlightablePreferenceGroupAdapter.onBindViewHolder(SettingsPreferenceFragment.java:779)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6735)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6777)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5706)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5973)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5812)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5808)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2230)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1557)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1517)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:612)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3878)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3595)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:4148)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.087 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at com.android.internal.policy.DecorView.onLayout(DecorView.java:753)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.View.layout(View.java:20693)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6194)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2799)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2316)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1463)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7190)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:761)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:696)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
10-06 13:23:55.088 16740 16740 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
10-06 13:23:55.094 2257 2362 W ActivityManager: Force finishing activity org.lineageos.lineageparts/.PartsActivity
10-06 13:23:55.098 16740 16813 E : Device driver API match
10-06 13:23:55.098 16740 16813 E : Device driver API version: 29
10-06 13:23:55.098 16740 16813 E : User space API version: 29
10-06 13:23:55.098 16740 16813 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
10-06 13:23:55.100 16740 16813 D vndksupport: Loading /vendor/lib/hw/gralloc.exynos4.so from current namespace instead of sphal namespace.
10-06 13:23:55.100 2257 2362 W ActivityManager: Force finishing activity com.android.settings/.Settings$PowerUsageSummaryActivity
10-06 13:23:55.108 16740 16740 I Process : Sending signal. PID: 16740 SIG: 9
10-06 13:23:55.108 1958 1958 W hwservicemanager: getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest.
10-06 13:23:55.127 2257 2701 I ActivityManager: Process org.lineageos.lineageparts (pid 16740) has died: fore TOP
10-06 13:23:55.127 2257 2412 W InputDispatcher: channel '9861101 org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
10-06 13:23:55.127 2257 2412 E InputDispatcher: channel '9861101 org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
10-06 13:23:55.128 2257 2300 W libprocessgroup: kill(-16740, 9) failed: No such process
10-06 13:23:55.131 2257 1447 I WindowManager: WIN DEATH: Window{9861101 u0 org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity}
10-06 13:23:55.131 2257 1447 W InputDispatcher: Attempted to unregister already unregistered input channel '9861101 org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity (server)'
10-06 13:23:55.135 2050 6314 W SurfaceFlinger: Attempting to set client state on removed layer: org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity#0
10-06 13:23:55.135 2050 6314 W SurfaceFlinger: Attempting to destroy on removed layer: org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity#0
10-06 13:23:55.149 2257 2310 W ActivityManager: setHasOverlayUi called on unknown pid: 16740
10-06 13:23:55.161 2014 2014 I Zygote : Process 16740 exited due to signal (9)
10-06 13:23:55.163 16510 16553 I DeviceIndex: Skipping: device index is not enabled
10-06 13:23:55.170 2257 2300 W libprocessgroup: kill(-16740, 9) failed: No such process
10-06 13:23:55.171 2257 2300 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 16740 in 43ms
10-06 13:23:55.179 16510 16788 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
10-06 13:23:55.180 2050 6314 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
10-06 13:23:55.185 2050 2142 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
10-06 13:23:55.185 16510 16788 W TileUtils: Found org.lineageos.lineageparts.trust.TrustPreferences for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata
10-06 13:23:55.185 16510 16550 D BatteryInfo: time to make batteryStatsHelper: 1ms
10-06 13:23:55.189 2050 2142 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
10-06 13:23:55.191 2050 2142 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
10-06 13:23:55.193 2257 2431 E WifiVendorHal: getSupportedFeatureSet(l.1131) failed {.code = ERROR_NOT_AVAILABLE, .description = }
10-06 13:23:55.194 16510 16510 D DashboardSummary: Listening for condition changes
10-06 13:23:55.194 16510 16510 D DashboardSummary: onConditionsChanged
10-06 13:23:55.195 16510 16510 D DashboardAdapter: adapter setConditions called
10-06 13:23:55.195 2257 2431 E WifiVendorHal: getSupportedFeatureSet(l.1138) failed {.code = ERROR_NOT_AVAILABLE, .description = }
10-06 13:23:55.197 16510 16510 D DashboardSummary: conditions refreshed
10-06 13:23:55.197 16510 16510 D APM_Condition: APM condition refreshed
10-06 13:23:55.197 16510 16510 D APM_Condition: setActive was called with false
10-06 13:23:55.206 2257 2303 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
10-06 13:23:55.208 2257 2303 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
10-06 13:23:55.219 16510 16788 D SettingsActivity: No enabled state changed, skipping updateCategory call
10-06 13:23:55.251 16510 16510 D DashboardAdapter: adapter setCategory called
10-06 13:23:57.208 2257 2303 W BatteryExternalStatsWorker: timeout reading telephony stats
10-06 13:23:57.225 2257 2303 E BatteryStatsService: Power Hal not loaded
10-06 13:23:57.250 16510 16550 D BatteryInfo: time for getStats: 2064ms
10-06 13:23:57.253 16510 16830 D BatteryInfo: time for regular BatteryInfo: 2ms
10-06 13:23:57.254 16510 16830 D BatteryInfo: time for getBatteryInfo: 1ms
10-06 13:23:57.255 16510 16510 D BatteryInfo: time for callback: 1ms
^C

I can get access to the settings back, by manually setting the low_power_trigger_level to 0 via adb shell:

m0:/ # settings put global low_power_trigger_level 0