yashsingh1/xdaforums huggingface dataset:
[Moto G General] Danilo-Sanchez:
Someone sent me the apk file of camera from Moto G 3rd Gen and it has night mode. Can you mod this apk? I tried to install it, but I can't because of conflict with stock camera app.

---------- Post added at 12:53 PM ---------- Previous post was at 12:51 PM ----------

This modded apk was created by [MENTION=4413273]S0bes[/MENTION]
[Moto G General] S0bes:
The right one would have package name com.nomotorola.camera instead of com.motorola.camera. I won't change the name.

---------- Post added at 02:18 PM ---------- Previous post was at 02:14 PM ----------

I don't know what night mode is so how can I enable it without even knowing what is this.

If you guys don't know gallery and camera are the same for all moto devices. There no need to share apk from 3d gen or X play just tell me what the f*uck night mode is. Screenshots would be helpfull

P.s

I guess I should start a new thread for modded camera and gallery app..
[Moto G General] Danilo-Sanchez:
Here: https://www.youtube.com/watch?v=mgRXDgvEb8I

and here: http://www.androidcentral.com/moto-g-2015-camera-tips-and-tricks

Edit: Maybe it's another version that didn't hit Play Store, because the size didn't match.
[Moto G General] S0bes:
I just decompiled the current camera app and there's the night mode option. I'll try to unveil it for moto G

upd

with no success
[Moto G General] Danilo-Sanchez:
:( that's sad. But thank you for trying ;)
[Moto G General] S0bes:
Anyway share the apk file from 3d gen please, may be you're right and camera versions are different
[Moto G General] Danilo-Sanchez:
https://drive.google.com/file/d/0B1UFkhe4TVpKMWx0ZllUTWVnbGM/view?usp=sharing
[Moto G General] sunnycheeba:
S0bes apk from page 45 works on my stock (never rooted) 2013 Moto X. The barcode/QR scan works well and there are many new settings for me to experiment with. Some "Feature Settings" are unfortunately greyed-out. thanks for all of the extra options.
[Moto G General] S0bes:
Hey, guys, to be updated follow this thread: http://xdaforums.com/moto-g/themes-apps/app-camera-galery-t3216944
[Moto G General] ReOmbra:
-- don't want ruin the new topic -- :D

Thank you so much for your work. Only one suggest.. If possible Can you add a simple sign for distinguish the name of your mod app to the stock app for our non root user?
[Moto G General] STR4NG3R-GUY:
..

I cant see a big difference
[Moto G General] xxmarsubxx:
Cool

Enviado de meu Moto G usando Tapatalk
[Moto G General] Benholder90:
Has anyone been able to use this for lg g3?
[Moto G General] Fupri:
I use ProShot & Camera FV-5, they're great.
[Moto G General] SyluxEdge:
Please halp with MOTO E second generation 4G LTE

I'm new to this forum and i'm not anything like a developer but could someone confirm to me if this mod works with moto E second generation 4G LTE please, thanks to anyone that confirms this to me
[Moto G General] Nioleu:
Screen cast 5.1

How to turn on screen cast on Lollipop 5.1? I tried adding the new line in build.prop, but it doesn't work.
[Moto G General] MeltingSnowman:
Is available somewhere the newest apk with advanced options (ladybug) unlocked? Also is possible to enable more feature in the modded apk? Thanks

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G General] kraatus90:
http://xdaforums.com/moto-g/themes-apps/app-camera-galery-t3216944
[Moto G General] MeltingSnowman:
Thanks for the quick answer (:

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G General] abd8030:
Never thought that I will get the slow motion back to my Moto G

Works fine on xt1032 stock 5.1

Nice OP ???
[Moto G General] AB__CD:
What about the other settings like MCE and Luma adaptation? Also, why is so much grayed out on my Moto X 2014?
[Moto G General] Slickone_:
Will this not work with the 1st gen Moto G? It's not listed in the OP.

I just want to at least turn off Wavelet NR, to try to make the pictures a little better (which are terrible).
[Moto G General] somelk9:
Last night I changed my build prop file as instructed on my TEXT NOW Moto E xt2016. Oops! It wouldn't reboot what so ever. This phone came BL unlocked and rooted with Busybox installed. But no recovery to speak of. I did a hard reset and then had to install the stock Boost rom. Its not the same as Text Now. Network shows as Chameleon. And call quality stinks now. wont reconize the sim and have to run on wi-fi. Boy did I mess up. So heads up if you have a text now phone. And can someone help me get TWRP off it and make it look like a system error for warranty?:confused:
[Moto G General] Danilo-Sanchez:
Try to flash stock rom via fastboot.
[Moto G General] AmolAmrit:
Hey , why does I can't select storage in marshmallow roms?
[Moto G General] somelk9:
Status update on my moto e. Text Now has sent me there official rom and I didnt have to hide TWRP from them. Turns out there rom is set up for VOIP and Boost roms wont work with there service.
[Moto G General] h473rj:
works for me to on stock 5.1 but.... after taking photo camera exit to screen;)
[Moto G General] samarskyrider:
Did anyone manage to change build.prop on Moto X2 XT1095 running Marshmallow (Android 6.0)? I've followed the instructions, but I don't see any ladybug
[Moto G General] varefaz:
Don t work for me. I have moto x play with android 6.0.1
[Moto G General] Cristian_Sayago:
Works on any "Moto" device series

Working on Moto X (2013). I tried it for myself last year and works perfectly!
[Moto G General] malowz:
Tried in my moto x 2014 with android 6.0 and no luck. wen i was using android 4.4.4 worked great.

Anyone managed to work on android 6?
[Moto G General] Guth13:
Edit build.prop "release" to "test" will influence where more for the system ??
[Moto G General] kos25k:
me.on moto x play 6.0.1

Στάλθηκε από το XT1562 μου χρησιμοποιώντας Tapatalk
[Moto G General] Zantetsuken1983:
This actually works

Photos are definitely better. Not by a large margin but yeah noticeable. I was gonna sell this phone because of the horrible low light and noisy photos. I also own a note 4 and side by side the note 4 outclasses it. The moto x 2nd gen camera isn't bad or terrible. Its just average and I found overexposure and inaccurate colors(red tint) to be my biggest concerns. Especially noise. But under good conditions its a great camera..under good conditions. But with this my low light photos with flash are more palatable so I'll keep my mint bamboo back moto x 2nd gen
[Moto G General] Chaninoza:
How? I changed release with test, rebooted and nothing changed
[Moto G General] Kwen:
Same here, changed realease-key to test and no ladybuy
[Moto G General] dovahkiin4756:
The build.prop trick doesn't work anymore. This thread is from 2014.

EDIT: I was able to get QR code reading and advanced settings by replacing the camera APK on the system directory with this one from this thread. And setting the correct permissions (644) after that.
[Moto G General] RAJ4Q7:
I installed this on my moto g4plus but some settings are disabled (grayed out can't change) like slow motion fps override for example. Is it because my phone is not rooted? And What I want is to shoot video at 60fps for more smoothness.
[Moto G General] K@m¡k@zE_S¡D:
I did it on Moto X 2013 with stock camera app version 5.1.13.12 but the ladybug icon is not showing. Any way I can get it. I changed the build.prop and restarted phone as mentioned on OP.
[Moto G General] manohar3787:
does any one know if a better camera app is available than the stock one for the moto g
[Moto G General] koshikas:
i wouldnt say it is better than the stock app, but ive had good use of OpenCamera
[Moto G General] jututt:
Sorry for necroposting, I was looking for lowering jpeg quality from default 97 to about 93, in order to get smaller file size with no noticeable picture degradation.

Also noticed that for videos doing a 1280x720 or the lower setting produces the same huge file size, so it uses the same bitrate for both resolutions.

I tried to disassemble the app and look for jpeg quality and video bitrate, but no luck, any help?
[Moto G General] OldOats42:
Moto G4 Play disappointment.

>This doesn't do much on a Moto G4 Play. The curved bar pops in from the left

>and there is a gallery option. BUT, there is no Ladybug to tap on. Thoughts?

I was looking in the wrong place for the ladybug, Yep, she was there and lots

of the stuff worked. Yeah! There were some greyed out stuff., but a lot was very

technical, so I don't mind. Keep up the great work!
[Moto G General] OldOats42:
HowTO access the SD Card?

The app is saving pics to the on board memory not to external card I have inserted.

The little "chip" on the menu is greyed out. Is there a way to get access to the SD Card?

Thanks!
[Moto G General] kos25k:
maybe try this https://xdaforums.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690
[Moto G General] OldOats42:
Thanks... the new app works great and allows changing the default save location.
[Moto G General] Strmy:
Im on lineage 14,1 android 7,1,1, and theres no ladybug on the newest app, doesent even look like in your ss.ses. Any thoughts?
[Moto G General] efgowacki:
Works on moto x force 2015 (xt 1580) android 6.0 stock
[Moto G General] cotterhier:
Works on my Moto G5
[Moto G General] ilanor:
Moto E4 MetroPCS Edition

Hello. I can confirm this MOD works with Moto E4 MetroPCS edition, bone stock. Thank you so much. The stock Moto Camera that comes with 7.1.1 has zero useful settings. Once again, thanks!
[Moto G General] jututt:
I want to reduce JPEG quality for pictures taken with stock camera MotCamera.apk from stock 95 to 92.

I changed /system/etc/mediaprofiles.xml relevant values, it worked for video bitrate, but not for image compression.

I also tried adding this line to build.prop

ro.media.enc.jpeg.quality=92

still no luck.

Any ideas on how to set Jpeg image quality to 92?
[Moto G General] KidoLMGP:
"ro.build.tags=test-keys"

What else does this code enables? It's just for the camera?
[Moto G General] GodOfPsychos:
have a look at this post to see the changes. don't really understand about what you are afraid of. you can change these settings by any time. it's not a permanent thing you have to stick with your whole life. there are just "on" and "off" toggles.
[Moto G General] 2hipso:
after that, you will have enabled more settings in camera app (you will have little bug icon as on the picture in first post). After you tap on bug, there are these settings (noise reduction etc.) ... try it yourself, if you don't like it you can took this changes back
[Moto G General] juanchotazo99:
The image quality improvements in most cases are HUGE. You don't lose anything from changing three simple toggles in your phone's camera app. You won't damage anything.

It's just easier to unlock bootloader + rooting, then installing xposed + installing [MENTION=4413273]S0bes[/MENTION] xposed module. That way you don't mess with build.prop.. and well, xposed is awesome, that's all the stock rom needs to become the best custom ROM this phone could ever use.
[Moto G General] GodOfPsychos:
I edited the OP with recommended settings based on [MENTION=5257483]juanchotazo99[/MENTION] camera tests.
[Moto G General] funniba:
Three?

Three toggles? I only get two: 1.QC Denoise and 2.QC Tintless. If the third is Morpho Denoise, that option is greyed out in my device..
[Moto G General] juanchotazo99:
Check OP, you're using the wrong moto camera app.

The one available for download in the OP has the three toggles selectable.

https://www.androidfilehost.com/?fid=23622183712475521

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

I've been pouring lots and lots of information in the official moto camera quality thread under the name JohnRambo. No official response so far.

https://forums.motorola.com/posts/e2f2722bfc?commentId=808803#808803

https://forums.motorola.com/posts/e2f2722bfc?commentId=809381#809381

https://forums.motorola.com/posts/e2f2722bfc?commentId=809421#809421

https://forums.motorola.com/posts/e2f2722bfc?commentId=809547#809547

Well, I hope they don't take their sweet time.
[Moto G General] GodOfPsychos:
damn nice work :D maybe you could mention one more thing, that there are differences in features that are available on play store version like the "dual video encoding", "image stabilization" etc. which the pre-installed version is missing completely
[Moto G General] OldYellowBricks:
On cm11 based CrDroid build 18 with xperience kernel.https://docs.google.com/file/d/0B2hPa8Ooe2u2ZUl2VWgtVW02a2M/edit?usp=docslist_api image attached

Flashed the one in OP.
[Moto G General] xtrover:
OMG...i just made a proof my moto g with this mod against my wife moto g stock cam, same capture and you really note the difference...thanks for all your hard work!!!!!

Enviado desde mi f@|¢0π usando Tapatalk 2
[Moto G General] Monsieur_Bond:
Does it require root?
[Moto G General] woozie.2007:
I turned off all 3 options, the pictures is better sure, but sometimes when i make a picture, not save the pic and remains blocked untill reopen the app. I dont know why…
[Moto G General] evo07:
Does camera apk from 4.4.4 will work at 4.4.2 stock?

Wysłane z mojego XT1032
[Moto G General] lost101:
It should.
[Moto G General] evo07:
Ok thank you 4 fast reply i will try

Wysłane z mojego XT1032
[Moto G General] lost101:
Root is required until Motorola updates the app with advanced settings accessible or a custom app is built.

---------- Post added at 09:59 AM ---------- Previous post was at 09:50 AM ----------

The problem is related to your ROM. Are you running a custom ROM or Stock?
[Moto G General] evo07:
Without wipe

emergency mode

But after wiping cache

some options are grayed.

Wysłane z mojego XT1032
[Moto G General] woozie.2007:
Stock rooted, thanks
[Moto G General] lost101:
Try this zip which includes lib files:

<removed>​

I've not seen this happen and no-one else has reported it. Something is wrong with your ROM and / or Camera app.

---------- Post added at 12:18 PM ---------- Previous post was at 12:00 PM ----------

It would be useful to have a complete list of all system files related to camera: (here is everything with *cam* in it's name):

\system\bin\mm-qcamera-app

\system\bin\mm-qcamera-daemon

\system\etc\permissions\android.hardware.camera.flash-autofocus.xml

\system\etc\permissions\android.hardware.camera.front.xml

\system\etc\permissions\com.motorola.camera.xml

\system\etc\updatecmds\com.motorola.camera.updatecmds.txt

\system\lib\libcameraservice.so

\system\lib\libcamera_client.so

\system\lib\libcamera_metadata.so

\system\lib\libmm-qcamera.so

\system\lib\libmmcamera_ar0543.so

\system\lib\libmmcamera_interface.so

\system\lib\hw\camera.msm8226.so

\system\media\audio\ui\camera_click.ogg

\system\media\audio\ui\camera_focus.ogg

\system\priv-app\MotCamera.apk

\system\priv-app\MotCamera.odex

\system\vendor\lib\lib-imscamera.so

\system\vendor\lib\libmmcamera2_c2d_module.so

\system\vendor\lib\libmmcamera2_cpp_module.so

\system\vendor\lib\libmmcamera2_iface_modules.so

\system\vendor\lib\libmmcamera2_imglib_modules.so

\system\vendor\lib\libmmcamera2_isp_modules.so

\system\vendor\lib\libmmcamera2_pproc_modules.so

\system\vendor\lib\libmmcamera2_sensor_modules.so

\system\vendor\lib\libmmcamera2_stats_algorithm.so

\system\vendor\lib\libmmcamera2_stats_modules.so

\system\vendor\lib\libmmcamera2_vpe_module.so

\system\vendor\lib\libmmcamera2_wnr_module.so

\system\vendor\lib\libmmcamera_ar0261.so

\system\vendor\lib\libmmcamera_faceproc.so

\system\vendor\lib\libmmcamera_hdr_gb_lib.so

\system\vendor\lib\libmmcamera_hdr_lib.so

\system\vendor\lib\libmmcamera_imglib.so

\system\vendor\lib\libmmcamera_imx132.so

\system\vendor\lib\libmmcamera_imx132_eeprom.so

\system\vendor\lib\libmmcamera_imx135.so

\system\vendor\lib\libmmcamera_imx179.so

\system\vendor\lib\libmmcamera_mt9m114.so

\system\vendor\lib\libmmcamera_ov10820.so

\system\vendor\lib\libmmcamera_tintless_algo.so

\system\vendor\lib\libmmcamera_tintless_bg_pca_algo.so

\system\vendor\lib\libmmcamera_tuning.so

\system\vendor\lib\libmmcamera_wavelet_lib.so

\system\vendor\lib\liboemcamera.so

With all the required files, it might be possible to port the Camera from Moto G (2nd Gen) or Moto X with functional advanced settings.

[MENTION=5775403]GodOfPsychos[/MENTION] - /data/data/com.motorola.camera/shared_prefs/com.motorola.camera_config.xml can be edited without reboot, to enable / disable options. com.motorola.camera_preferences.xml is also present.
[Moto G General] woozie.2007:
Thanks for you replay, but everythings are untouched, except the kernel, i have aerokernel, anyway the error appear sometime, not always, maybe appear on the other phones, but not write it yet.
[Moto G General] lost101:
Your problem is probably being caused by AeroKernel. Faux kernel has an issue with certain kernel settings which cause the camera to freeze. If you are using a utility to configure AeroKernel try resetting to default or check it's thread for known issues. Alternatively flash stock kernel and modules.

I personally use Faux Kernel and camera (with NR off) works fine.
[Moto G General] woozie.2007:
I dont use any control app for kernel, im happy how it works default
[Moto G General] evo07:
after flash this i have reboot after open camera...

how to revert back to stock camera from 4.4.2?

https://www.androidfilehost.com/?fid=23622183712475521 this one not resolve the reboot problem.
[Moto G General] jeropiga:
When I open the root folder there's nothing in there, what am I doing wrong? I have root
[Moto G General] lost101:
I'm sorry, I should have said this was all highly experimental and if it went wrong you might have to do a complete Android re-install. Right now you have some 4.4.4 files which need to be replaced with 4.4.2 versions. I will try to help you fix this by PM.
[Moto G General] evo07:
Ok no problem thx man

Wysłane z mojego XT1032
[Moto G General] jeropiga:
anyone?
[Moto G General] Ja_som:
Can you share screenshot?

Sent from my tablet./Odoslané z môjho tabletu.
[Moto G General] GodOfPsychos:
Edit: it should be related to kernel. i am using faux kernel 014m with fauxclock. the camera freezes rarely to me though
[Moto G General] GodOfPsychos:
[MENTION=1006674]lost101[/MENTION] thanks for telling me the possibility to edit the xml files within the shared_prefs folder. i already knew that folder before but never thought that the new options would appear after this little mod/tweak :D i am looking into it reight now

Edit: Sadly enabling some optins by by using this method doesn't affect anything, because when the options are greyed out they just remain disabled while the toggle is set to on. i think it has something to do with the strings.xml and public.xml files which you can only edit if you decompiled the app.

read my previus post about that here

in the public.xml and strings.xml files are also some many lines that are related to the hidden settings. but instead of an simple "true" or "false" value they are like "pref_video_dual_encode_support=0xd700090p"

and i just don't know what to do with "0xd700090p" or other values like that
[Moto G General] RepoX_RAY:
Please, could you tell me if these zips require to have the Moto G rooted or not?

Thanks,

RepoX
[Moto G General] S0bes:
Numbers like 0xd700090d are just ids. Forget about them. Usually cool things related with .smali files.

Btw, try to make a picture and may be some settings will unlock after that.

---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------

This zips require custom recovery
[Moto G General] GodOfPsychos:
looking in to the .smali files again right now... and somehow confused about what motorola thinks we are xD (i know it means something different but still funny to me)
[Moto G General] AluKed:
Thank you, GodOfPsychos! Amazing job, dude.

I took the liberty of analyzing the samples posted and noticed a couple of things.

First one is that, weirdly, the red channel is the worst performer of the bunch. Why is that weird? Because CMOS sensors are usually fairly sensitive in that part of the spectrum - they're crap at the blue end of the spectrum. Having a noisy blue channel isn't much of a problem because blue is mostly used to create shadow detail (due to a particularity of how the human eye works, we notice blue more as light intensity decreases), and no one expects great shadow rendering from phone cameras. Also, it's easy to deal with any objectionable blue noise - just apply heavy NR to the shadows and don't touch anything else. That's how Apple does it.

The red channel, on the other hand, is a major part of how we perceive chrominance (color) and is also a fairly big part of the luminance. So yeah, having a noise red channel is... doubly bad. That's way colors look so awful when the NR is active. Having a noisy red channel also means you'll have noisy luma - what isn't really visible in the images - and the reason is the second thing.

The second thing is - there is surely a previous NR step - a luma NR step - before the one that was disabled. The images show clear signs of high-frequency detail smearing that can't be chalked to bad optics alone. It's baffling because luma noise is mostly benign in moderate amounts and at usual viewing sizes (e.g. not pixel-peeping).
[Moto G General] juanchotazo99:
There is probably a previous NR step being applied, presumably in-sensor. I posted this to the official moto G camera quality thread

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

Anandtech's Moto G review, page 6

If we check what's available for the AR0542 there's this PDF:

If that in-sensor filtering is done by software, then that can be tweaked. It would require cooperation between Motorola and Aptina/ONsemi, but it can be done. If it's fixed function hardware based, then it's as far as we can go. The sensor itself can resolve fine detail without much problems, have a look at this ARS $100 bill. These are with noise reduction settings off. Not too sharp but the detail is there.

Picture 1, close white LED lamp light

Picture 2, close white LED lamp light

Picture 3, phone flash

The problem is with things that are far away from the lens, and I believe it might be an issue with what the lens itself can resolve at a distance, this smearing we see with foliage and plants, or fine detail at a distance. That would be a physical limitation of the camera module and again, that would be as far as we can go with this. But then noise reduction can do that as we've seen in this entire thread, so I can't speculate any further.

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

I'm posting your analysis to the official thread so moto's "engineers" can have some direction on what's going on. There's no denying that moto's choice on the camera module used was a very bad one. Not much to complain considering the cost of the phone, but you can't be excused if you're not doing the software part of the deal the right way.

Now, motorola promised improved sharpness and quality in the next update, "but it'll take time because what needs to be improved is beyond the camera app capabilities". Apart from this blatant lie about the camera app [MENTION=5775403]GodOfPsychos[/MENTION] has discovered, they could be referring to tweaking that part of the pipeline, that previous, "hidden" NR step.

EDIT: Here you go.

https://forums.motorola.com/comment/810521

Still no response from a moto representative.
[Moto G General] GodOfPsychos:
and again after decompiling and looking in to the camera app's .smali files: i just don't get it how to get those greyed out and invisible features available. Guess we need some .smali modding experts or someone like that.
[Moto G General] S0bes:
what dirmware do you use?

I looked into motocamera and there is not method which enables this features separately. You can enable or disable advanced settings. But available features I think depends on libs.