As a lot of you will know a few Nexus S owners have had problems with there IMEI numbers being corrupted/re-written after flashing a ROM from on here (XDA) no blame being apportioned at all ! We all know the risks of flashing ROM;s, Kernels, Radio's etc.. And we do this entirely at our own risk.
However a fix is still needed, although more and more people are returning there phones under warranty.
I'm one of the lucky ones who sent there Nexus's of to cpw and who's had there Nexus repaied and returned.
Back to what I need help with.
What I want/need to do now is back up my efs folder, so that I can restore it if anything like this was to happen again,.
Is just backing the folder up with Root Explorer, Astro or a simular App, saving it and then just restoring it enough, Is it that simple? The reason I ask is that when Ive backed them up, I then check the Details and they differ.
The efs folder on the phone / is 4,214,784 bytes and contains 7 files.
The backed up efs folder on the phone /mnt/sdcard is 4,227,072 bytes and contains 10 files
Whats that all about ????.
Can anyone recommend an App thats spercificaly for this task?
Sugestions welcome
Thanks in Advance
NexusCrazt
aka Marc
Mount the phone as USB storage to PC
Copy EFS folder on phone
Paste on PC
Unmount
matt2053 said:
Mount the phone as USB storage to PC
Copy EFS folder on phone
Paste on PC
Unmount
Click to expand...
Click to collapse
Have you tried this and compared folder size's and how many files in each folder ?
Also, what about backing up RSA keys?
davpel said:
Also, what about backing up RSA keys?
Click to expand...
Click to collapse
Please explain
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 made a NANDROID backup (SmoothROM 4.1, 4.1.2), flashed a new ROM (4.2), didn't like it so I restored my backup and now my file structure looks like this:
/f.cl.ly/items/0R0R3n3i0U3c401w3j18/Screen%20Shot%202012-11-27%20at%207.08.06%20PM.png
(remove the first / to see image)
So the folders in 0 were my correct folders before I restored it, and now it looks like this. Does anyone know why this is like this? And how I can fix it?
The 0 is added apparently when making backups (I don't yet know why), but they are all symlinks to the same thing (sd/emulated). There are a couple threads in the QnA about this, but no good comprehensive noob friendly explanations that I have found yet.
I hope someone will chime in with a more complete/correct answer. I would like to know quite a bit more about all this.
It has to do with the user, since multi-user support is now available, say you have two user accounts for your tablet. User 1 would have their own location (/sdcard/0) and User 2 would have their own location (/sdcard/1). That's how I understand it. If incorrect, please someone let me know.
Make sure you are using the latest TWRP or CWM Recovery versions, as I believe that they deal with this issue.
So, when copying files from pc to N7, what directory do I want to paste them in for a one-user tablet?
Can we delete the "0" sub-folders made by backups? How do we clean up the system if it keeps making redundant links? There has to be a point where it is unnecessary/ a mistake.
RMarkwald said:
It has to do with the user, since multi-user support is now available, say you have two user accounts for your tablet. User 1 would have their own location (/sdcard/0) and User 2 would have their own location (/sdcard/1). That's how I understand it. If incorrect, please someone let me know.
Make sure you are using the latest TWRP or CWM Recovery versions, as I believe that they deal with this issue.
Click to expand...
Click to collapse
So if I go back to 4.1 since I don't have multi-user support how can I get my default files back to the /0 folder? Because my new system is creating files in my root folder, not the 0 folder which I would rather use. Is there another way besides manually doing it (seemingly the most likely solution).
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
Hello friends,
Now that the amazing Gokhan has found a way to successfully have cm10.1 as second rom the main hurdle in daily usage for me was that all the data was on my internal sd root and cm looks for files in sdcard/0 folder hence I have found a small workaround which is working perfect for me and everything is awesome :
STEPS :
1) This is assuming that you have a sammy rom as 1st and cm10.1 as second rom already installed and while performing this step your SIII should be booted in samsung rom
NOW PLEASE DELETE ALL FOLDERS FROM 0 FOLDER AND MOVE ALL YOUR INTERNAL SD DATA TO THE 0 FOLDER please ensure that the data in 0 folder i backed up
2) Install directory bind from here http://forum.xda-developers.com/showthread.php?t=1410262 credits to the dev
3) go to directory bind preferences by hitting the menu button and tick alternate database management
4) go to the main screen of directorybind -> add new entery -> long press where it asks the source and select sdcard/0/Android and press select
similarly long press path area in target and select sdcard/Android and save and then highlight the floppy icon and it should turn green. In the same manner folders like games and whats app can be linked and by doing this you will have all the files in both the roms
I understand the above steps are little difficult and confusing but for now this is the best work around I have thanks
I was searching something like this for a while, im looking for a way to have whatsapp on my sammy stock rom and tamasek cm 10.1 i know you cant have 1 whatsapp account on 2 different phones but i have a dualboot and thats with the same sim offcourse......
Im trying to find a way to create an symlink or mount sammy stock from cm 10.1 to have a working whatsapp on both roms with dualboot.
The problem is that i have cm 10.1 as first rom and sammy stock second.
Maybe anyone else knows how to have whatsapp working on those 2 roms on dualboot?
R: ****WORKAROUND*****Share internal sd memory between sammy and CM10.1 roms
hypergamer1231 said:
Hello friends,
Now that the amazing Gokhan has found a way to successfully have cm10.1 as second rom the main hurdle in daily usage for me was that all the data was on my internal sd root and cm looks for files in sdcard/0 folder hence I have found a small workaround which is working perfect for me and everything is awesome :
STEPS :
1) This is assuming that you have a sammy rom as 1st and cm10.1 as second rom already installed and while performing this step your SIII should be booted in samsung rom
NOW PLEASE DELETE ALL FOLDERS FROM 0 FOLDER AND MOVE ALL YOUR INTERNAL SD DATA TO THE 0 FOLDER please ensure that the data in 0 folder i backed up
2) Install directory bind from here http://forum.xda-developers.com/showthread.php?t=1410262 credits to the dev
3) go to directory bind preferences by hitting the menu button and tick alternate database management
4) go to the main screen of directorybind -> add new entery -> long press where it asks the source and select sdcard/0/Android and press select
similarly long press path area in target and select sdcard/Android and save and then highlight the floppy icon and it should turn green. In the same manner folders like games and whats app can be linked and by doing this you will have all the files in both the roms
I understand the above steps are little difficult and confusing but for now this is the best work around I have thanks
Click to expand...
Click to collapse
I'm not sure I understood the first step. Should I
1. Backup all my files in the sdcard/0/ folder
2. Delete all my files in the sdcard/0/ folder
3. Move all data from sdcard/ to sdcard/0/ (excluding the sdcard/0/ folder, of course)
???
If I've to do so when will I restore my sdcard/0/ files?
Thank you anyway for the idea, really helpful
Sent from my GT-I9300 using xda app-developers app
cheers ang good luck
http://forum.xda-developers.com/showthread.php?t=1931711
OP, this looks like its achieving the same thing. I'm yet to test
R: ****WORKAROUND*****Share internal sd memory between sammy and CM10.1 roms
23Six said:
http://forum.xda-developers.com/showthread.php?t=1931711
OP, this looks like its achieving the same thing. I'm yet to test
Click to expand...
Click to collapse
That's about remove sharing... we're trying to get to it...
Sent from my GT-I9300 using xda app-developers app
got this done and working... thanks
.... but doesn't allow WhatsApp to work across roms, still need to re-verify each boot to dual rom
Sent from my GT-I9300 using Tapatalk 2
Thanks for this! I tried to do this using the external SD card with a different method and directory bind but failed.
Sent from my GT-I9300 using Tapatalk 2