app2sd? - Touch CDMA Android Development

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

Related

Getting app_s --> ext2 helpp

Ok.. ive been on a mission to install the hero UI on my g1.
my phone is rooted, has the latest SPL and RADIO.
I flashed the hero rom and it worked.. yet there was nothing on the home page. Although if i hit send to dial, or shut the screen off it comes back locked, and gives me the dial pad. im assuming that was becuase of the no app_s on my ext2. right...?
i tried the ADB push, the ubuntu linux... it DOES NOT HAPPEN FOR ME!
(also cant install apps2sd on my phone for whatever reason)
could ive searched and searched this site with no direct answer, and no success.
If somebody could please walk me thru getting app_s to my ext2 via terminal,CP, something.. or even get apps2sd to work and ill do it 1 by 1.. IDC!
thanks in advance.
UPDATE: HAVE INSTALLED APPS2DS2 SUCCESSFULLY AND RUNNING 1.5 [CYANOGENMOD-3.6.5] FROM APPS2SD HOW DO I GET THESE APPS FROM APP_S ONLY MY EXT2 PARTITION? PLEASE HELP ME DO WHAT I NEED TO DO TO GET APP_S TO MY EXT2 AND LOAD HERO ROM!!!
oraeanast said:
Ok.. ive been on a mission to install the hero UI on my g1.
my phone is rooted, has the latest SPL and RADIO.
I flashed the hero rom and it worked.. yet there was nothing on the home page. Although if i hit send to dial, or shut the screen off it comes back locked, and gives me the dial pad. im assuming that was becuase of the no app_s on my ext2. right...?
i tried the ADB push, the ubuntu linux... it DOES NOT HAPPEN FOR ME!
(also cant install apps2sd on my phone for whatever reason)
could ive searched and searched this site with no direct answer, and no success.
If somebody could please walk me thru getting app_s to my ext2 via terminal,CP, something.. or even get apps2sd to work and ill do it 1 by 1.. IDC!
thanks in advance.
UPDATE: HAVE INSTALLED APPS2DS2 SUCCESSFULLY AND RUNNING 1.5 [CYANOGENMOD-3.6.5] FROM APPS2SD HOW DO I GET THESE APPS FROM APP_S ONLY MY EXT2 PARTITION? PLEASE HELP ME DO WHAT I NEED TO DO TO GET APP_S TO MY EXT2 AND LOAD HERO ROM!!!
Click to expand...
Click to collapse
apps2sd happens automatically with the newer ROMs. You don't need to do anything except have properly set up partitions for it to take effect. What size is your ext2 partition and is it the 2nd partition on your card?
h.nocturna said:
apps2sd happens automatically with the newer ROMs. You don't need to do anything except have properly set up partitions for it to take effect. What size is your ext2 partition and is it the 2nd partition on your card?
Click to expand...
Click to collapse
fat 32 - 1gb
ext2 2nd partition - 700mb
and yes, the card is properly partitioned
oraeanast said:
fat 32 - 1gb
ext2 2nd partition - 700mb
and yes, the card is properly partitioned
Click to expand...
Click to collapse
I don't know if it matters, but I think ext2 is supposed to be first?
xsnipuhx said:
I don't know if it matters, but I think ext2 is supposed to be first?
Click to expand...
Click to collapse
Fat32 should be first, and both fat32 and ext2 should be set as primary.
What hero rom are you trying to load? You shouldn't have to appy app_s to the ext partition. But the easiest dummy proof way of moving it would be to boot into ubuntu and you can just copy and paste.
supremeteam256 said:
What hero rom are you trying to load? You shouldn't have to appy app_s to the ext partition. But the easiest dummy proof way of moving it would be to boot into ubuntu and you can just copy and paste.
Click to expand...
Click to collapse
ubuntu WILL NOT! let me copy ANYTHING to my EXT2 partition.
It says i dont have the permissions to copy things to my card on ubuntu?
Even though it recognizes the partition.
And YES, BOTH PARTITIONS are set as primary

Easier way to partition SD with CM 4.0.2?

Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
rschuman90 said:
Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
Click to expand...
Click to collapse
Install Ubuntu and use Gparted
There's a script called SDsplit
there's also a script to partitoin that 51dusty made. Or you can stop being lazy and just type them it. It takes no more than 5min to do.
Or you can flash JF 1.51 adp because it doesn't use the sd so you're safe to partion the sd card and use partted in recovery. JAC has the directions on his Jacxhero ROM page. Thats what i use. Works everytime.
rschuman90 said:
Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
Click to expand...
Click to collapse
Before I started using "parted" I used apps2sd 2 (in the market).
The trick is to make sure you don't let it run the actual apps2sd but only use it to create the partition.
CM's does it better (and you might break something!!!).
If you don't have a ext partition and run apps2sd 2 it lets you create one.
Don't make the partition more than 500mb-530mb.
By the way, it only makes an ext2 partition so if you want ext3 go to console and and upgrade_fs.
Dusty's method in parted is much better!
This is just what I did before I stopped being lazy.
ThR1LL said:
there's also a script to partitoin that 51dusty made. Or you can stop being lazy and just type them it. It takes no more than 5min to do.
Click to expand...
Click to collapse
It's called SDsplit
AdrianK said:
It's called SDsplit
Click to expand...
Click to collapse
The one I'm talking about is called sdparted found here
the script provides 3 partitions... you may not need the swapper. try to make it manually, its easy!!!
AdrianK said:
It's called SDsplit
Click to expand...
Click to collapse
do u have to have adb though if you did dustys method WITHOUT a computer?

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.

Partition SD card on Windows for people who can't be bothered to do it properly ;)

