EDIT: Looks like I was beat to this project by digitalhigh, check the thread: http://forum.xda-developers.com/ver...ment/app-sense-camera-gallery-m8-rom-t3008262
First off, apologies if this is in the wrong subforum but I can't post to any of the development ones, due to this being my first post (on this account, I think I had an old account but I can't remember). So, hopefully I'm not doing this terribly wrong or anything. However, I do have something a bit interesting that I honestly didn't think would work: HTC Sense's camera and gallery working on CyanogenMod.
I've been wanting to switch back to CM for a while, since my old phone was a Galaxy Nexus. But, I didn't want to have to give up the camera features from HTC Sense. The camera on CM12 absolutely sucks when compared to the HTC Sense camera. I've been looking around for a solution, and every post I found said that getting the Sense camera/gallery to work on an AOSP-based ROM was impossible. I didn't believe that, so I tried getting it to work myself, and figured out that's not really true. None of the apps or libs were modified, they were simply pulled off the latest HTC Sense release.
Current usability
Camera app launches, you can take pictures (+ burst mode works). Gallery also is working mostly.
Current issues
These are still the issues I'm having. If anybody else could help me figure them out, I'd be really happy. I was able to figure out getting this running so far by using logcat.
- Video recording is stuck on very low video quality. MMS (176 x 144)
- Zoe camera is not usable (possibly because of above)
- Manual camera mode crashes the app
- Minor interface bugs
- Probably a lot more
APKs/Libs that need to be present
Screenshots
Check my attachments to this post. Note that the navbar/status bar do go away, I just had them there to show I was still in CM12 when taking them.
Release?
For now I'm not making a release, but if you install all the apps/libs listed, you'll be where I'm at. Maybe if there's enough demand I'll create a flashable ZIP.
First off, apologies if this is in the wrong subforum but I can't post to any of the development ones, due to this being my first post (on this account, I think I had an old account but I can't remember). So, hopefully I'm not doing this terribly wrong or anything. However, I do have something a bit interesting that I honestly didn't think would work: HTC Sense's camera and gallery working on CyanogenMod.
I've been wanting to switch back to CM for a while, since my old phone was a Galaxy Nexus. But, I didn't want to have to give up the camera features from HTC Sense. The camera on CM12 absolutely sucks when compared to the HTC Sense camera. I've been looking around for a solution, and every post I found said that getting the Sense camera/gallery to work on an AOSP-based ROM was impossible. I didn't believe that, so I tried getting it to work myself, and figured out that's not really true. None of the apps or libs were modified, they were simply pulled off the latest HTC Sense release.
Current usability
Camera app launches, you can take pictures (+ burst mode works). Gallery also is working mostly.
Current issues
These are still the issues I'm having. If anybody else could help me figure them out, I'd be really happy. I was able to figure out getting this running so far by using logcat.
- Video recording is stuck on very low video quality. MMS (176 x 144)
- Zoe camera is not usable (possibly because of above)
- Manual camera mode crashes the app
- Minor interface bugs
- Probably a lot more
APKs/Libs that need to be present
Code:
#Apps:
/system/priv-app/Camera/Camera.apk
/system/priv-app/com.htc.album-1/com.htc.album-1.apk
/system/priv-app/HMS_VideoPlayer/HMS_VideoPlayer.apk
#Libs (unsure yet, there might be a few not needed):
libexif2.so
libexif_lib1_jni_v08.so
libexif_lib1_v08.so
libfeatures_android.so
libfilterpack_facedetect.so
libgdmcprov.so
libgDualLens.so
libgdvoucher.so
libHMSGallery_almashot-clr.so
libHMSGallery_almashot-seamless.so
libHMSGallery_enhancer_vheffects.so
libHMSGallery_eOkao.so
libHMSGallery_imagelib.so
libHMSGallery_libAnalyst.so
libHMSGallery_libBokehLibEngine.so
libHMSGallery_libCutAndPaste.so
libHMSGallery_libcutils_plus_REC.so
libHMSGallery_libDepthmapJni.so
libHMSGallery_libDualLensEngine.so
libHMSGallery_libDuoShare.so
libHMSGallery_libFaceDetection.so
libHMSGallery_libFaceFusion.so
libHMSGallery_libglcv.so
libHMSGallery_libImageAlignment.so
libHMSGallery_libJointEngine.so
libHMSGallery_libMatrix.so
libHMSGallery_libNEONImage.so
libHMSGallery_libNewTimeBreakin.so
libHMSGallery_libThumbnailUtility.so
libHMSGallery_sunny.so
libHMSGallery_swapheap.so
libHMSGallery_yuvimage.so
libhtccamera.so
libhtc_framework.so
libimage_codec_engine.so
libimage_feature.so
libimagelib.so
libmm-omxcore.so
libmm-qcamera.so
libmorpho_edit_engine.so
libmorpho_frame_overlay.so
libmorpho_image_converter.so
libmorpho_image_stitcher3.so
libmorpho_image_transform.so
libmorpho_jpeg_io.so
libmorpho_memory_allocator.so
libomron_common.so
libpanoglviewer_hdk_v14.so
libpanoramaplus.so
libpanostitcher.so
Check my attachments to this post. Note that the navbar/status bar do go away, I just had them there to show I was still in CM12 when taking them.
Release?
For now I'm not making a release, but if you install all the apps/libs listed, you'll be where I'm at. Maybe if there's enough demand I'll create a flashable ZIP.
Attachments
-
140.5 KB Views: 3,052
-
85.4 KB Views: 3,066
-
116.5 KB Views: 3,022
Last edited: