yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] RootedLee:
Android's internal path to a folder on SD card

If an app requests access to SD card and doesn't get the path right but allows to edit the path and enter it manually, here's what you can try.

The path should look as follows. 7FF9-1D0F will be different depending on your mobile phone. Adapt as needed:

content://com.android.externalstorage.documents/tree/7FF9-1D0F%3AFolderOnYourSD

content://com.android.externalstorage.documents/tree/7FF9-1D0F%3AFolderOnYourSD%3AEvenDeeper

Documents Provider has been implemented in Android 4.4 and still works with all current versions of Android.

source: Google Search
[Android Apps and Games] Javelino:
Does anyone know why the apk size in App2SD and Settings app differ?
[Android Apps and Games] snuniva:
its getting error while create mount script on second partition,im on LOS 17.1 and rooted with magisk latest?
[Android Apps and Games] zamar27:
Many app devs mark their apps as "not movable" to avoid slow speed complaints. These and system apps can't be natively moved to AS or update after forced move, including bundled 3-d party apps like Facebook etc. One can try using Link to Ext4 feature instead if problems arise. In both "forced move to AS" and "link to Ext4" cases one still seems to need Apps2SD.
[Android Apps and Games] Elkafi159:
please help!!! im using my rooted samsung tab 3 sm t211 with custom rom android 4.4.2

i use the feature of hide apps and games, i hide several of my apps there

but when i start up my tab and wanna see the hidden apps, the list got error. there are some apps that are not listed both hidden and unhidden

but other features such as hibernate apps or task manager still got to detect the apps

i did try to restart my device, and also reinstall the app (also use sd maid to delete corpse) but it didn't work. i also didnt use the backup but after i reinstalled and open the app, somehow it still save my pin and also the app list didnt change or fixed

please help me, i can't use my apps!
[Android Apps and Games] AnonVendetta:
Yeah, that's true. But adoptable storage can move everything else. Neither AS or Apps2SD can link system apps (their data can be linked, but not the APK/odex files). As for the apps marked as not movable by devs, Apps2SD can force move those with root. No way to move them with AS unless you use the "allow all apps on external" (not the exact wording but close enough) in Android developer options. Not all Android firmwares will have this option, but most recent ones do. Also, if you're using an AOSP/LOS/CM-based ROM, this option will have no effect if you're not using AS. It will do nothing if your MicroSD is formatted as portable storage.
[Android Apps and Games] zamar27:
Folks usually format today's fast SDCards with several partitions, one being used as AS, another with Apps2SD, yet another as media storage etc.
[Android Apps and Games] QueenSelen:
im using j7 prime (rooted and using magisk) i want to external sd card to internal storage with partition i tried a lot of things but nothing maked sd card as internal storages part it restarts and thats all im using microsd and android 7 (sorry if my engilsh is bad)
[Android Apps and Games] razes:
I'm trying to mount 2nd ext4 partition of external SD card (32GB). I've formated SD card in MiniTools (1st partition FAT32 and 7 Gb of 2nd partition ext4). My phone is rooted with Mgisk 23 and mount namespace is global. If I use mounting method su.d/Magisk I get the Alert : "System root has been detected. Do you want Apps2SD to modify system partition ?"

I also tried init.d method (my phone is support init.d) with the same result.

I do have Android folder on my external SD card (there are also TWRP and SwiftBackup folders with backups and Lost.dir, Apps2SD, Apps2SDDFM folders on external SD card). I don't remember when Android (system?) folder first appear on external SD. I did moved few apps to the external storage before but moved them back to the internal (0) SD then (before I made the ext4 partition).

So, I don't know is it safe to proceed and let the App2SD to modify the system partition. Will it modify just on external storage or on internal storage as well ? What will happen with the root? I just need to mount the ext4 partition of my external SD. BTW it is not hidden. I planned to hide it after the mounting.

Samsung Galaxy S5 MM 6.0.1
[Android Apps and Games] AnonVendetta:
Just tested Apps2SD on Android 12 Pixel Experience GSI. Works fine, same as in stock Android 11, but with the same caveats I already posted about in this topic.
[Android Apps and Games] meetion288:
I already got my mount script and I already linked my ext data (e.g. bloons 6 - 500mb) to 2nd partition, success and when I play, it starts. HOWEVER, Whenever I restart my phone, wait for green bind successful confirmation and start the game. It will start downloading the ext data again. and worse, on APP2SD its says that the ext. data is already "LINKED"! but in reality its not since it needs to re-download the data again. How do I fix this???

This app is getting on my nerves. 🤬

I'm using an Android 12 Pixel Experience+ GSI.
[Android Apps and Games] koyo:
Something in the latest Android 12 updates has broken Apps2SD. I don't know which security patch it is, but somewhere along the line, linking apps resets the apps data. When I link Adguard, it is as if I reset the app and have to start over from scratch. I know this only pertains to Android 12 because I downgraded to Android 11 on one of my devices and suddenly Apps2SD works perfectly. Does anyone else have a similar problem?

I reckon this is what's causing this

His app is not recognizing the link or something. Same with Adguard for me
[Android Apps and Games] jimenezshown:
Hi did someone managed to make Task Scheduler in Apps2SD work after boot? I set an event after boot but it won't trigger.
[Android Apps and Games] K0rgar:
Great tips from @AnonVendetta

Right now I'm using mixed solutions and I think I found the perfect balance (for me):

1. Sdcard formatted as mixed, 90-95% portable, 10-5% adopted, "sm format" inside terminal

2. Backed up the /data/misc/vold key.

3. Moved the /storage/emulated/0 to adopted storage, did take note of the volume names "sm list-volumes" and "pm move-primary-storage adopted_volume_name"

4. Used fbind module, bind Android folder to external (Android data, media, obb), config is "target Android" inside "/data/adb/vr25/fbind-data/config.txt"

5. Set chrome download folder to external.

6. Set camera folder to external.

7. If the phone gets stuck then manual reboot.

I take extra steps to cleanup files inside the "/mnt/expand/adopted_volume_name/Android" by using "find /mnt/expand/adopted_volume_name/Android -type f -delete" command at each reboot.

My solution is that even if the Adopted Storage gets corrupted, the loss is minimal because all the important stuff is in the portable partition.

Apps and internal data should stay inside internal memory, to avoid performance hits and possible data loss. Move to adoptable storage if needed and if possible.
[Android Apps and Games] AnonVendetta:
I no longer use Apps2SD, since I don't need it anymore. My Note 20 Ultra has 256GB internal storage, and my Galaxy Tab S7+ has 512GB. On these devices, this app just isn't necessary. Internal storage will always be a lot faster than the fastest MicroSD anyway. Both devices have MicroSD slots, and I do have a card in each. But I only use them for storing personal files, not installed apps.

On older devices that don't have a lot of internal storage, Apps2SD makes more sense. As for adoptable storage, I've tried it a few times, but for me the disadvantages outweigh the advantages. I'd say it's better to partition your MicroSD as follows:

1st partition: exFAT, if your device is compatible with it, and you intend to store files larger than 4GB. Or FAT32, if your device doesn't support exFAT.

2nd partition: Formatted as ext4, for linking apps with Apps2SD. Or f2fs, if your device/kernel supports it.

If you go the adoptable storage route, by default it will format the entire MicroSD. Or you can use mixed mode, which will create an unencrypted partition that you can use for personal stuff. And another encrypted partition, that can be used for installing/moving apps.
[Android Apps and Games] K0rgar:
My main concern is reusability that is obtainable only by portable storage, thus the binding of folders to external.

Pictures/screenshots are stored to adopted, some cache files too, the important files are on sdcard and everything is working fine.

E.g. I can browse social media apps like WhatsApp and telegram, download random files without worrying to fill the internal memory, until the sdcard exfat partition will not be full ofc.
[Android Apps and Games] TrueHD:
Hello friends! Is there working method to link/move apps to MicroSD card like we did back in history with Link2SD and App2SD? I don't wanna use "adoptable storage" sh*t for obvious reasons. I have root, latest Magisk, Android 13 on LineageOS 20 official. I created second partition (f2fs) on my MicroSD card.

My Xiomi Note 5A Lite has just 8Gb internal memory which is incredibly small. I found messages on 4pda and other forums that people has been lucky with new Androids and somehow mounting this second partition, creating their own script and etc., but i can't find a step-by-step manual anywhere, i'm just a beginner. I would be very greatful if someone who knows what i am talking about can redirect me to a good info about how to do that.
[Android Apps and Games] Kovaelin:
Is it possible to use swap memory without root access?
[Android Apps and Games] AnonVendetta:
No. Apps2SD requires root access for everything it does, and disabling/enabling swap is a function of the app. So, because Apps2SD requires root, then by proxy so does altering swap stuff.

There's quite a bit you can't do on Android without root, which is exactly why I root. If you want to play with Android's innards, then chances are that what you would want to do probably needs root.
[Android Apps and Games] Caelan2835:
Help, the external data that I moved suddenly won't be linked after I hide the magisk app by "Shamiko-v0.7-161-release" it keeps showing "File/Directory exist on SD card without any link to it" I have tried a lot of stuff to fix it, by restoring the magisk app, re-create the partition and changing the settings, but the problem still exist.
[Android Apps and Games] Zekiu_:
What Android version are you running? After 12, Google started blocking access to Android/data, and now Apps2SD almost doesn't work on modern versions of Android. I say "almost", because I got it to work by creating a script that I run that moves the Android/data/(app id) to the second partition, sets appropriate permissions, removes the contents of the folder on internal, puts the 'mount -o bind' commands with correct paths in another script, and then I launch that script with task scheduler with Apps2SD on SDCard Mount. And it works! I don't know if that will work for you, but you can always try ;) I created a magisk module that puts the script in /system/bin so that I can easily run it. I can share it here if someone wants it
[Android Apps and Games] Saarkas:
Hi Vicky, I use your app2sd in my android 13 Redmi note 10 pro. I rooted my phone via magisk. The problem is , I cannot mount the 2nd partition. I think I need the app2sd mount script. Where can I download it? Can you help me? Thanks in advance
[Android Apps and Games] Saarkas:
Hi zeiku, I have android 13 , can you generously share your script to me. Thanks in advance.
[Android Apps and Games] fipsy:
Magisk 27.0 apparently broke the folder mount option. Everything worked great until Magisk 26.4. After the update to 27.0, however, suddenly no folders from the SD card could be bound to the internal memory anymore. Is there any solution to the problem? I'm now back on Magisk 26.4. But that's not a permanent solution either. I'm on Android 10 (LineageOS).
[Android Apps and Games] stormy1777:
"known issue", see https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-89420863 i think need to wait for newer fixed magisk.
[Android Apps and Games] sieger007:
I link my apps to /data/sdext2/data and apk directly using shell functions I have written you can do whatever you want bind mount , mount partitions etc after putting your stuff under /data/adb/post*/

My problem is in Android 12 packagemanager will delete linked app data .

how many here experienced this ?

& its dangerous you will loose your data. Always back up whatever u linked moving to new env. Here it just deleted termux date see below from logs

7-03 00:21:50.219 1128 1912 I SystemServerTimingAsync: InitThreadPoolExec:Update app-ops uidState in case package com.termux changed
07-03 00:21:52.521 1128 1903 W PackageManager: Failed to create app data for com.termux, but trying to recover: com.android.server.pm.Installer$InstallerException: Failed to prepare /data/data/com.termux
07-03 00:21:52.523 1128 1903 W PackageManager: com.android.server.pm.Installer$InstallerException: android.os.ServiceSpecificException: Failed to delete /data/user_de/0/com.termux (code 2)
07-03 00:21:53.328 1128 1128 V StorageManagerService: Package com.termux does not have legacy storage
07-03 00:22:00.322 1128 1502 W PackageManager: Failed to create app data for com.termux, but trying to recover: com.android.server.pm.Installer$InstallerException: Failed to prepare /data/data/com.termux
07-03 00:22:00.325 1128 1502 W PackageManager: com.android.server.pm.Installer$InstallerException: android.os.ServiceSpecificException: Failed to delete /data/data/com.termux (code 2)
[Android Apps and Games] vickybonick:
Yes it does
[Android Apps and Games] apmmac:
Thanks Vicky
[Android Apps and Games] pnsdhrn:
Android 6.0

Hellow vicky bonick

will this work on Android one devices running on Android 6.0?
[Android Apps and Games] vickybonick:
I havn't tested it but of the users on play store commented that it works on Android 6.0
[Android Apps and Games] pnsdhrn:
Thank you vicky for your kind reply.
[Android Apps and Games] MrCrc:
Hello,

yes it works on MM (LG G4 Genesys 3.4 - custom V20B). I use the link2sd function actually - the binding feature (foldermount) I haven't tested yet.

Btw, is a pro version planned? I never fight with so many ads...

Regards

Crc

Tip tap tappeltap
[Android Apps and Games] lee99:
Hi.

I am glad to hear this app is working for you; )

PS. Vicky said that pro version will be available this month on play store.

Best regards
[Android Apps and Games] vickybonick:
Yes a Pro version is in making. Working on App backup/restore feature along with few other things. It might take 1 to 2 more weeks
[Android Apps and Games] apmmac:
Vicky I got problem

Vicky I got problem , I followed instruction as per your youtube video, Downloaded Super Su, rebooted, the then downloaded Busy bo free , clicked to do patition as instructed in video , rebooted ,,, but partition not done when i started back, then just tried manual foermate through your appli. but got instruction that - mkfc.ext2:cant fomate mounted filesystm.

pls help ad answer me , as soon as possible

waiting for your answer

Regards,

MAc :(
[Android Apps and Games] vickybonick:
Open the partition tool and create partitions again(If your device supports f2fs then use f2fs for 2nd partition). If asked for reboot, reboot and wait for formatting to finish. If partition is not done then open partition tool and format the 2nd partition, if you get mounted file system error then run below command as super user(make sure Mount namespace separation is disabled) and format again it should work.

if above command fails

then run below commands
[Android Apps and Games] cardula:
Apps2SD is not recognizing my external storage. I am using a 32GB microUSB drive and have it plugged into my microUSB port. My device recognizes the drive and I can read/write from/to it directly from the OS as well as multiple file manager apps (ES file explorer and Root Explorer).

When I launch Partition Tool it shows an error message saying "No SD card detected". Am I doing something wrong here? My device has no SD card slot so external storage is my only option. I'd like to get this to work, thanks.
[Android Apps and Games] vickybonick:
Apps2SD app linking requires an external sd card to work. You can use folder mount instead to bind folders
[Android Apps and Games] cardula:
Thanks for the reply. I was playing around with folder mount trying to figure it out, but not really sure what I'd need to do. Would I need to make a symlink from where apps2sd expects to see the sdcard to be mounted from, to my usb drive? If so, which folder would be the source folder? I was able to find where my usb drive is, so I know which folder to set to the destination folder. Would I be able to use apps2sd to format the drive, or would gparted be a better option?
[Android Apps and Games] vickybonick:
To create symlinks you'll need to format your usb drive to ext2/ext3/ext4/f2fs. In the next release(due around Xmas) i'll add option to view source files for all the apps. If Apps2SD partition tool detects the drive(if it detects then Apps2SD linking should also work) then you can format if not then use gparted.
[Android Apps and Games] apmmac:
How to run the command as super user ... ? Pls help ))
[Android Apps and Games] vickybonick:
Open terminal emulator and run su then run the other commands
[Android Apps and Games] apmmac:
Ohh thanks pls be online .... I m doing it

---------- Post added at 07:53 PM ---------- Previous post was at 07:52 PM ----------

I need to command because other things failed )) wait ... Let me run

---------- Post added at 08:14 PM ---------- Previous post was at 07:53 PM ----------

My SD card is behaving wrong ... Is stores one thing only whenever I click any pic it removes last pic ((((
[Android Apps and Games] vickybonick:
Use gparted to create partition
[Android Apps and Games] MrCrc:
Hello,

if I try to start a speed test on first partition of sd card (Android 6.0):

Regards

Crc
[Android Apps and Games] vickybonick:
It's a permission issue. I'll fix it in next release
[Android Apps and Games] Eversmile23:
More info about errors in inbuilt partition tool.
[Android Apps and Games] Newbeatrooting:
As indicated by my name, I am very new at rooting etc, but the storage restraints of the stock ROM (on a Lenovo P780) were getting annoying so I rooted my device. (still stock ROM, just rooted)

Anyway I have a question.

Could you please provide a short manual or guide how to partition?

Because I have the following questions / concerns;

If I partition will my SD card be formatted and then be re-partitioned, or will it re-partition with the existing data staying in tact?

What are "correct" sizes for the different partitions on an Android device?

32 GiB ext. SD with +/- 16 GiB of free space

2 GiB int. SD with 165 MiB of free space

Should I indicate which file system (FAT / FAT32 / EXT2 / EXT3 / EXT4) to use, and if so where do I do this?

NB I have been a long time user of different flavours of Ubuntu so I am not a complete noobie, but when it comes to Linux I realised already 8 years ago that making a "wrong" choice might result in a situation of "back ground to the drawing board". Of course I thought about backing up all my data before re-partitioning but seeing I would have to use my SD for that... (you get my point)

Thanks in advance for your help, and thank you for (what I have seen up to now) a VERY nice app. (rated with 5 stars).
[Android Apps and Games] vickybonick:
First of all thank you for choosing Apps2sd. Below are the answers to your questions

1) If you partition the sd card all data will be deleted

2) You can use any size. But preferred size for 2nd partition on SD card is more than 1GB

3) File system for 1st partition should be fat32 and 2nd partition should be ext4 (f2fs, ext3, ext2 and exfat will be support in next version of the app). (You can use the inbuilt partition tool, it'll select the correct file system for you).

Let me know if you have any other questions
[Android Apps and Games] Newbeatrooting:
Well my worst nightmare came true (while I was still writing the previous post) my telephone started giving many many errors that programs had stopped working and become complete unresponsive (looping error upon error that the launcher itself crashed...)

I rebooted my phone, and found out that

My SD card has been formatted

My phone performed a factory reset

Both my SIMs give an "no IMEI present" error message

So I think I will have to try to focus on getting my phone working again (MobileUncle's tools are not capable of restoring my IMEIs "AT command is failed to send").

The only solution I can think of is (trying) to flash my phone with an updated version of the stock ROM (OTA update fails) to see if that solves anything.
[Android Apps and Games] vickybonick:
I'm sorry to hear that. Let me know once phone is working and you want any help regarding Apps2SD.
[Android Apps and Games] rdwenrich:
Looking for more Info (Help)

I installed this app on my O+ 8.92 android ver. 4.2.2. I seems to work but I am not sure how to use it. for example, what should I check under settings. Also, I have programs that or on sdcard linked but they say that they need reboot even after I reboot. Also, when I link applications, what would I need to link out of the listed choices? Should everything be checked? I really would like to be able to use this app but I really don't understand it. Can you help?

Sincerely,

Dennis
[Android Apps and Games] Eversmile23:
2nd partition not getting mounted.

I updated my system software(OTA), then restored my apps backed up by CWM recovery. There after, this app is saying that 2nd partition is not mounted. Even after re-creating mount scripts, the same problem persists. Now I do not see any linked apps though my sd ext2 shows 1.5 GB memory occupied by it. What can be done? I had tried clear data and cleared cache, cleared all dalvik caches, still no improvements>
[Android Apps and Games] moinakbera:
Same problem doesn't mount even after reboot
[Android Apps and Games] vickybonick:
There is some issue with the mount script for non ext4 partitions. These will be fixed in the next release probably by coming tuesday. Please wait till then.
[Android Apps and Games] moinakbera:
But i have formatted usin ext4 only
[Android Apps and Games] Eversmile23:
Had to switch over to Link2SD

I tried Link2SD and all my linked apps were visible in my app drawer (and 2nd partition was mounted successfully). But I hate this 'Link2SD' as 'moving apps to SD only' is currently not possible in 64 bit android devices. So, plz bring the update to 'Apps2SD' soon. Another thing, after getting the updated 'Apps2SD', will I be able to use it after uninstalling 'Link2SD'( as these two apps are not compatible)?
[Android Apps and Games] vickybonick:
Sure I'm working on it. You need to unlink every app before using Apps2sd otherwise apps won't work.
[Android Apps and Games] vickybonick:
I'll look into it.
[Android Apps and Games] dbjc:
A very good work under this app

This app is the only one that worked on my Stock Samsung Android 4.4.4 SM-J100H with 64GB SDXC.

Anything else I tried failed!

So, thank you for such a working app!

This is the first time I can benefit from linking/moving to SD feature

!! :)

After phone shutdown or restart, I see a 'Relinking applications...' notification for few seconds. Space I've gained (up to 1GiB) is still available and I can install many more apps.

I did not try Partition creation from Apps2SD, because I've already formated my SD card using GParted on my Linux system

(tried with no success AParted [did nothing at all except ads!] and ROEHSOFT PARTITION TOOL [This ROEHSOFT TOOL did partition the card but phone did not recognize that and always asks to partition and format the whole card as one partition]). I wasn't aware of this app; I could try Partition Creation on Apps2SD too.

Now that apps are linked/moved and that I'm gaining space I was looking for, I do not want to reformat my card only to test this feature. Maybe I'll try this on another phone.

Thank you for this app! It's amazing!!