[MOD][OP5/5T] Android 10 Boot Logo and Animation

Pierre02

Senior Member
Dec 9, 2015
187
121
73
18
Champoluc - Vallée d'Aoste
pierre02.com
Bring the new Android 10 Boot Logo and Animation to your OnePlus 5 or 5T

How to install:

  • Download the ZIPs from this thread
  • Install bootanimation module through Magisk (SAR version supports system-as-root and Android 10 Dark Mode)
  • Flash logo into TWRP recovery
  • Done!

How to revert back to stock:
  • Download the rollback ZIP
  • Flash it into TWRP recovery
  • Done!
Or
  • Flash a Pie version of OxygenOS

I'm not responsable of any brick or data loss

Thanks to Dirk for the bootanimation!

Enjoy!

 

Attachments

Last edited:

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
I tried to port the bootanimation from 7 pro, but I don't know how to crop it. If someone knows how to do it, I will appreciate your help
The frames will need resizing down rather than cropping. 1440p vs 1080p, so 33%. If you want to test how a single frame looks on the OP5 simply resize it, use an image editor to center it on a 1080x1920 canvas and view it on the phone. If you resized it 33% down it should look the same proportion as the original looks on the 7Pro.

Faststone Photo Resizer is a great free tool to do batch operations like resize and crop.

The other thing you will need to tackle is the desc.txt. It will need to be altered to reflect the new reolution of your images. My guide will tell you how.

If you zip one of the frames and the desc.txt, and upload it here, i'll take a look if you want? Make sure to quote or @ mention me otherwise i won't know you've responded.

BTW. porting an existing Boot Animation is a great way to learn to how they work and a great place to begin if you plan to make your own. The guides i've written should cover every question you might have but i'm happy to help if you run into trouble.
 
  • Like
Reactions: shadowstep

Pierre02

Senior Member
Dec 9, 2015
187
121
73
18
Champoluc - Vallée d'Aoste
pierre02.com
The frames will need resizing down rather than cropping. 1440p vs 1080p, so 33%. If you want to test how a single frame looks on the OP5 simply resize it, use an image editor to center it on a 1080x1920 canvas and view it on the phone. If you resized it 33% down it should look the same proportion as the original looks on the 7Pro.

Faststone Photo Resizer is a great free tool to do batch operations like resize and crop.

The other thing you will need to tackle is the desc.txt. It will need to be altered to reflect the new reolution of your images. My guide will tell you how.

If you zip one of the frames and the desc.txt, and upload it here, i'll take a look if you want? Make sure to quote or @ mention me otherwise i won't know you've responded.

BTW. porting an existing Boot Animation is a great way to learn to how they work and a great place to begin if you plan to make your own. The guides i've written should cover every question you might have but i'm happy to help if you run into trouble.
I tried to crop, but with a PNG 24bit output the bootanimation doesn't show up and it goes from the boot logo to the lock screen
 

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
I tried to crop, but with a PNG 24bit output the bootanimation doesn't show up and it goes from the boot logo to the lock screen
There are a few things that can trip you up if they're not correct. (All are covered in my guides). Editing the desc.txt correctly is essential, so if you think the images are correct in name and format, focus on that. For example, you have to begin a new empty line before saving the file otherwise it doesn't work. So in Notepad++ the lines of text are numbered down the left side. It might look something like:

1) 1080 1920 40
2) c 1 0 part0 #121411
3) c 0 0 part1 #121411
4) c 1 0 part2 #121411
5)

So in this example the fifth line needs to exist and be empty. Save the desc.txt as 'All Types', as below:



Another thing that can easily trip you up is creating the zip archive. Use WinRar as described in my guide. (The screenshot tells you everything you need to know).

Don't forget that you need to set permissions on the bootanimation.zip correctly if you are installing it manually. I suggest creating a flashable zip for installation. You can reverse engineer one of mine.

If you have any more issues, upload a frame from the original along with the desc.txt.
 
  • Like
Reactions: shadowstep

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
I tried to port the bootanimation from 7 pro, but I don't know how to crop it. If someone knows how to do it, I will appreciate your help
I took a look at the Boot Animation from the 7Pro. (From HERE). It's the same stock OOS Boot Animation they've been using for years. I extracted the bootanimation.zip from OOS 9.0.8 for the OP5 and put it in a flashable zip. (See attached).
 

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
No, the logo dimension at the beginning is not the same
Here's how it looks:



Left is Stock OOS Boot Animation on the OP5
Middle is Stock OOS Boot Animation on the OP7 Pro
Right is adjusted OOS Boot Animation on the OP5*

*After adjustment the Logo is about the same proportion on both devices. To acheive this, begin with the OP5 Stock OOS bootanimation.zip. Resize all frames to 530x663. Edit desc.txt to:

530 663 60
p 1 0 part0
c 0 0 part1
c 0 0 part2

Repack bootanimation.zip. Put in flashable zip. (See Attached)

You may of course still want to play with size/placement yourself. Feel free to alter as you wish, (and if you'd rather it wasn't here at all i will remove it).
 
  • Like
Reactions: shadowstep

Pierre02

Senior Member
Dec 9, 2015
187
121
73
18
Champoluc - Vallée d'Aoste
pierre02.com
Here's how it looks:



Left is Stock OOS Boot Animation on the OP5
Middle is Stock OOS Boot Animation on the OP7 Pro
Right is adjusted OOS Boot Animation on the OP5*

*After adjustment the Logo is about the same proportion on both devices. To acheive this, begin with the OP5 Stock OOS bootanimation.zip. Resize all frames to 530x663. Edit desc.txt to:

530 663 60
p 1 0 part0
c 0 0 part1
c 0 0 part2

Repack bootanimation.zip. Put in flashable zip. (See Attached)

You may of course still want to play with size/placement yourself. Feel free to alter as you wish, (and if you'd rather it wasn't here at all i will remove it).
Your work is almost perfect! THANK YOU! It's a little bit under the real logo, but it's better than the original! I put the animation in a systemless magisk module, thank you again!
 
  • Like
Reactions: Dirk

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
Your work is almost perfect! THANK YOU! It's a little bit under the real logo, but it's better than the original! I put the animation in a systemless magisk module, thank you again!
I think it looks too high on the OP7. They're really under-utilising all that vertical space with the Stock Animation.

If you do want to move the animation up a bit just add some Black canvas to the bottom of each frame. That would make each frame taller, so you would need to edit the desc.txt to match the final resolution of the frames.



Left is adjusted Animation as already posted.
Middle is the result if 100px of Black canvas added to Bottom of frames.
Right is the result if 200px of Black canvas added to Bottom of frames.

You can exptrapolate from there.

Edit: Remember, whatever you decide to do with the height placement, the proportion is only for 1080p devices. For larger resolutions you would need to create another module and resize the frames again to suit. (For 1440p devices you could just use the original 7Pro frames without resizing)
 
Last edited:

Dirk

Senior Member
May 11, 2009
12,424
3,808
0
Perhaps we can call upon @strongst to wield his mod power to tidy up the thread for the OP? I'm sure Pierre would like to have a nice clean first page to post his work in and for further discussion of it. Everything from post # 3 down serves no more purpose now and could be removed. :good:
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,178
7,861
263
30
Ambala
Perhaps we can call upon @strongst to wield his mod power to tidy up the thread for the OP? I'm sure Pierre would like to have a nice clean first page to post his work in and for further discussion of it. Everything from post # 3 down serves no more purpose now and could be removed. :good:
On the contrary, I think those posts are very useful and serve as good reference points for someone wanting to do this on their own and wanting to learn. In my opinion, they definitely shouldn't be removed.
 
  • Like
Reactions: Dirk

Pierre02

Senior Member
Dec 9, 2015
187
121
73
18
Champoluc - Vallée d'Aoste
pierre02.com
Perhaps we can call upon @strongst to wield his mod power to tidy up the thread for the OP? I'm sure Pierre would like to have a nice clean first page to post his work in and for further discussion of it. Everything from post # 3 down serves no more purpose now and could be removed. :good:
Absolutely not! Your posts are very very very helpful to understand the structure of a bootanimation, and can be useful to some people. Please don't delete them :D
 
  • Like
Reactions: Dirk

Oswald Boelcke

Forum Moderator / Recognized Translator
Staff member
Apr 13, 2016
9,735
12,834
243
64
Preserving Air Supremacy over XDA
en.wikipedia.org
The team is always ready to clean a thread from whatever the OP deems to be off-topic. Just a brief report is needed. But it requires the OP to "complain" who can also provide guidance regarding off-topic in his OP.
However, everybody is requested to immediately report any post that violates the XDA Forum Rules. Please never reply to such a post.