Hey guys, anyone know why or is having the same problem, I've flashed lots of roms but this time a folder named "0" was created and moved all of the folders and files from the root drive into that "0' folder. Then I flashed another rom and another "0" folder was created within that first folder and moved all the root folder and files into that one. Im using twrp and Im not doing anything different and its driving me nuts cuz everythings being tossed around in there and I dont know why!
It is happening to me too when I flash ParanoidAndroid on my N7 (although that has been the only rom that I have flashed on it thus far). But what I have been able to gather from reading around is that those sub folders is because of being able to add accounts now to Android. Although I haven't figured out why (or found a response as to why) it is moving them into a legacy folder (I think that is one of the folders is called that the info has been thrown into) and not been kept into the root folder or a way to fix it.
The 0 directory comes with the multiuser function of Android 4.2
exglynco said:
The 0 directory comes with the multiuser function of Android 4.2
Click to expand...
Click to collapse
K so how can I keep the all the folders being moved
mta1981 said:
K so how can I keep the all the folders being moved
Click to expand...
Click to collapse
You need to update your recovery. The latest version of TWRP works with the multiuser feature.
Sent from my Nexus 7 w/ PA and m-kernel
Related
This is a collection of audio files from several ROMs from several phones, including:
CDMA Hero - 1.5
CDMA Hero - AOSP 2.1
CDMA Hero - Sense 2.1
Motorola Stock
Samsung Stock
There are almost 200 different sounds in this collection! Tons of variety!
Also note that this frees up some space in your /system partition! Always a good thing!
Copy the .zip posted and flash it just like any other update.zip. This will delete your current system/media/audio folders (with the exception of ui) and place the repository on your sdcard. BE SURE YOU HAVE ENOUGH SPACE ON YOUR SDCARD BEFORE FLASHING THIS!
Updates:
Included additional sounds from here
Created an update.zip to automagically delete current system files
Download
Gregalous said:
IThe .zip posted contains a folder called media. To use the sounds, unzip the attached file to your tools folder and from ADB:
Code:
adb remount
adb push media /system/media/
Click to expand...
Click to collapse
There is no need to put the files in /system/
You can make a /media folder on the SD card and it works the same... *AND* the files won't get hosed with every ROM reflash.
x99percent said:
There is no need to put the files in /system/
You can make a /media folder on the SD card and it works the same... *AND* the files won't get hosed with every ROM reflash.
Click to expand...
Click to collapse
I tried that first but then all the files show up in your Music player. I also tried putting a .nomedia file in the folder but then they didn't show up at all.
This is the only way I've found that works completely.
Dont put it in your system folder. Create a /media/audio/notifications or /media/audio/ringtones folder on your sdcard. My ringtones and notifications are seen in these folders.
Gregalous said:
I have created a collection of notifications, ringtones, alarms, and general UI sounds from every ROM that I have ever used (1.5, 1.6 and 2.1 w/ & w/o Sense) all into one folder. This gives you a huge amount of choices for ringtones, notification sounds, etc.
The .zip posted contains a folder called media. To use the sounds, unzip the attached file to your tools folder and from ADB:
Code:
adb remount
adb push media /system/media/
Give it just a second (as there are quite a few of them) and when it's done copying it will tell you. Reboot once finished.
I did not do an update.zip because quite honestly it's much faster and easier to do it through ADB.
Enjoy
Click to expand...
Click to collapse
There is no zip posted .......... if you want to email it to me I would be happy to host it for you.
david279 said:
Dont put it in your system folder. Create a /media/audio/notifications or /media/audio/ringtones folder on your sdcard. My ringtones and notifications are seen in these folders.
Click to expand...
Click to collapse
Again, the reason I put those instructions up is because when I had tried putting it on my sdcard, the files would show up in the music player.
Besides, you can use the files however you want, I'm not forcing anyone to put them into /system, that was just my recommendation.
rockcrawler said:
There is no zip posted .......... if you want to email it to me I would be happy to host it for you.
Click to expand...
Click to collapse
Woops! Fixed now, thatnks for pointing that out!
system has some limited space thats why i would recommend not putting it there.
Gregalous said:
I tried that first but then all the files show up in your Music player. I also tried putting a .nomedia file in the folder but then they didn't show up at all.
This is the only way I've found that works completely.
Click to expand...
Click to collapse
Im sorry but i tried to do it your way and you're right they don't show in the music app but i cant find them anywhere on the phone.
PS: I know how to push files and it did
ktynchy1 said:
Im sorry but i tried to do it your way and you're right they don't show in the music app but i cant find them anywhere on the phone.
PS: I know how to push files and it did
Click to expand...
Click to collapse
You went to phone ringtone/notification ringtone and there wasn't anything there? If done correctly there should be a very long list to choose from.
Did you reboot after pushing?
Ok so after further testing, it turns out that the only files that show up in the music player are the UI sounds. So I just deleted those (since they're all the same in all the ROMs I'm pretty sure, plus no one really cares about those) and now it works just perfectly when you put in your sdcard.
I humbly admit that I was wrong This should work better now, especially for those that were worried about using up /system space.
First post edited with new directions and .zip.
awesome! Thanks so much for making this! After RMing the media files from the system I gained like 20mb's that can be utilized in running apps and such. You're the man!
I tried installing this by putting them on the sdcard, and all of the sounds show up on the list, but everyone option I chose plays the same song on my sdcard :|
Ideas?
did you RM the system files? Mine works fine.
alexthearmo said:
did you RM the system files? Mine works fine.
Click to expand...
Click to collapse
Ya I did, and then I my phone would freeze when anything tried to notify me, and it woudn't mount my sd card :| Good thing i have a sdcard slot in my computer, i had to remove the files and rewrite them to my sdcard. Then it started working. No idea why, but its working
I merged your folder with the original media folder and rebooted but they do not show up...??
in case anyone is having trouble with this, there is a very clear post on how to do this here:
http://forum.xda-developers.com/showpost.php?p=5936137&postcount=3236
Updated, nearly 200 sounds in this package now
Now in update.zip format, super easy!
Cool thanks... Will give it a try...
Thanks for posting this.
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.
So, I noticed that apparently I was running low on space on my 16GB model and was wondering what the reason for that might be since I haven't put that many files on my phone.
Found out that my Nexus writes every file i put on it twice, one in /storage/emulated/0 and one in /storage/emulated/legacy.
After a little google searchI found out that this seems to be caused by the multiple user feature of 4.2 and apparently the old clockworkmod recovery that I was running.
Question is: how do I get it back to write in only one directory (I suppose /0 is supposed to be the main one?)
Running latest TWRP now, btw...
Apfelschale said:
So, I noticed that apparently I was running low on space on my 16GB model and was wondering what the reason for that might be since I haven't put that many files on my phone.
Found out that my Nexus writes every file i put on it twice, one in /storage/emulated/0 and one in /storage/emulated/legacy.
After a little google searchI found out that this seems to be caused by the multiple user feature of 4.2 and apparently the old clockworkmod recovery that I was running.
Question is: how do I get it back to write in only one directory (I suppose /0 is supposed to be the main one?)
Running latest TWRP now, btw...
Click to expand...
Click to collapse
I believe those 2 paths that you mentioned point to a single physical location. I don't remember which one but one of them is just a virtual path. So your files are not written twice.
To find out what's using up your space, use an app like DiskUsage. More often than not, it's files in your Download folder, your Nandroid backups, and/or other recovery flashable zips.
Ah, I see. You're right, the clockwork backups took all the space. Thanks
Hey guys Ive got a short question.
Everytime i flash a new rom on my Nexus 7 it creates a new folder called "0" and in this folder all the normal folders are in like ringtones etc., and in the "0" folder is then another "0" folder and so on and so on.
Can you please tell me how to prevent this?
Thanks steve
Restoring to a backup will stop this, this should only happen if you factory reset, then on don't restore.
NEXUS 7:
Unlock/Root
Prime D
M-Kernel
PimpMyROM
Steveletack said:
Hey guys Ive got a short question.
Everytime i flash a new rom on my Nexus 7 it creates a new folder called "0" and in this folder all the normal folders are in like ringtones etc., and in the "0" folder is then another "0" folder and so on and so on.
Can you please tell me how to prevent this?
Thanks steve
Click to expand...
Click to collapse
Update your recovery. The nested 0 folders are caused by using older versions of recoveries that are not able to deal with the multi-user file structure of 4.2 and above. You can treat this as a lesson in the necessity of exercising due diligence, as this is a widely documented issue using with using deprecated versions of recoveries.
In addition to updating your recovery, you'll also need to copy everything from that last 0 folder to /data/media/0 and then delete the nested 0 folders.
Just installed multirom and have a question. When you download a new rom zip, which folder are you supposed to put it in .
I assumed it would be the multirom folder, but I cannot find any way to move the zip from my download folder to the multirom one.
I have tried moving, copy and paste and about any way I could think of to move a file, but no go.It seems like for some reason access to the multirom folder is denied. I am sure it is something I am doing wrong and someone that's a lot smarter than me will clue me in.
Thanks
Dennis
Old Guy said:
Just installed multirom and have a question. When you download a new rom zip, which folder are you supposed to put it in .
I assumed it would be the multirom folder, but I cannot find any way to move the zip from my download folder to the multirom one.
I have tried moving, copy and paste and about any way I could think of to move a file, but no go.It seems like for some reason access to the multirom folder is denied. I am sure it is something I am doing wrong and someone that's a lot smarter than me will clue me in.
Thanks
Dennis
Click to expand...
Click to collapse
You can have it in whatever folder you want, when you go to flash the zip file in TWRP it will ask you to select the folder that the zip is stored in.
The multirom folder isn't accessible normally for performance reasons (Android's media scanner would spend a lot of time scanning the files in there, wasting CPU cycles and battery). If you really do need to access that folder though, there are other ways to do so.
farmerbb said:
You can have it in whatever folder you want, when you go to flash the zip file in TWRP it will ask you to select the folder that the zip is stored in.
The multirom folder isn't accessible normally for performance reasons (Android's media scanner would spend a lot of time scanning the files in there, wasting CPU cycles and battery). If you really do need to access that folder though, there are other ways to do so.
Click to expand...
Click to collapse
Right you are.For some strange reason when when I tried this before there was no file tree when I clicked on choose rom , just a blank page.
That's what really had me stumped.
Tried again after reading your post and and installed a rom no problem.
Again many thanks
Dennis