yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) General] stanleyopar2000:
Not many moto phones have it apparently. Thank you for all the work you've done
[X Style (Pure) General] merlin1010:
I'm new in android also xda,and i was confused by your method 2:

What is the tasker? Or what is the app's full name?

Did i need root?

If theres no parameters changed while taking a pic by FreeDCam when i didn't import the xml file?

My device is x style,xt1570,runs in China Unicom 4G, wondering if my device compatible with your application or not?

sooooorry about my english,and I desiring an answer..:D
[X Style (Pure) General] jayjay7411:
Yall still working on improving this. It's quite amazing it have camera2 api available. I don't understand why moto left it out!!
[X Style (Pure) General] Bobby060:
Haven't had much time to look into it recently. I'm running Marshmallow now, so I'll be working on a process for that soonish
[X Style (Pure) General] stanleyopar2000:
Will this method also work for using "manual camera?"

Also using method 2 I couldn't get manual focus to work...is that the MF option? Also exposure settings?
[X Style (Pure) General] Bobby060:
Method two is pretty broken. I haven't quite gotten it working right. And it will need developer assistance to make manual camera work.
[X Style (Pure) General] kindex_BR:
Showing my support

I'm here just 'adding to the crowd' for devs to see lots of people want this.

I also have a doubt: is method 2 completely reversible? Just got Marshmallow, don't feel like rooting :(

God bless you, guys!
[X Style (Pure) General] Bobby060:
All methods are reversible.
[X Style (Pure) General] jeffreycentex:
Confirmed that the Pure 6.0 OTA doesn't support Camera2 out of the box.
[X Style (Pure) General] jiggyb21:
Call me catty but I'm selling my Pure because of your post. I'm so mad about it....
[X Style (Pure) General] timde9:
So is there a reason why only freedcam seems to work. I much prefer manual camera and I can't get it work no matter what I try :( Is there going to be any more work to get this working for all camera2 apps on marshmallow or is this as far as it goes?
[X Style (Pure) General] deepu513:
Started a discussion of Motorola forums.

Hey guys, I just started a discussion on Motorola forums here is the link https://forums.motorola.com/posts/ae7a5fd562

If we can keep the discussion active, chances are we will get attention from Motorola to this topic and we may get Manual camera support in future updates.
[X Style (Pure) General] HaggisIV:
So as of now does method 1 not work on MM builds or is it fully compatible?
[X Style (Pure) General] defcomg:
if registered on FreeDcam G+ Group alpha pushed with Revamped UI

https://plus.google.com/u/0/109558244207036412717/posts/bXZ2Ve43izW

[YOUTUBE]yYQeXW4cwRU[/YOUTUBE]

Camera 2 is fully used stills and video
[X Style (Pure) General] Hari Vinay:
Will it work on other Moto X variants? Want to try on XT1092.... What would you suggest?

Thanks!
[X Style (Pure) General] PythonNut:
I'm getting a 404 when I try to follow that link.
[X Style (Pure) General] defcomg:
https://play.google.com/apps/testing/troop.com.freedcam but you have to be registered in g+ group
[X Style (Pure) General] antonior93:
Does someone have some photo samples taken in raw and edited?
[X Style (Pure) General] defcomg:
probably not good example but here is one Moto X Style Pure DNG Raw Rawtherapee fuji color+ fuji superia reala 100 by defcomk, on Flickr
[X Style (Pure) General] antonior93:
Well, that not so bad! :)

Why there's some grey at the bottom?
[X Style (Pure) General] defcomg:
the grey bit is blinds was taken through a window by [MENTION=5713005]Bobby060[/MENTION] i think
[X Style (Pure) General] Bobby060:
What he said.

Sorry guys, I haven't had time to mess much with this in a while. Hopefully I'll be able to make time soon.
[X Style (Pure) General] antonior93:
Oooh okay! So blurry that I didn't think about that :D

Soo i need to find my courage and root this phone!
[X Style (Pure) General] jlmcr87:
If you want camera2 api and manual controls in a motorola phone, go and buy a Moto E 2014:eek: Incredible but true...
[X Style (Pure) General] Ingloryon:
Omg. Is it serious? Can you tell us more about it? I just googled about it and got nothing... This is huge
[X Style (Pure) General] jlmcr87:
Yes it is serious. I tried it last year in my mother´s Moto E 2014 when it received lollipop. I was able to use Manual Camera app. Sorry but i don´t have the phone anymore (always full internal storage), i changed it a month ago for a moto G 3rd gen.
[X Style (Pure) General] troopii:
All devices with L are able to use camera2. But that dont mean that they support manual modes or raw capture. Such devices are called legacy devices.
[X Style (Pure) General] jlmcr87:
Not true at all. Try to use manual camera. The app will tell you not compatible device....with the moto e 2014 I was able to use manual camera.
[X Style (Pure) General] Silarn:
It's a bit of both, camera2 was introduced in L, but the manufacturers need to provide drivers capable of interfacing with the API. Many still don't bother, or, frustratingly, as with Moto X, it's being implemented in some hidden way and not publicly exposed.

This is why we can get it to sort of work, but it comes with all kinds of issues.

Modifying the build prop will of course invalidate the system for safety net and block Android pay, and enabling the API causes the standard camera apps to fail without special tweaks to handle the phone properly.

Maybe enterprising devs can find a way around this with time, but c'est la vie. (Probably not without modifying system in any case.)
[X Style (Pure) General] troopii:
its true ;P its only the app that it dont support it. and they are right to not support it because the features that are able on legacy devices are not worth to use it.

its only there for backward compatibility. http://developer.android.com/refere...cteristics.html#INFO_SUPPORTED_HARDWARE_LEVEL

the only thing you can do is to take jpegs. as note g3 works with manual camera. and its also a legacy device.

you have more features on camera1 with such devices.

i did go the same way with freedcam to avoid confusion to people, etc why they cant shot raw with camera2 or adjust shutter speed.
[X Style (Pure) General] tiis:
I got the FreeDCam Alpha but it's not working with Bobby060's Tasker script on MM - any solutions? :)
[X Style (Pure) General] defcomg:
try this with just the HAL 3 build prop entry from OP

https://github.com/troop/FreeDcam/releases/tag/3.3.130

tell me if its working
[X Style (Pure) General] yugioh1412:
Will this work for the Moto G 2015?
[X Style (Pure) General] lautarex:
Hi, don't know if you knew about it, but i thought this could be interesting to some of you!

http://xdaforums.com/moto-g/general/how-to-unlock-advanced-camera-settings-t2884035

http://xdaforums.com/moto-g/themes-apps/app-camera-galery-t3216944
[X Style (Pure) General] antonior93:
Tried to install the apk (Camera+) for non-root users, as suggested in the links, but it crashes :rolleyes:
[X Style (Pure) General] tiis:
Thanks, but its not working.

If Hal 3 is on, I get no picture from camera. Besides, API is always camera1 in the options.
[X Style (Pure) General] HikingMoose:
I tried the modification to my build prop in hopes of allowing RAW capture in Camera FV 5. But it's a no go. I haven't tried the app in the OP yet. I really wanted to use Camera FV 5.
[X Style (Pure) General] defcomg:
i do not know why camera fv does not work but freedcam works pretty much same the as fv

---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

switch to camera 2 api then add the build.prop param it should work
[X Style (Pure) General] HikingMoose:
It does look quite similar. I'll give 'er a go.

---------- Post added at 11:52 AM ---------- Previous post was at 11:43 AM ----------

It works, but has annoying weird green bars that flicker around and move around on the top of the screen. Is there a way to get rid of that?
[X Style (Pure) General] defcomg:
screenshot of the greenbars
[X Style (Pure) General] HikingMoose:
Fo Sho

I can't even get that camera app to focus less than 16" away. Unlike all of the other cameras that will focus inches away. I turned on macro obviously - didn't change how close it would focus. Hmmm I wish other camera apps could utilize RAW.
[X Style (Pure) General] defcomg:
never seen those before try the version from this post

http://xdaforums.com/showpost.php?p=65274422&postcount=47
[X Style (Pure) General] tiis:
I would if I could..

I'm on MM and I only get camera1 as API option (and playmemories from a Sony App to connect their cameras through WiFi).

I changed the build.prop accordingly to OP, but this has no influence to other camera Apps on MM.

Only the old Tasker script changes the build.prop which results in a black screen in camera Apps and FreeDCam.

In every way I tried I always had camera1 API only shown in FreeDCam.
[X Style (Pure) General] defcomg:
Hmm I think you need to ask [MENTION=4141782]HikingMoose[/MENTION] how he did it
[X Style (Pure) General] HikingMoose:
I'm not sure what you guys mean by camera 1 api and camera 2 api. All I did was add that line to my buildprop and reboot. My stock camera still worked, camera fv 5 worked ( just can't save RAW), and the app recommended for RAW worked. That's all I know.
[X Style (Pure) General] lucianogm:
it still does it with that version; also, it gives me an FC after taking a picture in RAW format with those green lines. :(
[X Style (Pure) General] tiis:
In FreeDCam options left side you can find either camera1 or camer2, that's the used API.

So you can save RAW files with FreeDCam in Android MM 6.0?
[X Style (Pure) General] Senjax:
Could you explain how exactly you got camera fv 5 to work?

I just added this build.prop line, my stock camera still works but all that camera fv 5 gives me is a black screen with some settings :/

Im using a rooted Stock MM, if this is relevant

Thank you in advance
[X Style (Pure) General] HikingMoose:
I was able to, before I flashed custom ROMs all weekend, then I nandroided back last night, and now I can't save them... :/ But before it would save them, to the FreeDCam gallery, not to the regular gallery - which was a pain.

I don't recall having to do anything special. I think I installed it after adding the line to the build.prop. And the screen worked ok, but I went into settings to try to enable RAW and it was not an option.
[X Style (Pure) General] dangallo:
Hello guys,

I have a moto x play and just wondering if this procedure works on MM, LP and Cyanogen the same way?

Thanks.
[X Style (Pure) General] Insane Soul:
Error occurred when trying to save this file. It will not be saved.

Getting that error while editing build.prop
[X Style (Pure) General] chibichuba:
Have we gotten any further with this since March? Last I tried it in Feb there were still issues with RAWs saving green and a lot of the manual settings not doing anything.
[X Style (Pure) General] defcomg:
Could you upload the green raw for it to be analyzed and could you specify which manual settings are not working
[X Style (Pure) General] MAIORAL232:
Could work in Moto G 2015?

I've noticed that Moto G and Moto x has similar Nexus camera, Camera 2 api is available on Nexus 5/6 and there are drivers for them. Then, i guess is perfectly possible, or not haha. Sounds like motorola doesnt care about these improvement to moto series, because Lolipop came with these feature. Maybe Motorola 2016 devices will come out with camera 2 api. Another question, i didnt tried install CM 13 yet, so could CM 13 enable it also, or not?

Ty guys.
[X Style (Pure) General] defcomg:
[MENTION=7191882]MAIORAL232[/MENTION] are you rooted ? If yes hit me up on telegram I'd like to try something with the hal

---------- Post added at 08:16 PM ---------- Previous post was at 08:14 PM ----------

Lol forgot [MENTION=604241]defcom[/MENTION]k is my username
[X Style (Pure) General] ilovemeow:
http://www.androidpolice.com/2016/0...ing-in-rawjpeg-on-nexus-devices-apk-teardown/

anything help for this
[X Style (Pure) General] Rotondo:
force close here

i not see the option to save dng format. I think only nexus devices support for now
[X Style (Pure) General] rresenden:
Good news everyone.

The New Moto G4, have a camera app with Pro Mode support, where we can change ISO, Shutter Speed and Focus.

Hope the same thing will be implemented on moto style
[X Style (Pure) General] Akash sky:
I m hoping the same lets see if they still care about the old devices :)
[X Style (Pure) General] Awesomeslayerg:
heres the moto g4 camera file

I have gotten the moto g4 camera apk wondering if someone can reverse engneer it and use it on our devices?

Also the Moto G4 System has been leaked so if theres any other requried files needed to reverse engineer the camera

MotoCamera:

https://www.mediafire.com/?e25fukjj094a8jq

MOTO G4 Stock Firmware:

http://xdaforums.com/moto-g4/development/stock-moto-g4-marshmallow-6-0-1-stock-t3382999
[X Style (Pure) General] deepu513:
Lenovo f***ed this up!

Guys! Lenovo gave manual camera mode to moto G4 (and more 2016 models) and there is also a camera tuning app(sadly i can't post link, don't have 10 points) launched which recently which says will improve camera performance from time to time.

BUT THIS IS ONLY G4 AND NEW MOTO PHONES!! WHAT ABOUT SUPPORTING THE OLDER PHONES???

THEY COULD HAVE GIVENS US A FIRMWARE UPDATE AND ENABLED THE MANUAL CAMERA CONTROLS FOR US TOO!! BUT THEY WANT US TO BUY THEIR NEW PHONES BECAUSE THEY WANT TO EARN MORE MONEY!! F**K THEM!! I AM LITERALLY PISSED OFF BY LENOVO, I WONDER WHETHER WE WILL EVEN GET ANDROID N!

Yes, I YELLED all this time.
[X Style (Pure) General] defcomg:
Are you using the xstyle ?

If yes attach the file from /system/lib/hw/camera.msm8xxx.so

As for the tuner app it seems like a shortcut to some binary stored inside the moto g4 from the looks of it looks like a chromatix file adjustment binary.
[X Style (Pure) General] BiggJurk:
Attached from a rooted MXP MM
[X Style (Pure) General] ipmanwck:
I got hold of an x style as have been wanting one for ages. Currently have the G4. I really hope you guys get the new camera app working as the stock one is awful !!! I like the focus / exposure ring but tapping to take a photo feels odd .
[X Style (Pure) General] SMTB1963:
Greetings and salutations! Long time lurker of the forums here.

Question: For those of you using the mod, what kind of performance are you getting in terms of the image capture and storage? Is the phone bogging down at all when writing these larger DNGs? Any other performance issues? If there's anyone familiar with the image processing hardware on this phone, could you offer an opinion on its capabilities for raw?

I'm in a discussion over at the Motorola site and several of the moderators are claiming that since the MXP's hardware isn't up to the task of shooting raw, they won't be supporting it with a firmware update. I don't see anyone reporting any trouble in this thread, but I thought I'd go ahead and ask.

I'll also go ahead and thank you clever kids who enabled this on the MXP. Although I probably wont be implementing this mod, you are welcome on my lawn anytime!

Cheers!
[X Style (Pure) General] rresenden:
"MXP's hardware isn't up to the task of shooting raw," Nice Joke.

My nexus 5 with a 800 handle that, and my lumia 930, same soc, handle raw files very well.

Why i bought this phone... fy lenovo.
[X Style (Pure) General] defcomg:
If it's raw you want head over to this thread http://xdaforums.com/showthread.php?t=3420739

CameraMOD it works in camera 1mode
[X Style (Pure) General] ban.codrut:
Hello!

Anyone here using this mod can you please confirm if manuale mode is working with the new moto camera app (cameraone) ?

https://play.google.com/store/apps/details?id=com.motorola.cameraone

If store download doesn't work say so an I'll provide all..
[X Style (Pure) General] defcomg:
It may work with the mod linked in this post http://xdaforums.com/moto-x-style/general/howto-enable-camera2-manual-camera-t3238748/post67900891

Moto Cam uses camera 1
[X Style (Pure) General] :
We have got manual mode/professional mode working in the new moto camera app if you want to check it out in this post
[X Style (Pure) General] kidkrooks:
because i need my camera for Snapchat and IG (Social networking expert at my job) I kinda need the camera but i CANNOT wait for manual settings. This camera's 21 mp far deserve it and coming from a manual camera (my nextbit robin) i can already tell having manual settings on this will be amazing. cuz the continuous/touch/autofocus is crap on this
[X Style (Pure) General] ban.codrut:
Great! Thank you .. I've always wanted something like this for my MXP
[X Style (Pure) General] ThadiusBink:
I dont know if it is just an illusion but the app Bacon Camera seems to enable manual controls for moto x pure. The app doesnt work with devices that have Camera 2 api enabled so I wonder if they have found somewhere around the software issues. Can anyone confirm if this app does what it says it does?
[X Style (Pure) General] gonzikorn:
Hello! Thank you. In my galaxy j7 2016 the raw photos with freedcam look like a tone blue light or violet.. anyone knows why?
[X Style (Pure) General] defcomg:
Sample raw
[X Style (Pure) General] mubaidr:
Will this mod work on moto maxx/droid turbo? (snapdragon 805)
[X Style (Pure) General] defcomg:
Try it and see
[X Style (Pure) General] mubaidr:
Nope, does not work with Droid turbo/moto maxx.
[X Style (Pure) General] defcomg:
Do you need Camera2 for raw shooting ?
[X Style (Pure) General] mubaidr:
More about shutter speed/exposure time control, but i guess camera 2 api support start from 808 snapdragon and newer.
[X Style (Pure) General] Va2c:
This edit to build prop did the trick in Vibe X3 (x3a40). ITs a lenovo phone but it has similar specs with Moto x pure. Has the same camera sensor and processor.

It takes raw10 photos but the view finder is messed up.

Camera API 1 with freedcam works fine but the view finder in API 2 mode shows false colours and distortions.

1st screenshot is with camera api 1. 2nd and 3rd screenshot are API 2 with one jpeg selected and the other raw10.

How proceed?
[X Style (Pure) General] defcomg:
If you can shoot raw and have manual control in cam1 api then cam2 not required

---------- Post added at 09:18 PM ---------- Previous post was at 09:13 PM ----------

Motorola messed something up in the libs but camera2 should work from SD800+ the best you can do is attack the /system/lib/hw/camera.*****.so lib then I patch it to allow raw and manual controls if they are supported .

The Droid Turbo has a similar hal to nexus 6 but on that Motorola butchered the camera 1 part of it so it didn't have advanced settings like the other devices with same soc but attach it so we can see what's up if your on a non stock aosp based ROM there might be two camera libs in hw folder attach the one that contains vendor in file name
[X Style (Pure) General] Va2c:
Yes, i can shoot raw in camera API 1 but you cannot adjust shutter speed and iso levels. With API 2, they seem to work.

Eg: (could not focus one picture).
[X Style (Pure) General] defcomg:
Does this apply to JPEG and also does stock cam have manual control ?
[X Style (Pure) General] Va2c:
Jpeg you can adjust shutter speed and iso. For both camera API versions.

Stock camera has manual controls, like the one in Moto G4. Shutter speed, focus, iso are there. No raw capture in stock.
[X Style (Pure) General] zys52712:
I attached the file from Lineage OS 14.1 hopefully this works.
[X Style (Pure) General] mubaidr:
Thanks. Link to lib file: https://drive.google.com/open?id=0BxGkjJwWrfzXX2pHalAzU0ozY3M
[X Style (Pure) General] Firefishe:
Bacon App RAW Mode Test

The OP's original post is from January 2017, but I just wanted to post for continuity.

--

I just tried Bacon Camera on my X Pure. It works okay. It seems you have to start the application once, exit, slide close it out of memory, then restart it to get a few more selections under Settings.

One says Select Baker RAW. I tried this--with the additional 'Preview' slider also selected. The photos taken are not clear, and appear jumbled, like an old out-of-tune analog color TV image. I have no explanation for this behavior; evidently, it is not processing the RAW images correctly, at least not in this app.

I'll continue to play around with it, and post again if I find anything of use.

-Firefishe
[X Style (Pure) General] Va2c:
Open camera seems to work properly. It produces false colours in viewfinder, but that's fine. At least I can see what I am taking a photo of.

Wanted to ask, how to increase shutter speed? Been seeing that you have to modify camera binaries. How to proceed?
[X Style (Pure) General] defcomg:
Does the front camera exhibit the same behavior as the rear when in camera 2 mode ?
[X Style (Pure) General] Va2c:
Yes, it's the same in open camera. But back camera, the dng was perfect. In front camera, has a green tint to it.
[X Style (Pure) General] defcomg:
Copy back to system set rw-r-r reboot and dump camera parameters in freedcam also there should be a Bayer option in picture format shoot two images check the sizes are identical then attach one along with camera parameters
[X Style (Pure) General] zys52712:
The camera app from the OP of this thread crashes, and I can't seem to find Bayer in the one that's in the Play Store.
[X Style (Pure) General] defcomg:
In Camera 1 settings > Save Camera Parameters
[X Style (Pure) General] zys52712:
Here's the camera parameters, still can't find the Bayer option though.
[X Style (Pure) General] mubaidr:
I will try and report back. Thanks

Update:

Here is the camera parameter file: https://drive.google.com/open?id=0BxGkjJwWrfzXRDBMX21xQXh0RlE
[X Style (Pure) General] defcomg:
you sure copied the patched camera.vendor file and rebooted
[X Style (Pure) General] mubaidr:
Yes, i did. To be sure, i will try the same again, will see it makes nay difference. Also i am not seeing any image format option except jpg.

[Update]: Done again, no change.

[Update]: BTW freedcam version from this thread (first post) crashes on open.
[X Style (Pure) General] defcomg:
do you have camera2 enabled via build prop?
[X Style (Pure) General] defcomg:
My bad when i saved the patched file earlier IDA did not save the changes corrected now there are two libs try the stream based lib first if for some reason parameters dont update or are ignored by the camera app try the other lib

Also attached freedcam apk an older more stableish build but newer builds can be found here >>>>> https://github.com/troop/FreeDcam/releases
[X Style (Pure) General] zys52712:
Used the stream version, Bayer showed up, attached are the new camera parameters and a Bayer file. First time when I tried to use the stream version with the build prop edit it completely messed up my phone and apps crashed. Had to restore a backup to fix it.
[X Style (Pure) General] defcomg:
raw file is good but there are a bunch of paramters missing in the param dump

add this to your build.prop and reboot and redump the params

persist.camera.allow.nonstd.params=1
[X Style (Pure) General] defcomg:
Attached Freedcam build with DNG Support for Droid Turbo

I could not see the setExposureTime method in the hal there alternative is to just use EV Slider but for daytime shots the imx220 driver lib can be modified to disable iso completely so that when iso set to auto mode ev slider acts as shutter priority adjusting only exposure time while base iso is used.

Reason for that as opposed to just setting iso to 100 directly is when in camera 1 mode iso does not update preview and preview always shows auto iso value and not current set unless zsl active but when zsl is active is raw stream is broken :(

it worked for moto x style also was usefull for base iso videos
[X Style (Pure) General] mubaidr:
For me, both the libs when used, caused the Camera app to freeze. Will try this version.
[X Style (Pure) General] zys52712:
The new camera parameters.
[X Style (Pure) General] mubaidr:
I just noticed that we have "camera2.portability.force_api=1" in build prop, anyone have any idea what this is about?