yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Fareastver:
linked files gone from the device?

So basically what happen was my obbs are gone from my device obb folder after I'm cleaning the cache or the device running for awhile. The problem is the games that I play only works when there is still a data on the device folder, but for some reason this only happen randomly, and most of the time after the device reboot the linked files are gone again from the obb after auto-bind and the device running for awhile/I cleared the cache. (but still linked and the files are still on 2nd partition).

So I wonder if there is a way to always make a "shadow copy" of the files stayed on the device folder?
[Android Apps and Games] dictorclef:
After a soft reboot? There's no issues starting linked apps. Only when I hard reboot do I face any issues, the apps just won't appear.
[Android Apps and Games] Child's Play:
Check your 2nd partition to see if sda2 switches to sdb2 when you do a soft and hard reboot using "blkid" command
[Android Apps and Games] dictorclef:
If that was the issue I wouldn't be able to access the drive mounted on /data/sdext2, as my script mounts sda2 there. I don't have to remount anything after either a hard or a soft reboot and can still access my drive through /data/sdext2, so this isn't what's causing my issues.
[Android Apps and Games] xdaprogramm:
Can someone guide me to do this right because it creates some App2SD folders and nothing is linked. What is the most direct and easy way to do it? I need to link a folder from external sd card to download folder on internal memory, as another app can only see the 'Download' folder

I need like

bind /mnt/media_rw/MD6H-KDY5/My\ Folder /mnt/runtime/write/emulated/0/download

or whichever path to these two folders My Folder on external sd and Download on internal. I set source and dest, it created some mnt/ folder among the rest folders on sdcard/ and storage/ dont and nothing is bound.

with bindfs it works and you even see external sd folder instead of download when browsing download folder... but bind is lost if phone locks screen etc

So gimme exact command line plz so that I can make apps see the content of the External SD with the Download folder - it creates its own App2SD folders, i dont need it, like dont do any real move files from memory to external sd, just link to see external as download.

and what time he is finich!
[Android Apps and Games] Child's Play:
But did you verify that? When my sdb2 is mounted at /data/sdext2, it becomes sdc2 when I do a soft reboot and /data/sdext2 is still mounted. It's what causes the issue. I wanted to make sure you didn't experience the same issue as mine. If it's still sda2 after a soft reboot, then you can try a custom kernel to get f2fs access and maybe it will fix your issue. Check post #7 in the link https://xdaforums.com/fire-tv/help/how-to-convert-external-storage-to-t3995239
[Android Apps and Games] dictorclef:
I was wrong about not trusting apps2sd for mounting my hard drive on sdext2.

What I ended up doing is deleting my custom script, pointing apps2sd to my service.d folder, then to SDA2, recreated the mount scripts and everything works fine after hard reboot now. I now think about making a video tutorial about it, so others can follow it to expand their storage for apps.
[Android Apps and Games] Saro43:
I too had the same problem. I found it at /data/adb/post-fs-data.d and entered the path, and could proceed with the su.d option. Only thing is it gave a message saying, 'It would alter System partition', or else I could check 'Ignore systemless root' in Settings. I went to Settings and checked it, and then proceeded and it could create the Mount Script.
[Android Apps and Games] xdaprogramm:
I get some grey android icon shortcut on the apps window that when I tap goes thru Google Play and goes to this App2SD on google play . How is this app working that after I uninstall it some ghost icon of it appears among the other apps
[Android Apps and Games] Fareastver:
Stuck on bootloop after creating mountscript by su.d

So I tried to recreate the mount script by su.d, which the directory is set as /data/adb/post-fs-data.d/service.d, but now my phone is stuck on bootloop. any way to fix this?

Edit: Nevermind, I found that I can just delete the mount script in the recovery to fix it
[Android Apps and Games] williamacker77:
Hi Vicky , I love your app , bought the pro version. I have used it before with success. But this time I had a problem partitioning my SD card. I saw that it can be done from recovery , have not attempted that yet. I used aparted. And successfully partitioned my SD into fat32 and ext4. But I am unable to link apps 2 SD. Using Havoc 10.3 on a note 4 with Magisk. Thanks for all your work.
[Android Apps and Games] markintoshplus:
i think it turns out that some data of the apps that are linked to sd card are still on the internal. when i tried to move back a 2gb game from sd to internal with 1.5gb remaining my internal goes 100% full and some apps starts to error, even though almost all of my apps are linked to sd except a 1gb game and like 4 small apps (my internal storage is 16gb).

---------- Post added at 05:00 PM ---------- Previous post was at 04:58 PM ----------

Does putting games on SD card decrease the performance of those games?
[Android Apps and Games] xdaprogramm:
I had a fight engine run via Exagear, at first its resolution 1280x720 was making my 2013 phone have low frames in the game and choppy. But I could decrease the game video res to half of that like 640x360 because on my smaller phone screen that is still ok and performance doubled if not tripled, I could actually play almost like on PC. Then I bindfs the external SD card where the game is located, while Exagear is on the internal, and the performance is exactly the same - it was also the same when I had to put my game on Internal mem (as binding didnt work for me at first) or external, it was still choppy until it improved thx to my modified video res settings not because it is on the sd card. Whether you bindfs or use this app to bind, performance should be the same.
[Android Apps and Games] oppala07:
app2sd with magisk on sm-t280

I'm trying to make a partition on my SD card to install apps on it.

I already tried to use this app to put some apps on sd card but it bricked my tablet.

now one week later, I've take some time again, re-rooted, re installed everything, so I'm giving it a try again.

I rooted the device with TWRP + Magisk.

now I have some information from [MENTION=6726362]vickybonick[/MENTION] that I should format it on fat32 1st and ext4 2nd.

BUT the thing is about the mount script. I've been told that I should set su.d and set the su.d path in settings.

should it be on settings of app2sd or magisk?

and wich folder should i set as su.d path?

thankyou and sorry for my disinformation
[Android Apps and Games] E_Ben:
Hi,

using magisk on my Samsung S5 (klteduos), the apps2sd mount script is not executed as expected. I am trying to link a folder from the internal SD card to the external. I have tried both with having the su.d path set to either /data/adb/post-fs-data.d or /data/adb/service.d, both without success.

Lines 2 and 3 of the apps2sd-mount-script.log (I will attach it in the next message) indicate a problem with a block not found, but I don't know how to resolve the issue. Any help is appreciated.

ROM: [9.0][OFFICIAL]Resurrection Remix v7.0.2 [klte]

Magisk 20.4
[Android Apps and Games] E_Ben:
Here is the log file
[Android Apps and Games] pfavayi:
In what directory is it located ?
[Android Apps and Games] pfavayi:
I use folder mount for this.

Look at screenshot for some idea of how to do it
[Android Apps and Games] xdaprogramm:
Thanks this will be useful for others, for now I used bindfs to make it work, it is all in the namespace mount has to be correct, regardless of the bind tool one uses.
[Android Apps and Games] Fareastver:
In the directory that I wrote above
[Android Apps and Games] Riki Irawan:
Hi [MENTION=6726362]vickybonick[/MENTION]

Apps2SD Pro is failed to mount foldermount during boot with battery saver activated... Using Android 10...

I know it can be done with excluding from battery optimization, but I don't want the task service always be running in background.

And I know there is "Stop Apps2SD Service" checkbox, but the service is stopped before all my foldermount is done to mounted during boot..

Please update and fix.. This app is really needed for low internal storage devices like mine...
[Android Apps and Games] Sahil Ovhal:
sd card 2nd partition lost

i want to restore my lost space on my sd card

app2sd says 2nd partition not mounted

while mountind i get error

!!!! !!!!

mount : mounting/dev/block/vold/public:179,66 on /data/sdext2 failed: input / output error

pls help

i have been trying to recover it but nothing worked till now
[Android Apps and Games] vulcanrvn:
Update partial link

"I hope Autolinking will be able to link all the files also relinking after update has a bug. I need to relink manually again the app after updates. I also noticed that after updating apps then go to sdext2 in data,the apk files are duplicated which adds up on the memory. Can it be deleted automatically after app updates?"

I have this problem, after an update I have relink all my updated apps because they will only be partially linked. Also this creates duplicates which is a pain to manually remove. Is there anyway to create a script that automatically relink partially linked apps?

Thanks
[Android Apps and Games] Legendary Cryptid:
I have a mount script created, with the path to the SD card being /data/adb/post-fs-data.d on Android Pie on my Mi A1. However, linking apps takes several minutes to do so both manually and automatically, even longer if linking external data. Is there any path or method to get things working fast again until an update for the app comes out?
[Android Apps and Games] wilsonhlacerda:
What I do with Android 9 (and I suggest to you) is to:

- have a 2nd partition that is bigger than you really need (for instance have 16GB if you plan to use 10GB)

- on Apps2SD settings turn on all the automatic relinks on boot available

- once in a while (every few days, once a week or so) manually enter apps2sd, filter by linked + partially linked, select all and choose to link everything. Then just after that:

- (on left menu) use the option to clean 2nd partition. This will free up the partition, deleting unused/old linked files, but preserving all current links.

---------- Post added at 11:55 PM ---------- Previous post was at 11:42 PM ----------

Unfortunately I'm not expecting any updates anymore. Even for core features fix / adapt to new Android / Magisk / Split Apks.

Although dev [MENTION=6726362]vickybonick[/MENTION] wrote here would do it two times during last year, seems after that long time that we will not get it.

It is a shame, because Apps2SD is really a fantastic app, more flexible and better than Link2SD and can't even compare to adoptable storage for instance, and almost the only alternative to help old devices survive with current Android / apps size (lot of people use good old 8GB/16GB devices with custom ROMs Android 8, 9, 10,....). Also help cheap TV boxes, that are currently sold on Aliexpress, marketplaces in general.

Besides Apps2SD, the Magisk module fbind is the only tool that can really help us nowadays. But it is for different approach. Apps2SD is unique nowadays on its core feature: link apps.
[Android Apps and Games] Legendary Cryptid:
If the code were available, it could at least be forked... Then that fork could be maintained and made to support Pie and beyond. I switched to App2SD after getting into Magisk and never looked back. On top of that, I had to jump to Pie in the first place because my phone started to go up while on Oreo... Several times across different reinstalls of AOSPExtended. Now on Pie, it only gets hot when charging, but even then, that dies down and it stays nice and cool. Really, locating the source code (or the dev making it open source (pipe dream really)) would really help out. The next step would be working on said code to make it support Pie and above...
[Android Apps and Games] wilsonhlacerda:
Well [MENTION=6726362]vickybonick[/MENTION] instead of killing the app or selling it to someone else once turned the paid Apps2SD PRO to be free, all features available to everyone. That is the latest app we get here in OP or Play Store. I myself have once paid for it, but I thank the dev for this movement.

Besides that Vicky was always listening, interacting with users here. Seems he/she also have a good support for his/her other current fantastic app: IDM+

Maybe he/she listen to that and fix some core features and/or open Apps2SD source code at Github or so as another step. Let's see.
[Android Apps and Games] Legendary Cryptid:
Oh, I've been in contact with Vicky before. Really nice, gave me help on how to get App2SD working again when I ran into trouble on Oreo, and generally really great. I'm crossing my fingers for at least one more update by the end of the year (a small light in the dark in the wake of events) that upgrades App2SD.
[Android Apps and Games] obbiex123:
help....apps2sd error unable to determined su.d path...

hi [MENTION=6726362]vickybonick[/MENTION]

i uses asus max pro m2 android 9 latest version

i attached microsd 64gb with 1st partion fat32 and 2nd partition ext4

apps2sd pro version 16

asus has been rooted by magisk 20.4

i've tried all script method like normal,init.d,and advanced,3 method give error 2nd partition not mounted and give an option for su/magisk method

when i try su/magisk method,error unable to determined su.d path

it suggest me to set the su.d/post-fs-data.d/service.d in settings

what is the full path of magisk su?

maybe u could help me please?
[Android Apps and Games] vickybonick:
I've been very busy with other work so an update is still far away. I'll think about making it open source. The code doesn't have any documentation and is quite messy since it was one of my first Android apps so maintenance will be very difficult
[Android Apps and Games] Legendary Cryptid:
Take your time, man. If cleanup is needed to make possible documentation to streamline mantainance, then again, take your time. I found a temporary workaround by setting the su.d path, though initial linking can take upwards of 7 minutes. Relinking is only a minute or so. Either way, I'm still willing to wait, man.
[Android Apps and Games] koyo:
Hey this has nothing to do with the post you just made but when you use Fix permission on 2nd partition, do you use this before linking apps or after? Do you need to remount for it to take effect? Do you need to recreate mount script?
[Android Apps and Games] vickybonick:
SDFix fixes permission for app uids so it has nothing to do with linking or mounting. On marshmallow+ there are two files one in system which needs to be updated once and 1 in data partition which needs to be updated everytime an app is installed or updated so create a schedule task for sdfix
[Android Apps and Games] koyo:
I don't mean the SDFix that gives write access to external storage. I mean Fix permission on 2nd partition that's supposed to fix linked apps that aren't working correctly
[Android Apps and Games] pfavayi:
With battery server activated Android will deactivate the application - so you can save your battery.

Then how do you expect the application to work when it's killed and it's no longer running in the background ?

And I know there is "Stop Apps2SD Service" checkbox, but the service is stopped before all my foldermount is done to mounted during boot..

There's nothing to fix. Android will kill the application irrigadless of what configuration you have inside the application. If battery optimization is not turned off the application will be killed by Android
[Android Apps and Games] Riki Irawan:
The "Stop Service" feature is too fast to stop after linking and binding while device boot so linking/binding process broken and not done.... I think it's need to wait around 3 minutes after linking/binding while device boot....

Btw it can also using start foreground service, so the service only running when needed...

start foreground service can be running even with battery saver activated or with including the app to battery optimization.... It's Android 10 limitation feature
[Android Apps and Games] x90125:
(deleted)

(deleted)
[Android Apps and Games] adoy.tech:
hi [MENTION=6726362]vickybonick[/MENTION]

I was using apps2sd and linked some of my apps to sd card including internal data. Recently the second partition somehow got currepted and all apps linked is gone(maybe the problem because i use greenify doing hibernate app and restart hp).

and then

i deleted the partition and re formated it. Now I can't install any of the apps previosly linked. It shows insufficient space error, but there is plenty of space in internal memory, sd card as well as sd card 2nd partition, and I can install any other apps. I tried change the app instal location to internal, and tried clean up option. It cleaned up dalvic cache of old linked apps, but it didn't work. What to do now?

please reply, i need help, thanks before
[Android Apps and Games] glitchbit:
So I am running the latest release here, tank-5.2.7.3-rooted_r1.zip for my FireTV Stick Gen 2 tank edition without much success on getting the 2nd partition mounted, it is formatted as ext4.

When it is mounted initially I can relocate apps to it just fine and it works, but the moment it reboots things fall apart (apps don't open) and I have tried every option available and variations even on the mount points, /dev/block/sda2 and /dev/block/vold:8,2 etc. I've set the custom path correctly to /dev/block/sda, I have changed various options under settings of the apps2sd app, turned on global name spaces in magisk v20.4 etc.

Something is broken and I am not entirely sure what, but what I do know is this, when it boots it is mounting sda2 properly but then I believe it is quickly doing a soft reboot and that is what leads to the mount points often changing under the magisk method to sdb and leads to breakage because according to the mount command the old sda2 is still what is being mounted - not the new sdb2 path.

I get it I think - it is trying to mount the apps location before anything else but something about the order of operations is not working as expected on the FireTV firmware I am on or the magisk app I am using. I am going to follow one suggestion I saw in here which is try a version of magisk prior to 19.3 as they started to have issues with it breaking on their firetv from that version onward. I will go back to 17.3 and see how that goes. I want to avoid SuperSU as it has its own issues (the app won't open for some odd reason).

If anyone has any suggestions I am all ears and ready to try just about anything.

Update:

I have gone through and reloaded from a backup a few times to try out different versions of Magisk.. 17.3, 18.1 and 19.2. I can confirm that all 3 of them fail to work with apps2sd while running on a FireTV gen 2 (tank). I also tried SuperSU and I enabled it to operate on boot and to use global namespaces. The results are the exact same as what I get under Magisk, it mounts but mounts to nothing. I feel like I am forced to give up on trying apps2sd any further unless some major developments or workarounds occur.
[Android Apps and Games] wilsonhlacerda:
The easiest way for you to solve the problem is with app SD Maid (I suggest buy the Pro).

Run it and use the corpse finder. Then the system cleaner. And then go to the app control menu and check the apps list....probably you will see some leftovers (they all will be tagged as "stopped")....use the delete option on them.

You can fine tune all cleaning on the several SD Maid settings menus.
[Android Apps and Games] nonsub:
Can this work with 10?

I am using EvolutionX4.6 on Samsung A320F, Magisk 20.4

I've tried pointing to /data/adb/service.d and also /data/adb/post-fs-data.d perms = 755

I get mount: mounting /dev/block/vold/public:179,33 on data/sdext2 failed device or resource busy

Thanks
[Android Apps and Games] adoy.tech:
thanks dude, solved.

i used SD maid pro ,then i use explorer menu in sd maid pro

i found corpse file in system directory :

/data/app/

i found file with icon ghost in there and delete it, thats work , now i can instal any apps:victory:

corpse file image attachmen : ibb.co/Db150ty
[Android Apps and Games] bakkarm:
Hello,

Thank you for your awesome application. I already have the Pro version.

My problem is that I couldn't mount any folder. Once I mount a folder, exit the Apps2SD and then run it again, I see the folder unmounted.

I have Galaxy S10+ , DTH7 firmware, rooted with latest Magisk canary version 21001

What is missing?

Please help me out

Thank you

Majed
[Android Apps and Games] pfavayi:
Make sure to Mount Read write as shown in the attachment.

And don't open apps2sd before mounting is completed.

Follow the recommended instructions for the rest of the process.
[Android Apps and Games] bakkarm:
I did that, still same problem

After Apps2SD moved files to external sd card, Once I close it and reopen it, I see the mounting is back to off
[Android Apps and Games] rodrigocp:
Found The same problem after updating magisk. Was working fine before

Tried every possible solution that I found and didn't work

Did a downgrade of magisk to 20.4 and its working again.
[Android Apps and Games] bakkarm:
I am afraid to downgrade

Apps2SD should upgrade

My Magisk is canary 21001

Any help guys?
[Android Apps and Games] mcknikker:
Galaxy s8+

I've LineageOS on my phone. Not very familiar with it so far. I try to send apps to my SD card. Although I'm having trouble to mount My SD card. I'm trying the init.d or su.d protocols. I've manually created the 2 partitions on my SD card. Any suggestions, does LineageOS support one of these?
[Android Apps and Games] AnonVendetta:
[MENTION=6726362]vickybonick[/MENTION]: Can you update Apps2SD to support the linking of split APKs to the 2nd partition? The base/main APK gets linked, but the split APKs don't. All the split apps I've tested still work fine.

Can you also consider adding multiuser support?
[Android Apps and Games] pfavayi:
The application was last updated on September 12th 2018.

The developer is not active on this application anymore.
[Android Apps and Games] Myers08129:
How to open apps that is hidden
[Android Apps and Games] culiacanazo:
All is well and all, but how exactly to do that if I'm little stuck on said step? How do i unstuck myself so i can go forward and fix it so i can return to where i would be stuck so that i free myself...
[Android Apps and Games] TheViciousGames:
I remember when this was really needed for 2011-2015 phones.Damn,good times
[Android Apps and Games] HJarausch:
Does Apps2SD work on Android 10. If yes, are there any restrictions?

Thanks for some hints, Helmut
[Android Apps and Games] pfavayi:
I use full amount on Android 10 with no problems...
[Android Apps and Games] pfavayi:
Did anyone succeed in making apps2D work in Android 11 ?