Internal storage problem - General Questions and Answers

I have redmi 3s with fork LOS 17.1,
Have flashed numeral custom roms, at some point i noticed that there is no internal storage on file manager or on pc when i connect it via usb, just sdcard.
In screenshot you can see the file managers folder tree.
Also, i installed ex file explorer n it show's sdcard as internal storage, no real internal though.
I guess i setup sdcard as internal (adapted) storage through twrp...
Can i change that? And will i be able to use sdcard for installing apps after that? I will change rom to dot os 5.1.3 soon.

Installing an app on external SD-card only is possible if app's developer granted it. So the answer is: may be possible.

You can force applications to adapt to being moved to SD card but you have to enable that option in Developer Options. It's not really that stable and I had lots of problems with that. You may end up losing some applications randomly.

Related

[Q] Q about Jellybean Custom Rom Issues

Hello Android XDA-ers!
I'm a newbie on the Custom ROM scene, but I just installed my first custom ROM on my E-bayed Verizon Droid Incredible. I flashed it once. It was awesome. After 2 months, my system got slow and it said my phone was "running low on storage," so I saw a reply on the forum where I got the ROM (credit:Albinoman) saying I should re-flash. I did, but I'm a bit confused.
The first time I unzipped the ROM from /sdcard0. The second time I unzipped the ROM from /storage/sdcard1.
1. Does that matter? Should I have re-flashed from the same source?
Source, "/sdcard1" claims to be 6.5G of unused memory. The only way I can access it is with my ES File Explorer (or other apps like it). I was dubious and double-checked my "Storage" setting by installing "Storage Analyser" and even that acknowledged /storage/sdcard1 as viable 6.5G of storage.
2. If my "Settings>Storage" and "Storage Analyser" app are both accurage, how can I utilize this storage?
I have an SD Card present. It is a 2G card. Nothing seems to be accessing /sdcard1 and it's a rather large bit of space. I know that I can add things to that storage space because when I plug in via USB, I can add items to it and I can retrieve them. However, the only way to view it is to use Root Explorer. I would like my apps and music etc to save there by default. It seems like they are being limited to a 758Mb space.
3. I check specs online and they say my DInc should have 8G internal storage. Why can't i utilize this? Did I do something wrong when flashing my phone? Help!

Moving Kali Nethunter system (nhsystem) to SD card

I have nethunter room(Kali Linux for Android) installed in my Android 6.0
My internal storage is 4.7 GB. I have a SD card of 16 GB.
My problem is 4.7 GB is too low I cant install more packages.
Kali nethunter system is located in /data/local/nhsystem.
I am looking for a way to move nhsystem in my external SD card directly or by formatting it as internal storage (and of course use it).
Another thing I have noticed that my internal storage is also located somewhere inside nhsystem if I directly delete nhsystem with root browser, my internal storage is gone.
Request help for moving Kali Nethunter system (nhsystem) to SD card
Hi bro
I've got the same problem with my samsung glalxy a3 (2017) SM-a320fl. I search on the Net for fix this problem but i nothing found.
The problem is the way to change the links about the app, i think. The apk must be installed on SD card (2° partition, ext2/3/4) immediatly, and then move the data, i believe. Finally must move the remaining files, of course.
I still have to find a solution. ((
I kindly wanted to ask you if you were able to solve this problem, because I have not succeeded so far.
You did?
Thanks.

How to prevent Android 11 from using the SD card?

Dear all,
the following problem might be unusual and the opposite of what other people want, but as the title says:
Is it possible to prevent Android 11 (and custom ROMs based on it) from writing to the external SD card? That is, I don't want apps or the O/S itself to store any data there. You now probably are asking yourself whether I have gone totally crazy, putting an external SD card into the phone and not wanting it to be used, so I'll give a bit of background:
I have a Samsung S9 plus Duos (G965F/DS) and have installed a custom recovery (TWRP 3.5.2) and a custom ROM (ArrowOS 11) onto it. Then I have installed SSHelper 13.2 and have put an external SD card into the phone.
I am taking backups very seriously. I don't want to root my phone, but nevertheless want bit-for-bit backups of all partitions or data, respectively. I don't have much data on the phone, but the data and the O/S configuration I *do* have must be regularly backed up no matter what. The backup must *not* be in the cloud. That led me to the following idea for the backup process:
- Boot into TWRP
- Let TWRP make the backup, using the partitions of the internal storage as source, and using the external SD card as destination
- Reboot to system
- Fire up SSHelper
- Copy the backup from the external SD card to a PC, e.g. via WinSCP.
That process works like a charm; I have done it several times.
[ Side note: The SSHelper / WinSCP combo is ingenious. It enables me to transfer data (e.g. backups) between my PC and my phone without involving the cloud and without having to pull out the external SD card all the time. Doing the latter every other day would probably damage the phone or the external SD card quite fast. ]
Now I have only one small problem left: Android itself of course recognizes the external SD card as well and installs a folder structure on it (e.g. Downloads, Movies, Pictures etc.). Although I actually haven't seen files (other than placeholders) in there yet, I have no clue if and under which circumstances apps or the O/S might put important data in these external SD card folders. I have to prevent the latter, because it would render my backup method (backup internal storage completely to external SD card) useless.
Hence the question: Is there a method to tell the O/S and all apps that they may read the external SD card, but under no circumstances must place data there?
Thank you very much in advance for any ideas!
P.S. I have seen many threads where users had problems with the external SD card, e.g. not being able to make apps use it or not being able to see its contents. But I somehow have the opposite problem: Of course, I need to see the external SD card's contents (which is no problem), but I want to prevent normal apps and the O/S from writing something there.
No you can't prevent android from creating default folders on it, but I'm pretty sure you can exclude them from backup.
Thank you very much!
However, excluding these folders from backup wouldn't be wise if Android or an app would have put data in them ...
D9yHyi8Fe3mo1YgM said:
Thank you very much!
However, excluding these folders from backup wouldn't be wise if Android or an app would have put data in them ...
Click to expand...
Click to collapse
Then don't exclude the whole Android folder, just some folders inside. Like /obb folder or system apps data inside /data
Or just exclude "LOST" or other cache folders.
D9yHyi8Fe3mo1YgM said:
Dear all
Is it possible to prevent Android 11 (and custom ROMs based on it) from writing to an SD card? That is, I don't want apps or the O/S itself to store any data there.
Click to expand...
Click to collapse
Assuming you are speaking of an External SD-card ( Note: As with Android internal storage memory by default is named SD-card ).
As long as you don't use an external SD-card ( completely or partially ) as Adoptable Storage by default neither apps nor OS itself write to it ( store data on it ).
@jwoegerbauer Thank you very much! This what I have experienced, too. I have seen the folders, but no data in them. I am still wondering why it creates those folders at all if it doesn't put data in them.
I eventually have missed it, but I think I have gone through every option of ArrowOS, but didn't find a menu item where I could activate (or inactivate) the external SD card as adoptable storage. Therefore I suspected it would do that automatically, depending on circumstances.
Another mystery (for me) is that (AFAIK) data would go into subfolders of the "Android" folder on the external SD card. But the Android folder is nearly empty, while the rest of the folder structure (Documents, Pictures etc.) is at the root level of the external SD card (i.e. at the same level as the "Android" folder).
P.S. Yes, I was speaking of the external SD card. I'll check if it's still possible to edit my posts and make that clear.
Thank you very much again!
XDHx86 said:
Then don't exclude the whole Android folder, just some folders inside. Like /obb folder or system apps data inside /data
Or just exclude "LOST" or other cache folders.
Click to expand...
Click to collapse
Thank you very much again!
I should have made myself more clear: My plan is to have all data only in internal storage and to back up internal storage to the external SD card.
When there is normal data (besides these backups) on the external SD card, three problems arise:
1) The normal data on the external SD card takes up space. If I can't control which data Android and the apps put there, the remaining space may not be sufficient for the backups one day.
Every portion of normal data which is on the external SD card counts twice in that sense. First, it increases the backup size by its own size; secondly, it reduces the space which remains for the backups by its own size.
2) I know that I wrote that I will transfer the backups to a PC wirelessly. However, I still want the phone to run normally even after I have removed the external SD card. If Android or the apps put normal data on the external SD card, this is not possible any more.
3) Excluding certain data on the external SD card from backup is problematic and would void the main advantage of my backup strategy:
I really don't need to think about what to exclude or include. I just back up all internal partitions, completely and bit by bit, to the external SD card. If I lose the phone, I can buy another one, flash TWRP onto it, restore those backups, and have the original O/S, apps and all data, and even dm-verify will be no issue.
I have no clue about Android and I am not able (or would be too lazy anyway) to decide which data to include or exclude to achieve the same. So I really would like to avoid that triage.
I believe that some time ago I had found an ugly trick to keep Android and the apps from creating and using those folders. I'll have to check whether I have taken notes about it ...
Thank you very much again!
@D9yHyi8Fe3mo1YgM
To clarify things:
You have to distinguish between portable storage and adoptable storage. Adoptable storage really extends device's internal storage, whereas portable storage does not.
If apps are granted WRITE_EXTERNAL_STORAGE / READ_EXTERNAL_STORAGE permission then they can access the external SD-card, too.
jwoegerbauer said:
You have to distinguish between portable storage and adoptable storage. Adoptable storage really extends device's internal storage, whereas portable storage does not.
Click to expand...
Click to collapse
Thank you very much again! I suspected so, but didn't find the setting in the UI of ArrowOS yet. I am nearly sure that I just missed it, and will research again (just out of curiosity, because extending the internal storage to the external SD card is exactly the opposite of what I want).
jwoegerbauer said:
If apps are granted WRITE_EXTERNAL_STORAGE / READ_EXTERNAL_STORAGE permission then they can access the external SD-card, too.
Click to expand...
Click to collapse
I see. Thank you very much for the explanation. I'll go through the app permissions and check that. Then only the O/S itself could put data there.
[ Side note: In the meanwhile, I have corrected my posts according to your hint regarding the term "SD card". ]
I don't know if this topic has aged or not, have you found any solution?
I don't want Android system to write files like Android-Podcast-Alarms-Music-Notification into my sd card, I want my sd card to be clear and clean
this order system which android uses is very useless and annoying, when will they remove that??!!

[osprey] How to move from internal SD card to original storage

Hi,
I use LineageOS 17.1 on osprey, and I have used a trick to make the system consider the SD card as internal storage (not possible by default nowadays). The trick is not quite perfect because the SD card is not always detected at boot. That was not to important, until I asked in the storage setting to move everything to SD card, Android Library included. This cause much more essential apps (such as Message) to bug.
I do not know how to reverse the process. I can access the SD card from TWRP, but I don't know if I should move folder or something else. The card seems mounted on both /sdcard/ and /sdcard2/.
Thank you,
Reinstall and Restart all over again and don't think of imperfect tricks. Before this: Backup on a Desktop or usb stick what's valuable for you.
Simple but effective before further messing up your system.
Enjoy your day or the rest of it.

External storage (micro sd) Permission issue in Android 12

Solid Explorer app. Android 12
I want to copy/move files between internal and micro sd stoeage. So when I want to copy from internal to micro sd, it says to grant permission. When I select root of external storage (Android 12) , the button labeled "USE THIS FOLDER" is disabled but tapping it anyway just says "to protect your privacy, choose another folder" and I can't choose external storage root but if I choose a folder in micro sd, it says I chose/selected to grant a wrong folder.
I have tried other file managers in play store even google's own app. They just not able to copy or move to micro sd without giving detailed reason for the error.
How do I grant this permission so I can move files to micro sd?
Which device? Scoped storage is wonderful... not.
blackhawk said:
Which device? Scoped storage is wonderful... not.
Click to expand...
Click to collapse
Mi max 3 with Android 12 custom rom
How do I fix this permission so I can use my micro sd normally?
sgn15 said:
Mi max 3 with Android 12 custom rom
How do I fix this permission so I can use my micro sd normally?
Click to expand...
Click to collapse
No clue for a custom rom. Try a Google search with xda included to pull up threads about work arounds here on other systems using scoped storage. Scoped storage is quit the terror especially in Android 13.
Google never liked expandable storage as they want to make you a slave to cloud, just like MS.
These may be useful to you:
Managing files in the "Android/data" folder on Android 11 (without root or USB) : r/Android
**EDIT (8/19/2022):** Android 13 has, unfortunately, restricted access to the /Android/data and /Android/obb folders aga
teddit.net
https://www.google.com/amp/s/blog.e...-28-file-manager-loophole-closed-73891524/amp/
Only apps make used of scoped storage in Android 10+: You always can opt-out scoped storage.
Set requestLegacyExternalStorage in app's AndroidManifest.xml to true.
xXx yYy said:
Only apps make used of scoped storage in Android 10+: You always can opt-out scoped storage.
Set requestLegacyExternalStorage in app's AndroidManifest.xml to true.
Click to expand...
Click to collapse
I just checked and it is already set to true.
Edit: any other solutions?
If I'm right you want to copy so-called shareable MEDIA files ( i.e. images, audio files, videos) from Android's internal SD-card to plugged in external SD-card what basically requires READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE and MANAGE_EXTERNAL_STORRAGE permissions if in Android 10+.
For shareable media content, shared storage is used so that other apps can access the content for where all permissions are required if in Android 9 and lower.
This all is handled by Android's MediaStore API. So teach yourself about this.
This issue is ridiculous and dumb.
I don't want to root my device JUST TO MOVE MY SAVEGAME FILE TO MY SD CARD.
Android is getting more like iOS, isolationism.
Anyway, the only way to do this is using laptop and usb cable + USB debugging, dang it.

Categories

Resources