[Bug]: TCL Nxtpaper 11 plus flashlight trigger (Mediatek)
Bug Description
All permission granted to Essentials (incl Shizuku). Flashlight is forced to be on no matter what I do. It can't be turned off from the Quick settings tile of my device or the notification of Essentials.
Steps to Reproduce
I don't exactly know. It just happened. I cant turn off the flashlight unless I force quit or uninstall Essentials. Is it a persistente notification issue? Light sensor issue?
Expected Behavior
Essentials shouldn't be blocking or overiding my manual control over the flashlight.
Screenshots
No response
Android Version
Android 15
Device
TCL NXTPAPER 11+
App Version
16.4 (from the release title)
Additional Context
No response
Hi! Can you try turning off flashlight brightness controls with vol buttons or button remap to see if there's any change? This is very weird behavior.
Might be specific to this device model which I never heard of
Mapped vol down long press while Screen off to toggle flashlight. The flashlight turns off for a split second then immediately forced on again. The exact same behavior when trying to turn off the flashlight from Essentials' notification that controls flashlight intensity.
Edit: flashlight intensity control is "non responsive", it's fixed at 100% in the notification and at zero in the pop up window after pressing the quick setting tile (both the notification and qs belong to Essentials). My device doesn't have a native intensity control for the flashlight.
Edit: Maybe I misunderstood you, so here's how I configured essentials. Same behavior. Also, a side note, I can't restore my navigation bar. Neither after rebooting, toggling the settings nor uninstalling Essentials.
Same tablet. TCL Nxtpaper 11 plus, same issue. Work in IT Support. Tried for hours to solve, could not solve. Only solution, uninstall Essentials app which makes ,E sad, as I ,iked this awesome app. But flashlight turning on randomly and not being able to toggle off, even when force stopping Essentials app, madness. But flashlight on, cannot turn off, uninstall Essentials and flashlight finally turns off and can be toggled as normal, seems to point to an issue with Essentials app. I will reinstall awesome app if developer works out the flashlight bug. Happy to test new builds if needed.
@BraveFalconfromTinyCastle @cybernautnz this is a very very strange thing which I got no idea how even possible. One question, doesn't opening the camera while the flashlight on, turns it off? Without having to uninstall the app.
Also if possible by any of you, can you dump a logcat while this initially happens and then when you try to turn it off and such so I can take a look if there's any crashes or potential issues I can see and fi all not possible, share me the device codename and model info so I can try to disable all flashlight features from this device to avoid this issue so other features are still usable.
@sameerasw opening the camera turns of the flashlight but as soon as I close it, Essentials takes complete control again.
Model: 9469X
I don't know how to send you log etc. I triggered Essentials' developer mode but the only relevant button was simulate a crash. Also, kept crash reporting and beta releases notifications on if that's of any significance.
Hey @sameerasw, small update on testing and logcat capture for this: Model confirmed: TCL Nxtpaper 11 Plus, Model 9469X. Logcat behavior: Standard app-level logcat doesn't expose the flashlight toggle events because the torch/camera HAL on this MediaTek-based tablet handles hardware states natively without throwing user-space log messages. The loop: As soon as the Essentials app is active, it aggressively re-asserts a persistent hold on the torch resource. Opening the camera temporarily forces it off, but the moment the camera closes, Essentials immediately takes full control and turns the flashlight back on with no way to toggle it off. As discussed, adding a model-specific fallback setting to completely disable flashlight integration for model 9469X would be an awesome workaround so we can keep using all the other features of the app without getting stuck in a flashlight loop!
oooooooooo this is it!
HAL on this MediaTek-based
Good news, we know the issue Bad news, I can't fix it myself. Someone with a mediatek device may need to try out, test and contribute a fix
https://github.com/sameerasw/essentials/issues/465
In the mean time, I will try to disable it on affected devices.
New v16.6 should fix it as it disabled brightness control. Try out and test :)
I installed v16.6 but as soon as Essentials is opened for the first time, torch issue still stubbornly present.
I installed v16.6 but as soon as Essentials is opened for the first time, torch issue still stubbornly present.
Damn :(
I'll give another try with matching TCL brand instead of checking for mediatek
@BraveFalconfromTinyCastle Can you give this a try? Really appreciate the feedback. I entirely disabled flashlight checks
Sadly, not fixed.
Now I wonder if it's something else interfering.... :( Maybe another use of permission... not sure
Take your time, I'll be available for testing etc.
It's been working fine for the last few updates.... Just thought to let u know...
Ohh good to know