yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Themes and Apps] sticktornado:
Just tried... not a lot of features working. Either no change or crash in the APK.
[Moto G 2015 Themes and Apps] Akash sky:
nothing just raw capability for now.

i m not forcing you to try :) btw thanks for telling me that but not crashes for me :)

it is in WIP .... not an easy task
[Moto G 2015 Themes and Apps] Akash sky:
RAW is better than jpeg :) extra features mean all stock camera features other than RAW
[Moto G 2015 Themes and Apps] sticktornado:
Should've told you I'm on XT1540 2G model
[Moto G 2015 Themes and Apps] Forever Alone:
Will replacing those files crash my snapdragon camera too incase this doesn't work?

And thanksss for this..! :D
[Moto G 2015 Themes and Apps] Akash sky:
I told you :) i have tested on limited devices and limited time :) WIP don't worry :)

hmm dont know about it just do a backup before doing anything i tested on stock roms only :)
[Moto G 2015 Themes and Apps] Forever Alone:
Replaced that file gave it RW-R-R (pls mention it in d title) but how to change the format to RAW? When I click 'JGEPG' in the left floating setting i don't get any option for RAW.. CAn u pls give an ss or tell where the raw option is??

Edit: Im on Turbo (AOSP) ROM!
[Moto G 2015 Themes and Apps] Akash sky:
Giving permission is basic thing :D So it is not working in custom rom...maybe :)
[Moto G 2015 Themes and Apps] defcomg:
Raw is unsupported at the moment but further tests will be done.

Currently the moded libs allow for freedcam to access Qualcomm parameters instead of the basic android stuff the stock lib returns

Such as the ability to turn off noise reduction , exposure metering mode sharpness ,saturation ,brightness.

Reason for no raw Motorola butchered the picture format string so it only displays JPEG in a later build will attempt to hardcode the values instead of reading it from the camera and see if raw image can be retuned .

If you have moto device not Osprey or Merlin ie xplay you will need to post hal lib to get patched located at /system/lib/hw/camera.msm****.so if on cm then camera.vendor.****.so
[Moto G 2015 Themes and Apps] Jamiéric GS:
Woooow, good work! ? A big thanks!
[Moto G 2015 Themes and Apps] Jamiéric GS:
Showing ISO values, but no really work! Waiting for the fix! :)
[Moto G 2015 Themes and Apps] johnstevenjs:
View attachment 3759981

No image view just blank screen
[Moto G 2015 Themes and Apps] johnstevenjs:
How can my camera be back to stock ? Wanted file to replace and go back to my old camera
[Moto G 2015 Themes and Apps] Rahul1608:
Does this have manual focus support??
[Moto G 2015 Themes and Apps] Forever Alone:
Wipe the data of app n open it again..
[Moto G 2015 Themes and Apps] johnstevenjs:
View attachment 3760002
[Moto G 2015 Themes and Apps] johnstevenjs:
Tried still same issue blank screen and force close issue
[Moto G 2015 Themes and Apps] arun356y:
updated the app yesterday and focusing is really improved. Any recommended settings for best shots?
[Moto G 2015 Themes and Apps] braddocksp:
Yes I have updated to test, but is the same.

Can reproduce the experiment:

Two objects, one in front and one in the background, center the smartphone, and focus on the first object, then without moving the smartphone focuses on the rear object. Always or almost always keeps the first focused. But is you move the smartphone and center the second in screen (no only the focus in screen, all smartphone) adquire the rear.

The same test with the motorola camera is perfect, you can focus an object behind the first without change the smartphone position, only centering the focus in screen.

Edit: A fast example (poor light, trivial objects, but is a example), try this in freedcam, two photos same position,only changed the focusing in screen, using motocam. For me in freedcam is imposible without moving the smarphone.

Link to photos:

https://mega.nz/#!atZw0KAR!laX6Snoa6Nao_6V3-BzNWlxTiK2DN_EVB_Tr4MWEpa0
[Moto G 2015 Themes and Apps] arun356y:
yeah I know this thing, but my point was that in previous build of the app there was no way to focus close objects, but it improved now. Couldn't blame the dev because our camera is a big fail when it come to real close shots.
[Moto G 2015 Themes and Apps] gg2001:
I tried this test, and effectively it's hard to focus on the rear object once you focused on the front object. Sometimes freedcam did focus on the rear object, but motocam and snapcam consistently achieve focus without problems.

Anyway, as Arun said, the focus was greatly improved in this last version
[Moto G 2015 Themes and Apps] leonardo.teseyra:
Hi, i have CM14.1 Oficial ROM, and the photos what I take has a pink tint. Any solution? thanks!
[Moto G 2015 Themes and Apps] sanjaybaidya:
It sounds awesome. But can something be done for my moto g4 plus to add raw capture feature in it????
[Moto G 2015 Themes and Apps] defcomg:
attach camera.msm89**.so i will maybe make a video on how to enable it on any motorola
[Moto G 2015 Themes and Apps] sanjaybaidya:
View attachment 3989447
[Moto G 2015 Themes and Apps] sanjaybaidya:
Please do something to make it capture raw image
[Moto G 2015 Themes and Apps] defcomg:
attached copy back replace set rw-r-r permission reboot
[Moto G 2015 Themes and Apps] sanjaybaidya:
What to do after copying and giving permissions??
[Moto G 2015 Themes and Apps] gg2001:
Replace the original .so with the patched .so inside the zip. You can also do a symbolic link. Remember set permissions 644, then reboot and test
[Moto G 2015 Themes and Apps] sanjaybaidya:
Didnt work
[Moto G 2015 Themes and Apps] sanjaybaidya:
Yeah it worked now but captured dng seems to be corrupted. Isnt opening in any app with raw support
[Moto G 2015 Themes and Apps] sanjaybaidya:
I am a little noob. So please provide a full guide on how to capture raw image in moto g4 plus.
[Moto G 2015 Themes and Apps] SK:):
Could someone having it working on XT1550? Stll Pink tint is there on all images.. I'm in RR 5.7.4 (Marshmallow). I've tried with Custom Matrix IMX 214 and off.. Nothings changed.. Pink tint s always there...
[Moto G 2015 Themes and Apps] arun356y:
I updated to the latest october patch and this is not working anymore the app shows black screen when opened, and now its even removed from playstore.
[Moto G 2015 Themes and Apps] rwxr-xr-xis:
I know that this has been asked various times but Is there any way to fix the pink tint on osprey?

I've tried every file posted on this thread and my dng photos still come with the same ole tint.
[Moto G 2015 Themes and Apps] arun356y:
in settings->CustomMatrix, select IMX214 (if you have tint problems, try with 'off')
[Moto G 2015 Themes and Apps] SK:):
Tried that too.. Not working.. Im on XT1550..
[Moto G 2015 Themes and Apps] defcomg:
upload sample dng
[Moto G 2015 Themes and Apps] SK:):
Here it is.. Two images one with Custom Matrix Off and another with IMX 214.

http://cloud.tapatalk.com/s/589286f527bad/Img 1.zip

http://cloud.tapatalk.com/s/5892876f9d846/Img 2.zip
[Moto G 2015 Themes and Apps] defcomg:
i see seems bayer pattern is wrong cam you select bayer and send me that file so i can find the correct one
[Moto G 2015 Themes and Apps] SK:):
Here it is.. But.. No image is there.. Completely blacked out..

http://cloud.tapatalk.com/s/589397fd5cdbc/IMG 2.zip

http://cloud.tapatalk.com/s/58939899023f1/IMG 1.zip
[Moto G 2015 Themes and Apps] defcomg:
try this
[Moto G 2015 Themes and Apps] SK:):
It works in dng mode with Custom Matrix setted as IMX 214... And there is a liitle glitch in camera.. See the attached SS. That grey colour which should under the functions of camera i guess, but it is slightly moved and occupying viewfinder.
[Moto G 2015 Themes and Apps] defcomg:
Lol I forgot this is built from my local sources will push commit to github so it gets absorbed into the official repo
[Moto G 2015 Themes and Apps] iHomeric:
Hi, there! Thanks developers for this awesome camera. I have one problem: when on .DNG sometimes I get an error/bug "Android.process.media has stopped". Is there any way to fix this? Right now I am on RR 5.8.1 (I have tried other roms' latest versions but the error is always there. Btw, the problem was not on MM based RR 5.7.4. I'm on osprey.
[Moto G 2015 Themes and Apps] V1SH4L:
Not working on osprey 6.0.1 stock.freedcam shows dark screen.please update right files.
[Moto G 2015 Themes and Apps] defcomg:
logcat
[Moto G 2015 Themes and Apps] alex_mb860:
Tell me please, if i change standart camera libs to this one, on Moto G3, will it work built-in moto camera? Stock, 6.0.1, root? Or it will be possible to take photo only in FreeDcam?
[Moto G 2015 Themes and Apps] defcomg:
It will work with all camera apps AFAIK it doesn't break anything
[Moto G 2015 Themes and Apps] alex_mb860:
I confirm that the standard application is working fine. In RAW capturing too. Thanks for work!
[Moto G 2015 Themes and Apps] sargam44:
Anyone can post moto g3 camera lib
[Moto G 2015 Themes and Apps] Sachin ET:
Which is your device and rom ?

---------- Post added at 12:14 PM ---------- Previous post was at 11:50 AM ----------

Did u fix this issue......?......am on the same situation here.......can u help me ?
[Moto G 2015 Themes and Apps] leonardo.teseyra:
genius! it works!
[Moto G 2015 Themes and Apps] OSantal:
Works great!

Specially appreciate the ISO HJR!

How did you do this though? I wouldn't know where to start

Great work!
[Moto G 2015 Themes and Apps] defcomg:
you look at camera hal source then decomipile hal and look whats out of place or shouldn't be there in motorola devices there is a method called ModifyCapabilities so that was the odd one out

Edit:

My device is out of commission and i'm i need of a new one if you liked my mods and would like to donate to help fund a new device that would be greatly appreciated my pay pal link in signature
[Moto G 2015 Themes and Apps] SayantanRC:
These links are no longer valid. Could you please upload again?
[Moto G 2015 Themes and Apps] Akash sky:
guys my google account got hacked last week so i have to delete my gdrive items and google photos other stuff cause i m not feeling safe with account now .... as there were many important documents...i had no time to select delete important documents so i have to delete everything.:(

ps: if someone have the files plz pm me or post it here so that i can update op.

i hope you can understand the situation.

thanks
[Moto G 2015 Themes and Apps] SayantanRC:
You do not have any local copy on your pc or something? :rolleyes:
[Moto G 2015 Themes and Apps] Akash sky:
No ...
[Moto G 2015 Themes and Apps] SayantanRC:
Could you please upload the zips and the apk and share the link. The OP has lost his account and the original links no longer work.
[Moto G 2015 Themes and Apps] gg2001:
Hi there,

In this post are the libs I'm currently using: [LINK=[url]https://xdaforums.com/showpost.php?p=69763943&postcount=110][/url]

And attached is the apk in the version I'm using

Sorry by the formatting, I'm on vacations in Ushuaia with a bad connection

Hope that helps,

Cheers
[Moto G 2015 Themes and Apps] Akash sky:
Ok guys now i have osprey files only need merlin files so if any can pm me or post it here then everyone will much thankful​ to him/her :)
[Moto G 2015 Themes and Apps] banerjeeayan1996:
Why not to download from the OP?
[Moto G 2015 Themes and Apps] sargam44:
Hey guys I've tried freedcam and raw shooting but i have encountered one issue that is dng file is not opening in snapseed . I have been using on lineage OS

30 March build
[Moto G 2015 Themes and Apps] Laloo' Hdez:
Hi, I have a problem... I can choose the sensor, and the format in dng, but when I take a photo it comes out black, as if it had not been taken. Anyone have any idea why? I'm in LineageOS XT1543. Thanks in advance.
[Moto G 2015 Themes and Apps] sargam44:
This is same happened with me
[Moto G 2015 Themes and Apps] sargam44:
[MENTION=377973]defcomg[/MENTION] hey dev can you patch this so file for raw images shooting in lineage OS 14.1

https://drive.google.com/file/d/0BxQmQyJMBacNQ3NLZDNYQ2dwS3M/view?usp=drivesdk
[Moto G 2015 Themes and Apps] defcomg:
done ...
[Moto G 2015 Themes and Apps] sargam44:
[MENTION=377973]defcomg[/MENTION]Thank you very much

---------- Post added at 08:23 AM ---------- Previous post was at 08:12 AM ----------

[/COLOR [MENTION=377973]defcomg[/MENTION] when i take dng pic it's size showing in file manager zero byte . Why this is​ happening.
[Moto G 2015 Themes and Apps] defcomg:
Which version of freedcam are you using
[Moto G 2015 Themes and Apps] sargam44:
FreeDcam 3.3.146 which is from [MENTION=7836395]gg2001[/MENTION] post (page no.11)
[Moto G 2015 Themes and Apps] defcomg:
maybe rom related but try set pticture format to bayer see if it captures bayer also shoot like three bayer images see if they the same size
[Moto G 2015 Themes and Apps] sargam44:
Yup I've tried to capture in bayer format . I have captured three bayer images but their size is not same

File size is 3.84 MB, 3.86 MB, 3.75 MB respectively
[Moto G 2015 Themes and Apps] defcomg:
This is the problem I think the camera wrapper is forcing zsl on tell the ROM developer to disable it in los
[Moto G 2015 Themes and Apps] sargam44:
Another way to enable camera2 api in moto g3 plz tell us
[Moto G 2015 Themes and Apps] defcomg:
unless you compile hal from source no camera2
[Moto G 2015 Themes and Apps] sargam44:
Can u know how to compile Hal from​ source
[Moto G 2015 Themes and Apps] OSantal:
No HDR on LineageOS

Hi,

I can't take pictures with HDR with the camera app from LineageOS. The app crashes and sometimes even reboots the phone

Does this happen to anyone else?

I'm on MotoG 2015
[Moto G 2015 Themes and Apps] potentia:
I see only folder list on LineageOS 14.1 and MOT1548, see attachment.

Other camera apps stopped working.

Replaced both camera.msm8916.so and camera.vendor.msm8916.so in /system/lib/hw, gave them 644

opc3.bin is in /sdcard/DCIM/FreeDcam/config

installed motg3-debug-v2.apk)
[Moto G 2015 Themes and Apps] sargam44:
Only replace camera.vendor.msm8916.so
[Moto G 2015 Themes and Apps] potentia:
Thank you, DNG option appears now, but files are 0 size.
[Moto G 2015 Themes and Apps] potentia:
How to move past this?
[Moto G 2015 Themes and Apps] defcomg:
Could mod the wrapper lib too but the better option would be los devs to patch their device tree so In the wrapper zsl is disabled
[Moto G 2015 Themes and Apps] sargam44:
But they doesn't​ do because they have said no features request are allowed in los reditt page

I had request to if could enable raw option in los 14.1 it would be great
[Moto G 2015 Themes and Apps] TokoPolo:
About rewriting the drivers

I'm a noob and want to learn about editing drivers (really need to port it to Nougat). Can I get a headstart on doing this?
[Moto G 2015 Themes and Apps] PseudoTick:
For Lineage OS Please

Please port this for Lineage OS. When I used this, not even the flashlight works. It crashes other camera apps. Can't record video.

Could you work a way to make this work on Lineage OS?

A lot of things crashed with the previous library.

And manual focus if you can do it. Is there a way things could be made to be Camera API2? That'd be heavenly
[Moto G 2015 Themes and Apps] sargam44:
This could required to compile whole camera HAL to bring camera 2api works

I had tried too many ways to bring manual camera control to my phone (Moto g 2015) .but I have come to conclusions that it is disabled on HAL.

Anyway I hope anyone would compile Camera HAL for us like sultanxda had compile for OPO .
[Moto G 2015 Themes and Apps] renguer0:
Thanks for share!! But it is working on Lineage OS 13?

Thanks!
[Moto G 2015 Themes and Apps] PseudoTick:
Well, I did not try it.

I don't know how to port these. Is there a tutorial you could point me to so that I can learn modifying drivers and decompiling libraries?

Is there a way you could persuade sultanxda to do this?

Marshmallow:

And the camera supports ISO upto 1100 and not 1600 and 3200. (so why display them from the library?).

The shutter speed does real well at high speed (1/45000) but it doesn't work for long exposure.

Is the pipeline too slow to capture the photos in RAW? Normally, the camera captures fast, but why is RAW capture too slow? Is it because the conversion to DNG takes place on the main thread? If so, is there a way to process it in the background (renderscript?)? (The write speed of the storage memory is about 50MBps)
[Moto G 2015 Themes and Apps] capasoxe:
Hey everyone,

I'm just shaking this thread to see if there has been any development in this functionality. :)

I once actually had got the raw camera functionality by doing some bizarre procedures, which I don't remember, after reading op. But it succeeded just THAT ONCE. Due to some reasons I reflashed the device and later tried the procedures again, but in vain.

Never was successful again.

That's why.. :D just asking..

Any success ?
[Moto G 2015 Themes and Apps] Akash sky:
guys since i don't have the device now plus i have already lost my data and files in an bad incident.

so i can't answer your queries now..i wish i could.

thank you
[Moto G 2015 Themes and Apps] capasoxe:
Yeah.. I saw that a couple of posts back. I feel your loss.

But got to say, this project had a big future imo:(
[Moto G 2015 Themes and Apps] LenAsh:
Thread closed as per OP request
[Moto G 2015 Themes and Apps] Forever Alone:
Try giving it RW-R-R permissions.. If u haven't..
[Moto G 2015 Themes and Apps] johnstevenjs:
View attachment 3760013
[Moto G 2015 Themes and Apps] johnstevenjs:
Given still same issue
[Moto G 2015 Themes and Apps] Aditya_001:
Works great on xt1557 cm13...
[Moto G 2015 Themes and Apps] johnstevenjs:
Unable to use camera, give stock camera which I replaced with Raw camera life , I'm unable to find it , anyone plz upload it here so I can use my stock camera
[Moto G 2015 Themes and Apps] SK:):
[MENTION=5292920]Akash sky[/MENTION] Works somewhat.. But on clicking on jpeg there is no option as "Bayer/Raw/DNG.. It shows only jpeg there..

After shot a single image, I'm getting error that" Unfortunately FreeDam has stooped" and App FC. Can't able to take second pic.. Uninstalling and reinstalling also allows only to take one picture and then FCs. I'm using Moto G3 XT1550.

Reason for edit: Info about FC added.

Edit 2: Downloading from playstore works.
[Moto G 2015 Themes and Apps] Forever Alone:
Exactly same issue. Are u on a custom rom too?
[Moto G 2015 Themes and Apps] johnstevenjs:
Any source file for stock camera, the file which I replaced for stock camera into Raw camera
[Moto G 2015 Themes and Apps] Akash sky:
guys we are working on :) kindly wait for next builds :)
[Moto G 2015 Themes and Apps] Rahul1608:
Here you go

https://drive.google.com/file/d/0B_72yimI638TQlNoRGlwWGRwWTA/view?usp=docslist_api
[Moto G 2015 Themes and Apps] johnstevenjs:
Wanted Moto G turbo Unofficial CM 13's Camera Source file
[Moto G 2015 Themes and Apps] Jamiéric GS:
Waiting anxiously for osprey!
[Moto G 2015 Themes and Apps] Chabux:
Will be excelent if you can make it work! Waiting for news! Thanks!
[Moto G 2015 Themes and Apps] SK:):
Yup.. I'm using RR rom..
[Moto G 2015 Themes and Apps] Forever Alone:
Okk the dev said it doesn't work on custom ROMs. Even I'm on a CR (Turbo) n ir doesn't work for me. :.
[Moto G 2015 Themes and Apps] SK:):
Don't know.. Try some other roms.. In RR its working.. Im not tried all futures yet.. Coz since installation i went to office. Above all its a beta build. So wait till stable one arrives.. I'll update later after checking some other futures.
[Moto G 2015 Themes and Apps] Akash sky:
We Got RAW now :) Thanks to some developers from Brazil :) Though they are not on xda i will try to post first beta apks soon :) whole new ui :) With Amazing Features :) dont forget the screenshots ;)View attachment 3761172View attachment 3761173View attachment 3761174View attachment 3761175View attachment 3761176View attachment 3761177

