[Q] How does miui unlock KeyGuard? - Make NiLS work with MIUI - Mi 3 Q&A, Help & Troubleshooting

I've been trying to make NiLS - an app that displays notifications lollipop style on the lockscreen - work with MIUI. So far I failed to do so, because apparently MIUI doesn't unlock the standard way.
The way NiLS works, it sends an intent to unlock the screen, then waits for a response and then it launches eg. Whatsapp, if you swiped or tapped a Whatsapp notification. Problem is, the standard response never comes and so the NiLS activity hangs there, waiting forever. I tried to decompile the keyguard apk, turned smali code to java and search for a receiver or something.. found nothing, but I'm not really experienced! Anyone wants to work on this with me, and or has more experience to help?

Related

Looking for more function from the locked screen

Hello everyone,
I just got my OPO and Im in the process of trying to customize it the way I want it. I know what i want to do but I haven't been able to figure out how to accomplish it despite searching. In simplest term I am looking for a more functional lock screen. A major priority is launching google now without unlocking the phone. I searched for Ok google anywhere, but only came up with aftermarket apps. I previously had some version of jellybean on my kindle where the lockscreen allowed me to choose between unlocking the phone, and launching google now. Is there something I can install or a similar rom for Kit Kat and the OPO?
So far I installed an app called Slidelock which displays messages and notifications on the lock screen iphone style. It works great but an option that lets me quick reply from there would be even better. I haven't come across such an app or setting. Any ideas/suggestions would be appreciated.
Bklynrx7 said:
Hello everyone,
I just got my OPO and Im in the process of trying to customize it the way I want it. I know what i want to do but I haven't been able to figure out how to accomplish it despite searching. In simplest term I am looking for a more functional lock screen. A major priority is launching google now without unlocking the phone. I searched for Ok google anywhere, but only came up with aftermarket apps. I previously had some version of jellybean on my kindle where the lockscreen allowed me to choose between unlocking the phone, and launching google now. Is there something I can install or a similar rom for Kit Kat and the OPO?
So far I installed an app called Slidelock which displays messages and notifications on the lock screen iphone style. It works great but an option that lets me quick reply from there would be even better. I haven't come across such an app or setting. Any ideas/suggestions would be appreciated.
Click to expand...
Click to collapse
You can "call" Google now from any screen including the lock screen just:
Open Google Now
Settings
Voice
"Ok Goole" Detection
And select the options you want: From Anyscreen and From Lock Screen
Done.
Bklynrx7 said:
Hello everyone,
I just got my OPO and Im in the process of trying to customize it the way I want it. I know what i want to do but I haven't been able to figure out how to accomplish it despite searching. In simplest term I am looking for a more functional lock screen. A major priority is launching google now without unlocking the phone. I searched for Ok google anywhere, but only came up with aftermarket apps. I previously had some version of jellybean on my kindle where the lockscreen allowed me to choose between unlocking the phone, and launching google now. Is there something I can install or a similar rom for Kit Kat and the OPO?
So far I installed an app called Slidelock which displays messages and notifications on the lock screen iphone style. It works great but an option that lets me quick reply from there would be even better. I haven't come across such an app or setting. Any ideas/suggestions would be appreciated.
Click to expand...
Click to collapse
For notifications. Try echo notifications
I think its much better then slidelock and nlis notifications. 100% free no ads
Sent from my A0001 using XDA Free mobile app
echo replaces the lockscreen, which makes it a no no for me, but some people do like that.
Nils you can set up by changing to aosp lockscreen on the opo, (settings lockscreen, disable custom lockscreen) then adding the widget, moving widget to default position then swapping back to custom lockscreen in the lockscreen settings.
DashClock?

[Q] Lockscreen / Notifications

Hi,
I have my Z3C for 2 days now and I really like the phone! But there is a point where I am still struggeling, as I am coming from a MotoX.
Is is possible to activate notifications on the lockscreen? I don't want to swipe the notification bar down everytime I unlock the phone when somebody texts me. I tried some apps (DynamicNotifications, Notify!, Go Locker, Floatify) but none of them are working for me, or I am to stupid to use them Over that it would be great when the screen is lit up for some seconds when a notification appears.
I hope that somebody can help me!
Thanks
Try nils in the play store.
Floatify is my favorite for notifications
Nils is working great, thanks!
I also have been looking for a lock screen replacement and after using the MotoX a bit went with ACC display and really like it so far, its very clean and minimalistic, and allows me to see all my notifications and either interact or dismiss them from the lock screen.
Might try some of the suggestions and see if anything is better.

I get double notifications for Threema/Whatsapp

Hi there,
when I lock my Mate S I eventually get notifications from threema and Whatsapp. The Threema notifications are always doubled, the exact same notification and for Whatsapp I get group notification for every single message with the sender and for the group chat with the counter of the messages.
I know from some other posts some of you have also problems like this. Has anybody found a launcher and lockscreen combination to fully disable the stock lockscreen? I currently have the Smart Launcher installed and I love it, but when you activate the lockscreen the stock lockscreen stays on top or beneath it, even when you disable it in the Themes Section of the settings.
Rob
Maybe this app can help => https://play.google.com/store/apps/details?id=com.fpt.marco.notificationmonitor
chato.pl said:
Maybe this app can help => https://play.google.com/store/apps/details?id=com.fpt.marco.notificationmonitor
Click to expand...
Click to collapse
Thank you, that really did the trick finally!
Edit: Apparently that only did work 1 day, the bug appeared again. Someone got another idea?

Lockscreen notifications problem

Hi,
I do not receive lockscreen notifications on my P9.
According to the Huawei rep in their Brussels flagship store this is due to the fact that I use fingerprint unlock.
It is "unsafe" according to them to see or have access to the notifications or even my musicplayer or podcast player controls on the lockscreen when locked...
Is this possible? It's annoying altough the fingerprint unlock is really, really quick and 100% correct (in contrast to the iphone 6S or Samsung S7)...
thanks,
Pieter
I disabled the huawei lockscreen notifications all together and using this:
https://play.google.com/store/apps/details?id=com.roymam.android.notificationswidget
Works quite well and even supports music controls (the standalone Sony Xperia from xda works great).
It's a workaround but it does the job and is fully customizable.
Thanks, works good indeed, still a pity that the emui 4.1 does not do the job, I like this version of Android a lot, no lag and stutter and more options than stock Android...
Yeah options are always nice but they tend to forgot the option to turn stuff off you dont need stock Android notifications are pretty much perfect imho.
But I think this phone is gonna be popular at least here in central Europe. It's all over the shops right next to the apples and Samsungs. Which means mods are likely to happen.
My P9 now states that the Nils app is using lots of battery...
I sold my iPhone 6sPlus and I'm very satisfied with the P9. I owned only android phones before (nexus 4, Note 3 and 4) but wanted to try out ios, I did for 5 months but never again... -
But for all the things I did not like about ios and iPhone hardware (fingerprint on forefront and body/screen ratio) I have to admit that on the software front everything works on ios as it should...
I start noticing that the camera takes some time loading as well, 2x pushing volume down and it takes 2s for the picture to be taken...
FutureYota said:
My P9 now states that the Nils app is using lots of battery...
But for all the things I did not like about ios and iPhone hardware (fingerprint on forefront and body/screen ratio) I have to admit that on the software front everything works on ios as it should...
Click to expand...
Click to collapse
I agree some things are annoying on the software side with Android and especially with custom skins like emui. But just because a mechanism informs you that a certain process uses more battery than others doesn't mean it's bad. On ios there might be processes draining your battery like crazy but they never tell you about it. Just food for thought.
If someone asks me what phone they should get and they say that it should just work and do basic things and money doesn't matter I often suggest apple. But that is not my cup of tea.
All you need to do is change the lockscreen to a magazine lockscreen in the designs app. After that there's an option in the settings to enable them. They won't work with the iPhone style lockscreen for some reason.
Thanks, that does work indeed
But I still don't get my Pocketcasts and Google play controls on my lockscreen...
but well it's already better now
MoervYO said:
All you need to do is change the lockscreen to a magazine lockscreen in the designs app. After that there's an option in the settings to enable them. They won't work with the iPhone style lockscreen for some reason.
Click to expand...
Click to collapse
Where in settings? Set alot of apps to notifications on lock screen in the notification center. But still doesn't notify me Got magazine lock screen chosen, but my own picture.
---------- Post added at 11:55 PM ---------- Previous post was at 11:21 PM ----------
Figured it out. Have to go in and deny and then allow apps that has been allowed to send notifications as standard to make it work...
Magazine lock screen is amazing with notifications showing up BUT it darkers the background so hard its ridiculous. I'd like to use other lock screens like one of the defaults where the clock shows up on the top side of the screen, but sadly that one doesn't show notifications T_T
iaitoo said:
Where in settings? Set alot of apps to notifications on lock screen in the notification center. But still doesn't notify me Got magazine lock screen chosen, but my own picture.
---------- Post added at 11:55 PM ---------- Previous post was at 11:21 PM ----------
Figured it out. Have to go in and deny and then allow apps that has been allowed to send notifications as standard to make it work...
Click to expand...
Click to collapse
Couldn't find the option to deny and then reenable notifications. Any help pls?
Sent from my NEXT using XDA-Developers mobile app
MoervYO said:
All you need to do is change the lockscreen to a magazine lockscreen in the designs app. After that there's an option in the settings to enable them. They won't work with the iPhone style lockscreen for some reason.
Click to expand...
Click to collapse
Hey! that did the trick...I was driving crazy to make notifications work on lockscreen... (even if it is better for battery to do now awake the display) but now is a choice..!!! before werent working!!
Hard to find what "hell" was those magazine on spanish translation i took me days to find the workaround until I found your post!!
Thanks... could be useful for those are are new on EMUI to have some screenshots about the lockscreen mode
Thanks agian.
I can get notifications to show but they are not expandable or actionable. Is there a way to make them work as per stock or is this as good as it gets?
Roboffabike said:
I can get notifications to show but they are not expandable or actionable. Is there a way to make them work as per stock or is this as good as it gets?
Click to expand...
Click to collapse
I agree it's annoying if you are used to a stock behaivour... This point is a point to improve...
Enviado desde mi EVA-L09 mediante Tapatalk
Hello everyone,
do you know a way for disabling lockscreen notification white to white, changing text color in black? Default EMUI lockscreen magazine is impossible to read.
Thanks
Hi,
I am playing around with this lock screen/magazine/ ... for a day now and can't get notifications on my lockscreen. E.g. the netflix controls are also missing.
I have a Mate 9 with Emui 5.
This really sucks, I would prefer the stock lock screen from the nexus/pixel devices a lot.
Could please someone write in detail how to get the notification working?
The NiLS App works like a dream.
Pitscho said:
Hi,
I am playing around with this lock screen/magazine/ ... for a day now and can't get notifications on my lockscreen. E.g. the netflix controls are also missing.
I have a Mate 9 with Emui 5.
This really sucks, I would prefer the stock lock screen from the nexus/pixel devices a lot.
Could please someone write in detail how to get the notification working?
Click to expand...
Click to collapse
The NiLS App works like a dream... I am using Huawei P9 Plus - (EMUI 5.0 / Android 7.0) Go for it guys....
I was sick tired of making the notifications to work on Lockscreen other than the Magazine. I guess I finally found some solace.
Nils definitely works but I was bothered by not getting the normal android notifications. They seem to be working well now. This is my environment - B138, running Dark Theme and lockscreen Magazine with changed wallpaper. I enabled all apps to show lockscreen notification. I prevented wanted apps from being closed in power management. I locked wanted apps in recent drawer. I downloaded Blue Mail & Yaata sms and all notifications are immediate. I favor these apps anyways and want push email. Gave up on the stock sms and Gmail as they would not show on lockscreen. If using themes, make sure to keep magazine lockscreen. Just change wallpaper later. Not sure about other apps. Irritating project for sure!
Make sure you Use the theme that has magazine style lockscreen. That allows the apps with lockscreen notifications to work.
Settings-> Lock screen and password-> screen lock style-> magazine style lock screen
This is the key to get the notifications to work. Under lock screen and password you can also turn on screen when receiving notification.
I have just upgraded to Android 7 and the notifications used to show a tiny Icon at the top of the lock screen but no message detail ie if ifs a whatsapp persons pic would show. With the upgrade it either shows the whole message nothing at all or contents hidden, is there any way to amend the notifications to just show the whatsapp logo or email logo or whatever?

Lock screen notifications no longer displayed.

Hi everyone.
As the title implies, my P10 Lite no longer displays any notification information when the screen is locked, even though I have set the notification setting to show all content. The notifications DID work, but simply stopped working all of a sudden.
I have also Reset all settings, but the issue still persists. I have gone through all of my themes, lock screen types, but they simply will NOT show no matter what I do. Some app notifications don't even pulse the notification light. The device plays the notification sound, but nothing is displayed in the lock screen.....
Please help.. This is rather annoying
If i use a lockscreen from the Theme app that is not made by EMUI i dont get notifications. Are you sure the lockscreen is made by EMUI?
You need to set the 'screen lock style' to 'Magazine unlock' found under settings -> 'the Screen lock & passwords'
Hi guys, is there anyway I can have "always on" Samsung feature on my p10 without using any app like glance plus etc. Thanks in advance.
Sent from my VTR-L09 using Tapatalk
ambjk79 said:
Hi guys, is there anyway I can have "always on" Samsung feature on my p10 without using any app like glance plus etc. Thanks in advance.
Sent from my VTR-L09 using Tapatalk
Click to expand...
Click to collapse
As far as I know there isn't natively an always on display like on the s8 for the p10. The only option you have for an always on display is to use a third-party one like AcDisplay. (Correct me if I'm wrong though)
Edit: There is an option to let the screen never sleep during charging in developer options but I'm not sure if that's what you were looking for.
This finally solved my problem
After the update on my Huawei P10 Lite the notifications don't show on my lock screen. I tried everything - changed the theme (everyone I have), changed the settings and nothing. Every time I have to unlock my phone to see if I have some new notifications. Please help, it's really anoying.
Huawei P10 Lite notification doesnt show on lock screen after updating
Hi
Could you solve the problem with notification? I`m also struggling with that and dont know what to do,tried everything what was suggested.
Hello, I cant display the notification panel while my phone Its locked. After de update I could. Anyone knows what to do?
The problem with notifications on lock screen on huawei p10 lite i was able to solve on this way: As someone wrote earlier you need to go to 'Settings'-'the Screen lock & passwords' and set the 'screen lock style' to 'Magazine unlock'. Then go to 'Theme'-'Customize' and under 'Me' choose lock screen wallpaper that you want. The only problem that I have now after i've done all that is that notifications apear on my lock screen and make a sound but doesn't lite up. If anyone knows the solution to this problem please write.
the problem is that i dont like magazine unlock, is there another way?
Can anyone who has rooted emui 4 phone(probably Huawei/Honor) extract it's default theme so we can figure out how to make a theme with lock screen notification enabled

Categories

Resources