SD extt2 to ext3 - ext3 to ext4 ?? - Hero CDMA Q&A, Help & Troubleshooting

can someone explain this to me....how does this works?

What do you want to know, they are different file systems...thats about it.
Only OC roms ahve support for ext4.

what exactly do they do?

someonenewhere said:
what exactly do they do?
Click to expand...
Click to collapse
They are filesystems. You partition your SD card to have one so that ROMs that utilize apps2sd will place your Apps into that partition on your hard drive.
ext2 is an open source alternative to fat16/32
ext3 introduced journaling to ext2
ext4 introduced many performance enhancements and better reliability.
That is a very simple explanation and the differences between the versions are very technical.

centran said:
They are filesystems. You partition your SD card to have one so that ROMs that utilize apps2sd will place your Apps into that partition on your hard drive.
ext2 is an open source alternative to fat16/32
ext3 introduced journaling to ext2
ext4 introduced many performance enhancements and better reliability.
That is a very simple explanation and the differences between the versions are very technical.
Click to expand...
Click to collapse
how is this done?

mstrace said:
how is this done?
Click to expand...
Click to collapse
you need to have rooted your phone and loaded a custom recovery. Then reboot into recover and partition the SD card with a ext2. In the partition screen update your newly ext2 partition to ext3(I would not go to ext4 unless you really know what you are doing).
If your custom ROM supports it then the apps will be stored on the SD. You need to check with the ROM you load. Most ROMs support it but you need to double check.

Related

Sluggish/unusable performance after apps2sd on Cyan 4.2.2

I got a shiny new class 6 16GB sd card. I partitioned it at about 15.5GB fat32 and 512 ext2, using the info in cyanogen's wiki: http://wiki.cyanogenmod.com/index.php/Apps2SD_On_CyanogenMod
From there I did the ext3 and then the ext4 updates.
Although I've searched for answers for a few hours now, I've been unable to determine why the device slows to a crawl at each point of user interaction at this point. Even unlocking the screen can time out...
I backed out the changes and copied the apps back over to internal storage and everything is zippy again, so at this point I am looking for suggestions. One thing I noticed was that when I used parted to delete the ext partition so the apps wouldn't go back to the card on the next boot, it still listed the ext partition as ext2. Can someone running ext3 or 4 let me know whether parted lists their partitions as such or if they are always reported as ext2?
What other techniques should I try? I would very much like to make this work as I get constant low-space warnings in my current setup. Thanks.
jasper1 said:
I got a shiny new class 6 16GB sd card. I partitioned it at about 15.5GB fat32 and 512 ext2, using the info in cyanogen's wiki: http://wiki.cyanogenmod.com/index.php/Apps2SD_On_CyanogenMod
From there I did the ext3 and then the ext4 updates.
Although I've searched for answers for a few hours now, I've been unable to determine why the device slows to a crawl at each point of user interaction at this point. Even unlocking the screen can time out...
I backed out the changes and copied the apps back over to internal storage and everything is zippy again, so at this point I am looking for suggestions. One thing I noticed was that when I used parted to delete the ext partition so the apps wouldn't go back to the card on the next boot, it still listed the ext partition as ext2. Can someone running ext3 or 4 let me know whether parted lists their partitions as such or if they are always reported as ext2?
What other techniques should I try? I would very much like to make this work as I get constant low-space warnings in my current setup. Thanks.
Click to expand...
Click to collapse
just used parted to check and it says ext4 .... try using this guide .. worked really well for me to partition my sd ... also if you're having all these problems try wiping dalvik-cache and even data and your ext* partition if it comes down to it
What recovery image are you using?
jndd333 said:
What recovery image are you using?
Click to expand...
Click to collapse
amon ra's 1.2.3
EDIT: lol thought you were the OP
A more careful walk through the partitioning process and I can confirm that everything works as expected, as well as confirming that if upgrade_fs fails, then ext2 is a total dog. One particularly confusing thing was tracking down whether a swap partition was needed or not, but on the latest cyan roms it isn't so I skipped that one.

app2sd?

I'm using warm donut, flashed to the phone.. before hand I was using haret until I felt everything was stable enough.
My SD card is still partitioned the old way, 7.4GB fat32, 512M ext3, 32M swap
Is there a way to enable app2sd with warm donut so I can get more room? it might just be the fun of something new for now, but watching the free space for apps going down way to quickly
lordcalin said:
I'm using warm donut, flashed to the phone.. before hand I was using haret until I felt everything was stable enough.
My SD card is still partitioned the old way, 7.4GB fat32, 512M ext3, 32M swap
Is there a way to enable app2sd with warm donut so I can get more room? it might just be the fun of something new for now, but watching the free space for apps going down way to quickly
Click to expand...
Click to collapse
i second this, I would love to do apps to SD
I think it should be do-able now that we have the automount program that allows access sd card system and user simultaneously.
yeah you guys would love apps2sd...it's cool on my hero! im glad to see all of the android development going on here.
If you guys want to do Apps2SD, you'll need an ext2 partition on your SD for it. Native Android devices have had some trouble with Apps2SD, so it's just been rewritten by Chris Soyars and Cyanogen -- instead of the WesGarner method that had been used previously. I suggest using their code as it's battle-tested.
Here's the relevant code at github, as you can see it's been recently updated:
http://github.com/cyanogen/android_vendor_cyanogen/tree/eclair/prebuilt/common/etc/init.d/
HTH
I have app2sd enabled in my eclair build.
If you want to use it you must have an ext2 parition on your sdcard. than use my spareparts app to enable. Reboot.. wait... and there you go.
Can we get this going in your build Myn?
mssmison said:
I have app2sd enabled in my eclair build.
If you want to use it you must have an ext2 parition on your sdcard. than use my spareparts app to enable. Reboot.. wait... and there you go.
Click to expand...
Click to collapse
Did a search for spareparts and couldnt find a link to a download. Anybody have a link they could throw up that would be awesome.
Thanks in advance
aviking said:
Did a search for spareparts and couldnt find a link to a download. Anybody have a link they could throw up that would be awesome.
Thanks in advance
Click to expand...
Click to collapse
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
mrono said:
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
Click to expand...
Click to collapse
i have the apps2sd.apk but it doesnt work properly. like you said i think it needs to be built into a build somehow
mrono said:
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
Click to expand...
Click to collapse
Thanks for the quick reply.
This is starting to be not worth it and I am thinking I am glad that I was able to try android on an older phone because I dont think I will be getting an android phone when I upgrade in 6 months. Getting it so I can load apps to the sd card is WAAAAAAY to much of a pain I have tried a couple of tutorials and still cant get it to work.
aviking said:
Thanks for the quick reply.
This is starting to be not worth it and I am thinking I am glad that I was able to try android on an older phone because I dont think I will be getting an android phone when I upgrade in 6 months. Getting it so I can load apps to the sd card is WAAAAAAY to much of a pain I have tried a couple of tutorials and still cant get it to work.
Click to expand...
Click to collapse
All you need to do is create a ext2 partition on your card and install system to nand and data to ext 2 partition. You can create as big of a partition as you want.
incubus26jc said:
All you need to do is create a ext2 partition on your card and install system to nand and data to ext 2 partition. You can create as big of a partition as you want.
Click to expand...
Click to collapse
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
aviking said:
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
Click to expand...
Click to collapse
i think you will have to reinstall system and wipe data. Change the location of the data when your going to reinstall. sorry
aviking said:
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
Click to expand...
Click to collapse
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
mrono said:
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
Click to expand...
Click to collapse
there you go much better answer then mine. Thanks man
would using ext2 partions make the build run smoother?
what are the benifits over NAND?
are you sure you need to have your data on the sd card? I was running apps2sd with mssmison's v7 eclair, and both my data and system were on nand, only the apps2sd was using the ext2 partition. i don't think it cares where your data.img is, just as long as you have an available ext2 partition; correct me if I'm wrong.
tatnai said:
are you sure you need to have your data on the sd card? I was running apps2sd with mssmison's v7 eclair, and both my data and system were on nand, only the apps2sd was using the ext2 partition. i don't think it cares where your data.img is, just as long as you have an available ext2 partition; correct me if I'm wrong.
Click to expand...
Click to collapse
yes that is correct. This is if your not using apps2sd
mrono said:
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
Click to expand...
Click to collapse
Ok making progress with your suggestion after 2 days of reading and failure -- lol.
I am now able to install apps to the sd card. However when I was trying all kinds of things to get this to work I made my 8GB sd card partitioned 6.5gb fat 32 and then made two ext2 partitions evenly split.
So do I need two ext partitions?
And as soon as I made the change and was able to install to the sd card I can no longer sync with my PC. Its not a huge deal because I took out the micro sd and placed it into an sd reader and my PC could still read it. So I am guessing that its something that I changed that is causing the phone not to sync with my PC.
Any thoughts

Installing tremers Froyo on ext2 partition

I found tutorial how to use ext2 partition on SDCARD for haret.
http://android-devs.org/forum/viewtopic.php?f=56&t=194
I created this
2 GB Fat32
1 GB ext2
1 GB ext2
so i have 4 GB disk and 3 partition just as its on tutorial
But after launching haret it should asked me
Press VolDn to launch Installer (to use ext2)
just after the
Checking for partitions
but in my case it just continue with installing without asking me and its uning only fat32
Any suggestion???
our rootfs doesn't have the install function, someone must edit the rootfs to boot into EXT partitions first!
I just copy rootfs to the / of the ext2 and system to /system, and then edit the init script so it remounts properly.
When I start doing partitioned releases I'll try and make it easy, probably by distributing prebuilt images by card size (4G, 8G etc.)
Tremere said:
When I start doing partitioned releases I'll try and make it easy, probably by distributing prebuilt images by card size (4G, 8G etc.)
Click to expand...
Click to collapse
I talked to phh yesterday.. he said ext2 and NAND booting have no effect on stability, performance and battery life. (rhod nand booting has been working for one month)
Performance could change but it would be less than 20%.
So I pray that someone will find the standby killer
So i need only one ext2 partition
Tremere said:
and then edit the init script so it remounts properly.
Click to expand...
Click to collapse
if i knew how and what to edit. Nevermind its not that important. You just focus on your work.
Matzemink said:
I talked to phh yesterday.. he said ext2 and NAND booting have no effect on stability, performance and battery life. (rhod nand booting has been working for one month)
Performance could change but it would be less than 20%.
So I pray that someone will find the standby killer
Click to expand...
Click to collapse
True. I think they also had an incorrect mount option on the rootfs until recently that slowed loopback performance. I think my last (unstable) release contained the fix for that.
For my own AOSP device tree I'm determined to start fresh without the rootfs and loopback crap. Maybe not a big performance gain but easier to 'get around' system wise.
if i knew how and what to edit. Nevermind its not that important. You just focus on your work.
Click to expand...
Click to collapse
off the top of my head, init.etc/init.froyo.rc and there is a line which tries to mount root as yaffs (flash). Not too hard to find.
You might want to have another ext2 for /data though.
How do I partition my micro sd card?
please excuse my bad English
I use translator
The easyest way for me. Download a release of Ubuntu from ubuntu.com and burn it to cd or make bootable USB. Boot live cd and partition from there.
wouldn't it be easier to download a live CD of gparted?
Jonny4911 said:
wouldn't it be easier to download a live CD of gparted?
Click to expand...
Click to collapse
System Rescue CD is my favorite for partitioning tasks. Should work on your sdcard.
Over in the raph forum, e334 posted a guide on partitioning ext2 from Windows

SD-EXT

I am looking forward to make a partition of my SD Card to allow easier installation of apps.
I have a 16GB Micro-SD Card and i'm looking forward to make a 4GB Partition.
I've heard of amarullz script and I definitely want to use it.
I searched XDA Alot, and i found out that there are different partition types. So if someone could kindly answer these questions, It would be great:
1) Can you give me a simple and efficient guide on how to partition using CWM, or anything else?
2) What partition type should i use.
3) Does Amarullz script need to be configured or it's the simple flashing.
4) Is there any way to automatically move apps to sd-ext without apps like S2E. I think the scripts do that but i'm not sure.
Thanks.
xD
masterex567 said:
1) Can you give me a simple and efficient guide on how to partition using CWM, or anything else?
2) What partition type should i use.
3) Does Amarullz script need to be configured or it's the simple flashing.
4) Is there any way to automatically move apps to sd-ext without apps like S2E. I think the scripts do that but i'm not sure.
Thanks.
xD
Click to expand...
Click to collapse
1 no, use search and check the stickies. Cwm and partition guides are all over the place. Reading several guides to do it will help you in case something doesn't go as planned.
2 depends. Stock roms work better with fat32 and ext2 partitions. Custom roms work good with any ext format partition. Cwm creates ext3 format partitions, for other formats use another partitioning tool (minitool partition wizard).
3 just flash it and reboot twice. It needs a kernel that supports /init.d, which most custom roms have, and stock roms can be flashed with cf-root to enable /init.d.
4 yeah, the scripts do it. There are several, amarullz is one, there's also int2ext++ and darktremors (this one requires some user input though). Look them up, make your call.
dxppxd said:
1 no, use search and check the stickies. Cwm and partition guides are all over the place. Reading several guides to do it will help you in case something doesn't go as planned.
2 depends. Stock roms work better with fat32 and ext2 partitions. Custom roms work good with any ext format partition. Cwm creates ext3 format partitions, for other formats use another partitioning tool (minitool partition wizard).
3 just flash it and reboot twice. It needs a kernel that supports /init.d, which most custom roms have, and stock roms can be flashed with cf-root to enable /init.d.
4 yeah, the scripts do it. There are several, amarullz is one, there's also int2ext++ and darktremors (this one requires some user input though). Look them up, make your call.
Click to expand...
Click to collapse
oK..
Any link to a simple and efficient guide on partitioning??
Just a tip. Never go beyond 1GB SD-ext size. You'll just wait it coz app size are about 20-30 mb (the bigger ones) and you'll not be installing that much on your phone.
About partitioning you can just do it via CWM recovery.
Shadow xD said:
Just a tip. Never go beyond 1GB SD-ext size. You'll just wait it coz app size are about 20-30 mb (the bigger ones) and you'll not be installing that much on your phone.
About partitioning you can just do it via CWM recovery.
Click to expand...
Click to collapse
Okk..
I just wanted to install over 10 pages of apps.
I heard partitioning through CWM makes an ext3 partition, and ext3 partitions are not supported.
One question: I'm following this: http://forum.xda-developers.com/showthread.php?t=1476121
If i use minitool partition wizard and follow the instructions there. will amarullz script work?
And will it work on all roms like cm7, cm9 and stock????
Thanks.
Ext4 has been said around as unstable. *need to research more on this one*
Yes, CWM makes ext3 partition.
If you're using CM7 based ROM I'd suggest using S2E. Supports ext3, no errors whatsoever, 1GB is more than enough for over 100 apps, and make sure the SD Card is class 6 or higher, otherwise you might face performance issues. It's just install, tick and forget. Unlimited *theoretically* apps can be installed then
I do not have any idea on Amarulzz script though,
This Page might help
So what's the best partition??
If i follow this guide: http://forum.xda-developers.com/wiki/SD_card_partitioning
Will it succesfully get me the result?
masterex567 said:
So what's the best partition??
If i follow this guide: http://forum.xda-developers.com/wiki/SD_card_partitioning
Will it succesfully get me the result?
Click to expand...
Click to collapse
Yes that's a good guide.
Ok. Great.
Final Question: What Partition type should i use? Ext2, Ext3 or Fat32??
It should work good with amarullz script and with stock and cm7 roms...
Damn. I try deleting partition through minitool and after that my sd card isn't recognized, it says damaged.
though i fixed it with a format. :/
masterex567 said:
Ok. Great.
Final Question: What Partition type should i use? Ext2, Ext3 or Fat32??
It should work good with amarullz script and with stock and cm7 roms...
Damn. I try deleting partition through minitool and after that my sd card isn't recognized, it says damaged.
though i fixed it with a format. :/
Click to expand...
Click to collapse
I use ext3 with a 16gb class 6 sd card (1gb partition) with A2SD+ cronmod script.
Shadow xD said:
I use ext3 with a 16gb class 6 sd card (1gb partition) with A2SD+ cronmod script.
Click to expand...
Click to collapse
Okk. I've finished the first step according to the guide.
Well. According to the guide "Step 2". and created the fat32 primary partition. Now on step 3 i'm kind of clueless. coz i can't click create new partition as it is greyed out.
I think i'm just gonna use CWM.
What's the procedure to use CWM, to partition for 4gb?? and then use amarullz??
masterex567 said:
Okk. I've finished the first step according to the guide.
Well. According to the guide "Step 2". and created the fat32 primary partition. Now on step 3 i'm kind of clueless. coz i can't click create new partition as it is greyed out.
I think i'm just gonna use CWM.
What's the procedure to use CWM, to partition for 4gb?? and then use amarullz??
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1477996
Shadow xD said:
http://forum.xda-developers.com/showthread.php?t=1477996
Click to expand...
Click to collapse
Thanks. I partitioned.
Now, I'm going to use amarullz script. I see that it needs to be copied to init.d.
Isn't there any way to make a flashable zip coz i change roms aloot.
Thx!!
Search for the original thread here in xda. You will find the flashable zip
Sent from my GT-S5830 using xda premium
Shadow xD said:
Search for the original thread here in xda. You will find the flashable zip
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I got it. It's ok..
I prefer doing it manually anyways.
Thanks a lott!

Link2Sd: proper method of using it?

I've searched and found a lot of topics on App2sd, data2sd and Link2sd.. after reading all I've come to the conclusion that Link2sd is the one to gos for.. But, I've seen a lot of link2sd apps.. want to know which is the original..
Also, do let me kno which will the best format for the 2nd partition on galaxy ace(ext2,ext3 or ext4) on stability and speed..
Just tell the right steps to follow for using link2sd..
Sent from my GT-S5830 using xda premium
Anyone..plz provide me the solution..
Thank you
Sent from my GT-S5830 using xda premium
varunmehta11 said:
I've searched and found a lot of topics on App2sd, data2sd and Link2sd.. after reading all I've come to the conclusion that Link2sd is the one to gos for.. But, I've seen a lot of link2sd apps.. want to know which is the original..
Also, do let me kno which will the best format for the 2nd partition on galaxy ace(ext2,ext3 or ext4) on stability and speed..
Just tell the right steps to follow for using link2sd..
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
1) create a partition using CWM in advance section of recovery(swap size 0 M) 512 mb is sufficient
2)download app link2sd from market
3)open it...and choose partition type of ur choice (ext4 works well )
4)finally click on any app saved in internal memory and click on CREATE LINK
5)You are done! :beer:
Ask if any problem...
Press thanks if i helped :thumbup:
Ext2/Ext3 is pretty much the same using default settings (unless you enable journaling in ext3). Ext4 adds journaling.
Ext2 is the most friendly for SD life. Ext4, not as much, but it has other perks (GIYF).
Also, you might want to show apps installed on the SD Card, select them all then Create Link first. It'll save you some extra space and re-enable widgets if available. Then you can move your internal apps if you want.
GermainZ said:
Ext2/Ext3 is pretty much the same using default settings (unless you enable journaling in ext3). Ext4 adds journaling.
Ext2 is the most friendly for SD life. Ext4, not as much, but it has other perks (GIYF).
Also, you might want to show apps installed on the SD Card, select them all then Create Link first. It'll save you some extra space and re-enable widgets if available. Then you can move your internal apps if you want.
Click to expand...
Click to collapse
I didn't understand what did u mean by show apps installed on SD card and select them, create link.. Do I have to Create link also for apps already stored in SD card..
And, I think Ext3 will be the best for.. what say?
Sent from my GT-S5830 using xda premium
varunmehta11 said:
I didn't understand what did u mean by show apps installed on SD card and select them, create link.. Do I have to Create link also for apps already stored in SD card..
And, I think Ext3 will be the best for.. what say?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Once you have Link2SD installed, you can select "SD Card" as a filter. It will show all apps installed on the SD card. It would be a good idea to link these apps ("Create Link") (thus moving them back to phone storage, and then again to the SD Card, but to the 2nd partition this time) for three reasons:
You can move the dalvik-cache as well, which means you'll save extra space.
If the app has widgets, you'll be able to use them again (e.g. SoundHound).
Should you mount your SD card to the PC, the apps will still be available since the 2nd partition doesn't get mounted.
I've tested Link2sd.. Only Ext2 gets detected and mounted to be used in Link2sd.. Ext3/4 doesn't get mounted.( I'm using the Stock kernel)
On stock kernels ext3 and ext4 not always work, fat32 or ext2 always work. Its ok, won't make a real difference, the class of the sd card has way more impact on performance.
If you want you can create partition (with ext4) with minitool partition on your pc. (see this thread : http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning)
Same problem, even if partition is formatted as ext4, Link2SD defaults to ext2. I have had a few times where it loses link by itself and all linked apps stops working.
Ext4
If you want to get your ext4 mounted. You must make a partition as ext4 to (I use partition wizard).. Not ext3, or ext2, or either..
I am sorry for my bad english..
Gizmotech said:
Same problem, even if partition is formatted as ext4, Link2SD defaults to ext2. I have had a few times where it loses link by itself and all linked apps stops working.
Click to expand...
Click to collapse
I've had this especially when restoring nandroid backups. The 05mountsd script in the init.d folder of some roms creates a conflict with Link2sd. Simply delete that script, problem solved.
Sent from my GT-S5830
NaraRockingMyAce said:
If you want to get your ext4 mounted. You must make a partition as ext4 to (I use partition wizard).. Not ext3, or ext2, or either..
I am sorry for my bad english..
Click to expand...
Click to collapse
I did format it as EXT4 with MiniTool but mounts as EXT2 on Link2SD upon reboot even after choosing EXT4.
mitchst2 said:
I've had this especially when restoring nandroid backups. The 05mountsd script in the init.d folder of some roms creates a conflict with Link2sd. Simply delete that script, problem solved.
Sent from my GT-S5830
Click to expand...
Click to collapse
I don't have and Init.d support or scripts

Categories

Resources