Camera is in Spanish right hehe but it work for english too :) just follpw system language .
[Moto G 2015 Themes and Apps] sticktornado:
Sweet... can't wait for it to be posted here!
[Moto G 2015 Themes and Apps] Jamiéric GS:
And for osprey? [MENTION=5292920]Akash sky[/MENTION]
[Moto G 2015 Themes and Apps] danxdarkte:
Any one for X Play?
[Moto G 2015 Themes and Apps] Forever Alone:
Ay man pls post it here (apk) or give us the link of that forum.. :(
[Moto G 2015 Themes and Apps] sticktornado:
Updates?
[Moto G 2015 Themes and Apps] Jamiéric GS:
Updates?²
[Moto G 2015 Themes and Apps] Akash sky:
Yes we are testing Beta 2 ? A Whole new Os for Moto g turbo ...it is just awesome ;) RAW is full working now .... And i cant leak the apk cause devs are working really hard on this one :)16mp shots are also very good...in short..camera is very very improved ..and new os is a combination of cyanogenmod + some surprise :D Wait just Wait ?

Some Ss
[Moto G 2015 Themes and Apps] Forever Alone:
So that means nothing for osprey? :(
[Moto G 2015 Themes and Apps] Jamiéric GS:
And for osprey? :'(
[Moto G 2015 Themes and Apps] Gravemind2015:
Please dont say cyanogenmod+ firefox os![emoji4] .Also is osprey not so lucky?

Broadcasted from Zeta Reticuli
[Moto G 2015 Themes and Apps] jitkr:
This means we'll have a new custom rom for moto g turbo :P. when we can get it, any info ??
[Moto G 2015 Themes and Apps] Akash sky:
We Don't have osprey . Rom is not for osprey But maybe camera mod will work :) but right now our main objective is for merlin :D of course osprey already have official cyanogen support plus recursion rom :D don't worry we are trying for osprey too :)
[Moto G 2015 Themes and Apps] Akash sky:
Does it look like Firefox os to you ? haha no brotha ( we hate it too(even firefox itself don't really impressed with it)) :D

yeah :) they are trying to release it in june or mid july ? but i'm already enjoying this awesome beta ? but few bugs of course!!
[Moto G 2015 Themes and Apps] Jamiéric GS:
Release date for camera mod, bro? :)

