Change default rear camera?

Blamant

New member
Nov 8, 2015
2
1
0
Hey guys,

My main rear camera is broken and I was wondering if my default camera can be changed to the wide-angle lens, because the wide angle lens works fine. The phone is a Moto X4 and it has a dual rear camera set up.

So my question is:

Could I maybe modify the default rear camera ID in the Camera2 api?

Or is there a build prop flag that I can modify that changes the default rear camera to the wide angle lens?
 

abrfilho

Senior Member
Jan 3, 2018
237
124
43
Rio das Ostras
Add this line on the build.prop and perhaps you'll be able to use the wide angle.

camera.aux.packagelist2=com.motorola.ccc,com.google.android.GoogleCameraWide,com.google.android.GoogleCameraTele