yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vickybonick:
Did you by any chance format the first partition of SD card? are the apks available inside /mnt/asec ?

If an app starts crashing the best option is to use the fix permission on 2nd partition option and/or unlink and link back the app.
[Android Apps and Games] vickybonick:
Try disabling/changing to permissive selinux then
[Android Apps and Games] vickybonick:
you can try below 2 things

Use any root file editor and add sleep 7 before the mount command in apps2sd mount script(/system/etc/apps2sd-mountscript.sh) and reboot.

If above doesn't work then add su before the mount command in apps2sd mount script(/system/etc/apps2sd-mountscript.sh) and reboot
[Android Apps and Games] 5mohsen5:
how to disable selinux ?:confused:
[Android Apps and Games] vickybonick:
Dud you try other things i suggested?
[Android Apps and Games] 5mohsen5:
I changed selinux to permissive with selinuxModeCahnger and do this works, but I get error "need to soft reboot" after restart :crying::crying::crying::crying::crying::crying::crying::crying::crying::crying:
[Android Apps and Games] vickybonick:
Selinuxmodechanger changes the mode after boot which is after the mount script has run. You need to flash a kernel with selinux disabled
[Android Apps and Games] kh34d:
That's right.

I Attach here "addon.d-script " for "link2sd" I want like this one for "Apps2sd ". Maybe it fix issue [emoji6]
[Android Apps and Games] uhm:
I started afresh with no other app similar to yours installed and it still gives the same output.

BTW, thanks for your quick responses.

---------- Post added at 09:19 AM ---------- Previous post was at 09:12 AM ----------

Okay, I noticed something in the mount script. It tries to mount 179:66 but on my device I only see 32, 33 and 34 instead of 66. I would get to see 66 only if the mount was successful?

I tried running the first mount command via terminal but got the same error found in the log.
[Android Apps and Games] sjamie:
This explanation is perfect, thanks! Consider adding it to the OP.
[Android Apps and Games] kh34d:
[MENTION=6726362]vickybonick[/MENTION] so, in my case i don't need to select inin.d when i recreate mount script right ?

then can i uninstall "universal init.d "app?
[Android Apps and Games] vickybonick:
If it works without init.d then it's not needed by Apps2SD. You might want to keep it
[Android Apps and Games] vickybonick:
I'll add it later
[Android Apps and Games] vickybonick:
Can you attach the output of below commands

mount

ls -l /dev/block
[Android Apps and Games] kh34d:
Thanks, did you see that file which attached here?
[Android Apps and Games] vickybonick:
Not yet. I'll check over the weekend
[Android Apps and Games] kh34d:
OK, take your time
[Android Apps and Games] stipx:
Already tried that and also if the aforementioned mount is present it can not mount appropriately error this time:

mounting /dev/block/vold/179:66 failed: No such file or directory.

I umounted the mount and also this time it worked to mount the 2nd partition.

Another question: When does the mountscript get executed?
[Android Apps and Games] vickybonick:
Thanks, i'll check it out
[Android Apps and Games] uhm:
I noticed in the output from the mount command....relatime instead of realtime?
[Android Apps and Games] vickybonick:
I've found the issue will fix it in next release
[Android Apps and Games] uhm:
Okay, thanks a lot.
[Android Apps and Games] vickybonick:
Apps2SD addon.d script attached in OP. I've a question if the file is not found/available will the script skip it or stop execution?
[Android Apps and Games] vickybonick:
Guys i need help in translating Apps2SD in your language. Please goto Apps2SD Translation Thread and help me out.
[Android Apps and Games] kh34d:
Unfortunately it didn't work. [emoji20] [emoji20]

I think there's something wrong.

When this file doesn't work /not found, I have to do "soft reboot" after update "Nightlies".

Without "soft reboot" my shortcut is gone from home screen also my all apps which I linked disappear from drawer screen.

Edit :-

I've many add.on script files for my apps like "super su", "my modes", "bootanimation" also I have add on for "patch" for my dual sim to make it work after update.

Without that, all of this will Gone.

---------- Post added at 07:24 AM ---------- Previous post was at 06:57 AM ----------

@vickybonick I'm not clever with making "add.on" but I see you add only "6 files path" in script?!!

I think it must be more... [emoji32]
[Android Apps and Games] ImranHameed:
Well dear sir I have upgraded to latest version of apps2sd. And I am getting this error. Apps are completely linked to my 2nd partition and all the data was completely linked (including dex) until today. Today morning I restarted my mobile (not through apps2sd) and after the reboot now the dex files have gotten unlinked and are not getting linked again... I have attached the snapshot of what error I am getting... Please help.
[Android Apps and Games] kh34d:
In my side,

I have no "system /bin /debuggerd.bin

Also ,i have no system /init.d /apps2sdinit

Or system /etc/install-recover.sh

??

This files not found in mine!!!
[Android Apps and Games] ImranHameed:
URDU Translation

And yes I told earlier that I am translating this app into URDU. Would my translation be included in the next release? I am working hard to get it done at the earliest. Anything that I need to know in this regard please tell me. How long would it take for you to finalize the URDU translation submitted by me?

Awaiting reply... Thanks..

Imran Hameed.
[Android Apps and Games] vickybonick:
I'll do next release on sunday night. If you finish it by then, then i'll include them
[Android Apps and Games] kh34d:
[MENTION=6726362]vickybonick[/MENTION] also I think "system" must deleted from path for every line in your script.
[Android Apps and Games] ImranHameed:
I'll finish translation by tomorrow Inshallah ... But please help me with this CANNOT COPY DEX error... That's really messing up things for me... Why this error comes and how can I link the dex back to my first partition...?
[Android Apps and Games] vickybonick:
Wipe dalvik cache, reboot then link again
[Android Apps and Games] kh34d:
[MENTION=6726362]vickybonick[/MENTION] something else, when I clear cache of apps and doing a reboot, msg of "second partition is not mounted, you need soft reboot" appear !! So clear apps cancel or delete "mount partition"

Not after "update" only but also after clear cache and reboot.

Please fix this and "add.on" script. Thanks
[Android Apps and Games] vickybonick:
The soft reboot error is specific to your phone. Disabling selinux works for everyone on marshmallow, not sure i can fix that for you. I'll do some research on addon.d scripts and update it.
[Android Apps and Games] vickybonick:
Changelog

Version 2.6.1 - 2015-07-29

• Fixed force close on update
[Android Apps and Games] Stevemann:
No - But I have found two fstab files and attach them for you to check...
[Android Apps and Games] vickybonick:
Can you run below commands and see if any of it works.

instead of "su" use "su --mount-master"

mount -t auto /dev/block/mmcblk1p2 /data/sdext2

mount -t auto /dev/block/vold/179:66 /data/sdext2

mount -t auto /dev/block/vold/179:50 /data/sdext2

Can you send me your device name, cpu type, Rom name and Android version. Also send me the full output of command: "mount"

if above doesn't work. Recreate the mount script, keep your phone switched on, remove the sd card, wait for some time, insert the sd card wait for some time then run the command "ls -l /dev/block/vold" and send me the output. Now reboot and see if you are getting the error.
[Android Apps and Games] Stevemann:
Did the above . Output voldlist2 attached. Checked the init.d script runs with su level; mounts 179:50. Then rebooted >> mounting /dev/block/vold/179:50 on /data/sdext2 failed. No such device.

Checking the mountpoints under root: (ignoring usbdrives):

container -> /mnt/shell/container lrwxrwxrwx

emulated dr-xr-xr-x

extSdCard drwxrwx--x

knox-emulated -> /mnt/shell/knox-emulated lrwxrwxrwx

sdcard0 -> /storage/emulated/legacy lrwxrwxrwx

and under /data I see /sdext2 drwxrwxrwx as empty
[Android Apps and Games] haplox:
Hello,

For now it is working fine. I made a clean installation of my ROM and Apps2SD. I comment you the bugs i am facing.

- I have had to erase the automount script "05mountsd" from my int.d, because the mounting script said me that the SD could not be mounted because it was busy. After this the app is working fine

- Every time I reboot my phone, I get a message that the SD-EXT could not be mounted and that I need to soft rebbot. Making a soft reboot the app works fine, but this might be fixed.

- Data partition goes on growing when installing apps. In this way there would be a moment that it becomes full. I think that it is for the actualitations of the apps installed. Can this be fixed?

- the onlu way to take the app working is mounting SD-EXT as ext4, but my 2nd partition is formated in ext3 (?)

As you can see, any of the problems are important, but maybe they had to be fixed in next actualitation.

Thanks
[Android Apps and Games] vickybonick:
1) You need to make sure no other app/script is trying to mount the 2nd partition

2) That's a restriction on your device. Formating the 2nd partition with f2fs might help in avoiding soft reboots. I'm adding a format feature in next release so the 1st partition is not deleted and data is safe.

3) Use the autolink option in settings to automatically link apps on installation.

4) That's perfectly fine, on some android devices ext2 and ext3 are not mountable and it has to be mounted as ext4. It's not an issue
[Android Apps and Games] vickybonick:
Can you send me your device name, cpu type, Rom name and Android version.
[Android Apps and Games] Stevemann:
mount -t auto /dev/block/mmcblk1p2 /data/sdext2 >> No such device

mount -t auto /dev/block/vold/179:66 /data/sdext2 >> No such device

mount -t auto /dev/block/vold/179:50 /data/sdext2 >> No such device

Can you send me your device name, cpu type, Rom name and Android version. Also send me the full output of command: "mount" >> Samsung Galaxy S3 I9300 Exynos quad core Blekota Note 4 Lite Rom v4.6 Kitkat 4.4.4. Mountlist attached.
[Android Apps and Games] vickybonick:
I'm really sorry i couldn't find any solution for the issue. You can try Link2SD if it is able to mount then i might be able to find a solution(ping me) if Link2SD is also not able to mount then It might be an issue with the ROM you are using. In that case if you really require to move apps to sd card then you'll have to change your ROM.
[Android Apps and Games] haplox:
I disapoint. I hava any problem in automounting my 2nd partition with Link2SD, Int2EXT or 05mountsd after rebooting

They are autolinked from the beginning
[Android Apps and Games] Stevemann:
Hi, Is there any more tests and outputs I can send you to see if this can be fixed?

I have tried all other XXX2SD apps. All fail. Your one is the closest to working.

All previous ROMs from ICS to JB have worked with apps that move applets to the ExtSD card. Since I moved to KitKat (with knox control) this ability has gone...I really do need to move binaries and data to the SD card - as the Exynos chipset is flawed. I lost a lot of irreplaceable data when the Sudden Death bug hit a few years ago. Since then I have sought to keep all data (at least) off the phone internal memory (including the emulated intSD storage).

Thanks for your help.
[Android Apps and Games] vickybonick:
Can you send me below two files.

/system/build.prop

/system/etc/vold.fstb

/fstab.{any extension}
[Android Apps and Games] vickybonick:
I'm sorry i couldn't get you
[Android Apps and Games] Stevemann:
Please see attached files.

Thanks
[Android Apps and Games] vickybonick:
Did you try to format as ext4? if not can you format as ext4 and then try again
[Android Apps and Games] Stevemann:
Hi, reformatted the extSD card to FAT32/Ext4; Rebooted >> Error; tune2fs not found. Ignored that and used App2SD remount 2nd partition; success! It worked. Now have:

/storage/ExtSdCard 15.6GB

/data/sdext2 13.4GB

I'll move some apps and check stability.

Thanks!

---------- Post added at 12:21 PM ---------- Previous post was at 11:57 AM ----------

Ok - I moved three apps to the SD card then rebooted. Unfortunately the contents did not persist after reboot. Tried remounting, relinking. No apps.

So close to the solution...
[Android Apps and Games] vickybonick:
Were you asked to do a soft reboot? If not then do a soft reboot after reboot and see if the apps are disappearing.
[Android Apps and Games] Stevemann:
Hi, Not asked - so I just did a soft reboot; still no apps. Checked 2nd partition info; only 44KB used. And I'd moved around 40MB...

At least the 2nd partition is created without error now. It looks like the filesystem is wiped during reboot. Odd.
[Android Apps and Games] vickybonick:
That's weird. Did remount 2nd partition throw any error? Can u link an app and try again. Btw is your cpu type mips?
[Android Apps and Games] kh34d:
I don't understand first part very well.

Did you read my previous posts? There's some files not exist in my side after installing "Apps2SD" so do you suggest any solution?

Any help will be appreciated [emoji4] [emoji106]
[Android Apps and Games] vickybonick:
Out of 6 files some are optional are you not seeing any of them?
[Android Apps and Games] kh34d:
Where? What do you mean?

Would you explain?

Now I recreate mount script without " select inti.d" and no soft reboot required.

If I clear cache of apps, and reboot, soft reboot is required.

Did you understand me?
[Android Apps and Games] vickybonick:
Updated the addon.d script
[Android Apps and Games] vickybonick:
Whenever you update create the mount script. Clearing the cache should not any affect on mounting.
[Android Apps and Games] kh34d:
That's what happened with me.

I rebooted 3 times, no msg appear.

If I clear cache now and reboot, will appear again?!

---------- Post added at 05:52 PM ---------- Previous post was at 05:50 PM ----------

I downloaded "add.on" and I will update my rom and see.
[Android Apps and Games] vickybonick:
Clearing app cache should not affect mounting. Btw which cache you are clearing?
[Android Apps and Games] kh34d:
Cleared from here

BTW. You just rearrange the files /lines in your script Right?
[Android Apps and Games] vickybonick:
Yes and removed system.
[Android Apps and Games] kh34d:
That's very good, it really worked.

I will test it again when I really update after two days.

Thanx for your hard work.
[Android Apps and Games] 5mohsen5:
I've installed a kernel with selinux permissive .

this is my new debougger log :

mount: Device or resource busy

mount: No such file or directory
[Android Apps and Games] vickybonick:
Did you get the soft reboot message?
[Android Apps and Games] ImranHameed:
well i have formatted the partition once again so would install all the apps once again. But could you please tell me what triggers this Cannot copy DEX error usullay....... just so that i may avoid that activity..................:confused:
[Android Apps and Games] vickybonick:
It's a permission issue. It can be triggered by anything. Next time try the fix permission in 2nd partition option
[Android Apps and Games] ImranHameed:
URDU at 4th SPOT

It would be completed by tomorrow inshallah.

Please Its a humble request dear Vicky that my name be credited for this translation. Wanna make my friends go wowwwwwwwwwwwwwww......

:D

IMRAN HAMEED From Kamalia (Pakistan)

:D

Love you all.
[Android Apps and Games] 5mohsen5:
yes
[Android Apps and Games] kh34d:
Did you make USB debugging enabled?
[Android Apps and Games] kh34d:
Did you select "use public vold" in setting?
[Android Apps and Games] vickybonick:
Sure, let me know once you complete it.
[Android Apps and Games] vickybonick:
There is a small bug in current version which might be causing the soft reboot issue. Will publish the fix on Sunday night.
[Android Apps and Games] 5mohsen5:
public vold ??

My phone does not have this option
[Android Apps and Games] kh34d:
Can we update /upgrade Apps2sd

Normally without losing linking apps?
[Android Apps and Games] vickybonick:
If you update from play store then you won't loose anything. If you do it manually then You'll lose settings
[Android Apps and Games] kh34d:
Ohh, that's very important.

So I can't download update from OP. again?
[Android Apps and Games] vickybonick:
You can update using below command maybe.

pm install -r /path/to/apps2sd/apk
[Android Apps and Games] ImranHameed:
URDU Language Translation Completed

well dear its completed. Please check it and do include it in the release this sunday.

And don't forget the credits for this... :):)

Translated By

:)

Imran Hameed

From Kamalia (Pakistan)

:)

///////////////////////////////////////////////////////////////////////////
[Android Apps and Games] vickybonick:
wow thanks. I'll include the translation and credits on sunday
[Android Apps and Games] unclegreggy:
how come the apps I moved to the 2nd partition is still in my internal storage? and mine's almost full 500mb left of internal storage i've link all apps to my 2nd partition in the sd card..
[Android Apps and Games] kh34d:
Screen shot please.
[Android Apps and Games] ImranHameed:
Maybe all the application data has not been linked... Maybe you just forgot to link the Dex... Screenshot could clarify the rest.

---------- Post added at 09:11 AM ---------- Previous post was at 09:06 AM ----------

And I was wondering why it isn't available... Thanks for clarification..
[Android Apps and Games] unclegreggy:
here it is, I just finished a fresh flash so everything is clean as you can see from the screen shot, clash royale is still in my internal storage and i've already linked it to the 2nd partition in my sd card and it did copy

the 2nd partition was 800mb before and after linking clash royale it's now 900mb
[Android Apps and Games] kh34d:
I see no data for game in Internal storage?!!

0kb in internal and 105mb in second partition.
[Android Apps and Games] Xkirnel99:
I just want to ask if the free version have all these features you mentioned or there is some of them in the PRO version ??

Edit: big thanks to developer for all the features ^^
[Android Apps and Games] kh34d:
Free version have all features.

Thanx to developer
[Android Apps and Games] unclegreggy:
nevermind i've fixed the problem, it was the option in superSU thingy named mount namespace separation before a link an app using apps2sd there's this message that keeps popping out that I should disable mount namespace separation in the SuperSU settings if i have it. so I unchecked that one and it now moves apps properly :)
[Android Apps and Games] vickybonick:
As a token of appreciation i want to give you a promo code for Apps2SD Pro. Using this promo you can download the Pro version for free. Pm me if you want it.
[Android Apps and Games] vickybonick:
Guys I'll be giving away up to 30 promo codes for Apps2SD Pro version to xda members who will help me complete the translation of the App(including app description in play store). If you're interested then head to Apps2SD Translation Thread and start translating.
[Android Apps and Games] ImranHameed:
Thank you so much

Well thank you so much dear vickybonick. Thats a real kind & nice gesture on your end. I would surely like to have a PROMO CODE. :D It was a pleasure to be on board with you.

I don't know how to send PM and sure at this time of the night I won't want to google it. ;) My email address is imrantmakamalia@gmail.com and you could send the promo code here. Thanks.

PS.

You happened to mention that you need translation for the app description as well as it appears in the google play store. Well I'll do that translation tomorrow before you release the the new version. Don't worry. Take Care:good:
[Android Apps and Games] vickybonick:
Emailed you. Please check and let me know if you face any issue using it
[Android Apps and Games] ImranHameed:
Got it...

Got it dear.... LOve you...:) Thanks big time once again
[Android Apps and Games] uhm:
Any promo code for reporting bugs? Lol.
[Android Apps and Games] vickybonick:
haha. i'll go bankrupt :p
[Android Apps and Games] eracet:
I noticed a problem when linking OBB data.

Noticed with one of the games I play that it takes up mass amounts of room on internal storage. (over 1GB) for Obb .

Moving this and linking it to external SD on either partition one or two makes this game think that it needs to redownload it .

What I end up usually doing is unintalling and restoring a backup version , then it redownloads extra data again.

Hope I explained ok,

This is the Pro version btw.
[Android Apps and Games] vickybonick:
What Android version you are using
[Android Apps and Games] iamryanong:
i don't knnow why 14gb became a 500mb after i used the partition tool :c
[Android Apps and Games] vickybonick:
Are you using latest version?
[Android Apps and Games] iamryanong:
Yes, i downloaded it from the playStore 2 days back , just got my new tablet. bought an external sd card, wanted to try partition , broke it :c
[Android Apps and Games] vickybonick:
Attach the output of below command

busybox fdisk -l /dev/block/mmcblk1
[Android Apps and Games] iamryanong:
Permission denied.
[Android Apps and Games] vickybonick:
Type su first
[Android Apps and Games] iamryanong:
but my ext sd card was under mmcblk0 ((based on partition tool))

but anyway i tried both mmcblk1 n mmcblk0

returns the thing : "tmp-mksh: fdisk: not found"
[Android Apps and Games] vickybonick:
you are missing busybox
[Android Apps and Games] iamryanong:
Oh sorry i got it, it still write 15.8 GB!!!

---------- Post added at 06:59 AM ---------- Previous post was at 06:59 AM ----------

it needs formattinggggggggggggggggggg howwwwwwwwwwwwwww
[Android Apps and Games] vickybonick:
Use gparted or minitools to format
[Android Apps and Games] iamryanong:
[IMG="here"]http://s22.postimg.org/ooiid8gld/USFT51_L10_BLK_Screen_Shot_20160313.jpg[/IMG]
[Android Apps and Games] vickybonick:
Set the Custom block path to /dev/block/mmcblk0 in Apps2SD setting(Use custom dev block) then try to format again
[Android Apps and Games] eracet:
4.4
[Android Apps and Games] vickybonick:
is it happening to only one game?

Can you send the output of mount before and after you move to sd card. Also what is the name of the game?
[Android Apps and Games] iamryanong:
500mb agn ;_;
[Android Apps and Games] vickybonick:
Attach the output of

busybox fdisk -l /dev/block/mmcblk0
[Android Apps and Games] vickybonick:
It looks good. Attach the output of mount. Doesn't look like sd card is mounted. Also attach Apps2SD storage info screenshot
[Android Apps and Games] iamryanong:
i don't know what is mount n storage info (based on system or app2sd, because i couldnt find storage info under app2sd)
[Android Apps and Games] vickybonick:
Go to Link apps to sd card module and select Storage Info in menu.

mount is a linux command run it in terminal emulator
[Android Apps and Games] vickybonick:
attach output of
[Android Apps and Games] eracet:
I only have one game I tested it on ( Injustice ).

Have to test it at home on wifi otherwise it would use up my data.

What output are you talking about. Or what do you want me to show.
[Android Apps and Games] vickybonick:
Your Rom is mounting the 1st partition on /mnt/media_rw/extsd/179_1 instead of /mnt/media_rw/extsd. You'll have to switch to another ROM i'm afraid.
[Android Apps and Games] iamryanong:
and .........................how to do that?
[Android Apps and Games] vickybonick:
Search the forum/google for a working ROM for a device. Btw you can use /storage/extsd/179_1 to store files. Or you can try below script to bind /storage/extsd/179_1 to /storage/extsd. You'll have to run this script after every reboot(if it works)
[Android Apps and Games] zill427@gmail.com:
Zill

How I can send my alApps to Sd card please send me link

I have little knowledge of computers

Zill

Manhattan,Ny

Send me on e mail.... zill427@gmail.com
[Android Apps and Games] mjheid:
Hi, after updating to a new CM13 version all apps got re-linked and work just fine.

However, all desktop links from moved apps are gone and I had to re-link them by hand.

Is there a chance to avoid this issue?