Hello there.
This is a magisk module that will enable Always on Display. This is confirmed to work on Android Pie on the Google Pixel (XL), however it will probably work for most devices.
The way this works is explained here. As you can see, it's super simple!
This also requires Magisk 17.0+.
DOWNLOAD
To use it, simply flash it in Magisk Manager, then reboot. AOD will then automatically be enabled, and you can toggle it on or off in Display settings.
Happy Always on Displaying! :laugh:
Glad to finally see this feature, but I do have one concern. I noticed that it does not turn off when the light sensor is covered, could this cause screen burn in?
Sumaech said:
Glad to finally see this feature, but I do have one concern. I noticed that it does not turn off when the light sensor is covered, could this cause screen burn in?
Click to expand...
Click to collapse
I believe the sensor needs to be covered for 10 seconds for it to turn off, if I remember correctly. No, this won't cause burn in, if you record th screen and speed it up, you'll see that the clock moves very slowly
shagbag913 said:
I believe the sensor needs to be covered for 10 seconds for it to turn off, if I remember correctly. No, this won't cause burn in, if you record th screen and speed it up, you'll see that the clock moves very slowly
Click to expand...
Click to collapse
Thanks, after playing with it for a while I just discover that it takes 10 seconds. Again, thanks for the feature.
Does this bork the sRGB color calibration when turned on? I was the one who created the magisk module in the other thread and it somehow broke my sRGB option.
legendarren said:
Does this bork the sRGB color calibration when turned on? I was the one who created the magisk module in the other thread and it somehow broke my sRGB option.
Click to expand...
Click to collapse
It shouldn't bork it. Didn't even know someone else made a magisk module lol, can you link it?
EDIT: nvm, I found it. Yeah srgb should work with this one.
See attached. The files here are from the Pixel 3 (Non-XL) which someone on Telegram told me, is almost the same as in the Pixel 2 XL. Do note that I didn't just include the framework-res__auto_generated_rro APK but the whole /system/vendor/overlay folder. Because I think it includes some other animations like the one when using the Pixel 3 Live Wallpapers.
I would also want to know if by using your module, will AoD be able to follow the ambient sensor? Because mine seems like it always is in full brightness even when I try to cover the sensor.
shagbag913 said:
It shouldn't bork it. Didn't even know someone else made a magisk module lol, can you link it?
EDIT: nvm, I found it. Yeah srgb should work with this one.
Click to expand...
Click to collapse
Okay, I'll try this one out again. Can you check my inquiry above?
legendarren said:
See attached. The files here are from the Pixel 3 (Non-XL) which someone on Telegram told me, is almost the same as in the Pixel 2 XL. Do note that I didn't just include the framework-res__auto_generated_rro APK but the whole /system/vendor/overlay folder. Because I think it includes some other animations like the one when using the Pixel 3 Live Wallpapers.
I would also want to know if by using your module, will AoD be able to follow the ambient sensor? Because mine seems like it always is in full brightness even when I try to cover the sensor.
Click to expand...
Click to collapse
All mine does is enable the string that enables AOD. Yours does a LOT of other stuff, which could be bad (not 100% sure, I haven't look through your overlay very closely.). The only thing that needs to be set to true is config_dozeAlwaysOnDisplayAvailable, after setting that everything else is handled (the ambient sensor will turn off the display after 10 seconds, pixel 3 wallpapers work, etc)
shagbag913 said:
All mine does is enable the string that enables AOD. Yours does a LOT of other stuff, which could be bad (not 100% sure, I haven't look through your overlay very closely.). The only thing that needs to be set to true is config_dozeAlwaysOnDisplayAvailable, after setting that everything else is handled (the ambient sensor will turn off the display after 10 seconds, pixel 3 wallpapers work, etc)
Click to expand...
Click to collapse
Oh I see, so this does not include overriding the overlay of the system? Hmmm. So it's much like just flipping a switch then?
legendarren said:
Oh I see, so this does not include overriding the overlay of the system? Hmmm. So it's much like just flipping a switch then?
Click to expand...
Click to collapse
This does override the overlay of the system. I would recommend decompiling it and taking a look for yourself, because I suck at explaining things lol.
BTW: I took a further look at your magisk module, and it sets some stuff that is very much not good. Take a look in res/xml/power_profile.xml after decompiling the overlay, it is setting cpu related stuff that should only be set on the Pixel 3
shagbag913 said:
This does override the overlay of the system. I would recommend decompiling it and taking a look for yourself, because I suck at explaining things lol.
BTW: I took a further look at your magisk module, and it sets some stuff that is very much not good. Take a look in res/xml/power_profile.xml after decompiling the overlay, it is setting cpu related stuff that should only be set on the Pixel 3
Click to expand...
Click to collapse
Ah I see. Like I said, I just tried to port the whole overlay folder to my OG XL. Good to hear your input.
Working fine for me. Pixel, october stock. Thanks sir
Sent from my Pixel using XDA Labs
It is possible to add the alarm time on lockscreen?
Nice module. Working perfectly for me
Link in OP updated, I lowered the overlay priority so it doesn't break other overlays (ahem lawnstep)
I've been running (Sai's Always On Enabler)[https://play.google.com/store/apps/details?id=baka.sai.pixelEnabler] substratum overlay for several months now and it has been working great. How is this Magisk module different?
I also use Tasker to enable Always On Display only when plugged in, which I highly recommend!
hackel said:
I've been running (Sai's Always On Enabler)[https://play.google.com/store/apps/details?id=baka.sai.pixelEnabler] substratum overlay for several months now and it has been working great. How is this Magisk module different?
I also use Tasker to enable Always On Display only when plugged in, which I highly recommend!
Click to expand...
Click to collapse
Last time I tried it (a couple of months ago), it was kind of buggy (had to double tap the power button to turn on, the screen turned grey sometimes, etc), did they fix those issues? I just figured it was still buggy so I made this lol
It's not working for me , plz guide me how to enable it , (clear path)
Harsha Vardhan Ganiya said:
It's not working for me , plz guide me how to enable it , (clear path)
Click to expand...
Click to collapse
Hi. Ensure you are on Android 9 (Pie) AND Magisk 17.0+ - as per the OP.
Download the ZIP file onto your phone (either download directly on phone or drag n drop from PC)
Open Magisk and go to "Modules"
Click on the + icon
Find your ZIP file and open it
Wait for it to install then click "Reboot"
Go to Settings > Display > Advanced > Ambient Display. Turn on "Always on Display" if you need to
Done!
SkinlessMage006 said:
Hi. Ensure you are on Android 9 (Pie) AND Magisk 17.0+ - as per the OP.
Download the ZIP file onto your phone (either download directly on phone or drag n drop from PC)
Open Magisk and go to "Modules"
Click on the + icon
Find your ZIP file and open it
Wait for it to install then click "Reboot"
Go to Settings > Display > Advanced > Ambient Display. Turn on "Always on Display" if you need to
Done!
Click to expand...
Click to collapse
Did bro but there is no such options , only lift to check is there but it's there from earlier, plz help
Related
any way to edit what's on the ambient display?
would love to get a battery% on there.
Agreed. That would be nice.
Sent from my Pixel 2 XL using XDA Labs
I don't understand why Google doesn't put battery percent on the screen I would also like to be able to adjust the size
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
mngdew said:
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
Click to expand...
Click to collapse
Nope, not yet...
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
winstonbyrd said:
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
Click to expand...
Click to collapse
In order to prevent burn-in.
mngdew said:
In order to prevent burn-in.
Click to expand...
Click to collapse
Isn't that (also?) why it moves around?
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
TokyoGuy said:
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
Click to expand...
Click to collapse
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
winstonbyrd said:
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
Click to expand...
Click to collapse
Yes. It's something Samsung has had for ages now. I mean Google took the time to create a scheduled system for blue light reduction, yet couldn't bother to do the same with Ambient Display. It's either on 24-7 or off.
The best solution I've found is to put a piece of paper or such over the top sensor at night so the phone will think the device is in a pocket and turn off the screen.
TokyoGuy said:
paper or such over the top sensor
Click to expand...
Click to collapse
The best ideas are the easiest sometimes. I stay away from Samsung. I can't stand trying to figure out where they put stuff at. Why change menu structure even. I've tried several times because of the awesome hardware but never make it past about 2 months.
byproxy said:
any way to edit what's on the ambient display?
would love to get a battery% on there.
Click to expand...
Click to collapse
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Pkt_Lnt said:
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Click to expand...
Click to collapse
Cheers for the tip! :good::good: We've done my part now let's wait
I just got my pixel 2 XL and can't believe google has not enabled this already, it's a very basic item and a must have for many.
Pretty pathetic, hopefully once roms start dropping this will fix many shortcomings on the device.
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Well, got this notice, just don't know what "Changed" (shrug)
https://issuetracker.google.com/issues/62319884
Changed
_______________________________
Reference Info: 62319884 [Feature request] Show battery level on active/ambient display
component: Android Public Tracker > Android Developer Preview
status: Assigned
reporter: [email protected]
assignee: [email protected]
cc: [email protected], [email protected]
type: Feature Request P4 S4
blocked by: 62436205
hotlist: Dev-Preview-O, Platform
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google IssueTracker issue 62319884 where you have the role: starred.
Click to expand...
Click to collapse
Pkt_Lnt said:
Well, got this notice, just don't know what "Changed" (shrug)
Click to expand...
Click to collapse
It just means there was another comment left. You will be spammed eternally! :silly:
v12xke said:
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Click to expand...
Click to collapse
After I read your post I downloaded accubattery and it works quite well. Thanks for the heads up
I hope they enable the ability to keep the icon on the lockscreen while removing it from the notification panel.. that would be perfect.
sent from my Pixel 2 XL or Note FE
Hi all,
I am also missing a notification LED for incoming messages et al.
Well, the following might be of interest for some of you. Let me explain: I took a closer look at Automate and the flows provided by the user community there. Unfortunately all the flows for controlling the AOD there do support Samsung and LG devices only. By chance I stumbled across the correct name for the Huawei-specific variable that needs to be triggered. So, I took a working flow for LG, simply replaced the variable's name and voila, a working flow, without the need for root or something.
And it works like this: each time an incomming message (or something similar) triggers a notification, the stock AOD gets switched on, showing you the usual clock and notification icon. As soon as you are disabling the notification (by reading the message etc. pp.) the AOD gets switched off again. This works quite well, saves some battery (compared to having AOD constantly on), and you can clearly see when a new message arrives. I also didn't need to put Automate in the battery white list, it simply works as intended.
The necessary steps to get this working are as follows:
Install Automate from play store
Install the Automate extensions "network permissions", "settings permissions" and "superuser permissions" (the latter does not need root for granting the permissions indeed)
Enable "superuser permissions" via adb:
Code:
adb shell pm grant com.llamalab.automate.ext.superuser android.permission.WRITE_SECURE_SETTINGS
Switch off the AOD functionality in your devices settings
Download the (zipped) flow I have attached to this post and install it
Start the flow and grant the permissions you are asked for
If you use flow v01 switch off the logging of that flow, there are tons of data generated while the device is plugged in via USB, flow v02 works fine with loggin enabled
Enable "Automate" in Settings -> Accessibility features -> Accessibility -> Downloaded Services
I have been running this solution since late November. For me it runs smoothly, stable and battery friendly. Maybe it's also helpful for some of you. Just let me know when you have questions.
Disclaimer: I have published the flow on 25th November at android-hilfe.de and in the Automate community only recently.
Cheers.
Update:
@RoteDose has been so kind and had a closer look at the old flow and completely reworked the power charging check, so there's no log flooding anymore. So he created a v02, that I have attached here now. Thanks a bunch for your support, mate!
To do: research for AOD icons to be refreshed after disabling the notification
- Found a list of Huawei specific settings here.
- And you can list the settings by
Code:
adb shell settings list system|global|secure
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
praveen6585 said:
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
Click to expand...
Click to collapse
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
beggar23 said:
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
Click to expand...
Click to collapse
Thanks.. I'll try this and revert
Hi can you please give more details on no. 5, 6 and 7?
galaxy16 said:
Hi can you please give more details on no. 5, 6 and 7?
Click to expand...
Click to collapse
You can download to your phone the file "Huawei AOD switch.zip" I attached and unpack it to a path of your choice. In the Automate app you can import the unpacked "*.flo" file through the dots menu on the top right. You are then able to give permissions, switch logging and start/stop the flow.
Hope this helps. Just let me know. Cheers.
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
beginner user said:
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Have you switched off AOD before starting the flow?
beggar23 said:
Have you switched off AOD before starting the flow?
Click to expand...
Click to collapse
Yes, it's still off.
beginner user said:
Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
beggar23 said:
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
Click to expand...
Click to collapse
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
beginner user said:
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
Click to expand...
Click to collapse
Glad to hear that! :good:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
First of all, thank you for this solution.
But I have a little problem. I don't know why, but for me doesn't work :/
AOD switched off -> started the flow (granted all the permissions) -> lock the screen -> i got a message (the phone vibrated), but the AOD doesn't switch on -> unlock the phone, just to the home screen (doesn't read the message) and lock again -> and now the AOD is switched on
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
razer91 said:
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
Click to expand...
Click to collapse
Thank you for that. I will add it to the OP.
Alexxxx1 said:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
Click to expand...
Click to collapse
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
beggar23 said:
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
Click to expand...
Click to collapse
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Alexxxx1 said:
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Click to expand...
Click to collapse
I don't think so. At least here it's all fine. Automate is not even in the battery saver white list, and going to sleep perfectly. Also, I detected no CPU wakelocks.
Yes, I checked too. The consumption of battery by Automata is minor.
Excellent work man [emoji106][emoji108]
Sent from my ELE-L29 using Tapatalk
OnePlus Lift To Wake
TL, DR. Where is the download?
github.com/xubowenhaoren/OPLiftToWake/releases
What does it do?
This is a simple app to enable Lift To Wake for OnePlus 7 series.
It is not the Lift To "Ambient Display" in the stock Settings App; it enables the true Lift To "Lock Screen" like other phones.
Why do I want this feature?
You've probably already known that OnePlus, in Android 10, reveals the notification content on the lock screen after Face Unlock.
But to see those notifications, you either need to:
1. Pick up the phone and unlock with your finger at the Ambient Display. A two-step process.
2. Pick up the phone and press the power button. Again, a two-step process.
Now with the app, you can pick up the phone and the lock screen immediately shows up.
How does it do this?
It listens to the native system sensor (`oneplus.sensor.pickup`). In my testing, it is very power efficient.
What phones does it support?
I have tested this on a OnePlus 7T with Android 10. It should also work with other OnePlus 7 series.
Note that for earlier OnePlus phones, there is also a [pickup sensor] but with a different name.
If you want this app to work with earlier OnePlus phones, you should try replacing this line in `Utils.java` with the correct sensor name:
```
mSensor = Utils.getSensor(context, mSensorManager, "oneplus.sensor.pickup");
```
How do I use it?
You probably want to turn off the Ambient Display first.
After installing the app, turn on the "Lift To Wake" toggle.
You should also consider turning off the battery optimization of the app for a more consistent background performance.
Do I need Magisk for this?
No, it is root-free.
Credits
Much of the code is from the Lineage OS team.
Other code references can be found in the code comments.
This is brilliant!! Appears to be working great... Will provide an update on power efficiency in a while
How do I install
Works great on OP7 pro ?.
Jdhal21 said:
How do I install
Click to expand...
Click to collapse
github.com/xubowenhaoren/OPLiftToWake/releases
Works so well with face unlock auto unlock and PIXEL AOD mod.
is there any way to make the screen lit up time response a bit faster ?
umair shaikh said:
Works so well with face unlock auto unlock and PIXEL AOD mod.
is there any way to make the screen lit up time response a bit faster ?
Click to expand...
Click to collapse
I am afraid no. That's determined by the system sensor.
bwx074 said:
I am afraid no. That's determined by the system sensor.
Click to expand...
Click to collapse
Ahh. Good work tho
This works great. Any way to get it to run automatically after a reboot? I have to enable after every reboot.
Thanks, again!
GeneFitz23 said:
This works great. Any way to get it to run automatically after a reboot? I have to enable after every reboot.
Thanks, again!
Click to expand...
Click to collapse
I've made efforts to enable this service after reboot. It wasn't successful, however. Oxygen OS has a strict whitelist of apps that may start automatically after a reboot. One way to work around this is to use Accessibility Service, but that could cause more battery drain. Lol, I think it's better to leave things this way.
Very useful app, this was my most demanding functionality after bought OP7T
Thank You For this
Can u add to the store please?
Nice app. Thnks
It works great for op7t, but doesn't work for Op7.
On op7, the screen lights up, but faceunlock is not available.
You need to click on faceicon first to work (screens in atach).
But, if you unlock op7 via the power button (second screen in atach) - faceunlcok works great!
Is there any solutions for op7?
Works as it should! But screen wakes a lot while inside the pocket.
Very useful mod, thx for that
Only issue that it doesn't work anymore after some hours,i need to start the app again to get it working again for a few hours. I already have disabled battery optimisation. Any ideas to fix this?
Regards ysco..
Hello, how can i make it work on Oneplus 8?
This app is great, something I've been looking for a while. But, it doesn't work consistently. It stops after a few hours after I enable it. Then I have to open the app and then it will 'realize' the switch is still on and start working again. Is there a solution for this?
Thanks bud!! It works like a charm!!
Looks really helpful.
Works good also.
Thanks.
Tapatalk via OnePlus 7T
This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).
Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?
Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.
I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!
Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.
Based on: https://repo.xposed.info/module/com.github.char101.qslock
Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
Just noticed something that worried me at first, but turned out to be nothing of concern afaik, but in case anyone else gets spooked by it: I just noticed last night that if you launch the camera while on the lock screen, you can still pull down the notification shade. Same can be said for other apps that can be active over lock screen (e.g. Phone app during active call).
However, the quick settings are still inaccessible while locked. The notification contents that do show will follow the same rules as your settings, so if you have it set to hide sensitive notification content (which you probably should... otherwise 2-factor authentication is extremely pointless if your device were lost or stolen), you still won't be able to see the notification content itself, just that there is a pending notification for that particular app.
I hope you're finding the mod useful, for anyone who is using it. Please let me know if you find any issues with the module, thanks. I'm by no means a developer, but I have more free time than usual for obvious global reasons and it's a fun learning experience while the free time lasts. =)
I've been using the original NoQSInLockScreen, and while it did the job, it really bothered me that you couldn't use media controls on the lock screen (or expand notifications).
This mod took care of that problem. Really happy with it!
Just wanted to say thank you for putting it up!
Tested it on Android 9 (LineageOS 16.0).
Just wanted to stop in and say thank you for the awesome edxposed mod! I appreciate the extra security and hope you're doing well!
Sent from my Pixel 4 XL using XDA Labs
bradical711 said:
Just wanted to stop in and say thank you for the awesome edxposed mod! I appreciate the extra security and hope you're doing well!
Sent from my Pixel 4 XL using XDA Labs
Click to expand...
Click to collapse
Just wanted to let you know, as a fellow (now former) user of this mod, that I found a better way of doing this! So just thought I'd share:
Using GravityBox app for EdXposed framework you can simply define which individual QS tiles you want to secure. That way you still have access to the QuickSettings pulldown menu from the lockscreen (unlike this mod which disables it altogether), but things like Wi-Fi, Location, Airplane Mode etc. are secure and not accessible until you've unlocked your phone. It's a much more practical and elegant solution in my opinion.
Check out my post on this from Reddit where I describe the steps if you're interested:
https://www.reddit.com/r/LineageOS/comments/gdvwml/securing_quick_settings_tiles_on_lock_screen/
Can't wait to try, does your mod support Android 11?
(edit)
09 June 21 update.. and the mod is still woring
Suavie103 said:
(edit)
09 June 21 update.. and the mod is still woring
Click to expand...
Click to collapse
I completely forgot about this mod, haha. But thanks for letting us know!
As @nanquan mentioned (a long time ago, lol), you can also achieve (essentially) the same thing by using GravityBox. It is indeed a more "elegant" solution, and since I already use GravityBox heavily, I now just use GB's tweaks to lock down the main comm tiles.
But I'm glad this still works, for those who still prefer to use it for whatever reason. I can see it still being useful if you have a lot of custom QS tiles and want to keep it all locked down.
Confirmed working A11 xtended rom, 1+7t
Not working in 2022 Android 10 (Q)
Successfully working on Android 12 using Lsposed-Zygisk magisk 24.3
williamsbertoldo said:
Not working in 2022 Android 10 (Q)
Click to expand...
Click to collapse
It still works bro.
any chance this would work on a Pixel 6 Pro?
Hello,very usefull mod.Any chance to re-continue it?I use los 19.1 and keeping quick tiles unlocked is extremely unsafe these days..
Do not work with zygisk and lsposed.
Any fork for this?
lupastro82 said:
Do not work with zygisk and lsposed.
Any fork for this?
Click to expand...
Click to collapse
As well as enabling the module you need to tick the checkbox for 'system framework' and 'system ui'.
porkpiehat said:
As well as enabling the module you need to tick the checkbox for 'system framework' and 'system ui'.
Click to expand...
Click to collapse
Can't find System Ui to check it.
kos25k said:
Can't find System Ui to check it.
Click to expand...
Click to collapse
Make sure you uncheck system apps in the corner here.
Curiousn00b said:
Make sure you uncheck system apps in the corner here.
Click to expand...
Click to collapse
omg really thank you dude it worked on my pocox3 pro running los 19.1 been searching this solution years now
Btw,did u find something similar for power button also?
Hello,
this is a great feature and I would like to install on my pixel 7 android 13.
Anyone tried yet?
Contrary to what OnePlus have said, the code for the Always on Ambient Display is in the first beta of Oxygen OS 11. All you have to do is enable the feature, which is disabled in the "OPFeatures" framework. This is very simple, and can be done in two lines in a root terminal (ie. do "su" first):
Code:
setprop sys.aod.debug_support_always_on 1
pkill systemui
After you have done this, the option to enable it will appear in Settings > Display > Ambient Display > Always on ambient display.
This doesn't survive a reboot, but you can have Magisk do it on boot for you. Only the first line is required for this (since SystemUI won't have started yet), simply drop the .sh file from the attached zip into /data/adb/service.d, set its permissions to rwxr-xr-x (chmod 755) and reboot. Please note that the zip is not flashable and cannot be used as a Magisk module. Something as simple and temporary as this (hopefully anyway, OnePlus have said this feature will come later) doesn't need a full blown Magisk module.
DanGLES3 said:
Do you mind if I make a Magisk module for this? Should be easier for users to install
Click to expand...
Click to collapse
You can, but Magisk isn't really built for modules to do tiny things like this. One liners are what service.d scripts are for.
Quinny899 said:
You can, but Magisk isn't really built for modules to do tiny things like this. One liners are what service.d scripts are for.
Click to expand...
Click to collapse
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Agreed, maybe it'll come with the often-teased Xposed style injections one day
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Thank you!
Thank you guys for this.
Thank you very much for this.
Is there any shortcut for notification bar for fast on/off ?
And can I use Taskrer sehell command to Toggle AOD on/off (for example when "do not disturbe mode is on" or when I put phone to pocket). Something like options that existed in Exposed AOD Mod?
ontwykende said:
Thank you very much for this.
Is there any shortcut for notification bar for fast on/off ?
And can I use Taskrer sehell command to Toggle AOD on/off (for example when "do not disturbe mode is on" or when I put phone to pocket). Something like options that existed in Exposed AOD Mod?
Click to expand...
Click to collapse
It turns off automatically when it's in your pocket, but for DnD you probably would need to find the setting that controls it and toggle that
Is it a glitch or something but all I did was update my oneplus7t to is 11 and ambient on was already there I didn't need to use magisk
Is there no risk of burn in?
For some reason this doesn't work for me. It just restarts the SystemUI and the option still force closes when I go to it in the settings, just as before.
Nah mine works as intended I dunno honestly that's what I'm tryna figure out is magisk needed for certain versions of the 7t because I can go into settings and extra the only thing I noticed that does not function as should is the ambient light
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Thanks a bunch! Much much easier.
donjamal said:
Is there no risk of burn in?
Click to expand...
Click to collapse
No. It"s have burn in protection. This is bilt in AOD... This mod just bring hiden option in Settings (off, scheduled, all day) and it's work excellent.
MyDaugghterskeeper1429 said:
Nah mine works as intended I dunno honestly that's what I'm tryna figure out is magisk needed for certain versions of the 7t because I can go into settings and extra the only thing I noticed that does not function as should is the ambient light
Click to expand...
Click to collapse
I am on international version O2_BETA_01 and in my case I needed to unveil "when to show" option in display-ambient display, by using shell command /script from here.
I still didn't find out how to turn it on/off from tasker... only to use shell command from first post?
is there any other shell command just to turn AOD on/off and not to hide options from display/settings ?
ontwykende said:
I still didn't find out how to turn it on/off from tasker... only to use shell command from first post?
is there any other shell command just to turn AOD on/off and not to hide options from display/settings ?
Click to expand...
Click to collapse
Your right it does work excellent made a script from FKM to trigger both upon reboot. Thank
With FKM script manager you don't need to use a terminal you can run right from that app
lil_kujo said:
Your right it does work excellent made a script from FKM to trigger both upon reboot. Thank
With FKM script manager you don't need to use a terminal you can run right from that app
Click to expand...
Click to collapse
what I would like is to turn the AOD on or off with the shell command from Tasker ... For example, the AOD can only be ON when I have a new notification OR it can be completely Off when the "Do not disturb mode" is on (I already have task to turn Do not disturbe mode ih house (wifi zone) during night).
Thank you @Quinny899 for this work that allows us to have AOD.
After following the installation process, I have no problem.
AOD works very well.
I programmed it from 6:45am to 10:30pm and it disconnects when I switch to DND mode at night.
ontwykende said:
I am on international version O2_BETA_01 and in my case I needed to unveil "when to show" option in display-ambient display, by using shell command /script from here.
Click to expand...
Click to collapse
Ahhhh I see now I don't have that " when to show " option