Links2SD with Linux - HTC Wildfire S

Hey,
I am using Linux as my primary OS (Arch Linux). I don't have Links2SD installed at the moment, but I'm thinking of installing it. Since I use Linux as my OS anyway, is it necessary to have a FAT partition? Can I just format the whole sdcard to ext3 or ext4?
--czardoz

czardoz said:
Hey,
I am using Linux as my primary OS (Arch Linux). I don't have Links2SD installed at the moment, but I'm thinking of installing it. Since I use Linux as my OS anyway, is it necessary to have a FAT partition? Can I just format the whole sdcard to ext3 or ext4?
--czardoz
Click to expand...
Click to collapse
Why would you format whole memory card as Ext4? BTW Link2sd won't work well if you have partition of more than 2 GB.

sukhjit321 said:
Why would you format whole memory card as Ext4? BTW Link2sd won't work well if you have partition of more than 2 GB.
Click to expand...
Click to collapse
So that I will have The whole of my sdcard as internal memory. I basically don't need FAT/NTFS because I don't use Windows. My OS (Arch Linux) can read ext* filesystems too. In fact, all drives on my PC are ext4.

czardoz said:
So that I will have The whole of my sdcard as internal memory. I basically don't need FAT/NTFS because I don't use Windows. My OS (Arch Linux) can read ext* filesystems too. In fact, all drives on my PC are ext4.
Click to expand...
Click to collapse
the only problem that I could imagine is that link2sd expects the ext-partition to be the second on the sd-card. but I don't know how link2sd works. I did it manually and just linked /data/app and /data/dalvik-cache to the ext-partition on the sd-card. another good reason to use 2 partitions might be the fact - if I'm not completely wrong - that the first partition is unmounted if you connect it to the pc and activate file transfer mode. if you linked whole /data to this first partition you might run into problems.

You'll still need a fat partition. Or at least two partitions, one for files and one for link2sd.
Sent from my HTC Wildfire S with Beats Audio using xda premium

benjamingwynn said:
You'll still need a fat partition. Or at least two partitions, one for files and one for link2sd.
Sent from my HTC Wildfire S with Beats Audio using xda premium
Click to expand...
Click to collapse
You mean if I put music in my Link2sd partition, it wont be playable?

Android and ext4
I'm not sure Android can read music files on ext4.

Related

Nandroid sees no sd-ext ?

I run nandroid with a new partitioned SD-card.
I partitioned the SD-Card under Windows to 28GB FAT32 and 2 GB Ext-2
The backup process nevertheless says
"E:can't mount /dev/block/mmcblk0p2 (file exists)
could not mount sd-ext. sd-ext backup may not be supported on this device"
any ideas?
It has to be EXT3. Not EXT2. I'd use the phone to create the partition then upgrade it to EXT3.
On a side note, I didn't know Windows could create an EXT partition as it's a Linux file system.
rolfd said:
On a side note, I didn't know Windows could create an EXT partition as it's a Linux file system.
Click to expand...
Click to collapse
The same way that Linux supports Windows file systems like NTFS - additional drivers!
Regards,
Dave
foxmeister said:
The same way that Linux supports Windows file systems like NTFS - additional drivers!
Regards,
Dave
Click to expand...
Click to collapse
Excellent, thanks for that Dave. You never stop learning in here
Forgive my noobness but what advantage does having the ext3 partition have? Is it required?
Thanks
rolfd said:
On a side note, I didn't know Windows could create an EXT partition as it's a Linux file system.
Click to expand...
Click to collapse
I use a driver tweak to make my SD reader a HDD.
Then I just setup my SD card with ACRONIS TRUE IMAGE 2010. It let'S you install a new HDD with various file formats

How to create ext3 partition on SD-Card under Windows

This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Almost all custom partition managers can do this in Windows-Partition Magic, Paragon, Or Gparted with VMWare
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Kneros said:
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Click to expand...
Click to collapse
Paragon works for me on Windows..And Gparted is what I use
Strange, it didn't work for me (see attached pics).
Just install the latest ClockworkMod, or Amon-RA and do it through recovery.
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
fblasot said:
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
Click to expand...
Click to collapse
It's useless, you need a ROM that supports it.
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Kneros said:
Strange, it didn't work for me (see attached pics).
Click to expand...
Click to collapse
See mine..
I'm using 9.0 Pro, you're using 10.0 server, if that helps..
I still prefer Gparted though..On Vmware.
Choronzonix said:
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Click to expand...
Click to collapse
The a2sd+ script is built in, it executes at installation. Best way would be to use Titanium to backup ur froyo a2sd apps, wipe+install a2sd+ custom rom, use the option of Titanium, to move to sd.
and how do you want to put data on the ext3 partition ? ... you will need linux, its the best way...
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
EDIT:
Didn't work, SD could not be mounted under Android or Clockworkmod
Did the partitioning under Clockworkmod
partition works, but..
i tried minitool and easueus, both partiotion my 16 gb sd card, but...
I use miui rom, xpart(data2ext). the script works, but the phone is slow as ........
someone any idea?
i also have a 8 gb card, same partitions, but no problem..
any idea how i can tets my 16 gb card?
Minitool is crap. Haven't used easeus but its still under Windows, which is a no no
Gparted is the only decent tool that will nicely partition an ext partition on your sd whilst aligning it properly. This is both my personal and professional opinion.
Now because it doesn't run in windows, its a bit more long winded but so much more worth while.
Virtual machine (vmware player) is the best method. There is a link to a guide to set this up in my signature
Sent from my HTC Desire using XDA App
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Minitool partition wizard is a wonderful and practical software. Thanks!!

[Q] Repartitioning

I've already partitioned my SD Card with Fat 32 and 512mb Ext 3.
The problem I have now is some of the ROM's I like suggest having a 1gb Ext3 or 4 partition. How easy is it to repartition? How do I back up what's on the Ext 3 partition (I'm guessing though that I can't without a Linux OS on my PC)?
xybadog said:
I've already partitioned my SD Card with Fat 32 and 512mb Ext 3.
The problem I have now is some of the ROM's I like suggest having a 1gb Ext3 or 4 partition. How easy is it to repartition? How do I back up what's on the Ext 3 partition (I'm guessing though that I can't without a Linux OS on my PC)?
Click to expand...
Click to collapse
in order to repartition you would have to use some other recovery (AmonRA or newer clockworkmod perhaps) that has the option to make 1GB ext partition.
regarding backup - NANDROID backups SD-EXT, and every recovery has an option of restoring some partos of bacup only (like only sd-ext but i think you dont need that since you want to change ROM) other option is to use a linux os, dont worry you dont have to install it on PC, generally you can run linux from a CD and make changes on EXT as you wish (again i dont know what would you like to do there)
if you dont want to / cant update recovery, download program Gparted LiveCD, and burn it to a CD. it will be bootable, boot it on your PC, then plug phone while in recovery with USB Mass storage enabled, choose the SD card in gparted, and expand your 512mb ext to 1gb ext3/4 partiton (still after the FAT32)
http://www.partitionwizard.com/download.html I'd reccommend using a partition tool from your PC, more reliable in my opinion ^_^
Vid on how to use it:
www.youtube.com/watch?v=D6vVLbtXJdg
Actually partitioning to EXT under windows cause only problems.
Use gParted or recovery from my signature.
k3lcior said:
Actually partitioning to EXT under windows cause only problems.
Use gParted or recovery from my signature.
Click to expand...
Click to collapse
Oh, we learn something new everyday
k3lcior said:
Actually partitioning to EXT under windows cause only problems.
Use gParted or recovery from my signature.
Click to expand...
Click to collapse
Well... aint I the lucky one then.
Partitioned 30 times under windows, with MiniTool Partition Wizard Home Edition, and never had any problems. And I have flashed A LOT!
So that aint all true!!!
Jakedude2011 said:
Well... aint I the lucky one then.
Partitioned 30 times under windows, with MiniTool Partition Wizard Home Edition, and never had any problems. And I have flashed A LOT!
So that aint all true!!!
Click to expand...
Click to collapse
Just read forums more often, you'll find numerous people having a bootloop after partitioning under windows.

[Q] ext4 What is it?!

I have been using a custom ROM for a while now and I have been seeing in the thread that many people are using ext4.
I have asked many times in the thread and recieved no reply.
So my question to you is what is "ext4" and what bennifit will it be to me as a Desire owner.
Thanks
wh000sher
1. Google is your friend
EXT4 is a file format used by Linux (Android = Linux). When threads talk about EXT4, they are referring to creating an EXT4 partition on your SD-Card e.g. have 14GB FAT32 and 1GB EXT4 (from 16GB SD-Card.. 1GB is always non-existent)
What having an EXT4 partition enables you to do, is to have Apps/Data2EXT scripts which move apps to the EXT partition, giving you a lot more internal space.
bortak said:
1. Google is your friend
EXT4 is a file format used by Linux (Android = Linux). When threads talk about EXT4, they are referring to creating an EXT4 partition on your SD-Card e.g. have 14GB FAT32 and 1GB EXT4 (from 16GB SD-Card.. 1GB is always non-existent)
What having an EXT4 partition enables you to do, is to have Apps/Data2EXT scripts which move apps to the EXT partition, giving you a lot more internal space.
Click to expand...
Click to collapse
I smell a follow up question lurking...
via xda app
stankyou said:
I smell a follow up question lurking...
via xda app
Click to expand...
Click to collapse
How do I make EXT4 -__-
Which Ext4 is the best for me?
777ace said:
Which Ext4 is the best for me?
Click to expand...
Click to collapse
For a second there, I thought you were serious. Almost had me bro, almost had me.
bortak said:
For a second there, I thought you were serious. Almost had me bro, almost had me.
Click to expand...
Click to collapse
Hahaha
Sent from my HTC Desire using xda premium
bortak said:
1. Google is your friend
EXT4 is a file format used by Linux (Android = Linux). When threads talk about EXT4, they are referring to creating an EXT4 partition on your SD-Card e.g. have 14GB FAT32 and 1GB EXT4 (from 16GB SD-Card.. 1GB is always non-existent)
What having an EXT4 partition enables you to do, is to have Apps/Data2EXT scripts which move apps to the EXT partition, giving you a lot more internal space.
Click to expand...
Click to collapse
Ah okay and can't I Do that already with the built in app moving??
I know how to make the ext4 but didn't know why I would want to?
Wh000sher said:
Ah okay and can't I Do that already with the built in app moving??
I know how to make the ext4 but didn't know why I would want to?
Click to expand...
Click to collapse
Moving some of the app data to the sd-card is different to having an EXT partition and A2SD.
If you activate A2SD, the system will install and store your apps on the EXT partition, and your internal memory will not be filled up, and will remain at xxxMB. Furthermore, with an EXT partition you can use D2EXT, which makes your phone use the EXT partition as the data partition, so if you have 1GB EXT4, your phone will see 1GB memory.
If you use the inbuilt "move to sdcard" function, it only moves some of the sd-card to the android-secure folder on your sd-card, however your internal memory is still used up.
In addition, moving apps to sd-ext partition doesn't break app widgets like the stock app2sd method that Gingerbread use.
stankyou said:
In addition, moving apps to sd-ext partition doesn't break app widgets like the stock app2sd method that Gingerbread use.
Click to expand...
Click to collapse
Reason: With A2SD / DATA2SD / etc. Android still "thinks and tells" the Apps are still installed in the internal memory (at least this tells me my logic).
MatDrOiD said:
Reason: With A2SD / DATA2SD / etc. Android still "thinks and tells" the Apps are still installed in the internal memory (at least this tells me my logic).
Click to expand...
Click to collapse
That's how I see it as well. And makes apps available to use when you have it on usb transfer mode.
via xda app
MatDrOiD said:
Reason: With A2SD / DATA2SD / etc. Android still "thinks and tells" the Apps are still installed in the internal memory (at least this tells me my logic).
Click to expand...
Click to collapse
MatDrOid, since you are also on MW. How do I make use of my ext4 partition I created?
I am guessing there is a way to just move to the ext4 via a app?
Wh000sher said:
MatDrOid, since you are also on MW. How do I make use of my ext4 partition I created?
I am guessing there is a way to just move to the ext4 via a app?
Click to expand...
Click to collapse
if it's MW based on oxygen, instructions on how to enable ext4 partition are in the first post, no need to use an app.
No it's the cm version using s2e and I think it's working lol
Sent from my HTC Desire using xda premium
ext4 creation
neither easeus or minitool has an option to create ext4. how do i create the ext4? and i'm going to be dual booting wp7, so should it look like this:
ext4
fat32
wp7 partition
or like this:
fat32
ext4
wp7 partition
??? plz help
noobinius said:
neither easeus or minitool has an option to create ext4. how do i create the ext4? and i'm going to be dual booting wp7, so should it look like this:
ext4
fat32
wp7 partition
or like this:
fat32
ext4
wp7 partition
??? plz help
Click to expand...
Click to collapse
backup your sd card 1st
then use only 4ext recovery (requires s-off to change recovery) or gparted to create your partition (step 5 here)
sorry if i bump old post
Can i access my internal memory once i use Ext4?
nestleomega said:
sorry if i bump old post
Can i access my internal memory once i use Ext4?
Click to expand...
Click to collapse
With a root file explorer.

EXT4 SD card partition not appearing or working

Hi,
I have upgraded from 2.3.7 to a JB MOD. I prepared my SD card in gparted with a 500mb FAT32 and the rest as EXT4. I have inserted the SD card and 'setting\storage' only sees the in built 150MB EXT and the 500MB FAT32 on the SD Card but no 3GB EXT4 partition. In terminal I ran a2sd install and on the reboot it said 'optimising' apps and I thought it was moving apps. However, when I install apps from the store they are installed on the in built RAM.
Using app2sd I can't move any apps I used to be able to on 2.3.7.
Can someone please advise?
Thanks
Paul
csjjpm said:
Hi,
I have upgraded from 2.3.7 to a JB MOD. I prepared my SD card in gparted with a 500mb FAT32 and the rest as EXT4. I have inserted the SD card and 'setting\storage' only sees the in built 150MB EXT and the 500MB FAT32 on the SD Card but no 3GB EXT4 partition. In terminal I ran a2sd install and on the reboot it said 'optimising' apps and I thought it was moving apps. However, when I install apps from the store they are installed on the in built RAM.
Using app2sd I can't move any apps I used to be able to on 2.3.7.
Can someone please advise?
Thanks
Paul
Click to expand...
Click to collapse
Here is your most likely scenario because it happened to me: If you created your partition on a PC, for some reason it doesn't work properly (well at least in my case). Then the phone doesn't read the SD card properly. What you should do is upgrade clockswork mod recovery on your phone to the most recent version and create the EXT version using the recovery console by booting into recovery.
Thanks
iyf said:
Here is your most likely scenario because it happened to me: If you created your partition on a PC, for some reason it doesn't work properly (well at least in my case). Then the phone doesn't read the SD card properly. What you should do is upgrade clockswork mod recovery on your phone to the most recent version and create the EXT version using the recovery console by booting into recovery.
Click to expand...
Click to collapse
Hi,
thanks for the reply. I'll see what version I have. It is probably old as it is 15 months since I did the CM 7 install to my phone.
Paul
it should be 500mb ext4 and the rest fat 32, also 1gb ext4 is recommended and dont use ClockWorkMod recovery to partition sdcard, use 4ext recovery instead. CWM makes bad partitions
Sent from my HTC Desire
Is there a specific way around?
jmcclue said:
it should be 500mb ext4 and the rest fat 32, also 1gb ext4 is recommended and dont use ClockWorkMod recovery to partition sdcard, use 4ext recovery instead. CWM makes bad partitions
Sent from my HTC Desire
Click to expand...
Click to collapse
Hi,
I read the FAT32 should be first and the EXT4 the rest. Is that correct?
Paul
csjjpm said:
Hi,
I read the FAT32 should be first and the EXT4 the rest. Is that correct?
Paul
Click to expand...
Click to collapse
yh. i was only quoting coz u said u had 500mb fat 32 and 3gb ext4. the fat 32 should have the biggest size not ext4
Sent from my HTC Desire
jmcclue said:
yh. i was only quoting coz u said u had 500mb fat 32 and 3gb ext4. the fat 32 should have the biggest size not ext4
Sent from my HTC Desire
Click to expand...
Click to collapse
I've redone my card (3GB FAT32/500MB EXT4) but my in built memory seems to run out of space for apps quickly. I thought the SD-Card EXT4 partition was supposed to add more space for apps to the phone.
Is this not true?
csjjpm said:
I've redone my card (3GB FAT32/500MB EXT4) but my in built memory seems to run out of space for apps quickly. I thought the SD-Card EXT4 partition was supposed to add more space for apps to the phone.
Is this not true?
Click to expand...
Click to collapse
what JB did u install? theres acouple i think that u have to activate the a2sd by doing the following in terminal emulator
su
a2sd install
y
n
y
then ur phone reboots and a2sd is activated and apps will go to ur ext4 partition
Sent from my HTC Desire
have done that once
jmcclue said:
what JB did u install? theres acouple i think that u have to activate the a2sd by doing the following in terminal emulator
su
a2sd install
y
n
y
then ur phone reboots and a2sd is activated and apps will go to ur ext4 partition
Sent from my HTC Desire
Click to expand...
Click to collapse
Hi,
I am using Elk759 JB ROM. I did run the a2sd in terminal after redoing the partitions. It reboots and says optimising apps 1/...79 (whatever number). I can't tell if it has moved anything onto the EXT4 partition of my SD card.
I will boot into a live linux and take a look on that partition.
If it isn't working is there anything I can do?
Thanks
Paul
That seems to have worked as I've installed loads of apps and it hasn't complained about space.
Thanks for all your help.
Paul

Categories

Resources