yashsingh1/xdaforums huggingface dataset:
[One (M9) General] dlads:
Had this installed on candy ROM. Reinstalled the ROM and now it won't install again ? Any ideas ?

---------- Post added at 10:18 AM ---------- Previous post was at 09:40 AM ----------

Have installed the app after wiping cache, after wiping the device entirely, after removing any set up files and its still not installing ? Going to try another wipe.

It installs but no camera app or gallery show up

Sorted , full wipe worked.
[One (M9) General] bacon612:
For those of you that had asked or are generally curious, the camera is working fine in CM13. I had it running this afternoon on my m9. Just thought I'd let you know.
[One (M9) General] dlads:
The additional features within the sense cam I have been unable to get to work. Raw for example crashes the camera, bokeh doesn't work as described as far as I could see (can't ha he bokeh level) That's all I tested, and this was all on cm12 candy rom.

Pics and normal video are OK. Selfie cam works ok now too without fcing from face detection, however if you flash the mod for better denoise and clearer pics the face detection issue comes back.

Obviously not part of this but thought I'd mention it.
[One (M9) General] trev23sks:
Is the video mic still low?
[One (M9) General] dlads:
It is.
[One (M9) General] bacon612:
Use this camera app. Its pretty nice, actually.

https://play.google.com/store/apps/details?id=com.marginz.snap

In the video settings, choose the front mic instead of the rear mic. Works really well. Recorded mic volume is normalized.
[One (M9) General] dlads:
I've reverted back to sense, the stability of the entire system is black and white.
[One (M9) General] mhajii210:
I am in for $30.
[One (M9) General] X-DeAD:
me to for 20$
[One (M9) General] PaoloMix09:
Really cool that this is being done, but I kind of gave up on this phone and I am waiting on my Nexus 6 to get to me. This one went up for sale. Couldn't do it with the lack of development here (Came from the OnePlus One). Good luck and I hope you all get this camera to work!
[One (M9) General] dlads:
I'll pledge 20 dollars but I don't think the sense camera features will be ported. Hope they are but I think it's a long shot mate..
[One (M9) General] bacon612:
Its a bit of an apples to oranges comparison because we don't have an M9 GPE but the M8 got sense camera support on AOSP ROMs. Presumably, if someone hacks us up a driver, we can get the sense camera and gallery app to work too.
[One (M9) General] dlads:
Oh really, didn't know that, the m8 was one of the few HTC's i didn't get.
[One (M9) General] Andrewbud:
I'll toss in $25 Canadian dollars because I'm a cheeseball.
[One (M9) General] MonoIiths:
Do you guys pay in BTC
[One (M9) General] bacon612:
I mean, ya. If it comes down to it, I'll help convert it (without a profit) and pay you in btc, if you fix the camera.
[One (M9) General] Johnny424:
Just out of curiosity is it a driver issue preventing the cam from working on aosp roms?
[One (M9) General] dlads:
The issue is the driver for the camera, as there is no Google play edition for the M9 as there was for previous devices, we're without the software already having been created, so it has to be written from the ground up. I can only assumed that parts can be merged, copied, extracted, from other similar devices. I suppose time will tell, as there is now a sizable bounty as an incentive, surely someone will pick up the task, the M9 for me is too great a phone to not have cyanogenmod.
[One (M9) General] Johnny424:
That sucks. Are there active cm devs working on the m9? If so I'm sure they will get it going. I usually switch from the HTC One to nexus each year .. use sense for 6 months or so get burned out and miss aosp and jump to newest nexus, get burned out on aosp and switch to newest HTC lol.

Sorry to hear that, wasn't aware the cam is jacked up on aosp, here's to hoping it gets nailed down soon! [emoji106]
[One (M9) General] rc420head:
I've been told it's the camera Hal crashing

CandyRom Maintainer
[One (M9) General] wickedmx:
Stick me down for $20.

I've had to switch back to LeeDroid as I'm doing some work that requires me to take a camera. As soon as camera is working on AOSP, I'll be back like lightning.
[One (M9) General] MonoIiths:
More or less; endgame there are two ways of doing this

- flashable zip

- build new driver (practical for source reasons)

So the prize here will really have to be qualified, because there is a fast way and a right way
[One (M9) General] ivicask:
I gave it a try today, i think i got camera HAL loading(at least there are no errors on that part) by using stock 5.1 base drivers/libs, even stock HTC camera starts(closes after few sec with black screen), but there are still lots of missing methods in framework which camera drivers need to work properly, all that needs to be ported.

Not even sure if this can work, but ill try play some more with it when i find time..
[One (M9) General] rc420head:
Are you building the rom your self? The cm rom from unofficial thread is missing a lot of camera stuff. If your on gsm you can try this http://downloads.codefi.re/cnexus/rc420head/candy5-release.v3.6-20150907-OFFICIAL-himaul.zip

CandyRom Maintainer
[One (M9) General] arelas:
I'm in for $20.
[One (M9) General] ivicask:
I downloaded it from http://www.thunderzap.in/downloads/

I didint build AOSP rom ever, and i prefer Sense roms over AOSP, but i do have big experience in porting roms, and i already helped fix camera on AOSP roms (HTC Sensation for example), so i decided to help you out .

+ the bounty does seam motivational :)

Will try again with one you linked.
[One (M9) General] bacon612:
C'mon guys 'n gals, let's up the ante a little. This thread has 2000 views but far less pledges. Open up your hearts to a (mediocre) 20mp HTC One m9 camera for aosp. Help us help you.

Pledge a buck. Or five. Don't be a wallflower.
[One (M9) General] bacon612:
Good for you. I'd rather lick a cats ass.
[One (M9) General] Andrewbud:
I agree. I ended up buying a Nexus 6p. Wifey will be using the M9.
[One (M9) General] dlads:
It is good for me. And your attitude stinks.
[One (M9) General] Andrewbud:
So your rebuttal is a threat? Pot meet kettle.
[One (M9) General] djsubtronic:
[MENTION=2880355]dladz[/MENTION] what is wrong with [MENTION=4429707]bacon612[/MENTION] expressing that he prefers cat ass licking over HTC Sense?
[One (M9) General] dlads:
Look I'm not going to get into a debate. I can tell when someone is being funny, let's leave it there. I don't need this thread no more, I paid my bit. Had a problem, asked about it, got ignored and reverted back to sense.

My choice, that's the end of it. OK! I'll not be responding to any more Posts on this thread so save your time in keeping this going. I've changed my original post now too.
[One (M9) General] Jamie bell:
I've tried that camera app that was suggested and all that happened was my phone overheated and the app crashed several times... Defo not worth the money.

If u want a solid camera app, try z camera. Its not perfect, for example u can't record 4k or change mic preferences, but its rock stable and pretty fast. I ended up changing my pic res to 16mp at 16:9 because that fits the screen better and speeds up the view finder.

I'm not advertising for them, but I think that's the best choice there is unless you're prepared to stay with the locked down stock camera app or googles one...
[One (M9) General] jody04c:
Bounty paid. Moved to Nexus 6p some weeks ago so it genuinely slipped my mind but a promise is a promise.
[One (M9) General] maz.b:
Using CM13 with stock camera of HTC only Bokeh doesn't work for the rest is the camera works perfect, rooted with supersu & xposed with the new release of nightly it looks like its bug free :D
[One (M9) General] ivicask:
Even RAW works?
[One (M9) General] droidphile:
Anybody successfully got the cam working on cm13, international variant. It flashes fine but does not appear in the app drawer.
[One (M9) General] ferreinf:
Have u s-off the device? Running latest cm13 nightly, it flashes but won't appear on the launcher .

