hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
cruse2382 said:
hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
Click to expand...
Click to collapse
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
shad0wboss said:
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
Click to expand...
Click to collapse
thanks for the reply but thats the way i do it already but i flash a new rom every few days so it gets a bit annoying having to move them all the time then set permissions so was hoping to make a script that i could just flash after flashing a new rom
bump
i've made flashable zips for just this very reason. i was flashing too many roms and i wanted to keep the same sounds. i flash them straight after flashing a new rom.
what do you want to replace? ringtones only? or ringtones, notifications and alarms?
let me know and i can send you a zip
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
thanks i owe you one will give it a try later and let you know how it goes
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
works perfect thanks
Related
Hey!
I was wondering, is there a way of adding apps to a rom... theres a few apk's i practially have to have installed, so i was wondering is there a way to add these files to a zipped rom so they install within the the system folder on the phone takin up dedicated rom space instead of dedicated phone storage....
been searching for a while about this, an theres a few close threads but they stopped before it was answered.
Also i have tried unzipping the rom, adding the apks, then rezipping an it didnt work, it started installing an finished within 2 seconds so obviously it didnt install the rom.
Thanks in advance!
You should just be able to add them to the /system/app folder. You just have to use a custom recovery to flash it, because the original zip is signed, where yours isn't. So if you turn the check for signature off in the recovery it should work just fine.
Alternatively you can learn how to sign your zip file, but that's far more time consuming.
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
360nitrous said:
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
Click to expand...
Click to collapse
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
mi3x said:
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
Click to expand...
Click to collapse
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Yes you will of course have to add the folders in the same structure as before, as the update script are telling the recovery which folders to flash where, and you are leaving that script unchanged.
360nitrous said:
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Click to expand...
Click to collapse
My pleasure I loled as well! At least I went deeper in my feeling stupid, changing RAR tools, different compression types etc... and the answer was there all along.
Hi,
I need to install HTC's Locations app on any custom ROM (ie: MyOneV or CM9/CM10)
So any1 can help me with this ?
(i tried it though, by moving these files (from MyOneV5.0FX Removed apks) htclocation.apk,locationpicker.apk,locatiooninstaller.apk in System/app folder bt it didn't worked)
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
ckpv5 said:
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
Click to expand...
Click to collapse
:good:
Thankz
I tried that too, by removing all apks from zip keeping the said three files & flash it in recovery, still it doesn't appeared in apps!
Though i'll try again may b missed something or some file..
I just tried it, it works.
Your filename looks different, attached here the files from the Removed_Apks_RC5.x.zip, I named it to location.zip. Flash in recovery.
It Worked: Thanx
I just joined the realm of changing roms on my GS3. The thing I am missing now is that awesome whistle notification sound. How can I get this back? Thanks
Download this unzip it and put S_Whistle.ogg in /system/media/audio/notifications with a file explorer, reboot phone and you should have it back.
Download the original ROM from here, extract it, find your whistle, then copy it to the /sdcard/Notifications folder and it should be available for selection.
EDIT : got beaten on this one... but the end result is the same.
Thanks for the links. Got the file but it appears that you cannot write it to the system folder section you specified. I was able to add it to the internal sdcard in the media/audio/notifications
Thanks again
jrock2004 said:
Thanks for the links. Got the file but it appears that you cannot write it to the system folder section you specified. I was able to add it to the internal sdcard in the media/audio/notifications
Thanks again
Click to expand...
Click to collapse
The system folder is write protected, you should be able to change it in your file explorer. Another root is to make the three folders Ringtones, Alarms, Notifications on your sdcard and put the sounds in there and reboot and they should show up.
So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Edit--> you should also be able to create the three folders(or whichever you need) on your internal/external SD card and move sounds into those and reboot and they should also show up. /system is write protected by default so if you don't know how to change that then use this method.
jethro650 said:
So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Click to expand...
Click to collapse
Thank you! Much appreciated!
This are flashable in CWM zip in HERE
Didn't know that was there guess I should have searched but I didn't because I didn't remember seeing it and I'm here several times a day, and this way people can pick and choose what they want and delete the rest.
BTW--> great work on the splash screens....got a new one almost every day :thumbup:
No I did not see them too that why I made flashable zip.
BTW. I'm trying add one splash screen a day. Thanks for kind words
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Just FYI, in my experience the ringtones/notifications (and maybe alarms?) don't need to be anywhere in particular. I keep all mine on my external MicroSD card and the phone automatically picks them up and adds them to my choices for ringitnes/notifications. No flashable zip needed. Just copy & paste.
Lols yup the beauty of android, ten different ways to do almost everything. I was just presenting these in an organized way to help people who aren't sure or are not used to exploring files on their phone keep things straight and organized.
[email protected] CZ Eddie ever use the gscript tutorial I sent you a link to a while back?
AWESOME!! Was definitely missing the stock sounds. Thanks.
jethro650 said:
So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Edit--> you should also be able to create the three folders(or whichever you need) on your internal/external SD card and move sounds into those and reboot and they should also show up. /system is write protected by default so if you don't know how to change that then use this method.
Click to expand...
Click to collapse
Just found this thread. I'm wondering if you can add a category called "sent mail" to the notifications folder, and have it appear on the phone, then attach an appropriate sound. Thanks.
Moved to themes and apps
FNM
I luv the stock sounds and noises, can you do the same for themes and wallpapers too? I want stock theme and stock wallpapers Please
Sent from my SAMSUNG-SGH-I747 using xda premium
Hello everyone. This is my second attempt at making a useful thread for the community so if it isn't formatted correctly or isn't right in anyway please PM me and I will fix it., it might be helpful to me to leave instructions on how to fix it as well. If something like this already exists, I am sorry please notify me of that and I will take this down.
This is a thread to instruct you on how to make custom s-pen sounds and install them as well as how to install custom s-pen pointers on any TW based rom including stock ( this is just install, I don't know how to make custom pointers yet). There are two requirements YOU MUST BE ROOTED AND RUNNING STOCK OR TW BASED ROM. This is my method, I am not saying that there aren't better ways just that this is how I do it and I know it works. I am not responsible for things going wrong and you being left with a device that doesn't work. You do this because you choose to and understand the risk involved. Also, please make back ups of all the files you want to change so that you have all the original files.
For Sounds: (You can use any sound you have or even the voice record app to make the sound you'd like)
1. Make sure you're rooted
2. Have some sort of root permission file explorer installed (I use Rom Toolbox)
3. Find or record the sounds you want to use as your s-pen attach and detech sounds If they aren't in the .ogg format then convert it to .ogg (I use wavepad for this step)
4. Decide if you want the sound to be sound 1,2 or 3
5. Once you have your sound the way want it rename the file for attach to Pen_att_noti1 (the number can also be a 2 or 3 depending on where you want the sound) and the sound for detach to Pen_det_noti1 (again the number can be different)
6. Place the files on your phone where you can locate them with the file explorer you have installed.
7. Locate the file(s) you want to use and using your explorer navigate to the directory system\ media\ audio\ ui and paste the sounds there. (You might be asked to overwrite whats there. If you want to save the original sounds simply find the file with the same name before you paste and rename to (thefilenamehere.ogg.bak)
8. Restart your phone
9. Once rebooted navigate to your spen sound selector and choose the sound want.
Thanks to my friend TheGrammerFreak for this nexxt bit
For Pointers:
(I don't know how to make pointers. This is assuming you have a file that you know can be used as the pointer. i am trying to learn and when/if I do I will add that to this thread)
1. Make sure you're rooted
2. Make sure you have some root permission file explorer installed.
3. Make sure you have a program that can open .apk files on you PC (I use 7-Zip)
4. Using the explorer you have navigate to the directory system\ framework and copy the file framework-res.apk to a place that you can access via the pc (I used my extsdcard)
5. Attach your phone to the computer
6. Find the framework-res.apk and move it onto your computer
7. Take the file you want to use and reaname it to tw_pointer_spot_hovering_spen
8. Open (not to be confused with unzip. Right click the apk and select "open with") the framework-res.apk with a program that will open it
9. Once open navigate to res\ drawable-xhdpi and find the file named tw_pointer_spot_hovering_spen delete that file and take the file you made/have of the same name and paste it directly into that directory. exit the program after doing so.
10 Take the framework-res.apk file that you edited and place onto your phone where you can locate it.
11. Detach your device from the computer
12. Using your explorer on your phone navigate to the edited framework-res.apk[ and select to copy it.
13. Navigate with your explorer to the directory system\ framework and paste the file there. WARNING: You might get several errors and force closes, don't worry this is normal.
14. Either restart your phone or pull your battery and boot up and you will now see your new pointer. Enjoy!
NOTE: If you want a different pointer for your files that air view capable or if you want your new pointer to be used as your air view pointer follow the same instructions except that the file you are wanting to use and the one you replace are both named tw_pointer_spot_hovering_spen_more and these files can be the same as your normal pointer if you choose.