[HOWTO][WIP] Enable Camera2 and manual camera settings on Moto X Style/Pure - X Style (Pure) General

*Generic warning about messing with system stuff*
Summary
Thanks to @defcomg and @troopii, we have a working way to enable manual camera functions and .dng raw file capture on our Moto X Pure. This is still a work in progress as you will see.
Steps
Method 1:
1. Enable camera2 api by adding the line persist.camera.HAL3.enabled=1 to the bottom of your build.prop.
2. Reboot
3. Install the modified version of FreeDCam from this thread.
4. Open FreeDCam. It will probably force close.
5. Open FreeDCam again.
6. Explore to see what you can do. On the left of the capture screen is the option to change from jpeg to raw. This will save .dng files that you can edit in Snapseed or other raw editors (including Adobe Lightroom on the PC).
By changing the exposure mode or focus mode off of auto, you can then click on the gear in the lower left of the capture screen and change your shutter speed, iso, and use manual focus. There are a few other things you can change here too.
Edit: method 2 removed because of incompleteness and unknown errors.
Warnings
1. Using method 1 will disable all other camera applications on your device until you revert the build.prop changes. We don't know why yet, but the symptoms are that the preview of other camera apps never start and always show black.
Future Action
Hopefully we aren't done. It would be great to find out what is limiting the full implementation of camera2 on this device. Who knows what tomorrow will bring.
contributors
@defcomg - He made most of the device specific edits, guided me through making edits to my device and testing, figured out how to correctly encode the dng, and is generally awesome. He also doesn't own this device and is helping out of the goodness of his heart. Also figured out the tasker stuff.
@troopii - Main developer of FreeDCam. He made the app and also made some important edits to get this working.
I just tested and wrote the thread so all of you could benefit from their labors. They get all the credit.
Go, have fun modifying your device. Hopefully some devs will want to get involved and get real camera2 support for this device. It's almost there. For details on our progress so far, read here: http://forum.xda-developers.com/mot...ra-comparison-stock-vs-3rd-party-app-t3215603. We hijacked that thread, so please bring all discussion back here.

*reserved*
Sent from my XT1575 using Tapatalk

Todo :
Metadata Extraction
DNG Orientation flag
Optimize Manual Control Activation
New Color Matrix/ Camera Profile - Will Require a Xplay user with Xrite / MacBeth Color Checker
Source Code : Should you wanna make changes
Code:
My Git : https://github.com/defcomk/FreeDcam
Troop: https://github.com/troop/FreeDcam
---------- Post added at 02:04 AM ---------- Previous post was at 01:52 AM ----------
@Bobby060 Do the logcats for the other camera apps will check them later :good:

Any chance we will ever see a port of L Camera from the Nexus devices?

alex94kumar said:
Any chance we will ever see a port of L Camera from the Nexus devices?
Click to expand...
Click to collapse
yes pretty good chance all camera 2 apps will work after some code adjustments i've fowarded L Camera Dev a link to this thread :good:

Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!

alex94kumar said:
Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!
Click to expand...
Click to collapse
also mailed A Better Camera Dev will see what happens

Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?

Dpat09 said:
Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?
Click to expand...
Click to collapse
Done also mailed opencam + proshot lets have a dev party lol:silly:

defcomg said:
Done also mailed opencam + proshot lets have a dev party lol:silly:
Click to expand...
Click to collapse
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do

edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
if you need logs and such @Bobby060 is your guy :good:

defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Haha, yeah. Just don't bet on it being quick. I probably won't get to getting those preview logs until tomorrow. Silly college...
Sent from my XT1575 using Tapatalk

defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app

droider007 said:
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app
Click to expand...
Click to collapse
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .

defcomg said:
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .
Click to expand...
Click to collapse
bummer.....lets see if the workaround works.....
thanks btw!

i will later change the manual modes that they are better useable in freedcam. that means that exposuretime iso and mf get a auto value wich enables/disables ae/focus automatical.
camera2 is full based on the sdk description thats why it is not very userfriendly. but it was important to have it this way to see how it works.
great to see its working ;D
edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
motox has a messed up dngconverter. we did use the one from freedcam for camera1 to workaround that bug.
not sure why the preview is black. maybe it has something todo how the preview gets cropped. freedcam crop it depending on the previewsize and screensize.
had simliar problem when i tryed to get zoom working on nexus5

Awesome guys! Thank you very much!
Its working on my XT1572
Keep up your great work to make it available in all Apps.

Whats the max exposure time you can get on manual mode?

Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
I believe the max we have enabled in the app is 1/5 of a second. The theoretical max is more, I think, so it will probably get better.
Sent from my XT1575 using Tapatalk

Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
from parameters it tells max-exposure-time=657.770600, the question is wich format it has. sec, millisec, microsec, nanosec...

Related

CameraMOD

Modded Camera Hal Lib to remove Motorola capability limitation.
With this lib dng raw capture is enabled
Copy it to System/lib/hw/ set permission rw-r-r
Install the newest freedcam build from here
https://github.com/troop/FreeDcam/releases
Does it have the green tint and camera crashing (in apps besides freed) problem that Bobby's mod did?
Vain III said:
Does it have the green tint and camera crashing (in apps besides freed) problem that Bobby's mod did?
Click to expand...
Click to collapse
Nope this is different It uses camera1 api so regular apps work and no camera 2 bug. No reported bugs by the tester so far.
Doesn't work on ROMs from what it seems. I tired it on RR and Orion and resulted in a bootloop
kidkrooks said:
Doesn't work on ROMs from what it seems. I tired it on RR and Orion and resulted in a bootloop
Click to expand...
Click to collapse
Upload the camera.msm8992.so from those roms if its aosp/ cm based the file might be named camera.vendor or vendor.camera
the only thing i see is a liboemcamera.so . i'll upload it maybe this is it
nothing in my file search is picking up any vendor.camera or camera.vendor
View attachment liboemcamera.so.zip
This is coming from the TURBO ROM btw. idk if there's any difference. sorry im not good at this lol
kidkrooks said:
the only thing i see is a liboemcamera.so . i'll upload it maybe this is it
nothing in my file search is picking up any vendor.camera or camera.vendor
This is coming from the TURBO ROM btw. idk if there's any difference. sorry im not good at this lol
Click to expand...
Click to collapse
Sorry the correct path is /system/lib/hw/ try the lib from OP my bad
This is the one that goes to /system/vendor/lib/ this is supposed to increase maximum exposure time in manual mode to 60sec.
Can probably mod it to add 60fps 1080p recording
Works wonders ! thank you
Cool App!
Sent from my XT1575 using Tapatalk
testing with freedcam
there is more option for camera 1 setting,
but iso/ exposure still no effect after changing, except these
manual focus working wb working fine
ilovemeow said:
testing with freedcam
there is more option for camera 1 setting,
but iso/ exposure still no effect after changing, except these
manual focus working wb working fine
Click to expand...
Click to collapse
You mean manual iso the one you adjust via slider or the other one to the left of the ui?
For Exposure you mean exposure compensation or manual shutter speed ?.
It should be noted the regular iso does not update via live preview unless zsl is activated why I don't know it's a Qualcomm thing .
Sent from my NX503A using XDA Free mobile app
Sadly it didn't work on CM. I tried changing both "camera." and "camera.vendor." but neither file took and the camera apps would just show nothing or crash
Vain III said:
Sadly it didn't work on CM. I tried changing both "camera." and "camera.vendor." but neither file took and the camera apps would just show nothing or crash
Click to expand...
Click to collapse
Attach the camera.vendor file from the cm ROM will patch it
Here you are m8
Vain III said:
Here you are m8
Click to expand...
Click to collapse
Patched extract replace set permission
defcomg said:
Patched extract replace set permission
Click to expand...
Click to collapse
Well, the option is there now but now I can only use the front facing can lol. Raw selfies tho
defcomg said:
You mean manual iso the one you adjust via slider or the other one to the left of the ui?
For Exposure you mean exposure compensation or manual shutter speed ?.
It should be noted the regular iso does not update via live preview unless zsl is activated why I don't know it's a Qualcomm thing .
Sent from my NX503A using XDA Free mobile app
Click to expand...
Click to collapse
thanks for reply and appreciate for your hard work
for both iso setting left and slide bar
and any way to disable bottom menu for a while for testing
exposure time, I meant the shutter speed
Sent from my XT1572 using XDA-Developers mobile app
Vain III said:
Well, the option is there now but now I can only use the front facing can lol. Raw selfies tho
Click to expand...
Click to collapse
Did you replace libmmcamera_mot_imx230.so? Rawfies ftw!
ilovemeow said:
thanks for reply and appreciate for your hard work
for both iso setting left and slide bar
and any way to disable bottom menu for a while for testing
exposure time, I meant the shutter speed
Click to expand...
Click to collapse
Swipe Down to hide the manual bar .
Could you make a logcat while adjusting iso from the left menu the one in the sliders as well as adjusting the exposure time wanna check what's happening

[CAMERA MOD(S)] Tadi's libhacks (Pixel's chromatix exposures, new camera resolutions)

The first:
I really like to thank @shaneel1491 for introducing me to @defcomg and for making some mods by himself :>
At the starting point of this thread, I present you ported autoexposure tables from the Pixel. It won't likely positevely or negatively affect quality of your videos and photos, but it should certainly fix the exposure bugs (inconsistent framerate in Camera 1 API 120 fps mode and exposure flashes on Camera2 API apps, such as Google Camera).
The libs are few, but that's because they are the only chromatix autoexposure libs on Pixel. I plan to release BB KeyOne/Nokia/XZ1 versions likely.
Why the Liteon ones only? If you have such a module as Semco, then inform me here and I may work on it too.
Won't my device go boom? Not likely. I mean, I don't want to help fixing placebo bricks Just reflash your current ROM, that's it.
From what version those libs are? 7.9.7 (xiaomi.eu). If something big gets changed or something will start to work bad, then I likely will fix it one day.
How to even use them? ??? Use your root file manager and replace the current ones with mine in /system/vendor/lib/. Set 0644/rwrr permissions for each file. And better backup the original ones, as I won't download a system dump to send you those ;_;
So it means that they are not flashable? Exactly! I had no time for this currently :>
The current state for capricorn_exposure_7_9_7_pixelised.zip:
- everything works
- Camera2 API apps now go up to ISO 8714 in auto, instead of 6400 (the longest auto exposure time stays the same - 1/17s)
- Snapdragon Camera/MIUI Camera/Snap (LOS default) Camera/Moto Camera - HFR/HSR120 works properly, the framerate does not fluctuate
The current state for caprimods_310817_HFR120prof_all.zip:
- this pack was done for lulz/test
- it forces 1/120s exposure time as the max of every auto mode
- expect very high noise in lowlight
The current state for orig_7_9_7_vendorlibs.zip:
- just the fresh stock libs
- useful, if you are an anti-backup person :~D
The current state for libmmcamera2_mct_4056stall.zip: NEW (15.11.17)
- adds 4056x3040 (full possible res) and 4048x3036 (full possible ideal 4:3) photo resolutions
- wider FOV (field of view) is visible
- does not replace the standard 4000x3000
- Snapdragon Camera and Snap (Lineage-default) may not detect it, needs testing (Qualcomm aimed at their direct resolutions only)
- MIUI camera detects instantly
- some apps may need to be data-cleared to detect
The current state for libmmcamera2_mct_4048and4032img.zip:
- adds 4048x3036 and 4032x2268 photo resolutions
- wider FOV (field of view) is visible
- does not replace the standard 4000x3000 and 3840x2160
- Snapdragon Camera and Snap (Lineage-default) may not detect it, needs testing (Qualcomm aimed at their direct resolutions only)
- MIUI camera detects instantly
- some apps may need to be data-cleared to detect
good job bro !!
@j1505243 Is there a simple way to test if it is working properly? because I have just made a magisk module with your libs but am not sure if it works properly.
Sent from my MI 5s using XDA Labs
jigs4wkiller said:
@j1505243 Is there a simple way to test if it is working properly? because I have just made a magisk module with your libs but am not sure if it works properly.
Sent from my MI 5s using XDA Labs
Click to expand...
Click to collapse
Just as I said, copypaste the files :> I tested them a while after the first post, then I edited everything to clear any doubts. Works properly on my capricorn, xiaomi.eu (based on China Dev) 7.9.7.
j1505243 said:
Just as I said, copypaste the files :> I tested them a while after the first post, then I edited everything to clear any doubts. Works properly on my capricorn, xiaomi.eu (based on China Dev) 7.9.7.
Click to expand...
Click to collapse
Yes I know but I am a big Magisk fan and port for my self every system mod to Magisk so it can be restored after a update or a clean install.
Sent from my MI 5s using XDA Labs
jigs4wkiller said:
Yes I know but I am a big Magisk fan and port for my self every system mod to Magisk so it can be restored after a update or a clean install.
Sent from my MI 5s using XDA Labs
Click to expand...
Click to collapse
Ah, I misunderstood you Test on Google Camera and Snapdragon Camera. Google Camera needs special media profiles, but they are available on LOS Github already.
jigs4wkiller said:
Yes I know but I am a big Magisk fan and port for my self every system mod to Magisk so it can be restored after a update or a clean install.
Click to expand...
Click to collapse
Can you share the module?
Are they flashable zips?
edit: sorry,I didn't see it
Work on lineage?
djixon said:
Work on lineage?
Click to expand...
Click to collapse
Works on everything, but it may be incompatible somehow with some very very old libs, but I think LOS is using some that are not more than month old.
Anyway, I'll realease a max resolution mod. As the default photo input is 4000x3000, video input is 3840x2160, while we can get 4048x3036 and 4032x2268.
Very cool. Could you add stabilization to 4k video?
Work on miui 8 7.7.20?
skytalker09 said:
Very cool. Could you add stabilization to 4k video?
Click to expand...
Click to collapse
I'm doing what defcomg teaches me to do :~D So if he knows, then there's a chance. For now, I'll rather be talking about the things I got to know :>
taylan08 said:
Work on miui 8 7.7.20?
Click to expand...
Click to collapse
Backup and try.
Higher 4:3 and 16:9 photo resolutions added!
4000x3000 -> 4048x3036, 3840x2160 -> 4032x2268
Wider FOV is visible instantly!
j1505243 said:
Higher 4:3 and 16:9 photo resolutions added!
4000x3000 -> 4048x3036, 3840x2160 -> 4032x2268
Wider FOV is visible instantly!
Click to expand...
Click to collapse
Nice! Will this work on Modded GCam?
rhp_engcoy said:
Nice! Will this work on Modded GCam?
Click to expand...
Click to collapse
Yes it works but you have to reapply the resolution in the settings.
Sent from my MI 5s using XDA Labs
Gcam:
Sent from my MI 5s using XDA Labs
jigs4wkiller said:
Yes it works but you have to reapply the resolution in the settings.
Click to expand...
Click to collapse
After applying this mod the front camera rotated upside down?
How to fix this? But the new resolution works. Thanks!
Edit: The problem was just the capricorn_exposure_7_9_7_pixelised. Reverted to stock libs now everything is good.

[GUIDE] Enable Camera2 API & Install Google Camera

Code:
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MIGHT INCUR TO YOUR BELOVED PHONE. DO THIS AT YOUR OWN RISK!
**formalities lul
Requirements:
Root. You can check this rooting tutorial guide by @BubuXP.
Camera2 API Enabler by P1N20. Check @otaconremo's thread here.
Google Camera Ported APK. You can get one from here.
Update: The version @adriakus shared is the least buggy so far. Its front cam works with HDR+. Im using this one.
Steps:
First, root your phone by following the aforementioned guide.
After rooting, you should have Magisk Manager installed in your phone.
Tap on the hamburger icon (three bars icon on the top left of the screen).
Tap Downloads.
Tap on the search icon and type
Code:
Camera2 API Enabler
Tap on the download icon of the result to install the module.
After installing the module, reboot your phone.
Install the Google Camera ported apk downloaded from the link above.
NOTE:
On Arnova's 8.2 Google Cam, sometimes after taking a picture it takes forever to process HDR images.
Front Cam with HDR on force closes when you take a picture.
You can provide feedback here to help other users determine what version works best. :good:
On this version, front and rear camera works fine even with HDR+ ON. Im currently using this one.
CREDS:
@BubuXP
@adriakus
@Arnova8G2
@jashancheema
@topjohnwu
i use google camera mode for front camera with hdr+ not work.
Google Camera version for front camera + Hdr+ ?
phentem said:
i use google camera mode for front camera with hdr+ not work.
Google Camera version for front camera + Hdr+ ?
Click to expand...
Click to collapse
What happens when you use HDR+ on front camera?
Edit: Im on Arnova's v8.2
fake__knv said:
What happens when you use HDR+ on front camera?
Edit: Im on Arnova's v8.2
Click to expand...
Click to collapse
hi,
I have tried several settings using GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk and:
- app stops when switch to front camera
- if not crash immediately, app stops when I tap to take a photo
- only with HDR totally disabled camera shots a photo but it is BW with some stripes
Any suggestions?
Fabio
il_fabio said:
hi,
I have tried several settings using GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk and:
- app stops when switch to front camera
- if not crash immediately, app stops when I tap to take a photo
- only with HDR totally disabled camera shots a photo but it is BW with some stripes
Any suggestions?
Fabio
Click to expand...
Click to collapse
Edit: Nevermind mine wont take front cam pics too with HDR+ on lmao
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Gonna give it a try. :good:
Works perfectly with Camera2 API Enabler by P1N20.
Thanks a lot for sharing ! With HDR on quality seems better !
And Google panorama feature is a must
Thanks for this guide.
I'm currently using Arnova's v8.3b1 Google Cam, and I also noticed that sometimes after taking a picture it takes forever to process HDR images. The front cam with HDR on force closes when you take a picture as well.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
What gcam is it?
ncar123 said:
What gcam is it?
Click to expand...
Click to collapse
This one: https://www.celsoazevedo.com/files/android/google-camera/f/changelog225/ Based on https://www.celsoazevedo.com/files/android/google-camera/f/changelog223/ which I believe is based on BSG or Arnova version.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Thanks for the tip, this one really works better then the Arnova cam!
Tested all photo mods, no crash
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Tried this one. But the portrait mode of the front cam isn't working. It's not capturing anything.
elvinguitar said:
Tried this one. But the portrait mode of the front cam isn't working. It's not capturing anything.
Click to expand...
Click to collapse
It's working for me. But if it's not working, I suggest (,reinstalling or,) trying the one it's based on (check my previous post). And if still buggy, try others posted here. Or go for the arnova ones. They act like regular apps, so you can try and try.
Also, I've noticed they treat the colors in a diferent way. If anyone with time wants to compare the actual pictures, it'll be nice
Could someone that has followed this guide and enabled camera2 API download this app from play store. Camera2 probe https://play.google.com/store/apps/details?id=de.weis.camera2probe
And post your screenshot please
I have not enable camera2 API yet and was curious if that physically changes the hardware level support.
Thanks in advance
hossman said:
Could someone that has followed this guide and enabled camera2 API download this app from play store. Camera2 probe https://play.google.com/store/apps/details?id=de.weis.camera2probe
And post your screenshot please
I have not enable camera2 API yet and was curious if that physically changes the hardware level support.
Thanks in advance
Click to expand...
Click to collapse
Here it is
BubuXP said:
Here it is
Click to expand...
Click to collapse
Much appreciated.
I will be following your guide tomorrow for root and looking forward to to playing with this device. It's good to see a bit of a community starting.
elvinguitar said:
Thanks for this guide.
I'm currently using Arnova's v8.3b1 Google Cam, and I also noticed that sometimes after taking a picture it takes forever to process HDR images. The front cam with HDR on force closes when you take a picture as well.
Click to expand...
Click to collapse
For the front cam, the flash thingy (white screen of death) causes a crash. Disabling it will let you have a front cam that doesnt take pictures lol
@adriakus thanks for the report bruh. Tried the one you shared and front cam works! Updated the post for others. Thanks man!
@fake__knv Thx for the credit! I'll keep trying other versions from now and then and I'll post them here if I find any differences.

Google Câmera Mod GCAM

Google 6.1 camera running on our device.
Link:
https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera_6.1.009.215420794-beta2.apk
[email protected] said:
Google 6.1 camera running on our device.
Link:
https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera_6.1.009.215420794-beta2.apk
Click to expand...
Click to collapse
How satisfied are you with the camera, do you have a recommendation for some settings?
I'm enjoying yes. use the default setting.
Thanks
Google camera port Poco with Night sight
https://www.xda-developers.com/google-camera-night-sight-xiaomi-poco-f1-mi-8/
I had success with GoogleCamera_6.1.021_Potter_v1-san1ty.apk, default settings.
Please post and share link of Motorola One camera apk.
This one is OK for me (Pie).
https://f.celsoazevedo.com/file/gcamera/GCam_Pixel3Mod_1.3_build.6.1.021.apk
It works pretty well.
Not working:
- HDR off
- HDR+ advanced sometimes gives unrealistic colors
- slow motion makes the app crashes
- motion photo works in 16:9 only
- photo sphere seems to break the orientation
Sent from my Motorola One using XDA Labs
[email protected] said:
Google 6.1 camera running on our device.
The same site has a newer, more stable version.
Love the "night mode". Motorola One, Android Pie 9, Feb 2019 security patch.
-
com.google.android.GoogleCameraNext_1.3_build.6.1.021.220943556-45790636_minAPI26(arm64-v8a)(nodpi)_apkmirror.com
Click to expand...
Click to collapse
Hey guys! I'm considering getting this phone for my wife, so I'm wondering if the HAL3 is enabled by default like on Nokia phones (and if yes on what level) or it needs to be enabled via adb?
Sent from my Nokia 8.1 using Tapatalk
Level 3.
pshnd said:
Hey guys! I'm considering getting this phone for my wife, so I'm wondering if the HAL3 is enabled by default like on Nokia phones (and if yes on what level) or it needs to be enabled via adb?
Click to expand...
Click to collapse
You don't need to enable anything: Moto One has the maximum level of hw support for camera2 api.
See attached "Camera2 probe" screenshot.
Sent from my Motorola One using XDA Labs
MotoGix said:
You don't need to enable anything: Moto One has the maximum level of hw support for camera2 api.
Click to expand...
Click to collapse
So it's same as with Nokia. Thanks a lot for the info! [emoji16]
Sent from my Nokia 8.1 using Tapatalk
pshnd said:
So it's same as with Nokia. Thanks a lot for the info! [emoji16]
Click to expand...
Click to collapse
I forgot to mention that time exposure is limited to 1/3s (the Nokia one is up to 4s, I presume).
The lack of optical (or even digital) stabilization, further limits the usable range of time exposure, unless you use a tripod...
Sent from my Motorola One using XDA Labs
deleted
Hi everyone,
Which (stable) version of Google camera can be used on moto one stock pie?
Thanks.
I am currently using this:
https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_Advanced_V1.5.190418.1850.apk
I tried several versions and this one is good enough (the best I have found, in my opinion). Slow motion even works.
Main bugs:
- no Google lens menu
- poor quality audio
- WB not working.
If you decide to go for this one, the first time you'll open it you have to select the shortcut "take a selfie". The following times, you can simply tap the icon, as usual.
Sent from my Motorola One using XDA Labs
Don't Know why , but this apk crashes at start.... Impossible to take a picture...
bilatche said:
Don't Know why , but this apk crashes at start.... Impossible to take a picture...
Click to expand...
Click to collapse
1. delete all app data
2. long press the app icon and select the shortcut "Take a selfie"
3. give all the permissions
Now you are ready to use it.
Sent from my Motorola One using XDA Labs
Any working gcam with touch focus ?

Google Camera for Op7 Pro

Hello everyone, I am creating this thread to provide the stable and beta builds of gcam, to avoid confusion and to keep the forums clean.
Thank you @S4turno(Celso) for hosting, mirroring, translating and sharing all a to z Gcam..
Special Thanks to @Arnova8G2 for all his support and hardwork !!!!
FAQ GOOGLE CAM-
I CAN'T INSTALL X VERSION, WHY?
Make sure you uninstall every other GCam Port on your phone. You can't have two 6.1 gcam versions installed.
HOW DO YOU SWITCH BETWEEN CAMERAS?
https://drive.google.com/file/d/127r0_UNKMNY5MN5OrWYZISEleK8cZj4x/view?usp=drivesdk
HOW DO YOU USE NIGHTSIGHT WITH THE DIFFERENT LENS?
Select the lens in main mode, switch to Night Mode, then double tap the Camera Switch Button.
WHY THE FRONT CAMERA IS 4MP AND BACK CAMERA 12MP ?
Selfie camera uses pixel binning, same as for the main sensor. Since camera2api implementation only delivers a 4MP raw stream (16MP/4 = 4MP because of pixel binning)
GCam can only work with what raw stream the API delivers.
Same goes for back cam.
WHICH GCAM IS THE BEST ?
There is no best gcam. There are stable and beta builds which work fine for daily usage, but not the best. There may be some crashes here and there.
WHICH XML IS THE BEST ?
The xmls provided in the folder whose link is given below are the best at the moment.
HOW TO USE XML ?
A link to Celso Azevedo site is given below which clearly explains how to import and export xmls.
Mod Edit: Link removed
WHY COLOURS ARE DULL ??
Sometimes the settings may not be applied by the xmls, and in 6.2 gcam, you need to manually set saturation levels.
Also changing awb can help.
Use the xml.
Use the settings from the given screenshots for 6.2 gcam.
WHY CAMERA CRASHES ?
Changes in libs may cause crashes, in such a case clear app data.
WHY AUX CAMERAS ARE NOT WORKING ?
You need ROOTED DEVICE for now to use aux cameras.
METHODS TO USE AUX CAMERAS- There are 2 methods:-
1) Setting selinux to permissive by-
1a) Using nfs injector magisk module or renovate ice magisk rom.
1b) Using custom kernels like Kirisakura or Smurf
2) Installing gcam as a system app-
2a(Install any of the 6.1 gcam app as a standard user app by installing the apk as you would normally.
2b)Open the camera app and enable the usual set of permissions (local storage, camera, etc.)
3)Use the magisk module given below
https://drive.google.com/file/d/19lwuT8koKQG3dod9nW2xzVHxWGQR-K3W/view?usp=drivesdk
The link below will provide the Gcams working-!!
THERE ARE 1) XCAM BETA 11
2) GCAM 6.2 WITH XML SUPPORT
3) GCAM 7 BETA
IN THE FOLDERS WHICH THE LINK BELOW PROVIDES !!
https://drive.google.com/folderview?id=1-FAjRY4S5PIBnL2vsf0Fm-pVw3QwOi2s
Another link for xmls-
https://www.celsoazevedo.com/files/android/google-camera/f/oneplus-7-pro/
*These are the stable gcam, everything works perfectly except slow motion, stable for daily usage, also they support auxiliary cameras.
If you want to use aux cameras in
night sight and video mode, use xcam.
TO USE XML ON 6.2, LOAD XML TWICE!!
A quick guide on how to use xmls. -
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
Thanks to @S4turno
Urnyx 6.2 (No XML SUPPORT)(STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam-6.2.030_Arnova8G2_Urnyx05-v2.4.apk
Urnyx 7.2 (No XML Support)(STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.2.010_Urnyx05-v1.3.apk
Star Cam based on Gcam 7 (STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.0.009_StarCam_v1.apk
*For gcam 6.2-
Firstly, after installing apk, go to settings, go to about and enable "Enable Advanced Mode"
*For 6.2 Urnyx gcam-
It is a simplistic mod, not much to edit.
Guide:
- How to use manual controls?
- First of all, you must use HDR+ Enhanced. Then, enable the options in settings to show the sliders (only the 1st time). When you are in viewfinder to take a photo, click on "Pro" button to join the pro mode, where you can see all the sliders. Now, you can set any values you want. At the end, tap on the screen to apply changes (otherwise it won't work)
NOTE-
1) Only this version of 6.2 supports xmls-
https://f.celsoazevedo.com/file/cfiles/gcm1/Gcam_6.2.030_Advanced_V2.2.2beta2.190907.0540.apk
2) Slow motion doesn't work for now.
3) Lens distortion in wide lens.
How to have multiple gcams installed-
https://www.celsoazevedo.com/files/android/how-to-duplicate-clone-apps/
Do your versions support 4k video @ 60fps in normal and also in ultra wide mode?
The version of the other thread can switch to 60fps but actually the video is still recorded at 30
I have a stock 7 pro 12Gb, mine chrashes when i use portraitmode in 6.1
rasik80 said:
Do your versions support 4k video @ 60fps in normal and also in ultra wide mode?
The version of the other thread can switch to 60fps but actually the video is still recorded at 30
Click to expand...
Click to collapse
Hey, yes the 4k 60fps works but only with main cam, 4k works with aux cameras but only on 30fps.
CyberQ said:
I have a stock 7 pro 12Gb, mine chrashes when i use portraitmode in 6.1
Click to expand...
Click to collapse
Are you using the xml from the link ?
Long press doesn't work dor me on 6.1 with vivid xml
krogoth said:
Long press doesn't work dor me on 6.1 with vivid xml
Click to expand...
Click to collapse
I corrected the xmls, thank you...
Still nothing
krogoth said:
Still nothing
Click to expand...
Click to collapse
Are you rooted ??
No
krogoth said:
No
Click to expand...
Click to collapse
That's why
Good luck @Sammmtyagi ! And thanks for your hard work!
Guys...
PLEASE READ ALL WHAT IS WRITTEN IN OP'S INITIAL THREAD BEFORE ASKING QUESTIONS. QUESTIONS THAT DON'T HAVE ANSWERS IN THE FIRST POST WILL BE ADDED . ALSO IT'S AN ONGOING SUBJECT WITH POSSIBILITIES TO CHANGE
Thank you...
Thanks! This works great....running intl version rom on tmobile op7pro with elementalX kernel... Used the desaturated xml, looks good. Also turned down saturation for main back camera as it was still a tad high....its weird because in viewfinder(screen) it looks ok, its only when the photo is processed is where saturation gets boosted....those settings are under "advanced" " highlight saturation" 1.3 and for "highlight shadows" 1.1 .....for anyone that wants to know. Also turned up jpeg quality to 100
Maybe this is a stupid question, but where is the apk file located initially?
Sent from my GM1915 using Tapatalk
Sammmtyagi said:
Are you using the xml from the link ?
Click to expand...
Click to collapse
I uninstalled and removed xml, reinstalled and now i works!
Thanks
ledvedder said:
Maybe this is a stupid question, but where is the apk file located initially?
Sent from my GM1915 using Tapatalk
Click to expand...
Click to collapse
Check the second post, it's clearly available..
SAO said:
Good luck @Sammmtyagi ! And thanks for your hard work!
Guys...
PLEASE READ ALL WHAT IS WRITTEN IN OP'S INITIAL THREAD BEFORE ASKING QUESTIONS. QUESTIONS THAT DON'T HAVE ANSWERS IN THE FIRST POST WILL BE ADDED . ALSO IT'S AN ONGOING SUBJECT WITH POSSIBILITIES TO CHANGE
Thank you...
Click to expand...
Click to collapse
Thank you brother, your tests also helped me, making the thread..
????
I've noticed in 6.1 that motion photos don't work and portrait mode crashes in the selfie camera. Aside from that, this is the best gcam I've used so far!
Sammmtyagi said:
Check the second post, it's clearly available..
Click to expand...
Click to collapse
Sorry, I probably should have made my question more clear. I have the app installed. But where can I find it in my phone's directory to move it to /system/priv-app, in order to get aux camera working?
Sent from my GM1915 using Tapatalk

Categories

Resources