Hi all sorry for a long story, but I may explain how I had dealed with darktemor a2sd script. My be some of you will find it helpfull.
After few(about 5) rom reinstalls I finally managed to get a fast application gready?(87 apps installed) Phone. Every lost attempt reached me some new leasson. I just want to share my successful install with you all.
Started with clean install of #177 cm7, buzz kernal 2.6.32, 3.35.20.10 radio( after formatting data,ext, system, and every thing else but not SD primary partition formatting ), SD speed increase script(4068), Jews ram script, a2sd beta3 script. Then booted the device.
Started terminal, typed "a2sd datasd "( experimental feature in a2sd script) - moves data to ext partition of SD. I've got 512mb ext3, 32mb swap. Then rebooted.
Again to terminal, typed "a2sd reswap" -use swap partition from SD. Then typed "a2sd swappy75 "- set swappiness value to 75. Actually I don't know much about it. But done it coz I have a swap partition in my SD. . Rebooted again.
Again to terminal typed "a2sd heapsize48"- make dalvic heap 48 MB. Is it nice to have larger heap?? . Reboot.
Again to terminal typed "a2sd zipalign "- zipalign ext contents every time you boot the device. Rebooted.
Installed titanium backup, restored the backups of app I have.( 87 apks) . Connected to net, updated every thing. Rebooted to recovery.
Wiped cache and dalvic cache. Rebooted. Viola I have never seen my phone as fast as this. With about 87 apks! Still my phone memory is.
Internal- 99mb free
SD ext - 226mb free/ 480mb total
Cache - 38mb free/ 40 MB total.
Ram - 136 MB free( at the time. Some apps are running in background)
Swap - 109 MB free / 114 MB total?? Dnt know why, but I think I have 32 MB swap when I partitioned my SD.
Total free- 233 mb free/434 MB total.
All the above readings are taken from a2sd GUI in my phone.
What I haven't done.
Never moved dalvic cache to SD as it made my phone lot slower when I've experimented with previous installs.
Never used a2sd GUI to do any of the a2sd commands. All done using terminal. As commands like "datasd " are not available in it.
Never moved a single app using internal app moving feature of cm7, nor used app2sd, link2sd or some thing else.
Never changed install location in cm7 app settings tab. Nor ticked allow app moving.
How do I installed backups.
All backups are installed after I prepared the phone and SD. Ie after execution of the above said a2sd commands. None of the commands are executed after installation. As my experimental installations resulted in lost of apps, when I executed a2sd scripts ( not all, but atlest few).
Titanium backup showed a force close error when I tried for batch operation. Although I have latest pro version. So I do manual back up. Some apks with data, some apk only. Later I will check with some other version of titanium backup.
I never use any apk moving program, let all be in the hands of cm7#177 and dta2sd beta3. Thanks to creators .
I have given a fix permission after I installed the backup from cwm recovery. Hoping to avoid force closes.
Every thing went ok for now. I am posting this as soon as I had done the above. I will check with some
more installations and usages in the comming days. And surely will report if I found bugs/ hangs etc.
So I hope u will help me. And also my post may help some of you. Thank u all xda members.
Sent from my HTC Wildfire using XDA App
Found first error...
Phone takes a long time to boot if cache and dalvic cache are wiped. Just about 10 min. But every thing is fast after boot.
Sent from my HTC Wildfire using XDA App
showlyshah said:
Found first error...
Phone takes a long time to boot if cache and dalvic cache are wiped. Just about 10 min. But every thing is fast after boot.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Its not an error. When you wipe the Dalvik Cache, the phone has to rebuild it at boot, so, its a totally normal thing. (And precisely why new ROMs take a long time to boot)
ya i know it and have experienced it several times. same rom too. but it is not the same now. usualy got 5-6 min. but since i had done the above a2sd work it takes 5-6 more to boot. ie a total of 10+ min. may be due to the reason that data had moved to sd. and a slow read/ write speed may cause the problem. but mine is 8gb class4 card. class4 may be enough?? also zipalign is also enabled.
hence i think..
rebuilding dalvic cache+ slow read/write speed+ zipalign+ initiations = slow startup.
Sent from my HTC Wildfire using XDA App
Related
Search is not working on either IE or FF for me right now, so I'm starting a new thread. Sorry about it, as i'm sure this is a duplicate question. Know that I tried for awhile to search first.
I've got an Aria running Attn1's Liberated FR008 ROM. a2sd has been enabled. However, I've got almost no phone memory left. I've heard that even with a2sd, some of the app dalvik stuff is stored on the entirely insufficient internal phone storage, and I have recently downloaded a bunch more apps. I have used CacheCleaner NG, which did not alleviate the problem. I have also "cleaned up" the Dalvik Cache using Titanium Backup, which found nothing to clean.
I'm wondering if there's some sort of area on the internal phone memory I can clean myself using Astro or something, because it seems that with most of the bulk of app storage being on the SD card, and every app with options to store cache on the SD card doing so, I should have more room on the internal storage.
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Great question. I've considered a complete clean install, just to regain some internal space.
I wish ****ing Facebook would add an option to cache to SD card - it's a total hog. Going to endure with the Aria until fall and see what's out on AT&T at that point.
I know app2sd from the market has worked for me in the past. I had a ton of apps on my aria and haven't had a space issue
Sent from my Liberty using XDA App
The solution for me was to move the Dalvik cache to the SD card.
DISCLAIMER: Some people report this causes problems, I guess. The information I'm providing explain what worked for me. Following my instructions might cause instability, brick your phone, destroy your house, or eat your second cousin. None of these things are my fault.
I guess when a2sd is installed, it does not by default move the Dalvik cache, which contains files needed for apps to run. The more apps you install, the more that gets installed in this Dalvik cache. Here's how to move the dalvik cache on your phone to the a2sd partition, assuming you've perused the above warnings.
Open Terminal Emulator.
type su and hit enter.
type a2sd cachesdreset and hit enter.
The phone will restart, and it will take a long time, because it's got to rebuild the dalvik cache. You can do it without wiping the dalvik cache by using the cachesd command instead of cachesdreset, but I've read that wiping the dalvik cache doesn't hurt, and can potentially solve some issues? YMMV. My phone took awhile to start up.
Once the phone starts up, you can open something like Titanium Backup, and you should notice that your phone has MUCH more internal memory available. My phone now has 89MB of internal memory available, out of the total 194MB.
Things seem to run a bit slower upon startup than they used to, but after a bit, everything smooths out. And I can install apps again, etc.
Hope this helps.
taliesin1077 said:
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Click to expand...
Click to collapse
I think that I ran into this very recently. The following thread has some good info.
http://forum.xda-developers.com/showthread.php?t=770146 ... more specifically ... this page that is linked from that thread.
Can anyone explain to me why when I have a 1Gb Ext4 partition on my SD card with only 367Mb used I am getting Low Storage warning when restoring my apps (143 of them) through Titanium Backup onto a clean HardDroid2 CM7 build with A2SD flashed and confirmed working? When I check it states 199Mb used, 13Mb free but when I use Root Explorer to look into SD-Ext I have App, Private App, Data, Dalvik, etc and all of the app APKs appear to be in there. Am I missing something here? I had the same issue for the first time a couple of days ago when I reflashed Hyperdroid - never had it before, and always do full Task29/fresh MAGLDR/fresh CWM/CWM wipe wipe wipe/etc for each new ROM so SD Ext is always reformatted too. It's driving me nuts
when you install an app, the size of that app gets knocked off the available space, but gets restored when you reboot, so try installing a few, check eth remaining space, then reboot, see if the reported space changes. (Ive never tested it myself, just repeating something i read)_
..also using app2sd and my phone mem seems to decrease also.
When i look into /data and /sdext i see in both the app folder with all apps installed.
but the used space seems to be bigger on the sd-ext.
...when you install e.g. Angry birds with 20 mb you will notice that your internal storage will NOT decrease to that amount: thats the reason why the data folder is smaller than the sd ext.
Seems so that parts of the apps are stored on the phone mem although we ve got app2sd with an sd ext.
Once i tried to delete that data folder, but then all apps stopped working.
In twyeens rom you can move your apps to sd, there was a fix some months ago, so that all apps runs fine from it also e.g. angry birds.
Sent from my HTC HD2 using XDA Premium App
I am using the Synergy RC1 rom . It comes with a2sd already built in. I have an 1024mb ext3 partition setup on my SD card. My SD card is a class 8 and I have used with success on other roms that supported a2sd. I repartitioned the card and cleared all caches multiple times before flashing the ROM. When I use Quick System Info it shows me how much space I have left on my ext3 partition so I know it is there and readable. The davlik cache is stored on the SD card by default with this particular iteration of a2sd (it is based off of CyanogenMod)
The problem that within a few hours of flashing the rom and installing a couple of apps (I have installed different apps each time so it is not a particular app that cause this) all of a sudden my internal storage starts dropping on its own. No more apps were installed, but every couple of minutes when I check there is less and less internal storage available. The memory drops even when the phone is not in use. I was doing some stuff on my phone and when I put it down it had 260mb free. I pick it up 10 minutes later and it is down to 118mb. I do not understand why this is happening. If anyone has any suggestions it would be greatly appreciated.
Earlier today on the Synergy thread it was said that using a 2 gig EXT3 should work better, than the 1 gig most of are used to using. I know I'm going to reformat mine tomorrow and repartition it to see if I can get this going.
Worked perfectly on MikG, but I guess Synergy just puts more into internal memory.
Also, you did use the Synergy Updater to flash A2SD, right?? Because flashing the DT Zip file could cause problems, I hear....
Thanks for the reply.
I still had space in my ext3 partition. About 640mb I believe. I will reformat and reflash to see if a 2gig partition will help. I did not download and install the DT a2sd mod. I have used the built in a2sd in myn's roms for a while without issue. Should I use DT's instead?
Nope. seems that in Synergy, A2SD is not built in, but in the Synergy updater, you can flash a version that was created FOR synergy. Now, when you do this, it doesn't format your card, it only assigns the partitions.
On MikG, with DT A2SD built in, using my 64MB Swap and 1 gig EXT 3, I'd have over 300MB free internal storage.
With Synergy, same partitions, using the flashable A2SD, I only have 124MB free internal, my apps ARE on the SD Card, but when I try to enable swap (Terminal SU, A2SD Reswap) it fails to start Swap.
I think it was DougJamal that told me to try and reset my EXT to 2 gigs
I see. I was under the impression from the OP that a2sd was built in. I saw my ext3 partition being used as I installed apps. Everything was working I believe. When I first flashed the rom I had 386mb of free internal storage.
alkataz said:
see if a 2gig partition will help. I did not download and install the DT a2sd mod. Should I use DT's instead?
Click to expand...
Click to collapse
DT's works good for me. running MIUI.1.6.24
Yes, DT's is great, but apparently, there's a script that conflicts with Synergy, so I was told to use the flashable in he Synergy Updater.
It's DT, but it's got a mod that works better with the ROM, and believe me, that was a very layman's way to describe it
I was out so I could not repartition and reinstall the rom using the 2 gig partition, but I had repartitioned and reinstalled just before I left my last response and it has happened again. I looked at my phone a couple hours aftr install and internal storage went from 354mb to 177mb. I looked at it 10 minutes later and it was down to 54mb. By the time I reached home I was getting a low memory warning and 511kb free. This is weird.
I did a full wipe and everything. I have never experienced this on any ROM and I have used a2sd on almost all of them. I have read that there was a issue with the GB release updates that caused the phone to incorrectly report free internal storage space. Maybe this is the cause of this, but I have reinstalled the ROM like 3 times and redownloaded the ROM each time.
alkataz said:
I did a full wipe and everything. I have never experienced this on any ROM and I have used a2sd on almost all of them. I have read that there was a issue with the GB release updates that caused the phone to incorrectly report free internal storage space. Maybe this is the cause of this, but I have reinstalled the ROM like 3 times and redownloaded the ROM each time.
Click to expand...
Click to collapse
Yeah, I ran /system/bin/ a2sd reinstall which re processed all my apps but when I ran a2sd reswap, it failed again and my memory is wicked low.
I DO still need to reformat and redo my ext3 partition, but I'm not feeling too confident.
dudes i am planning to switch to #199 cm7.
the plans are...
1) fresh flash #199 with 2.6.32 buzz kernal.
2) dta2sd beta 3,jewz ram script, sd speed increase script(4068) .
3) custom mtd partition with 170mb system and 30 mb cache.
4) data and app to sd ext4.
5) 8gb class 4 sd partitioned to 1gb ext4, 32mb swap, rest with fat32 with a large allocation value.
6) lot of paid app of course.
i need your suggestions ....
thanks in advance.
Sent from my HTC Wildfire using XDA App
Do the mtd partition as you install 199, I got problems when a2sd was already installed, my mtd settings are 140 10, 10mb works fine for cache just make sure you have 06mountdl in your init.d folder otherwise you wont be able to download anything from the market above 10mb in size, if it isn't in the init.d folder you should find it in the cm zip.
Sent from my HTC Wildfire using xda premium
Scratch0805 said:
Do the mtd partition as you install 199, I got problems when a2sd was already installed, my mtd settings are 140 10, 10mb works fine for cache just make sure you have 06mountdl in your init.d folder otherwise you wont be able to download anything from the market above 10mb in size, if it isn't in the init.d folder you should find it in the cm zip.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
dude i haven't heared of init.d folder. pls explain. well i surely plan to give 25 mb cache. if so do i need to care about init.d folder?
" just make sure you have 06mountdl in your init.d folder" dude i realy dont understand this.
" if it isn't in the init.d folder you should find it in the cm zip." and this too i dnt understand.
so i am a newbee to custom mtd partition. hence i need help about this. how should i need to use the script? i plan to flash it soon after i reboot to #199. only after that i will install my apps.and also gapps. so do i need to take nandroid backup? as i have backups of my app using titanium backup. so i will install every thing later.
Sent from my HTC Wildfire using XDA App
Put the files needed on your sd card and write your settings in the txt file.
Run the first part of the mtd partition (wipe system/data/cache and install the first zip, bravo recovery or something like that, reboot your recovery from the advanced setting.
After doing the first step install your fresh copy of cm7 (instead of the nandroid backup) without wiping anything, then run the bravo boot zip and let it boot before installing anything else.
Files from the market, when first downloaded go to your /cache folder which if set to only 10mb would mean you can only download files below 10mb in size, the 06mountdl script deals with this by diverting the downloads elsewhere /data partition I think (not sure), the scripts are found in /system/etc/init.d after installing cyanogen if your cache size is small just check that folder (with root explorer) as a few times I have had to extract 06mountdl from the cm7 zip because it hasn't installed.
All that happens if 06mountdl isn't there is, when you go to the market you'll get an annoying message saying you don't have space left if the filesize of the app is larger than your cache.
Hope that made sense its 7am here.
Sent from my HTC Wildfire using xda premium
thanks for your help dude. i will check it out. also do i need to flash dta2sd b4 or after i install apps. i had done it b4 i install apps in my current rom#177. do you have any suggestions?
Sent from my HTC Wildfire using XDA App
Not entirely sure, I know some people say before but its never harmed me doing it after, you may aswell just run it straightaway though after your first reboot. Just in case.
I only use beta 3 as I had problems with beta 4, I don't think there's any noticeable changes between them tbh.
Sent from my HTC Wildfire using xda premium
k. i will check it. and will post my experience. thank you dude. see you soon.
Sent from my HTC Wildfire using XDA App
So i ended up in cm7#203. Stable. Fast, like it a lot.
The sad thing is i can't make custom mtd. Every time i ended in a non booting cm7 boot screen. Actually i had to flash froyo 2.2.1 ruu 2 times. Rooted, installed cwm. 2 times. Coz i had done like u said. Flashed custom mtd recovery with mtdpartmap.txt file containing 160 25. Then installed new rom with a reboot of recovery only.also flashed bravo boot. All as you said. Stuck in splash screen. So again tried to flash new rom and kernel from recovery. Still the same after flashing. So again ruu flash. Install custom cwm v5.xxx.partitioned SD. This time the SD got corrupted. So removed custom cwm and put original cwm using fastboot flash. Then partitioned with out errors. And installed cm7#203 from cwm, SD speed increase script,Jews ram script,2.6.35 kernal, latest radio, mediaprofile patch, gapps for 2.3.5 Andy. Rebooted after dalvic wipe. Itz running perfect. Installed s2e app . Moved app,private app, data, to ext.
I think that s2e is more efficient than dta2sd. It is faster, move almost every thing to ext. And internal memory consumption is quite low after app installations(when compared to dta2sd). Also booting and shut down are faster.
I will be watching for future errors. Thank you.
Sent from my HTC Wildfire using XDA App
This is the best HD2 ROM I've ever tested but only missing 1 thing... space
http://forum.xda-developers.com/showthread.php?t=1022108
The Amazing Qaliza incredible S V2.... It have all the requirments for day to day use as speed, stable and even looks gr8
Is there any way I can increase the internal space as I get only 81 MB after install wich is not enough for my day to day used apps....
Any help would be thankfull
Use an ext partition, as per post 1.
1st of all thx for the reply
In fact that's what I've did.. but the thing is in post 1 it's mentioned for the V4 ROM which is Data2sd while this ROM is built on app2sd.. and this is the problem...
So any Ideas????
Ap2sd and data2sd both use the same ext.
also, you are aware that the system wont include the ext value when you view available storage, right? But it will use it as internal storage.
So say you have 80mb free plus a 1gb ext partition, your available storage shows as 80mb, but really its 1104mb.
Third party apps like titanium WILL include the ext value.
the thing is that it's included and this is 4 sure... but I really can't install any new apps as it says you are running out of storage... and this is the problem.
In titanium backup I have the storage reading like this :
System ROM:325 MB (3.28 MB Free)
Internal :95.6 MB(12.1 MB Free) - and this is the problem
SD card: :2.90 GB(148 MB Free)
SD card a2sd:1.00 GB (808 MB Free) which I can't do any thing with them
So this is the problem in easy way.... Any help, Plzzzzzzzzzzz
I've tested alot and alot of ROM's but I think this is the most stable, smooth, fast and even all features working in excellent Condition such as camcorder, vedio playing and all the stuff you need in day to day.
So if you could suggest another ROM that functions as good as this one it would be gr8 to have it but the thing is that it should support Arabic language as well.
Sorry for the long reply but just wanted to clear my point of view and my request
mlova said:
SD card a2sd:1.00 GB (808 MB Free) which I can't do any thing with them
Click to expand...
Click to collapse
Most of your apps downloaded from market will be installed there. So...what did you mean with "which I can't do any thing with them"?
as post above, and also, could it be that the 200mb used in your sd-ext partition is left over from an old rom?
To wipe the sd-ext, go into cwm and run a wipe data/factory reset (but this will of course reset the rom and wipe the phones data, so do a backup first)
Also, i think there are some terminal commands to restart/activate app2sd (or data2sd, ) perhaps they would help?
For me, the one time months ago that i had issues with teh sd-ext partition seemingly not being used, i just took a backup, repartitioned the sd card, reflashed the rom (since i suspect that app2sd is initialised during first boot) and it worked.
icke said:
Most of your apps downloaded from market will be installed there. So...what did you mean with "which I can't do any thing with them"?
Click to expand...
Click to collapse
samsamuel said:
as post above, and also, could it be that the 200mb used in your sd-ext partition is left over from an old rom?
To wipe the sd-ext, go into cwm and run a wipe data/factory reset (but this will of course reset the rom and wipe the phones data, so do a backup first)
Also, i think there are some terminal commands to restart/activate app2sd (or data2sd, ) perhaps they would help?
For me, the one time months ago that i had issues with teh sd-ext partition seemingly not being used, i just took a backup, repartitioned the sd card, reflashed the rom (since i suspect that app2sd is initialised during first boot) and it worked.
Click to expand...
Click to collapse
That's what I'm talking about... That I've done task29 wipedata/factory reset b4 starting to install the ROM and when 1st start it the sd-ext is almost free then while installing the apps some go there and alot doesn't !!!!
for example now I have about 11MB free on the internal storage and 808 MB Free on the sd-ext, If I tried to install an app that is 14 MB I wouldn't be able to do so
For your knowledge, I've tried to install alot of rom's and they worked perfect, tried to contact Qaliza but I think he is busy now repling for my Issue, wiped my phone till I felt it wouldn't remember that he is a cell phone any more reinstalled the rom many times and always have the same Issue with the low disk space.... I think I'm in need of a patch or something like this.
Now I have a Q:
If I used this http://forum.xda-developers.com/showpost.php?p=20776525&postcount=2733 will it help or will it corrupt my ROM only??
sorry if my Q looks stupid but I'm really looking for any thing that could help