yashsingh1/xdaforums huggingface dataset:
[One (M9) General] reaktor TuT:
Hamdir, I'm on holidays right now. I zoomed in a little as I took this photo using HDR mode. Everything on auto. Then uploaded straight from my camera roll. No processing whatsoever.

The same shot in HDR with my girlfriends M7 looks fine.

What I want to know is this a problem with the 2.8? or should I be going back to 1.40?

I would like a constructive answer because I am on holidays and would like to be able to use my camera.
[One (M9) General] reaktor TuT:
HDR on....

vs

HDR off...
[One (M9) General] Ramsey:
By experience I tell you try not to zoom in with phones. Videos look fine when zoomed in.

That scene looks low light so that's probably why you're getting bad results, along with the zooming in. HDR works pretty bad in phones during low light. Try another shot during day light without zooming in.

Use Snap Camera if you want to control HDR amount using sliders, and also to disable noise reduction to get much better results than what you posted.

or use Raw.
[One (M9) General] defcomg:
sheesh that noise reduction is hardcore

Someone post these files

system/framework/*.apk

Lastest HTC Camera

will add code to disable noise reduction in the apk
[One (M9) General] xchrisj:
Clear case of the shakes if you ask me. Seriously hdr on the m9 is awesome; my favourite mode after raw. No idea why this is so poor.
[One (M9) General] jollywhitefoot:
I agree with [MENTION=994565]Ramsey[/MENTION]'s assessment that the user zoomed in a lot when taking the picture. I've never had good results when zooming in on a phone's camera and I'm really not a fan of digital zoom at all.
[One (M9) General] Ramsey:
I don't have the M9 but if you can do that it would be great, so that when I have the M9, I can use stock camera app without NR =).
[One (M9) General] muayyadf1:
Raw solves everything ?
[One (M9) General] racingmatt1:
I know this isn't the m7 forum but this thread seems more active. I've heard of the m7 having a "dynamic range" problem ( pictures are washed out and more dark and more bright in certain areas). Here is a sample of what I'm talking about and hoping if I can get some help to fix it (image adjustments,iso). I also want to know if the m9 has this same issue. I'm stock and unrooted as well.

Camera mode: auto

Iso:200

Ev:0

Awb: auto

Image adjustments

Contrast: +1

Saturation: +0.5

Sharpness: -1
[One (M9) General] davidtm0:
Have you tried HDR? It's good for high contrast situations

Sent from my HTC One M9 on Tapatalk
[One (M9) General] muayyadf1:
If you look at the posts in this thread, you will know the M9 has way better camera. You just can't rely on auto mode.
[One (M9) General] racingmatt1:
On the m9/m7?
[One (M9) General] muayyadf1:
On all HTC devices, lol
[One (M9) General] fmedrano1977:
How do I disable noise reduction?

HTC One (M9)
[One (M9) General] hamdir:
sigh...never manually pick your target in sunlight like this, just use to auto focus for HTC's smart metering to work properly, even if it means keeping the image under exposed slightly or use the highly effective HDR...also its clear that you are zooming as well in the second set of photos

---------- Post added at 08:11 AM ---------- Previous post was at 08:09 AM ----------

HDR is awesome on the M9 especially after 1.40, dont zoom, rely on auto focus and hold steady until the "processing" text appears

---------- Post added at 08:13 AM ---------- Previous post was at 08:11 AM ----------

look it up on this thread, it was asked many times and there are many ways to achieve that (RAW in HTC camera, root or third party apps)
[One (M9) General] fmedrano1977:
Root..... 3 build.prop line additions?

HTC One (M9)
[One (M9) General] DeadPotato:
I just see a bunch of .jar and framework-res.apk there, and a bunch of .odex and .so in the subfolders, maybe because I'm unrooted :( is that what you're looking for? I'll quote this in case anyone else can help
[One (M9) General] itzsnookums:
Ur mudding a fastback mustang, wow lol
[One (M9) General] defcomg:
lol send the upload entire framework folder and HTC Cam apk/odex

or deodex cam apk and upload that and framework-res.apk only
[One (M9) General] OGhoul:
I'm using ARHD 11, the 2.8.x Dev Edition Firmware (I have a Dev Ed phone), and I've flashed the log exposure mod. My vegetation (grass, leaves) still look like paint daubs instead of plants.

Common settings:

Saturation and Contrast: + 0.5

Large:

Sharpness: -1.5

Medium:

Sharpness: -1.0

Both medium and large pics get similar results. The large ones look a hair better, but it's clear that something still isn't right. Does anyone have any suggestions?
[One (M9) General] trev23sks:
Raw (Sprint M9)
[One (M9) General] Ramsey:
Try using Freedcam with Denoise unchecked and report back concerning grass and leaves. Or use Raw in HTC camera.
[One (M9) General] OGhoul:
Will do. Within FreeDCam, the only thing mentioning denoise is WaveletDenoise, and the only setting available to me is Fast.

I know RAW should work properly, it's more the file sizes that worry me. I don't need a 50mb picture for just every day stuff, you know?
[One (M9) General] DeadPotato:
Let me know if you have everything you need

https://mega.nz/#!PVtXQL6b!lP8vHSOGl3Gwo7ea53Ws87O7pBh_wRyjhQMTcnGc-2k
[One (M9) General] defcomg:
https://drive.google.com/file/d/0B5NJTB9bLPdsdEFsNUgzRUtMdUE/view?usp=sharing

https://drive.google.com/file/d/0B5NJTB9bLPdsckIzTWM3LXdrbTA/view?usp=sharing

.method public setPreviewSizeParameter(II)V
.locals 5

.prologue
.line 1160
invoke-direct {p0}, Lcom/htc/camera/CameraController;->throwIfClosed()V

.line 1162
iget-object v0, p0, Lcom/htc/camera/CameraController;->mPreviewSize:Lcom/htc/camera/imaging/Size;

iput p1, v0, Lcom/htc/camera/imaging/Size;->width:I

.line 1163
iget-object v0, p0, Lcom/htc/camera/CameraController;->mPreviewSize:Lcom/htc/camera/imaging/Size;

iput p2, v0, Lcom/htc/camera/imaging/Size;->height:I

.line 1165
iget-object v0, p0, Lcom/htc/camera/CameraController;->mCamera:Landroid/hardware/Camera;

if-nez v0, :cond_0

.line 1167
const-string v0, "CameraController"

const-string v1, "setPreviewSizeParameter() - No camera object"

invoke-static {v0, v1}, Lcom/htc/camera/LOG;->W(Ljava/lang/String;Ljava/lang/String;)V

.line 1175
:goto_0
return-void

.line 1171
:cond_0
iget-object v0, p0, Lcom/htc/camera/CameraController;->mCameraParameters:Landroid/hardware/Camera$Parameters;

if-nez v0, :cond_1

.line 1172
iget-object v0, p0, Lcom/htc/camera/CameraController;->mCamera:Landroid/hardware/Camera;

invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

move-result-object v0

iput-object v0, p0, Lcom/htc/camera/CameraController;->mCameraParameters:Landroid/hardware/Camera$Parameters;

.line 1174
:cond_1
iget-object v0, p0, Lcom/htc/camera/CameraController;->mCameraParameters:Landroid/hardware/Camera$Parameters;

invoke-virtual {v0, p1, p2}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

[COLOR="Red"]const-string v1, "denoise"

const-string v2, "denoise-off"

invoke-virtual {v0, v1, v2}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;Ljava/lang/String;)V[/COLOR]

[COLOR="red"]const-string v3, "zsl"

const-string v4, "off"

invoke-virtual {v0, v3, v4}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;Ljava/lang/String;)V[/COLOR]

goto :goto_0
.end method

thats what i changed i attached that code to setPreviewSize method so it should work in all modes
[One (M9) General] RSK01:
Night Mode:

King of Fruits... by Yik Lim, on Flickr

Chikus, Mangoes and more... by Yik Lim, on Flickr

Rambutans, Mangosteens and more.. by Yik Lim, on Flickr
[One (M9) General] hamdir:
The HTC One M9 post 1.40 is an HDR / sunset killer

most of these photos are HDR, few of them are auto, Large or Medium, always point and shoot auto focus

terrible terrible camera ;)

some RAW:

PS

PSX
[One (M9) General] muayyadf1:
Killer shooters. Both user and the device ?

Terrible auto mode for sure ?
[One (M9) General] OGhoul:
All shots were point and shoot, auto focus. No editing. Contrast and Saturation +0.5

Large: Sharpness -1.5

Medium: Sharpness -1.0

Large settings

Medium settings

FreeDCam

Large again

Medium again

FreeDCam again

Also, how do I get thumbnails to appear in here (for Flickr photos), as others have done?
[One (M9) General] racingmatt1:
Can a anyone give me some superb image adjustments for contrast,saturation and sharpeness? 99% of the time these photos will be taken on a bright sunny day. Also would it matter if I was using a m7 rather than a m9 for those settings?
[One (M9) General] OGhoul:
I think it would, since they're using different sensors, and the M7 has OIS. A lot of the adjustments that us M9ers have done have been to cope with the overly aggressive sharpness and jpg compression code, and broken metering.
[One (M9) General] hamdir:
sharpness -0.5 or -1, aspect 10:7, size medium, always auto focus, HDR when needed, that is (for M9)
[One (M9) General] racingmatt1:
Will those settings work on the m7,and do I leave the contrast and saturation on 0?
[One (M9) General] hamdir:
the M7 is totally different, so don't change the size, reduce sharpness a little and always rely on auto focus, all HTC devices suffer when you use manually focus, auto focus = smart metering

equally in low light, denoise is agressive on M7/M8/M9 so cap the ISO at 400, its more than enough for the M7

simply cap the ISO and always use auto focus, sharpness -0.5 or -1
[One (M9) General] racingmatt1:
My m7 has the purple tint issue when it comes to low light situations. Can I fix this myself without opening the phone or taking it to my carrier or HTC? Also what do you recommend for a scene (landscape,backlight etc..),and a exposure value for bright sunny days?
[One (M9) General] hamdir:
if you have it heavy it means the sensor is damaged already and needs to be changed, this is crossing into OT ;)
[One (M9) General] racingmatt1:
What about for the rest of my questions?
[One (M9) General] hamdir:
like i told you, i usually dont touch any of these values because i rely on auto focus and i only use two scene, auto or HDR (in case of the M8/M9 manual mode as well)

HDR when you are facing the sun, like the photos i pasted in the previous page
[One (M9) General] Ramsey:
Raw ones are incredible! Thanks!

---------- Post added at 12:35 PM ---------- Previous post was at 12:30 PM ----------

Macros look good even with noise reduction so that's not the best example..

Also, I can't see the original image but only a lower res one so to me they all look great (other than the white balance when using freedcam).
[One (M9) General] OGhoul:
When you go to the Flickr links, the image isn't clickable to view fullsize? And thank you btw.
[One (M9) General] Ramsey:
No, can't see full size, only up to Large 2048 (2048 x 1429).

It says: Download The owner has disabled downloading of their photos

Not sure why that happens, lots of people have that but yet lots allow to download original. Maybe your flickr profile settings?
[One (M9) General] OGhoul:
That's probably it. I'll poke around a bit more.
[One (M9) General] muayyadf1:
Low light - dinner

[IMG="1"]http://xdaforums.com/attachment.php?attachmentid=3407796&stc=1&d=1437104984[/IMG]

[IMG="2"]http://xdaforums.com/attachment.php?attachmentid=3407798&stc=1&d=1437104984[/IMG]

Edited with PSX
[One (M9) General] troopii:
Chromatix contains a float value called purpleprevent for brightlight. Maybe increasing that fix the purple look
[One (M9) General] jaskarandhanju:
http://1drv.ms/1VbPLVT

this is my collection of pics with htc one m9. hope u like it
[One (M9) General] OGhoul:
2.10.401.1 International WWE is out. Anyone have any shots taken with it? I'm currently finishing flashing ARHD 12 which is based off of it, along with the 2.10.401.1 firmware.

Actually, 2.10 still looks like it's painting green leafy things instead of photographing them. This was point and shoot, me setting my phone on the concrete and letting it focus on the blades of grass. Medium, sharpness -1.

[IMG="Medium, -1 Sharpness"]https://farm1.staticflickr.com/506/19823800652_6ed32f95fb_o.jpg[/IMG]
[One (M9) General] DeadPotato:
EDIT: you fixed the preview while I was typing, sorry :p

is that the official WWE firmware, or just a leaked one like the 2.7 base?
[One (M9) General] jollywhitefoot:
That just looks like shallow depth of field to me. There's a small strip near the sprout that appears to be in focus. Maybe I'm not seeing what you're talking about though.
[One (M9) General] OGhoul:
The moss and the ridge of concrete behind the moss. I'll shoot some more today if I can.

Also, as far as I know, its official. It's Android Revolution HD and 2.10.401.1 No Wipe No Red Text, specifically.
[One (M9) General] jollywhitefoot:
It's hard to tell, but it looks like the focal plane is just in front of the grass sprout because the pebbles and moss in that area seem detailed, while the base of the sprout looks slightly out of focus.
[One (M9) General] RSK01:
Raw Unedited:

CHIJMES SINGAPORE by Yik Lim, on Flickr

CHIJMES SINGAPORE by Yik Lim, on Flickr

Marina Bay Singapore by Yik Lim, on Flickr

Singapore City Skyline by Yik Lim, on Flickr

Padang Singapore by Yik Lim, on Flickr

Padang National Day Parade Preparations Singapore by Yik Lim, on Flickr

---------- Post added at 04:36 AM ---------- Previous post was at 04:20 AM ----------

CHIJMES SINGAPORE by Yik Lim, on Flickr

CHIJMES SINGAPORE by Yik Lim, on Flickr

Photos taken from 41st floor:

Swiss Stamford Hotel Singapore by Yik Lim, on Flickr

Anyone Interested on 20hr time lapse video taken with HTC Re cam:

HTC Re - Time Lapse Pt1 by Yik Lim, on Flickr

HTC Re Time lapse - Pt2 by Yik Lim, on Flickr
[One (M9) General] xchrisj:
My first impressions of the latest Firmware are very very positive indeed. Overall photos under all conditions are improved with much greater definition and colour consistency. Gone has the haze that sometimes crept into photos (think tops of trees with sky behind sometimes created a haze in my previous photos) and moving from dark to light results in much less over exposure - think taking a shot from a room with curtains partially closed - much of the detail from outside is picked up. I've moved from Viperone to Maximus HD6 and the difference is really impressive IMO. Wow i'm impressed! :D
[One (M9) General] BR7fan:
Point and shoot and hdr
[One (M9) General] OtterNZ:
They both look the same to me. Has HTC enabled an auto HDR option like Samsung? This should help with the consistency of photos in varying light if they have.
[One (M9) General] jollywhitefoot:
The pictures look the same because HDR wasn't necessary for that shot because nothing in the image was outside of the sensor's dynamic range
[One (M9) General] starbase64:
Base: 2.10.401.1

1. Auto Mode

2. HDR

3. PSX

Auto Mode by Maik Reifschneider, auf Flickr

HDR by Maik Reifschneider, auf Flickr

PSX_20150721_114438 by Maik Reifschneider, auf Flickr
[One (M9) General] hamdir:
this is exactly what annoys me so much with the M9 camera, using RAW+PSX we can achieve similar dynamic range to the HDR by bumping the shadow areas, using one single frame

its one more sign that the sensor is highly capable and HTC software is using it badly
[One (M9) General] defcomg:
12bit Raw Enable Test [MENTION=456666]starbase64[/MENTION]

i have changed CSI_RAW10 to CSI_RAW12 hopefully it work backup original lib just incase.
[One (M9) General] starbase64:
thank you for your effort, but the camera crashes. no live view, only black screen

Log: https://www.dropbox.com/s/jmx8ky7hkoo9l23/22.07.2015_09-00_log_m9.txt?dl=1

new files from new base 2.10.401.1: https://www.dropbox.com/sh/x3b3nazw6s14uqv/AAChKXXxNw-0WozOb5bADf-ta?dl=0
[One (M9) General] defcomg:
Attached test Lib

12 bit tes

4K DCI Recording ( You May Have to Use Freedcam to USe it just select 4kdci profile) Managed to get my Device to record in DCI by modifying this lib
[One (M9) General] muayyadf1:
Exactly! HTC ruined a good chance to make profit by this lausy camera processing.
[One (M9) General] Master619:
I don't know much about the M9, just passing by and saw your superb photos. From what I've known the M9 has excellent camera hardware (same sensor as the Lumia 930?), but the software kind of sucks so it's never been ranked as a serious shooter like the S6, G4 or iPhone 6. So your pictures surprised me, especially some low light ones considering the M9 does not have OIS. So some questions for those photos (again, I haven't really dived much into the M9 threads) :

- did you use a tripod, or hold the camera by hand?

- did you use auto, or manual mode? What are the settings you changed if manual mode?

- did you use the default camera app, or a different one? If yes which app?

- did you use the newest official ROM/firmware, or a modded one?

Thanks in advance!
[One (M9) General] sallam5010:
Never ever thought we would get DCi on any smartphone :D where should I place those file :D
[One (M9) General] starbase64:
DCI has no effect and 12bit is crashing. 12bit Log: https://www.dropbox.com/s/gy4i3wgjiuuwnvm/23.07.2015_10-36_log_m9.txt?dl=1
[One (M9) General] hamdir:
HTC camera app update:

https://play.google.com/store/apps/details?id=com.htc.camera
[One (M9) General] OGhoul:
HTC Service Pack and Internet as well.
[One (M9) General] alexxero:
I'm coming for the M7 and i am thinking of buying the M9, just one concern, is the camera problems getting fixed with software updates or is this a hardware problem? How is the camera on Android 5.1?
[One (M9) General] lilhaiti:
The problems with the camera are all software related, it is completely possible to get really good pics from the hardware if you use Manual mode or RAW mode. On 5.1 the camera is usable but not great, you can play around with settings to get consistently good (not great) images in Auto mode (which most people will use a phone for). If you liked the pics on your M7, you should like the pics on the M9.
[One (M9) General] amarryat:
I had the M7, the M8, and now the M9.

I'm not a camera guru like most of the others on here.

However I thought the camera on the M7 was terrible. The M8 camera, despite being just as low res as the M7, was FAR better. Took great vivid pics. The camera on the M9 is even better in many ways, mostly because of the much higher resolution. It's not as good indoors though. In terms of the muddy characteristics of the pictures it takes, that's only because you're able to zoom in on the pictures. If you only zoomed as much as you can on the M7/M8, you'd never get to that point and you wouldn't be able to see those characteristics.

So in my opinion, coming from the M7, if you were happy enough with that camera, you'll love the camera on the M9, even prior to the first set of camera fixes we've gotten.
[One (M9) General] alexxero:
I kinda like the photos the M7 takes, it's not always full detail and crisp, but for 4 UPX does a great job compared to some 8 MPX.

So i think i will be very happy with the camera on M9.

Thanks for the info and reply!
[One (M9) General] defcomg:
DCI just adds 4096 x 2160 to video Res
[One (M9) General] amarryat:
You're welcome.

Another tidbit - as I said before, I thought the M8 camera was great (aside from the lack of resolution). They took that camera and put it on the M9 as the front facing camera. So when you're indoors taking "selfies" to show all your friends, you're now using a great low light camera to do that.
[One (M9) General] starbase64:
these is not available in settings, but live view is broken.
[One (M9) General] iggdawg:
My eyes glanced over it quickly and I saw "Zoe". got excited we might get oldschool Zoe mode on our M9s, but that seems not to be the case.
[One (M9) General] ijuanp03:
It must be a hardware limitation of the Toshiba sensor. Remember the HTC One M7 and M8 has a separate hardware for the camera (imageChip2).

Off topic: curiously, I checked my M8's manual mode and was surprised to find out that the lowest shutter speed time is 4 secs vs the M9's 2 secs.

I'd say the ultrapixel sensor is really powerful but lacking of detail since it only has 4mp.
[One (M9) General] Sashtheflash:
Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) General] defcomg:
Check params with freedcam should look something like this maybe we should force full res video recording that's how I got it working on my phone
[One (M9) General] starbase64:
same problem on freedcam
[One (M9) General] defcomg:
Does it start but video corrupt or says failed to start
[One (M9) General] vegetaleb:
Not impressed with crop Low light, I used to have better results with M7 and M9.

This one is crop but resized to hide the ''oil paint'' effect :/
[One (M9) General] starbase64:
[MENTION=377973]defcomg[/MENTION]

long exposure is broken on new base, please edit the file

Log:

https://www.dropbox.com/s/9vhu1yqahos0cb3/Log_2015-07-24_01-01-28.txt?dl=1

new files from new base 2.10.401.1: https://www.dropbox.com/sh/x3b3nazw6s14uqv/AAChKXXxNw-0WozOb5bADf-ta?dl=0
[One (M9) General] rizevnarastek:
Well it's like it was before on my M8. It's a separate shooting mode you get to by clicking on the four dot menu. It works just like it did before enabling object removal, always smile, sequence shot and gif in the FX editor afterwards.

I still like the button on the left in primary shooting mode like it was on the M7; much more intuitive as well as faster.

Well at least they've brought it back.

Sent from my HTC One_M8
[One (M9) General] defcomg:
Use hal lib from previous base seems this files remains unchanged
[One (M9) General] starbase64:
[MENTION=377973]defcomg[/MENTION]

already tested, but camera crashes
[One (M9) General] defcomg:
wait by broken you mean not even the default 2sec?
[One (M9) General] starbase64:
[MENTION=377973]defcomg[/MENTION]

3.5 is stable but longer is lucky
[One (M9) General] peca_slo:
Can be this camera upgraded with ois?
[One (M9) General] diamond09:
Sure, if you exchange the chip ;)
[One (M9) General] peca_slo:
Damn so no stabilisation can be done by this chip
[One (M9) General] diamond09:
They made same implementation of digital stabilization, but this is not as good as optical.

It depends on what you want to do with the camera, for some situations a tripod can be a good choice.
[One (M9) General] muayyadf1:
So I heard changing aspect ratio helps with picture quality. I don't see any difference but this could be me.
[One (M9) General] defcomg:
One of two situations can occur to result in perceived increase in picture quality.

Changing ratio decrease image dimensions thereby decreasing overall file size.

As we know Zero Shutter Lag is enabled on the HT C Camera what this does is send images coming from the ISP to a buffer, this buffer has a set size the more images are sentto this buffer the more picture quality decreases.

So by having smaller sized images come from isp there is more room in buffer so the compression applied is less hence Image appears to be of higher quality.

Changing aspect ratio reduces image resolution this in turn hides things such as noise or artifacts from jpeg compression

HTC Are at fault here they could have employed actual binning before sensor read out as the sensor supports it could have binned these res

2692x1876 2x2 4x brightness - at this res it would have been on par with M8 Ultra Pixel @ 2.24 micron

1794x1250 3x3 4x brightness 3.36 micron

1346x938 4x4 4x brightness 4.48 micron

Who ever wants to mess with the binning stuff check out the sorta how to on hex workshop videos https://www.youtube.com/playlist?list=PLG_H_XcpKT1pVHVxBjdxLbv5rme0vk4yt

i managed to have a 2x2 on the front camera to test if it truly worked i dumped raw bayer and it was indeed smaller so binning worked
[One (M9) General] muayyadf1:
If binning is as effective as you say, why didn't HTC use it ? Would it cause other problems?
[One (M9) General] defcomg:
I dunno why htc did not use it for image captuee they only used it for 720p 120fps as for the down side to using using binning is loss of spartial resolution.