yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] huhiha:
No hurry, I just want to know more about the link2SD mechanics so that I can be confident about my operation. How much is the risk of failure. It would be nice if you give some article references. I guess "move to SD" is not supported on my device so I shouldn't use that any more. I also want to know what Folder Mount does and what are the pros and cons compared to link2SD. This is quite important.

Most of the confusions I talked about are rather common questions. I think a picture-and-text tutorial would be clear and helpful, and you should let more people see it. If you need time to think around or work it out, just take your time.

Sorry for replying too much, but I want to talk about 2 more example.

1. The "init.d" stuff. You should explain what it is or what it does, in your tutorial or app introduction page or in the app. In a word, you need to explain it somewhere.

2. The f2fs format. You say "if your device support f2sd". You should tell us how to try it ourselves.

---------- Post added at 05:13 AM ---------- Previous post was at 04:51 AM ----------

In my case, move to SD never worked. Link2SD is not 100% successful(1 failure encountered). Folder Mount is to be explored. Have you tried Folder Mount?
[Android Apps and Games] vickybonick:
It's not possible for me to explain each term. Apps2SD is catered towards people who has some knowledge of these terms or are willing to learn them(googling). But most of the information can be found on Apps2SD website (how it works, faq, features, kedb, suggestions etc).

www.apps2sd.info
[Android Apps and Games] martyfender:
[MENTION=8611394]huhiha[/MENTION]

Many of your questions are answered on the facts website:

http://www.apps2sd.info/faq

and:

http://www.apps2sd.info/
[Android Apps and Games] huhiha:
Beforehead: I'm replying to Metion in Notification. I'm not sure who mentioned me(not familiar with this forum). So I suppose I'm replying to the author of Apps2SD.

No, they're not. I had read these sites before posting in this thread. And that's why I said I have made so much effort. Some of the info is out-dated thus misleading. For example, there's an FAQ in Partition Tool category:

So when I saw f2fs was in the menu, I thought my phone did support f2fs. But after I formatted, it told me that the 2nd partition cannot be found and mounted. So then I knew my device doesn't aupport f2fs, and have to format again.

You say we can google. Then you tell me how to google. For example, what is mount script. When I google it, a bunch of same content about "link2SD mount script error". But I don't have the problem of having errors. I just want to know how to write a mount script, and how a mount script works. OK, I type "how to write a mount script", then I get a bunch of content about Linux, not android phone or apps2SD.

Last, by the way, another problem I've encountered. I tried to move the external data of an app to the 2nd partition, and it was linked successfully to /data/sdext2/Android/data/com.xxx.xxx. And I confirmed that the space of my internal storage was saved.

But when I start that app(a game), it started to download the game resource again. The saved internal storage space all went back. I cannot confirm what happened to the content in /data/sdext2/Android/data/com.xxx.xxx, because I don't know how to explore the 2nd partition(maybe I need to pull my sd card out, plug it in a card reader, and check it on a PC with Linux?)

How does the game app find out the link was a link(not an actual folder)? What would you say about this problem?

---------- Post added at 06:09 AM ---------- Previous post was at 05:36 AM ----------

What format do you specify? Are you using f2fs? Try Ext4. Maybe you phone doesn't support f2fs.
[Android Apps and Games] martyfender:
[MENTION=8611394]huhiha[/MENTION]

Total Commander for Android can be used to explore the 2nd partition. It is listed at the top as an SD-card. In other root file explorers that don't show it this way, you can see it at /data/sdext2. I find it this way in, for example, Mixplorer, this way.

If you don't see it, the second partition is not mounted. If it it not mounted, Total Commander will often show it, but the folder will be empty. If you try Total Commander, be sure to go to it's settings and enable: "root fuctions everywhere".
[Android Apps and Games] Zehlek:
[MENTION=6726362]vickybonick[/MENTION] if we get a new sd card, can we just copy this folder and when the new card is inserted just copy back?
[Android Apps and Games] sylwu:
Hi everyone. I installed Apps2SD on rooted moto g5 nugat 7.0 with magisk. Works good, apps are linked on second partition on sd card; but i lost apps shortcuts from desktop after phone reboot. After reboot also got message to make softboot. I used "normal method" to create script cause "I've su.d support on my device/ I use Magisk interface" give me error: Unable to determine su.d path...... I can set the path in settings but i dont know where is it on my phone. How to do this? Maybe it fix disapered shortcuts. Im not advanced android user. Please help
[Android Apps and Games] RootedLee:
I ran into issues with su.d mount script, too. It's not obligatory to use su.d mount just because Magisk is installed. Simply use init.d or even normal mount script method and see what happens. Before that, delete the current mount script method.
[Android Apps and Games] huhiha:
Thank you! That did worked. The data previously moved to the 2nd partition was there occupying SD card space. So I deleted it with Total Commander.
[Android Apps and Games] sylwu:
thanks for reply

Ive tried init.d but give me error: it cant find init.d folder... Actualy i use normal method, it works, but like i said, shortcuts are missing after reboot.
[Android Apps and Games] vickybonick:
Looks like Magisk core is missing. Reflash Magisk then create the mount script with su.d/magisk option
[Android Apps and Games] vickybonick:
Simply copying the 2nd partition content will not work. You need to copy owner, group, permission and extended attributes as well.

Copy the contents of SD card 1st partition (fat32) to OTG/PC and use the Backup function to backup SD card 2nd partition, remove the old card, insert new card, create two partitions if not already created, 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 4GB use Phone storage to save the backup or any partition with non fat32 filesystem
[Android Apps and Games] sylwu:
I reinstaled Magisk, but still got "unable to determine su.d path...." when i try create script. I have magisk v14.0. Where should be that su.d directory? Maybe i try set it manualy in settings?
[Android Apps and Games] vickybonick:
It should be /magisk/.core/post-fs-data.d

If the folder doesn't exist then check with [MENTION=4470081]topjohnwu[/MENTION] why it's not created
[Android Apps and Games] huhiha:
Is it possible to use command "ln" in Terminal Emulator? It told me "function not implemented".

According to my googling, the file system format of the internal storage is regarded as fuse instead of ext4 in Terminal Emulator. Thus, symlink is not supported. Is that true?

Is it possible to make a symlink or test whether a given path is a symlink in Terminal Emulator?

Bug report: the "instal Busybox" is not functioning correctly. It said successfully installed, but I can't see an icon even after reboot.

----The above content is written at 11th October 2017, 02:11 PM -----

Red colored text is not true. It is normal about BusyBox to have no icon.
[Android Apps and Games] vickybonick:
Yes Symlink is not supported. Install busybox option installs the busybox binary(so other apps can use it in a shell) not Android app.
[Android Apps and Games] apk2down:
best app it's easy to use
[Android Apps and Games] mirfatif:
WhatsApp Media downloading but not saving

The same is with me. Newly downloaded media is lost; neither found on internal memory nor on external. However, already downloaded media (moved by Apps2SD at the time of binding) is perfectly accessible from within WhatsApp chats.

But this case is specifically for WhatsApp. I created a random folder on internal memory and created a pair for it on external sd with FolderMount module. When I created a text file in this folder on internal sd, it was automatically created on external sd. And after removing bind mount, this file actually existed on external sd.

I use fat32 fs on external sd. Any suggestions?

I have 2nd partition on sd card formatted with ext4. What if I keep destination directory of WhatsApp media on 2nd partition instead of first? And instead of bind mounting, I use symlinks? Shouldn't this be better? For symlinks, source also should be /data/media/0/WhatsApp/Media instead of /storage/emulated/0/WhatsApp/Media. Perhaps, symlinks aren't supported on internal sd as well. Not sure though
[Android Apps and Games] FlatEarthNigga:
Hello, someone told me this is the place to find help. I have an OneTouch Pixi 9006w Version 5.0.2 B31-UM2 rooted with kingoroot. I used Link2SD pro to place some apps(including some phone only apps and google Drive) into my 16g SD. It is formatted into 2g fat32 and 14g ext4.

Something was going on with my tablet. Performance was slow, apps kept crashing and I fell asleep. When I woke up I could no longer see any of my apps. My tablet was also upgrading after rebooting. I think the last thing I did was use AppMgrIII to clear some cache. Even using Link2SD it does not see any files. My play store was slowing down too, then it does not even open anymore so I disabled it and replaced it with factory version.

I plugged my micro SD into my pc and can still see the contents in the fat32 and ext4(with Ext2explore). However I want to save my cache files from the ext4 for one of the apps. Is it possible to isolate the ext4 cache files I need? Or is the SD corrupt.
[Android Apps and Games] vickybonick:
You can try symlinking /data/media/0/WhatsApp to SD card 2nd partition (it is supported) but symlinking folders inside /data/media folder creates issue with the emulated sd card. If you do test it please post the results, if result is positive I'll add it the Apps2SD kedb

Edit: i did a quick test and found fuse doesn't read symlinks, haven't tested sdcadfs but doubt it'll work. One solution could be to symlink /data/media/0 or /data/media itself but that may result in bootloop so have recovery installed if you want to try it
[Android Apps and Games] vickybonick:
Use a linux live cd/image to copy files from the ext2 partition then restore later or you can manually mount the 2nd partition and copy the folder using any root file explorer or terminal emulator
[Android Apps and Games] Muz90:
Hi,

I also keep receiving and error message stating "error in opening zip file" when to restore. My zip file is below 4GB.
[Android Apps and Games] Goutam NB:
Problem Here

I don't know about any other version.

But in v13

1. Linking app to 2nd partition

2. mounting 2nd partition also failed (used every method ~ accept script for recovery mode it is pretty hard)

3. Integrating update to system and converting user app as a system app also failed

NOTE

: Using MIUI 8 KitKat (arm)

xposed is installed..

And all other rom

users like cm , lineage any custom ROM , u can install it(works fine) . It's awesome app ..
[Android Apps and Games] Infy_AsiX:
Hi Vicky. The CPU throttle feature seems to help get my device to hotplug better even when already on a custom kernel. The Throttle Now switch isn't enabled after rebooting although on boot is enabled. Is there an intent I can Tasker or a shell command I can use, unless it's fixable? .

Also I'm starting new on Nougat Magisk and have started using your Folder Mount. The boot up delay for folder remounting seems long? Is is possible to allow an option to reduce or have no delay?

Thanks for the great features and support you provide :cowboy:
[Android Apps and Games] vickybonick:
The Throttle Now button should always be enabled, do you get any error?

The mount script is non blocking so not sure the boot time can be improved.

I'm thinking of exposing some features using intents for automation apps. I've below features on my mind, you can add any other feature you want

Cache cleaner

Cpu Throttle on

Cpu Throttle off

Run Script

Hibernate apps

Fstrim

Task killer
[Android Apps and Games] vickybonick:
Is the zip uncompressed size more than 3 gb?
[Android Apps and Games] vickybonick:
What super user app you use. Seems like system partition is not writable?
[Android Apps and Games] Infy_AsiX:
Nothing in the Error Report. Strange that the other two toggles, on boot and screen off manage to persist through reboot. Stop Apps2SD service setting isn't enabled either.

- Cache cleaner with exclusions considered sounds useful to me.

Thanks
[Android Apps and Games] vickybonick:
That's intended behavior, Throttle Now is not meant to persist after boot. If Throttle on boot is enabled then cpu will be throttled after boot.
[Android Apps and Games] Infy_AsiX:
I see. I thought it would re-enable the Now toggle as well to show it worked. It's a little confusing considering turning it off after it's default is set to boot, would require toggling Now on then off again? Or perhaps just switching off the boot setting will stop the throttling anyway?
[Android Apps and Games] francwalter:
Hello

I am on LineageOS 13 and I want to update to 14.1

Is there an easy way to keep all my linked apps (linked to second partition, ext4) after the new system is up?

Maybe by just re-creating the script?

Or do I need first to save all linked apps, format the second partition (to delete content), restore the apps and link them again after?

The hard and long way?

Thank for hints

Frank

Apps2SD Pro 13.0, LineageOS 13 on SGS4

