How do deactivate the green sensor indicator (microphone and camera)?

Search This thread

Hendrix7

Senior Member
Nov 18, 2023
227
63
. In fact you need to have a tasker script that periodically runs this every hour because even without rebooting this effect wears off

Perhaps there is some way to modify the source code of the operating system to get rid of it? But one would have to find the right place in the source code in an ocean of millions of lines of code.
 

ggx240

Member
Oct 7, 2018
5
1
adb shell cmd device_config put privacy location_indicators_enabled false default

adb shell device_config set_sync_disabled_for_tests persistent

adb shell cmd device_config set_sync_disabled_for_tests persistent


first in developer options have to reset to default values and disable optimation
tested on xiaomi hyperos 1.0.9.0 running android 14 version working so far


working with oneui 6.0 on android 14
can someone confirm with samsung oneui 6.1 and android 14?
im running non rooted version of xiaomi and non rooted version of samsung
 
Last edited:
  • Like
Reactions: vovabulatnikov95

paolo24

Member
Feb 15, 2025
5
0
don't works on poco f7 pro android 15 hyperos 2
 
You're right, I apologize. in my haste to find a solution to disable the microphone and camera, i hadn't read the title.
unfortunately I found only this post on the forum
OffTopic: all xiaomi goto..
 
I think the thread should be moved to general. This is something that affects Android as a whole. It is not something that affects just an individual vendor or model.
OneUi is for Samsung not for other vendonrs. So it shouldn't be moved.. but you can create new one in general and than it can be universal vendor talk.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    I have the solution!

    Activate the developer option on the phone. Enable USB debugging.

    Install platform tools on the PC.
    Connect cell phone to PC.

    Start command prompt with platform-tools. E.g. C:\platform-tools>
    then type in ADB DEVICES and confirm on the phone.
    The phone should now appear in the list.
    Now copy and paste the following line

    Code:
    adb shell cmd device_config put privacy camera_mic_icons_enabled false default

    and confirm with Enter.
    From now on there is no longer a green dot when using the camera and microphone.
    Restore the green dot with

    Code:
    adb shell cmd device_config put privacy camera_mic_icons_enabled true default
    4
    Hello, I created a Magisk module for this. This module will execute commands for disabling the green dot after boot. (
    "cmd device_config put privacy location_indicators_enabled false default" and "cmd device_config put privacy camera_mic_icons_enabled false default")

    The green dot may still show up for a few seconds after boot, that's because I set a delay before executing commands. Without the delay, the module may not work, probably because some system program enabled the green dot again after commands are executed.

    Tested on POCO X4 Pro with ArrowOS (Android 13).
    3
    I was able to disable the green camera/mic indicators from an ADB shell w/these commands:
    device_config put privacy camera_mic_icons_enabled false default
    device_config set_sync_disabled_for_tests persistent

    The first command disables them and the second one keeps the playstore from reverting the change, as I understand it. This command:
    device_config put privacy location_indicators_enabled false default

    should disable the location indicator, according to several sources, but I could not get it to work for me. The only means I've been able to use to disable the location indicator is by using SystemUITuner and adding the location indicator to the statusbar icon blacklist.
    3
    It's an integral privacy feature of Android 12. It may be possible to disable it using a Magisk module, but I don't know of a specific module that might do it, nor would I ever want to in the interests of privacy.
    3
    Hello, I found an XPosed module called Location Indicator Whitelist. Despite the name, it can disable indicator for microphone and camera in addition to location. Instead of totally disabling indicator, it disables indicator for selected application.