Firstly, BlaY0 has a great tutorial on how to do this properly, I suggest you do that to learn something.
Secondly, I cannot confirm that this is 100% safe. BlaY0's method should be 99% safe, I don't know about this as it is all automatic. BlaY0's method is tried and tested, this is not. I only used this method as I had a new SD card and I was in a hurry (exams coming up ) and I didn't have time to remind myself of BlaY0's method, and CWM only allows you to create up to 512mb partition. Also, I had a new computer, and I don't have time to set up ADB all over again.
Anyway, this is a method for people who don't want to use ADB to partition their SD card for A2EXT or DATA2EXT (a.k.a. apps2sd, etc etc), and are using Windows. If you're running linux, you could use something like gParted to partition it, not sure about OS X though. This method will allow a Windows user to create an EXT partition on their SD card alongside the FAT partition.
1) Download and install Minitool Partition Wizard, from here.
2) Open the program and delete all partitions from the SD card (which you will have inserted into the computer using an adapter or something). DO NOT DELETE THE PARTITIONS FROM THE HARD DISK! MAKE SURE YOU KNOW WHAT YOU'RE DELETING. Oh, and make sure the SD card is backed up
3) Create a FAT32 primary partition. You decide how big you want it, but I'd advise you leave 1024mb (1gb) for the EXT partition.
4) Create an EXT2/EXT3/EXT4 (you decide) primary partition. Use up the rest of the space on the SD card.
5) Click assign/OK/whatever and wait for it to complete
6) You now have your partitioned SD card ready for an A2SD ROM!
7) You need to assign a drive letter to the FAT32 partition. Not sure about the EXT partition. At first I forgot to do this and my card didn't show up in Windows, though Partition Magic can still see it.
Like I said, do yourself a favour and use BlaY0's method here, but if you're lazy or you don't have time or ADB doesn't work anymore, use this.
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB. Well, you're right but that's why I made a customized version of fake-flash that can do bigger... to 1 GB. It can even add second ext partition for some exotic types of data2ext. On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Sent from my HTC Legend
BlaY0 said:
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB. Well, you're right but that's why I made a customized version of fake-flash that can do bigger... to 1 GB. It can even add second ext partition for some exotic types of data2ext. On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Sent from my HTC Legend
Click to expand...
Click to collapse
Ah, I didn't know about your customized CWM, I think I'll just use that next time
BlaY0 said:
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB...
Click to expand...
Click to collapse
I remember some version had the ext menu up to 4GB
BlaY0 said:
On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Click to expand...
Click to collapse
Didn't know that, good to know, for those of us still using data2ext, this is important...
Wish this was up earlier, spent an hour repartitioning my card using parted.Couldn't upgrade to EXT3 and ended up using CWM 3.0.2.8 to do it instead lol
What CWM is using under the hood for partitioning is actually parted.
Sent from my HTC Legend
Tried it but it didnt work not sure what the problem is...
formatted my SD to FAT 32 and reserved 1G for EXT3 both as primary partition in the Mini Partition Tool
Plugged it in my phone,
Ran ADB shell
# a2sd --enabled, rebooted
on reboot nothing seemed to have changed... went back to ADB shell
tried a2sd --free it says A2Sd is not active ...
a2sd -- enabled again and it says it is enabled but not active
so im guessing it cant read or recognize the EXT3?!
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
QkSi1ver said:
Tried it but it didnt work not sure what the problem is...
formatted my SD to FAT 32 and reserved 1G for EXT3 both as primary partition in the Mini Partition Tool
Plugged it in my phone,
Ran ADB shell
# a2sd --enabled, rebooted
on reboot nothing seemed to have changed... went back to ADB shell
tried a2sd --free it says A2Sd is not active ...
a2sd -- enabled again and it says it is enabled but not active
so im guessing it cant read or recognize the EXT3?!
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
Click to expand...
Click to collapse
Take me through what you did, step by step. You say you reserved 1G for EXT3, but did you actually format it as another partition?
QkSi1ver said:
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
Click to expand...
Click to collapse
It has been mentioned here like a gazilion times, boot up your device with logcat and see the first few lines...there is your answer!
Google how to wait for the device with logcat
1) Downloaded and installed Minitool Partition Wizard from your link. I got the free home edition
2) backed up my SD card and Open the program and delete my SD card partition ( which is in a card reader)
3) Created a FAT32 primary partition of 69xx MB and left the rest 1024 MB for the other unallocated space
4) Right click on the Unallocated Space to create an EXT3 as primary partition with the default cluster size.
5) At this point, it showed 2 partition on my SD, one with the drive letter for windows FAT32, and the 2nd one Ext 3 with 1GB and Primary. Clicked OK and Apply and wait for it to complete.
6) once complete , put it in phone, plugged usb and ran adb shell
7) ran a2sd --enable, it said reboot phone.. i made a mistake to reboot by adb the first time but then did the whole process again a 2nd time using reboot from the phone....
Tried logcat using this command "adb -d logcat>mylogfile.txt"
couldnt find the file anywhere ... if i dont redirect to the txt , it goes too fast to read and there's soo much debug messages what do i need to look for?
I thought it would save me time to get it done through windows... but its taking me as much time it w0uld probably get me with the manual way...
i'll give it a try tomorrow...
8) rebooted fine, and i was still low on space.. so went back in adb sheel to check a2sd --free but this is where it says not active..
QkSi1ver said:
1) Downloaded and installed Minitool Partition Wizard from your link. I got the free home edition
2) backed up my SD card and Open the program and delete my SD card partition ( which is in a card reader)
3) Created a FAT32 primary partition of 69xx MB and left the rest 1024 MB for the other unallocated space
4) Right click on the Unallocated Space to create an EXT3 as primary partition with the default cluster size.
5) At this point, it showed 2 partition on my SD, one with the drive letter for windows FAT32, and the 2nd one Ext 3 with 1GB and Primary. Clicked OK and Apply and wait for it to complete.
6) once complete , put it in phone, plugged usb and ran adb shell
7) ran a2sd --enable, it said reboot phone.. i made a mistake to reboot by adb the first time but then did the whole process again a 2nd time using reboot from the phone....
Tried logcat using this command "adb -d logcat>mylogfile.txt"
couldnt find the file anywhere ... if i dont redirect to the txt , it goes too fast to read and there's soo much debug messages what do i need to look for?
I thought it would save me time to get it done through windows... but its taking me as much time it w0uld probably get me with the manual way...
i'll give it a try tomorrow...
8) rebooted fine, and i was still low on space.. so went back in adb sheel to check a2sd --free but this is where it says not active..
Click to expand...
Click to collapse
Tbh I'm really not sure. One thing I forgot to mention in the guide is that you should assign a drive letter to the FAT32 partition or it won't show up in Windows. I didn't assign one to my EXT4 partition though, and DATA2SD is working great for me. Try deleting all partitions from the SD card and start again. It'll only take 10 minutes, and if it still doesn't work just use the manual way.
Sorry.
alexhtclegend said:
Tbh I'm really not sure. One thing I forgot to mention in the guide is that you should assign a drive letter to the FAT32 partition or it won't show up in Windows. I didn't assign one to my EXT4 partition though, and DATA2SD is working great for me. Try deleting all partitions from the SD card and start again. It'll only take 10 minutes, and if it still doesn't work just use the manual way.
Sorry.
Click to expand...
Click to collapse
Yeah i assigned a drive letter to FAT32...
Also the FAT32 , was my first block allocated partition, the 2nd partition was EXT3... i will redo the whole process and recreate EXT4 instead.
"DATA2SD is working great for me" ... you mean "A2SD working great for me" ... right? unless i'm missing something else that i needed to run..
ps: I recalled, after it was not working, i took out the sd and put it back in the reader to open MiniTool, it showed EXT2 instead of EXT3 ( which i was sure i chose )... and what's weird is it was reporting used space like 41MB... so obvisouly, the ROM wrote something on it...
Formatting it again to EXT3, didnt delete the 41 Used space, but it did convert it back to EXT3 ...probably nothing but mentioning as well
QkSi1ver said:
Yeah i assigned a drive letter to FAT32...
Also the FAT32 , was my first block allocated partition, the 2nd partition was EXT3... i will redo the whole process and recreate EXT4 instead.
"DATA2SD is working great for me" ... you mean "A2SD working great for me" ... right? unless i'm missing something else that i needed to run..
ps: I recalled, after it was not working, i took out the sd and put it back in the reader to open MiniTool, it showed EXT2 instead of EXT3 ( which i was sure i chose )... and what's weird is it was reporting used space like 41MB... so obvisouly, the ROM wrote something on it...
Formatting it again to EXT3, didnt delete the 41 Used space, but it did convert it back to EXT3 ...probably nothing but mentioning as well
Click to expand...
Click to collapse
I suggest you start over, something seems to have gone wrong.
A2SD is where the apps are stored on the EXT partition.
DC2SD is where the dalvik cache is also stored on the EXT partition.
DATA2SD is where the entire /data partition on the phone is stored on the EXT partition of the memory card.
Partitioning the SD card with a FAT32 partition and EXT partition is done first, then you decide which one is for you. DATA2SD does have one or two issues, such as the risk of corruption - you'd then have to completely reinstall the ROM. A2SD and DC2SD are fine but I still found myself running out of internal memory.
i gave up and used ROM Manager to create my partition ...i couldnt set it to 1G because 512MB is maximum but it was painless to create.
it asked me to create a swap partition... i've read somewhere that swap partition is useless or barely used in newer android os? do you guys have any swap partition if so how big are they?
Also, did you move Dalvik cache to sd? isnt it slower on SD? i mean shouldnt dalvik cache be on RAM whihc i assume is faster than any external sd?
thanks for your insight
QkSi1ver said:
i gave up and used ROM Manager to create my partition ...i couldnt set it to 1G because 512MB is maximum but it was painless to create.
it asked me to create a swap partition... i've read somewhere that swap partition is useless or barely used in newer android os? do you guys have any swap partition if so how big are they?
Also, did you move Dalvik cache to sd? isnt it slower on SD? i mean shouldnt dalvik cache be on RAM whihc i assume is faster than any external sd?
thanks for your insight
Click to expand...
Click to collapse
I used the full DATA2SD, which includes Dalvik2SD.
ok so sorry for a double post but im having an issue partitioning.
32 gb card san disk brand new
primary Fat32 10gb
primary Ext2 rest of space
once mini tool is done it sats successful but shows the sd card as Bad disk?!?
is there somthing im doin wrong? is used this guide here http://forum.xda-developers.com/wiki/SD_card_partitioning
all help deeply appriciated
Acer Iconia Tab A110 rooted, Cwm, 4.1.2
Can you actually have a 22gb ext partition? This might be something to look into to see if you can do it.
Edit: this got me interested so I searched myself, yes you can but apparently it depends on the chosen block size and hardware limitations, so u may have an issue with either.
Sent from my Legend using xda app-developers app
alexhtclegend said:
Firstly, BlaY0 has a great tutorial on how to do this properly, I suggest you do that to learn something.
Secondly, I cannot confirm that this is 100% safe. BlaY0's method should be 99% safe, I don't know about this as it is all automatic. BlaY0's method is tried and tested, this is not. I only used this method as I had a new SD card and I was in a hurry (exams coming up ) and I didn't have time to remind myself of BlaY0's method, and CWM only allows you to create up to 512mb partition. Also, I had a new computer, and I don't have time to set up ADB all over again.
Anyway, this is a method for people who don't want to use ADB to partition their SD card for A2EXT or DATA2EXT (a.k.a. apps2sd, etc etc), and are using Windows. If you're running linux, you could use something like gParted to partition it, not sure about OS X though. This method will allow a Windows user to create an EXT partition on their SD card alongside the FAT partition.
1) Download and install Minitool Partition Wizard, from here.
2) Open the program and delete all partitions from the SD card (which you will have inserted into the computer using an adapter or something). DO NOT DELETE THE PARTITIONS FROM THE HARD DISK! MAKE SURE YOU KNOW WHAT YOU'RE DELETING. Oh, and make sure the SD card is backed up
3) Create a FAT32 primary partition. You decide how big you want it, but I'd advise you leave 1024mb (1gb) for the EXT partition.
4) Create an EXT2/EXT3/EXT4 (you decide) primary partition. Use up the rest of the space on the SD card.
5) Click assign/OK/whatever and wait for it to complete
6) You now have your partitioned SD card ready for an A2SD ROM!
7) You need to assign a drive letter to the FAT32 partition. Not sure about the EXT partition. At first I forgot to do this and my card didn't show up in Windows, though Partition Magic can still see it.
Like I said, do yourself a favour and use BlaY0's method here, but if you're lazy or you don't have time or ADB doesn't work anymore, use this.
Click to expand...
Click to collapse
Hahah! Thanks for you detail guide. It is so helpful for me!

[Q] HELP TY

CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.

Categories

Resources