DELETED - Miscellaneous Android Development

DELETED

Development Notes
Camera Notes
Rear Camera Code path: Gallery2 -> android.hardware.Camera -> liboemcamera.so -> camera.msm8660.so -> sec_isx012.c ->hardware
Front Camera Code path Gallery2 -> android.hardware.Camera -> liboemcamera.so -> camera.msm8660.so -> sec_s5k6aafx.c ->hardware
Locations:
android.hardware.Camera: frameworks/base/core/java/android/hardware/Camera.java
Gallery2: packages/apps/Gallery2
camera.msm8660.so: vendor/Samsung/exhilarate/proprietary/libs/hw
liboemcamera.so: vendor/Samsung/exhilarate/proprietary/libs
sec_s5k6aafx.c: kernel/Samsung/msm8660-common/drivers/media/video/msm
sec_isx012.c: kernel/Samsung/msm8660-common/drivers/media/video/msm
Torch:
driver values conversion:
Setting off: getting 0,0 | should be: 50,0
Setting auto: getting 1,0 | should be: 50,1
Setting on: getting 2,0 | should be: 50,2
Setting torch: getting 3,0 | should be: 50,3 ?
Specific Issues
9/9/2013: Preview windows on both cameras are rotated 90 degrees
9/11/2013: Invalid Picture sizes for our camera's
9/11/2013: Captured Images on front are rotated 90 degrees
9/12/2013: Captured Video on front and rear camera is rotated 90 degrees.
Rear Camera crashes when snapping photo..
9/10/2013: Flash does not work
Touch to focus crashes video capture (both cams)
Torch/Flash code may need some refinement
Resources
Megapixel calculator: http://web.forret.com/tools/megapixel_aspect.asp
ICS kernel source: https://bitbucket.org/teamchopsticks/android_kernel_samsung_i577-stock-ics
dr4stic's jb changes: https://github.com/CyanogenMod/andr...mmit/487862c7a8663d3eba919fbc69228325d3bfbcb7
Return to stock ICS: http://forum.xda-developers.com/showpost.php?p=45152463&postcount=2349
Full list of camera blobs: http://forum.xda-developers.com/showpost.php?p=45675532&postcount=98

Progress
9/9/2013: As far as I can tell, the issues with the camera can't be resolved in the kernel or by using device specific code.
I think that most of the errors we are getting are stopping at proprietary blobs and aren't making it to the kernel driver.
Seems like the only entry points are the camera app Gallery2 ( which would only fix issues for that app and not third party Camera apps) or in the android framework ( com.android.hardware.Camera ).
9/9/2013: Corrected the preview orientation in Gallery2
9/9/2013: Updated to Slim-4.3.beta.5.2 and forked the repositories I'm working with.... reapplying changes...
9/10/2013: Changes reapplied and published. Narrowed down the initial issue with Gallery2 force closing. Its is the flash. Gallery tries to set flash-mode=auto which cases crash.
9/10/2013: Flash (Torch) has been fixed
9/11/2013: I had some thoughts on correcting the rotation problem. Might be able to use getDisplayOrientation; insert an offset. Today I'm going to try and correct the image sizes for the rear camera... Note to self: move preview rotation fix to framework so it fixes 3rd party camera's too..
9/11/2013: Hack to correct picture size values
9/11/2013: I think I got a handle on the rotation problem!!!
9/12/2013: Rotation problem solved! Turns out it was in the kernel all along!
9/13/2013: After doing some thinking last night, I went back to jb 4.1.2 and checked out the dmesg while snapping a photo on the rear cam. I compared that to me memory of the dmesg in 4.3. There are so many things that aren't happening on 4.3 compared to 4.1.2. I don't think the camera driver has changed at all so perhaps there is a high level abstraction, that uses that orchestrates the cam driver, that has changed... I'm going to pull the dmesg's from both and and compare. Will post in development notes.
9/14/2013: Rear cam is being a bear... Going to work on getting proper conversions for flash and focus so those wont be a problem while diagnosing the rear cam...
9/15/2013: I spent most of day yesterday inserting debug code into the camera driver... Trying to learn how the rear camera operates... Today, I'm going to try and trace down msm_poll_config. This even seems generic but is called from the blobs after the camera snap code. It never seems to get the results it's looking for so...
9/20/2013: Light Sensor fixed!

For the Developers and Rom Builders
Camera Changes in:
frameworks_base
android_kernel_samsung_msm8660-common
Sensor Changes in:
proprietary_vendor_Samsung
android_kernel_samsung_msm8660-common
Github: https://github.com/Meticulus?tab=repositories

Can you shoot me over the code changes you've made so far on the camera? I'm expecting to get my exhilarate today or tomorrow and this is the first thing I'm going to start digging into. Would rather not have to recreate anything you may have already done
Thanks!

car vs driver said:
Can you shoot me over the code changes you've made so far on the camera? I'm expecting to get my exhilarate today or tomorrow and this is the first thing I'm going to start digging into. Would rather not have to recreate anything you may have already done
Thanks!
Click to expand...
Click to collapse
I posted the changes in ktemp's Exhilarate thread here http://forum.xda-developers.com/showpost.php?p=45409092&postcount=2511
The plan is to fork the necessary repos, I'll try and get that done today...

Yeah, saw that ... wasn't sure if you had anything else. We're going to probably have a bit of an issue with the blobs I'm afraid.

car vs driver said:
Yeah, saw that ... wasn't sure if you had anything else. We're going to probably have a bit of an issue with the blobs I'm afraid.
Click to expand...
Click to collapse
I did make a little progress last night in correcting the preview window orientation in both camera's which I'll post once I get the repo's setup.
So far the front camera will take pictures at VGA and QVGA resolutions, The rear camera will record video at 1280x720 and the front at 640x480
there all just rotated 90 degrees....
I don't think there is an device specific code that we can modify to correct the camera issues. Most errors are thrown from camera.msm8660.so or liboemcamera.so before they get to the kernel driver. I think we'll have to correct them in userspace...

Meticulus said:
I did make a little progress last night in correcting the preview window orientation in both camera's which I'll post once I get the repo's setup.
So far the front camera will take pictures at VGA and QVGA resolutions, The rear camera will record video at 1280x720 and the front at 640x480
there all just rotated 90 degrees....
I don't think there is an device specific code that we can modify to correct the camera issues. Most errors are thrown from camera.msm8660.so or liboemcamera.so before they get to the kernel driver. I think we'll have to correct them in userspace...
Click to expand...
Click to collapse
the camera issue is the big mistery on 4.3 ROMS. Flash doesn't work at all no matter what app I use. This happens on CM10.2, Slimbean, etc

afme89 said:
the camera issue is the big mistery on 4.3 ROMS. Flash doesn't work at all no matter what app I use. This happens on CM10.2, Slimbean, etc
Click to expand...
Click to collapse
I've been so focused on the camera's I'd forgotten about the flash... added to the list.

Meticulus said:
I've been so focused on the camera's I'd forgotten about the flash... added to the list.
Click to expand...
Click to collapse
Here is a link to the changes that were made initially when this phone was added to jellybean.
# Light sensor related
drivers/i2c/chips/taos.c
arch/arm/mach-msm/gpiomux-8x60_celox.c
# Camera related
drivers/media/video/msm/sec_isx012*
drivers/media/video/msm/sec_s5k6aafx
https://github.com/CyanogenMod/andr...mmit/487862c7a8663d3eba919fbc69228325d3bfbcb7
Sent from my SCH-I500 using xda app-developers app

Unjustified Dev said:
Here is a link to the changes that were made initially when this phone was added to jellybean.
# Light sensor related
drivers/i2c/chips/taos.c
arch/arm/mach-msm/gpiomux-8x60_celox.c
# Camera related
drivers/media/video/msm/sec_isx012*
drivers/media/video/msm/sec_s5k6aafx
https://github.com/CyanogenMod/andr...mmit/487862c7a8663d3eba919fbc69228325d3bfbcb7
Sent from my SCH-I500 using xda app-developers app
Click to expand...
Click to collapse
Running a build right now, going to check that out when it gets done but wouldn't those changes be included in the cm-10.2 branch as well?

Meticulus said:
Running a build right now, going to check that out when it gets done but wouldn't those changes be included in the cm-10.2 branch as well?
Click to expand...
Click to collapse
Nope most of it was removed in a commit merge t989 changes I think that's it. We did try adding it back before it didnt work but since the kernel is stable it might be worth the try this time.

Unjustified Dev said:
Nope most of it was removed in a commit merge t989 changes I think that's it. We did try adding it back before it didnt work but since the kernel is stable it might be worth the try this time.
Click to expand...
Click to collapse
That's some goooood info man, Thanks... I'll be studying it after I get my changes published...

Meticulus said:
That's some goooood info man, Thanks... I'll be studying it after I get my changes published...
Click to expand...
Click to collapse
No prob you seem to be luckier than us . you popup with all these fixes out of nowhere
Sent from my SCH-I500 using xda app-developers app

Ok, it took most of the day but I got my changes into github link in op #3. Tomorrow I can get back to it !

New build in the op. Camera changes to date including working torch/flash!

Posted torch changes to github...

Meticulus said:
Posted torch changes to github...
Click to expand...
Click to collapse
Yo meticulous,is this one giant leap towards stock camera??
Sent from my SAMSUNG-SGH-I577 using xda app-developers app

InkSlinger420 said:
Yo meticulous,is this one giant leap towards stock camera??
Sent from my SAMSUNG-SGH-I577 using xda app-developers app
Click to expand...
Click to collapse
I'm not sure what you mean by "giant leap" but here is the state of things:
Front camera takes images you just have to bump the quality down to VGA. (images are rotated 90 degrees)
Both cams record video (rotated 90 degrees)
Rear cam wont snap photo
torch/flash works.
Panorama works.
Preview windows rotated properly.
???
I'm working from slimbean but if your building other rom's you might be able to sub-in my repos to get this working in other roms...
I'm still not sure how to approach the rotation problem but, workin' on it.:laugh:

Related

[MOD/KERNEL][13-12-2013] Zoe Camera/Kernel parts porting from HTC Desire 601 - v0.4

About the mod:
This is a port of HTC Desire 601 Zoe Camera. To make it working i used HTC One Mini kernel source to update camera parts.
Compatibility:
Compatible with Android 4.2.2 with Sense 5 only.
Bugs:
-Zoom->It's related to our Adreno 2xx instead of Adreno 3xx from all native Zoe devices.
Adreno driver update is causing crash, so do not use zoom with Source v2.1, i'm trying to disable it
-Cannot shoot Zoe 2 times, it will hangs on file saving, you need to disable and re-enable Zoe every time
-Original music player stops working occasionally
You tell me.
Kernel source:
https://github.com/anoane/ville-4.2.2-sense5-evitaul_porting/tree/4.2.2_zara_zoe
Download:
Kernel v0.4: fabane_ville_07_12_13_zara_zoe_1.zip 11.5 MB
https://mega.co.nz/#!iFdUGazb!PjPjhQtXvIk6YdvDMJSlhiPP7IUaiwwjTVZsOEkmYXM
HOS_Zoe_601 - v0.4.zip 22.5 MB
https://mega.co.nz/#!HBt2jKiQ!AMNvi1yKxtedxVHwUyZEOH13i55ytQUmroDYEWgH8iE
Kernel: fabane_ville_04_12_13_zara_zoe_2.zip 11.5 MB
https://mega.co.nz/#!KA0wyBja!GG2RxAco2_qbDZMhNUeXUGK8xKl85ploqJEHnFnQSX4
HOS_Zoe_601 - v0.3.zip 22.5 MB
https://mega.co.nz/#!mF8iWKDY!ZImO7DHI3djYvrknyVDAYwqfJXcDvQUTp-jz8MTWxx0
Mod: HOS_Zoe_601 - v0.1.zip 22.2 MB
https://mega.co.nz/#!rI0RXRpQ!UYMptBaJXUBBnAwsjhx8XEzKZYZwWgybGxFQR7eoXD0
you must flash both kernel and mod in recovery
Back to stock:
Install stock kernel
or
fabane v1.1: https://mega.co.nz/#!oVdSyJaY!LCxmKX3e6_UOYCIPUgHqJkHcM8pagVvgZTbb6nv8vrc
or
ElementalX 6.1: http://goo.im/devs/flar2/OneS/ElementalX-ville-6.1.zip
and
HOS_orig_camera(back-to-stock).zip 10.4 MB
https://mega.co.nz/#!LVc3nKoL!Ko41TUNX6hBQd0vm2eUVPSkJIANQbfo6fvHbjpJhniE
Credits:
HTC, @ImagioX1, @TheEndHK, @SPSPaWn (for Zara system dump and AWB calibration files -> Help him to fix recovery for Zara! http://forum.xda-developers.com/showthread.php?t=2528645 )
Changelog:
v0.1: private release
v0.2: first public release, fix display backlight in camera
v0.3: more camera libs
v0.4: fixed awb calibration and kernel updated with htc one mini ota update
Donation:
http://forum.xda-developers.com/donatetome.php?u=2351000
Help me to fix my broken screen, and buy an original HTC MHL Cable and an original HTC One X+ 2100mha battery (buyed 2 months ago but never arrived), i'll try to add full battery support for One S
Which rom would I flash this on?
Any sense 5 4.2.2 rom?
Sent from my HTC One S using Tapatalk
leald said:
Which rom would I flash this on?
Any sense 5 4.2.2 rom?
Sent from my HTC One S using Tapatalk
Click to expand...
Click to collapse
yes!
Link is only to v0.1
Gesendet von meinem HTC One S mit Tapatalk
arsenalfreak said:
Link is only to v0.1
Gesendet von meinem HTC One S mit Tapatalk
Click to expand...
Click to collapse
It's ok, kernel is v0.2
Is anyone try it on MaximusHD 10.0.0 ROM ?
blade_h said:
Is anyone try it on MaximusHD 10.0.0 ROM ?
Click to expand...
Click to collapse
I tryed allmost on same base (source 2.1) and it crashes (takes me out from cam app) when try to take a pic
Just tried this on Maximus HD...
Flashed the kernel first, followed by the mod.
Camera app opens but now crashes whenever I try and press on the options menu? Zoom is fully functioning.
May I ask what this mod was meant to provide? ie enhanced quality? Or the "Zoe" animated still feature?
Edit:
Bugs aside the only differences I have noticed are drastically improved low light capture quality. Even in dark rooms indoors the camera seems to create a fairly bright image.
Insecret said:
I tryed allmost on same base (source 2.1) and it crashes (takes me out from cam app) when try to take a pic
Click to expand...
Click to collapse
mmm, i think it's because of updated Adreno driver (they cause a crash instead of bugged zoomed pictures), i use MaximusHD
RichardW1992 said:
Just tried this on Maximus HD...
Flashed the kernel first, followed by the mod.
Camera app opens but now crashes whenever I try and press on the options menu? Zoom is fully functioning.
May I ask what this mod was meant to provide? ie enhanced quality? Or the "Zoe" animated still feature?
Edit:
Bugs aside the only differences I have noticed are drastically improved low light capture quality. Even in dark rooms indoors the camera seems to create a fairly bright image.
Click to expand...
Click to collapse
really strange, zoom is working good for video mode only
btw there is no quality mod inside, just a first zoe test
we have to fix zoom (buffer problem) first, than we can continue to improve quality, since i don't like half working mods, but since someone asked me to release it...i did it
pirlano said:
mmm, i think it's because of updated Adreno driver (they cause a crash instead of bugged zoomed pictures), i use MaximusHD
really strange, zoom is working good for video mode only
btw there is no quality mod inside, just a first zoe test
we have to fix zoom (buffer problem) first, than we can continue to improve quality, since i don't like half working mods, but since someone asked me to release it...i did it
Click to expand...
Click to collapse
I don't appear to have any working Zoe features that I am aware of, how would I test this out?
Zoom is working fine for both video and stills. Just the options menu causes a force close.
Edit:
I tried flashing you v0.2 mod from the previous camera mod thread you had running on top of this mod. That resulted in a force close as soon as I opened the camera, so no camera at all. Reflashing the Zoe mod took me back to working camera but no options menu.
If I wanted to revert back to stock for the meantime, would the back-to-stock.zip from your other thread do the job? Or would that also interfere with the Zoe mod from here I have just flashed?
Thanks for all the work you are putting in to these mods kernels and ROMs!
RichardW1992 said:
I don't appear to have any working Zoe features that I am aware of, how would I test this out?
Zoom is working fine for both video and stills. Just the options menu causes a force close.
Edit:
I tried flashing you v0.2 mod from the previous camera mod thread you had running on top of this mod. That resulted in a force close as soon as I opened the camera, so no camera at all. Reflashing the Zoe mod took me back to working camera but no options menu.
If I wanted to revert back to stock for the meantime, would the back-to-stock.zip from your other thread do the job? Or would that also interfere with the Zoe mod from here I have just flashed?
Thanks for all the work you are putting in to these mods kernels and ROMs!
Click to expand...
Click to collapse
Original camera needs original libs and original kernel
Zoe camera needs modded libs and zoe kernel
Try to reflash zoe mod, reflash zoe kernel, than wipe cache and dalvik cache, i think it's the old camera cache that cause crash when opening options
I'll do a back-to-stock (be sure to reflash also a stock/fabane/elementalX kernel)
pirlano said:
but since someone asked me to release it...i did it
Click to expand...
Click to collapse
:laugh::good: lol thanks pirlano for your hard work.
Does the Zoe working right now? or just a tech demo to show the camera would run?
Zoom isn't really that needed on a 8M cmos. On Pureview808/1020 they got a 41M CMOS which is another story and ideal for digital zoom(many pixels for cropping).
TheEndHK said:
:laugh::good: lol thanks pirlano for your hard work.
Does the Zoe working right now? or just a tech demo to show the camera would run?
Zoom isn't really that needed on a 8M cmos. On Pureview808/1020 they got a 41M CMOS which is another story and ideal for digital zoom(many pixels for cropping).
Click to expand...
Click to collapse
Yes, everything is working (zoom excluded)
new v0.3, added more camera files:
HOS_Zoe_601 - v0.3.zip 22.5 MB
https://mega.co.nz/#!mF8iWKDY!ZImO7DHI3djYvrknyVDAYwqfJXcDvQUTp-jz8MTWxx0
back-to-stock added on first post
@TheEndHK: HDR seems improved to me
pirlano said:
Yes, everything is working (zoom excluded)
new v0.3, added more camera files:
HOS_Zoe_601 - v0.3.zip 22.5 MB
https://mega.co.nz/#!mF8iWKDY!ZImO7DHI3djYvrknyVDAYwqfJXcDvQUTp-jz8MTWxx0
back-to-stock added on first post
@TheEndHK: HDR seems improved to me
Click to expand...
Click to collapse
Still no functioning settings menu for v0.3 tried wiping cache and flashing kernel and mod multiple times but no dice...
I am assuming to enable Zoe you have to check something in the settings menu which is why I am not seeing any differences?
For the record though your fabane kernel is the only one that provides me with 'good' (normal) call quality on Maximus, even elementalX 6.1 with your fix added has dodgy sound Looks my phone likes some of your development and not others!
Keep up the good work
RichardW1992 said:
Still no functioning settings menu for v0.3 tried wiping cache and flashing kernel and mod multiple times but no dice...
I am assuming to enable Zoe you have to check something in the settings menu which is why I am not seeing any differences?
For the record though your fabane kernel is the only one that provides me with 'good' (normal) call quality on Maximus, even elementalX 6.1 with your fix added has dodgy sound Looks my phone likes some of your development and not others!
Keep up the good work
Click to expand...
Click to collapse
You just need to click the Zoe on top of the screen, no need to go in the menu.
This kernel indeed comes from One Mini 4.2.2, so it's different and in theory, should be more updated. Maybe it finally fixed the call problem, we can recommend it for more guys to testing.
I just flashed my TWRP backup of MagioRom RC4 and flashed this camera mod(v03) and kernel in recovery. It works! Both Zoe and camera menu. I have no problem to access the menu in camera at all, no FC issue to me.
pirlano said:
Yes, everything is working (zoom excluded)
new v0.3, added more camera files:
HOS_Zoe_601 - v0.3.zip 22.5 MB
https://mega.co.nz/#!mF8iWKDY!ZImO7DHI3djYvrknyVDAYwqfJXcDvQUTp-jz8MTWxx0
back-to-stock added on first post
@TheEndHK: HDR seems improved to me
Click to expand...
Click to collapse
wow ... really awesome....
I just tested it out. Oh..my god... Zoe works but there is still a problem in Zoe, the video it shoot in Zoe mode is 720p not 1080p.
http://forum.xda-developers.com/showpost.php?p=46575875&postcount=48
Some old method here still work.
1. adb push libcimagegif-jni.so /system/lib
2. adb push libcodecjpeg.so /system/lib
3. adb push libcodecwrapper.so /system/lib
4. adb push libscr-bcr_camdict.so /system/lib
These lib files is okay, I've tested it, they are from HTC One 4.2.2 so not surprised still working. I used the HTC gallery and click save frame in Zoe video, yes the image is saved at 4.1M resolution.
However, the media_profiles.xml I provided don't work with your mod camera in Zoe mode will force close at the end. I will try to fix it if possible so that we can continue to shoot 1080p at 40Mbit max.
TheEndHK said:
wow ... really awesome....
I just tested it out. Oh..my god... Zoe works but there is still a problem in Zoe, the video it shoot in Zoe mode is 720p not 1080p.
http://forum.xda-developers.com/showpost.php?p=46575875&postcount=48
Some old method here still work.
1. adb push libcimagegif-jni.so /system/lib
2. adb push libcodecjpeg.so /system/lib
3. adb push libcodecwrapper.so /system/lib
4. adb push libscr-bcr_camdict.so /system/lib
These lib files is okay, I've tested it, they are from HTC One 4.2.2 so not surprised still working. I used the HTC gallery and click save frame in Zoe video, yes the image is saved at 4.1M resolution.
However, the media_profiles.xml I provided don't work with your mod camera in Zoe mode will force close at the end. I will try to fix it if possible so that we can continue to shoot 1080p at 40Mbit max.
Click to expand...
Click to collapse
I want to fix bad awb_calib and disable zoom (in lib) than if quality is ok, I'll port camera quality mod.
I'll look if Zoe resolution is only a software lock
pirlano said:
I want to fix bad awb_calib and disable zoom (in lib) than if quality is ok, I'll port camera quality mod.
I'll look if Zoe resolution is only a software lock
Click to expand...
Click to collapse
I think I know why set 1080P 40Mbit in media_profiles.xml will force close in Zoe mode because your Zoe currently only shoot at 720p. It will first read out the 40Mbit setting off media_profiles.xml from the 1080P line but ended up decide to shoot it in 720p for some unknown reasons, so it must result in crash.
In Qualcomm platform, videobit is controlled/limited by CPU not from imagechip. Our imagechip will provide some help during in video like fast focus but no videobit. To my understanding, S4 CPU is limited to 20Mbit max at 720p and 40Mbit max at 1080P. So, when you tell the 720p to do 40Mbit it will FC. Without running Zoe, I've tested the 1080P video in normal mode still can capture at 40Mbit in your mod camera.
Wish you can change the Zoe video to 1080P and port the camera quality mod. If possible, please change the 16:9 4M to 16:9 5M because our CMOS and imagechip is capable to do 1080P and 16:9 5M photo natively. [email protected]:9 will be resized by HTC suck algorithm and lost huge quality.
Added: I meet a bug, do you have it? I reflashed my MagioRom RC4 backup from TWRP still got the problem. I found I can't shoot Zoe two times it will freeze the camera(stuck at saving files). I can shoot two times but I will need to disable Zoe mode first and enable Zoe again. Or quit the camera everytime after I shoot Zoe and re-launch the camera.
I think the auto white balance is okay though really not as good as 4.0.4/4.1.1 but the main problem is exposure value bad, easy to over exposure in some high light area both outdoor and indoor. It can be caused by either the kernel(camera driver) from One mini or the Camera.apk(application level) from Desire 601. It's really hard to tell, I'll do more testing when I have time tomorrow.
TheEndHK said:
Wish you can change the Zoe video to 1080P
Click to expand...
Click to collapse
It can be done, i just shooted a Zoe video at 1080p with 8MP photo + duration increased to 5 seconds, but it's a big laggy at 1080P
TheEndHK said:
Added: I meet a bug, do you have it? I reflashed my MagioRom RC4 backup from TWRP still got the problem. I found I can't shoot Zoe two times it will freeze the camera(stuck at saving files). I can shoot two times but I will need to disable Zoe mode first and enable Zoe again. Or quit the camera everytime after I shoot Zoe and re-launch the camera.
Click to expand...
Click to collapse
added bug to first post, looking now at this
TheEndHK said:
I think the auto white balance is okay though really not as good as 4.0.4/4.1.1 but the main problem is exposure value bad, easy to over exposure in some high light area both outdoor and indoor. It can be caused by either the kernel(camera driver) from One mini or the Camera.apk(application level) from Desire 601. It's really hard to tell, I'll do more testing when I have time tomorrow.
Click to expand...
Click to collapse
failed awb calibration is a liboemcamera.so problem
I use it around day...i am with MaximusHD 10.0.0 ROM ...All bugs listen are true and also original music player stop work (some times work but most of the time give error something " Process Media stop working "..Mod is great but must be fix bugs to be able to use for daily needs )) Thanks again for the mod ))

[HOWTO][WIP] Enable Camera2 and manual camera settings on Moto X Style/Pure

*Generic warning about messing with system stuff*
Summary
Thanks to @defcomg and @troopii, we have a working way to enable manual camera functions and .dng raw file capture on our Moto X Pure. This is still a work in progress as you will see.
Steps
Method 1:
1. Enable camera2 api by adding the line persist.camera.HAL3.enabled=1 to the bottom of your build.prop.
2. Reboot
3. Install the modified version of FreeDCam from this thread.
4. Open FreeDCam. It will probably force close.
5. Open FreeDCam again.
6. Explore to see what you can do. On the left of the capture screen is the option to change from jpeg to raw. This will save .dng files that you can edit in Snapseed or other raw editors (including Adobe Lightroom on the PC).
By changing the exposure mode or focus mode off of auto, you can then click on the gear in the lower left of the capture screen and change your shutter speed, iso, and use manual focus. There are a few other things you can change here too.
Edit: method 2 removed because of incompleteness and unknown errors.
Warnings
1. Using method 1 will disable all other camera applications on your device until you revert the build.prop changes. We don't know why yet, but the symptoms are that the preview of other camera apps never start and always show black.
Future Action
Hopefully we aren't done. It would be great to find out what is limiting the full implementation of camera2 on this device. Who knows what tomorrow will bring.
contributors
@defcomg - He made most of the device specific edits, guided me through making edits to my device and testing, figured out how to correctly encode the dng, and is generally awesome. He also doesn't own this device and is helping out of the goodness of his heart. Also figured out the tasker stuff.
@troopii - Main developer of FreeDCam. He made the app and also made some important edits to get this working.
I just tested and wrote the thread so all of you could benefit from their labors. They get all the credit.
Go, have fun modifying your device. Hopefully some devs will want to get involved and get real camera2 support for this device. It's almost there. For details on our progress so far, read here: http://forum.xda-developers.com/mot...ra-comparison-stock-vs-3rd-party-app-t3215603. We hijacked that thread, so please bring all discussion back here.
*reserved*
Sent from my XT1575 using Tapatalk
Todo :
Metadata Extraction
DNG Orientation flag
Optimize Manual Control Activation
New Color Matrix/ Camera Profile - Will Require a Xplay user with Xrite / MacBeth Color Checker
Source Code : Should you wanna make changes
Code:
My Git : https://github.com/defcomk/FreeDcam
Troop: https://github.com/troop/FreeDcam
---------- Post added at 02:04 AM ---------- Previous post was at 01:52 AM ----------
@Bobby060 Do the logcats for the other camera apps will check them later :good:
Any chance we will ever see a port of L Camera from the Nexus devices?
alex94kumar said:
Any chance we will ever see a port of L Camera from the Nexus devices?
Click to expand...
Click to collapse
yes pretty good chance all camera 2 apps will work after some code adjustments i've fowarded L Camera Dev a link to this thread :good:
Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!
alex94kumar said:
Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!
Click to expand...
Click to collapse
also mailed A Better Camera Dev will see what happens
Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?
Dpat09 said:
Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?
Click to expand...
Click to collapse
Done also mailed opencam + proshot lets have a dev party lol:silly:
defcomg said:
Done also mailed opencam + proshot lets have a dev party lol:silly:
Click to expand...
Click to collapse
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
if you need logs and such @Bobby060 is your guy :good:
defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Haha, yeah. Just don't bet on it being quick. I probably won't get to getting those preview logs until tomorrow. Silly college...
Sent from my XT1575 using Tapatalk
defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app
droider007 said:
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app
Click to expand...
Click to collapse
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .
defcomg said:
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .
Click to expand...
Click to collapse
bummer.....lets see if the workaround works.....
thanks btw!
i will later change the manual modes that they are better useable in freedcam. that means that exposuretime iso and mf get a auto value wich enables/disables ae/focus automatical.
camera2 is full based on the sdk description thats why it is not very userfriendly. but it was important to have it this way to see how it works.
great to see its working ;D
edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
motox has a messed up dngconverter. we did use the one from freedcam for camera1 to workaround that bug.
not sure why the preview is black. maybe it has something todo how the preview gets cropped. freedcam crop it depending on the previewsize and screensize.
had simliar problem when i tryed to get zoom working on nexus5
Awesome guys! Thank you very much!
Its working on my XT1572
Keep up your great work to make it available in all Apps.
Whats the max exposure time you can get on manual mode?
Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
I believe the max we have enabled in the app is 1/5 of a second. The theoretical max is more, I think, so it will probably get better.
Sent from my XT1575 using Tapatalk
Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
from parameters it tells max-exposure-time=657.770600, the question is wich format it has. sec, millisec, microsec, nanosec...

MI 5s camera mods [Updated: 1st Feb 2018]

Hi all..
This is a fix for the broken implementation of camera 2 API on our device.
This will allow us to finally shoot up to 32 sec raw image in camera 2 API and also enables up to 100k ISO...
Much love and respect to @defcomg for fixing this for us, he is an amazing dev and if you would like to donate to him you can hit this link!
NOTE:
This mod will probably only work on Lineage and 7.1.1+ ROMs. I've tested it on latest RR (16 June) and it works.
Don't flash on MIUI ROMs, I haven't and probably won't test it, but feel free if you are brave :laugh:
Make a backup (TWRP). Or if anything goes wrong just reflash ROM, it'll fix your problem.
I take no responsibility for brick or boot-loop...
LINK:
V1 - Initial [LOS/RR etc..]
V1 - Test (I need someone to tell me if this works) [Miui N ROMs]
V2 - Nightmode profiles [11 December]
V3 - Oreo Libs [1st Feb]
For future versions I would like to try to add longer exposure times as well as fix pixel binning for better low light shots!
Edit:
16 June: There is a delay when shooting long exposure, for example when selecting 32 sec, the shutter button will be pressed for like 32sec x 2 = +-64 secs, don't know why but anyways it only shoots for first 32 seconds, so just be aware of that..
19 June: Fixed Miui N test lib link
11 Aug: Nightmode coming soon, this will allow longer shutter speeds, essentially up to about 5 mins
Also all apps should be able to take advantage of this.
11 Dec:
Added libmm shutter extension and pixel binning.. The respective number (3, 9, max [14]) multiplies the shutter by that amount, meaning if you have an app that normally can only capture up to 1/17 shutter, and use 3x lib it will now use 3/17 shutter (almost 0.2 sec), this affects all video and photo apps, you can restore it by replacing original file..
Oreo has a busted HAL so shutter on manual only hits about 4 sec without breaking, using max libmm mod you can get about 1 min shutter I think, in nougat using fixed cam 2 libs, you can get about 7 min shutter time.
Pixel binning is somewhat working, it has a dark preview, and I don't know why, but when you shoot in raw, you will see the file is much brighter with less noise, but at lower res.
Place the file in /system/vendor/lib then reboot the device
NOTE: The HAL fix from above (V1) will not work on Oreo since it's using a new HAL, so don't use that, if you don't know or are unsure..
1st Feb 2018: Patched Oreo libs to allow long exposure. Added libmm multiplication hacks.
Gonna be away till like mid Jan, so might not be able to answer questions..
Good work ?
Can the default snap camera take advantage of this api2 or another camera app has to be used?
Could he fix the Google camera force close when change to front camera, thanks
ermacwins said:
Can the default snap camera take advantage of this api2 or another camera app has to be used?
Click to expand...
Click to collapse
I use FreeDcam but any camera app making use of cam2 API will benefit from this..
shaneel1491 said:
I use FreeDcam but any camera app making use of cam2 API will benefit from this..
Click to expand...
Click to collapse
Official lineage nightly 0612 opengapps stock, Google camera front camera still FC
Slow motion also does not work
monitoring this tread , for miui roms.
Airborntx said:
monitoring this tread , for miui roms.
Click to expand...
Click to collapse
What MIUI version are you on? If you are on miui N, try this and let me know if it works..
https://drive.google.com/file/d/0B-7popFesfShR3Y0Tm9kTHFDM3M/view?usp=sharing
Nerom said:
Official lineage nightly 0612 opengapps stock, Google camera front camera still FC
Slow motion also does not work
Click to expand...
Click to collapse
I use snap camera for front camera, no problem there, I don't know how to fix Google camera errors..
With regards to slow motion, 120 FPS should be working on FreeDcam
I'm on miui 7.6.15 xiaomi.eu build(android n)....ive flashed your patch via twrp....and really nothing happened....camera still working like before....no new mods in there....like its really for aosp...can confirm that its dont break your camera in miui...but also its doing nothing in miui....in my opinion
You don't happen to have samples of stock camera vs freedcam?
ermacwins said:
You don't happen to have samples of stock camera vs freedcam?
Click to expand...
Click to collapse
I don't use stock camera, I use FreeDcam raw mode, and when I shoot jpeg, I shoot with denoise off. So with stock you will see less noise in images, but freeDcam will have much more details
James Blode said:
I'm on miui 7.6.15 xiaomi.eu build(android n)....ive flashed your patch via twrp....and really nothing happened....camera still working like before....no new mods in there....like its really for aosp...can confirm that its dont break your camera in miui...but also its doing nothing in miui....in my opinion
Click to expand...
Click to collapse
Check the OP, all this mod does is enable 32 sec shutter on Cam2 api and adds ISO 100k. It doesn't add quality/features or mods to the camera..
shaneel1491 said:
What MIUI version are you on? If you are on miui N, try this and let me know if it works..
https://drive.google.com/file/d/0B-7popFesfShR3Y0Tm9kTHFDM3M/view?usp=sharing
Click to expand...
Click to collapse
Whats that lad?
shaneel1491 said:
I use snap camera for front camera, no problem there, I don't know how to fix Google camera errors..
With regards to slow motion, 120 FPS should be working on FreeDcam
Click to expand...
Click to collapse
Can't set 120fps on FreeDcam not with latest alpha right now , and even with a debug version específic to the MI5S/MI5S plus
And EIS is disable :/
Airborntx said:
Whats that lad?
Click to expand...
Click to collapse
Test lib for MIUI M, not sure if it works or not, someone needs to test.
ExCaL1BuR said:
Can't set 120fps on FreeDcam not with latest alpha right now , and even with a debug version específic to the MI5S/MI5S plus
And EIS is disable :/
Click to expand...
Click to collapse
Try this app
https://drive.google.com/file/d/0B-7popFesfShU0RHbC0tOEpQWEE/view?usp=sharing
FreeDcam app specially for Mi 5s
Is it possible to enable iso lower than 100? Or maybe it's pointless because it's achieved by software, and the quality will be worse than 100? So can we conclude that lineage (or some other) roms are better than MIUI? I'm thinking moving to these roms.
By the way, it seems that the link on the first post was incorrect (miui one), the later ones are working though.
---------- Post added at 08:34 PM ---------- Previous post was at 07:54 PM ----------
I'm on miui 7.6.15 xiaomi.eu , got upto 8714 iso with snap camera. Stock remains 3200. Still 16 bit raw Still 1/3 s shutter with 3rd party camera apps, though I heard someone already has shutter longer than 1s with 3rd apps. I don't remember have flashed any other patches especially related to cameras
With los, Lightroom could have shutter 1s, but iso up to 100k, I don't know if it really works, as it's white paper after 10k anyway.
isnt it possible to use Pixel libs?
shaneel1491 said:
Test lib for MIUI M, not sure if it works or not, someone needs to test.
Try this app
https://drive.google.com/file/d/0B-7popFesfShU0RHbC0tOEpQWEE/view?usp=sharing
FreeDcam app specially for Mi 5s
Click to expand...
Click to collapse
That was what I used but still no 60 or 120fps video ... I'm waiting for the OP to explain how can he get that frame rate on video
Installing N version on miui eu 7.6.15, nothing new here, camera menu just like before...no 32 second RAW, no iso 100k
Sent from my MI 5s using XDA-Developers Legacy app
This mod is dedicated to Lineage OS not Miui.

Google Camera pink tint fix for Omnivision sensors(MIDO)

A few days ago I was browsing reddit r/Xiaomi section and commented on this thread: https://www.reddit.com/r/Xiaomi/comments/77p2va/i_have_a_note_4x_with_an_omnivision_sensor/dot4b9e/ about the pink tint issue that we are experiencing on Omnivision sensors. To make it short, a redditor (GeorgeKiarie) asked to post samples of the pink tint issue.
I was providing him samples of photos with pink tint and basically running some tests for him. Right off the bat when he saw the photo with pink tint, he came to a conclusion that the black levels in the camera libraries are incorrect. According to GeorgeKiarie, the default black levels was 16 16 on the Omnivision camera libs which is incorrect as it should have been 64 16.
The fix: GeorgeKiarie has modified libmmcamera_ov13855_qtech.so and change the black levels from 16 16 to 64 16.
Requirements:
- TWRP Recovery
- Root(to enable camera2 api obviously)
- Camera2 API
- GCAM version 4.0(attached)
Disclaimer: I have not done extensive testing on this fix. I have only tested this on my device (16/3gb RAM variant) so I cannot guarantee that this will also work for you. I am not responsible for any kind of damage (if any) that it may cause once you've flashed the fix but I will provide a flashable zip to revert back to default just in case. As usual, flash at your on risk.
I've also NOT tested the fix on other GCAM versions besides the one I've attached and the latest GCAM 5.1 but in theory, it should work on all GCAM ports for mido. Take note that most of my tests were done with gcam 4.0. I've also tested it on gcam 5.1 and it seems to work fine but I've only took a few shots with it.
Steps:
1. Download the attachment "Pink Tint Fix.zip"
2. Reboot to recovery and flash zip.
3. Download and install Gcam 4.0 from here: https://drive.google.com/open?id=0B6OCKwxBBePEQmowWm5mRUR3Tk0
4. Enable HDR+ and enjoy good quality low light photos
Bugs:
- Camera crashes after taking photos in good lighting conditions but only when HDR+ is enabled.
- Random camera crashes even in low light conditions
- Camera stuck in "processing" when taking a photo under good lighting conditions
- Shutter button is greyed out and/or not responding when taking a photo under good lighting conditions
- All other bugs present in Google Cam 4.0 port.
All the above mentioned bugs only happens when HDR+ is enabled. It seems that HDR+ does not work when enabled under good lighting conditions. Please do not ask me to fix it as I am no developer. I only helped in testing. Hopefully someone smarter than me can fix these bugs. Please feel free to post fixes If you've found one and I'd include it in the OP.
All credits go to redditor GeorgeKiarie. I only helped in testing the fix and creating a flashable zip. If you wanna thank him, just visit the reddit link above and message him or something.
PS: As mentioned above, I am not a developer so all these has been written the way I've understood the issue and how it was fixed, I'm just relaying the information provided to me. Please feel free to correct me if you see something wrong and I'd gladly edit my post.
reserved
Thx, bro,I will try it:laugh:
SamYang said:
Thx, bro,I will try it:laugh:
Click to expand...
Click to collapse
Cool. Please do post a feedback if it works for you
chickentuna said:
Cool. Please do post a feedback if it works for you
Click to expand...
Click to collapse
I don't have that problem, else I would test it.
On a technical note, what the guy has done is to to change the values at offset 12798 (0x31fe) from "78 41" to "80 43".
Just tested and it works but on latest version it has a slightly white tint that blurs the image
PolLovesAndroid said:
Just tested and it works but on latest version it has a slightly white tint that blurs the image
Click to expand...
Click to collapse
I did not experience this when I've tried the latest version. Probably the settings? Then again I haven't tested thoroughly on the latest version.
chickentuna said:
I did not experience this when I've tried the latest version. Probably the settings? Then again I haven't tested thoroughly on the latest version.
Click to expand...
Click to collapse
Let me explain: the latest test version from the guy that ported the camera to other phones has removed the pink tint that was previously present, and replaced it with a slightly less obnoxious white tint.
It's not great still, but also with the fix you posted my camera crashes a lot, sometimes it snaps on hdr+ sometimes nothing happens and it freezes. So the basic idea may be right, but someone can hopefully improve it
chickentuna said:
Cool. Please do post a feedback if it works for you
Click to expand...
Click to collapse
it worked. but the photos will get some coloros in the low light/at night,it's normal?(you can see the photo below,plz ignore my poor camera technology).maybe it will work better in the daytime(so i will still test it tomorrow)
anyway, it's better than the pink photos, and better than no HDR+ .
and thank you very much for doing this.:good:
(sorry for my poor English, hope you can get my meaning)
PolLovesAndroid said:
It's not great still, but also with the fix you posted my camera crashes a lot, sometimes it snaps on hdr+ sometimes nothing happens and it freezes. So the basic idea may be right, but someone can hopefully improve it
Click to expand...
Click to collapse
That's basically the plan. I know that this fix was not perfect but I still posted it in hopes that someone can make something out of it.
Sent from my Redmi Note 4 using Tapatalk
Wow... This is awesome...
This makes my phone camera usable again ...
Bye, bye pink!
Works on gcam 5.1,no crashes the every light condition tested
Android 6 CAN'T use
Currently using 4.4, and it works
No more pink tint, the images got more sharper. Thank you mate!
Love you @chickentuna!!!?? You have no ide how much I've been waiting for this moment ?
---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------
Love you @chickentuna!!!?? You have no ide how much I've been waiting for this moment ?
Ok @chickentuna the google hdr+ is working.
Using the magic manager to install google camera patch fix the slow motion error.
BUT.
What about the dark video recording?
PolLovesAndroid said:
Let me explain: the latest test version from the guy that ported the camera to other phones has removed the pink tint that was previously present, and replaced it with a slightly less obnoxious white tint.
Click to expand...
Click to collapse
I have a modified apk(gcam 4.2) which came from GeorgeKiarie that has the fix hardcoded in it. I'm currently testing it and it seems that it produces much sharper HDR+ images. However there are no extra settings and you use is as it is. No HDR+ configurations just HDR+ OFF, AUTO and ON. It still crashes randomly but I think it's much stable than modifying the camera libs. Colors are rich and look better too. Perhaps I should add it in the OP for you guys to test?
tocoi said:
Android 6 CAN'T use
Click to expand...
Click to collapse
Sorry mate, forgot to include that I've only tested this in AOSP Extended 4.6 which is Android 7.1.2.
Sectorian said:
Ok @chickentuna the google hdr+ is working.
Using the magic manager to install google camera patch fix the slow motion error.
BUT.
What about the dark video recording?
Click to expand...
Click to collapse
Please read the OP. Current gcam bugs still exists, the fix is only for pink tint. I am not a developer so you'll need to wait till someone with the knowledge fixes the current gcam bugs.
chickentuna said:
I have a modified apk(gcam 4.2) which came from GeorgeKiarie that has the fix hardcoded in it. I'm currently testing it and it seems that it produces much sharper HDR+ images. However there are no extra settings and you use is as it is. No HDR+ configurations just HDR+ OFF, AUTO and ON. It still crashes randomly but I think it's much stable than modifying the camera libs. Colors are rich and look better too. Perhaps I should add it in the OP for you guys to test?
Click to expand...
Click to collapse
Sure buddy, just add it... We test it... Hahahaha...
Anyway, the modified libs works fine here, no crash for me on PA. Pixel (corr) + Nexus6P + Default
HDR+ is work, and photos no pink, but unfortunately the photo's quality is not so good
The photos get a lot noise even during the day only myself get this??

[APP][FEEDBACK] Arnova8G2's Google Camera Port

This thread has been created to provide S7 feedback to @Arnova8G2 regarding his port of the Google Camera app.
Describe your experience (mostly what doesn't work as expected)
Provide logcats: the dev does not have your phone, so logs are needed if you want him to fix stuff (How to take logcats?)
Mention @Arnova8G2 when you post your feedback
ALL FEEDBACK PROVIDED IN OTHER THREADS OR WITHOUT LOGS WILL BE IGNORED​
Latest update:
v1.4
Arnova8G2 said:
2017/01/04 – GCMod5 based on Mod By B-S-G
Add toggle for portrait mode or Lens Blur
AutoFocus enhancement and faster
Support level override back in ZSl, front in ZSL_REPROCESSING and Level_3 for OP3/OP3t, MI5,Mi5s
Black screen fix test
Add 4K for devices that do not have it
GCam5.1.018-Arnova8G2-V1.4.apk
** Please mention me in the thread of your device with a logcat or screenshots.
Click to expand...
Click to collapse
Previous versions:
v1.3.1
v1.3
It is possible to work with Exynos?
Black screen
michel333alfa said:
Black screen
Click to expand...
Click to collapse
ALL FEEDBACK PROVIDED IN OTHER THREADS OR WITHOUT LOGS WILL BE IGNORED
Sent from my MI 5 using Tapatalk
michel333alfa said:
Black screen
Click to expand...
Click to collapse
Same problem
bunnykons said:
Same problem
Click to expand...
Click to collapse
Doesn't really matter, no camera app or port is going to have the same quality as the stock Samsung camera app anyway due to framework & drivers
is this the same as the one here ; https://www.celsoazevedo.com/files/android/google-camera/
*Detection* said:
Doesn't really matter, no camera app or port is going to have the same quality as the stock Samsung camera app anyway due to framework & drivers
Click to expand...
Click to collapse
No its not about the quality and idc, the screen itself is blank we dont get to use the main camera itself but lens blur works and for front camera it gets force closed
bunnykons said:
No its not about the quality and idc, the screen itself is blank we dont get to use the main camera itself but lens blur works and for front camera it gets force closed
Click to expand...
Click to collapse
I know, I understand what the problem is because I read the thread, but why would anyone want to use a camera app that reduced the quality of the photos?
Doesn't make any sense
So my post still stands, it doesn't matter that it doesn't work on Exynos if you want full quality photos
*Detection* said:
I know, I understand what the problem is because I read the thread, but why would anyone want to use a camera app that reduced the quality of the photos?
Doesn't make any sense
So my post still stands, it doesn't matter that it doesn't work on Exynos if you want full quality photos
Click to expand...
Click to collapse
The lens blur for the front cam works so that the bokeh effect can standstill for the selfies
Can't take a Logcat cause the Screen's just black, scrolling through the settings and stuff works fine
2018/01/07 – GCMod5 based on Mod By B-S-G
Fix video for Android 7.x
Replace RAW12 by RAW_PRIVATE
Add toggle hdr+ in front camera for portrait mode (For hdr + front camera compatible devices)
And other internal improvement
GCam5.1.018-Arnova8G2-V1.5Beta2.apk
Beta 2 is crashing when switching to front camera.
Motion Photos don't work too...
First time I took a logcat, hope I did everything right?
S7 Edge (Canadian: Telus) running @Arnova8G2 GCMod5 5.1.018_v1.6. Settings: Config: Nexus 6 Auto; Model: Pixle 2XL; HDR+ RAW+JPG enabled; Compress RAW enabled. If I change HDR+ parameters from Default to High or Super High, the app crashes when I take a picture and resulting photo is corrupt. The only way to resolve is by uninstalling and reinstalling the apk and making sure to leave HDR+ parameters at Default.
I think the new version could work for you also. There is only the problem of pink color in front facing camera https://drive.google.com/open?id=19Y0AQ6oEc-pBSHJ6miTMXk_hffXEzD1_ make a logcat and tag Arnova showing what's the problem

Categories

Resources