Camera and flashlight dont work - ONE Q&A, Help & Troubleshooting

I have installed a custom rom (RR Oreo) on a OnePlus One (A0001) device. It had previously installed EncroChat. I used MSM Download Tool(with its system and other image files, it had android 4.3) to get started and then step by step unlocked the booloader, installed recovery and then ROM. I have tried also flashing another firmware, another ROM (COLOR Rom) but camera and flash dont work. The message i get from COLOR Rom is "Cant connect to camera". In RR Rom i get "Unknown Error". When i open the camera at first time it asks for permissions and then displays a blank screen (cant even go back). If i open again the camera afterwards it crashes and displays the toast error message "Unknown Error" (in RR).
I have also tried to clean cache, followed this guide (killall cameraserver) https://forum.xda-developers.com/general/general/guide-how-to-fix-connect-to-camera-t3496237, restarting the device.
Can someone help? Below is the logcat from adb:
Code:
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_adm_topology
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_asm_topology
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_audtable
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_audvoltable
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
08-29 00:13:36.502 315 4318 D : Failed to fetch the lookup information of the device 0000000F
08-29 00:13:36.502 315 4318 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_afe_cal
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
08-29 00:13:36.502 315 4318 D : Failed to fetch the lookup information of the device 0000000F
08-29 00:13:36.502 315 4318 E ACDB-LOADER: Error: ACDB AFE returned = -19
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
08-29 00:13:36.502 315 4318 D audio_route: Apply path: speaker
08-29 00:13:36.508 315 4318 D audio_route: Apply path: audio-ull-playback
08-29 00:13:36.509 315 4318 D audio_hw_primary: select_devices: done
08-29 00:13:36.551 10127 10127 W ThreadMonitor: Start monitor 'main' (10127)
08-29 00:13:36.551 10127 10127 V OPCameraActivity: onCreate() - Instance ID : 225058703
08-29 00:13:36.554 10127 10127 V OPCameraActivity: disableBeam()
08-29 00:13:36.554 10127 10127 D OPCameraActivity: [Property] State(id=18) : NEW -> CREATING
08-29 00:13:36.555 10127 10127 D OPCameraActivity: updateThemeMode() - themeMode : -1
08-29 00:13:36.555 10127 10127 E OPCameraActivity: updateThemeMode() - failed to get theme mode.
08-29 00:13:36.555 10127 10127 E OPCameraActivity: java.lang.ClassNotFoundException: android.util.OpFeatures
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.Class.classForName(Native Method)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.Class.forName(Class.java:453)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.Class.forName(Class.java:378)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.oneplus.base.BaseActivity.updateThemeMode(BaseActivity.java:1082)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.oneplus.base.BaseActivity.onCreate(BaseActivity.java:739)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.oneplus.camera.CameraActivity.onCreate(CameraActivity.java:3999)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.oneplus.camera.OPCameraActivity.onCreate(OPCameraActivity.java:373)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.Activity.performCreate(Activity.java:7054)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.Activity.performCreate(Activity.java:7045)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.ActivityThread.-wrap11(Unknown Source:0)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.os.Handler.dispatchMessage(Handler.java:106)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.os.Looper.loop(Looper.java:164)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at android.app.ActivityThread.main(ActivityThread.java:6499)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.reflect.Method.invoke(Native Method)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.util.OpFeatures" on path: DexPathList[[zip file "/system/priv-app/OnePlusCamera/OnePlusCamera.apk"],nativeLibraryDirectories=[/system/priv-app/OnePlusCamera/lib/arm, /system/priv-app/OnePlusCamera/OnePlusCamera.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: ... 20 more
08-29 00:13:36.557 10127 10127 V OPCameraActivity: checkRequiredPermissions() - All required permissions are granted
08-29 00:13:36.557 10127 10127 V OPCameraActivity: checkStartMode() - Start mode: NORMAL, Media extras: null, Launch source: NORMAL
08-29 00:13:36.558 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : null -> (Global)@259204523
08-29 00:13:36.558 10127 10127 W OPCameraActivity: updateScreenSize() - Screen size : 1080x1920 (Full HD)
08-29 00:13:36.558 10127 10127 E HandlerUtils: sendMessage() - No Handler to send 10000
08-29 00:13:36.559 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [113464328]{ Usage = CameraPreviewStartStop, Time = 08/29 00:13:36.558 }, handle count : 1
08-29 00:13:36.559 10127 10127 D OPCameraActivity: [Property] IsCaptureUIEnabled(id=37) : true -> false
08-29 00:13:36.559 10127 10127 W ComponentManager: createComponents(LAUNCH) - Start
08-29 00:13:36.559 10127 10127 W ComponentManager: createComponent() - Component is unsupported, builder : [email protected]
08-29 00:13:36.560 10127 10127 D ComponentManager: createComponent() - Component : Capture Mode Manager
08-29 00:13:36.560 10127 10127 D ComponentManager: createComponent() - Component : Viewfinder
08-29 00:13:36.560 10127 10127 D ComponentManager: initializeComponent() - Component : Viewfinder
08-29 00:13:36.560 10127 10127 D ViewfinderImpl: [Property] PreviewContainerSize(id=90) : 0x0 -> 1920x1080
08-29 00:13:36.560 10127 10127 D ComponentManager: initializeComponent() - Component : Capture Mode Manager
08-29 00:13:36.560 10127 10127 W ComponentManager: createComponents(LAUNCH) - End
08-29 00:13:36.561 10127 10127 V CameraApplication: notifyInstanceCreated() - Instance count : 1
08-29 00:13:36.561 10127 10127 D ComponentManager: createComponent() - Component : Scene Manager
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Photo'
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Video'
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Bokeh'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Manual'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Time-lapse'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Slow-motion'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Panorama'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: setCaptureMode() - Capture mode : Photo
08-29 00:13:36.564 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [183855009]{ Usage = CaptureModeSwitch, Time = 08/29 00:13:36.563 }, handle count : 2
08-29 00:13:36.566 10127 10127 W OPCameraActivity: setSettings() - Create handle : Settings [182443229]
08-29 00:13:36.566 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : (Global)@259204523 -> [email protected]
08-29 00:13:36.567 10127 10127 I zygote : Deoptimizing boolean com.oneplus.base.BasicBaseObject.notifyPropertyChanged(com.oneplus.base.BasicBaseObject$Property, java.lang.Object, java.lang.Object) due to JIT inline cache
08-29 00:13:36.567 10127 10127 W PhotoCaptureMode: applyScene() - No camera
08-29 00:13:36.567 10127 10127 W PhotoCaptureMode: onEnter() - isRawCaptureEnabled : false
08-29 00:13:36.568 10127 10127 W PhotoCaptureMode: setRawCaptureState() - camera is null
08-29 00:13:36.570 10127 10127 D CaptureModeManagerImpl: [Property] CaptureMode(id=86) : (Invalid) -> Photo
08-29 00:13:36.571 10127 10127 W OPCameraActivity: enableCaptureUI() - Handle : DisableCaptureUI [183855009]{ Usage = CaptureModeSwitch, Time = 08/29 00:13:36.563 }, handle count : 1
08-29 00:13:36.571 10127 10127 W CameraThread: start()
08-29 00:13:36.572 10127 10127 W AutoHdrScene: disable()
08-29 00:13:36.572 10127 10127 W AutoHdrScene: enable()
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : Auto-HDR
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : HDR
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : ClearShot
08-29 00:13:36.573 10127 10127 V OPCameraActivity: setContentView() - Load content view [start]
08-29 00:13:36.575 10127 11515 W CameraThread: +++++ START +++++
08-29 00:13:36.576 10127 11515 W ThreadMonitor: Start monitor 'Camera Thread' (11515)
08-29 00:13:36.576 10127 11515 V CameraThread: onStarting() - Initial screen size : 1080x1920 (Full HD)
08-29 00:13:36.576 10127 11515 V CameraThread: onStarting() - Initial media type : PHOTO
08-29 00:13:36.577 10127 11515 W ComponentManager: createComponents(LAUNCH) - Start
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Portrait controller
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Manual Mode Controller
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Panorama controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Slow-motion Controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Time-lapse Controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Camera device manager
08-29 00:13:36.579 10127 11515 D ComponentManager: initializeComponent() - Component : Camera device manager
08-29 00:13:36.580 10127 11515 D ComponentManager: initializeComponent() - Component : Time-lapse Controller
08-29 00:13:36.581 10127 11515 D ComponentManager: initializeComponent() - Component : Slow-motion Controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Panorama controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Manual Mode Controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Portrait controller
08-29 00:13:36.583 10127 11515 W ComponentManager: createComponents(LAUNCH) - End
08-29 00:13:36.584 10127 11515 V CameraThread: Enter loop
08-29 00:13:36.590 10127 10127 V OPCameraActivity: setContentView() - Load content view [end]
08-29 00:13:36.590 10127 10127 V OPCameraActivity: setContentView() - Set content view [start]
08-29 00:13:36.594 10127 10127 V OPCameraActivity: setContentView() - Set content view [end]
08-29 00:13:36.597 10127 10127 V OPCameraActivity: checkRequiredPermissions() - All required permissions are granted
08-29 00:13:36.597 10127 10127 D OPCameraActivity: [Property] State(id=18) : CREATING -> STARTING
08-29 00:13:36.598 10127 11515 D CameraThread: [Property] AllRequiredPermissionsGranted(id=69) : false -> true
08-29 00:13:36.599 10127 11515 W CameraDeviceManagerImpl: refreshCameraList() - No back camera
08-29 00:13:36.599 10127 11515 V CameraDeviceManagerImpl: refreshCameraList() - Takes 0ms to refresh list, cameras : []
08-29 00:13:36.602 10127 10127 V OPCameraActivity: onAllPermissionsCompleted() - All permissions are completed: [android.permission.CAMERA, android.permission.RECORD_AUDIO, android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.ACCESS_FINE_LOCATION], result: [0, 0, 0, 0, 0]
08-29 00:13:36.602 10127 10127 D OPCameraActivity: [Property] State(id=18) : STARTING -> RESUMING
08-29 00:13:36.603 10127 10127 D OPCameraActivity: [Property] State(id=18) : RESUMING -> RUNNING
08-29 00:13:36.603 10127 10127 W PhotoCaptureMode: onActivityStateChanged() - isRawCaptureEnabled : false
08-29 00:13:36.603 10127 10127 W PhotoCaptureMode: setRawCaptureState() - camera is null
08-29 00:13:36.604 10127 10127 D OPCameraActivity: [Property] IsRunning(id=16) : false -> true
08-29 00:13:36.604 10127 10127 D OPCameraActivity: updateThemeMode() - themeMode : -1
08-29 00:13:36.605 10127 10127 E OPCameraActivity: updateThemeMode() - failed to get theme mode.
08-29 00:13:36.605 10127 10127 E OPCameraActivity: java.lang.ClassNotFoundException: android.util.OpFeatures
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.Class.classForName(Native Method)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.Class.forName(Class.java:453)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.Class.forName(Class.java:378)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.oneplus.base.BaseActivity.updateThemeMode(BaseActivity.java:1082)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.oneplus.base.BaseActivity.onResume(BaseActivity.java:881)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.oneplus.camera.CameraActivity.onResume(CameraActivity.java:4869)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.oneplus.camera.OPCameraActivity.onResume(OPCameraActivity.java:658)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.Activity.performResume(Activity.java:7162)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3557)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3622)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2863)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread.-wrap11(Unknown Source:0)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.os.Handler.dispatchMessage(Handler.java:106)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.os.Looper.loop(Looper.java:164)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at android.app.ActivityThread.main(ActivityThread.java:6499)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.reflect.Method.invoke(Native Method)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.util.OpFeatures" on path: DexPathList[[zip file "/system/priv-app/OnePlusCamera/OnePlusCamera.apk"],nativeLibraryDirectories=[/system/priv-app/OnePlusCamera/lib/arm, /system/priv-app/OnePlusCamera/OnePlusCamera.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: ... 20 more
08-29 00:13:36.607 10127 10127 W OPCameraActivity: startCameraPreview() - No camera to start preview
08-29 00:13:36.607 10127 10127 W OPCameraActivity: updateBurstEnablingState() - Camera is null, disable burst
08-29 00:13:36.611 10127 11515 V OPCameraActivity: bindToCameraThread()
08-29 00:13:36.612 10127 11515 W OPCameraActivity: bindToCameraThread() - Empty camera list
08-29 00:13:36.612 10127 10127 E OPCameraActivity: onAvailableCamerasChanged() - Empty camera list
08-29 00:13:36.616 10127 10127 E OPCameraActivity: onCameraOpenFailed() - Error code : 0
08-29 00:13:36.621 10127 10127 D OPCameraActivity: [Property] BatteryLevel(id=24) : 0 -> 72
08-29 00:13:36.630 10127 10153 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.631 10127 10153 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.652 296 296 D SurfaceFlinger: duplicate layer name: changing SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity to SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1
08-29 00:13:36.652 296 296 D SurfaceFlinger: duplicate layer name: changing Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity to Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1
08-29 00:13:36.662 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceCreated()
08-29 00:13:36.662 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceChanged() - Format : 4, size : 1080x1920
08-29 00:13:36.664 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [147034388]{ Usage = CameraPreviewFrameWaiting, Time = 08/29 00:13:36.663 }, handle count : 2
08-29 00:13:36.669 10127 10127 D OPCameraActivity: [Property] IsRunning(id=16) : true -> false
08-29 00:13:36.669 10127 10127 D OPCameraActivity: [Property] State(id=18) : RUNNING -> PAUSING
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Remove capture UI disable handle : DisableCaptureUI [147034388]{ Usage = CameraPreviewFrameWaiting, Time = 08/29 00:13:36.663 }
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Capture UI disable handle count : 1
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Active capture UI disable handle : [0] DisableCaptureUI [113464328]{ Usage = CameraPreviewStartStop, Time = 08/29 00:13:36.558 }
08-29 00:13:36.678 10127 10127 V ViewfinderImpl: recreateDirectOutputSurface()
08-29 00:13:36.679 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceDestroyed()
08-29 00:13:36.680 296 4617 E SurfaceFlinger: Failed to find layer (SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1) in layer parent (no-parent).
08-29 00:13:36.680 1242 6129 D WindowManager: relayoutVisibleWindow: Window{c59a809 u0 org.lineageos.trebuchet/com.android.launcher3.Launcher EXITING} mAnimatingExit=true, mRemoveOnExit=false, mDestroying=false
08-29 00:13:36.681 296 2158 E SurfaceFlinger: Failed to find layer (Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1) in layer parent (no-parent).
08-29 00:13:36.686 1242 6129 I WindowManager: Failed to capture screenshot of Token{5a0e821 ActivityRecord{7e28688 u0 com.oneplus.camera/.OPCameraActivity t14 f}} appWin=Window{b19f082 u0 com.oneplus.camera/com.oneplus.camera.OPCameraActivity} drawState=1
08-29 00:13:36.691 4174 7390 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.694 4174 7390 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.727 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.730 10127 10153 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.731 10127 10153 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.732 10127 10127 V OPCameraActivity: handleMessage() - Close all cameras
08-29 00:13:36.732 10127 11515 W CameraThread: closeCamerasInternal() - Start
08-29 00:13:36.733 10127 11515 W CameraThread: closeCamerasInternal() - End
08-29 00:13:36.734 296 408 E BufferQueueProducer: [SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#0] disconnect: not connected (req=2)
08-29 00:13:36.746 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.839 3162 3162 I chatty : uid=10029(com.android.systemui) identical 6 lines
08-29 00:13:36.855 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.918 10127 10127 D OPCameraActivity: [Property] State(id=18) : PAUSING -> STOPPED
08-29 00:13:36.919 10127 10127 D OPCameraActivity: [Property] State(id=18) : STOPPED -> DESTROYING
08-29 00:13:36.919 10127 10127 V OPCameraActivity: unregisterReceivers()
08-29 00:13:36.919 10127 10127 W CameraThread: release()
08-29 00:13:36.919 10127 11515 W CameraThread: handleMessage() - Quit looper
08-29 00:13:36.919 10127 11515 W CameraThread: closeCamerasInternal() - Start
08-29 00:13:36.919 10127 11515 W CameraThread: closeCamerasInternal() - End
08-29 00:13:36.919 10127 11515 W ComponentManager: removeComponentInternal() - Component : Camera device manager
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Time-lapse Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Slow-motion Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Panorama controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Manual Mode Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Portrait controller
08-29 00:13:36.920 10127 11515 W ThreadMonitor: Stop monitor 'Camera Thread' (11515)
08-29 00:13:36.920 10127 11515 W CameraThread: +++++ STOP +++++
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Scene Manager
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Viewfinder
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Capture Mode Manager
08-29 00:13:36.922 10127 10127 W OPCameraActivity: restoreSettings() - Handle : Settings [182443229]
08-29 00:13:36.922 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : [email protected] -> (Global)@259204523
08-29 00:13:36.922 10127 10127 D OPCameraActivity: [Property] State(id=18) : DESTROYING -> DESTROYED
08-29 00:13:36.922 10127 10127 W ThreadMonitor: Stop monitor 'main' (10127)
08-29 00:13:37.109 10127 10127 E BaseActivity: Owner released, drop message -80
08-29 00:13:37.222 4174 7390 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
08-29 00:13:37.222 4174 7390 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
08-29 00:13:39.704 315 517 D audio_hw_primary: out_standby: enter: stream (0xb2ef6240) usecase(4: audio-ull-playback)
08-29 00:13:39.776 315 517 D hardware_info: hw_info_append_hw_type : device_name = speaker
08-29 00:13:40.154 1242 1242 W WindowManager: removeWindowToken: Attempted to remove non-existing token: [email protected]

Related

[bug] in libandroid_runtime.so ,possible root exploit?

hi,
when i run system_server in adb shell on new b70 unrooted tf it crashes
crashlog here>
Code:
09-26 18:32:29.100: INFO/DEBUG(2988): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-26 18:32:29.100: INFO/DEBUG(2988): Build fingerprint: 'asus/WW_epad/TF101:3.2/HTJ85B/WW_epad-8.6.5.9-20110816:user/release-keys'
09-26 18:32:29.100: INFO/DEBUG(2988): pid: 6845, tid: 6845 >>> system_server <<<
09-26 18:32:29.100: INFO/DEBUG(2988): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
09-26 18:32:29.100: INFO/DEBUG(2988): r0 00000000 r1 a7b01863 r2 00010004 r3 59d64681
09-26 18:32:29.100: INFO/DEBUG(2988): r4 a7b02250 r5 a7b01744 r6 a7b01863 r7 a81177a9
09-26 18:32:29.100: INFO/DEBUG(2988): r8 a7b01883 r9 00000000 10 00000000 fp 00000000
09-26 18:32:29.100: INFO/DEBUG(2988): ip a7b022bc sp bef2db50 lr ad335a1d pc ad335674 cpsr 60000030
09-26 18:32:29.100: INFO/DEBUG(2988): d0 447a00003f800000 d1 3f80000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d2 000000003f19999a d3 0000000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d4 0000000000000000 d5 41b42fdb75000000
09-26 18:32:29.100: INFO/DEBUG(2988): d6 3f19999ad2f1a9fc d7 3f80000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d8 0000000000000000 d9 0000000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d10 0000000000000000 d11 0000000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d12 0000000000000000 d13 0000000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): d14 0000000000000000 d15 0000000000000000
09-26 18:32:29.100: INFO/DEBUG(2988): scr 00000010
09-26 18:32:29.210: INFO/DEBUG(2988): #00 pc 00035674 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime9getJNIEnvEv)
09-26 18:32:29.210: INFO/DEBUG(2988): #01 pc 00035a18 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime10callStaticEPKcS2_)
09-26 18:32:29.210: INFO/DEBUG(2988): #02 pc 00001658 /system/lib/libsystem_server.so (system_init)
09-26 18:32:29.210: INFO/DEBUG(2988): #03 pc 0000861a /system/bin/system_server
09-26 18:32:29.210: INFO/DEBUG(2988): #04 pc 00014aa0 /system/lib/libc.so (__libc_init)
09-26 18:32:29.210: INFO/DEBUG(2988): libc base address: aff00000
09-26 18:32:29.210: INFO/DEBUG(2988): code around pc:
09-26 18:32:29.210: INFO/DEBUG(2988): ad335654 68cb6801 bd104798 0005a860 47702001
09-26 18:32:29.210: INFO/DEBUG(2988): ad335664 bf004770 4a08b507 6812447a 4a056810
09-26 18:32:29.210: INFO/DEBUG(2988): ad335674 698b6801 4798a901 2000b108 9801e000
09-26 18:32:29.210: INFO/DEBUG(2988): ad335684 bf00bd0e 00010004 000530cc 44784801
09-26 18:32:29.210: INFO/DEBUG(2988): ad335694 47706800 0005a81e 460cb570 e0062500
09-26 18:32:29.210: INFO/DEBUG(2988): code around lr:
09-26 18:32:29.210: INFO/DEBUG(2988): ad3359fc 0003a03b 0003a03f 0003a042 0003a04d
09-26 18:32:29.210: INFO/DEBUG(2988): ad335a0c 0003a073 41f3e92d 4690460e fe26f7ff
09-26 18:32:29.210: INFO/DEBUG(2988): ad335a1c b1604604 f7ff4631 4605ff09 4914b950
09-26 18:32:29.210: INFO/DEBUG(2988): ad335a2c 4a142006 44794633 f7ef447a f04fed9e
09-26 18:32:29.210: INFO/DEBUG(2988): ad335a3c e01a4000 46206822 46294b0f 71c4f8d2
09-26 18:32:29.210: INFO/DEBUG(2988): stack:
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db10 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db14 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db18 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db1c 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db20 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db24 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db28 00000004
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db2c 00000001
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db30 0000f8c8
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db34 0000a000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db38 0000f7f8
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db3c 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db40 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db44 aff13f17 /system/lib/libc.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db48 df002777
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db4c e3a070ad
09-26 18:32:29.210: INFO/DEBUG(2988): #00 bef2db50 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db54 a7b01863 /system/lib/libsystem_server.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db58 a7b01883 /system/lib/libsystem_server.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db5c ad335a1d /system/lib/libandroid_runtime.so
09-26 18:32:29.210: INFO/DEBUG(2988): #01 bef2db60 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db64 a7b01863 /system/lib/libsystem_server.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db68 a7b02250
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db6c a7b01744 /system/lib/libsystem_server.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db70 00000000
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db74 a81177a9 /system/lib/libbinder.so
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db78 0000f7f8
09-26 18:32:29.210: INFO/DEBUG(2988): bef2db7c a7b0165b /system/lib/libsystem_server.so
09-26 18:32:29.390: INFO/BootReceiver(710): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)
dissassembly
Code:
text:AD335668 _ZN7android14AndroidRuntime9getJNIEnvEv ; CODE XREF: android::AndroidRuntime::callMain(char const*,int,char const* const*)+1Cp
.text:AD335668 ; android::AndroidRuntime::callStatic(char const*,char const*)+8p ...
.text:AD335668
.text:AD335668 var_C = -0xC
.text:AD335668
.text:AD335668 PUSH {R0-R2,LR}
.text:AD33566A LDR R2, =(off_AD38873C - 0xAD335670) ; _ZN7android14AndroidRuntime7mJavaVME
.text:AD33566C ADD R2, PC
.text:AD33566E LDR R2, [R2]
.text:AD335670 LDR R0, [R2]
.text:AD335672 LDR R2, =0x10004
.text:AD335674 LDR R1, [R0] <- crashed here R0=0
.text:AD335676 LDR R3, [R1,#0x18]
.text:AD335678 ADD R1, SP, #0x10+var_C
.text:AD33567A BLX R3
.text:AD33567C CBZ R0, loc_AD335682
.text:AD33567E MOVS R0, #0
.text:AD335680 B locret_AD335684
.text:AD335682 ; ---------------------------------------------------------------------------
.text:AD335682
.text:AD335682 loc_AD335682 ; CODE XREF: android::AndroidRuntime::getJNIEnv(void)+14j
.text:AD335682 LDR R0, [SP,#0x10+var_C]
.text:AD335684
.text:AD335684 locret_AD335684 ; CODE XREF: android::AndroidRuntime::getJNIEnv(void)+18j
.text:AD335684 POP {R1-R3,PC}
.text:AD335684 ; End of function android::AndroidRuntime::getJNIEnv(void)
.text:AD335684
.text:AD335684 ; ---------------------------------------------------------------------------
.text:AD335686 ALIGN 4
.text:AD335688 dword_AD335688 DCD 0x10004 ; DATA XREF: android::AndroidRuntime::getJNIEnv(void)+Ar
.text:AD33568C off_AD33568C DCD off_AD38873C - 0xAD335670
when _ZN7android14AndroidRuntime7mJavaVME is uninitialized = 0 it crashes
Iam not exploit writer only little bit rewerse engineer if this could be exploited let me now iam owner of nonrootable new tf 101 with new SBK B70KAS25 :/
Enjoy
in 3.2.1 update the bug is still here
No
10char
Maybe I found a way to sign the root with asus certificates, so the system will think it's an asus update and will flash it
gnufabio said:
Maybe I found a way to sign the root with asus certificates, so the system will think it's an asus update and will flash it
Click to expand...
Click to collapse
i think you dont have asus private rsa keys
why NO?
Z!L0G80 said:
i think you dont have asus private rsa keys
why NO?
Click to expand...
Click to collapse
You just answered your own question
There is nothing funnier than watching some-one smack them-self in the face with the Shovel Of Logic.
nevermind. delete please.
Z!L0G80 said:
why NO?
Click to expand...
Click to collapse
thebadfrog said:
No
10char
Click to expand...
Click to collapse
thebadfrog:
it was reaction on you post #3 dont uderstand your post
CaNsA:
my post's is funny for you?
ok i dont no more share my findings :/
delete this thread
Z!L0G80 said:
thebadfrog:
it was reaction on you post #3 dont uderstand your post
CaNsA:
my post's is funny for you?
ok i dont no more share my findings :/
delete this thread
Click to expand...
Click to collapse
WTF guys? I know being polite and courteous are not your strong points, but really?
Sent from my Transformer TF101 using XDA Premium App
jhanford said:
WTF guys? I know being polite and courteous are not your strong points, but really?
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
This thread is pointless, to summarize it for you. He provided the means to an "exploit" then gave the reasoning for why it can't be exploited. So, this can't be used.
Sent from my creaky Thunderbolt
mb02 said:
This thread is pointless, to summarize it for you. He provided the means to an "exploit" then gave the reasoning for why it can't be exploited. So, this can't be used.
Sent from my creaky Thunderbolt
Click to expand...
Click to collapse
other posts(2<) in this thread have nothing to do with post 1 and 2 (it is spam)
Btw. i have other ideas to root transformer maybe in few days it could be done
Seriously guys, really?
He finds a bug, disassembles the crashing code, asks for insight in the situation of wether it's a usable for an exploit and all you do is hand out metaphorical facepunches? Whatever happened to "operation iron fist"? Mods?
Give the guy some credit for trying, this isn't youtube.
ok this bug is not exploitable :/
another idea
there is:
Code:
on boot
# logtool service start
service logdog-conf /system/bin/sh /data/data/com.asus.LogTool/files/logdog-conf.sh
user root
group root
oneshot
in init.ventana.rc
it is started with root permissions on boot ?? ,but there no package com.asus.LogTool on device
i have fake app com.asus.LogTool with fake file logdog-conf.sh
but this script dont start ,why ? can i start this service manualy ?
in this script is simple "touch /sdcard/ok"
Z!L0G80 said:
ok this bug is not exploitable :/
another idea
there is:
Code:
on boot
# logtool service start
service logdog-conf /system/bin/sh /data/data/com.asus.LogTool/files/logdog-conf.sh
user root
group root
oneshot
in init.ventana.rc
it is started with root permissions on boot ?? ,but there no package com.asus.LogTool on device
i have fake app com.asus.LogTool with fake file logdog-conf.sh
but this script dont start ,why ? can i start this service manualy ?
in this script is simple "touch /sdcard/ok"
Click to expand...
Click to collapse
Maybe it's disabled somewhere, or the fact it runs in oneshot mode - I think that stuff is only ran on first run of the device (or, every time the device boots but only once).
i just want to tell the OP not to get discouraged by some of the answers ... keep trying and keep learning. Good luck

Developer's zone for LG P690 a.k.a Optimus Net

Developers here :
deepss1
Aceximix
Requested developers to join the topic :
1) Karandeepdps
2) aj1234josh
3) prateek1992
4) Christianvari
Beta testers :
Yet to set beta testers.
PM me if you want to be a beta tester.
Only two beta testers.
Number of GB roms : 9
Number of ICS roms : 3 (camera not working)
Number of JB roms : 1 (with many bugs)
Aim - To solve ICS camera bug
Bugs solved -
Yet to solve any bugs.
Note :
1) Developers please do reserve posts for your contribution.
2) Also write your contribution for LG P690
3) For non P690 devs - If you want to develop for P690 make pm to me and get involved in development of P690.
There are many testers for ONet.
If you want you can buy us a beer
Contact me by mail or pm.
Email id - [email protected]
Reserved!!
Reserved!!
Direct to topic..:silly:
AS OF MY THIS LOG..I GUESS>>WE HAVE CAMERA HAL WORKING.. ANY FURTHUR IDEAS FROM YOU??
V/CameraHolder( 2101): open camera 0
I/CameraHAL( 2330): CameraHAL_GetCam_Info:
D/CameraHAL( 2330): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e5a8
I/CameraService( 2330): Opening camera 0
D/CameraHAL( 2330): qcamera_device_open: name:0 device:0x13e0c cameraId:0
D/CameraHAL( 2330): loading libcamera at 0xb000e5a8
D/QualcommCameraHardware( 2330): createInstance: E
I/QualcommCameraHardware( 2330): startCamera: camsensor name s5k5caga, flash 0
I/DEBUG ( 1482): #00 pc 0000b2f2 /system/lib/liboemcamera.so (isp3a_exit)
I/DEBUG ( 1482): #01 pc 000086f6 /system/lib/liboemcamera.so
I/DEBUG ( 1482): #02 pc 00008824 /system/lib/liboemcamera.so (cam_conf)
I/DEBUG ( 1482): 41628a28 a77460ec /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a30 a771dc71 /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a3c a77460ec /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a7c a77460ec /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a8c a77086fb /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a94 a77460ec /system/lib/liboemcamera.so
I/DEBUG ( 1482): 41628a9c a7708829 /system/lib/liboemcamera.so
E/CameraHolder( 2101): fail to connect Camera
E/CameraHolder( 2101): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 2101): at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 2101): at android.hardware.Camera.<init>(Camera.java:320)
E/CameraHolder( 2101): at android.hardware.Camera.open(Camera.java:280)
E/CameraHolder( 2101): at com.android.camera.CameraHolder.open(CameraHolder. java:131)
E/CameraHolder( 2101): at com.android.camera.Util.openCamera(Util.java:313)
E/CameraHolder( 2101): at com.android.camera.Camera$4.run(Camera.java:1246)
E/CameraHolder( 2101): at java.lang.Thread.run(Thread.java:856)
I/ServiceManager( 1477): service 'media.camera' died
W/Camera ( 2101): Camera server died!
V/camera ( 2101): surfaceChanged. w=320. h=427
I/ActivityManager( 1598): Displayed com.android.camera/.Camera: +2s851ms
I/CameraService( 2514): CameraService started (pid=2514)
E/CameraHAL( 2514): CameraHAL_GetNum_Cameras:
D/CameraHAL( 2514): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e5a8
D/CameraHAL( 2514): CameraHAL_GetNum_Cameras: numCameras:1
Click to expand...
Click to collapse
Samsung galaxy pop have camera working and also p500 which is almost same configured to our p690
Hope we developers will solve this camera bug early.
Just little guidance from p500 and galaxy pop developers may solve our camera bug. So looking forward to camera bug and that too without any donations
Something good....
Now you can find lg optimus net forum in this website ----->>
http://www.fesilo.com/forum/lg-optimus-net-p690
So from now ask developers to post ROMs here so its easy to find ROMs for Optimus Net....
Any news? Hope they help Onet p690, please samsung pop and p500 developers
Sent from my LG-P690 using xda app-developers app

[HOW-TO] Clear 'Em All! - How to add Clear All Recents Button on Stock KitKat

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notes About the com/showthread.php?t=2647297[/url]
added guidelines to change clear button position!
Works on JB 4.1.1 ?
Hi, can I use this on SlimKat? They have a different Recent Apps but I would still like to try if it's possible.
Sent from my GT-N7100 using Tapatalk
The mod in thread #2 is only for Nexus5 and the Stock firmware,.but following the guide You will be able to add to other Roms
Just pay attention on lines numbers inside the methods You add , because are unique...
If there are already lines with that numbers in original methods just change it (+1, check if unique, and so on)
Added some notes about porting this mods to custom ROms in thread #2!
vk2r said:
Works on JB 4.1.1 ?
Click to expand...
Click to collapse
it should work.. just try.. i don't know
@enricocid i have a little problem with the fake ID.
I have not managed to compile SystemUI with fake ID as I receive an error with the line of public.xml.
The error is as follows: "Public resource id/recents_clear has conflicting type codes for its public identifiers (0xc vs 0x2).
You can help me, with this ... ?
vk2r said:
@enricocid i have a little problem with the fake ID.
I have not managed to compile SystemUI with fake ID as I receive an error with the line of public.xml.
The error is as follows: "Public resource id/recents_clear has conflicting type codes for its public identifiers (0xc vs 0x2).
You can help me, with this ... ?
Click to expand...
Click to collapse
post Your public.xml...
You added the id also in public.xml???
because You should add the fake ID only on smali... compile and get the ID for recents_clear resource and use as new id in smali
I've managed to fix it.
I had put a ID type style, instead of an ID of id.
What happens now, is that the UI does not load in Android
vk2r said:
I've managed to fix it.
I had put a ID type style, instead of an ID of id.
What happens now, is that the UI does not load in Android
Click to expand...
Click to collapse
recents_clear is not a style.. is an ids
if You have a zip of the rom just create a revert with original systemUI and flash original systemui...
wrong id.. or you missed something
pay attention at the id You add here
.line 480
const v0, 0x########
it should be the recents_clear id and if it's wrong systemui won't load
post public.xml.. i will say you how to add the recents_clear id
I have managed to compile SystemUI, and the button appears on Android.
The problem is that when pressed, down SystemUI.
vk2r said:
I have managed to compile SystemUI, and the button appears on Android.
The problem is that when pressed, down SystemUI.
Click to expand...
Click to collapse
logcat
use catlog from playstore and post the log here
but i need also the public.xml
Here I leave the logcat:
Code:
03-21 12:10:58.961 D/dalvikvm(3492): GC_FOR_ALLOC freed 1276K, 37% free 12744K/20103K, paused 46ms, total 46ms
03-21 12:10:58.961 I/dalvikvm-heap(3492): Grow heap (frag case) to 13.439MB for 936976-byte allocation
03-21 12:10:58.986 I/ActivityManager(1653): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.nick.kitkatlauncher/com.android.launcher3.Launcher u=0} from pid 1653
03-21 12:10:59.021 D/dalvikvm(3492): GC_FOR_ALLOC freed 2K, 33% free 13657K/20103K, paused 58ms, total 58ms
03-21 12:10:59.076 D/dalvikvm(3492): GC_CONCURRENT freed 22K, 33% free 13641K/20103K, paused 19ms+4ms, total 56ms
03-21 12:10:59.181 D/dalvikvm(1653): GC_FOR_ALLOC freed 1243K, 14% free 25622K/29639K, paused 60ms, total 60ms
03-21 12:10:59.201 E/ActivityManager(1653): writeStringToFile error: /sys/devices/platform/s5p-tmu/disable_tmu java.io.FileNotFoundException: /sys/devices/platform/s5p-tmu/disable_tmu: open failed: ENOENT (No such file or directory)
03-21 12:10:59.576 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:10:59.581 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4155 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 218 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:10:59.616 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:10:59.646 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:10:59.721 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10858K/11207K, paused 6ms+15ms, total 75ms
03-21 12:10:59.726 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:10:59.726 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:10:59.726 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:10:59.726 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:10:59.726 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:10:59.731 D/StateMachine(1653): handleMessage: X
03-21 12:10:59.766 D/dalvikvm(3492): GC_CONCURRENT freed 986K, 33% free 13641K/20103K, paused 14ms+4ms, total 69ms
03-21 12:10:59.766 D/dalvikvm(3492): WAIT_FOR_CONCURRENT_GC blocked 47ms
03-21 12:10:59.826 D/dalvikvm(3492): GC_CONCURRENT freed 24K, 28% free 14628K/20103K, paused 13ms+8ms, total 40ms
03-21 12:11:00.021 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:00.066 D/dalvikvm(2097): GC_EXPLICIT freed 56K, 4% free 10858K/11207K, paused 3ms+5ms, total 46ms
03-21 12:11:00.081 D/dalvikvm(3492): GC_FOR_ALLOC freed 22K, 23% free 15649K/20103K, paused 40ms, total 40ms
03-21 12:11:00.156 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:00.191 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 3ms+3ms, total 36ms
03-21 12:11:00.251 D/dalvikvm(3492): GC_FOR_ALLOC freed 18K, 18% free 16602K/20103K, paused 17ms, total 17ms
03-21 12:11:00.331 D/dalvikvm(3492): GC_CONCURRENT freed 6K, 9% free 18469K/20103K, paused 12ms+2ms, total 28ms
03-21 12:11:00.381 D/dalvikvm(3492): GC_FOR_ALLOC freed 4K, 8% free 18504K/20103K, paused 24ms, total 25ms
03-21 12:11:00.381 I/dalvikvm-heap(3492): Grow heap (frag case) to 19.064MB for 936976-byte allocation
03-21 12:11:00.426 D/dalvikvm(3492): GC_FOR_ALLOC freed <1K, 8% free 19418K/21063K, paused 42ms, total 42ms
03-21 12:11:00.501 D/dalvikvm(3492): GC_FOR_ALLOC freed 3K, 8% free 19455K/21063K, paused 26ms, total 26ms
03-21 12:11:00.506 I/dalvikvm-heap(3492): Grow heap (frag case) to 19.994MB for 936976-byte allocation
03-21 12:11:00.551 D/dalvikvm(3492): GC_FOR_ALLOC freed <1K, 8% free 20369K/22023K, paused 43ms, total 43ms
03-21 12:11:01.216 I/ActivityManager(1653): No longer want com.cellon.ota (pid 2923): hidden #16
03-21 12:11:02.561 I/ActivityManager(1653): Killing 3116:com.android.vending/u0a42: remove task
03-21 12:11:02.696 W/ActivityManager(1653): Scheduling restart of crashed service com.android.vending/com.google.android.finsky.services.ContentSyncService in 5000ms
03-21 12:11:02.736 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:02.736 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:02.736 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:02.736 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:02.736 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:02.741 D/StateMachine(1653): handleMessage: X
03-21 12:11:04.066 I/ActivityManager(1653): Killing 3970:com.android.contacts/u0a1: remove task
03-21 12:11:04.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.contacts/.simcontacts.SimContactsService in 20000ms
03-21 12:11:05.746 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:05.746 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:05.746 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:05.746 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:05.746 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:05.746 D/StateMachine(1653): handleMessage: X
03-21 12:11:07.251 D/AndroidRuntime(3492): Shutting down VM
03-21 12:11:07.251 W/dalvikvm(3492): threadid=1: thread exiting with uncaught exception (group=0x41234300)
03-21 12:11:07.276 E/AndroidRuntime(3492): FATAL EXCEPTION: main
03-21 12:11:07.276 E/AndroidRuntime(3492): java.lang.NoSuchMethodError: com.android.systemui.recent.RecentsPanelView.access$900
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.systemui.recent.RecentsPanelView$2.onClick(RecentsPanelView.java:485)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.view.View.performClick(View.java:4084)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.view.View$PerformClick.run(View.java:16966)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Handler.handleCallback(Handler.java:615)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Handler.dispatchMessage(Handler.java:92)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Looper.loop(Looper.java:137)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.app.ActivityThread.main(ActivityThread.java:4745)
03-21 12:11:07.276 E/AndroidRuntime(3492): at java.lang.reflect.Method.invokeNative(Native Method)
03-21 12:11:07.276 E/AndroidRuntime(3492): at java.lang.reflect.Method.invoke(Method.java:511)
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
03-21 12:11:07.276 E/AndroidRuntime(3492): at dalvik.system.NativeStart.main(Native Method)
03-21 12:11:08.596 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:08.601 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4144 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 352 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:08.651 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:08.681 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:08.741 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 6ms+5ms, total 59ms
03-21 12:11:08.751 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:08.751 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:08.751 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:08.751 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:08.751 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:08.761 D/StateMachine(1653): handleMessage: X
03-21 12:11:08.926 I/Process (3492): Sending signal. PID: 3492 SIG: 9
03-21 12:11:09.081 W/InputDispatcher(1653): channel '41fb8280 com.android.systemui.ImageWallpaper (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-21 12:11:09.081 E/InputDispatcher(1653): channel '41fb8280 com.android.systemui.ImageWallpaper (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.081 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '41fb8280 com.android.systemui.ImageWallpaper (server)'
03-21 12:11:09.081 I/WindowManager(1653): WINDOW DIED Window{41fb8280 com.android.systemui.ImageWallpaper paused=false}
03-21 12:11:09.081 W/WallpaperService(1653): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
03-21 12:11:09.081 I/ActivityManager(1653): Process com.android.systemui (pid 3492) has died.
03-21 12:11:09.081 D/MountService(1653): An IMountServiceListener has died!
03-21 12:11:09.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 1250ms
03-21 12:11:09.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 24999ms
03-21 12:11:09.086 W/InputDispatcher(1653): channel '42041cc0 RecentsPanel (server)' ~ Consumer closed input channel or an error occurred. events=0xd
03-21 12:11:09.086 E/InputDispatcher(1653): channel '42041cc0 RecentsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.086 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '42041cc0 RecentsPanel (server)'
03-21 12:11:09.086 I/WindowManager(1653): WINDOW DIED Window{42041cc0 RecentsPanel paused=false}
03-21 12:11:09.101 W/InputDispatcher(1653): channel '42058d40 StatusBar (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-21 12:11:09.101 E/InputDispatcher(1653): channel '42058d40 StatusBar (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.101 I/WindowState(1653): WIN DEATH: Window{42041cc0 RecentsPanel paused=false}
03-21 12:11:09.106 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '42058d40 StatusBar (server)'
03-21 12:11:09.106 I/WindowState(1653): WIN DEATH: Window{42058d40 StatusBar paused=false}
03-21 12:11:09.106 I/ActivityManager(1653): Start proc com.android.systemui for restart com.android.systemui: pid=4108 uid=10051 gids={1028, 1015, 3002, 3001}
03-21 12:11:09.106 I/WindowState(1653): WIN DEATH: Window{41fb8280 com.android.systemui.ImageWallpaper paused=false}
03-21 12:11:09.111 W/InputMethodManagerService(1653): Window already focused, ignoring focus gain of: [email protected] attribute=null
03-21 12:11:09.111 I/WindowManager(1653): WINDOW DIED Window{42058d40 StatusBar paused=false}
03-21 12:11:09.146 E/Trace (4108): error opening trace file: No such file or directory (2)
03-21 12:11:09.181 D/dalvikvm(3944): GC_CONCURRENT freed 2423K, 25% free 11680K/15559K, paused 17ms+8ms, total 65ms
03-21 12:11:10.036 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:10.096 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 7ms+5ms, total 58ms
03-21 12:11:10.426 D/dalvikvm(4108): GC_FOR_ALLOC freed 76K, 2% free 10796K/11011K, paused 34ms, total 35ms
03-21 12:11:10.461 I/dalvikvm-heap(4108): Grow heap (frag case) to 17.675MB for 7372816-byte allocation
03-21 12:11:10.511 D/dalvikvm(4108): GC_CONCURRENT freed 1K, 2% free 17995K/18247K, paused 13ms+13ms, total 51ms
03-21 12:11:10.646 D/libEGL (4108): loaded /system/lib/egl/libEGL_mali.so
03-21 12:11:10.651 D/libEGL (4108): loaded /system/lib/egl/libGLESv1_CM_mali.so
03-21 12:11:10.651 D/libEGL (4108): loaded /system/lib/egl/libGLESv2_mali.so
03-21 12:11:11.766 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:11.766 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:11.766 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-5ms arg1=1 }
03-21 12:11:11.766 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:11.766 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-6ms arg1=1 }
03-21 12:11:11.786 D/StateMachine(1653): handleMessage: X
03-21 12:11:14.786 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:14.791 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:14.791 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:14.791 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:14.791 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:14.801 D/StateMachine(1653): handleMessage: X
03-21 12:11:17.611 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:17.616 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4157 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 221 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:17.636 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:17.666 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:17.716 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 5ms+5ms, total 50ms
03-21 12:11:17.806 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:17.806 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:17.806 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:17.806 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:17.806 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:17.811 D/StateMachine(1653): handleMessage: X
03-21 12:11:20.041 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:20.096 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 5ms+4ms, total 56ms
03-21 12:11:20.821 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:20.821 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:20.821 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:20.821 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:20.821 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:20.831 D/StateMachine(1653): handleMessage: X
03-21 12:11:23.836 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:23.836 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:23.836 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:23.836 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:23.836 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:23.851 D/StateMachine(1653): handleMessage: X
03-21 12:11:24.126 I/ActivityManager(1653): Start proc com.android.contacts for service com.android.contacts/.simcontacts.SimContactsService: pid=4133 uid=10001 gids={3003, 1015, 1028}
03-21 12:11:24.186 E/Trace (4133): error opening trace file: No such file or directory (2)
03-21 12:11:24.356 D/AccountTypeManager(4133): Registering external account type=com.google.android.exchange, packageName=com.google.android.email
03-21 12:11:24.381 D/AccountTypeManager(4133): Registering 1 extension packages
03-21 12:11:24.401 I/AccountTypeManager(4133): Loaded meta-data for 4 account types, 3 accounts in 52ms(wall) 24ms(cpu)
03-21 12:11:24.421 D/dalvikvm(4133): GC_CONCURRENT freed 214K, 4% free 10891K/11271K, paused 17ms+2ms, total 37ms
03-21 12:11:26.631 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:26.636 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4159 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 214 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:26.651 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:26.691 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:26.751 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 6ms+6ms, total 60ms
03-21 12:11:26.856 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:26.856 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:26.856 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:26.856 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:26.856 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:26.866 D/StateMachine(1653): handleMessage: X
03-21 12:11:29.866 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:29.871 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:29.871 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:29.871 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:29.871 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:29.881 D/StateMachine(1653): handleMessage: X
03-21 12:11:30.026 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:30.066 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 8ms+4ms, total 44ms
03-21 12:11:30.196 D/dalvikvm(1653): GC_CONCURRENT freed 2871K, 17% free 24699K/29639K, paused 19ms+8ms, total 127ms
03-21 12:11:32.886 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:32.886 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:32.886 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-1ms arg1=1 }
03-21 12:11:32.886 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:32.886 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:32.906 D/StateMachine(1653): handleMessage: X
03-21 12:11:34.101 D/SystemUIService(4108): loading: class com.android.systemui.statusbar.phone.PhoneStatusBar
03-21 12:11:34.126 D/SystemUIService(4108): running: c[email protected]
03-21 12:11:34.151 I/StatusBarManagerService(1653): registerStatusBar [email protected]8
03-21 12:11:34.401 D/dalvikvm(4108): DexOpt: couldn't find field Lcom/android/systemui/recent/RecentsPanelView;.mCallUiHiddenBeforeNextReload
03-21 12:11:34.401 W/dalvikvm(4108): VFY: unable to resolve instance field 495
03-21 12:11:34.401 D/dalvikvm(4108): VFY: replacing opcode 0x5c at 0x0090
03-21 12:11:34.401 I/dalvikvm(4108): Could not find method com.android.systemui.recent.RecentsPanelView$3.<init>, referenced from method com.android.systemui.recent.RecentsPanelView.handleLongPress
03-21 12:11:34.401 W/dalvikvm(4108): VFY: unable to resolve direct method 2100: Lcom/android/systemui/recent/RecentsPanelView$3;.<init> (Lcom/android/systemui/recent/RecentsPanelView;Landroid/view/View;)V
03-21 12:11:34.401 D/dalvikvm(4108): VFY: replacing opcode 0x70 at 0x0020
03-21 12:11:34.431 I/dalvikvm(4108): Could not find method com.android.systemui.recent.RecentsPanelView.access$900, referenced from method com.android.systemui.recent.RecentsPanelView$2.onClick
03-21 12:11:34.431 W/dalvikvm(4108): VFY: unable to resolve static method 2137: Lcom/android/systemui/recent/RecentsPanelView;.access$900 (Lcom/android/systemui/recent/RecentsPanelView;)Lcom/android/systemui/recent/RecentsPanelView$RecentsScrollView;
03-21 12:11:34.431 D/dalvikvm(4108): VFY: replacing opcode 0x71 at 0x0002
03-21 12:11:34.446 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:34.461 D/PhoneStatusBar(4108): disable: < expand icons alerts ticker system_info back home recent clock >
03-21 12:11:34.476 D/StorageNotification(4108): Startup with UMS connection false (media state mounted)
03-21 12:11:34.476 I/StorageNotification(4108): UMS connection changed to false (media state mounted)
03-21 12:11:34.486 D/SystemUIService(4108): loading: class com.android.systemui.power.PowerUI
03-21 12:11:34.486 D/SystemUIService(4108): running: [email protected]
03-21 12:11:34.486 D/SystemUIService(4108): loading: class com.android.systemui.media.RingtonePlayer
03-21 12:11:34.486 D/SystemUIService(4108): running: [email protected]
03-21 12:11:34.491 D/dalvikvm(1653): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:34.556 D/dalvikvm(1653): GC_EXPLICIT freed 154K, 18% free 24588K/29639K, paused 3ms+6ms, total 69ms
03-21 12:11:34.571 D/WifiService(1653): New client listening to asynchronous messages
03-21 12:11:34.626 D/dalvikvm(4108): GC_CONCURRENT freed 7395K, 38% free 12563K/20103K, paused 12ms+4ms, total 40ms
03-21 12:11:34.671 D/OpenGLRenderer(4108): Enabling debug mode 0
03-21 12:11:34.696 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:34.701 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:35.651 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:35.651 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4159 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 310 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:35.666 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:35.701 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:35.741 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 4ms+4ms, total 40ms
03-21 12:11:35.906 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:35.906 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:35.906 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:35.906 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:35.906 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:35.916 D/StateMachine(1653): handleMessage: X
03-21 12:11:36.776 D/LauncherAnimUtils(2016): +++addOnDrawListener
03-21 12:11:36.871 D/dalvikvm(2016): GC_CONCURRENT freed 1443K, 10% free 15238K/16903K, paused 4ms+18ms, total 67ms
03-21 12:11:38.221 I/ActivityManager(1653): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity u=0} from pid 2016
03-21 12:11:38.411 W/BroadcastQueue(1653): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.nick.kitkatlauncher (uid 10027)
03-21 12:11:38.421 E/ActivityManager(1653): writeStringToFile error: /sys/devices/platform/s5p-tmu/disable_tmu java.io.FileNotFoundException: /sys/devices/platform/s5p-tmu/disable_tmu: open failed: ENOENT (No such file or directory)
03-21 12:11:38.456 V/PhoneStatusBar(4108): setLightsOn(true)
03-21 12:11:38.626 D/dalvikvm(3944): GC_CONCURRENT freed 425K, 26% free 11666K/15559K, paused 12ms+19ms, total 53ms
03-21 12:11:38.921 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:38.921 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:38.921 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:38.921 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:38.921 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:38.931 D/StateMachine(1653): handleMessage: X
03-21 12:11:40.046 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:40.146 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 6ms+9ms, total 102ms
03-21 12:11:40.316 D/dalvikvm(3944): GC_CONCURRENT freed 345K, 25% free 11733K/15559K, paused 13ms+4ms, total 41ms
03-21 12:11:40.761 D/dalvikvm(3944): GC_CONCURRENT freed 262K, 24% free 11939K/15559K, paused 4ms+16ms, total 70ms
03-21 12:11:41.936 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:41.936 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:41.936 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:41.936 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:41.936 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:41.951 D/StateMachine(1653): handleMessage: X
03-21 12:11:42.411 D/dalvikvm(3944): GC_FOR_ALLOC freed 272K, 23% free 12000K/15559K, paused 46ms, total 46ms
03-21 12:11:42.506 D/dalvikvm(3944): GC_CONCURRENT freed 59K, 21% free 12391K/15559K, paused 17ms+8ms, total 55ms
03-21 12:11:44.671 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:44.676 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4152 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 238 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:44.716 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:44.831 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:44.871 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 3ms+4ms, total 40ms
vk2r said:
Here I leave the logcat:
Code:
03-21 12:10:58.961 D/dalvikvm(3492): GC_FOR_ALLOC freed 1276K, 37% free 12744K/20103K, paused 46ms, total 46ms
03-21 12:10:58.961 I/dalvikvm-heap(3492): Grow heap (frag case) to 13.439MB for 936976-byte allocation
03-21 12:10:58.986 I/ActivityManager(1653): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.nick.kitkatlauncher/com.android.launcher3.Launcher u=0} from pid 1653
03-21 12:10:59.021 D/dalvikvm(3492): GC_FOR_ALLOC freed 2K, 33% free 13657K/20103K, paused 58ms, total 58ms
03-21 12:10:59.076 D/dalvikvm(3492): GC_CONCURRENT freed 22K, 33% free 13641K/20103K, paused 19ms+4ms, total 56ms
03-21 12:10:59.181 D/dalvikvm(1653): GC_FOR_ALLOC freed 1243K, 14% free 25622K/29639K, paused 60ms, total 60ms
03-21 12:10:59.201 E/ActivityManager(1653): writeStringToFile error: /sys/devices/platform/s5p-tmu/disable_tmu java.io.FileNotFoundException: /sys/devices/platform/s5p-tmu/disable_tmu: open failed: ENOENT (No such file or directory)
03-21 12:10:59.576 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:10:59.581 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4155 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 218 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:10:59.616 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:10:59.646 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:10:59.721 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10858K/11207K, paused 6ms+15ms, total 75ms
03-21 12:10:59.726 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:10:59.726 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:10:59.726 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:10:59.726 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:10:59.726 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:10:59.731 D/StateMachine(1653): handleMessage: X
03-21 12:10:59.766 D/dalvikvm(3492): GC_CONCURRENT freed 986K, 33% free 13641K/20103K, paused 14ms+4ms, total 69ms
03-21 12:10:59.766 D/dalvikvm(3492): WAIT_FOR_CONCURRENT_GC blocked 47ms
03-21 12:10:59.826 D/dalvikvm(3492): GC_CONCURRENT freed 24K, 28% free 14628K/20103K, paused 13ms+8ms, total 40ms
03-21 12:11:00.021 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:00.066 D/dalvikvm(2097): GC_EXPLICIT freed 56K, 4% free 10858K/11207K, paused 3ms+5ms, total 46ms
03-21 12:11:00.081 D/dalvikvm(3492): GC_FOR_ALLOC freed 22K, 23% free 15649K/20103K, paused 40ms, total 40ms
03-21 12:11:00.156 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:00.191 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 3ms+3ms, total 36ms
03-21 12:11:00.251 D/dalvikvm(3492): GC_FOR_ALLOC freed 18K, 18% free 16602K/20103K, paused 17ms, total 17ms
03-21 12:11:00.331 D/dalvikvm(3492): GC_CONCURRENT freed 6K, 9% free 18469K/20103K, paused 12ms+2ms, total 28ms
03-21 12:11:00.381 D/dalvikvm(3492): GC_FOR_ALLOC freed 4K, 8% free 18504K/20103K, paused 24ms, total 25ms
03-21 12:11:00.381 I/dalvikvm-heap(3492): Grow heap (frag case) to 19.064MB for 936976-byte allocation
03-21 12:11:00.426 D/dalvikvm(3492): GC_FOR_ALLOC freed <1K, 8% free 19418K/21063K, paused 42ms, total 42ms
03-21 12:11:00.501 D/dalvikvm(3492): GC_FOR_ALLOC freed 3K, 8% free 19455K/21063K, paused 26ms, total 26ms
03-21 12:11:00.506 I/dalvikvm-heap(3492): Grow heap (frag case) to 19.994MB for 936976-byte allocation
03-21 12:11:00.551 D/dalvikvm(3492): GC_FOR_ALLOC freed <1K, 8% free 20369K/22023K, paused 43ms, total 43ms
03-21 12:11:01.216 I/ActivityManager(1653): No longer want com.cellon.ota (pid 2923): hidden #16
03-21 12:11:02.561 I/ActivityManager(1653): Killing 3116:com.android.vending/u0a42: remove task
03-21 12:11:02.696 W/ActivityManager(1653): Scheduling restart of crashed service com.android.vending/com.google.android.finsky.services.ContentSyncService in 5000ms
03-21 12:11:02.736 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:02.736 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:02.736 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:02.736 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:02.736 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:02.741 D/StateMachine(1653): handleMessage: X
03-21 12:11:04.066 I/ActivityManager(1653): Killing 3970:com.android.contacts/u0a1: remove task
03-21 12:11:04.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.contacts/.simcontacts.SimContactsService in 20000ms
03-21 12:11:05.746 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:05.746 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:05.746 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:05.746 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:05.746 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:05.746 D/StateMachine(1653): handleMessage: X
03-21 12:11:07.251 D/AndroidRuntime(3492): Shutting down VM
03-21 12:11:07.251 W/dalvikvm(3492): threadid=1: thread exiting with uncaught exception (group=0x41234300)
03-21 12:11:07.276 E/AndroidRuntime(3492): FATAL EXCEPTION: main
03-21 12:11:07.276 E/AndroidRuntime(3492): java.lang.NoSuchMethodError: com.android.systemui.recent.RecentsPanelView.access$900
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.systemui.recent.RecentsPanelView$2.onClick(RecentsPanelView.java:485)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.view.View.performClick(View.java:4084)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.view.View$PerformClick.run(View.java:16966)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Handler.handleCallback(Handler.java:615)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Handler.dispatchMessage(Handler.java:92)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.os.Looper.loop(Looper.java:137)
03-21 12:11:07.276 E/AndroidRuntime(3492): at android.app.ActivityThread.main(ActivityThread.java:4745)
03-21 12:11:07.276 E/AndroidRuntime(3492): at java.lang.reflect.Method.invokeNative(Native Method)
03-21 12:11:07.276 E/AndroidRuntime(3492): at java.lang.reflect.Method.invoke(Method.java:511)
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
03-21 12:11:07.276 E/AndroidRuntime(3492): at dalvik.system.NativeStart.main(Native Method)
03-21 12:11:08.596 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:08.601 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4144 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 352 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:08.651 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:08.681 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:08.741 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 6ms+5ms, total 59ms
03-21 12:11:08.751 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:08.751 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:08.751 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:08.751 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:08.751 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:08.761 D/StateMachine(1653): handleMessage: X
03-21 12:11:08.926 I/Process (3492): Sending signal. PID: 3492 SIG: 9
03-21 12:11:09.081 W/InputDispatcher(1653): channel '41fb8280 com.android.systemui.ImageWallpaper (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-21 12:11:09.081 E/InputDispatcher(1653): channel '41fb8280 com.android.systemui.ImageWallpaper (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.081 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '41fb8280 com.android.systemui.ImageWallpaper (server)'
03-21 12:11:09.081 I/WindowManager(1653): WINDOW DIED Window{41fb8280 com.android.systemui.ImageWallpaper paused=false}
03-21 12:11:09.081 W/WallpaperService(1653): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
03-21 12:11:09.081 I/ActivityManager(1653): Process com.android.systemui (pid 3492) has died.
03-21 12:11:09.081 D/MountService(1653): An IMountServiceListener has died!
03-21 12:11:09.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 1250ms
03-21 12:11:09.081 W/ActivityManager(1653): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 24999ms
03-21 12:11:09.086 W/InputDispatcher(1653): channel '42041cc0 RecentsPanel (server)' ~ Consumer closed input channel or an error occurred. events=0xd
03-21 12:11:09.086 E/InputDispatcher(1653): channel '42041cc0 RecentsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.086 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '42041cc0 RecentsPanel (server)'
03-21 12:11:09.086 I/WindowManager(1653): WINDOW DIED Window{42041cc0 RecentsPanel paused=false}
03-21 12:11:09.101 W/InputDispatcher(1653): channel '42058d40 StatusBar (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-21 12:11:09.101 E/InputDispatcher(1653): channel '42058d40 StatusBar (server)' ~ Channel is unrecoverably broken and will be disposed!
03-21 12:11:09.101 I/WindowState(1653): WIN DEATH: Window{42041cc0 RecentsPanel paused=false}
03-21 12:11:09.106 W/InputDispatcher(1653): Attempted to unregister already unregistered input channel '42058d40 StatusBar (server)'
03-21 12:11:09.106 I/WindowState(1653): WIN DEATH: Window{42058d40 StatusBar paused=false}
03-21 12:11:09.106 I/ActivityManager(1653): Start proc com.android.systemui for restart com.android.systemui: pid=4108 uid=10051 gids={1028, 1015, 3002, 3001}
03-21 12:11:09.106 I/WindowState(1653): WIN DEATH: Window{41fb8280 com.android.systemui.ImageWallpaper paused=false}
03-21 12:11:09.111 W/InputMethodManagerService(1653): Window already focused, ignoring focus gain of: [email protected] attribute=null
03-21 12:11:09.111 I/WindowManager(1653): WINDOW DIED Window{42058d40 StatusBar paused=false}
03-21 12:11:09.146 E/Trace (4108): error opening trace file: No such file or directory (2)
03-21 12:11:09.181 D/dalvikvm(3944): GC_CONCURRENT freed 2423K, 25% free 11680K/15559K, paused 17ms+8ms, total 65ms
03-21 12:11:10.036 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:10.096 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 7ms+5ms, total 58ms
03-21 12:11:10.426 D/dalvikvm(4108): GC_FOR_ALLOC freed 76K, 2% free 10796K/11011K, paused 34ms, total 35ms
03-21 12:11:10.461 I/dalvikvm-heap(4108): Grow heap (frag case) to 17.675MB for 7372816-byte allocation
03-21 12:11:10.511 D/dalvikvm(4108): GC_CONCURRENT freed 1K, 2% free 17995K/18247K, paused 13ms+13ms, total 51ms
03-21 12:11:10.646 D/libEGL (4108): loaded /system/lib/egl/libEGL_mali.so
03-21 12:11:10.651 D/libEGL (4108): loaded /system/lib/egl/libGLESv1_CM_mali.so
03-21 12:11:10.651 D/libEGL (4108): loaded /system/lib/egl/libGLESv2_mali.so
03-21 12:11:11.766 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:11.766 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:11.766 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-5ms arg1=1 }
03-21 12:11:11.766 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:11.766 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-6ms arg1=1 }
03-21 12:11:11.786 D/StateMachine(1653): handleMessage: X
03-21 12:11:14.786 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:14.791 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:14.791 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:14.791 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:14.791 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:14.801 D/StateMachine(1653): handleMessage: X
03-21 12:11:17.611 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:17.616 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4157 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 221 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:17.636 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:17.666 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:17.716 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 5ms+5ms, total 50ms
03-21 12:11:17.806 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:17.806 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:17.806 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:17.806 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:17.806 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:17.811 D/StateMachine(1653): handleMessage: X
03-21 12:11:20.041 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:20.096 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 5ms+4ms, total 56ms
03-21 12:11:20.821 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:20.821 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:20.821 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:20.821 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:20.821 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:20.831 D/StateMachine(1653): handleMessage: X
03-21 12:11:23.836 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:23.836 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:23.836 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:23.836 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:23.836 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:23.851 D/StateMachine(1653): handleMessage: X
03-21 12:11:24.126 I/ActivityManager(1653): Start proc com.android.contacts for service com.android.contacts/.simcontacts.SimContactsService: pid=4133 uid=10001 gids={3003, 1015, 1028}
03-21 12:11:24.186 E/Trace (4133): error opening trace file: No such file or directory (2)
03-21 12:11:24.356 D/AccountTypeManager(4133): Registering external account type=com.google.android.exchange, packageName=com.google.android.email
03-21 12:11:24.381 D/AccountTypeManager(4133): Registering 1 extension packages
03-21 12:11:24.401 I/AccountTypeManager(4133): Loaded meta-data for 4 account types, 3 accounts in 52ms(wall) 24ms(cpu)
03-21 12:11:24.421 D/dalvikvm(4133): GC_CONCURRENT freed 214K, 4% free 10891K/11271K, paused 17ms+2ms, total 37ms
03-21 12:11:26.631 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:26.636 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4159 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 214 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:26.651 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:26.691 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:26.751 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 6ms+6ms, total 60ms
03-21 12:11:26.856 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:26.856 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:26.856 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:26.856 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:26.856 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-3ms arg1=1 }
03-21 12:11:26.866 D/StateMachine(1653): handleMessage: X
03-21 12:11:29.866 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:29.871 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:29.871 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:29.871 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:29.871 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:29.881 D/StateMachine(1653): handleMessage: X
03-21 12:11:30.026 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:30.066 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 8ms+4ms, total 44ms
03-21 12:11:30.196 D/dalvikvm(1653): GC_CONCURRENT freed 2871K, 17% free 24699K/29639K, paused 19ms+8ms, total 127ms
03-21 12:11:32.886 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:32.886 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:32.886 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-1ms arg1=1 }
03-21 12:11:32.886 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:32.886 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-2ms arg1=1 }
03-21 12:11:32.906 D/StateMachine(1653): handleMessage: X
03-21 12:11:34.101 D/SystemUIService(4108): loading: class com.android.systemui.statusbar.phone.PhoneStatusBar
03-21 12:11:34.126 D/SystemUIService(4108): running: [email protected]
03-21 12:11:34.151 I/StatusBarManagerService(1653): registerStatusBar [email protected]8
03-21 12:11:34.401 D/dalvikvm(4108): DexOpt: couldn't find field Lcom/android/systemui/recent/RecentsPanelView;.mCallUiHiddenBeforeNextReload
03-21 12:11:34.401 W/dalvikvm(4108): VFY: unable to resolve instance field 495
03-21 12:11:34.401 D/dalvikvm(4108): VFY: replacing opcode 0x5c at 0x0090
03-21 12:11:34.401 I/dalvikvm(4108): Could not find method com.android.systemui.recent.RecentsPanelView$3.<init>, referenced from method com.android.systemui.recent.RecentsPanelView.handleLongPress
03-21 12:11:34.401 W/dalvikvm(4108): VFY: unable to resolve direct method 2100: Lcom/android/systemui/recent/RecentsPanelView$3;.<init> (Lcom/android/systemui/recent/RecentsPanelView;Landroid/view/View;)V
03-21 12:11:34.401 D/dalvikvm(4108): VFY: replacing opcode 0x70 at 0x0020
03-21 12:11:34.431 I/dalvikvm(4108): Could not find method com.android.systemui.recent.RecentsPanelView.access$900, referenced from method com.android.systemui.recent.RecentsPanelView$2.onClick
03-21 12:11:34.431 W/dalvikvm(4108): VFY: unable to resolve static method 2137: Lcom/android/systemui/recent/RecentsPanelView;.access$900 (Lcom/android/systemui/recent/RecentsPanelView;)Lcom/android/systemui/recent/RecentsPanelView$RecentsScrollView;
03-21 12:11:34.431 D/dalvikvm(4108): VFY: replacing opcode 0x71 at 0x0002
03-21 12:11:34.446 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:34.461 D/PhoneStatusBar(4108): disable: < expand icons alerts ticker system_info back home recent clock >
03-21 12:11:34.476 D/StorageNotification(4108): Startup with UMS connection false (media state mounted)
03-21 12:11:34.476 I/StorageNotification(4108): UMS connection changed to false (media state mounted)
03-21 12:11:34.486 D/SystemUIService(4108): loading: class com.android.systemui.power.PowerUI
03-21 12:11:34.486 D/SystemUIService(4108): running: [email protected]
03-21 12:11:34.486 D/SystemUIService(4108): loading: class com.android.systemui.media.RingtonePlayer
03-21 12:11:34.486 D/SystemUIService(4108): running: [email protected]
03-21 12:11:34.491 D/dalvikvm(1653): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:34.556 D/dalvikvm(1653): GC_EXPLICIT freed 154K, 18% free 24588K/29639K, paused 3ms+6ms, total 69ms
03-21 12:11:34.571 D/WifiService(1653): New client listening to asynchronous messages
03-21 12:11:34.626 D/dalvikvm(4108): GC_CONCURRENT freed 7395K, 38% free 12563K/20103K, paused 12ms+4ms, total 40ms
03-21 12:11:34.671 D/OpenGLRenderer(4108): Enabling debug mode 0
03-21 12:11:34.696 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:34.701 D/PhoneStatusBar(4108): updateButtons
03-21 12:11:35.651 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:35.651 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4159 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 310 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:35.666 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:35.701 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:35.741 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 4ms+4ms, total 40ms
03-21 12:11:35.906 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:35.906 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:35.906 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:35.906 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:35.906 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:35.916 D/StateMachine(1653): handleMessage: X
03-21 12:11:36.776 D/LauncherAnimUtils(2016): +++addOnDrawListener
03-21 12:11:36.871 D/dalvikvm(2016): GC_CONCURRENT freed 1443K, 10% free 15238K/16903K, paused 4ms+18ms, total 67ms
03-21 12:11:38.221 I/ActivityManager(1653): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity u=0} from pid 2016
03-21 12:11:38.411 W/BroadcastQueue(1653): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.nick.kitkatlauncher (uid 10027)
03-21 12:11:38.421 E/ActivityManager(1653): writeStringToFile error: /sys/devices/platform/s5p-tmu/disable_tmu java.io.FileNotFoundException: /sys/devices/platform/s5p-tmu/disable_tmu: open failed: ENOENT (No such file or directory)
03-21 12:11:38.456 V/PhoneStatusBar(4108): setLightsOn(true)
03-21 12:11:38.626 D/dalvikvm(3944): GC_CONCURRENT freed 425K, 26% free 11666K/15559K, paused 12ms+19ms, total 53ms
03-21 12:11:38.921 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:38.921 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:38.921 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:38.921 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:38.921 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:38.931 D/StateMachine(1653): handleMessage: X
03-21 12:11:40.046 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:40.146 D/dalvikvm(2097): GC_EXPLICIT freed 55K, 4% free 10859K/11207K, paused 6ms+9ms, total 102ms
03-21 12:11:40.316 D/dalvikvm(3944): GC_CONCURRENT freed 345K, 25% free 11733K/15559K, paused 13ms+4ms, total 41ms
03-21 12:11:40.761 D/dalvikvm(3944): GC_CONCURRENT freed 262K, 24% free 11939K/15559K, paused 4ms+16ms, total 70ms
03-21 12:11:41.936 D/StateMachine(1653): handleMessage: E msg.what=131155
03-21 12:11:41.936 D/StateMachine(1653): processMsg: ConnectedState
03-21 12:11:41.936 D/WifiStateMachine(1653): ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:41.936 D/StateMachine(1653): processMsg: L2ConnectedState
03-21 12:11:41.936 D/WifiStateMachine(1653): L2ConnectedState{ what=131155 when=-4ms arg1=1 }
03-21 12:11:41.951 D/StateMachine(1653): handleMessage: X
03-21 12:11:42.411 D/dalvikvm(3944): GC_FOR_ALLOC freed 272K, 23% free 12000K/15559K, paused 46ms, total 46ms
03-21 12:11:42.506 D/dalvikvm(3944): GC_CONCURRENT freed 59K, 21% free 12391K/15559K, paused 17ms+8ms, total 55ms
03-21 12:11:44.671 E/BatteryService(1653): disableCallIfLowPower----BatteryCharge:false mBatteryLevel:97 mLowBatteryStopCallOutLevelForCharge2 mLowBatteryStopCallOutLevel5 disableCall: false
03-21 12:11:44.676 D/BatteryService(1653): level:97 scale:100 status:3 health:2 present:true voltage: 4152 temperature: 230 technology: Li-ion AC powered:false USB powered:false icon:17302804 invalid charger:0 current: 238 charging voltage: 0 manufacturer: GOOD_BAT
03-21 12:11:44.716 D/WifiService(1653): ACTION_BATTERY_CHANGED pluggedType: 0
03-21 12:11:44.831 D/dalvikvm(2097): WAIT_FOR_CONCURRENT_GC blocked 0ms
03-21 12:11:44.871 D/dalvikvm(2097): GC_EXPLICIT freed 60K, 4% free 10858K/11207K, paused 3ms+4ms, total 40ms
Click to expand...
Click to collapse
You missed some method...
03-21 12:11:07.276 E/AndroidRuntime(3492): java.lang.NoSuchMethodError: com.android.systemui.recent.RecentsPanelView.access$900
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.systemui.recent.RecentsPanelView$2.onClick(RecentsPanelView.java:485)
did you add this in
SystemUI/smali/com/android/systemui/recent/RecentsPanelView$RecentsScrollView.smali
Code:
Code:
.method public abstract numItemsInOneScreenful()I
.end method
+ [COLOR="red"].method public abstract removeAllViewsInLayout()V[/COLOR]
+ [COLOR="red"].end method[/COLOR]
.method public abstract setAdapter(Lcom/android/systemui/recent/RecentsPanelView$TaskDescriptionAdapter;)V
.end method
can You post the recents smalis???
enricocid said:
You missed some method...
03-21 12:11:07.276 E/AndroidRuntime(3492): java.lang.NoSuchMethodError: com.android.systemui.recent.RecentsPanelView.access$900
03-21 12:11:07.276 E/AndroidRuntime(3492): at com.android.systemui.recent.RecentsPanelView$2.onClick(RecentsPanelView.java:485)
did you add this in
SystemUI/smali/com/android/systemui/recent/RecentsPanelView$RecentsScrollView.smali
Code:
Code:
.method public abstract numItemsInOneScreenful()I
.end method
+ [COLOR="red"].method public abstract removeAllViewsInLayout()V[/COLOR]
+ [COLOR="red"].end method[/COLOR]
.method public abstract setAdapter(Lcom/android/systemui/recent/RecentsPanelView$TaskDescriptionAdapter;)V
.end method
can You post the recents smalis???
Click to expand...
Click to collapse
I've reviewed, and you're right.
I had missed that line.
However, despite adding the line and recompile.
Again, the button simply does nothing.
No any error.
If I want, I leave the Catlog, or I can spend the SystemUI files to see if you can review them, because maybe I was wrong about something.
vk2r said:
I've reviewed, and you're right.
I had missed that line.
However, despite adding the line and recompile.
Again, the button simply does nothing.
No any error.
If I want, I leave the Catlog, or I can spend the SystemUI files to see if you can review them, because maybe I was wrong about something.
Click to expand...
Click to collapse
give me decompiled files
I leave the files.
I include the original files and modified.
Thank you so much for your help.
SystemUI Files
vk2r said:
I leave the files.
I include the original files and modified.
Thank you so much for your help.
SystemUI Files
Click to expand...
Click to collapse
in
SystemUI/smali/com/android/systemui/recent/RecentsHorizontalScrollView.smali
You missed that (I already changed the lines numbers, just copy & paste)
Code:
[COLOR="Red"].method public removeAllViewsInLayout()V
.locals 8
.prologue
.line 184
iget-object v5, p0, Lcom/android/systemui/recent/RecentsHorizontalScrollView;->mLinearLayout:Landroid/widget/LinearLayout;
invoke-virtual {v5}, Landroid/widget/LinearLayout;->getChildCount()I
move-result v1
.line 186
.local v1, count:I
invoke-virtual {p0}, Lcom/android/systemui/recent/RecentsHorizontalScrollView;->getScrollX()I
move-result v4
.line 187
.local v4, scrollX:I
const/4 v3, 0x0
.local v3, i:I
const/4 v2, 0x0
.local v2, delayCounter:I
:goto_0
if-ge v3, v1, :cond_1
.line 191
iget-object v5, p0, Lcom/android/systemui/recent/RecentsHorizontalScrollView;->mLinearLayout:Landroid/widget/LinearLayout;
invoke-virtual {v5, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;
move-result-object v0
.line 192
.local v0, child:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getRight()I
move-result v5
if-le v5, v4, :cond_0
.line 196
add-int/lit8 v2, v2, 0x1
.line 197
:cond_0
new-instance v5, Lcom/android/systemui/recent/RecentsHorizontalScrollView$6;
invoke-direct {v5, p0, v0}, Lcom/android/systemui/recent/RecentsHorizontalScrollView$6;-><init>(Lcom/android/systemui/recent/RecentsHorizontalScrollView;Landroid/view/View;)V
mul-int/lit16 v6, v2, 0x96
int-to-long v6, v6
invoke-virtual {p0, v5, v6, v7}, Lcom/android/systemui/recent/RecentsHorizontalScrollView;->postDelayed(Ljava/lang/Runnable;J)Z
.line 203
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 204
.end local v0 #child:Landroid/view/View;
:cond_1
return-void
.end method[/COLOR]
<----add before this: ----->
.method public removeViewInLayout(Landroid/view/View;)V
.locals 0
.parameter "view"
and also this in /SystemUI/smali/com/android/systemui/recent/RecentsVerticalScrollView.smali
Code:
[COLOR="Red"].method public removeAllViewsInLayout()V
.locals 8
.prologue
.line 191
iget-object v5, p0, Lcom/android/systemui/recent/RecentsVerticalScrollView;->mLinearLayout:Landroid/widget/LinearLayout;
invoke-virtual {v5}, Landroid/widget/LinearLayout;->getChildCount()I
move-result v1
.line 193
.local v1, count:I
invoke-virtual {p0}, Lcom/android/systemui/recent/RecentsVerticalScrollView;->getScrollY()I
move-result v4
.line 194
.local v4, scrollY:I
const/4 v3, 0x0
.local v3, i:I
const/4 v2, 0x0
.local v2, delayCounter:I
:goto_0
if-ge v3, v1, :cond_1
.line 195
iget-object v5, p0, Lcom/android/systemui/recent/RecentsVerticalScrollView;->mLinearLayout:Landroid/widget/LinearLayout;
invoke-virtual {v5, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;
move-result-object v0
.line 198
.local v0, child:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getBottom()I
move-result v5
if-le v5, v4, :cond_0
.line 199
add-int/lit8 v2, v2, 0x1
.line 203
:cond_0
new-instance v5, Lcom/android/systemui/recent/RecentsVerticalScrollView$6;
invoke-direct {v5, p0, v0}, Lcom/android/systemui/recent/RecentsVerticalScrollView$6;-><init>(Lcom/android/systemui/recent/RecentsVerticalScrollView;Landroid/view/View;)V
mul-int/lit16 v6, v2, 0x96
int-to-long v6, v6
invoke-virtual {p0, v5, v6, v7}, Lcom/android/systemui/recent/RecentsVerticalScrollView;->postDelayed(Ljava/lang/Runnable;J)Z
.line 194
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 204
.end local v0 #child:Landroid/view/View;
:cond_1
return-void
.end method[/COLOR]
<----add before this: ----->
.method public removeViewInLayout(Landroid/view/View;)V
.locals 0
.parameter "view"
then..in
SystemUI/smali/com/android/systemui/recent/RecentsPanelView.smali
move this
Code:
.line 480
const v0, 0x7f0c00cd
invoke-virtual {p0, v0}, Lcom/android/systemui/recent/RecentsPanelView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
.line 482
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
if-eqz v0, :cond_0
.line 483
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
new-instance v1, Lcom/android/systemui/recent/RecentsPanelView$2;
invoke-direct {v1, p0}, Lcom/android/systemui/recent/RecentsPanelView$2;-><init>(Lcom/android/systemui/recent/RecentsPanelView;)V
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
before this
Code:
.line 488
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsScrim:Landroid/view/View;
if-eqz v0, :cond_0
like this:
Code:
[COLOR="Red"].line 480
const v0, 0x7f0c00cd
invoke-virtual {p0, v0}, Lcom/android/systemui/recent/RecentsPanelView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
.line 482
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
if-eqz v0, :cond_0
.line 483
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mClearRecents:Landroid/widget/ImageView;
new-instance v1, Lcom/android/systemui/recent/RecentsPanelView$2;
invoke-direct {v1, p0}, Lcom/android/systemui/recent/RecentsPanelView$2;-><init>(Lcom/android/systemui/recent/RecentsPanelView;)V
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V[/COLOR]
<----add before this: ----->
.line 488
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsScrim:Landroid/view/View;
if-eqz v0, :cond_0

Android 9+ for S7 with camera and fingerprint working properly

I've tested already many S7 (herolte) ROMs and couldn't find any that would have both working properly: camera and fingerprint.
For camera: all of the AOSP based ROMs stop working after about 20 minutes of video chat (sometimes even earlier). Then you have to reboot telephone to make camera working again. I have tried PixelExperience, LineageOS 17-19 and others I don't really remember names now. You can try it yourself by starting WhatsApp or Messenger video chat and waiting bout 20 minutes.
Quite irritating is the fact, that they never mention this issue in ROM summary page, you can only test it yourself or sometimes find reports from ROM users comments, that there's this issue, and it seems quite old and known issue.
For fingerprint: all the stock kernel based ROMs support for fingerprint functionality is partial. Some applications will work with it, but some will crash or just refuse to work like Keepass2Android. Sad thing to say is, that great ROMs like for example FloydQ and Lightheart have no issue with camera but they do with fingerprint.
For this one at least I've found some explanation by @ananjaser1211 why it's not compatible with the stock kernel:
"The 3rd party fingerprint bug is not related to safetynet. It's an incompatibility between the oreo auth tz server we use and the pie+ fingerprint hidl. We can't use the lineage fingerprint hidl. I've tried but it's not compatible with oneui. And we need such custom hidls in order to have working fp"
It seems that it's impossible at the moment to have both fixed. I believe it's a kernel-related thing.
Or maybe someone has found a ROM or a way to make both working correctly?
I think fingerprint was resolved in recent lineage builds, as they found a way to make a compatible hidl that resolves the mismatch we faced, however i had no luck implementing it in my ROM, AOSP components dont really love oneui much.
regarding the camera not working, this is due to a patch made in the camera HAL to bypass FDSAN issues, it does bypass the issue, but after a while of usage it will have issues with FD's and stop working (either not loading entirely or showing a green screen)
we faced this issue in FloydQ v4 or V5 i do not recall when i implemented that patch, however due to it being unstable i resorted to a different method of disabling FDSAN in the ROM itself, rather than fixing it in the camera driver, which is a hack, not really something lineage peeps are interested in.
in lineage this is done in source by setting FDSAN error level to "ANDROID_FDSAN_ERROR_LEVEL_DISABLED"
in OneUI Q it is done by setting "debug.fdsan=0" in prop, which samsung left exposed, however it is not the case for lineage and it needs to be done in the source
I've tested most of the available Android 9+ custom ROMs for S7 (herolte) just to be sure no one made one that would have fixed both camera and fingerprint. Here is my result:
ROMs with camera issue (camera stops working after 20 minutes of uninterrupted usage like in video chat):
PixelExperience 11 and 12 by @expressluke
Lineage 16,18,19 by @Ivan_Meler
DotOS by @expressluke
crDroid by @expressluke
Evolution X by @expressluke
aicp by @expressluke
ROMs with fingerprint issue (fingerprint in some apps like Keepass2Android and some banking apps won't work):
FloydQ by @ananjaser1211
Havoc-OS by @expressluke
ResurrectionRemix by @expressluke
LightRom by @yash92duster
Lightheart by @Skulldron
MKUltraBlack by @MKUltraBlack
NfeSuperleggera by @arcatarc
So to have both working correctly there is only one option: Stock / Android 8- ROMs.
Thank you @ananjaser1211 for the explanation. So the temporary fix for Lineage (and I guess other AOSP ones too) seems quite easy. I'll give it a try as it seems easier than fixing the fingerprint issue.
For me personally faulty video/camera makes ROM unusable in these days when video chats are so common. I can live without fingerprint in some apps, it is definitely less irritating than very unreliable camera. But it is of course a personal preference in the end.
ananjaser1211 said:
in lineage this is done in source by setting FDSAN error level to "ANDROID_FDSAN_ERROR_LEVEL_DISABLED"
Click to expand...
Click to collapse
I've tried disabling FDSAN on PixelExperience. It made camera work longer (like 30 minutes instead of 20 minutes) but still camera crashes after that. Here are logs that appear when camera crashes:
Code:
01-16 10:24:06.278 13467 14324 E SnapCam_CaptureModule: onError 1 4
01-16 10:24:06.280 13467 14324 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10187; state: DISABLED
01-16 10:24:06.291 3682 13614 I chatty : uid=1047(cameraserver) HwBinder:3682_3 expire 5 lines
01-16 10:24:06.295 3621 14862 I chatty : uid=1047(cameraserver) [email protected] expire 22 lines
01-16 10:24:06.365 3608 3785 I nanohub : mergeDirectReportRequest - enable = 0 activate = 1 direct.rate = 0 normal.rate = 66667000
01-16 10:24:06.366 3608 3785 I nanohub : mergeDirectReportRequest - activate = 1 normal.rate = 66667000
01-16 10:24:06.366 3608 3785 I Sensors : batch(0) - accelerometer_sensor try to batching with 66667000
01-16 10:24:06.375 3682 3740 I chatty : uid=1047(cameraserver) HwBinder:3682_2 expire 7 lines
01-16 10:24:06.387 13467 13467 W System.err: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2267)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1161)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1234)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:327)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.setAFModeToPreview(CaptureModule.java:2287)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.cancelTouchFocus(CaptureModule.java:8107)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.cancelTouchFocus(CaptureModule.java:4366)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.onPauseBeforeSuper(CaptureModule.java:4249)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CameraActivity.onPause(CameraActivity.java:1784)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.Activity.performPause(Activity.java:8168)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1516)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4733)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4694)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4645)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:46)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
01-16 10:24:06.388 13467 13467 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
01-16 10:24:06.388 13467 13467 W System.err: at android.os.Looper.loop(Looper.java:223)
01-16 10:24:06.389 13467 13467 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7664)
01-16 10:24:06.389 13467 13467 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-16 10:24:06.389 13467 13467 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-16 10:24:06.389 13467 13467 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-16 10:24:06.390 3797 3839 W LocalDisplayAdapter: Unable to find color mode 0, ignoring request.
01-16 10:24:06.391 13467 13467 D SnapCam_CaptureModule: onPause exit camera
01-16 10:24:06.392 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.395 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.398 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.399 3797 3907 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.400 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.401 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.402 3797 8733 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.406 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.409 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.410 13467 13467 D SnapCam_CaptureModule: closeCamera
Maybe it's also matter of camera software. @ananjaser1211 Do you know if it's possible to use stock camera on AOSP based ROMS and if it is, how much effort might that take?
Makowal said:
I've tried disabling FDSAN on PixelExperience. It made camera work longer (like 30 minutes instead of 20 minutes) but still camera crashes after that. Here are logs that appear when camera crashes:
Code:
01-16 10:24:06.278 13467 14324 E SnapCam_CaptureModule: onError 1 4
01-16 10:24:06.280 13467 14324 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10187; state: DISABLED
01-16 10:24:06.291 3682 13614 I chatty : uid=1047(cameraserver) HwBinder:3682_3 expire 5 lines
01-16 10:24:06.295 3621 14862 I chatty : uid=1047(cameraserver) [email protected] expire 22 lines
01-16 10:24:06.365 3608 3785 I nanohub : mergeDirectReportRequest - enable = 0 activate = 1 direct.rate = 0 normal.rate = 66667000
01-16 10:24:06.366 3608 3785 I nanohub : mergeDirectReportRequest - activate = 1 normal.rate = 66667000
01-16 10:24:06.366 3608 3785 I Sensors : batch(0) - accelerometer_sensor try to batching with 66667000
01-16 10:24:06.375 3682 3740 I chatty : uid=1047(cameraserver) HwBinder:3682_2 expire 7 lines
01-16 10:24:06.387 13467 13467 W System.err: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2267)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1161)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1234)
01-16 10:24:06.388 13467 13467 W System.err: at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:327)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.setAFModeToPreview(CaptureModule.java:2287)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.cancelTouchFocus(CaptureModule.java:8107)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.cancelTouchFocus(CaptureModule.java:4366)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CaptureModule.onPauseBeforeSuper(CaptureModule.java:4249)
01-16 10:24:06.388 13467 13467 W System.err: at com.android.camera.CameraActivity.onPause(CameraActivity.java:1784)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.Activity.performPause(Activity.java:8168)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1516)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4733)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4694)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4645)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:46)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
01-16 10:24:06.388 13467 13467 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
01-16 10:24:06.388 13467 13467 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
01-16 10:24:06.388 13467 13467 W System.err: at android.os.Looper.loop(Looper.java:223)
01-16 10:24:06.389 13467 13467 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7664)
01-16 10:24:06.389 13467 13467 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-16 10:24:06.389 13467 13467 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-16 10:24:06.389 13467 13467 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-16 10:24:06.390 3797 3839 W LocalDisplayAdapter: Unable to find color mode 0, ignoring request.
01-16 10:24:06.391 13467 13467 D SnapCam_CaptureModule: onPause exit camera
01-16 10:24:06.392 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.395 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.398 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.399 3797 3907 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.400 3797 8295 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.401 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.402 3797 8733 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.406 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.409 3797 4390 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.lineageos.snap' uid=10187
01-16 10:24:06.410 13467 13467 D SnapCam_CaptureModule: closeCamera
Maybe it's also matter of camera software. @ananjaser1211 Do you know if it's possible to use stock camera on AOSP based ROMS and if it is, how much effort might that take?
Click to expand...
Click to collapse
Regarding the error, this is a bit generic, the actual hal crash would be in data/tombstones probably, you have disabled fdsan, but did you revert the libexynoscamera "fdsan" patches, i.e the hacks that causes the green issue in the first place. since you disabled fdsan in the rom, you dont need these patches, you should check them in the vendor tree of the rom you are compiling, (generally speaking, using unmodified Note 7 fe libexynoscamera should be fine), after that, test the camera further and keep an eye on HAL crashes (not app crashes) , in theory there should be none. since as far as i know fdsan is the only fatal error on our hal
on the topic of using stock camera on AOSP, no it is not doable, samsung camera (and apps in general) have deep SEM/SEP hooks everywhere , in frameworks / helpers / libs, without having oneui source i dont see how someone can do it without losing half their hair.
Thank you so much @ananjaser1211 for the information. In this situation I'm seriously considering trying my best with your FloydQ compliation for herolte to help fixing fingerprint issue. Personally the cameras used in AOSP are not only faulty but also slow, and herolte is already old so I'm afraid there will be only less effort in future to do anything special for this device.
About the fingerprint I know you have already done some research in the matter. In FloydQ do you think that fixing existing fingerprint software would be easier or rather porting the one from AOSP? Do you have any hints for me where to start?
Makowal said:
Thank you so much @ananjaser1211 for the information. In this situation I'm seriously considering trying my best with your FloydQ compliation for herolte to help fixing fingerprint issue. Personally the cameras used in AOSP are not only faulty but also slow, and herolte is already old so I'm afraid there will be only less effort in future to do anything special for this device.
About the fingerprint I know you have already done some research in the matter. In FloydQ do you think that fixing existing fingerprint software would be easier or rather porting the one from AOSP? Do you have any hints for me where to start?
Click to expand...
Click to collapse
I did not dive into the fingerprint issue on floyd significantly (from testing fixes perspective) so there might be ways to fix it outside the hidl, but to summarize,
we use hero mcDriverDaemon / libmcregistry / libmcclient and vendor/app/mcRegistry,
these are only designed to work properly with OREO libbauth/libauth server (the blobs responsible for fingerprint), however, we dont use oreo bauth, we use the ones from pie (gracerlte) because the oreo ones does not load properly with pie and higher fingerprint HAL, in our case it is `[email protected]`
To test some fixes, i would first start by replacing the hidl used in floyd with latest compiled one from AOSP (making sure it is being compiled with android Q dependencies) and debug why it does not exec, because it "should" work, as this is more or less a generic hidl
once the hal executes, i put back oreo libbauth/libauth servers and try my luck.
i am working on V7 of that rom, so i might give the FP another shot, maybe i missed something when i tackled it last time.
@ananjaser1211 I've tried again with an official PixelExperience ROM and this time I did exactly as you said. I'm happy to say that it worked! I've tested it for over an hour. I finally have a ROM with both working Camera and Fingerprint
I suspect that the reason lays in this commit from git log:
Git:
commit 77e12d12a0c9659aed776332c0f1511c54d2b906
Date: Thu Aug 6 09:32:35 2020 +0200
universal8890: pin hexedited libexynoscamera3
* some fd close in loop causes android Q fdsan go mad
* binary patching them as nop fixes the issue
Change-Id: I56f409fde5902b5340291bb5d454a619cdd7d0a0
What I think happens here is after the binary was hexedited it doesn't close fds, so after some time there are too many open and the app crashes (even if fdsan is disabled).
Of course it is some workaround because fdsan is disabled now but well, good enough for me
Makowal said:
@ananjaser1211 I've tried again with an official PixelExperience ROM and this time I did exactly as you said. I'm happy to say that it worked! I've tested it for over an hour. I finally have a ROM with both working Camera and Fingerprint
I suspect that the reason lays in this commit from git log:
Git:
commit 77e12d12a0c9659aed776332c0f1511c54d2b906
Date: Thu Aug 6 09:32:35 2020 +0200
universal8890: pin hexedited libexynoscamera3
* some fd close in loop causes android Q fdsan go mad
* binary patching them as nop fixes the issue
Change-Id: I56f409fde5902b5340291bb5d454a619cdd7d0a0
What I think happens here is after the binary was hexedited it doesn't close fds, so after some time there are too many open and the app crashes (even if fdsan is disabled).
Of course it is some workaround because fdsan is disabled now but well, good enough for me
Click to expand...
Click to collapse
Fantastic to hear! and yes indeed the patch used to prevent fdsan from breaking camera also allows for FDs to say open i believe and after a while the camera breaks, Glad the workaround is working for you
Recently I started using this newly updated ROM of @Exodusnick . It is a Lineage 16.0 (Android 9) and has both camera and fingerprint working without issues so it meets my criteria (as in this topic title). Unfortunately higher Android versions of the same microG compilation do have camera crash issue after 20m usage, but Pie is ok and works for me.
Personally I'd definitely prefer some Android 9 with OneUI. I don't care about newest Android versions, just the ROM to be daily-usable (stable). Android 9 is required by one of my must-have applications this is the only reason why I put it as a minimum version. Unfortunately I don't think any Android 9 OneUI ROM for S7 exists with working fingerprint. @ananjaser1211 did your compilations of Android 9 had this fingerprint issue?

