yashsingh1/xdaforums huggingface dataset:
[Moto G General] lost101:
I think so also. This is why I asked if anyone knew what system files are specifically required here.

I will test flash camera files from only the /vendor/lib folder of Moto G (2nd Gen)'s system folder. The previous zip (Moto G (1st Gen) 4.4.4) I made caused the camera app to crash in Moto G (1st Gen) 4.4.2, but it did include some files outside of the /lib directory.

If you look at the file-list, there are even specific lib files for NR. If they aren't present - can NR take place? Maybe all that is needed is to add the missing lib file for a specific feature currently 'greyed out.'

Here are the files from Moto G (2nd Gen): (backup your original files)

motog_2ndgen_cam_lib.zip​

Probably best to test one file at a time to see the effect and most likely require the Camera app from Moto G (2nd Gen.)
[Moto G General] RepoX_RAY:
Guys, do you believe there's hope to make a customized motorola camera app with enhanced features available, in form of a user installable apk for non-rooted devices?

Thanks,

RepoX
[Moto G General] S0bes:
May be when it'll updated in Play Store we can modify it and install.

I've tried to install modified camera (from system app) and it gave me error
[Moto G General] demolition23:
So, what's the best settings to take awesome photos?
[Moto G General] GodOfPsychos:
Edit: it seems it could really be the camera libs to get features visible and toggleable. see next post
[Moto G General] GodOfPsychos:
hmm... actually there is some point. in fascination of trying to get things available by editing .smali files, i just overlooked there is a "lib" folder in the playstore versions decompiled camera app folder :p
[Moto G General] GodOfPsychos:
Pls read the Recommended settings in the OP
[Moto G General] i_rnb:
Can anyone let me know, when you make some changes in these hidden settings, are those changes has any effect on other camera apps i.e. do they capture better images too? or the effects are with stock camera only?
[Moto G General] AluKed:
I'm assuming it is a sensor-based NR step, as well. I'm in another forum that's dealing with firmware hacks (Nikon DSLR hacks, to be exact) and one of the hacks there involved disabling a sensor-based hotspot suppression filter that made Nikon cameras essentially useless for fine astro photography.

One of the more knowledgeable guys there mentioned that such filters are usually software solutions (and, in very few cases, FPGAs), so here's hoping this stands true for this sensor.
[Moto G General] Ja_som:
These settings are only for stock camera. Other camera apps have their own settings.

Sent from my tablet./Odoslané z môjho tabletu.
[Moto G General] coldflid:
Have you tried with fully disabled signature verification?
[Moto G General] S0bes:
nope. I haven't even heard about things like that.
[Moto G General] GodOfPsychos:
it really seems that motorola just ignores us with all those problems for the camera.

why does motorola open a support forum if they don't want to support anyone?

are they just too lazy or are they just focusing on the new moto G (2014) ? i just don't get it
[Moto G General] abhifx:
very nice and detailed thread.

I always wanted to disable the filter algorithm (rather do all that stuff on gimp myself).

I am waiting what Android L brings to the table with new API. could we enhance the camera more? who knows.
[Moto G General] coldflid:
You could try this:

http://xdaforums.com/showthread.php?t=1698352

or this

http://xdaforums.com/showthread.php?t=2733681
[Moto G General] kalafior12:
Wow grear work GOP ! perhaps the 60fps video will also be available for us
[Moto G General] GodOfPsychos:
i wish the video coding would be a little bit better. i mean better quality at 720p. maybe even availability of 1080p recording in android L.

the snapdragon 400 dual core version is even capable of recording 1080p at 30fps which means our quad core version got a better and faster encoding/decoding performance

I also want stable 30 fps video recording (because in low light it goes down by too much fps).

some ppl say it is because the sensor can't handle low light in that high amount of fps but thats not true.

for an example, while recording slow mo videos at 60 fps the camera goes down in low light to 30-45fps

so that means while recording normal 30 fps videos in low light, the camera just needs to push the fps over the normal limitation so it will get a stable 30 fps shot
[Moto G General] S0bes:
So, you advice me to modify Services.jar which requires root.

Instead It would be easier to replace Motocamera.apk and set permissions rw-r-r. Or In my case I can do this by xposed module.

So, you advised me the most harder method.

People want to unlock hiden setting without root acces.
[Moto G General] lost101:
[MENTION=4413273]S0bes[/MENTION] apkmultitool has different signing options for system apks and non-system apks. Perhaps that is worth exploring.
[Moto G General] S0bes:
If it matters I use ApkTools200b9m

If I want to install apk which won't pass signature verification I just move it to system folder and set permission. Which requires root.

Disabling signature verification also requires root to replace Services.jar in framework folder. Usually this method is used for system apps Manifest changing.

But when app isn't system. Of course old version is system but the new one is in data/app folder. I think if we'll change the new version it can install then without root. But I'm not sure.
[Moto G General] jefish:
Camera with debug for Moto G (2014) without root

Got it working without root and build.prop editing:

w*w.mediafire.c*m/?kh5j531vh94jv9q

first*=w second*=o (sorry forum limit, I am not allowed to post links...)

tomorrow I will do some tests with the setting
[Moto G General] GodOfPsychos:
can i link this in the OP? of course i will mention that you did this mod

ah now i get it how you got it to work. at first i tried to put the apk into system/priv-app. the camera foce closed. so i decided to install it as normal apk

this time it worked but somehow the ladybug icon was not there. Suddenly i thought about the unmodified version's behaviour after editing the build.prop.

the unmodified version only showed you the ladybug icon if you edited your build.prop and changed the "ro.build.tags=release-keys" line into "ro.build.tags=test-keys".

But your modification let the camera wants to read the line "ro.build.tags=release-keys" instead of "ro.build.tags=test-keys" to let the ladybug icon appear and show the hidden menu. so i changed back to "release-keys" and it worked

nice work btw

and you also managed to make the app a "seperate" camera app which means you can still keep your original pre-installed camera or install the one from playstore, so you have 2 cameras.

one with and the other one without the features. idk why i mentioned all this instead of shutting up and saying thanks to you. . . . . . . . . . . . . . . . . . . . . . . . . . . . . well, thanks i guess :P i am serious. a big thank you for your work

btw. now i will try if it is possible to have the original and your version with the hidden menu ( i am just curious if this would work) by editing the build.prop and add "ro.build.tags=xxxxxx-keys" (one with "release" and one with "test")

EDIT: nope, seems only the first line got read by the camera apps which is "ro.build.tags=release-keys". the second line with "test-keys" got ignored.

is it possible for you to make the camera app show the hidden menu for both, "release-keys" and "test"keys, since it is only possible to have only one of these lines readable in the build.prop and most of the custom rom users have the "test-keys", so in the end it would be possible to get the hidden settings where it doesnt matter which of these lines someone has? so stock and custom rom users could enjoy your mod together? (Stock has "release-keys" and most custom roms use "test-keys)
[Moto G General] jefish:
Yes, link it.

I will try to make a version, which runs on both ROMs, but I think not this easy :confused:
[Moto G General] lost101:
[MENTION=5012959]jefish[/MENTION], Is it possible to change the preset settings in Camera+ apk, so that Wavelet noise, Morpho VNR and QC Tintless are all disabled by default?
[Moto G General] S0bes:
[MENTION=5012959]jefish[/MENTION] try to change smali\com\nomotorola\camera\instrumentreport\DeveloperMenu.smali

comment to strings with # and add one more string

.method public static isMenuEnabled()Z
.locals 1

.prologue
.line 24
invoke-static {}, Lcom/nomotorola/camera/CameraApp;->getInstance()Lcom/nomotorola/camera/CameraApp;

move-result-object v0

invoke-virtual {v0}, Lcom/nomotorola/camera/CameraApp;->isUserAMonkey()Z

move-result v0

[COLOR="Red"] # if-nez v0, :cond_1[/COLOR]

sget-boolean v0, Lcom/nomotorola/camera/Util;->TEST_BUILD:Z

[COLOR="Red"]#if-nez v0, :cond_0[/COLOR]

[COLOR="Red"]goto :goto_0 # add this[/COLOR]

invoke-static {}, Lcom/nomotorola/camera/CameraApp;->getInstance()Lcom/nomotorola/camera/CameraApp;

move-result-object v0

invoke-virtual {v0}, Lcom/nomotorola/camera/CameraApp;->isUserAMotorolan()Z

move-result v0

if-eqz v0, :cond_1

:cond_0
const/4 v0, 0x1

:goto_0
return v0

:cond_1
const/4 v0, 0x0

goto :goto_0
.end method
[Moto G General] MarisPiper:
Thanks the the OP for this trick. It works perfectly with the Moto G 4G (XT1039).

If only Motorola would release a proper (firmware?) fix for this issue... we can but dream!
[Moto G General] zack.1988:
I've made some test with the tweaked camera app, and the quality with noise reduction filter is EXACTLY THE SAME of when you shoot in sequence mode with the stock camera... so not much to be excited of. Just a little less of noise reduction

The most of the noise reduction anyway is still there; moreover, in indoor or low light conditions denoise absence does only hurt.

So, we are still there... they must turn off the denoise filter at firmware-level, and ONLY for daylight / high iso...
[Moto G General] GodOfPsychos:
it is not exactly the same

yes, some of the users here also said that there has to be a pre-noise reductioning process before the app noise reductioning.

the 3 settings: wavelet NR, Morpho VNR and QC Tintless are only a little step forward to what we want to have the cameras quality reach. but the difference is still there (look at the link in the OP for the camera qualitys comparison)

motorola should give us an update to the cameras firmware and app, so we have full control of our photos quality. options like to turn off Noise Reductioning COMPLETELY etc. (means also the firmware based one)

i still think there are more quality tweaks that can only be applied in the decompiled camera apps .smali files etc. just like "detail level" (which could be in the camera app which is highly responsible for the high compression of the photos like in many other camera apps; Sonys' , Samsung, Lenovo camera apps etc.)
[Moto G General] mathesar:
Thanks this worked (no root) I'm just curious if most of the options are suppose to be grayed out under Feature settings? I'm unable to toggle QC Tintless or Morpho VNR: http://i.imgur.com/JY76MhS.png
[Moto G General] GodOfPsychos:
are you on 4.4.4?
[Moto G General] mathesar:
I'm on 4.4.2 , is it better to have these options disabled anyway?

My Moto g is from Cricket Wireless and currently 4.4.2 is the latest they offer.
[Moto G General] GodOfPsychos:
in most cases it is indeed better to disable noise reduction. idk about the others because they are greyed out so i am not sure if they will affect the picture quality. but anyway. when your 4.4.4 update is coming, you should be able to get some greyed out settings toggleable. for now you should disable the Wavelet Noise. don't expect some magic quality boost from this. it is still just a little step forward to better picture quality
[Moto G General] juanchotazo99:
I've been trying to figure out what these three settings we're disabling do, came up with this:

Wavelet NR is the offender, if you want to improve your pictures then disable that one.

Morpho VNR reduces color noise in the camera live view, I've been taking pictures with it on and off, and there's no difference in the final picture, nor in its file size. Its effect is especially noticeable in low light conditions, try it out. This one is up to you, if you prefer a cleaner live view.

QC Tintless affects color rendering, in particular the amount of red in the final picture. It is presumably the 4.4.4 fix for people who had too much red in their pictures in 4.4.2, so this one is up to you to tweak. Keep it enabled if you want more neutral colors, disabled if you want a little more red in your pictures out of the camera.
[Moto G General] jefish:
did not work for me. Can't install, if I change this :confused:

[MENTION=1006674]lost101[/MENTION] : tried to change default parameters in the xml-file, but they did not change...
[Moto G General] GodOfPsychos:
i think QC Tintless is a feature that fixes the reddish tint problem on photos that many ppl had on 4.4.2 (since this feature seems only to be available on 4.4.4)
[Moto G General] juanchotazo99:
It could be. Some pictures here under incandescent light show slightly less reddish tint with it enabled. If tomorrow's sunny (lots of rain today here) I'll go on a picture taking trip just like last time to test.

In that case update the OP with these findings so people can choose what so far seem to be the right settings. Wavelet NR should always be off since it's what screws up image quality, QC tintless could be slightly beneficial to color rendering and Morpho VNR is up to the user, if he wants a cleaner live view or not.
[Moto G General] sirtbhopal:
This setting (with unroot App) gives better quality (noise reduction) than stock app.
[Moto G General] Semseddin:
What is diferent for us if we flash Moto G 2014 camera ?
[Moto G General] SummerRainbowz:
A question

Can you guys tell me how to install this on PA 4.6? It says app not installed every time I try to install it and btw I've looked in the build. Prop and it seems like I have the test keys part.
[Moto G General] GodOfPsychos:
[MENTION=5971738]SummerRainbowz[/MENTION] Could you be more precisely? Which camera app did you try to install? The camera Apk for Non-Root and Root users? Or did you try to manually install a apk that was contained in the zip files?
[Moto G General] GodOfPsychos:
[MENTION=2367031]Semseddin[/MENTION] Not much. Just use the Moto G 1st Gen 2013 zip
[Moto G General] Ekril:
can't download this [ Moto G (2013) 4.4.4 Stock Camera app: (Wavelet noise, Morpho VNR and QC Tintless settings available) ] due to site being moved. i am on a custom rom (liquid smooth), do you think if i flash that zip it will work/broke the setup?

i tried to install the apk version but nothing happened. did i do something wrong? (what can be done wrong while installing an apk? :) )

Thanks.
[Moto G General] GodOfPsychos:
about breaking setup: nah, i don't think so.

about the apk version problem: what do you mean with "nothing happened"?
[Moto G General] lost101:
Camera libs are required for non-Stock Motorola ROMs. It's not just an isolated apk, there are related system files. See this thread:

http://xdaforums.com/showthread.php?t=2779425​
[Moto G General] juanchotazo99:
You guys were right. QC tintless controls the amount of red in the picture. I've added test pictures to my settings comparison post and updated the recommended settings.

Just disable wavelet NR and you're done. The other two are beneficial to the camera experience (morpho VNR), and picture quality through better color rendering (QC tintless).

----------------------------------------------

http://www.xda-developers.com/android/moto-g-hidden-camera-settings/

We've made it to the XDA front page. Damn. Motorola, that's some burn right there! My image comparison post in the front page with all the links to their forum. LOL.

If we don't see changes on the Android L upgrade... that would be really outrageous.

One more wake up call for moto right here.
[Moto G General] GodOfPsychos:
about the mentioning of this thread on the offical XDA News site, just damn i am so happy about this :D

And you are literally destroying motorola's lame excuses about the noise reduction (that lame excuse for an example that this quality problem would only be tweakable beyond the camera app itself.). Of course, there has to be an Pre-NR algorithm (that is still really aggressive) that could be based on the Firmwares camera libs but still, you are kicking Motorola's ass right now with all your Proofs for the bad camera quality. they are just speechless xD

btw i remembered the screenshot of the exif data you postedt in the motorola forum. isn't the sharpness somethink like "detail level" which is a feature in some other companies camera apps (Sony, Lenovo etc)?

if we could find out where this setting is (probably in the libs or in some .smali files) set to "soft", we should be able to set this to something like "fine" or "super fine" (just like in some of Sony's camera apps where you can set the detail level in the settings from "soft" to "super fine")
[Moto G General] juanchotazo99:
All I'm trying to do with this is to raise awareness so that our phone receives the same treatment the Moto X 2013 had with its camera. Look, as long as some swat-like black ops team sent by motorola doesn't kidnap me in the middle of my sleep, then I'll keep doing it. I want to install that Android L update when it's ready, I want to open Moto's camera app, take some pictures and say, yeah, they've listened to their customers relentless advice for over a year.

Of course with L there are going to be actual camera apps to play with, RAW pictures to do our own processing and the like, but it's not the point. It's a bonus from that specific upcoming update...

------------------------------------------------------------------------

About the EXIF data. Yeah, all the pictures show the sharpness setting as "soft". Most other brands allow that to be changed. If we could find a way to increase the sharpness a bit, it could be an improvement to the picture quality.. but remember there's that annoying hidden NR step still killing detail, if you check a well taken picture, a macro for example, borders of objects or the like are well defined, not blurred... the loss of sharpness as we know it is coming from somewhere else... and you guessed it, probably this remaining NR we can't do anything about.

But still, have a look what a little touch of extra sharpness does to these pictures:

as taken

sharpened

as taken

sharpened

as taken

sharpened

It could be desirable (pictures 2, 3). For far away foliage which is damaged, that same sharpening filter screws it up (picture 1). We can do this with any image editing program to pictures that could use it, as shown. I showed that EXIF data screenshot there to make a point, why do camera apps have to be as simple and brain dead as possible? What if one wants to fiddle with the settings? Auto, point and shoot isn't always the answer. Yeah, it's a phone, not a camera you could say and I agree, but then have a look at the competition's camera apps. They blow moto's out of the water in manual settings... that's my point.
[Moto G General] Killer.shubham:
Amazing MOD man thanks:good:
[Moto G General] Levered:
Awesome, it's works on my devices..

but some setting has disabled like morpho...

btw good job :fingers-crossed:
[Moto G General] jacklulu:
Download non-root apk doesn't work :(

It says "download has stopped"

Stock 4.4.4

I don't really know what problem could be :(

Any suggestion?
[Moto G General] ogunja:
[MENTION=5775403]GodOfPsychos[/MENTION] Worked on the Xperia Z2 but does videos, missing libs for that.

Se gostou do meu trabalho, clique em thanks.

Xperia Z2 Sensation by Ogunja - D6543
[Moto G General] asdroid:
Thanks, apk for non root works well :good:
[Moto G General] rahulsinha99938:
I deleated it

I have deleated the file in confusion can I get it back I used root explorer.
[Moto G General] jan legein:
Moto X camera focus issue

Hi, this app works fine with the Moto X as well. Thanks!!

I downloaded it because I have focus issues with the stock camera on my moto X, camera seems to be stuck in Macro mode, giving very sharp pictures nearby (20 cm), but not focussing on any object 1m away or farther. Would there be a tweaking solution for this problem? Where to start?
[Moto G General] GodOfPsychos:
in my past (with an Sony Ericsson Arc S 8 mpx camera and cybershot mod) i experienced, that there was a really huge improvement when i set the detail level to super fine. what i noticed about detail level settings from sonys camera apps that it is completely different from editing a manual sharpening filter to the final image (at least for the super fine setting). the super fine setting was almost like that there was no filter applied to the image. so by that the camera captured a photo about what the camera lens was really able to see. the final images also got a lot bigger file size.
[Moto G General] GodOfPsychos:
idk any solution for download problems except trying another browser app or downloader.
[Moto G General] GodOfPsychos:
idk. in some phones there are some tweakable things for focusing problems, color reproduction and so on (for an example the nexus 5). but i am not sure about the Moto X or the Motorola Series in General.

you should ask this in the Moto X forums section from XDA. maybe there are some ppl that are facing the same problem and some other ppl that may know how to fix this.
[Moto G General] jan legein:
The people in the Moto X forum who face that problem have had the phone replaced, but I ordered in through a friend in the States and I live in Belgium... That's how I came across your thread...
[Moto G General] jacklulu:
Solved!! Thanks :):)
[Moto G General] GodOfPsychos:
i googled for this problem and it seems that the only way to get rid of this problem is to get your phone replaced, because it is probably a hardware issue that can't be fixed by software tweaking
[Moto G General] NinJustin:
Thanks for this. It's not magic but any little bit helps with my Moto G Camera.
[Moto G General] spiked_mistborn:
I just tried the build.prop mod on my Moto E xt1023 and the advanced options are available on it also! I'm running stock 4.4.4 and the Camera version is 3.2.54.1. If any camera needs some help, it's the one in the Moto E!
[Moto G General] GodOfPsychos:
glad it helped you. updated the OP with a "Comfirmed Working"-List for a few Moto Devices
[Moto G General] sonygoup:
Works on xto45 nicd
[Moto G General] AshuGite:
this is some nice work by the OP... one's work benefits many...
[Moto G General] CADude:
My little brother loves his Moto G even more now thanks to the APK download!
[Moto G General] tapioco2000:
Thank you for your work!
[Moto G General] martinisok:
Working well on unrooted moto 4g. Is it ok to disable the original camera app?
[Moto G General] jefish:
Yes, should be no problem
[Moto G General] juanchotazo99:
https://forums.motorola.com/posts/e2f2722bfc?commentId=813675#813675

Finally, an answer. So, no mention of the camera app doing this useless NR. Okay.

Well, it seems we'll have to wait for the L update.
[Moto G General] GodOfPsychos:
And if we don't get Android L or a better Camera Quality, i am going to save some money and change from Moto G to OnePlus One. But first, let's wait and see whats going to happen with our Moto G :D
[Moto G General] PRAKASHPANDEY193:
This is something really great man....never thought before something like this without root....really really amazing work mate....
[Moto G General] mbj731:
Good work on unlocking the "lady bug". I played around with stock camera on a custom ROM and had good results.

I've also played around with the stock Moto X 2014 cam on my Moto G. Can also get the "lady bug" mod to work. Pretty much the same options with lots more grayed out options though. One option it does have stock over Moto G is auto HDR mode. I find the colors to be more accurate using the Moto X app. Maybe its just me though.

If you guys want to check it out just Google "Motorola camera apk" and you'll find a few for the Moto X 2014 camera apk. As with anything, I'm not responsible for anything going wrong. Know what you're doing before messing around. :)