[Module][Magisk][Pixel][Pixel 2][Bootanimation][Systemless]

Search This thread

yochananmarqos

Inactive Recognized Contributor
Feb 15, 2013
3,375
2,525
github.com
Google Pixel 3
Google Pixel 8
@dr.bathman

Some info and critique:

Magisk cannot replace the bootanimation in /system directly since the Magisk image is not mounted until after it starts. See post #7 of the main Magisk post:

For example, you want to replace /system/media/bootanimation.zip, copy your new boot animation zip to /cache/magisk_mount/system/media/bootanimation.zip with any root explorer, Magisk will mount your files in the next reboot.

To add it to a module, you would set POSTFSDATA to true and add this to /common/post-fs-data.sh:
Code:
mkdir -p /cache/magisk_mount/system/media/
cp -f $MODDIR/system/media/bootanimation.zip /cache/magisk_mount/system/media/bootanimation.zip

In all four of your modules, the MODID in config.sh is googledialercontactsmessages. The id in module.prop has the proper names.

Also, the permissions are already set in config.sh for 0755 for folders and 0644 for files. The line you added to set 0644 permissions for the bootanimation.zip is redundant and unnecessary.
 
Last edited:

dr.bathman

Senior Member
Dec 11, 2015
941
663
Vadodara
@dr.bathman

Some info and critique:

Magisk cannot replace the bootanimation in /system directly since the Magisk image is not mounted until after it starts. See post #7 of the main Magisk post:



To add it to a module, you would set POSTFSDATA to true and add this to /common/post-fs-data.sh:


In all four of your modules, the MODID in config.sh is googledialercontactsmessages. The id in module.prop has the proper names.

Also, the permissions are already set in config.sh for 0755 for folders and 0644 for files. The line you added to set 0644 permissions for the bootanimation.zip is redundant and unnecessary.
Thanks.
Will change things in n free time.
:)
 

dr.bathman

Senior Member
Dec 11, 2015
941
663
Vadodara
Pixel / Pixel 2 Bootanimations v2

Changelogs..

Removed typos
Removed unnecessary permissions
Added post fs data script (hopefully it'll solve issues with some devices in which bootanimation was not working)
Also changed id to 'bootanimation' for all to remove comflicts.
So if you're flashing new v2 bootanimation, first remove older bootanimation

Download from attachments of op post

Thanks to @yochananmarqos for this https://xdaforums.com/showpost.php?p=74507064&postcount=21 suggestions & bug reports

:)
 
Last edited:
  • Like
Reactions: yochananmarqos

XiaomiRedUser

Member
Oct 5, 2017
13
3
Many thanks. It works fine on my Xiaomi Redmi Note 4, even though I changed Pixel bootanimation to my own bootanimation. Thanks again
 

ilal2ielli

Senior Member
Oct 31, 2011
598
256
Google Pixel 2 XL
Google Pixel 4 XL
Pixel / Pixel 2 Bootanimations v2

Changelogs..

Removed typos
Removed unnecessary permissions
Added post fs data script (hopefully it'll solve issues with some devices in which bootanimation was not working)
Also changed id to 'bootanimation' for all to remove comflicts.
So if you're flashing new v2 bootanimation, first remove older bootanimation

Download from attachments of op post

Thanks to @yochananmarqos for this https://xdaforums.com/showpost.php?p=74507064&postcount=21 suggestions & bug reports

:)

Thanks for trying, but it still doesn't work on my Pixel 2 XL.
 

yochananmarqos

Inactive Recognized Contributor
Feb 15, 2013
3,375
2,525
github.com
Google Pixel 3
Google Pixel 8
Yes. There's still only stock Android for the Pixel 2.

Also, I confirm that the directories and bootanimation.zip are created in the Magisk mount folder.
Since you have the Pixel 2, I'm guessing you installed the dark Pixel 2 animation? It works fine for me on my Nexus 5X. I don't know what else to suggest.

Sent from my Nexus 5X using XDA Labs
 

Flare_91

Senior Member
Oct 10, 2012
179
96
Taranto
Sadly I've have the same situation as the pixel 2 on my xiaomi mi A1, I think at this point it's correlated to the a/b partition
 

Saswata Chakraborty

Senior Member
Jan 6, 2018
2,322
1,515
City Of Joy
Google Pixel 7a
I have Xiaomi Mi A1 and it has standard Android One boot animation which I hated the most. So I downloaded the dark Pixel 2 boot animation from the above list and extracted the bootanimation.zip from inside system/media. Then I copied it in my internal memory. After that I opened ES file explorer and went to system/media and renamed the current bootanimation.zip to bootanimation.zip1 for back up and copied the pixel boot animation zip file in the media folder. That's it! The boot animation is changed successfully. Now I am working on to change the splash screen.

---------- Post added at 06:10 AM ---------- Previous post was at 06:06 AM ----------

Sadly I've have the same situation as the pixel 2 on my xiaomi mi A1, I think at this point it's correlated to the a/b partition

Don't flash the zip file from Magisk. Just extract it and pull out bootanimation.zip from system/media. Copy it in your phone memory. Now open ES file explorer on your device and head on to system/media. You will find a bootanimation.zip file. Rename it to bootanimation.zip1 for future back up and now copy the pixel boot animation zip here that you have previously copied in your device. That's it. You now have the Google pixel boot animation. I have Mi A1 and that's how I changed boot animation. Flashing didn't work for me.
 
  • Like
Reactions: Flare_91 and NE0HP

NE0HP

Senior Member
Mar 19, 2015
595
390
Redmi K20 Pro
Xiaomi Poco F3
Now I am working on to change the splash screen.

---------- Post added at 06:10 AM ---------- Previous post was at 06:06 AM ----------

Don't flash the zip file from Magisk. Just extract it and pull out bootanimation.zip from system/media. Copy it in your phone memory. Now open ES file explorer on your device and head on to system/media. You will find a bootanimation.zip file. Rename it to bootanimation.zip1 for future back up and now copy the pixel boot animation zip here that you have previously copied in your device. That's it. You now have the Google pixel boot animation. I have Mi A1 and that's how I changed boot animation. Flashing didn't work for me.

Thanks, worked for me by following the above way on my Redmi Note 4 (Mido) running PixelExperience (8.1). Please share your thoughts if possible once you complete your work on changing splash screen as well.
 
  • Like
Reactions: The Anonymous Guy

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Here some magisk modules which can install Google Pixel (2016) & Google Pixel (2017) phones' bootanimation systemlessly.

    Available modules:
    Google Pixel (2016) dark bootanimation
    Google Pixel (2016) white bootanimation
    Google Pixel 2 (2017) white bootanimation
    Google Pixel 2 (2017) dark bootanimation (Mod made by @TECHNO_THUNDER)
    Download:
    Download appropriate file from attachments..

    Compatibility: Magisk 14.0+

    How to install?
    Flash from TWRP
    Or
    Flash from magisk manager v5.3+

    Note: Modules are full HD i.e. 1080p size.
    5
    Could you send or post correct archive, because no one link works? I wanna install it for 1+3 with magisk 17.1
    I've attached my version updated for Magisk 17 (template version 17000). It works for me on my Pixel running Pie with the September security patch. It only worked once right after I flashed the September OTA. Magisk isn't loading post-fs-data in time for it to load before the boot animation.

    Sent from my Pixel using XDA Labs
    3
    you can update template ? then do it, now you are just making blah-blah-blah and noting useful

    my zip work on my 1+5 with magisk 16.3
    Seeing how it worked, maybe you just forgot to update the template version in the module.prop. Also, the version and versionCode need to be bumped. No reason to get bent out of shape. Mistakes help you learn.

    Here's the Pixel 2 Dark version updated to template 1500:
    3
    @dr.bathman

    Some info and critique:

    Magisk cannot replace the bootanimation in /system directly since the Magisk image is not mounted until after it starts. See post #7 of the main Magisk post:

    For example, you want to replace /system/media/bootanimation.zip, copy your new boot animation zip to /cache/magisk_mount/system/media/bootanimation.zip with any root explorer, Magisk will mount your files in the next reboot.

    To add it to a module, you would set POSTFSDATA to true and add this to /common/post-fs-data.sh:
    Code:
    mkdir -p /cache/magisk_mount/system/media/
    cp -f $MODDIR/system/media/bootanimation.zip /cache/magisk_mount/system/media/bootanimation.zip

    In all four of your modules, the MODID in config.sh is googledialercontactsmessages. The id in module.prop has the proper names.

    Also, the permissions are already set in config.sh for 0755 for folders and 0644 for files. The line you added to set 0644 permissions for the bootanimation.zip is redundant and unnecessary.
    2
    I have Xiaomi Mi A1 and it has standard Android One boot animation which I hated the most. So I downloaded the dark Pixel 2 boot animation from the above list and extracted the bootanimation.zip from inside system/media. Then I copied it in my internal memory. After that I opened ES file explorer and went to system/media and renamed the current bootanimation.zip to bootanimation.zip1 for back up and copied the pixel boot animation zip file in the media folder. That's it! The boot animation is changed successfully. Now I am working on to change the splash screen.

    ---------- Post added at 06:10 AM ---------- Previous post was at 06:06 AM ----------

    Sadly I've have the same situation as the pixel 2 on my xiaomi mi A1, I think at this point it's correlated to the a/b partition

    Don't flash the zip file from Magisk. Just extract it and pull out bootanimation.zip from system/media. Copy it in your phone memory. Now open ES file explorer on your device and head on to system/media. You will find a bootanimation.zip file. Rename it to bootanimation.zip1 for future back up and now copy the pixel boot animation zip here that you have previously copied in your device. That's it. You now have the Google pixel boot animation. I have Mi A1 and that's how I changed boot animation. Flashing didn't work for me.