FORUMS
Remove All Ads from XDA

How to Enable Camera2 and shoot raw [Root]

3,846 posts
Thanks Meter: 3,298
 
Post Reply Email Thread
tested by a friend with a moto g5+

Enable Camera 2 API

via editing the build.prop
Code:
persist.camera.HAL3.enabled=1
or
via terminal / shell
Code:
su persist.camera.HAL3.enabled 1
2) Reboot

3) Install Freedcam Attached below check if its in camera 2 mode swipe right > scroll down check api option if its in camera1 select camera2.

To the left of the ui you should see jpeg tap on either, raw10 and raw_sensor both are same but raw10 the dng file should is smaller as the data is packed tightly,

Lastly using other camera 2 camera apps will most likely result in a black unsuable dng this version of freedcam has a workaround for the moto G5+

To use manual controls swipe up and set ae "Auto Exposure" to off First icon is manual focus second iso third shutter speed.



Mod Edit: Link removedhttp://<font size="5"><font color="D...</font></font>

Attached APK Freedcam Latest Alpha Build

Edit 5/21/2017 :
Freedcam Latest Build Moto G5+ Cam1 + Cam 2 raw support

Raw10 calibration override - causes matrix math error results in black dng
Raw10 Noise Profile override - causes color bleed

Lens Vignette Profile https://drive.google.com/open?id=0B5...DAwd1Z4MFRfRlU
Copy Vignette Profile to /DCIM/FreeDCam/config

Lightroom/PS/RT Linear Camera Profile https://drive.google.com/open?id=0B5...TYxUUt0ZnZkSE0
Attached Files
File Type: apk app-debug.apk - [Click for QR Code] (6.24 MB, 2824 views)
The Following 16 Users Say Thank You to defcomg For This Useful Post: [ View ] Gift defcomg Ad-Free
 
 
1st April 2017, 07:14 AM |#2  
kraatus90's Avatar
Senior Member
Thanks Meter: 484
 
More
Praise the lord defcomg.
7th April 2017, 02:08 PM |#3  
Senior Member
Thanks Meter: 185
 
More
Some photo test please

Enviado desde mi Moto G (5) Plus mediante Tapatalk
11th April 2017, 01:39 PM |#4  
luizlee86's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 201
 
More
Did anyone test this?
11th April 2017, 03:16 PM |#5  
defcomg's Avatar
OP Senior Member
Thanks Meter: 3,298
 
Donate to Me
More
Quote:
Originally Posted by luizlee86

Did anyone test this?

@kratuus90 did

Sent from my NX503A using XDA Free mobile app
16th April 2017, 02:25 PM |#6  
dhk.-'s Avatar
Senior Member
Flag Rancagua
Thanks Meter: 1,081
 
Donate to Me
More
I tried, photos are only viewable on freedcam gallery. FC on android.source.media when taking photos. Moto camera not working anymore
The Following User Says Thank You to dhk.- For This Useful Post: [ View ] Gift dhk.- Ad-Free
20th April 2017, 06:18 PM |#7  
ags34's Avatar
Senior Member
Thanks Meter: 206
 
More
Quote:
Originally Posted by dhk.-

I tried, photos are only viewable on freedcam gallery. FC on android.source.media when taking photos. Moto camera not working anymore

Are apps like camera fv-5 working fine? I wanted to enable camera2 api but don't want to break main camera app
21st April 2017, 08:39 AM |#8  
defcomg's Avatar
OP Senior Member
Thanks Meter: 3,298
 
Donate to Me
More
Quote:
Originally Posted by ags34

Are apps like camera fv-5 working fine? I wanted to enable camera2 api but don't want to break main camera app

Well there is a problem with the dng metadata when shooting with the default android api so when using fv-5 you gotta use jpeg picture format

Sent from my NX503A using XDA Free mobile app
The Following User Says Thank You to defcomg For This Useful Post: [ View ] Gift defcomg Ad-Free
21st April 2017, 08:36 PM |#9  
Senior Member
Thanks Meter: 185
 
More
So... No raw yet?

Enviado desde mi Moto G (5) Plus mediante Tapatalk
23rd April 2017, 07:14 AM |#10  
defcomg's Avatar
OP Senior Member
Thanks Meter: 3,298
 
Donate to Me
More
Quote:
Originally Posted by sh4d1t0

So... No raw yet?

Enviado desde mi Moto G (5) Plus mediante Tapatalk

It works via FreeDcam

Sent from my NX503A using XDA Free mobile app
The Following User Says Thank You to defcomg For This Useful Post: [ View ] Gift defcomg Ad-Free
10th May 2017, 08:02 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Hi, I'm looking to buy a g5+. I think the camera is good but the jpg processing could be better.
Has anyone else tried enabling camera2api on the g5+? Could someone post some DNG samples? Thanks

Inviato dal mio Z2 Plus utilizzando Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes