[Q] Boot sound will not play with custom animation. - HTC Inspire 4G

I have a rooted HTC inspire, rooted with Ace Hack Kit, running cm7 with kernel 2.6.35.14cyanogenmod. The custom animation I have used is working fine but the sound will not play. I have it located in system/media with the name android_audio.mp3 as I was told this is what it should be named. I've included screen shots for y'all to see. I even went into terminal and typed su and then the rest to make sure system was rw. I hope someone can help me out. Thank you for your time I appreciate it very much!

Did you mount bootsnd.sh file into phone/system/bin folder. This is something you have to do with cm7 rom's to get sound working. Find bootsnd.sh file and place in root of SD then in terminal type
su (enter)
cd /sdcard (enter)
ls (enter) (will show list in sd)
sh bootsnd.sh (enter)
Will not show if done or not will only bring you back to #
In ESexplorer or root explorer go to phone/system/bin folder and see if bootsnd.sh file is there. Sound should play if its there.
http://forum.xda-developers.com/showthread.php?t=1048231
Credit to barnacles10 and lithid-cm
Sent from my Inspire 4G using xda premium

Related

*How to get Remove Sprint BootLogo*

Well guys I've been tweaking with this a lot and I've finally got it working. Here are the steps to do so:
First of all you must be ROOTED!
-Open Root Explorer and Mount R/W
-Go to System/Media
-Delete Bootani.qmg
-Reboot (You will hear the sound but will not be able to see the bootlogo. )
-Go to Root Explorer
-Go to System/ etc
-Delete "Power On"
*Big thanks for Austin420 for the help on removing the sound.
-Next Step (Flashing a Bootanimation.zip)
the sound is under system > etc
file is called "Power On". its the only audio file type in this folder.
austin420 said:
the sound is under system > etc
file is called "Power On". its the only audio file type in this folder.
Click to expand...
Click to collapse
Thank you for the contribution.
Edit: Apparently the file cannot be deleted.
Now, to delete the shutdown will be a little harder.
ive got a blank .wav file (10 seconds of silence) that can be renamed PowerOn.wav . do you think replacing the original file with the silent one will do anything, i.e. overwriting the old file instead if deleting it since the system wont let you?
I don't think so. Apparrently permission requierments aren't as easy to aquire as I thought. To remove this files is gonna be a PITA and also I don't think we have aquire 100% root. And that's our main problem.
Sent from my SPH-D700 using XDA App
Through adb?
Sent from my SPH-D700 using XDA App
Doesn't work. Says we don't have sufficient privilages. And that is a read-only file. I've tried every method I know and nothing seems to be working.
herbthehammer said:
Through adb?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
root explorer...did you try mounting the /system folder in root explorer with r/w
bubby323 said:
root explorer...did you try mounting the /system folder in root explorer with r/w
Click to expand...
Click to collapse
When I enter the System Folder, root explorer automatically enters RW.
Not sure the issue but this seems to not be working for me.
Root explorer will delete the file but it comes back on reboot.
Root explorer not currently working w epic. Its not mounting properly.
Sent from my PC36100 using XDA App
same issue here root explorer is already showing R/W and sound and animation comes back on boot
has anyone tried to replace this file with a GIF or ZIP image file?
I want the Bootani.qmg from the unlocked Galaxy S
STEP-BY-STEP instruction
Fixter said:
Well guys I've been tweaking with this a lot and I've finally got it working. Here are the steps to do so:
First of all you must be ROOTED!
-Open Root Explorer and Mount R/W
-Go to System/Media
-Delete Bootani.qmg
-Reboot (You will hear the sound but will not be able to see the bootlogo. )
-Go to Root Explorer
-Go to System/ etc
-Delete "Power On"
*Big thanks for Austin420 for the help on removing the sound.
-Next Step (Flashing a Bootanimation.zip)
Click to expand...
Click to collapse
These instructions were kind of vague. Actually, VERY vague, haha. So here are the steps that I did to make it work:
(I'm assuming you have ADB and know how to use it, and you're in your operating system's terminal or DOS window)
1. Make sure you're connected.
Code:
adb devices
2. Connect to your Epic through SHELL.
Code:
adb shell
3. Connect as root.
Code:
su root
4. Remount /system with read/write ability.
Code:
remount rw
6. Go to /system/media folder.
Code:
cd /system/media
7. Change the security settings of the video file so that you can rename it or delete it (I renamed it). This video file is the boot up video (Sprint + Galaxy S).
Code:
chmod 777 bootani.qmg
8. Rename or delete bootani.qmg
To rename, type:
Code:
mv bootani.qmg bootani.qmg.bak
to delete, type:
Code:
rm bootani.qmg
9. Now to do the sound. go to /system/etc directory.
Code:
cd /system/etc
10. Change the security settings of the audio file.
Code:
chmod 777 PowerOn.wav
11. Rename or delete PowerOn.wav.
To rename, type:
Code:
mv PowerOn.wav PowerOn.wav.bak
to delete, type:
Code:
rm PowerOn.wav
12. Exit SU mode.
Code:
exit
13. Exit ADB.
Code:
exit
Now reboot your phone, and the video that plays will be gone!
I HAVE CONFIRMED that this does NOT make your device boot faster! Side by side with another Epic 4G, on boot, He has the nice Sprint + Galaxy S video, and mine just stays BLACK and both login screens show up exactly at the same time.
BOOOOOOOOOOOOOO
Thanks QuietFreak, your method did work, although on my Epic it took down the Galaxy S animation too, which seems strage as there's that SamsungBootLogo.qmg or whatever. Maybe the first one calls the second or something. Either way, cheers.
Maybe it's one long boot animation?
Here's what I did:
I wanted to silence the boot sound before I flashed a ROM, so...
1. Open ROM with 7zip (DON'T EXTRACT IT!)
2. rename /system/etc/PowerOn.wav to PowerOn.wav.bak
3. close 7zip and transfer zip to your SD card.
4. Flash and have fun! No sound, even on the first boot.
Perfect! Now where is the power off sound at?
Edit: found it.
Use root manager to mount as rw then use root explorer then mount that as rw then delete bootani.qmg and playlogo and power.wav this will remove sprint and samsung galaxy boot screens and boot sound. but i heard that the root method uses the boot sequence to start the script so i dont know if it is wise to remove the boot with root or if it starts even before the sprint screen.

Can't manage to modify the /system folder

I've been trying for a couple of days now to try and modify the /system folder because I want to edit the host file and delete standard .apk's. However I just can't get it to work and I don't understand why.
I got a rooted 2.2 legend with modaco stock htc sense rom.
Things I tried:
Root explorer: For some reason I can't write files to the folder. It always says there is not enough free space while there is something like 6mb available. Also, deleting files doesn't actually seem to work. Root exploreres says the files are deleted but after a reboot they are there again!
Also root explorer makes my phone reboot.
ADB: Basically the same thing. Also I don't get adb to work when i'm in recovery mode (red traingle screen, I used to have clockwork but even after trying to reflash the clockwork recovery that just doesn't show up anymore and gone fubar out of the blue....) and want to enter the /system folder.
Terminal app: Same thing as above.
All 3 make my phone reboot.
What am I doing wrong?
I don't use the same phone as you, but I think that /system is usually mounted as read only (ro). Some file managers can mount /system as read/write (rw). Or I think you can chmod /system to 777 in your terminal as su with the command chmod 777 /system. Also I think CWM has an option to mount /system as rw, but I may be wrong. If you chmod, remember to set it back. You'll need to know shell commands and how to read permissions from an ls -a -l command and reset them. Hope this helps.
Sent from my SAMSUNG-SGH-I897 using XDA App

Fix Permitions from Terminal ;) (Help apps not to force close))

To install from CMD - Terminal
1. Download the fxps script. http://db.tt/zjiwMQw
2. adb shell mount -o rw,remount /dev/block/stl6 /system
3. adb push fxps /system/bin/fxps
4. adb shell busybox chmod 755 /system/bin/fxps
5. adb shell reboot
To Run it
1. adb shell fxps
2 adb shell reboot
To install from Terminal Emulator
"Download the fxps script and move it in your SD Card" http://db.tt/zjiwMQw
$ su
# adb shell mount -o rw,remount /dev/block/stl6 /system (Puts the system in R/W mode)
# cp /sdcard/fxps /system/bin/fxps (Copys the script from SD Card to bin directory)
# chmod 755 /system/bin/fxps (Gives root access to the script)
# reboot
To Run it open the Terminal Emulator and enter
$ su
# fxps (It will start... When it finish reboot)
# reboot
This Script is not mine i just find it and gine it to you in simple way
Thanks the Dev of this Script i hope to see it in Power Menu some day...
or you can use the Root Explorer to paste it in the /system/bin/ directory and
then with Root Explorer edit permitions by long touching the fxps file and tick all the permitions
Thanks!
rudolf895 said:
Thanks!
Click to expand...
Click to collapse
no problem mate hope to help in my way... and cross yours
can anyone confirm it .... please
Ok trying
Will post results
EDIT:
Installed
took 1m41s
The media fire link has.txt file
You need to rename that
Or directly use this
Direct dl link:
http://db.tt/zjiwMQw
Can you add to first post?
cdesai said:
Ok trying
Will post results
EDIT:
Installed
took 1m41s
The media fire link has.txt file
You need to rename that
Or directly use this
Direct dl link:
http://db.tt/zjiwMQw
Can you add to first post?
Click to expand...
Click to collapse
thanks mate ......
It doesnt work
No change occurred
Before it no fc
After it no fc
But now I can't listen music
All players say file not supported for mp3s which I was listening before fxps
cdesai said:
It's crap
No change occurred
Before it no fc
After it no fc
But now I can't listen music
All players say file not supported fire mp3s which I was listening before fxps
Click to expand...
Click to collapse
i cant confirm that you are correct mate... i tryed a lot of my players and my MP3s work so fine.... so dont hurry to make conclusions... i toke this script from "rom manager v3.0.1.0.apk" and decompile the file and then toke the script... so if all the others we are CRAP who use the Rom manager and clockwork recovery then you are correct... (Think Before you Talk its Easy...)
nikkpap said:
i cant confirm that you are correct mate... i tryed a lot of my players and my MP3s work so fine.... so dont hurry to make conclusions... i toke this script from "rom manager v3.0.1.0.apk" and decompile the file and then toke the script... so if all the others we are CRAP who use the Rom manager and clockwork recovery then you are correct... (Think Before you Talk its Easy...)
Click to expand...
Click to collapse
ok dude
but now it has seriously started fcing
i m fed up
need to reflash
btw u tried on wich rom
on kyrillos 3.3 4.0rc 4.0 rc2 4.0 rc3 i have no problem with you in personal only i dont like hyronic style sorry again ...

[Recovery Unofficial Clockword Mod] for SPH-D600 (Conquer 4g)

A working recovery for Samsung Conquer 4g!!!
Needs Root!
V. 5.0.2.7
1.Download the files below
2.Move flash_image (in the zip folder) and CWMR.img to your sd card
3.On your phone download root explorer
4.Move flash_image to /data/local using root explorer
5.Download a terminal Emulator on your phone
6.Open the terminal and put in:
Code:
$ su
# /data/local/flash_image recovery /sdcard/CWMR.img
7.Than to make sure it doesn't revert to stock recovery put in:
Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock9 /system
to make sure its in rw mode put:
Code:
# mount | grep system
than:
Code:
# chmod 444 /system/etc/install-recovery.sh
(dont worry if you get an error not found some phones dont have this)
Credit goes to utankos over at rootwiki for creating the recovery.
Need some clarification
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
yanxizao said:
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
Click to expand...
Click to collapse
I have never ran into a problem like this but do so in the /data folder on your phone and sorry this has taken so long I haven't been on XDA for a while. Tell me if it works.
/data/local dir in root browser
Hi, in order to properly see the /data/local folder which is a hidden folder you need to access it as root. If you installed root browser before the phone wa rooted it already checked for root access and was denied. From then on it will run without root permissions. you need to gran it root access before you can access hidden folders the easiest way would be to erase the data of root browser in options|applications.
hope this helps.
Thanks for this, works great!
jhorton014 said:
Thanks for this, works great!
Click to expand...
Click to collapse
Actually I'm having difficulties getting the CWM recovery to be permanent. When I reboot it reverts back to stock recovery. I followed all of the instructions on the tutorial that you provided.
nvm

Stock ICS Boot Animation!!

Here's the Stock Ice Cream Sandwich Boot Animation for our G2x.
The resolution is a little messed up IMO but it's smooth and works well.
HOW TO GET IT WORKING:
Method 1) via Root Explorer
Step 1) Buy Root Explorer or any other file manager that allows you to mount you /system partition as R/W
Step 2) Download the attached "bootanimation.zip" to your phones sdcard. You will find it in your "Download" folder.
Step 3) Go to /system/media via root explorer and copy your current "bootanimation.zip" to the root of your SD card (this steps for a backup incase you want to revert"
Step 4) Copy the newly downloaded bootanimation.zip from your downloads folder to /system/media (don't forget to remount /system as R/W) Say "yes" to the over write prompt that root explorer shows you.
Step 5) This steps for making sure your permissions are correct. Long press the bootanimation.zip file in /system/media (the one you copied over in the previous step) and select the "permissions" option.
They should be
Owner: Read and Write shoould be checked
The others must only have "read" checked
Reboot and you should be done!!
Method 2) via ADB
Step 1) (not going into the installation of ADB) Open a terminal window and "cd" your way to your SDK directory.
Step 2) Type in "adb root or on a mac ./adb root" this should restart the ADB daemon as root.
Step 3) type in ./adb remount (this remounts /sytem as R/W"
Step 4) This is the step where you push your new bootanimation.zip to /system/media
Make sure you know which directory on your computer the new bootanimation.zip is in
run this command ./adb push /THE PATH TO THE DIRECTORY/bootanimation.zip /system/media
Step 5) Now that the file has been pushed to the correct directory, the permissions need to be changed again.
run ./adb shell
then type su
then cd /system/media
then, this is the command to change the perms chmod 755 bootanimation.zip (the permissions required are 644 but to be safe change it to 755)
Thats it!! YOur DONE!! now just reboot and you will see your shiny new Animation!!
Put the boot animation in /data/local/ so it doesn't get re-written when you flash a new rom, nightly, release, whatever.
No need for permissions editing if you use adb to push the animation, it is only required b/c the sd card file partition is unable to keep the permission information. When using adb, it all works automagically.
There are plenty of free file manager apps that can use root functionality. Also, it is the stock ICS animation that has been out for a while now, http://www.youtube.com/watch?v=ceBI5RJjScQ
thanks it looksvokay
Sent from my LG-P999 using xda premium
Don't forget about the easy method from your phone terminal
Cp /sdcard/bootanimation.zip /data/local
But you have to do it every time you flash a new rom
Sent from my LG-P999 using XDA
i edited the desc.txt to match my screen's resolution and place it under my roms bootanimation directory because default media didnt work but worked out in the end for my htc amaze 4g. thanks!
jerrypcon said:
Method 1) via Root Explorer
Step 1) Buy Root Explorer or any other file manager that allows you to mount you /system partition as R/W
Click to expand...
Click to collapse
Root Browser Lite gets the job done for free. Thanks for the info.

Categories

Resources