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
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
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.
zip: https://www.androidfilehost.com/?fid=95897840722647466
Its been done already, works for me on AOSP/GPE http://forum.xda-developers.com/ver...ment/app-sense-camera-gallery-m8-rom-t3008262
krazie1 said:
Its been done already, works for me on AOSP/GPE http://forum.xda-developers.com/ver...ment/app-sense-camera-gallery-m8-rom-t3008262
Click to expand...
Click to collapse
I was totally unaware this was done already. Now if only someone could get BoomSound working, I'd be super-happy.
version app
(google translator) good day. I wonder if the original camera from the m8 has a slow motion option? for successfully adptei the camera with my my s5 CM12. but I found this option. if you have to do send me the version of your camera. because the gallery'm already at the last. but the camera I'm not sure
Hello there
Is this list of apks/libs working for AOSP based marshmallow ROM? Like CM13 or Dirty Unicorn. HTC One M8 running Marshmallow with Sense 6 is not smooth enough for me. Really want to switch to ASOP based ROM but HTC Camera is too good to give up. Looking forward for some solution, that would be so awesome.
Related
I used gala s theme on earlier cyanogen nightly build and it made my camera fc alot of people had this problem and a solution came up to flash a older camera zip i did this and it fixed my camera however now when i update to newer nightly mods i dont thing the camera is updating with it becuase im not gettin other camera features other people are saying they have like ability to chane picture quality and size i can change video quality jus not picture does anyone have an update zip for the newer camera or apk...?
Try this, open camera app, see the settings on the side? click on the first icon the one all the way on top. I can't recall what it is for but anyways from there try scrolling down on the little pop up menu. Some of these settings you're describing are sort of hidden...I guess I can say. I was lost wondering where these settings were before and then I was told by someone on the cm6 nightly thread about where they're located. I hope I didn't confuse you even more. Hopefully this fixes your issue if not sorry thats all I'm able to help you with.
-edited.
You made perfect sense thanks i see it now
hello. i have little problem with camera in miui rom, latest version. i just bought desire s so i flash from stock rom. this lag isn t only in miui camera but in camera fx too, so i think it is in all camera apps.any ideas?
Which kernel are you using? I used to find it pretty swift using the Tiamat kernel.
Settings > About Phone >
Should have something along the lines of Cyanogen or Tiamat, I'm guessing its Cyanogen, only because I know most of the AOSP ROMs use it.
2.6.35.14 cyanogenmod [email protected] *1
Try switching some settings off even, but if not, definitely try the tiamat kernel.
http://tiamat-dev.com/tiamat_saga/
i have disabled some graphic features, flashed that kernel but still lagging
Give Galnet a shot, with a combination of Tiamat.
http://galnetmiui.co.uk/landing/weekly-builds/
It was the one combination I ran on the Desire S flawlessly, and thoroughly enjoyed.
didnt help too. i read somewhere that this lagging is on some older desire s. very bad to shoot photos but possible, but making video is such a pain i love this rom so i will wait if some sollution appear later. thx anyway
edit: not old but new desire s could have this problem
No offence, but I wouldn't hold your breathe. The HTC Desire S probably won't get the attention it needs, as it doesn't really stand out from the crowd.
Awesome device, but over shadowed by many of the giants that are approaching.
I've never had any problems with the camera being slow on mine. But I don't know what you would consider appropriate. At the same time though, mine is currently an expensive alarm clock.
some new thoughts. it doesnt lag like about 1 second after start camera app. it doesnt lag neither when i set timer . for 5 counting seconds is camera smooth. it was also quite smooth when i opened camera and i received force close window about app Talk. so if it could work good at least in 5 seconds count there must be way how to make it works.
hi guys! Same problem. I bought the brand new Desire S. Make it S-off, root, 4ext recovery.
i flash the latest MIUI and the same problem here with camera and video playback!
i figured how it lags - when animation of ui is running - video playback is running to. When animation of ui elements stops - video playback (and camera playback) stops too!!! Try to touch the elements of user interface when camera stops!
It seems that in new models of desire video driver works differently.
I tried to flash all versions of stock roms - the problem was gone.
But with latest cyanogen kernel, all versions of tiamat kernel i got same problem!
It is only one custom kernel with this lags gone - it is UNITY_V9_2.6.35.14_OC2016_UV900_SLQB_CIFS_TUN_NOOP_EXT4_2WCR_VDD_SAGA3.zip
But with miui and this kernel wifi stops working normally and video playback to, but camera works great!
May be some specialists in this questions make differences in above kernels and differentiate the problem...
i am wery disappointed in this device because i cannot get normally working any custom roms! ( only stock... but stock sucks!! want MIUI!!
there are another guys with same problem: ht_p://forum.cyanogenmod.com/topic/37785-camera-bug/
P.S. Sorry for bad english, i teach it bad in my russian school
Yes, I have the same problem with a brand new DS. I reported this here http://forum.xda-developers.com/showpost.php?p=20497676&postcount=559
and here http://forum.xda-developers.com/showpost.php?p=20510357&postcount=562.
It is happening with CM7 and MIUI Roms, the latter obviously have CM7 core.
No solution known to me. Can't take Sense bloat anymore, but at least camera works fine.
Edit:
On top: I have just bricked the device (wrong EMMC, can't write system, data, cache, hboot)!
Maybe someone (as I bricked my DS) can have a look at the new CM7 build by Jorgen (can be found in the thread I linked above)? Should have implemented new! HTC kernel sources. The camera might work now.
Sent from my GT-I9100 using XDA App
beggar23 said:
Maybe someone (as I bricked my DS) can have a look at the new CM7 build by Jorgen (can be found in the thread I linked above)? Should have implemented new! HTC kernel sources. The camera might work now.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Tried this build. The result is the same CAMERA F***N LAG!!!!! (((((
Doh!
Sent from my GT-I9100 using XDA App
other ideas?
It seems that this thread is more active so i write my thoughts here too....
The problem with the lagging camera is only on new HTC Desire S (i think), because i got my desire s a half year before and on this one it's working. With the new HTC Desire S of my girlfriend it isn't working.
So i found a alternative, for those who like to take some pictures and capture some videos. The first one is (pictures only) a free app called pudding camera, it has a nice UI and it's working. The second one is (pictures and videos) a paid app (2,50€ i think) called Angel Camera which allows you to take pictures and videos. Oh and to make high quality pictures you have to select fine shot or something like this.
The problem is, i don't think that the (only) problem is the camera driver because watching videos is also a pain. Try to watch for an example youtube videos they will bug as much as the camera preview. In a few other apps like daily ... workout the videos are lagging like hell too.
And like it was said before it's working if you keep some UI interaction up all the time. For example press menu all the time, you will see it's running fluently. The same is working in the camera app too.
Perhaps a problem with hardware acceleration? The drivers (can't) be the problem because third party apps are working without that lag?
I hope someone more experienced can join this thread.
Perhaps superkid or proxuser or mdeejay, ...
yeah. xD there are lots of very experienced guys in these forums.
Thx.
Hmmm. Apart from the fact that I managed to replace my bricked device and now own a DS whose camera thankfully works, my experience was totally different.
I certainly tried 3rd party camera apps: Vignette, Camera 360, Nemus Camera and Camera Zoom FX. None worked, all of them showed the uber-laggy preview.
So at that time I assumed the issue involves indeed a new driver, API or whatever, a deeper problem not to be solved by using a certain camera app.
@mikep1993: Would you please try one of the mentioned apps, if possible (there are free versions)? And, which CM version are you on?
beggar23 said:
Hmmm. Apart from the fact that I managed to replace my bricked device and now own a DS whose camera thankfully works, my experience was totally different.
I certainly tried 3rd party camera apps: Vignette, Camera 360, Nemus Camera and Camera Zoom FX. None worked, all of them showed the uber-laggy preview.
So at that time I assumed the issue involves indeed a new driver, API or whatever, a deeper problem not to be solved by using a certain camera app.
@mikep1993: Would you please try one of the mentioned apps, if possible (there are free versions)? And, which CM version are you on?
Click to expand...
Click to collapse
I tried other apps but they are lagging as well, i found those two which won't lag. I can't tell anything more detailed but i know those too apps are working. Perhaps they are programmed a bit different or something like this, but yeah.
We are using Galnet MIUI 1.12.31 so the newest build. Like i said before it's working with ICS again. Had no change to try a MIUI ICS build but perhaps we are lucky.
Now what should I throw my phone!!!!!!!! why no one solves the problem!!! I do not want to sit on stock firmware. This problem 100% in kernel, let anyone else will this kernel.
Today there is a new CM7 version available in the dedicated Desire S thread here at xda. Some changes in camera are introduced. Might be worth checking.
all still. I hope they understand what the problem is not in the camera and problem in hardware video accelerator therefore, the lag in the camera
I saw it in different forums for other devices but not here on One S. Looking after it, I've found a version that is working on our devices and I've thought to put it here as well for others to enjoy.
Gallery version is 1.1.40012
Just to be sure... I don't take any credit for it, I just found it, tested if it's working and put the download link.
To install:
1. Download from below link and save it on your sdcard
2. Install using a file manager, I wasn't asked for root permisions and it was NOT installed in system/app (original camera/gallery app are preserved). A new Gallery and Camera apps will be shown
3. Enjoy
DOWNLOAD
What works and I've tested:
- take pictures on all res
- photo-sphere works
- panorama works (I've got though some garbled photos at the end)
- front camera works
- video recording works (both 720 and 1080)
- all settings work
Bugs: (I found only two by now)
- garbled photo for panorama's
- the small lower right circle/icon for popping up the settings is somehow cropped (part of it is shown little bit up) but this is related to the incorrect resizing of the app I believe.
Tested on MIUI V5 3.7.19 but I'm pretty sure it'll work on other ROMs as well
Working fine for me on rom stock, thank's
I had problems installing this app on paranoid.
The answer is easy :
If you have problems installing this you have to uninstall existing Galleryapp using Titanium Backup app first then install the APK.
Just in case someone wonders how's the quality of this camera, I've made some few tests and posted my findings HERE. (I was asked to compare this camera with MIUI's camera)
does the "burst" mode work?. Will it work on non-sense rom? Thanks.
cuiltheory said:
does the "burst" mode work?. Will it work on non-sense rom? Thanks.
Click to expand...
Click to collapse
It has very few options (maybe because it's not fully released???). I couldn't find a "burst mode". It doesn't have HDR as well.
It should work on non-sense ROMs since it's AOSP. I've tested on MIUI which is sense based but Daihogo said he tested it on Paranoid and that is a non-sense ROM.
Tested on CM10 HTC One S(s4), and no burst mode. Everything else works. Kind of "strange" set up, but could get used to it. The "no burst" is a deal breaker. Sadly, going back to sense rom. I hope that someone will "make" version with burst mode.
Been Using this for a while now and love it. the volume rocker works for taking snaps
Works great!
Too bad it doesn't place the pictures in the same map as the stock camera
superiscch said:
Works great!
Too bad it doesn't place the pictures in the same map as the stock camera
Click to expand...
Click to collapse
The stock (sense) camera and AOSP camera always place the photos in different folders under DCIM. One places them in "camera" the other in "100media"
I saw someone else did an MD5 and this is the same camera from the SGS4 release a month or so ago. Still, it's an improvement if only for the fact that the stupid shutter button doesn't move when rotated anymore. I gladly will give up all the CM customizations for that alone.
Rapier said:
The stock (sense) camera and AOSP camera always place the photos in different folders under DCIM. One places them in "camera" the other in "100media"
Click to expand...
Click to collapse
I know, that's why I say too bad
Here it is! The first part of the Nemesis project, Focal, is already here!
This is just a build I made downloading the source from github.
I will try to update it as new versions progressively come. :laugh:
This isn't my work, say thanks to the CyanogenMod Team instead!!
Sorry for the Google Drive download link, but I apparently can't upload this file as attachment...
UPDATE: It seems to better work on Nexus devices and on AOSP based ROMs. Stock ROMs like Sense, TouchWiz etc. will probably experience problems with this camera.
DOWNLOAD
thanks for compiling!
i have currently a nexus 4 running stock 4.3 unrooted with stock kernel.
this is the first time i tried focal, and here are my impressions:
the preview lags. constantly. no matter what conditions, dark or sunny.
i dont like the interface, even though it has nice ideas, its just too much. im not a big photographer, so for me these features are not that important to me, i much more prefer simplicity, and this is just overwhelming.
i dont really get how the view of the previously taken photos should work, how i can navigate through them and how it can be deleted.
they took a lot of good ideas from the official camera app, but implemented it in the wrong way.
as for picsphere: i dont like that there is no preview, i only see the frame when i already took it. and that i have to manually press the shutter button to take the frame, and its not automatic. they should at least give an option for that.
picsphere rendering is very slow, much faster on stock.
plus it saves all frames of a picsphere as separate photos too, whats that all about?
and wheres hdr mode?
and why is it locked in landscape mode?
so to sum up: i like the idea of having cyanogenmod-developed apps instead of stock, but it still has a loooong way to go to become a considerable option to replace the stock camera app.
zakoo2 said:
thanks for compiling!
i have currently a nexus 4 running stock 4.3 unrooted with stock kernel.
this is the first time i tried focal, and here are my impressions:
the preview lags. constantly. no matter what conditions, dark or sunny.
i dont like the interface, even though it has nice ideas, its just too much. im not a big photographer, so for me these features are not that important to me, i much more prefer simplicity, and this is just overwhelming.
i dont really get how the view of the previously taken photos should work, how i can navigate through them and how it can be deleted.
they took a lot of good ideas from the official camera app, but implemented it in the wrong way.
as for picsphere: i dont like that there is no preview, i only see the frame when i already took it. and that i have to manually press the shutter button to take the frame, and its not automatic. they should at least give an option for that.
picsphere rendering is very slow, much faster on stock.
plus it saves all frames of a picsphere as separate photos too, whats that all about?
and wheres hdr mode?
and why is it locked in landscape mode?
so to sum up: i like the idea of having cyanogenmod-developed apps instead of stock, but it still has a loooong way to go to become a considerable option to replace the stock camera app.
Click to expand...
Click to collapse
Most features work on my sensation.
You can change which of the editing settings you want to appear using the slide-up settings.
Picsphere has previews for me. But I agree the rendering needs work.
HDR works
You can swipe from the left/top to get to gallery and see/edit/delete pictures.
It's not locked in landscape for me either.
I used the zip from the other thread though
http://forum.xda-developers.com/showthread.php?t=2384678
[APP]CyanogenMod Focal Camera
Crashes about 10 seconds after starting on my note II stock
Xperia Mini!
Worked on my device but experience a little lags. Video, Panorama can't use, force closes. (Picsphere, we don't have gyro. Can't test it) Anyway is it already on auto-focus mode? if not, where do I set it?
works fine on my s2 with android 4.2.2 pac rom.. i wish if it could let u set it as the default camera tho
It FCs on my phone... on 4.1.2
This actually works better then the one on CM 10.2 nightlies for jflteatt.
Sent from my SGH-I337 using Tapatalk 4
crashed after 5 seconds...
Sent from my HTC Butterfly using xda premium
What commands did you use to compile it?
Hello,
I apologize if this topic has been covered in another thread. I looked and couldn't find the information that I wanted.
I am Stuck on TW roms because I can't get any of the Photosphere enabled cameras to be fully functional on any 4.3 AOSP roms.
I think I have tried them all. No matter the camera app/rom/kernel combination that I try, the camera always force closes or reboots my device when I use any of the front facing Camera/Video cam features. This is truely preventing me from using a 4.3 rom as a DD.
This may be a Noob question, even though I have been flashing roms since my Eris...but, why are there no ROM's that have a Photoshpere camera included? Why can I only get that camera as an .apk or flashable .zip? Confuses me.
For now, I am stuck on TW because I can have the Samsung Camera (which i love), and I can have a fully functional Photosphere camera and run them side by side.
If I could use the camera that comes with the 4.3 rom (for front facing camera & vid cam, i.e. hangouts) AND load the Photosphere cam, I would be happy, but one has to replace the other...unlesss there is a workaround I am not aware of.
Thanks!
Mac
ripdoozer said:
Hello,
I apologize if this topic has been covered in another thread. I looked and couldn't find the information that I wanted.
I am Stuck on TW roms because I can't get any of the Photosphere enabled cameras to be fully functional on any 4.3 AOSP roms.
I think I have tried them all. No matter the camera app/rom/kernel combination that I try, the camera always force closes or reboots my device when I use any of the front facing Camera/Video cam features. This is truely preventing me from using a 4.3 rom as a DD.
This may be a Noob question, even though I have been flashing roms since my Eris...but, why are there no ROM's that have a Photoshpere camera included? Why can I only get that camera as an .apk or flashable .zip? Confuses me.
For now, I am stuck on TW because I can have the Samsung Camera (which i love), and I can have a fully functional Photosphere camera and run them side by side.
If I could use the camera that comes with the 4.3 rom (for front facing camera & vid cam, i.e. hangouts) AND load the Photosphere cam, I would be happy, but one has to replace the other...unlesss there is a workaround I am not aware of.
Thanks!
Mac
Click to expand...
Click to collapse
You CAN get that camera as an APK - right here:
http://forum.xda-developers.com/gal...lery-camera-android-4-4-t2508471?goto=newpost
I'd post the link myself, but don't have enough priveliges to do so.
im using the photosphere camera on MOAR v8 from their Hub and im having zero issues with it.