Just had my first boot-loop event last night... Took an hour or so to recover after formatting the internal SDCard space. Thanks go to all those who have beaten that path and graciously posted how to get back.
I had been storing my TiBackup files on the internal SDCard, so of course they were all gone. Is there a way to change the default directory? I see where, you can change the dir name, has anyone tried an absolute path? I'd like it to save to SDCard2.
If that doesn't work, can i schedule a script to copy it to SDCard2? That might be better, as then I can copy the CWM Backups too-
Thanks,
TheDude
thedudevt said:
Just had my first boot-loop event last night... Took an hour or so to recover after formatting the internal SDCard space. Thanks go to all those who have beaten that path and graciously posted how to get back.
I had been storing my TiBackup files on the internal SDCard, so of course they were all gone. Is there a way to change the default directory? I see where, you can change the dir name, has anyone tried an absolute path? I'd like it to save to SDCard2.
If that doesn't work, can i schedule a script to copy it to SDCard2? That might be better, as then I can copy the CWM Backups too-
Thanks,
TheDude
Click to expand...
Click to collapse
I periodicaly make a backup of the titanium folder fron internal and copy it to sdcard2
insight3fl said:
I periodicaly make a backup of the titanium folder fron internal and copy it to sdcard2
Click to expand...
Click to collapse
I contacted the developer of Titanium Backup and he suggested that I use ../sdcard2/TitaniumBackup as the target directory name if I wanted to have the files stored directly on my external sd card. I tried it and it works just fine.
I am trying to root my HTC One Developer Edition and I have twrp installed but when I go to do a Nandroid backup, I get an error that it failed. It appears it is related to that the internal storage is showing 0. When I try to install the SuperSU zip, it doesn't seem to see it but sees other folders, but again, internal storage is showing 0. I am not sure why or what to try next. New phone, haven't installed really anything on it yet.
phenixdragon said:
I am trying to root my HTC One Developer Edition and I have twrp installed but when I go to do a Nandroid backup, I get an error that it failed. It appears it is related to that the internal storage is showing 0. When I try to install the SuperSU zip, it doesn't seem to see it but sees other folders, but again, internal storage is showing 0. I am not sure why or what to try next. New phone, haven't installed really anything on it yet.
Click to expand...
Click to collapse
internal storage 0 is a folder in the root of your phone. just drag whatever you wanted into that folder and boot into recovery and flash it
I don't think that is it. It should show something other then 0, which also I am uanble to do a Nandroid backup which appears to be the same issue. Any video I see online shows there should be something other then 0.
Actually I noticed that it is not showing any contents of the internal storage. It is empty.
HRodMusic said:
internal storage 0 is a folder in the root of your phone. just drag whatever you wanted into that folder and boot into recovery and flash it
Click to expand...
Click to collapse
phenixdragon said:
I don't think that is it. It should show something other then 0, which also I am uanble to do a Nandroid backup which appears to be the same issue. Any video I see online shows there should be something other then 0.
Actually I noticed that it is not showing any contents of the internal storage. It is empty.
Click to expand...
Click to collapse
Listen to your elders! TWRP does not read the SD card so it can only access one folder folder 0 zero which it makes on your SD card. You need to put what ever you are flashing into folder 0. And don't argue with your elders
nullkill said:
Listen to your elders! TWRP does not read the SD card so it can only access one folder folder 0 zero which it makes on your SD card. You need to put what ever you are flashing into folder 0. And don't argue with your elders
Click to expand...
Click to collapse
sup bro i see you live in seattle!!
nullkill said:
Listen to your elders! TWRP does not read the SD card so it can only access one folder folder 0 zero which it makes on your SD card. You need to put what ever you are flashing into folder 0. And don't argue with your elders
Click to expand...
Click to collapse
I am following the same exact instructions as in this video http://www.youtube.com/watch?v=rRkAHw_GmIs
Yet it works for him, not for me. You are also missing the other part to this which is I can't make a Nandroid backup which I think is related. There is also no Folder 0.
HRodMusic said:
sup bro i see you live in seattle!!
Click to expand...
Click to collapse
Near, but work in downtown.
phenixdragon said:
Near, but work in downtown.
Click to expand...
Click to collapse
wait you are also from seattle?
Hi guys!
A few hours ago, I flashed a custom rom, but now most of my storage is "gone".
Before flashing, I had like 16GB (of 26GB) free, even with some movies/pictures on it.
But after flashing, I only have 7GB left and I didn't put any movies/big files on it.
I coudn't find the place that takes up most of my storage via normal apps.
How can I find this and delete the uncessary files?
Matt
MattProductions said:
Hi guys!
A few hours ago, I flashed a custom rom, but now most of my storage is "gone".
Before flashing, I had like 16GB (of 26GB) free, even with some movies/pictures on it.
But after flashing, I only have 7GB left and I didn't put any movies/big files on it.
I coudn't find the place that takes up most of my storage via normal apps.
How can I find this and delete the uncessary files?
Matt
Click to expand...
Click to collapse
Probable because all your files were copied to data/media/0
This is your new SD card so you can delete whatever you don't need
99piotrek said:
Probable because all your files were copied to data/media/0
This is your new SD card so you can delete whatever you don't need
Click to expand...
Click to collapse
Awesome, thanks for the advice.
But why are my files copied? I did a complete wipe before flashing?
MattProductions said:
Awesome, thanks for the advice.
But why are my files copied? I did a complete wipe before flashing?
Click to expand...
Click to collapse
You probably wiped system (your ROM) and factory reset - this doesn't wipe 'data/media/', which is where your content is, such as music, movies, etc. It's basically because 4.2.2 has multiple user support. You have one storage directory (your sdcard) but there are different paths that are symlinked to that directory..
redbull123 said:
You probably wiped system (your ROM) and factory reset - this doesn't wipe 'data/media/', which is where your content is, such as music, movies, etc. It's basically because 4.2.2 has multiple user support. You have one storage directory (your sdcard) but there are different paths that are symlinked to that directory..
Click to expand...
Click to collapse
Oww, like that. So you have to delete those files (data/media) manually after flashing?
MattProductions said:
Oww, like that. So you have to delete those files (data/media) manually after flashing?
Click to expand...
Click to collapse
Well, if you want to keep them (your old files) just move them into the data/media/0 folder. If you have CWM backups, leave the 'clockworkmod' folder in data/media/.
The way to do it from 4.1.2 to 4.2.2 was backup your content to PC, format your system and sdcard in recovery (this would wipe everything), then adb push or sideload your 4.2.2 rom and then transfer your content back to the phone from your PC.
redbull123 said:
Well, if you want to keep them (your old files) just move them into the data/media/0 folder. If you have CWM backups, leave the 'clockworkmod' folder in data/media/.
The way to do it from 4.1.2 to 4.2.2 was backup your content to PC, format your system and sdcard in recovery (this would wipe everything), then adb push or sideload your 4.2.2 rom and then transfer your content back to the phone from your PC.
Click to expand...
Click to collapse
Ah, like that. It makes kinda sense.
Thanks guys, I really appreciate it!
Today, I have experienced a very "odd" problem. I have just found out that there is a folder called "storage" visible in my Internal Storage.
When I thought that, since it was visible, it did not contain much useful files (Only 2 xml files I found which would be in both internal and external storage) so I deleted that folder and everything in my SD Card and Internal Storage vanished.
I found out that the "storage" folder had a link to both storage devices but the weird thing is, why was that there and why is it visible? I could of sworn that I have never seen that before on my Xperia Z...
Can anyone else see their "storage" folder in the internal storage or is it just me?
ZeroInfinity said:
Today, I have experienced a very "odd" problem. I have just found out that there is a folder called "storage" visible in my Internal Storage.
When I thought that, since it was visible, it did not contain much useful files (Only 2 xml files I found which would be in both internal and external storage) so I deleted that folder and everything in my SD Card and Internal Storage vanished.
I found out that the "storage" folder had a link to both storage devices but the weird thing is, why was that there and why is it visible? I could of sworn that I have never seen that before on my Xperia Z...
Can anyone else see their "storage" folder in the internal storage or is it just me?
Click to expand...
Click to collapse
Hi.
At root, i have sdcard and sdcard1 and storage. Inside storage folder i have sdcard0 and sdcard1. I have seen this before for long time ago.
CiscoX said:
Hi.
At root, i have sdcard and sdcard1 and storage. Inside storage folder i have sdcard0 and sdcard1. I have seen this before for long time ago.
Click to expand...
Click to collapse
but this is totally different from what I have experienced.
From Windows, Internal Storage would have a folder called "storage" with another folder called "01" inside the storage folder. So "Internal Storage/storage/01/" if it was read on a Windows PC. inside the storage folder, there is just 1 folder called "01", nothing else. inside "01" folder, there are ONLY 2 .xml files which are the same as the 2 .xml files you would have by default in the root of your Internal and External Storage.
In short- Internel Storage has a folder called storage, inside storage has a folder called 01, inside 01 there are only 2 .xml files. The strange thing is, if it were linked to Internal/External Storage, why only 2 .xml files are visible in the 01 folder?
EDIT: When I tried to delete the storage folder (At the time I did not know that it was linked) Windows loading bar for deleting files did not move so I had to cancel it. Once cancelled, everything in my external/internal storage was wiped off. Thankfully, I recovered most of my lost pictures with Recuva
Not sure but I think this folder came somehow from the recovery maybe a bug.
I hope you didn't lost important things.
Sent from my GT-I9500 using xda premium
ZeroInfinity said:
but this is totally different from what I have experienced.
From Windows, Internal Storage would have a folder called "storage" with another folder called "01" inside the storage folder. So "Internal Storage/storage/01/" if it was read on a Windows PC. inside the storage folder, there is just 1 folder called "01", nothing else. inside "01" folder, there are ONLY 2 .xml files which are the same as the 2 .xml files you would have by default in the root of your Internal and External Storage.
In short- Internel Storage has a folder called storage, inside storage has a folder called 01, inside 01 there are only 2 .xml files. The strange thing is, if it were linked to Internal/External Storage, why only 2 .xml files are visible in the 01 folder?
EDIT: When I tried to delete the storage folder (At the time I did not know that it was linked) Windows loading bar for deleting files did not move so I had to cancel it. Once cancelled, everything in my external/internal storage was wiped off. Thankfully, I recovered most of my lost pictures with Recuva
Click to expand...
Click to collapse
Yes, this is very strange. I remember when i did see this after i bought my phone i was thinking this must be an bug. Another thing, in root i also have a folder named: ext_card and it is the same as sdcard1 here. Sdcard1 is my microSD card i have, but why so many folder linked to the same folders.
At root i go to storage, inside i have folders: emulated, removable, sdcard0, sdcard1 usbdisk.
Inside emulated i have 0 and legacy. etc etc
All of them are linked and goes to the same internal card and external card,
gm007 said:
Not sure but I think this folder came somehow from the recovery maybe a bug.
I hope you didn't lost important things.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
If it really is a bug, we need to know what did actually cause this to happen.
And yeah, Recuva was really useful for me
CiscoX said:
Yes, this is very strange. I remember when i did see this after i bought my phone i was thinking this must be an bug. Another thing, in root i also have a folder named: ext_card and it is the same as sdcard1 here. Sdcard1 is my microSD card i have, but why so many folder linked to the same folders.
At root i go to storage, inside i have folders: emulated, removable, sdcard0, sdcard1 usbdisk.
Inside emulated i have 0 and legacy. etc etc
All of them are linked and goes to the same internal card and external card,
Click to expand...
Click to collapse
Too many linked folders make it confusing, why would there be a linked folder visible in the Internal Storage though? this is what is really confusing me right now.
Need more reports if any one else has found this mysterious "storage" folder in their Internal Storage...
im not sure but if everyone with this folder are running 4.2.2 it is for the multiuser or multitasking feature of jellybean 4.2.2
skinsfanbdh said:
im not sure but if everyone with this folder are running 4.2.2 it is for the multiuser or multitasking feature of jellybean 4.2.2
Click to expand...
Click to collapse
Strange, this is the first time I have ever seen this. I only saw this folder today and I have been on custom roms based on stock xperia firmware android 4.2.2 for ages now... Why would it appear just today? I don't think multitasking will cause this to happen since it doesn't create any folders/files related to it (afaik).
I've had something like this happen where in emulated/0 (my main internal SD storage) there was another 0 folder that freaked out recoveries and such. I had the similar "can't delete from windows" thing, but using a in-recovery file manager I just deleted it, problem solved. tl;dr if you want to delete it and its causing problems delete it from recovery.
Sent from rooted carbon note 2, with the xda app.
shbaldw said:
I've had something like this happen where in emulated/0 (my main internal SD storage) there was another 0 folder that freaked out recoveries and such. I had the similar "can't delete from windows" thing, but using a in-recovery file manager I just deleted it, problem solved. tl;dr if you want to delete it and its causing problems delete it from recovery.
Sent from rooted carbon note 2, with the xda app.
Click to expand...
Click to collapse
exactly what im talking about. lots of threads in the htc one forum about it and being this device was released with 4.1.2(like the htc one) and has recently been updated to 4.2.2(like the htc one) maybe its the same thing, not saying it is because i dont know. just sounds like the same thing
shbaldw said:
I've had something like this happen where in emulated/0 (my main internal SD storage) there was another 0 folder that freaked out recoveries and such. I had the similar "can't delete from windows" thing, but using a in-recovery file manager I just deleted it, problem solved. tl;dr if you want to delete it and its causing problems delete it from recovery.
Sent from rooted carbon note 2, with the xda app.
Click to expand...
Click to collapse
Windows did not make any progress in deleting it, it was stuck on the Preparing to delete... window. Once I cancelled it because it took too long, everything from sd card/ internal storage was gone. All because of that storage folder inside my Internal Storage...
I know about the emulated/0 issue (From previous HTC One X Android 4.2.2 AOSP roms) but this seems to be completely different from it.
skinsfanbdh;44594029...and being this device was released with 4.1.2(like the htc one) and has recently been updated to 4.2.2(like the htc one)...[/QUOTE said:
hmm, I updated my phone from 4.1.2 to 4.2.2 prior to seeing this. This might be the cause. Anyone else have this happen?
Sent from rooted carbon note 2, with the xda app.
Click to expand...
Click to collapse
shbaldw said:
hmm, I updated my phone from 4.1.2 to 4.2.2 prior to seeing this. This might be the cause. Anyone else have this happen?
Sent from rooted carbon note 2, with the xda app.
Click to expand...
Click to collapse
I don't think it has anything to do with an upgraded android version. Like I said before, I have been on Android 4.2.2 a long time now (Upgraded when the firmware first came out) and I have never seen this folder before. I have just seen it yesterday. Another strange thing is that after I attempted to delete the storage folder, Everything was gone INCLUDING that storage folder. I haven't seen the storage folder after that happened. I'm going to go flash another rom and full wipe to see if the storage folder pops up again.
EDIT: Right, no there is no more storage folder in Internal Storage after a full wipe and formatted everything! Very strange indeed...
Wierd storage folder symlink inside internal storage!
ZeroInfinity said:
I don't think it has anything to do with an upgraded android version. Like I said before, I have been on Android 4.2.2 a long time now (Upgraded when the firmware first came out) and I have never seen this folder before. I have just seen it yesterday. Another strange thing is that after I attempted to delete the storage folder, Everything was gone INCLUDING that storage folder. I haven't seen the storage folder after that happened. I'm going to go flash another rom and full wipe to see if the storage folder pops up again.
EDIT: Right, no there is no more storage folder in Internal Storage after a full wipe and formatted everything! Very strange indeed...
Click to expand...
Click to collapse
I know this is a very old thread but I face the same issue in Android 5.1.1 now and I too deleted the folder named storage only to see that all the data from the sd card has vanished because of that. Any idea what caused this buggy symlink to be created?
All my data is now gone because I just deleted one folder inside my sdcard, and I didn't even think to backup anything since I didn't even dream that deleting a single folder will delete the parent folder! Again recuva was my friend but still I am not able to recover everything in internal storage, any suggestions on what to use to scan the internal storage?
anantharam said:
I know this is a very old thread but I face the same issue in Android 5.1.1 now and I too deleted the folder named storage only to see that all the data from the sd card has vanished because of that. Any idea what caused this buggy symlink to be created?
All my data is now gone because I just deleted one folder inside my sdcard, and I didn't even think to backup anything since I didn't even dream that deleting a single folder will delete the parent folder! Again recuva was my friend but still I am not able to recover everything in internal storage, any suggestions on what to use to scan the internal storage?
Click to expand...
Click to collapse
Did you upgrade to newer firmware using a zip? That's a common bug when upgrading via zip.
The only proper way is to backup ur entire internal storage and flash a full ftf. Then you will not have the annoying symlink.
langeveld024 said:
Did you upgrade to newer firmware using a zip? That's a common bug when upgrading via zip.
The only proper way is to backup ur entire internal storage and flash a full ftf. Then you will not have the annoying symlink.
Click to expand...
Click to collapse
I did do a factory reset before flashing a new firmware. Not sure what else I should do..
And as for the internal storage recovery, I followed these different guides but raw file using vhdtool and recuva did not give me any single file that was last present in my internal memory and even extundelete didn't return any single file that was in the internal storage, some of these tools return hundreds of text files and images that I had no idea was in my internal storage but none of them return me any of the hundreds of images and videos that I was sure were in my internal storage.
anantharam said:
I did do a factory reset before flashing a new firmware. Not sure what else I should do..
And as for the internal storage recovery, I followed these different guides but raw file using vhdtool and recuva did not give me any single file that was last present in my internal memory and even extundelete didn't return any single file that was in the internal storage, some of these tools return hundreds of text files and images that I had no idea was in my internal storage but none of them return me any of the hundreds of images and videos that I was sure were in my internal storage.
Click to expand...
Click to collapse
Yes but if you factory reset on 4.4.2 (for example) and then flash 5.0.2 fw via zip in recovery, you will get the annoying folder symlink.
The only way to upgrade to lollipop is by flashing a full ftf (which will wipe internal sd) after that you won't have the annoying symlink.
But you flashed zip instead of ftf and discovered the folder symlink which seemed not harmful to delete so you deleted it. Right?
Then there's no chance in getting the data (photos etc) back.
I was the same situation as you, twice, I tried every possibility to recover my photos but it ended up with nothing. Everything was gone.
On a mechanical harddrive, when you wiped data, the data will only be gone when the wiped sectors are overwritten (e.g. format harddrive, which overwrite with empty buffer).
As long as the wiped data in those sectors are not overwritten, you'll be able to recover almost all - if not all - data you deleted.
On flash memory instead, (such as ssd drives and internal storage of our phone) deleted data is immediately deleted.
(that's also one of the reasons on Android, you never have to defragment the internal sd, same story for an ssd)
I'm sorry for u to say but I'm afraid you're unfortunately lost the photos and there's no way to get it back.
But my advice to you is:
Never upgrade between android versions (e.g. 4.4 > 5.0) using a zip installable.
Only use full factory images (ftf), they will wipe internal sd in order to get correct mappings so backup everything before flashing.
Once u on a firmware, an update to the same firmware is allowed (e.g. from one 5.0.2 rom to another 5.0.2 rom).
I hope it helps u in the future.
Regards
langeveld024 said:
Yes but if you factory reset on 4.4.2 (for example) and then flash 5.0.2 fw via zip in recovery, you will get the annoying folder symlink.
The only way to upgrade to lollipop is by flashing a full ftf (which will wipe internal sd) after that you won't have the annoying symlink.
But you flashed zip instead of ftf and discovered the folder symlink which seemed not harmful to delete so you deleted it. Right?
Then there's no chance in getting the data (photos etc) back.
I was the same situation as you, twice, I tried every possibility to recover my photos but it ended up with nothing. Everything was gone.
On a mechanical harddrive, when you wiped data, the data will only be gone when the wiped sectors are overwritten (e.g. format harddrive, which overwrite with empty buffer).
As long as the wiped data in those sectors are not overwritten, you'll be able to recover almost all - if not all - data you deleted.
On flash memory instead, (such as ssd drives and internal storage of our phone) deleted data is immediately deleted.
(that's also one of the reasons on Android, you never have to defragment the internal sd, same story for an ssd)
I'm sorry for u to say but I'm afraid you're unfortunately lost the photos and there's no way to get it back.
But my advice to you is:
Never upgrade between android versions (e.g. 4.4 > 5.0) using a zip installable.
Only use full factory images (ftf), they will wipe internal sd in order to get correct mappings so backup everything before flashing.
Once u on a firmware, an update to the same firmware is allowed (e.g. from one 5.0.2 rom to another 5.0.2 rom).
I hope it helps u in the future.
Regards
Click to expand...
Click to collapse
Thank you very much for the detailed explanation, after wasting two whole days trying everything described anywhere in the internet for recovering data from internal storage, I have also learnt it the hard way that it won't be possible to recover my data. Anyways the good news is google photos had backed up most of my photos, so it would actually be the call recordings, whatsapp history and other documents that I would have to loose permanently.
langeveld024 said:
Never upgrade between android versions (e.g. 4.4 > 5.0) using a zip installable.
Click to expand...
Click to collapse
As for the upgrade issue, is this only for lollipop or any android version? I have never seen anything similar when I upgraded from 4.0 to 4.1 or 4.2 to 4.4 e.t.c. If I shouldn't use zip installable to upgrade android versions how else do I upgrade to kitkat or lollipop? I don't think there are any factory images published for lollipop for my phone since support for it ended long time ago.
ZeroInfinity said:
Today, I have experienced a very "odd" problem. I have just found out that there is a folder called "storage" visible in my Internal Storage.
When I thought that, since it was visible, it did not contain much useful files (Only 2 xml files I found which would be in both internal and external storage) so I deleted that folder and everything in my SD Card and Internal Storage vanished.
I found out that the "storage" folder had a link to both storage devices but the weird thing is, why was that there and why is it visible? I could of sworn that I have never seen that before on my Xperia Z...
Can anyone else see their "storage" folder in the internal storage or is it just me?
Click to expand...
Click to collapse
Am again reviving this old thread as today I deleted a folder named sdcard inside my oneplus 3's internal storage and lost everyrhing. Though I had never upgraded my phone using any zip file and always went with the OTA update
I also made a thread https://forum.xda-developers.com/oneplus-3/help/strange-t3537998
Out of 25.* GB of storage I have, 3gb Using the storage tool on my phone, it shows that 20gb is listed under "other"... this has happened before and I used directory scan in ES file explorer, and found it was some games cache doing it, but I can not figure out how to do a root scan with ES..
I have done the SD card analyst and it only found one file over a gig and it was my ONE TWRP backup..
Poshture said:
Out of 25.* GB of storage I have, 3gb Using the storage tool on my phone, it shows that 20gb is listed under "other"... this has happened before and I used directory scan in ES file explorer, and found it was some games cache doing it, but I can not figure out how to do a root scan with ES..
I have done the SD card analyst and it only found one file over a gig and it was my ONE TWRP backup..
Click to expand...
Click to collapse
Why you are worried apps store there files in sdcard. They are important if you wipe files using any cleaner it is possible that some of your apps will not work.
Sent from my Nokia 3315.
kartik.kayz said:
Why you are worried apps store there files in sdcard. They are important if you wipe files using any cleaner it is possible that some of your apps will not work.
Sent from my Nokia 3315.
Click to expand...
Click to collapse
I don't care what is taking up the space, I just want to get rid of it, I hate only having 2-3 gigs..
Poshture said:
I don't care what is taking up the space, I just want to get rid of it, I hate only having 2-3 gigs..
Click to expand...
Click to collapse
Mine looks like this. So you have only 3gb space available. Send screenshot
Sent from my Nokia 3315.
There you go.
Poshture said:
There you go.
Click to expand...
Click to collapse
Other files are which are not stored in the default folders. You know our phone makes some default folders like- DCIM, MUSIC, ANDROID, WALLPAPERS. Apart from these folders everything is considered as other files. Move your music and video files to the default than you will be seeing decrement in other files. Try it I am sure about it.
Sent from my Nokia 3315.
Poshture said:
There you go.
Click to expand...
Click to collapse
With ES in root-enabled mode, can you check /data/media/ folder
reason:
in 4.1.2 /sdcard = /data/media/
in 4.2.2+ /sdcard = /data/media/0/
so you may have "leftovers" (needed or unneeded) in /data/media/ which didnt get moved to /data/media/0/
(and these won't show up on your PC, only with a root-enabled file explorer)
Here is mine:
the 0 folder is your sdcard/internal storage, so dont mess with that,
the others are pretty much empty
you should check if you have any large folders in there (except 0), a good example would be CWM backups, which are stored in /data/media/clockworkmod/backup/
or possibly other files that weren't moved to 0 (your sdcard)