Need propriatery files related to the stock ASUS Zenfone 6 camera app

Hello,

I’m trying to port the stock ASUS camera app (com.asus.camera) to eOS, so far I have been able to construct an updated addon package based on another developer’s work that can be side-loaded from the recovery (see my other topic regarding this), but the blobs I’ve extracted are from Android 11, and they aren’t functioning properly in Android 10 (the UI doesn’t work properly).

So now I want to try it with files from the ASUS Stock Android 10 ROM, I request the developers who have access to these files share the following:

# Camera
lib/DataSet/ispDB/ASUS_UNDI.bin
lib/DataSet/ispDB/ASUS_UNDI_ZOOM.bin
-priv-app/AsusCamera/AsusCamera.apk;PRESIGNED
priv-app/AsusCamera/lib/arm64/libasus_camera_panorama.so
priv-app/AsusCamera/lib/arm64/libasus_camera_panorama.so
priv-app/AsusCamera/lib/arm64/libbitmap.so
priv-app/AsusCamera/lib/arm64/libmpbase.so
priv-app/AsusCamera/lib/arm64/libtensorflowlite_jni.so
priv-app/AsusCamera/lib/arm64/libasus_camera_selfiepano.so
priv-app/AsusCamera/lib/arm64/libasus_camera_object_tracking.so
priv-app/AsusCamera/lib/arm64/libarcsoft_distortion_correction.so
priv-app/AsusCamera/lib/arm64/libarcsoft_panorama_burstcapture.so
priv-app/AsusCamera/lib/arm64/libyuv_util.so
priv-app/AsusCamera/lib/arm64/libUndistort.so
priv-app/AsusCamera/lib/arm64/libasusundistort.so
priv-app/AsusCamera/lib/arm64/libarcsoft_object_tracking.so
-priv-app/MotorService/MotorService.apk;PRESIGNED
priv-app/MotorService/lib/arm64/libAsusLaserSensorHAL.so
priv-app/MotorService/lib/arm64/libAsusMotorDriverHAL.so
priv-app/MotorService/lib/arm64/libjni_laser.so
priv-app/MotorService/lib/arm64/libjni_motor.so

# Gallery
-priv-app/AsusGallery/AsusGallery.apk;PRESIGNED
priv-app/AsusGallery/lib/arm/libmpbase.so
priv-app/AsusGallery/lib/arm/libjni_filter_show.so
priv-app/AsusGallery/lib/arm/libtensorflowlite_jni.so
priv-app/AsusGallery/lib/arm/libjni_face_effect.so
priv-app/AsusGallery/lib/arm/librs.vignette.so
priv-app/AsusGallery/lib/arm/libtensorflow_inference.so
priv-app/AsusGallery/lib/arm/librs.convolve3x3.so
priv-app/AsusGallery/lib/arm/libpanorenderer.so
priv-app/AsusGallery/lib/arm/libpano_video_renderer.so
priv-app/AsusGallery/lib/arm/librsjni_androidx.so
priv-app/AsusGallery/lib/arm/librsjni.so
priv-app/AsusGallery/lib/arm/libgif.so
priv-app/AsusGallery/lib/arm/librs.grey.so
priv-app/AsusGallery/lib/arm/libarcsoft_beautyshot.so
priv-app/AsusGallery/lib/arm/librs.saturation.so
priv-app/AsusGallery/lib/arm/libblur.so
priv-app/AsusGallery/lib/arm/librs.grad.so
priv-app/AsusGallery/lib/arm/librs.blur.so
priv-app/AsusGallery/lib/arm/libRSSupport.so
priv-app/AsusGallery/lib/arm/libjni_wide_angle_undistort.so
priv-app/AsusGallery/lib/arm/libgvr.so
priv-app/AsusGallery/lib/arm/libjni_cvface_api.so
priv-app/AsusGallery/lib/arm/libcvface_api.so
priv-app/AsusGallery/lib/arm/libarcsoft_undistort.so
priv-app/AsusGallery/lib/arm/libopencv_java3.so

# GalleryBurst
-priv-app/AsusGalleryBurst/AsusGalleryBurst.apk;PRESIGNED
priv-app/AsusGalleryBurst/lib/arm/libgifencoder.so

# GalleryBurst Video Editor
etc/videoeditor/Soothing.mfim
etc/videoeditor/Charming.mfim
etc/videoeditor/Energetic.mfim
etc/videoeditor/Lively.mfim
etc/videoeditor/Graceful.mfim
etc/videoeditor/Happy.mfim
etc/videoeditor/Dynamic.mfim

I extracted the list from OmniROM’s source code, it comes with the camera app.

I cannot extract them from official ASUS firmware OTA updates because the payload.bin is not initialized (I don’t know what that means):

$ payload-dumper-go -p system payload.bin
payload.bin: payload.bin
Payload Version: 2
Payload Manifest Length: 152844
Payload Manifest Signature Length: 264
Number of workers: 4
2022/10/19 22:31:21 Payload has not been initialized

Someone need to take them from an installed Stock system using twrp or root the device and use something like ghost commader

Oh, so it isn’t possible to just extract it from OTA updates? In any case, ROM developers need to have access to these files so I’m hoping one of them could share those with me.

I realise I cannot help with your thread title … but as you know /e/ currently uses OpenCamera, despite its limitations, at least partly because it does not rely on Closed source or Proprietary blobs; so I feel you are in developerland yourself.

You could, perhaps,

  • revert your phone to the required factory ROM to make the extraction;
  • or you might alternatively explore SecureCamera from GrapheneOS available from your favourite app store;
  • or explore Google Camera Port perhaps starting here, Safety Warning About the Google Camera Port but in a very quick search I did not see a dev with an interest in Asus, but it might be worth a further search.

However perhaps we do have an /e/ developer listening who can help.

Thank you for the suggestions, but I want the stock camera app with all the features.

I’m hoping so too.

I created a ticket for this in GitLab asking for help from developers: Stock camera app for ASUS Zenfone 6 (#6152) · Issues · e / Backlog · GitLab

As it has been said :

Unfortunately I do not want to do that as I cannot go back without doing a factory reset, it’s too much work so I’m trying to avoid it, I will only consider it as a last resort.

From their response, it looks like they are to busy with work on official devices to help with problems making Unoffcial or Custom ROMs :frowning:

Are you able to backup your current setup (using either TWRP or Android Bckup and Restore Tools, as described in this post? If you can, it significantly reduces the amount of work needed to swap between stock and custom ROMs.

1 Like