Always-on Display can be enabled on OnePlus 7/7T series devices with Android 11 – Here’s how
Always-on Display has been a feature on several smartphones for a long time. Ironically, OnePlus devices never had a proper AOD implementation until the release of OxygenOS 11. The company, however, decided not to include this popular feature in the first Android 11-based Open Beta builds for the OnePlus 7 and 7T series that were released last week. According to the changelog, the feature is still under internal testing and it will be released in a subsequent Open Beta update for the OnePlus 7/7 Pro and the OnePlus 7T/7T Pro.
Well, XDA’s developer community has once again come to the rescue. The OEM has, in fact, left the code for the always-on display mode in the initial beta firmware, which can be exploited to unlock the feature on these devices. As discovered by XDA Recognized Developer Quinny899, all you need to do is execute the following command in a root shell to force the “OPFeatures” framework of OxygenOS to enable AOD.
setprop sys.aod.debug_support_always_on 1
After executing the command and then reloading the system UI (using
pkill systemui), the option to enable AOD will appear under Settings > Display > Ambient Display > Always on ambient display.
Keep in mind that the aforementioned process of bringing back always-on display doesn’t survive a reboot, but it is possible to write a special init script to execute the command on boot. The good news is, Quinny899, who previously created OPAodMod, has also released a ready-to-use script which does exactly that. If you already have rooted your OnePlus 7/7T running OxygenOS 11 Open Beta using Magisk, you can follow this tutorial:
- Download the attachment from the first post of this thread.
- Note that although the attachment is a ZIP file, it is neither a Magisk Module, nor a recovery-flashable ZIP.
- Extract the ZIP file to get the script named
aodenable.shout of it.
- Using a suitable root file manager, copy the script to
- Set its permissions to
- Do a reboot.
- That’s it!
In case you’re not comfortable with the manual installation process, XDA Senior Member DanGLES3 has come up with a handy Magisk module, which does the same thing mentioned above. For further details, take a look at the discussion thread linked below.