HTC 10 MM CamPack for m9 CM/AOSP/CandySix
Update: New version includes the HTC 10 Camera. I haven't got much testing done, but thought I'd share. Please let me know if there are any issues.
This is a flashable zip that contains everything needed for the Stock HTC m9 Camera for Marshmallow to work on CandySix for the m9. I have tested this on the CandySix Verizon build from 1/25. The download may seem large, but that is because of the extra packages that are needed in order for everything to function. I have only found two things that currently do not work. There is no option for Raw Camera. I think this has something to do with the kernel, but not sure. I'm not a kernel guy so I won't be able to do anything about it. Slow Motion video records, but the Gallery will not play the video in slow motion. It plays the video in regular motion. I am still trying to track down the cause of this.
Apps included in pack:
HTC m9 MM Camera
HTC m9 MM Gallery
HTC Video Player - Needed for Gallery to display and play Videos properly
HTC Zoe Video Editor - Needed to Edit Videos from Gallery
Standard disclaimer: Flash at your own risk. Make a backup first, yada, yada, yada...
To install:
Flash zip from TWRP
To remove:
Dirty flash the rom
The script will remove the stock Gallery app.
The script will remove the stock CM camera if installed. Currently CandySix does not se the CM camera so you will have 2 camera's installed, the SD Camera and the HTC camera.
This may or may not work on other CM/AOSP based builds, but I am on Verizon and unfortunately do not have the option of trying others out. CandySix is the only one that will support us poor Verizon folk...:crying:
BR7fan said:
I can confirm that this works on the CM Rom
Click to expand...
Click to collapse
Download: HTC 10 MM CamPack v0.1 for m9 CM/AOSP/CandySix
HTC 10 Camera Application
Changelog:
V0.1 - 4/17/16
Initial Release
m9 Camera Application
Download: HTC M9 MM CameraPack v1.2 for CM/AOSP
Changelog:
V1.2 - 3/29/16
Fixed Gallery crash when viewing folder with a .gif file
Fixed Gallery crash when viewing 3D Panorama Picture
V1.1 - 3/22/16
Fix Bokeh Mode
V1.0
Initial Release
Downloading now, so does this mean there are no issues with video recording?
medo159 said:
Downloading now, so does this mean there are no issues with video recording?
Click to expand...
Click to collapse
None that I am aware of. I tested all video modes and they all worked. Only issue I noticed was with slow motion video. The video records fine, the gallery sees it as slow motion, but it will not play it in slow motion. It plays it full speed.
Not sure if its on my end,but the link doesn't seem to take me anywhere.
BR7fan said:
Not sure if its on my end,but the link doesn't seem to take me anywhere.
Click to expand...
Click to collapse
Doesn't work for me either :crying:
BR7fan said:
Not sure if its on my end,but the link doesn't seem to take me anywhere.
Click to expand...
Click to collapse
liam_davenport said:
Doesn't work for me either :crying:
Click to expand...
Click to collapse
Sorry bout that, try again. When I edited the title, I must have put a space in the url accidentally. :cyclops:
jsaxon2 said:
Sorry bout that, try again. When I edited the title, I must have put a space in the url accidentally. :cyclops:
Click to expand...
Click to collapse
That did the trick,thanks.
---------- Post added at 04:04 PM ---------- Previous post was at 03:57 PM ----------
Everything works great, even video. Thank you !
Downloading right now, will flash tonight when i get home! Thanks for the work.
Just as an FYI, I tested the CameraMod for more detail found here http://forum.xda-developers.com/one-m9/general/camera-tweak-thread-to-make-m9s-camera-t3219828 It works with this modpack on CandySix. The download can be found here: http://goo.gl/I27nnj
I can confirm that this works on the CM Rom
EDIT: 02/16/2016
It also works on AICP
Bokeh not working
maz.b said:
Bokeh not working
Click to expand...
Click to collapse
It should be fixed. Please download this update. Let me know if you still have problems. I am updating the OP also. Version 1.1 https://goo.gl/LwW8K7
jsaxon2 said:
It should be fixed. Please download this update. Let me know if you still have problems. I am updating the OP also. Version 1.1 https://goo.gl/LwW8K7
Click to expand...
Click to collapse
It works now!!! Thq!! CM13.1 here
thanks, I really appreciate this.
I have ran into 1 issue, I'm on the CandySix rom. Gallery will crash when you access a folder with a gif inside it
tyrant1790 said:
thanks, I really appreciate this.
I have ran into 1 issue, I'm on the CandySix rom. Gallery will crash when you access a folder with a gif inside it
Click to expand...
Click to collapse
I'll see if I can re-create the issue. If so, I'll see what I can do.
tyrant1790 said:
thanks, I really appreciate this.
I have ran into 1 issue, I'm on the CandySix rom. Gallery will crash when you access a folder with a gif inside it
Click to expand...
Click to collapse
I fixed the crash for viewing gif. I also found it would crash when viewing 3D panorama picture and fixed that as well. Download v1.2 here:https://goo.gl/AChGYc I've updated the OP as well. Thanks.
Would like to try, but the file isnt public
Adromir said:
Would like to try, but the file isnt public
Click to expand...
Click to collapse
Sorry bout that. I've updated link. Please try again.
thanks its' working
thanks!
Related
Hey guys,
just wanted to provide the fix for the graphics glitches on newer HTC 2.3 ROMs. Just replace the files from the attachment (gralloc stuff in /system/lib/hw) and the glitches will be gone. I tested it with my own Desire Ace ROM.
Maybe i forgot some dependencies, it has to be tested.
Thanks to Markinus for pointing me to it.
cheers
thanks mate. As i m a beginner, wonder what method should i use to apply your fix and other patches? Do I use the "install from .zip" method under CWM? thanks!
I get a File type not supported error on my phone after the download:-(
Sent from my Desire HD using XDA App
You have to place them in /system/lib/hw either by extracting it to your pc and uploading it to your phone via ADB, or do it on your phone somehow, or just wait for someone to make a CWM-package. I don't have a clue about CWM stuff so far, because i don't need it.
can you make cwm update .zip from this 7z file... plz
for all... its extract in PC...and than copy to sd card...and with root explorer replace files in system/lib/hw/
SO is this a fix for the sense 3.0 graphics glitches?
stability? does it kills camera?
need feedback!
uploaded a flashable zip file, based on a guide, haven't tested myself, do nandroid backup before flash!
bountygiver said:
stability? does it kills camera?
need feedback!
Click to expand...
Click to collapse
Haha, hope this isn't another lib that kills the camera, or video playback for that matter.
I wouldn't be able to thank you enough gauner, if this works.
I replace the files....result....
The Glitches gone!!
But also the camera gone!!!!!!
Sooo I want my Glitches back
Yeah, this is just the original file that made the camera stop working, but had no glitches. Sorry gauner but this has been posted I think atleast once in each new sense 2.1+ thread, as everyone always asks how to remove glitches, but are always un aware the camera stops working..
Probably post that its the normal breaking camera file, so no one thinks its the source fix that should allow us to have a camera and no glitches coming out down the road (hopefully soon...)
close and delete this thread. completely useless.
fanatax said:
close and delete this thread. completely useless.
Click to expand...
Click to collapse
you are not correct atleast he try
So these egl libs breaks the camera again? Can anyone confirm this?
yeah broke the cam on LeoRCMix S v.1.2 rom but the bug is still in gralloc.qsd8k.so and that broke the cam but when i replaced gralloc.default.so cam still works
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Krendelrus said:
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Click to expand...
Click to collapse
+1 , very little glitches
edit : and no dialpad. lol , worked after reboot.
Krendelrus said:
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Click to expand...
Click to collapse
i noticed that but when i rebooted the phone it started to work normally.
Hmmm...might hold off until we get confirmation from more people....
No, i compiled these files myself. And i didn't notice it breaks camera, because i barely use it.
As said on the title:
flashable .zip with GalleryGoogle.apk and libs from latest CM10.1 nightly which has HDR
it has been tested on GSM runnng Vanir w/ AK pirates kernel, it should work on any CM10.1 based rom.
if it doesn't check your actual Gallery*.apk as it may be named Gallery2.apk or GalleryGoogle.apk
change the name of the file in the zip according to yours.
Make a backup- -2
Delete Gallery2.apk or GalleryGoogle.apk from /system/apps/ (to avoid duplicated apks)- -1
Flash in recovery-1
Wipe Cache and Dalvik-2
Boot (or leave it off if you want, last step is optional for those who want to use the phone) (YES, i'm hilarious)-3
Test at your own risk.
This is my first post in the forum, i'm glad to serve.
Greetings from Argentina!
ZIP DOWN ATM, I'LL UPLOAD A NEW ONE WHEN I SOLVE ISSUES.
Just posting others work, Thank and Donate to CM.
Flashing went fine on bigxie's 4.2.2 w/ leankernel 6.0. Camera and gallery are working flawlessly but I can't tell if HDR is enabled as it's dark hence I can't take the classic pic of a window from inside. First thing in the morning. Thanks a lot in advance for the effort!
Photosphere stay along?
rainmam said:
Photosphere stay along?
Click to expand...
Click to collapse
no, i'm trying to make'em play along, but you can't have both yet...
EDIT: it seems that photosphere requires a restricted lib which I can't port... it's one or another.
arzafran said:
no, i'm trying to make'em play along, but you can't have both yet...
EDIT: it seems that photosphere requires a restricted lib which I can't port... it's one or another.
Click to expand...
Click to collapse
Can you post your modified HDR one, and also the photosphere one, so we can go back to it if we ever need to?
Anything new?
is it working on AOKP 4.2.2 build 4?
might be a noob question but how do I tell if HDR is enabled? Is there an option to click or is it HDR only?
automaddux said:
might be a noob question but how do I tell if HDR is enabled? Is there an option to click or is it HDR only?
Click to expand...
Click to collapse
If I remember correctly, it is a setting. Hold your finger down in the camera. I'm pretty sure it's the direct top option.
Sent from my microwave. Yeah, my microwave.
Thread closed. OP, PM me when the zip is available, to re-open the thread. Placeholder threads are not allowed.
Hello everyone!
I'm having trouble with the P8000 camera.
Every time I open the app, it says it can't connect to the camera and that I should close any apps that may be interfering with the camera or flash. Other apps that may use the camera give me a generic message telling me the camera can't be found or is in use.
After many, many hours : I have so far tried :
- Eragon 3.0 + camera fix (neither worked)
- Vibe 2.9
- Flyme
And I have also tried these stock roms :
- K05TS-A.A.vA0W.E1.150909 (which is the most recent available)
- K05TS-A.A.vA0L.E1.150725 (an older one since I figured I could try a downgrade)
None of these ROMs have fixed my camera that used to work fine when I first got the phone :/
Has anybody got a solution to this problem?
Thank you very much for your time
Did you format and delete caches ???
kewlpanda said:
Did you format and delete caches ???
Click to expand...
Click to collapse
Format as in the format + download option in the SP Flash tool?
mikomiky said:
Hello everyone!
I'm having trouble with the P8000 camera.
Every time I open the app, it says it can't connect to the camera and that I should close any apps that may be interfering with the camera or flash. Other apps that may use the camera give me a generic message telling me the camera can't be found or is in use.
After many, many hours : I have so far tried :
- Eragon 3.0 + camera fix (neither worked)
- Vibe 2.9
- Flyme
And I have also tried these stock roms :
- K05TS-A.A.vA0W.E1.150909 (which is the most recent available)
- K05TS-A.A.vA0L.E1.150725 (an older one since I figured I could try a downgrade)
None of these ROMs have fixed my camera that used to work fine when I first got the phone :/
Has anybody got a solution to this problem?
Thank you very much for your time
Click to expand...
Click to collapse
If you really made a WIPE before installating Eragon and/or Stock ROM it sounds like there might be something wrong with your phone as both of those are confirmed to work well with the camera.
And i assume we are talking about the original camera app, not any 3rd part apps?
Anyway, the original app should work even with 150725 as the camera fixes was only to address problems with 3rd part camera apps...
mikomiky said:
Format as in the format + download option in the SP Flash tool?
Click to expand...
Click to collapse
incorrect you need to delete caches using custom recovery then flash eragon 3.0 because ive never had any problems with eragon 3.0
sharkware said:
If you really made a WIPE before installating Eragon and/or Stock ROM it sounds like there might be something wrong with your phone as both of those are confirmed to work well with the camera.
And i assume we are talking about the original camera app, not any 3rd part apps?
Anyway, the original app should work even with 150725 as the camera fixes was only to address problems with 3rd part camera apps...
Click to expand...
Click to collapse
Yes I'm talking about the original app
Ive played some heavy games that made my phone hot in the upper part, is it possible the heat damaged the camera?
kewlpanda said:
incorrect you need to delete caches using custom recovery then flash eragon 3.0 because ive never had any problems with eragon 3.0
Click to expand...
Click to collapse
alright ill give this a try
Hello,
i have the same problem. I change the rom into 20150909 and didn't fix it! I used only original apps and neither camera nor flashlight doesn't work.
Anyone know a solution for this problem?
Thanks so much for reply!
mikomiky said:
Yes I'm talking about the original app
Ive played some heavy games that made my phone hot in the upper part, is it possible the heat damaged the camera?
Click to expand...
Click to collapse
Suggest you get it to service ASAP.
---------- Post added at 09:08 PM ---------- Previous post was at 09:08 PM ----------
giffon29 said:
Hello,
i have the same problem. I change the rom into 20150909 and didn't fix it! I used only original apps and neither camera nor flashlight doesn't work.
Anyone know a solution for this problem?
Thanks so much for reply!
Click to expand...
Click to collapse
Suggest you get it to service ASAP.
giffon29 said:
Hello,
i have the same problem. I change the rom into 20150909 and didn't fix it! I used only original apps and neither camera nor flashlight doesn't work.
Anyone know a solution for this problem?
Thanks so much for reply!
Click to expand...
Click to collapse
Sounds like you didn't flash it well or something because my phone works with eragon 3.8
Sent from my Elephone P8000 using XDA Free mobile app
Thx for Your reply.
Before flash, the problem was the same. It means, neither cam nor flashligt doesn't work. In that reason I have to try flash into newest version.
Do you think the flash with eragon may solve my problem?
Now when I want to switch on my cam (icon in original theme) I can see alert "Device is not installed", but when I use a nova launch, support from cam doesn't exist and I can't find it.
best regards
giffon29 said:
Hello,
i have the same problem. I change the rom into 20150909 and didn't fix it! I used only original apps and neither camera nor flashlight doesn't work.
Anyone know a solution for this problem?
Thanks so much for reply!
Click to expand...
Click to collapse
If both cam and flashlight not working it means there is camera issue. Without camera flashlight does not work.
Check the camera connection if it is ok then need to replace the camera.
i started with this port for oneplus 2. after some modifications and help of testers it works now for oneplus x too. most of the things work!
bugs:
- opening recorded videos with stock player inside camera let's crash gallery. go to gallery instead or use other player/gallery
- dark picture with force flash on daylight (rom issue?)
- manual exposure limited to 2sec (rom issue?)
edits:
- added first zip
- added updated port and a version for sultanxda's rom
- added new zips, better HDR performance and new gallery
- added new zip from @etoy, out of newest OOS 2.2.2
- flash in recovery and enjoy. stock or other camera apps will NOT be replaced!
- previous users of h2o cam should uninstall old version first
thx to me for deodexed oos301 rom
don't copy nor upload it somewhere else!
to be continued...
Great work Brother
That's the same as test3 zip, right?
mindphuq said:
That's the same as test3 zip, right?
Click to expand...
Click to collapse
yep it's the same
i like Oxygen but why still have a bug if porting hmm... @[email protected] i don't know why the snapdragon camera isn't make me comfort.. wait for the update for this porting
It doesn´t work on Sultan´s CM13. It also crashes the stock camera...
malatest said:
It doesn´t work on Sultan´s CM13. It also crashes the stock camera...
Click to expand...
Click to collapse
i think that's because of his own camera HAL in the rom. i could make you a special zip if you wanna try again..
really great camera, if it can save to sd card, it would be perfect
someone wants to try updated port? if official MM is released for OnePlus X like for OPT, everything should work now
https://www.dropbox.com/s/aj8rielsrzxr5aw/OO302Camera.zip?dl=0
Sent from my ONE A2003 using XDA-Developers mobile app
i will try it in turbo rom
I guess this is not working with CM13 by sultanxda?
Dizzyrul3z said:
I guess this is not working with CM13 by sultanxda?
Click to expand...
Click to collapse
i think it will overwrite some important libs in his rom. but try this version, everything important is included, nothing gets overwritten and would be easy to delete again let me know if it works..
for cm13 sultanxda:
https://www.dropbox.com/s/x094a71qkvdmvfy/OO302Camera Sultan.zip?dl=0
Sent from my ONE A2003 using XDA-Developers mobile app
Uninstall
Hey, I would like to know how do i uninstall the camera, what files i have to deleite and that
hearmeart said:
i will try it in turbo rom
Click to expand...
Click to collapse
How'd it work on Turbo?
Alejandrorr7 said:
Hey, I would like to know how do i uninstall the camera, what files i have to deleite and that
Click to expand...
Click to collapse
best and easiest way is after rom update, just don't install camera anymore
Exodusche said:
How'd it work on Turbo?
Click to expand...
Click to collapse
work perfectly
ghbuur said:
i think it will overwrite some important libs in his rom. but try this version, everything important is included, nothing gets overwritten and would be easy to delete again let me know if it works..
for cm13 sultanxda:
https://www.dropbox.com/s/x094a71qkvdmvfy/OO302Camera Sultan.zip?dl=0
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Working fine in sultan rom but no manual mode. I compare OOS , snap and colorOS cams and the last one gives more detail.
ghbuur said:
i think it will overwrite some important libs in his rom. but try this version, everything important is included, nothing gets overwritten and would be easy to delete again let me know if it works..
for cm13 sultanxda:
https://www.dropbox.com/s/x094a71qkvdmvfy/OO302Camera Sultan.zip?dl=0
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Will this work on OnePlus One with latest Sultan CM13? Or it is only for oneplus X?
we are in oneplus x section here I'm not sure if it works, you can try and tell after. if it doesn't work, just dirty flash your rom again..
Sent from my ONE A2003 using XDA-Developers mobile app
ghbuur said:
we are in oneplus x section here I'm not sure if it works, you can try and tell after. if it doesn't work, just dirty flash your rom again..
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nope, it does not work on the OnePlus One, caused bootloop. Thanks anyway.
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5. Done Enjoy Stock Camera on any custom rom
I'd like to give credit to DevendraMilmile121 for the original port here.
Also credits to data365 for his mod here
I patched the apk to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Download v6.0.54.1
Download v6.0.78.1
Enable Write to external sdcard:
ExtSD_Fix_rw-signed-v1.9b.zip
Thank you so much. Working fine on pure Nexus
Enviado desde mi Moto G4 mediante Tapatalk
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Working fine on crDoid. Thank you so much!
echo92 said:
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Click to expand...
Click to collapse
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Would you please share another link beside afh because i get some problem with download from afh
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
baunthiyal said:
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
Click to expand...
Click to collapse
I didn't see issues with video recording either with the patched Moto camera and deleting the .jar files, or using this Moto camera as is. The Motorola settings seems to pop up whenever, but dismissing it doesn't seem to cause issues with the camera app or the system itself - curious!
dedik46 said:
Would you please share another link beside afh because i get some problem with download from afh
Click to expand...
Click to collapse
https://ufile.io/y6fm5
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
ramansehra said:
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...-motorala-camera-write-to-externalsd-t3498573
gabriwinter said:
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Click to expand...
Click to collapse
Yes look forward to [emoji4]
gabriwinter said:
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5.Done Enjoy Stock Camera on any custom rom
Download
All credits to DevendraMilmile121 for the original port here.
I just patched to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Click to expand...
Click to collapse
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
optionalmgrr.la said:
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
Click to expand...
Click to collapse
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
gabriwinter said:
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
Click to expand...
Click to collapse
Cool. Let's hope someone fix this further
i mean, perhaps setup a wrapper to divert the error message.... something like that.
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
optionalmgrr.la said:
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
Click to expand...
Click to collapse
I'm using cr droid and had this camera tuner by default
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
tiagovicente2 said:
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
Click to expand...
Click to collapse
This camera port is for athene only.