yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] TraderJack:
I'm having a problem setting up links/bind points. My first attempt scared the #@$ out of me because it didn't work and when I reverted it, it appeared my entire SD card was wiped (luckily a reboot solved it). Hope someone can help. This is what I am trying to do:

I'm running LineageOS 14 (Nougat). By default the camera app saves on the internal storage (DCIM\Camera). I have redirected it through the camera app to save on external SD card (main partition ofc).

However I have some other camera apps that on Lineage don't give me the option, so they are still saving to internal storage (DCIM\100MEDIA).

I would like to somehow link/bind/route/whatever the entire internal DCIM folder to the DCIM folder on the external SD card. This way all my photos/videos are always saved on the SD card regardless of the app.

My assumption is that I could do this with Apps2SD Pro.

I have been unsuccesful getting this to work on the root DCIM or on a sub folder. My steps are as follow:

- Create new folder mount

+ Name: 100MEDIA

+ Source: /mnt/sdcard/DCIM/100MEDIA

+ Destination: /storage/56C6-5357/DCIM/100MEDIA

+ Only option selected is "Create folder if doesn't exist"

+ Bind folder chosen (as these file systems are not linux I assume this is the correct option)

- After applying those settings it thinks for a minute and then says it is created successfully. However nothing appears to happen. I don't see the files from the internal SD on the external SD location. If I create a new picture stored in internal SD it doesn't show in external SD, etc.

- Also, while it says it is successful with the creation, the toggle button never turns to the on position.

- If I reverse the source and destination bind locations it seems I can get the mount point to toggle on, but this is not what I want...I don't want the external SD saving to the internal SD.

Incidentally, when I remove the bind point after not being able to get it to work, my entire external SD (56C6-5357) is no longer available. It can't be seen from file explorer and if I eject and then remount it from the system it shows as corrupted. Luckily a reboot brings it back. Even when it is in an unavailable state through Apps2SD when I choose "Remount 2nd partition" it says it successfully does it.

I'm probably (hopefully) doing something wrong here...but this is what I bought the app to do.

Suggestions?
[Android Apps and Games] vickybonick:
Use /storage/emulated/0 instead of /mnt/sdcard

Use the Storage info option to check the phone storage path and use it if it's not /storage/emulated/0
[Android Apps and Games] TraderJack:
Thanks...that seems to have worked. Some other strangeness though:

I can't unmount it. Even trying after a clean reboot it says it is successful using the "unmount only" option. However it is still toggled on.

I had to delete the mount point and reboot to actually access the original source folder contents again (which I chose not to have copied during this test).

Also it looks like there is some hidden .fusexx files created? Could you explain those as well as what method a "bind" actually uses (compared to a linux symlink which I do understand).

Finally, all of the options when creating the mount point to copy/move/delete files before/after mounts. Can you explain some real world scenarios on why any of those would be necessary? I would think most people want to just redirect a folder and let it stay. All those options kind of smack to me of "well if might not always work, so if we didn't bind and files get created in the wrong place...what to do with them?"

thanks!

EDIT: I recreated the mount point again after clearing all files out of the source folder and deleting it (to let App2SD make new folder). After this it appears to mount/unmount properly.

I looked up the .fuse_hidden and they seem to have to do something with deletion of files. I deleted the one that seemingly got created only after this bind point and tested deleting some more files (from both the source and destination) and I don't see these hidden files being recreated again...so I'm not sure what's up.
[Android Apps and Games] vickybonick:
fuse_hidden file seem to be created by the fuse daemon (perhaps when you bind fuse file systems)
[Android Apps and Games] koyo:
SD Fix doesn't seem to work. Tried it on Nougat and Oreo and Titanium Backup is still unable to write to the external SD card. Same for My APK and Advanced Download Manager.
[Android Apps and Games] vickybonick:
After applying SDFix, create a Sdfix task on boot using the task scheduler
[Android Apps and Games] Boriar:
Is there some way to navigate through the 2nd partition?
[Android Apps and Games] vickybonick:
2nd partition is mounted on /data/sdext2

Use any root file explorer to browse it. Please use the search option it has been answered before
[Android Apps and Games] onegabriel:
i know that rebooting seems to fix it, but it is very annoying to reboot my device every single time... how do i fix it?

and also when i check the /data/sdext2... it seems mounted but apps are crashing and when i try to remount it shows this error (see the attachment/screenshot)

if you need system details:

Rom: ViperOS 3.1.1, 7.1.2 Nougat
[Android Apps and Games] vickybonick:
What su app and version?
[Android Apps and Games] martyfender:
Did you use the inbuilt partition tool to create the partitions, or a third party tool?
[Android Apps and Games] koyo:
It still isn't working. For both Nougat and Oreo. Titanium Backup still cannot write to external SD card
[Android Apps and Games] vickybonick:
Do other apps work?
[Android Apps and Games] onegabriel:
Currently using Magisk 15.3

---------- Post added at 04:53 PM ---------- Previous post was at 04:51 PM ----------

I used Partition Wizard on my PC
[Android Apps and Games] vickybonick:
Mount script may not work with Magisk 15+. I'll be checking it out in next couple of weeks
[Android Apps and Games] onegabriel:
so you mean it is not yet fully compatible with magisk 15+ and you are looking for it to fix...

anyway, gonna wait for the new version with fix... thanks
[Android Apps and Games] koyo:
No
[Android Apps and Games] vickybonick:
Few people have reported it doesn't work, I've yet to test it though
[Android Apps and Games] vickybonick:
Did you follow below steps:

1) Apply SDFix

2) Create SDFix task on boot (Make sure Apps2SD has permission to run on boot)

3) Reboot

4) Try out the app

Note: for newly installed apps and updated apps 1-2 reboots will be required

For Titanium Backup SDFix checkout this video https://www.youtube.com/watch?v=B8f_XNriJxU
[Android Apps and Games] onegabriel:
Creating mount script is fine and working, but that "unmounting" thing and that error that i showed earlier seems the only problem and it does that like every 30mins or sometimes 4 or more hours

but before that happens i see a notification showing that it is remounting the sd card and later on it shows a "corrupted sd card" notification

(i assume that it is unmounting by itself out of nowhere)

and that's when my linked apps begin to not work

i also tried sdfix and fix permission, but still the error occurs

sorry for the bad english... lol
[Android Apps and Games] vickybonick:
Then follow below steps:

1) Set Mount namespace to Global

2) Use Apps2SD partition tool to recreate partitions. Note: data will be erased so take backup first

3) Recreate mount script

4) If the 2nd partition gets unmounted every x hours then enable the Remount 2nd partition option in Settings
[Android Apps and Games] koyo:
Yeah I did all of that. I know it's supposed to work because I set it to give a notification when it runs. It says it's successful. But My APK and Titanium Backup still cannot write to external SD card
[Android Apps and Games] onegabriel:
if i re-create partition using apps2sd will the first partition's data will be erased as well?

anyway, i always do backups first

wait, is there a way to backup the contents of my 2nd partitions... i already put a lot of apps there and i can't move them back to internal because of small storage

and I'll try to observe after i set my namespace to "global"

feedback again if something goes wrong

thanks...
[Android Apps and Games] vickybonick:
Checkout the video I attached
[Android Apps and Games] koyo:
Yes I did all of that. I even set it to give a notification when it runs. The notification says it's successful but My APK still can't write to SD card
[Android Apps and Games] vickybonick:
I want to increase the size of my SD card 2nd partition/Recreate partitions on SD card, do I need to unlink all the applications and link again to the new partition?

No. Copy the contents of SD card 1st partition (fat32) to OTG/PC and use the Backup function to backup SD card 2nd partition, create two partitions with appropriate size using the Partition tool, Delete mount script using "Delete mount script" option in "Link apps to SD card" left navigation menu, Create mount script using "Recreate mount script" option in "Link apps to SD card" left navigation menu, copy SD card 1st partition (fat32) backup into SD card 1st partition and restore the SD card 2nd partition backup using Restore function and you're done

Note: If SD card 2nd partition used size is more than 4GB use Phone storage to save the backup or any partition with non fat32 filesystem

Most of the info can be found on below links:

http://www.apps2sd.info

http://www.apps2sd.info/faq

http://www.apps2sd.info/features

http://www.apps2sd.info/kedb.html

http://www.apps2sd.info/suggestions.html
[Android Apps and Games] vickybonick:
Did you modify TB as mentioned in the video?
[Android Apps and Games] martyfender:
You need to use the inbuilt partition tool for the third, metadata partition to be created. When I use the inbuilt partition tool I have three partitions:

1st FAT32

2nd Apps2SD's metadata partition

3rd EXT partition.

The inbuilt partition tool uses the GUID (GPT) partition scheme on Marshmallow and newer Android versions.
[Android Apps and Games] onegabriel:
what is that 3rd partition supposed to do?
[Android Apps and Games] martyfender:
I have Magisk 15.3 on one of my newer tablets, in my signature, older ROM version and IFWI version and the mount script is working fine on that device. I see no problems, whatsoever, on that device. My newest device, the one in my signature, I have kept on SuperSU SR5 2.82 and everything is working great on it, also.

---------- Post added at 01:25 PM ---------- Previous post was at 01:15 PM ----------

If you are referring to the 2nd metadata partition, I believe [MENTION=6726362]vickybonick[/MENTION] should answer that question.

If you are really referring to the 3rd partition, it is the EXT partition where all of your apps are linked to that you choose to move. My 3rd partition is formatted as EXT2.

There is no third party tool which will create the Apps2SD metadata partition, hence the need to use the inbuilt partition tool to create your partitions.

With Android versions before 6, you could use third party tools to create partitions as they create standard MBR patitions. On one of my older tablets on 5.1.1, I was able to use Minitool to create the partitions.
[Android Apps and Games] zdoe:
hey [MENTION=6726362]vickybonick[/MENTION] - i'm happy to report that since i applied [MENTION=5228676]VR25[/MENTION]'s f2fs bug and updated magisk, your app started working for mounting intSD folders to extSD. so i'm good on that.

now i'm wanting to try the actual apps2sd functionality... how do i get back to the menu that shows up at first launch - e.g. the one where your app asks how to mount the 2nd partition? currently i'm having to soft reboot to get apps2sd see it - while in fact it IS mounted without that - showing up in diskinfo.

and - how do i delete the data on the 2nd partition - what's there currently is leftover files from my old phone/link2sd.

---------- Post added at 07:30 AM ---------- Previous post was at 07:27 AM ----------

i still can't get logcat to work - but now mount is working, as above, so now i don't fancy troubleshooting that, at least right now.
[Android Apps and Games] Cadfael_the_elder:
Your tutorial

Hello,

Apps linking works fine! Thanks a lot. But ...

I'm sorry I can't understand your tutorial.

As a non native english speaker, your explanations are not understandable, ant the actions shown are much too quick.

I want to bind a folder containing data on internal storage to an empty folder to be created on external SD card 1st partition. I did not get the difference beetwen bind and symlink. Once a did a bind, I got a message "done Ok " but I don't see any folder created on externat SD.

Your help much appreciated. Thks

---------- Post added at 07:40 PM ---------- Previous post was at 06:53 PM ----------

Ok, I found your help file in the FAQ somewhere on the net. So problem seems on the way to solving (I forgot to click on activation button). Thks anyway and congratulations for you software :)
[Android Apps and Games] Cadfael_the_elder:
Hello,

How is it that Checking root access is sooo long (it takes several minutes).

Not yet sure it will success !
[Android Apps and Games] chandr1000:
Sometimes apps2sd didn't re-link the updated apps.

I had whitelisted apps2sd from doze, but still doesn't work
[Android Apps and Games] vickybonick:
Do you see any notification from Apps2SD after the app is updated?
[Android Apps and Games] chandr1000:
Absolutely not
[Android Apps and Games] vickybonick:
What is your Android version and ROM?
[Android Apps and Games] vickybonick:
It's a hidden partition reserved for Android (It might be used in future versions)
[Android Apps and Games] vickybonick:
1) How to use Link apps to SD card option: Checkout below tutorial

https://www.youtube.com/watch?v=P1V4UQnZq0w

2) Use the Wipe 2nd partition option from left navigation drawer in Link apps to SD card module

3) Logcat seems to be disabled on your ROM
[Android Apps and Games] vickybonick:
No it shouldn't take that long. Does it happen all the time you open the App? What SU manager are you using?
[Android Apps and Games] Cadfael_the_elder:
Using SuperSU-v2.82

Problem does not occur that frequently. It occurred after doing many downloads and install. Fact was, it's most embarassing when you get it (then it repeats endlessly) and you don't know how to manage it. After some research, I found some hints on tne web, and could solved it by wiping all caches on device. So it has been solved.

Thanks
[Android Apps and Games] 1emrys1:
This is a superb app. I tip my hat to the Dev.

I have been using a nougat rom for the last year and this app has been working great.

However I would like to flash an Oreo based rom as they have become fairly stable. Does this app work properly on Oreo? I mainly use the folder bind function.

I hope à fellow user or the developer himself can help me out.

Thanks
[Android Apps and Games] chandr1000:
Nougat 7.1.2

ROM: Resurrection Remix v5.8.5
[Android Apps and Games] vickybonick:
Yes it works with Oreo
[Android Apps and Games] vickybonick:
Do you have any app/service/setting (e.g Privacy guard, an inbuilt settings like in MIUI or something similar) which may be restricting Auto start of Apps2SD
[Android Apps and Games] chandr1000:
Yes, i had Privacy Guard enabled by default.

Apps2sd's auto run permission was not disabled, including "run in background".
[Android Apps and Games] zdoe:
ok. everything seemed to be working fine on this... (though the "wipe 2nd partition) didn't - same amount of data showing on it after the wipe. reformatting with a partition manager kind of did, though even with that diskinfo reported 100Mb of data there. go figure...

but then play store updated and started (without permission, unusually evil update from g) updating apps. i rebooted to get it to stop, but then the 2nd partition wouldn't mount again for a moment, and the apps that i'd linked vanished. and once it did mount after another reboot, they were still gone. is there a way of forcing the app to read the existing data on 2nd partition so that this wouldn't happen again?

and - though not exactly a topic for this thread - would you know how to stop play store from updating? not the apps, the store? on my old handset i got it to behave by creating mock files that took up the filenames the update wanted, but on this one it doesn't seem to work. on youtube there's a tutorial that says limiting access to "check wifi and update" -service will stop it, but that service is not there in the disable service apps settings.

https://www.youtube.com/watch?v=SggThJwCw9o

logcat - i guess so... don't want to deal with it now.
[Android Apps and Games] martyfender:
Do you encounter problems when the playstore updates itself? I actually update the playstore on apkmirror, when a new one is available, one was released today, as a matter of fact, On my devices, I never encounter any problems. In addition, I am on the beta of Google Play services and never have had problems on my devices, with the latest beta.

If I remember correctly, you have a device that has an f2fs file system. I see one post after another, with problems on the Magisk threads with that file system.

I'm glad my devices are not on that file system as it appears to be broken in so many ways. I am assuming you have automatic updates turned off for apps, in the playstore settings.
[Android Apps and Games] zdoe:
yes - i do have problems with play store itself. the latest update ignored the setting of not updating apps (or rather, on its own, set it to updating apps on every boot). i don't need or want anything that play store forces on me. if you ask me, it's bloatware, and operates on the false assumption that the new versions of apps would always be better. if one could get the OS to work without it, i'd kill it in a second.

on my last handset it would completely crash it, only an old version on the original oem-ROM worked. but as i said, the way i stopped it updating there doesn't work now.

(sorry for venting ;))

yes, i have a data partition on f2fs with the bug that [MENTION=5228676]VR25[/MENTION] has fixed by a workaround. however, of course my SDcard 2nd partition is ext2.
[Android Apps and Games] Tech 4 9:
This Ferrari of a app is in dire need of a owners manual. ;)

---------- Post added at 12:42 PM ---------- Previous post was at 12:07 PM ----------

So here's the procedure I'm going to try this weekend:

1) run fresh backup of all freshly updated apps

2) run fresh full titanium backup

3) copy entire extsd containing above backups to pc

4) fresh install of my stang5.0liter ROM

5) install only apps2sd

6) format/partition now blank extsd card with apps2sd

7) orient myself w/ apps2sd (practice moving/linking apps)

8 ) if step 7 goes well..reinstall the copy of extsd from pc

9) at this point I don't know whether to try to restore titanium backup or just redo everything fresh.
[Android Apps and Games] aerifal:
Thanks a lot the app is working perfectly. Uninstalling foldermount app now [emoji16] . There are 2 service running in background showing in greenify, tasker & services, is it ok to hibernate it?

Sent from my GT-N7100 Resurrection Remix
[Android Apps and Games] vickybonick:
Do not hibernate Apps2SD. Btw Apps2SD also has a hibernate module. It's not as advanced as Greenify but does the work. I'd like some review about the module
[Android Apps and Games] vickybonick:
A video tutorial is in the making.
[Android Apps and Games] pollazht:
Hi,

The "cleanup 2nd partition" feature deletes the files on /data/sdext2 but not the relative links in original location (in /data/app and /data/dalvik-cache folders).

This could cause installation failure when you update from play store.
[Android Apps and Games] vickybonick:
cleanup 2nd partition only deletes files which are not associated to any installed app.
[Android Apps and Games] pollazht:
Nope, that doesn't seem to be the case. For example I had on 2nd partition folders "com.google.android.googlequicksearchbox-1", com.google.android.googlequicksearchbox-2, com.google.android.googlequicksearchbox-3,

com.google.android.googlequicksearchbox-4.

I cleaned up 2nd partition, and now only com.google.android.googlequicksearchbox-4 is left (which is obviously still installed), but there are links for the other folders in /data/app. Similar for dalvik-cache. That will make updates from play store fail with error 504 or something.

Checked with ES File explorer.
[Android Apps and Games] vickybonick:
Those links are not treated as associated with any installed application. So it doesn't matter whether you clean the 2nd partition or not you'll still get 504 error
[Android Apps and Games] pollazht:
It doesn't matter if I clean 2nd partition, because Google play will try to create *-1*.dex in /data/dalvik-cache , but will fail because already exists a link with the same name. That is because "cleanup 2nd partition" deleted only the target on sdext2 and not the link associated with the target.

Shouldn't links to files which are not associated to any installed app cleaned along with the associated files ?
[Android Apps and Games] Tech 4 9:
This is way to powerful of a app to be just "tryin stuff" as proved by my softbrick, Odin back to nc5...towel root.. blah blah.

I GUESS I have apps2sd working finally. I say "guess" because I'm to afraid to do anything further with it to SEE if it works . Shrouded in ambiguity. I was going to bail altogether but ended up "needing" the partitioning tool to "fix" my dead and unrecognizable sd card from the previous attempt.

...waiting for video (how do SOME people seem to inherently know how to use this app with no issue? Are there other tutorials out there?..if so where?)
[Android Apps and Games] vickybonick:
If you uninstall the apps from within Apps2SD it'll delete all the associated files properly. If you uninstall from a different app, it won't clean everything(There are some limitation). So it's better to use Apps2SD uninstall feature
[Android Apps and Games] vickybonick:
You can check the Faqs @ http://www.apps2sd.info. It's not complete but you'll get a basic idea
[Android Apps and Games] Tech 4 9:
I've looked at the faqs till I see double. It's informative but in no way a "tutorial" and seems to raise more questions than answers.
[Android Apps and Games] vickybonick:
Please wait for the tutorial then
[Android Apps and Games] Tech 4 9:
....for example: faq 10 jumps right into having trouble with linked apps on reboot. I would think faq 9 would be "how to link apps".
[Android Apps and Games] pollazht:
Good to know.

The reason I make a bug report isn't about problems uninstalling apps, but proper function of "cleanup 2nd partition" without uninstalling any app.

1) cleanup leaves behind useless links to non existing targets, thus not cleaning properly

2) leftover links could potentially lead to installation problems when updating the app
[Android Apps and Games] vickybonick:
I get your concern. That's why i recommend to use Apss2SD uninstall. I'll add that to Faqs and in the tutorial
[Android Apps and Games] vickybonick:
Yeah the faq needs to be updated. If you can send me all the questions you have (and order if possible), i'll add the answers.
[Android Apps and Games] Tech 4 9:
Your responses are awesome and appreciated . I've successfully partitioned my extsd to 24g fat32 and 6g ext4. It was the only way that both ap2sd AND my Verizon galaxy s4 would recognize the SD card. It looks like it's ready to rock but I don't even know where to start. Which apps do I move/not move? Do I move then link or link then move? The only apps that are movable as is are user apps so do I convert system apps to user so they're movable?

---------- Post added at 01:28 PM ---------- Previous post was at 01:24 PM ----------

What should I see/look for when moving/linking? Does each move require a bunch of reboots? Why aren't ALL the boxes checkable for a app in the link/unlink screen? Should they be? I've moved a app but the largest thing listed on the link/unlink screen is the apk...and it stayed on device storage for whatever reason...so what's the point since I thought we were trying to move the apk to extsd.