yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vickybonick:
1) I'll add this in next version

2) The files are already on SD card so there's not much point of doing this. Most users will get confused and it'll create overhead. Also most users have bigger 1st partition than 2nd. If you want custom binds then use Folder Mount.

3) Same as point 2. I can add an advanced option to analyze SD card 1st partition perhaps

4) Thanks for helping in translation
[Android Apps and Games] Classpro:
Thank you for responding. I first tried to use a usb drive, but I couldn't find it to back up to it. So I decided to back up to the sd card, but instead I think it backed up to the main memory and filled it up completely. I couldn't figure out where the backup file was to delete it and everything ran terribly. To I ended up installing a new rom and new SD card and starting over. I still have the old SD card with the data if there is some way of getting it off.

I want to understand how to back up the second partition so all data is backed up in the future. My daughter's phone only has 8g of memory, so it fills up quickly.

Is there a safe way of backing up the 2nd partition to the first partition of the SD card? I don't know why it backed up to the main memory of the phone - I'm thinking the main memory might have been also listed as an SD card?
[Android Apps and Games] Artieza:
If you tried to find something in the logs, everything should be fine indeed. I updated Apps2SD more then 7 days ago. I just noticed that updating makes something with the script.

Also I got many issues with relinking. So I very often need to manually clean up second partition after you service was failed. It never was with Link2SD.
[Android Apps and Games] jes0411:
I'm using magisk v13.3 and apps2sd to link a lot of apps to 2nd partition on sdcard on android 5.1 (huawei emui 3.1) and every boot takes a lot of time and says it's optimizing apps like if wiped dalvik but only with linked apps.

If I use the option to link dex at boot apps2sd relink dex again but it takes space on internal until dex are relinked and waste a lot of time booting.

I tried creating script with normal method, su.d (magisk) and advanced but it's the same.

With supersu (on system because there is no systemless supersu for lollipop) it doesn't happen and linked dex remain at boot.

I think it happens maybe because the time 2nd partition is mounted at boot with magisk but I don't know for sure.

Are there any solutions to this?
[Android Apps and Games] vickybonick:
Setting selinux to permissive should resolve the issue but i don't recommend it. You can follow below steps

Wipe dalvik-cache

Enable "Enable addition of commands in mount script" in Apps2SD settings

Open Recreate Mount script, Enter /system/bin/setenforce 0 in "Append command before mount script" textbox and Recreate the mount script

Reboot (This should trigger one time optimization)
[Android Apps and Games] vickybonick:
The backup utility shows both internal and external storage, you might have selected internal storage. There are 3 types of backup/restore used in Apps2SD

1) App(s) backup : Use this option if you want to restore across devices/ROMs

2) 2nd partition backup: This option will backup data along with their permissions and selinux context. These backups can be restored correctly on same ROM, if you try to restore on other ROMs apps will start to crash due to permission and selinux context mismatch

3) Use the partition itself [PRO only]: Create mount script to mount the partition then use Restore apps(sdetx2) option to restore apps. If apk was linked then the app(s) will be installed if not already installed and rest of the data will be linked. If apk was not linked then install the apk and use this option to link rest of the data
[Android Apps and Games] vickybonick:
Android may be killing Apps2SD service or your Super user app is not able to handle the request. Do you see anything in the Error Report?
[Android Apps and Games] E_Ben:
Hi Vicky,

I use apps2sd folder mount, but now I cannot inactivate bindings. I then deleted the folder mount for my whatsapp folder, but it still appears in show links (see screenshots), so something seems to be screwed up. What can I do?

Thanks for the help in advance.

Edit: It seems that the show links overview is not updated properly, because after a reboot the whatsapp folder link was gone as it should. I solved the problems by deleting all bindings and creating them again after a reboot.

Edit2: All this is probably not apps2sd's fault, the culprit is an sdcardfs problem in my lineage OS based ROM, see here:
[Android Apps and Games] jes0411:
Working now with your instructions.

Thank you.
[Android Apps and Games] martyfender:
As I thought I had stated, changing permission didn't do anything as they were always reverted and as I found out later, they were not changed at all on /storage/ emulated/0.

I thought I had sent you my mounts after wakeup from doze, but apparently not. The second file shows the mounts after I remount the 2nd partition in apps2sd and relink the partially linked app. So the partitions are not mounted after doze. I check it in total commander or mixplorer, root explorers. And apps2sd states that the second partition is not mounted until I remount it.

I don't have any high hopes on this yet, but removing apps2sd, lspeed and greenify from android 6.0.1 battery optimization seems, at least in the short term, to keep the partitions mounted after doze. I will let you know if they loose their mounts later. Adding apps2sd alone didn't work.

I know this makes no sense, but it seems when I added greenify to battery opt., is what is working, at least in the short term. And apps2sd is not greenified.

Settings, battery, right menu, battery optimization Don't optimize for those three apps.
[Android Apps and Games] sonic_ear:
If apps2sd pro price drop to 1$ Im gonna buy it first.
[Android Apps and Games] DaringD:
1. Thanks, will make things a lot easier for me

2. Ok, I will.

Just to explain my consideration ... I want to have all App related stuff linked/bound to the 2. partition to free up space on the first for pictures, music, videos etc. I have enough space left on the 2nd partition and always have to less on the first ;)

3. Would be nice :)

4. Glad to help a bit :)

Another question: Often the app overview displays wrong values for lib. If it has none it shows something like 40B. Sometimes it shows a few MBs and in the App Detail it then shows some Byte only. Even weirder sometimes it stays at a few MB and if I link the lib it afterwards shows just a few Byte. When I check with a file explorer after linking there is no lib at all. Neither in the source nor destination folder.

Anything I can do against it?

Edit: Ok, even weirder ... when I link the lib (which is shown with a size of a few MB's), the app gets forced closed after a start. Going back checking the lib size, I recognized in the link section, that the checkmark for linking lib is unchecked again. Even before it showed success. After a reinstall (using the apps2sd reinstall option) the app starts flawlessly again.

As I stated before, since I switched from link2sd to apps2sd, a lot of apps refuse to work until I perform a quick reinstall. Can it have something to do with this weird lib handling behavior? Do you have any Idea to solve this issue? It really annoys me to have to reinstall every second app before I can use it.
[Android Apps and Games] EpicSaga:
I tried using Apps2SD expand my internal memory with an 64 GB SD card. I followed the videos on youtube and I got different options than the person im the video did. I think it partitioned it and now it lists 30.29 GB in storage. Anyway, I 'm using the Supetstarz rom and I want to reinstall it using TWRP, my question is, do I need to undo anything in Apps2SD before I use TWRP to clear the cache amd flash the Superstarz rom?
[Android Apps and Games] The Analog Kid:
What does this "(B)" next Youtube app means?
[Android Apps and Games] DaringD:
I believe you (accidently?) made a backup.

Edit: To show the backup details, click on the app, go to the menu and use show backup details.
[Android Apps and Games] Artieza:
Nothing. But I always see empty lib folder for relinked app & not deleted apk & dex on sdext2. So it's crashing after lib removing (with empty lib folder on sdext2).
[Android Apps and Games] bamtan2:
I was looking for a list of things you can and CAN'T link. Like Google Play Services, etc. Is is possible to link EVERYTHING, including the linker app itself, and that's why I can't find such a list? ;)
[Android Apps and Games] martyfender:
I wouldn't link system apps.
[Android Apps and Games] DaringD:
But system app updates ;) And you can convert some system apps into user apps and link them afterwards. But you should be careful with this and know what you're doing.
[Android Apps and Games] Artieza:
Is it ok?

mkdir*-p*/storage/emulated/0/2
exit
mkdir*failed*for*/storage/emulated/0/,*Read-only*file*system

I'm trying to do so under su.

UPD: fixed by activating name-separated space in SuperSU settings.
[Android Apps and Games] vickybonick:
What are the apps?

Also Open Apps2SD, goto Error Report, set your email, send device info from menu option and pm me your email
[Android Apps and Games] vickybonick:
Use the broken app cleaner to remove unused files periodically
[Android Apps and Games] Artieza:
It doesn't delete /sdext2/apk/name-2 when I have /data/app/name-1. ?
[Android Apps and Games] zxyzgt:
"Broken Apps"?

Just a little curious about:

1. why would it make "Broken Apps" (i.e. the same app package name with -1, -2... at end) each time after apps update?

2. Any side effects if I delete all "Broken Apps" ?

3. If not, is there any way in setting to delete them automatically (such as each time after app updates, or once a week to detect them)? 'Cause large size in 2nd partition would be occupied after a while use.

Thank you for the perfect app!:good:
[Android Apps and Games] E_Ben:
How do you guys link your whatsapp media files?

I am on a Samsung S5 G900F with Resurrection Remix v5.48 20170812 build and Magisk 13.3

It used to work when I bound the whatsapp folder on the "internal SD card" to a folder on the external SD card (first partition), using Apps2Sd foldermount option. However, since a few weeks, whatsapp does not download media files any more. This error generally occurs when whatsapp cannot access the storage. When I unbind, so the whatsapp folder is physically on the internal SD card where whatsapp expects it, it works fine. However, I prefer to have photos etc. on my external SD card.

Thanks in advance for your help

Edit: All this is probably not apps2sd's fault, the culprit is an sdcardfs problem in my lineage OS based ROM, see here:
[Android Apps and Games] xxspookyxx:
1 - To have good perfomance and stability,

i link (apk,cache,obb1,obb2,data ext1, data ext2) to (2nd partition)

and not link (odex,dex,lib,data)

its this way?

------------------------------------

2 - If the files (odex,dex,lib,data) are in internal memory, and for some reason i need change rom and full wipe (not wipe microsd). What do I have to do to recover the files?

Before wipe, i need backup (odex,dex,lib,data) OR

i dont need backup (Odex,dex,lib,data) and just run "Broken App Cleaner" and remove script link and create links again to recover apps from 2nd partition (apk,cache,obb1,obb2,data ext1, data ext2)

----------

i have pro version.

microsd are sandisk extreme u3 64gb

using s7 edge (s8 port rom+tgk kernel)
[Android Apps and Games] xxspookyxx:
After install app2sd and link any app and reboot the phone, my Safetynet its broken.

i already try Magisk 13.3 and 13.6. with script method mount su.d, init.d, normal and advanced.

To my safetynet back to work, i need open app2sd remove script link, reboot, remove script link again, remove magisk, reinstall kernel.

How i fix this, to not broken my safetynet?
[Android Apps and Games] KazDeth:
I was just pointing out that it does not work with users.

Yet on my SM-T350 android 6.0.1, Apps2SD will link the the root/data/user/0/[app data folder] but the app will no longer function until the DATA folder is unlinked.
[Android Apps and Games] Android_noob17:
I have the same problem. Also magisk modules won't work.
[Android Apps and Games] 1emrys1:
Will this work on Oreo? Custom rom based on 8.0 was just released for my phone(Redmi Note 3 pro). I'm willing to wait until the app adds support for Oreo. Hope developer replies.
[Android Apps and Games] jaum20:
same here :rolleyes:
[Android Apps and Games] PieceKeepr:
Just discovered this app after it was mentioned in the FolderMount thread. Thank you [MENTION=6726362]vickybonick[/MENTION] for a great app and I bought the pro version.
[Android Apps and Games] Andro1dism:
Hello there Apps2SD users!

I tried to use Link2SD but was told that it doesn't work on some Lollipop ROMs and that I should check out Apps2SD...:good:

So that's what I did. Sadly, it did not bring me the hoped-for advantages....

Hardware: Sony D5503 (Sony Xperia Z1 Compact) @ Android 5.1.1

SD: microSDXC 128GB

Format: 115GB @ exFAT primary and 4GB @ ext4 primary

Plugging phone to PC: Just internal memory is shown.

With L2SD at least the second partition was shown....

Any input on this is appreciated. ;)

THanks

James
[Android Apps and Games] raed551:
good jop:good:
[Android Apps and Games] E_Ben:
What exactly are your hoped for advantages?

When you plug to PC, which OS do you use? It must be capable of mounting ext4 partitions of course, which e.g. Windows is not without additional tools such as Paragon ExtFS (google it).

Or use Linux.
[Android Apps and Games] Andro1dism:
The obvious one - not having to deal with internal memory restriction.

OS is Windows 10. I have no need to see the second partition formatted as ext4 to show up, as it merely is the space to swap out the app data intended by this project as I believe.

But of course I want to see the first partition formatted as exFAT so I can write stuff onto it, e.g. music and video and withdraw the camera images and videos.....

EDIT:

Alright, problem solved. Super weird. SD Card now does show up when phone is plugged to PC and and in the phone file explorer....

Maybe it had something to do with me changing the second partition from ext2 to ext4, but I ain't sure.
[Android Apps and Games] cukiyoko:
Hello!

I've been having a bit of trouble trying to copy a large (3.1 GB) obb over to my partition.

Whenever I try to link it, it runs through the linking successfully, however the breakdown in Apps2Sd then shows the obb size as 0.00 GB, and my phone shows it as still being on internal storage.

I can then 'unlink' the 0.00GB obb, and it runs through the whole 3.1 GBs copying process, as though it is being copied back to internal storage.

Any ideas on what's going wrong? I've successfully linked other obb files to my partition, but they too show up with the wrong obb size - usually also 0.00.

The difference here is that my internal storage is not changing, whereas it did with the other apps.

I have some images showing before/after linking - but can't seem to upload them here.

Could it be because the obb is showing up as being initially stored on the phone (emulated) internal storage (blue icon) not the normal storage (red icon). Can I change this?

I can't 'move' apps to the SD card, as I'm on a Samsung Galaxy S5, which doesn't support it.

I am on Android 6.0.1 and have partitioned my SD card. It comes up in storage info as sdcardfs - 97GB and ext4 - 21.5

Thanks for any advice!
[Android Apps and Games] E_Ben:
So all this is not app2sd's fault. At least for me it works perfectly as intended and if there is a problem, the support is superb.
[Android Apps and Games] crankiro97:
Can you please help me, I'm using Resurrection Remix with Magisk on my phone. I'm having issues when trying to recreate mount script with su.d/Magisk option, my Magisk module won't load everytime I boot the devices.

When I choose the advanced method, the Magisk module will load on boot but it trips the safety net..
[Android Apps and Games] vickybonick:
Hi all, for past few weeks i've been working on my other app. I'll look into all of the issues from next week.
[Android Apps and Games] webrod:
Hi,

I just bought the pro version.

I used the app2sd feature to partition my SD.

I thought I did a backup, but for an unknown reason, only folder names have been created on my PC, but no files, they are all empty :(

I tried a tool on my PC to recover files from the SD, but after hours it does not see any file to recover.

Is there any well know procedure to get back my pictures and videos stored there? any SW? is there a way to un-partition without formatting?

I have removed the SD from my phone 2 seconds after the end of the partition, so no more files have been created except a few by app2SD right after the partitonning.

thanks

Rod
[Android Apps and Games] jhagrid77:
I am using a Samsung Galaxy S5 and I have noticed that after linking one of my apps (Naver Line) that the data is in both the second partition of my SD card, and the internal storage. This data is roughly 2GB and I was wondering if it would be safe to delete it internally or not due to it being fully linked to the second partition.
[Android Apps and Games] cukiyoko:
Just an update - I upgraded from 6.0.1 to LineageOS in an attempt to fix this problem, but no luck. I'm still having the exact same problem. I just can't move the obbs successfully. I tried to do the sdcardfs fix, but when I choose it in the Apps2SD menu, it tells me it's not required.

Please help, I've spent hours trying over and over and just can't get it to work. Thank you :)
[Android Apps and Games] der_Kief:
Anyone here who has the foldermount part of Apps2SD working togehter with EMUI 5 ?

I cannot get this to work. Other apps like foldermount(root) and magisk fm module doenst work either.

There must be something special with EMUI (maybe decrypted internal storage?) as with my other devices there is no problem at all.

Any ideas or hints ?
[Android Apps and Games] E_Ben:
This sounds like being related to the sdcardfs problems in LOS on the S5. Workaround is to format the external sdcard 1st partition as vfat or wait until bug has been fixed. Another symptom is e.g. that you cannot save videos taken with the LOS camera app (snap) to the external sdcard.
[Android Apps and Games] RootedLee:
MTP bug with Folder Mount module (FAT): ONLY the mounted folder displayed via USB-MTP

Thank you for Apps2SD, but when I use the Folder Mount for non-Linux file system function with

source (internal): /sdcard/mySourceFolder

to

destination (FAT32 SD card): /storage/0000-0000/myDestinationFolder

Apps2SD indicates correct mount (green) but the effect in the file system is 0.

When I choose a different Android mount point for the exact same internal folder by editing

source (internal): /storage/emulated/0/mySourceFolder

Apps2SD again indicates correct mount (green) and the effect in the file system is as supposed - virtual folder mounted correctly, but with the odd side effect that my PC with the phone connected via USB (MTP enabled), Window only shows the content of that single mounted folder under "This PC\Samsung Galaxy J5 (2016) DUOS\Card".

After unbinding that folder pair again, all content of my SD card show up again on my PC with the phone connected via USB.

It makes no difference which check-marks are ticked or unticked in the folder pair options, and neither if mounted manually or on phone restart via generated mount script

With Apps2SD and any file manager on my phone I can browse though internal (/sdcard, /storage/emulated/0/) and external (/storage/0000-0000) just fine, so all is mounted correctly.

Latest drivers for the phone installed in my Windows 10, so I am positive this is NOT a driver but a Apps2SD folder bind issue.

For all specs see my signature.

Anybody else experiencing this?

Anything I can try, or will I need to wait for the next Apps2SD update?
[Android Apps and Games] cukiyoko:
Thanks for the advice! I'm happy to try and format the external sd card 1st parition as vfat, but I'm not sure how to do that. Can you explain how to do it? I can't see at vfat option in the Apps2SD partition tool (or even Aparted), and my google searches didn't help. I'm a bit stumped :)
[Android Apps and Games] vickybonick:
Set your email in the app and send device info then pm me your email id
[Android Apps and Games] cukiyoko:
Thank you vickybonick, I am trying to send it now, thank you for your help!
[Android Apps and Games] E_Ben:
Actually I did not try that, just got the advice from here:

Maybe he is referring to fat32?

There is an apk for testing the sdcard issue, which you can download and install from here:

https://github.com/rumburake/ZeroSizeFilesTest/raw/master/app-debug.apk

By the way, please use the thanks button if you are happy with an answer you receive on XDA.
[Android Apps and Games] cukiyoko:
Thanks for the links - looks like I have a bit more research to do now, but I'm glad to have more information to help me on my way!
[Android Apps and Games] noobhero:
[MENTION=6726362]vickybonick[/MENTION]

hi mate, i went ahead and purchased the pro without actually testing the free version or reading into it lol.

i wanted to use it for my shield TV 2017. well, it does not uses a SD card but i have a USB drive plugged in. can I utilize that instead.

it doesn't work when I tried
[Android Apps and Games] der_Kief:
PM sent
[Android Apps and Games] fubo73:
Yes, old issue, no solution so far, presumably a side effect of mounting mechanism not solvable in App2SD.
[Android Apps and Games] RootedLee:
Old issue? I searched this thread for MTP and read what I found but those posts were not about the same issue. Do you have a link w/ Vicky's reply?

I have two more FAT32 folders pairs, both of which do not cause this issue. Only difference: their mount- or bind points (source and destination) are both on external SD 000-000, so obviously Apps2SD CAN do it correctly. Why should /sdcard --> /storage/000-000 have any effect on MTP? This really sounds like a bug.

Also on my old Motorola w. Android 4.4.2 KitKat, Madmack's abandoned Folder Mount app (which does not work for me in MM 6.0.1) mounts the problematic pairs correctly w/o MTP issues. I know 6.0.1 is a different ballgame than 4.4.2. Maybe I should go for a test run of Apps2SD in 4.4.2 (?)
[Android Apps and Games] Infy_AsiX:
I'm not sure if this is Apps2SD related but it was used for linking their app and lib data. For some reason Facebook has four copies in /data/app/ in different folders. According to A2SD's info page the -3 is the actual copy and can be found in it's sdext2 location. The other copies exist only in /data/app/ with 0 byte apk and lib as they were previously linked, however their odex remains wasting storage.

What's the cause of this issue? Note that facebook's messenger app is uninstalled but it's links and odex still exists as per the same issue. I noticed this because they have large odex files which are easily spotted when sorting by size. Could mean there are possibly other apps with the same issue?

Please see the attached screenshots for clarification. Thanks for any assistance or insight.
[Android Apps and Games] fubo73:
Here I already pointed out the issue, here author's answer:
[Android Apps and Games] RootedLee:
That plain simple sucks. I just see that Link2SD offers native Android Apps2SD also without the need for a 2nd LinuxFS partition - have you tried it ?

And what about the two Magisk modules for folder mount. Any experience with these?

(I'm rather tired of this and also tired of tinkering around more for what's supposed to be basic stuff, IMHO.. :( )
[Android Apps and Games] fubo73:
I did not try Link2SD, but I am not interested in moving apps in ext LinuxFS, I was just interested in moving apps specific folders (like Whatsapp) on SD. So I did not repartitioned my SD.

I do not use Magisk. In the past I did play with it, but as I am not interested in SafetyNet, I reverted to system heavy changes for better performance.