yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jhagrid77:
Alright. I was just curious since the changelog had mentioned changing post-fs which apps2sd uses for it's linking on boot.
[Android Apps and Games] vickybonick:
Apps2SD uses post-fs-data.d not post-fs.d
[Android Apps and Games] martyfender:
I believe with Magisk 16.4 beta, it is using post-fs-data.d, as I notice the 00000000apps2sd.sh is there now, with the Magisk install time date.

The script is still also in post-fs-data with a much older date.

on three other devices, only the post-fs-data.d folder is present.

I believe that the post-fs-data must be left over from the older Magisk version and can safely be deleted, but I'm not sure?

This is from the v16.4 release notes:

"- [Daemon] Remove post-fs stage as it is very limited and also will not work on A/B devices; replaced with simple mount in post-fs-data, which will run ASAP even before the daemon is started"

Base on the above, I may have it backwards, though.
[Android Apps and Games] m00nlighter:
Hi Vicky,

I have a question about the way the priority should be assigned when you have multiple swaps.

The only info available in the Features/Swap Manager section of your site is as follows.

"Set swap priority

Use this option to set swap priority for each swap partition/file"

Not much, rite?

Well in my case, there are two swaps.

/dev/block/zram0—ZRAM partition that is enabled by default in the stock ROM

/cache/[filename].swp—swap file in the /cache partition, created by Apps2SD

I want to assign a higher priority to zram0 so that it will be used first and the swap file will be used only after zram0 is full.

Do I get it right that to do so, I should assign the priority of "2" to the zram0 partition and and the priority of "1" to the swap file (or whatever numerical values higher than 0, provided that the value for the zram0 partition is higher than the value for the swap file?

My point here is that to my understanding, the priority notation in Android is different to what we non-androids are accustomed to in real life (where a lower value usually denotes a HIGHER priority, as in "the number one priority"). And I'm still somewhat confused whether I've assigned correct priority values ("2" to zram 0 and "1" to swap file) , so I'd like to get the definitive answer from the app's developer who should know for sure.
[Android Apps and Games] vickybonick:
Higher swap priority means it'll be used 1st
[Android Apps and Games] m00nlighter:
I do understand that. My point is about the correct priority notation in Android (and consequently Apps2SD).

OK, I'll try to reword as a yes-or-no question, to save your time and finally get the definitive answer I need :)

If, in Swap Manager, I assign the priority value "2" to the ZRAM partition (/dev/block/zram0) and the priority value "1" to the swap file (/cache/[filename].swp)—will the ZRAM partition be used first and the swap file be used only after zram0 is full?

Thank you very much in advance!
[Android Apps and Games] cukiyoko:
Hi Vicky,

Could you offer any advice on how to solve this problem with app2sd?

I had to flash my phone back to the stock firmware, after being on lineage os.

I have reinstalled root (magisk), and have restored all my apps with Titanium Backup.

I have reinstalled App2Sd, but it cannot relink to the obb files that I was storing on the SD card's 2nd partition. They are still there, because the file size hasn't changed, but I don't know how to point the app in their direction so it can find them. I have tried all the obvious options (relink external files / rebind / remount ect), but no success. It lists the apps as not having an obb file at all.

How should I go about restoring the links?

I did make a backup of the 2nd SD partition, but when I tried to load it it said "end of central directory, signature not found", which I guess means my back up didn't work.

Any ideas of what I can do?
[Android Apps and Games] vickybonick:
If you are using the pro version you can use the Restore apps(sdext2) menu option in Link apps to SD card module
[Android Apps and Games] cukiyoko:
Thanks Vicky. I just tried it and got a message saying "No app found on SD card 2nd partition". I checked the storage stats, and it lists 10gbs as being stored on the SD 2nd partition, so I'm sure the obbs are there.

Do you think it has something to do with changing from superSu to Magisk? When I try to recreate the mount script, I get an error about being unable to determine su.d path if I try the "I'm using Magisk" option.

Thank you for your help!
[Android Apps and Games] vickybonick:
What version of Apps2SD you are using? And attach the Apps2SD storage info screenshot
[Android Apps and Games] cukiyoko:
Thanks for your help! I updated to 14.1, which seems to have helped the Magisk issue, I don't get that same message.

I'm still unable to rebind the folders, but something has changed - now 2 of my apps (out of probably 10 that were linked) say they are 'partially linked' and some apps are listed as being on the SD card - even though I have never stored them there in the past... (See screenshots).

I've also included a screen shot of the storage situation - see attached.

Hope that helps and thanks for all your support!
[Android Apps and Games] cukiyoko:
Thank you! Just tried to send it a few times - got an error: message could not be sent, error; SMTP connect () failed.

Is this my phone problem, or the app? Can I send it to you another way?
[Android Apps and Games] :
Does restore app require root ? Google authenticator backup will restore all the keys, so it would be helpful if restore apps would be usable even if root check fail. That is of the restore app is rootless functionality
[Android Apps and Games] vickybonick:
Can you try again now
[Android Apps and Games] vickybonick:
Yes it requires root since it's not possible to modify data partition or bind folders without root
[Android Apps and Games] cukiyoko:
Thanks - it worked this time! I was able to send it to you.
[Android Apps and Games] vickybonick:
Download and Install the apk of missing games (Don't let the game download obb files) then use the Restore apps(sdext2) option to relink the obb files, It's the best that can be done

PS: For the Restore apps(sdext2) option to work either the apk had to be previously linked to SD card 2nd partition or the app has to be currently installed
[Android Apps and Games] cukiyoko:
Thank you! I will try it :)
[Android Apps and Games] dryfer:
Hi, for using app2sd I have to format the sd card in my windows, so I created a fat32 primary partition and a ext4 second partition, app2sd manage to use the second partition for the data and works, but my phone fails to recognize the primary partition, any idea how to fix this?
[Android Apps and Games] moatzatteya:
hey guys first it is ana amazing app but i have a little problem when i delete my linked apk from my mobile their data still on the second partiotion and i cant delete because i dont know how is there any tool to delete them?please any help
[Android Apps and Games] phonedriller:
Go to android storage and format the sdcard

After format a message will appear saying

A new sdcard is ready, dont touch it

Open apps2sd and go to Partition Tool

Create the 2 partitions, do not create/use

Swapp only the 2 partitions.

It must create without erros or crash.

Use app Diskinfo to see if you stock partition

Is Ext4 or F2FS hope it helps.
[Android Apps and Games] vickybonick:
Always use Apps2SD to uninstall linked apps. You can use the Broken app cleaner to delete leftover files
[Android Apps and Games] moatzatteya:
if i cleaned the data and obb from 2nd partation,would it will clean all the data or only broken apps data?tahnk you for your reply you are really amazing guys?
[Android Apps and Games] vickybonick:
It'll only delete leftover files
[Android Apps and Games] theodor.sudarja:
Tutorial Folder Mount

Thanks, but while trying your method I found myself deperately needing the basic tutorial for folder mount.

When I browse for the "Folder Source" using App2SD; I found multiple folder path leading to DCIM, which ones?

/sdcard/DCIM

/storage/emulated/0/DCIM

/storage/emulated/obb/DCIM

And when I browse for "Destination Folder" I found this:

/data/sdext2

I need basic tutorial for Folder Mount. Thank you in advance.
[Android Apps and Games] vickybonick:
Always use folder inside /storage/emulated/0 as source, SD card first partition as destination and Bind option

You can checkout the following tutorial

[YOUTUBE]QbFBphPFUL0[/YOUTUBE]
[Android Apps and Games] theodor.sudarja:
Symlink Method?

Thanks for the link. I already watched the tutorial. But I'm still lost, when would I be using Bind and when would I be using Symlink?

The Youtube tutorial only covers Bind method. And not mentioning Symlink.

I'm trying to link my DCIM folder in the Android system partition to the ext4 partition in External Card. Can you guide me with written step by step?

Should I be using symlink for that particular case?

You said above that I should use Bind. So I should stay using Bind, not Symlink?
[Android Apps and Games] vickybonick:
Always use folder inside /storage/emulated/0 as source, SD card first partition as destination and Bind option
[Android Apps and Games] arrancoote:
Hi,

I have Apps2SDPro and am wondering if I could get some advice before I go and do something I'll regret. The app has been working great but I need to add space to the ext4 partition because I'm out of space again.

The phone has a 32GB SD with a 26GB Fat32 and a 4GB ext4, I'm out of space unfortunately and need to expand the ext4. There is plenty of free space I can grab from the fat32.

Using the Apps2SDPro Partition Tool, I want to reduce the fat32 partition to 20Gb. The app displays that the ext4 is going to increase to ~10GB which is good, when I hit YES a message is displayed "Continue? Data from SD will be deleted. Apps currently on SD card will be erased as well. Please use broken app cleaner to remove left over files"

I don't care so much about the fat32 data, it's easy to backup and restore. Is there some way I can backup the ext4 partition, expand the partition and then restore the data? Or do I need to uninstall all the apps (from apps2SD) that are on the card, expand, clean up, and reinstall?

Thanks in advance,

Arran
[Android Apps and Games] vickybonick:
From http://www.apps2sd.info/faq

I want to increase the size of my SD card 2nd partition/Recreate partitions on SD card, do I need to unlink all the applications and link again to the new partition?

No. Copy the contents of SD card 1st partition (fat32) to OTG/PC and use the Backup function to backup SD card 2nd partition (make sure there's no error), create two partitions with appropriate size using the Partition tool, Delete mount script using "Delete mount script" option in "Link apps to SD card" left navigation menu, Create mount script using "Recreate mount script" option in "Link apps to SD card" left navigation menu, copy SD card 1st partition (fat32) backup into SD card 1st partition and restore the SD card 2nd partition backup using Restore function and you're done

Note: If SD card 2nd partition used size is more than 2GB use Phone storage to save the backup or any partition with non fat32 filesystem
[Android Apps and Games] arrancoote:
Hi, thanks Vicky,

I've resized and restored the data on both partitions. The ext4 seemed to work OK, it read the data and restored permissions and gave me a tick, all good.

I cannot however get the apps that I had moved onto the SD to relink, any advice there?

Thanks again!
[Android Apps and Games] vickybonick:
You don't have to relink any app. What app component is missing link?
[Android Apps and Games] arrancoote:
It's just a game, but there is about 2.5GB data. The game info in apps2sd didn't show that there was 2.5GB of data.

But it seems to be working now. I went ahead and moved the game data, which was only showing 250MB, but when it moved it it showed that there was 2.5GB so all good.

A couple of others went away but I'll just reinstall and move, thanks for your help,

Arran
[Android Apps and Games] vickybonick:
Bind needs to be recreated(obb and ext data) which is generally created when you recreate mount script in some cases you have to use the Rebind external folders option from left navigation menu
[Android Apps and Games] patrickdrd:
can you please give instructions on how to uninstall?

edit: apps2sd is a system app and I can't find a way to uninstall it,

another problem is how to remove the sd-ext
[Android Apps and Games] vickybonick:
Open App Details for Apps2SD (inside Apps2SD) then click uninstall from menu option and reboot.

To remove sdext2 unlink all apps, delete mount script from Apps2SD menu, format SD card using system storage and reboot.
[Android Apps and Games] patrickdrd:
where is app details and uninstall? sorry, I'm not able to find that
[Android Apps and Games] vickybonick:
From the app list select Apps2SD
[Android Apps and Games] patrickdrd:
it wasn't anywhere to find, anyway, forget it, I did it on my own, I deleted the folder sdext2 something, and about the app I deleted all occurrences of apps2sd and pricealert, in priv-app as well, about the sd card I deleted the partition after connecting to a pc
[Android Apps and Games] Batshua:
I am planning to try reformatting my SD card for 2 partitions. My question is how do you determine the size of the first partition? Is it relative to the size of the card itself, or is there a recommended size?
[Android Apps and Games] theodor.sudarja:
which ones to delete?

I have sucessfully Binding the two (FS:Fuse) folders:

/storage/emulated/0/ (FS:fuse)

/storage/7E4B-365B/ (FS:fuse)

Soon after, my Internal storage went empty significantly. I have lot more space for storage.

Thank you, Vicky. Buying Apps2SD Pro is a good experience so far.

Last question; When it comes to deleting files, which ones to delete? I have files mirrored in both folders, so which ones to delete?
[Android Apps and Games] Tomek0000:
Hi,

My finds/problems :

1.	Google services , google play . I decided to use app2sd for integrate both apps with system. Did. Restart . Android and app2sd do not see both apps/services . If I install both again , it disappeared.

2.	I prepared the same test with BlueMail. First I sent it to internal , restarted , all worked ok. I installed upgrade from play.google and integrated it with system using app2sd. Restart . It disappeared . I can install it again but it disappear at once. I am able to manual find this application in /system.

3.	Next tests with BlueMail from initial situation . Worked ok. I converted/sent it to system (using app2sd) , restarted, it worked ok. I converted it to user app (in app2sd). Restart . It worked but it had to lost all data . I had to restore data using titanium.

Questions.

1.	The integration to the system is bugged and it can be fixed in app2sd or if it is not possible, could you suggest the other app which will do it correct ?

I am not sure how can I fix system at this moment. I restored nandroid backup , but maybe manual deletion all disappeared apps files from /system is enough ?

2.	Will the converting app to user always delete app’s data ? Is this normal or will it be fixed in app2sd ?

3.	Some apps are not able to work correct if they are linked to sdext2 memory. Is the same with /system ?

4.	It looks like the play with /system and app2sd works this way:

-	Send/convert application to system

-	Restart

-	Use

-	Make data backup

-	Convert application to user //[ or uninstall it]

- Restore data from backup and make upgrade in play.google //[or install the newest version and restore data from backup ]

-	Convert application to system

Could I ask for comments?

It can be problem. I do not know how oftern, but pro version checks license from time to time by network and if network does not exist, it closes.

What can a user do if it happend if no chance for network ? Maybe app should disable pro functionality but not refused the work ?

Else the condition of working the app is not only root but network all the time.
[Android Apps and Games] theodor.sudarja:
For me, I have a 128gb external card installed. And for my need, I am using many apps; the allocation goes something like this:

70gb for Symlink the Apps

40gb for Bind the Photos, Downloads, Screenshots

The allocations are something that you have to consider based on your needs.
[Android Apps and Games] Batshua:
Okay, so I basically am using almost exclusively apps. I probably don't even need 5gb for downloads, but let's say I make it 8. The downloads is the first partititon and the FAT one, right? And the second partition is, … what? ext3? ext4?
[Android Apps and Games] Batshua:
Potentially better question: Is there any reason why I *can't* put downloads into the second partition? Is it Apps2SD exclusive?
[Android Apps and Games] Bob1900:
[MENTION=6726362]vickybonick[/MENTION] Thanks as always for making this app. I have a question. I'm using this ROM, and yesterday I upgraded to the latest version. Unlike previous upgrades, it messed up my Apps2SD install this time. All my linked apps appear to have gone. However, when I browse the phone, I can see the second external partition. It's there, with all the folders for the apps that were linked. It's just that Apps2SD doesn't see them. What can be the problem and how to fix it?
[Android Apps and Games] vickybonick:
App conversion and integration to System is done by simply moving the apk from data partition to system partition. It works on most of the ROMs but on some ROMs (Mostly MM+) it doesn't work. There's nothing I can do (Maybe try some other apps if any app works let me know I'll do some digging), you need to stick to the process which works for you.
[Android Apps and Games] vickybonick:
You can delete the source files after bind (This will increase free space in Phone/Emulated storage)
[Android Apps and Games] vickybonick:
Any of ext2/ext3/ext4/f2fs
[Android Apps and Games] vickybonick:
Non root apps can't detect the 2nd partition. 2nd partition works as an Internal storage so access is restricted
[Android Apps and Games] vickybonick:
If you're using the Pro version then there's a menu option Restore apps(sdext2) inside Link apps to SD card module to restore apps from 2nd partition

PS: For Restore apps(sdext2)option to work either the apk had to be previously linked to SD card 2nd partition or the app has to be currently installed
[Android Apps and Games] Bob1900:
Google Play tells me: "This item isn't available in your country." :(
[Android Apps and Games] vickybonick:
What country are you from?
[Android Apps and Games] Bob1900:
I'm located in Western Europe.
[Android Apps and Games] :
Hey the phone is not detecting adoptable storage partition any way to force it to detect ?

This stated happening after a clean flash :(
[Android Apps and Games] vickybonick:
Attach the mount and df output
[Android Apps and Games] :
English please ;)
[Android Apps and Games] vickybonick:
run below commands in terminal and attach output

su -c mount
su -c df
[Android Apps and Games] vickybonick:
It doesn't have adoptable storage, It has a portable storage
[Android Apps and Games] :
Then what is the partition which I created using adoptable partition option in app2sd ? I bit at loss of knowledge !
[Android Apps and Games] vickybonick:
Use System Storage to create the partition
[Android Apps and Games] Bob1900:
Thanks. I have installed the Pro version now, and I tried the option "Restore Apps", but it just asks me for some apk file. What do I do?
[Android Apps and Games] vickybonick:
Select the apps and follow on screen instructions also read my notes in previous post
[Android Apps and Games] :
System storage as in internal ? Or sdcard ?
[Android Apps and Games] vickybonick:
Whatever you want. Internal is Adoptable and SD card is Portable
[Android Apps and Games] :
condor:/ # ls /dev/block
bootdevice mmcblk0p13 mmcblk0p26 mmcblk0p6 ram12
loop0 mmcblk0p14 mmcblk0p27 mmcblk0p7 ram13
loop1 mmcblk0p15 mmcblk0p28 mmcblk0p8 ram14
loop2 mmcblk0p16 mmcblk0p29 mmcblk0p9 ram15
loop3 mmcblk0p17 mmcblk0p3 mmcblk0rpmb ram2
loop4 mmcblk0p18 mmcblk0p30 mmcblk1 ram3
loop5 mmcblk0p19 mmcblk0p31 mmcblk1p1 ram4
loop6 mmcblk0p2 mmcblk0p32 mmcblk1p2 ram5
loop7 mmcblk0p20 mmcblk0p33 mmcblk1p3 ram6
mmcblk0 mmcblk0p21 mmcblk0p34 platform ram7
mmcblk0p1 mmcblk0p22 mmcblk0p35 ram0 ram8
mmcblk0p10 mmcblk0p23 mmcblk0p36 ram1 ram9
mmcblk0p11 mmcblk0p24 mmcblk0p4 ram10 vold
mmcblk0p12 mmcblk0p25 mmcblk0p5 ram11 zram0
condor:/ #

I Have already created adoptable partition once it detect the same in partitioning tool. Please help
[Android Apps and Games] vickybonick:
If it is still not detected then possibly split partitions are not supported on your ROM
[Android Apps and Games] :
Before clean flash it was working ;'(
[Android Apps and Games] vickybonick:
Then recreate the partitions
[Android Apps and Games] :
That means it will wipe whole sdcard. If any way to avoid this please tell me steps.
[Android Apps and Games] vickybonick:
Not that I know of. Backup and Restore is the only way I believe
[Android Apps and Games] Bob1900:
It asks me where the apk files are located. I have no idea. Where does Apps2SD store the apk files of the linked apps?
[Android Apps and Games] vickybonick:
Not that option, read my post again (the bold parts)
[Android Apps and Games] Bob1900:
I tried, but this option is not available from the Link apps to SD card menu. So what did I do wrong? Should I have made a backup for this to work?
[Android Apps and Games] vickybonick:
First import Apps2SD data from free version using the 1st option in home page then use the 3rd last option in the attached screenshot
[Android Apps and Games] Bob1900:
It worked! Thank you very much.
[Android Apps and Games] Tomek0000:
The data stored by apps2sd in sdext2 seem to be excelent backup if all possible files we link in apps2sd. We have "Restore apps (sdext2) " option in apps2sd, which works a bit on different way. It restores application from sdext2 to internal memory. It is not useable if we have no space in internal memory. But if we have this space and restore apps, what will be the first to do? It will be link all new restored apps.

Is it possible to add option "Restore links(sdext2)" which will restore in internal memory only links to apps stored in sdext2?
[Android Apps and Games] vickybonick:
No it doesn't restore the app in Internal storage. It moves existing files (with no overwrite) from Internal storage to 2nd partition and relinks/rebinds them
[Android Apps and Games] Tomek0000:
Are you writing about "Restore apps (sdext2) " ?

I have had full sdext2 of apps and failed my system during testing "integrate to system" updates of google services as action started in apps2sd. As a result , I checked if all my apps are full linked to sdext2 and reinstalled fresh android rom by TWRP (included wiping all in memory).

I have had fresh installation. I restored some apps by Titanium - these I have to keep in internal memory.

Next I used apps2sd for mount second partition and run "Restore apps (sdext2) " . As the result I lost 3GB of internal memory - it was by files restored by apps2sd from second partition to internal memory.

Nothing was moved from Internal storage to 2nd partition.

My next step was to use apps2sd , select all linked apps (fresh restored) and link it again to second partiton. It frees 3GB in my internal memory.

I am lucky, apps2sd does not restore all to internal - for example obb files are not restored only links are restored. Because of size of my internal, the try to restore obb files fill file. Why is not possible to restore all files the same way like obb files ? Mayby apps2sd tests size of internal , and restores only possible set and the rest restores link ? What will occure if I will have only 100MB free internal memory ? All restored goods will be links and no one file ? It will be good!

Current type of activity of "Restore apps (sdext2) " :

- losting the time - recreating only links in internal memory has to be much faster than copping files

- uses memory cells on emms and sd cards (we have limited saves before the memory will be mulfunction)

- more user time

- ...