Help I deleted all my files! - Nexus 7 (2013) Q&A

So I did a factory reset to try and free up some space but i didn't know it wouldn't. So I went in and saw that my legacy folder was the same a my emulated and sdcard0 and all that so I figured it was coped into several directories. Without thinking or google I deleted it. Big mistake. I cant get anything back. Everything is gone. obb and everything is gone. Downloads folder gone, everything. I did notice that if i start installing apps it add things like my android folder back in. All the other files are there in the home directory. The problem is in my /storage. in storage I had /storage/emulated /storage/sdcard0 /storage/usbdisk they all had the same files so that's why I deleted it. I feel so stupid because i always read about things before I do them for this reason. ANYWAY, my question is. Is there anyway to get my folders back. I don't care if its just the ones that come with the android out of the box. If i have to put them back manually then i guess thats what I have to do. Is there any work around or anyway someone could help me out get these dam directories back. If your going to tell me to use search don't bother because i already tried, unless you can give me a good search query to use.

Go into the android development section and use the tool to recover your tablet. It works great.

Related

App data moved off root of SD?

Is there a way to make app data saved to a folder in SDcard instead of the root? That way it can organize between all the junk I put on there and what is really app data...
Is this achieved by partitioning? or app2sd? never tried either one.
Apps create folders on SD as repositories for additional elements needed to make the app function, or for storage in general.
Don't recommend relocating (or removing) app-created folders unless you have uninstalled the app.
Stray stuff you may have placed on SD can be organized in a folder(s), but I wouldn't mess with anything an app created unless I were (or had) deleted the app.
Don't have to partition the SD to create your own folder.
Okay, I feel really stupid. I was messing with a new ROM and it didnt seem to work out so I went back to my old ROM (qhaung81 AOKP). When I went back to reload all my apps and stuff, it ended up in a whole nother folder!! In order to find it now Ive got to go to SD/SD0 and everything I have is in there! How do I get it out of that folder and back to my regular root? I dont want any of this mess!!
Hope someone can help!!
Ridge

[INFO][SHAREDPAIN]MTP shows /sdcard/sdcard, but deletes /sdcard instead

So, when using dolphin hd for the first time, the downloads folder was set such that it created a folder on the sd partition, at /sdcard/sdcard/Downloads, and put some downloads there; (i'd since had fixed dolphin to store in /sdcard/Downloads)
So, we have /sdcard/sdcard/Downloads
In MTP via windows 7, it shows the folder sdcard/downloads, you can explore it, etc.
BUT, when i went to delete this redundant folder via mtp, specifically, deleted /sdcard/sdcard....mtp deleted /sdcard entirely instead.
I had a feeling this is what happened last time i lost my whole sd partition, but wasn't sure what caused it until now. But, rather than waiting and just deleting the file safely from the term on my phone, instead i rushed, deleted, and oh well, my fault. Funny cause i was backing up files at the time while cleaning up. lol. Passing on my pain
Maybe someone can pass this onto someone involved in development (no way im posting in there lol)

Need help for 4.2 users : About emulated and legacy folders

As the title, is it normal if we get those folders after update to 4.2 ? Because as far as I read the problem when updating to 4.2 is only 0 folder.
I was using PA 2.54 that based on 4.1.2. I have installed latest TWRP. Then made a factory reset, after that I flashed PA 2.99. And it created those folders. Please help. Thanks.
Sent from my Galaxy Nexus with Paranoid Android powered by Trinity kernel
Ridho1 said:
As the title, is it normal if we get those folders after update to 4.2 ? Because as far as I read the problem when updating to 4.2 is only 0 folder.
I was using PA 2.54 that based on 4.1.2. I have installed latest TWRP. Then made a factory reset, after that I flashed PA 2.99. And it created those folders. Please help. Thanks.
Sent from my Galaxy Nexus with Paranoid Android powered by Trinity kernel
Click to expand...
Click to collapse
After reluctantly accepting the 4.2 ota, i also gained legacy and obb folders in data/media. I do have emulated showing, but im still confused at this point. Google made some waves.
bodh said:
After reluctantly accepting the 4.2 ota, i also gained legacy and obb folders in data/media. I do have emulated showing, but im still confused at this point. Google made some waves.
Click to expand...
Click to collapse
and this is why I want a physical SD card in my phone... this emulated BS is driving me crazy today... over already accidentally deleted files thinking this so called linked directory was not a real directory ... it is in fact a fake directory with real actions... come on google... 1 directory to call home... not the multi linked mess of fake folders ....
/rant (GNexToro(HWv9)-TapTalk2)
Does anyone know what directories/folders are safe to delete? I have an entire duplicate of everything across two folders.
They reside here.
/storage/emulated/legacy/0/
/storage/emulated/0/0/
They are exact duplicates. Same size, etc.
Which is safe to remove? I searched for like a day on this forum, and many others. I have been trying to figure out which is safe to remove, but I am more confused now then ever. :silly:
I feel like just picking one to delete to free up space and if I muck up, I'll restore from a Nandroid.
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
If you delete the folders from one of the link folders, you may delete the actual folders. They don't take up space.
gpfnzl said:
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
Click to expand...
Click to collapse
Hey, thanks for the reply.
I do have the latest recovery, but apparently if you updated to the latest CWM after moving to JB 4.2 you are still gonna get the folders. Updating before going to 4.2 would have prevented this. Well, this is what I get from reading other messages and forums.
So I am wondering if there is another way to sort these so it's not so confusing.
If not, I'll accept it and may roll back to 4.1, update my recovery, then flash the 4.2 rom.
and this is why I want a physical SD card in my phone... this emulated BS is driving me crazy today... over already accidentally deleted files thinking this so called linked directory was not a real directory ... it is in fact a fake directory with real actions... come on google... 1 directory to call home... not the multi linked mess of fake folders ....
Click to expand...
Click to collapse
i'm still not sure what the actual presentation of the data loss that i heard about was, it wasnt people simply not finding the right path to the data was it? but i also dont get why so many people are so keen to remove a link to their internal memory. Why is it so bad for it to be there? just dont go into the folder
a lot of people seem to get that it is an exact mirror (it's just like a shortcut in windows), so just use one, and whats the bother?
d0wns3t said:
i'm still not sure what the actual presentation of the data loss that i heard about was, it wasnt people simply not finding the right path to the data was it? but i also dont get why so many people are so keen to remove a link to their internal memory. Why is it so bad for it to be there? just dont go into the folder
a lot of people seem to get that it is an exact mirror (it's just like a shortcut in windows), so just use one, and whats the bother?
Click to expand...
Click to collapse
They arent exact mirrors. The fact that I have to go through four virtual SD cards to find something I downloaded that's buried in one of them. Its a total pain. Which one is the real one?
DelphinusMinor said:
Hey, thanks for the reply.
I do have the latest recovery, but apparently if you updated to the latest CWM after moving to JB 4.2 you are still gonna get the folders. Updating before going to 4.2 would have prevented this. Well, this is what I get from reading other messages and forums.
So I am wondering if there is another way to sort these so it's not so confusing.
If not, I'll accept it and may roll back to 4.1, update my recovery, then flash the 4.2 rom.
Click to expand...
Click to collapse
From what i see, reverting back to 4.1 won't do it.
You have to go back to a particular stock 4.1 then install latest CWM recovery. untested by me. There is a guide around but i've lost the link.
For me I did a full manual wipe of everything (including SD card), then a manual reinstall of cwm and a 4.2 rom.
I have a 0 folder, but i don't have a 0/0/0 folder created when switching between roms.
Need someone clever to write a clear guide and have it stickied
I too would be interested to know if a solution has been found yet. My legacy folder is taking up more than half of my internal storage. Is it safe to delete?
Sent from my GT-N7100 using Tapatalk 2
I didn't think my dirs were duplicated at first, and the other day I investigated more. One directory structure looks exactly the same, but when I went thru the diff folders and compared between the two, alot of the folders didn't have the same contents. Some folders were even empty and it's clone had data in it, settings and whatnot.
I may post a screenshot once my phone is charged.
/emulated/legacy/0/0/
Is completely different from
/emulated/legacy/0/
The data is diff sizes if you compare both of those folders.
Why Android went this way by setting user accounts/profiles is beyond me.
Here is an example pic. I am not going to take screenshots of everything tho, obviously.
On the left all the folders and data is older then the data in the directory on the right, so I am thinking it is probably safe to delete the older data.
Any ideas?
Here is another example.
What is in the legacy folder on right, is totally diff from what is on the left, but in this case, the data on the left is now the newest data, where the right has no data at all.
Just noticed /emulated/legacy/0/0/0/ also has totally diff contents then the first two I mentioned and the folders vary in size dramatically.
It's a bit frustrating.
EDIT: Added another pic.
DelphinusMinor said:
Here is another example.
What is in the legacy folder on right, is totally diff from what is on the left, but in this case, the data on the left is now the newest data, where the right has no data at all.
Just noticed /emulated/legacy/0/0/0/ also has totally diff contents then the first two I mentioned and the folders vary in size dramatically.
It's a bit frustrating.
EDIT: Added another pic.
Click to expand...
Click to collapse
Please correct me if im wrong in my thinking. Its normal if I flash from 4.2 (for a day or to) then flash back using a nandroid to 4.1 to have a left over 0folder sitting in my main storage SDcard0?
So when im back on 4.1 I have Sdcard0/0 thats where it ends for me as of now. I flash back and forth all the time. I also get legacy folders but as of yet there always emty. The 0folders left over (mind you im on 4.1) im only testing 4.2 but the left over folder 0 does contain a lot of folders though only data is located in the duplicate android folder.
Questions so being that im on 4.1.2 again what do I do with the left over folders? Up till now I just use windows copy them over and let all the folders merge. Seems to work most the time but It can cause issues.... there gotta be better way? How come I get left over crap in a 0 folder every dang time I flash back from 4.2 to 4.1
Thats normal? Oh BTW im on newest TWRP installed from GOO. I am running Jellybam 4.1.2 I don't delete folders just merge them back into my other folders but maybe I shouldn't do this?
I dunno when im on 4.2 I don't have any issues except that I think this concept is some stupid guys idea of trying way way to hard to be smart. Smoked a little ot much weed before he came to work ya know?
Please
1. What do we do about 0 doler / legacy folder when we flash back to 4.1
2. Whats normal... what should we except when flashing from 4.1 to 4.2 assuming we have newest TWRP or CWM
3. Anything else you think you should add
4. whats your home launcher
peace
xxsicknessxx said:
Please correct me if im wrong in my thinking. Its normal if I flash from 4.2 (for a day or to) then flash back using a nandroid to 4.1 to have a left over 0folder sitting in my main storage SDcard0?
So when im back on 4.1 I have Sdcard0/0 thats where it ends for me as of now. I flash back and forth all the time. I also get legacy folders but as of yet there always emty. The 0folders left over (mind you im on 4.1) im only testing 4.2 but the left over folder 0 does contain a lot of folders though only data is located in the duplicate android folder.
Questions so being that im on 4.1.2 again what do I do with the left over folders? Up till now I just use windows copy them over and let all the folders merge. Seems to work most the time but It can cause issues.... there gotta be better way? How come I get left over crap in a 0 folder every dang time I flash back from 4.2 to 4.1
Thats normal? Oh BTW im on newest TWRP installed from GOO. I am running Jellybam 4.1.2 I don't delete folders just merge them back into my other folders but maybe I shouldn't do this?
I dunno when im on 4.2 I don't have any issues except that I think this concept is some stupid guys idea of trying way way to hard to be smart. Smoked a little ot much weed before he came to work ya know?
Please
1. What do we do about 0 doler / legacy folder when we flash back to 4.1
2. Whats normal... what should we except when flashing from 4.1 to 4.2 assuming we have newest TWRP or CWM
3. Anything else you think you should add
4. whats your home launcher
peace
Click to expand...
Click to collapse
I use Apex Launcher but you don't see it in the images. I think you are referring to FlashFXP which is a file manager I use to move files and folders between my PC and my phone, and to move files and folders between diff folders on the device itself by connecting to my phone in two instances.
It's my understanding the "0" folders are designated for the different user accounts.
If you go to JB 4.2. and then go back to 4.1 I believe the files from your 4.2 install remain intact(Or at least the file structure). No data is actually wiped unless you intentionally do so.
Now, I am just someone who flashes casually and I wouldn't consider myself an expert. I am confident in my skills, just not at a point where I can say anything with serious conviction. So your mileage may vary.
I actually found out which set of folders were the ones in use, and I ended up doing a nandroid, and then deleting everything else on my phone to be safe. I have rebooted several times and haven't had any issues. This was a few days ago.
Remember too, if you restore from an older nandroid from a prior firmware version it will roll back whatever kernal you currently have, etc. It basically brings your phone to the exact state it was in when you did the backup.
Good luck with whatever you do! :cyclops:
AHHHHHHH All my precious data on internal sdcard GONE. All because of the stupid linked legacy folder! I was just trying to delete 1 duplicated (or so I thought) mp3 file, then Google had to come into the action and screw everything over!
I'm done! I'm done with all this BS. I can't even sleep properly! Just let me enjoy my summer
Peteragent5 said:
AHHHHHHH All my precious data on internal sdcard GONE. All because of the stupid linked legacy folder! I was just trying to delete 1 duplicated (or so I thought) mp3 file, then Google had to come into the action and screw everything over!
I'm done! I'm done with all this BS. I can't even sleep properly! Just let me enjoy my summer
Click to expand...
Click to collapse
If you just deleted one file... how did literally all of your data get erased?
I... what
tritonesub said:
If you just deleted one file... how did literally all of your data get erased?
I... what
Click to expand...
Click to collapse
I deleted the undetectable, sneaky, linked legacy/emulated folder because it was in /sdcard. So it portrayed itself as another folder, but in it's entirety was the /sdcard itself masquerading as emulated/legacy causing ones mind to think it is an expendable piece of foolery. Linked folder(/sdcard->emulated) contains emulated folder which links sdcard, but it was placed in sdcard so it's entire existence is invalid. Inception eh.
gpfnzl said:
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
If you delete the folders from one of the link folders, you may delete the actual folders. They don't take up space.
Click to expand...
Click to collapse
thank you for this, finally i found where to hunt down the folders taking up space on the storage and delete that ****, now i have more room on the internal memory.:good:
tomh1979 said:
thank you for this, finally i found where to hunt down the folders taking up space on the storage and delete that ****, now i have more room on the internal memory.:good:
Click to expand...
Click to collapse
Could you give us all a pointer as to which folders you found safe to delete--I'm sure that we could all do with getting that bit of extra storage??

Found Files on my SDCard

I was cleaning out the unneseccary files on my sdcard and i found three files and a couple folders on the root of the directory and I have no idea what they are, so therefore i don't wanna delete them. I've tried googling the file names but can't find **** on them. They're called "ldb" which is a config file, then "ldb.db-wal" and "ldb.db-shm", is it safe to get these off of there, the folders are "termp" which was "BBSAD.pkg" "bwad.pkg", "PMAD.pkg", "PVMAD.pkg" and "SFAD.pkg". bugreports which is empty, can i get erid of that, and for some reason when i installed 4EXT, and do a NANdroid backup the backups still go into my clockworkmod folder. anyway to change that? I'm extremely OCD about the organization of my files and having these things i have no idea what they're for on my sdcard is just annoying to me. any help is appreciated
p.s. sorry for the long period of not being active, my phones cut off at the moment so i'm using it as a gameboy/mp3/movie device
4EXT: It's based off CWM so (as hard as it may be) you'll have to live with it. Sad face, I know, I'm super anal when it comes to my SD card!
TA4S

[Q] Help me with media issue?

So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
No answers anyone?
Just do some searching mate. And use ROOT EXPLORER and give it access.
nsh121193 said:
So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
Click to expand...
Click to collapse
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
spexwood said:
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
Click to expand...
Click to collapse
Okay, thank you, I will try that soon and see if it works.

Categories

Resources