Droidlab.pt
[One (M9) General] maz.b:
Download the APK & install it + reboot; http://www.apkmirror.com/apk/htc-co.../htc-camera-7-30-581119-android-apk-download/ & http://www.apkmirror.com/apk/htc-co...htc-gallery-9-22-668813-android-apk-download/

AND https://www.youtube.com/watch?v=kho6vC6S3kY
[One (M9) General] Dirgeelu:
I am new to XDA. So can anyone please sum up and tell me if there is any working CAM? :) TIA
[One (M9) General] rc420head:
Yes been working for a while now

Sent from my LG-H811 using Xparent Red Tapatalk 2
[One (M9) General] ferreinf:
Thanks it worked :) but had already bought snap camera, and it's working very good, changing mic to the front solved low volume..

Droidlab.pt
[One (M9) General] maz.b:
Ja :P Yes!
[One (M9) General] marvin_666:
Its possible to port Time lapse From A9 camera?
[One (M9) General] ivicask:
Yes, i already managed to turn it ON in camera, but gallery complained device not supported, and i didint had time to dig around to remove this device restriction...

If i find time and manage to do it, will add it in A9 Camera mod which is on our Venom HUB already.
[One (M9) General] bacon612:
That would be really cool
[One (M9) General] vivremetrique:
Perhaps we should start a similar bounty thread for CM14?

I'm unaware of the intricacies involved in making the camera work. Is there a reason that it would work with one version and not the next?

See https://xdaforums.com/one-m9/orig-development/lineageos-14-1-htc-one-m9-t3546356
[One (M9) General] aerodan:
In for a fiver. EDIT: I'd like to upgrade to 30. This is getting more important to me :)
[One (M9) General] outofluck:
I'm in for $20.
[One (M9) General] basedboii:
In for $10
[One (M9) General] matthewstice:
10$ from me
[One (M9) General] karoom:
I'm in 50$
[One (M9) General] repl1ca:
I shall pledge $15
[One (M9) General] iggdawg:
I'm in for $20, payable as either BTC or google pay. Paypal and I are not friendly, but I still want to contribute.
[One (M9) General] tip2tail:
Put me in for $10 US.
[One (M9) General] dlads:
$630 not too shabby that.
[One (M9) General] rc420head:
[MENTION=1792279]ivicask[/MENTION] shared his work with me and with a little tweaking this is where its at.

https://youtu.be/K1RhMLPiSJg

https://youtu.be/2LcmLtJnkrc
[One (M9) General] kravguy:
$20 here. Trying my best to not give up on this phone.
[One (M9) General] Alcolawl:
I'm in for 5 American.
[One (M9) General] s7icky.com:
40$ here. Canadian moonies. Maple syrup sented.
[One (M9) General] jody04c:
$20 for me too.
[One (M9) General] DeadPotato:
Whoever makes this will be able to buy a new phone actually ;)
[One (M9) General] jody04c:
And I for one will be very happy when that day comes!

Wonderful!!! Almost there Guys!
[One (M9) General] Andrewbud:
That's like 12 cents after exchange :P . Will you be mailing loonies and toonies?
[One (M9) General] mfg81:
I'll be sending Canadian pennies
[One (M9) General] Andrewbud:
Those were discontinued when our currency lost its value....
[One (M9) General] Leebert225:
Lol $20usd will cost us Canadians about $26cdn! Low dollar is good for exports not so much imports!

And I'm glad the penny is gone!
[One (M9) General] Alederangle:
Working on it.

I think I might have figured it you. I might just get this one
[One (M9) General] erisboxx:
Hell I'll put my 5 towards it all I can afford atm, American dollars of course
[One (M9) General] Elsitje:
Put me down for 20! After playing with CM12 on my sons M8 I want it too!! :)
[One (M9) General] anton79ru:
$20
[One (M9) General] s7icky.com:
I was going to attach it to my pet polar bear and have him take it from my igloo to the local post.
[One (M9) General] Malvarose:
I'm down for $10.
[One (M9) General] blackknightavalon:
Got an alpha for some of us to flash?

Sent from my toaster
[One (M9) General] jody04c:
Alpha tester offer here too.
[One (M9) General] anton79ru:
Would you mind also sending him over to me so he could fetch my two sacks of Russian roubles before it's three sacks?
[One (M9) General] saidmsb:
good news???

please:)
[One (M9) General] ivicask:
Only camera works, camcorder still crashes and its not just easy work to fix it, but its worked on.
[One (M9) General] blackknightavalon:
Keep going at your pace and let us know when you're ready for beta testers.
[One (M9) General] jody04c:
Keep it up [MENTION=1792279]ivicask[/MENTION]. Sounds very promising so far. Looking forward to paying up when Cam and Video come good.
[One (M9) General] ivicask:
Iv done initial work getting camera working using HTC native camera libs, and helped as much i can towards getting camcorder working, now its up to [MENTION=4662457]Rashed97[/MENTION] to try fix camcorder in source and wrap things up.

Just so we are clear :)
[One (M9) General] jody04c:
Seeing this is a combined effort I feel the bounty should be given to those combined members who are fixing the cam and video. This seems only fair. As with Rom development, those members need to be acknowledged so I can pay each person accordingly. Just my two cents worth and how I wish to pay my bounty contribution. BTW my payment is rising from $20 to $30 as from now. Very much appreciated work to those who are working hard for the benefit of the rest of us. Can OP please add [MENTION=1792279]ivicask[/MENTION] to contributor list once [MENTION=4662457]Rashed97[/MENTION] confirms he has received and verified source and can try to finish things off with respect to Camcorder. Other confirmed contributers should also be acknowledged as well.
[One (M9) General] bacon612:
We'll make sure it fairly distributed, don't worry. Will keep everyone in the loop when we get there.
[One (M9) General] Rashed97:
Only thing standing in the way right now is the need for a certain prebuilt binary from stock. That blob works (as much as I can tell nothing else is broken) for now, but as soon as something new depends on a change needed in that binary, all hell with break loose and the entire media framework will crash (trust me, I've tried). So where we stand is trying to replicate HTCs code well enough that we can build said binary and not break ****.

Also on the camcorder; that needs something called the Camera Wrapper. Basically it's another binary that literally wraps around the stock camera HAL and modifies certain properties and variables in order to allow the HAL to function properly under an AOSP ROM. Right now I've got the wrapper loading, but it isn't loading the actual camera HAL so kinda useless. I'll keep everyone posted when I get something.
[One (M9) General] jody04c:
Guys n Gals. If you can spare some extra cash to assist in the bounty payment to get the camera working for M9 AOSP then please help out.. no matter how small.. I'm sure any donations would be greatly appreciated. It seems we are getting much closer to it becoming a reality. The progress takes time and effort that should be rewarded. If HTC won't help then help the DEVS to help us.
[One (M9) General] MattJaO3D:
Awesome , put me down for 5 British pound , that's all I can afford at , via PayPal, looking forward to seeing this project emerge
[One (M9) General] medo159:
Awesome work, thanks to all of you.

Put me down for $20, will pay it via PayPal if that's possible.
[One (M9) General] Mr.Preacher:
$100 if before the Nexus 5 is publicly available.

$20 if after.
[One (M9) General] jody04c:
Did u win the Lotto ? :)
[One (M9) General] Mr.Preacher:
I'm just not going to keep putting up with this Sense garbage. If AOSP won't work on this phone, then I'll go Nexus and probably not come back to HTC.
[One (M9) General] jody04c:
Honestly know how you feel. This is my last dance with HTC if AOSP and Camera can't dance together. Hate to say it as I've been with HTC since the beginning. I'm an optimist... It WILL happen... "believe"..
[One (M9) General] asacado:
I thought the same, bit I'll switch between the nexus 5x and the m9 depending on features. I know that this phone will get nightlies one day.
[One (M9) General] throcker:
I think both nexus 5 coming out will not be better than this phone. and also, if n5 will have s810 a SoC optimization for out chip is coming soon....but we have choice with sense

camera is really the only possible plot-twister, but this is xda....they will make it....
[One (M9) General] omgbathtub:
$10 via paypal for me, really getting bored with sense. C'mon guys, you can do it! I have faith in you!
[One (M9) General] Conkreet908:
Put me in for $25...
[One (M9) General] dlads:
Are we stopping at a grand or continuing? Fair play to everyone, money has rolled in.

How is progress at the moment? Wasn't the still camera working?
[One (M9) General] ivicask:
Still camera works, selfie camera works, video recording crashes, and it will be very hard if even impossible to fix because of closed source HTC drivers..
[One (M9) General] djsubtronic:
I don't get it... how come this camera is proving so difficult/impossible to fix 100% compared to other HTC devices in the past? Weren't they mostly in the same boat of closed source drivers?
[One (M9) General] ivicask:
Well previous ONE phones also had AOSP version from HTC so it wasn't so hard, and other phones had similar hardware to other AOSP roms/phones, but M9 is UNIQUE, and has very complex drivers.

Just to put u in perspective my initial pack that fixes camera has over 500!!! camera related libs from HTC just to make it work(without camcorder)..

I remember Sensation days when you copied 10-20 libs max and had fully working camera..
[One (M9) General] djsubtronic:
Oh wow, thanks for explaining. Seems like a real pain, wish I could contribute but I'm clueless with Android dev.
[One (M9) General] jody04c:
At this point I am happy to give my bounty to a part working Camera rather than nothing such is my desire to run Cyanogenmod on this device daily. I rarely use video and the Camera (front and rear) will suffice. Is there any way of obtaining the modified apk thus far once I pay my bounty to dev?
[One (M9) General] ivicask:
If we dont manage to fix it soon we will release whatever progress we made so far as it is, give us a bit more time.
[One (M9) General] saidmsb:
I believe you gonna make it guys since you fix the still camera,which we know all is not an easy task.
[One (M9) General] dlads:
Do you think they're aware of us attempting a fix? Or even putting up a bounty?
[One (M9) General] ivicask:
Who, HTC? :D

They dont give a s$it be sure of that ...
[One (M9) General] MattJaO3D:
Wish I could write code lol, a grand in the pocket would be nice , keep up the good work :)
[One (M9) General] dlads:
I know people who work for HTC, the developers definitely check out XDA, i promise you that, whether that will make a difference, my sentiments are precisely how you articulated it :)
[One (M9) General] ivicask:
I know very well they do check xda, but as I said in this particular case they don't care in any way I'm sure.

But I know in fact they keep an eye on our Venom roms, many times Team venom adds some features and tweaks just to be added by HTC in next sense version :)
[One (M9) General] dlads:
Haha yea i've seen that happen, they're cheeky, sue them lol, intellectual property, that's just what they need ;)
[One (M9) General] MattJaO3D:
The big companies definitely check, I come from Sony flag ships and niabocs custom stock roms, the guys a genius , and before you know it , Sony have kanged it lol
[One (M9) General] Fikus011:
They (HTC) are aware of the situation(look at the SS bellow),but as [MENTION=1792279]ivicask[/MENTION] said ,I doubt they give a sh..t .

Anyhow...Ivice bravo za kameru :good:

I know how much work would rewriting the source code would demand for any success to be achieved in future CM builds ,and I tell you folks to take whatever you can cause you might dont get more.

If anyone DO make it happen and push the code to git that will be huge and would mean possible nightly builds in future.

For now I'm happy with ported camera with no memleaks.

L8r folks!
[One (M9) General] ivicask:
Just a generic answer, and belive me they really don't care about CM camera.

And as I said, there won't be source code unfortunately, it's simple not posibble..

---------- Post added at 08:05 AM ---------- Previous post was at 07:28 AM ----------

They have no reason to check CM bounty thread, CM is open source, if they want to kang something they can simple take source, theres nothing on this thread that wold interest them or they would benefit in any way, therefore you will just hit brick wall with HTC..
[One (M9) General] jody04c:
FFS.. HTC can't make money on their in house activities at the moment so I doubt they give a fxck about helping us lot out with our AOSP endeavors. Let's try and sort this ourselves and not worry about HTC's extremely unlikely assistance ever happening.
[One (M9) General] Leebert225:
I don't really understand why htc wouldn't help. We all bought their device(s) we just don't like Sense. So why not help because it sounds like most people will not be buying anymore from them so they will lose that much more money, no?

It just doesn't make sense to me.
[One (M9) General] bacon612:
I've often thought about this. Would be interesting to see what percentage of m9s sold receive bootloader unlock requests by htc. Theirin lies the answer. My best guess is under 5% of sales. If this number were higher then they'd likely support our efforts.
[One (M9) General] matthewstice:
Yes please
[One (M9) General] da5hi30i2d:
So if we pay the bounty, we get what has been fix thus far?
[One (M9) General] jody04c:
It seems that camera functional but video is not on AOSP. To get that far is an achievement in itself. If you dont rely in video that much then so far so good but for those video makers of you, you may not be so happy.
[One (M9) General] rc420head:
Here's the scoop guys, [MENTION=4662457]Rashed97[/MENTION] & [MENTION=1792279]ivicask[/MENTION] are working really hard on this fix, he said I could release the fix where it is now but he'd prefer not to. The other thing is the Flashable fix I have is 1.older now and has only working back camera that crashes when faces are present (face unlock crash)

2.im fairly sure even the newest cm build that's out publicly won't work with fix (I haven't tried so I could be wrong) (new candy5 builds it will work with).

3. This is more of a work around not fix so I'm 99% sure M will break it.

It comes with sense camera but pictures taken from it don't save unless you find a ported sense gallery APK to go with it.

I'm not saying anyone should pay out their bounty yet and most definitely not to me.

All I did was make a Flashable zip.

One last thing you more than likely will have to wipe data for the stock cm camera to show up or just flash zip in recovery and get Google camera from play store.

https://copy.com/cNqHJxZcjKhsVtLw

CandyRoms Maintainer
[One (M9) General] mhajii210:
M9 Bounty

I wanted to thank you for the updates. I am personally running Eragon version 10 until we can get a true AOSP Rom running with a camera and a video fix. I am hoping it'll be possible. I love my M9, and my wife with an iPhone 6 has been begging me to give her my phone. I am patiently waiting for a fix. Until then, I am adding another $80 to the bounty for a true camera plus video fix. That brings my total to $110. I wanted to get us to $1000. Good luck everyone!
[One (M9) General] jody04c:
Not working for me on Candy or CM Roms. Flashing zip in TWRP and wiping Cache and Dalvic. Not sure why. Thanks anyway for upload.
[One (M9) General] rc420head:
Did you try clean install of rom and flash camera zip before first boot?

CandyRoms Maintainer
[One (M9) General] jody04c:
Didnt do clean install. Will try now thanks.

UPDATE..... Worked after full wipe install. Thanks [MENTION=5066258]rc420head[/MENTION]
[One (M9) General] djsubtronic:
No, if the devs fix the camera 100% then they receive the bounty.
[One (M9) General] jody04c:
Thanks to the zipfile link posted from [MENTION=5066258]rc420head[/MENTION] I have a basic working camera (no video) on Candyrom and life is good. This will tide me over happily until completion of 100% working camera. Couldn't be happier for now.... I've got AOSP and basic Cam for everyday use. Bye bye Sense.. You won't be missed.
[One (M9) General] law16:
So no front facing camera at all?