Hello everyone, I found this topic http://forum.xda-developers.com/showthread.php?t=2145133 on Sensation forum about swap through cache or data partition. I checked cache partition on my Desire Z with Sabsa Prime 15 and it is 295 MB with only 4 MB used.
So I was wondering if it was possible to adapt the script to DZ.
With a 256 MB swap in cache partition (if it is possible), may be it could solve some of the Sense 4.X Full lags...
What do you think about it? Could we use this space for swap?
Thank you for your answers.
Well we have a way to make a swap file in /data and move it around to reduce damage, so it could be adapted for /cache. The thing is it's still wrecking the internal flash storage of the actual phone.
I don't think limited RAM is quite a problem for the Vision yet, however, I'm sure we'll be able to make do with 512MB of it once the Andromadus have got JB to an optimum state. Hell, the G1 can run ICS with 109MB of it.
Yes, AOSP/CM based Rom will probably be smooth on DZ once they are optimized, but I am a Sense addict, and One SV is the only hope to get a JB+Sense Rom on Vision.
And even if developers are fantastic, there is no miracle, it is impossible to make a perfectly smooth Rom with all the features with half Ram...
I thought it was possible to avoid wrecking memory due to swap with internal one (thought it was just due to the use of SD memory which was less resistant) and to get a more responsive device.
After your answer I think I'll wait for next release of Sense 4.1 Lite Rom by ajhavery...
Thank you.
I trying to use swap on cache partition some time ago on miui rom. But i got some reboots, on /data does not have it. I don't know why. Now I use zRam, it is more fast, but give only 96Mb. And zRam with many background process is not good idea. On last miui it works fine for me.
Don't worry we will also support your devices in future....
Sent from my HTC Sensation using Tapatalk 2
Swap on the cache device. When I ran sense roms I put the swap on /data b/c I thought better internal ram then my sdcard. But /cache might be better? Maybe I will try a sense rom again and try /cache.
Sent from my HTC Vision using xda premium
Related
Hi,
Have my Desire running Oxygen 2.0 RC6 for now with stock tables and 1gb EXT3 (why is flashing tables so much harder? lol). Running oxygen with my standard apps I have about 115Mb free of internal memory.
I've been playing with a couple of other ROM's however I seem to end up with MUCH less internal mem - usually about 60-70Mb free with the same range of apps.
Have I done something wrong? Is there something I can do to "push" apps on the internal memory to the ext partition?
Cheers in advance
Has been mentioned about a dozen times in the oxygen thread, the dalvik cache isn't moved to the ext partition any more. There should be some flashable zips to get the old script back or you can fix it manual by replacing the a2sd script with a older one.
When did that get changed in Oxygen? Because my RC6 install has no issues with memory usage.
Are the "other" ROMs Desire HD ROMs?
------------------------------
- Sent via HTC Desire -
No, just other AOSP GB roms.
Hi there,
I have successfully rooted and tweaked my Wildfire a few weeks ago and did some fine tuning since then (a lot to be honest).
XDA Developers has been a great help (obviously) but I got stuck at a few points.
There's especially one thing I'm a bit confused about: there seem to exist mainly four methods/ways to gain more internal memory:
re-partition the system, cache and data partitions
use Apps2SD (CM7)
use Darktremor Script
set up an ext partition on the SD card and move apps there (different methods)
Some of them could be used in combination.
I've read and experimented a lot but - as I said - I got stuck and a bit confused so I'll ask here for opinions/hints and probably a bit more clarification.
As you can see in my specs below I've already adjusted my internal partitions. Although I've gained a lot more space with that and being very selective which apps to install I don't feel lucky with my 312Mb.
My questions:
What would you choose to gain more space on the phone? Making an ext partition on SD or simply use CM7s built in Apps2SD?
I've read here about "S2E" - is this a good solution to work with an ext partition?
Any suggestions/hints/experiences?
Phone: HTC Wildfire S-Off By AlphaRevX
Android: 2.3.7
OverClocked: 264MHz-710MHz SmartAssV2
VM Heap Size: 32m
ROM: CM7 Nightly (7.2.0-RC0-buzz-KANG)
Radio: 13.55.55.24H_3.35.20.10
Recovery: ClockworkMod 5.0.2.0
Kernel: 2.6.35.14-nFinity [email protected] #1
Internal Memory: 320Mb Custom MTD Partition
-=V6 SuperCharger=-
Well to me it seems you already have your answer.
I personally use custom mtd settings of 145 10 and use absolutely no sd partition or a2sd what so ever. I've got quite a few apps but my internal memory has well over 200mb remaining.
In my opinion partitioning or moving apps etc just makes your system work a little harder but when using just the internal memory even with custom sizes seems to work best for me.
"sent from me2u"
I perosnaly am just using DarkTremor A2SD and I have about 100MB of free space with over 150 apps installed (140 in the app drawer, as the attachment shows, 4x5 and 7 dots up top)
slymobi said:
Well to me it seems you already have your answer.
...
In my opinion partitioning or moving apps etc just makes your system work a little harder
Click to expand...
Click to collapse
As you might have guessed that's not the answer I wanted to hear lol (but why I'm not surprised...?)
Well, in more detail I have quite a few apps I don't use very often - but I want to have on my phone for some reason. At the moment my free space is around 40-60 MB and I have the feeling that performance slightly went down a bit over the past weeks... (might be subjective though)
But anyway: that kind of honest opinion is exactly what I'm after, so thnx for your answer
[OT: regarding the nightly thread I'm not yet allowed to post in: yes, those 2 latest versions have scrolling cache disabled and I've had the feeling that it's a good thing...]
Swyped via XDA app from my HTC wildfire (buzz)
eventcom said:
As you might have guessed that's not the answer I wanted to hear lol (but why I'm not surprised...?)
Well, in more detail I have quite a few apps I don't use very often - but I want to have on my phone for some reason. At the moment my free space is around 40-60 MB and I have the feeling that performance slightly went down a bit over the past weeks... (might be subjective though)
But anyway: that kind of honest opinion is exactly what I'm after, so thnx for your answer
[OT: regarding the nightly thread I'm not yet allowed to post in: yes, those 2 latest versions have scrolling cache disabled and I've had the feeling that it's a good thing...]
Swyped via XDA app from my HTC wildfire (buzz)
Click to expand...
Click to collapse
Hi,you can use any of the methods you've stated in conjunction with the mtd ,the reason I don't use any apps to SD mods is due to 2 things.1.I have enough space left internally so not needed. 2.although it's very slim the chance of something corrupting in sdcard would simply cause errors for the apps moved to SD so my paranoia strays me from using any a2sd mods etc.I did in the past used dt app2sd and it worked fine.obviously if you are getting so low on memory even after the mtd then you might be best moving some of the lesser used apps to SD. In this case I personally would try the cm7 built in method . Others may differ but this is my opinion.
Ot. The scrolling cache removal in erwinp and cobje latest builds does not play nice on my phone but others are reporting scrolling improvement so I think it may be hit and miss for the benefits.
Anyways hope you find the method which works best for you.
Regards Slymobi.
"sent from me2u"
I was using mtd partition and dta2sd while on cm7, they work fine together. Just make sure if you use them both to do the mtd partition before installing dta2sd.
The amount of internal storage you have (or don't have) is probably not the cause of your system being sluggish, its most likely what is running in the background, yes the built in taskkiller does a good job but the more apps you have the more it has to do to keep things smooth
I recommend an app I use called autostarts, its better than a taskkiller as it'll stop all the apps that you don't want running in the background constantly starting then being killed then starting again.........
Sent from my HTC Wildfire using xda premium
Well, I thought I should complete the thread with my (ongoing) experiences:
Due to the fact that I've been really short on internal storage lately I've decided to give an ext partition on SD a try.
After stumbling over the really sweet & simple sounding "S2E" app I've been a bit shy to give it a go because the last (& rare) posts here @XDA dev about user experience with the app are not very fresh. But after having some issues like another member described here my latest tweaks & changes were lost anyway so I've decided to give it a try while doing everything from scratch anyway.
I'm happy with it so far - all apps on sd-ext now, I'll probably try out (with doing two nandroid backups before...) to move the dalvic cache also but I'm uncertain with that at the moment LOL
Scratch0805 said:
I recommend an app I use called autostarts
Click to expand...
Click to collapse
very nice - that's what I've been looking for: preventing all those apps from constantly starting up without need - thx
Next step done: moved the Dalvic cache over.
I'm pretty much satisfied so far. Everything runs smooth, stable and fast.
In numbers: Around 120 apps (100Mb) and dalvic cache (90Mb) on sd-ext, app data left on internal memory. Around 190Mb internal memory free (of 300). More than 100Mb of free RAM @ 15-20 processes running.
So far - so good. I'll watch this a while (and guess what?: I got married to a second wife, her name's "nandroid"...)
Sent from my HTC Wildfire using XDA App
What's your configuration ?
eventcom said:
Next step done: moved the Dalvic cache over.
I'm pretty much satisfied so far. Everything runs smooth, stable and fast.
In numbers: Around 120 apps (100Mb) and dalvic cache (90Mb) on sd-ext, app data left on internal memory. Around 190Mb internal memory free (of 300). More than 100Mb of free RAM @ 15-20 processes running.
So far - so good. I'll watch this a while (and guess what?: I got married to a second wife, her name's "nandroid"...)
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Hey,What is storage space of your SD Card ?
What's the Ext size and Swap size allocated ?
I have got 2 GB SD Card and I am doing the fresh install.
Should I configure the memory following this :
http://forum.cyanogenmod.com/topic/44675-how-to-configure-a-sd-ext-on-htc-buzz-wildfire/
i.e Ext size (1024M) and Swap size(32M) ?????
Thanks
Hi, unfortunately I've been too busy for a few more things to post here...
optimusodd said:
Hey,What is storage space of your SD Card ?
Click to expand...
Click to collapse
Mine is 8GB - when I started with ext partition it has been a class 4 and worked pretty well - now I have a class 10 - which seems to be a bit faster and a bit more stable but not 6 times more (and I haven't done any testing as it runs stable all the time now)
What's the Ext size and Swap size allocated ?
Click to expand...
Click to collapse
AFAIR I've allocated 1024MB - FreeSpace (app by the s2e dev) says I'm having 960MB
I have got 2 GB SD Card and I am doing the fresh install.
Click to expand...
Click to collapse
have you already done the custom mtd stuff? (just because that's what really helped me most to get the performance back...)
Should I configure the memory following this :
http://forum.cyanogenmod.com/topic/44675-how-to-configure-a-sd-ext-on-htc-buzz-wildfire/
Click to expand...
Click to collapse
I have done it with CWM recovery like suggested in the thread
i.e Ext size (1024M) and Swap size(32M) ?????
Click to expand...
Click to collapse
For the EXT size yes, for the swap size I'm not sure if I configured an ext swap partition at all (I'm not sure if this is necessary with s2e - thought it just needs the partition and does the rest itself...)
Also make sure that you read the warning about moving app DATA to ext, too. I even didn't try to do so...
What I've also done is setting the SD card cache to 2048KB - you can do a speed test with SD tools and set the optimal cache with SD booster.
HTH
eventcom said:
Mine is 8GB - when I started with ext partition it has been a class 4 and worked pretty well - now I have a class 10 - which seems to be a bit faster and a bit more stable but not 6 times more (and I haven't done any testing as it runs stable all the time now)
AFAIR I've allocated 1024MB - FreeSpace (app by the s2e dev) says I'm having 960MB
have you already done the custom mtd stuff? (just because that's what really helped me most to get the performance back...)
I have done it with CWM recovery like suggested in the thread
For the EXT size yes, for the swap size I'm not sure if I configured an ext swap partition at all (I'm not sure if this is necessary with s2e - thought it just needs the partition and does the rest itself...)
Also make sure that you read the warning about moving app DATA to ext, too. I even didn't try to do so...
What I've also done is setting the SD card cache to 2048KB - you can do a speed test with SD tools and set the optimal cache with SD booster.
HTH
Click to expand...
Click to collapse
You allocated 1024MB for Ext coz you have got 8GB Card.
Mine is 2GB so what should be the Ext size for it ?( 256MB or 512 MB would not be enough ?)
What should it be ? Ext2 or Ext4 ?
According to this : http://forum.xda-developers.com/showthread.php?t=1432459
“Choose Ext2, Ext3 or Ext4 for partition type based on whether your kernel supports Ext4. If it does choose it! If you don't know choose Ext2 to be safe.”
Yes I am done with Custom MTD Partitions.
You didn't try to do "what" ?
What’s up with this “swap” partition ?
It’s so confusing.Some people claim that “swap” is like virtual RAM and more RAM means a more efficient (and faster) device.
Here are the posts supporting “swap” :
http://www.mod2xtreme.com/showthrea...crease-RAM-using-Swap-File-and-Swap-Partition
http://forum.cyanogenmod.com/topic/...-the-wildfire/page__gopid__330791#entry330791
http://forum.cyanogenmod.com/topic/44675-how-to-configure-a-sd-ext-on-htc-buzz-wildfire/
While according to “Cyanogenmod” (http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache ) and some member swap doesn’t make any diff .on android devices.
If that’s true and swape is useless then why so many forums going gaga over it on XDA at the first place ???It makes no sense. So bewildering.
Please go through my query :http://forum.xda-developers.com/showthread.php?t=1738336
optimusodd said:
You allocated 1024MB for Ext coz you have got 8GB Card.
Mine is 2GB so what should be the Ext size for it ?( 256MB or 512 MB would not be enough ?)
Click to expand...
Click to collapse
Hmm, let me think about it... When I saw your question the first time I thought that I would find it hard to go with a 2GB card. Here's why: I'm really not a music or video fanatic but 2GB are nothing if you have just a few mp3's or videos on your card (specifically your camera pics and videos for example...).
So if you say you don't need that - it should be ok.
For the size you need I could only tell from my personal experience, too:
I don't have much discipline with deleting or transferring unused stuff or garbage from my phone - so I might have a few apps installed I rarely or never use (anymore). But I don't collect apps just for fun also - so I'd say I've installed an average number of apps. 120 to be more specific. That makes 474MB used for the ext partition including installed & system apps and Dalvik cache (128MB).
So if you don't plan to install more than 120 apps, 512MB might work for you - I'd probably stuck with 1024 - even with a 2GB card - to prevent running out of space (what happens exactly when you just don't need it )
What should it be ? Ext2 or Ext4 ?
Click to expand...
Click to collapse
To be honest: I can't remember exactly but I've read something about possible problems and incompatibilities with ext4. But I'm not sure if I faced that question at all when I partitioned my card with CWM... if so I'm pretty sure that I've chosen ext3 (just in case I'd like to install a different kernel some time in the future)
Following Oleg Krikun it should be ext3 or ext4 for S2E...
You didn't try to do "what" ?
Click to expand...
Click to collapse
to move the app data to ext also
What’s up with this “swap” partition ?
It’s so confusing.Some people claim that “swap” is like virtual RAM and more RAM means a more efficient (and faster) device.
Click to expand...
Click to collapse
Yes it might sound confusing - but there are a few things to consider also besides a simple "do it" or "leave it": More RAM is an advantage if it's true original system RAM which can be accessed fast and handled properly and stable. If you already have a fast processor and much system RAM you might also experience some improvement by using an additional swap partition.
For CM7 - especially on the Wildfire - I pretty much agree with that:
In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
Click to expand...
Click to collapse
But your mileage may vary.
From my experience it's a bit trial and error to find the best setup and config for your phone - you should also know that there are differences between identical devices sometimes.
HTH
BTW: that's a funny post of user "Arfer":
Here are the posts supporting “swap” : (...)
http://forum.cyanogenmod.com/topic/...-the-wildfire/page__gopid__330791#entry330791
Click to expand...
Click to collapse
he cheers about 126MB free memory but has left over 125MB wasted memory in his system partition. (In other words: using custom MTD partitions he would get at least 100MB more if using a CM7 ROM)
Much different from my specs LOL:
Code:
Name: Cache
Path: /cache
SIZE: 15MB
USED: 1MB
FREE: 13MB
Name: Data
Path: /data
SIZE: 300MB
USED: 229MB
FREE: 70MB
Name: Ext
Path: /sd-ext
SIZE: 960MB
USED: 474MB
FREE: 485MB
Name: SD-card
Path: /sdcard
SIZE: 6670MB
USED: 4509MB
FREE: 2160MB
Name: System
Path: /system
SIZE: 150MB
USED: 123MB
FREE: 26MB
Okay,thanks buddy ,I'm gonna give it a try.
Thanks for your helpful, constructive insight.I really appreciate that.
You rock!!:good:
eventcom said:
BTW: that's a funny post of user "Arfer":
he cheers about 126MB free memory but has left over 125MB wasted memory in his system partition. (In other words: using custom MTD partitions he would get at least 100MB more if using a CM7 ROM)
Click to expand...
Click to collapse
LOL,I wonder if he is aware of MTD partition.
Okay,off to "Experimenter mode":fingers-crossed:
SD Card alignment
Hey,what's your take on "SD Card alignment "?
Anybody tried that ?
Here :
http://www.hjreggel.net/cardspeed/cs_calign.html
http://www.patriotmemory.com/forums/showthread.php?3696-HOWTO-Increase-write-speed-by-aligning-FAT32
Hmm, if I'm not totally wrong this has only to do with writing speed issues when you use the regular FAT32 partition of your card on your PC while the EXT partition is NOT FAT32 of course (but a system drive of the Android system) ;-)
Swyped from my HTC Wildfire (Buzz)
well as the title says i have tried every ics rom for the desire but all of them keep freezing after 30-50 seconds from boot.i have done all the steps carefully and i dont know what the problem is.
here are my phone specs:Stock Hboot
Bravo Pvt4vShip s-off
ext4 1 gb
any help appreciated...
Which are you using? I have been flashing the updates of Sandvold's ICS. The 0.3 betas worked fine, if a little laggy, but have not tried the latest 0.4 version with full HWA.
This link is in the rom's OP. Hope it sheds some light.
http://forum.xda-developers.com/showpost.php?p=22243503&postcount=1968
Sent from my HTC Desire using XDA App
i have tried every rom since beta 0.3 but they all fc afte 30 seconds from boot.i dont know what i am doing wrong.i even re-partitioned my sd card!
Did you run a full wipe? Do you use some software like SetCPU.
Sent from dGB using Transparent XDA App
I have done full wipe and i dont use any app because i dont have the time to download anything, the phones freezes after boot.is there any chance that my sd card is not compatible or something?
How have you partitioned your card?
I have had mine partitioned 512 mb ext3 with 64 mb swap space and 1024 mb ext3 with 128mb swap and it has work fine with multiple versions of sandvold's and the cm9 beta ICS roms.
Not sure if that helps but could be worth a try.
Is it just ICS roms that cause this problem (ie can you run gingerbread roms ok)?
I think MatDrOiD meant have you ever used programmes like setCPU (ie on previous roms that you have flashed), because (and I am not exactly sure because I have never messed about with overclocking and unclocking) changing the settings can effect you cpu even if you flash a new rom.
yes i did partition my sd card ext4 though.and i couldnt find any swap space.going to do this one more time with ext3 and swap space.and no i have never used setcpu and that kind of staff
good luck
one more question:what is swap space and how can i do this?
Swap is what is used when RAM is fully used, to give extra memory. You don't need it on the desire, even with ics
Sent from my HTC Desire using Tapatalk
which recovery are you using?
on 4EXT (which is what I used), it will ask what you as your first sd-ext partition (1024mb in this case), what you want as a second sd-ext partition (0mb in this case) and what you want as swap space (124mb). the rest will be formated as FAT32
(NB: this will wipe your card so back up any data before doing this)
Clockwork mod has a similar way but it is under "Advanced" on the recovery menu iirc
Swap space is space reserved on the sd card that cannot be accessed by you but is used by the OS. I am not sure how useful it is but I religiously did it after experimenting with Runnymeade for a while (which asks for a 1024mb ext4 partition with no swap space).
thanks for the tip guys.eventually i used amon ra for the partition 1gbext3 128 swap and the phone operated normally!again thanks for your time
Hello Folks,
Now a days we have a lot of methods to fix space lack in desire phone.
Which one is the best for you?
AD2SD?
INT2SD?
APP2SD?
LINK2SD?
Any other?
Whatever the ROM uses. They all do basically the same thing - move stuff to your Ext partition to free space on phone.
except INT2SD, it converts ur ext partition into internal memory (data partition, so yh pretty much the same) but only a few roms have it
Sent from my HTC Desire
jmcclue said:
except INT2SD, it converts ur ext partition into internal memory (data partition, so yh pretty much the same) but only a few roms have it
Sent from my HTC Desire
Click to expand...
Click to collapse
I'm trying to use INT2SD but its been hard to get this working.
INT2SD comes pre-installed in some roms. how r u trying to install it? or what rom r ya trying to flash?
Sent from my HTC Desire
jmcclue said:
INT2SD comes pre-installed in some roms. how r u trying to install it? or what rom r ya trying to flash?
Sent from my HTC Desire
Click to expand...
Click to collapse
I choice RunnyMod 7.02 thats came with INT2SD and AD2SDX, but both of them i'm not able to use it.
I hv CM7r2 HBOOT and it is recognized in Amarullz setup, also, i hv a 3GB SD Ext4 partition.
The main problem is, the script setup says that my device does not support both of them.
So, my question is, if INT2SD is better than others, I'll try to fix this, but if is pretty much the same, I wont try.
And the last not least, I cant post in dev forum, so cant explain my problem there!!!
Thanks
3gb ext partition is too big. 1gb - 1.5gb max is the recommended. maybe that is the problem
Sent from my HTC Desire
3gb ext partition is too big. 1gb - 1.5gb max is the recommended
Click to expand...
Click to collapse
I Just resize with Gparted and didnt work.
do you think my SD need to align? or Gparted does itself.
tks
never used gparted, always 4ext recovery and it does the job perfect
Sent from my HTC Desire
You dont need 3gb ext4 partition. Make it 1 gb, it is more than sufficient.
I have used APPS2SD and INT2SD both. But i like INT2SD more as it doesn't slow down my memory card and it allows me to install more apps.:fingers-crossed:
Int2sd the best, cause all other methods lacks of memory after ~100 apps installed.
Now I have got Elk759 JB 0.37.1 with Int2SD-S/
vedmed said:
Int2sd the best, cause all other methods lacks of memory after ~100 apps installed.
Now I have got Elk759 JB 0.37.1 with Int2SD-S/
Click to expand...
Click to collapse
u got elks JB with INT2SD-S?? How the hell did u manage that?
Sent from my HTC Desire
i felt that a2sd was faster than int2sd. it might be because i have a slow sd card. a2sd can be set to leave some parts on the internal memory keeping those parts faster
From what I understand (and while not very new to this, I am not an expert or a developer) there are three partitions that are restricted inside the internal ROM: apps, data, cache
People seem to agree that moving data to sd slows down the phone, so they tend to keep it in the internal memory. So the main difference between the scripts is if the move the data to sd or not. I think with most modern ones, this is an option and can be enabled or disabled.
As others said, int2sd or int2ext follows a different approach, but I think the principles and end result are the same.
I like the roms that apart from installing the script that runs at startup, they provide the control script that you can run from the terminal and check the status or enable/disable features after installing it.
vmpsr said:
there are three partitions that are restricted inside the internal ROM: apps, data, cache
Click to expand...
Click to collapse
/system
/data
/cache
vmpsr said:
People seem to agree that moving data to sd slows down the phone, so they tend to keep it in the internal memory. So the main difference between the scripts is if the move the data to sd or not. I think with most modern ones, this is an option and can be enabled or disabled.
As others said, int2sd or int2ext follows a different approach, but I think the principles and end result are the same.
Click to expand...
Click to collapse
Moving dalvik cache to sd slows the phone down, everything else can be moved.
I prefer a2sd.
Depends on ROM, mostly
Most ROM devs already indicate a perference for a2sd scripts. If I recall correctly, the first AOKP builds needed m2sd, PA prefers INT2EXT and most GB ROMs used a2sd.
As for speed, try to keep app data on internal memory. Anything else can be moved. Dalvik-cache is mostly taking up half of the internal memory, so an excellent candidate to move.
darkcompanion said:
Most ROM devs already indicate a perference for a2sd scripts. If I recall correctly, the first AOKP builds needed m2sd, PA prefers INT2EXT and most GB ROMs used a2sd.
As for speed, try to keep app data on internal memory. Anything else can be moved. Dalvik-cache is mostly taking up half of the internal memory, so an excellent candidate to move.
Click to expand...
Click to collapse
Do you suggest to keep Dalvik-cache on internal memory or SD ?
vittoriop77 said:
Do you suggest to keep Dalvik-cache on internal memory or SD ?
Click to expand...
Click to collapse
Move dalvik and app on external, keep data on internal.
abaaaabbbb63 said:
Move dalvik and app on external, keep data on internal.
Click to expand...
Click to collapse
Thanks
Hello everyone,
I know I'm pretty new here but I have been digging these forums for a few days right now.
I recently bought a faster 16 GB SD Card and rooted my phone to install bigger and other ROM.
But I found verry little info (maybe I didn't looked has much or at the right place) about the swap space you can create in your sd card.
What I read was that it was usefull for the system but when I look at the differents ROM thread they never or very rarely talk about a needed swap place in the sd card partitioning.
Right now I created an ext4 partition with a little bit more than 1gb and a swap with +- 400 mb.
So my question is, is it really usefull or no?
ps: sorry for my english
Gil- said:
Hello everyone,
I know I'm pretty new here but I have been digging these forums for a few days right now.
I recently bought a faster 16 GB SD Card and rooted my phone to install bigger and other ROM.
But I found verry little info (maybe I didn't looked has much or at the right place) about the swap space you can create in your sd card.
What I read was that it was usefull for the system but when I look at the differents ROM thread they never or very rarely talk about a needed swap place in the sd card partitioning.
Right now I created an ext4 partition with a little bit more than 1gb and a swap with +- 400 mb.
So my question is, is it really usefull or no?
ps: sorry for my english
Click to expand...
Click to collapse
As far as I know, there are vrey few ROMs that require swap partition. It is usually requested in the first post of the ROM's thread.
Ciobby said:
As far as I know, there are vrey few ROMs that require swap partition. It is usually requested in the first post of the ROM's thread.
Click to expand...
Click to collapse
Ok, thanks !
I will re create my sd card then
Well after a few rom tested I'm not so sure about this...
Ok they never talk about swap space. But the general problem I have when I install a big rom with Android 4.x is that the memory is always full.
Therefore the phone becomes extremly slow when I launch a few applications.
The only solution I found is to install an app to manage the RAM and free some space. But even with this, I need more ram as it's almost alway full.
I will try with a swap of 512 Mo but I have no idea how other people can manage this.
If anyone have a tip about this, it would be great .
Gil- said:
Well after a few rom tested I'm not so sure about this...
Ok they never talk about swap space. But the general problem I have when I install a big rom with Android 4.x is that the memory is always full.
Therefore the phone becomes extremly slow when I launch a few applications.
The only solution I found is to install an app to manage the RAM and free some space. But even with this, I need more ram as it's almost alway full.
I will try with a swap of 512 Mo but I have no idea how other people can manage this.
If anyone have a tip about this, it would be great .
Click to expand...
Click to collapse
If you use the native a2sd scripts that come with 4.x ROMs, then that's your problem. Those scripts only move data/app to sd-ext, leaving the rest on internal. Most of the memory is occupied by dalvik cache.
This script should also move dalvik to ext. Try it.
http://db.tt/m4sQLDOI
Don't forget to backup first.
I never used a swap partition. I think there's no need for it.
abaaaabbbb63 said:
If you use the native a2sd scripts that come with 4.x ROMs, then that's your problem. Those scripts only move data/app to sd-ext, leaving the rest on internal. Most of the memory is occupied by dalvik cache.
This script should also move dalvik to ext. Try it.
http://db.tt/m4sQLDOI
Don't forget to backup first.
I never used a swap partition. I think there's no need for it.
Click to expand...
Click to collapse
Thanks for your anwser but right now I'm using this rom:
http://forum.xda-developers.com/showthread.php?t=2213033
And I already moved dalvik and data to sd in the installation. I tried every option there, only data, only dalvik and both. Only both is working.
But this doesn't change the RAM used (or maybe it's not so important that the RAM becomes full?)
I also tried other 4.x rom and moved everything but at some point I think there is too many info in the ram and the Desire becomes really laggy.
Gil- said:
Thanks for your anwser but right now I'm using this rom:
http://forum.xda-developers.com/showthread.php?t=2213033
And I already moved dalvik and data to sd in the installation. I tried every option there, only data, only dalvik and both. Only both is working.
But this doesn't change the RAM used (or maybe it's not so important that the RAM becomes full?)
I also tried other 4.x rom and moved everything but at some point I think there is too many info in the ram and the Desire becomes really laggy.
Click to expand...
Click to collapse
creating a 512MB swap partition is pretty much useless as most ROMs don't implement it. It's a redundant partition which could either be used as extra sd-ext for apps or FAT32 space for music etc. It can cause problems as well depending on the order of partitions.
Even if somehow it could be used, it won't suddenly turn the desire into a phone with 1GB RAM...that's not the way it works. In cases where it is used, only a small swap partition ~25-32MB to occasionally swap a few things in and out of memory. Even then whether it actually makes a difference is dubious imo.
I would recommend repartitioning from scratch again, remove the swap partition. You don't need it, and the ROM you're running won't recognise it's even there.
It's laggy not only because of RAM, and can't be solved by magically adding more of it . Android memory works differently as well, so free RAM is wasted RAM, you shouldn't have to monitor how much is free at any given time. A big part of the lag is simply because it's a JB ROM which is simply very resource heavy on the desire relative to GB ones.
eddiehk6 said:
creating a 512MB swap partition is pretty much useless as most ROMs don't implement it. It's a redundant partition which could either be used as extra sd-ext for apps or FAT32 space for music etc. It can cause problems as well depending on the order of partitions.
Even if somehow it could be used, it won't suddenly turn the desire into a phone with 1GB RAM...that's not the way it works. In cases where it is used, only a small swap partition ~25-32MB to occasionally swap a few things in and out of memory. Even then whether it actually makes a difference is dubious imo.
I would recommend repartitioning from scratch again, remove the swap partition. You don't need it, and the ROM you're running won't recognise it's even there.
It's laggy not only because of RAM, and can't be solved by magically adding more of it . Android memory works differently as well, so free RAM is wasted RAM, you shouldn't have to monitor how much is free at any given time. A big part of the lag is simply because it's a JB ROM which is simply very resource heavy on the desire relative to GB ones.
Click to expand...
Click to collapse
Thanks for the informations.
Right now I only have an Ext4 of 1 Gb + 15 gb in Fat32. I didn't had the time to recreate the partitions again. So won't do it.
Well I thought it was a RAM issue because without the ram manager app some functions becomes hard to load like.
If I receive a call the phone rings but wait some time before loading the info to display about the call.
Or if I want to answer an sms the keyboard takes time to load.
Same thing with the apps.
With the ram manager it generally loads faster but some time it gets buggy because there is too much work to do to free space (I suppose).
Well that leave me not alot of options about the capacities of the phone .
Maybe just go back to 2.3.x