Trying to get the stock camera app to work under AOSP

Hi there,
a few days ago I posted my flavor of Pixel Experience 12 Plus and immediately got feedback that I should do something about the camera not working.
So, that's what I'm now trying to do. After bricking my phone several times and setting up my whole development system on a new PC, I now have a stable phone again and am able to continue.
I have added more proprietary files that were missing according to logcat.
Code:
lib/[email protected]
lib64/[email protected]
system_ext/lib/[email protected]
system_ext/lib64/[email protected]
Now I'm stuck here:
Code:
09-25 07:15:24.951 10496 10774 E AndroidRuntime: FATAL EXCEPTION: CameraAccess
09-25 07:15:24.951 10496 10774 E AndroidRuntime: Process: com.sonyericsson.android.camera, PID: 10496
09-25 07:15:24.951 10496 10774 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNK7android6Parcel10readIntPtrEv" referenced by "/system/lib64/libcacao_client.so"...
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:998)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1656)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonymobile.imageprocessor.bypasscamera2.BypassCamera.loadNativeLibrary(BypassCamera.java:214)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$LoadNativeLibraryTask.doCameraDeviceAccess(CameraDeviceHandler.java:744)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$CameraDeviceAccessTask.run(CameraDeviceHandler.java:4017)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
As far as I know, _ZNK7android6Parcel10readIntPtrEv is part of libbinder.so that belongs to the NDK and really should be part of the ROM.
Maybe someone has a clue how to continue?
I read on here not too long ago that the stock camera app broke since Android 12 because of a storage permission, I think? The only ROM I know of that has the stock camera app is Lineage 18.1 by @Sjll, but I don't think that ROM is AOSP based.
I think a few of the experts here like, @Miustone, @Sjll, @bobbyamarthaa, @elmaleek03, (sorry for the tags guys) might be able to help.
The moment you (or anyone else) get that stock camera app working I am gonna install your ROM straight away, it's the only thing keeping me on the Stock ROM.
Please continue the great work!
grisu59964 said:
Hi there,
a few days ago I posted my flavor of Pixel Experience 12 Plus and immediately got feedback that I should do something about the camera not working.
So, that's what I'm now trying to do. After bricking my phone several times and setting up my whole development system on a new PC, I now have a stable phone again and am able to continue.
I have added more proprietary files that were missing according to logcat.
Code:
lib/[email protected]
lib64/[email protected]
system_ext/lib/[email protected]
system_ext/lib64/[email protected]
Now I'm stuck here:
Code:
09-25 07:15:24.951 10496 10774 E AndroidRuntime: FATAL EXCEPTION: CameraAccess
09-25 07:15:24.951 10496 10774 E AndroidRuntime: Process: com.sonyericsson.android.camera, PID: 10496
09-25 07:15:24.951 10496 10774 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNK7android6Parcel10readIntPtrEv" referenced by "/system/lib64/libcacao_client.so"...
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:998)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1656)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonymobile.imageprocessor.bypasscamera2.BypassCamera.loadNativeLibrary(BypassCamera.java:214)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$LoadNativeLibraryTask.doCameraDeviceAccess(CameraDeviceHandler.java:744)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$CameraDeviceAccessTask.run(CameraDeviceHandler.java:4017)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
As far as I know, _ZNK7android6Parcel10readIntPtrEv is part of libbinder.so that belongs to the NDK and really should be part of the ROM.
Maybe someone has a clue how to continue?
Click to expand...
Click to collapse
do using sony-msmnile tree?
i think u need to rebuild the tree's, cz msm-nile tree have many errors.
try to get contact with other dev here.
taken
You can view and join @Xperia007 right away.
t.me
grisu59964 said:
Hi there,
a few days ago I posted my flavor of Pixel Experience 12 Plus and immediately got feedback that I should do something about the camera not working.
So, that's what I'm now trying to do. After bricking my phone several times and setting up my whole development system on a new PC, I now have a stable phone again and am able to continue.
I have added more proprietary files that were missing according to logcat.
Code:
lib/[email protected]
lib64/[email protected]
system_ext/lib/[email protected]
system_ext/lib64/[email protected]
Now I'm stuck here:
Code:
09-25 07:15:24.951 10496 10774 E AndroidRuntime: FATAL EXCEPTION: CameraAccess
09-25 07:15:24.951 10496 10774 E AndroidRuntime: Process: com.sonyericsson.android.camera, PID: 10496
09-25 07:15:24.951 10496 10774 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNK7android6Parcel10readIntPtrEv" referenced by "/system/lib64/libcacao_client.so"...
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:998)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1656)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonymobile.imageprocessor.bypasscamera2.BypassCamera.loadNativeLibrary(BypassCamera.java:214)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$LoadNativeLibraryTask.doCameraDeviceAccess(CameraDeviceHandler.java:744)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$CameraDeviceAccessTask.run(CameraDeviceHandler.java:4017)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
09-25 07:15:24.951 10496 10774 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
As far as I know, _ZNK7android6Parcel10readIntPtrEv is part of libbinder.so that belongs to the NDK and really should be part of the ROM.
Maybe someone has a clue how to continue?
Click to expand...
Click to collapse
Arent You the Guy from Android-Hilfe.de? I'm glad someone works on My old Xperia 5... Arent You willed to join Me with DIOS so we can work together on such Things? I have some other People around who can surely help with the Camera...
BrandonMCMFG said:
I read on here not too long ago that the stock camera app broke since Android 12 because of a storage permission, I think? The only ROM I know of that has the stock camera app is Lineage 18.1 by @Sjll, but I don't think that ROM is AOSP based.
I think a few of the experts here like, @Miustone, @Sjll, @bobbyamarthaa, @elmaleek03, (sorry for the tags guys) might be able to help.
The moment you (or anyone else) get that stock camera app working I am gonna install your ROM straight away, it's the only thing keeping me on the Stock ROM.
Please continue the great work!
Click to expand...
Click to collapse
Thanks for tagging Me, glad to see some Life over here!
bobbyamarthaa said:
do using sony-msmnile tree?
i think u need to rebuild the tree's, cz msm-nile tree have many errors.
try to get contact with other dev here.
taken
You can view and join @Xperia007 right away.
t.me
Click to expand...
Click to collapse
Trees are availble on many Places. I would suggest using the SODP Trees since everything works over there except for Mobile Data...
Miustone said:
Arent You the Guy from Android-Hilfe.de? I'm glad someone works on My old Xperia 5... Arent You willed to join Me with DIOS so we can work together on such Things? I have some other People around who can surely help with the Camera...
Thanks for tagging Me, glad to see some Life over here!
Trees are availble on many Places. I would suggest using the SODP Trees since everything works over there except for Mobile Data...
Click to expand...
Click to collapse
SODP need to much modified to work perfectly.
and it removes all xperia exclusive features.
Thank you everyone for your replies! I've been active in background, working on the problem.
So far, I have created a shim for _ZNK7android6Parcel10readIntPtrEv and modified the references of libcacao_client to use libbinder.so and libhidlbase.so. Now the stock camera app starts, but it still won't work. It takes a few seconds before the message "Unknown error" appears on the screen.
No more exceptions in log, but I saw this:
Code:
10-03 12:25:42.968 14151 14194 I CameraApp: [PlatformCapability] shared-preferences is not valid: name = com.sonyericsson.android.camera.supported_values.platform
10-03 12:25:42.971 1691 4803 W ServiceManager: Permission failure: android.permission.HIGH_SAMPLING_RATE_SENSORS from uid=10064 pid=14151
10-03 12:25:42.977 14151 14194 I CameraManagerGlobal: Connecting to camera service
10-03 12:25:42.979 1336 1936 W ServiceManager: Permission failure: android.permission.CAMERA_OPEN_CLOSE_LISTENER from uid=10064 pid=14151
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: Cannot read /data/user/0/com.sonyericsson.android.camera/shared_prefs/com.sonyericsson.android.camera.supported_values.4.xml
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: org.xmlpull.v1.XmlPullParserException: Unexpected end of document
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at com.android.internal.util.XmlUtils.readValueXml(XmlUtils.java:1548)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at com.android.internal.util.XmlUtils.readMapXml(XmlUtils.java:969)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl.loadFromDisk(SharedPreferencesImpl.java:171)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl.access$000(SharedPreferencesImpl.java:59)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl$1.run(SharedPreferencesImpl.java:140)
10-03 12:25:43.000 14151 14194 I CameraApp: [PlatformCapability] shared-preferences is not valid: name = com.sonyericsson.android.camera.supported_values.4
10-03 12:25:43.003 636 636 E SELinux : avc: denied { find } for pid=14151 uid=10064 name=cacao scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
10-03 12:25:43.003 14151 14194 I ServiceManager: Waiting for service 'cacao' on '/dev/binder'...
Is it possible that the cacao service is not running or cannot be found because of missing SELinux permissions?
I already set SELinux to permissive, but the only change was permissive=1 in the log.
bobbyamarthaa said:
do using sony-msmnile tree?
i think u need to rebuild the tree's, cz msm-nile tree have many errors.
try to get contact with other dev here.
taken
You can view and join @Xperia007 right away.
t.me
Click to expand...
Click to collapse
I'm now using a mixture of elmaleek03s device tree and some additional changes for the stock camera app. The advise to head over to Telegram was already helpful as I got the hint with the shim there.
Miustone said:
Arent You the Guy from Android-Hilfe.de? I'm glad someone works on My old Xperia 5... Arent You willed to join Me with DIOS so we can work together on such Things? I have some other People around who can surely help with the Camera...
Click to expand...
Click to collapse
I was active on android-hilfe.de, yes, but maybe I'm better known for my work back in the days on SE-world. I also dropped you a PM.
Currently, I'm using my Xperia 5 as my daily driver (keeping my old buddy alive) so I try not to ruin everything all the time. But I'm really curious what you are doing with DIOS.
grisu59964 said:
Thank you everyone for your replies! I've been active in background, working on the problem.
So far, I have created a shim for _ZNK7android6Parcel10readIntPtrEv and modified the references of libcacao_client to use libbinder.so and libhidlbase.so. Now the stock camera app starts, but it still won't work. It takes a few seconds before the message "Unknown error" appears on the screen.
No more exceptions in log, but I saw this:
Code:
10-03 12:25:42.968 14151 14194 I CameraApp: [PlatformCapability] shared-preferences is not valid: name = com.sonyericsson.android.camera.supported_values.platform
10-03 12:25:42.971 1691 4803 W ServiceManager: Permission failure: android.permission.HIGH_SAMPLING_RATE_SENSORS from uid=10064 pid=14151
10-03 12:25:42.977 14151 14194 I CameraManagerGlobal: Connecting to camera service
10-03 12:25:42.979 1336 1936 W ServiceManager: Permission failure: android.permission.CAMERA_OPEN_CLOSE_LISTENER from uid=10064 pid=14151
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: Cannot read /data/user/0/com.sonyericsson.android.camera/shared_prefs/com.sonyericsson.android.camera.supported_values.4.xml
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: org.xmlpull.v1.XmlPullParserException: Unexpected end of document
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at com.android.internal.util.XmlUtils.readValueXml(XmlUtils.java:1548)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at com.android.internal.util.XmlUtils.readMapXml(XmlUtils.java:969)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl.loadFromDisk(SharedPreferencesImpl.java:171)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl.access$000(SharedPreferencesImpl.java:59)
10-03 12:25:42.999 14151 14220 W SharedPreferencesImpl: at android.app.SharedPreferencesImpl$1.run(SharedPreferencesImpl.java:140)
10-03 12:25:43.000 14151 14194 I CameraApp: [PlatformCapability] shared-preferences is not valid: name = com.sonyericsson.android.camera.supported_values.4
10-03 12:25:43.003 636 636 E SELinux : avc: denied { find } for pid=14151 uid=10064 name=cacao scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
10-03 12:25:43.003 14151 14194 I ServiceManager: Waiting for service 'cacao' on '/dev/binder'...
Is it possible that the cacao service is not running or cannot be found because of missing SELinux permissions?
I already set SELinux to permissive, but the only change was permissive=1 in the log.
I'm now using a mixture of elmaleek03s device tree and some additional changes for the stock camera app. The advise to head over to Telegram was already helpful as I got the hint with the shim there.
I was active on android-hilfe.de, yes, but maybe I'm better known for my work back in the days on SE-world. I also dropped you a PM.
Currently, I'm using my Xperia 5 as my daily driver (keeping my old buddy alive) so I try not to ruin everything all the time. But I'm really curious what you are doing with DIOS.
Click to expand...
Click to collapse
glad to see someone popping out here. sadly im no longer using bahamut since months ago, i hope this issue can be fixed in a near. ive already tried ask Sjll, but he gave no clue except including all the related camera files in the build process. thats why his builds has a dedicated stock cam ROM ZIPS.
elmaleek03 said:
glad to see someone popping out here. sadly im no longer using bahamut since months ago, i hope this issue can be fixed in a near. ive already tried ask Sjll, but he gave no clue except including all the related camera files in the build process. thats why his builds has a dedicated stock cam ROM ZIPS.
Click to expand...
Click to collapse
om, coba intip ini.
GitHub - moghn1/android_device_sony_j9110: This is the error tree
This is the error tree. Contribute to moghn1/android_device_sony_j9110 development by creating an account on GitHub.
github.com
maybe u can use this as refference grisu59964
he is the same person who has built a custom rom for xperia 1 on coolapk forum
There were changes done by @elmaleek03 on setup-makefiles.sh that look like the camera APK gets elevated rights. Do I need to call setup-makefiles.sh manually during build? Can anybody help me fully understand what is going on in this commit?
added missing proprietary files and fix camera crash · sony-msmnile/[email protected]
:)
github.com
As far as my research goes now, the camera app needs to be executed in the system_app domain rather than platform_app and I would like to change that.
Alright, I found the answer to my last question myself. setup-makefiles.sh is called by extract-files.sh. And the code from the commit is written to vendor/sony/bahamut/Android.mk for anyone curious.
I'm currently starting /system/bin/cacaoserver via adb shell to get a message why the service crashes.
I have no idea why there is nothing to see in the log during boot. But at least now there is the first progress since days. Stay tuned!
Current state: cacaoserver is now able to start. I went through a lot of missing files and then segfaults. Unfortunately, the cacaoserver does somehow not survive the boot phase and is not running any more when the camera app starts. When I start the binary manually, it stays alive.
If SELinux is not enforcing, the camera app will start, connect to the cacaoserver and then crash:
Code:
10-09 10:24:50.660 860 860 D Zygote : Forked child process 12098
10-09 10:24:50.660 1639 1743 I ActivityManager: Start proc 12098:com.sonyericsson.android.camera/u0a64 for pre-top-activity {com.sonyericsson.android.camera/com.sonyericsson.android.camera.CameraActivity}
10-09 10:24:50.691 12098 12098 E .android.camer: Not starting debugger since process cannot load the jdwp agent.
10-09 10:24:50.694 12098 12098 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
10-09 10:24:50.702 12098 12098 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10064; state: DISABLED
10-09 10:24:50.712 12098 12098 W .android.camer: ClassLoaderContext shared library size mismatch. Expected=0, found=1 (PCL[] | PCL[]{PCL[/product/framework/com.sonymobile.camera.addon_impl.jar*1938205956]})
10-09 10:24:50.719 12098 12098 V GraphicsEnvironment: ANGLE Developer option for 'com.sonyericsson.android.camera' set to: 'default'
10-09 10:24:50.720 12098 12098 V GraphicsEnvironment: ANGLE GameManagerService for com.sonyericsson.android.camera: false
10-09 10:24:50.720 12098 12098 D NetworkSecurityConfig: No Network Security Config specified, using platform default
10-09 10:24:50.721 12098 12098 D NetworkSecurityConfig: No Network Security Config specified, using platform default
10-09 10:24:50.801 12098 12119 I CameraManagerGlobal: Connecting to camera service
10-09 10:24:50.816 630 630 E SELinux : avc: denied { find } for pid=12098 uid=10064 name=cacao scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=1
10-09 10:24:50.866 1318 27514 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10064 pid=12098
10-09 10:24:50.885 12067 12070 D CacaoService: client create - pid:12098
10-09 10:24:50.885 12067 12070 I cacao : 2079724329205 pal.cpp (2611) 12070 I [INF] PAL_Create
10-09 10:24:50.888 12098 12122 E .android.camer: BypassCameraBurst_changeToPhotoMode: stop cacao ret=-111
10-09 10:24:50.888 12098 12122 D .android.camer: [Debug] BypassCameraBurst_changeToPhotoMode: burstNum=4
10-09 10:24:50.890 12098 12122 E AndroidRuntime: FATAL EXCEPTION: CameraAccess
10-09 10:24:50.890 12098 12122 E AndroidRuntime: Process: com.sonyericsson.android.camera, PID: 12098
10-09 10:24:50.890 12098 12122 E AndroidRuntime: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { act=com.sonymobile.cameracommon.action.CAMERA_STATUS_UPDATE pkg=com.sonymobile.cameracommon (has extras) }: app is in background uid null
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1870)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.app.ContextImpl.startService(ContextImpl.java:1826)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:776)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.cameracommon.status.CameraStatusPublisher.publish(CameraStatusPublisher.java:96)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.cameracommon.status.CameraStatusPublisher.publish(CameraStatusPublisher.java:86)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.android.camera.device.BypassCameraController$OpenBypassCameraTask.doCameraDeviceAccess(BypassCameraController.java:1166)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$CameraDeviceAccessTask.run(CameraDeviceHandler.java:4017)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
10-09 10:24:50.892 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.894 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.896 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.900 1639 12166 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
10-09 10:24:50.900 12098 12098 I DynamicAreaFilter: .init sSmoothFactor=0.9 screenSize.x=1080 screenSize.y=2520 mScreenHeight=2520 mLimitScale=71 mDynamicFilterType=2 mValidScreenHeightMin=252 mValidScreenHeightMax=1789
10-09 10:24:50.900 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.902 1639 4547 W ActivityTaskManager: Force finishing activity com.sonyericsson.android.camera/.CameraActivity
10-09 10:24:50.911 12098 12098 D SYMPHONY: Detected Symphony running as an Android application, using logcat for all debugging output
10-09 10:24:50.911 12098 12098 I SYMPHONY: [36mA t794df074f8 /local/mnt/workspace/pcgbait/docker.ci.tmp/build/aarch64-android-clang6.0/SecondParty/symphony/src/symphony/src/lib/internal/soc/topology.c:674 Could not resolve a cluster for cpu 7. The cluster may be offline. Power request will be ignored.[0m
10-09 10:24:50.920 12098 12122 I Process : Sending signal. PID: 12098 SIG: 9
10-09 10:24:50.920 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-09 10:24:50.920 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
10-09 10:24:50.921 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-09 10:24:50.921 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
10-09 10:24:50.944 957 2454 D [email protected]_lock: Release wakelock is released
10-09 10:24:50.973 12067 12067 D CacaoService: client delete - pid:12098
10-09 10:24:50.974 1639 1944 I ActivityManager: Process com.sonyericsson.android.camera (pid 12098) has died: fg TOP
10-09 10:24:50.974 1639 1746 I libprocessgroup: Successfully killed process cgroup uid 10064 pid 12098 in 0ms
The short life of the camera app process. 255 ms. Any hint solving those problems will massively improve my development speed, so please get in touch if you have a clue.
That is a very short life for a Camera App...
Rest in Piece Camera App - Lived for 255ms with SELinux set to permissive.
In all seriousness though, I really appreciate these updates please keep them coming.
grisu59964 said:
Current state: cacaoserver is now able to start. I went through a lot of missing files and then segfaults. Unfortunately, the cacaoserver does somehow not survive the boot phase and is not running any more when the camera app starts. When I start the binary manually, it stays alive.
If SELinux is not enforcing, the camera app will start, connect to the cacaoserver and then crash:
Code:
10-09 10:24:50.660 860 860 D Zygote : Forked child process 12098
10-09 10:24:50.660 1639 1743 I ActivityManager: Start proc 12098:com.sonyericsson.android.camera/u0a64 for pre-top-activity {com.sonyericsson.android.camera/com.sonyericsson.android.camera.CameraActivity}
10-09 10:24:50.691 12098 12098 E .android.camer: Not starting debugger since process cannot load the jdwp agent.
10-09 10:24:50.694 12098 12098 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
10-09 10:24:50.702 12098 12098 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10064; state: DISABLED
10-09 10:24:50.712 12098 12098 W .android.camer: ClassLoaderContext shared library size mismatch. Expected=0, found=1 (PCL[] | PCL[]{PCL[/product/framework/com.sonymobile.camera.addon_impl.jar*1938205956]})
10-09 10:24:50.719 12098 12098 V GraphicsEnvironment: ANGLE Developer option for 'com.sonyericsson.android.camera' set to: 'default'
10-09 10:24:50.720 12098 12098 V GraphicsEnvironment: ANGLE GameManagerService for com.sonyericsson.android.camera: false
10-09 10:24:50.720 12098 12098 D NetworkSecurityConfig: No Network Security Config specified, using platform default
10-09 10:24:50.721 12098 12098 D NetworkSecurityConfig: No Network Security Config specified, using platform default
10-09 10:24:50.801 12098 12119 I CameraManagerGlobal: Connecting to camera service
10-09 10:24:50.816 630 630 E SELinux : avc: denied { find } for pid=12098 uid=10064 name=cacao scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=1
10-09 10:24:50.866 1318 27514 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10064 pid=12098
10-09 10:24:50.885 12067 12070 D CacaoService: client create - pid:12098
10-09 10:24:50.885 12067 12070 I cacao : 2079724329205 pal.cpp (2611) 12070 I [INF] PAL_Create
10-09 10:24:50.888 12098 12122 E .android.camer: BypassCameraBurst_changeToPhotoMode: stop cacao ret=-111
10-09 10:24:50.888 12098 12122 D .android.camer: [Debug] BypassCameraBurst_changeToPhotoMode: burstNum=4
10-09 10:24:50.890 12098 12122 E AndroidRuntime: FATAL EXCEPTION: CameraAccess
10-09 10:24:50.890 12098 12122 E AndroidRuntime: Process: com.sonyericsson.android.camera, PID: 12098
10-09 10:24:50.890 12098 12122 E AndroidRuntime: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { act=com.sonymobile.cameracommon.action.CAMERA_STATUS_UPDATE pkg=com.sonymobile.cameracommon (has extras) }: app is in background uid null
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1870)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.app.ContextImpl.startService(ContextImpl.java:1826)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:776)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.cameracommon.status.CameraStatusPublisher.publish(CameraStatusPublisher.java:96)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.cameracommon.status.CameraStatusPublisher.publish(CameraStatusPublisher.java:86)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.android.camera.device.BypassCameraController$OpenBypassCameraTask.doCameraDeviceAccess(BypassCameraController.java:1166)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at com.sonyericsson.android.camera.device.CameraDeviceHandler$CameraDeviceAccessTask.run(CameraDeviceHandler.java:4017)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
10-09 10:24:50.890 12098 12122 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
10-09 10:24:50.892 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.894 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.896 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.900 1639 12166 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
10-09 10:24:50.900 12098 12098 I DynamicAreaFilter: .init sSmoothFactor=0.9 screenSize.x=1080 screenSize.y=2520 mScreenHeight=2520 mLimitScale=71 mDynamicFilterType=2 mValidScreenHeightMin=252 mValidScreenHeightMax=1789
10-09 10:24:50.900 12098 12149 E CameraApp: [PlatformCapability] CameraInfo cannot be retrieved. Because PlatformCapability is not prepared.
10-09 10:24:50.902 1639 4547 W ActivityTaskManager: Force finishing activity com.sonyericsson.android.camera/.CameraActivity
10-09 10:24:50.911 12098 12098 D SYMPHONY: Detected Symphony running as an Android application, using logcat for all debugging output
10-09 10:24:50.911 12098 12098 I SYMPHONY: [36mA t794df074f8 /local/mnt/workspace/pcgbait/docker.ci.tmp/build/aarch64-android-clang6.0/SecondParty/symphony/src/symphony/src/lib/internal/soc/topology.c:674 Could not resolve a cluster for cpu 7. The cluster may be offline. Power request will be ignored.[0m
10-09 10:24:50.920 12098 12122 I Process : Sending signal. PID: 12098 SIG: 9
10-09 10:24:50.920 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-09 10:24:50.920 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
10-09 10:24:50.921 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-09 10:24:50.921 1639 1742 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
10-09 10:24:50.944 957 2454 D [email protected]_lock: Release wakelock is released
10-09 10:24:50.973 12067 12067 D CacaoService: client delete - pid:12098
10-09 10:24:50.974 1639 1944 I ActivityManager: Process com.sonyericsson.android.camera (pid 12098) has died: fg TOP
10-09 10:24:50.974 1639 1746 I libprocessgroup: Successfully killed process cgroup uid 10064 pid 12098 in 0ms
The short life of the camera app process. 255 ms. Any hint solving those problems will massively improve my development speed, so please get in touch if you have a clue.
Click to expand...
Click to collapse
Really good work bro please keep it up with your work
Nice to see some one will work on stock camera for android 12 xperia 5
Best of luck for next progress
Short status update: It has been a rough few weeks for me in real life so I did not have so much time playing around and ruining my phone. I tried to make the Xperia 5 II stock camera app work, but that one freezes as soon as you capture something - without leaving a trace in the logs.
I also tried decompiling and modifying the Xperia 5 camera app and adding probably missing things to the manifest, but that did not improve anything.
My device bricked twice and I'm currently running out of ideas.
Maybe something worth thinking about is the fact that the error message from my last logcat
Code:
AndroidRuntime: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { act=com.sonymobile.cameracommon.action.CAMERA_STATUS_UPDATE pkg=com.sonymobile.cameracommon (has extras) }: app is in background uid null
belongs to com.sonymobile.cameracommon which maybe also does not start properly.
I'm not giving up yet, but I'm not too optimistic either.
grisu59964 said:
Short status update: It has been a rough few weeks for me in real life so I did not have so much time playing around and ruining my phone. I tried to make the Xperia 5 II stock camera app work, but that one freezes as soon as you capture something - without leaving a trace in the logs.
I also tried decompiling and modifying the Xperia 5 camera app and adding probably missing things to the manifest, but that did not improve anything.
My device bricked twice and I'm currently running out of ideas.
Maybe something worth thinking about is the fact that the error message from my last logcat
Code:
AndroidRuntime: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { act=com.sonymobile.cameracommon.action.CAMERA_STATUS_UPDATE pkg=com.sonymobile.cameracommon (has extras) }: app is in background uid null
belongs to com.sonymobile.cameracommon which maybe also does not start properly.
I'm not giving up yet, but I'm not too optimistic either.
Click to expand...
Click to collapse
I think xperia 5ii n xperia 5 have different camera drivers so face freezing during capture any images only slow motion video working in this app
I personally tried it so
Hello @grisu59964
Currently trying the same exercise now.
Could you please provide the shim you created ? I tried to find a github from you but no luck
About the permissions exceptions you are facing, did you try to go in permissive mode ?
Won't solve everything but should help.
nailyk said:
Hello @grisu59964
Currently trying the same exercise now.
Could you please provide the shim you created ? I tried to find a github from you but no luck
About the permissions exceptions you are facing, did you try to go in permissive mode ?
Won't solve everything but should help.
Click to expand...
Click to collapse
You can find my device tree on GitHub. https://github.com/grisumedia/android_device_sony_bahamut
Unfortunately, setting SELinux to permissive did not help either.

Categories

Resources