Sorry if i sound like a noob but can i take advantage of the ext3 partition on my SD using this version of CM?
I partitioned my SD using clockworkmod, which is why it's ext3.
only app i've tried is Link2SD but when i tell it there is an ext3 partition on the card it creates a script and asks me to reboot.
Once that's done and i access the app again it goes through the same motions and informs me that - "if im seeing this message then the partition is unable to be mounted during boot"
Appreciate any help
Here's a quick way to install Link2sd.
I preassume that your device is rooted and your sdcard data is backed up.I think,the mount script didn't work because of inappropriate attributes..Ok heres,how i installed Link2sd...
1.First of all download and install MiniTool Partition Wizard in your windows PC.
Connect your handset to the PC via USB.
2.Launch MiniTool Partition,you should see your SDcard mentioned in the list Under Disk 2 probably.
3.Right click your SDcard mentioned in the list, press "Move/Resize Partition"
4.In the Partition size,allocate bigger chunk of partition for primary partition.This is the partition your phone will access for general purpose.Say you allocate 7GB from your 8GB memory card.
Click OK.
5.Now Under disk 2. you will see and unpartitioned space of about 1GB.This partition will be used by link2sd.You may allocate your sdcard as you may wish.
6.Right click the upartitioned space to create a new partition under "Create As".If a warning popup asks for permission click YES.
7.Under New window Create As,choose "Primary".For File System type choose 'FAT32'.though you may choose among ext3 or ext4,either is supported by link2sd.NTFS is not supported by Link2sd or android OS.For partition size take whole unallocated space.Click on OK
8.Click Apply button<upper left corner in the screen>.
9.Restart your phone.
Again use your Link2sd app to create mount script.Now your app should work fine.
Don't forget to hit THANKS if i helped you.
I would not suggest you to create the Link2sd partition as a FAT32 one: this way when you will connect your phone to a PC through the USB cable Windows will mount all the 2 partitions automatically (with all negative consequences you can imagine); this issue will not happen on Linux, however; while with the Link2sd partition formatted as extX you will be able to use your linked apps while the phone is connected to your PC and the first partition is mounted, it doesn't matter if you are on Linux or Windows (tested )
Regarding your problem: try to tell the Link2sd script activator that your partition is an ext4 and see if it works.. I hope so, anyway let us know..
@brainvision
yeah thanks,extX would be better..bt i think windows doesn't mount two sdcard Fat32 partition at a time.i may be wrong in this term, bt sometime back,when i used to use rooted android 2.1,windows would mount only my 1st primary partition of sdcard..however under ubuntu..both partition would load bt without affecting the phone apps.
thinkfreedom said:
@brainvision
yeah thanks,extX would be better..bt i think windows doesn't mount two sdcard Fat32 partition at a time.i may be wrong in this term, bt sometime back,when i used to use rooted android 2.1,windows would mount only my 1st primary partition of sdcard..however under ubuntu..both partition would load bt without affecting the phone apps.
Click to expand...
Click to collapse
oh sorry I'm not a winZoZZ user since a lot of time!! I'm a slacker now!!
Regarding Linx OS: I set up my Slackware so that it doesn't auto mount external disk, so i can plug in the phone and activate the USB Mass storage without still mounting it: this way I can mount only the first partition; but in a auto-mount situation I fear that the the phone apps would be affected by USB Mass storage activation!
Related
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.
hi yal
my internal memory have about 40mb left and is startting to get low ..
so is there a way to increase it ? i use tita backup to move apps but there still traces of bytes left ...i have about 60apps / games and themes ...so any help?
Look for "Link2Sd" in the market that's the easiest way I think.
Greetings !
Sent from my GT-S5830 using XDA App
link2sd needs partition sd card yes? how do i partition it by the way?
Flash cm7 and use s2e ..after that ull be trying to find apps to fill the memory but u will never be able to fill it cause even if u have 130apps (like i had) it uses ONLY 50 MB ..reamaning goes to sd ext..u can partition ur sd card using CWM5/CWM4...
Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
Link2SD:
What is needed:
- Root Permission
- The second partition on the SD Card, and both MUST PRIMARY
The first partition is the default storage of data on the SDcard. The second partition (which will be created) is a partition for storage applications for Link2sd.
download "MiniTool Partition Wizard Home Edition" on the PC, then plug the sdcard in the PC (u can directly use the phone, or card reader). by using this program, agan no need to format, partition, or delete data in the beginning, to create a new partition.
Install and open minitool, select the drive which will be partitioned sdcard, select resize the unallocated area. for PRIMARY, NOT logical. Free partition size is up. klo above 2GB FAT32 file system should pake. FAT32 support is generally on all phones. APPLY, and then turn on the phone.
(for more secure data back up anyway in the SD Card)
- Install Link2sd, have mounted, select FAT32, restart again and Tada!! Applications can be moved to SD, ga who need to use complicated script
Good luck. and must have successfully ...
Good Tutorial !
Sent from my GT-S5830 using XDA App
is there a difference between s2e and apps2sd? i used link2sd before on my old w8 (forgot how to partition now ) but it's quite unstable since apps constantly force crahses
oh oh ! can i partition using cwm ? like this
http://acetips.wordpress.com/2011/10/03/how-to-partition-your-sd-card/
i don't dare to use yet since i fear it will screw my phone
Do NOT use ClockWorkMod !!!
You can flash ClockWorkMod Recovery ,from where you can partition your Sd Card.
For cwm recovery there is no root needed,just flash it from stock recovery.
I hope that helped
Sent from my GT-S5830 using XDA App
oh ok then so i reboot to cwm then partition?
Yes, under the "advanced" tab
Select the Size of your 2nd Partition and 0mb for cache (not needed)
Remember that all your data from SD Card will be deleted !
Then reboot your Phone and start link2SD. When you´re asked about 2nd partition format, choose ext2 (I hope, I didn´t use this for ages!) If you get an error, it was the wrong format
Link2SD will ask you for a reboot and after that you can start to move your apps.
One Question, the build-in option to move apps is not enough ? I am not using so many apps, so I really don´t know.
Greetings!
Hey guys, wondering if you could help me. I'm running Jelly Blast V-3.5, with Rafaels Kernel 2.6.35-7 on my S5380i. I've been trying to increase the internal storage on my device by partitioning my 32gb card in CWM with a 1gb ext. I've tried every solution I've found on this forum but I simply cannot get it to mount. Link2sd yields 'invalid argument' no matter where I point it, and when trying to format/mount the ext. in CWM it just says 'apps 2 sd partition not found'.
Here's a list of the things I've tried which have failed to solve this:
Partitioning in minitool, with various sizes and exts, and setting the partition as active.
Flashing conrod script, doesnt seem to be effective.
Script to mount sd-ext at boot, followed iamareebjamal's guide found here http://forum.xda-developers.com/showthread.php?t=1971689
S2E
Mount2SD
I'm completely at a loss, and with the internal storage of the S5380i being what it is, it would be great if anyone could offer me any advice.
Thanks!
do one thing , I'm recovery check if sd-ext is mounted
it used to happen to me that when I flashed new roms I had to mount sd-ext from mounts and storage
so mount it then reboot your phone
go to link2sd and create mount script as ext4
if problem persists , go in storage info of link2sd so see if the partition is mounted
if not you will have to enable auto mount at boot ( if option present in rom ) or mount using terminal emulator
Sent from my GT-S5670 using xda premium
soham jambhekar said:
do one thing , I'm recovery check if sd-ext is mounted
it used to happen to me that when I flashed new roms I had to mount sd-ext from mounts and storage
so mount it then reboot your phone
go to link2sd and create mount script as ext4
if problem persists , go in storage info of link2sd so see if the partition is mounted
if not you will have to enable auto mount at boot ( if option present in rom ) or mount using terminal emulator
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Thanks for responding.
Attempted to mount in CWM but just receive an error. It's as if the partition isn't there at all. Re-partioned the card but still, no luck.
My rom doesn't have the auto mount at boot option, so it looks I'll have to mount with terminal emulator. Could you run me through the process, or point me towards a guide? Cheers
what error did you get in cwm while mounting ?
yry this line in terminal
mount -o rw /dev/block/
mmcblk0p2 /sd-ext
also is mount2sd file present in your /etc /init.d folder ?
Sent from my GT-S5670 using xda premium
The error in CWM when attempting to mount is: 'Error mounting /sd-ext!'
'mount -o rw /dev/block/mmcblk0p2 /sd-ext' in Terminal Emulator yields the following line: 'Usage: mount [-r] [-w] [-o options] [-t type] device directory'
The mount2sd file is not currently present in my init.d folder as I restored my phone from a backup, though when it has been there, the error in CWM is still the same.
The only difference I have noticed is that when partitioning with MiniTool, Link2SD will say that the partition is not mounted, but when partitioning with CWM it will say that the partition is not found.
galaimo said:
The error in CWM when attempting to mount is: 'Error mounting /sd-ext!'
'mount -o rw /dev/block/mmcblk0p2 /sd-ext' in Terminal Emulator yields the following line: 'Usage: mount [-r] [-w] [-o options] [-t type] device directory'
The mount2sd file is not currently present in my init.d folder as I restored my phone from a backup, though when it has been there, the error in CWM is still the same.
The only difference I have noticed is that when partitioning with MiniTool, Link2SD will say that the partition is not mounted, but when partitioning with CWM it will say that the partition is not found.
Click to expand...
Click to collapse
Did you format ext2 in the secind partition? Normally when you format with cwm, first partition is fat32 and the second partition is ext2. Try to format all available space to 1 partition and using cwm format the card to two part. May be partitioning before makes cwm recognize the wrong part and gives error.
:: Today is the first day of what's left of your life. ::
ChelebiTech said:
Did you format ext2 in the secind partition? Normally when you format with cwm, first partition is fat32 and the second partition is ext2. Try to format all available space to 1 partition and using cwm format the card to two part. May be partitioning before makes cwm recognize the wrong part and gives error.
Click to expand...
Click to collapse
Ensured all the space on card was unallocated and partitioned in CWM recovery.
Attempted to mount /sd-ext again and still receive the following error: 'Error mounting sd-ext!'
Attempted to format /sd-ext and receive the following error: 'No apps2sd partition found. Skipping format of /sd-ext'
Tried so many different ways/combinations of partitions now. Do you think it could be a kernel or rom issue?
galaimo said:
Ensured all the space on card was unallocated and partitioned in CWM recovery.
Attempted to mount /sd-ext again and still receive the following error: 'Error mounting sd-ext!'
Attempted to format /sd-ext and receive the following error: 'No apps2sd partition found. Skipping format of /sd-ext'
Tried so many different ways/combinations of partitions now. Do you think it could be a kernel or rom issue?
Click to expand...
Click to collapse
Make sure you have backed up all your files in your sdcard they will all be deleted and recreated with two partition.
In CWM enter Advanced --> use Partition SD Card
Set your second (ext2/3/4) partition size then set swap to zero (0).
ChelebiTech said:
Make sure you have backed up all your files in your sdcard they will all be deleted and recreated with two partition.
In CWM enter Advanced --> use Partition SD Card
Set your second (ext2/3/4) partition size then set swap to zero (0).
Click to expand...
Click to collapse
This is exactly what I've done, countless times. It simply will not mount. Really struggling to understand this problem.
galaimo said:
This is exactly what I've done, countless times. It simply will not mount. Really struggling to understand this problem.
Click to expand...
Click to collapse
Using a card reader enter your sd card to a computer and test if card has a problem or partitions are correctly created. If your answer is yes you may have a misconfig on your phone. Make sure u have the latest busybox available, have rooted your phone correctly, vs...
Or create your partitions in computer and try...
Ps: I created my partition in Stock Rom. So it must NOT depends on kernel or rom...
ChelebiTech said:
Using a card reader enter your sd card to a computer and test if card has a problem or partitions are correctly created. If your answer is yes you may have a misconfig on your phone. Make sure u have the latest busybox available, have rooted your phone correctly, vs...
Or create your partitions in computer and try...
Ps: I created my partition in Stock Rom. So it must NOT depends on kernel or rom...
Click to expand...
Click to collapse
Partitioned with CWM again. Plugged in to laptop and in MiniTool and this is the result:
galaimo said:
Partitioned with CWM again. Plugged in to laptop and in MiniTool and this is the result:
Click to expand...
Click to collapse
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
:: Today is the first day of what's left of your life. ::
ChelebiTech said:
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
Click to expand...
Click to collapse
Thanks for taking the time to talk me through this.
Turns out my SD card is defective, swapped for another card and I've now increased my internal storage!
I'll be sending the other one back.
Thank you again for your time :good:
ChelebiTech said:
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
:: Today is the first day of what's left of your life. ::
Click to expand...
Click to collapse
Thanks for the link! seems like my CWM wasn't detecting sd-ext.. this fixed!! feared my sd card was ruined.. really thanks a lot!
I really thought this would be stupid simple to do, I needed an ext2 partition for link2sd as well as for a very large file (12GB) as fat32 would not support it. This is fine the file is present and the card partition and formatted in Linux. The primary fat32 partition works great, the problem is I'm looking for a simple way to mount the secondary ext2 partition as read/write somewhere that I can access it when I need, link2sd can mount it but it is not access able to browse it (when I can find it which is not often). I really thought no problem just mount it using mount (worst case), but I ca not even locate the block device to mount, it exists I know that from using a card reader, but I can not get Android (even as root) to list the partition tables (fdisk -l shows nothing). mount shows what is mounted, but not the partition that I want.
All I want to do is auto mount a second partition as /storage/XYZ, I figured 5 minutes or that there would be an app to do this, I have not found any and after wasting to much time trying to get it to work, I'm asking here as I'm lost and tired of fighting for something so simple.
Thanks,
ERIC
This should help point you down the right path
http://forum.xda-developers.com/showthread.php?t=2424900
Best of luck!
Sent from my Nexus 7 using XDA Premium 4 mobile app
HEY GUYS!
Today I am going to explain how to Increase Internal memory or link app data to secondary storage of sdcard.
Before getting into the process
REQUIREMENTS:good:
1)Rooted device
2)sdcard with parted as FAT32 and EXT2 or EXT3
3)Link2sd APP
4)Root Explorer APP
5)patience and a little knowledge in android
Your Android device should be rooted and sdcard should be parted as FAT32 and EXT2 or EXT3.
Now install Link2sd app and and open it you get popup that to select secondary sdcard format you have to select EXT2 or EXT3 which you have created.Then you will get a message mount scripts created then reboot the device.
After reboot install Root Explorer app and open it and press mount R/W at top and give root permissions
now,it will look like mount R/O
go to /data
you will see folders app,app-private,dalvik-cache
move them to /data/sdext2
after moving completes select one of the folder
and long press it or at bottom right side of the page press that dotted button then a big options list opens now press link to this folder
Now,go to /data and press create link
you notice folder linked
repeat this for app-private,dalvik-cache.
Let's create link for data of apps for that create folder in /data/sdext2 and name it data
select a file from /data/data and move it to /data/sdext2/data and create link where you brought the file
But be carefull do not move superuser data so that superuser will forcestop due to lack of data and you need to reboot to get back superuser function back
If everything was done correctly then your internal memory will increase after rebooting device:laugh:.
There are so many forums based on this method in xda but i made some changes in here . Be carefull I doesnt take any responsibility caused to your device.
THIS WAS MY FIRST THREAD SO THERE MAY BE MISTAKES IN SCRIPT SORRY FOR THAT
Sorry guys?
In the above post:good: we have learned how to mount secondary sd-card partition and link data files.
But the main point is that the method works upto ANDROID 5.1.1 LOLLIPOP only this method is not working with ANDROID 6.0 MARSHMALLOW.
In android 6.0 system itself asks us to set sd-card as internal or portable.
*portable:sd-card will mounted for just storage for photos,music not for apps data but you can connect to pc and send files in mtp mode and no need to be formated to mount.
*internal:sd-card will be mounted for apps data but not shown in mtp mode to transfer files from pc and aslo need to be formated for mounting if we insert partitioned sd-card then the partition will be erased.
*If we insert a partitioned sd-card the system says as corrupted sd-card but after reboot the primary,secondry sd-card partitions will be mounted as portable sd-cards and if you select for internal type the partition will be erased.
After all this Link2sd cant mount the secondary partition.
Solution is in the post #3
FINALLY HERE IS THE SOLUTION FOR MARSHMALLOW
1)Download "Apps2SD" free app or pro app from playstore.
2)Open the app and grant root access for it.
3)Now in the menu press "Partition Tool (Adoptable)" and create partitions of sdcard as you wish and then reboot and again from app menu press "Link apps to SD card" and choose the secondary sd-card partition you have created.
4)Then finally the mount script has been created for sd-card.
5)Now you can access link2sd also without creating mount script again
PRESS THUMBS-UP BUTTON IF THIS HELPED