Remove All Ads from XDA

[Workaround] Bring S-View back (xposed, dashclock)

32 posts
Thanks Meter: 10
By Aztek92, Member on 23rd September 2016, 07:18 AM
Post Reply Email Thread
First of all, video:

Solution is not from android programmer, rather geek

Hi there... so, i was pretty dissapointed with lack of S-View functionality on CM13, S4 Mini. It was great feature, that was doing really good job with magnetic cover.
If you tried to do something with it, you probably experienced some problems with magnetic sensor (or you were smarter than me). It prevented to turn on screen with power button on any custom lockscreen from market, that was better than cm's stock one. In terms of 'better' i have in mind a lockscreen... that has f*** clock in right spot for case's window I was trying to bring it back with various results, but finally i achieved (i think) the best possible solution, turning lockscreen into S-View screen.

What it does right: showing time and basic info about battery, calls, msgs, next alarm, notifications (from gmail, fb messeger - that part is actually very customizable).
What it doesn't do at all: doesn't let you pick up calls, turn off your alarm via window and do any stuff that requiers touching via window. Magnetic sensor basicaly turns off that feature when case is closed. Showing info about playing track is not worth activating (because of space).

So, we need xposed installed and then download module:
And the widget we are gonna use is dashclock: (or you can use more advanced alternative:

Step 1. First thing you wanna do is to configure widget the way you want - download some extensions for it (like battery info). I highly recommend to use DashNotifer to get notifications from custom apps like fb messenger ( It's already there in KK Widgets). Test it on your homescreen for now and find configuration that suits you.

Step 2. will be add widget to lockscreen via xposed module. This configuration ( will keep your widget in case's window, when owner info will be out of it on same time. There is also something to mention - if you will not turn off notifications on lockscreen they will move your widget little higher (depending on number of notifications).
So... 1. If you wanna keep your notifications on lockscreen, set container 'y' translation to something around -150. Widget will stay in window regardless number of notifications.
2. If you wanna remove notifications for that cause, set container 'y' translation to -175. Widget will be in perfect spot for the whole time.
That works for standard DPI.

And that's it. It works perfectly with magnetic sensor.

For better effect you can change your wallpaper to black (worth it). That's however will change when you will listen to music, you can turn this option off or use this xposed module to paint it black for good:
Another thing is alarm. It happens that Timely has clock in perfect spot when activated and can be controlled with physical buttons

I'm super happy with result. It's not exactly what you could achieve with real S-View, but it does good job
If you have better solutions share it in thread!
The Following 2 Users Say Thank You to Aztek92 For This Useful Post: [ View ] Gift Aztek92 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes