How to change bootanimation (unrooted)?

Hello together
My FP3+ runs LOS 19.1 and I would not like to root it permanently.
If possible, I would like to modify the bootanimation.zip.
I enabled root debugging in the developer options and started adb as root.
then I tried
adb push bootanimation.zip /system/product/media/bootanimation.zip
Unfortunately this ends with
remote couldn’t create file: Read-only file system
mount -o rw,remount /system
ends with
mount: ‘/system’ not in /proc/mounts
which I believe means that permanently root access is needed. Am I right? In earlier releases of LOS, there was an developer option to gain root until next reboot (or so). Is there still anything like this?

Did you try to boot TWRP (without flashing it) and write the file from there?

No, not yet.
I read about this option and this dm-verity thing. As I did not understand everything except, that it can unrepairable boot-loop my device, I was hoping, someone could give more detailed instructions about what to do and (even more important) what to avoid.
Did you use this method to change bootanimation, or was your question more or less theoretic? Can you please give (or point to) detailed instructions?

Sorry, changed it years ago using TWRP on a FP2. Didn’t bother to change boot animation since then. So the idea was more theoretic, indeed…

As most often: the longer you have to seek, the more simple is the solution.
After a good time of searching, I found it somewhere in the net.
While I tried to remount in an “adb shell”, I had to do it directly.

So this worked for me on a FP3+ with LOS 19.1:
adb root
adb remount
adb push bootanimation.zip /system/product/media/bootanimation.zip
adb reboot

Of course, you have to enable USB-Debugging and Root-Debugging in developer options. As far as I can see, the “remount” is not permanent. /system is read only again, after the reboot.

I tried two 1080 resolution samples from

with success.

4 Likes

btw. I found, that changing the boot animation is not permanent
The weekly update will overwrite it.
When it comes to me, this is no problem at all.
I take a backup before every update, so my phone is connected to my pc.
re-applying bootanimation.zip takes seconds.

3 Likes