yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] In_a_state:
I am using GB and a couple others.

I've disabled GB, rebooted, tried the app, no change. Enabled GB back, rebooted, your app now works as intended!

I do wish the animation was faster and quicker to trigger, like the LineageOS one, and wouldn't work like the device was a slow one.

Thank you!
[Xposed Framework Modules] gkillershots:
This is hard to achieve, since we are doing a external hook from a java library

Native animations of this kind usually are built in C which do a direct call

For comparison, this approach does something like

Kernel -> Java -> android library (I'm turning the screen off) -> java -> xposed -> this app -> java

Versus C

Kernel -> library -> kernel
[Xposed Framework Modules] gkillershots:
[MENTION=4397000]Ubimo[/MENTION]

like this?

screenshot found from the original galaxy note
[Xposed Framework Modules] gkillershots:
NEW VERSION RELEASED

changes:

new animation

small optimization on crt on

screen flicker at screen on animation reduced time and frequency

released in version 1.5, go check it out
[Xposed Framework Modules] Ferbee:
Hey

I'm on the note 8 and if I keep my phone screen off for like 2 minutes, the animations get buggy, and my screen goes black, resulting in me needing to force reset
[Xposed Framework Modules] gkillershots:
wow, that´s weird

check if adb still works and I'll help you gather xposed logs from there if yes

seems like your phone is on a state I didn't see since android 2.3~4.1.2
[Xposed Framework Modules] Ferbee:
It's only when the always on display is on...

I've turned it off now, because I don't really fancy the AoD anyway ? and I've got no problems
[Xposed Framework Modules] gkillershots:
hahaha I'm glad it works

but could you still send me a xposed log for the issue?

It'd be better if at least I tried to fix this
[Xposed Framework Modules] Pain-N-Panic:
I'm running an OG pixel on 8.1 rooted with magisk and using Xposed beta1. Module is not working. There's no effect on either screen on or off animation. Could the culprit be Xposed? I was thinking I may need to upgrade to the latest beta build.
[Xposed Framework Modules] royal_eagle:
Same here with 1.5 version

It's working after phone reboot, i mean second reboot once the effect is set, so weird as i don't have such issue before and i'm not using oreo even the preview option is not working if yiu don't reboot a second time.

Btw, the added effect is so coolll.

Thank you Man
[Xposed Framework Modules] Ubimo:
What effect? I dont see any difference between 1.4 and 1.5? :confused:

Or do you mean the CRT off effect added to the phone in general?
[Xposed Framework Modules] LORD.ABUMOHAND:
it's not working on OOS 5.0.2 OP5. Any Solutions?
[Xposed Framework Modules] Pain-N-Panic:
Hmm. I'll install again, reboot, choose effect then reboot twice lol. Gonna take 10% of my battery to do this!
[Xposed Framework Modules] gkillershots:
Well, my xposed is at beta2

I would give it a shot

Well, I think I should then modify the code to don't affect the non oreo users because I changed it for everyone.

Did it work? hahaha

Only the new version?

And both of you, please send me xposed logs

He's probably talking about side fade effect from version 1.5

Version 1.5 has one extra screen off effect, one small performance optimization on crt on animation and a small attempt to reduce screen flickering while playing screen on animations
[Xposed Framework Modules] Pain-N-Panic:
It did not work. Also tried as many combinations of messing around in the settings and rebooting I could think of. Just couldn't get it to work.

I've taken regular logcats before but never an "Xposed log." I'll figure it out, do a fresh install of your latest build and see if I can give you something useful. Thanks!
[Xposed Framework Modules] gkillershots:
Xposed Installer -> logs -> save log to sd
[Xposed Framework Modules] Pain-N-Panic:
Here it is. Says something about not being able to remove the stock screen animation.
[Xposed Framework Modules] gkillershots:
I also have this message on mine, but it still works for me

Well, I have no idea of what the problem is only by the logs

Maybe is something about systemless xposed

Looks like you are only using my module, is any module working at all? (if no, it's probably a xposed issue)

Is the "this module is not activated in xposed installer" message showing up? (if yes, it's probably a xposed issue)

Are you using the systemless xposed's xposed installer? (if no, use it, it's required)

Which version of xposed installer are you running? latest? (if it's not the latest, download it, because it's required)
[Xposed Framework Modules] Pain-N-Panic:
For that trial I disabled all other mods so the log wouldn't be cluttered with useless information. All other mods I'm using work fine.

I am not receiving the "this module is not activated" error.

I am using the latest systemless Xposed installer.
[Xposed Framework Modules] gkillershots:
Well, it looks like maybe systemless xposed installer can't hold XSharedPreferences in memory when picked through zygote process

But hold on, on this weekend (maybe) I'm going to try systemless xposed to see if I find any solution or at least problem reproduction
[Xposed Framework Modules] yo_honey:
please tell me Which apk I habw to install for Redmi 4 Miui 9.1 Android 7.1 ?

thanks
[Xposed Framework Modules] Pain-N-Panic:
Thank you sir!
[Xposed Framework Modules] MOAMEN123:
GOOD work
[Xposed Framework Modules] MOAMEN123:
Amazing

I liked it
[Xposed Framework Modules] gkillershots:
New release

fix:

checks if your phone is running Oreo before applying the Oreo's fix, because phones were supposed to work even if it was applied

but since some users reported it failing I decided to do this

[MENTION=5188663]Pain-N-Panic[/MENTION]

please try this new version too
[Xposed Framework Modules] paul222008:
Can i ask, why does this mod doesn't shows on xposed repo or the xposed application?
[Xposed Framework Modules] yo_honey:
please tell me Which apk I have to install for Redmi 4 Miui 9.1 Android 7.1 ?

thanks
[Xposed Framework Modules] Pain-N-Panic:
Really appreciate your continued work on this module! Unfortunately it had no effect :( still just won't work.

I also think it may be a pixel issue and not an Oreo issue. In another thread, an Oreo user advised this module was working for him. I don't believe he was running a Google pixel however.
[Xposed Framework Modules] gkillershots:
latest version always

because I need to send it for them

I didn't made it because I wanted users to come here and interact with the thread

also I can see how many downloads I'm having

I think it may be a systemless xposed issue on your Api level, your app problem is that xshared preferences aren't loading/staying in memory

I'll continue to think on ways to fix your problem

what we can also is build a permanent app just for you (you say wich animation you want and I do a code which will only load that one so you won't need settings)

as a temporary fix

pm me if you have interest (but I'll be slow answering because I'm a really really busy man) (btw, it's for free)
[Xposed Framework Modules] Iye Vice:
v1.6 installed, reboot - not working. 1 more reboot - working flawlessly. RR 5.8.5. Thanks for oldskool CRT vibes!;)
[Xposed Framework Modules] Pain-N-Panic:
I really appreciate your dedication to getting this issue fixed! However, I will have to decline the offer. Doesn't make sense for anyone to go through so much trouble because my stupid systemless Xposed isn't compatible. I'll keep monitoring this thread, maybe future Xposed versions will make it compatible.
[Xposed Framework Modules] Pain-N-Panic:
[MENTION=5347345]gkillershots[/MENTION], so I have an update. A user in a "working Xposed modules for Oreo" thread stated he has this module with animation working on Nexus 6P running 8.1 Feb security patch. He posted a screen shot of his magisk module...he's running the systemless api 27 beta-3 version of xposed. Same as I am.

So maybe it's not a systemless issue after all?
[Xposed Framework Modules] gkillershots:
I was having problems installing my xposed systemless-ly

This weekend I managed to do it and the module also worked...

Are you running the latest magisk version?

My problems with xposed + magisk were fixed only with the latest Beta release and Systemless Xposed Installer

Could you try it?

My phone is configured:

Magisk 15.4 Beta

Systemless Xposed 90.1-Beta3

Xposed installer 3.1.5 Systemless

Sdk 26 (sorry, not 27 because of asus)

Android oreo 8.0.0

Security patch January 1st

Magisk Superuser only

Expected behaviour:

When activated the message of it being inactive won't appear

When you toggle on the animations it won't work until a reboot

If you reboot without selecting your animation, then select them and reboot again (any XShared Preference changes won't be commited)

Try like this:

Latest magisk beta

Latest xposed installer (systemless version)

Install the latest Screenoffanimation app from here (not from the Xposed installer app)

Enable screen on and off animations

Select one

Go to xposed installer and click "Optimize apps now"

Leave it optimizing (it takes a long time)

Reboot twice
[Xposed Framework Modules] Pain-N-Panic:
So I finally got your module to work...I deleted every other magisk module I had installed and only left the Xposed module for magisk.

Did a fresh download of your app, installed, rebooted and voila, it works! All the animations work like a charm.
[Xposed Framework Modules] gataahaythem:
Working perfectly fine on my LG G6 running stock LG UX , thank you ❤️

Update : found a bug , the Always on display doesn't turn on when I pull the phone out of my pocket , should i upload the logs ?
[Xposed Framework Modules] gkillershots:
Yes! I was looking for some always on display enabled phone so I could look at it, because it's a known bug

Xposed logs and logcat of that moment if you can please
[Xposed Framework Modules] gataahaythem:
If i did anything wrong tell me , this my first time dealing with logcat and stuff
[Xposed Framework Modules] gkillershots:
It don't really tell anything

And I'm actually waiting for a stable xposed release to dig deeper into it
[Xposed Framework Modules] avik735:
Not working in Mi Max 2 in RR 5.8.5.
[Xposed Framework Modules] CrimsonBloodfang:
It works on my Huawei P8 Lite (2017) with LineageOS 14.1, thanks!

---------- Post added at 03:18 PM ---------- Previous post was at 02:22 PM ----------

I've noticed that when turning on the screen, there will be a "blink" first then the screen on animation of this app will show afterwards.

I have pincode and fingerprint security turned on for my device by the way, so the first thing I see after turning on the screen is the Lock screen. Using LineageOS 14.1 Rom.

Is it possible to remove that blink animation so it won't interfere with this app's animation? I'm using the Fade Tiles animation for both screen off and on and at 100 ms speed.
[Xposed Framework Modules] gkillershots:
which android version?

xposed version

xposed logs

I need info to figure out what's wrong
[Xposed Framework Modules] gkillershots:
this is a known bug

does it happen everytime for you or only sometimes?
[Xposed Framework Modules] CrimsonBloodfang:
It happens every time, only when I'm welcomed by the lock screen. But I use fingerprint unlock so the device instantly opens on the home screen and blinking won't occur.
[Xposed Framework Modules] cyan pac:
What's the real reason this app can't run without xposed. Can't this somehow just run with root?
[Xposed Framework Modules] nextheart:
May be this helpful to you.

https://play.google.com/store/apps/details?id=com.iglint.android.screenlockpro
[Xposed Framework Modules] cyan pac:
thank you for that. I didn't know that app existed. What I'm trying to say is with root i can bind another action to my power button/hardware buttons. Also with root i can turn my screen off. A magisk module of this app from what i understand is possible but very hard to do.
[Xposed Framework Modules] Senliast:
Guys i use it on my Galaxy S7 with Android 7 Nougat (Samsung ROM) and sometimes my device just random reboots or sometimes when i turn off the screen it freezes for a few seconds and then reboots.

When i disable the module- everything works great. Please fix the work of module on Samsung ROMs!
[Xposed Framework Modules] stiw47:
Hi [MENTION=5347345]gkillershots[/MENTION]. First of all: Thanks for your work.

Long story short:

-Phone: Xiaomi MI 6 aka Sagit

-Wasn't work on Resurrection Remix v6.0.0-20180220-sagit-Unofficial, no preview available as well

-Was work on current rom, crDroid 8.1-20180315-sagit-v4.0 (didn't tested preview if working :( )

-Stoped working on current rom, crDroid 8.1-20180315-sagit-v4.0, and cannot run it successful any more.

Attached are Xposed log and logcat, so please take a look if you have any time and if you want. Issue was reproduced between 06:30 and 06:40 , April 04. Please let me know if logs aren't good and how to catch them, thanks.

View attachment xposed_error_20180402_063755.log

View attachment logcat.txt.zip
[Xposed Framework Modules] gkillershots:
I need to see some logs from thoose moments, I can't just guess what's wrong

Also, a user reported that the always on display was causing him issues, this is written in the bugs section

Did you try turning it off?

There are no apparent errors on the logs, but

By the time oreo has been introduced, users are reporting to need to reboot twice before using the app

I'd try reinstalling the app some 2 or 3 times, because while developing this oreo version I noticed that the same app would randomly not work

Also the animations won't work instantly like before, activating and working, you need to select the ones you want and reboot

Could you try an earlier version if none of thoose work (maybe the 1.5)?

Because there are no broadcasts sent to the app telling that your screen is being turned on or off

Also you can't interrupt the proccess of doing so

What xposed does is forcing the system to warn the app that the screen is being turned off (or on) and then running the animation code before

You can do this with root and magisk, but you would need to do this for every different phone in every different rom for it to work

With xposed only one app will be suitable for 90%+ of the phones

With root 1 app would suit 1 phone on 1 specific rom (even updating would require a new mod)
[Xposed Framework Modules] Danielhammons1:
Downloaded through the app and it did awesome!

Confirmed working on lg stylo 2 plus 7.0 (stock rooted)
[Xposed Framework Modules] CrimsonBloodfang:
I just noticed that the module version 1.6 that I'm using, isn't available on the "VERSIONS" section of ScreenOffAnimation in Xposed Installer.

So if there's an update, I won't be notified unless I visit this thread.
[Xposed Framework Modules] orkavaneger:
Tried on my Galaxy S8 8.0. Does nothing except makes the default lock screen animation stutter a bit.
[Xposed Framework Modules] buddy66:
Same here on S9+ on Android 8.0 with stock rooted ROM.

[MENTION=5347345]gkillershots[/MENTION], any chances for Samsung support?
[Xposed Framework Modules] gkillershots:
I don't know it this would be fair since I don't own the app, I just maintain it since it's original developer never said anything about it since 2014 I think

I'm sorry guys I just got stolen so I actually have no phone with me with android 8 anymore

about the Samsung support, I want my next phone to be a samsung so when I do buy one I'll take a look into it

(but first I'm waiting a Samsung phone to be shipped with a treble enabled system)
[Xposed Framework Modules] 1qazwsx4:
Love this mod but unfortunately I haven't been able to get it working on Oreo 8 or 8.1 roms, only nougat based roms. Has anyone had any luck on Oreo roms?
[Xposed Framework Modules] nextheart:
Working well on 2 different devices with 8.1 in custom roms.
[Xposed Framework Modules] Defolt_17:
No animations shown

Hello, I am using rooted OnePlus 6, Android 8.1. I installed xPosed FW, and downloaded SceenOffAnimation, rebooted phone ( xPosed FW was saying that everything is installed ) I opened App and pressed demo button - nothing.

So, no animations shown after install.

Loos like something is preventing showing additional elements on screen. App havent requered any permitions while install.

Plz help it looks super cool.
[Moto Z Questions & Answers] Zephalon:
Hi,

sorry if i'm the 100th person to ask this question but how can i go back to the stock ROM with OTA?

I currently have a flavor of LinageOS with the Turbo Z kernel installed on my phone but it's just to buggy for me. I want to have root access on my phone for various reasons though.

I tried to just download different (6.0/7.0) stock ROM files but i can't install them with TWRP. I know that 7.1.x was released but i can not find the ROM for it.

What is the easiest way to just go back to a stock ROM? I know my way around the console but i don't want to brick my phone. I made backups of my files and also with TWRP so data loss is not an issue.
[Moto Z Questions & Answers] lollyjay:
https://xdaforums.com/moto-z/how-to/how-to-update-to-official-7-1-1-moto-z-t3640298
[Moto Z Questions & Answers] bert269:
First things first.

On which bootloader are you, MM or are you on Nougat. If your device has been flashed with the 7(N) bootloader, you cannot flash the 6.0 stock, you will have to stay of 7.

Use the fastboot flash / erase commands, as in this thread:

https://xdaforums.com/showpost.php?p=73119650&postcount=1

If at any stage your phone get bricked, ie, black screen after reboot, no charging, etc. Use these instructions. They saved me in the last week from returning my device for a replacement(and paying $350.00):

https://xdaforums.com/showpost.php?p=71874880&postcount=1
[Moto Z Questions & Answers] Zephalon:
Does this work for the EU version too? I'm not sure if the baseband thingy is compatible. I'll need a EU ROM otherwise but i can't find any for Android 7 :/

I've already updated to Android 7 so i guess i've to use a stock Nougat ROM.
[Moto Z Questions & Answers] bullfinch110:
Read my last post on page 15 of this thread

https://xdaforums.com/moto-z/how-to/guide-how-to-root-moto-z-supersu-t3551113/page15
[Moto Z Questions & Answers] Byte_76:
Where can I find the stock recovery for XT1650-03 RETEU without downloading an entire ROM zip file?

I have stock 7.0.0 with TWRP and Magisk 13.3.

I want to install the stock recovery so that I can install the 7.1.1 OTA which is available on my device, after which I will flash TWRP and root again. Will this work?
[Moto Z Questions & Answers] bullfinch110:
If you didn't take a backup of your stock boot and recovery before, then i think you'll have to go the long way by flashing the whole rom.

If you manage to install the 7.1.1 OTA after that, boot once into TWRP, backup stock recovery & boot and save it on your sdcard/pc. Then you can start flashing TWRP permantly, root, etc

Someone correct me, if I'm wrong.
[Moto Z Questions & Answers] lollyjay:
What is your build number?
[Moto Z Questions & Answers] Byte_76:
The current build number is NPLS25.86-30-12
[Moto Z Questions & Answers] lollyjay:
Here is my recovery.img for NPLS25.86-30-12

https://drive.google.com/file/d/0B3gcDbDvV4MkOHhPd0lBVE9IMzg/view?usp=drivesdk

It should work for reteu also if not you can just reflash twrp:cyclops:
[Moto Z Questions & Answers] Byte_76:
Thank you!

---------- Post added at 12:31 AM ---------- Previous post was at 12:15 AM ----------

Your recovery works on my Moto Z.

I now have stock 7.0.0 rooted with Magisk 13.3, stock recovery and unlocked bootloader.

If I proceed with the 7.1.1 OTA, will it work?
[Moto Z Questions & Answers] lollyjay:
You must have fully stock. I would suggest that you uninstall Magisk
[Moto Z Questions & Answers] Byte_76:
The reason that I installed Magisk is because after unlocking the bootloader with the stock rom, it would not boot anymore. Installing a custom kernel or Magisk solves that issue.
[Moto Z Questions & Answers] lollyjay:
I still would suggest that you uninstall Magisk because the OTA would not work.
[Moto Z Questions & Answers] Byte_76:
Okay I uninstalled Magisk which initiated an immediate reboot and resulted in a bootloop just after the bootloader message.

I think the issue occurs because the Data partition gets encrypted when root is uninstalled and decrpyption fails because of a bad key due to the unlocked bootloader.

To recover, I used TWRP to wipe/format the Data partition and then flashed the no_verity zip file from the thread below which disables encryption. I then ran "fastboot continue" after which my phone booted back into Android:

https://xdaforums.com/moto-z/help/bricked-moto-z-unlocking-bootlader-t3634701

My phone status was then: Stock Android 7.0.0, no_verity patch (no encryption), stock recovery, unlocked bootloader.

So my phone is about as close to stock as I can get it with unlocked bootloader.

I finally attempted to install the 7.1.1 OTA again. It reboots and indicates that it is installing and then pops up with a message that says "Error".

Pressing the power and up button brings up the recovery screen with the error log (with info that I don't understand) and from there I can reboot into system again where I get another message indicating that the update failed and no changes were made.

I'm hesitant to install RETBR or other non-RETEU roms (Because although they might work, there probably are some differences such as LTE bands etc. and they are not actually correct for my phone) so I'm not sure how else to get to 7.1.1 unless the wifi issue is resolved with the image that Erfanoabdi uploaded in another thread or Lenovo releases an official 7.1.1 firmware package for the RETEU model.
[Moto Z Questions & Answers] bert269:
You still have a modified ROM as you flashed "no_verity patch"

The best for you would be to search for your version of ROM and FASTBOOT FLASH everything back.

Then see if the 7.1.1 OTA wants to stick.
[Moto Z Questions & Answers] Byte_76:
So far I have been unable to find the official RETEU firmware from Adnroid 7.0.0 and I'm hesitant to flash the firmware for another region because it isn't technically correct for my phone and there are likely small differences that might become an issue at a later stage. (Maybe the LTE bands are different etc...)
[Moto Z Questions & Answers] bullfinch110:
The LTE band on RETEU is 20 and stays 20 with RETBR. No change and everything works. No issues with LTE.

As I mentioned before, the RETBR version is the only working 7.0 backup for RETEU devices. After flashing RETBR , the softwarechannel changed automatically into RETEU. With this, i took the OTA 7.1.1.

Btw. the 7.1.1 OTA doesn't even change the boot loader Nr.( 0x9107). That means, if you mess up with 7.1.1 you can safely downgrade to 7.0 by flashing RETBR (and take a fresh 7.1.1 OTA again)

Did that twice without issues.(for security reason i always skip the two lines with "bootloader" and "gpt" at the top of the flash commands)