Hello there,
Every time I connect USB Mass storage, all my notifications and ringtones get reset and it's quite annoying. So I'm trying to put the in the /system partition instead.
I tried to copy .ogg files to /system/media/audio/notifications and /system/media/audio/ringtones, then set the permissions to 0644 but they don't show up in the media storage when I choose to choose a notification sounds, even after a restart.
Tried googling about it, but it's specific and I could not find any good information. Anybody knows if I'm supposed to do something else to make it work?
I have a mediatek mtk6582 (Doogee DG700) by the way, if this helps
I found the problem.. turns out I used a recursive chmod command to set all the files permissions assuming the folders had the same permissions.
I had set the audio folder to 0644 to all subfolders also had 644, which prevented the media scanner to execute in these folders and scan the media. I noticed this problem when I could not play a sound in that folder using ES File Explorer.
NaturalBornCamper said:
I found the problem.. turns out I used a recursive chmod command to set all the files permissions assuming the folders had the same permissions.
I had set the audio folder to 0644 to all subfolders also had 644, which prevented the media scanner to execute in these folders and scan the media. I noticed this problem when I could not play a sound in that folder using ES File Explorer.
Click to expand...
Click to collapse
Wow. Thanks for this. I've been scratching my head as to why I couldn't see my files I'd copied to system/media/audio/notifications
Setting permissions correctly resolved the problem
Related
I have hellfire phoenix v1.9 running on my g2x. I wanted to add a ringtone from my computer into the g2x.
I have installed the android platform driver and then when I connect, I see drives E and F, but cannot explore them.
I searched and found a suggestion to turn on usb storage--but I find no options on the hellfire phoenix v1.9 to do this.
Also, toggling the usb debugging mode does not change anything.
All I am trying to do is to find the native ringtone folder and add my ringtone which I made in a .ogg format.
Please help
The simplest way for you to do this is put the file on your SD card and using either root explorer or ES file manager. You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\
Note you don't have to make the .ogg files it will still work with MP3's except alarms for some reason. You will also need to reboot before it shows up in your list.
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
sksriniv said:
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
Click to expand...
Click to collapse
Normally it's read only, as in you can look but you can't touch. Writable means you write to it, you can alter or otherwise put information/files there.
And, yes it's as simple as copy and paste, unless you don't know what you're doing in the first place.
Using ES file explorer is the simplest method. Even if you use ADB you still would have to give it the command to mount the system as writable. If you Droid explorer you still need to have the system mounted as writable.
I don't know if it works on all roms, but Gingerbread based roms if you make a directory named ringtones in the Root of the SD card the phone should read it from there, or it does on mine.
Yes, I did everything--thought it was going to work, but it failed.
Steps I took--
Copied a sound.ogg file into the ext sdcard
Installed ES file explorer and under preferences set permissions to write (because I am rooted)
Copied the file from edt sd card
then switched to the systems\media\audio\ringtones folder, was able to see all the ringtones currently present.
Pasted my sound.ogg file---it said "multiple operations completed, but failed to paste sound.ogg Unclear why..
Should I have rebooted after setting permissions to write, before executing the copy and paste operation?
Thanks for the prior help--but need some more..
Use an app called software data cable......works like a charm.....remember u need to be on the same network......it uses FTP service.
Sent from my LG-P999 using xda premium
I use a really useful app called Airdroid which you can find on the Google market. It allows you to establish a Wifi connection through your computer's web browser to your phone. I then transfer whatever music, files, shows or anything I want through it.
Thanks everybody
Just followed my previous steps as outlined. Being a noob, I had to do things gingerly, not to screw up. As I guessed, I have to reboot, before the ability to write takes effect (on es file explorer). Then it is just a matter of copy and paste.
Thanks all
After playing around and installing different ROMs, I noticed a folder called 'vrtheme' on the sdcard. Not my biggest concern, except for the fact that my galleries are scanning that folder, which in turn lists about 10 folders with pictures.
I've tried everything to remove this folder, but keep getting a permission denied error. I've tried simply adding a .nomedia file, but can't modify the folder whatsoever. I cannot rename any files, can't move them either, can't add files.
Please provide any other suggestions. Thank you!
Copy everything important from your storage then perform a /sdcard wipe in recovery. This is assuming the file is on your internal storage.
Sent from my SCH-I535 using xda app-developers app
gregory_classy said:
After playing around and installing different ROMs, I noticed a folder called 'vrtheme' on the sdcard. Not my biggest concern, except for the fact that my galleries are scanning that folder, which in turn lists about 10 folders with pictures.
I've tried everything to remove this folder, but keep getting a permission denied error. I've tried simply adding a .nomedia file, but can't modify the folder whatsoever. I cannot rename any files, can't move them either, can't add files.
Please provide any other suggestions. Thank you!
Click to expand...
Click to collapse
Connect your phone to PC,run adb shell in CMD,and get root permission(su),and then,delete it(rm -r).
Setup: CROMI 3.4.7 with Data2SD
I am having issues deleting folders and files within the /data/data/ portion of my file structure. I have tried with both th File Manager HD and ES File Explorer but I keep getting messages saying that I am unable to delete those folders and files.
The reason I am trying to delete this is because I was unable to install certain apps, and continually got an error message during installation that said:
Unknown error code during application install: "-24"
From searching forums, I found that the issue is that previous installations (I guess I forgot to do a factory reset before reflashing a ROM) left certain system folders and files for certain applications, which prevented a fresh installation from taking place. Other users have resolved this issue by deleting the relevant files in the /data/data/ section of their tablet.
I have circumvented the issue by renaming those folders (which for some reason works), but still cannot delete those renamed folders. I've tried messing with the permissions, but still no luck.
Any ideas?
Possibly an ownership problem?
Boot into recovery, plug in the USB cable, go into adb shell. Make sure that /data is mounted. Then do something like:
cd /data/data
chown -R media_rw.media_rw *
Might wanna backup first...
danger-rat said:
cd /data/data
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
Don't do that if you want any apps to work afterwards.
Eeeeek, good catch!
I was thinking data/media.
You could do this just for the specific folders you want to delete, but not all...
Hi everybody! I'm new to the forum and to Android devices too, so please forgive me if I'm making some simple mistakes.
I've recently bought this beautiful device, and I've recently customized it with MaximusHD ROM so now I'm running Android 4.2.2 + Sense 5.0
I want to add my customized iPhone ringtones to my One S. I've googled for something that around the world and it seems damn simple but I cannot manage it to work as expected. I've searched also this forum and the instructions seems everywhere like this:
1) plug your device to the computer
2) transfer your ringtones to the equivalent folder on the device (somewhere it's called ringtones, somewhere else Ringtones I don't know if it's important or not)
3) that's it! You can add your ringtones browsing into Settings - Sound.
Well, I perform the steps but no ringtones at all!
I've tried to replace their extension from .m4r to m4a and also mp3 but nothing changed.
I've tried to reboot and or switch off my device, nothing.
I've tried to put the ringtones in the Download folder and the move them from inside the device with Solid Explorer, nothing.
I've tried to put them in Music folder, nothing at all...
What's wrong?
The ringtones aren't bought from iTunes, they are simple mp3 cropped to 30 sec with this site http audiko dot net/
They are DRM free in fact Solid Explorer can playback them regardless their file extension.
I've even found a thread where it's talking about a .nomedia file in the folder, but it's not the case of my device with Android File Transfer and Solid Explorer I don't see any .nomedia file into Ringtones folder.
Thank you for your help in advice!
Give "media scanner" from play store a try...
Sometimes even my phone needs some time to find all new custom ringtones...
foeti said:
Give "media scanner" from play store a try...
Sometimes even my phone needs some time to find all new custom ringtones...
Click to expand...
Click to collapse
Hi, where can I find that option on Play Store?
However in the meantime I've found a solution.... really strange but it works.
I've sent the mp3s via Bluetooth. I had to rename it from m4r to mp3 first but after that I've transferred them to the phone, Settings -> Sound displayed them instantly without rebooting the device. I've noticed that they're stored in downloads/bluetooth folder.
It seems to me that if the Sense doesn't "see" the files then it won't work nevertheless the folder I put them in.
But I can live with mp3 stored in downloads/bluetooth folder. :laugh:
It just sounds really strange to me it doesn't work in the easier way.
I assume that your device is rooted. Use ES File Explorer ... tools ... root explorer ... mount R/W ... then, open system folder ... media folder ... audio ... ringtones. That's where to copy and paste your ringtones. Afterward, simply change ES File Explorer back to R/O and reboot. Your new ringtones will now be in the settings menu.
wmdunn said:
I assume that your device is rooted. Use ES File Explorer ... tools ... root explorer ... mount R/W ... then, open system folder ... media folder ... audio ... ringtones. That's where to copy and paste your ringtones. Afterward, simply change ES File Explorer back to R/O and reboot. Your new ringtones will now be in the settings menu.
Click to expand...
Click to collapse
Yes, it's rooted since I've installed MaximusHD ROM.
In one of my attempts I've tried to put the ringtones in that folder with Solid Explorer (that asked me for permissions) then I rebooted the device but still nothing, only I don't remember if in that attempt the file extensions were mp3 or m4r (ven if it seems it doesn't matter, at least to the file manager that playback them even if I rename it .ogg).
There's one thing that I don't understand: I've noticed that Android File Manager shows me the content of /storage/emulated/0 folder; however in the folder /storage/emulated/0/Ringtones there are two ringtones (hangouts_message.ogg and hangouts_video_call.ogg) that system sound settings recognize without problems. The thing that I don't understand it's why it doesn't work if I put my files among this two.
Oh and there's also another ringtone that the system sound settings recognize and it's placed in /storage/emulated/0/media/audio/notifications but again if I put my files there they aren't recognized.
I don't understand why files sent via Bluetooth works while transferring directly in the proper folder by USB don't...
They can be ogg or mp3 files, either will work. However they need to be placed into system folders, not simply put into storage folders of internal memory on your sd card. In order to do that you will need root explorer or ES file explorer, and mount the system as I explained earlier. If you need a step by step instruction, let me know.
wmdunn said:
They can be ogg or mp3 files, either will work. However they need to be placed into system folders, not simply put into storage folders of internal memory on your sd card. In order to do that you will need root explorer or ES file explorer, and mount the system as I explained earlier. If you need a step by step instruction, let me know.
Click to expand...
Click to collapse
Hi, thank you. What's really sound strange to me it's that a "normal user" has to root his device to put some ringtones on it while using Bluetooth everything works fine. I mean, even Apple let you put your ringtones with iTunes, without jailbraking the iPhone.
Besides, if this is the only method that works, then I really don't understand what is the purpose of Ringtones, Notifications folders in the /storage/emulated/0 (those normally displayed by Android File Transfer app) if they doesn't do what expected.
Those folders already existed on the phone, I didn't touch anything.
Actually, the Maximus rom changes your sd card ... my guess is, that is what is keeping you from simply dropping the files into the ringtone folder, like you can on a stock rom. None the less, if you are rooted, the best and most complete way, is to do what I described earlier.
Yeah, it's possible. I can ask on the official topic of that ROM maybe.
Thank you for your help I'll make a test and let you know if it worked.
:-/
Sent from my GT-S5830 using xda app-developers app
Hello,
I've been searching through the forums but I cannot find anyone with the same problem as me, here it goes:
I copied a mp3 file onto the ringtones folder, and then I can select it to be used as my ringtone. As I do not want to listen this when I'm listening music, I've aded a .nomedia file to the ringtones folder. Then, the Play Music app does not shows anymore this ringtone. This is what I expected.
Later, when I've received a call, the ringtone I've selected did not sound, instead the phone ringed with the standard "Triton" ringtone. Went to sound settings, and my custom ringtone is not there.
Removing the .nomedia file from the "Ringtones" folder, makes the custom ringtone appear again on "ringtone selection" options.
I did this many times on my old Galaxy Nexus phone without troubles, but It's not working on my N5, Do you know if this is a common issue, or I'm doing something wrong?
Thanks!
Try an .ogg instead. If that doesn't work, move the .ogg to /system/media/audio/ringtones
Lethargy said:
Try an .ogg instead. If that doesn't work, move the .ogg to /system/media/audio/ringtones
Click to expand...
Click to collapse
I've added .ogg file at Ringtones on "sdcard", and did not show.
The next thing was copy the file to /system/media/audio/ringtones with es file explorer and restarted the phone before checking. No luck neither.
Removing the .nomedia file from the "sdcard" folder, I can select the ringtone again at settings. Seems that somehow the .nomedia is also read by "settings"
unmark said:
I've added .ogg file at Ringtones on "sdcard", and did not show.
The next thing was copy the file to /system/media/audio/ringtones with es file explorer and restarted the phone before checking. No luck neither.
Removing the .nomedia file from the "sdcard" folder, I can select the ringtone again at settings. Seems that somehow the .nomedia is also read by "settings"
Click to expand...
Click to collapse
.nomedia is global. Put it in a folder and android assumes no media.
Sent from my Nexus 5 using Tapatalk
unmark said:
The next thing was copy the file to /system/media/audio/ringtones with es file explorer and restarted the phone before checking. No luck neither.
Click to expand...
Click to collapse
Not sure if this matters, but did you check permissions?
rootSU said:
.nomedia is global. Put it in a folder and android assumes no media.
Click to expand...
Click to collapse
Thanks for the info, I think I was using this on my old galaxy nexus and worked as I wanted, but all the clues point to what you said.
unmark said:
Thanks for the info, I think I was using this on my old galaxy nexus and worked as I wanted, but all the clues point to what you said.
Click to expand...
Click to collapse
Put the .nomedia in the media (/sdcard/media/) folder instead of ringtones (/sdcard/media/audio/ringtones/) folder. It should work
-------------------------------------
It is not working...