Firefly开源社区

打印 上一主题 下一主题

[Android] 系统相机打开崩溃

42

积分

0

威望

0

贡献

技术小白

积分
42

系统相机打开崩溃

发表于 2020-5-25 15:36:27      浏览:14499 | 回复:6        打印      只看该作者   [复制链接] 楼主
平台:RK3399proJD4
源码版本:6802ae33f30a38ffe2ca44df0298d414d821b1e1
问题描述:使用源码编译出的镜像烧入后,开启系统相机时会崩溃(不论接不接摄像头(OV13850));后尝试了使用官方固件,可以正常打开相机并成像;
源码未进行实质改动:
zhang@zhang-OptiPlex-3070:~/workspace/rk3399pro/AIO-RK3399Pro$ git status
warning: 不能访问 'log/.gitignore': 权限不够
位于分支 master
未跟踪的文件:
  (使用 "git add <文件>..." 以包含要提交的内容)

    .bundle/
    kernel/arch/arm64/boot/dts/rockchip/rk3399pro-firefly-usbacm-zhang.dtsi
    kernel/drivers/media/i2c/ov13850-back.c
    kernel/drivers/media/i2c/ov13850-zhang.c
    kernel/drivers/media/i2c/soc_camera/rockchip/ov13850_v4l2-i2c-subdev-zhang.c
    kernel/drivers/media/i2c/soc_camera/rockchip/ov_camera_module-zhang.c
    kernel/drivers/media/i2c/soc_camera/rockchip/rk_camera_module-zhang.c
    linuxTool-v1.0/
    log/


耗费了 15.73 秒以枚举未跟踪的文件。'status -uno' 也许能提高速度,
但您需要小心不要忘了添加新文件(参见 'git help status')。
提交为空,但是存在尚未跟踪的文件(使用 "git add" 建立跟踪)


崩溃log如下:
05-25 02:30:04.860   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:04.877  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: start_output_stream:721 out = 0xe7429000,device = 0x408,outputs[OUTPUT_HDMI_MULTI] = 0x0
05-25 02:30:05.077  1266  1521 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera2/com.android.camera.CameraLauncher bnds=[621,151][911,332]} from uid 10008
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: read_out_sound_card: buf =  0 [rkhdmidpsound  ]: rk-hdmi-dp-soun - rk-hdmi-dp-sound
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: get_card_number: number =0,card_name =  0 [rkhdmidpsound  ]: rk-hdmi-dp-soun - rk-hdmi-dp-sound
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: read_out_sound_card: buf =                       rk-hdmi-dp-sound
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: read_out_sound_card: buf =  1 [rockchiprk809co]: rockchip_rk809- - rockchip,rk809-codec
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: get_card_number: number =1,card_name =  1 [rockchiprk809co]: rockchip_rk809- - rockchip,rk809-codec
05-25 02:30:05.077  1211  2241 D AudioHardwareTiny: read_out_sound_card: buf =                       rockchip,rk809-codec
05-25 02:30:05.077  1211  2241 D alsa_route: route_info->sound_card 0, route_info->devices 0  
05-25 02:30:05.078  1211  2241 D alsa_route: route_set_controls() set route 11
05-25 02:30:05.081  1211  2241 D AudioHardwareTiny: start_output_stream:816, out = 0xe7429000
05-25 02:30:05.083  1211  2241 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
05-25 02:30:05.084  1211  2241 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
05-25 02:30:05.102  1266  1521 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}----com.android.camera2
05-25 02:30:05.113  1266  1402 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}----com.android.camera2
05-25 02:30:05.116  2077  2077 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@4fcf009
05-25 02:30:05.131  1266  1280 E memtrack: Couldn't load memtrack module
05-25 02:30:05.132  1266  1280 W android.os.Debug: failed to get memory consumption info: -1
05-25 02:30:05.154  2077  2077 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@47b83c5
05-25 02:30:05.154  2077  2077 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraActivity.onCreateTasks - START
05-25 02:30:05.156  2077  2077 D CAM_LocationManager: Using legacy location provider.
05-25 02:30:05.169  2077  2077 D CAM_MemoryManagerImpl: Max native memory: 358 MB
05-25 02:30:05.176  2077  2077 W SoundPool: Use of stream types is deprecated for operations other than volume control
05-25 02:30:05.176  2077  2077 W SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
05-25 02:30:05.176  2077  2077 I CAM_OneCamFtrCnfgCrtr: CaptureModule? true
05-25 02:30:05.180  1266  1402 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.camera2/com.android.camera.PermissionsActivity} from uid 10056
05-25 02:30:05.194  1266  1402 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.PermissionsActivity}----com.android.camera2
05-25 02:30:05.202  1266  1280 E memtrack: Couldn't load memtrack module
05-25 02:30:05.203  1266  1280 W android.os.Debug: failed to get memory consumption info: -1
05-25 02:30:05.211  2077  2077 V CAM_Profiler: [ 56.675ms][ui] GUARD: CameraActivity.onCreateTasks - [10.070ms] Glide.setup
05-25 02:30:05.213  2077  2077 V CAM_Profiler: [ 58.972ms][ui] GUARD: CameraActivity.onCreateTasks - [ 2.298ms] OneCameraManager.get
05-25 02:30:05.221  2077  2077 E SoundPool: error loading /product/media/audio/ui/camera_click.ogg
05-25 02:30:05.222  2077  2077 I CameraManagerGlobal: Connecting to camera service
05-25 02:30:05.247  2077  2368 I OMXClient: IOmx service obtained
05-25 02:30:05.248   459   923 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
05-25 02:30:05.254   459   923 E OMXNodeInstance: getConfig(0xf2590300:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
05-25 02:30:05.258   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:05.258  2077  2077 V CAM_Profiler: [104.232ms][ui] GUARD: CameraActivity.onCreateTasks - [ 0.677ms] computePictureSizes
05-25 02:30:05.274   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:05.275   251   251 I chatty  : uid=1000(system) allocator@1.0-s identical 1 line
05-25 02:30:05.275   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:05.277  2077  2077 D OpenGLRenderer: Skia GL Pipeline
05-25 02:30:05.279   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:05.280   251   251 I chatty  : uid=1000(system) allocator@1.0-s identical 2 lines
05-25 02:30:05.281   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:05.287  1266  1280 E memtrack: Couldn't load memtrack module
05-25 02:30:05.287  1266  1280 W android.os.Debug: failed to get memory consumption info: -1
05-25 02:30:05.295  2077  2077 W CAM_Log : Tag RoundedThumbnailView is 1 chars longer than limit.
05-25 02:30:05.389  2077  2077 W CAM_Log : Tag ModeOptionsScreenEffects is 5 chars longer than limit.
05-25 02:30:05.416  1266  1280 E memtrack: Couldn't load memtrack module
05-25 02:30:05.416  1266  1280 W android.os.Debug: failed to get memory consumption info: -1
05-25 02:30:05.425  2077  2077 I CAM_BottomBar: isHorizontal = false, isPortrait = false
05-25 02:30:05.488  2077  2077 I CAM_Profiler: [333.893ms][ui] GUARD: CameraActivity.onCreateTasks - [227.941ms] setContentView()
05-25 02:30:05.503  2077  2077 I CAM_Profiler: [349.210ms][ui] GUARD: CameraActivity.onCreateTasks - [15.317ms] Configure Camera UI
05-25 02:30:05.511  2077  2077 V CAM_CameraController: Closing camera
05-25 02:30:05.513  2077  2358 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
05-25 02:30:05.514  2077  2077 V CAM_ModulesInfo: EnableCaptureModule = true
05-25 02:30:05.516  2077  2077 V CAM_Profiler: [  0.000ms][ui] GUARD: new CaptureModule - START
05-25 02:30:05.519  2077  2077 V CAM_Profiler: [  2.312ms][ui] GUARD: new CaptureModule - STOP
05-25 02:30:05.519  2077  2077 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@33d7d4]
05-25 02:30:05.527  2077  2077 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@33d7d4, com.android.camera.ButtonManager@98e561f]
05-25 02:30:05.528  2077  2077 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@33d7d4, com.android.camera.ButtonManager@98e561f, com.android.camera.widget.IndicatorIconController@caa0f35]
05-25 02:30:05.528  2077  2077 V CAM_Profiler: [374.044ms][ui] GUARD: CameraActivity.onCreateTasks - [ 9.246ms] Init Current Module UI
05-25 02:30:05.528  2077  2077 V CAM_Profiler: [  0.000ms][ui] GUARD: CaptureModule.init - START
05-25 02:30:05.529  2077  2077 D CAM_CaptureModule: init UseAutotransformUiLayout = false
05-25 02:30:05.531  2077  2077 D AndroidRuntime: Shutting down VM
05-25 02:30:05.533  2077  2077 E AndroidRuntime: FATAL EXCEPTION: main
05-25 02:30:05.533  2077  2077 E AndroidRuntime: Process: com.android.camera2, PID: 2077
05-25 02:30:05.533  2077  2077 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:106)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:193)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:6718)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
05-25 02:30:05.533  2077  2077 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.camera.CaptureModule.getFacingFromCameraId(CaptureModule.java:1629)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.camera.CaptureModule.init(CaptureModule.java:427)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1801)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7171)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7162)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
05-25 02:30:05.533  2077  2077 E AndroidRuntime:     ... 11 more
05-25 02:30:05.538  2077  2077 I Process : Sending signal. PID: 2077 SIG: 9
05-25 02:30:05.597  1204  1204 I Zygote  : Process 2077 exited due to signal (9)
05-25 02:30:05.598  1266  1521 I ActivityManager: Process com.android.camera2 (pid 2077) has died: fore TOP
05-25 02:30:05.598  1266  1284 W libprocessgroup: kill(-2077, 9) failed: No such process
05-25 02:30:05.598  1266  1284 I libprocessgroup: Successfully killed process cgroup uid 10056 pid 2077 in 0ms
05-25 02:30:05.599  1266  1521 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.PermissionsActivity}----com.android.camera2
05-25 02:30:05.623  2382  2382 I Zygote  : seccomp disabled by setenforce 0
05-25 02:30:05.625  1266  1283 I ActivityManager: Start proc 2382:com.android.camera2/u0a56 for activity com.android.camera2/com.android.camera.PermissionsActivity
05-25 02:30:05.666  2382  2382 I android.camera: The ClassLoaderContext is a special shared library.
05-25 02:30:05.667  2382  2382 I android.camera: The ClassLoaderContext is a special shared library.
05-25 02:30:05.680  2382  2382 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraApp onCreate() - START
05-25 02:30:05.680  2382  2382 V CAM_Profiler: [  0.000ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - START
05-25 02:30:05.682  2382  2382 V CAM_Profiler: [  1.077ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 1.077ms] PreferenceManager.getDefaultSharedPreferences
05-25 02:30:05.683  2382  2382 V CAM_Profiler: [  2.814ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 1.737ms] preferences.getLong
05-25 02:30:05.683  2382  2382 V CAM_Profiler: [  2.974ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - STOP
05-25 02:30:05.683  2382  2382 V CAM_Profiler: [  4.467ms][ui] GUARD: CameraApp onCreate() - [ 4.467ms] initializeTimeOfFirstRun
05-25 02:30:05.684  2382  2382 V CAM_Profiler: [  4.694ms][ui] GUARD: CameraApp onCreate() - [ 0.226ms] UsageStatistics.initialize
05-25 02:30:05.685  2382  2382 V CAM_Profiler: [  5.555ms][ui] GUARD: CameraApp onCreate() - [ 0.861ms] clearNotifications
05-25 02:30:05.685  2382  2382 V CAM_Profiler: [  5.555ms][ui] GUARD: CameraApp onCreate() - STOP
05-25 02:30:05.699  2382  2382 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.714  2382  2382 D CAM_MemoryManagerImpl: Max native memory: 358 MB
05-25 02:30:05.715   274   310 W SurfaceFlinger: Attempting to set client state on removed layer: Surface(name=AppWindowToken{7379ac0 token=Token{535f443 ActivityRecord{6585f2 u0 com.android.camera2/com.android.camera.CameraLauncher t6}}})/@0x5c733f0 - animation-leash#0
05-25 02:30:05.715   274   310 W SurfaceFlinger: Attempting to set client state on removed layer: Surface(name=AppWindowToken{18c886b token=Token{976b1ba ActivityRecord{8db82e5 u0 com.android.launcher3/.Launcher t4}}})/@0x418c36e - animation-leash#0
05-25 02:30:05.715   274   310 W SurfaceFlinger: Attempting to destroy on removed layer: Surface(name=AppWindowToken{7379ac0 token=Token{535f443 ActivityRecord{6585f2 u0 com.android.camera2/com.android.camera.CameraLauncher t6}}})/@0x5c733f0 - animation-leash#0
05-25 02:30:05.715   274   310 W SurfaceFlinger: Attempting to destroy on removed layer: Surface(name=AppWindowToken{18c886b token=Token{976b1ba ActivityRecord{8db82e5 u0 com.android.launcher3/.Launcher t4}}})/@0x418c36e - animation-leash#0
05-25 02:30:05.718  2382  2382 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.722  2382  2382 V CAM_QuickActivity: START onStart: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.722  2382  2382 V CAM_QuickActivity: END onStart: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.722  2382  2382 V CAM_QuickActivity: START onResume: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.723  2382  2382 V CAM_QuickActivity: onResume(): isKeyguardLocked() = false
05-25 02:30:05.723  2382  2382 V CAM_QuickActivity: onResume --> onResumeTasks()
05-25 02:30:05.724  2382  2382 V CAM_PermissionsActivity: requestPermissions count: 1
05-25 02:30:05.726  1266  1554 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10056
05-25 02:30:05.739  1266  1554 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity}----com.android.packageinstaller
05-25 02:30:05.741  2382  2382 V CAM_QuickActivity: END onResume: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.742  2382  2382 D OpenGLRenderer: Skia GL Pipeline
05-25 02:30:05.763  2382  2382 V CAM_QuickActivity: START onPause: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.763  2382  2382 V CAM_QuickActivity: onPause --> onPauseTasks()
05-25 02:30:05.763  2382  2382 V CAM_QuickActivity: END onPause: Activity = com.android.camera.PermissionsActivity@47b83c5
05-25 02:30:05.763  1266  1554 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity}----com.android.packageinstaller
05-25 02:30:05.765  2212  2212 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@cb220e
05-25 02:30:05.778  2382  2399 I mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 947; [Func] : base_context_deal_with_version_affairs_rk_ext;
05-25 02:30:05.778  2382  2399 I mali_so : arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '16@0'.
05-25 02:30:05.778  2382  2399 I mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 914; [Func] : determine_policy_against_patch_for_sf_memory_leak;
05-25 02:30:05.778  2382  2399 I mali_so : cmdline : com.android.camera2, we should GO THROUGH patch_for_sf_memory_leak.
05-25 02:30:05.778  2382  2399 D mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 955; [Func] : base_context_deal_with_version_affairs_rk_ext;
05-25 02:30:05.778  2382  2399 D mali_so : current process is NOT sf, to bail out.
05-25 02:30:05.784   274  1066 E BufferQueueProducer: [com.android.launcher3/com.android.launcher3.Launcher#0] disconnect: not connected (req=1)
05-25 02:30:05.784  1824  1893 W libEGL  : EGLNativeWindowType 0x7274592010 disconnect failed
05-25 02:30:05.790  2382  2399 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-25 02:30:05.790  2382  2399 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
05-25 02:30:05.790  2382  2399 I OpenGLRenderer: Initialized EGL, version 1.4
05-25 02:30:05.790  2382  2399 D OpenGLRenderer: Swap behavior 2
05-25 02:30:05.800  2382  2399 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
05-25 02:30:05.827  2382  2399 D GRALLOC-ROCKCHIP: RK_GRAPHICS_VER=commit-id:6802ae33f3
05-25 02:30:05.860   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:05.871  1266  1280 I ActivityManager: Displayed com.android.packageinstaller/.permission.ui.GrantPermissionsActivity: +776ms
05-25 02:30:05.877  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:05.895  2212  2212 D OpenGLRenderer: Skia GL Pipeline
05-25 02:30:05.908  1406  1406 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
05-25 02:30:05.931  2212  2411 I mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 947; [Func] : base_context_deal_with_version_affairs_rk_ext;
05-25 02:30:05.931  2212  2411 I mali_so : arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '16@0'.
05-25 02:30:05.931  2212  2411 I mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 914; [Func] : determine_policy_against_patch_for_sf_memory_leak;
05-25 02:30:05.931  2212  2411 I mali_so : cmdline : com.android.packageinstaller, we should GO THROUGH patch_for_sf_memory_leak.
05-25 02:30:05.931  2212  2411 D mali_so : [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 955; [Func] : base_context_deal_with_version_affairs_rk_ext;
05-25 02:30:05.931  2212  2411 D mali_so : current process is NOT sf, to bail out.
05-25 02:30:05.940  2212  2411 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-25 02:30:05.941  2212  2411 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
05-25 02:30:05.941  2212  2411 I OpenGLRenderer: Initialized EGL, version 1.4
05-25 02:30:05.941  2212  2411 D OpenGLRenderer: Swap behavior 2
05-25 02:30:05.950  2212  2411 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
05-25 02:30:05.975  2212  2411 D GRALLOC-ROCKCHIP: RK_GRAPHICS_VER=commit-id:6802ae33f3
05-25 02:30:05.997  2212  2411 D         : set stream to NULL
05-25 02:30:06.024  2212  2411 I chatty  : uid=10011(com.android.packageinstaller) RenderThread identical 8 lines
05-25 02:30:06.027  2212  2411 D         : set stream to NULL
05-25 02:30:06.027   274   389 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.android.camera2#0
05-25 02:30:06.027   274   389 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.android.camera2#0
05-25 02:30:06.029  2212  2411 D         : set stream to NULL
05-25 02:30:06.635  1824  1824 W ViewRootImpl[Launcher]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=764.2385, y[0]=246.21075, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=114137, downTime=112433, deviceId=5, source=0x2002 }
05-25 02:30:06.033  2212  2411 D         : set stream to NULL
05-25 02:30:06.861   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:06.877  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:07.018  2212  2411 D         : set stream to NULL
05-25 02:30:07.046  2212  2411 I chatty  : uid=10011(com.android.packageinstaller) RenderThread identical 4 lines
05-25 02:30:07.051  2212  2411 D         : set stream to NULL
05-25 02:30:07.518  1266  1554 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.PermissionsActivity}----com.android.camera2
05-25 02:30:07.518  1266  1554 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.PermissionsActivity}----com.android.camera2
05-25 02:30:07.532  2382  2382 V CAM_PermissionsActivity: onPermissionsResult counts: 1:1
05-25 02:30:07.533  1406  1406 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
05-25 02:30:06.636  1824  1824 I chatty  : uid=10008(com.android.launcher3) identical 2 lines
05-25 02:30:06.637  1824  1824 W ViewRootImpl[Launcher]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=764.2385, y[0]=246.21075, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=114137, downTime=112433, deviceId=5, source=0x2002 }
05-25 02:30:07.550  1266  2381 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.camera2/com.android.camera.CameraActivity} from uid 10056
05-25 02:30:07.560  1266  2381 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}----com.android.camera2
05-25 02:30:07.567  1266  2381 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}----com.android.camera2
05-25 02:30:07.576  2382  2382 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@fa38e22
05-25 02:30:07.581  2382  2382 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@2588707
05-25 02:30:07.581  2382  2382 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraActivity.onCreateTasks - START
05-25 02:30:07.582  2382  2382 D CAM_LocationManager: Using legacy location provider.
05-25 02:30:07.590  2382  2382 W SoundPool: Use of stream types is deprecated for operations other than volume control
05-25 02:30:07.590  2382  2382 W SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
05-25 02:30:07.591  2382  2382 I CAM_OneCamFtrCnfgCrtr: CaptureModule? true
05-25 02:30:07.601  2382  2382 V CAM_Profiler: [ 19.140ms][ui] GUARD: CameraActivity.onCreateTasks - [ 8.457ms] Glide.setup
05-25 02:30:07.604  2382  2382 V CAM_Profiler: [ 22.066ms][ui] GUARD: CameraActivity.onCreateTasks - [ 2.926ms] OneCameraManager.get
05-25 02:30:07.626  2382  2382 E SoundPool: error loading /product/media/audio/ui/camera_click.ogg
05-25 02:30:07.627  2382  2382 I CameraManagerGlobal: Connecting to camera service
05-25 02:30:07.632  2382  2382 V CAM_Profiler: [ 50.545ms][ui] GUARD: CameraActivity.onCreateTasks - [ 0.623ms] computePictureSizes
05-25 02:30:07.658  2382  2382 W CAM_Log : Tag RoundedThumbnailView is 1 chars longer than limit.
05-25 02:30:07.660  2382  2435 I OMXClient: IOmx service obtained
05-25 02:30:07.661   459   923 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
05-25 02:30:07.664   459   923 E OMXNodeInstance: getConfig(0xf2590300:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
05-25 02:30:07.667   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:07.681   251   251 I chatty  : uid=1000(system) allocator@1.0-s identical 6 lines
05-25 02:30:07.681   251   251 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x778022c100, 32768)
05-25 02:30:07.723   461   461 I npu_monitor: type=1400 audit(0.0:416): avc: denied { read } for name="temp" dev="sysfs" ino=8936 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=file permissive=1
05-25 02:30:07.723   461   461 I npu_monitor: type=1400 audit(0.0:417): avc: denied { open } for path="/sys/devices/virtual/thermal/thermal_zone0/temp" dev="sysfs" ino=8936 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=file permissive=1
05-25 02:30:07.732  2382  2382 W CAM_Log : Tag ModeOptionsScreenEffects is 5 chars longer than limit.
05-25 02:30:07.762  2382  2382 I CAM_BottomBar: isHorizontal = false, isPortrait = false
05-25 02:30:07.769   274   310 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=6#0
05-25 02:30:07.769   274   310 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=6#0
05-25 02:30:07.819  2382  2382 I CAM_Profiler: [237.387ms][ui] GUARD: CameraActivity.onCreateTasks - [185.033ms] setContentView()
05-25 02:30:07.831  2382  2382 V CAM_Profiler: [250.012ms][ui] GUARD: CameraActivity.onCreateTasks - [12.625ms] Configure Camera UI
05-25 02:30:07.838  2382  2382 V CAM_CameraController: Closing camera
05-25 02:30:07.839  2382  2429 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
05-25 02:30:07.839  2382  2382 V CAM_ModulesInfo: EnableCaptureModule = true
05-25 02:30:07.840  2382  2382 V CAM_Profiler: [  0.000ms][ui] GUARD: new CaptureModule - START
05-25 02:30:07.842  2382  2382 V CAM_Profiler: [  1.226ms][ui] GUARD: new CaptureModule - STOP
05-25 02:30:07.842  2382  2382 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e112ba3]
05-25 02:30:07.846  2382  2382 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e112ba3, com.android.camera.ButtonManager@fe8162a]
05-25 02:30:07.846  2382  2382 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e112ba3, com.android.camera.ButtonManager@fe8162a, com.android.camera.widget.IndicatorIconController@1f671b8]
05-25 02:30:07.847  2382  2382 V CAM_Profiler: [265.341ms][ui] GUARD: CameraActivity.onCreateTasks - [ 5.040ms] Init Current Module UI
05-25 02:30:07.847  2382  2382 V CAM_Profiler: [  0.000ms][ui] GUARD: CaptureModule.init - START
05-25 02:30:07.847  2382  2382 D CAM_CaptureModule: init UseAutotransformUiLayout = false
05-25 02:30:07.849  2382  2382 D AndroidRuntime: Shutting down VM
05-25 02:30:07.849  2382  2382 E AndroidRuntime: FATAL EXCEPTION: main
05-25 02:30:07.849  2382  2382 E AndroidRuntime: Process: com.android.camera2, PID: 2382
05-25 02:30:07.849  2382  2382 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:106)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:193)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:6718)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
05-25 02:30:07.849  2382  2382 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.camera.CaptureModule.getFacingFromCameraId(CaptureModule.java:1629)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.camera.CaptureModule.init(CaptureModule.java:427)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1801)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7171)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7162)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
05-25 02:30:07.849  2382  2382 E AndroidRuntime:     ... 11 more
05-25 02:30:07.851  1266  2381 W ActivityManager:   Force finishing activity com.android.camera2/com.android.camera.CameraActivity
05-25 02:30:07.857  1266  1282 I ActivityManager: Showing crash dialog for package com.android.camera2 u0
05-25 02:30:07.861   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:07.877  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:07.893   274   970 E BufferQueueProducer: [com.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity#0] disconnect: not connected (req=1)
05-25 02:30:07.893  2212  2411 W libEGL  : EGLNativeWindowType 0x72744b7010 disconnect failed
05-25 02:30:07.893  2212  2411 D OpenGLRenderer: endAllActiveAnimators on 0x727449bb00 (RippleDrawable) with handle 0x7261bfe480
05-25 02:30:07.894  1266  2287 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-25 02:30:07.894  1266  2287 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
05-25 02:30:07.895  1266  2287 I OpenGLRenderer: Initialized EGL, version 1.4
05-25 02:30:07.895  1266  2287 D OpenGLRenderer: Swap behavior 2
05-25 02:30:07.903  1266  2287 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
05-25 02:30:07.923  1266  2287 D         : set stream to NULL
05-25 02:30:08.353  1266  1281 W ActivityManager: Activity pause timeout for ActivityRecord{68b3412 u0 com.android.camera2/com.android.camera.CameraActivity t6 f}
05-25 02:30:07.953  1266  2287 I chatty  : uid=1000(system) RenderThread identical 10 lines
05-25 02:30:07.957  1266  2287 D         : set stream to NULL
05-25 02:30:08.356  1266  1281 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.launcher3/com.android.launcher3.Launcher}----com.android.launcher3
05-25 02:30:08.398  1824  1893 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
05-25 02:30:08.861   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:08.878  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:09.862   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:09.878  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:10.614  1211  1236 D AudioHardwareTiny: do_out_standby,out = 0xe7429000,device = 0x408
05-25 02:30:10.616  1211  1236 D alsa_route: route_set_controls() set route 24
05-25 02:30:10.622  1211  1236 D AudioHardwareTiny: close device
05-25 02:30:10.862   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:10.879  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:11.863   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:11.879  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:12.864   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:12.880  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:13.864   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:13.880  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:14.865   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:14.881  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:15.865   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:15.881  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:16.866   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:16.882  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:17.867   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:17.882  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:18.468  1266  1281 W ActivityManager: Activity destroy timeout for ActivityRecord{68b3412 u0 com.android.camera2/com.android.camera.CameraActivity t6 f}
05-25 02:30:18.469  1266  1281 W ActivityManager: Activity destroy timeout for ActivityRecord{ead7725 u0 com.android.camera2/com.android.camera.PermissionsActivity t6 f}
05-25 02:30:18.496   274   970 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{21836ab token=Token{5c730fa ActivityRecord{ead7725 u0 com.android.camera2/com.android.camera.PermissionsActivity t6}}}#0
05-25 02:30:18.867   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:18.883  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:19.868   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:19.883  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:20.868   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:20.884  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:21.869   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:21.884  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:22.869   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:22.885  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:23.870   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:23.885  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:24.870   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:24.886  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1.0::IRadio/slot1. Waiting another...
05-25 02:30:25.871   464   464 W ServiceManagement: Waited one second for android.hardware.gatekeeper@1.0::IGatekeeper/default. Waiting another...
05-25 02:30:25.886  2302  2302 W ServiceManagement: Waited one second for android.hardware.radio@1


