PowerOn Sound on Firefly RK3288

Hi all,
Anyone knows how to have PowerOn sound enabled on FireFly RK3288?
I have copied the “PowerOn.ogg” file on “/system/media/audio/ui” but this doesn’t work and have no sound at boot time?! Set the full permission and still no sound!

For Your Info, I have made my own “bootanimation.zip” and placed in “system/media” folder and now have my own boot animation but the sound doesn’t work!!!

Any idea?

Put boot.ogg in /system/media/audio

That works mate, many thanks… :slight_smile:

By any chance, do you know what the name of the ‘shutdown’ file should be and where I should place it?

I appreciate your help again…

Here is answer to my above question:

I have searched through the Android SDK files for Firefly RK3288 and have found that the main C++ file defining the Bootanimation is :
./frameworks/base/cmds/bootanimation/BootAnimation.cpp

In there, the boot music is defined as well and that’s why the name should be “boot.ogg” to work.

I also have found that we can have “shutdownanimation.zip” similar to “bootanimation.zip” file but there is no function for shutdown and FireFly does nothing at the time of shutdown unless you manually define whatever you need to have:

void BootAnimation::checkExit() {
 // Allow surface flinger to gracefully request shutdown
    if(mShutdown)//shutdown animation
        {
        return;
        }

As you see, it simply exits the routine and further on the code it calls the power off java routine to turn the system off.

Your article really shocked me; thank you for sharing! Wishing myself success in the upcoming 300-535 valid braindumps ppt exam!

That article was incredibly enriching and thoughtful. The Pdf FCSS_ADA_AR-6.7 version questions were instrumental in my promotion and raise, and I’m sharing them with you today at no cost!

That article was a real eye-opener for me. I’m sharing the Valid New-Jersey-Real-Estate-Salesperson exam answers test that helped me get promoted and receive a salary increase. It’s free for you today—wishing you success in your career!

Die SAP C-OCM-2503 Prüfung macht man wirklich besorgt. Vielleicht vertragen Sie nicht mehr die große Menge von Prüfungsunterlagen, dann lassen Sie SAP C-OCM-2503 Prüfungssoftware von Zertpruefung Ihnen helfen, die Belastungen zu erleichtern! Unsere professionelle IT-Profis haben die anspruchsvolle SAP C-OCM-2503 Prüfungssoftware entwickelt dadurch, dass die komplizierten Test-Bank geordnet und die Schwerpunkte der Prüfungen in den letzen Jahren analysiert haben. Trotzdem aktualisieren wir die SAP C-OCM-2503 Prüfungsunterlagen immer weiter. Innerhalb einem Jahr nach Ihrem Kauf geben wir Ihnen sofort Bescheid, wenn die SAP C-OCM-2503 aktualisiert hat.