yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vickybonick:
It can be used as long as the filesystem of 2nd partition doesn't change (if changed then edit the recovery script). You might have to change/delete the secondary mount script (/data/apps2sd/apps2sd-mountscript-2.sh) content inside the recovery script.
[Android Apps and Games] vickybonick:
Version 10.2 released in play store and attached in OP

Changelog:

Updated Spanish, Italian, Polish, Portuguess, Slovak, Vietnamese, Chinese

Added Japanese

Fixed issue in Folder Mount

Fixed issue in Logcat

Fixed Partition tool display issue

Other bug fixes and optimizations
[Android Apps and Games] agavia:
can't send 'em, vick... endless proccess of sending....
[Android Apps and Games] vickybonick:
It'll take some time.
[Android Apps and Games] Shæl:
Is there a way to use the traditional symlink and not the half-cooked Adoptable feature of Marshmallow?

Problem is, whenever I partition the SD card to fat32 and ext4, Marshmallow is crying saying that "This device doesn't support this SanDisk SD card. To use this SanDisk SD card with this device, you have to set it up first." Which of course is about formatting the whole SD card into either Adoptable or Portable.

I already tried:

Partition 1: ext4

Partition 2: fat32

Partition 1: fat32

Partition 2: ext4

I tried the Adoptable partition in Apps2SD also

Partition 1: Adoptable -- no choice there

Partition 2: fat32

^ this one works, however, I am locked to Adoptable of Marshmallow and can not use that partition in the traditional Apps2SD/Link2SD symlink way.

- Adoptable is bad. [1] It can only move apps that were built to be moved; [2] When apps are moved, all the app settings are left in the Phone Storage; [3] When apps are in Adoptable Storage, their Widgets are disabled; [4] etc. etc.

Currently out of options. Using a different SD card that is not SanDisk is the same story.

EDIT:

I have SuperSU 2+ systemless

I have Universal init.d and it's working

I have SELinux in permissive mode

EDIT2:

Just to clarify, EXT4 is working. But Fat32 nor exFat are not being detected or mounted.

:( T_T
[Android Apps and Games] Shæl:
Found a solution!

Apparently, marshmallow doesn't like ext formatting that it did not do. The solution is to partition under lollipop or kitkat using aParted.

1. Unmount the card

2. Erase card (use KK or L's native erase)

3. Launch aParted

4. Partition as usual

5. Move it back to your marshmallow

By using aParted under KK or L, there will be no "corrupted" message. M will also detect fat32 and ext4 correctly.

Then set up the traditional symlink using Apps2SD.
[Android Apps and Games] ShinraTensei04:
I had a feeling that was the only way, as Aparted wasn't able to work on cm13, though 6.0 is apparently the problem.
[Android Apps and Games] Shæl:
Yep, aParted doesn't work in M too if formatting in ext.

Also, I forgot to mention, when I used Apps2SD partition in L, it worked but caused a "corrupted" message in M when I transferred the card back.

Not sure what's different between the two apps. aParted is open source so maybe the "difference" can be integrated in Apps2SD.
[Android Apps and Games] ShinraTensei04:
Is that 'corrupted' message just a dummy message? Everything still works properly?
[Android Apps and Games] Shæl:
Yep. It still works regardless.

M is probably looking for something or can't read something that causes the message to show up.
[Android Apps and Games] agavia:
it's done, vick....
[Android Apps and Games] vickybonick:
I'll go through the MM source and see if i can find a solution
[Android Apps and Games] vickybonick:
Did you set your email? Pm me the email
[Android Apps and Games] avinash gavali:
Hie I have rooted my xperia T2 Ultra dual 5.1.1 with kingroot V4.5 after kingroot as superuser apps2sd working good but after that I changed kingroot by supersu using supersume pro but now apps2sd shows mount script error while mounting second partion my first partion is FAT32 and 2nd is ext4 plz tell me the solution.
[Android Apps and Games] vickybonick:
Goto partition tool and Repair (don't select Create or Format) the 2nd partion
[Android Apps and Games] Android_noob17:
[MENTION=6726362]vickybonick[/MENTION] have you thought about adding an addon.d backup/restore script? Because I'll be useful for nightly flashers like myself.
[Android Apps and Games] stephenseiber:
i have a weird question. I currently have lg k7 rooted, xposed with app2sd. all of my apps are on the 2nd partition of my sd with all the stock apps in system part. at somepoint the cynogenmod 13 will be coming to my phone and i was wondering what i would have to doo when i switch roms. will i have to reinstall all the apps on my 2nd sd part?
[Android Apps and Games] vickybonick:
Addon script is attached in OP
[Android Apps and Games] vickybonick:
I haven't tried upgrading ROM. I'll put up a wiki soon with the details
[Android Apps and Games] Android_noob17:
Thanks, you should add the script to the the app somehow.
[Android Apps and Games] vickybonick:
1. Yes

2. Yes (Make sure it is mounted. Use Apps2SD storage info or any other storage app)

3. Partition tool will detect valid partition as long as it has a max of 3 partitions with 3rd being swap (optional)

4. Use fat32 for 1st partition and ext2 for 2nd partition. Also If you use TB then you can do a scheduled backup.
[Android Apps and Games] vickybonick:
The Bind error is a display issue. I'll fix that in next version. Are you being asked to do a Soft Reboot?

Folder mount issue is fixed in v10.2
[Android Apps and Games] agavia:
no... nothing. just plain toast msg. btw, vick... if i have to update the version do i have to unlink the apps first...??? would it be possible if u make all the apps stay in the 2nd partition even if we flash a new rom...??? just tired to do all the work from scratch...
[Android Apps and Games] vickybonick:
Updating doesn't require you to unlink the apps.

2nd part is difficult due to permission changes. I'll have to look for a good strategy for ROM change/update.
[Android Apps and Games] agavia:
one more thing, vick.... if i flash a new rom i have to repartition my sdcard unless it's useless. can u do somethin bout it...
[Android Apps and Games] vickybonick:
Any error while using same partitions on different ROM. It should work without Repartition
[Android Apps and Games] agavia:
yes, everytime i flashed new rom update.... not right away that is. but eventually i have to repartition my sdcard...
[Android Apps and Games] vickybonick:
What is the error?
[Android Apps and Games] imtawakkal:
Dumb question, is it work in android mm? i dont really like how adoptable storage works, i'm already trying to use link2sd, and keep getting script install failed
[Android Apps and Games] Android_noob17:
Yes it works great on mm.
[Android Apps and Games] DhaniBaho:
Restore App Problem

Hello [MENTION=6726362]vickybonick[/MENTION] ... need help here man.... :(

I do app backup using your super ultra amazing app :D

but now I have a problem....

I can't restore it :crying: :crying: :crying:

it showing error like in attachment...
[Android Apps and Games] DhaniBaho:
It Works even more powerful than Link2SD .... Worth buying the paid version... :D
[Android Apps and Games] vickybonick:
Can you send me the backup file
[Android Apps and Games] DhaniBaho:
of course I can., but you want all of them or just one or?
[Android Apps and Games] vickybonick:
Anyone which is not working
[Android Apps and Games] DhaniBaho:
check pm
[Android Apps and Games] agavia:
try to record next time....
[Android Apps and Games] GoDExtremE:
Hi [MENTION=6726362]vickybonick[/MENTION] !

I have one simple question that I didn't find the answer.

I'm planning to do a factory reset on my phone and I want to know what I need do to keep the apps that are in the 2nd partition.

Should I unlink all apps and make a titanium backup?

Apps on 2nd partition would be linked again if I keep them on 2nd partition? Will they work?

Thanks :D
[Android Apps and Games] larswars:
Good question. ;)
[Android Apps and Games] DhaniBaho:
well in my case instead of using titanium backup, I'm using the apps2sd built-in backup feature... but I'm facing problem... it won't restore... it showing error whenever I try to restore...
[Android Apps and Games] ShinraTensei04:
I was unable to mount second partition, I'm get 'invalid argument' when trying to remount. The last time it worked, which was a month ago, I had used aparted to create ext2, and then created mount scripts using apps2sd as ext4. I tried the same now, and it failed. May have something to do with your latest update or the previous one.

Here's the logcat:

https://drive.google.com/file/d/0B9aX5nm-yidFcDlDbktZZ05LRGs/view?usp=drivesdk

---------- Post added at 06:50 AM ---------- Previous post was at 06:19 AM ----------

How do I get universal init.d? Using an app from play store?

And how do I set SELinux in permissive mode?
[Android Apps and Games] vickybonick:
Use the repair option in the Partition tool then Recreate the mount script
[Android Apps and Games] vickybonick:
What is your Android version
[Android Apps and Games] Shæl:
Universal init.d is found at Google Play, with the same name.

SELinux permissive:

When creating the Mount script, add

su 0

setenforce 0
[Android Apps and Games] ShinraTensei04:
When and where and how do I create mount scripts??
[Android Apps and Games] GoDExtremE:
[MENTION=6726362]vickybonick[/MENTION] could you please help me?
[Android Apps and Games] vickybonick:
Regarding?
[Android Apps and Games] ShinraTensei04:
Repair option doesn't work. Says 'File system not supported for second partition' when I try to repair 2nd part..
[Android Apps and Games] GoDExtremE:
[MENTION=6726362]vickybonick[/MENTION]
[Android Apps and Games] vickybonick:
What is the file system?
[Android Apps and Games] ShinraTensei04:
I created it in aparted as ext2
[Android Apps and Games] ShinraTensei04:
It seems to be corrupted, can't repair even in aparted...
[Android Apps and Games] vickybonick:
In current version you can't select the file system, i'll add an option in next version to enable the selection if file system is not automatically detected
[Android Apps and Games] ShinraTensei04:
Okay, thanks
[Android Apps and Games] vickybonick:
Version 10.3 released in play store and attached in OP

Changelog:

Added separate Link and Unlink options in Multi Link

Fixed Backup and Restore function

Added Custom path option in App Backup

Added option to create addon.d script for Mount script

Fixed Relink dalvik-cache files

Fixed issue in Folder Mount

Fixed issue in Partition tool Repair option

Other bug fixes and optimizations
[Android Apps and Games] saupiquet:
Hi, I try apps2sd on my phone.

I have a 2nd partition with ext4fs and I use a lg g3 with stock rom (d855)

I loose two times some applications moved on the 2nd partition but not all of them. (32 about a total 70+ remains).

When I move all the 70+ applications to 2nd partition at the beginning, all was working ok.

But the day after, I loose half of my apps.

My 2nd partition is mounted correctly and app2sd detect 32 applications.

When I scan for broken apps on 2nd partition (scan for obb and data), I can find my 38 apps missing.

Is there a way to make it appear without reinstalling the 38 applications ?

I try to fix permissions on 2nd partition but it does not correct the problem.

Do you think with my phone, I should use ext2 fs instead of ext4?

I have see that internal partitions are in ext4, that's why I choose this filesystem but may-be it's not a good idea ?

I don't know if it could have an impact but when I move applications on 2nd partition, I move 0dex, dex and lib. Is it good ?

Thank you for your help.

Edit : i have updated to 10.3 version. I have rebooted. Now it works. I find back all my apps.
[Android Apps and Games] TBGleNolife:
Got the same error, I'm sure a way will be found, we need to be patient ;)
[Android Apps and Games] Jjglop:
Won't link data or lib

Got a lg f3 64gb SD 45gb as fat 32 and 15gb as ext4. Was using link2sd without issues switched to apps2sd says all apps linked but lib and data file still on main tried relinking says success but stays the same with data and Lib on main. Also the app does not recognize the first partition on the SD thank you in advance
[Android Apps and Games] pollazht:
Hi,

I have a moto e 2 LTE. I created partitions with included tool. I tried ext4 and f2fs. I used "Recreate mount script" (no init.d support)

My problem is I get the 2nd partition not mounted error and I can't use my app without soft reboot. I can view the files in /data/sdext2 with file explorer.

Please advise.

Thanks in advance.
[Android Apps and Games] vickybonick:
The issue will be fixed in next release
[Android Apps and Games] vickybonick:
Sent you an email with test build. Let me know if it is working.
[Android Apps and Games] Venomz33:
Hi [MENTION=6726362]vickybonick[/MENTION], I've been trying this app for a couple of days to folder mounting. I have 2 gps programs called sygic and igo. Both have approx. 600-800 mbs of ext data which cannot be detected by apps2sd.

I tried to use folder mount feature. What i did is giving a name, select the folders, didnt select delete options, action successful message appeared, buy when I click the bonding button,nothing happened. I checked the folders. There are 2 folders of sygic in ext sd card and internal storage and both are empty. I lost my files but not a problem. Isnt this supposed to work like foldermount app. Or did I catch something wrong?

Many thanks.
[Android Apps and Games] vickybonick:
It should be working like that. There are couple of bugs in the folder mount which i'm working on. It'll be fixed in next release. Apart from that i'm adding error reporting so if it is not working you can send the report to me.
[Android Apps and Games] Venomz33:
Ok then. Waiting for the next release. Thanks for the fast reply :)
[Android Apps and Games] Yashodhan Wagle:
Man it was working perfectly bt then I thought to transfer all the sd memory in internal n it did nt happen soo I converted the whole sd into FAT32 n deleted everything bt now when I try to install an app it says not enough space bt I can see ample of space available......plz help I am nt able to install a single app

---------- Post added at 03:13 AM ---------- Previous post was at 03:11 AM ----------

When I download n app from market it says error 506
[Android Apps and Games] vickybonick:
you need to delete all the broken files/folders manually.
[Android Apps and Games] vickybonick:
Changelog

Version 4.0 - 2015-08-23

• Fixed soft reboot issue after boot

• Add percentage while linking

• Added error reporting

• Added support to enter memory card block in recreate mount script

• Improved SD card detection

• Fixed bubs in Folder mount

• Fixed bug while linking data and lib for some devices

• Added multi level filtering of apps

• Fixed bug in Obb linking in 2nd partition for bigger games(e.g. Asphalt)

• Performance improvement(upto 100%) while linking/unlinking

• Other bug fixes and improvement
[Android Apps and Games] Yashodhan Wagle:
Anything to be deleted from root files?? Coz I hav deleted all files from sd,internal n apps too......
[Android Apps and Games] vickybonick:
clear google play services/store etc data, you probably need to wipe dalvik-cache
[Android Apps and Games] Almas.M:
dev, is it can link the lib flawlessly?

i've already uninstalled, the app that you gave me ..
[Android Apps and Games] TBGleNolife:
Woah, great update ! I'll see if it fix everything for me :)
[Android Apps and Games] vickybonick:
The Arm64 lib issue is still not fixed. As i wasn't able to replicate in emulator. I need your help in debugging the issue. Let me know if you use hangouts. We can talk over there.
[Android Apps and Games] pollazht:
It works with the new version. Thanks
[Android Apps and Games] Almas.M:
i'm really sorry mate, kinda busy this week ..

if I or my friend have spare time, i'll let you know btw ..
[Android Apps and Games] vickybonick:
Ok no problem.
[Android Apps and Games] DhaniBaho:
I backed up the apps when using Stock-Rooted Android 6.0.1 with August Update.... I'm restoring the apps with the latest CyanogenMod 13 SNAPSHOT

FYI already update your apps (paid version) from Play Store but still can't restore all the backup files
[Android Apps and Games] vickybonick:
The old backup will not work. There was an issue with Backup functionality. try new backup then restore
[Android Apps and Games] vickybonick:
Version 10.4 released in play store and attached in OP

Changelog:

Updated Chinese(Traditional), Chinese(Simplified), Slovenčina, Japanese, Italiano, Indonesian, French, German, Arabic

Added Croatian, Korean

Crash fix on some devices
[Android Apps and Games] ShinraTensei04:
When I try to repair it.
[Android Apps and Games] vickybonick:
You need to manualy run e2fsck. The binary is available at below path

/data/data/in.co.pricealert.apps2sd.pro/app_binary

Meanwhile can you send me the error report. Set your email in the app and pm me the email.
[Android Apps and Games] ShinraTensei04:
Do I type that in the terminal emulator of apps2sd?
[Android Apps and Games] vickybonick:
Yes. First send the Error Report. After analyzing the error i'll send you the command to run
[Android Apps and Games] ShinraTensei04:
I sent it
[Android Apps and Games] vickybonick:
Run below set of commands then Repair again.

If It fails again then run below set of commands then Repair again.

If it fails again then you'll have to format the partiton
[Android Apps and Games] ShinraTensei04:
... Could you mention where I need to press enter in the commands?
[Android Apps and Games] vickybonick:
After each line
[Android Apps and Games] ShinraTensei04:
Non existent device
[Android Apps and Games] vickybonick:
Run below command and attach output

ls -l /dev/block/mmcblk1p2
[Android Apps and Games] ShinraTensei04:
Here it is
[Android Apps and Games] vickybonick:
Try the 2nd set of commands
[Android Apps and Games] ShinraTensei04:
I guess it's corrupt
[Android Apps and Games] vickybonick:
It looks like. Try the first set again. Make sure you type it correctly
[Android Apps and Games] ShinraTensei04:
Still the same. Should I wipe 2nd partition and recreate as ext2 or wipe entire sd?
[Android Apps and Games] vickybonick:
Try to format 2nd partition alone if it doesn't work then recreate partitions
[Android Apps and Games] stormy1777:
DEX Files are "missing" from APPS2SD views - causing "android upgrading" loop

I've TWRP'ed + SuperSU my BLU energy phone, installed apps2sd (latest), linked a few apps, with*out* the DEX files, b/c doing so (with DEX linked) causes a loop during reboot of device saying "Android is Upgrading" ... 1of40...2of40... 3of40... So, the w/a is the link all files EXCEPT the DEX files, and that works great, no "upgrading" loop during reboot.

Also in Auto-link apps options I've unselected to link DEX files, so this is also automated for new installs..

Rebooted several times, all is fine, however, some unknown "event" or "action" on my part or part of an app, causes ALL *linked* apps to "miss" their DEX files. The apps continued to work 100% (the DEX files are clearly there, otherwise apps would not work) all is fine, however in apps2SD app-view, you can see all sections *except* DEX files.. also, all the apps now are thus marked as "Linked" (but they should be "Partial linked"), b/c the DEX file which is not linked is missing, so, in effect, all other files are linked :)

The w/a in this case was the manually REINSTALL each linked app, from within apps2sd. This is a MANUAL operation, since the REINSTALL option is not available using the multi-select tool. Reinstalling one by one immediately:

1) Added another field for the DEX File (within the app detail page inside apps2sd)

2) Changed the app from Linked to Partially Linked (b/c now DEX exists and not linked)

3) eliminated the "android is upgrading" loop, at least reduced by the number of such fixed apps.

Did anyone see anything like that?

I'm pretty sure that using KingoRoot, or other rooting, did not produce the "upgrading loop", in one case it only started happening after switching to SuperSU (and I've unchecked the namespace option in supersu).

Any tips welcomed!

Stormy.
[Android Apps and Games] vickybonick:
Multi select gives you reinstall option if it doesn't contain a System app

I'll be doing some research on Android is upgrading soon
[Android Apps and Games] 5mohsen5:
I use this app (free ver. )

when I update my linked apps, apps2sd doesn't auto relink apps to 2nd partition on SDcard.

I must always do it manualy myself .

this screenshot is for example:

---------- Post added at 08:31 AM ---------- Previous post was at 08:18 AM ----------

this another example

.
[Android Apps and Games] sremick:
I got Apps2SD installed and working seemingly fine on my Samsung Galaxy S5 with a custom ROM (Bliss) running Android 6.01. I partitioned my removable 64GB MicroSD card with a 16GB f2fs partition then the remainder as exFAT. I moved/linked a bunch of apps and that was all working fine.

It occurs to me however that I might not have had a reboot since setting this all up, however.

Today I went to reboot for what might have been the first time since setting up Apps2SD and it's stuck in the boot animation. I've left it there an extremely long time (15-30 mins?) and it doesn't budge. Thinking there might be some other issue, I flashed an update to my ROM and it did boot after that... however linked apps didn't appear on my home screens. Eventually I got a message (I assume from Apps2SD) that warned me that the 2nd partition didn't mount and that a soft-reboot was necessary. I opted to do that, and now I'm back to the stuck/spinning boot animation. It's for this last reason that I suspect it might be related to Apps2SD.

Can you offer any insight/advice? Thanks
[Android Apps and Games] larswars:
Don't think it is an Apps2SD related Problem! But vicky should maybe know it better.
[Android Apps and Games] vickybonick:
The issue seems to be with the way you partitioned the card. Reformat the card with 1st partition as fat32 and 2nd as f2fs/ext4
[Android Apps and Games] vickybonick:
Do you get relink message after an update?
[Android Apps and Games] 5mohsen5:
No , I don't.

---------- Post added at 07:38 AM ---------- Previous post was at 07:34 AM ----------

you must disable Selinux or change it to permissive.
[Android Apps and Games] vickybonick:
What ROM?
[Android Apps and Games] sremick:
That's strange then. The 2nd is already f2fs but that's the one giving me grief (I chose f2fs over ext4 because f2fs seems to perform so much better). The only one you're suggesting changing is the first partition, from exFAT to fat32, but I'm not having trouble with the first partition (exFAT). I can see it just fine. It's just the 2nd f2fs partition which I link/move the apps to that is troublesome.

Ok I tried that and rebooted. It booted right up and I got the warning again about the 2nd partition not being mounted, and a soft rebooting being required. So I chose "Yes" and it rebooted again. Back to the long wait on the boot animation screen which just keeps spinning (I discovered before this post that if I wait an extreme amount of time, it does eventually come up, but without the 2nd partition mounted. This allows me to use the phone somewhat and whatever apps I didn't move to the SD, and allowed me to change the selinux mode).

Since you were quoting his response to me: I'm using Bliss ROM 6.4 (Android 6.01)... currently 20160912 but there's a new one just out.

If I'm going to be forced to redo my partitions (which I'm confused why it'd really be necessary, per my first comment in this post), is there any way for me to manually force the 2nd partition (f2fs) to mount so I can unlink and move my apps back from it, that way I don't lose all their data when I re-partition/format? The exFAT partition is fine and I can already back that up since I can access it. The partition manager in Apps2SD still sees both partitions correctly... I guess #2 just isn't mounting anymore.
[Android Apps and Games] vickybonick:
As suggested by [MENTION=6367812]5mohsen5[/MENTION] you need to set selinux to permissive. Check out the below post

http://xdaforums.com/showpost.php?p=68249166&postcount=2269