Best way to tell us take pictures in auto mode. Then take same picture in night mode. Compare the color accuracy. I had found auto mode produced some green tint, while night mode would produce accurate colors.
Best way to tell us take pictures in auto mode. Then take same picture in night mode. Compare the color accuracy. I had found auto mode produced some green tint, while night mode would produce accurate colors.
I had found any other setting than auto produced results with less green tint. Even choosing Portrait or Landscape would reduce the green tint considerably. I basically made Night mode a custom camera and set it to default. So any time I opened camera it would default to night mode.
Well I guess there is green tint then. :/ This is taken from auto mode.
Sent from my HTC One using XDA Free mobile app
And this from night mode.
Sent from my HTC One using XDA Free mobile app
My camera fixed. A little bit annoying with copying the file after every reset.
I had no problems copying the file with S-ON. My One is only unlocked by HTCdev with root, and custom rom and kernel.
Which ROM and kernel are you using? I am now on S-ON custom 5.1 GPE rom but I'm unable to replace the awb_cal file...
Thanks! Attached is my init.d script that copies it over on boot.
1. In the last line, change the location of the M8 awb_cal file from /system/etc/awb_cal to wherever you put it
2. Remove the .txt extension from the filename and place it in the /system/etc/init.d folder
Optional steps
3. Script permissions should be rwxr-xr-x. In ARHD, this is automatically done on boot
4. I didn't need to set permissions on /sys, but remove the # at the front of the third last line if you need to
Things to note:
- I am running S-OFF, ARHD 71.1 and ElementalX, which means I have busybox installed and who knows what else write permissions
- The script just automates the manual steps and performs it at boot. If the manual steps aren't working for you, I don't know if this script will help
- I'm utterly confused why going SuperCID would solve the permission problem, but OK
Thanks so much - this combined with the awb_cal did the trick. Worked perfectly the first time. (Note I am S-OFF and rooted)
#!/system/bin/sh
# ====================================
# init.d script for camera green tint fix
# ====================================
#chmod 777 /sys
chmod 660 /sys/android_camera_awb_cal/awb_cal
cp /storage/emulated/0/Download/ /sys/android_camera_awb_cal/awb_cal
#!/system/bin/sh
# ====================================
# init.d script for camera green tint fix
# ====================================
#chmod 777 /sys
chmod 660 /sys/android_camera_awb_cal/awb_cal
cp /sdcard/Download/ /sys/android_camera_awb_cal/awb_cal
Ok guys it's official. HTC Greece just informed me they are aware of the green tint issue in omnivision sensors, it is indeed a software/calibration issue and they plan to fix it with an upcoming software update. They weren't specific enough to mention if it will be a simple OTA patch or if it will be implemented in the 4.4.3 update but the point is this: they know about it and they are going to fix it soon