yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] theodor.sudarja:
I have my SDcard corrupted twice. It froze the boot screen. This is the seccond time. It always happen after couple of days and couple of Gb linked.

I have to format the card all over again.

I believe my SDcard is legit and working fine. I already using it in the last 2 years. With various activities, and max it out with bunch of files, but never have any problem.

I'm not buying this app yet. Still figuring out what's wrong. As now I am reading http://www.apps2sd.info/kedb.html to find a solution.

Any suggestions?
[Android Apps and Games] phonedriller:
2 years depending on how intense you used the sd card 2 years is quite some time

microsd cards are known to last less than say an ssd, it has an X amount of life hours,or an X amount of right volume (say for exemp:10 tera)

depends on the brand an model

its just an opinion but it sounds like your sd card is giving signs of getting old.

tips:use PC to try a slow sdcard format, it may restore it

if you have a spare sdcard try it and see if the problem persists, it will give you a clue if the problem is the SD or some other random

software problem, hope it helps. :good:
[Android Apps and Games] vickybonick:
I'll update it
[Android Apps and Games] vickybonick:
You can create a Shortcut in Pro version. Free version doesn't support it but may work with 3rd party tools
[Android Apps and Games] ogisha:
I own pro version, but I could not find shortcut that will do that.

I will search further.
[Android Apps and Games] vickybonick:
There's an option in Menu (Create shortcut in Other stuffs option)
[Android Apps and Games] ogisha:
I did it.

Thank you.
[Android Apps and Games] Vano3408:
After installing beta and recreatig successfully mount script with method:

3. I've su.d support on my device / I use Magisk interface

Still got error after reboot:

"2nd partition was not mounted some apps might not be detected. A soft reboot is required to mount. You can fix this issue by recreating mount script with "Advanced mount method"

and linked to sdcard application disappeared..

Please advise solution.
[Android Apps and Games] Vano3408:
Done
[Android Apps and Games] vickybonick:
I'll check it out tomorrow
[Android Apps and Games] vickybonick:
Run below commands in terminal or adb and attach output. Also attach the Magisk installer you used and any special settings in Magisk manager

su
find -name post-fs-data.d 2>/dev/null
[Android Apps and Games] Vano3408:
u0_a273@chagalllte:/ $ su

find -name post-fs-data.d 2>/dev/null <

./sbin/.core/img/.core/post-fs-data.d

1|u0_a273@chagalllte:/ #

Magisk apk and zip to install via TWRP attached. No any special settings in Magisk, Magisk Hide enabled and 1 app ticked to be hidden (mobile banking). I just noticed that in the list of installed modules new entries appeared after mounting script, screenshot attached.
[Android Apps and Games] vickybonick:
Can you attach the output of below commands

su
/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
127|root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

"/root/om0PDH2iJ 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Unzip the attached binary in /cache directory, run below command and attach the output

su
chmod 777 /cache/apps2sd
/cache/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
su

root@chagalllte:/data/data/com.termux/files/home # chmod 777 /cache/apps2sd

root@chagalllte:/data/data/com.termux/files/home # /cache/apps2sd getsuinfo

sh: su: not found

is_magisk = 0

sud_path = /sbin/.core/img/.core/post-fs-data.d

pathExists = 1

"/root/om0PDH2iJ 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Do the same with this binary and attach output
[Android Apps and Games] Vano3408:
root@chagalllte:/data/data/com.termux/files/home # chmod 777 /cache/apps2sd

root@chagalllte:/data/data/com.termux/files/home # /cache/apps2sd getsuinfo

sh: su: not found

data = NULL

is_magisk = 0

sud_path = /sbin/.core/img/.core/post-fs-data.d

pathExists = 1

root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Try this one
[Android Apps and Games] Vano3408:
root@chagalllte:/data/data/com.termux/files/home # chmod 777 /cache/apps2sd

root@chagalllte:/data/data/com.termux/files/home # /cache/apps2sd getsuinfo

"/root/om0PDH2iJ 1 /sbin/.core/img/.core /sbin/.core/img/.core/post-fs-data.d"root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Now it's fine. I'll build apk and attach in few minutes so you can test
[Android Apps and Games] vickybonick:
Install the apk, Recreate mount script, reboot then report the result
[Android Apps and Games] Vano3408:
Still got error after reboot:

