[MAGISK][MOD][13/11][v1]Always On Display For OnePlus 6T

acervenky

Recognized Contributor
Mar 25, 2012
2,320
4,900
203
Mumbai
It'll allow OP6T users to enable the hidden AOD option in Settings/Display/Ambient Display

Disclaimer : I'm not responsible for any damage to your device.

Its a very basic mod, there are no additional features, just enabled the hardcoded AOD in android.
We'll refine it further by inputs from you guys!

Download : DRIVE
Removing the mod may result in a bootloop, delete /data/resource-cache via TWRP to fix the bootloop.

Instructions :
Just download the mod and flash it via magisk.
However users have reported problems while uninstalling it, as it does use OMS overlays it may cause bootloop in OOS roms after uninstalling it. Flash this and it'll fix the issue.
I would suggest users to just disable it in the settings instead of uninstalling the module ;)

This mod was not possible without the help from testers :)
Testers :
@nima0003
@jackennils
@bp328i

Credits :
paphonb

Regards,
acervenky
 
Last edited:

xfxx

Member
Nov 12, 2018
26
10
0
thanks, works fine for me.

edit: i deactivated it...
got some security issues:
when screen is locked and AOD active: if i touch the FPS with a non saved finger it shows the homescreen while scanning the finger. it fails to unlock and gets back to AOD lockscreen. but it's a huge issue for me that it shows the homescreen while scanning.
 
Last edited:
  • Like
Reactions: sandix and dough29

devarajreddy4ever

Senior Member
Feb 22, 2013
72
4
0
Not recommended to flash.

It enables aod but there are trade offs..
1. you have security issues, your homescreen is visible from lockscreen if you try with wrong finger.
2. even if u disable in settings u cant get the oneplus ambient display back.
Still its v1, there are improvements needed in above issues .


question?
can i flash the bootloop fix zip via adb?? to remove this module and fix bootloop issue?? because i dont have twrp..
 
  • Like
Reactions: -MrMM-

Gungrave223

Senior Member
Jun 12, 2011
617
92
58
Loganville
It enables aod but there are trade offs..
1. you have security issues, your homescreen is visible from lockscreen if you try with wrong finger.
2. even if u disable in settings u cant get the oneplus ambient display back.
Still its v1, there are improvements needed in above issues .


question?
can i flash the bootloop fix zip via adb?? to remove this module and fix bootloop issue?? because i dont have twrp..
you can temp boot into twrp and sideload the fix
 

acervenky

Recognized Contributor
Mar 25, 2012
2,320
4,900
203
Mumbai
Ok so a quick update, the OPAod apk is present but the always on feature is removed, maybe adding this in the aod_settings will enable the always on switch?

Code:
 <com.oneplus.settings.AodSwitchPreference android:icon="@drawable/empty" android:persistent="false" android:title="@string/oneplus_aod_mode_always_on" android:key="aod_always_on_switch" android:singleLineTitle="false" />
EDIT : Can someone try this out : DRIVE
To use it you will have to completely uninstall v1. Flashing it on v1 will result in a bootloop.
Also you don't need to flash the bootloop fix to uninstall v2, just disable or delete it from magisk.

Regards,
acervenky
 
Last edited:

tlbland0426

Senior Member
Jul 25, 2012
275
117
63
Portland, IN
Ok so a quick update, the OPAod apk is present but the always on feature is removed, maybe adding this in the aod_settings will enable the always on switch?

Code:
 <com.oneplus.settings.AodSwitchPreference android:icon="@drawable/empty" android:persistent="false" android:title="@string/oneplus_aod_mode_always_on" android:key="aod_always_on_switch" android:singleLineTitle="false" />
EDIT : Can someone try this out : DRIVE
To use it you will have to completely uninstall v1. Flashing it on v1 will result in a bootloop.
Also you don't need to flash the bootloop fix to uninstall v2, just disable or delete it from magisk.

Regards,
acervenky
Tried it. This version doesn't even let you open Ambient Display to get to the settings to turn it on unfortunately. Clicking on Ambient Display does nothing at all.
 

tlbland0426

Senior Member
Jul 25, 2012
275
117
63
Portland, IN
So nothing happens when you turn off the screen? Not even ambient display on pickup?

Regards,
acervenky
When turning off the screen it acts just like the standard Ambient display with a few exceptions. Tap to show no longer works. Pickup works but the status bar is not "blacked out" like it should be, I can see my wallpaper underneath the status bar but the rest of the screen is black and shows the ambient display (time, notifications, etc.).
 

Darriousx

Senior Member
Dec 31, 2012
257
90
0
So nothing happens when you turn off the screen? Not even ambient display on pickup?

Regards,
acervenky
Like he's said in a previous post. It works when you pick up the phone. However, it does show the status bar and you can't go into the Ambient Display settings. Thankfully, when you don't place the correct fingerprint on it then it defaults to the lockscreen saying your fingerprint isn't recognized.

Overall, besides the status bar and only having lift to wake, I'm very impressed.

Edit: Just disabling the Magisk module works to renable the default Ambient Display. Very nice!!
 
Last edited: