Moving Complete apps (apk lib dex data) to Micro SD Card on Samsung Galaxy S20 FE Android 12 - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

I purchased 6 months before, Samsung Galaxy s20 Fe with android 12 with 128 GB internal memory and a 256 GB external Micro SD card. I am an IT freelancer professional, so I have a job is for testing daily 1000's of different apps some i have keep installed to create logged reports either monthly weekly or quaterly and my other work is to do some short video advertisements or photo editing and some other GPS technical official apps to do my job in an instant go while traveling.
In Android 12.0 of Samsung Galaxy S20 Fe There is an option of CHANGE option in Settings > App> Storage to change (move) location of app from internal to SD card in Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But its the same like as in Android 5.0, it only moves the main APK files, leaving data, cache, lib, and dex in internal memory thus occupying space in internal memory. I want to keep my internal memory free for output files of video editing to fast rendering of photo editing or video editing file on mobile.
MY QUERIES:-
Is there any option without rooting Samsung galaxy s20 fe to move the complete apps (lib, dex, data, and cache) to an external micro SD card?
There was an option in Android 6.0 Marshmallow for adaptable storage to format an external SD card as internal memory and move complete application files. Can I do that in Android 12.0?
There is a another way through adb commands Storage manager (SM)
Code:
adb shell sm has-adoptable
sm set -force- adoptable true
sm set-virtual-disk true
Reboot
Result: i tried but it gave error in samsung s20 Fe that it does not support virtual SD card and asked to format sd card but while connecting phone to pc its showing a virtual sd card of 500mb
Or
Code:
sm list-disks adoptable (output) disk:179,0 sm set-force-adoptable true
sm partition disk:179,0 private
sm set-force-adoptable false
Result: it stopped showing external sd card in Storage i factory reset the mobile and formatted the micro sd card as its showing not able to detect file formar
Code:
Adb shell
sm list-disks sm partition disk:179:160 mixed 25
sm format private:179,3
sm mount private:179,3
Reboot
Result:- I did not tried, as dont know meaning of mixed somehwere its written to use disk 179,64 to use 100% of memory card as internal memory ..can u tell me full syntax meaning examples of sm Storage manager (SM) command to know whats 179,3 or 0 or 64 means and what 64 means
there is an developer option in Android 12.0 to force or make default installation of apps in the external memory card so that all apps are forcebally installed automatically to sd card but still its installing in internal memory and giving option to change (move) to external sd card and thus not moving all complete file leaving dex,data file in the internal memory card .
In Android 6.0, I tried to edit the app manifest through the APK editor to change the default install location of an app to external memory. Will it work in Android 12.0? But it's time-consuming to edit every application.
Can we root Samsung Galaxy S20 FE and use the Link2SD app or any script in boot.int or any other new application in Android 12.0 which with its script links all lib, dex files in a micro SD card?
Is there any other way or method or settings options in developer options or any other 3rd part application in Android 12.0 Samsung Galaxy S20 FE so that I can move (dex lib apk data) or install complete application directly to external micro SD card and keep my internal memory free for working or output files rendering ?
The reason why I still want to move apps to sd Card while having internal memory of 128GB is for testing 1000's apps and editing and rendering short video and photo editing .
I know External micro sd card is slower than internal memory but the app I install for TESTING on external memory will be rarely used may 2 or 3 times a year but for testing and reporting to companies i need to keep it installed in mobile for year to give usage or some log reports and its useless to give them space in internal memory and make them full my internal memory i cant uninstall or re-install them .
Thanks in advance for reading the question. I will be obliged to experts and enthusiasts who have experience and solution for such problem. Thanks a lotz in advance.

ANDROID QUERY said:
I purchased 6 months before, Samsung Galaxy s20 Fe with android 12 with 128 GB internal memory and a 256 GB external Micro SD card. I am an IT freelancer professional, so I have a job is for testing daily 1000's of different apps some i have keep installed to create logged reports either monthly weekly or quaterly and my other work is to do some short video advertisements or photo editing and some other GPS technical official apps to do my job in an instant go while traveling.
In Android 12.0 of Samsung Galaxy S20 Fe There is an option of CHANGE option in Settings > App> Storage to change (move) location of app from internal to SD card in Android.
View attachment 5753785
But its the same like as in Android 5.0, it only moves the main APK files, leaving data, cache, lib, and dex in internal memory thus occupying space in internal memory. I want to keep my internal memory free for output files of video editing to fast rendering of photo editing or video editing file on mobile.
MY QUERIES:-
Is there any option without rooting Samsung galaxy s20 fe to move the complete apps (lib, dex, data, and cache) to an external micro SD card? View attachment 5753789
There was an option in Android 6.0 Marshmallow for adaptable storage to format an external SD card as internal memory and move complete application files. Can I do that in Android 12.0? View attachment 5753791
There is a another way through adb commands Storage manager (SM)
Code:
adb shell sm has-adoptable
sm set -force- adoptable true
sm set-virtual-disk true
Reboot
Result: i tried but it gave error in samsung s20 Fe that it does not support virtual SD card and asked to format sd card but while connecting phone to pc its showing a virtual sd card of 500mb
Or
Code:
sm list-disks adoptable (output) disk:179,0 sm set-force-adoptable true
sm partition disk:179,0 private
sm set-force-adoptable false
Result: it stopped showing external sd card in Storage i factory reset the mobile and formatted the micro sd card as its showing not able to detect file formar
Code:
Adb shell
sm list-disks sm partition disk:179:160 mixed 25
sm format private:179,3
sm mount private:179,3
Reboot
Result:- I did not tried, as dont know meaning of mixed somehwere its written to use disk 179,64 to use 100% of memory card as internal memory ..can u tell me full syntax meaning examples of sm Storage manager (SM) command to know whats 179,3 or 0 or 64 means and what 64 means
there is an developer option in Android 12.0 to force or make default installation of apps in the external memory card so that all apps are forcebally installed automatically to sd card but still its installing in internal memory and giving option to change (move) to external sd card and thus not moving all complete file leaving dex,data file in the internal memory card . View attachment 5753819
In Android 6.0, I tried to edit the app manifest through the APK editor to change the default install location of an app to external memory. Will it work in Android 12.0? But it's time-consuming to edit every application. View attachment 5753821
Can we root Samsung Galaxy S20 FE and use the Link2SD app or any script in boot.int or any other new application in Android 12.0 which with its script links all lib, dex files in a micro SD card? View attachment 5753823
Is there any other way or method or settings options in developer options or any other 3rd part application in Android 12.0 Samsung Galaxy S20 FE so that I can move (dex lib apk data) or install complete application directly to external micro SD card and keep my internal memory free for working or output files rendering ?
The reason why I still want to move apps to sd Card while having internal memory of 128GB is for testing 1000's apps and editing and rendering short video and photo editing .
I know External micro sd card is slower than internal memory but the app I install for TESTING on external memory will be rarely used may 2 or 3 times a year but for testing and reporting to companies i need to keep it installed in mobile for year to give usage or some log reports and its useless to give them space in internal memory and make them full my internal memory i cant uninstall or re-install them .
Thanks in advance for reading the question. I will be obliged to experts and enthusiasts who have experience and solution for such problem. Thanks a lotz in advance.
Click to expand...
Click to collapse
I have the same problem, did you fix it?

Related

[Q] SGS2 - Dont understand the memory partitioning

I was playing with the SGS2 in the tmo store today and I just dont understand how they partitioned the internal memory.
This was a virgin phone, just powered up. Under manage apps, all, it showed 1.9gb free. Under SD card it showed 11 GB free. There was no SD card in the slot.
So it looks like they have partitioned the internal memory to create an 11 gb pseudo SD card.
Does this mean you can't use more than 1.9gb real internal memory without going to the pseudo SD card?
Do you have to install to SD (when allowed) to actually use up the rest of the program memory?
I'm assuming that when you actually can install to the SD card that its still going to place a large chunk of the app in the 1.9gb real internal memory like on previous phones? If this is true you would run out of the 1.9gb way before you could use up the 11gb pseudo sd card. This would prevent you from installing any more apps.
What happens to the 11gb on the pseudo SD card when you actually insert a real 32GB SD card? Does the real SD card show up as a second SD card?
There had to be a SD card on that phone. It wouldn't read 11gb with nothing in it. Try it on your phone. You take it out and your phone will notify you of no SD card since it will not read anything. Therefore you won't be able to see how much space is left on it.
Did you take the back cover off the phone at the store? I've never been able to do that since almost all stores have their devices locked.
You can put a greater memory capacity SD card on a phone as long as it is legit and will fit the SD Card slot. It will read it and tell you how much space is left on it.
I don't believe anything will be automatically moved to the SD card as soon as you insert it. It takes time to build up what the phone will automatically or manually write to the SD card. Most SD cards, that come pre-loaded with the phone, usually already have something on on the SD card. Brand new SD cards usually are about 98% empty. They will have small folders/files that are property of the SD card but are not even noticeable when seeing how much memory it took to hold those pre-loaded files/folders.
Hope this shed a little light on your questions. If you're not too sure about specs of that then it doesn't hurt to see what a representative would know about why it looks odd that way.
Sent from my DROID2 using Tapatalk
There was no SD card in the phone. The store rep removed the cover. Are you sure that the 16gb internal isnt partioned to have a pseudo sd card?
Its very possible that it was partitioned for that case but that is what seems odd to me. It wouldn't make sense to have internal memory, substituted partitioned internal memory acting as a SD card and a SD card slot.
Did you ask if that's just for the display phone or is it the same with for all SGS2s?
Sent from my DROID2 using Tapatalk
There is no physical SD card in the phone. This is the same partioning that Samsung used on the first Galaxy S phones. It partitions the internal memory to show an internal SD card.
dcam1075 said:
There is no physical SD card in the phone. This is the same partioning that Samsung used on the first Galaxy S phones. It partitions the internal memory to show an internal SD card.
Click to expand...
Click to collapse
So is that internal sd handled like a real sd card? If you install apps to it then it will also install part of the app to the 1.8gb real internal memory until all of the 1.8 is used and then your scre*ed?
NCguy said:
So is that internal sd handled like a real sd card? If you install apps to it then it will also install part of the app to the 1.8gb real internal memory until all of the 1.8 is used and then your scre*ed?
Click to expand...
Click to collapse
Ok, I may have the answer to my question. I found this post in another forum:
The phone will install the APKs to the internal root memory which is 2GB in size. Then data files and additional app data downloaded goes into the internal SDcard memory which is 11GB in size.
The microSD card is listed as external_sd and you use it to store your photos & video (you can shoot direct to it), your music and movie files. These are files that take up a lot of space but you wouldn't use them all the time"
So I still have this question for anyone familiar:
Do all apps automatically load the apk's to the internal root memory and the data to the internal SD? Or do you have to explicitly tell the installer to install to the SD to prevent everything from installing to internal root memory?
Mine came partitioned as you wrote but I have not installed anything to it yet so can't answer your last question... what I hope is that it is treated like a total seperate drive I.e. don't erase that partition during flashing or full wipe, but gives you option of what partition to wipe or install to.
If the SGSII behaves the same as other Galaxy S phones then when you install an APP you just install it. Nothing special needed to point things around. There is no reason to install all apps to the External_SD or even the regular SD, youre just creating headaches for yourself. I have had over 524 apps installed on my captivate at one point and was still not out of space.
rahlquist said:
If the SGSII behaves the same as other Galaxy S phones then when you install an APP you just install it. Nothing special needed to point things around. There is no reason to install all apps to the External_SD or even the regular SD, youre just creating headaches for yourself. I have had over 524 apps installed on my captivate at one point and was still not out of space.
Click to expand...
Click to collapse
But just to be clear, it doesn't by default install the app data to the internal sd?
Mine has it as USB storage, not SD card.
I'm not sure how to check where the apps were installed.
Sent from my SGH-T989 using Tapatalk
NCguy said:
But just to be clear, it doesn't by default install the app data to the internal sd?
Click to expand...
Click to collapse
In general it should install the app data where the app tells it to store the data. I know thats not very clear but different devs put data different places. I can remember early on angry birds and sims 2 put their data in a funky location and apps like TIBU wouldn't back them up so on a flash and restore you would loose game data.
I wouldnt worry about the partitioning its likely to work just fine. Install your apps and use the SDCARD for large data like photos and music and external_sd for more big files.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I currently have about 90 apps installed.
Has anyone noticed the system ram is showing 784 MB?
Sent from my SGH-T989 using xda premium

Failed to move apps into SD after flasing COW Rom

I successfully flashed COW rom on my galaxy w and i downloaded games from the market.. I tried moving the app to my sd card but it keeps saying failed to move application.. this isnt happening before.. please help. I tried using app2sd and link2sd.. but they didnt work..
seeker1107 said:
I successfully flashed COW rom on my galaxy w and i downloaded games from the market.. I tried moving the app to my sd card but it keeps saying failed to move application.. this isnt happening before.. please help. I tried using app2sd and link2sd.. but they didnt work..
Click to expand...
Click to collapse
If I am not wrong, COW's ROM has the internal/external swapping mod. That means whatever games/apps you installed are all in your external SD card. Hence, there is no need for you to "move" them as they have already in you SD card.
So its fine that all the apps i download goes to the device memory, which is only 857mb of space?
seeker1107 said:
So its fine that all the apps i download goes to the device memory, which is only 857mb of space?
Click to expand...
Click to collapse
Is it being saved in the phone storage ?
Usually it is, and moving apps to the SD card would require a physical SD card. Because a swap would pretend the internal SD card storage to be the external SD card storage.
Don't want to confuse you but Samsung has its own way of partitioning the memory.
Default:
phone storage: 1,07GB
USB storage(internal SD card): 1,7GB
physical SD card(external SD card): up to 32GB
In default your apps should be stored in phone storage and if move your apps to SD card it will be moved to the USB storage(internal SD card) which is 1,7GB big.
If a swap is integrated in the firmware Your USB sotrage should be in the directory of the external SD card and your physical SD card should be in the directory of the internal SD card. So all the apps should be moved to the physical SD card.
If swapped:
phone storage: 1,07GB
physical SD card(internal SD card): up to 32GB
USB storage(external SD card): 1,7GB
maybe you will have to fix permission(honestly telling I don't know the effect of this, but it shouldn't harm your device ^^)
greets
THE-E
Thank you for the info.. I think you were right but you are still required to move applications to sd manually and mine suddenly worked after a series of formatting the sd card. my usb storage is 15gb.. very covenient.
THE-E said:
Is it being saved in the phone storage ?
Usually it is, and moving apps to the SD card would require a physical SD card. Because a swap would pretend the internal SD card storage to be the external SD card storage.
Don't want to confuse you but Samsung has its own way of partitioning the memory.
Default:
phone storage: 1,07GB
USB storage(internal SD card): 1,7GB
physical SD card(external SD card): up to 32GB
In default your apps should be stored in phone storage and if move your apps to SD card it will be moved to the USB storage(internal SD card) which is 1,7GB big.
If a swap is integrated in the firmware Your USB sotrage should be in the directory of the external SD card and your physical SD card should be in the directory of the internal SD card. So all the apps should be moved to the physical SD card.
If swapped:
phone storage: 1,07GB
physical SD card(internal SD card): up to 32GB
USB storage(external SD card): 1,7GB
maybe you will have to fix permission(honestly telling I don't know the effect of this, but it shouldn't harm your device ^^)
greets
THE-E
Click to expand...
Click to collapse
THE-E man...respect to you but you have really confused the issue here:
In default your apps should be stored in phone storage and if move your apps to SD card it will be moved to the USB storage(internal SD card) which is 1,7GB big.
Click to expand...
Click to collapse
This is simply not true, for default, stock, unmodified /etc/vold.fstab [no mnt-point swap]
Apps moved on default phone, as above, will move to External SD card, if present........
They go to "hidden" encrypted folder on SD card:
/mnt/sdcard/external_sd/.android_secure
This folder cannot be viewed on your device by any file manager, even rooted...
but can be seen by using Storage Analyser, free from Market/Play.......
see example of moved Apps from my rooted stock ROM, totally default, no swaps, etc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
/mnt/sdcard/external_sd/.android_secure folder
Same Apps shown with App2SD GUI On SD card Tab......
and again from Settings/Applications/Manage Applications/On SD Card Tab:
Note....Moved Apps have check in box
irishpancake said:
THE-E man...respect to you but you have really confused the issue here:
This is simply not true, for default, stock, unmodified /etc/vold.fstab [no mnt-point swap]
Apps moved on default phone, as above, will move to External SD card, if present........
They go to "hidden" encrypted folder on SD card:
/mnt/sdcard/external_sd/.android_secure
Click to expand...
Click to collapse
Thanks irishpancake, haven't heard about that before, but you are indeed right. I thought the memory of the internal sd card is being used if apps are being moved to SD.
It is really confusing if they write SD, because this doesn't say whether it is the internal sd or external sd.
greets
THE-E
Your welcome....
it is indeed confusing, particularly when you have had a previous phone, which did not have this internal SD/USB Memory partition.
IMHO, Devs are going to have to address this with Apps, particularly those apps which have large on-device data, like Mapping and Games.....
ppl should contact the devs to point out that there should be an option to save data to your external SD card, which would address the need some have to make the mount-point "swap" mod in vold.fstab...
Just for ppl confused about the vold.fstab modification, here is a little tutorial, from eriksP.....he used to post in this forum, earlier on!!!
Swap Internal / External SD on Samsung Galaxy W

[Q] n7102 Low Phone Storage Space

Hi everyone, I'm new to these forums so please go easy. I'm not even sure if this is the right place to post about the n7102 because there's no section for this phone.
Basically, my problem is that I've recently run out of space on n7102. I cannot download more apps from the Google Play Store. I have tried using Lucky Patcher to remove bug fixes and also tried deleting dalvik-cache, but I think that fixes an entirely different problem.
My device has the following storage spaces:
Phone storage: 500mb
Internal storage: 2gb
External SD card: 16gb
For some reason, the phone writes to the external sd card where I store my media files. However, the internal storage is not even used at the moment. Right now, some apps are saved to the external sd card so my widgets take a while to load on startup. I think this might be because I wiped reformatted my internal memory card after i reformatted my external sd card through Settings > Apps.
I want to know if it is possible to:
1. repartition the phone storage (500mb) to include the unused 2 gb internal storage (total 2.5gb); or
2. swap these two partitions (phone storage 2 gb, internal storage 2.5gb)
I do not want to make a partition on my external sd card to extend my phone storage to use as data
I've looked on the web and this is what I have found:
- MT6577 2GB data repartition with int2ext: http://forum.xda-developers.com/showthread.php?t=1914184
- Swapping internal and external sd card: http://forum.xda-developers.com/showthread.php?t=1716166
- Mounting /data partition onto the internal storage space: http://forum.xda-developers.com/showthread.php?t=1648411
I've looked at a lot more pages concerning issues similar to this, but a lot of the time they use phone storage/internal storage/external sd storage, etc., interchangably. It can get quite confusing. I understand that android sees its internal storage and external storage space the same.
I've also read about the file "Mt657xRepartition_EN.rar" and wonder if it can be used on the n7102 without any problems.
Anyhow, thanks for reading this. If you can help, please do. I appreciate it. I only recently got this phone and have been tinkering with it the past few days. Before, I had been using an Xperia U that had 2 GB of phone storage vs the n7102's 500mb of phone storage so I have not run into this problem before.
Cheers.
[UPDATE] I am not sure but the two internal storage spaces may not be merged. I might have to try to use link2sd between these two for apps and save the external sd card for personal storage use.

External micro SD card: formatting as internal or portable.

Hi,
Recently I installed LineageOS 14.1 (unofficial build lineage-14.1-20171029-1955-d10f-UNOFFICIAL.zip). My phone is the Pentagram Monster X5 Pro, which has internal storage of 789MB (visible as portable) and quite low system space (~400MB) for applications.
When I configured the storage I got an option to format it as:
a) internal
When I formatted as internal my app space increased. On one of the screens it was told that I can copy the content on that storage by going to Settings > Storage. When I went there I could not see the internal storage, so no way to copy the content to the sd card formatted as internal storage. Also from the camera I cannot select this storage as it is not selectable.
Result: Big space for application, but very small space for media (as it still uses the internal sdcard of 798MB).
Is this a bug in the LineageOS?
b) portable
So I formatted as portable media hoping that I can move the apps to the external sd card. This can be done, but not all the apps will allow me to move to the sd card and not all the data can be moved. It still leaves some part in the internal system storage, which shrinks the available space to the point that updates of the applications cannot be done due to the lack of space.
Result: Big space for media, but out of space for apps updates.
So I was thinking to use the Link2SD app, where they suggested partitioning the external SD card into 2 primary partitions (1’st with FAT32, 2’nd with Ext3). I did that using AParted application, but after that LineageOS refused to use such media displaying that both cards (partitions) are corrupted and it offered to format them. After formatting the whole sd card became FAT32 and the second partition was gone.
Is there a way to partition and format the external SD card in some way so it will be accepted by LineageOS?
Regards,
Zaxon
P.S. I had some screenshots, but I cannot post links yet.

Not enough storage space

I recently bought a Redmi Note 7 and installed a SD card for extra storage. The system shows that I have the extra storage but when I try to download an app I get a storage error. How do I install and move my installed apps to the SD card. This seems like a very serious flaw in the design.
Same problem, any solution?
I'm having the same problem with my Redmi 7, have you found any solution to it? I can't find any way of moving apps and content to my external SD card. it is getting a bit ridiculous now at this stage.
Install DiskUsage from play store, and see what is taking up space
there are two ways to use SD card to save app data
1. enable adaptive storage (on our device it has to be enabled through adb, google it); when using this option sd card won't be usable on other devices
2. partition your sd card, basically you have to create a second SD card partition where you can save your data, then you can use apps like app2sd or link2sd to move apps to SD card

Categories

Resources