EDIT 2017-10-26: No answer here, so I guess no solution :( I think best is to backup all linked apps freshly (Titanium or else app) uninstall them so Apps2SD will unlink them and on the new system install and link them again. The hard way.

Strange that this scenario is not programmed by Apps2SD, could be a lot easier.
[Android Apps and Games] Secuential:
Hello. I'm having a problem with mounting the ext4 partition after booting, my apps dissappear after a reboot and I can't manage to make them reappear again. I've tried all types of mounting scripts, reinstalling Apps2SD, the apps are in the 2nd partition because they are using space on it. Also, after booting, I get a message from the app saying "Error! RootAccess denied", but I have root access and Apps2SD too for sure because I've created the scripts and linked apps.

I've searched in this forum and haven't found a solution to it yet... I don't get a message to do a Soft Reboot and make my apps reappear either, but when I soft reboot using the in-app soft reboot option, it mounts the 2nd partition (I can see it in the storage settings of the app) but my apps still won't appear on my device. Not even when I filter linked apps with Apps2SD they appear.

I'm on Marshmallow 6.0.1 rooted using Magisk latest version, stock Samsung ROM, custom kernel to remove conflicting TIMA and other Samsung root conflicting features. I have a logcat but it's too big to upload it, what filter option should I use before saving it to reduce its size and still capture the important thing? Or I cant copy it to Pastebin and send a link (sorry I'm noob with logcats).

Thanks for any help Vicky.
[Android Apps and Games] Muz90:
How i want to see the zip uncompressed? Because my backup apps can't show at restore apps. But i think its more than 3 gb.
[Android Apps and Games] :
Hi all and thank you [MENTION=6726362]vickybonick[/MENTION] for this based app! I've been using it quite some time now.

I'd like to have answered a question that I've been bothered with for quite some time now. Excuse if it's already been answered it's about linking some xposed modules.

The problem is i don't know what exactly to unlink. If i kept these linked to the sdcard the phone hangs in a bootloop. It's strange only some need to be unlinked others work fine and phone boots up being linked so I know it's not exactly xposed but some modules.

It's not a huge issue everything works when I unlink them but I'm just wondering what's going on with that. I'm too lazy to provide logs sorry but I've described exactly what is happening if anyone has some insight or similar problems linking xposed modules with apps2sd I'd appreciate it. Thanks
[Android Apps and Games] Alfa2205:
Hello dev.. I feel my phone freezes alot like 3-10 seconds, it happens so often.. My phone never had a freezes like that before I made a 2nd partition and linking some apps.. What should I do to make the problem disappear? My second partition of sd card is on ext2 btw.. Please help me to solve it, its really annoying when the freeze/hang happens to the phone. Thanks before:)
[Android Apps and Games] param.pjsl:
Folder mount doesn't working well on Oreo. It bind the folders, but after some time, all linked folders disconnected. In app, all pairs are shown connected, but actually they aren't.

Is there any workaround for this, or any alternative working on Oreo??
[Android Apps and Games] mirfatif:
WhatsApp Media downloading but not saving

Tried every possible path for source and destination:

/storage/emulated/legacy/WhatsApp
/sdcard/WhatsApp
/mnt/shell/emulated/0/WhatsApp

and for external sd:

/storage/sdcard1/.WhatsApp
/mnt/media_rw/sdcard1/.WhatsApp

Nothing works.

Fixed SD card write permissions by manually editing

/system/etc/permissions/platform.xml

Also used “SDFix” feature of Apps2SD for the same. Didn't work.

WhatsApp can read from bind-mounted SD card folder but can't write to it. Downloaded media is lost.

---------- Post added at 02:29 PM ---------- Previous post was at 02:15 PM ----------

Symlinking from

/data/media/0/WhatsApp

to

/data/sdext2/WhatsApp

doesn't work either. It looks WhatsApp writes it's external data to

/storage/emulated/

and not to

/data/media

. So there are Read and Write issues. Symlinked data appear in

/data/media/0/WhatsApp

but not in

/storage/emulated/legacy/WhatsApp

. Also WhatsApp doesn't seem to work with symlinked directory.

Bind-mount also doesn't work with second partition (/data/sdext2).
[Android Apps and Games] KazDeth:
I am using an SM-T350 with a system root. I have a purchased version of Apps2SD version 13.0.

All partial linking works except the data folder (cyan color data in graph), folder location of the app shown in the screenshot:

root/data/data/com.netmarble.mherosgb

root/data/user/0/com.netmarble.mherosgb

(this can be fixed by not linking private data folder instead linking root/data/users/0/com.netmarble.mheroesgb/files instead. All apps that store their downloaded data to private location goes to the Files subdirectory. In older versions of Android, this data is stored in the external location but marshmallow puts it in the private location).

(I also believe moving the shared_prefs folder in the private data folder causes issues).

This is the catlog

https://drive.google.com/uc?export=download&id=0B4EBuy-Yq05xa0JiaDUwNnkweFU

This is what happens when loading fully linked apps on Marshmallow.

[IMG="Apps2SD fails to load a fully linked app on 6.0.1"]https://drive.google.com/uc?export=download&id=0B4EBuy-Yq05xMnRlYnQxZVJzLUU[/IMG]
[Android Apps and Games] Infy_AsiX:
Thanks, the Notifiation Remover app works well. The delay is a nice additional feature. I've got a couple of questions. What format is the regex? I tried javascript as is used in NotifyClean Donate but it did not work in your app. I used https://regex101.com/ to select and test a javascript regex.

The other question is rather a suggestion. Does the filter include the notification's Title? Perhaps an extra feature to allow filtering by Title as well? Thanks Vicky.
[Android Apps and Games] crankiro97:
Can you add Oreo support?
[Android Apps and Games] nl3142:
Can you make it so a second partition is not needed as long as the first is ext4/f2fs/etc rather than fat32/exfat as well as add an option to choose the folder where everything is linked to if only a single partition is used (for example, $extsd/.0app2sdlink)?
[Android Apps and Games] The Analog Kid:
Does Apps2SD actually breaks systemless root? Asking because of the "systemless root detected" warning. Also, I can't find the "SD fix" option for 6.0.1 anymore. Is it gone?
[Android Apps and Games] mirfatif:
Breaking systemless root is unavoidable for certain patches / mods like Fix (external) SD permissions. They can't make work without modifying system files, I think. Otherwise Apps2SD seems working with systemless root
[Android Apps and Games] martyfender:
With my Android 6.0.1 tablets, the SD fix is there, but I don't believe it works for Android 6.0.1. I had to use other means to get write permission on the card.

Unfortunately, I don't recall what solved the problem, in the past.

I believe, in my case, it was caused by other issues. One thing I know I did, though, was to install a nandroid backup of my rom with userdata and cache deleted with fastboot commands. This has happened from time to time on my two devices and it is hard to narrow down the cause.

The SD fix may work for you, though. There are some SD fixes listed in the playstore that are supposed to work with Android 6+. They didn't work for me, but may for you. Like I stated earlier, my issue was caused by other, unknown, problems.

---------- Post added at 12:05 PM ---------- Previous post was at 11:16 AM ----------

Vicky, do you recall me corresponding to you about a strange problem where I would loose the mount of my second, ext4 partition, after doze?

A month, or more I solved it, but am not 100% sure how I did it.

For one, I purchase a new Nextbook Ares 8A 6.0.1 x86, which comes with a newer version of the rom that has the same kernel version. The only thing I know that is different with this rom is that it has DISA activation built in. On must enter a one time code from ones purchase receipt to activate it. This activation survives through rom reflashes and from what I have read on the DISA site, it may be stored in the IFWI firmware.

The new tablet initially had the remount problem that the old one had.

I did quite a few things, including multiple reflashes of the original nandroid backup rom, since Nextbook never releases factory roms on their site.

This was purely by accident;

formatted the 32gb card with guid partition scheme with a partition ID of microsoft data partition , in that, fat32 for the first partition, and ext 4 for the second partition.

I don't recall if I formatted the second partition with minitool, or your built in partition tool.

this works great, but did not solve my mount problem.

Android 6.0.1 battery optimization not optimized:

Apps2SD

AutoRunService

External Storage

L Speed.

For a long time I had Apps2SD unoptimized in the battey settings, so I don't believe that was the fix.

I am not certain any of these things above were the fix and I am very hesitent to revert them for fear of breaking it again.

I do have two nandroid backup from the last two states, both working, though.

Like I stated earlier, the GUID scheme was done, purely by accident, because I don't believe your tool would ever use that scheme, would it?

Sorry I don't have better details, as I tried, many, many, things, over a period of months, to solve the issue.

I know that you probably are also stumped about it at this point, but I thought I would bring it to your attention.

The bottom line is that Apps2SD is working great now, 100% of the time.I am now considering purchasing the pro version of this great app.

It still runs great also, on my Nextbook Ares 8, 5.1.1, x86 tablet.

Thank You.
[Android Apps and Games] vickybonick:
You can use the Restore apps(sdext2) option from Link apps 2 SD card menu.

Note: If the apk of an app was not not linked but other components (data, lib, obb etc) were linked then make sure the app is installed to relink these components