[Xposed Framework Modules] gkillershots:
firstly, I don't like to ask, but... you know... I like a lot when I get thanks in my threads hahahaha continuing...

ScreenOffAnimation - LATEST 3.1.0 - Updated 2024

Support for Android 13 and 14

Newer versions (3.0.0+) require Xposed version 93 or higher (tested on LSPosed only)

Also, uninstalling the old 3.0.0, 2.x or 1.x version is required to update to 3.1.0

Please, everyone having issues, keep reading the main post because I often update it.

It's the only post that's easy to find so every new thing I think that everyone must see are here.

Download links at the Attachments

Android support:

Android 14 support - latest versions (3.1.0) works (LSPosed_mod)

Android 13 support - latest versions (3.1.0) there's code for but untested (LSPosed)

Android 9 and 10 support - latest versions (2.0.0) works ( tested on 9.0 - sdk 29 - EdXposed)

Android Pie support - latest versions (1.8+) works ( tested on 9.0 - sdk 28 - EdXposed)

Android Oreo support - latest versions (1.4+) works ( tested on 8.0 - sdk 26 - xposed v90 beta 3 )

Tests:

tested by myself:

4.1.2 motorola android

4.4.2 motorola android

4.4.4 Cyanogenmod (old isn't it?)

5.0.2 stock lg (a little bit of bugs with native anims)

5.1.1 lineage os

6.0 stock asus and lineage os

7.0 asus stock

7.1 lineageos x2

8.0 asus stock

9.0 samsung stock-ish

10 some users reported

13 maybe (there's code for but untested by me)

14 Lineage Os 21 galaxy s8

tested on +- 6 phones by me in different android versions, worked on all

about other about +20 person reported working here either

if your don't work please attach your xposed logs with the "not working on x" message and I'll try to fix it

IF I ASK YOU A LOGCAT

using apps to do a logcat isn't the right way of doing it, because in case of a system crash the app will close before it can save or even see the reason, so that's why I'm giving you the adb logcat

since your pc is logging it'll see everything until there's nothing more left

this way we can see the system wide crashes

adb logcat tutorial for everyone:

https://xdaforums.com/showthread.php?t=1726238

wether you want to provide it for me or not it's your call, but I can't just guess what's wrong with your phone, I need it and it needs to be good, otherwise I won't know what's happening

CHANGELOG:

v3.1.0

Fixed screen on animations
Fixed previews
Fixed not needing reboot to switch animations
Changed UI to prevent user to doing any changes when module is not enabled
Fixed crash on entering application without activating the module on the Xposed manager

v3.0.0

really a beta version
screenoff animations work - tested on android 14 + LSPosed_mod api version 100
Previews not working
Screen on animations not working
Got some crashes on animations some time not crt-off
Crashes on opening app without xposed module being active
Requires reboot to apply changes

v2.0.0

fixed the version number because everyone kept thinking that it wasn't the correct version because I forgot to update it
fixed the preview buttons
no need to reboot after a change is done
fixed not working on newer versions of riru core and EdXposed
(tested on Xposed API v93.0, EdXposed v0.5.2.2_4683 (YAHFA), Riru v23.9)
small optimizations
changed target build version

v1.11

allows users to change the screen on animation start delay, reducing it will fix the blink issue before the animation start.
if your phone animation was starting midway, you can also increase it.

v1.10

fixed a bug that crashed the app when you tried to lock it with the screen rotated

v1.9

changed a sharedpreference setting to remove mode_world_readable

v1.8

fixed a lockscreen timeout bug that looped the animation
removed a method that used the android hidden api
inserted a xposed method call to lock the phone

v1.7

reworked from 1.5
fixed a shared preferences issue
reapplied the changes from 1.6
created a new screenshot method for new api's (the old one is gone android 9.x+
commented out a method (lol because my compiler refused to accept it)

v1.6

apply oreo XSharedPreferences fix only on Oreo devices or newer, leaving the old ones as them had always been

v1.5

side fill animation added (as requested)
small optimization on CRT screen on animation algorithm (performance optimization)
screen popup bug at screen on animation workaround(not fixed, but less frequently for me) [COLOR="Red"][B]NEEDS FEEDBACK IF IT IS BETTER OR WORSE[/B][/COLOR]

v1.4

Android oreo fix (xshared preferences fix)
devs:
gradle updated

v1.3

added crt on animation
devs only:
project ported to android studio

BUGS for 3.1.0:

You tell me

Source Code:

if you are not a developer ignore this part, just use the apk, this won't give you any advantage.

https://github.com/lucasa831/Xposed-ScreenOffAnimation

thanks to @zst123 for doing the original app here and to everyone that helped him