yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] martyfender:
Here the location on my system:

/sbin/.core/img/.core for the mount: apps2sd-mount

I tried setting your above location in settings, Set su.d/post-fs-data.d/service.d path and I still get the error.

I notice my old apps2sd-mount is in /sbin/.core/img/.core an old 00000000apps2sd-main.sh is there, also there is also an old 00000000apps2sd-main.sh and a apps2sd, no extension file there.

In addition there is an old 00000000apps2sd.sh in /sbin/.core/img/.core/post-fs-data This is all on the stable release.
[Android Apps and Games] pgorod:
So I went into a terminal and searched all over:

find / -name post-fs-data* 2>/dev/null

and I got this result:

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

which is basically what you had suggested before, but with a ".d" at the end (I guess you just forgot that part).

So I tried recreating the script and rebooting. I still get the "Continue?" question. However, previoulsy, answering Yes or No made no difference here: nothing happened. This time, when I pressed Yes, it actually did soft-reboot as promised.

But I still go into Partition Manager and see my 32GB card listed as a 679.7MB. Note that I am not yet trying to link any apps or check if any linked apps are running - on this device, I am just starting Apps2SD setup, and I haven't tried any of that because I wanted to make sure it's seeing my Card and partitions first (AParted has no trouble seeing my card and formatting it).
[Android Apps and Games] tunjicool:
Thank you for your reply.

I sincerely believe the issue with mine is a "cheap card". I used both SD Cards (16 and 32GB) on the same phone, App and method but only the 16gb worked.

I notice the partitions became GPT partition after I used it on GParted application. It has this "yellow triangle" warning signal on the SD card partition whenever I create more than one partition.

In fact, it was giving same error on subsequent single partition afterwards until i used "SD Formatter" to format the disk.

I have returned to my 16gb card and equally ordered for a "better" model of 32gb SD card to further test with.

I guess I'll be putting disk space (ROM) into consideration when buying new phones.
[Android Apps and Games] _glook:
Hey all, I've been trying to browse this thread, but I haven't been able to exactly find the answer I'm looking for., though there's a lot of posts that get close.

Basically, whenever I start my phone from reboot (happening a lot recently due to other ongoing issues) or when I try and use "Remount Second Partition", I get the error message "mount: mounting /dev/block/vold/public:179_66 on data/sdext2 failed: invalid argument". This is similar to what a lot of other people are seeing, but the reasons for me are different. FOR ME, this is happening because Android (I'm using Nougat) automatically mounts any partition on the external SD card before apps2sd can get around to mounting it itself (the particular partition I care about is /dev/block/vold/public:179_66). Since it can't mount it, apps2sd fails.

My workaround is to do either of the following:

* Go into a terminal emulator, do "su" to get root access, then type in the command "umount /dev/block/vold/public:179_66", which unmounts the second partition. Then I go into apps2sd and click on "Remount Second Partition", which now succeeds (I then do a Rebind of library and external folders for good measure).

* Or, I go into Android Settings, Storage, then eject the second partition from there. I go back into apps2sd and do the remount of the second partition (and rebinds).

My question is, do you all know of a way to automatically eject or umount the partition so I don't have to do this each time I boot my phone? The things I have tried:

* Trying to find some sort of settings in Android itself to not mount that partition (couldn't find it in Android or using Google).

* Put the umount command in /data/local/userinit.sh to run it on boot (my guess is the timing doesn't line up).

* Put the umount command into /etc/00000000apps2sd-main.sh.

* Put the umount command at the top of /data/apps2sd/apps2sd-mountscript-2.sh.

Anybody have any other suggestions? Thanks!
[Android Apps and Games] theodor.sudarja:
I bought a New SD Card

Found the culprit. Just knowing the problem is actually my Card.

Last week, the Card finally broken, tried to re-format but unresponsive by any method of access, PC and or Android.

I never had my Card broken before. I have used many Cards in my life.

I bought myself a New SD Card.

So now, I'll start using Apps2SD with a new perspective. And hope it will serve the purpose.

---------- Post added at 12:58 PM ---------- Previous post was at 12:47 PM ----------

I am trying to do Folder Mount in Symlink. I'm having dificulities finding the linux partition in my external Card. Where is the folder? I need info on the folder path.

---------- Post added at 12:59 PM ---------- Previous post was at 12:58 PM ----------

I am trying to do Folder Mount in Symlink. I'm having dificulities finding the linux partition in my external Card. Where is the folder? I need info on the folder path.
[Android Apps and Games] phonedriller:
Its in your internal storage data/sdext2. (Folder)

Its kinda linked to your internal so the system thinks its an internal space i guess
[Android Apps and Games] vickybonick:
Open Apps2SD, goto Error Report screen, set your email id and send device info from menu
[Android Apps and Games] vickybonick:
Install beta 3 , clear custom su.d path in settings, recreate mount script, reboot and report the result
[Android Apps and Games] pgorod:
Ok, done. If you need any extra info, or logcat, or any commands for me to run from Recovery, just ask. I really need to get this solved to finish setting up my phone. Thanks for your efforts helping me out.
[Android Apps and Games] Prowler:
Hi, after a long time using using this awesome tool today I have my first headache. After an reboot from magisk post module installation I noticed that a lot of applications which I had been linked to the sd, just gone from app drawer. I went into apps2sd and popup said that the second partition was not mounted and that I needed a quick reboot to reassemble, then I accept, phone quick reboot and the applications still without appear but I noticed that they were not suddenly uninstalled because the available space didnt change. Plus, the .obb attached works just fine, only the apks dissapear. Is there any solution other than reinstalling all?
[Android Apps and Games] vickybonick:
There's a permission issue. run below command as root in terminal, recreate mount script, reboot and report

chmod 777 /data/user/0/in.co.pricealert.apps2sd.pro/app_binary/*
[Android Apps and Games] pgorod:
SWEET!!!! This worked, finally! :laugh:

I had to clear the su.d path from settings.

Now Apps2SD recognizes my partitions correctly in "Partition tool", and links apps well, and has no problems on reboot (except that bogus Android message about "corrupt SD card", but that is something I can simply ignore).

Thanks a million. Maybe you want to include an extra check in Apps2SD for this kind of situation. I don't think I did anything special about my permissions, somehow Android just left them that way...
[Android Apps and Games] aseferfan:
Bought the App2sd pro version :)

Has a lot of tools which are not very useful to an average user HOWEVER, one tool that i would really like the addition of is, an APP auto-start manager, My device has too many apps which auto start at boot and i would really like to control them.

Thanks :)
[Android Apps and Games] xSirk:
Hi, I was using Link2SD till today because suddenly stopped working and I can't create the mount script successfully ( all my apps are gone :/ ). Then I saw a video where a guy that had my same problem used Apps2SD to solve it, so I'd give it a try but I can't make it work.

After trying to recreate mount script with Apps2SD I'm getting these errors:

mount: mounting /dev/block/mmcblk1p2 on /data/sdext2 failed: Unknown error 200

mount: mounting /dev/block/vold/179:66 on /data/sdext2 failed: Unknown error 200

Can you help me please?

Edit:

LG-D722p

Android 5.0.2

I ran on terminal emulator...

root@jagnm:/ $ mkfs.ext2 /dev/block/mmcblk1p2

k_shell/10139:17172: mkfs.ext2: not found
[Android Apps and Games] Swampat:
I need help every time I link an app to the SD card and reboot my apps are gone and I have to reinstall them.
[Android Apps and Games] patrickdrd:
what can I do when apps2sd is stuck in please wait checking for root access after boot?

when it does that I noticed it soaks my memory and makes my phone unresponsive!

only solution I have found is to restore from a previous titanium backup and recreate mount script afterwards,

but I don't want to go through that procedure again,

are there any other solutions?
[Android Apps and Games] vickybonick:
Is the cancel button shown? If yes then cancel it and open the app again
[Android Apps and Games] patrickdrd:
yes it is,

I pressed it, reopened app and nothing happens,

after a long wait it opened before the last boot and

I even converted the app to system app from the menu,

but still hangs there

I got a toast message saying that it managed to relink my apps though

---------- Post added at 22:17 ---------- Previous post was at 22:13 ----------

I read other people's problems here about this one and because

I installed a couple of applications lately too (and moved 5-6 of them to sd),

I just wiped cache in recovery

---------- Post added at 22:55 ---------- Previous post was at 22:17 ----------

I deleted dalvik and it didn't work either, after reboot my memory was soaked and I'm doing a full restore now

I think root rights granting has become a bit slow
[Android Apps and Games] Hemphiz:
+1 I also have this problem. Link 2sd works. Mine doesn't even usually pass the "checking for root phrase" when using supersu. if I use magisk my device completely freezes. Maybe an issue with dm-verity?
[Android Apps and Games] patrickdrd:
I managed to pass it but it too a long time, and as I said device became a bit slow in granting root rights, maybe I've moved too many apps? I'm at over 20 at the moment
[Android Apps and Games] patrickdrd:
responsiveness improved after converting supersu (at least tried, I don't think it was successful) to a system app,

apps2sd to system app (this one was successful and I read it's better this way - better (and faster maybe?) way of handling) and

unistalling icebox I was using to manage frozen apps

and of course, last but not least, chrome responsiveness seems improved after moving it to internal

(compared to sd it was before)
[Android Apps and Games] ogisha:
Are you sure that your external sdcard is not slow or damaged?
[Android Apps and Games] patrickdrd:
yes I am because it works fine now
[Android Apps and Games] vickybonick:
Version 14.1 released in play store and attached in OP

Changelog:

Fixed mount script issue for Magisk

Added SDFix, Throttle and Unthrottle CPU widget options [Pro]

Updated translations

Added app process priority check in App hibernation

Added option to hide pair ID in Foldermount list

Simplified copy/move/restore options in Mount/Unmout/Delete actions for folder mount pairs

Added option to select card(s) in SD card booster

Added option to select past custom folders in App backup dialog

Fixed issues in App restore function
[Android Apps and Games] martyfender:
I have been using the unofficial versions of Magisk which contain [MENTION=4470081]topjohnwu[/MENTION] 's latest commit for several months without issue.

https://github.com/kantjer/MagiskFiles

topjohnwu's latest commits, which are in the lastest version I downloaded from above on Sunday:

https://github.com/topjohnwu

There were major refactors in sepolicy in these commits.

On three of my devices of the same hardware as in my signature when I updated to the latest two versions released yesterday and today, when I launch Apps2sd I get a continuous checking for root access that never completes. I tried deleting the apps data and cache and also uninstalling and reinstalling to no avail.

All other root apps work just fine, gaining root access. I also tried uninstalling and reinstalling a couple of older versions on this site of the pro version, to no avail. Do you have any Ideas?

Attached is a logcat filtered for Apps2sd run after launching the app.

Thanks
[Android Apps and Games] :
Is your magisk hide enabled, check if you can install apk(app not installed error?)

Then try:

Try disabling magisk hide and reboot and re-enabling magisk hide and reboot, then I guess things well start working ,I hope this helps
[Android Apps and Games] martyfender:
Thanks for the tip, unfortunately, that didn't work for me on one of my 4 devices with the same hardware.

On one one of my devices, reflashing the unofficial Magisk in twrp solved the problem. On a second device I had to reflash a rom, twrp version I backed up, when new,with deleted userdata and cache and setup as new for it to work, with the stable, v16.0 of Magisk.

On a positive note, since I have been using Magisk, since about the first of the year, starting with v15.1 this is the first time I have had problems with it, even all of the unoffficial versions I have installed.

I only encountered problems after I updated Apps2sd to versions 14.0 and 14.1.. I had no problems even with the 1.38 beta 3. All of my problems seemed to have occurred after updating.

How could updating, triggered this issue? Or was it just a coincidence, on more than one device? Strange.

UPDATE: On the device I sent the logcat for, reflashing the official 16.1 beta both and updating to to current 16.3 official beta, Apps2sd is granted root access.

I am tempted to now try the unofficial just to test to see if it still has the problem, but then again, I may just wait. I am one who like to test leading edge and find bugs, in the hope of improvments in future builds. I am a glutton for punishment, in that regard.

UPDATE 2: I just uninstall the beta Magisk Manager, since the unofficial Manager is signed with a different signing key, rebooted to TWRP and flashed the latest unofficial build 180415 and now Apps2sd is granted su access as usual. I am at a loss as to what got corrupted on that device, but now it is working as expected. Go figure?

UPDATE 3: I do get the a: the second partition can't be mounted, a soft reboot is required. Instead, as always, I remount the second partition, restore the app, at which point it is partially linked, so I, as usual, relink the app, GT Racing 2, Real Racing and all works again.

This problem seem to be a re-occurring issue for me on all of my devices. I haven't tried the advance mount script recently, as I assume it modifies the system partition? I have no need, but I am trying to maintain the systemless root as this device passes Safety Net and Google Play Store certification with Magisk Hide enabled.

UPDATE 4: I am reverting back to the latest official beta 16.3 as I just received a notification that Magisk is not installed with the unofficial version. I am assuming the problem may be in the latest commits. My guess is this version will work now, but I will post an update if this problem occurs again in the beta. What a day and night this has been!
[Android Apps and Games] Cloud-Strife7777:
Hi

Phone:

I am running Magisk 16.3 on Linage OS 14.1 2018-04-20 Jfltexx and I using the latest version of app2sd pro.

Cause of Problem:

I was using apps2sd pro and it was working fine until I updated Magisk to version 16.3 which broke the mount script and caused all of my linked applications to disappear both from the phone and from the apps2sd "link an app to sd card" list. It was annoying but not mission critical so I left it for a bit.

Current Goal:

It is my understanding that the all of the linked applications are still intact on the secondary partion on my sd card and it is simply the linkages that are broken. My goal is to try and rebuild the mount script and recover the linked applications that were lost (if possible).

The broken application cleaner detects several gigabytes of lost applications but if I use that tool it will simply delete the applications instead of trying to repair the links.

I have just downloaded the latest version of apps2sd which has been updated to work around the issue caused by the last magisk update. I have tried recreating the mount script which reports that it was successful, as well as fixing the permissions on the second partion but it has not brought back my lost applications, is there any way of bringing them back ?

Suggestion:

Is there any way of adding a file manager to apps2sd or a way of seeing the raw contents of the second partion ? When apps2sd works it works like a charm but if something ever does go wrong and apps2sd cannot detect the linked applications. It feels like they are to be lost down an opaque rabbit hole and it feels rather difficult to get a sense of what is on the second partion and what is actually going on. If feels too hidden and invisible, With a file-manger and a file editor it becomes instantly evident what’s on the second partion and it may be even possible to manually repair the linkages if the user knows what they are doing. (Just a thought)

Solution !?:

I found a Solution and I am posting it for anyone else with the same problem Under the link apps to sd card list, expand the menu on the top right comer (the one with 3 dots) there is an option to restore apps(sdext2) it will scan for broken applications and attempt to fix them. It runs for a long while but it does appear to have worked. (it's subtle and easy to miss menu item) I can totally see many people panicking and saying "OH my god where are all my apps not being able to find it", perhaps consider putting it beside the broken application cleaner on the first page ?)
[Android Apps and Games] martyfender:
Yes, the restore apps function usually works for me when this happens, however, for me this problem occurs much to frequently with my 4 devices.
[Android Apps and Games] vickybonick:
I'll add the option in main activity above Broken app cleaner
[Android Apps and Games] martyfender:
Just saw that [MENTION=4470081]topjohnwu[/MENTION] made a new commit today:

"Forgot to update the default file secontext"

I wonder if this could have caused the problems I experienced with the unofficial build.

Once [MENTION=3306843]kantjer[/MENTION] release a new build I will install it and see if I still have problems with it and report back if I do or don't.
[Android Apps and Games] martyfender:
Apps2sd is once again working great with the latest 2 [MENTION=3306843]kantjer[/MENTION] unofficial builds of Magisk, 180421 and 180422.

It is gaining root access and the 2nd partition is remounted at boot, once I recreated the mount script.

I see in the changelog you reverted to BusyBox 1.28.2. I have YDS 1.28.3 installed. Should I keep: use pre-installed BusyBox turned off in settings? I normally have it turned. I have not experienced a segmentation fault, yet.

UPDATE: I spoke to soon. I eventually lost root with those 2 unoffical Magisk builds so I reverted to the official v16.3 beta with no issues yet in about 24 hrs. To be safe, I also reverted to YDS Busybox 1.28.1 as he didn't release a 1.28.2 build.
[Android Apps and Games] vessto74:
Hello! I need your urgent help! I used broken apps cleaner on my Lenovo A1000 which SD is not managed with Apps2SD. I did this before with no probs, it cleaned successfully both internal and external SD without it to be linked with A2SD. But this time after the reboot my phone doesn't recognize the SD nor can activate it. I removed it and put again, made soft reboot yet it is not visible and can't be activated. It has so many apps on it, I don't wanna lose it. It might happen bc I used A2SD or just be a coincidence but if you have idea how to bring back my SD and all moved (in the usual way) apps on it I'd be extremely grateful!
[Android Apps and Games] gothicVI:
Is it still recognized on a computer?

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android Apps and Games] vessto74:
It says it doesn't recognize file system and that I need to format the disk so to can use it. Is that mean a total loss? :crying:

In Disk Management I see it is RAW.

That card makes a second failure. I'd never buy Team SD card again.
[Android Apps and Games] vickybonick:
Try the Repair option in Apps2SD partition tool
[Android Apps and Games] vessto74:
It recovered but now it says card is empty or unreadable. The same failure as before. Most likely it was a coincidence with now happening after cleaning with A2SD. Need to find a recovery for this issue.
[Android Apps and Games] vickybonick:
Probably the card is dead or partition is corrupted beyond repair. See if you can mount/repair using a pc and recover the files
[Android Apps and Games] martyfender:
[MENTION=6726362]vickybonick[/MENTION] In a few posts back, I had wrote about having problems with the most recent 3 unofficial builds of Magisk, where I get a Magisk is not installed message. I reinstalled the offical beta 16.3 and have had no issues since.

On one of my 4 devices I decided to try the unofficial lastest version again v16.3 180422. Each time, the same issue happens and is consistent. upon install all apps have root with no issues for some time. However, if I launch Apps2sd once, then it is granted root. If I then close it and launch it again, I get an orange message that root is needed. If I then launch the Magisk Manager it states that Magisk is not installed. I tried this quit a few time and it seems to be consistent. Root is maintained for all apps until Apps2sd is launched again. a reboot fixes it again until the trigger by the launch of Apps2sd.

What is it about Apps2sd that triggers this, that my other root apps don't seem to cause?

Thanks
[Android Apps and Games] vickybonick:
Well it's not an Apps2SD issue. Apps2SD just does a su request
[Android Apps and Games] wenazo:
SD write only

After the app crased, my sd card is on read only, i've tryed the diskpart solution, regedit, and others and nothing happened, please help :c

edit, is on read only
[Android Apps and Games] mielletseed:
really WRITE only? :laugh:

my sd card was read only for some days, I fixed it by correcting some file system errors (I used fsck.fat within TWRP).

good luck
[Android Apps and Games] wenazo:
read only!! thx for the correction :fingers-crossed:

how i do the fsck.fat thing?? thx
[Android Apps and Games] vickybonick:
You can try the repair option in Apps2SD partition tool. Change the lower left dropdown from create to repair and select the partitions then press ok/yes
[Android Apps and Games] Lemmi1:
In my Smartphone (Samsung Galaxy S5 Neo, Android 6.0.1), I have an 128 GB SD Card, formated in exFat. Half of the SD Card is full with datas.

Can I shrink the partition and make an extra partition without data loss? In former times there was a tool called Mini Tool Partitions Wizzard, that worked with FAT formatted partitions, but it don't works on exFat. With this I could change partitions without any data loss in older times.

Is there a tool out, that works with exFat partitions?

If it works, must I make the 2nd partition in ext4 and must I make this partition as "active"/primary or just make a second partition and it should work? I thought about 20 GB of this second partition, hope it is big enough then.

Maybe someone here can help me.
[Android Apps and Games] jhagrid77:
I was wondering if anyome knew if Magisk's latest update to 16.4 "broke" Apps2SD seeing as how it has "broken" other root apps. I'm just curious as I'd prefer to keep my app linking for once haha.
[Android Apps and Games] vickybonick:
It should be primary partition
[Android Apps and Games] vickybonick:
I've not tested it but it should work since v16.4 changelog doesn't suggest any change that should break Apps2SD
[Android Apps and Games] :
I uninstalled magisk and rebooted

Then installed magisk manager (default into adopted) rebooted

Installed magisk and tried to app

Magisk manager was not opening

Then i transfered it to internal and everything was up and running

Magisk hide turned off rebooted and turned on again this solves app not installed problem

So in short it works :good:

If this work please tells