How to Change the Ringtone.
Hi all,
I'm trying to change the ring.mp3 from bluetooth application. I would really like to change the ringtone to another one I like. I delete this file in /mtc folder and put another ring.mp3 with my ringtone. I tested and it was fine. But as soon as I reboot the original ring.mp3 comes again. Anyone know how to permanently change the bluetooth ringtone?
Thanks!
DO IT AT YOUR OWN RIS !K
The source: 4pda.ru
The idea and the code belongs to: booroondook
Consulted by: Malaysk
I have successfully changed the ringtone on my HU:
JY-UQ124U, RK3188, 1024*600 with Malaysk ROM released at March 16.
Booroondok from 4pda.ru explained that the ringtone is embedded into the bootloader (boot.img) and it is impossible to change the ringtone on the fly.
He came up with the idea to substitute embedded ringtone to a customer mp3 file by editing startup script /system/etc/install-recovery.sh
Your ringtone file should be named myringtone.mp3 and placed into /mnt/internal_sd/Ringtones/
Then you have to add t the following code into /system/etc/install-recovery.sh
mount -o remount,rw /
cp /mnt/internal_sd/Ringtones/myringtone.mp3 /mtc/ring.mp3
chown 0.0 /mtc/ring.mp3
chmod 777 /mtc/ring.mp3
mount -o remount,ro /
I have the code inserted just above
###########################################################
nb=50
db=250
###########################################################
Check permissions of the edited install-recovery.sh file - should be 0755
Reboot the HU and enjoy your favorite ringtone.
Malaysk has warned me if somehow I'll I'll mess up install-recovery.sh script file, I'll loose root.
If this happened just reflash the ROM. NO WIPE, just update.