yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] sjamie:
I use an app that can only save data to internal memory. I created a foldermount to my SD card. App works well. If I need to unlink/unbind the folder, all of the data from the destination folder is copied to the internal folder even though I have the "delete source contents" options checked. How can I block data from being copied to the source/internal folder? I only want the internal folder to be a passthrough to the folder on my SD card.
[Android Apps and Games] vickybonick:
There is mount only and unmount only option. Long press the pair or click more icon
[Android Apps and Games] sjamie:
That was the missing key. Thank you!
[Android Apps and Games] vickybonick:
There are so many options even I don't know all of them :)
[Android Apps and Games] sjamie:
Any reason why the "delete source folder contents" options don't seem to actually delete anything?

Is there a fast way to restore all of my settings after clean flashing a ROM?
[Android Apps and Games] vickybonick:
Do an unmount only and check if it is deleted
[Android Apps and Games] sjamie:
Mounting and unmounting only provide exactly what I need. No files remain in the source even without selecting the delete source options.
[Android Apps and Games] mak18:
unlink

Hi,

Is there a way to unlink all apps, without using the app?

like if i uninstall the app, can i still undo the linking? or will i need to install the app, unlink, then uninstall?
[Android Apps and Games] vickybonick:
When you uninstall an app, Apps2SD deletes the linked files automatically. You can alsi do a multi select and uninstall all the linked apps in one go
[Android Apps and Games] mak18:
thanks, but I dont have the apps2sd installed now, and cant install it (dont ask why...)

so is there a way to undo the linking at this point?
[Android Apps and Games] vickybonick:
Use adb to uninstall all the apps. Android should follow the symlinks and delete them. You can delete obb and external data manually from SD card 1st and 2nd partition
[Android Apps and Games] mak18:
so there is no way to just move them back to internal memory? I would rather not uninstall them...
[Android Apps and Games] vickybonick:
It can be done by writing a script which moves the files/folders back
[Android Apps and Games] mak18:
that would be awesome! but how? I dont know programming
[Android Apps and Games] vickybonick:
I'll try to help but over the weekend only
[Android Apps and Games] sjamie:
What is the difference between linking an app to the SD card and moving an app to the SD card? Are they the same thing? After linking an app to the SD card, the resulting dialog box states, "Moved to SD card: Success!".
[Android Apps and Games] vickybonick:
Read the op.
[Android Apps and Games] vickybonick:
Apps2SD v7.3 attached to OP.
[Android Apps and Games] sjamie:
I did but I'm still not clear on the difference. Some times the terms seem to be interchangeable and other times not.
[Android Apps and Games] DeAd_PooL:
Hello ! First of All Your APP is Great..

Now i am having a Problem with SWAP MANAGER , i created a SWAP FILE in /data/sdext2 , swap created successfully and enabled , but when i restarts swap got disabled (and i have to again manually enable it), so it would be nice if you make some kind of init.d script (or something like that) and embed it in APP2SD App which auto enable All Swap Partitions/files on BooT (Or it Remembers which swap i disabled and which i enabled , so on boot it only Enabled Specific SWAP which already enabled before reboot ) ..

Hope you Look into this..

Thanks. :)
[Android Apps and Games] vickybonick:
It should work exactly like that. Maybe there is a possible bug, I'll have a look
[Android Apps and Games] DeAd_PooL:
And i forgot to Mention i think , i am using CM 12.1
[Android Apps and Games] sjamie:
I am very pleased with how well Apps2SD is working on my phone. What are the advantages of creating a swap file?
[Android Apps and Games] vickybonick:
I'll explain when I get some free time
[Android Apps and Games] sjamie:
Thanks, I would appreciate it!
[Android Apps and Games] fillippe:
Vicky, in your FAQs you link to an explanation of swap files. It suggests 4-5Gb files yet the max you allow in Apps2Sd is 1Gb. Is there a reason for this?
[Android Apps and Games] vickybonick:
That recommendation is for a PC. BTW you can enter 9999 MB for swap
[Android Apps and Games] vickybonick:
It has been fixed in version 7.4
[Android Apps and Games] fillippe:
Hi Vicky

I've just paid to go pro! However, I'm experiencing a problem. I opened pro version and hit to option to import free versions settings. I got a message to uninstall free first and did so. Then pro version closed with an android warning. So I uninstalled pro thinking I could reinstall it. Now play store is saying I haven't paid. Have you heard of this before.

I was having some trouble with Facebook, Facebook messenger and Dropbox apps failing before that, which I had solved by reinstalling via Apps2Sd.

---------- Post added at 06:11 PM ---------- Previous post was at 06:07 PM ----------

I just got a refund email, so I've paid again. All is well! I didn't intentionally ask for a refund.
[Android Apps and Games] vickybonick:
Ok. Latest Pro and Free version apk is attached to OP
[Android Apps and Games] lalitkhokhar:
Does it support partition of SD card on marshmallow

In marshmallow when I insert a partitioned SD card it shows your SD card is corrupted
[Android Apps and Games] vickybonick:
Yes it supports. MarshMallow shows a dummy message
[Android Apps and Games] ImranHameed:
Having a MAJOR trouble with my Qmobile NOIR i9

Hey there dear. I am a user of apps2sd. I have been using this app after getting disappointed from the link2sd. Well i am having a trouble that after a week or so all my linked apps disappear when i do a reboot on my phone. I have a qmobile noir i9 with JellyBean OS. I firstly MOVE to SDCARD all my apps and then i link the remaining portion to the 2nd partition. After restart when the apps disappear, i desperately format my second partition where the data has been linked and after that i do all the other options like clear cache, clear dalvik cache, clear orphan and lib and clean 2nd partition etc. Then i reboot once again. The mobile displays at the startup that ANDROID is updating apps. There are usually 100 or 105 that were linked and they all get optimized. After that the mobile starts and the apps2sd starts to link apps once again. I can see that the apps start to appear in apps2sd with the tag that they have been LINKED to SDCARD. These apps fill up my internal memory and then i have to link them again to the 2nd partition. This whole exercise is frustrating. Could you please suggest some workaround.... Please.
[Android Apps and Games] fillippe:
I get 21 apps optimising at every start up. Sometimes it seems to cause a problem, other times not so. I find if an app plays up I reinstall it from within Apps2Sd and that sorts it. If there was a way to avoid this behaviour it would be cool, but you can't have everything!
[Android Apps and Games] vickybonick:
That's an android message. On some ROM if dex/odex is linked, Android recreates them on Boot.
[Android Apps and Games] fillippe:
So if we don't link dex/odex that might solve it?
[Android Apps and Games] vickybonick:
Updated the OP with latest features and attached old versions of Apps2SD Free and Pro
[Android Apps and Games] vickybonick:
Version 75 released with option to set Internal and External card path if Apps2SD is not able to detect the SD card(s)
[Android Apps and Games] sjamie:
You are brilliant... thank you! :highfive:
[Android Apps and Games] ImranHameed:
A little bit clarification about the issue...... Please help.

Well dear sir thanks for your prompt response. Really appreciate that a lot. Well perhaps i couldn't elaborate the problem clearly. Actually i am good with this Apps Optimizing message. But the real issue is something else. I would again try to explain...

What i Usually do

I install an app lets name it Chomp SMS for example.

I move this app to SD CARD first with the help of APPS2SD.

At least half of the app data gets moved to SD CARD.

Then I link the remaining data to the 2nd Partition of the SD CARD.

Similarly i have 86 apps moved on SDCARD but linked to 2nd partition.

I Wait for a week or something.....

What usually Happens

After a week or something, the CHOMP Sms or whatever other random app shows crash message whenever i try to launch.

I restart mobile but nothing changes. The app still crashes.

Now i have to Format my second Partition and then clear all the Dalvik Files, Cache Files, etc etc. and then restart mobile once again.

Now if i am lucky, i will see the CHOMP SMS in the apps list where it would be shown as ON SD CARD and i will have to link it again to the 2nd Partition.

This is the usual routine that i have to repeat after every couple of weeks. This resolves the issue of apps crashing on launch.

The PROBLEM I am Facing Now IS....

I have more than 86 apps which i had moved to SD card and i linked them to the 2nd Partition but now those applications are gone. At first i thought that this is the usual thing that happens with me and formating the 2nd partition, clearing cache, clearing dalvik cache etc and then rebooting the mobile would solve the issue and the apps will appear again in the apps2sd. But this time they are not appering. I have tried following

i. first Formatting the 2nd partition and after that clearing the app caches, clear dalvik caches clear, clear orphan and lib data and reboot RESULT ====> apps dont appear :(

ii. First clearing the app caches, clear dalvik caches clear, clear orphan and lib dat and then formating the partition then reboot mobile RESULT =======> apps dont appear.

iii. After Doing (i) Step and when the phone comes on I RElink Library Files, Dalvik Files etc. but Still RESULT ====== apps dont appear.

What Should i Do???????

I want those 86 apps back and previously apps2sd has detected those apps after formating the 2nd partition but now its not.... Please guide me.
[Android Apps and Games] wonghyf:
I noticed that there's a bunch of codes to mount folders in apps2sd-mountscript.sh, which tries to bind to sdcard/Apps2SD/Android/data...). But such folders are actually those I've mounted using another program FolderMount v2.8 (which binds to sdcard/Android/data....). Now that Apps2SD says that the binding of such folders have failed every time I boot up the device. How can I solve that?
[Android Apps and Games] vickybonick:
Clear Apps2SD data, open Apps2SD link module and press back, it'll recreate the script, verify after that. If you have any folder mount pair then export them and reimport after wards
[Android Apps and Games] vickybonick:
I'll get back to you
[Android Apps and Games] wonghyf:
I've recreated the mountscript many times. The codes to mount folder pairs are re-created every time in apps2sd-mountscript.sh.
[Android Apps and Games] vickybonick:
Clear Apps2SD data then try again
[Android Apps and Games] vickybonick:
Since the folders are mounted, Apps2sd thinks it is mounted by itself so it creates the script with default location used in Apps2SD. since there is no way to know which folder it is bound to you have two options. Unbind from other app and use Apps2SD to bind or disable the notification in Apps2SD setting
[Android Apps and Games] wonghyf:
Thanks. The codes are cleared now.

By the way, I've backed up the folder pairs in FolderMount v2.8 (as a db). Is there anyway to import them into Apps2sd?
[Android Apps and Games] vickybonick:
No, you have to manually import it
[Android Apps and Games] wonghyf:
That's fine. Thanks.
[Android Apps and Games] ImranHameed:
Hey i Want to con tribute to the URDU translation of this software. I have already completed 25% translation at OneSky. Please guide me further.
[Android Apps and Games] kh34d:
[MENTION=6726362]vickybonick[/MENTION] now Apps2sd work with me on marshmallow and there's no corrupt on second partition.

After I update my rom and boot up, this msg appear.

And I already did soft reboot and it's OK now.

What I can do to avoid this msg after every update.

Thanx man for your efforts and time.
[Android Apps and Games] vickybonick:
Thanks. You can continue to translate at OneSky. Are you facing any issue?
[Android Apps and Games] vickybonick:
You can change selinux mode to permissive
[Android Apps and Games] kh34d:
I already have permissive mode.
[Android Apps and Games] vickybonick:
Do you have init.d? USB debugging enabled? Also when it is being set yo permissive(may be it is set after the mount script?)
[Android Apps and Games] kh34d:
1-Yes i have init.d by this app

2- I already enabled USB debugging

3- I have permissive mode for ever because I disabled selinux.
[Android Apps and Games] vickybonick:
Attach the logcat just after the boot. Also attach the /data/apps2sd-debuggerd.log(there might be a typo) file
[Android Apps and Games] kh34d:
There's no file in this path.

And about logcat I will do that later after update.
[Android Apps and Games] vickybonick:
OK. Did you try to create the mount script by selecting init.d?
[Android Apps and Games] vickybonick:
The file should be in /data folder not apps2sd data
[Android Apps and Games] kh34d:
Here it's

http://www.4shared.com/file/i46fjX82ce/apps2sd-debuggerd.html
[Android Apps and Games] vickybonick:
Can you attach the file here. Not able to download
[Android Apps and Games] kh34d:
I use Tapatalk, how can I do that?
[Android Apps and Games] vickybonick:
Can you put in Google drive or email me?
[Android Apps and Games] kh34d:
Yes give me your email please.
[Android Apps and Games] vickybonick:
vb.kgec at gmail dot com
[Android Apps and Games] kh34d:
OK, I did
[Android Apps and Games] vickybonick:
OK I'll check it out. Send me the logcat when you update
[Android Apps and Games] vickybonick:
Can you select use public vold in setting and try again
[Android Apps and Games] kh34d:
Select it and update rom right?
[Android Apps and Games] vickybonick:
No. Just reboot
[Android Apps and Games] kh34d:
I think there's nothing happen? !! because this issue happen after I update my rom.
[Android Apps and Games] vickybonick:
It's probably not related. Did you get the message when you rebooted?
[Android Apps and Games] fillippe:
I've found the only way to avoid these optimising apps on startup is not to link any apps to SD. But I will try again. I still use the positioning tool and swap file functions.
[Android Apps and Games] kh34d:
No.

But I will reboot and a sure to you.
[Android Apps and Games] fillippe:
It's probably my ROM.
[Android Apps and Games] kh34d:
Yes it appear after reboot.

And this happen after I select it.

Also when I unselected it appears
[Android Apps and Games] vickybonick:
I'm a little confused.
[Android Apps and Games] vickybonick:
Do the below

Select use public void in setting

Recreate mount script(select correct file system)(don't select init.d)

Reboot and see if the soft reboot is displayed

If soft reboot message is displayed then follow the above but this time select init.d option
[Android Apps and Games] vickybonick:
Yes most probably it is
[Android Apps and Games] kh34d:
Yes it worked with first solution.

I will try now with flashing my rom again , as you know it's like update it.
[Android Apps and Games] vickybonick:
Good. Do you have to disable selinux every time you do an update?
[Android Apps and Games] kh34d:
Yes, because "super su" doesn't work on marshmallow without "permissive mode"
[Android Apps and Games] vickybonick:
OK. You'll receive the soft reboot message on boot till you disable selinux
[Android Apps and Games] kh34d:
BTW. I unselected this option in "super su" from beginning
[Android Apps and Games] vickybonick:
That's good
[Android Apps and Games] kh34d:
Why that?

I don't disable it manually, it's disabled from my karnal
[Android Apps and Games] vickybonick:
I'm saying until selinux is disabled you'll get the error if it is disabled before you create the mount script you won't get the error
[Android Apps and Games] kh34d:
OK I will try and let you know [emoji6]
[Android Apps and Games] vickybonick:
Test
[Android Apps and Games] vickybonick:
:thumbup:
[Android Apps and Games] kh34d:
Unfortunately, it happened again after update [emoji20]
[Android Apps and Games] vickybonick:
Did you follow the steps?
[Android Apps and Games] kh34d:
I have idea, can you please make add-on script to make it survival after update my rom.

For example, I have "bootanimation" for marshmallow and when I update my rom, it's gone and bootanimation of cm rom

Return back.

So I have add-on script to make it survival after update my rom automatically
[Android Apps and Games] kh34d:
Would you like to send it to you by email?

I mean my example.
[Android Apps and Games] kh34d:
Did you receive it?
[Android Apps and Games] vickybonick:
Yes got it
[Android Apps and Games] fillippe:
I thought I'd try the native move to SD card option as the linking to sd has caused me problems. However despite having plenty of room on my second partition a message says there is insufficient space. Any ideas. All my partitions are showing up in show storage info.
[Android Apps and Games] vickybonick:
No idea
[Android Apps and Games] 5mohsen5:
Hi

PLZ H . . . . E . . . . . L . . . . P ME !!

My phone is Galaxy J2 (SM-J200F) and i get latest version of apps2sd and install it.

I create 2 partition on my sdcard.

when I mount script on 2nd partition , everything is ok but after restart phone apeare this message

[IMG="sotreboot"]http://s6.uplod.ir/i/00754/ujd8zkhlmw19.png[/IMG]
[Android Apps and Games] 5mohsen5:
it is 5.1.1
[Android Apps and Games] vickybonick:
Enable USB debugging and try
[Android Apps and Games] uhm:
My phone is HTC 816. It's running kitkat 4.4.4. I created two partitions on the external sd card. Second partition is ext2. I installed your app yesterday. Whenever I link an app to the sd card, after a reboot, the app disappears. Link2sd works fine on my phone. I have debugging on. How to fix it?
[Android Apps and Games] kh34d:
Remove your link2sd if still exist.
[Android Apps and Games] uhm:
I even restored earlier nandroid backup and installed this app first. It still behaved the same way.
[Android Apps and Games] 5mohsen5:
it is enable :rolleyes:
[Android Apps and Games] vickybonick:
Attach the below file

/data/apps2sd-debuggerd.log
[Android Apps and Games] uhm:
Here's the text from that file:

Wed Mar 9 23:38:57 IST 2016 mounting...

/data/sdext2

mount: No such file or directory

mount: Device or resource busy

mount: No such file or directory
[Android Apps and Games] vickybonick:
Are you using latest version of Apps2SD? Are you selecting right filesystem? Recreate mount script and reboot
[Android Apps and Games] uhm:
Yes, I'm using version 7.5. I'm also selecting correct file system. I even recreated partition 2 with ext2, 3 and 4 to see if at least one of them would work. Always deleted and recreated mount scripts, rebooted but no luck. With ext2, I had tried linking an app and then unlinked it before and that didn't cause that app to disappear. link2sd works fine.
[Android Apps and Games] vickybonick:
Can you attach the mount script
[Android Apps and Games] kh34d:
I updated my rom tow time,

first time I selected inti.d

and second time I didn't select it. Both of them the msg appear after boot up.

Any good news about add.On script which I suggest??
[Android Apps and Games] vickybonick:
Is selinux disabled? Check the mount log file. Addon script is in todo list
[Android Apps and Games] kh34d:
Yes it always disabled.

Where can I found this log file?
[Android Apps and Games] vickybonick:
The one that you sent last time
[Android Apps and Games] kh34d:
I sent it to you again, but this not "add.on" script which I meant?
[Android Apps and Games] stipx:
Hi!

I always got mount /dev/block/vold/public:179_66 failed: invalid argument

I found out that this mount already existed and because of that I did a umount of this mount and afterwards "Remount 2nd partition" in the app and also a soft reboot and it works again. But everytime i need to reboot the device I get the same error and have to do this procedure again.

Can you please add that if a mount to another point already exists that this one gets unmounted before remounting.

The mount created by the OS itself after reboot is:

/dev/block/vold/public:179_66 on /mnt/media_rw/ccdd7b2e-3e76-d101-8008-7b2e3e76d101 type ext4 (rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noatime,data=ordered)

Just to mention it: Used ROM is CM13
[Android Apps and Games] vickybonick:
Is there some other script which is mounting the 2nd partition?
[Android Apps and Games] kh34d:
In same path?

Do you want send you logcat?

I saved file just now.

---------- Post added at 10:13 PM ---------- Previous post was at 10:09 PM ----------

I sent it, did you receive them?
[Android Apps and Games] vickybonick:
I didn't receive
[Android Apps and Games] uhm:
Where can I find it?
[Android Apps and Games] kh34d:
Check again please
[Android Apps and Games] vickybonick:
Didn't receive
[Android Apps and Games] uhm:
#!/system/bin/sh

count=0

LOG=/data/apps2sd-debuggerd.log

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

ls -d "/data/sdext2" 1>>$LOG 2>>$LOG

while ! ls -d "/data/sdext2"

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

sleep 1

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

mount -t ext2 -o rw "/dev/block/vold/179:66" "/data/sdext2" 1>>$LOG 2>>$LOG

while ! mountpoint -q /storage/emulated/0

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

while ! mountpoint -q /storage/sdcard1

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

sleep 1

chmod 775 /data/dalvik-cache

chmod 775 /data/dalvik-cache

chmod 775 /data/data
[Android Apps and Games] vickybonick:
Can you recreate the mount script by selecting ext4 as the file system
[Android Apps and Games] uhm:
#!/system/bin/sh

count=0

LOG=/data/apps2sd-debuggerd.log

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

ls -d "/data/sdext2" 1>>$LOG 2>>$LOG

while ! ls -d "/data/sdext2"

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

sleep 1

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

mount -t ext4 -o rw "/dev/block/vold/179:66" "/data/sdext2" 1>>$LOG 2>>$LOG

while ! mountpoint -q /storage/emulated/0

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

while ! mountpoint -q /storage/sdcard1

do

count=`expr $count + 1`

if test $count -eq 8

then

break

else

sleep 1

fi

done

sleep 1

chmod 775 /data/dalvik-cache

chmod 775 /data/dalvik-cache

chmod 775 /data/data

---------- Post added at 09:43 PM ---------- Previous post was at 09:31 PM ----------

It still behaves the same way with ext4 as well.
[Android Apps and Games] vickybonick:
Apps2SD script has 2 mount commands but the log is showing 3 mount output are you sure you don't have any leftover script which is messing things up?
[Android Apps and Games] vickybonick:
DIsable the use public vold in settings and try again
[Android Apps and Games] vickybonick:
Moving an app to SD card: It is native App2SD method, this method moves the apk and lib file to sd card fat partition (/mnt/asec). But not all app support this. Since only apk and lib files are moved large portion of app(dex, odex, data, obb, cache, ext data, ext cache) still remains in internal/phone storage (phone storage is a fat partition in internal sd card).

Moving an app to SD card (forced): Same as above, only difference is you can force move an app to sd card even if it doesn't support it.

Link to sd card: This method moves the apk, odex, dex, data and lib to 2nd partition of the sd card and creates a symbolic link in actual place. Also it moves obb and ext data to 1st or 2nd partition and uses bind option of mount (since it's a fat partition symbolic link can't be created).

Hope it is clear now
[Android Apps and Games] 5mohsen5:
mount: Permission denied :confused::(:(