Link2SD - Android One (First-Generation) Cross-Device Genera

Hello!
On lollipop i could use link2sd, but on marshmallow when i try create script i get message "mount: no such file or directory". How I can repair this?
My phone is Karbonn Sparkle V

Use memory card as internal memory in Marshmallow (warning: it will format your memory card so prepare a backup of your data). Better than link2sd but a drawback that you cannot remove sd card and use it on another mobile and also custom recovery cannot mount your memory card

I don't want to use a internal memory in Marshmallow (apps dont have access to sdcard and it can't download files for example games).

kompus said:
I don't want to use a internal memory in Marshmallow (apps dont have access to sdcard and it can't download files for example games).
Click to expand...
Click to collapse
Actually I used my card as internal memory and games work pretty well and Download their data in memory card

I use Apps2SD. It's beeter than link2sd and free.

hp5942 said:
Use memory card as internal memory in Marshmallow (warning: it will format your memory card so prepare a backup of your data). Better than link2sd but a drawback that you cannot remove sd card and use it on another mobile and also custom recovery cannot mount your memory card
Click to expand...
Click to collapse
I don't think it is better. Link2SD moves more files to SD card.

vjtigas said:
I don't think it is better. Link2SD moves more files to SD card.
Click to expand...
Click to collapse
Better for non rooted users

hp5942 said:
Better for non rooted users
Click to expand...
Click to collapse
so has anyone found out how to use link2sd in marshmallow?

Use apps2sd to create mount script and then install link2sd and remove apps2sd. Voila! You're set!

psiknight99 said:
Use apps2sd to create mount script and then install link2sd and remove apps2sd. Voila! You're set!
Click to expand...
Click to collapse
Hello, please can you share link to Apps2SD, what you mean? There are many on Play Store and mostly useless. Thanks a lot.

This is the one:
https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd

Is it also not working on CM13 or CM13 supports move app to ext sd.

I tried different mount scripts/command with no luck. It looks like during start Android is trying to mount sdext as FAT and is blocking Link2SD.

How to use link2sd with marshmallow?
Sent from my C2005 using Tapatalk

I have the same problem
kompus said:
Hello!
On lollipop i could use link2sd, but on marshmallow when i try create script i get message "mount: no such file or directory". How I can repair this?
My phone is Karbonn Sparkle V
Click to expand...
Click to collapse
I have the same problem?... Has someone solved? I have htc one A9 rooted and S-OFF

can some budy plz slove this problem because of only this resone i dont want to use android 6
best needed app is not working in android 6

I have the very same issue on cm13 where link2sd is telling me that mount script cannot be created due to non existing file or directory.
I wrote a mail to the dev two weeks ago but did not get any response which is utterly painful since I bought the pro version like two months ago. Just two weeks before upgrading to marshmallow...
Gesendet von meinem Moto G 2014 LTE mit Tapatalk

gothicVI said:
I have the very same issue on cm13 where link2sd is telling me that mount script cannot be created due to non existing file or directory.
I wrote a mail to the dev two weeks ago but did not get any response which is utterly painful since I bought the pro version like two months ago. Just two weeks before upgrading to marshmallow...
Gesendet von meinem Moto G 2014 LTE mit Tapatalk
Click to expand...
Click to collapse
Exactly!! I too bought the pro hoping for continuous support... I dont want any new features n stuff... just make it useable on MM