---------- Post added at 09:37 PM ---------- Previous post was at 09:33 PM ----------

You can count on me for any test in osprey, I am willing to test the camera mod, if you want to now can help you test! :D
[Moto G 2015 Themes and Apps] firdous95:
bro how did you copied the .so file in system...when i try to copy it says permission denied
[Moto G 2015 Themes and Apps] Gravemind2015:
Check if root access is properly configured in your file manager. The file manager should be able to mount system in RW mode. For example, in cyanogenmod file manager you have to change into user prompt mode or full root access mode. And in ES file manager, swipe from left>root expolrer (should be on)>mount rw>/system.

Broadcasted from Zeta Reticuli
[Moto G 2015 Themes and Apps] firdous95:
root access is granted properly but i i am not able to mount system on RW...using es file explorer and motorola 6.0.1 stock rom
[Moto G 2015 Themes and Apps] Gravemind2015:
I use es too. What happens when you toggle system rw? Here is a screenshot of mine when system is mounted RW-

The main toggles are / and /system.

Probably you can use twrp built-in file manager too, I just can't remember if it had an option to rename (to add .bak to original file).

Broadcasted from Zeta Reticuli
[Moto G 2015 Themes and Apps] firdous95:
i tried but it do not mount system in RW...i think this is because system less root in stock MM
[Moto G 2015 Themes and Apps] Gravemind2015:
Perhaps it's the stock mm, because I am on cm13 with systemless supersu too.

Broadcasted from Zeta Reticuli
[Moto G 2015 Themes and Apps] MAIORAL232:
nice job man
[Moto G 2015 Themes and Apps] Jamiéric GS:
News? ?
[Moto G 2015 Themes and Apps] Tel864:
I have systemless root and I can make the system R/W fine, it's not that. I do use Root Explorer though and it works fine. ES Explorer has given me problems with root functions. I contacted the developer about the root problem and never received a reply. That's when I stopped using ES.
[Moto G 2015 Themes and Apps] Akash sky:
Guys Wait :)the dev is not well hehe we all are waiting for him:D we are now working to enable manual focus like im moto g4 plus:) 60%is done :)
[Moto G 2015 Themes and Apps] Gravemind2015:
For both osprey & Merlin?

Broadcasted from Zeta Reticuli