Hello guys,
I have installed the above rom by Sandvold, rom is running well. I have intermediate technical skills but have been out of it for a bit. The rom is working well, no issues, but the rom thread mentions a lot about apps2sd, etc, and running scripts. My appps allocation is as follows, 99mb used and 49mb free. Should I be doing something to dalvik cache, running a script to allocate more space or ensuring everything is installed on the SD card. I am posting here becuase they dont like posts such as this in that thread. I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
many thanks in advance.
moghm said:
Hello guys,
I have installed the above rom by Sandvold, rom is running well. I have intermediate technical skills but have been out of it for a bit. The rom is working well, no issues, but the rom thread mentions a lot about apps2sd, etc, and running scripts. My appps allocation is as follows, 99mb used and 49mb free. Should I be doing something to dalvik cache, running a script to allocate more space or ensuring everything is installed on the SD card. I am posting here becuase they dont like posts such as this in that thread. I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
many thanks in advance.
Click to expand...
Click to collapse
After flashing the ROM reboot into RECOVERY and flash amarullz script.
Goodwin_TJ said:
After flashing the ROM reboot into RECOVERY and flash amarullz script.
Click to expand...
Click to collapse
And make sure your SD card has a FAT32-partiton with rest available space and an EXT4-partition with at least 512 MB, better 1 - 2 GB. If you configure(d) your SD card with GParted, check that both partitions are primary.
moghm said:
I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
Click to expand...
Click to collapse
I had the same problem as you do, and I found a script that made it work for me at least.
First off I wiped the whole phone clean, including the SD Card.
After that I formated the SD card like this (3965 MB card)
0 - 2909 fat32
2909 - 3933 ext4
3933 - 3965 linux-swap
How you do this is by going into the phone with ADB and do the following (Im using Windows7 so I used commandpromt):
Open commandprompt and type in "adb shell" (Assuming you have the requirments for this).
Once in you should se somethine like this "~ #" or "/ #". After this you type "parted /dev/block/mmcblk0"
This will give a prompt like this "<parted>", here you can type "print" and and see the exact size of your SDcard in MB and your current partitioning.
Decide how you want to partion your card (I used 1024 MB ext4 partion for my apps)
Remove your current partitions with "rm 1" where the 1 stand for the partition number. You should see thoose numbers when you type in "print"
When you removed all you can begin to create the new partitions by doing this:
mkpartfs primary fat32 0 2909
mkpartfs primary ext2 2909 3933 (You have to creat a ext2 partion first and then "upgrade it" to an ext4)
mkpartfs primary linux-swap 3933 3965
Type "print" again to make sure you have the correct sizes and all partitions you want, if you have then type "quit"
Now you have to "upgrade" the ext2 partition to an ext4. This you have to do in 2 steps.
First from ext2 to ext3. In the "/ #" promt type the following: "tune2fs -j /dev/block/mmcblk0p2" where the 2 is for partition number 2. After this you should have a ext3 partition instead of a ext2.
From ext3 to ext4 you do this:
"tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2"
"e2fsck -fpDC0 /dev/block/mmcblk0p2"
Now when you have the partitions right you can move on to installing the ROM on the phone.
First you should download the old files that is in the bottom of this thread http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Extract the zip folder and send over the "A2SDKillerV5.zip" and "Data2SDInstallerV5_aosp.zip" to your SDcard.
From recovery install the ROM. When it is done, move back to the menu and do not reboot. Instead install the "A2SDKillerV5.zip" and when that is done reboot the phone and make sure it boots correctly. Take the "on first start" guide but do not login to your google-account. And do now download any apps or even go into market. After this reboot into recovery mode again.
When back in recovery mode, install the "Data2SDInstallerV5_aosp.zip". When its done you can reboot and you should have ~1GB to install apps on (Or whatever size you choosed)
Hope this will help you as much as it did to me
Kind regards Cykelstyre
CykelStyre said:
I had the same problem as you do, and I found a script that made it work for me at least.
First off I wiped the whole phone clean, including the SD Card.
After that I formated the SD card like this (3965 MB card)
0 - 2909 fat32
2909 - 3933 ext4
3933 - 3965 linux-swap
How you do this is by going into the phone with ADB and do the following (Im using Windows7 so I used commandpromt):
Open commandprompt and type in "adb shell" (Assuming you have the requirments for this).
Once in you should se somethine like this "~ #" or "/ #". After this you type "parted /dev/block/mmcblk0"
This will give a prompt like this "<parted>", here you can type "print" and and see the exact size of your SDcard in MB and your current partitioning.
Decide how you want to partion your card (I used 1024 MB ext4 partion for my apps)
Remove your current partitions with "rm 1" where the 1 stand for the partition number. You should see thoose numbers when you type in "print"
When you removed all you can begin to create the new partitions by doing this:
mkpartfs primary fat32 0 2909
mkpartfs primary ext2 2909 3933 (You have to creat a ext2 partion first and then "upgrade it" to an ext4)
mkpartfs primary linux-swap 3933 3965
Type "print" again to make sure you have the correct sizes and all partitions you want, if you have then type "quit"
Now you have to "upgrade" the ext2 partition to an ext4. This you have to do in 2 steps.
First from ext2 to ext3. In the "/ #" promt type the following: "tune2fs -j /dev/block/mmcblk0p2" where the 2 is for partition number 2. After this you should have a ext3 partition instead of a ext2.
From ext3 to ext4 you do this:
"tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2"
"e2fsck -fpDC0 /dev/block/mmcblk0p2"
Now when you have the partitions right you can move on to installing the ROM on the phone.
First you should download the old files that is in the bottom of this thread http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Extract the zip folder and send over the "A2SDKillerV5.zip" and "Data2SDInstallerV5_aosp.zip" to your SDcard.
From recovery install the ROM. When it is done, move back to the menu and do not reboot. Instead install the "A2SDKillerV5.zip" and when that is done reboot the phone and make sure it boots correctly. Take the "on first start" guide but do not login to your google-account. And do now download any apps or even go into market. After this reboot into recovery mode again.
When back in recovery mode, install the "Data2SDInstallerV5_aosp.zip". When its done you can reboot and you should have ~1GB to install apps on (Or whatever size you choosed)
Hope this will help you as much as it did to me
Kind regards Cykelstyre
Click to expand...
Click to collapse
Much easier to install 4ext recovery.
I know I probably shouldn't be doing this but: When I was running a Gingerbread Rom the stock player found my music on my SD card. When moving to this rom, it refuses to find ANY music in the card. Downloaded some third party players like Poweramp etc and still it refuses to find my music. Don't know what to do now (Trivial I know but I really want to play around with the ICS rom but I do listen to music a lot so it's a hinderence that it doesn't work)
Zenamez said:
I know I probably shouldn't be doing this but: When I was running a Gingerbread Rom the stock player found my music on my SD card. When moving to this rom, it refuses to find ANY music in the card. Downloaded some third party players like Poweramp etc and still it refuses to find my music. Don't know what to do now (Trivial I know but I really want to play around with the ICS rom but I do listen to music a lot so it's a hinderence that it doesn't work)
Click to expand...
Click to collapse
Is that with the latest one, 3.4?
I had the same problem with 3.3, but its ok with 3.4. I have my music back.
When going from 3.3 to 3.4 I cleaned the folders on my sdcard. I dont know if that helped, maybe worth a try though. Heres what I did
Mount usb in recovery, deleting all folders except the ones I wanted to keep, ie music, pictures, titanium backup etc
Full wipe
Install rom
My music came back
I thought that ROM had A2SD built in and you just needed to run an adb command to enable it?
I've flashed this ROM & followed the instruction in running the script in the command prompt rebooted all's well here!
Related
How to partition your SD Card for us Newbies.
how can i do that? Ext2 , Ext3
i have a 8 gb sd card class 6. someone guide me please with a link
Thnx
acronis disk manager can do that but the card wouldnt boot in my phone, so i used the phones internal boot up manager to do it, unlocker.com has a video guide. i only been doing this my self passed 3 days and its been really confusing so good luck
Page 2 of the Q&A Forum
oMaRcO said:
How to partition your SD Card for us Newbies.
Thnx
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- "Install apps to sd" (ext) must sometimes be configured in your ROM, check the thread for your rom for infos...
- Backup your SD card before you start ! The following steps will wipe the contents !
- Ext partitions are only visible in Linux = Windows can't see it.
- Swap Partitions are no longer useful.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
- If the device is plugged into a PC when you try to boot with the partitioned SDCard it never gets past the white HTC sceen & logo.
Now the tutorials:
A. Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
- I believe Rom Manager (as of end of July) creates an ext2 partition, therefore if you want ext3 or 4, easiest is to go through Gparted, or if you have amonRa Recovery, I believe this function is present.
B. Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-t...eature=related)
+ You can do this using your phone to mount the SD card or a Card adapter directly connected to your computer.
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext3 or 4 (recommend ext4)
Free Space Following = 0
Click add
13) [CHECK AGAIN you are working on your SD card and not your Hard Drive!!!!] Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone and wait (see introductory remarks)
C. Recovery Images
Some Recovery Images also have a option to format your SD card from the recovery screen. (see http://forum.xda-developers.com/showthread.php?t=721792).
I have not tried that.
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more.
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
E. Further Infos
See: http://geeks.pirillo.com/profiles/blogs/how-to-partition-an-sd-card or :
http://androidcommunity.com/forums/f...rtition-14232/ or:
http://theunlockr.com/2009/10/15/ho...-android-when-using-swap-hero-and-or-apps2sd/ (With Rav Recovery...) or:
http://forum.xda-developers.com/showthread.php?t=534714 (most complicated way.... )
related thread: http://forum.xda-developers.com/showthread.php?t=731432&page=2
F. Open Questions:
What I don't know:
- If the size of the ext partition matters (if you have to choose 256/512 or 1024, and can't have 600mb for example?
- What ROMs require ext partitions? (all with app2sd+, basic froyo app2sd doesn't require ext partition).
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards... (do you need any management of your ext partition?) or you have to reinstall those apps????) See here.
- How to check if you bricked your sd card...
- etc...
Good Luck
Use Rom Manager
Completely painless, took less that 2 mins to do mine
PS - It may appear to stuck at the HTC white screen after completion, I just left it and
it booted up normally after about 3 mins
50 apps installed and 132MB spare!!
The first time round the Rom manager worked for me. But I again formatted the card thinking i had not followed the right partitioning so i tried again but i get stuck on a black screen with SU request written forever which needs to be force closed.
Please advise. thanks
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Chan_B said:
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Click to expand...
Click to collapse
Try to format the card back to fat32 using:
http://panasonic.jp/support/global/cs/sd/download/index.html
Then check out the Windows way of using parted to partition
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
After partitioning I use clockworkmod to upgrade ext2 to 3.
And you can't always set a linux swap of 0 so calculate 1MB for that part.
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Chan_B said:
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Click to expand...
Click to collapse
gparted has a live cd to partition your sd card
http://gparted.sourceforge.net/download.php
Hi, i see you all set swap as 0 does that mean its using phone internal storage as swap how fast is read/write of phone ram ? i have class2 32gb card i used the phone boot with the r5 windows.bat to get into it and i set 256 swap/512 ext2/ rest 32bit all seems to work fine.
i note that writing to the sd card is about 2MBps and read is 10MBps.
i have a class4 8gb that writes at 10MBps reads about 17MBps i have had both in the phone and i cant say that i notice lag on the 32GB but i havent had it more than a few days and coming from xda orbit its a big difference.
if i use the card as storage the phone becomes very lag but maybe thats cause in that mode it would have no swap file? might change that when i finally flash to froyo.
gparted kept saying it was unformatted when windows said it was formatted so i gave up with it.
gianton said:
gparted has a live cd to partition your sd card
Click to expand...
Click to collapse
Thanks, but I think I sorted it. Fingers crossed.
Just rooted my htc desire and used rom manager to partition my sd card (the one I got when I bought the phone). Everything fine.
then I bought a new Transcend micro sdhc 8GB... this memory card is not recognize by windows if using card reader. So..:
- I inserted into blackberry and connected using usb cable. My windows (Windows xp) can see and access it.
- formatted the new memory card to Fat32
- copy Open Desire and and Official Sense Froyo ROMs, both by Adam
- flashed to Sense Froyo ROM, and when it rebooted, it freezed.. cant get into the system
- flashed to OpenDesire, it worked.
- Download ROM Manager
- choose "Partition SD Card"
- Swap 0, Ext 512mb
- ERROR...
what should I do?
Did you download Clockworkmod recovery through ROM Manager before that?
If you create a partition using rom manager do you lose all your apps and settings that you already have in use.
thanks
jankos said:
Did you download Clockworkmod recovery through ROM Manager before that?
Click to expand...
Click to collapse
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
aoisora said:
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
Click to expand...
Click to collapse
Its showing around 400mb for me aswell, but how exactly can I tell if it is working. If I go to manage applications and click on sd card I have a couple that I moved over i.e rom manager but some apps are unmovable to sd card. Are these apps unmovable by design. I hope I haven't done it wrong.
BTW neophyte is the best rom I've used yet.
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
I think rom manager does that as ext3.
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
ROM Manager makes directly ext3 format. Do not worry about that
jankos said:
ROM Manager makes directly ext3 format. Do not worry about that
Click to expand...
Click to collapse
No it doesn't it makes a ext2 partition, you have to format to ext3... I have used gparted live cd to do this.
Sent from my HTC Desire using XDA App
I'm using ClockworkMod Recovery 2.5.0.1 and i've seen a couple of guides where I go into the recovery and do some bits and bobs there to create it, but the only options I seem to get are to mount the sd-ext partition, which fails because it doesn't exist, or to format it.
I'm guessing there is a step beforehand i'm missing?
Thanks
download rom manager from market , open it , then create a ext3 partionion ... done
before you create a partition , backup your sd card!!
y2viks said:
I'm using ClockworkMod Recovery 2.5.0.1 and i've seen a couple of guides where I go into the recovery and do some bits and bobs there to create it, but the only options I seem to get are to mount the sd-ext partition, which fails because it doesn't exist, or to format it.
I'm guessing there is a step beforehand i'm missing?
Thanks
Click to expand...
Click to collapse
I had the same problem.
You can create the partition using the ROM Manager app downloaded from the market as yasars said.
Alternatively, if you want to do it manually, you can format the card on a *nix system. The Gparted Linux app lets you edit the partitions in a nice and simple GUI. Just remember the order of the partitions: first fat32, then about 512 MB of ext2/3/4 (ext4 may not be supported by all ROMs so better to use ext3) and lastly a swap partition of about 32 MB (totally optional). The size of the fat32 partition is whatever is left over after you've allocated the 512 MB for the ext2/3/4 partitions (and the 32 MB for the swap if you decided you wanted it). For instance, for a 2GB card, leaving 512 MB for the ext2/3/4 partition (no swap) leaves us with about 1.5 GB for the fat32 partition. You do the calculations for your card in your head or on paper and use those values in Gparted.
HTH.
Thanks for the help guys
I think i'll just get it up and running using the ROM Manager and if I find the need I'll do a manual version
Foolowing this guide I partitioned my sd card with GParted Live CD.
gianton said:
Foolowing this guide I partitioned my sd card with GParted Live CD.
Click to expand...
Click to collapse
You have no Idea how cool it is for me that my tutorial was useful... ;-)
chrysochire said:
You have no Idea how cool it is for me that my tutorial was useful... ;-)
Click to expand...
Click to collapse
Yes it should be a sticky!
Having a problem when I try to use ROM Manager.
I select the 512 for EXT and 32Mb for Swap and the phone reboots.
It then shows the big triangle with Mr Android next to it until I press some buttons and then I get the recovery screen with the following messages
Finding Update Package....
Opening Update Package....
Verifying Update Package....
E:failed to seek in /cache/update.zip (Invalid Arguement)
E:signature verification failed
Installation Aborted.
I don't have a cache folder on my sd card so i'm guessing it's looking in the internal memory?
Not sure what to do here
BACK-UP sd card before you do this.
For windows users
have clockwork recovery and rom manager on your desire
then format sd in windows.
put it in your desire and go to rom manager.
select Partition SD Card
select your space i used 32 swap 512 ext
than reboot and your sd card has the ext partition.
than put your files back on your sd card and Done
y2viks said:
Having a problem when I try to use ROM Manager.
Click to expand...
Click to collapse
I had the same problem with ROM Manager. My solution was to downgrade ClockworkMod Recovery to v2.5.0.0 (in ROM Manager) and then partition the card. Worked on first try.
When you're done you can upgrade to latest version again if you want.
I don't think you should use a swap partition, so just set it to 0 MB.
Good luck!
Do i just need to find the 2.5.0.0 update.zip file and flash?
going to 2.5.0.0 worked
so now i have the ext partition do I need to do anything for apps to be installed there, or will they install there by default?
Also i've heard that the ext partitions can be 2 3 or 4. I'm presuming higher is better. How do I go about finding what mine is and how can I upgrade it if it need it?
Thanks
chrysochire said:
You have no Idea how cool it is for me that my tutorial was useful... ;-)
Click to expand...
Click to collapse
Hi, I'm also going to give your guide a go. Just one question, do I have to do it with the SD card still in the phone or can i do it with a SD USB adapter?
Thanks,
Joe
I read the tutorial again and you can use an SD adapter, worked a treat. Cheers
y2viks said:
going to 2.5.0.0 worked
so now i have the ext partition do I need to do anything for apps to be installed there, or will they install there by default?
Also i've heard that the ext partitions can be 2 3 or 4. I'm presuming higher is better. How do I go about finding what mine is and how can I upgrade it if it need it?
Thanks
Click to expand...
Click to collapse
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
I'm not sure which format ROM Manager defaults to, but you can always check the type of format used by mounting the card in Linux and using the GParted Linux app (you could use a card reader or use the 'Disk Drive' option in your phone to connect it to the computer). Also, ext3 should be fine for most custom ROMs. In fact, not all ROMs support ext4.
ikkokusenkin said:
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
.
Click to expand...
Click to collapse
- Another quick way is to install quick system info from the Market, it tells you infos about your system, including the use of your a2sd partition.... ;-)
- About ext 2/3/4 I would advise the use of ext3, as ext4 is poorly supported by Roms (even those who pretend seem to have issues...)
cheers
Does the decrease of available internal storage means apps22sd+ is not working? I've partitioned twice and installed seperate 2.2 roms with apps2sd+ included and every time I install more things I see internal storage drop.
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
Click to expand...
Click to collapse
I checked this and it's doing what you said
ikkokusenkin said:
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
Click to expand...
Click to collapse
I took the liberty of including this information into my tutorial. I added a reference to you. ;-)
I hope this makes it to Sticky one day... ;-)
bloosteak said:
Does the decrease of available internal storage means apps22sd+ is not working? I've partitioned twice and installed seperate 2.2 roms with apps2sd+ included and every time I install more things I see internal storage drop.
Click to expand...
Click to collapse
Not in itself, no. Those symbolic links mean that A2SD is working fine. However, from what I understand about the theory, even A2SD installs a part of the app into the internal memory. That may explain the drop you see. By the way, how much free memory do you see on your device? I usually have about 140 MB free on my Desire. I read somewhere that if A2SD wasn't working, that figure would be about 90 MB.
chrysochire said:
I took the liberty of including this information into my tutorial. I added a reference to you. ;-)
I hope this makes it to Sticky one day... ;-)
Click to expand...
Click to collapse
Thanks. Although, I can hardly claim to have come up with the idea myself.
ikkokusenkin said:
Not in itself, no. Those symbolic links mean that A2SD is working fine. However, from what I understand about the theory, even A2SD installs a part of the app into the internal memory. That may explain the drop you see. By the way, how much free memory do you see on your device? I usually have about 140 MB free on my Desire. I read somewhere that if A2SD wasn't working, that figure would be about 90 MB.
Click to expand...
Click to collapse
108 free total of 148
I just recently opened spare parts apps where it allowed me to change where apps2sd installs things. By default it was set to automatic and I'm guessing that was causing the problem. I set it to external and tried installing a browser while my disk was mounted and it wouldn't let me do it. Then I set it to charge mode and it installed normally.
Some roms probably default to external while some automatic.
edit: Just installed an app that I previously installed while using "automatic" and it still uses up internal storage instead of A2SD storage. Dunno what's wrong. I am using ext2 partitioned through rom manager.
hi guys,
i'm having troubles to make an ext3 partition on my SD card. I've recently bought a desire which i successfully rooted. I also have flashed a custom rom (leedroid).
I would like to try other roms like MIUI and non-sense but i read these require an ext3.
Ive been searching for this for 2 days now without succes. Ive found many guides but they have all failed in a way...
NOT TO BE LAZY, like i said ive been strugling with this for 2 days.
But could anyone give me some guidelines on how to do this ?. There is just so much info out there that its very confusing.
Thx in advance guys !
You can try this using MiniTool Partition Wizard
You could also try you using an Ubuntu live cd of GParted by either burning it to a cd or boot it from a usb stick: http://www.ubuntu.com/desktop/get-ubuntu/download.
Or, you use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4)
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
Another method via Windows using Pushfiles:
1) Turn on your phone while holding the volume down button.
2) You will see HBOOT on the screen.
3) Use the volume buttons to move up and down and power button to select the RECOVERY option.
4) You will now see a red triangle on the screen, at this point plug your phone into your PC via your microUSB cable and wait for 10-15 seconds.
5) Unzip the file pushfiles_windows.zip that you downloaded earlier, and double click on recovery-windows.bat inside this unzipped folder.
6) Once you run it you will notice, the screen of your device change to a green recovery image menu.
7) In the recovery image, select the Partition SD card option, convert ext2 to ext3. Done!
Pushfiles attached below.
Thx for your reply.
I have installed "MiniTool Partition Wizard " and came to the conclusion that my SD card has an EXT3 partition :s. So some of the things i've tried must have worked...
But i got another question.
I have installed "Quick system information".
A2SD storage is total 458MB with 319MB free.
My internal storage is 148MB with 98,98MB free. (THIS WAS 138MB right after rom install)
System storage is total 250MB with 26,46MB free.
Memory is 416 with 124MB free, idle 34,28MB.
I thought that with a A2SD rom + an EXT3 partition everything would be placed on this ext3 partition on my sd card.
How does it come that my internal/system storage is decreasing?
I'm on leedroid v2.3b
thx in advance guys
That is because only your apps are moved to your SD card. Not the Data of the apps. If you want that, than you must install a data2sd rom.
An easy way to make an ext3 partition or transforming an ext2 to an ext3 partition is using amon ra recovery. You can find it in the android development. You install it using unrevoked (the same way that you rooted)
Ah so there is a difference between a data2sd rom and a app2sd rom?
Staicy said:
Ah so there is a difference between a data2sd rom and a app2sd rom?
Click to expand...
Click to collapse
The way A2SD works is that it moves the /data/app/ directory to the SD-EXT (moves app data to the SD card partition)... however, it doesn't move the data/data directory, as this remains on the internal storage.
The main difference between A2SD and Data2SD is that /data/data is moved to SD-EXT with Data2SD, and with A2SD, it remains in internal storage.
Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Manzatto said:
Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Click to expand...
Click to collapse
Haven't used the script but the sys partition is the sd-ext.
paul.c said:
Haven't used the script but the sys partition is the sd-ext.
Click to expand...
Click to collapse
I Don't understand well.
When I start link2sd it opens a window and asks.
"Select the system partition." When I select any items of it displays "error to create the script." When i choose fat32 it show me the message not enough memory.
Do not exist the option-> sd-ext.
I'm noob
Thanks
I have a htc desire stock orange uk, S-OFF, rooted.
With link2sd all I did was use Ubuntu and gparted to partition my 8gb sd card the 2nd partition set at 1024mb and the rest all together both FAT32 as on the market app info it says ext2, ext3 etc etc can only be used with a custom rom.
hope this helps
This has been a life saver went from 17MB free to Nearly 60MB!!!!!
I have the same problem.
partitioned the SD card second partition with FAT32, made it primary but link2sd gives me the same arror as reported by Manzatto.
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
thank you.
G.
It's required for you to have first partition fat32 and second one ext (mine is ext3). When it asks point to ext one and that's it.
Hi, I've the same problem. Here is the explanation:
Kierrok said:
Link2SD needs install-recovery.sh or init.d support enabled to mount its partition at boot time. The problem is Samsung GB ROMs don't have it.
You can enable init.d support easily if you cook your ROM. If you can't do it for yourself ask your ROM devel to enable it.
Click to expand...
Click to collapse
It ist impossible to change or create this files, because the rom is mounted readonly. So you need to ask the developer of your custom rom to support link2sd.
It's possible to mount your ext2/3/4 partition manually for link2sd , but every reboot would destroy it.
Greetings Max
I also have the same problem.
I partitioned the SD card second partition with FAT, made it primary but link2sd gives me the same arror:
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
Also tried with ext2, ext3 and ext4 and same error.
Currently using this ROM: http://forum.xda-developers.com/showthread.php?t=1200261
Hey,
I've been using ICS (beta 0.4.2.1 now, beta 0.3.9 previously) and none of the a2sd scripts seem to be working. I tried to use the one you have to activate through adb, and today when I updated to 0.4.2.1 I chose another one from the installer. My phone still reports 148 MB of internal storage...
I've had a thorough search of similar threads, but you know how difficult it is to find any meaningful information on this forum; can someone please point me in the right direction? Thank you!
I flashed ICS and installed the bundled a2sd script and it worked like the script on Insertcoin. That is the system still displayed the data partition size of my hboot but the SD ext4 partition was utilised for apps. If you have titanium backup you can see the data usage on the home screen.
I also flashed amarullz script. This script did change the reported internal memory to my SD card partition size. I did not use it long so I can't comment on how it runs on s class 4 SD card.
Sent from my HTC Desire using XDA
You did not understand how A2SD works. It moves all apps (with A2SD+ also dalvik-cache) you install automatically to an EXT-partition (some of their data still remain in internal memory). But it does not increase / decrease the size of internal memory.
If you want to change the size of internal memory, you have to use a script which moves the whole /data-partition to an EXT-partition. The size of this partition is then the size of your internal memory. The name of this scripts is DATA2SD / DATA2EXT.
Sent from my HTC Desire using Tapatalk
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Did you ever get a fix for your problem?
I have something similar. Was running 0.3.9. and decided for a couple days ago to upgrade to a newer edition. Wiped data/factory reset, wiped cached and dalvik-cache, and installed the new version.
Used stock everything, activated a2sd and tried to start and install some apps from google play. Got a message that it was not sufficient space.
Did get titanium installed, and that reports the different "drives" correctly, but I still don't get it to work as it should. If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Anyone got any ideas?
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
arsvendg said:
If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Click to expand...
Click to collapse
Same problem here. I tried to wipe caches and even recreated the partitions but still no luck with the stock a2sd.
robla1000 said:
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
Click to expand...
Click to collapse
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
arsvendg said:
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
Click to expand...
Click to collapse
App and appdata are different things:
The App it's the "core" and are loaded in the RAM when you start them, so if you move them to sdcard you get a slowdown only on the boot of the app itself
The Appdata it's the data created and used by the program to run, likes databases and so; if you move it to the sdcard you get a slowdown 'cause the program continuosly try to access it.
someone correct me if I'm wrong, i'm still learning the stuff
Long story short: normal A2SD+ methods (like DarkTremor or m2sd) only move a part of /data, linking the files; you will NOT see the increased space but your Apps will occupy less memory.
Data2sd method like data2sd or Amarullz A2SDX will "swap" the ext space with the internal data memory, giving you a visible increase in your internal space.
TL;DR if you have a fast SD card you can go for the latter, else stick to m2sd wich is a new and good method to move application!
For partitioning, I suggest you to use 4ext touch recovery, you can install it on your phone from 4ext.net and flash your new recovery directly from your phone (you need to have S-OFF!); after you have your new recovery flashed:
make a backup of your SD card data (you have to format it)
Reboot in recovery
Go to "Tools"
"partition sd card ->"
"Remove all partitions and start from scratch"
Now you have to set, in order, you primary ext dimension, your secondary ext dimension and the swap dimension
I usually go for - 1st ext: 1024 -2nd ext: 0 - swap: 0
Select ext4 for your first ext partition
Now you are ready to use wathever a2sd method you want.
Hope this will help you!
Regards,
Ryther
Ahh I'm just going to leave this here.
All the ICS Devs have done a great job - Kudos to them.
But if you want a bugfree ROM which works well, for now - GIVE UP on ICS.
Go back to CM7 - it'll do you good.
Don't give up on ICS because SOME people have issues. I've ran an ICS build with a2sd working just fine no bugs whatsoever. I have not tried a data2ext script on an ICS build though so I don't know about that.