"2nd partition was not mounted some apps might not be detected. A soft reboot is required to mount. You can fix this issue by recreating mount script with "Advanced mount method" mount method....
[Android Apps and Games] vickybonick:
Send the device info from app again
[Android Apps and Games] vickybonick:
Can you clear Apps2SD data then Recreate mount script, reboot and report
[Android Apps and Games] Vano3408:
after clearing data I cannot run APP now - "License check fail"....
[Android Apps and Games] vickybonick:
pm me the email id you use to login to play store, I'll add it to beta tester list
[Android Apps and Games] vickybonick:
Try now. Also attach the output of below command

/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
Same error after reboot:

"2nd partition was not mounted some apps might not be detected. A soft reboot is required to mount. You can fix this issue by recreating mount script with "Advanced mount method" mount method....

Output of the command:

root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

"/root/GN.WnLXYV 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Can you copy the last binary i sent to below directory and set permission to 777, recreate mount script, reboot and report again also attach the output of same command (/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo) after copying

/data/data/in.co.pricealert.apps2sd.pro/app_binary
[Android Apps and Games] Vano3408:
root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

"/root/BEwwXcmh7 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
did you copy /cache/apps2sd to /data/data/in.co.pricealert.apps2sd.pro/app_binary

can you run /cache/apps2sd getsuinfo and attach output again
[Android Apps and Games] Vano3408:
Yes I copied apps2sd to /data/data/in.co.pricealert.apps2sd.pro/app_binary, but I deleted it from /cache/...

I copied back now same apps2sd to /cache, recreated mount script, rebooted (still same error after reboot) and run commands, here is output:

root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

"/root/GqQ7c9VMv 1 /root "root@chagalllte:/data/data/com.termux/files/home #

root@chagalllte:/data/data/com.termux/files/home # /cache/apps2sd getsuinfo

"/root/GqQ7c9VMv 1 /sbin/.core/img/.core /sbin/.core/img/.core/post-fs-data.d"

root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
extract the attached binary in /data/data/in.co.pricealert.apps2sd.pro/app_binary and /cache folder set 777 chmod and run the commands

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

/cache/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
ok, will do that in a min.

Just want to add that in APPS2SD Settings under "Set su.d/post-fs-data.d/service.d path" I have "/magisk/.core/" if it is important to know...
[Android Apps and Games] vickybonick:
Yes, clear it
[Android Apps and Games] Vano3408:
su

root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

command = /sbin/su -v

data = NULL

"/root/GqQ7c9VMv 1 /root "

root@chagalllte:/data/data/com.termux/files/home #

root@chagalllte:/data/data/com.termux/files/home # /cache/apps2sd getsuinfo

command = /sbin/su -v

data = 16.0:MAGISKSU (topjohnwu)

return = MAGISKSU (topjohnwu)

"/root/GqQ7c9VMv 1 /sbin/.core/img/.core /sbin/.core/img/.core/post-fs-data.d"root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Can you disable Magisk hide and run

/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
Magisk hide disabled, rebooted, run above command:

root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

command = /sbin/su -v

data = NULL

"/root/Nh7FJVHI7 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
Are you using official Magisk version? I don't see any check for /data/data partition in Magisk github
[Android Apps and Games] vickybonick:
There are two options to move an app:

1) Native App2SD: This is an android feature, Apps which specify installLocation as auto or external can be moved to sd card(1st partition) using this option. Only apk and lib are moved by this option. If an app doesn't support this option Apps2SD can do a force move. System apps are not moved using this option

2) Linking apps to 2nd partition: When this option is used(Purpose of Apps2SD) the files are moved to sd card 2nd partition and a symlink is created in the original location. A symlink is used for(Apk, odex, dex, data and lib files), for obb and external data bind is used. When you link an app everything is done automatically no need to do anything else. Hope it helps
[Android Apps and Games] Tech 4 9:
Is there a way visually see a moved app AND its simlink so I can move a app...find it wherever it is...find its corresponding symlink...wherever it is...so I can see what is actually happening?

I'd love to try a move a app or two right now with your guidance but if I softbrick again I'll be down for couple of hrs....and scraping my face off with a dull spoon.
[Android Apps and Games] vickybonick:
Don't link google apps/services, it creates a lot of issue.

System apk can't be moved

The checkbox which are not applicable will be disabled. It's for your own good.

You can move whatever is checkable

Reboot is not required unless asked by the app
[Android Apps and Games] vickybonick:
The app detail page shows it. Green means sd card, Blue means Phone, Red means internal, Green with a link means linked/bound to sd card.
[Android Apps and Games] Tech 4 9:
Wow...good info thanks. But here's my point. Supposedly, I've moved adobe acrobat to SD card...but I can't prove it. It says it but I can't find it anywhere. How do I confirm this?

---------- Post added at 01:51 PM ---------- Previous post was at 01:46 PM ----------

When I click on "link external data folder" it askes me which partition? Why am I choosing a partition when the instructions say that when we link a app app2sd "does everything automatically"...so which partition do I choose and why?
[Android Apps and Games] vickybonick:
You can use ES file explorer to see. It'll show a symlink in original location.

/data/data/{{packagename}}

/data/app/{{packagename-[\d+]}}/*

etc

Since external data and obb reside in a fat partition it can be moved to either 1st or 2nd partition. It's a choice given to user(similar to what you want to link). 2nd partition is the default
[Android Apps and Games] Tech 4 9:
And, when we use partitioning tool there lots of reference to "2nd partition" when (in my experience) I'm not even messing with the "2nd partition" box and when I tried it was only adjustable to 1000 MB. So is the reference to "2nd partition" ACTUALLY talking about partition 1? And why is that unnecessarily convoluted to begin with?
[Android Apps and Games] vickybonick:
2nd partition is 2nd partition.
[Android Apps and Games] Tech 4 9:
Then how are people setting 2nd partition to 5g when mine maxes out at 1000MB?

---------- Post added at 02:07 PM ---------- Previous post was at 02:02 PM ----------

There nothing associated with Adobe Reader in either emulated data or extsd data.

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

OK...figured it out...the title of each partition box is UNDER it...not above it.
[Android Apps and Games] vickybonick:
check in /data/sdext2, /data/sdext2/data
[Android Apps and Games] MisiekDP:
I used Link2sd. Is good too.
[Android Apps and Games] Tech 4 9:
So what would say would happen if a guy moved a user app to extsd...and THEN tried to link it? Pandemonium?
[Android Apps and Games] vickybonick:
Apps2SD won't allow it. It'll disable the option
[Android Apps and Games] Tech 4 9:
Yeah...so I just learned with another brick. But then after restore I tried again making sure to link (user) app before moving. It looked like it went smooth. Said it was linked. Then like 60 to 120 seconds my wallpaper went black. UI is still there but barely responds. Then reboot...bootloop...batt pull and restore.

Done. Waiting for video.

---------- Post added at 08:27 PM ---------- Previous post was at 08:23 PM ----------

To be clear about the link after move...it did not stop me. I moved it then linked it. Softbrick. And it wasn't even a system app. I did however notice this time when linking it first that ALL the check boxes in link/unlink screen were available this time. Ambiguity.
[Android Apps and Games] vickybonick:
link -> move is not restricted, move -> link is restricted. There are many apps including Android which support move to sd. It's upto the user.
[Android Apps and Games] Tech 4 9:
....my point was....it allowed it. It happened. I moved it...then linked it. Softbrick. But then it also softbricked when i did it right (supposedly). I linked it THEN moved it.

---------- Post added at 09:48 AM ---------- Previous post was at 09:42 AM ----------

Wait..i thinki understand what you meant. If you link FIRST, all the check boxes are available but if you move first, number of checkable boxes is "restricted" (read--limited)
[Android Apps and Games] Ceahorse:
guide?

is there a walk-through guide to using this for noobs like me?
[Android Apps and Games] vickybonick:
I'm making a new video tutorial, please wait for it.
[Android Apps and Games] Ceahorse:
share

.. Ok.. will ill you be just posting a url here. or will ll share it someother way?
[Android Apps and Games] vickybonick:
Here, Play store and @ http://www.apps2sd.info
[Android Apps and Games] vickybonick:
Extract the binary in /data/data/in.co.pricealert.apps2sd.pro/app_binary and run the command

/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo
[Android Apps and Games] Vano3408:
I don't know about existence of unofficial version, I downloaded it from XDA respective theme:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

root@chagalllte:/data/data/com.termux/files/home # /data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd getsuinfo

command = /sbin/su -v

data = NULL

Error: Permission denied

"/root/Nh7FJVHI7 1 /root "root@chagalllte:/data/data/com.termux/files/home #
[Android Apps and Games] vickybonick:
well same binary runs fine from /cache but errors when run from data directory. Perhaps Magisk has a check. I'll try to flash the one you attached earlier and see if I can replicate the issue
[Android Apps and Games] Vano3408:
Will wait. thank you.

---------- Post added at 03:57 PM ---------- Previous post was at 03:55 PM ----------

Just want to add that I have your app also installed on my Sony D6633 smartphone running MM6.0.1 with same Magisk version and all works fine...
[Android Apps and Games] Vano3408:
BTW, when I clear it I cannot recreate mount script as got this error:
[Android Apps and Games] vickybonick:
delete the below file, set su.d path as /sbin/.core/img/.core/post-fs-data.d recreate mount script, reboot, it should work

/data/data/in.co.pricealert.apps2sd.pro/app_binary/apps2sd
[Android Apps and Games] Vano3408:
Deleted. Same errorr...
[Android Apps and Games] vickybonick:
Check my edit
[Android Apps and Games] Vano3408:
Yes, now mount script recreated, but same error after reboot:

2nd partition was not mounted some apps might not be detected. A soft reboot is required to mount. You can fix this issue by recreating mount script with "Advanced method" mount method
[Android Apps and Games] vickybonick:
Send device info again
[Android Apps and Games] Vano3408:
Sent
[Android Apps and Games] vickybonick:
I'll check later
[Android Apps and Games] AllenSalar:
Hi, does APPS2SD 'cause a Kernel Panic?

It seems like when I hit a certain size, my phone goes into Kernel Panic.

I have a 128GB Samsung Evo MicroSD.. Using 100GB as Fat32 then the rest as ext2.
[Android Apps and Games] vickybonick:
Anyone having soft reboot issue with Magisk try the attached beta and let me know the results
[Android Apps and Games] Vano3408:
Installed this beta, rebooted, same error..

2nd partition was not mounted some apps might not be detected. A soft reboot is required to mount. You can fix this issue by recreating mount script with "Advanced method" mount method
[Android Apps and Games] vickybonick:
Is there anything set in su.d path?
[Android Apps and Games] Vano3408:
/sbin/.core/img/.core/post-fs-data.
[Android Apps and Games] vickybonick:
Clear it then repeat the process
[Android Apps and Games] Vano3408:
Dear Vicky, seems finally you did it.... Thank you very much for your obstinacy and support. I will start now linking more apps to SD and will report if something will go wrong...
[Android Apps and Games] phonedriller:
Nice vicky rules :highfive:
[Android Apps and Games] gothicVI:
[MENTION=6726362]vickybonick[/MENTION] with today's magisk beta update apps2sd is no longer able to mount the second partition of my sdcard using the I have magisk support option.

The su.d/post-fs-data.d/service.d path is not set (never was from my side) but it finally worked using the advanced option of creating the mount script combined with a soft reboot.

Running apps2sd 13.7 pro, magisk 16.3(1630), manager 5.6.4(112) [beta channel of magisk] on laos 14.1 (security patch level 05.03.2018), device thea.

Let me know if I can provide any further information or logs in order to solve the issue.

Thanks for your awesome work!
[Android Apps and Games] kgursu:
Same here on Asus Zenfone 2 Laser 5 (ZE500KL). All recreation attempts resulted with no positive outcome. Downgrading to version 16.0 also didn't help. What to do?
[Android Apps and Games] vickybonick:
Install the below apk. Clear custom su.d/post-fs-data.d path in settings, Recreate mount script using su.d/post-fs-data.d option then reboot and report

https://xdaforums.com/attachment.php?attachmentid=4456629&d=1521916196
[Android Apps and Games] tunjicool:
SD Mount errors

hi everyone,

I was able to create a second partition and use Apps2SD on my 16gb card before using minitools. I tried using my 32gb being that the 1st partition of 10gb on 16gb TFT no longer takes my data but it fails with "mount: mounting /dev/block/mmcblk1p3 on data/sdext2 failed: invalid argument"

when i tried using the app itself to do the partitioning, it creates 1 fat32 and 2 GPT file systems (when viewed in minitools) instead of the 1 fat32 and single ext4 I chose.

I have been following lots of info on this thread and what came to now is "is apps2sd TFT card specific and does it require a class of sd card to work".

please, i need support on this so i can informed.

i did the same process that made the 16gb work and also on the same phone, so why is the 32gb TFT card not mounting using the same app?

=====Update=====

I tried also with GPart and the following screenshot was taken after creating partitions.

[IMG="gpart screenshot 1"]https://www.4shared.com/s/fborwwW2kei[/IMG]

[IMG="gpart screenshot 2"]https://www.4shared.com/photo/Yj1Iu5zAei/IMAG0002.html[/IMG]

[IMG="gpart screenshot 3"]https://www.4shared.com/photo/14YGVyjrei/IMAG0003.html[/IMG]

[IMG="gpart screenshot 4"]https://www.4shared.com/s/fuevSrrSzca[/IMG]

I guess the SD card does not support 2 partition because in all cases, any partition except the 1st partition gets error alert.

But the partiton is available when viewed via Apps2Sd storage information link.

I sincerely need a thought or two on this.

Thanks.
[Android Apps and Games] pgorod:
I installed Beta3.

In "About" it says:

Version name: 13.8 beta 3

Version code: 140

DB version 45

I still can't get Apss2SD to work.

When recreating mount script, if I use su.d option, it complains about the missing path. If I add the path in settings (I used /magisk/.core/post-fs-data.d), it recreates the script, but then on reboot gives that message "Continue? 2nd partition was not mounted, soft reboot required to mount, you can fix by recreating with Advanced method".

If I use Advanced method, it seems to work, but then the boot freezes on the initial "Samsung" screen. I have to go into recovery and do this (as advised by Vicky in a PM) to be able to boot again:

cd /system/bin
cp -a vold.original vold
restorecon vold

What else can I try? Thanks!
[Android Apps and Games] zdoe:
well, here's the thing: moto g5, stock.

folder mount works sometimes, other times it claims to work but doesn't - as in, it reports the mounts/links are done, but the resulting target folders are not writable.

used it for a few months - seems i have more trouble recently than what i used to.
[Android Apps and Games] vickybonick:
Set below path in Settings, recreate mount script and reboot then report

/sbin/.core/img/.core/post-fs-data
[Android Apps and Games] martyfender:
On Android versions 6 and greater, it is normal for the partition tool to create three partitions. You no longer can use Minitools to do this because it can't create the metadata partition used by Apps2SD.

On my devices I have a first, FAT32 partition, a second, metadata partition and a third, ext partition, just as you described. The whole card is using the GPT partition scheme, instead or the older, MBR patition style and that is normal on newer Android versions than 5, for Apps2SD to work properly.

---------- Post added at 05:24 PM ---------- Previous post was at 05:01 PM ----------

In the Magisk 16.3 beta, I notice this in the release notes:

"Remove Backward Compatibility Symlinks

The paths of some static files have been moved to secure directories for quite some while. I've added symlinks to reduce breakage at that time, but it also introduces a ton of dirty workarounds into the hiding mechanism. The module template was already updated with these changes for over 4 months, I think it is about time to remove these symlinks."

Could this be the reason now for errors?

I also had an error when trying to recreate my mount script:

Error!

Unable to determine su.d path, you can set the "su.d/post-fs.d/service.d" path in settings and try again.

This is on the stable Apps2SD Pro. I have not tried the beta 3 yet.
[Android Apps and Games] pgorod:
I tried that path and used the 3rd method (su.d + magisk) and I had the same result as before: creates the script, I reboot, then I get the "continue?" message.

I didn't try the 4th method this time (Advanced) because I am under the impression that's not what we're trying to fix here.
[Android Apps and Games] vickybonick:
Search for post-fs-data.d folder in your system using root explorer and attach the output. Tomorrow we can debug the issue