Lineage 16 on Samsung Galaxy S5 - 'Internal Shared Storage' - LineageOS Questions & Answers

Hi there,
I have flashed multiple versions of Lineage, the latest being: lineage-16.0-20190923-nightly-klte-signed
I also have installed: open_gapps-arm-9.0-mini-20190924 and addonsu-16.0-arm-signed
If I go to Storage >> Device Storage - I see 5.24GB used of 16.00 GB - however, if I take a screenshot and try to save it, I get:
can't save screenshot due to limited storage space
I have no issues to see the SD Card.
When I connect the S5 to my W10 PC it reflects what I experience in the phone, please see attached picture.
If I boot in recovery mode, connect the phone to my PC, both 'Internal Shared Storage' and 'SD Card' are visible with their respective values.
Due to this, I cannot save a screenshot or even restore a backup because it keeps telling me that there is not enough space on my phone's internal storage to restore.
Is this a bug or something with the permissions???
Please help me as I have been dealing with this issue for days now and I cannot find neither much help online nor a solution.
Thank you,
Alex

Hi there,
Since nobody reacted, I am going to report this as a bug.
Alex

Related

[Q] SGH-i747 shows external SD card as "internal storage"

Good morning,
I have inadvertently found myself where my SGH-i747 running Cyanogenmod 4.4.2 nightly, presently 5/27/2014, shows storage as swapped. I.E. When I go to settings/storage I see 6GB external and 16 GB internal. This wouldn't be a problem except for the fact that I'm getting insufficient storage available even though over 10 GB are shown as available. When I go into a file Explorer there are multiple emulated paths with redundant files/folders.
I'm looking for a thread that will show me how to format both internal and external storage followed by a reinstall of the OS. I've looked for days and while I see plenty of instructions where the OS sees the storage properly, I'm not sure it will work in my environment.
Does the fact that my phone has the storage swapped make a difference when doing a full blown format and reinstall?
If I do need to follow a different set of steps because my storage is logically swapped, would you please point me in the right direction?
My end goal is to have the majority of my storage usable. I have very few apps installed, no pictures, etc... Yet I'm constantly getting out of storage errors. If there's a simpler way than to format the whole device, reinstall OS then restore apps and data, please point me to the right post.
Thank you in advance for your time and assistance.
Regards,
Frank
dionysius65 said:
Good morning,
I have inadvertently found myself where my SGH-i747 running Cyanogenmod 4.4.2 nightly, presently 5/27/2014, shows storage as swapped. I.E. When I go to settings/storage I see 6GB external and 16 GB internal. This wouldn't be a problem except for the fact that I'm getting insufficient storage available even though over 10 GB are shown as available. When I go into a file Explorer there are multiple emulated paths with redundant files/folders.
I'm looking for a thread that will show me how to format both internal and external storage followed by a reinstall of the OS. I've looked for days and while I see plenty of instructions where the OS sees the storage properly, I'm not sure it will work in my environment.
Does the fact that my phone has the storage swapped make a difference when doing a full blown format and reinstall?
If I do need to follow a different set of steps because my storage is logically swapped, would you please point me in the right direction?
My end goal is to have the majority of my storage usable. I have very few apps installed, no pictures, etc... Yet I'm constantly getting out of storage errors. If there's a simpler way than to format the whole device, reinstall OS then restore apps and data, please point me to the right post.
Thank you in advance for your time and assistance.
Regards,
Frank
Click to expand...
Click to collapse
Do you see the same storage swap when you view your device on a computer rather than checking on the device itself? I would suggest you switch to a stable or (even if temporarily) stock ROM to see if there would be any changes. Once you've backed up your data, apps etc, a complete system restore would format your device whilst you can easily format the (external) SD card on your computer. Also check the SD card you are using to be sure it is legit and the listed storage capacity is indeed the actual storage. There have been quite a few complaints about SD cards purchased especially on places like eBay that are listed as one thing but are actually another.
Also idk if this helps but KitKat reads SD cards differently so you might be getting weird values
Sent from my ATT Samsung Galaxy SIII using TapaTalk
dionysius65 said:
Good morning,
I have inadvertently found myself where my SGH-i747 running Cyanogenmod 4.4.2 nightly, presently 5/27/2014, shows storage as swapped. I.E. When I go to settings/storage I see 6GB external and 16 GB internal. This wouldn't be a problem except for the fact that I'm getting insufficient storage available even though over 10 GB are shown as available. When I go into a file Explorer there are multiple emulated paths with redundant files/folders.
I'm looking for a thread that will show me how to format both internal and external storage followed by a reinstall of the OS. I've looked for days and while I see plenty of instructions where the OS sees the storage properly, I'm not sure it will work in my environment.
Does the fact that my phone has the storage swapped make a difference when doing a full blown format and reinstall?
If I do need to follow a different set of steps because my storage is logically swapped, would you please point me in the right direction?
My end goal is to have the majority of my storage usable. I have very few apps installed, no pictures, etc... Yet I'm constantly getting out of storage errors. If there's a simpler way than to format the whole device, reinstall OS then restore apps and data, please point me to the right post.
Thank you in advance for your time and assistance.
Regards,
Frank
Click to expand...
Click to collapse
try to install this https://play.google.com/store/apps/details?id=nextapp.sdfix;)

How the M8 handles an SD card as internal Storage.

This is a completely 'unsexy' issue I have - but is driving me nuts, and I can't seem to find the answer anywhere else (which is causing me to doubt my own sanity).
My reason for using the internal rather than external is that whilst external works on some apps where you can explicitly point to the SD, there are enough where it doesn't (spotify), and I was hoping OS level settings would resolve my issues.
Enough preamble.
Marshmallow is supposed to handle SD cards properly, and I have two marshmallow devices with SD cards I've formatted as internal storage.
First up, my nVidia shield K1 where I understand it.
I put the SD card in, format it to the device and end up with two items displayed under settings->storage - internal and SD memory.
When I install an app it initially goes internal, but I can move it move it to SD, and when I launch it the app it can only see the storage it's been installed on.
i.e. podcast, plex, spotify I anticipate to use a chunk of space that doesn't have to be fast. So I install them, move to the SD, load the app, they report 128GB of space and happily use it.
All great. Whole kaboodle stays on the SD.
On my M8 though, it completely broken - except I can't find anybody else ripping out their hair - hence the questioning of my own sanity.
I add the SD and format as internal. I choose the apps I consider to be "high-capacity" and move them on my SD. The app installs there - just when it downloads anything, it dumps it to the internal storage still.
e.g. I've got a 20Mb podcast app I've moved to my SD. Within the app I've selected internal storage (being the only option) - but when triggering the download it's put all the MP3s on my internal storage and my phone is bleating that is has no free space and bad things are about to happen.
AFAIK the Marshmallow update to my M8 is completely broken, and the simplest thing I can do is just mount my SD externally and use hope apps requiring storage allow me to select it.
Just can't believe it's that broken and hoping somebody can point me towards how I can resolve it.
goldcd said:
AFAIK the Marshmallow update to my M8 is completely broken, and the simplest thing I can do is just mount my SD externally and use hope apps requiring storage allow me to select it.
Just can't believe it's that broken and hoping somebody can point me towards how I can resolve it.
Click to expand...
Click to collapse
I have the same, insanity inducing problem and hope some has found a solution since this post. I hope this reopens the tread and some one can help me out.
ThankS
Hmm was looking at getting a m8 as well but if adaptable storage is broken the phone won't be of any use to me. I hope we can find answers and solutions.

OPO Internal Storage Not Accessible

This question is in relation to my other active thread. https://forum.xda-developers.com/lineage/help/app-installation-issues-lineage-os-14-1-t3590758
I wiped CM12.1 OPO and the Internal Storage in the hopes of removing any remnants of few apps that are not installing as per the above thread. But now the internal storage isnt accessible anymore. Only via TWRP connected to the laptop am I able to load files in to the 64GB Internal Storage of the OPO. Otherwise creating simple folders and copying data using the inbuilt Files App of Lineage OS14.1 Nightly (April 10th 2017 Build) or even File Transfer Protocol or MTP from Laptop to the device isnt happening. Taking a screenshot, using the camera, transferring data via ShareIt are not working anymore as the message received is insufficient storage space. My guess is that the boot partition is the only space these apps are being allowed to use (which obviously isnt enough) Apps however are getting installed into the internal storage. TWRP and Android are the only two folders in the Internal Storage. How do I take care of this issue? Please help! SOMEONE!
GanZ
Oh cmon folks! No solution from anyone to this issue or the other??? Really disappointed with XDA!
Issue Fixed thanks to this thread https://forum.xda-developers.com/showthread.php?t=2222297
Moderator Please close this thread as solved!
Regards,
GanZ

Does someone try the adoptable storage since the last Nokia 6.1 update?

Hello,
Normally, in a perfect world, adoptable storage should allow to enhance memory thank to the sd card.
Anyone who tried to use the adoptable storage with the Nokia 6.1 encountered the problem of corrupt datas.
See
https://forum.xda-developers.com/nokia-6-2018/how-to/adoptable-storage-available-pie-update-t3873841
Does someone enough brave already try again to activate this adoptable storage?
Thanks you
yes, I retried it last week (with latest official patch applied).
I migrated > 10GB of data. Afterwards I checked 'DCIM' and 'Download'. All files got totally corrupted (looks like every byte different).
It seems that newly created files were not corrupted. (Was just a fast check with 2-3 pictures)
I migrated back and removed SD card. Files still corrupted. During the last test in ~2019 I figured out that the files some when magically got fixed again some time after migrating back. Hope this happens again this time...
Maybe it also just needs some time after migrating to reencrypt the files for the SD card?
Does anybody know more about the internal processes during and after migration?
Hi, I didn't try the above method, but I used adb commands to format the SD-Card as internal. It basically worked and I am able to run the apps that I migrated to the external card.
HOWEVER:
1. The external card and it's files are completely invisible to any file-system-apps. So I can't see the data.
2. Apps that require some kind of login never keep that login. If you close the app and start it again, you need to login again. This seems to indicated that the apps have been migrated, but are unable to actually use the external space to save new files.
Does anyone think that rooting the device would help?
Cheers,
Calon
my experience with adaptable storage was the same as krisha2k's. all migrated user data I had appeared to become corrupted, and most apps that I moved to the sd card either couldn't save any app data (game saves/logins) or even lost functionality (Snapchat friends list disappeared). some really old and ancient apps that I moved to adoptable storage kept their saves etc (ice cream jump, Neko atsume).
I also found that games with in-app downloads would save their download to the internal storage, as well as external when the app appeared to be stored on the external only.
most apps are broken because of newer android changes that protect external storage write access (and i think read too). I'm not an expert in that though. just speculation
in the end, I just did a factory reset and I've settled with using the sd card as portable storage and storing large files on there (4k video from camera etc).
its a shame because it was a spare 128GB card I had lying around, and I would have liked to have some bigger apps installed, but it doesn't matter too much. but I guess that's just how things are now.
i personally wouldn't recommend doing it. you have potentially everything to loose if you accidentally migrate all your internal data, and what seems to be absolutely nothing to gain.

[Method] Merging SD Card with Internal Storage

This post documents a method of enabling Adoptable Storage with adb commands on sony phones where previously similar solutions seem hard to find. Please link similar methods if they exist somewhere else, I am curious to read.
Personal success on SO-02K (NTT DoCoMo XZ1c ) fw version 47.2.B.5.38 Android Pie, 128G A2 card.
The method results in a fraction of the microSD Card being recognised by the system to be able to transfer apps to, and another fraction where the sd card remains external storage.
The Stock Camera will only be able to save to the mentioned external storage partition after this process, and it will fail to save to internal storage.
Some apps may not work when transferred to the sd card and have to stay in onboard storage.
Premise
I carried out the process with a freshly flashed phone, with a minimal amount of apps present in the system. I cannot guarantee same success with an almost-full phone, although in principle it should be the same. If anyone has success on a more full system please let me and others know.
ADB Debugging should be turned on in developer options and authorization of PC given in advance; root or bl unlock not necessary.
SD Card will be WIPED in the process. For your data's safety do backup everything on your phone, both internal memory and external memory before proceeding! Don't yell at me if in the end it'll have to be restored.
Process
adb shell
sm list-disks this should return two integers such as 179,0
sm partition disk:179,0 mixed xx where the 179,0 should be your result in step 2 and xx be the amount of space reserved for /sdcard ; wait until command finishes. For the mixed xx see Miscellaneous#2 for explanation. Please also reply if you know the command to revert the changes made in this step, because I'd expect it be useful in the future and I don't know what it is.
Turn on force allow apps on external in bottom of developer settings if haven't done so.
Open camera app, click on OK until warnings go away, then set save directory in SD Card. Test if it saves successfully, if not, see Miscellaneous#1.
Reboot, then try moving some apps to your sd card! Some core function apps are not movable; that is to be expected.
Miscellaneous
If your camera won't allow you to open up settings (keeps saying cannot save), then you have run into a problem I have never seen before. If you can go into camera settings but the SD Card option is greyed out, that means either you have not reserved enough space in mixed xx or the command may have gone wrong. Or the card may not be in perfect condition for Adoptable Storage. You can unplug the sd card to see if the camera works fine after that, but I haven't tried that. If anyone knows the corresponding command to revert the changes made in Process#3, please let everyone know!
The mixed xx part allows a part of the sd card to remain.... an sd card. xx% of the space in your card will be recognised as external(portable) storage by your phone, and is readable by a PC. This portion will be the place where your future photos and videos are saved in, as the camera will fail saving to internal space. Thus you may want to use the fastest card you have and set xx based on your use patterns. The other part, the (100-xx) % of space is recognised by the phone as internal storage that it can put apps in, although some apps (especially some games) will still save assets in the phone's on board storage no matter where you move the main app.
This post is re-written from original post(chinese)
Thanks for sharing this but in my experience it does not work. I followed the guide and It looks like it worked, however now I don't understand how to move the apps away from the internal memory to exploit the new storage space provided by the SD "internal" memory... each time I try to move an app I get a "not enough memory" error message although there are about 64Gb free, no matter what app I try moving. I also noticed that deleting an app from the phone and then re-installing the app in the phone will finally install it in the SD but several apps I tried didn't work any more once re-installed in the SD storage.
indago said:
Thanks for sharing this but in my experience it does not work. I followed the guide and It looks like it worked, however now I don't understand how to move the apps away from the internal memory to exploit the new storage space provided by the SD "internal" memory... each time I try to move an app I get a "not enough memory" error message although there are about 64Gb free, no matter what app I try moving. I also noticed that deleting an app from the phone and then re-installing the app in the phone will finally install it in the SD but several apps I tried didn't work any more once re-installed in the SD storage.
Click to expand...
Click to collapse
Hi and Merry Christmas!
I do get system warnings saying the phone is full while it isn't; it seems that Android freaks out a little trying to gather disk usage info when the SD card is merged with internal space. However I can move most non-system-apps.
Did you move the app with the (Press&Hold App Icon)->App Info ->Storage->Change function? I found I didn't include this part in the original writing and might have been a source of confusion. Assuming it was done in App Info, could you tell me what apps don't work, and perhaps I can try on my phone. I also wonder how much storage did you allocate to each of the two partitions on the SD card.
Another potential source of error is the card itself, in some cases, the card may have bad blocks that Android doesn't correct for and cause read problems, as my SD card now begins to show. Sometimes I wake up to see my home screen devoid of apps, and I have to reinsert and restart the phone multiple times before the SD card gets recognized by the phone again.
Did you move the app with the (Press&Hold App Icon)->App Info ->Storage->Change function?
Click to expand...
Click to collapse
yes.
Assuming it was done in App Info, could you tell me what apps don't work
Click to expand...
Click to collapse
all. I was not able to move any app.
I also wonder how much storage did you allocate to each of the two partitions on the SD card
Click to expand...
Click to collapse
50% of 128Gb, that is 64Gb each.
Another potential source of error is the card itself
Click to expand...
Click to collapse
it doesn't seem the card, since the remaining 64Gb left for external storage, that is where the camera app is saving photos and videos and some other apps save data, still works fine.
Here it is the screenshot of how Android now sees the storage configuration (android settings > storage) after I performed the procedure described above for configuring adoptable storage (writings are in Italian but I think it should be easy to understand).
indago said:
Here it is the screenshot of how Android now sees the storage configuration (android settings > storage) after I performed the procedure described above for configuring adoptable storage (writings are in Italian but I think it should be easy to understand).
Click to expand...
Click to collapse
mine looks the same. I don't know what to suggest. I'll look around on other forums to see if people have the same problem.
This post is re-written from original post in Chinese which in turn is adapted from a lost post on gfan.com.
It also turns out that googling sm partition would give a lot of information most dated back to android 6.
I've been looking around as well, but was able to find only people reporting failures in enabling odoptable storage on Sony devices. However, one difference between your phone and mine is fw version: mine has 47.2.A.11.228 (no brand) - don't know if this can make any real difference.
By the way, I'm wondering whether it could be possibile to install a rarely-used app in the internal memory, then "park" the app in the SD card's external memory by moving its files, then eventually move it back to internal memory only in the case you need opening that app. If it works, it could be a trick for keeping all the apps you want "freezed" in the phone, by taking the usually unused apps in the external memory, then moving one of them in the internal memory only in the rare circumstance you need using it. Then moving it back to the external memory if you think you won't use it any more for a long period. Obviously one could simply uninstall and reinstall those rarely-used apps on occurrence, but that would take more time, consume data traffic and lose the app existing data, so I think that >IF< this kind of trick could be feasible, I'd go for it.
indago said:
I've been looking around as well, but was able to find only people reporting failures in enabling odoptable storage on Sony devices. However, one difference between your phone and mine is fw version: mine has 47.2.A.11.228 (no brand) - don't know if this can make any real difference.
By the way, I'm wondering whether it could be possibile to install a rarely-used app in the internal memory, then "park" the app in the SD card's external memory by moving its files, then eventually move it back to internal memory only in the case you need opening that app. If it works, it could be a trick for keeping all the apps you want "freezed" in the phone, by taking the usually unused apps in the external memory, then moving one of them in the internal memory only in the rare circumstance you need using it. Then moving it back to the external memory if you think you won't use it any more for a long period. Obviously one could simply uninstall and reinstall those rarely-used apps on occurrence, but that would take more time, consume data traffic and lose the app existing data, so I think that >IF< this kind of trick could be feasible, I'd go for it.
Click to expand...
Click to collapse
Striking news in the new year-- my sd doesn't work now. Yesterday I checked everything worked, but now no apps installed on my sd card open. using sm list-volumes shows both internal and portable partitions on the SD are mounted, but the apps still refuse to open.
The card looks like it's corrupted, now the two partitions can't even be recognized with my card reader, I guess I'm screwed.
at my asus max m2 .... working, camera, i can move app to sd card and they still works
butttt the only thing is at settings/storage/ information; it shows numbers that dont are correct and a option "to forget sd card " ?!?!?
well i don't know.....

Categories

Resources