Force app to use back camera

Adam Labus

New member
Jan 6, 2022
2
0
0
I am trying to use a bank app, which wants to scan my face but only uses the selfie camera with no option to use a picture from the gallery - but my selfie camera has too bad of a image quality even under perfect conditions. I have a rooted device with lineagos.

Is there any way to: 1. Change the android kernel so as to use the back camera? 2. Use a hack/app that would hijack the JavaAPI somehow? 3. Disallow permissions for the selfie camera to provoke the usage of the back one?

I have never really worked in the android java API so I really dont know what can be done without for example knowing if the selfie and back camera have a seperate API call
 
I'm going to guess that since this is a banking app, there won't be any legit way to do this -- after all, would you want your banking app to be easily hackable?
 
Hi I had the same problem (broken selfi camera) and an app that used the selfi camera for age verification. I found that opening my phone's camera app, setting the camera app to the rear camera, then switching between the camera app and the app that forced me to use the broken selfi camera did the trick. This takes advantage of the time it takes for the phone to switch cameras. My age verification app used the rear camera during the delay and it worked. Just make sure your rear camera is pointed at a mirror when you do it because you don't have much time haha.
 

Forum statistics

Threads
954,543
Messages
6,961,973
Members
3,163,065
Latest member
moutonjae