yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Edw590:
Problem after some time

Hi. Know that I love your app. It was the only one that last +/- 2 weeks. I had been one entire year looking for one of these apps and this was last tested for me (infortunately). My problem is: after some time of having it installed and working properly, one of the times I rebooted the phone (just because I wanted and not for anything related to your app), all the apps I had moved to the sd card were gone. I opened the partition on the computer and when I went to the "apk", folder it was no more than 1mb with all the apk files inside it - that folder was corrupted. And I'veno idea why. I have a SD Card 32gb Class 10 SdHC from Kingston. I reinstalled all the system and all the apps and moved them to the sd card with your app againg hoping that doesn't happen againg. Can you tell me why that happened so I solve the problem this time and that doesn't happen againg? Because reinstall all it's very boring (I took a month to gain corage to once more format the phone and install everything.

Anyway, thanks for the amazing app you provided us to use!
[Android Apps and Games] pndwal:
Quote:

Originally Posted by TeamLiquid.koyo

22-10-2016, 01:05 PM #2644

I'm getting an error "Unable to create symlink for Dex. Access was denied while getting dex state." I tried to recreate the partition, fix permissions, etc but its still showing up.

Hi [MENTION=6726362]vickybonick[/MENTION].

I searched and found this as I have exactly the same problem installing every app on Lenovo TAB 2 A7-20F with android 5.0.

Please let me know if your option got added, what else could be causing this and what else can I do to solve it.

I purchased apps2sd Pro as had problems first with link2sd and dex files (no problems on previous devices), but apps2sd behaviour is similar on this tablet.

Your mentioning 'Selinux is preventing it' is my first real clue so far.

Thanks, PW.
[Android Apps and Games] vickybonick:
If you set selinux to permissive it should work (Note: selinux needs to be set before 2nd partition is mounted by the script). You can follow below steps:

1) Wipe dalvik-cache

2) Enable "Enable addition of commands in mount script" in Apps2SD settings

3) Open Recreate Mount script, Enter /system/bin/setenforce 0 in "Append command before mount script" textbox and Recreate the mount script

4) Reboot (This should trigger one time optimization)
[Android Apps and Games] vickybonick:
try ext2 or ext4 for 2nd partition
[Android Apps and Games] Edw590:
I have an ext2 partition (5.5GB). I didn't use ext4 to save the card's life a bit more.
[Android Apps and Games] NFSS10:
I have used your app before. It's nice, keep it up ! :)
[Android Apps and Games] pndwal:
Yes, I have already just now set selinux to permissive with selinux mode changer, and dex files are now linked successfully, even without reboot or davick wipe. I then set selinux back to enforcing. Guess I can just do this each time I install or update apps.

Please tell me if this solution is as good as appending mount script.

Not sure what is meant by 'one time optimization'. Will script revert to unappended form after using this method?

Thanks for help, PW
[Android Apps and Games] vickybonick:
Try the steps i suggested, it should fix your issue
[Android Apps and Games] pndwal:
Yes, but as I said, I have fixed the problem already since I posted question using selinux mode changer, as you already indicated selinux was preventing dex linking.

Just want to know if appending script method has any advantages, or if there is any problem with what I have done, before I redo anything. Thanks, PW.
[Android Apps and Games] vickybonick:
I believe selinux mode changer changes the selinux mode after boot is finished which may not prevent dex being moved to internal storage sometimes but adding it in the script will make sure it'll​ work always
[Android Apps and Games] pndwal:
Ah. In that case this may be a better method. Got confused by 'one time optimization'. Is this in reality a permanent optimization'? And does selinux stay permissive?

Thanks for reply, PW.
[Android Apps and Games] vickybonick:
By optimization i meant dex files will be recreated. Selinux will be set to permissive on every boot before 2nd partition is mounted. If you want something permanent, modify the boot image. Follow below link (Till step 4)

http://xdaforums.com/showpost.php?p=68249166&postcount=2269
[Android Apps and Games] pndwal:
Many thanks for clear response. Will append script.

Very happy to have solution to this after many months. PW
[Android Apps and Games] guastucci:
Folders are not mounting .
[Android Apps and Games] vickybonick:
Set your email in the app, send device info and pm me the email
[Android Apps and Games] guastucci:
How do I do to set my email?

Never mind....
[Android Apps and Games] vickybonick:
Goto error report window and set it using the menu option
[Android Apps and Games] guastucci:
How do I do to set my email?

Never mind....

Sent everything. TKS!
[Android Apps and Games] sjamie:
I wonder why you were able to send your info successfully where as it gets stuck on "sending report..." for me. I've let it run overnight but it still never sends. It must be due to me using Magisk v12 I'm guessing... :confused:
[Android Apps and Games] vickybonick:
/sdcard/DCIM/.thumbnails and /sdcard/WhatsApp are not valid source folders, use /storage/emulated/0/DCIM/.thumbnails and /storage/emulated/0/WhatsApp
[Android Apps and Games] guastucci:
Here it takes about 40 minutes to send.
[Android Apps and Games] sjamie:
I'm SO glad you didn't say it sent instantly for you! :laugh:
[Android Apps and Games] vickybonick:
I've no idea why it takes so much time for you guys, on my devices it takes less than 40 seconds. I'll take a look at it once i get some time
[Android Apps and Games] justjr:
Yeah, if it helps that delay was introduced it on the beta 3 you sent me that time vicky, you said it was supposed to be faster, but it seems for lot of people including me its not.
[Android Apps and Games] guastucci:
Works fine. TKS..

Here it takes about 40 minutes to send.
[Android Apps and Games] sjamie:
That's because you're the Dev with special powers! ?
[Android Apps and Games] phidias81:
I've used App2sd for some weeks on my LG L90 with Resurrection Remix (Nougat 7.1) installed.

Many apps don't work when moved to SD. Trying to move them back to internal doesn't help, I have to uninstall them and reinstall. Also trying not to link Lib doesn't help.

So basically it's quite tedious work: trying each application one by one to see if it works on the extrenal and unistalling installing, deleting broken parts several times. Is this normal?

Also now I just clean installed the latest RR Rom, formatted the SD from within App2sd as etx4 1st partiton, fat32 2nd partition (same as it was before), but it doesn't manage to mount the ext SD, I get an "unknow errror 200" mount failed.

Any help on both issues?
[Android Apps and Games] sjamie:
Link apps to external sd card but don't "move" them.

Format 2nd partition as ext4.
[Android Apps and Games] phidias81:
That's exactly what I always did, maybe I didn't use the correct terms in my post. And I still got the mentioned problems.

Plus now it can't mount ext4 external sd partition
[Android Apps and Games] sjamie:
I recommend using MiniTool to reformat and fix your 2nd partition.
[Android Apps and Games] phidias81:
I apparently solved the mount prolemy by erasing the card and after formatting, rather than only formatting.

But I still would welcome suggestions on my previous post
[Android Apps and Games] E_Ben:
Hi Vicky,

Apps2SD worked great and without any problems on my device during the past few weeks (lineageOS 14.1 with Magisk 12.0). Unfortunately, since a few days, several of my apps linked to sdext2 keep force closing repeatedly. The only workaround I found is to unlink the data of those apps. I can keep all other links, like apk, dex, odex, data(ext1/2)… So, something seems to be broken with linking data of apps to sdext2. It might be related to LOS being updated to android 7.1.2 a few days before these problems appeared. Should I send my device info and logcat?
[Android Apps and Games] martyfender:
See this post for attached logcat https://xdaforums.com/showpost.php?p=71954110&postcount=3726

Sorry, it looks like I should have chosen reply, instead of edit, for it to show up here, at the end of the thread. I've been a long time reader, but only recently registered, to post
[Android Apps and Games] vickybonick:
What is the error? logcat?
[Android Apps and Games] vickybonick:
Probably the selinux context for data directory has been changed, try the "Fix permission on 2nd partition" option from "Link apps to SD card" left navigation drawer
[Android Apps and Games] vickybonick:
Try below steps:

1) Wipe dalvik-cache

2) Enable "Enable addition of commands in mount script" in Apps2SD settings

3) Open Recreate Mount script, Enter /system/bin/setenforce 0 in "Append command before mount script" textbox and Recreate the mount script

4) Reboot (This should trigger one time optimization)
[Android Apps and Games] E_Ben:
Unfortunately that didn't change anything.
[Android Apps and Games] vickybonick:
attach logcat
[Android Apps and Games] vickybonick:
Hi all, i need your help for translating one of my new app. Please register at below link and translate (idm_strings.xml and idm_store_desc.html) files. Let me know if you have any questions

http://os3pxnq.oneskyapp.com/collaboration/project/54276
[Android Apps and Games] E_Ben:
Thanks for your email, that was it! Sdext2 was full.
[Android Apps and Games] Yamahapsr200:
Apps crash directly after launch

Hello,

I linked a few apps to my second SD-Card-Partition.

I tried unlinking certain Parts of it and rebooting and I also tried the SDfix-Thing.

But if I tap on the Icon of any app (or launch it through Apps2SD) it immediatly crashes.

Is there anything I could do differently?

SuperSU works fine, second Partition works fine also. Namespace separation is off and SU is enabled during boot.

Unlinking everything does not fix the Problem. I'll probably have to reinstall the apps I tried to link :/
[Android Apps and Games] vickybonick:
capture logcat after the crash and attach
[Android Apps and Games] Yamahapsr200:
I don't see a real way to attach a file here, so I uploaded them on my server:

Trying to start Instagram after Unlinking and restart: yamacraft.com/downloads/logs/001.txt

Shutdown after relinking: yamacraft[dot]com/downloads/logs/002.txt

Boot: yamacraft[dot]com/downloads/logs/003.txt

Trying to start skype (also fully linked) after bootup: yamacraft[dot]com/downloads/logs/004.txt

Also I haven't have written enough Posts, so sorry for you having to copy+paste and having to deal with them :/

Thank you for your help
[Android Apps and Games] martyfender:
I did the above steps, rebooted and then on boot, about 50 apps were optimized. A message popped up that the second partition could not be mounted and a soft reboot was required. I kept my su.d mount script, despite a warning that recommended I try the init.d option. I did the soft reboot, then 13 more apps were optimized on this reboot and the second partition was mounted and the app was linked. I may take a few days and reboots to see if this method works.

Just curious, what does this do: "setenforce 0", since I already have a permissive kernel? I will report back whether or not this solves the problem of the app sometimes becoming partially linked.

Thanks
[Android Apps and Games] Zehlek:
After a reboot my apps are gone and I have to select remount 2nd partition and then I have to restore all the apps. I'd that normal or is there an easier ways? I tried recreats mount script and I get command failed
[Android Apps and Games] vickybonick:
Open Apps2SD, goto Error Report, set your email, send device info from menu, pm me your email
[Android Apps and Games] vickybonick:
Anybody interested in doing translation?
[Android Apps and Games] E_Ben:
Hi Vicky,

translation to which languages?
[Android Apps and Games] vickybonick:
Anything you can, checkout the available languages @ http://os3pxnq.oneskyapp.com/collaboration/project/54276
[Android Apps and Games] E_Ben:
Okay, I will check this evening
[Android Apps and Games] Zehlek:
I sent you pm
[Android Apps and Games] vickybonick:
You're system partition is not mountable as rw. Switch to magisk systemless root or SuperSU systemless root then create the mount script with su.d option
[Android Apps and Games] guastucci:
What app?
[Android Apps and Games] Cheetah64d:
Well, this was FRESH install, after wiping all partitions that TWRP allows me to wipe (including system, data etc.).

How can be that busybox was installed?
[Android Apps and Games] vickybonick:
It might be included in you ROM. The busybox in the play store is an app which installs busybox binary in your device. Apps2SD searches for busybox binary not the app. To confirm run below command.
[Android Apps and Games] Cheetah64d:
Too late, already installed the play-store app... will check it the next flashing, TY.

Anyway, one of my biggest problems was that each app that I've converted to 'system app' was just disappearing, not showing up again, not after hard-reboot nor after soft-reboot. What's the reason for that?

And if we are on this subject, what really is the reason to convert app to system app?
[Android Apps and Games] vickybonick:
Not a problem the busybox app checks for existing busybox binary before installing. System apps can access apis which are restricted to normal apps. Some apps ask you to convert to system apps instead of root. Apart from that it was a requested feature. It seems to be working for me. check if the app is available in /system/priv-app directory
[Android Apps and Games] Cheetah64d:
Just installed new app, and converted it to system app, to check it out.

The app indeed disappeared from launcher, and surprisingly - even not listed on Apps2SD app list.

But IT IS inside /system/priv-app directory (inside there's the app folder with base.apk and empty lib dir).
[Android Apps and Games] vickybonick:
After you convert an app a full reboot is required. Reboot and see if it is available
[Android Apps and Games] Cheetah64d:
I did rebooted. Hard reboot, soft reboot - none helped. The app just disapeared.
[Android Apps and Games] vickybonick:
Probably a ROM glitch. I'll see if i can replicate it.
[Android Apps and Games] till22:
I also get the issue saying a reboot is required and if I already rebooted, to wait. Rebooted about a dozen times, deleted all partitions via PC, nothing is getting me past this point.

I'm on a Tab 4 7", model SM-T230, running stock rooted ROM 4.4.2
[Android Apps and Games] vickybonick:
Post the screenshot of the error. Is the error happening while partitioning? Clear Apps2SD data and try again.
[Android Apps and Games] till22:
Thanks - I deleted the app data and the app started. It said the 2nd partition is missing and that I should use the inbuilt partitioning tool. Did just that, it's "creating partition(s) - please wait..." since more than 5 minutes already. The SD card empty, how long can this take?

EDIT: Now it finished and said "ERROR: 2nd partition not found"

FYI: I have a 32GB SD card and am doing 1st partition 24,5GB FAT32 and 2nd partition 5GB EXT4

EDIT2: Trying to format both partitions first and then use the "create" option, but I don't really expect tht to solve the issue. Do you have any other suggestion already?
[Android Apps and Games] vickybonick:
Generally, it should not take more than 5 minutes. If it is stuck then partition tool might not work for you. In this case follow below:

Note: Partition tool is an addon, it might not work on all the devices as it depends on external binaries.
[Android Apps and Games] till22:
Formatting and partitiong afterwards with the partition tool built in seems to have done the trick, although both actions took about 10 minutes (each). It's now transferring 2GB of apps to the SD card as we speak - I hope it works :)

EDIT: Well, it says it was succesful and the app says the apps are now linked.. EW file explorer said the SD card was empty, though. Tried moving 1 big app, same thing (BTW: can't you bulk move apps? Having to do it 1 for 1 is prety tedious). It seems like it did not work although the app said it did.. I also rebooted, but that didn't change anything :confused:

I'll edit this post in a bit to let you know!

EDIT2: I'm an idiot - that's what happened ;) Didn't take into account that I now have 2 partitions. The apps moved fine :)

Thanks!
[Android Apps and Games] vickybonick:
You can use multi select option to move multiple apps.
[Android Apps and Games] Cheetah64d:
Ok, let me know if I can be any help.

Think I'm gonna rate it 5 stars anyway, and if only because of the massive support here in the forum...[emoji3] [emoji106]
[Android Apps and Games] bjbirch:
How do I restore an SD card back to its original state eg.an 8 GB SD card so it reads 8gb less what the system uses

---------- Post added at 05:13 PM ---------- Previous post was at 05:10 PM ----------

How do I return an SD card to where it was before I used the app I.e a 8gb micro SD card
[Android Apps and Games] Venomz33:
Hi [MENTION=6726362]vickybonick[/MENTION] I'm planning to install a new rom so taking a full backup with Titanium backup will be fine? Or what should i do to restore my previous settings for new rom? Thanks.
[Android Apps and Games] vickybonick:
It'll be fine. Also take backup of /data/apps2sd/apps2sd.db
[Android Apps and Games] Venomz33:
There is no such file in both internal and external memory.
[Android Apps and Games] vickybonick:
You can leave it then. BTW it's absolute path.
[Android Apps and Games] vickybonick:
IDM
[Android Apps and Games] guastucci:
Great app. Bought it today. Works great with Android file host..

In time, need an option to change download location when we add the link. Sorry for the off topic.
[Android Apps and Games] vickybonick:
You can do that by unchecking the save to sd card option (if you selected sd card as download location)
[Android Apps and Games] martyfender:
UPDATE: this did not solve the issue at hand of eventually having a partially linked app, after use and a few reboots.

Eventually I did recreate the mount script with the init.d option, keeping the 'setenforce 0" in the mount script and so far, so good. I had bad luck with the init.d option, with my previous rom for this device, so I had not tried it. Ironically, I am using an enableinit.sh script, in the su.d folder to enable init.d support. As you may recall, I was using the su.d option to create the mount script, where I had a problem.

I will report back here if the problem pops up again with the init.d option. Once again, why the "setenforce 0", when my kernel is already permissive?

Thanks again for this great app.
[Android Apps and Games] vickybonick:
Then you can remove it
[Android Apps and Games] zputnyq:
[MENTION=6726362]vickybonick[/MENTION],

I am using apps2sd version 12.2.

It's still having permission issue on my device.

After I install it, permission of "install-recovery.sh" is changed into 777.

Is this ok?

I am on

Acer Z205

Mtk 6572

Stock Kitkat 4.4.2
[Android Apps and Games] vickybonick:
You need to recreate the mount script
[Android Apps and Games] zputnyq:
[MENTION=6726362]vickybonick[/MENTION],

I am using apps2sd version 12.2.

It's still having permission issue on my device.

After I install it, permission of "install-recovery.sh" is changed into 777.

Is this ok?

I am on

Acer Z205

Mtk 6572

Stock Kitkat 4.4.2

SuperSU 2.65

---------- Post added at 09:08 PM ---------- Previous post was at 09:07 PM ----------

Ok I'll try it
[Android Apps and Games] HighFidelity2k:
I had problems with linked apps losing data so i needed to reinstall them. Then i tried advanced mount method and now, linked big apps dont show full size, but work. When i backup 2nd partition with apps2sd, it says that some files were not copied. I tried to repair 2nd partition with partition tool, says it needs to reboot. Is the 2nd partition really e2fsck-ed or do I have to manually do it with a linux system? I also tried to reinstall the whole apps2sd app.
[Android Apps and Games] vickybonick:
If there's no error then it's e2fsck-ed. If you still face the problem then do it on a linux system
[Android Apps and Games] koyo:
Hey. I have Apps2sd set to auto link pretty much everything (I have all of the auto link options set) on install, in hopes that I can keep as much internal storage open as possible. Problem is that as apps are installing and being linked, the internal storage usage is still rising. A fresh install of CM13 on my Moto G3 had me with 838 mb in use on the internal storage. I install apps2sd before anything, and I configure it to auto link all apps I install. So when I run Titanium Backup, and I install some 80 apps (they're all linked), I come back and 838 mb internal storage usage shoots up to 2.81 GB in use.

https://imgur.com/a/WJjmI

This album is a before and after I uninstalled some apps to make sure I wasn't tripping.
[Android Apps and Games] vickybonick:
Use storage info app to view which file is taking space
[Android Apps and Games] HighFidelity2k:
I checked 2nd partition with apps2sd and a linux system, no errors. Even backing up each linked app and restoring on fresh 2nd partition doesnt work because it only shows OBB when on internal, but linked OBB is not shown, but exists. So i will have to install each app again from the ground on.
[Android Apps and Games] koyo:
https://imgur.com/UVCVX1W

Is this what you meant? Because it doesn't show me which files are taking up space, just how much space is in use, even when I press things.
[Android Apps and Games] vickybonick:
Use this app https://play.google.com/store/apps/details?id=com.google.android.diskusage
[Android Apps and Games] koyo:
https://imgur.com/a/3I2a2
[Android Apps and Games] vickybonick:
You need to analyze yourself and find out what is not linked and taking space
[Android Apps and Games] zputnyq:
[quote name="zputnyq" post=72145742]@<a href="https://xdaforums.com/member.php?u=6726362" target="_blank">vickybonick</a>,<br />

I am using apps2sd version 12.2.<br />

It's still having permission issue on my device.<br />

After I install it, permission of "install-recovery.sh" is changed into 777.<br />

Is this ok?<br />

<br />

I am on<br />

Acer Z205<br />

Mtk 6572<br />

Stock Kitkat 4.4.2<br />

<br />

<br />

You need to recreate the mount script

[MENTION=6726362]vickybonick[/MENTION] I had done it several times to solve permission issue by recreating mount script as u suggested but it's still the same. Even I had tried all methods provided in recreate mount script tab, it still gave me no luck.

I hope there is any solution for this

I really appreciate your work
[Android Apps and Games] vickybonick:
<br />

<br />

You need to recreate the mount script

[MENTION=6726362]vickybonick[/MENTION] I had done it several times to solve permission issue by recreating mount script as u suggested but it's still the same. Even I had tried all methods provided in recreate mount script tab, it still gave me no luck.

I hope there is any solution for this

I really appreciate your work

I'll look into it
[Android Apps and Games] vickybonick:
Version 12.3 released in play store and attached in OP

Changelog:

Updated translations

Fixed su.d path detection for SuperSU

Fixed Auto move/adopt apps issue [Pro]

Added odex cleaning in Broken app cleaner

Added max frequency in Cpu throttling

Fixed partition tool issue on older devices

Fixed install-recovery.sh permission issue

Added select all option in Restore apps [Pro]

Other bug fixes and improvements
[Android Apps and Games] zetch:
can not creat or formating again

I have problem with not mount 2nd partititon .... i make mistake when to create mount 2nd partition i have clean chace on app manager i think eror on ur app because notice cant stop to want me make 2nd partition... i have fix with format and recreating partition but massage notice still appear plese help me.. when i see my total storage just have around 10 gb(normal is 16 gb).. and in exrernal jut have 2 gb space