[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] niaboc79:
@ derf elot

I'm trying to add XZ2 camera inside a gsi, I'm using stock vendor and kernel.

I've added these files:

# CAMERA_APP

-app/CameraAddonPermission-release/CameraAddonPermission-release.apk

-app/CameraCommonPermission-release/CameraCommonPermission-release.apk

-app/CameraExtensionPermission-release/CameraExtensionPermission-release.apk

-app/ImageProcessorPermission-release/ImageProcessorPermission-release.apk

etc/permissions/com.sonymobile.camera.addon.xml

etc/permissions/com.sonymobile.imageprocessor.xml

framework/com.sonymobile.camera.addon_impl.jar

framework/com.sonymobile.imageprocessor.bypasscamera_impl.jar

-priv-app/ArtFilterCamera-xxhdpi-release/ArtFilterCamera-xxhdpi-release.apk

priv-app/ArtFilterCamera-xxhdpi-release/lib/armeabi/libnativeeffectengine.so|dd45c2d805672b3c7d42357ddd543d3f9e904c6e

priv-app/ArtFilterCamera-xxhdpi-release/lib/armeabi/libyuvframe.so|046d53a07d8ad57b86378a323dc8d88a00fadd1d

lib/libimageprocessorjni.so

lib64/libimageprocessorjni.so

-priv-app/CameraCommon/CameraCommon.apk

-priv-app/CameraPanorama-release/CameraPanorama-release.apk

priv-app/CameraPanorama-release/lib/arm64/libmorpho_jpeg_io.so|a34ec70211e6f2094575986597df9e5734bbf7b0

priv-app/CameraPanorama-release/lib/arm64/libmorpho_memory_allocator.so|f07bb0dc2c2141674668125a38e6c375a9359047

priv-app/CameraPanorama-release/lib/arm64/libmorpho_panorama_gp2.so|cfa20065f3596bbdb06789ffeff6743f2bc0b37c

priv-app/CameraPanorama-release/lib/arm64/libmorpho_sensor_fusion.so|7314bb37bf466d26e9edb50961c0464a8d24bb76

-priv-app/SemcCameraUI-xxhdpi-release/SemcCameraUI-xxhdpi-release.apk|08a58100aa9f4e3f17d7ef8d085e0d101674a6dc

priv-app/SemcCameraUI-xxhdpi-release/lib/arm64/libarcsoft_handsigns.so|1a404edfbcf6bd54d4afdb3ac5b143bba489ed21

priv-app/SemcCameraUI-xxhdpi-release/lib/arm64/libhandsigns_jni.so|9e3d163d1aea8878ff84ddb6f06cbb0c65610054

priv-app/SemcCameraUI-xxhdpi-release/lib/arm64/libimage_converter.so|a196d0504d27f2eab598ad3822c36d68c5074057

priv-app/SemcCameraUI-xxhdpi-release/lib/arm64/libmpbase.so|941457f34769d5cbf1ff33b13596307689317fc3

-priv-app/SomcMovieCreator-release/SomcMovieCreator-release.apk

-priv-app/SoundPhotoCamera-xxhdpi-release/SoundPhotoCamera-xxhdpi-release.apk

priv-app/SoundPhotoCamera-xxhdpi-release/lib/armeabi/libmpo.so|dc60e4ca74b544f656897017f58114dc7835e65b

priv-app/SoundPhotoCamera-xxhdpi-release/lib/armeabi/libnativebytebuffer.so|288df17ba8c7d21c8412e7787f3d36789858ca39

priv-app/SoundPhotoCamera-xxhdpi-release/lib/armeabi/libspf.so|133c7e94bb6810de647c43e74a6cb981dfc24f4f

# CAMERA

bin/cacaoserver

etc/init/cacaoserver.rc

lib/libcacao_client.so

lib/libcacao_pal.so

lib/libcacao_process_ctrl_gateway.so

lib/libcacao_service.so

lib/vendor.somc.hardware.camera.cacao@1.0.so

lib/vendor.somc.hardware.camera.cacao@2.0.so

lib/vendor.somc.hardware.camera.cacao@3.0.so

lib/vendor.somc.hardware.camera.cacao@3.1.so

lib/vendor.somc.hardware.camera.device@1.0.so

lib/vendor.somc.hardware.camera.provider@1.0.so

lib64/libcacao_client.so

lib64/libcacao_pal.so

# CAMERA_POSTPROCESSING

lib/libjni_imageutil.so

lib/libjni_snapcammosaic.so

lib/libjni_snapcamtinyplanet.so

lib64/libjni_imageutil.so

lib64/libjni_snapcammosaic.so

lib64/libjni_snapcamtinyplanet.so

# FRAMEWORK_DEPENDENCIES

etc/permissions/com.sonyericsson.idd.xml

etc/permissions/com.sonymobile.getmore.api.xml

framework/com.sonyericsson.idd_impl.jar

framework/com.sonymobile.getmore.api.jar

but it doesn't work, is there anything else needed for the camera?

Thanks