回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2020-5-25 15:49:24        只看该作者  沙发
按照wiki通过bundle对代码进行更新并重新编译,不要做其他修改或者先把其他修改备份或者缓存起来
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-5-25 16:57:40        只看该作者  板凳
leung先森 发表于 2020-5-25 15:49
按照wiki通过bundle对代码进行更新并重新编译,不要做其他修改或者先把其他修改备份或者缓存起来

更新了,目前版本信息:
commit 6802ae33f30a38ffe2ca44df0298d414d821b1e1 (HEAD -> master)
Author: lkd <service@t-firefly.com>
Date:   Mon Mar 9 17:28:48 2020 +0800

    1.Support AIO-3399ProJD4. 2.Add xc7022 xc6130 camera support 3.Fix LVDS firmware audio issue 4.Fix some systemic problems

git rebase FETCH_HEAD 之前git stash了改动。

刚才又试了一遍,还是不行。

回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2020-5-26 15:50:48        只看该作者  地板
raulmadrid777 发表于 2020-5-25 16:57
更新了,目前版本信息:
commit 6802ae33f30a38ffe2ca44df0298d414d821b1e1 (HEAD -> master)
Author:  ...

有按照wiki方法编译烧写吗
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-5-29 11:22:35        只看该作者  5#
leung先森 发表于 2020-5-26 15:50
有按照wiki方法编译烧写吗

这个问题解决了:重编了kernel、uboot、android,重新生成update镜像,烧录;引入了另一个问题,对于只对内核修改的情况,怎么更新镜像?尝试发现:只烧resouce.img和kernel.img则修改没有生效,若只烧boot.img或烧kernel.img、resource.img、boot.img这三个,即只要烧录了boot.img,设备便会无限重启,无法正常进入系统。想请教大神,对于kernel的修改,应该怎样烧录镜像呢?
回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2020-5-29 11:43:36        只看该作者  6#
http://wiki.t-firefly.com/zh_CN/ ... pin-bian-yi-fang-fa
wiki内容仔细阅读
(注意:若进行内核debug,需要将resource.img和kernel.img打包进去boot.img后对boot分区进行烧写才能生效。)
打包boot.img只需要将mkimage.sh里面打包boot那部分单独抽出来稍做修改即可做成编译脚本

回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-6-3 20:18:33        只看该作者  7#
leung先森 发表于 2020-5-29 11:43
http://wiki.t-firefly.com/zh_CN/Core-3399pro-JD4/compile_android9_firmware.html#aio-3399pro-jd4-chan ...

感谢,已解决。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表