Link2SD Mount Script Error. [4]: can't create /system/etc/init.d/11link2sd - General Questions and Answers

I have a Micromax Canvas Fire A093 (rooted). I had been using Link2SD Plus without any problems until the night I was forced to factory reset my device because a friend of mine set a pin which he forgot.
I installed every app successfully except Link2SD. Although, I could install Link2SD but I could not make it run. The problem sets in when I try to create mount script. It says, "Mount Script Error. [4]: can't create /system/etc/init.d/11link2sd: Not a directory".
I browsed to the /system/etc/ folder using ES File Explorer only to find that there is file named init.d (and no folder as such). It contained some strings and nothing related to Link2SD. I even tried to create a new folder named init.d but the operation failed. I also tried copying a blank folder named init.d (created somewhere else) but nothing happened.
I reformatted my 2nd partition of SD Card with ext2/3/4 or FAT and filled with zeroes; the error still persists.
I hope experts here at the XDA may help me out sorting the problem.

Try installing universal init.d from Google play store.

delta-x said:
I have a Micromax Canvas Fire A093 (rooted). I had been using Link2SD Plus without any problems until the night I was forced to factory reset my device because a friend of mine set a pin which he forgot.
I installed every app successfully except Link2SD. Although, I could install Link2SD but I could not make it run. The problem sets in when I try to create mount script. It says, "Mount Script Error. [4]: can't create /system/etc/init.d/11link2sd: Not a directory".
I browsed to the /system/etc/ folder using ES File Explorer only to find that there is file named init.d (and no folder as such). It contained some strings and nothing related to Link2SD. I even tried to create a new folder named init.d but the operation failed. I also tried copying a blank folder named init.d (created somewhere else) but nothing happened.
I reformatted my 2nd partition of SD Card with ext2/3/4 or FAT and filled with zeroes; the error still persists.
I hope experts here at the XDA may help me out sorting the problem.
Click to expand...
Click to collapse
try using foldermoumt for the same purpose for which you are using link2sd.
it will work better
Sent from my SM-G355H using XDA Free mobile app

Possible solution
- Turn off the phone
- Turn the phone back
- Enter Link2SD
- Run menu option "Restart" to Link2SD
The problem is because during phone startup, can not mount the second unit of the SD. It does later. Making quick restart of Link2SD des only the user interface is restarted and will work correctly.
For more details visit "h t t p : / / w w w . l i n k 2 s d . i n f o / f a q "
"Q. Every time the phone boots have a message" mount warning "quick and i must reboot the phone in order to see my linked apps, Which Could be the cause?
Some roms (for example new Samsung Gingerbread ROMs) do not have any install-recovery.sh and init.d scripts 2nd partition to mount at boot.
THEREFORE Link2SD mounts the 2nd partition after mounting system finishes and you need to perform "Quick reboot" after each "real boot".
This problem has been fixed starting from version 1.9.11. If you still experiment esta problem, Please install latest version and run "Recreate mount scripts" from the menu Within Link2SD. "

Related

[Solved]Link2sd on CronosX

Hi,
I saw that under CronosX ROM both /data/app and /sdext/app are used to store apk (/sdext/app is a copy of /data/app) so I tried to install link2sd but it fail it can't mount sdext it say device is busy.
Can someone help me to fix ?
I tried to mount with adb and same error.
So after fiew more search I finally succed. So what I did :
-Install Link2sd from market and transform it as system app
-Remove 05mountsd 07app2ext 11link2sd from /etc/init.d/
-Reboot phone
-launch Link2sd
[Be carreful : Backup your app before because I lost all my app by doing this. So you have to install all your app after that or maybe you can move from sd-ext to data/sdext. I don't know because I tried link2sd without removing script first so it lose all app.]
For know Link2sd work and I haven't to wait anymore to enter simcode at startup but I have to test to be sure.
After fiew test I confirm that I have no more need to wait to enter pincode at boot.
Zachary57 said:
So after fiew more search I finally succed. So what I did :
-Install Link2sd from market and transform it as system app
-Remove 05mountsd 07app2ext 11link2sd from /etc/init.d/
-Reboot phone
-launch Link2sd
[Be carreful : Backup your app before because I lost all my app by doing this. So you have to install all your app after that or maybe you can move from sd-ext to data/sdext. I don't know because I tried link2sd without removing script first so it lose all app.]
For know Link2sd work and I haven't to wait anymore to enter simcode at startup but I have to test to be sure.
After fiew test I confirm that I have no more need to wait to enter pincode at boot.
Click to expand...
Click to collapse
Thanks a lot.
Unable to find mentioned files 05mountsd 07app2ext 11link2sd in /etc/init.d on Bravo.
krishn said:
Thanks a lot.
Unable to find mentioned files 05mountsd 07app2ext 11link2sd in /etc/init.d on Bravo.
Click to expand...
Click to collapse
So if you try to install make a backup of your rom before because first launch can make you lose all your app. If you have a mount error saying device is busy at link2sd start it mean that there is a script in another place that make the same as those I deleted.
Sent from my Milestone XT720 using xda app.
[Solved] Link2sd on cm7 galaxy mini
Zachary57 said:
So after fiew more search I finally succed. So what I did :
-Install Link2sd from market and transform it as system app
-Remove 05mountsd 07app2ext 11link2sd from /etc/init.d/
-Reboot phone
-launch Link2sd
[Be carreful : Backup your app before because I lost all my app by doing this. So you have to install all your app after that or maybe you can move from sd-ext to data/sdext. I don't know because I tried link2sd without removing script first so it lose all app.]
For know Link2sd work and I haven't to wait anymore to enter simcode at startup but I have to test to be sure.
After fiew test I confirm that I have no more need to wait to enter pincode at boot.
Click to expand...
Click to collapse
Thanks for this work around. It was usefull for my galaxy mini. At least on first boot. We'll see how it behaves after a few boots. I was unable to link apps due to "read only" mounting. And this was the most convincing and easy way to do it. After couple of days searching everywhere.
My steps:
1. Install Link2SD, launch so it makes the mounting script.
2. Remove mount scripts from /etc/init.d using terminal in my device.
Code:
cd /etc/init.d ; rm 05mountsd ; rm 11link2sd
3. transform to system app by moving Link2SD from /data/app to /system/app
Code:
mv /data/app/com.buak.Link2SD-1.apk /system/app/com.buak.Link2SD-1.apk ;reboot
I didn't backup or anything because I was using a new SDcard and a fresh install.
Thanks Zachary57
samsung galaxy mini
cwm recovery
cyanogenMod-7.2.0-tass
Android 2.3.7
ChetingerX said:
Thanks for this work around. It was usefull for my galaxy mini. At least on first boot. We'll see how it behaves after a few boots. I was unable to link apps due to "read only" mounting. And this was the most convincing and easy way to do it. After couple of days searching everywhere.
My steps:
1. Install Link2SD, launch so it makes the mounting script.
2. Remove mount scripts from /etc/init.d using terminal in my device.
Code:
cd /etc/init.d ; rm 05mountsd ; rm 11link2sd
3. transform to system app by moving Link2SD from /data/app to /system/app
Code:
mv /data/app/com.buak.Link2SD-1.apk /system/app/com.buak.Link2SD-1.apk ;reboot
I didn't backup or anything because I was using a new SDcard and a fresh install.
Thanks Zachary57
samsung galaxy mini
cwm recovery
cyanogenMod-7.2.0-tass
Android 2.3.7
Click to expand...
Click to collapse
Mine doesn't have this "05mountsd", and then...?
g.man.7489 said:
Mine doesn't have this "05mountsd", and then...?
Click to expand...
Click to collapse
Try to do others steps. Be sure to make Link2sd a system app and it should work.
ChetingerX said:
Thanks for this work around. It was usefull for my galaxy mini. At least on first boot. We'll see how it behaves after a few boots. I was unable to link apps due to "read only" mounting. And this was the most convincing and easy way to do it. After couple of days searching everywhere.
My steps:
1. Install Link2SD, launch so it makes the mounting script.
2. Remove mount scripts from /etc/init.d using terminal in my device.
Code:
cd /etc/init.d ; rm 05mountsd ; rm 11link2sd
3. transform to system app by moving Link2SD from /data/app to /system/app
Code:
mv /data/app/com.buak.Link2SD-1.apk /system/app/com.buak.Link2SD-1.apk ;reboot
Click to expand...
Click to collapse
I removed Link2SD and after re-installing it still doesn't mount partition.
I cant remove 11link2sd and 08mountsd ( i dont have 05mountsd) because it says "can't remove 08mountsd: Read-only file system" and "can't remove 11link2sd: Read-only file system".
What should i do?
Worked
It worked fine!
Created a ext4 partition with Mini tool partition wizard Home edition, Clicked on the "Recreate mount scripts" from the Left panel of Link2sd, the application asked for a rebooting, did it, fine! It is working
Phone Samsung Galaxy y
Cannot mount 2nd partition of SD card
I am trying to setup Link2SD and have partitioned my SD card to FAT32/ext2 and when I start Link2SD I get a Mount script error that a Mount script cannot be created. Can someone tell me how to partition my SD card (what settings to use) or use Link2SD so that the 2nd partition mounts and can be used to install my apps to on my external SD card?
Rooted Galaxy S5 Active on AT&T running KitKat 4.4.2
link2sd
i had a problem with partitioning my card and then got it partitioned and then would not mount with ext2 and redid it with ext 4 partition and then went to apps and cleared data in the app and retried and bam it is working..... i hope this helps someone :laugh:
chiefpriest said:
It worked fine!
Created a ext4 partition with Mini tool partition wizard Home edition, Clicked on the "Recreate mount scripts" from the Left panel of Link2sd, the application asked for a rebooting, did it, fine! It is working
Phone Samsung Galaxy y
Click to expand...
Click to collapse
What does ROM & Kernel you use ?
I have miniROM Inspired + Jarvis Kernel 2.2 not worked on ext4 .... :crying:
zachary57 said:
so after fiew more search i finally succed. So what i did :
-install link2sd from market and transform it as system app
-remove 05mountsd 07app2ext 11link2sd from /etc/init.d/
-reboot phone
-launch link2sd
[be carreful : Backup your app before because i lost all my app by doing this. So you have to install all your app after that or maybe you can move from sd-ext to data/sdext. I don't know because i tried link2sd without removing script first so it lose all app.]
for know link2sd work and i haven't to wait anymore to enter simcode at startup but i have to test to be sure.
After fiew test i confirm that i have no more need to wait to enter pincode at boot.
Click to expand...
Click to collapse
but how do you make link2sd a system app? What do i have to use? Where do i need to go? Recovery? What do i have to download?
Facukopech said:
but how do you make link2sd a system app? What do i have to use? Where do i need to go? Recovery? What do i have to download?
Click to expand...
Click to collapse
Titanium Backup to make app system. My init.d says permission denied do you have to have a custom rom
Zachary57 said:
So after fiew more search I finally succed. So what I did :
-Install Link2sd from market and transform it as system app
-Remove 05mountsd 07app2ext 11link2sd from /etc/init.d/
-Reboot phone
-launch Link2sd
[Be carreful : Backup your app before because I lost all my app by doing this. So you have to install all your app after that or maybe you can move from sd-ext to data/sdext. I don't know because I tried link2sd without removing script first so it lose all app.]
For know Link2sd work and I haven't to wait anymore to enter simcode at startup but I have to test to be sure.
After fiew test I confirm that I have no more need to wait to enter pincode at boot.
Click to expand...
Click to collapse
Using Samsung galaxy s8 plus exynos and i dont have the init.d folder? What should I do with the same error?

How to get more internal space on galaxy fit

firstly I'm not responsible for any kind of damage caused to you
but I have tried all the things on my galaxy fit before explaining here
It's not copied from somewhere instead It's based on my experience on my galaxy fit.
For Non Rooted Devices
There is nothing other then using app2sd apps. Then move all the movable items to sd card. After installing app2sd all newly installed apps are automatically moved to external storege.
I uses app2sd by sam lu.
But for non rooted users I will highly recommend to root there device and make the best use of this smartphone.
for beginners everything about rooting/custom roms/nandroid backups etc is explained in this thread
http://forum.xda-developers.com/showthread.php?t=1606380
thanks a lot to A.cid for this wonderful guide
For Rooted Device
apps required
1.Root explorer or similiar
2.Link2SD (Link2sd Setup is explained later in this post)
step 1.Removing Useless system apps from stock or custom rom
go to /system/app using root explorer and mount as r/w
now delete unwanted apps
I will prefer freezing the app first using link2sd and then if phone is working fine then you can unfreeze and then delete that app
Step 2. Removing dalvik cache files
go to /data/dalvik-cache
now search for the dalvik cache files of deleted system apps
it will having name like
[email protected]@[email protected]
delete this file
Step 3. Linking files to Sd-ext or second partition of Sd card
if you have finished Link2sd setup then you can proceed further
open link2sd and then create Link for all the apps you want to linked to sd card
check all the 3 box 1. link apk 2. link dex 3. link lib files
and then your app will be moved to the sd-ext partition
if there are apps which are used very frequently then i prefer not linking dex files to sd card. link only apk for them.
currently system apps can't be linked using link2sd
In the case if app is not working properly after linking then remove links for that app.
Plz help me to improve this article.
suggestions and questions are welcomed.
forgive me for my poor english
Plz help in improving this article. If there is anything wrong in this post let me know. and if you have any other simple method to do this plz post here and help beginners to get more space. But try not to post complicated method which beginners find hard to perform
this post is for beginners
Link2SD steup on galaxy fit
Copied from A.cid main article from
http://forum.xda-developers.com/showthread.php?t=1606380
There are a lot of ways and scripts to transfer apps from your internal memory to the sd ext partition, but the most consistent method I found was Link2sd.
This method works across all roms (rooted stock and custom, both) that I’ve tried, even on all variations of CyanogenMod7 (CM7) as well as on ICS CM9, and is very easy to setup and use.
However, if a custom rom already has DarkTremor's a2sd (a2sdgui app will be present) or any similar script, then DO NOT configure them.
for example: Creeds v3 has a2sdgui, and if i want to use Link2sd, then after flashing Creeds, i SHOULD NOT run a2sdgui, and directly install (and configure) Link2sd...if you run/configure a2sdgui, then it will clash with the working of Link2sd.
Similarly, if any custom rom has any memory hack already implemented, then you cannot use Link2sd...
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.
Link2sd is also an excellent (and fast loading) app manager, with which you can freeze, uninstall, re-install…though you can move only user apps to sd-ext partition.
Also, there is no point in having your entire phone memory empty, so you probably should unlink the dex (dalvik cache) of your apps. I usually link only the apk and lib files, and leave the dex files unlinked and on the phone storage, so as to avoid any sluggishness in operation., though if your phone memory still fills up, you can link the dex of your rarely-used apps, and leave the dex of important and frequently used apps on the phone storage.
Suppose a custom rom has s2e/app2sd pre-implemented, then after a fresh install, FREEZE the app (rather than uninstall), and then install Link2sd...
Also, if you get error "mount script not created", then choose partition as ext4 (rather than ext3 mentioned below), even though your partition might be ext3...(don't know why this happens with some roms )
In some custom Roms Link2sd doesn't mount sd-ext partition even after selecting correct type of partition in that case try to select other types whether they are working or not
Like in Chocobread v3.2 it worked after selecting partition as ext4
Plz view this thread if you are still facing any problem
Go through this thread
http://forum.xda-developers.com/showthread.php?t=1698813
What happens when we install a new app??
I'm not a developer but this is what I experienced
/data directory is the space which is shown as Internal Storage in phone
/system directory has nothing to do with this internal storage
when we install a new app then it during the installation process three things happens
1.it creates an apk file in /data/app
2.creates an .dex file in /data/dalvik-cache
3.creates one folder in /data/data
when we move apps to sd that apk file moved to sd storage in
.android secure folder and creates an .asec file there
so basically that .dex file and data files are responsible for eating our internal space and for the apps which can't be moved to sd that apk file is also responsible.
we can't use widgets if app is on sd storage.
so in order to use widgets we have to move back to internal storage.
this is where Link2sd helps us
link2sd links selected files to sd-ext partition and for system it still appears in internal storage but it's not there actually.
While for system apps
.apk files remains in /system/app
only .dex files are in data/data directory
we can use widgets of system apps even apk files are not in /data/app directory
so it is recommended that if you want to use widget of the app but you don't want it on internal space(as it is using much more space while it is in internal memory)
here is the solution
create an apk file for that app using any backup app
then move that file to /system/app
change the permissions to rw-r--r--
for this simply see the permissions of any other system app and apply same here
to system
Simply partition your sd card via cwm.. U can get as much internal space as u want..
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Nikhil_G said:
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
a.cid said:
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
Click to expand...
Click to collapse
Yeah right...
Informative Thread
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
can you detail the procedure please.
vikrant prabhakar said:
can you detail the procedure please.
Click to expand...
Click to collapse
partition ur sd card through cm recovery then install s2e from play store now all cm7 rom come with pre install s2e script .
Another way is to use terminal emulator .
Download terminal emulator from the PlayStore and then run the following codes:
Code:
su
*grant/allow superuser permissions*
Code:
pm set-Install-Location 2
exit
exit
Note: sometimes if you get an error you may have to run
Code:
pm setInstallLocation 2
if it fails.
All this does is it allows moving many apps that aren't normally movable to the SD card. After running these codes you should be able to move apps to the SD card via Settings>Apps.
This code also sets the default location for apps to install into as the SD card.
What i do for more internal memory..!
Partitioning your sd card is an option. But if you have a sd card of less storage then this option is ruled out. I use a 2gb sd card and partitioning it is not very feasible for me. so...
1. If I'm on a stock gingerbread ROM i use this script http://forum.xda-developers.com/showthread.php?t=2303856 .
(I dont use it very often. Only if necessary.) And i odex the ROM if it is de-odexed by using http://forum.xda-developers.com/showthread.php?t=2303856 Universal Odex Script by MatrixDJ96. Odexing works very well!!! :good:
2. For a custom ROM not many modifications are needed. I just remove the unwanted apps using Link2SD. :good:

[ROOT] Move obb folder to external SD (mount -o bind folder)

Using on CM11, should work for any android build above 4.#.#
If you are having trouble mounting folders like I did like SuperMount, FolderMount didn't work for me
Even if they work, they require payment for most important features
Get BusyBox (Most custom ROMs already have it, like CM)
I used busybox mount because regular mount didn't work
Get the SManager app
Move the contents of obb folder to somewhere in external SD, (Or you can move the entire obb folder and create an empty obb folder in sdcard/Android)
Create new script from SManager (or any other text editor and save it with .sh extension) and type the mount command in it
Lets say I moved the folders inside obb to storage/sdcard1/obbfolders, then command is:
busybox mount -o bind /storage/sdcard1/obbfolders/ storage/sdcard0/Android/obb
Save the file (in SManager you press back after typing and it asks if you want to save)
Click on the file you created and check the Su and Boot boxes and Save
Script should be good to go, click Run
I use FX File Explorer to verify it (obbfolders should be shown on the main page)
Reason I created this thread, I searched this for a quite good amount of time and couldn't find anything
All "mount folder android", "mount bind android" searches either come up dead or show me an app that doesn't work for me
needo2 said:
Using on CM11, should work for any android build above 4.#.#
If you are having trouble mounting folders like I did like SuperMount, FolderMount didn't work for me
Even if they work, they require payment for most important features
Get BusyBox (Most custom ROMs already have it, like CM)
I used busybox mount because regular mount didn't work
Get the SManager app
Move the contents of obb folder to somewhere in external SD, (Or you can move the entire obb folder and create an empty obb folder in sdcard/Android)
Create new script from SManager (or any other text editor and save it with .sh extension) and type the mount command in it
Lets say I moved the folders inside obb to storage/sdcard1/obbfolders, then command is:
busybox mount -o bind /storage/sdcard1/obbfolders/ storage/sdcard0/Android/obb
Save the file (in SManager you press back after typing and it asks if you want to save)
Click on the file you created and check the Su and Boot boxes and Save
Script should be good to go, click Run
I use FX File Explorer to verify it (obbfolders should be shown on the main page)
Reason I created this thread, I searched this for a quite good amount of time and couldn't find anything
All "mount folder android", "mount bind android" searches either come up dead or show me an app that doesn't work for me
Click to expand...
Click to collapse
Trying to follow your guide....can't get it to work ?
1: Moved the entire OBB folder to my SD
2: Installed busybox, started it, software says it is installed, there's a button to install again....don't know what else it does ? If I click install, well, it installs again
3: Created the new script, saved it, ran it. It seems OK
4: When I open FX File explorer, I don't know what I'm looking for, I don't see anything going on, no operations running ?
...I didn't want to delete the original OBB directory since I don't have confirmation of this working ?
Thanks for your help
almost there...
Hi there
Had the same problem and found your thread after quite some surfing. Following your instructions, all seemed to work fine, just had to inject an "su" before the busybox mount command, then the whole external_sd (/storage/sdcard1/) was mounted to an existing (empty) folder on the internal sd (/storage/emulated/legacy/External_SD)... at least that's how it looks in SManager. When checking the target folder via file explorer, it still looks empty.
My setup:
- Samsung S4 mini on Cyanogenmod 10.2
- phone is not fully rooted, but root is granted to SManager and Busybox
- external sd card has permissions "d---rwxr-x" and is owned by "system" whereas the internal storage has permissions "drwxrwxr-x" and is owned by "root"
do I face a permission issue?
If yes, how to solve that (tried to change permissions of the External_SD folder recursively using chmod -R under root... but didn't suceed)
If not, any ideas...???
Thanks for any hint!
cheers
I'm using Lucky Patcher to bind oob folder, you should try.
@needo2: Is it required to mount the folder? This could cause problems on rejecting sd card. Maybe it does work replaceing the source directory with a simple link ("ln -s") to sd?

[Completed] Apps disapear after creating a link using link2SD

Hello,
after googling a lot and trying so many sugestions to fix my problem, I decided to ask for your help here!!
I rooted my android using kingo root.
After this, I partitioned my 32 Gb SD Card into 2 partitions (1st FAT32 and 2nd as EXT4, both as primary) using Mini Tool Partition and following a tutorial guide in rootmyandroid.org.
I changed the configuration of superSU to "enable SU during boot".
Installed the Link2SD granting root access. Change configuration of Link2SD to "relink libraries during boot" and "relink dex during boot". Choose EXT4 for 2nd partition and after rebooting, it seems that worked. When I see the "storage information" it shows "SD card 2nd Part" in /data/sdext2.
But, when I created a link to an app and rebooted, it simply disappeared. Is weird because using a terminal emulator, I accessed /data/sdext2 and his apk was there. I also could create a dir there for testing.
I tried to make the Link2SD a system app (mv /data/app/com.buak.Link2SD-1.apk /system/app/com.buak.Link2SD-1.apk), but this error messagen was shown: "failed on '/data/app/com.buak.Link2SD-1.apk' - Cross-device link".
I saw the suggest to remove the scripts 05mountsd and 11link2sd from /etc/init.d, but my android doesn't have this directory.
So, what did I forget?
Configuration:
Mobile phone: THL 5000 (it's a chinese model)
android version: 4.4.2
kernel version: 3.4.67
version number: thl.5000.007D.20140928.KK.FHD.EN.COM.16P128_MT6592T_V1.1.0
I thank in advance for all help, and sorry for my english or if I forgot something
XDA Visitor said:
Hello,
after googling a lot and trying so many sugestions to fix my problem, I decided to ask for your help here!!
I rooted my android using kingo root.
After this, I partitioned my 32 Gb SD Card into 2 partitions (1st FAT32 and 2nd as EXT4, both as primary) using Mini Tool Partition and following a tutorial guide in rootmyandroid.org.
I changed the configuration of superSU to "enable SU during boot".
Installed the Link2SD granting root access. Change configuration of Link2SD to "relink libraries during boot" and "relink dex during boot". Choose EXT4 for 2nd partition and after rebooting, it seems that worked. When I see the "storage information" it shows "SD card 2nd Part" in /data/sdext2.
But, when I created a link to an app and rebooted, it simply disappeared. Is weird because using a terminal emulator, I accessed /data/sdext2 and his apk was there. I also could create a dir there for testing.
I tried to make the Link2SD a system app (mv /data/app/com.buak.Link2SD-1.apk /system/app/com.buak.Link2SD-1.apk), but this error messagen was shown: "failed on '/data/app/com.buak.Link2SD-1.apk' - Cross-device link".
I saw the suggest to remove the scripts 05mountsd and 11link2sd from /etc/init.d, but my android doesn't have this directory.
So, what did I forget?
Configuration:
Mobile phone: THL 5000 (it's a chinese model)
android version: 4.4.2
kernel version: 3.4.67
version number: thl.5000.007D.20140928.KK.FHD.EN.COM.16P128_MT6592T_V1.1.0
I thank in advance for all help, and sorry for my english or if I forgot something
Click to expand...
Click to collapse
Hmm ... not sure what the issue is here.
I recommend to check this thread about your device: THL 5000 OctaCore MTK6592T,ROOT,RECOVERY.
There you may get a clue.
There seems to be at least one user with working link2SD moved system apps: Post #164.
If you register on xda, you can post in the thread, or send him a PM.
Here are some useful threads about link2SD in general:
Using Link2SD Most effectively for Android Phones
[LINK][GUIDE]Link2SD
[GUIDE] [FAT32] [EXT2] [2.3+] How to Partition your Android MicroSD Card
Good luck !
Thread closed. Thank you.

Link2sd mount script error fix.

Hi everyone. This is my first thread and i aint any dev. Link2sd is the peoperty of its owner and i am here with just a small fix which is faced by many.
This is a fix to the MOUNT SCRIPT ERROR that is faced by many Link2sd users.
The error is faced while creating mount script, a message pops up [SIZE="5]""mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy"" [/SIZE][/B] or [B][SIZE="5"]""mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: nos uch directory found""[/SIZE]
If you too are facing this problem then here is the fix. The fix wont brick your phone or damage it and result is guranteed. Please follow the below steps.
Before Proceeding further Keep in mind the requirements:-
1. Rooted device
2. Partitioned memory card (First partition to be used for media is to be in Fat32 format and 2nd partition to be used as secondary internal storage is to be in ext4 format (or ext2,ext3 but i prefer ext4) (Refer to any tutorials of partitioning a memory card available on the internet. I prefer to use Minitool partition wizard in a pc.
STEPS
1. Install Link2sd (From market)
2. Install App2sd (from market)
3.Convert Link2sd into System app.
This can be done by installing any app from the market which converts user app into system app. Or follow this steps A) Go to /data/app/com.bauk.Link2SD-1 B)Copy base.apk C) Go to /system/app D)paste the apk E) Rename it to com.bauk.Link2sd-1.apk (Do not create any folder) (You will need a file explorer with root access such as root explorer or es explorer)
4.Restart your phone.
5.Now open App2sd
6. Select Link application (or something like that option)
7. It will ask for mounting scripts. A pop up will occur with options to select.
8. Select the format of the 2nd partition (Ext2,Ext3 or Ext4 preferably) and method is to be selected "Normal" (If available)
9. Click on apply.
10. Restart your phone
11. Open link2sd and click the 3 dots in the top right corner and click on Storage info. If Sd card 2nd partition shows the size then you are good to go.
12. Uninstall app2sd.
13. Done
14. Enjoy
Note:- Name of apps mentioned above such as Link2sd, App2sd, Minitool partition wizard, Root explorer, Es file manager are not my creation and are property of their respective owner.
Thank you
Well... I'll try it out later. Thank you so much for this solution. Hope this works.
Enviado desde mi GT-S5301 mediante Tapatalk
Hi, there are several Apps2SD apps on PlayStore....... Which one is the one to use ?
Thx
UPDATE : Well, the answer to my "Link2SD issue" is : Apps2SD Pro ( note the "s" after App, there are many App2SD apps out there....... so it's " Apps2SD Pro"
With this app I could partition and format my sdcard, create the mount script and move most system and user apps to the sdcard. However, the developer does not recommend moving any "Google apps" to the sdcard ( I moved Google Drive before I read this and it works fine. Just be careful ! Also, the Pro version does not have ad's and has many, many additional features and this app is updated frequently.
Now I am happy !
tried everithing with this A2107A-H and nothing works my mount path is /dev/block/platform/mtk-sd.1/mmcblk1p2
if i do the same thing what u say everything is ok with partition but it still not shows the storage on storage info and if i try to move to sd card it gives me a java error i restored 3 times my phone and trying 2 days to get it work but it not works im using galaxy s8 plus with nougat and my memory card is exfat im converting it to fat32 and creating an ext2 partition but IT NOT WORKS
NO ONE HAVES A GOOD METHOD FOR THIS PLS SOME ONE SAY ME HOW TO USE THIS APP!?!?!?!?!?!?!?
Thank you very much....!!!
I just tried it and for the moment it works ... we will see how it evolves with the passing of days .... and several "intentional" reboots (verify that the script is not lost).
Again thank you very much, I looked for lost the link2sd on android 7.
Greetings.
This is a Google translation.
Mount Script Cannot be Created
I can't find com.bauk.Link2SD-1 anywhere with ES Explorer nor with the file manager. Tried after installing Link2SD several times still no result.
sarmamanashjyoti2012 said:
Hi everyone. This is my first thread and i aint any dev. Link2sd is the peoperty of its owner and i am here with just a small fix which is faced by many.
This is a fix to the MOUNT SCRIPT ERROR that is faced by many Link2sd users.
The error is faced while creating mount script, a message pops up [SIZE="5]""mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy"" [/SIZE][/B] or [B][SIZE="5"]""mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: nos uch directory found""[/SIZE]
If you too are facing this problem then here is the fix. The fix wont brick your phone or damage it and result is guranteed. Please follow the below steps.
Before Proceeding further Keep in mind the requirements:-
1. Rooted device
2. Partitioned memory card (First partition to be used for media is to be in Fat32 format and 2nd partition to be used as secondary internal storage is to be in ext4 format (or ext2,ext3 but i prefer ext4) (Refer to any tutorials of partitioning a memory card available on the internet. I prefer to use Minitool partition wizard in a pc.
STEPS
1. Install Link2sd (From market)
2. Install App2sd (from market)
3.Convert Link2sd into System app.
This can be done by installing any app from the market which converts user app into system app. Or follow this steps A) Go to /data/app/com.bauk.Link2SD-1 B)Copy base.apk C) Go to /system/app D)paste the apk E) Rename it to com.bauk.Link2sd-1.apk (Do not create any folder) (You will need a file explorer with root access such as root explorer or es explorer)
4.Restart your phone.
5.Now open App2sd
6. Select Link application (or something like that option)
7. It will ask for mounting scripts. A pop up will occur with options to select.
8. Select the format of the 2nd partition (Ext2,Ext3 or Ext4 preferably) and method is to be selected "Normal" (If available)
9. Click on apply.
10. Restart your phone
11. Open link2sd and click the 3 dots in the top right corner and click on Storage info. If Sd card 2nd partition shows the size then you are good to go.
12. Uninstall app2sd.
13. Done
14. Enjoy
Note:- Name of apps mentioned above such as Link2sd, App2sd, Minitool partition wizard, Root explorer, Es file manager are not my creation and are property of their respective owner.
Thank you
Click to expand...
Click to collapse
thanks
thanks sarmamanashjyoti2012
huawei P10 plus custom rom fRomFuture_Genesis_B172_V3.0
Link2sd work now
Doesn't work for me, I get stuck at point 8...
Apps2sd won't load partition due to error: mounting /dev/block/mmcblk1p2 on /data/sdext2
Ag0n1a said:
Doesn't work for me, I get stuck at point 8...
Apps2sd won't load partition due to error: mounting /dev/block/mmcblk1p2 on /data/sdext2
Click to expand...
Click to collapse
Same for me, no new ideas?
Kind of frustrating running out of internal storage.
umtalilives said:
Same for me, no new ideas?
Kind of frustrating running out of internal storage.
Click to expand...
Click to collapse
I used Samsung Galaxy Note 3 N9005 with Resurrection Remix Nougat v5.8.3 with Magisk v12.0 and Dual Boot Patcher.
I had the same problem with Link2SD, got the same error.
The Link2SD developer suggested me to upgrade to Magisk v16.0. I also upgraded to Resurrection Remix Nougat v5.8.5.
This solved the problem with Link2SD at least in my case.
Sent with Tapatalk from my Samsung Galaxy Note 3 SM-N9005
klorinczi said:
I used Samsung Galaxy Note 3 N9005 with Resurrection Remix Nougat v5.8.3 with Magisk v12.0 and Dual Boot Patcher.
I had the same problem with Link2SD, got the same error.
The Link2SD developer suggested me to upgrade to Magisk v16.0. I also upgraded to Resurrection Remix Nougat v5.8.5.
This solved the problem with Link2SD at least in my case.
Sent with Tapatalk from my Samsung Galaxy Note 3 SM-N9005
Click to expand...
Click to collapse
I used to have SM-N9005 but I lost it so for something different , got a moto g4 plus.
I have Magisk v16.0 and lastest RR Nougat.
I was able to get Link2sd to recognize the partition but best I can get is the link to sd function, will not move any apps to sd.
Was wondering if that is just the same as integrating the Ext4 partition as internal?.
Do I need bother with Link2SD if it will not move the apps?.
umtalilives said:
I used to have SM-N9005 but I lost it so for something different , got a moto g4 plus.
I have Magisk v16.0 and lastest RR Nougat.
I was able to get Link2sd to recognize the partition but best I can get is the link to sd function, will not move any apps to sd.
Was wondering if that is just the same as integrating the Ext4 partition as internal?.
Do I need bother with Link2SD if it will not move the apps?.
Click to expand...
Click to collapse
Link to sd works for me, app move does not work, I get error.
Sent with Tapatalk from my Samsung Galaxy Note 3 SM-N9005
klorinczi said:
Link to sd works for me, app move does not work, I get error.
Sent with Tapatalk from my Samsung Galaxy Note 3 SM-N9005
Click to expand...
Click to collapse
Link2SD pro (I bought the licence) doesn't move the apps, but It works with links.
desolli said:
Link2SD pro (I bought the licence) doesn't move the apps, but It works with links.
Click to expand...
Click to collapse
Yes, linking works, but standard app move does not.
Sent with Tapatalk from my Samsung Galaxy Note 3 SM-N9005
cela n'a pas marché pour moi
Why my link2sd force close after mount sd with app2sd and restart?

Categories

Resources