My device's rear (main) camera is broken.

WhatsApp Web pairing uses the main camera in order to scan a QR code and can't be switched to the front (selfie) one.

Is there any ADB command that can switch the roles of Main and Front cameras? this way, the front will be activated by WhatsApp and I'll be able to scan the QR code.

Alternatively is there an ADB command that disables the main camera altogether? since that might also do the trick.

I'm with Android 10 with latest security updates (Android One).

  • The only way to do so is to use the advantage that Android kernels are open source and you can remove the drivers from the kernel itself then recompile to disable it. – Tipz Team Jul 23 '20 at 3:56
  • @TipzTeam I guess buying a brand new phone would be cheaper than going down that path – Ofer Zelig Sep 30 '20 at 13:04
  • compiling a kernel takes nothing, a pc and some knowledge and it's good. – Tipz Team Oct 1 '20 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.