yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vickybonick:
I see you're using Advanced method for Mount script. Can you recreate Mount script with su.d option and see if it resolves the issue
[Android Apps and Games] martyfender:
I have already tried that, but I can try again. Is the su.d script only run once, at boot? Apparently, the apps2sd service is stopping frequently and restarting. A couple of days ago, I enabled: Force restart Apps2SD service, in settings in the search for a solution to the problem. I have recreated the mount script using the su.d option and will let you know how it goes

Thanks
[Android Apps and Games] martyfender:
After a few hours with the su.d option 2nd partition is unmounted already. Logcat has errors I've never seen before.
[Android Apps and Games] Kireto00:
Can any one help me i flash magisk 13.3 and now i already partiton my sd card to exfat and ext4 pls tell me now what i must click on app2sd i click link apps to sd there are 4 options that is ( use normal method and ........... ............. ) What i must click ?

And there is another option down them must i tick create script for recovery mode or not ?
[Android Apps and Games] WayneS95:
First of all...thanks for the great app!!!...I have been using 'Foldermount' option of your app for mounting OBB files of games in SD card till Magisk 12.0.....However this feature has stopped working from Magisk 13.x versions....Even tried the latest Magisk 13.3....But the app doesn't mount the folders from SD card....So I'm currently on Magisk 12.0 just for this feature.....So need your help with Magisk compatibility...I don't like to partition sd card...just need that Foldermount compatibility with Magisk 13.x versions......So please look into this bug...Thank you!!!.....BTW my phone is Redmi note 3 (kenzo), running Resurrection remix 7.1.2 on Magisk 12.0{currently}
[Android Apps and Games] vickybonick:
Select I've su.d radiobutton and click OK. Tutorial @ https://www.youtube.com/watch?v=eE4yY87r5mY
[Android Apps and Games] vickybonick:
Set Namespace to global namespace in Magisk manager (v13+). Magisk mount namespace will be supported in next version (Will require Magisk 1310+)
[Android Apps and Games] Kireto00:
in storage info i dont found sd card size not partition 2 ...... i mean i dont found exfat patition
[Android Apps and Games] vickybonick:
Does your device support exfat?
[Android Apps and Games] Kireto00:
every thing is good and link is perfect but in the storage info there wasnt exfat yes its support ..... is there is a problem if it not appear but the link and every thing is perfect
[Android Apps and Games] vickybonick:
If the exfat partition is mounted and accessible by other apps then goto Apps2SD settings and set the external SD card path
[Android Apps and Games] Zehlek:
On the latest Magisk if I select I use Magisk interface I get an error. I then have to select other method which works but everytime I reboot I have to select restore apps
[Android Apps and Games] Zehlek:
Error message [MENTION=6726362]vickybonick[/MENTION]
[Android Apps and Games] vickybonick:
It's an issue in Apps2SD, it'll be fixed in next version
[Android Apps and Games] martyfender:
Vicky, I was wondering if you had a chance to check it out and if you had determined anything. When I remount the partition and relink, it is only moving a 4kb file listed as obb, each time. The su.d option was much worse and eventually I again saw the corrupted sdcard message in the android notification. It is the first time I have seen it in a while. I ran the repair option in the partition tool and fix permission on second partition. I believe I had tried the normal method, also and it didn't work from the get go. I was also wondering why there is still a 889mb obb file in the path: /storage/emulated/0/Android/obb/com.gameloft.android.ANMPGloftRAHM.obb , instead of being moved to the second partition?

Thanks, again
[Android Apps and Games] vickybonick:
Not yet. I'll check it out over the weekend
[Android Apps and Games] WayneS95:
Thanks dev now I'm back to Magisk 13.3 and foldermount is working like a charm :):cowboy:
[Android Apps and Games] martyfender:
Thanks for looking into it.

I was wondering if an app like Automate could be used to remount the 2nd partition on wakeup and relink the partially linked app? Just a thought. I have never used the app, but was reading about it. Apparently it is similar to Tasker.

Thanks, again
[Android Apps and Games] vickybonick:
I didn't find anything and the mounts are also available, it may be related to how SuperSU handles mount namespace separation. Can you try with Magisk v13.3 and see if it is resolved?
[Android Apps and Games] martyfender:
I may try that as I just recently received a report from a user on my Nextbook Ares 8A root thread that he was successfully using Magisk. I assume I should us unSU first to remove all traces of SuperSU before I do though. Or should I wait until you release the next version with Magisk mount namespace support?

Based on some conversations we both had a few weeks ago with [MENTION=631273]Chainfire[/MENTION] , did you work with him as he suggested to help resolve some of the issues?

Thanks
[Android Apps and Games] vickybonick:
It was an issue with creation of the mount and it seems to be working fine
[Android Apps and Games] Jorell00:
Hi, ive looked for solution to my problem with no joy. I'm running this app on xperia z2 tablet. I have moved about 15 of the largest apps to sd, however when I reboot the apps are not showing and i get a messege to recreate mount script (advanced method).

Could someone please point me in the right direction so I can understand and sort this problem out

Thanks in advance

Jorell00
[Android Apps and Games] vickybonick:
Open Apps2SD, goto Error Report option, set your email address, send device info from the menu and pm me your email
[Android Apps and Games] Jorell00:
Vicky

Report sent, thanks for your help

Rgds

Jorell00
[Android Apps and Games] vickybonick:
Pm me the email
[Android Apps and Games] martyfender:
Per your recommendation tried magisk. The same problem of the 2nd partition being remounted after wakeup from doze still exists with Magisk. I started with global namespace, and also tried inherit namespace and isolated namespace.

I have tried setenforce 0 in the mount script, despite the selinux showing as disabled in jrummy's root check, with magisk hide off. I also tried changing various options in the settings of apps2sd, with no joy.

I notice in the logcats that apps2sdtasker is crashing frequently and is scheduling the restart of the crashed service. Also, on my older Nextbook ares 8 with 5.1.1 instead of the current ares 8a with 6.0.1, a dex file is created by gt racing 2 that is linked to the 2nd partition.

On the newer 8a with 6.0.1, no dex file is created. Is that normal on Marshmallow?

I also uninstalled the app reinstalled to internal, formatted the 2nd partition, recreated the mount script and relinked it.

At: /storage/emulated/0/Android/ a obb folder is created for the game.

When the game is linked to the 2nd partition, the files on the internal appear to remain there as well as being on the 2nd partition they don't appear to be just symlinks or bound, they appear to be the full files on internal. Is that normal?

I use lspeed, kernel aduitor and greenify. I don't have apps2sd or gt racing 2 hibernated. and I don't use aggressive doze. In lspeed I have the govtuner set to performance, kernel tweaks for performance and cpu optimizer.

Thanks
[Android Apps and Games] vickybonick:
Version 13.0(131) released in play store and attached in OP

Changelog:

Updated translation

Added mount namespace support for Magisk v1310+

Removed system apps from Broken app cleaner due to many issues reported by users

Added support for SD card as source folder in Folder mount

Fixed Systemless root detection on some devices

Added Import/Export Apps2SD settings

Added Receiver filter in Broadcast receiver (App component manager)

Added option in Settings to auto link obb and ext data to 1st or 2nd partition on SD card

Other bug fixes and performance improvement
[Android Apps and Games] vickybonick:
I'm not sure what is happening because the mount is available all the time. Perhaps it's an issue with the ROM?
[Android Apps and Games] martyfender:
maybe so. I just saw the new version and am downloading now.

Thanks

---------- Post added at 01:30 PM ---------- Previous post was at 01:02 PM ----------

With the new version, what namespace separation setting should be set in Magisk?

Thanks
[Android Apps and Games] vickybonick:
Anything if it's greater than v1310
[Android Apps and Games] dvdhngs:
Hello everybody, I have a 64gb sd card, i would like to get 10gb as 2nd partition (to link apps) and the space left use as adoptable. any ideia?

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

I just can't create the script....

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

Found this code on other program....

set +e

echo "$(date) mounting..." > $LOG

sleep 2

mount -t f2fs -o rw /dev/block/vold/public:179_66 /data/sdext2 1>>$LOG 2>>$LOG

mount -t f2fs -o rw /dev/block/mmcblk1p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG

echo "$(date) mount finished" >> $LOG

chmod 773 /data/dalvik-cache

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

I think need be

179_65 and mmcblk1p1

But I don't know where can I put this....

Find this files on magisk folder, but nothing that I can edit...

I need help ....
[Android Apps and Games] martyfender:
I have reverted to supersu. Using Magisk for less than 24hrs. and I lost root on all apps. Rebooting solved it but I also noticed other strange behaviors and lag, that I had never seen before, with supersu

In the 1 1/2 years I have been on android, I have never once had any major issues with supersu, whether on my ares 8 with 5.1.1, or my ares 8A with 6.0.1

and throughout countless beta and stable releases.
[Android Apps and Games] Kireto00:
I have 2 problems now after using it

1-most of apps have an increadible lag and open so slolwy

2-the libs of most of apps is stored in internal can i store it in 1st or 2nd partition on sd card ?? It take a big size on internal so i want to transfer it

Note.... I tick link libs in settings already
[Android Apps and Games] Jacqueline Kim:
I thinks this app needs more stability. Thanks
[Android Apps and Games] dvdhngs:
need help.....

[MENTION=6726362]vickybonick[/MENTION]
[Android Apps and Games] Jorell00:
Hi Vicky,

Im the person having problems with apps not showing after reboot. I assume i send the error report, and its sent to the email address I have put in the set email address section and them I pm you the contents of the email. I have spent hours and hours trying to get this to work. But no emails are received, I've tried 7 different email addresses . In error report, I get the following message

PLEASE IGNORE THIS

Running Apps2SDService on boot

I really hope you can help me

Rgds

Jorell00
[Android Apps and Games] vickybonick:
Pm me the email you set in the app so i can filter the report
[Android Apps and Games] vickybonick:
Did you create 2 partitions on the sd card?
[Android Apps and Games] vickybonick:
Are you having any issue?
[Android Apps and Games] vickybonick:
1) Use a class 10 uhs card

2) Is your device 64bit? Linking lib of many apps on 64bit device results in crashes so it is restricted in the app. If you want to take chances then enable "Force enable lib linking" option in settings, this will enable the lib linking/unlinking option
[Android Apps and Games] dvdhngs:
Yes, you can see on screenshots on previous post.
[Android Apps and Games] vickybonick:
I don't see 2 partitions, can you attach the screenshot again
[Android Apps and Games] dvdhngs:
Attached
[Android Apps and Games] vickybonick:
Either use adoptable storage or create 2nd partition for linking apps, using both generally doesn't work or make sense.
[Android Apps and Games] dvdhngs:
Get it, I saw on previous pages that you recommended to create both partitions, because some apps can't adopt, so the alternative would be link.....

So don't have anything that I can do to use both (adoptable and link), if really can't do it, I will understand, not change the fact this is one of the best apps I use. Thank you very much! :good:

https://xdaforums.com/showpost.php?p=71348691&postcount=3392

Can I folder mount the cache or you don't recommend?
[Android Apps and Games] vickybonick:
Some ROMs lock the partition so it is not mounted by the script. I don't recommend to link or bind cache partition
[Android Apps and Games] dvdhngs:
Do you know any rom that not lock the partition? can be any mobile.

could you attached a example of mount code when create mount script to I see if I can get manually?

who is using adoptable + portable

Could verify to me if is f2fs + fuse?
[Android Apps and Games] vickybonick:
Any reason you want to use both?
[Android Apps and Games] dvdhngs:
Space...

Formated my phone last week, because was full on internal storage, and I couldn't adopt no more apps, I have only "16 GB" on internal (xt1556/Merlin), but accessible only 9gb, and when I forced move the apps stopped working, so my only option is to link apps.
[Android Apps and Games] Kireto00:
1- i succuss transfer lib to sd card but all my device is lag

this is my used sd card 64 gb and its written on it class 10 xc 1 ???
[Android Apps and Games] Kireto00:
I used 64 gb sd card class 10 xc 1 ??
[Android Apps and Games] vickybonick:
Recreate mount script using Advanced method
[Android Apps and Games] Jorell00:
That was my original question - how do I recreate mount script using Advanced method. I have searched for the answer but cant find it, can you or someone else please point me in the right direction on how to recreate the mount script

Thanks
[Android Apps and Games] martyfender:
Open apps2sd, choose: link apps to SD card: from the drop down menu on the top left choose: Recreate mount script. At the bottom, choose Advance method and hit ok.
[Android Apps and Games] vickybonick:
Then Recreate the partitions using the normal partition tool
[Android Apps and Games] vickybonick:
Then unlink dex/odex file for better performance
[Android Apps and Games] Artieza:
2 latest updates of this app made mount script not working. I used su.d script with in-build BusyBox. Always needed to recreate script. This is weird because Nova Launcher cleans up custom icons.
[Android Apps and Games] Artieza:
Done. I meant that after every update of App2SD, script needs to be recreated too.
[Android Apps and Games] KazDeth:
I currently use an SM-T350.

I am using Apps2SD version 12.3 due to stability. However, I have tried 13.0 but it did not solve my issue so I reverted back to 12.3.

My OS is 6.0.1

I can link everything except root/data/user/0/[app's folder].

Apps simply will not run fully linked. It is becoming a hassle because new apps are insisting on using root/data/user/0/[app's folder]/files instead of using external data locations.

Also, I tried using Apps2SD with users, it refuses to run.
[Android Apps and Games] Classpro:
I have really had a terrible day, and I hope you can help me re-link my apps2sd linked partition. I tried to backup the apps2sd 2nd partition to the sd card on my daughter's phone, but for some reason it used up all the phone's main data rather than sd card, and I could not figure out where the files were to delete them (they keep coming back). My three nandroid backups did not back up the linked partition data, so I have no backup of her favorite game data. I don't know what rom she had, so I've tried two different roms, but I am unable to relink. On a an Android 7.1 rom, I tried every combination of partition but it would not create a mount script. On an Android 6 rom "I get Error! unable to mount 2nd partition as ext2. Please recreate mount script as ext4 and see if that works." But I see no way to recreate the script. Any help you can provide so that I can remount and restore her data would be greatly appreciated.
[Android Apps and Games] KazDeth:
If the game user data is not saved via G+ or FB, then on a rooted device you can go root/data/user/0/[App Folder]

Tap and hold that folder, while in Root Explorer and Tar Gzip it and your user data is backed up manually. The 0 changes based on Users on the device, it defaults to 0 for Primary User or no Additional users.

Secondly, with TWRP Recovery, you can completely backup your device (including user data). What I do is set up my devices perfectly. This creates a "golden age" for the device. I back it up using TWRP. Then whenever I need to factory wipe, instead I do a restore from my Perfect Setup. Data is never lost.

And you can save your backup to SD Card, PC and Google Drive... with that triple backup, you will have access to that data whenever you need it.

Most of what I have written will be useless to you now, but in the future you can avoid these issues following a proper back up plan.

Good Luck.
[Android Apps and Games] Molinari:
Got a new sdcard and can't make a mount script and there is no option to "Create script for recovery mode".....
[Android Apps and Games] Classpro:
What I'm trying to do is get the linked directory to mount so that I can recover the data. Any suggestions for that?

Secondly, I'm not sure what you're saying about the nandroid backup. Are you saying that you do a nandroid backup before linking anything as a base, and then link? That would work, but the problem is that when main storage is limited all of the apps may not install. That's the reason for link2sd. I don't know why my attempt to back up the linked folder using the app was such a disaster. If there is a simple reliable way to back up the linked folder data it would be great. I also don't know why I can't re-link: maybe because I'm using a different rom?
[Android Apps and Games] martyfender:
[MENTION=6726362]vickybonick[/MENTION] In my on going effort to solve my partitions being unmounted after doze when the charger was unplugged. I may have stumbled on a solution. The game is moved to the second partition: /data/sdext2/ and the internal sd at /storage/emulated/0/Android/obb/. I first tried changing /data/sdext2/ from owner system, group system, to owner root, group root recursive and noticed that apps2sd reverted that setting.

I then tried changing on the internal sd: /Android/obb/ from owner root group 1028 sdcard_r to owner root, group 9997 everybody, recursive. I am not 100% certain it was 1028 sdcard_r previously, but that is what it is on my older, Ares 8 with Android 5.1.1

The ares 8A with Android 6.0.1 may have been: owner root group 1015 sdcard_rw.

The internal: is owner root group 1015 sdcard_rw.

It has been over 48hrs and the partitions have been mounted after wakeup. I have not rebooted during that time. In the process I was trying your different mount methods and unfortunately don't remember if I last used advanced, which I have had the best luck with, or the normal method. Is there a way to determine the last one I used by reading the script files created? I guess I should now reboot and see if the partitions remain mounted after doze, to confirm. I also updated to SuperSU v2.82 SR2, but I don't believe that had anything to do with mounts working.

Do you have any thoughts on this in regards to permissions set?

Well, after reboot, it did not last, unfortunately.

Thanks
[Android Apps and Games] 1emrys1:
I have been using this app from the last few months. Loved the functionality so bought the pro version. Worked without a hitch.

Recently I changed my rom. Installed the app again and this time I haven't set up anything on the second partition yet. Mount script is properly created but I'm yet to move anything. I'm only using folder mount to mount whstapp, hike and pictures folder to external SD. That is working properly too.

But every few minutes I keep getting a toast saying superuser permission had been granted to apps2sd. It's really irritating. I'm not even doing anything related to the app. Opening and closing YouTube, clearing recent tasks or other stuff. Then why is this happening? In my previous rom I had folder mounts too and there I didn't constantly used to to get this toast. Help please. I don't want to completely mute the apps notification.
[Android Apps and Games] DaringD:
I'm a long time Link2SD user and bought (and switched to) Apps2SD a few days ago cause of the functionallity build in. (to get rid of fstrim, Folder Mount etc) Despite a few problems I had, (like Apps not working anymore eG Whatsapp always wanna restore a chat backup, Player Pros DSP Package always done a force close etc) everythings working fine. With a reinstall of them I solved most problems, even if I don't understand the background causing this Probs.

Before switching to Apps2SD I moved back all obb and ext data to it's original place and performed an unbind. Then disabled Link2SD, installed Apps2SD, recreated mountscript and done a reboot.

Now I want to rebind the obb and ext data folders to the second partition. My System (Android 4.1) automatically pushes Obb and ext data folder to the SD Card (1st partition of course) instead to the internal SD.

Edit: The FolderMount App Analizer only scans the emulated/internal Storage for obb and ext data. So it is of no help for me.

So do I have to use Folder Mount to bind obb and ext data from 1st to 2nd partition?

There is no button to bind em within the app details of the Link apps to SD card section. (Is there a bind button when the obb is residing on the internal SD??) Just asking cause you wrote in the changelog that binding from 1st to second partition is possible now. Would make sense to find a button in the linking details of an app. (Like it is in the Link2SD App)

btw ... I have a lot of apps to manage ... most of em partially linked. So it's difficult to see what part of an app is linked or not without going to the app details page. In Link2SD you could see that easily cause the linked parts are marked. For example apk--->6MB, dex--->2.5MB, data 3.1MB, cache 4.5MB

Feature request/suggestions (Would be nice to make this possible in the future) :

1. A marker like "--->" in the apps overview to be able to see what is linked or not without going to app details

2. A bind button in the link/unlink section of an app to move obb and ext data from the 1st to the 2nd partition of the SD card

Edit: 3. Let the Folder Mount App Analyzer also scan the first partition of the SD for obb and ext data.

Bugs:

I use English for app2sd. My mobile system language is German. When I turn my mobile from portrait to landscape the language switches to German. When I open the settings English is still activated but displays the German translation. To go back to English I have to rechoose English again.

btw ... just started contributing to your translation projekt. :)

Thanks for a very ambitioned and usefull app!
[Android Apps and Games] vickybonick:
Everything looks fine. If you are still facing issue then create mount script using Advance method
[Android Apps and Games] vickybonick:
Apps2SD already handles /data/user/0 folder. Can you attach output of below command. Apps2SD doesn't support multi user and there is no plan to support it.

ls -lZ /data/user/0
[Android Apps and Games] vickybonick:
What location did you use while creating backup? Search files with .appk extension to find the backup. What version of Apps2SD you're using the error seems from a very old version. Use gparted or Mini tools to create the partitions then create mount script
[Android Apps and Games] vickybonick:
Did you create 2 partitions? what is the error?
[Android Apps and Games] vickybonick:
How do you determine the mount is not working? Apps can't access files because mounts were actually available in your logs? Also I'm not sure why permission would affect it because zygote can access folders with 1023 uid
[Android Apps and Games] vickybonick:
If you're only using Folder Mount function then disable the Apps2SD service in settings (Check "Stop Apps2SD service")
[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