Related
Hi,
searching the forums and google there was really nothing to be found about raw photos on the Nexus 4 or Android in general.
Maybe someone here knows if there is a App/hack that enables it, or has some technical knowledge about Android internals and if it is even possible.
Any information is very welcome, maybe there is even more quality to get from the camera with simple software?
Regards
user
PS: If you do not know about raw photos or why they are great, many details are here. Short Version: You can edit photos way better than Jpeg and they keep more quality.
Yes I'm intrigued by this as well. More than happy to put up with larger RAW sizes and post processing if it gives even a 20% boost to final image quality.
As far as I know, Google did not updated the nexus 4 camera api to the new lollipop version, so it will not be possible to get the most of it, like RAW shots or manual controls. It's a shame.
(My source is the thread in the L camera github page where they're talking about this.)
L Camera
It seems like not all nexus devices are supported..
Check out the L Camera App forum..
max.spock said:
It seems like not all nexus devices are supported..
Check out the L Camera App forum..
Click to expand...
Click to collapse
Thanks
daglesj said:
Thanks
Click to expand...
Click to collapse
so will developers enable it?
The quality of photos in my N4 is **** ! every pic I take is blurry even when visualised on computer, I think the problem is hardware and taking RAW pics wont make it any far better !
Here are some details I uncovered in regards to the camera of Moto G:
Camera specification:
- 5mpxl
- f/2.4
- 4mm focal length.
Most definitely a small sensor, (< 1/3.2' ), likely 1/4'. Also very likely won't have BSI for better low light performance.
Meanwhile there's no good teardown (yet) to find out the make of the camera module, by going through the spec sheets of many other phones, the sensor is likely to be same one you find in Lumia 625.
Most of you will probably agree that Moto G doesn't take good photos. Meanwhile the optic is the best it should be well capable of better.
Issue at the moment is that there's TOO MUCH noise reduction, which can cause a very 'water-paint' feel to the pictures, and destroying any form of sharpness.
From my test with stock and many other camera apps (Lenovo, focal, a better cam, etc etc), while they help with the compression, focus, white-balance and metering etc. and can help the quality of the photos. They don't fix the sharpness/noise reduction issue with the camera. It seems like it's been hard-coded into the software for the camera.
Are there anyone out there who will be able to fix this?
The Motorola camera app was updated today, has this improved the noise reduction?
Nuthin' but a 'Moto G' thang
cption said:
Are there anyone out there who will be able to fix this?
Click to expand...
Click to collapse
Google seems to be working on a completely overhauled Hardware Abstraction Layer for the cameras that will allow apps to tap more directly into the camera pipelines. They'll be able, for instance, to get RAW captures and and do their own custom demoisacing/debayering and the whole post- pipeline. That would probably fix any heavy-handed processing done by any of the OEMs.
AluKed said:
Google seems to be working on a completely overhauled Hardware Abstraction Layer for the cameras that will allow apps to tap more directly into the camera pipelines. They'll be able, for instance, to get RAW captures and and do their own custom demoisacing/debayering and the whole post- pipeline. That would probably fix any heavy-handed processing done by any of the OEMs.
Click to expand...
Click to collapse
RAW just gives an uncompressed image, there's no real guarantee that no processing takes place..
I'm going to report my findings on the new moto camera update. From the look of it it's just a routine, general update that shouldn't make much difference.
bien irleeno
cption said:
RAW just gives an uncompressed image, there's no real guarantee that no processing takes place..
Click to expand...
Click to collapse
Not really. RAW is much more than an uncompressed image, it's as close to the raw, unprocessed sensor output as possible. No demosaicing, no tone mapping/gamma, no conversion from (typically) 12 bits per pixel to 8 bits, no processing and no lossy compression. If any of this is done, then it isn't RAW.
For you which camera app is the best ?
el-marino said:
For you which camera app is the best ?
Click to expand...
Click to collapse
camera awesome is amazing and vignette its very good try with this app's u can get a better pic from stock cam
I think the original Android app takes better photos
The only problem with this app is the HDR
I installed the original app 4.2, 4.3 and 4.4, none of them has the HDR
Any way to solve this?
I've just installed snap camera, I have to say it is streets ahead of stock moto cam.
Sent from my XT1032 using Tapatalk
I wasn't able to post before/after comparison with the stock camera app as it updated itself. So far I'm not seeing any different image wise between the update.
I've done some comparison shots in between the cameras, and added in my Ativ S (GS3 WP8 alter-ego) as a bonus.
Snap Camera focus very well, and I was able to take good shots with my shaky hands. However, the blurring issue is very apparent with all camera apps..
N.B. The Focal photo was slightly blurred due to my shaky hands, sorry!
Just to clear it, you're talking about this paid app ?
https://play.google.com/store/apps/details?id=com.marginz.snap&hl=en
SlashGear have posted an article on the Camera software update released by Motorola.
This update does a tiny bit to improve all areas of shooting with manual controls, and shows sign that Motorola isn’t going to let this device fall by the wayside at all, whatsoever.
Click to expand...
Click to collapse
[SlashGear]
lost101 said:
SlashGear have posted an article on the Camera software update released by Motorola.
[SlashGear]
Click to expand...
Click to collapse
I dunno Slashgear articles seems iffy...
Moto G ALREADY had the Exposure/Focal Ring tbh, seems they didnt notice or use it in their original review. This exposure/focus ring is the basis of their camera comparison it seems.
I did not find options to manual focus and exposure.
Psychoferno said:
I did not find options to manual focus and exposure.
Click to expand...
Click to collapse
It's just the ring that you can drag around the screen to choose the point of focus and exposure. I'm sure that we (at least I did!) had this from the beginning on Moto G (maybe the X didn't and that's where the stories are coming from?) and the recent update was basically bug fixes for us.
Yes, the G Moto already had this function. Thanks for the clarification.
Kameo said:
Just to clear it, you're talking about this paid app ?
https://play.google.com/store/apps/details?id=com.marginz.snap&hl=en
Click to expand...
Click to collapse
Yes, I just used the trial for the comparison.
Note that XDA compresses the image so it's very hard to tell from the photos I posted.
But the Moto-G is absolutely no match for the camera on my Ativ-S/GS3. Not sure if it will fair better if the noise reduction issues been fixed.
But Snap Camera seem to do the best job out of the apps I've tried, for my shaky hand of course. Not compared the HDR mode yet but stock camera do that quite well.
any comparison between s3?^
t-bon3 said:
The Motorola camera app was updated today, has this improved the noise reduction?
Nuthin' but a 'Moto G' thang
Click to expand...
Click to collapse
Camera apps rarely make any significant difference in quality, unless they start passing different parameters/settings to the camera HAL.
Usually, if you see major changes in camera performance, it's HAL changes, which require a system firmware update.
Entropy512 said:
Usually, if you see major changes in camera performance, it's HAL changes, which require a system firmware update.
Click to expand...
Click to collapse
I'm guessing that we'll get the Camera HAL v3 with Kit Kat 4.5. I mean, that's the kind of feature that would justify a version bump. Hopefully the hardware will be compliant enough that it won't have to run in the Limited Semantics mode.
The camera sensor 'Sony IMX179' used in the Moto G 2014 is the same as in LG Nexus 5.
As Nexus 5 has Snapdragon 800 and IMX179 sensor enclosed in a special rig it has Optical Image Stabilization. (OIS).
IMX179 is capable of shooting 1080p videos at 30fps & Snapdragon 400 (MSM8226) used in Moto G 2014 is fully capable of processing FHD 1080p video and has FHD encoder support.
Specifications
Type : Active Pixel CMOS
Pixel Size : 1.4 µm
Type : 1/3.2”
Effective Pixels : 8.08MP
Max FPS : 30
Aperture : f/2.0
Focal Length : 27mm
Also Google introduced 1 new API Lollipop onwards for Camera called Camera 2.0 API (android.hardware.camera2) that enables the device fully utilize the hardware and software & a complete manual control on the post-processing features of the image. Nexus 6 and Nexus 5 have Camera 2.0 API implemented in their stock ROMs.
The features that can be controlled using Camera 2.0 API to give far more superior quality images as compared to auto-mode.
Exposure time
ISO Sensitivity
Frame duration
Lens focus distance
Flash trigger
Color correction matrix
JPEG metadata
Tonemap curve
Crop region
AE / AF / AWB mode
AE / AWB lock
AF trigger
Precapture AE trigger
Metering regions
Exposure compensation
Target FPS range
Capture intent
Video stabilization
Motorola too was lazy to upgrade the phone software to enable FHD video recording and introduce Camera 2.0 API. It seems Camera 2.0 needs hardware support as well, will have to confirm it from reliable sources.
I have mailed Motorola of this issue, but still its has been 1 week 3 weeks, still no reply from them.
Hope this information is useful.
sharkymyn said:
The camera sensor used in the Moto G 2014 is the same as in LG Nexus 5. It's the Sony IMX179 1/3.2” CMOS with 1.4 µm pixels. 8 MP f/2.0, 27mm-effective lens. As the Nexus 5 has Snapdragon 800 so it is able to support OIS feature.
Snapdragon 400 used in Moto G has FHD 1080p encoder supported, but Motorola was lazy to upgrade the phone software to enable full HD video recording.
Click to expand...
Click to collapse
Thank you, this is interesting to know. Can you please confirm how did you come by this information, did you take apart your Moto G 2014, do you know if all variants of Moto G 2014 use the same camera? Can we update phone software - e.g. by using custom Sony Binaries/drivers in the custom built CM12?
anterus said:
Thank you, this is interesting to know. Can you please confirm how did you come by this information, did you take apart your Moto G 2014, do you know if all variants of Moto G 2014 use the same camera? Can we update phone software - e.g. by using custom Sony Binaries/drivers in the custom built CM12?
Click to expand...
Click to collapse
Source : http://www.techspot.com/review/888-motorola-moto-g-2014/page1.html :fingers-crossed:
IMO, All the variants of Moto G 2014 use the same IMX179. And you cannot update the phone software by using Sony's Binaries, they are device specific.
Meanwhile I have mailed Motorola about the same, I am now waiting for their reply
So i wonder what motorola is going to say about this
Just because the sensor is the same doesn't mean the camera module is. In fact, the G has different lenses than the N5 (different aperture sizes, too).
Also, I doubt Motorola was "too lazy" to enable 1080p recording. It's far more likely that this was a deliberate decision to prevent the G from cannibalizing their sales of higher-end models too much.
Interesting so does that mean that a dev could implement 1080p recording?
code65536 said:
Just because the sensor is the same doesn't mean the camera module is. In fact, the G has different lenses than the N5 (different aperture sizes, too).
Also, I doubt Motorola was "too lazy" to enable 1080p recording. It's far more likely that this was a deliberate decision to prevent the G from cannibalizing their sales of higher-end models too much.
Click to expand...
Click to collapse
It's just apperture and lens. That doesn't change the fact they share the same camera module. IMX is the same for all phones.
guillaumedsde said:
Interesting so does that mean that a dev could implement 1080p recording?
Click to expand...
Click to collapse
Technically yes.
guillaumedsde said:
Interesting so does that mean that a dev could implement 1080p recording?
Click to expand...
Click to collapse
aditya.upadhyaya said:
Technically yes.
Click to expand...
Click to collapse
Even Camera API v2.
I use the attached file to change the profiles of video resolution support.
Use the one from N5, it enable the option 1080p recording, but if i try to record a video it does not, it start and end in one second. when I check the 1 second recorded video is only 720p :silly:, I tested Moto camera, and google camera same result.
The name of the file is only ''media_profiles.xml'' i rename to know... to flash i flash with original name ''media_profiles.xml'' and put it on system/etc...
Of course that would not be so easy.
But is a start... enjoying the thread :good:
baybutcher27 said:
I use the attached file to change the profiles of video resolution support.
Use the one from N5, it enable the option 1080p recording, but if i try to record a video it does not, it start and end in one second. when I check the 1 second recorded video is only 720p :silly:, I tested Moto camera, and google camera same result.
The name of the file is only ''media_profiles.xml'' i rename to know... to flash i flash with original name ''media_profiles.xml'' and put it on system/etc...
Of course that would not be so easy.
But is a start... enjoying the thread :good:
Click to expand...
Click to collapse
The drivers doesn't know what "1080p" means so it sticks with 720p.
sky0165 said:
The drivers doesn't know what "1080p" means so it sticks with 720p.
Click to expand...
Click to collapse
That gave me a brilliant plan. This is the right way of thinking. If possible, can someone use camera.msm8226.so (system/lib/hw/) from a 1080p enabled MSM 8226 chipset and try the same? A couple of Chinese phones and a Sony Xperia phone (don't know in which) has this.
Warning - this could screw the phone up. Backup and reflashing ROM will be necessary.
---------- Post added at 04:41 AM ---------- Previous post was at 03:53 AM ----------
baybutcher27 said:
I use the attached file to change the profiles of video resolution support.
Use the one from N5, it enable the option 1080p recording, but if i try to record a video it does not, it start and end in one second. when I check the 1 second recorded video is only 720p :silly:, I tested Moto camera, and google camera same result.
The name of the file is only ''media_profiles.xml'' i rename to know... to flash i flash with original name ''media_profiles.xml'' and put it on system/etc...
Of course that would not be so easy.
But is a start... enjoying the thread :good:
Click to expand...
Click to collapse
media_profiles.xml is a file that lets the OS know what types of encoders and decoders are present, & also usable for the device. By using one from Nexus 5, its letting the our OS know that 1080p HD is available, but when you open the camera, it doesn't have the library driver files to do so., & thus my post above. By getting driver file, it should technically have the capability to record, but if its also kernel related, the kernel also needs to be patched in accordance. But in the mean time, let's take this step by step.
Also, i dont think Motorola's gonna answer.
aditya.upadhyaya said:
That gave me a brilliant plan. This is the right way of thinking. If possible, can someone use camera.msm8226.so (system/lib/hw/) from a 1080p enabled MSM 8226 chipset and try the same? A couple of Chinese phones and a Sony Xperia phone (don't know in which) has this.
Warning - this could screw the phone up. Backup and reflashing ROM will be necessary.
---------- Post added at 04:41 AM ---------- Previous post was at 03:53 AM ----------
media_profiles.xml is a file that lets the OS know what types of encoders and decoders are present, & also usable for the device. By using one from Nexus 5, its letting the our OS know that 1080p HD is available, but when you open the camera, it doesn't have the library driver files to do so., & thus my post above. By getting driver file, it should technically have the capability to record, but if its also kernel related, the kernel also needs to be patched in accordance. But in the mean time, let's take this step by step.
Also, i dont think Motorola's gonna answer.
Click to expand...
Click to collapse
I believe this task is a little more deeper than just replacing files. I think we would need a proper kernel, since it's the bridge between hardware and software to make the current system "speak" with the new files. Because if system request something that was declared differently or wasn't declared with the replaced drivers/libs camera would stop working.
I think lib/hw is the real module blobs, vendor/hw it's the Camera HAL.
sky0165 said:
I believe this task is a little more deeper than just replacing files. I think we would need a proper kernel, since it's the bridge between hardware and software to make the current system "speak" with the new files. Because if system request something that was declared differently or wasn't declared with the replaced drivers/libs camera would stop working.
I think lib/hw is the real module blobs, vendor/hw it's the Camera HAL.
Click to expand...
Click to collapse
Okay, that's a decent explanation.
With that, we require Camera HAL of a Lollipop based MSM8226 chipset, preferably by Motorola. But, Moto G & G2 are d only known Lollipop Snapdragon 400 phones.
Can someone send me the .so file for lib/hw/ ? And if possible send me d HAL file of any MSM8226 phone? I want to test it anyways. No harm in doing that, right?
aditya.upadhyaya said:
Okay, that's a decent explanation.
With that, we require Camera HAL of a Lollipop based MSM8226 chipset, preferably by Motorola. But, Moto G & G2 are d only known Lollipop Snapdragon 400 phones.
Can someone send me the .so file for lib/hw/ ? And if possible send me d HAL file of any MSM8226 phone? I want to test it anyways. No harm in doing that, right?
Click to expand...
Click to collapse
I don't think it's like that.
I think first we need N5 camera blobs and probably some reverse-engineering to make the files "fit" on G. These blobs are what makes the module turn on, focus, etc. Here, we're speaking on Hardware level.
The last thing is Software level, which is HAL. APP requests to HAL that requests to CAMERA.
Don't know if this is right.
sky0165 said:
I don't think it's like that.
I think first we need N5 camera blobs and probably some reverse-engineering to make the files "fit" on G. These blobs are what makes the module turn on, focus, etc. Here, we're speaking on Hardware level.
The last thing is Software level, which is HAL. APP requests to HAL that requests to CAMERA.
Don't know if this is right.
Click to expand...
Click to collapse
Hmmm... Yeah. That's also there.
Okay guys so here is the update
I mailed the Motorola regarding this issue on 13th March, 2015, They assured that the mail will be replied within 24 hours.
Today is 17th March, 2014. Its been 3 days, still no reply from their side.
May be a bad news for some!!
I read a news article from GSMArena where it stated that even Samsung didn't implement all features of Camera API 2.0 in their Samsung S6 and S6 Edge. Considering it is a recent flagship and has more than enough oomph and still not given the benefits of Lollipop API's i seriously doubt Moto will do anything for Moto G. Moto X 2014 might have a chance and Moto X 2015 will have it more or less. Unless Moto releases resources for implementing Camera API or someone comes with a open driver solution or some dev creates a hack to enable the settings by Xposed i seriously doubt this will ever happen. My post may feel negative but its the reality as far as i think. Anyway lets hope:crying:
---------- Post added at 12:57 AM ---------- Previous post was at 12:28 AM ----------
Tried contacting Motorola Support through the help app. Seems they don't have any information about this. So i have created a petition on https://www.change.org/p/motorola-k...r-moto-g-x-both-generations?just_created=true If anyone is interested kindly take part all we can do is ask Motorola for it.
To be honest, if we can do it, not a big problem insert it into CM and done =)
By the way, is there a way to modify drivers and make the software take movies at 60FPS (Since the Slow Mode is at 60FPS, but divided by 4 that gets 15FPS)
raju sesharaj said:
I read a news article from GSMArena where it stated that even Samsung didn't implement all features of Camera API 2.0 in their Samsung S6 and S6 Edge. Considering it is a recent flagship and has more than enough oomph and still not given the benefits of Lollipop API's i seriously doubt Moto will do anything for Moto G. Moto X 2014 might have a chance and Moto X 2015 will have it more or less. Unless Moto releases resources for implementing Camera API or someone comes with a open driver solution or some dev creates a hack to enable the settings by Xposed i seriously doubt this will ever happen. My post may feel negative but its the reality as far as i think. Anyway lets hope:crying:
---------- Post added at 12:57 AM ---------- Previous post was at 12:28 AM ----------
Tried contacting Motorola Support through the help app. Seems they don't have any information about this. So i have created a petition on https://www.change.org/p/motorola-k...r-moto-g-x-both-generations?just_created=true If anyone is interested kindly take part all we can do is ask Motorola for it.
Click to expand...
Click to collapse
Well, S6 is still to be launched. I believe the software they're running isn't 100% finished and polished, just like M9. Wait April 10, probably they'll add it on day 1 or some weeks later.
I remember hearing somewhere that the Moto X Pure was going to get 60fps video at 1080p. Right now, with the stock Moto Camera app, we only get 1080p30
i swear i heard that somewhere too! i was disappointed to see it was 30fps in good lighting. grr
http://www.sony.net/SonyInfo/News/Press/201411/14-112E/
I believe this is the sensor in the Pure/Style. Sony lists the sensor having the ability to shoot 1080p at 60 fps. Hopefully once custom roms start rolling out this will become available.
Given the MXPE does not have some camera features due to CPU power limitations. (Keep in mind, the MXPE and 5x have the same CPU.) It may be fair to ask whether the device has the needed CPU power to support it?
Very true, but theoretically 120fps in 720 should taper down to 60fps in 1080 and 30 in 4K. Obviously it isn't that simple, but Moto has limited the 120fps in 720 to their camera app specifically. I have tried probably 8 camera apps that say nothing above 30fps is supported even in 720p. I don't know if any one has experienced anything else, but maybe it is Motorola's way of swing one to use their camera app. That would give them control and consistent output of what the photos and videos will look like. This is what makes me thing it might be possible once we get pure aosp. Correct me if I am wrong, but Google said the 5X didn't have software based image stabilization because of the CPU, but Motorola has managed it.
suprstar29 said:
Very true, but theoretically 120fps in 720 should taper down to 60fps in 1080 and 30 in 4K. Obviously it isn't that simple, but Moto has limited the 120fps in 720 to their camera app specifically. I have tried probably 8 camera apps that say nothing above 30fps is supported even in 720p. I don't know if any one has experienced anything else, but maybe it is Motorola's way of swing one to use their camera app. That would give them control and consistent output of what the photos and videos will look like. This is what makes me thing it might be possible once we get pure aosp. Correct me if I am wrong, but Google said the 5X didn't have software based image stabilization because of the CPU, but Motorola has managed it.
Click to expand...
Click to collapse
Correct. Although Google referred to it as "EIS", so many people speculated that it's a completely different form of software stabilization. Either way, the MXP has great stabilization for me so far, while having the Snapdragon 808.
I am not sure how to test it, but i am able to enable 60fps in 1080p in open camera. I was unable to do this on stock firmware. Can anyone suggest an app that will give me a read out of the fps?
---------- Post added at 05:31 PM ---------- Previous post was at 05:21 PM ----------
Scratch that, i just tried breaking down a video the open camera said was shot in 720p at 120 fps and it was in 30fps. Trying to edit the camera files is above my knowledge, so hopefully someone will make it work
Moto X Style's official specs seem to still claim it can do 1080p at 60fps.
Moto X Style specs
If it's anything like the OG Nexus 7, it's just a small little change in the code.......somewhere
Well, the LG G4 has the same 808 processor and a mod was made that enabled FHD60fps recording. I hope someone out there can do the same for the Moto X.
Are you rooted?
Please attach media_prolfiles.XML from system\etc
Enviado desde mi Nexus 7 usando Tapatalk 2
vauss said:
Are you rooted?
Please attach media_prolfiles.XML from system\etc
Enviado desde mi Nexus 7 usando Tapatalk 2
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B2COLNfslufLd1NCajgwcE5tTG8/view?usp=sharing
Here is the edited version that I tried and it didn't work. Maybe you can look at it and make the right changes. It looked like in the lg g4 thread they needed to edit a camera_congif.xml, but Dirty Unicorn doesn't have one. I don't know if stock comes with one, but it seems we need to edit more than just the media_profile.xml file
https://drive.google.com/open?id=0B2COLNfslufLclFVN2lISF9TN28
So I was able to get this, but I am still only getting 30 fps in 1080p. Any idea what I need to edit to get this?
Edit: The 120 is a real 120 frames, not the software created frame rate motorola tries to pull off
Yeah I don't see how the CPU is a limitation though, as if it can shoot 4K, it can possibly shoot 1080p60fps. Though, admittedly, this phones does have EIS, when the Nexus 5X doesn't. RIP.
Hi, I have some advanced camera questions regarding the Moto X Pure ...mostly about capability of raw photo, max 4k bitrate and if there are compatible pixel google camera hDR+ apps
1) Has camera api 2 been confirmed, definitively enabled by any known means on the Moto X pure so RAW photo capture is enabled? In other words.....anyone doing raw on moto x pure?
2) Does anyone know if 4k video recording bitrate can be increased on the Moto X pure. If so what mods, apps and to about what bitrate?
3) Are there any known google HDR+ apps that are known to work on the moto x pure? particularly HDR+...if so, any apk link?
Much appreciated for any related info...thanks
poog said:
Hi, I have some advanced camera questions regarding the Moto X Pure ...mostly about capability of raw photo, max 4k bitrate and if there are compatible pixel google camera hDR+ apps
1) Has camera api 2 been confirmed, definitively enabled by any known means on the Moto X pure so RAW photo capture is enabled? In other words.....anyone doing raw on moto x pure?
2) Does anyone know if 4k video recording bitrate can be increased on the Moto X pure. If so what mods, apps and to about what bitrate?
3) Are there any known google HDR+ apps that are known to work on the moto x pure? particularly HDR+...if so, any apk link?
Much appreciated for any related info...thanks
Click to expand...
Click to collapse
1) Nope, not possible... RAW or CameraAPI2 is not in the firmware of this device and it cannot (so far anyway) be enabled with software.
2) Nope, limitation of the Sony’s Exmor RS IMX230 sensor to 4k @ 30fps, 1080p @ 60fps, and native resolution @ 24fps
3) I have no info on HDR+ with this device, maybe someone else can add to this.