Found a workaround that works for me.
the_prodigal_coder said:
so has anyone found out how to use link2sd in marshmallow?
Click to expand...
Click to collapse
I found a workaround to make link2sd work on android 6.
The first time I installed and ran link2sd, during the creation of the boot script an error was raised about a missing /dev/block/vold/179:18 device.
So I logged in with a terminal and discover that the device in vold is no longer called 179:18 but public:179_18.
I created a symbolic link with the 179:18 name that points to the new device name, recreated the mount scripts and I have now the second SD partition automatically mounted and working to move apps with link2sd.
I sent an email to the app creator, I hope he can fix the issue now.
Below how I did:
- Write down the name of missing device from the error raised by link2SD when the mount script creation fails (eg. for me: /dev/block/vold/179:18)
- Open a terminal to open a local shell.
- Log in as the root user ("su" command)
- Change to the device dir and list the present devices.
Example for me (/dev/block/vold/179:18):
Code:
[email protected]: / # [B]cd /dev/block/vold[/B]
[email protected]: /dev/block/vold # [B]ls[/B]
disk:179_16 public:179_17 [B]public:179_18[/B]
[email protected]: /dev/block/vold #
- Identify the new device name: if for example the device name was "179:18", now the new one is "public:179_18"
- create a symbolic link named as the missing device that point to the new device name (replace the name with your device):
Code:
[email protected]: /dev/block/vold # [B]ln -s "public:179_18" "179:18"[/B]
- DO NOT REBOOT YET
- if you list files you should see the new link:
Code:
[email protected]: /dev/block/vold # [B]ls -l "179:18"[/B]
lrwxrwxrwx 1 root root 13 Feb 19 11:11 [B]179:18 -> public:179_18[/B]
- Open the link2SD app and from the menu choose "Recreate mount script" and accept to reboot when the script has been created.
link2SD should now be able to create the mount script.
When you reboot your device, the symbolic link that you created is deleted, but in my case the app created a mount script with 2 mounts:
- The first with the device using the symbolic link (that will fail because the link is gone)
- The second with the physical device (/dev/block/mmcblk1p2) that will successfully mount the 2nd sd partition
So, if it's the same for you, you will not need to modify the mount script.
The only issue (but not that annoying) now is that at every reboot android see the 2nd SD partition as corrupted and ask you to format it: I simply ignore it and dismiss the notification (If someone knows a way to make android ignore a specific disk device, let me know)
I don't know if this can work on all devices, I only could test with my galaxy tab 3.8 with A Bliss ROM.
Let me know if it works.
Manu

Will try it asap and report back, @wmanux! Did almost the same already but with a hard link (ln ... without the -s option) but it didn't work. Can you elaborate the difference a symbolic link makes?
Thx ahead bro!
Gesendet von meinem Moto G 2014 LTE mit Tapatalk

Related

[Q] Link between folders possible ?How to make auto-script ?

