Finally downloaded and installed a2sd version of MIUI-XJ. Everything went smoothly. Loving the speed. Awesome MIUI implementation and thanks XJ for modifying it.
Now the problem started when I try to activate app2sd.
When I run the code to activate from terminal, It gives me error - "Problem detected: Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint."
I tried to rewipe everything and flashed still no luck. I have 512 MB ext 3 partition which I was succesfully using for Leedroid, Insertcoin and gingervillian (which use same darktremor code)
If I go in settings and SD card setting I can see A2SD+. Total space 457 MB and available as 453 MB.
So what option do I have now from below?
1. Downloading darktremor script and flashing it and try?
2. I dont know what is D2EXT and D2W so I never tried it. I have 512MB Ext 3 and remaining fat 32 (0 swap). can I try any of that version with that partition structure?
I really started liking this ROM. I hope something works because currently I am using it as it is and only 4-5 apps install bcoz soon it will go into low memory.
Thanks in advance.
You don't need to flash the DarkTremor script because MIUI-XJ has A2SD script built in and you use the terminal to activate it.
Download Terminal from market and open it
Write:
su
a2sd reilstall
After few seconds phone should reinstall a2sd and start to move apps to ext
It worked for me
Yes Meaple, But that script was giving error for some reason
Thanks Vanthor,
I tried that but same error was coming so finally I downloaded the script and reflash it and all is well now But looks like some problem with that update in that ROM.
I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
jinius said:
I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
Click to expand...
Click to collapse
App2SD is flawed because of this, say you have an app 20mb, 15mb would be put on to the SD card and the rest go's to internal, so you will still use up space and in the end will have to start uninstalling.
Best way is to use a Rom with data2SD witch give's you 2gb internal memory.
Sent from my HTC Desire using XDA App
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
wska said:
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
Click to expand...
Click to collapse
Data2SD RoM problems solved
One could also flash a new hboot which increases the size of the /data-partition. However you need s-off for this and it's imho riskier than flashing a rom with data2sd. Whereas i work with a2sd + cm7 hboot and i am very happy it.
Desire with Cool Sensation v7
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Expert please help me and give me some idea.
Do I need to symlink /data/data into sd-ext manually?
Is it possible to remove app2sd in the ROM and install Data2sd? How?
Data2sd require busybox, init.d and ext4 kernel support. I think this ROM have all this thing.
HTC Desire
Hboot S-Off with Revolutionary
4ExtRecovery
Cool Sensation v7 ROM
8Gb Class 2 sd card with Fat32 + 1Gb ext4
And have some basic in Linux shell
I can 100% get my head around this either, although i did install some apps and i could really tell if it was on Internal or EXT4.
From my understanding, as far as the phone os, it thinks apps are on Internal and will decrease the size counter, but apps are on EXT4 if you use a file manager etc.. but even if all goes to EXT4, we still get that annoying LowDisk message was it get to 15megs...
I still was convinced, but i accidently decided i wanted to format my FAT32 partition, mainly to get rid of all the junk that on there since STOCK Rom. I used the Phone own Format SD Card option.
Well that was fun (NOT!!) it instead formatted the EXT4 and not the FAT32, when i rebooted all the loaded apps that were on EXT4 were now gone.
Phone still works, but one side effect of this is now i have like 270megs free....lol, granted no wallpaper, lockscreens etc,
anyway seeing as i screwed up and that im already S-OFF, im going to just go with CM7r2 HBoot.
Similar issue - I think?
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
hoads1234 said:
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
Click to expand...
Click to collapse
To check if a2sd is working, open terminal emulator and type
Code:
su
ls -l /data
Output should say (for a2sd):
Code:
app -> /sd-ext/app
app-private -> /sd-ext/app-private
Additionally for a2sd+:
Code:
dalvik-cache -> /sd-ext/dalvik-cache
If it does not show this, a2sd is not working. So make sure you partitioned sd card correctly (fat32 + ext; both primary).
CallMeLaNN said:
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Click to expand...
Click to collapse
I used Cool Sensation v7 but didn't have this problem until I flashed the newer v9 (just noticed v10 has been posted today though). My internal memory was very low but I then flashed the Dalvik to sdext.zip from the Cool Sensation thread and then had 180MB internal free. Try that and see if it works. If it doesn't, have you aligned your SD ext using the .zip on the same thread? if not this could be why your having problems, though it didn't work for me.
Thanks for the ideas, I was a bit out of my depth with the Mac SU functions, so although i didn't get the desired feedback you suggested, but it could have been me. So anyway I found a Ubuntu machine and plugged in the SD card in an adapter and can see that there is a successful partition, and that the EXT partition seems to have some files and folders in it.
I have also just noticed that the SD cards partitions also appear in the Titanium Backup overview screen.
So i guess my problem is that the memory is just full! Maybe my expectations of extra memory after rooting were unrealistic. ?
For the Record, just to make sure my situation is normal, in Titanium I see
System ROM - 262MB (129MB free)
Internal - 158MB (15MB free) - is this just a section of system ROM above?
SD CARD - 13.8GB (11GB free)
SD Card (a2sd) - 1.9GB (1.5GB free)
@xybadog this is my update,
@hoads1234 just want to share with you,
I use Cool Sensation v7, the internal memory full can be solved by flashing the additional zip for stock hboot but I flash non stock hboot. Why?
After some studying, now I know why expert keep asking for my hboot. Hboot define the data partition. On the phone memory, it divided into system, cache and data partition. the hboot define the partition size. For stock hboot, you will only have 147Mb for HTC Desire. Whatever the custom ROM symlink'ed some data partition, we stuck on 147Mb. If you flash like CM7r2 hboot, you will get more room (300+Mb) on data but just enough for system. "Internal memory" is referring to data partition.
Now I still have 130Mb free internal memory after installing 90 apps without wiping any cache for about 2 weeks.
I dont have Ubuntu even I know how to use it. No time to install or make virtual machine. To partition your sdcard easily without linux, use 4ExtRecovery. It is CWM based recovery plus support for Ext4 and some features like partitioning, check for aligned sd-ext and mount as disk drive.
To check for your current internal partition. boot into recovery, and use ADB to run command "df -h". The /system /data and /cache is the thing you need to look for.
You could use the cyanogenmod rom, then install s2e app from market. That app is designed purely for use with cyanogenmod. I use this combo, I have a huge amount of apps installed and still 50mb of internal space free. No need for changing your hboot or using data2sd rom. Very simple fix
Sent from my CM7.1 Desire using XDA Premium App
okay thanks, I am still happy having a go with InsertCoin, so I will have a look at the hboot.
I think i read somewhere that i could do it just like adding a new ROM and copying a zip file across, so time for some more forum reading to work my way through this next step.
http://forum.xda-developers.com/showthread.php?t=1110921
okay here is my update, since in have revolutionary hboot, i tried to change to alpharev, so i could use their modified partition tables (found no reference of being able to do this in Revolutionary) - the folks on alpharev irc said not to, but didn't say why.
I did try and use the unrevoked tool to flash AmonRa across again, but this had a waiting for reboot error and may have failed. I have also reflashed my ROM again after a full wipe a couple of times. Not finding any improvements in memory, so will keep fiddling.
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
hoads1234 said:
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
Click to expand...
Click to collapse
I suggest you use ADB instead of terminal emulator because easy to type in PC.
Install Android SDK make ADB shell to work and connected to your device. The shell is just the same what you need to do in terminal emulator.
To move app private and dalvik cache simply make symlink like this:
Code:
busybox cp -a /data/dalvik-cache /system/sd/
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
The first will move all contents, the second will remove the existing original dalvik-cache folder. and the third one will make symlink to point from original location to the sd partition.
I have the HTC Evo 4G. I am currently rooted and I am running the latest FreshEvo rom.
As of recent I have been getting the low-space error on my phone. I really do not have much installed and I use Apps2SD.
I am considering swapping to a new ROM today or tomorrow.
My question is: When do I need to partition the SDcard?
With Gingerbread or Sense 3.0?
I am hoping I was supposed to have to do it before upgrading to Fresh's ROM because I find it hard to believe I am actually low on space.
Thanks for the input guys!
I have never used Fresh Roms, so as far as that goes, I don't know, but you partition your SD card when you want to use a script like DTA2SD that will install all of your downloaded apps to the SD card.
It is recommended that the SD card be at least a class 4, but I have used a class 2, and most apps run fine.
It doesn't really matter when you partition the card, if the rom you are using has a built in a2sd, it should automatically detect the partition, and transfer all apps to the sdcard upon first, maybe second boot. If the rom uses DTA2SD, you can go to the terminal emulator and type "a2sd reinstall", or maybe "a2sd install" I can't remember which at the moment. That will reset everything, and move all downloaded apps to the sd.
When you partition your card I recommend you wipe dalvik, though it is not necessary.
Cool! Thank you very much.
I've been partitioned on every ROM since I first discovered DT A2SD months and months ago....
It's really the only way to go.
I'm going to be partitioning my SD tonight as well. I've been getting the low space notification too, as the new Flash program is something like 17 MB of space, and I'm not giving up my Sense that easily. Hopefully all goes smoothly.
Just remember that you will lose ALL information on the SDCard when you partition, so back it up first!
Also, remember to upgrade to ext3 after the initial partitioning.
Bringing this back up.
I did the partition correctly. I tried a new ROM and I really dislike it.
I want to use another ROM but it does not have the Apps2SD (Baked-in) how would I go about using Fresh's ROM but get the Apps2SD thing to work on the entire ROM?
Hello,
I have a problem when installing the MIUI V4 Marange ROM 2.6.8
The installer stuck on "Setting permissions" (in aroma).
For installing it, i make this different steps :
1/ Wipe all
2/ Fix permissions
3/ install: choose a2sd, ext4, no swap, shaky kernel
My phone is a HTC Desire with 4EXT Recovery Touch.
I have a 16GB SD Card with a 1024Mo Ext4 partition.
Thank you for your help
Best regards
Please, paste here the log of your installation.
You need to use the button in bottom left of the screen, the file will be saved in the same directory of the rom.
It can help discover what's your problem.
The problem is that i can't use this button because when the installation have a problem, i can't click anywhere.
In fact, when i install this rom, the installation goes until "Setting permissions". After a few minutes, the installer closes and shows an error with status 0.
What HBoot are you running? Is it Data++?
Yes! Why?
I know this may not sound like a solution to you, but try installing with Stock hboot. Here's why:
I had the exact same thing as you do now, and in every way I tried, I couldn't get MIUI to install on Data++ and on Sence hboot it installed, but gave me alot of errors.
I tried alot of things, such as installing on Stock hboot, taking backup, switching to Data++, perform a factory reset and let MIUI re-install itself... google application services started failing left, right and center.
I ended up ordering a Class 6 Ultra 32GB Micro SD Card, so I can use Lennox's LX-D2X script (cause my current card is too slow and caused alot of lag). Until the card arrived, I'm trying to live with just 140MB of internal memory (with Dalvik and App Data on sd-ext). Here's my setup:
PC-A2SD
EXT-3
Internal Swap File
Shaky Kernel
smartassV2 governor
Hope this helps.
Hello folks
My issue is this:
GSM Desire
Class 10 SD
4ext Recovery (used to partition sd)
I'm trying to install various JB roms. The a2sd never works. When I download the gui it says it can't start because either no scripts, no partition, etc.
I've tried a lot of Roms including ones where a2sd is meant to be built in. I've also installed from Terminal and it seems to optimise all the apps on reboot but internal memory is still the standard and apps still in Internal (it's meant to go up to my ext4 partition right? it's about 1.5G)
I've worked my way through these (can't post the link but its the Alchemister custom rom blogspot for the Desire.)
each one the same problem.
Checkext and diskspace both see the partition. Strangely, L2SD seems to crash each of the Roms if I install it.
So far the only Rom to work correctly is a Supernova Gingerbread one. It gave me the 1.5G. So, the partition appears to be good.
Both are primary too.
I would like a JB one as the supernova rom is very laggy.
Running a Miui at the moment and also really liked the Touchwiz one on the list as well.
I only started doing this two days ago as my contract was up so I'm very new to this. Any help would be greatly appreciated. Thanks.
Let's make sure your partition works. Download the rom in my sig. It's a very stable rom, that has a script integrated that moves data/app and dalvik cache to sd-ext. Flash it, then install a few apps. If the internal storage gets filled up quickly, then it probably is a partition fault, and you'll have to repartition.
If it does work, then you did something wrong when you installed the other roms.
Are you sure you did a full wipe before installing all those roms?
a2sd problem solved
Thankyou Andoo,
I've got it working now. It was two things that were confusing me. They were mentioned in the partitioning guide that you attached.
1. I was not aware that you were not meant to see the full size of your Ext4 partition as internal storage. For anyone else with this problem, you can see how your Ext partition is being used if you download Freespace app from the market. I had assumed that you could see the ext as internal space as that is what a few of the earlier Roms i looked at said that that would happen. (it does for the Supernova Rom)
2. When I was downloading and installing apps such as FB or Maps, they were still taking a big chunk out of my internal memory so I assumed that it wasn't working. However, when I chose to put the data as well as cache to the Ext, it hardly took anything out of my internal storage at all. I have a class 10 card and so far everything seems fairly brisk and responsive. I Chose Y/Y/Y when installing a2sd from Terminal instead of the recommended Y/N/Y.
If things start to get slow, I might try the Mount2SD script in the attachment -I think this allows you to chose individual large apps to go to Ext instead of all of them.
Thanks again for your help. I now have a useful and quick phone again.
PS the MildWild 9.5 Rom you suggested - I hadinstalled this before and had real problems with the WiFi disconnecting every couple of seconds and the same thing happened again when I installed from your link. I'm using the Touchwiz at the moment and all seems well.
abaaaabbbb63 said:
Let's make sure your partition works. Download the rom in my sig. It's a very stable rom, that has a script integrated that moves data/app and dalvik cache to sd-ext. Flash it, then install a few apps. If the internal storage gets filled up quickly, then it probably is a partition fault, and you'll have to repartition.
If it does work, then you did something wrong when you installed the other roms.
Are you sure you did a full wipe before installing all those roms?
Click to expand...
Click to collapse