[Q] User Ringtones Not Detected - Nexus 4 Q&A, Help & Troubleshooting

I believe when I was using my Nexus 4 in its stock condition, there were 3 (three) folders on the /sdcard/.
They were /sdcard/Alarms, /sdcard/Ringtones, and /sdcard/Notifications. I could copy my custom sound files into any of those three and the system (and any apps that use them) would detect them and add them to the ones that came with the phone.
However, to my dismay, I discovered that it is no longer the case.
I have also tried creating the folders /sdcard/media and copied the above three folders under it, and I have also created /sdcard/media/audio and done the same (i.e. a total of 3 copies of each file in different locations), but the system could not detect them.
Apps such as WhatsApp also failed to do so.
And I have rebooted my phone (even powering down before turning it back on), but still no dice.
My Nexus 4 is rooted and is running the faux123 kernel (release 16). I wonder if this config is preventing me from adding my sound files to the system recognizable list??
Thanks in advance for any help.

If you can't get it to work, try using a File Manager like Solid Explorer to choose the ringtone. When you install it, the system asks you to choose with which app it should find ringtones.
Sent from my Nexus 4 with Tapatalk 4

Related

[Q] Cannot delete some folders

So I have a few folders which cannot be deleted. ES file explorer just says xxx cannot be deleted. I can rename the folder but not move or delete. I'm guessing there is a problem with one of the files in the folder but there are loads.
I origionally rooted the nexus 7 so I could use sixaxis but found too much lag compared with plugging in the controller so decided to return to a stock image. I did an app+data+sd card backup with nexus tools and it was after doing this I have had this problem. (also most of my games which I backed up lost their saves - wheres my water, dead trigger + others is this normal for these games?)
Any advice much appreciated
(oh since applying the stock image I no longer have root)
Could be a file permissions problem, try rooting your device again then changing permissions on the files to give yourself full read/write access to these files.
If this doesn't work you could try deleting them through the command line, but this would also require you to root your device again.
Hope I helped.
Hi thanks for your suggestion. I completely forgot I posted this. Anyway I rooted my device using the toolkit and all worked well. But I still cannot delete many folders and files and also some apps don't seem to be able to save properly.
Does anyone have any ideas on what could be wrong? Apart from this the system is stable and I would rather not do a fresh install because of all the games I have (long downloads and I have had problems backing up and restoring saves in the past) is there a way to just set all the files and folders on my phone to read / write (es file explorer reports these files have the required permissions but maybe setting them might do something)
Sent from my Nexus 7 using xda app-developers app

storage/emulated/0/

can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
I think this has been added as part of the multi-user feature and is where the data/content is stored for other users. It has been mentioned on the forum somewhere else, cant remember where I seen it though.
I also wondered this but then thought logically.
Two users using the same SD card wouldn't be a good idea.
So they sort of virtualise the SD card, and then when a new user is created a sort of partition is created for the user.
I was wondering what that was in ASTRO I thought it was something I did wrong and yes if you delete one file it will end up deleting both of them so be careful luckily I deleted some old downloads I didn't need anymore GOD BLESS YOU GUYS
Sent from my Nexus 7 using xda app-developers app
thats all fine, thanks guys,
but now, if I download a new pic from dolphin browser to the /emulated/0/pictures folder, the gallery sees my SD/pictures as well as the /emulated/0/pictures folder, the original has 99 files in, and the new one 1 file in, both are called "pictures".
the "save picture as" action opens up its own file explorer, and it wont let me go back far enough in the file tree to access the SD/pictures folder so I can only save in the new /emulated/0 folder and its sub folders?
cheers.
I can't find the folder on my pc. I am trying to run a backup app and it stores it there. I try to replace the backup location to downloads for example and it won't work. It's driving me mad.
The linked directories are linked to look like separate directories but they link to what is called a mount point that the actual physical storage and the actual file. What you do in any of folders will be done in all the folders.
I'm still wrapping my mind and this and my Linux knowledge it's weak. So I'm not going to try to suggest how to deal with these folders. As much as possible I'm letting the app handle the files.
Sent from my Nexus 7 using xda premium
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
algus said:
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
Click to expand...
Click to collapse
I think you are confusing a symlink'd directory with a second copy.
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
rmm200 said:
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
Click to expand...
Click to collapse
This.
It's not broken do don't expect a fix. It only 'looks' like you have duplicate files. A change you make in any single place will show up in all locations. Delete a file in one place it will be gone everywhere. The whole file system is an optical illusion. Layers on layers of naming parts of the file system.
For instance /sdcard is actually /data/media/0 if you created another user on your tab they would get /data/media/1 but they would find their files under /sdcard in a file manager.
Sent from my Nexus 7 using xda premium
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
algus said:
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
Click to expand...
Click to collapse
I am trying to understand what you are seeing.
On my device, the gallery app only shows pictures in my user: emulated/0. This is from selecting a picture and then asking for info on it.
What apps are showing duplicates, other than a file explorer that you would expect to show symlinks?
I should add - are you copying pictures directly to /sdcard from somewhere else?
Well I had a problem...because of all the multiuser crap I was unable to restore a titanium backup cause of all the emulated directories that another user makes...I had to delete every /0 directory that it made cause if you install another Rom it makes a new /0 directory inside the other /0 directory so after flashing CM10, MIUI and slim bean I finished with a directory like this: sdcard0/0/0/0.
Sent from my GT-I9300 using xda app-developers app
restoring backups seems to be a problem too in cwm. Hmm how to fix it
Sent from my Nexus 4 using xda app-developers app
I ran into this problem with Titanium Backup and my Nexus 7. I was trying to copy the titanium backup folder on the Nexus 7 to my windows PC (also tried mac too) as it was taking up a lot of space on the Nexus but Windows and Mac wouldn't have any of it. It just copied the folder and not the contents. Android file Transfer manager on mac just keeped crashing. I did not try adb pull folder with WugFresh toolkit, so that may work. I ended up copying from the nexus 7 to a USB drive using an OTG cable.
I been looking into this too, this is what I find so far I did a fresh install after I installed my Rom I wipe storage on my N7 so I have a clean storage nothing on it about 27.80gb after I installed one game that is 2gb and its show on both storage emulated and 0 n after my available space is 23.72gb. So I think its does create a duplicate that take space. But Im not sure.I going to run some more tests. If this is true this kinda suck cus then my 32gb n7 is only 16gb then.
Ps. Also if u reboot ur n7 and u go to storage there is another folder under emulated with 0 with the same files you can deleted this folder is save you won't loose anything but if you reboot and go back to storage the file reappear and you can delete but once u reebot again it will reappear again and over again.
Sent from my EVO using xda premium
No way are there 2 copies of files (unless you are auto backing up, which I do). My free space was 3.9gb before and after 4.2. Have all the extra meaningless folders.
You could think of the emulated storage locations like a shortcut. You could place multiple shortcuts to your 'My Documents' folder on your desktop without creating multiple copies of 'My Documents'.
Same problem with Galaxy Nexus
I have the same problem with my Galaxy Nexus and Android 4.2.1
In my Windows Explorer i dont see the same files like in my Phone with Total Commander on my Storage.
This is not funny.

Urgent help required - home directory duplicated

I rather illadvisadly installed Paragon NTFS driver and it has installed a second drive in "storage" file called "legacy". This I'd a copy of the SdCard 0 folder that is also in there. I just deleted a file from legacy and it also disappeared from storage so the two folders are linked,.
How can I remove the legacy file without deleting everything on my nexus?
Sent from my Nexus 10 using Tapatalk 2
Using ESFile explorer, if I go into "storage' I see 'emulated' and 'sdcard0'
Under 'emulated' I have 'legacy' and '0' both of which show my entire nexus drive when selected
If I select 'sdcard0' I still get the drive listing.
As a result file scanners like in mxplayer saw 2 copies of each movie, one each on legacy and sdcard0. When I deleted the legacy files, they went from sdcard0 too.
Sent from my Nexus 10 using Tapatalk 2
Since nobody bit, I believe this has to do with the multi-user aspect of the latest Jelly Bean version.
Even if you have only one user set up, you still get these new folders. I am actually researching this myself as I have duplicates of everything since 4.2 as well. =-}
What the app probably did was create a new folder (legacy, for compatibility) and use the Linux "mount bind" command to link them to each other. They are not duplicates, they just point to the same path (think windows shortcuts). That said, if you want to get rid of the legacy folder, you cannot safely just delete it. What you need to do first is use the "unmount (your path)" command from a su terminal to kill the link. Depending on how the link was initially implemented, the folder will either disappear or become safe to delete.

[Q] Ringtones folder on sdcard is not seen by the device

I have a trouble adding a new folder with custom ringtones on the sdcard. The device doesn't show these ringtones in system ringtone chooser whatever I do. However, on older firmwares I didn't have any problems with this, the device showed these ringtones right after I restarted the phone. Recently I full wiped and flashed MEA stock rom from the scratch, and now I can't make the device show my custom ringtones in the system menu. Adding the ringtones to System/media/audio/ringtones folder works, but I would like to have a separate folder with custom ringtones on the sdcard, so that I don't have to put them in system ringtones folder after each rom change.
Does anybody has a solution to this?
Abu-khulzat said:
I have a trouble adding a new folder with custom ringtones on the sdcard. The device doesn't show these ringtones in system ringtone chooser whatever I do. However, on older firmwares I didn't have any problems with this, the device showed these ringtones right after I restarted the phone. Recently I full wiped and flashed MEA stock rom from the scratch, and now I can't make the device show my custom ringtones in the system menu. Adding the ringtones to System/media/audio/ringtones folder works, but I would like to have a separate folder with custom ringtones on the sdcard, so that I don't have to put them in system ringtones folder after each rom change.
Does anybody has a solution to this?
Click to expand...
Click to collapse
Hi,
Try Media Scanner
Media scanner didn't help. The system does see the files if i want to add them manually one by one. But the files won't appear in the menu automatically as they used to do before.
Sent from my GT-I9505 using Tapatalk 2
Im new here but I read somewhere that a .nomedia file may me stored in a folder and mediascanner for images,music,video will skip this folder. View hidden files and folders in your folder browser so you can see dot files and see if this file is in the ringtones folder. if yes then delete it.
Edit
Try putting a "ringtones" folder in sd card and put your ringtones in there. Then try to see if it shows up.
The previous answer was almost correct.
In your SD Card create a folder with the name "media", inside create 3 folders: "Notifications", "Ringtones" and "Alarms". By doing that your device automatically will recognize every file an list it in the right place.
Actually, I have all those folders on the sdcard. As I said, just before flashing mea Rom with full wipe, these folders were recognized and the all my ringtones were in system sound selection menu. But after flashing, whatever I do, I can't make them appear there. I only have to add them manually one by one. I think there is something changed in mea update that doesn't let you add new ringtones. However, the hangouts app created ringtones folder and two files are there and the are in the system sound selection menu. But if I add couple of my ringtones to that folder
, they don't show up after restarting the phone. The same ringtones, when put into the system/media/audio/ringtones folder using root explorer, appear in the system with no issue.
So as said, there might be some change since Mea Rom that is not letting adding new ringtones.
What do you think?
Sent from my GT-I9505 using Tapatalk 2
Seems very hectic for you buddy.
try this if possible.
Go to Setting-> applications-> All-> Search for Media storage-> Clear the data & Stop it (force Close). Again start this service.
Reboot the device in Recovery ( If you are rooted) then clear only dalvik cache.
Now, it will take 15 min to scan your device media.
Remember, your all Ringtones setting will be lost in this case.
Man, thanks a lot! This really worked and none of the audio settings were lost.
I am just curious, why this could happen? Maybe it's because I restored my system from Titanium backup, and media storage was there. In Mea rom there might be some changes to media storage so there was some conflict. Is it right?
Sent from my GT-I9505 using Tapatalk 2
Actually some of the settings were lost, like alarm etc. But not a big deal, thanks man
Sent from my GT-I9505 using Tapatalk 2
Abu-khulzat said:
Man, thanks a lot! This really worked and none of the audio settings were lost.
I am just curious, why this could happen? Maybe it's because I restored my system from Titanium backup, and media storage was there. In Mea rom there might be some changes to media storage so there was some conflict. Is it right?
Sent from my GT-I9505 using Tapatalk 2
Click to expand...
Click to collapse
yes buddy. when u restored the data using TB,it restore the media storage too .
Sent from my Disturbed™ Galaxy S4

Access device main folders

I can't seem to access the main system get on my device now I'm running nougat,want to ace done mp3s in notification folder ,tried different file managers and none showing device folders just device storage
Sent from my Nexus 6P using XDA-Developers mobile app
I agree and have the same issue. It also appears that all of the notifications, alarms, and ringers are in the device folder. There are empty folders with all of these names on the SD card. It appears that even the APK files are in the device folder. So basically the SD card, which is the only thing we can see is your pictures and movies. :crying:
You need root to access folders other then the device storage.
So that is different from every other Android phone I have had. Just got rid of an HTC One M9 with the very same OS and I could see the Device folder
Try rooting your device. And using a file browser capable of utilizing root access.
A simple one being: Root Browser
Google play link: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
I'm not affiliated with the app dev at all, just a suggestion!
I have never had to do that. Never rooted a phone in my entire life and I have had access to the Device folder.
Me neither ,for now my work around is place them in the media folder and they appear in as a option for ringtones messages etc,but never had to root to see phones main folder could always see them using astro pro
Sent from my Nexus 6P using XDA-Developers mobile app
I tried that also but the apps dont see anything on the SD card so that doesnt work. I need to see the device folders where all of the folders the apps are using are housing the default files.

Resources