Enable the 5 cams at OpenCamera including 108Mpx mode - Xiaomi Mi Note 10 Guides, News, & Discussion

Step by Step guide to enable the 5 cams using OpenCamara (probably can be extended for Gcam too)
1.- You need a unlocked Note 10
2.- Install TWRP-3.3.1-0709-XIAOMI_CC9-CN-wzsx150-fastboot or the last one
3.- Install Magix & The App Root Esentials for example
4.- Edit the file build.prop using for example Root Esentials
Edit this line :
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.xiaomi.runin,com.xiaomi.cameratest,com.xiaomi.factory.mmi,com.android.camera,org.lineageos.snap,net.sourceforge.opencamera,troop.com.freedcam
and add this one:
camera.aux.packagelist=net.sourceforge.opencamera
5.- reboot
6.- Install Android Studio or similar to edit the source code for opencamera
7.- Create the project from the opencamera git
https://sourceforge.net/p/opencamera/code/ci/master/tree/
8.- Edit the file MainActivity.java and fix the other cameras in this function
public void clickedSwitchCamera(View view) {
......
int cameraId = getNextCameraId();
if(cameraId==6)
cameraId=7;
if(cameraId==8)
cameraId=9;
if(cameraId==10)
cameraId=11;
if(cameraId==11)
cameraId=12;
if(cameraId==12)
cameraId=13;
( there are 14 cameras found, but some fail)
9.- Install the OpenCamera from AndroidStudio
To enable the 108Mpx mode keep reading the thread.

hi I'm trying to import that link via vcs and git, but it tells me that the link was not found, what should I import on android studio?

djisma86 said:
hi I'm trying to import that link via vcs and git, but it tells me that the link was not found, what should I import on android studio?
Click to expand...
Click to collapse
In android studio Go to
File > New > Project from version control > Git >
Type:
Code:
https://git.code.sf.net/p/opencamera/code
Test and should go Green > then it will take a while to import all the needed sources

And now with the 108Mpx Mode too!!!!
Finally was able to make the 108Mpx mode to work with OpenCamera too!
You need to edit the following files in the OpenCamera Source Code:
1.- build.gradle > to enable a bigger api level at least 26 sdk version
Code:
defaultConfig {
applicationId "net.sourceforge.opencamera"
minSdkVersion 26
targetSdkVersion 28
renderscriptTargetApi 26
2.- Edit the file net\sourceforge\opencamera\cameracontroller\CameraController2.java
to override the streaming info for the new resolutions
this is code is around line 2017 of the file
Code:
StreamConfigurationMap configs;
try {
configs =CameraStreamConfigurations.getCustomStreamConfigurationMap(characteristics); // New to enable the 108Mpx mode to show
// Updated for 108Mpx older was
//configs = characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP);
}
3.- Add a new java file with the overriding code ( based on code found at https://gist.github.com/lgyjg/07fdc8146f1d472a0941dcd0e470c93d
You need to create a new file named CameraStreamConfigurations.java at
net\sourceforge\opencamera\cameracontroller\CameraStreamConfigurations.java
with the following code:
Code:
package net.sourceforge.opencamera.cameracontroller;
import android.annotation.SuppressLint;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.params.StreamConfigurationMap;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
public class CameraStreamConfigurations {
@SuppressLint("PrivateApi")
public static StreamConfigurationMap getCustomStreamConfigurationMap(CameraCharacteristics cameraCharacteristics) {
try {
Class<?> streamConfigurationArrayClazz = Class.forName("[Landroid.hardware.camera2.params.StreamConfiguration;");
Class<?> cameraCharacteristicsKeyClazz = Class.forName("android.hardware.camera2.CameraCharacteristics$Key");
Class<?>[] params = {String.class, Class.class};
Object[] values = {"xiaomi.scaler.availableStreamConfigurations", streamConfigurationArrayClazz};
Constructor<?> constructor = cameraCharacteristicsKeyClazz.getDeclaredConstructor(params);
CameraCharacteristics.Key<?> MI_SCALER_AVAILABLE_STREAM_CONFIGURATIONS = (CameraCharacteristics.Key<?>) constructor.newInstance(values);
Object configurations = cameraCharacteristics.get(MI_SCALER_AVAILABLE_STREAM_CONFIGURATIONS);
boolean listHighResolution = true;
Object[] streamConfigurationMapValues = {
configurations,
cameraCharacteristics.get(getFiled("SCALER_AVAILABLE_MIN_FRAME_DURATIONS")),
cameraCharacteristics.get(getFiled("SCALER_AVAILABLE_STALL_DURATIONS")),
cameraCharacteristics.get(getFiled("DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS")),
cameraCharacteristics.get(getFiled("DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS")),
cameraCharacteristics.get(getFiled("DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS")),
cameraCharacteristics.get(getFiled("CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS")),
cameraCharacteristics.get(getFiled("SCALER_AVAILABLE_INPUT_OUTPUT_FORMATS_MAP")),
listHighResolution
};
Constructor<?> streamConfigurationMapConstructor = android.hardware.camera2.params.StreamConfigurationMap.class.getConstructors()[0];
StreamConfigurationMap mStreamConfigurationMap = (StreamConfigurationMap) streamConfigurationMapConstructor.newInstance(streamConfigurationMapValues);
return mStreamConfigurationMap;
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InstantiationException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
return null;
}
static CameraCharacteristics.Key<Object> getFiled(String filed) {
CameraCharacteristics.Key<Object> result = null;
try {
Field f = CameraCharacteristics.class.getField(filed);
result = (CameraCharacteristics.Key<Object>) f.get(null);
} catch (NoSuchFieldException | IllegalAccessException e) {
e.printStackTrace();
}
return result;
}
}

Hi @TF1920
I just modded open camera as per your excellent instructions above and at first glance, 108mp jpeg works fine! Well done lol.
I can confirm that with your original camera-id shifting code, my open camera on EU rom crashes at camera 8->9 so I've limited the max camera ID to 5 on mine.
As you said, RAW doesn't work and on mine, if RAW is enabled, neither does jpeg. The camera only works when only jpeg is enabled. If you do choose RAW, there's a long delay where the photo canvas freezes and eventually it frees up.
I'll get some samples later.
---------- Post added at 11:30 AM ---------- Previous post was at 11:28 AM ----------
Oh, yes I forgot. Each time I install a new version of open camera, it defaults back to camera.api from camera2 and you can't get the high res photos.
It threw me for short while lol.

Hi Again
I just had a play with RAW mode turned on and tried it with all lenses. I tried them all with Storage Access Framework on and off and this made no difference to the results.
Raw ON
======
camera 0 - 108mp
Makes click sound then screen freezes for 60 seconds.
No jpeg or raw saved.
Video and camera switch icons missing. Choose Settings/About/Back and icons reappaer
Camera 1 - selfie
Toast Message: "Failed to save RAW photo"
Save jpeg and DNG but jpeg distorted and DNG is 0 bytes
Camera 2 - 2x zoom
No RAW text on screen (below ISO text).
jpeg saved OK, no RAW saved
Camera 3 - UltraWide
jpeg and RAW both saved OK
Camera 4 - Macro
jpeg and RAW both saved OK
Camera 5 - 5x zoom
No RAW text on screen (below ISO text).
jpeg saved ok, no RAW saved.
Cheers
Steve

Good tests Steve, you can debug where raw fails in androidstudio , if you plug and build opencamera and run it from the play button of androidstuido without unplugin it take a look at the debug infor at the Logcat view, then try what fails and report possible errors there, I will keep looking too, also I am not sure of the quality at 108Mpx with OpenCam vs Stock need more tests., all the other stuff works well at 108Mpx with Jpg.
I my first test at 108Mpx the quality is similar as stock as long as you manual focus, easy with the 10X digital zoom with opencam once you focus go back to 0x zoom to avoid loss

Hi thanks for the tip. I'm still poking around Android Studio to get a feel for it. What I really need to do is build my own app from scratch. I'll give your suggestion a go in the next few days.
I'm intending to go out and get a few sample jpegs/raw with open camera and stock for comparison and will post them up but for some reason it's raining pretty much constantly here. I wonder why? Oh, yes I live in the UK.
I had a play with the stock cam to compare RAW support with open cam and got the following:
UltraWide - RAW
Wide 27MP - RAW
Macro RAW
Wide 108mp No RAW
TELE 2x No RAW
Tele 5x No RAW

Hi
I've taken a bunch of photos using opencam and stockcam, including RAW when possible and posted here:
https://forum.xda-developers.com/mi-note-10/help/sample-photos-original-resolution-t4013951#post81263619

Thanks Steve, I still see a bit more resolution in the stock 108Mpx vs the OpenCam, maybe a bit more sharpen due to some post process or other things may need further research, I am testing the unlimited repeats of opencam and works quite well made 4200 108Mpx picts 80Gbs total of 20Mb each at 100% jpg in about 1,5h

Anyone who has modified the apk and the build.prop could pass it? I have tried it several times and I am not able.
Thank you

any sample of shots on gcam at 108mpx?
Raw if possible

In LOS 16 all 5 cameras are enabled by default with Open Camera.

iSonik said:
In LOS 16 all 5 cameras are enabled by default with Open Camera.
Click to expand...
Click to collapse
And LineageOS 16 enable raw for 108 Mpx? can you post link to the rom please

Hi everyone,
I have created Open Camera MOD for Xiaomi Note 10 based on latest OpenCamera GIT code, that DOES NOT REQUIRE ROOT OR CUSTOM RECOVERY to be able to use all 5 rear cameras. Note that 108MP code patch is not included since its breaking Camera 2 API switch in preferences and making camera app to crash when you try to switch to Camera 2 API.
How I did it?
I have refactored Open Camera app in Android studio. Using this guide https://stackoverflow.com/questions/16804093/rename-package-in-android-studio + some simple "replace in files" for leftover references to old package name. During refactoring I have changed package name from "net.sourceforge.opencamera" to "org.codeaurora.snapcam" since that one is white listed to use AUX cameras in build.prop without any changes required. I have also changed labels for cameras so instead showing ID1, ID2, etc... Every camera have now proper name.
I have used similar technique of changing package name for GCam ports and Hedge Camera 2 in past and it works quite well for me.
Link to APK: https://drive.google.com/open?id=14kYxCPGvBEe1KujD07BX2t5r-u-owaq2
I hope this will make you happy.

D1G1TE said:
Hi everyone,
I have created Open Camera MOD for Xiaomi Note 10 based on latest OpenCamera GIT code, that DOES NOT REQUIRE ROOT OR CUSTOM RECOVERY to be able to use all 5 rear cameras. Note that 108MP code patch is not included since its breaking Camera 2 API switch in preferences and making camera app to crash when you try to switch to Camera 2 API.
How I did it?
I have refactored Open Camera app in Android studio. Using this guide https://stackoverflow.com/questions/16804093/rename-package-in-android-studio + some simple "replace in files" for leftover references to old package name. During refactoring I have changed package name from "net.sourceforge.opencamera" to "org.codeaurora.snapcam" since that one is white listed to use AUX cameras in build.prop without any changes required. I have also changed labels for cameras so instead showing ID1, ID2, etc... Every camera have now proper name.
I have used similar technique of changing package name for GCam ports and Hedge Camera 2 in past and it works quite well for me.
Link to APK: https://drive.google.com/open?id=14kYxCPGvBEe1KujD07BX2t5r-u-owaq2
I hope this will make you happy.
Click to expand...
Click to collapse
Do you have telegram? I want to see if you can get aux to expose in gcam properly because when I tried it did not work, only ultrawide works in gcam 7.2 with code aurora package

D1G1TE said:
Hi everyone,
I have created Open Camera MOD for Xiaomi Note 10 based on latest OpenCamera GIT code, that DOES NOT REQUIRE ROOT OR CUSTOM RECOVERY to be able to use all 5 rear cameras. Note that 108MP code patch is not included since its breaking Camera 2 API switch in preferences and making camera app to crash when you try to switch to Camera 2 API.
How I did it?
I have refactored Open Camera app in Android studio. Using this guide https://stackoverflow.com/questions/16804093/rename-package-in-android-studio + some simple "replace in files" for leftover references to old package name. During refactoring I have changed package name from "net.sourceforge.opencamera" to "org.codeaurora.snapcam" since that one is white listed to use AUX cameras in build.prop without any changes required. I have also changed labels for cameras so instead showing ID1, ID2, etc... Every camera have now proper name.
I have used similar technique of changing package name for GCam ports and Hedge Camera 2 in past and it works quite well for me.
Link to APK: https://drive.google.com/open?id=14kYxCPGvBEe1KujD07BX2t5r-u-owaq2
I hope this will make you happy.
Click to expand...
Click to collapse
Hi, I'm very interested in video recording with the x5 telephoto, since it's is not supported wit the stock camera. I couldn't install your apk, I have stock MIUI 11 and Android 9. What shoul I do in order to install it?

polfmarti said:
Hi, I'm very interested in video recording with the x5 telephoto, since it's is not supported wit the stock camera. I couldn't install your apk, I have stock MIUI 11 and Android 9. What shoul I do in order to install it?
Click to expand...
Click to collapse
I am also on stock MIUI 11 / Android 9 - Global ROM. What error do you get?
---------- Post added at 02:30 AM ---------- Previous post was at 02:26 AM ----------
xterminater07 said:
Do you have telegram? I want to see if you can get aux to expose in gcam properly because when I tried it did not work, only ultrawide works in gcam 7.2 with code aurora package
Click to expand...
Click to collapse
I am no expert in GCam, sorry. I don't even have GCam source code.

D1G1TE said:
I am also on stock MIUI 11 / Android 9 - Global ROM. What error do you get?
It says that the app could not be installed.
Edit: It is not installed because of its package name. I'm trying to solve it.
Edit 2: It couldn't be installed because I had UltraCam installed and it was using the same package name. I uninstalled it and now I'm able to use it.
Click to expand...
Click to collapse

---------- Post added at 08:33 PM ---------- Previous post was at 08:22 PM ----------
[/COLOR]
D1G1TE said:
Hi everyone,
I have created Open Camera MOD for Xiaomi Note 10 based on latest OpenCamera GIT code, that DOES NOT REQUIRE ROOT OR CUSTOM RECOVERY to be able to use all 5 rear cameras. Note that 108MP code patch is not included since its breaking Camera 2 API switch in preferences and making camera app to crash when you try to switch to Camera 2 API.
How I did it?
I have refactored Open Camera app in Android studio. Using this guide + some simple "replace in files" for leftover references to old package name. During refactoring I have changed package name from "net.sourceforge.opencamera" to "org.codeaurora.snapcam" since that one is white listed to use AUX cameras in build.prop without any changes required. I have also changed labels for cameras so instead showing ID1, ID2, etc... Every camera have now proper name.
I have used similar technique of changing package name for GCam ports and Hedge Camera 2 in past and it works quite well for me.
Link to APK:
I hope this will make you happy.
Click to expand...
Click to collapse
I was searching exactly for this! After testing Hedgecam 2 and Open Camera because I want more control for my videos, I was immediately dissapointed by the lack of support for ultra wide and 5x cameras. Your version of open cam works flawless! Thanks and wish you the best,
Flo

Related

Youtube Data API v3 - Help please!

Hi, i'm trying to develop one app for a youtube channel. This app will show the uploaded videos as a list (with some infos), show channel infos, trigger notification when a new video is uploaded and etc..
I'm a newbie in Android app development and i'm having trouble with the Youtube Data API... I saw the samples code from google, but when i copy it to my project and try to build it doesnt work at all...
Everything i did until now is just the basics and the designe (a part of it).
Do you guys have some app sample that does the samething i'm trying to do to help me?
Thanks.
I made some progress here, but now i need load the "client_secrets.json", but when i do the command "
getResourceAsStream("/client_secrets.json")", always return null.
The .json is inside "src/main/res" right now, but i tried in almost any other folder and changing the patch in code bellow but got no other result, just null exception ;/
Any help?
Code:
// Load client secrets.
Reader clientSecretReader = new InputStreamReader(Auth.class.getResourceAsStream("/client_secrets.json"));
GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY, clientSecretReader);

[GCAM] [AR STICKERS] Best Google Camera port w/ Portrait & AR Stickers

Hi guys, i'm sharing this Google Camera port with working features:
What's working and what's not working
- HDR+ :
--- Back : Working (Oreo and Pie)
--- Front : Working (Oreo and Pie)
- Portrait Mode :
--- Back : Working (Oreo and Pie)
--- Front : Working (Oreo and Pie)
- RAW files :
--- Back : Working (Oreo and Pie)
--- Front : Working (Oreo and Pie)
- Video :
--- Back : 1080P/AUTO/30FPS/60FPS, 4K/30FPS ( Oreo /Pie )
--- Front : 1080P/AUTO/30FPS/60FPS ( Oreo /Pie )
- Flash :
--- Back : Off, Auto and Enabled ( Oreo /Pie )
--- Front : OFF, Auto, Forced (Only Screen flash, frontal flash doens't work) ( Oreo /Pie )
- Night Sight :
--- Back : Not tested on oreo/ working on Pie
--- Front : Not tested
- Motion photo :
--- Back : Works (Oreo)
--- Front : Works (Oreo)
- Best Shot :
--- Back : Not tested
--- Front : Not tested
- Timer : Works ( Oreo /Pie )
- Face retouching : Works ( Oreo /Pie )
- Motion Auto Focus : Working ( Pie )
- Google Lens suggestions : Working ( Oreo /Pie )
- Panorama : Works ( Oreo /Pie )
- Photo Sphere : Works ( Oreo /Pie )
- Super Res Zoom : Works ( Pie )
- Slow motion : Working (Oreo / Pie) (see below)
- Photobooth : Works. ( Oreo /Pie )
- Burst : Only on GCam 5.1
- Lens blur : Only on GCam 5.1
- Wide Lens : Working (see below)
How to make things work
Wide Lens
You will need a unlocked bootloader to do that. See this post from @uccollab
https://forum.xda-developers.com/moto-x4/how-to/guide-x4-camera-gcam-hdr-night-sight-t3874674
Slow Motion on GCam 6.1
This is strange but works. You don't need root or a unlocked bootloader to do this.
1. You will need the official Moto Camera to do this.
2. Open Moto Camera and select the Slow Motion mode.
3. Record any video in Slow Motion.
4. Return to the GCam 6.1 and your slow motion will be working.
5. This works only on this thread's google camera, i've tried on another versions or ports and it doens't work.
Downloads
You don't need root to perform this, only install these APKs as normal APK.
Google Camera 5.1 (for Android 7.0+) by cstark27
https://www.celsoazevedo.com/files/android/google-camera/f/cstark27_GCam_5.1.018_24_v3.8.apk
Google Camera 6.1 (for Android 8.1+) by back.rider
https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_N7P_test1.2.apk
Updated link: https://f.celsoazevedo.com/file/gcamera/GoogleCamera_6.1.021.220943556.apk
AR Stickers + AR Core
AR Stickers APK:
https://drive.google.com/open?id=1g-yjCew1d42oD9zT97QShsuNBQfkjYOc
AR Core google play link (now available for our device):
https://play.google.com/store/apps/details?id=com.google.ar.core&hl=pt_BR
Night Lens camera samples
Photo 1:
Moto Camera: https://imgur.com/a/frKdD4n
Google Camera: https://imgur.com/a/OqcBsjU
Google camera it's not getting installed
mujju85 said:
Google camera it's not getting installed
Click to expand...
Click to collapse
Link updated. Try this instead: https://www.celsoazevedo.com/files/android/google-camera/f/cstark27_GCam_5.1.018_24_v3.8.apk
You must uninstall old Gcam apps too.
Ar sticker apk is not installing
It says cannot install apk on moto x4
vivek rawat said:
Ar sticker apk is not installing
It says cannot install apk on moto x4
Click to expand...
Click to collapse
did you installed ar core?
CypherPotato said:
did you installed ar core?
Click to expand...
Click to collapse
Yes i have already installed the ar core and and google cam but ar sticker is now getting installed...
---------- Post added at 03:45 AM ---------- Previous post was at 03:40 AM ----------
vivek rawat said:
Yes i have already installed the ar core and and google cam but ar sticker is now getting installed...
Click to expand...
Click to collapse
I mean not getting installed i installed one pack from playstore but gcam is not showing any ar sticker mode
vivek rawat said:
Yes i have already installed the ar core and and google cam but ar sticker is now getting installed...
---------- Post added at 03:45 AM ---------- Previous post was at 03:40 AM ----------
I mean not getting installed i installed one pack from playstore but gcam is not showing any ar sticker mode
Click to expand...
Click to collapse
Strange. You must install Gcam first before other apps.
Try uninstalling gcam and reinstalling from the link
CypherPotato said:
Strange. You must install Gcam first before other apps.
Try uninstalling gcam and reinstalling from the link
Click to expand...
Click to collapse
Thank u so much man now it works really fine....
are the photos better than stock moto camera?
bluedragon12 said:
are the photos better than stock moto camera?
Click to expand...
Click to collapse
Yes so much better, only u need to do is enable HDR+
I am still can't install the 2nd app I am on 8.1 version
Does this work with the wide angle lense?
AR Stickers not working on Android P Treble port. Camera installs fine but AR Core and Stickers are included but dont work when mode is selected in GCam.
sleze said:
Does this work with the wide angle lense?
Click to expand...
Click to collapse
Nope
nabhse90 said:
AR Stickers not working on Android P Treble port. Camera installs fine but AR Core and Stickers are included but dont work when mode is selected in GCam.
Click to expand...
Click to collapse
Possibly a bug in the ROM port. Expect the official kernels of Android p to be released for the X4 and it may work.
CypherPotato said:
Yes so much better, only u need to do is enable HDR+
Click to expand...
Click to collapse
Moto have to work on their stock camera cuz photos come out to be best in google cam and portrait is better of google cam
For moto moded cameras are working better than stock.
CypherPotato said:
Possibly a bug in the ROM port. Expect the official kernels of Android p to be released for the X4 and it may work.
Click to expand...
Click to collapse
Update: switched to the stock ROM and installed all apps and AR Sticker Mode still doesn't work...
Can we get OnePlus 6 camera
Confirmed, works on the Moto Z2 Force too!
Can anyone check if this gcam port provides better stabilization than stock camera? If not, please advise how to shoot stabilized video with X4.

Nokia camera Mod

Nokia Camera 91.9.1130.40 with Pro Mode and Animojis ENABLED for Nokia 8
Hi guys!
Now I want to share my small modification of Nokia camera. You know that if download not modified version from apkmirror it won't have pro mod and also there will be some not working features. But this mod solve the problem. It's based on source code by @linuxct , so it's not all my work. There are some features of my mod:
- New camera style (just swipe to go to other mod)
- Working slow-mo
- New Dual Sight
- Masks and artificial light
- New AR section in the top menu
-Disabled not working square and live bokeh mod
- Changed package name ("com.nokia.camera_4pda")
- Changed icon (blue->green)
But there're some bugs:
- Not working panorama. It's not working in all versions which I tried to modify
- Not working beauty (no changes if you turn on it)
- Photo distortion when shooting with masks and artificial light (the photo itself is normal, we just need to wait until Google photos it will load, it is also inverted)
- Missing Google lens item
- Sometimes unstable switching to front camera (at lag helps restart the app)
And not good things:
- I don't know how to enable dual camera switching, if someone knows, please help...
Download
https://yadi.sk/d/-l2Ja9METtt0Dg
Contributors
linuxct
mkolpak
Source Code: https://linuxct.space
ROM OS Version: 8.x Oreo
Version Information
Status: Stable
Current Stable Version: 91.9.1130.40 (2.2)
Stable Release Date: 2019-03-21
Created 2019-03-22
Last Updated 2019-03-22
P.s. If you don't have Nokia 8, write me back, working it or not on your phone. I will make a list of supported phones;
If you are a developer - no problem if you will modify my version.
Some screenshots (sorry for Russian)
get me error with front camera
negrroo said:
get me error with front camera
Click to expand...
Click to collapse
Switching front camera or taking photos?.. Yes, sometimes it can freeze on switching, but not always
For me taking photos is working...
taking photos with the front cam.. every time i try this error occurred
mkolpak said:
There are some features of my mod:
- New camera style (just swipe to go to other mod)
- Working slow-mo
- New Dual Sight
- Masks and artificial light
- New AR section in the top menu
-Disabled not working square and live bokeh mod
- Changed package name ("com.nokia.camera_4pda")
- Changed icon (blue->green)
Click to expand...
Click to collapse
Hey, could you please share the code/modifications you made along your mod?
If you need help on how to do it:
After decompiling the apk for the first time, you can set up a new local git repository and add all the current files to it, commit them, then proceed to mod them and commit them. You can then extract your changes into a single nice file with
Code:
git diff HEAD~[FONT="Arial Black"]number of commits[/FONT]..HEAD > my-patch.diff
or with
Code:
git format-patch -[FONT="Arial Black"]number of commits[/FONT] --stdout > my-patch-.patch
Thank you!
linuxct said:
Hey, could you please share the code/modifications you made along your mod?
If you need help on how to do it:
After decompiling the apk for the first time, you can set up a new local git repository and add all the current files to it, commit them, then proceed to mod them and commit them. You can then extract your changes into a single nice file with
Code:
git diff HEAD~[FONT="Arial Black"]number of commits[/FONT]..HEAD > my-patch.diff
or with
Code:
git format-patch -[FONT="Arial Black"]number of commits[/FONT] --stdout > my-patch-.patch
Thank you!
Click to expand...
Click to collapse
Hi!
I will make it, I dont remember all what I changed, but I will post code in these days. :fingers-crossed:
Or u can take my classes39.dex file and see it now.
I took stock apk from apkmirror, replaced some files with new one from your mod (I remember that with stock res folder animoji were not working, but with your files it started working), added my 39.dex file.
Wait 1-2 days, I will do it :angel:
linuxct said:
Hey, could you please share the code/modifications you made along your mod?
Click to expand...
Click to collapse
Sorry that I did not answer for so long, I was on vacation in Armenia, now I'm back.
My edits in the camera were too unpredictable, I can not remember what changed, namely where to turn off the "square". I can only write my actions in productmodelutil, also I remember that to make slow motion work, you need to take the original folder "res" and paste it into your apk.
Forgive me.
P.s. Some photos from Armenia
https://yadi.sk/d/arn2p89fz92IcA

[ Google Camera ] Camera MWP v3.5 FINAL Mod for Google Pixel 2 / 2 XL

Introduction :
This is a Google Camera mod for the Pixel 2/XL, Based on BSG, PX, Urnyx05, The Dise Gcam, by adding some "extra" features in it.
Fully Optimized for my Pixel 2 XL, for other pixel, try your self ,
Click to expand...
Click to collapse
Requirements:
OS: Android 9 or 10
Device: Google Pixel 2 Series
Click to expand...
Click to collapse
MWP v3.5 FINAL Gcam v7.3.020:
Features :
Based Gcam v7.3.020 by BSG, The_Dise, Urnyx05
Modded lib for Learned Depth in Portrait Mode (Pixel 2/XL)
Added new LibPatcher & Tone Curved
Added Manual Shutterspeed slider
Added Manual ISO slider
( ISO silder is not forced, so maybe the ISO results in exif is depending of the light conditions )
Added 4 step Manual Focus slider ( INF, 2M, Selfie, Macro ), Big thanks to Abhi Shake
Added Quick toggle to enable/disable Sabre ( SRZ ) on viewfinder
Added Exposure Compensation
Added Correction ShutterSpeed control
Added Super res zoom / sabre ( currently not stable in portrait mode )
Added HDR Enhanced Frames selection
Added Custom AWB From the_Dise Gcam ( Pixel 2, Pixel 3, IMX586 )
Added Default launch camera mode selection
Added Focus Tracking (not working in Portrait Mode)
Possibility to use 3rd party gallery app for photos viewer
Re Designed main layout, color & font, thanks to Ahbi
Support XML config to saving and restore your configs faster
Click to expand...
Click to collapse
================================================================================================
MWP v2.4.2 Gcam v7.2.014
Features:
Based Gcam PX v4.3 by Cstark and his team
Exposure Compensation
Exposure slider ( Working if HDR+ E activated )
- Max fast shutter : 1/2000s
- Max Long shutter : 59s
Added "Expo" in libpacher ( this feature may can help you to set for "Dehazing" Level )
Added disable zoom in portrait mode ( working for human object only )
Added Manual Correction auto exposure / max exposure & ISO (limited)
Support XML config to saving and restore your configs faster ( exposure slider value not included )
Click to expand...
Click to collapse
Installation :
Download the apk
Locate APK with File Manager and Install
Note : If you having issue "Application not installed" try to download the cloned apk
Click to expand...
Click to collapse
How to using xml config :
Tutorial importing xml / config
=========================
1. Download xml files, in Download section below
2. In Gcam v2.4.2 : Copy all xmls to "Gcam_MWP_configs" folder on internal storage ( for cloned version, you need to create folder manually on internal storage )
3. In Gcam v3xx : Copy all xmls to "Gcam_MWP_73" folder on internal storage ( for cloned version, you need to create folder manually on internal storage )
4. Done
Notes : All the 2.4.2 configs cannot be used in Gcam 3xx and vice versa..
All the shared config/xml including value of libpather, awb setting, and other, are according to my personal taste, you can make or build your own configs with saving your personal setting or configuration in the app by saving and renaming it according to what you want
Tutorial using xml / config files
=========================
1. Open MWP Gcam,
2. Double tap on the black area beside shutter button
3. Then it will show config option
4. Select the config you want to try
5. Press restore
6. Done,, Config is ready to use.
Deleting xml / config files
=====================
1. Double tap on the black area beside shutter button
2. Then it will show config option
3. Select the config you want to delete
5. Press delete)
Official Channel & Download site
All the specific changelog and features update can be found here..
https://www.celsoazevedo.com/files/android/google-camera/dev-MWP/
https://t.me/mwpgcam
Click to expand...
Click to collapse
Thanks To/Credits
Arnova8G2, BSG, cstark27, Urynx05, The_Dise, PX mod team, @fahmi182, Ahbi Shake, and all dev in celsoazevedo
Click to expand...
Click to collapse
Does this modded camera take advantage of the PX Mod Team's Magisk plugins for DSP/Easel Permission and Long Exposure?
MrBrady said:
Does this modded camera take advantage of the PX Mod Team's Magisk plugins for DSP/Easel Permission and Long Exposure?
Click to expand...
Click to collapse
Yes, i use that in this gcam..
Nice picture with astro mode
MartinN6 said:
Nice picture with astro mode
Click to expand...
Click to collapse
Wow,, Congratulations bruh..:good::good:
MartinN6 said:
Nice picture with astro mode
Click to expand...
Click to collapse
Very nice, but I can see that like in PX from cstark there are few lines of black pixels at the top of the picture. Annoying bug - present only in night mode :/
Could you please provide a mirror ? i dont know how to use telegram Appreciate your help & hard work.
I just updated my device to R dp3
Root with magisk canary and flashed "Pixel2XL_LongExp_Dec2019_A10.zip" with magisk/Modul
Astro modus works pretty good!
Thank you for this amazing camera mod.
Please Share a mirror link!!!
MartinN6 said:
I just updated my device to R dp3
Root with magisk canary and flashed "Pixel2XL_LongExp_Dec2019_A10.zip" with magisk/Modul
Astro modus works pretty good!
Click to expand...
Click to collapse
Are you rooting on Android r? No facing bootlop?
fajar rinda said:
Are you rooting on Android r? No facing bootlop?
Click to expand...
Click to collapse
yep - rooted device with last magisk canary - works pretty good - no bootloop or other bugs.
Let me test it on marlin
---------- Post added at 08:18 PM ---------- Previous post was at 08:15 PM ----------
Yes it works on marlin
so you gotta signup for telegram to get this? lol you part of the problem man.
nobreak1970 said:
so you gotta signup for telegram to get this? lol you part of the problem man.
Click to expand...
Click to collapse
"part of the problem man?" :silly: ?
Anyone having a white screen problem ..it was working fine after some shots I'm getting white screen after clicking photo
Ztaker said:
Anyone having a white screen problem ..it was working fine after some shots I'm getting white screen after clicking photo
Click to expand...
Click to collapse
use one of the config that I have shared in the MWP 3xx config.zip file (the link is listed above)
if you don't like the color results, awb results and etc, you can change it all as you like, including your libpatcher, AWB mod etc... then re-save it, and make your own config
I am using the configs but I have the white pics problem too.
Edit: I had not "restored" the config, after doing it it is working fine.
working fine here
I cant install the latest version on my pixel 2 xl, only the cloned apk (that is not the latest).
Any tip???

ZenUI Essential ( Stock apps )

ZenUI Essential​​DISCLAIMER:
I wont be held responsible for bricked devices or dead MicroSD and USBs.
Modifications comes with no warranty, by installing this you agree doing
it at your own risk.
--------------------------------------------------------------------------------------------------------------------------------------
What's working:
--------------------------------------------------------------------------------------------------------------------------------------​b1 - v1.35b:​1) 1X - 4X zoom
2) 0.5 wide angle
3) auto HDR
4) Camera settings
5) Google Lens
6) beauty Mode
7) Video up to 4K 60 fps --(depends upon which rom is used)
8) slo-mo 240 fps ---- bit buggy
9) Time-lapse
10) PRO mode
11) Timer
12) flash
13) filters
14) all the aspect ratios
15) selfie
16) Camera settings
17) standby mode
18) Dynamic Theme (Dark / Light mode according to SystemUI )
b2 - v1.75b:​19) added gallery
20) added file manager
21) fixed lib crashes
22) added Zenfone 6 camera apk
23) minor adjustments
24) fixed compatibility issues with the above apps
25) added support for game genie (loader not yet ready)
b3 - v1.75.5b:​26) fixed libs not loading
27) fixed compatibility issues
28) fixed 'failed to mount /system_root
29) fixed HDR++
30) removed incompatible apps
31) fixed permission issues
32) patched some lib files to work with arm64 devices
33) fixed app signature (app not installed) of some apps
34) added support for lineageOs 18.1
35) added apk files into internal storage
(to ease the process of installing apps if not installed while flashing)
--------------------------------------------------------------------------------------------------------------------------------------​What's not working:​--------------------------------------------------------------------------------------------------------------------------------------​b1 - v1.35b:​
1) PANO ---- crashes the app
2) AI Scene Detection
3) Portrait mode
4) HDR++ ---- buggy (works sometimes)
5) Instant Camera ----- if double press power button is used for another function
6) other apps (gallery needs re-sighing, face unlock depends upon the rom you're using)
7) YOU NAME IT...
b2 - v1.75b:​8) incompatible apps included (will solve incompatibility issues in next update )
9) apps does not install automatically on some devices (need to manually install )
b3 - v1.75.5b:​10) pre existing bugs​
​How to Install:​
- Download the zip from the given link
- place the zip in your MicroSD card
- boot into TWRP
- boot to the slot that contains your rom (a / b)
- in the install section Select MicroSD card
- Flash the zip file
- reboot to system
- if you don't see the apps... you can find the apk files in the internal storage or.
- use the download link apps are available there
- now open the apps
- allow permissions
- enjoy !!!
DOWNLOAD :
BETA 3 - v1.75.5b : LINK 1
(contains bugs)
hangout with me on:
Twitter | Instagram​
Hello! I'm using the Octavious ROM and the option to shoot at 60 fps is not showing up, can I activate this or does it just depend on the ROM developer?
Afonsostark01 said:
Hello! I'm using the Octavious ROM and the option to shoot at 60 fps is not showing up, can I activate this or does it just depend on the ROM developer?
Click to expand...
Click to collapse
Afonsostark01 said:
Hello! I'm using the Octavious ROM and the option to shoot at 60 fps is not showing up, can I activate this or does it just depend on the ROM developer?
Click to expand...
Click to collapse
As per your image your checking at the wrong place first open camera app then choose video mode and then check the camera settings.
mayker05 said:
As per your image your checking at the wrong place first open camera app the choose video mode and the check the camera settings.
Click to expand...
Click to collapse
I already did that, I believe it is an incompatibility between your port and the octaviOS rom. this weekend I will install Evolution X to test and see if I like it more, and if the COD mobile doesn't close
Afonsostark01 said:
Hello! I'm using the Octavious ROM and the option to shoot at 60 fps is not showing up, can I activate this or does it just depend on the ROM developer?
Click to expand...
Click to collapse
Absolutely... The same ..
I am also trying it on octaviOS latest build, & 4k 60 fps is disabled for me. Only shows upto 4k, not 60 fps option.
A11 octaviOS
No support for 4k 60fps
Also it's not recording in any quality. I tried shooting in 4k 30, fhd it fails recording videos in all formats.
Harshatxda said:
Also it's not recording in any quality. I tried shooting in 4k 30, fhd it fails recording videos in all formats.
Click to expand...
Click to collapse
which rom is it?
Harshatxda said:
A11 octaviOS
No support for 4k 60fps
Click to expand...
Click to collapse
haven't tested on that rom thanks for reporting the issue... I'll try to fix it as soon as possible
Harshatxda said:
A11 octaviOS
No support for 4k 60fps
Click to expand...
Click to collapse
try using older version of the camera apk if that doesn't work than your rom does not allow to use it
Afonsostark01 said:
Hello! I'm using the Octavious ROM and the option to shoot at 60 fps is not showing up, can I activate this or does it just depend on the ROM developer?
Click to expand...
Click to collapse
yes it depends upon the rom
Afonsostark01 said:
I already did that, I believe it is an incompatibility between your port and the octaviOS rom. this weekend I will install Evolution X to test and see if I like it more, and if the COD mobile doesn't close
Click to expand...
Click to collapse
ill look into it and add support after i fix some major issues as it is still a beta
Afonsostark01 said:
I already did that, I believe it is an incompatibility between your port and the octaviOS rom. this weekend I will install Evolution X to test and see if I like it more, and if the COD mobile doesn't close
Click to expand...
Click to collapse
COD crashes on yours, I play CODM too but it works fine for me
mayker05 said:
COD crashes on yours, I play CODM too but it works fine for me
Click to expand...
Click to collapse
it seems that an activation corrected the bug that causes the COD crash, since it launched android 10 there were suffering with this bug.
lineageOS 18.1 no 4k 60fps,fhd60fps,hd60fps . All quality 30fps

Categories

Resources