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.
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.
Last edited: