Moto Hell - The Motorola Modding Community

Motorola Phone Models => Motorola A780/A1200/E2/E6/E680/V8/Z6 => Topic started by: hotus on August 06, 2007, 10:58:31 pm



Title: [e2] Set startup/shutdown sound
Post by: hotus on August 06, 2007, 10:58:31 pm
Anybody have a clue?
Trying to change /usr/data_resources/sounds/ui_sounds/ui-startup_mono.mp3 but cannot, due to permission restriction. I think one process might be using it continuously.
SO , if it's not the way to change it, then how??


Title: Re: [e2] Set startup/shutdown sound
Post by: Exploited on August 07, 2007, 12:25:22 am
you can use "mount --bind /path/to/oldfile /path2/to/oldfile" in autorun script in order to replace system files


Title: Re: [e2] Set startup/shutdown sound
Post by: hotus on August 07, 2007, 04:55:45 am
you can use "mount --bind /path/to/oldfile /path2/to/oldfile" in autorun script in order to replace system files

Don't work.
because, this just define a link in another directory.
I really need to figure out how to get full rw permissions to this folder.
A look at /etc/mtab shows this:
Code:
/dev/roflash2 /usr/data_resource cramfs rw 0 0

unfortunately, it is not RW for user root. I suspect another process to lock this directory, but i'm not sure.

Anybody knows how i can get hand on this directory?
AdrianGatillo? ilove3d? vanhieumai?


Title: Re: [e2] Set startup/shutdown sound
Post by: zjole on August 07, 2007, 05:48:35 am
you can use "mount --bind /path/to/oldfile /path2/to/oldfile" in autorun script in order to replace system files

Don't work.
because, this just define a link in another directory.
I really need to figure out how to get full rw permissions to this folder.
A look at /etc/mtab shows this:
Code:
/dev/roflash2 /usr/data_resource cramfs rw 0 0

unfortunately, it is not RW for user root. I suspect another process to lock this directory, but i'm not sure.

Anybody knows how i can get hand on this directory?
AdrianGatillo? ilove3d? vanhieumai?
cramfs is read-only file system.You can't edit the files directly.

As Exploited said,you can mount the file using "autorun" script.As cramfs file system cant be edited once made,we use this method to "replace" files.

Which firmware are you using?Stock firmwares dont support autorun script.


Title: Re: [e2] Set startup/shutdown sound
Post by: error398 on September 11, 2007, 08:21:25 pm
if im using Ultimate.. how to install startup sound?


Title: Re: [e2] Set startup/shutdown sound
Post by: arctu on September 11, 2007, 11:42:58 pm
Code:
mount --bind /path/to/sound_file /usr/data_resources/sounds/ui_sounds/ui-startup_mono.mp3

add that to /ezxlocal/first.txt (ultimate only). but be careful, invalid mount bind can kill the phone.


Title: Re: [e2] Set startup/shutdown sound
Post by: error398 on September 11, 2007, 11:47:20 pm
so its the right coding?


Title: Re: [e2] Set startup/shutdown sound
Post by: Joka X on September 11, 2007, 11:49:57 pm
why didn't you guys just copy the file to my_favor folder?just name it ui_start_up_mono.wav......but make sure the sound is in wav format.....


Title: Re: [e2] Set startup/shutdown sound
Post by: error398 on September 11, 2007, 11:54:08 pm
@xtremetcx
i've try like ur said.. but it nothing happens..


Title: Re: [e2] Set startup/shutdown sound
Post by: Joka X on September 11, 2007, 11:58:36 pm
thats weird.....it works with me......you sure that the sound is in wav format?can the sound be played by the phone after you changed its name? ???


Title: Re: [e2] Set startup/shutdown sound
Post by: konspirasi on September 12, 2007, 02:36:28 pm
Mine also working, try to convert wav with wav converter n make sure the name is correct


Title: Re: [e2] Set startup/shutdown sound
Post by: Taurnil on September 12, 2007, 05:20:51 pm
use mono (non stereo), and a short sound. It works.
If isn't, check /ezxlocal/autorun.txt


Title: Re: [e2] Set startup/shutdown sound
Post by: error398 on September 12, 2007, 06:24:25 pm
i'll try again.. thanks