Moto Hell - The Motorola Modding Community
November 25, 2024, 03:56:52 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [e2] Set startup/shutdown sound  (Read 11986 times)
hotus
Guest
« 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??
Logged
Exploited
Administrator
Ultimate modder
*****

Karma: 109
Offline Offline

Posts: 5153



View Profile WWW
« Reply #1 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
Logged

hotus
Guest
« Reply #2 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?
Logged
zjole
Guest
« Reply #3 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.
Logged
error398
Guest
« Reply #4 on: September 11, 2007, 08:21:25 pm »

if im using Ultimate.. how to install startup sound?
Logged
arctu
Guest
« Reply #5 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.
« Last Edit: September 11, 2007, 11:44:58 pm by arctu » Logged
error398
Guest
« Reply #6 on: September 11, 2007, 11:47:20 pm »

so its the right coding?
Logged
Joka X
MH Official Spammer
PHD modder
***

Karma: 26
Offline Offline

Posts: 2743



View Profile
« Reply #7 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.....
Logged
error398
Guest
« Reply #8 on: September 11, 2007, 11:54:08 pm »

@xtremetcx
i've try like ur said.. but it nothing happens..
Logged
Joka X
MH Official Spammer
PHD modder
***

Karma: 26
Offline Offline

Posts: 2743



View Profile
« Reply #9 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? Huh?
Logged
konspirasi
Guest
« Reply #10 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
Logged
Taurnil
Guest
« Reply #11 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
Logged
error398
Guest
« Reply #12 on: September 12, 2007, 06:24:25 pm »

i'll try again.. thanks
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines