yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] RootedLee:
[SOLVED with XPosed Module]: Apps2SD Folder Mount USB MTP bug

fubo73 YIPPIE, found something that seems to work 100% for what we want without USB MTP issues:

[Xposed][MODULE][4.0+] XInternalSD Xposed General - XDA Forums

tested with WhatsApp. Even immediate automatic mount after reboot works.

WOUUUUW :highfive:

PS: I also returned back to SuperSU system root (away from Magisk) ....
[Android Apps and Games] fubo73:
I think that that module does not create mount points for folders from SD. Instead, it traps accesses from apps to internal SD and redirect them to external SD. So no mount points are created (use df from a shell to check) and MTP works ok.

But we're going OT here.
[Android Apps and Games] paed808:
Still works in Lineage OS 15 unofficial build (Android Oreo) with Magisk 14! Thanks.
[Android Apps and Games] RootedLee:
yes, I agree about how pyler's tool works. He explains it here.

Whichever code & technology does the job w/o side effects is the tool of my choice, regardless of how it works internally :angel:
[Android Apps and Games] vickybonick:
I don't see any binds in the report. Can you link any obb, reboot then send the report again
[Android Apps and Games] Infy_AsiX:
Looking through /data/app/ there are some other apps with the same duplicate folders with a differentiating -digit suffix.

Also a couple of uninstalled apps with the same issue present. In their case they don't have their app icon shown in the folder view on old Root Browser since their missing their .apk so are easy to spot. Though in my case preloaded Sony software I found lacks their app icon on their folders too for some other reason.

App2SD's Broken app cleaner doesn't detect and remove any of these folders or odex files when I selected the dex option. I forgot to try the Apk and Lib option as they didn't actually physically exist except their links so if they got removed but not the odex file that wouldn't help anyway. I had tried Delete broken links and Remove invalid binds previously before but that had no effect on the issue.

I just went ahead and manually deleted all the duplicates, less than two dozen. One particular app Google Docs Editor had an apk in both folders. I used A2SD to determine which was active and deleted the inactive folder, testing after reboot shows it crashes upon opening. Reinstalling it from Play Store has it working again without the duplicate folder. The other apps still work fine it seems.

I guess these duplicates are apps that didn't get removed properly after updating or uninstalling for some reason. It'd be a nice feature to be able to clean up but at least it's not too difficult to do manually occasionally. Just another Android quirk to deal with.
[Android Apps and Games] vickybonick:
unzip the attached binary and copy it to below directory, remount the pair then send the report again

/data/data/in.co.pricealert.apps2sd.pro/app_binary
[Android Apps and Games] der_Kief:
still doesnt work ....

Report sent
[Android Apps and Games] vickybonick:
try this one and follow same steps
[Android Apps and Games] vickybonick:
Which magisk modules do you use?
[Android Apps and Games] der_Kief:
still not working.

now i cannot see content of mounted folder anymore although it says mounted

Report sent
[Android Apps and Games] vickybonick:
Changelog

Version 5.0 - 2015-11-01

• Added dark theme

• Added Turkish language

• Faster load time

• Task manager

• App manager. Enable/disable app components like services, receivers etc

• App hibernation

• Script manager. Create script and run using shortcut from home

• Throttle cpu frequency on boot, screen off

• Added Logcat. View, clear, save, share logcat

• Added SDFix

• Added new features in Folder Mount

• Many bug fixes

• Added new settings to enable disable some features

• Added option to set install location
[Android Apps and Games] Dark-Coder:
New Update is Worst , App become More Slow and Unresponsive... it took like 10 Min to Just create a Mount Script , Taking upto 5min to Display Apps List... it's really Annoying... :mad:

(And a Question , from where i can Download Old APK of this app ) ??
[Android Apps and Games] vickybonick:
Did it happen the first time or is it happening all the time? Can you reboot and try again. If the response time is still high then i'll send the old apk to you
[Android Apps and Games] Dark-Coder:
Restarted Many Time , Same Issue.. Also Taking Too Much Time To Bind Folders (After Boot) Too....
[Android Apps and Games] vickybonick:
No one else has reported any slowness. I'll send you the old version then.
[Android Apps and Games] pollazht:
Hi,

1) Could you explain a bit further what the "set install location" does ?

2) How can l access the menu with the new features (task manager etc). I enabled only Apps2SD and I can't access the other features.

Thanks in advance.
[Android Apps and Games] vickybonick:
1) It installs any app to the selected location if the app supports it. For e.g if an app supports installation on sd card and install location set to internal, the app will be installed in internal, you have to manually move it to sd card but if you set the install location to external, the app will be installed in sd card and you don't have to do anything.

2) When you select a feature it becomes the default feature. You can just hit back and access other features/make other defaults. If you don't want to set a default feature then deselect the selected feature. After that whenever you open Apps2SD you'll get the main screen
[Android Apps and Games] adityaverma0016:
again force close on start up in s3 neo.Works fine for few minutes.
[Android Apps and Games] zoeyspears:
Good app! Congratulations!
[Android Apps and Games] keysikasuy:
Thanks for the update.only problem is when viber and twitter media files are missing.

Example twiiter

Wheb I browse at the feeds the user photo is there but the posted photo cant be seen.

On viber I can't send photos. Viber is crashing when adding photos.

Tried to unlink and link fikes but same problem even I reinstall them
[Android Apps and Games] vickybonick:
Report the error to google and send me the logcat after the crash
[Android Apps and Games] vickybonick:
All the functionalities are generic, they are not specific to any app so if any app is not working please don't link it. Still send me the logcat i'll take a look. Now logcat can be sent from within the app
[Android Apps and Games] keysikasuy:
Where can I send the logcat.txt?

Initially way way before viber and twitter shows images and viber can send photos. But when I used the app2sd app and linked them that issue came. I had reformated the phone and the sd card is new but the issue is still there sir. Those apps are unlinked now :) I tried to find all the related files of twitter and viber and deleted them before reinstalling but no chance. Hope you can help me
[Android Apps and Games] Dark-Coder:
Don't Know Why No One Else Reported These Issues..

Here See this Video, Taking Too Much time on only Creating Mount Script , before updatet, only took less than 2sec to create mount script..

http://www.fileconvoy.com/dfl.php?id=ge0af654e55d7cf62999743659e1c5277984877118
[Android Apps and Games] NeoCortexGames:
this app save me))) thx
[Android Apps and Games] vickybonick:
You can send the logcat from within Apps2SD. in home page there is an option Logcat, click it. Then in Logcat page there is a menu share.
[Android Apps and Games] vickybonick:
Well the mount script didn't have any change. It might be related to your device.
[Android Apps and Games] Dark-Coder:
before Update everything is fine , but after update app Become worse and useless , taking hell of time on Loading and linking etc...

Before update app is fine , after update app become worse so how this can be Related to my device issue... :confused:

i Think instead of adding new features you should focus on bugs and performance related issue... Tested this app on Samsung J7 and J5 , and app is lagging as usual...
[Android Apps and Games] vickybonick:
I'll see what can be done. Btw how many apps you have installed. Maybe that is the issue with new algorithm. Also try to recreate the mount script after the apps are loaded in the list and let me know if it is better. Doing multiple actions increases the response time.
[Android Apps and Games] vickybonick:
Try this
[Android Apps and Games] der_Kief:
still not working.

Mounted folder is still not showing content anymore

Report sent
[Android Apps and Games] vickybonick:
Not sure it's fixable
[Android Apps and Games] der_Kief:
hmmm ... that would be uncool

Whtas the problem ?
[Android Apps and Games] vickybonick:
That's the problem, I'm not sure what is the problem. Mount looks fine

Delete the file /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd

Remount the pair

Capture logcat after the error and attach
[Android Apps and Games] der_Kief:
voila
[Android Apps and Games] noobhero:
[MENTION=6726362]vickybonick[/MENTION], how do i make it work for usb drive attached to the shield tv instead?
[Android Apps and Games] vickybonick:
Logcat is empty
[Android Apps and Games] vickybonick:
Set the device block path using Use custom dev block option and SD card path using Set external SD card option in settings
[Android Apps and Games] der_Kief:
i dont know why ... but logcat isnt written. Doesnt matter if i use app2sd inbuilt logcat or logcat app.
[Android Apps and Games] vickybonick:
try adb
[Android Apps and Games] vickybonick:
If you don't care about system modification then apply the SDFix in the app, reboot and see if it fixes the issue
[Android Apps and Games] der_Kief:
After reboot IT May work

Hope thus ist usefull now ...
[Android Apps and Games] vickybonick:
Is it after the access denied error? what is the package name of the app
[Android Apps and Games] der_Kief:
Any what package do you mean ?

No ... i think it was just after mount folder ....
[Android Apps and Games] vickybonick:
The app which gives you the access denied error
[Android Apps and Games] der_Kief:
Solid Explorer
[Android Apps and Games] vickybonick:
Attach error screenshot. Also attach logcat
[Android Apps and Games] der_Kief:
Screenshot attached ...

No logcat as after reboot it's stops logging again.

Sdfix is not an option for me.
[Android Apps and Games] der_Kief:
i Found following errors in dmesg.log. Maybe they are relevant.

The part with invalid options.....

66.682434s][pid:5388,cpu4,apps2sd]sdcardfs: dev_name -> /mnt/media_rw/F11E-AF90/Foldermount/.DCIM
[ 66.682434s][pid:5388,cpu4,apps2sd]sdcardfs: options -> fsuid=1023,fsgid=1023,gid=9997,mask=0006
[ 66.682464s][pid:5388,cpu4,apps2sd]Unrecognized mount option "fsuid=1023" or missing value
[ 66.682464s][pid:5388,cpu4,apps2sd]sdcardfs: invalid options or out of memory
[ 66.682617s][pid:5388,cpu4,apps2sd]sdcardfs: version 2.1.3
[ 66.682617s][pid:5388,cpu4,apps2sd]sdcardfs: dev_name -> /mnt/media_rw/F11E-AF90/Foldermount/.DCIM
[ 66.682617s][pid:5388,cpu4,apps2sd]sdcardfs: options -> low_uid=1023,low_gid=1023,gid=9997,mask=0006
[ 66.682647s][pid:5388,cpu4,apps2sd]Unrecognized mount option "low_uid=1023" or missing value
[ 66.682647s][pid:5388,cpu4,apps2sd]sdcardfs: invalid options or out of memory
[ 66.682769s][pid:5388,cpu4,apps2sd]sdcardfs: version 2.1.3
[ 66.682769s][pid:5388,cpu4,apps2sd]sdcardfs: dev_name -> /mnt/media_rw/F11E-AF90/Foldermount/.DCIM
[ 66.682769s][pid:5388,cpu4,apps2sd]sdcardfs: options -> uid=1023,gid=1023,wgid=9997,mgid=9997,mask=0006
[ 66.682830s][pid:5388,cpu4,apps2sd]sdcardfs: mounted on top of /mnt/media_rw/F11E-AF90/Foldermount/.DCIM type exfat
[ 66.683929s][pid:5388,cpu4,apps2sd]sdcardfs: version 2.1.3
[ 66.683959s][pid:5388,cpu4,apps2sd]sdcardfs: dev_name -> /mnt/media_rw/F11E-AF90/Foldermount/.DCIM
[ 66.683959s][pid:5388,cpu4,apps2sd]sdcardfs: options -> uid=1023,gid=1023,wgid=9997,mgid=9997,mask=0027
[ 66.683990s][pid:5388,cpu4,apps2sd]sdcardfs: mounted on top of /mnt/media_rw/F11E-AF90/Foldermount/.DCIM type exfat
[ 66.684906s][pid:5388,cpu4,apps2sd]sdcardfs: version 2.1.3
[ 66.684936s][pid:5388,cpu4,apps2sd]sdcardfs: dev_name -> /mnt/media_rw/F11E-AF90/Foldermount/.DCIM
[ 66.684936s][pid:5388,cpu4,apps2sd]sdcardfs: options -> uid=1023,gid=1023,wgid=9997,mgid=9997,mask=0007
[ 66.684997s][pid:5388,cpu4,apps2sd]sdcardfs: mounted on top of /mnt/media_rw/F11E-AF90/Foldermount/.DCIM type exfat
[Android Apps and Games] vickybonick:
It's fine. I'll send you an email soon it'll be faster to communicate
[Android Apps and Games] noobhero:
Thank u sir, ill try
[Android Apps and Games] der_Kief:
I just replied .....
[Android Apps and Games] 5mohsen5:
Recently, when I link an app to memory card, it constantly crashes.

And after my phone is restarted, the app that was transferred to the memory card is deleted.
[Android Apps and Games] cukiyoko:
My apologies - I unlinked everything because I couldn't play any of the games when they were linked.

I've resent the report (twice, sorry! I forgot to reboot), please let me know if you need any other info.

Attached also are two screenshots showing the before and after linking, note the obb size.
[Android Apps and Games] vickybonick:
Everything looks good. Can you capture the logcat after the app/game shows the error
[Android Apps and Games] vickybonick:
Post device details and capture logcat after the crash and attach
[Android Apps and Games] crankiro97:
Basically, all the modules that I uses won't work..
[Android Apps and Games] 5mohsen5:
samsung galaxy j2 ( SM-J200F)

android 5.1.1

I think this problem was created after the installation of google play services for instant apps.

for exam i want to link terrarium tv app.

---------- Post added at 05:52 AM ---------- Previous post was at 05:43 AM ----------

I've been using this app for almost a year. But has recently been unusable.
[Android Apps and Games] vickybonick:
I tried viper and emojione and both worked fine. Perhaps ask topjohnwu about this. Apps2SD runs a non blocking script using post-fs-data.d
[Android Apps and Games] vickybonick:
Attach the logcat
[Android Apps and Games] cukiyoko:
Thank you vickybonick - after you said it looks good, I had another try and discovered that if I restart after linking the obbs, the games work! Yay! However, the app still shows an incorrect obb size - is that normal?

See the attached screencaps, how the unlinked app has a 1GB obb and the linked one has a 4.00kb obb.

This discrepancy and the fact that the games crashed and storage didn't change (until I realised I needed to restart after linking before the apps worked/storage updated) made me think the linking hadn't worked properly and brought me here to seek your help.

Should I be worried about the difference in obb size report?
[Android Apps and Games] Cloud-Strife7777:
Hi there

I have recently upgraded my Samsung Galaxy S4 to Lineage Os 14.1, (android 7.1.2) I have rooted the phone with Magisk v14.0, I've installed Universal int.d and beyond that there are no other customization.

Apps2sd does seem to correctly detect root and will format the partitions but I am unable to create a mount script, any time I try no matter what settings I chose about 3 seconds later the phone reboots.

also the android operating system checks my sd card every time I boot, with the following message " Preparing Samsung SD card Checking for errors" which will last for several minutes and during which time the card seems to be unavailable causing apps2sd to hang on on "scanning" when opened.

any idea as to why this is happening or how to get around this ?
[Android Apps and Games] 5mohsen5:
HI

I'm sorry for mistake report

My memory card seems to have been damaged.
[Android Apps and Games] Infy_AsiX:
I needed to resize increase my sdext2 partition and decided to do a full format. I manually backed up a copy of /data/sdext/ contents which I restored to sdext2 and have successfully recreated the mount script in A2SD also requiring use of the 2nd partition permissions fix. The /apk and /app-lib have relinked properly but any /data links in sdext2 was not relinked and those apps are as if freshly installed.

Is there a reason why the previous links for /data weren't recreated? I suppose if I used the included backup, restore function there is a fix included in there? Last time I tried the backup function some content was not included so that's why I prefer a manual backup copy. Anyway the /data wasn't lost and is still in it's sdext location so I guess i'll just manually copy it all back to internal and then relink it back out. I know from previous experience that simply running relink will link the fresh internal data and overwrite the old copy resulting in the data loss.

I didn't have many apps with their /data linked so it's not too difficult but in the case where there is it would be fairly inconvenient.
[Android Apps and Games] Android_noob17:
Everything is working now with magisk 14. Sorry for not responding in timely fashion.
[Android Apps and Games] vickybonick:
Use the Restore apps sdext2 option in Link apps window
[Android Apps and Games] vickybonick:
Good:good:
[Android Apps and Games] vickybonick:
Ok
[Android Apps and Games] vickybonick:
It should show the correct size. I'll take look, I'll ping you if i need any info
[Android Apps and Games] vickybonick:
Goto Error report, set your email, send device info from menu option and pm me your email id
[Android Apps and Games] quadcore003:
Hey buddy ..

Thank you for this awesome app it helped me a lot ..and all because of you ?

But i had an issue with google play store ..

Everytime i try to download an app or game from google play store,the app don't install after finishing the download ..it just keep downloading and downloading the same app ...so what i have to do if you know ?!
[Android Apps and Games] vickybonick:
Use the Broken app cleaner to remove leftover files, reboot and try again. Also set the Install location to internal
[Android Apps and Games] crankiro97:
Ok, it's all working fine now with magisk 14.0. Thanks for the amazing work on Apps2SD.
[Android Apps and Games] vickybonick:
Cool
[Android Apps and Games] crankiro97:
I updated my rom and it's now showing this??
[Android Apps and Games] vickybonick:
Reflash Magisk
[Android Apps and Games] Bob1900:
Hi. Thanks for creating this app. It has worked well for about eight months now, but today, suddenly many of my apps stopped working. Can you recommend a way to find out what's wrong and fix it?

UPDATE: It started working again. I don't know why the linked apps stopped working for a while, but I assume that it might be connected to some tinkering with USB debugging mode. I had to revoke permission and re-activate it repeatedly for some time a couple of days ago, while working on some other things. Today, when linking stopped working, I reactivated USB debugging, and then recreated mount script. After rebooting a few times, the linked apps started working, but I don't know if it had anything to do with that, or if the reasons was unrelated to this.
[Android Apps and Games] stan210:
Hi,

does anyone knows how to unmount the mounted folders with a script (Marshmallow)? I tried umount /path to folder, which doesn’t work.
[Android Apps and Games] 123xdagsm:
Hi

my phone is lg k10 and encrypted sdcard i create second partition ext4 and linked but not data encrypted in the ext4

how to secund partition encrypted(ext4)?

#sorry for my bad english
[Android Apps and Games] vickybonick:
Encryption is not supported
[Android Apps and Games] 123xdagsm:
Can the future be supported? Or not possible
[Android Apps and Games] vickybonick:
No it's not possible
[Android Apps and Games] KazDeth:
Apps2SD Compatibility with SM-T350 and Marshmallow

When will Apps2SD be fixed to fully work with Marshmallow and SM-T350.

It still will not fully link Apps. The Data folder cannot be moved to the EXT4 partition without breaking the app.

To be clear, I am not talking about the external data, that moves just fine.

root/data/user/0/[app folder] can be moved but the app stops functioning.
[Android Apps and Games] vickybonick:
It already does. Capture logcat after the crash and attach
[Android Apps and Games] huhiha:
a forum of how to use Apps2SD is needed !

It's really hard to understand some of the terms used in the app. Lots of things needs explanation, and I think a forum would be very helpful. If I post here, other people can't see and help, or discuss.

In my case, I just want to move some of my apps to SD card. I have followed the instructions on the video and successfully created a 2nd partition. After that, I go into "Link apps to SD card". But now I don't know whether to "Link/Unlink" or "move to SD". When I choose "Link/Unlink", you tell me that it may not work with 64bit device(you mean CPU I guess?), and ask me to do it if

I am sure

it will work. How do I know whether it will work? Then when I choose "move to SD", it says "does not support native App2SD" and failed with error "INSTALL_FAILED_INSUFFICIENT_STORAGE". Well, of course my device does not support native App2SD. That's why I am using your app Apps2SD!

OK, I've typed a lot, but I don't expect that my problem will be solved easily. If there were a forum about Apps2SD, and possibly some tutorials on it, I would expect otherwise. Your faq site says that you welcome tutotials, but you don't even have a place to publish one. Some foundamental knowledge is really helpful, for example, what kind of app supports native add2sd and what doesn't. If you're too lazy to provide it on your site, you could let us users provide it on a forum. Or at least you should provide links to related articles. Your app is good I guess, but it is severely lacking explanation and tutorial.

If you are not tired of reading my reply, I could tell you more about my confusion. You don't need to response on something specifically, since I'll probably go on googling. Just giving more information or some general advise would be appreciated. So much effort as I've made to figure out how to use this app, I think it's fair to complaint now. Or you could regard it as suggestion or communication.
[Android Apps and Games] vickybonick:
Some ROMs support native APP2SD but is hidden. Apps2SD can force move apps to sd card if it is supported but hidden. The 64 bit error is regarding lib files, On 64 bit devices (cpu architecture) if lib of an app is 32 bit it'll crash after reboot if linked (That's my observation, may or may not be applicable to other ROMs so I provided an option in settings to allow lib linking for those apps)

A forum seems like a good idea. I'll work on it on my free time. Anyone interested to be a moderator please PM me
[Android Apps and Games] E_Ben:
Vicky, you are so patient ;)

Thanks for your great app and for your excellent support!
[Android Apps and Games] jhagrid77:
Hello, I am curious about one module of your app. The Fix Device Lag module to be exact. I understand that it's suppose to "fix" the lag of the device, however what EXACTLY does it do? For example, will it harm my device or delete anything from it?
[Android Apps and Games] vickybonick:
It uses fstrim. You can Google it
[Android Apps and Games] stan210:
Hi,

I have mounted a folder to /data/data/my folder. When I type in Terminal Emulator (part of Apps2sd) umount -f /data/data/my folder. Nothing happens. But when I use the same command in Script Manager (also part of Apps2sd), the folder gets unmounted.

Can anyone tell me why the command only works with Script Manager?

My phone: Android Marshmallow.
[Android Apps and Games] vickybonick:
Instead of running su run su -mm then run umount
[Android Apps and Games] vickybonick:
There's lot of questions in the post. I'll try to answer them when I get some free time
[Android Apps and Games] stan210:
Hi vickybonick, thank you for your help! It works :)
[Android Apps and Games] martyfender:
did you click on the app it'self, on the app line to bring up the pie chart and link it there? that is the way I link them, hitting the blue, link/unlink button, not on the menu on the right.