[Mi 3 Android Development] P013onEr:
[MENTION=5066986]SynnyG[/MENTION] I just sync the newest source from AOSPA-L github and build the ROM. but camera icon doesnt show in the app list. So I enter lockscreen camera shortcut. but it say Camera has stoped . anyway to fix it?

logcat say

I/ActivityManager( 969): START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x14000000 cmp=com.android.camera2/com.android.camera.CameraActivity} from uid 10016 on display 0
W/PathParser( 1901): Points are too far apart 4.000000596046461
V/WindowManager( 969): addAppToken: AppWindowToken{32afb3b1 token=Token{2ea60658 ActivityRecord{3162ef3b u0 com.android.camera2/com.android.camera.CameraActivity t8}}} to stack=1 task=8 at 0
I/ViewRootImpl( 969): CPU Rendering VSync enable = true
V/WindowManager( 969): Adding window Window{12034870 u0 Starting com.android.camera2} at 1 of 5 (after Window{3a1b7176 u0 com.android.launcher3/com.android.launcher3.Launcher})
V/CAM_QuickActivity( 2991): START onCreate: Activity = com.android.camera.CameraActivity@398fc3b
V/CAM_QuickActivity( 2991): Intent Action = android.media.action.STILL_IMAGE_CAMERA
I/CameraManagerGlobal( 2991): getCameraService: Reconnecting to camera service
E/CameraService( 310): getCameraVendorTagDescriptor: camera hardware module doesn't exist
E/CameraMetadata-JNI( 2991): CameraMetadata_setupGlobalVendorTagDescriptor: Failed to setup vendor tag descriptors, received error No such device (-19)
W/CameraManagerGlobal( 2991): Failed to set up vendor tags: The camera device is removable and has been disconnected from the Android device, or the camera service has shut down the connection due to a higher-priority access request for the camera device.
D/CAM_CameraActivity( 2991): Creating camera manager failed.
D/CAM_CameraActivity( 2991): com.android.camera.one.OneCameraException: Camera 2 API supported but no devices available.
D/CAM_CameraActivity( 2991):	at com.android.camera.one.OneCameraManager.isCamera2Supported(OneCameraManager.java:125)
D/CAM_CameraActivity( 2991):	at com.android.camera.one.OneCameraManager.create(OneCameraManager.java:95)
D/CAM_CameraActivity( 2991):	at com.android.camera.one.OneCameraManager.get(OneCameraManager.java:74)
D/CAM_CameraActivity( 2991):	at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1415)
D/CAM_CameraActivity( 2991):	at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:101)
D/CAM_CameraActivity( 2991):	at android.app.Activity.performCreate(Activity.java:6041)
D/CAM_CameraActivity( 2991):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
D/CAM_CameraActivity( 2991):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
D/CAM_CameraActivity( 2991):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2416)
D/CAM_CameraActivity( 2991):	at android.app.ActivityThread.access$900(ActivityThread.java:153)
D/CAM_CameraActivity( 2991):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
D/CAM_CameraActivity( 2991):	at android.os.Handler.dispatchMessage(Handler.java:102)
D/CAM_CameraActivity( 2991):	at android.os.Looper.loop(Looper.java:135)
D/CAM_CameraActivity( 2991):	at android.app.ActivityThread.main(ActivityThread.java:5287)
D/CAM_CameraActivity( 2991):	at java.lang.reflect.Method.invoke(Native Method)
D/CAM_CameraActivity( 2991):	at java.lang.reflect.Method.invoke(Method.java:372)
D/CAM_CameraActivity( 2991):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
D/CAM_CameraActivity( 2991):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/CAM_Util( 2991): Show fatal error dialog

EDIT: Changed the camera.vendor.msm8974.so to camera.msm8974.so . Camera works!

it's so weird~

Screenshots: