question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flash not working on Redmi Note 8 Pro

See original GitHub issue

I have made a demo app for my school project and it works just fine until I tested it on a Xiaomi Redmi Note 8 Pro running MUI Global v12.0.5 Stable, Android 10. Tested the app on several Samsung phones and everything works. Permissions and all, focus, flashlight, scanning. Except when I installed it on a Xiaomi Redmi Note 8 Pro. Here, everything but the flashlight work perfectly.

The only errors I see in Android Studio when running on debug mode are:

E/GraphicExt: GraphicExtModuleLoader::CreateGraphicExtInstance false

E/libc: Access denied finding property “camera.aux.packagelist”

E/libc: Access denied finding property “vendor.camera.hal1.packagelist”

I am using the latest version of the code scanner: implementation("com.github.yuriy-budiyev:code-scanner:2.1.2")

And I am using the permissions: <uses-permission android:name="android.permission.CAMERA"> and I have also tried with: <uses-feature android:name="android.hardware.camera">

I would appreciate so, so much if anyone found or finds a fix to this.

Edit: Is it possible to make the app no longer have access to the flashlight? This way I believe I can turn it on from the top bar (quick access menu) because right now, when the app runs, the flashlight button is disabled.

Thank you!

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
mpieruccicommented, Jun 15, 2022

@yuriy-budiyev any update on this?

1reaction
mahendradabiaplitecommented, May 30, 2022

Hello @yuriy-budiyev could you please help and suggest what will the issue for the flashlight working in some devices and not working in some devices?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redmi Note 8 Pro Flashlight or Torch Light Not Working ...
If the torch or flashlight is not working on your Redmi Note 8 Pro phone. Or the flashlight is not working while the...
Read more >
How To FIX Camera at XIAOMI REDMI NOTE 8 PRO Problems
Turn on XIAOMI REDMI NOTE 8 PRO · Go To Setting Menu · Choose System Apps · Choose Camera · At Camera detail...
Read more >
Flashlight Lamp Shell Bracket For Xiaomi Mi Play 5X 6X Max ...
... Xiaomi Mi Play 5X 6X Max Mix 2 For Redmi Note 5 4X 5 Plus 3S 8 Pro Flash ... Replace your...
Read more >
Selfie LED Flash Light for Xiaomi Redmi Note 8 - Maxbhi.com
Not able to take good selfies due to poor flash in your Xiaomi Redmi Note 8? New Selfie LED FLash Light ET22 for...
Read more >
Android Flashlight Not Working? Here are 6 Possible Solutions
1. Restart the phone · 2. Delete Camera app data · 3. Try Android safe mode · 4. Reset app preferences · 5....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found