Hi there,
yesteday I wanted to update the build of my CM12 nightly by Archi. Since I was somewhat low on free space I decided to cleanup some old files before and did so. After that I copied the newest nightly to my phones sdcard and rebooted into recovery mode.
When trying to install the zip file I didnt see any files or folders on the sdcard. There only was a "Android" and "LOST.DIR" folder. Booting back into android (without installing or doing anything further) i noticed ALL of my sdcard data was simply gone. The external as well as the internal, everything is just deleted. No "SDCard Error" or something, it looks loke the ROM just decided to format it and use the then empty sdcard(s) again. How is such a thing even possible?!
I have recovered at least parts of the original content by using testdisk on my laptop, but still I really want to know how such a "desaster" can happen and ideally how to prevent it from happening again.
$ df
/mnt/shell/emulated 11.4G 7.3G 4.1G 4096
/storage/emulated 417.4M 0.0K 417.4M 4096
/mnt/media_rw/sdcard1 29.3G 864.0K 29.3G 32768
/mnt/secure/asec 29.3G 864.0K 29.3G 32768
/storage/sdcard1 29.3G 864.0K 29.3G 32768
/storage/emulated/0 11.4G 7.3G 4.1G 4096
/storage/emulated/0/Android/obb 11.4G 7.3G 4.1G 4096
/storage/emulated/legacy 11.4G 7.3G 4.1G 4096
/storage/emulated/legacy/Android/obb 11.4G 7.3G 4.1G 4096
Before the sdcard was like 25G of the 29.3G used...
Your internal card still has data present but your external has clearly been formatted.
Either the card is faulty or something happened after you copied the .zip across, premature ejection?
Related
So, I've been playing and looking at the filestructure/mountpoints. As we know, the 'internal' memory available for apps is only 2Gb.
To me, it looks like this 2Gb is shared with the /data directory.
Code:
1|[email protected]:/mnt # df
df
Filesystem Size Used Free Blksize
/dev 383.57M 52.00K 383.52M 4096
/mnt/asec 383.57M 0.00K 383.57M 4096
/mnt/obb 383.57M 0.00K 383.57M 4096
/system 984.27M 678.05M 306.22M 4096
/data 1.80G 1.10G 718.43M 4096
/cache 738.20M 12.57M 725.64M 4096
/dvp 4.84M 1.04M 3.80M 1024
/persist 7.26M 1.17M 6.09M 1024
/mpt 15.48M 11.28M 4.21M 4096
/mnt/sdcard 1.80G 1.10G 718.43M 4096
Now, the external SD gets mounted to /mnt/sdcard/external_sd. I'm dabbling and learning here - but what would be the best way to mount the partitions to maximize the use of the external SD card?
John.
Exchange sdcard and extsdcard
Sent from my LG-P765 using xda premium
What are the odds that this will enable app2sd on android 4.0.4? even if they are low, what should I alter in /etc/rc.d to make sure that the sd card is mounted quickly during the boot process? and finally, precisely how might one go about altering the fstab mounts properly? i could probably fumble through it but im not sure what's different about a phone's boot process as opposed to a normal linux box.
so it looks like /mnt/sdcard is mounted from /dev/fuse (filesystem in userspace)
/dev/block/platform/omap/omap_hsmmc.1/by-name/userdata is mounted as /data
/dev/block/vold/179:61 is mounted as /mnt/sdcard/external_sd
/etc/vold.fstab has mount data for external_sd:
dev_mount extsdcard /mnt/sdcard/external_sd auto /devices/platform/omap/omap_hsmmc.0/mmc_host
it still isnt obvious to me how /data and /mnt/sdcard are linked, though they are. /data seems to be using a block device and /mnt/sdcard is using the fuse filesystem. if there is a way to unlink the two we may be able to alter the mount point for the sdcard. does anyone know how this mounting works with a 4.0.4 device that DOES have the sd card mounted correctly?
let me know if im derailing the original point of the thread and ill make a new one
edit:
this forum page seems to have some of the droids im looking for.
http://forum.xda-developers.com/showthread.php?t=1786014 (the thread)
http://forum.xda-developers.com/showpost.php?p=29413682&postcount=53 (for cm9)
http://forum.xda-developers.com/showpost.php?p=29901478&postcount=70 (for stock ics)
this is for the galaxy tab 2, but is written for ics and will probably work for other ics devices with a little modification
Being a naturally curious guy I decided to figure out why my KHDX with 64GB, but using a Safestrap ROM slot, is "running out of space".
Generally when that happens, I use "DiskUsage", an app in PlayStore by "Ivan Volosyuk", which I'd been using when my phone was an OG Droid, and this app was updated for KitKat and everything. I'm sure everybody had used it at some time. If you haven't... You should.
https://play.google.com/store/apps/details?id=com.google.android.diskusage
It's a storage visualizer, much like SequoiaView or WinDirStat on PC.
Any way, generally, when DiskUsage is on a phone, I should see
App Storage
Storage Card
/storage/sdcard0 (and perhaps sdcard1 as well)
[Root Required]
(That's the way my Droid Bionic is setup, running stock-based ROM and a Cyanogen Mod 10.2 in slot 1)
However, when the same app is on the HDX, running inside ROM slot 1... I get...
Storage Card
[Root Required]
No app storage, eh?
Also, the normally accurate progress bar where it reads all the directories and sizes? Jumped all over creation, counted up to like 312% and such crazy things. But eventually it told me that TOTAL storage I have on the 'storage card' is 6192MB with ZERO free space detected (eh?)
using "Root required" option lets you browse the directories with root permissions and yielded a bunch of interesting stuff under storage
/storage/emulated
/storage/emulated/0
/storage/emualted/0/Android/obb
/storage/emulated/legacy
/storage/emulated/legacy/Android/obb
None of these "emulated" stuff exists on my phone. (Droid Bionic has ROM, 8 GB "internal" SD, and I have a 32GB microSD in there too).
So, after all that blah blah blah... The question...
Can someone explain or link to article that explains how the storage is counted in the HDX?
How can there be no app stroage?
What is that "emulated" and "emulated/legacy"? (I 'll research that myself too)
And perhaps related to Hashcode's Safestrap HDX... Where is the rest of my 64GB?
You should issue a "df" command in a terminal (adb shell from pc, or from pc with JuiceSSH for example. Here is my output on a slot rom on my 16G kindle. You can see that i have 3G left on 11G for sdcard.
What is probably happening is your virtual /data partition (slot) which store downloaded apps runs out of space (i think your limited with safestrap when creating the slot, i did choose 2G for me).
Now most games should install theire game data on sdcard, else i guess you should be able to use some move to sd options in applications settings or with an app.
Filesystem Size Used Free Blksize
/dev 871M 48K 870M 4096
/dev 871M 48K 870M 4096
/mnt/secure 871M 0K 871M 4096
/mnt/secure 871M 0K 871M 4096
/mnt/asec 871M 0K 871M 4096
/mnt/asec 871M 0K 871M 4096
/mnt/obb 871M 0K 871M 4096
/mnt/obb 871M 0K 871M 4096
/datamedia 11G 8G 3G 4096
/ss 11G 8G 3G 4096
/system 1G 1009M 74M 4096
/system/fonts 79M 79M 0K 1048576
/cache 295M 9M 286M 4096
/data 2G 905M 1G 4096
/persist 31M 4M 27M 4096
/firmware 63M 18M 45M 16384
/persistbackup 31M 4M 27M 4096
/mnt/shell/emulated 11G 8G 3G 4096
/storage/emulated/legacy 11G 8G 3G 4096
/storage/emulated 871M 0K 871M 4096
/storage/emulated/0 11G 8G 3G 4096
/storage/emulated/0/Android/obb 11G 8G 3G 4096
/storage/emulated/legacy 11G 8G 3G 4096
/storage/emulated/legacy/Android/obb 11G 8G 3G 4096
Sent from my KFTHWI using xda app-developers app
Hello all,
Picked up one of these lovely phones (an XT1524) last week and, after rooting it using the TWRP recovery method, thought I'd try out the Xposed Alpha to see if it was usable at all and I've encountered some ever so slightly phone specific issues (I think they are as I've not seen them on my N5, N7 or Nvidia Shield that I've also installed the alpha on). After having rooted and flashed the Xposed zip the phone starts complaining that the system is running out of space (needing a minimum 250MB free). I adb onto the phone and a cursory df reveals the following storage stats:
Filesystem Size Used Free Blksize
/dev 438.9M 64.0K 438.9M 4096
/sys/fs/cgroup 438.9M 12.0K 438.9M 4096
/mnt/asec 438.9M 0.0K 438.9M 4096
/mnt/obb 438.9M 0.0K 438.9M 4096
/system 1.7G 1.4G 365.9M 4096
/data 5.0G 381.2M 4.6G 4096
/cache 248.0M 192.0K 247.8M 4096
/persist 3.9M 176.0K 3.7M 4096
/firmware 59.0M 48.3M 10.7M 4096
/fsg 1.1M 1.1M 0.0K 1024
/mnt/shell/emulated 5.0G 381.2M 4.6G 4096
/storage/emulated/legacy 5.0G 381.2M 4.6G 4096
As you can see, any partition that is supposed to have > 250MB assigned has at least 250MB of free space, and the /system partition has 365.9MB of free space. In addition, when trying to install the Xposed installer app I receive the following error: "Failure [INSTALL_FAILED_DEXOPT]". My Google-fu skills have failed me with this as I can only find development level resolutions to this issue (concerning the number of methods in the app) which I am clearly not skilled enough to fix (I can put together a basic app, but Xposed is far too advanced for me).
My question is the following: Has anyone else encountered these issues and, if so, have they got any fixes that I could apply to my phone?
If there are any other people who've seen this I can try to put together a bug report and submit it over on the Xposed forum/GitHub.
Xposed is still pretty buggy. Try to wipe cache in twrp.
Hello,
I own a LG P880 16GB and decided to flash it with a custom ROM. The stock version was JB 4.1.2 for Europe. I've tried AOSP Lollipop 5.1.1 and later Euphoria-OS 1.1. I use custom recovery called ClockworkMod Recovery. I've also installed gapps from Nano Modular Package.
Before the flashing I wiped all data and caches in recovery. I've also explicitly wiped /system and /data.
And here is the question. Why a 200MB ROM takes up about 9GB on /data partition? My storage manager says that I only have 3.5GB space available. It used to be a lot more (around 12GB).
Here is a screenshot of my storage manager: http://i.imgur.com/IPaz9W2.png
I suspect that it could be my old files from previous android installations but how did they survive the wiping? I can't access the files from my JB installation (though it seems they take up the space) but I can access some music and photos from AOSP even though I have Euphoria-OS now.
My second guess is that the Lolipop reserves some space for builtin apps but since I use a custom ROM they are not installed.
Thank you
michlord1 said:
Hello,
I own a LG P880 16GB and decided to flash it with a custom ROM. The stock version was JB 4.1.2 for Europe. I've tried AOSP Lollipop 5.1.1 and later Euphoria-OS 1.1. I use custom recovery called ClockworkMod Recovery. I've also installed gapps from Nano Modular Package.
Before the flashing I wiped all data and caches in recovery. I've also explicitly wiped /system and /data.
And here is the question. Why a 200MB ROM takes up about 9GB on /data partition? My storage manager says that I only have 3.5GB space available. It used to be a lot more (around 12GB).
Here is a screenshot of my storage manager: http://i.imgur.com/IPaz9W2.png
I suspect that it could be my old files from previous android installations but how did they survive the wiping? I can't access the files from my JB installation (though it seems they take up the space) but I can access some music and photos from AOSP even though I have Euphoria-OS now.
My second guess is that the Lolipop reserves some space for builtin apps but since I use a custom ROM they are not installed.
Thank you
Click to expand...
Click to collapse
That is because of ART runtime
On KK and lower you had dalvik runtime which make small dalvik cache per app, for about few mb or less, with ART that will be much more. Mine sugestion is to clean up rom of apps whih you don't use (system apps) and also don't instal anything what you will not use (if possible)
Thats it
Sent from my LG-P705 using Tapatalk
After all it turned out to be what I thought... but still thanks for your time.
I don't know what kind of sorcery happened during the flash but here is what it looks like
Code:
/data
|_ some folder
|_ some folder
|_ /media
|_0 <--- why???
|_ folder from new rom
|_ folder from new rom
...
|_ folder from previous rom
|_ folder from previous rom
...
I found out about it after I've enabled root explorer in es file manager, without it the data folder was empty but occupied about 9GB.
michlord1 said:
After all it turned out to be what I thought... but still thanks for your time.
I don't know what kind of sorcery happened during the flash but here is what it looks like
Code:
/data
|_ some folder
|_ some folder
|_ /media
|_0 <--- why???
|_ folder from new rom
|_ folder from new rom
...
|_ folder from previous rom
|_ folder from previous rom
...
I found out about it after I've enabled root explorer in es file manager, without it the data folder was empty but occupied about 9GB.
Click to expand...
Click to collapse
Can you please make a screenshot, I want to see this...
Sent from my LG-P705 using Tapatalk
It isn't so easy to take a screenshot of this but take a look at the results of these commands:
df
Code:
Filesystem Size Used Free Blksize
/dev 493.8M 36.0K 493.8M 4096
/sys/fs/cgroup 493.8M 12.0K 493.8M 4096
/mnt/asec 493.8M 0.0K 493.8M 4096
/mnt/obb 493.8M 0.0K 493.8M 4096
/system 1.5G 560.7M 953.6M 4096
/data 12.3G 9.3G 3.0G 4096
/cache 378.2M 6.5M 371.7M 4096
/cal 15.8M 4.1M 11.7M 4096
/persist-lg 15.8M 4.0M 11.7M 4096
/mpt 15.8M 11.5M 4.3M 4096
/mnt/shell/emulated: Permission denied
/storage/emulated 493.8M 0.0K 493.8M 4096
/mnt/media_rw/sdcard1 3.7G 974.9M 2.7G 32768
/mnt/secure/asec: Permission denied
/storage/sdcard1 3.7G 974.9M 2.7G 32768 <----------------------------- sd card
/storage/emulated/0 12.3G 9.3G 3.0G 4096 <---------------------------- this can be accessed either by /sdcard/ or by /emulated/0/
/storage/emulated/legacy 12.3G 9.3G 3.0G 4096
find /data/ -type d -print (I've shortened the results and removed personal info)
folders under /media/0/ didn't even get listed (but the contents of this folder are just the usual stuff like Download, Music, Pictures, DCIM....)
Code:
/data/
/data/dontpanic
/data/misc
/data/misc/adb
/data/misc/audit
/data/misc/bluedroid
/data/misc/bluetooth
/data/misc/keystore
/data/misc/keystore/user_0
/data/misc/keychain
/data/misc/net
/data/misc/radio
/data/misc/sms
/data/misc/zoneinfo
/data/misc/vpn
/data/misc/shared_relro
/data/misc/systemkeys
/data/misc/wifi
/data/misc/wifi/sockets
/data/misc/wifi/wpa_supplicant
/data/misc/ethernet
/data/misc/dhcp
/data/misc/user
/data/misc/user/0
/data/misc/media
/data/local
/data/local/tmp
/data/data
/data/data/cyanogenmod.platform
/data/data/org.cyanogenmod.audiofx
/data/data/org.cyanogenmod.audiofx/cache
/data/data/org.cyanogenmod.audiofx/shared_prefs
/data/data/com.android.backupconfirm
/data/data/com.android.providers.calendar
/data/data/com.android.providers.calendar/cache
/data/data/com.android.providers.calendar/shared_prefs
/data/data/com.android.providers.calendar/databases
/data/data/com.android.contacts
/data/data/com.android.contacts/cache
/data/data/com.android.contacts/shared_prefs
...
/data/data/com.android.mms.service
/data/data/com.android.vending
/data/data/com.android.vending/cache
/data/data/com.android.vending/cache/main
/data/data/com.android.vending/cache/images
/data/data/com.android.vending/cache/logs
/data/data/com.android.vending/shared_prefs
/data/data/com.android.vending/app_sslcache
/data/data/com.android.vending/databases
/data/data/com.android.vending/app_RestoreTracker
/data/data/com.android.vending/app_widgets
/data/data/com.android.proxyhandler
/data/data/com.android.settings
/data/data/com.android.settings/cache
...
/data/data/com.google.android.gms/cache/volley
/data/data/com.google.android.gms/safe_browsing
/data/data/com.google.android.gms/databases
/data/data/com.google.android.gms/databases/realtime
/data/data/com.google.android.gms/app_chimera
/data/data/com.google.android.gms/files
/data/data/com.google.android.gms/files/chimera-modules
/data/data/com.google.android.gms/files/AppDataSearch
/data/data/com.google.android.gms/files/AppDataSearch/main
...
/data/data/com.android.browser/app_icons
/data/data/com.android.browser/app_databases
/data/data/com.android.browser/app_geolocation
/data/data/com.android.calculator2
/data/data/com.android.calendar
/data/data/com.android.calendar/cache
/data/data/com.android.calendar/shared_prefs
/data/data/com.android.camera2
/data/data/com.android.camera2/cache
/data/data/com.android.captiveportallogin
/data/data/com.android.certinstaller
/data/data/com.euphoria.wallpapers
/data/data/com.android.deskclock
/data/data/com.android.deskclock/cache
/data/data/com.android.deskclock/shared_prefs
/data/data/com.android.deskclock/databases
/data/data/com.android.development
/data/data/com.android.documentsui
/data/data/com.android.documentsui/cache
/data/data/com.android.documentsui/databases
/data/data/com.android.documentsui/shared_prefs
/data/data/com.android.providers.downloads.ui
/data/data/com.cyanogenmod.eleven
...
/data/data/com.chartcross.gpstest
/data/data/com.chartcross.gpstest/cache
/data/data/com.chartcross.gpstest/shared_prefs
/data/data/com.chartcross.gpstest/app_webview
/data/data/com.chartcross.gpstest/app_webview/paks
/data/data/com.chartcross.gpstest/app_webview/Cache
/data/data/com.chartcross.gpstest/app_webview/Cache/index-dir
/data/data/com.chartcross.gpstest/app_webview/Application Cache
/data/data/com.chartcross.gpstest/app_webview/Application Cache/Cache
/data/data/com.chartcross.gpstest/app_webview/Application Cache/Cache/index-dir
/data/data/com.chartcross.gpstest/app_webview/databases
/data/data/com.chartcross.gpstest/app_webview/Local Storage
/data/data/com.chartcross.gpstest/files
/data/data/com.sand.airdroid
/data/data/com.sand.airdroid/cache
/data/data/com.sand.airdroid/cache/aquery
/data/data/com.sand.airdroid/files
/data/data/com.sand.airdroid/files/AFRequestCache
/data/data/com.sand.airdroid/databases
/data/data/com.sand.airdroid/shared_prefs
/data/data/com.estrongs.android.pop
/data/data/com.estrongs.android.pop/cache
/data/data/com.estrongs.android.pop/files
/data/data/com.estrongs.android.pop/shared_prefs
/data/data/com.estrongs.android.pop/app_webview
/data/data/com.estrongs.android.pop/app_webview/paks
/data/data/com.estrongs.android.pop/app_webview/Cache
/data/data/com.estrongs.android.pop/app_webview/Cache/index-dir
/data/data/com.estrongs.android.pop/app_webview/Local Storage
/data/data/com.estrongs.android.pop/app_icons
/data/data/com.sonyericsson.music.googlelyricsplugin
/data/data/com.sonyericsson.androidapp.googlemusicextension
/data/data/com.sonymobile.headphoneselection
/data/data/com.sonyericsson.metadatacleanup
/data/data/com.sonyericsson.metadatacleanup/cache
/data/data/com.sonyericsson.metadatacleanup/shared_prefs
/data/data/com.sonyericsson.metadatacleanup/databases
/data/data/com.sonyericsson.music
/data/data/com.sonyericsson.music/cache
/data/data/com.sonyericsson.music/databases
/data/data/com.sonyericsson.music/files
/data/data/com.sonyericsson.music/files/.Fabric
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:crashlytics
/data/data/com.sonyericsson.music/files/.Fabric/io.fabric.sdk.android:fabric
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:answers
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:answers/session_analytics_to_send
/data/data/com.sonyericsson.music/app_google_tagmanager
/data/data/com.sonyericsson.music/shared_prefs
/data/data/com.sonyericsson.musicvisualizer
/data/data/com.sonyericsson.soundenhancement
/data/data/com.sonyericsson.music.wikipediaplugin
/data/data/com.sonyericsson.music.youtubekaraokeplugin
/data/data/com.sonyericsson.music.youtubeplugin
/data/data/com.andrewshu.android.reddit
/data/data/com.andrewshu.android.reddit/cache
/data/data/com.andrewshu.android.reddit/databases
/data/data/com.andrewshu.android.reddit/app_webview
/data/data/com.andrewshu.android.reddit/app_webview/paks
...
/data/property
/data/dalvik-cache
/data/dalvik-cache/profiles
/data/dalvik-cache/arm
/data/resource-cache
/data/lost+found
/data/drm
/data/media
/data/media/Download
/data/media/Download/Adobe Acrobat
/data/media/Download/QuickTransfer
/data/media/Books
/data/media/Podcasts
/data/media/Ringtones
/data/media/Alarms
/data/media/Notifications
/data/media/Pictures
/data/media/Pictures/Screenshots
/data/media/Pictures/Messenger
/data/media/.cr3
/data/media/.cr3/cache
/data/media/DCIM
/data/media/DCIM/.thumbnails
/data/media/DCIM/Facebook
/data/media/DCIM/Camera
/data/media/DCIM/100LGDSC
/data/media/DCIM/browser-images
/data/media/Android
/data/media/Android/data
/data/media/Android/data/com.android.gallery3d
/data/media/Android/data/com.android.gallery3d/cache
/data/media/Android/data/com.android.providers.media
/data/media/Android/data/com.android.providers.media/albumthumbs
/data/media/Android/data/com.google.android.youtube
/data/media/Android/data/com.google.android.youtube/files
/data/media/Android/data/com.google.android.youtube/files/offline
/data/media/Android/data/com.google.android.youtube/cache
/data/media/Android/data/com.google.android.youtube/cache/exo
/data/media/Android/data/com.android.browser
/data/media/Android/data/com.android.browser/files
/data/media/Android/data/com.lge.smartshare
/data/media/Android/data/com.lge.smartshare/files
/data/media/Android/data/com.lge.smartshare/files/_remote
/data/media/Android/data/com.lge.smartshare/files/player
/data/media/Android/data/com.lge.smartshare/files/icon
/data/media/Android/data/com.google.android.apps.maps
/data/media/Android/data/com.google.android.apps.maps/testdata
...
/data/media/Bluetooth
/data/media/log
/data/media/log/web
/data/media/log/web/css
/data/media/log/web/img
/data/media/log/web/js
/data/media/log/web/lib
/data/media/log/web/lib/collapse
/data/media/log/web/lib/jquery
/data/media/log/web/lib/jquery/css
/data/media/log/web/lib/jquery/css/images
/data/media/log/web/lib/jquery/js
/data/media/media
/data/media/media/audio
/data/media/media/audio/notifications
...
/data/media/.clipboard
/data/media/.appboxcache
/data/media/.dwnld
/data/media/storage
/data/media/storage/sdcard0
/data/media/storage/sdcard0/Android
/data/media/storage/sdcard0/Android/data
/data/media/storage/sdcard0/Android/data/com.sand.airdroid
/data/media/storage/sdcard0/Android/data/com.sand.airdroid/files
/data/media/storage/sdcard0/Android/data/com.sand.airdroid/files/cache
/data/media/data
.....
/data/media/data-app
/data/media/clockworkmod
/data/media/clockworkmod/download
/data/media/clockworkmod/download/download2.clockworkmod.com/data/media/clockworkmod/download/download2.clockworkmod.com/recoveries
/data/media/deviantART
/data/media/airdroid
/data/media/airdroid/app
/data/media/airdroid/app/download
/data/media/airdroid/images
/data/media/airdroid/lang
/data/media/airdroid/cache
/data/media/airdroid/config
/data/media/airdroid/upload
/data/media/airdroid/ScreenRecord
/data/media/Video
/data/media/My Documents
/data/media/.thinkfree
...
michlord1 said:
It isn't so easy to take a screenshot of this but take a look at the results of these commands:
df
Code:
Filesystem Size Used Free Blksize
/dev 493.8M 36.0K 493.8M 4096
/sys/fs/cgroup 493.8M 12.0K 493.8M 4096
/mnt/asec 493.8M 0.0K 493.8M 4096
/mnt/obb 493.8M 0.0K 493.8M 4096
/system 1.5G 560.7M 953.6M 4096
/data 12.3G 9.3G 3.0G 4096
/cache 378.2M 6.5M 371.7M 4096
/cal 15.8M 4.1M 11.7M 4096
/persist-lg 15.8M 4.0M 11.7M 4096
/mpt 15.8M 11.5M 4.3M 4096
/mnt/shell/emulated: Permission denied
/storage/emulated 493.8M 0.0K 493.8M 4096
/mnt/media_rw/sdcard1 3.7G 974.9M 2.7G 32768
/mnt/secure/asec: Permission denied
/storage/sdcard1 3.7G 974.9M 2.7G 32768 <----------------------------- sd card
/storage/emulated/0 12.3G 9.3G 3.0G 4096 <---------------------------- this can be accessed either by /sdcard/ or by /emulated/0/
/storage/emulated/legacy 12.3G 9.3G 3.0G 4096
find /data/ -type d -print (I've shortened the results and removed personal info)
folders under /media/0/ didn't even get listed (but the contents of this folder are just the usual stuff like Download, Music, Pictures, DCIM....)
Code:
/data/
/data/dontpanic
/data/misc
/data/misc/adb
/data/misc/audit
/data/misc/bluedroid
/data/misc/bluetooth
/data/misc/keystore
/data/misc/keystore/user_0
/data/misc/keychain
/data/misc/net
/data/misc/radio
/data/misc/sms
/data/misc/zoneinfo
/data/misc/vpn
/data/misc/shared_relro
/data/misc/systemkeys
/data/misc/wifi
/data/misc/wifi/sockets
/data/misc/wifi/wpa_supplicant
/data/misc/ethernet
/data/misc/dhcp
/data/misc/user
/data/misc/user/0
/data/misc/media
/data/local
/data/local/tmp
/data/data
/data/data/cyanogenmod.platform
/data/data/org.cyanogenmod.audiofx
/data/data/org.cyanogenmod.audiofx/cache
/data/data/org.cyanogenmod.audiofx/shared_prefs
/data/data/com.android.backupconfirm
/data/data/com.android.providers.calendar
/data/data/com.android.providers.calendar/cache
/data/data/com.android.providers.calendar/shared_prefs
/data/data/com.android.providers.calendar/databases
/data/data/com.android.contacts
/data/data/com.android.contacts/cache
/data/data/com.android.contacts/shared_prefs
...
/data/data/com.android.mms.service
/data/data/com.android.vending
/data/data/com.android.vending/cache
/data/data/com.android.vending/cache/main
/data/data/com.android.vending/cache/images
/data/data/com.android.vending/cache/logs
/data/data/com.android.vending/shared_prefs
/data/data/com.android.vending/app_sslcache
/data/data/com.android.vending/databases
/data/data/com.android.vending/app_RestoreTracker
/data/data/com.android.vending/app_widgets
/data/data/com.android.proxyhandler
/data/data/com.android.settings
/data/data/com.android.settings/cache
...
/data/data/com.google.android.gms/cache/volley
/data/data/com.google.android.gms/safe_browsing
/data/data/com.google.android.gms/databases
/data/data/com.google.android.gms/databases/realtime
/data/data/com.google.android.gms/app_chimera
/data/data/com.google.android.gms/files
/data/data/com.google.android.gms/files/chimera-modules
/data/data/com.google.android.gms/files/AppDataSearch
/data/data/com.google.android.gms/files/AppDataSearch/main
...
/data/data/com.android.browser/app_icons
/data/data/com.android.browser/app_databases
/data/data/com.android.browser/app_geolocation
/data/data/com.android.calculator2
/data/data/com.android.calendar
/data/data/com.android.calendar/cache
/data/data/com.android.calendar/shared_prefs
/data/data/com.android.camera2
/data/data/com.android.camera2/cache
/data/data/com.android.captiveportallogin
/data/data/com.android.certinstaller
/data/data/com.euphoria.wallpapers
/data/data/com.android.deskclock
/data/data/com.android.deskclock/cache
/data/data/com.android.deskclock/shared_prefs
/data/data/com.android.deskclock/databases
/data/data/com.android.development
/data/data/com.android.documentsui
/data/data/com.android.documentsui/cache
/data/data/com.android.documentsui/databases
/data/data/com.android.documentsui/shared_prefs
/data/data/com.android.providers.downloads.ui
/data/data/com.cyanogenmod.eleven
...
/data/data/com.chartcross.gpstest
/data/data/com.chartcross.gpstest/cache
/data/data/com.chartcross.gpstest/shared_prefs
/data/data/com.chartcross.gpstest/app_webview
/data/data/com.chartcross.gpstest/app_webview/paks
/data/data/com.chartcross.gpstest/app_webview/Cache
/data/data/com.chartcross.gpstest/app_webview/Cache/index-dir
/data/data/com.chartcross.gpstest/app_webview/Application Cache
/data/data/com.chartcross.gpstest/app_webview/Application Cache/Cache
/data/data/com.chartcross.gpstest/app_webview/Application Cache/Cache/index-dir
/data/data/com.chartcross.gpstest/app_webview/databases
/data/data/com.chartcross.gpstest/app_webview/Local Storage
/data/data/com.chartcross.gpstest/files
/data/data/com.sand.airdroid
/data/data/com.sand.airdroid/cache
/data/data/com.sand.airdroid/cache/aquery
/data/data/com.sand.airdroid/files
/data/data/com.sand.airdroid/files/AFRequestCache
/data/data/com.sand.airdroid/databases
/data/data/com.sand.airdroid/shared_prefs
/data/data/com.estrongs.android.pop
/data/data/com.estrongs.android.pop/cache
/data/data/com.estrongs.android.pop/files
/data/data/com.estrongs.android.pop/shared_prefs
/data/data/com.estrongs.android.pop/app_webview
/data/data/com.estrongs.android.pop/app_webview/paks
/data/data/com.estrongs.android.pop/app_webview/Cache
/data/data/com.estrongs.android.pop/app_webview/Cache/index-dir
/data/data/com.estrongs.android.pop/app_webview/Local Storage
/data/data/com.estrongs.android.pop/app_icons
/data/data/com.sonyericsson.music.googlelyricsplugin
/data/data/com.sonyericsson.androidapp.googlemusicextension
/data/data/com.sonymobile.headphoneselection
/data/data/com.sonyericsson.metadatacleanup
/data/data/com.sonyericsson.metadatacleanup/cache
/data/data/com.sonyericsson.metadatacleanup/shared_prefs
/data/data/com.sonyericsson.metadatacleanup/databases
/data/data/com.sonyericsson.music
/data/data/com.sonyericsson.music/cache
/data/data/com.sonyericsson.music/databases
/data/data/com.sonyericsson.music/files
/data/data/com.sonyericsson.music/files/.Fabric
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:crashlytics
/data/data/com.sonyericsson.music/files/.Fabric/io.fabric.sdk.android:fabric
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:answers
/data/data/com.sonyericsson.music/files/.Fabric/com.crashlytics.sdk.android:answers/session_analytics_to_send
/data/data/com.sonyericsson.music/app_google_tagmanager
/data/data/com.sonyericsson.music/shared_prefs
/data/data/com.sonyericsson.musicvisualizer
/data/data/com.sonyericsson.soundenhancement
/data/data/com.sonyericsson.music.wikipediaplugin
/data/data/com.sonyericsson.music.youtubekaraokeplugin
/data/data/com.sonyericsson.music.youtubeplugin
/data/data/com.andrewshu.android.reddit
/data/data/com.andrewshu.android.reddit/cache
/data/data/com.andrewshu.android.reddit/databases
/data/data/com.andrewshu.android.reddit/app_webview
/data/data/com.andrewshu.android.reddit/app_webview/paks
...
/data/property
/data/dalvik-cache
/data/dalvik-cache/profiles
/data/dalvik-cache/arm
/data/resource-cache
/data/lost+found
/data/drm
/data/media
/data/media/Download
/data/media/Download/Adobe Acrobat
/data/media/Download/QuickTransfer
/data/media/Books
/data/media/Podcasts
/data/media/Ringtones
/data/media/Alarms
/data/media/Notifications
/data/media/Pictures
/data/media/Pictures/Screenshots
/data/media/Pictures/Messenger
/data/media/.cr3
/data/media/.cr3/cache
/data/media/DCIM
/data/media/DCIM/.thumbnails
/data/media/DCIM/Facebook
/data/media/DCIM/Camera
/data/media/DCIM/100LGDSC
/data/media/DCIM/browser-images
/data/media/Android
/data/media/Android/data
/data/media/Android/data/com.android.gallery3d
/data/media/Android/data/com.android.gallery3d/cache
/data/media/Android/data/com.android.providers.media
/data/media/Android/data/com.android.providers.media/albumthumbs
/data/media/Android/data/com.google.android.youtube
/data/media/Android/data/com.google.android.youtube/files
/data/media/Android/data/com.google.android.youtube/files/offline
/data/media/Android/data/com.google.android.youtube/cache
/data/media/Android/data/com.google.android.youtube/cache/exo
/data/media/Android/data/com.android.browser
/data/media/Android/data/com.android.browser/files
/data/media/Android/data/com.lge.smartshare
/data/media/Android/data/com.lge.smartshare/files
/data/media/Android/data/com.lge.smartshare/files/_remote
/data/media/Android/data/com.lge.smartshare/files/player
/data/media/Android/data/com.lge.smartshare/files/icon
/data/media/Android/data/com.google.android.apps.maps
/data/media/Android/data/com.google.android.apps.maps/testdata
...
/data/media/Bluetooth
/data/media/log
/data/media/log/web
/data/media/log/web/css
/data/media/log/web/img
/data/media/log/web/js
/data/media/log/web/lib
/data/media/log/web/lib/collapse
/data/media/log/web/lib/jquery
/data/media/log/web/lib/jquery/css
/data/media/log/web/lib/jquery/css/images
/data/media/log/web/lib/jquery/js
/data/media/media
/data/media/media/audio
/data/media/media/audio/notifications
...
/data/media/.clipboard
/data/media/.appboxcache
/data/media/.dwnld
/data/media/storage
/data/media/storage/sdcard0
/data/media/storage/sdcard0/Android
/data/media/storage/sdcard0/Android/data
/data/media/storage/sdcard0/Android/data/com.sand.airdroid
/data/media/storage/sdcard0/Android/data/com.sand.airdroid/files
/data/media/storage/sdcard0/Android/data/com.sand.airdroid/files/cache
/data/media/data
.....
/data/media/data-app
/data/media/clockworkmod
/data/media/clockworkmod/download
/data/media/clockworkmod/download/download2.clockworkmod.com/data/media/clockworkmod/download/download2.clockworkmod.com/recoveries
/data/media/deviantART
/data/media/airdroid
/data/media/airdroid/app
/data/media/airdroid/app/download
/data/media/airdroid/images
/data/media/airdroid/lang
/data/media/airdroid/cache
/data/media/airdroid/config
/data/media/airdroid/upload
/data/media/airdroid/ScreenRecord
/data/media/Video
/data/media/My Documents
/data/media/.thinkfree
...
Click to expand...
Click to collapse
Everything is normal, you must to know that per app ART cache is minimum about 10-15mb... Then if your device is samsung and if you use stock rom, there are about 300-400 apps (bloat) then calculate
Sent from my LG-P705 using Tapatalk
Hi there,
Got Xiaomi MI3 with Internal storage 16 GB (no external SD card slot). After moving back to stock rom, facing this issue that I cannot access to phone storage. So cannot download, install any apps or use camera. Storage shows only system memory 6.7 GB. File directory shown from ADB is as follows:
[email protected]:/ # df
Filesystem Size Used Free Blksi
/dev 485M 212K 485M 4096
/mnt/secure 485M 0K 485M 4096
/mnt/asec 485M 0K 485M 4096
/mnt/obb 485M 0K 485M 4096
/system 739M 433M 305M 4096
/data 6G 180M 6G 4096
/cache 124M 4M 119M 4096
/mnt/cd-rom 1M 1M 0K 2048
/protect_f 8M 4M 4M 4096
/protect_s 8M 4M 4M 4096
/mnt/shell/emulated 6G 180M 6G 4096
/storage/emulated 485M 0K 485M 4096
from above there is another 6 GB but same is missing. File manager shows blank. So is this problem of phone storage not being mounted?
Thanks
Moving back to stock rom? Were you on like a CM based rom? How did you reinstall the stock rom? Do you have a custom recovery? Can you access your phone storage there, if so?
I would try to copy phone storage to PC from recovery, if you have a custom one. If not, I would use adb to pull the /sdcard/ to a PC and then use a custom recovery to format the data and reload the stock rom again. This should put everything back to normal.
pass
es0tericcha0s said:
Moving back to stock rom? Were you on like a CM based rom? How did you reinstall the stock rom? Do you have a custom recovery? Can you access your phone storage there, if so?
I have TWRP installed. I tested one MIUI based custom ROM but later move back to stock rom by SP flash tools. In TWRP, i can see phone memory which is around 6.5 GB., which is for system files and data only Until now i know that, in such device, where there is no SD slot, a part of Internal memory has partition as "emulated SD card" which behave like real SD card. From ADB, I can see that ""/mnt/shell/emulated" has rest 6 GB space. But i am unable to use that. Is that folder need to be mounted ?
I cannot create any file in file explorer or use camera or gallery in absence of phone memory. Please help.
Click to expand...
Click to collapse