• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root little script for bootlogo changing

I would love to have a script that I can set to run on boot with like jrummys rom toolbox that will cycle through a bunch of different bootlogos. I can't seem to get this right:thinking:. I have all the bootlogos on my phone already. Please help! Thank you

Are you talking about the bootanimation or the splash screen? The splash screen is the motorola that pops up when you frist boot. The bootanimation is the motorola water drop followed by the virgin mobile part. Sorry if I treat you like a N00B. I don't know you and someone else might need the help.
 
Upvote 0
The splash screen (however mine hasnt been the stock for a looooong time ;) )

This forum has been my main learning environment. That's why I try to post over complete.
The script would need to remount the partition (I don't know which it is) as writeable, then have a randomizer, and a groupe of pictures. I presume you have busybox already. It comes with most ROM that I see.

I'm not very good with writing scripts, but I think it would need to start with calling bash (I'll look it up later), remounting the partition, doing the randomizer, then associating the result with the pics.
 
Upvote 0
So the code to install a boot logo via terminal emulator for the triumph is:
Code:
su
Mount Dev/block/mmcblk0p1 sd-ext
Cp sdcard/splash.img sd-ext/image/splash.img
Can anyone help make them cycle? Like if I set it to run on boot it will do
Code:
Cp sdcard/splash1.img  sd-ext/image/splash.img
the first time, and
Code:
...splash2.img ...splash.img
and cycle?
 
Upvote 0
So the code to install a boot logo via terminal emulator for the triumph is:
Code:
su
Mount Dev/block/mmcblk0p1 sd-ext
Cp sdcard/splash.img sd-ext/image/splash.img
Can anyone help make them cycle? Like if I set it to run on boot it will do
Code:
Cp sdcard/splash1.img  sd-ext/image/splash.img
the first time, and
Code:
...splash2.img ...splash.img
and cycle?

The splash.img has to be named that. I'm looking at how to randomize in a bash script. I think you want to cycle through, though. I don't know enough to be able to read what they are writing yet. I think it would need to start like this
Code:
#!/bin/bash
Mount Dev/block/mmcblk0p1 sd-ext
for "some variable" 
cp (directory path to the source)/"some variable" sd-ext/image/splash.img
umount sd-ext

I'm not sure how to actually make the link to the variable. What I am thinking is during the boot process, after the splash.img, it will update the image. I think it would be wise to unmount the partition.
 
Upvote 0
That's for flashing one splash at a time in recovery. I want it to cycle through a bunch of different ones (I.e. change it every time the phone boots). I just am asking how to write a script that can keep a cycle, so I don't need to flash it each time.

actually there might be a solution to that as well, and keeping it in recovery...

lookup "aroma installer" its a install zip add-on that implements a touchscreen menu from any recovery and lets you pick install options. so that means you can make a package that lets you choose from multiple splash screens :D

i might actually work on something for you... give me some time though, im on vacation and i have some projects to work on for other users
 
  • Like
Reactions: jasonator39
Upvote 0
I just looked up aroma and it just....awesome! It will take me forever to figure out how to use it :-/ but the truth is that it still wont help this project. I'm lending a triumph to a friend who has 0 tech skills but still wants it to be "as freaking awesome as yours". So I need it to be automated. I have put a bunch of scripts that either have a button (widget) or run on boot... but for the life of me I can't get it to cycle. But I'm definitely going to make a giant aroma installer with a bunch of Roms, kernels, bootlogos and animations, and apps...
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones