[SOLVED!!!!] Cannot get bootsound to work on Harmonia

Re: Cannot get bootsound to work on Harmonia

Fresh install. Typed the commands. Rebooted. No boot sound.

:(

I don't know what to do at this point.
 
Re: Cannot get bootsound to work on Harmonia

Thanks for helping with this Bigsupersquid.
 
Re: Cannot get bootsound to work on Harmonia

Ill look into modifyinghte script in the morning just popped in to check on this been a eventful evening.

Thanks squid!

Panda I know today when I installed harmonia I had residual stuff from IHO then I did a freash factory reset and wiped via the advanced menu and cleared boot and system then the rest once more. That got rid of the leftovers.
 
Re: Cannot get bootsound to work on Harmonia

I see all kinds of comments about recoveries not completely wiping partitions.
I don't know what the deal is there.
Weird. I tried a fresh install of harmonia over a wipe of boot, system, data, cache, and dalvik-cache with xionia cwma 125186; no apps installed. made the subdirectory and adb pushed the PowerOn.mp3 file into the new /system/sounds/poweron/ directory. rebooted and I had sound effects.
if you had residual boot animation, maybe you need to wipe the boot, system, and data partitions twice.
sorry, but I'm out of ideas. Hopefully you get it going.
 
Re: Cannot get bootsound to work on Harmonia

I see all kinds of comments about recoveries not completely wiping partitions.
I don't know what the deal is there.
Weird. I tried a fresh install of harmonia over a wipe of boot, system, data, cache, and dalvik-cache with xionia cwma 125186; no apps installed. made the subdirectory and adb pushed the PowerOn.mp3 file into the new /system/sounds/poweron/ directory. rebooted and I had sound effects.
if you had residual boot animation, maybe you need to wipe the boot, system, and data partitions twice.
sorry, but I'm out of ideas. Hopefully you get it going.

Squid this was with the IHO recovery as well. The factory reset within the recovery doesnt wipe system or boot and I think that is where we are having leftovers.
 
Re: Cannot get bootsound to work on Harmonia

ah, yes, I never use the factory reset option, I manually select each format option in recovery. Have considered making a full-wipe zip for boot, cache, data, and system, but haven't gotten around to it since it only takes a minute to manually wipe 'em all.
I know a few of the updater-scripts I've looked at format system, but I've never seen one format boot or cache.
 
Re: Cannot get bootsound to work on Harmonia

final edit: your script , eollie, probably isn't working in froyo roms because unless it's specifically added by the dev, init.local.rc isn't run by init.rc on startup.

Ok now im awake and not half dead. I was thinking about editing the script to put the call for bootsound in the init.rc but after talking with another person they said it might work and it might break the phone. So decided against it as I really dont want to deal with peoples bricked phones lol.


Im curious squid did you only put the mp3 in the poweron folder?


Im also curious as I just thought about this. Looking at the cm7 init.rc it has a call to import the init.local.rc, I could edit the script to echo that call to the init.rc right? Im not sure what call to use to put it in the init.rc I dont want to put multiples in there but if its not present copy it over.
 
Re: Cannot get bootsound to work on Harmonia

the only way to change init.rc is to split the boot.img, edit init.rc in the ramdisk, and repack it as a new boot.img, since /init.rc is overwritten on every reboot by the one in the ramdisk.
yeah, cm7 has a lot of user-friendly tweaks like init.d scripts and init.local.rc which froyo roms don't usually; I don't think the froyo derivatives had as much modding done. I know that harmonia (also the lightly modded/rooted/de-bloated stock rom by asadullah) does not call for either of those tweaks in the init.rc, haven't looked at bumblebee's to see about it.

I created the poweron directory since it didn't exist, but /system/sounds did exist. Then just copied in the PowerOn.mp3, and it worked automagically.

without changing the ramdisk in the boot.img, I don't know of any way to make stuff run on boot in the froyo roms without using the regular android programming tweaks like an app asking for start-on-boot permissions.
 
Last edited:
Re: Cannot get bootsound to work on Harmonia

That makes sense. I dont understand why its not working for panda unless there is a call somewhere that is overriding something. But a fresh install and doing as you stated SHOULD have worked.
 
Re: Cannot get bootsound to work on Harmonia

In Harmonia's first post I recommend using the factory wipe (IN RECOVERY!) and then in advanced wiping Dalvik. This usually clears out enough that people don't experience trouble, I think the only thing it misses by doing this is Boot, which you really shouldn't need to do.

I suspect that the OP messed around and tinkered so much that nothing would work anymore. At some point you start chasing your own errors. It's best to start clean after a bit and try again from a different angle. I honestly think a good wipe, clean install and putting it in the proper folder will fix it. If not, then there is possibly an app conflicting because it should work.

One last suggestion though, has the OP tried the original PowerOn sound, because it's possible that it needs specific settings, such as bit rate.
 
Re: Cannot get bootsound to work on Harmonia

In Harmonia's first post I recommend using the factory wipe (IN RECOVERY!) and then in advanced wiping Dalvik. This usually clears out enough that people don't experience trouble, I think the only thing it misses by doing this is Boot, which you really shouldn't need to do.

I suspect that the OP messed around and tinkered so much that nothing would work anymore and it is best to start clean.

I did tinker around a lot. But then I wiped everything and started over. It should have worked after a clean install, right?
 
Re: Cannot get bootsound to work on Harmonia

Yes, it should have.

Unless something didn't wipe properly
Something is blocking it
or the file format is incompatible (not all mp3's are the same)
 
Re: Cannot get bootsound to work on Harmonia

Yes, it should have.

Unless something didn't wipe properly
Something is blocking it
or the file format is incompatible (not all mp3's are the same)

Hmmmm. The mp3. I will try a different one. But the question is, where would I find an mp3 short enough? I don't have any editing software.
 
Re: Cannot get bootsound to work on Harmonia

when I was first messing around with froyo , I used a 40-second tardis mp3 clip and it played until well after the boot completed and the sd card even had time to mount. I doubt the mp3 is the problem but it could be.

edit:
hah! shows what I know.
 
Last edited:
Re: Cannot get bootsound to work on Harmonia

It was the mp3!!! I renamed a Ramones mp3 "PowerOn", placed it in the proper folder, rebooted and it played on the first Harmonia screen till the lockscreen showed. Hooray!!! It is fixed!!! But what I really wanted was for the "Warning..." sound to play. I guess "Blitzkrieg Bop" will do for now.

I wonder why the "Warning...." mp3 wouldn't work?
 
Re: Cannot get bootsound to work on Harmonia

It was the mp3!!! I renamed a Ramones mp3 "PowerOn", placed it in the proper folder, rebooted and it played on the first Harmonia screen till the lockscreen showed. Hooray!!! It is fixed!!! But what I really wanted was for the "Warning..." sound to play. I guess "Blitzkrieg Bop" will do for now.

I wonder why the "Warning...." mp3 wouldn't work?

ill pull it out of a backside rom tomorrow and do some tinkering it could be the original format was altered therefore it it will throw errors with some players.

I need to create a bootanimation and that sound for jerry's next build put together. The lulz that can be had..OMG.
 
8 pages of awesome R&D. Thanks to you all on sticking it out for the long haul and gratz to pandacookie.