Hello,
As I have a problem with not enough internal memory for gameloft titles, I`ve inserted my 8GB Sd card into my I9000, just to find out it is attached as "external_sd" folder.
I was thinking about using my external card as "gameloft" folder.
So my question is: how to make a link between "gameloft" folder on internal sd memory so that it links directly to inside of the"external_sd\gameloft" folder ? I know it can be done- I did smthg like this when playing with app2sd (moving dalvik cache, app and other folders to ext partition on my SD card on my previous phone).
I also need some proposal on how to automate the process of making this link - for example: how to create some script and put it in auto-startup, so every time I reboot my phone, the link persists.
I think this way many people would be able to increase their space with external SD cards
If you know how to make script put it in /system/etc/init.d folder and it will execute at every startup.Give full permission on script.
http://www.google.com/search?q=gameloft+game+external+sd
Coding rule #1: Don't reinvent the wheel if you don't have to.
Rubysz said:
http://www.google.com/search?q=gameloft+game+external+sd
Coding rule #1: Don't reinvent the wheel if you don't have to.
Click to expand...
Click to collapse
Coding rule #2: Square is a square, but inventing a wheel is something that runs the civilization forward
Really, you thought that I didnt check all the possibilities ? Using somebody simple program, wchich only changes settings inside of apk is not what I`m interested for, especially this works only for gameloft games, and I`d like to have the feature without digging in any apk file.
I was thinking about this - I also came up to conclusion, that dynamic links work only under linux partitions (for ex: ext2,ext3,ext4) and not on fat32 system, which we have on our internal memory and sd cards.
My second thought was that I remember in the times of good-old dos it was possible to make a link between folders, but in this case we have a mix - linux os + fat32 partitions.....
I have to digg how to make a auto-link script cause I dont remember too much of linux scripting/command line.
edit: do You think that using this command is enough: ln -s /sdcard/gameloft /sdcard/external_sd/gameloft
could it be so simple ? should it work with fat32 ?
bipbop said:
should it work with fat32 ?
Click to expand...
Click to collapse
No. FAT32 doesn't support
symlinking.
Sent from my GT-I9000 using Tapatalk
xxbeanxx said:
No. FAT32 doesn't support
symlinking.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
ok, but what about mount command (mnt) ??
As I understand, Android = linux.
If so, we have internal memory mounted as "sdcard" folder and our external micro sd mounted as "sdcard\external_sd" , right ?
So, question is, can we make a script to unmount "sdcrad\external_sd" and mount as "sdcard\anything" ??I think this would be great , as we could mount the sdcard as any folder - for example as "Android" or "Gameloft", thus increasing available space very much .
Anybody can make this kind of simple auto-start script ?
bipbop said:
So, question is, can we make a script to unmount "sdcrad\external_sd" and mount as "sdcard\anything" ??
Click to expand...
Click to collapse
Have a look at /system/etc/vold.fstab
Sent from my GT-I9000 using Tapatalk
xxbeanxx said:
Have a look at /system/etc/vold.fstab
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
ok, going deeper
Is it possible to link mount point to another folder ?

[Q] Increase Internal memory

any solution to increase internal memory for Samsung Ace 5830!!
android version 2.3.4
Baseband version S5830DDKQ6
Make 2nd partitions then use link2sd...
regards,
•ƒγяύs ργяσ™•
pyronia said:
Make 2nd partitions then use link2sd...
regards,
•ƒγяύs ργяσ™•
Click to expand...
Click to collapse
how to create a 2nd partition is there any apps for it for doing so ??
draneesh said:
how to create a 2nd partition is there any apps for it for doing so ??
Click to expand...
Click to collapse
yea der is a software "minitool partition wizard"...
but u can do it by cwm recovery mod...
Sent from my GT-S5830 using xda premium
draneesh said:
how to create a 2nd partition is there any apps for it for doing so ??
Click to expand...
Click to collapse
Use pc...google minitool....easy to use app...
regards,
•ƒγяύs ργяσ™•
draneesh said:
how to create a 2nd partition is there any apps for it for doing so ??
Click to expand...
Click to collapse
I highly recommend using CMW for making the partition. I've had some problems making them through my PC. With CMW you just set the amount of size you want it and wait till its done.
Then install S2E.
yea its better to make it by cwm and its very easy....
but make sure you have the backup of you sdcard before partitioning...
Hey ! I just googled about partitioning sd card and found that CWM may brick your phone.. is it true ?
balaji.s26 said:
any solution to increase internal memory for Samsung Ace 5830!!
android version 2.3.4
Baseband version S5830DDKQ6
Click to expand...
Click to collapse
If your phone is rooted, follow these steps -
1) Download root explorer or file manager app from market.
2) Open the app
3) Go to system/app
4) Delete the following files
swype.apk
thinkdroid.apk or thinkfree.apk if you dont use thinkfree office(something like that, i dont remember the exact name)
youtube.apk
fmradio.apk and fmradio.odex
voicesearch.apk
voicerecorder.apk and voicerecorder.odex
etc..
Delete these files only if you dont use all these apps. Don't blame me later on.
tj_droid said:
If your phone is rooted, follow these steps -
1) Download root explorer or file manager app from market.
2) Open the app
3) Go to system/app
4) Delete the following files
swype.apk
thinkdroid.apk or thinkfree.apk if you dont use thinkfree office(something like that, i dont remember the exact name)
youtube.apk
fmradio.apk and fmradio.odex
voicesearch.apk
voicerecorder.apk and voicerecorder.odex
etc..
Delete these files only if you dont use all these apps. Don't blame me later on.
Click to expand...
Click to collapse
But its not a permanent solution....
Prawesome said:
But its not a permanent solution....
Click to expand...
Click to collapse
Yea, I know.. I just gave an easier solution.. If he wont use much apps den this can work as a permanent soln
Sent from my GT-S5830 using iOS ROM
Apps disappearing from EXT4 partition
Hi everyone. Since I see that at least part of this thread seems to be talking about Link2SD, I wondered whether anyone might be able to offer some insight into the problem I am experiencing.
Before that however, let me explain that I started off with an 8GB micro SD card with a 500MB EXT4 partition. I had been fast running out of space in the internal phone memory, and my SD drive itself was also filling up fast. When I installed Link2SD I managed to regain a considerable amount of free space on the internal memory.
The problem is though that once I had linked the majority of my apps to the EXT4 partition and backed up the device in that condition with CWM, once I rebooted the system all the apps that were linked had disappeared. However there are still some 244MB of files on the EXT4 partition that Link2SD says are in use, and I cannot delete them.
I then purchased a 16GB micro SD card from Samsung, and tried to restore the CWM backup to that card....my apps were missing apart from the few that remained on the FAT32 partition and in the phone memory....I should mention that this also happened before I installed the CM7.1 ROM.
Now things have really become problematic. I decided to remove quite a few apps, then download the latest version of Link2SD from the apps Market. But although there is now plenty of space on all partitions I keep getting the 'insufficient storage available' message, and I cannot install anything. I also did a CWM restore on the original 8GB SD card with the same result. This is why I cannot lay the blame fully on Link2SD, as there has to be a glitch somewhere in my installation.
FreeSpace [Root] shows the following on the 8GB based system:
Cache free space 20.7MB
Data free 16.6MB
Ext free 265.0MB
SD-card free 959.1MB
System free 48.2MB
So what gives? I really don't understand what's going on. I am running the latest CM7.1-RC1 Cooper-Grif ROM build number GWK74, with Kernel version 2.6.35.7-CL-562111 [email protected]#1 with all updates necessary. This is costing me more time than I can afford to lose on this, and I really need to find a solution once and for all, preferable without having to reinstall everything again from scratch, which is what I intend doing once the official Cyanogen Mod becomes available finally.
Thanks in advance, and apologies for the long post.
try this http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
and install S2E + FreeSpace
Deodex your rom using my tutorial !
http://forum.xda-developers.com/showpost.php?p=21853516&postcount=1
Make partition in cwm yet easy but...it will format your sd...on minitool is better if u have lots of thing on your sd...
regards,
•ƒγяύs ργяσ™•
I got some problems doing this. This is what I did:
I had many apps installed and moved to SD (8gb class 4), so I made a backup of the SD content.
I formatted it, and created 2 partitions (6.8gb and 515mb) using Minitool Partition Wizard. Both are primary and FAT32 (if I create the 2nd partition as EXT2 the phone says SD is damaged).
Moved my backup content again to the 6.8gb partition and rebooted the phone.
Looks like everything is right but Link2SD says "second partition not found".
What IM doing wrong?
Would Link2SD detect that 2nd partition if I flash my phone and I start installing apps now that my SD has 2 partitions?
IMHO from what I've experience, Link2sd does not accept fat partitions. I had the same problem.
Are you looking for the correct type of partition?
Start Link2sd>menu>More>recreate mount scripts and choose FAT32/FAT16
truth57 said:
Hi everyone. Since I see that at least part of this thread seems to be talking about Link2SD, I wondered whether anyone might be able to offer some insight into the problem I am experiencing.
Before that however, let me explain that I started off with an 8GB micro SD card with a 500MB EXT4 partition. I had been fast running out of space in the internal phone memory, and my SD drive itself was also filling up fast. When I installed Link2SD I managed to regain a considerable amount of free space on the internal memory.
The problem is though that once I had linked the majority of my apps to the EXT4 partition and backed up the device in that condition with CWM, once I rebooted the system all the apps that were linked had disappeared. However there are still some 244MB of files on the EXT4 partition that Link2SD says are in use, and I cannot delete them.
I then purchased a 16GB micro SD card from Samsung, and tried to restore the CWM backup to that card....my apps were missing apart from the few that remained on the FAT32 partition and in the phone memory....I should mention that this also happened before I installed the CM7.1 ROM.
Now things have really become problematic. I decided to remove quite a few apps, then download the latest version of Link2SD from the apps Market. But although there is now plenty of space on all partitions I keep getting the 'insufficient storage available' message, and I cannot install anything. I also did a CWM restore on the original 8GB SD card with the same result. This is why I cannot lay the blame fully on Link2SD, as there has to be a glitch somewhere in my installation.
FreeSpace [Root] shows the following on the 8GB based system:
Cache free space 20.7MB
Data free 16.6MB
Ext free 265.0MB
SD-card free 959.1MB
System free 48.2MB
So what gives? I really don't understand what's going on. I am running the latest CM7.1-RC1 Cooper-Grif ROM build number GWK74, with Kernel version 2.6.35.7-CL-562111 [email protected]#1 with all updates necessary. This is costing me more time than I can afford to lose on this, and I really need to find a solution once and for all, preferable without having to reinstall everything again from scratch, which is what I intend doing once the official Cyanogen Mod becomes available finally.
Thanks in advance, and apologies for the long post.
Click to expand...
Click to collapse
Try s2e best app for CM roms,nearly perfect app, dnt have to link ur data again n again, it does its job without bugging u, try it u would love it
Sent from my GT-S5830 using XDA

Link2sd Invalid argument error

I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
You need a partitioned sd card, have you tried other mount formats (fat32, ext2, ext3)?
What rom, kernel and scripts are you running?
Initially I used mini tool to partioned the sd card and all the formats didn't work. so i used cwm to partion the sd card partioning worked but link2sd is won't. Kernel:[email protected]#1
Rom:S5830XWKP7. I haven't an idea about the scripts though. how do i find that?
What is your rom because some roms aren't compatible with this script, but you can install the script !
I'm using a stock rom:S5830XWKP7
Sent from my GT-S5830 using xda app-developers app
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
dxppxd said:
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
Click to expand...
Click to collapse
I had the same problems and I tried switching around the formats too.
One thing that did work for me, twice, was to completely format the card and recreate both the partitions on the SD card each time whenever I flashed a new ROM and was going to use Link2SD or S2E. And I used FAT32 for the Link2SD partition. Formatting only the second partition always gave me the mount error.
Hope this helps!
Not all Aces are equal. I don't know the difference, but I had 2 Aces, the ROM info shows same version of software. On one (older one) EXT3 worked, on the newer one it didn't and I had to use FAT32. Strange. I also noticed one Ace (newer one) is a bit THINNER! Same rooting worked for both Aces...
Partioning both as fat32 doesnt work as the phone reads the card as damaged
Sent from my GT-S5830 using xda app-developers app
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
sjg2797 said:
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
That's how Link2SD works. Internal memory is still the same, and application data isn't moved to the SD card.
The actual app file, dalvik cache and library files are moved to the SD card.
If you go to the application management system option, you'll see applications are still taking all the memory space they're supposed to take. Well, that's what the phone thinks, but they're actually not.
Of course, all of this and more is included in the official [url="http://www.link2sd.info/faq]Link2SD FAQ[/url], but then again, everyone knows FAQs are not supposed to be read, and I won't be bugging you more about this subject because I too didn't read the FAQ at first, and once asked similar questions.
Darkcloud4491 said:
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
Click to expand...
Click to collapse
Perhaps the op actually wants to move whole apps to the SD and not leave massive chunks still in /data partition? Or maybe that doesnt provide enough space?
Use cronmod script its a flashable zip you mount/data and mount/system that's it done just search cronmod and you will find what you need
my ace is 'ACE'
invalid argument
both of my partitions are fat32, but i had to select ext4 in link2sd to get it to mount. is this a normal fix? or is it not going to function properly?
is it possible to use an sd card to increase /data and /system? cuz even with link2sd i keep running out of internal space, and ive only got 18 mb free in system. my link2sd is set to install to external and autolink.
im using this rom: 【ROM】【=CM10=】【=Aroma=】| ★★ Optimus Prime v1.8 ★★ | 16-04-2013 | 《 Reborn © ✌ 》
Solution of the problem mount script error
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Expatiate
John Risky said:
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Click to expand...
Click to collapse
Can you please be a bit more detailed seeing as you have not expressed yourself adequately to be of assistance. kindly try enumerating the points instead of lumping them.
1.PARTITIONS PASS IS WRONGLY CREATED ..... i believe you mean path please come again and where is this partition part so i can reconfigure it.
sjg2797 said:
I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
Click to expand...
Click to collapse
Have you partitioned your sd card to ext2/ext3/ext4? If it's ext2 then make sure you select ext2 in link2sd. Your phone has to be rooted.
john risky said:
now i am gonna tell u about the most major problem
which is a siily message box appears telling you that
(mount script can not be created. Mount: Invalid
argument)
but here is the real error that caused the message box
and it is that the partitions pass is wrongly created
and here how can it be fixed u r gonna open aparted and
recreate the partitions then go to the configuration part
and change the detected device from (mmcblk0)
to(usbdisk) then automatically the path should be
changed from (/dev/block/mmcblk0) to (/dev/block/sda)
and surely your problem should be solved
then open the link2sd there should be a messege appeared
saying
and if not you shall go to the options and
choose (recreate new link scripts) choose the partition s
system and here it is you just got yourself a successful
linking
if it didn t work then you r gonna have to fullyshutdown
your mobile then reboot
and i asure u it is gonna work
:good:
:laugh:
Click to expand...
Click to collapse
could you please elaborate it...
worked for me on my moto e
same problem solved by making the partition as primary partition ..try it

Solved! How to swap the internal sd storage with the external one

Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
EDIT: I've found a way to do that, and it only needs to have a Galaxy S3 Mini i8190 rooted.
Okay let's go.
I took the method from this thread: http://forum.xda-developers.com/showthread.php?t=1886091
But it's not exactly the same on the Mini.
The following quote is the instructions taken from the thread with the improvements ( in red ) for the i8190.
NB: I can't answer to questions since I'm not expert at all, I got it working so I give you the solution, that's all I can do.
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
You MUST install BusyBox too!! https://play.google.com/store/apps/details?id=stericson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
(This vary depending of your phone, so check where is located internal storage, it was /storage/sdcard0 for me, and the external SD, it was /storage/extSdCard for me.)
8. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
9. Using Script Manager, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on properties.
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
10. Click on the scipt now.. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Click to expand...
Click to collapse
Try this it might solve you're solution. http://forum.xda-developers.com/showthread.php?t=1410262
Sent from my GT-I8190 using xda premium
No, sorry, I've already seen that but it's not a way to swap the internal with the external sd storage..
Jalubyc said:
Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
Click to expand...
Click to collapse
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
enox.co said:
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
Click to expand...
Click to collapse
I've an external sdcard, I bought one of 32GB, but I can't use it as I wanted to because there is no way to install apps into the sd card. So I'm searching for a way to let know the phone that the external sd is the internal storage and that the internal storage is the external sd card.
I've found a way!
Well what is it then.
Sent from my GT-I8190 using xda premium
kicker63 said:
Well what is it then.
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Please take a look at my first post. I edited it with the solution.
Hi Jalubyc
I've just tried your solution above and my phone is showing under storage
Device memory Total space 4.54GB
Available 378Mb
SD Card Total Space 29.71GB
Available 27.12GB
So it looks like my first attempt didn't work
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
jazzzy786 said:
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
Click to expand...
Click to collapse
Oh no you're totally out of the solution. The /data directory is at root of the phone, so not in a sdcard. Use chrome from your PC to save as and put in into your sdcard before putting it into the /data directory with ES Explorer or another file explorer that's supporting root.
For the ROM updates I don't know because I've never tried.
I still cannot save the script using 'save as' as I don't have the option. I have 'save link as' which saves it as a text document. Edited it as stated.
I've found the data folder but ES explorer wouldn't allow me to copy my script to it and is showing the folder as blank.I got root browser lite from the play store which worked okay in allowing me to copy to the data folder. I used s manager lite to do its stuff and rebooted. No success - .
I'm using Android version 4.1.2/ Build number JZO54K.I8190DXALL3 .
Are you positive about the /storage/ change to the script as I remember when using directory bind it was /mnt/extSdCard/ and /sdcard/.
There is a /mnt/sdcard/ too which contains the same files as other location so possibly script can run unchanged. Getting a bit frustrated now as I have an old HTC Desire with over 300 apps (70+ games) with internal memory of 137Mb out of 148Mb and 10Gb free on sdcard out of 32gb
---------- Post added at 02:20 PM ---------- Previous post was at 01:42 PM ----------
Ok working now. Your script changes were correct. Device memory total space 29.71GB with 27.12GB free. Sd card total space 4.64gb with 800Mb free.
Now to get my full 4.64Gb back which folder contents do I delete? I think deleting the contents of extsdcard in my files. Thanks you've changed my phone from a very limited phone to something much better.
It is a bit strange way to solve free space problems.
I have 8GB version with 4.5GB free the box. When I installed all games and apps that I needed there was something about 800MB free.
My solution is simple:
1. install Directory Bind
2. Make link: mount="/sdcard/Android/", source="/storage/extSdCard/Android/" with "Transfer Files" option
3. Wait till the end of process (can take alot of time depends from your data)
4. Enjoy!
After this simple manipulations I got 3.6GB free in internal memory, installed 2 additional games (including Need for Speed Most Wanted with huge data) and it shows 3.4GB now.
You can make as much links as you want, of course. But moving "/sdcard/Android/" to external SD is enough
I tried directory bind and it just copied the contents of my internal sdcard to my external sdcard. It didn't move the contents as it was supposed to. I ended up with a copy of the files on both sdcards. If I tried to delete from my internal sdcard it also deleted the contents of my external sdcard. I couldn't for the life of me figure out what I had done wrong as I'd followed the instructions as far as I could tell. Now my phone is seeing a massive internal sd card and a 4Gb external sd card. I still can't get spiderman total mayhem to work though it throws up an error while downloading the game data
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
flashable zip
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Yes it is possible. Take a look of the post for the galaxy s3, it is explained. But you must edit the script to make it working.
plvigo said:
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Click to expand...
Click to collapse
Not possible, we do not have a unlocked kernel, therefore we cannot load unsigned zips.
dolar4ik said:
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
Click to expand...
Click to collapse
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Jalubyc said:
You MUST install BusyBox too!! https://play.google.com/store/apps/d...ricson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD C...tsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
Click to expand...
Click to collapse
i have two questions:
1: What do i have to do with this data:
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3s by Zedomax at GalaxyS3Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
if busybox mount | busybox grep vold/179:97; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
Click to expand...
Click to collapse
And 2: how do i edit what is on step 7?
jazzzy786 said:
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Click to expand...
Click to collapse
Symlink
symlink in human words is just a folder redirect.
For example, you have symlink that links folder "/storage/mydata/" to folder "/sdcard/mynewdata/"
When some application, system or user will try to get data from folder "/storage/mydata/", the data data from "/sdcard/mynewdata/" will be shown but folder path will be not changed.
You should not link root folders such as "/sdcard/", "/" ... coz it may prevent problems.

Sony Xperia ZR – Mount ExternalSD2InternalSD

Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card(EDIT: PS: both partitions should be Primary). Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Edit:
Simplified installation if you do not care for easy accessibility to your orig internal memory:
Use this video tutorial by ashwin123:
The only exceptions are that, you need to partition your card,
and you have to use the file 'mountSdFailSafe.txt' instead of the file in the package mentioned by him.
Nice
Waiting for someone to test it n confirm it successfully works
Still here
N!geR -> E!ch0
NisJ said:
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card. Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
grim_ripper said:
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
Click to expand...
Click to collapse
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
NisJ said:
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
Click to expand...
Click to collapse
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
grim_ripper said:
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
Click to expand...
Click to collapse
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
grim_ripper said:
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
Click to expand...
Click to collapse
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
E!ch0 said:
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
Click to expand...
Click to collapse
Creating a video will take time at least til sat... prob more.
Will see if I can create a simplified install instructions once i reach home.
NisJ said:
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
Click to expand...
Click to collapse
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
grim_ripper said:
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Click to expand...
Click to collapse
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
grim_ripper said:
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
Click to expand...
Click to collapse
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
NisJ said:
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
Click to expand...
Click to collapse
For whatever reason, my /etc folder is actually a link from /system/etc
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
grim_ripper said:
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
Click to expand...
Click to collapse
The apps are behaving funny because you have lost their data as I had warned in the original post.
To fix do either of the foll:
1. reinstall app, and start fresh.
or
2. restore from Titanium backup if you had created...
or
3. copy paste 'Android' folder from sdcard2 if it is created to 'sdcard0'
To remove and revert, just delete the files from int.d, and stop scheduling it in SManger.
Note: to un schedule it from smanager, you first have to remove memory card, un schedule and then put in your memory card (this is coz when phone boots up, it is in standard way, with 8gb internal but, after script is executed SManager looses its data too.
How complicated will it be to make this compatible with 4.2.2?
grim_ripper said:
How complicated will it be to make this compatible with 4.2.2?
Click to expand...
Click to collapse
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
NisJ said:
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
Click to expand...
Click to collapse
I did try but nothing happened, am guessing it has permission issues or something on those lines
grim_ripper said:
I did try but nothing happened, am guessing it has permission issues or something on those lines
Click to expand...
Click to collapse
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
NisJ said:
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
Click to expand...
Click to collapse
on the 4.2.2 update, it doesnt recognize the second partition even if it is formatted to primary and set to active. there r definitely some updates done in that field and plus i cant get the init.d rights on the phone as the test.log file is absent in the data folder..no matter what i do i just cant get it straight with the present procedure. please try it on 4.2 and there r more frequent updates on the nordiac then the local version. so i decided to flash it rather than waiting for ota update

Categories

Resources