PowerOn.ogg doesn't play with correct permission?? - Samsung Galaxy S9 Questions & Answers

So my phone is rooted with Magisk and TWRP, of course.
Long story short I wanted to get the Galaxy S8 fanmade boot animation for my phone. But, since I flashed an One-UI based ROM (Noble 2.3), my device uses .qmg extensions for startup and shutdown.
That's not the main problem though. I got the animation to play flawlessly when powering on and off, but only the shut down sound plays. The startup one doesn't.
Both of the .ogg files are placed properly in their location (/system/media/audio/ui) and they have -rwxr-xr-x permissions. No, setting the permissions to -rw--r--r doesn't change anything. The files are named "PowerOn.ogg" and "PowerOff.ogg". Only the shutdown file is played though, and I don't know why...
I'm pretty sure that I didn't mess with anything else besides the boot images.qmg and the .ogg files and only the poweron one is faulty. No, the audio isn't corrupted at all, it can be perfectly played.
I would just want to know how is this possible since I can't make up a reason... I uploaded a video on how my phone reboots while how i want it to reboot. I also uploaded the PowerOn.ogg file for troubleshooting
Any help is wanted, tysm for reading; if there's some confusing things I can explain again

Nevermind, I tried using a different sound and it worked flawlessly. So sorry for the time bother, seems like it was just the file... :,)

Related

Boot sound not working

Hey I just flashed Baked Snacks 9.7 Kernel 3 and my boot sound isn't working anymore.
The audio is there in all three folders and my volume is up but it still isn't playing. Now this normally wouldn't be a big problem but I would like to add in different boot screens with different audio so if anyone could just help me diagnose the problem that would be really great.
Check in the Custom/resource/ folder and make sure the mp3 is still there at all.
Also, are you using a custom boot animation? If so, make sure the desc.txt file is properly written, because if not, it won't let sound play.
The sound is in the file and how should the desc.txt be written?
I **believe** that the way to make sure the sound is enabled in the desc.txt is by makin sure that it ends with the animation folder's name and not numbers or anything.
Also, make sure that there's a linebreak at the bottom of the writing. Just go to the end of the text and press enter once, and then save it.

Here's what I want to do

So here is my thing, I want a custom splash screen and boot animation but I'm running into a problem. Everytime I try to flash it using
fastboot flash splash1 evosplash1.rgb565 I get the error (failed: no remote access) or something like that.
I found out it's because my hboot is 2.10......
but I am unable to downgrade from what I have seen because my readout from adb shell is that I have the 40000 block build or something like that and because i have that build I cant downgrade and because I cant downgrade I cant have a custom splash page and boot animation.
Any ideas?
It isn't at all true that you can't have a custom splashscreen or boot animation. You can either find a flashable zip of the boot animation you want to use and flash it via recovery, or you can manually place it in the correct folder and set permissions using Root Explorer. The location of the boot animation is dependent on the rom. If it isn't flashable, it needs to be named exactly bootanimation.zip in order for it to work once you've put it in the correct folder. I usually just rename the old one and leave it there in case I decide I don't like the new one.
Splashscreens, and I might be wrong about this because I've never used a custom one, can be loaded as a PC36IMG in the bootloader. I believe there are a small handful of them that can be flashed in recovery.
Hopefully someone that actually knows something about splash screens will chime in, since I'm afraid I may be giving out bad information when it comes to that.
(from... Evo/MIUI/Tapatalk)
Thank you for your insight. The issue I'm running into is I can't figure out how to get into the folder to place the boot animation. With the hboot being 2.10..... it won't let me change anything in there.
Dboy352 said:
Thank you for your insight. The issue I'm running into is I can't figure out how to get into the folder to place the boot animation. With the hboot being 2.10..... it won't let me change anything in there.
Click to expand...
Click to collapse
Your hboot has nothing to do with it, you need to boot into the rom and do it there. You can use Root Explorer to copy/cut and paste the boot animation into the correct folder. Rename the existing one to something else, you'll need to mount as r/w by tapping the button near the top that says "mount r/w". After you've moved the new boot animation and renamed it properly (if needed), you will need to set the permissions to match the old one. You can do this by long pressing the file and selecting permissions from the list. Then mount as r/o the same way you mounted r/w. When you've finished, reboot.
You should see your new boot animation
If you don't have Root Explorer, I would suggest buying it - it will come in handy. You can also use EStrongs and I believe File Expert has an option for root access. In ES File Explorer, you have to enable root functions in settings. I don't know if you can mount r/w through the app and it may not operate the same as my directions, but it's free. For root file actions, Root Explorer is just more polished in my opinion and well worth the money.
(from... Evo/MIUI/Tapatalk)
plainjane said:
Your hboot has nothing to do with it, you need to boot into the rom and do it there. You can use Root Explorer to copy/cut and paste the boot animation into the correct folder. Rename the existing one to something else, you'll need to mount as r/w by tapping the button near the top that says "mount r/w". After you've moved the new boot animation and renamed it properly (if needed), you will need to set the permissions to match the old one. You can do this by long pressing the file and selecting permissions from the list. Then mount as r/o the same way you mounted r/w. When you've finished, reboot.
You should see your new boot animation
If you don't have Root Explorer, I would suggest buying it - it will come in handy. You can also use EStrongs and I believe File Expert has an option for root access. In ES File Explorer, you have to enable root functions in settings. I don't know if you can mount r/w through the app and it may not operate the same as my directions, but it's free. For root file actions, Root Explorer is just more polished in my opinion and well worth the money.
(from... Evo/MIUI/Tapatalk)
Click to expand...
Click to collapse
Thanks man, works great. The only issue I'm having is I can not get any audio. The audio is in the format spc_bootanimation_final.m3 and the bootanimation is spc_bootanimation.zip, any ideas?
Dboy352 said:
Thanks man, works great. The only issue I'm having is I can not get any audio. The audio is in the format spc_bootanimation_final.m3 and the bootanimation is spc_bootanimation.zip, any ideas?
Click to expand...
Click to collapse
Well, that 'man,' is actually a lady, and a good one too. Working on another gold star.
And it needs to be SPC_bootanimation_final.mp3 [yes, its case sensitive.] And try renaming the animation to just bootanimation. Are you on an aosp or sense rom?
Sorry mam, not man lol. Wish my ol lady was that technical lol.
I'm on sense, I didn't know if I shuld try to rename it to just bootanimation.zip or not since the rom's animationwas spc_anmation.zip and it was all in lowercase as well. I'll try the upper on the audio though.
Dboy352 said:
Sorry mam, not man lol. Wish my ol lady was that technical lol.
I'm on sense, I didn't know if I shuld try to rename it to just bootanimation.zip or not since the rom's animationwas spc_anmation.zip and it was all in lowercase as well. I'll try the upper on the audio though.
Click to expand...
Click to collapse
Well with gaining the skill, comes time, lol.
Well its been since 'nam since I ran sense, though I keep the kingdom rom as my sense rom. For the audio, with the SPC in caps, that should work, and the same for the just bootanimation.zip as well.
Ok, so the mp3 wasin format SPC_bootanimation_final.mp3 and I set the permissions the same as the bootanimation. Could it be because it is just the audio file, not a zip with the text file in it?
Dboy352 said:
Ok, so the mp3 wasin format SPC_bootanimation_final.mp3 and I set the permissions the same as the bootanimation. Could it be because it is just the audio file, not a zip with the text file in it?
Click to expand...
Click to collapse
Well the audio file is just that, just the file .mp3. It may have been because they weren't formatted/named correctly.
So here is where I am. I have the boot animation working flawlessly and have successfully changed it to 4 different animations without problem. Sound is still the problem. Here is what I have tried.
SPC_bootanimation_final.mp3
spc_bootanimation_final.m3
SPC_bootanimation.mp3
spc_bootanimation.mp3
SPC_bootsound_final.mp3
spc_bootsound_final.mp3
SPC_bootsound.mp3
spc_bootsound.mp3
I have it in the same folder as the animation (system/customize/resource) with the same permissions (Readwner, group, others...Write: group)
I'm at a loss, everything should work but still no sound.
You should have SPC_animation_final.mp3 in the system/customize/resources folder, and nothing?
Nope, nothing. I have played the file just to make sure it has sound and it does. I also tried moving it to system/media as android_audio.mp3 as was suggessted in another thread with nothing. Now boot sound worked with the stock rom, aybe from flashing it, it changed the audio setting maybe? I'm gonna try and change that real quick and see if it works.
Ok so I'm not getting it, all sounds are completely up. The only thing I ca figure is maybe somewhere in the rom it has been blocked/disabled for sounds at bootup. That's the only thing I can think of.

[Q] Changing the Boot-up sound

I'm trying to change the Boot-up sound on my rooted Sprint Samsung Galaxy Note II. I've already overwritten the PowerOn file in the system through Root Explorer, but I'm almost positive I need to change another file somewhere in the system. I'm not sure what the file is and where in the system. Anyone know what the file is and where it is located?
Pee-G13 said:
I'm trying to change the Boot-up sound on my rooted Sprint Samsung Galaxy Note II. I've already overwritten the PowerOn file in the system through Root Explorer, but I'm almost positive I need to change another file somewhere in the system. I'm not sure what the file is and where in the system. Anyone know what the file is and where it is located?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2125132
Does this thread contain any useful information for you? It sounds like you've already done what it is instructing, but I just thought I'd ask. I've never really messed with changing the boot sound on a device, but I have changed other sounds and it is usually just an act of replacing a file as you said. You did replace the right file in the right folder right? /system/media/audio/ui is what was listed in that thread. In the meantime, I'm going to root my N2 so I can test this.
Pee-G13 said:
I'm trying to change the Boot-up sound on my rooted Sprint Samsung Galaxy Note II. I've already overwritten the PowerOn file in the system through Root Explorer, but I'm almost positive I need to change another file somewhere in the system. I'm not sure what the file is and where in the system. Anyone know what the file is and where it is located?
Click to expand...
Click to collapse
Found the issue! You will need to change the permissions on these files.
Permission checkboxes will look like this (if using ES File Explorer)
X----X----O
X----O----O
X----O----O
It is working well for me, I am going about changing all kinds of sounds now.

No PowerOff.ogg Sound plays when turning off the device?

I replaced both PowerOff.ogg and PowerOn.ogg files for the sktelecom bootanimation both animations work except the shutdownanimation is muted i have checked the permission for PowerOff.ogg it is rw-r-r Owners are root:root but it doesn't matter what i do i tried renaming power off to other common names and changing capital letters from the file but it just won't play whenever i shutdown the phone. can anyone help?
are the sounds inside the bootanimation zip? if so they should be. if not then they should work if there spelled just like the original ones were with the right permissions. also, if you have your phone volume on vibrate or silent when you power off or reboot your not going to hear the animation sounds on powerdown or up.
rob219 said:
are the sounds inside the bootanimation zip? if so they should be. if not then they should work if there spelled just like the original ones were with the right permissions. also, if you have your phone volume on vibrate or silent when you power off or reboot your not going to hear the animation sounds on powerdown or up.
Click to expand...
Click to collapse
Yeah i did all of that when i placed both files in there i copied and pasted them at the same time phone is not in vibrate or silent. it looks like the system just isn't recognizing that the file is in there or not reading it at all but it is there...
maybe try re putting them there. redownload rename replace the existing ones set permissions and reboot into recovery and format cache and dalvik then reboot. you may need to do a second reboot to hear them. other than that im not sure as i havent tried replacing them on this phone yet, havent done that since my last phone (galaxy note 2)
rob219 said:
maybe try re putting them there. redownload rename replace the existing ones set permissions and reboot into recovery and format cache and dalvik then reboot. you may need to do a second reboot to hear them. other than that im not sure as i havent tried replacing them on this phone yet, havent done that since my last phone (galaxy note 2)
Click to expand...
Click to collapse
i managed to replicate the same problem with bootanimation PowerOn.ogg so when i reboot the phone now even that one doesn't work. it seems to be an issue with the file system itself what i did was replace the PowerOn.ogg twice then cut and paste to external sd card then place a new one in media/ui after setting permissions, group owners, checking the right name is used and rebooting i get no sound for the bootanimation also there is no way to fix this that i know of it's odd that no one has reported this since i have had this problem in many phones like in the LG P880 Nitro HD and this LG G PRO it has something to do with android that disables its ability to use that file or read or play, whatever it might be.
The only way to get your sounds back is to reflash the whole rom with LG Flash tools.
EDIT: NEVERMIND not even flashing with LGflashtools will fix the issue only the PowerOn.ogg plays when booting up not when shutting down.
Same Issue
has anyone found a solution other then what has been mentioned? because I have the exact same issue PowerOn.ogg plays PowerOff.ogg wont play, Spelled correctly, the file works if I just play it from the system but wont work when I power off att e980
I have the same problem...many many device encountering this problem...everything is perfect on my side but still lack of shutting down sound...
just can"t figure it out...double checked poweroff.ogg...the file is perfectly readable but just don"t playing...
not a big deal...but would like to find why lolll
Bump
Gotta bump because i also have the same problem same phone, and the solutions mentioned also did not solve my issue no power off sound plays, permissions and spelling are correct i tried adding the ogg to the zip and re compressing but nothing

[Q] Splash screen modification?

When I had my old T-Mo G2 (HTC Vision) I changed my splash screen and boot animation. On every device I've had since, I've been able to change the boot animations but changing the splash image has apparently either become impossible or fallen out of style. Does anyone know what's up with the splash screens? Did they get baked into some deep code or something? I found an old tutorial for doing it on some obsolete phone and it said you had to use android-info.txt but that's something that isn't used anymore. I'm just kind of a mod junky and I like my phone to be MY phone. Just wondering if anyone has any insight on the matter. Or is even reading this.
Assuming you're rooted and you make backups of the files you change.
You will want to change the bootanimation.zip file and the shutdownanimation.zip file in the system/media subdirectory. There are poweron.ogg and poweroff.ogg files in the system/media/audio/ui directory too. Make sure you set the permissions correctly. Also you may want the files to be in the same resolution as the L3 so they display correctly.

Categories

Resources