(Q) Internal storage as ram.. - HTC One V

Is it possible to expand the ram memory when we use the internal storage? I dont use it and i dont need that .. its a good idea or not ? If its possible
Sent from my HTC One V using xda premium

No answer? Not possible or..?
Sent from my HTC One V using xda premium

you mean using external storage as a booster just like ReadyBoost on windows, right?

I think he's reffering to using the eMMC 100MB internal storage as a swap partition

Nice concept it will be great if were use internal memory as ram so we can get more ram....if its possible so....
Sent from my One V using xda premium

rockstar_26 said:
I think he's reffering to using the eMMC 100MB internal storage as a swap partition
Click to expand...
Click to collapse
Personally I don't think that that would be a good idea. emmc has limited write cycles, and swap does use the cycles quite hard, so the emmc will be dead in no time, or at least it will shorten the lifespan of the phone quite much.
And for the concept. Swap uses different partition type, so even if possible, it will require the reformat of the partition, which means s-off practically. If you need and want swap, a partition on a class6 or higher SD will be more better in my opinion at least. That could be said switched if the partition dies. Also this is implemented in devices (like SE X8 and X10s).
Sent from my ONE V with CM10

So its not possible ? The phone has small ram its laggy sometimes :/
Its enough if 50 mb of the internal storage (emmc) used as ram "booster" mybe full sense will be more smoother and possibler xd
My english is not so good sry
Sent from my HTC One V using xda premium

dontbelive said:
So its not possible ? The phone has small ram its laggy sometimes :/
Its enough if 50 mb of the internal storage (emmc) used as ram "booster" mybe full sense will be more smoother and possibler xd
My english is not so good sry
It is possible one way or another, but I won't use it that's for sure. The V-s RAM is fragile even in stock, so I don't want to play with it.
And lag will be lag, there is no RAM that can match the speed of the internal RAM, even if it is a built in emmc. 512mb is not much I agree, but that is a limit that devs cannot really overcome. I personally vote for sd-swap if I must choose.
Click to expand...
Click to collapse

Can you explain short what sd-swap.is?
Sent from my HTC One V using xda premium

dontbelive said:
Can you explain short what sd-swap.is?
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
A SWAP partition is the SD card, which is enabled from kernel, and used as such after boot.

ah okeey
I have downloaded an app from.the market names.swapper i will test it for 2 days how the performance is
Sent from my HTC One V using xda premium

The app helped a bit i can play games without lag and i have flashed the full sense patch and runs soother than before
I recommend this app
Sent from my HTC One V using xda premium

dontbelive said:
The app helped a bit i can play games without lag and i have flashed the full sense patch and runs soother than before
I recommend this app
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Well, this is the other way I mentioned, a "file" which is swap partition and mounted as such. Don't know about however, that the kernel even supports swap, but I don't really know about the work profile of the programme.
Good it helped you eventough

Hi
For more information see also here
http://forum.xda-developers.com/showthread.php?t=1805843
There is a good description of whats possible
max

maxwen said:
Hi
For more information see also here
http://forum.xda-developers.com/showthread.php?t=1805843
There is a good description of whats possible
max
Click to expand...
Click to collapse
The script enabled swap needs the kernel for swap support on SD, or am I wrong?
Sent from my ONE V with CM10

Hi
Actually we have everyting to use swap
This can be done even using an init.d script
I am currently "playing" with it and keep you informed
max

Hi
Ok guys
Here is a script that will enable the swap partition of 130m
on the internal emmc. This will make only sense if you ROM
hasnt already enabled swap!
To check use cmdline and enter
Code:
cat /prov/swaps
If you see there already a line with
Code:
/dev/block/mmcblk0p27
Then you dont need it!
USE IT AT YOUR OWN RISK!!!
http://www.mediafire.com/?i9xc4hnfheztgir
If you enter any command from inside that script on cmdline
make sure you ARE NOT MIXING up the partition!
It MUST ALWAYS BE /dev/block/mmcblk0p27!!!
If you use the wrong partition data loss is possible!!!
So make a backup before trying it.
You MUST have busybox installed for this to work!
And busybox MUST be installed in /system/xbin/
else you need to adapt the script
I have tested it on CM9 but it will work also on sense ROMs
If you use a kernel with init.d script support like KISS you can put
this script into /etc/init.d and it will be executed on boot
Dont forget to make it executable (chmod 755) also
You can also run this script using ScriptManager
The basic two commands used are
Code:
busybox mkswap /dev/block/mmcblk0p27
busybox swapon /dev/block/mmcblk0p27
First one will create a swap "area" on that partition
If you use the wrong partition here say goodbye to the
data there
Second line is enabling this swap area for the kernel
To see if it worked run
Code:
busybox free
You should see something like this
Code:
total used free shared buffers
Mem: 368696 336132 32564 0 18452
-/+ buffers: 317680 51016
Swap: 131064 3784 127280
If you want to turn of swap without rebooting you can
issue the following command
Code:
busybox swapoff /dev/block/mmcblk0p27
BTW: you will NOT see swap space in "Available RAM" in Android!
Max

but it still works as a RAM right?
Wait.. i don't really understand that...

maxwen said:
Hi
Ok guys
Here is a script that will enable the swap partition of 130m
on the internal emmc
USE IT AT YOUR OWN RISK!!!
http://www.mediafire.com/?i9xc4hnfheztgir
If you enter any command from inside that script on cmdline
make sure you ARE NOT MIXING up the partition!
It MUST ALWAYS BE /dev/block/mmcblk0p27!!!
If you use the wrong partition data loss is possible!!!
So make a backup before trying it.
You MUST have busybox installed for this to work!
And busybox MUST be installed in /system/xbin/
else you need to adapt the script
I have tested it on CM9 but it will work also on sense ROMs
If you use a kernel with init.d script support like KISS you can put
this script into /etc/init.d and it will be executed on boot
Dont forget to make it executable (chmod 755) also
You can also run this script using ScriptManager
The basic two commands used are
Code:
busybox mkswap /dev/block/mmcblk0p27
busybox swapon /dev/block/mmcblk0p27
First one will create a swap "area" on that partition
If you use the wrong partition here say goodbye to the
data there
Second line is enabling this swap area for the kernel
To see if it worked run
Code:
busybox free
You should see something like this
Code:
total used free shared buffers
Mem: 368696 336132 32564 0 18452
-/+ buffers: 317680 51016
Swap: 131064 3784 127280
If you want to turn of swap without rebooting you can
issue the following command
Code:
busybox swapoff /dev/block/mmcblk0p27
BTW: you will NOT see swap space in "Available RAM" in Android!
Max
Click to expand...
Click to collapse
This is just perfect maxwen! I have created 2 widgets that let me create a swap partition on the fly! whenever I use a memory intensive app (Games for example) I turn on swap. For everyday use I just turn it off!!:highfive:

rockstar_26 said:
This is just perfect maxwen! I have created 2 widgets that let me create a swap partition on the fly! when ever I use a memory intensive app (Games for example) I turn on swap. For everyday use I just turn it off!!:highfive:
Click to expand...
Click to collapse
This seems interresting enough. Max, if the kernel already supports it, swapon will work wit an sd-swap partition, am I right? Or to be more precise, I just have to mount the swap partition of the sd (p2 if I'm right, but can see into that), then swapon?
No further action needed max, it works, will post a guide/walktrough wiwth init.d script soon.

Related

SD Card Partition sizes with Apps2SD

Hi everyone,
i was just wondering about what partition sizes I should set for my memory card using Apps2SD as I am a little unsure. I am currently using a 8 GB SD Card.
I was thinking to set it up with a 32mb swap, 512m-1gb ext2, and the remainder as fat32? Is that suffice? the ext2 size I assume is the space I would dedicate for the installation of apps.
Then after that, should we convert ext2 to ext3?
Please advise
Thank you.
Mastoid said:
I was thinking to set it up with a 32mb swap, 512m-1gb ext2, and the remainder as fat32?
Click to expand...
Click to collapse
I wouldn't use swap at any time. Your phone has 578 MB of Ram - I don't know how much is left for the running system after the substraction for radio, 3d,.... but it still should be around 400MB. Using swap would just slow down your phone.
A 256 MB ext partition for programs is enough.
Greets
Kind of depends, I will for sure get a bigger partition then 256MB, some games are 20/30MB in size. Will be nice to not worry about those anymore!
I just installed apps2sd then started installing was I meant to do different? lol
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Hello guys,
I'm a newbie with Android.
I've not understood: with A2SD I can "migrate" all apps to sdcard or there is a way to choose what to have on the device and what to have on sdcard?
Thanks,
ghale
I have this question too. are all the apps going to the sdcard or you choose where to go ???? or when the phone memory fills the sdcard is used ???
and another question I have is if the sdcard apps are copy paste backup able
allla said:
I wouldn't use swap at any time. Your phone has 578 MB of Ram - I don't know how much is left for the running system after the substraction for radio, 3d,.... but it still should be around 400MB. Using swap would just slow down your phone.
A 256 MB ext partition for programs is enough.
Greets
Click to expand...
Click to collapse
I have read that if set to 0, no swap partition will be created. The default is 32MB.
Im not using a swap.
I just created my ext2 using gparted on Linux. I resized the original fat32 and then used the free space to create ext2. No data was lost on original partition after resize
Nekromantik said:
Im not using a swap.
I just created my ext2 using gparted on Linux. I resized the original fat32 and then used the free space to create ext2. No data was lost on original partition after resize
Click to expand...
Click to collapse
Hi there,
im not a big user of apps and won't end up installing many to the sd card. Would you suggest I set up the partitions as follows:
0mb swap, 512m-1gb ext2, and the remainder as fat32?
I have also read that if you convert EXT filesystem from EXT2 to EXT3 after partitioning, it results in better stability/performance, and by converting the EXT filesystem from EXT3 to EXT4 results in best stability/performance.
Can anyone clarify this please?
Thanks again in advance.
EDIT
Found it !
This is where i'm getting confused... this article, for example, states to allocate 32 MB to the linux-swap partition, 512 MB ext2 partition, and remaining free space as a fat32 partition (for an 8GB SD Card).
It also states this is the most common setup...
I used 980mb for my a2sd not swap and everything seems to be working just fine
FeaRThiS said:
I used 980mb for my a2sd not swap and everything seems to be working just fine
Click to expand...
Click to collapse
Im just thinking... the Android OS is designed to do this for you, when it runs low on free memory it starts closing apps based on a ranking system for deciding which is 'least important' to avoid actually running out. If you later switch back to an app that the OS has removed from memory it will be reloaded from internal storage which won't be as quick as if the app was still in memory, but on the other hand it won't be any slower than if it was being loaded into RAM from the swap partition on the SD card.
Actually, I can't see swap helping... Either the Android OS will avoid running out of physical memory as it's supposed to and never actually use the swap partition, or worse it does actually use it as if it was extra physical memory (unlikely, I think) which will interfere with the sophisticated memory management scheme that's already there. Is this the reason why Android phones don't ship configured for swap? maybe because the OS is already doing something better that makes swap unnecessary?
guys I just flashed apps2sd and installed is that wrong? what else do I need to do
I'm confused lol
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Guitarfreak26 said:
guys I just flashed apps2sd and installed is that wrong? what else do I need to do
I'm confused lol
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
As long as you followed the correct procedure (accessing recovery, installing the Apps2SD.zip file via recovery and set the partitions), then you are set.
I've set no partions mate all ive done is flashed it in recovery that's it
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Guitarfreak26 said:
I've set no partions mate all ive done is flashed it in recovery that's it
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
Well, what would be the point of installing Apps2SD then if you did not allocated extra space to the ext2 partition
Backup everything on the SD Card before attempting:
http://android.modaco.com/content/htc-desire-desire-modaco-com/307398/apps2sd-miniguide/
I didn't know just flashed it, sorry to be a pain but what's the process now? hard reset? will I have to reinstall apps2sd? first time I've ever used it
Edit, Ill follow your guide when I'm home. is it ok to use my goldcard SD?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
oh and is there anyway to transfer current apps to the partion?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Guitarfreak26 said:
I didn't know just flashed it, sorry to be a pain but what's the process now? hard reset? will I have to reinstall apps2sd? first time I've ever used it
Edit, Ill follow your guide when I'm home. is it ok to use my goldcard SD?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
You will not need to hard reset, just access recovery again via Linux and select the option to Partition the SD in recovery mode, enter the partition sizes you want, then you may want to select the option: convert ext3 to ext4 for improve stability/performance. Yes, use the Gold Card SD.

Utilizing ext partitions on the sdcard with the G2

Hey folks,
I spent a long time searching, but I can't seem to find an answer. I'm using my sdcard and the partitions I created from my G1. I'm running low on space on my sdcard and I realized that the ext partition is not being utilized.
I tried to move some apps to the sd card using the native apps2sd (settings > manage applications) but it seems to be moving it to the main FAT partition and not the gig I set aside as ext.
Before I repartition it and get merge the ext partition with my main partition, I wanted to know if there's any point in having an ext on the G2. If so, how do I take advantage of it (for apps and cache)?
Its an 8gb class 2 sandisk with r/w speeds of over 10mbs. Aside from the gig for ext, I also have a wee bit set aside for swap, which is just about useless now - right?
Thanks for all your help!
Sent from my HTC Vision using XDA App
Jury is still out over the need for swap with the Desire Z,some say it makes a difference but what is clear is that with the swap partition enabled,on Unity at least there is a display bug on widgets,I would say that the phone runs ok without it.
I don't mean to be rude, but I don't care about swap. The G2's performance is great. I am concerned with space and before I merge the ext3/4 partition with my main FAT partition, I wanted to know how to utilize that gig I set aside as ext.
Thanks again.
Sent from my HTC Vision using XDA App
funkeee said:
I don't mean to be rude, but I don't care about swap. The G2's performance is great. I am concerned with space and before I merge the ext3/4 partition with my main FAT partition, I wanted to know how to utilize that gig I set aside as ext.
Thanks again.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Ok but you did ask about the swap partition being redundant or not,anyway a gig ext is a waste of space with this phone so repartition and make it smaller 128mb or 256mb should be more than enough
When I was on my rooted stock u20j I used a app called 'Link2SD' which made use of the ext2-partion to store apps on... Maybe try looking at that on the market?
Good luck!
I had an ext partition with a2ext on my G2 but honestly it wasn't needed. I have a ton of apps and still have just under 1 GB of internal memory left.
Swap, as I'm sure you're aware, is pointless on this phone. Compcache is about the only thing I'd use and even that is debatable.
MrEzzzkiel said:
When I was on my rooted stock u20j I used a app called 'Link2SD' which made use of the ext2-partion to store apps on... Maybe try looking at that on the market?
Good luck!
Click to expand...
Click to collapse
Thank you! I will look into it. Do you know if the native apps2sd can be made to use the ext partition?
What I was asking in this thread is: how to make my phone use the ext partition, instead of the main partition.
Sent from my HTC Vision using XDA App
funkeee said:
Thank you! I will look into it. Do you know if the native apps2sd can be made to use the ext partition?
What I was asking in this thread is: how to make my phone use the ext partition, instead of the main partition.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
No, it won't use the ext just Fat32.
Instead of the market app, use darktremor's A2SD script. You have much more functionality with it. It also can use ext2, 3, and 4. There's an app that I'll try to locate on my computer for you that gives you a GUI to control it all once you have it installed and active.

[Q] Best Practice to extend phone memory

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)

[Q] SD Card Configuration : Ext and Swap Partition

Hey,I am going to "clean" install CM 7.2 Stable.I am done with Custom MTD Partitions and want to set up an ext partition on the SD card and move apps there.
Preparing for "S2E"(simple2ext:https://play.google.com/store/apps/details?id=ru.krikun.s2e&hl=en )
I have got 2GB SD Card.
What should be the ideal configuration for a 2GB card in terms of :
(1)Ext Size
(2)Swap size
And 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.” Now how to find out whether your kernel supports it or not ?
Does "swap" really make any difference ?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.
Any suggestion ?Any help would be much appreciated.
Thanks.
You should try 256Mb or 512Mb ext2 partition as per your convenience with 0 swap size.
After partitioning your card you need to install an a2sd script and use a2sdgui app to move apps.
Or else you could install link2sd app and i guess that moves apps to ext partition without needing a script.(haven't tried it though)
Wasimk32 said:
You should try 256Mb or 512Mb ext2 partition as per your convenience with 0 swap size.
After partitioning your card you need to install an a2sd script and use a2sdgui app to move apps.
Or else you could install link2sd app and i guess that moves apps to ext partition without needing a script.(haven't tried it though)
Click to expand...
Click to collapse
Thanks for the reply,so you mean "swap" doesn't make any difference in speed and efficiency ?
I am a bit baffled.How about "S2E (simple2ext)" method ?
I have read about that here :
http://forum.xda-developers.com/showthread.php?t=1189249
Is that a good idea ?Any suggestion ?Any help would be appreciated.
Thanks
optimusodd said:
Thanks for the reply,so you mean "swap" doesn't make any difference in speed and efficiency ?
I am a bit baffled.How about "S2E (simple2ext)" method ?
I have read about that here :
http://forum.xda-developers.com/showthread.php?t=1189249
Is that a good idea ?Any suggestion ?Any help would be appreciated.
Thanks
Click to expand...
Click to collapse
Have a nandroid backup and give it a try.
Wasimk32 said:
Have a nandroid backup and give it a try.
Click to expand...
Click to collapse
Okay,What about "swap" ?
Why do some guys use swap ?Is it unnecessary ?
Here ost #12:
http://forum.xda-developers.com/showthread.php?t=1189249&page=2
What should it be ? ext2 or ext4 ?
optimusodd said:
Okay,What about "swap" ?
Why do some guys use swap ?Is it unnecessary ?
Here ost #12:
http://forum.xda-developers.com/showthread.php?t=1189249&page=2
What should it be ? ext2 or ext4 ?
Click to expand...
Click to collapse
Swap is used when you run out of RAM space.I dont think we need it on our wildfire.Just select 0 as swap size.create SD partition from recovery,that would be easy as you don't need to be confused between ext2 or ext4.
Wasimk32 said:
Swap is used when you run out of RAM space.I dont think we need it on our wildfire.Just select 0 as swap size.create SD partition from recovery,that would be easy as you don't need to be confused between ext2 or ext4.
Click to expand...
Click to collapse
I have read in some forums that "swap" increases the RAM i.e more speed and efficiency,no ???
Here is the page:
http://www.mod2xtreme.com/showthread.php?13050-SGY-GUIDE-Increase-RAM-using-Swap-File-and-Swap-Partition
Just wondering,if that can be done on Wildfire.
Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
Sent from my GT-I9100 using xda premium
Scratch0805 said:
Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
That means this "swap" thing is just a hype and of no use on Android devices ?
optimusodd said:
That means this "swap" thing is just a hype and of no use on Android devices ?
Click to expand...
Click to collapse
You've kind of answered your own question with the link you've provided, if you think swap may be worth using, backup your SD card create a swap partition and give it a run for a while, if you think it isnt then backup everything again and create a partition without it. I had swap enabled when I first created a partition but saw no benefit at all.
Sent from my GT-I9100 using xda premium
Scratch0805 said:
You've kind of answered your own question with the link you've provided, if you think swap may be worth using, backup your SD card create a swap partition and give it a run for a while, if you think it isnt then backup everything again and create a partition without it. I had swap enabled when I first created a partition but saw no benefit at all.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Okay,I am thinking of giving this "swap" thing a try.:fingers-crossed:
Again,I have got a 2GB SD Card.
What should be the ideal configuration for a 2GB card in terms of :
(1)Ext Size (What should it be ? ext2 or ext4 ?)
(2)Swap size
Any suggestion ?
I am gonna flash CM 7.2 Stable and use "S2E (simple2ext)".
optimusodd said:
Okay,I am thinking of giving this "swap" thing a try.:fingers-crossed:
Again,I have got a 2GB SD Card.
What should be the ideal configuration for a 2GB card in terms of :
(1)Ext Size (What should it be ? ext2 or ext4 ?)
(2)Swap size
Any suggestion ?
Click to expand...
Click to collapse
I am gonna flash CM 7.2 Stable and use "S2E (simple2ext)".
optimusodd said:
I am gonna flash CM 7.2 Stable and use "S2E (simple2ext)".
Click to expand...
Click to collapse
I successfully made sd-ext and moved apps there (http://forum.cyanogenmod.com/topic/44675-how-to-configure-a-sd-ext-on-htc-buzz-wildfire/), so now I have 170 MB of free space for new apps!!
Question: I noticed that my phone slowed down a lot.... does it depend on SD type (read/write speed)?
Which is the best type / brand of SD?
Is there any other setting I could optimize for speed, when having Sd-Ext enabled?
marcellen said:
I successfully made sd-ext and moved apps there (http://forum.cyanogenmod.com/topic/44675-how-to-configure-a-sd-ext-on-htc-buzz-wildfire/), so now I have 170 MB of free space for new apps!!
Question: I noticed that my phone slowed down a lot.... does it depend on SD type (read/write speed)?
Which is the best type / brand of SD?
Is there any other setting I could optimize for speed, when having Sd-Ext enabled?
Click to expand...
Click to collapse
Moving Applications data to sd-ext slows your phone down.Don’t move “application data” to sd-ext.
I suppose you are using “S2E”,right ?What’s the format of your sd-ext ? ext3 or ext4 ?
Go through this thread :http://forum.xda-developers.com/showthread.php?t=917377
Personally, I prefer“S2E”(supports mounting sd-ext as ext4)
https://github.com/OlegKrikun/S2E
https://play.google.com/store/apps/details?id=ru.krikun.s2e&feature=search_result
(It works only with CyanogenMod7 and CyanogenMod9 )
Other apps you can use :
https://play.google.com/store/apps/details?id=com.buak.Link2SD&hl=en
https://play.google.com/store/apps/details?id=com.a0soft.gphone.app2sd&hl=en
Yes ,your card’s speed depends on the class of your card. An SD card's speed is measured by how quickly information can be read from, or written to, the card.Speed varies with the class of the card…Class 2 (2 megabytes per second), Class 4 (4 megabytes/second),Class 6 (6 megabytes/second) and so on…
You can find reviews here :
http://www.testfreaks.com/memory-cards/
Will be helpful:
http://forum.xda-developers.com/showthread.php?t=826836
http://www.kenrockwell.com/tech/sd-speed-test-2009-10.htm
You might be looking for these apps : (Read the description carefully before installation)
https://play.google.com/store/apps/details?id=ru.krikun.freespace
https://play.google.com/store/apps/details?id=ales.veluscek.sdtools
https://play.google.com/store/apps/details?id=de.mehrmann.sdbooster
https://play.google.com/store/apps/details?id=com.vaelek.sdspeedboost&hl=en
Some other hacks you can try : (Do It At Your Own Risk! I have never tried them)
http://www.androidpolice.com/2011/0...-200-with-a-simple-tweak-hands-on-benchmarks/
http://forum.xda-developers.com/showthread.php?t=1010807
If you are running out of internal memory,you can increase it through Custom MTD Partition :
http://forum.xda-developers.com/showthread.php?t=1233340
HTH,Cheers!!
I used ext3, what experience do you have with ext4?
marcellen said:
I used ext3, what experience do you have with ext4?
Click to expand...
Click to collapse
It's working great and ext3 should work fine too.
Acually ext4 provides better performance with journalling.
If you use an Old CWM recovery, it will convert it back to ext 3 when you backup/restore.
ext3=ext2+journalling
As ext4 is newer file system,new features have improved the performance and reliability of the filesystem when compared to ext3.
Journaling can be bad for the life of an sd-card (coz you do more writes).If you are not worried about life of the card, and the choice is based on filesystem performance only then ext4>ext3>ext2.
Ext4 can be used with journalling switched off.So "ext4 without journalling" will be best in my opinion.
There is a debate going on over it,check that out :http://forum.xda-developers.com/showthread.php?t=800353

[CODE][SWAP] Curious about what is eating your swap?

If any of you are using SD Swap, DataSwap or zRam and you notice your swap usage in up higher than you expected (say for example on my system 60MB or so used with 64MB Dataswap + 10% zRam)
Here's a little shell script you can copy to /data/local/tmp, chmod 0775 on it, and then run it from adb shell via this command:
Code:
sh ./chkswap.sh | grep "Swap used" | grep -v "Swap used: 0" |sort -n -k 3
(my grep/sort knowledge is a tad limited so it could be done better).
You'll get an output similar to this, with the processes sorted from least amount of swap used to most:
Code:
Swap used: 8 - ( 1329 root 4532 S /sbin/adbd )
Swap used: 12 - ( 1328 root 5384 S /system/bin/rmt_storage /dev/block/mmcblk0p13 /dev/block/mmcblk0p14
Swap used: 20 - ( 1 root 364 S /init
Swap used: 48 - ( 1271 root 844 S /system/xbin/virtuous_oc )
Swap used: 56 - ( 1325 root 884 S /system/bin/installd )
Swap used: 60 - ( 1315 system 848 S /system/bin/servicemanager )
Swap used: 64 - ( 754 root 300 S /sbin/ueventd )
Swap used: 68 - ( 1327 compass 1184 S /system/bin/akmd )
Swap used: 68 - (18726 root 712 S /system/bin/debuggerd )
Swap used: 76 - ( 1330 root 1152 S /system/bin/htc_ebdlogd -s -k -P 7 )
Swap used: 80 - ( 3537 bluetoot 844 S /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --baudrate 3000000 --patchram /vendor/firmware/b )
Swap used: 136 - ( 1324 bluetoot 1376 S /system/bin/dbus-daemon --system --nofork
Swap used: 148 - ( 1319 radio 16416 S /system/bin/rild )
Swap used: 172 - ( 1326 keystore 1788 S /system/bin/keystore /data/misc/keystore )
Swap used: 192 - ( 1316 root 4044 S /system/bin/vold )
Swap used: 200 - (31037 wifi 2476 S /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf -iwlan0 -c/data/misc/wifi )
Swap used: 260 - ( 1317 root 7724 S /system/bin/netd )
Swap used: 280 - ( 3716 bluetoot 2188 S /system/bin/bluetoothd -n )
Swap used: 288 - ( 1358 root 992 S /system/bin/logcat2 -v time -f /devlog/system_log -r 1024 -n 50 *:w )
Swap used: 884 - ( 1322 drm 14048 S /system/bin/drmserver )
Swap used: 1064 - ( 1323 media 40916 S /system/bin/mediaserver )
Swap used: 2124 - ( 1320 system 73516 S /system/bin/surfaceflinger )
Swap used: 6740 - (19429 system 318m S {ndroid.settings} com.android.settings )
Swap used: 6856 - (19042 app_133 286m S {facebook.katana} com.facebook.katana )
Swap used: 6932 - (18993 app_135 273m S {o.mobiledefense} com.neevo.mobiledefense )
Swap used: 7348 - (18863 app_1 280m S {d.process.acore} android.process.acore )
Swap used: 7380 - (23142 app_14 270m S {d.process.media} android.process.media )
Swap used: 7392 - (23111 app_134 275m S {ogle.android.gm} com.google.android.gm )
Swap used: 7396 - (23293 app_102 269m S {es.fancywidgets} com.anddoes.fancywidgets )
Swap used: 7412 - (18822 app_97 283m S {pps.googlevoice} com.google.android.apps.googlevoice )
Swap used: 7420 - (23250 app_130 278m S {onFriendService} com.google.android.apps.maps:LocationFriendService )
Swap used: 7444 - (23092 app_130 293m S {droid.apps.maps} com.google.android.apps.maps )
Swap used: 7444 - (23205 app_130 283m S {LocationService} com.google.android.apps.maps:NetworkLocationService )
Swap used: 7564 - (13961 app_118 277m S ccc71.bmw.pro )
Swap used: 7660 - (19492 app_11 267m S {id.defcontainer} com.android.defcontainer )
Swap used: 7688 - (23237 app_130 275m S {s:FriendService} com.google.android.apps.maps:FriendService )
Swap used: 7792 - (16806 app_10 267m S {roid.dspmanager} com.bel.android.dspmanager )
Swap used: 8060 - ( 1534 app_45 316m S {e.process.gapps} com.google.process.gapps )
Swap used: 8096 - ( 3783 app_44 306m S {.android.kineto} com.android.kineto )
Swap used: 8448 - ( 1321 root 258m S zygote /bin/app_process -Xzygote /system/bin --zygote --start-system-server )
Swap used: 8620 - ( 3861 app_41 267m S {android.smspush} com.android.smspush )
Swap used: 11064 - (26947 app_42 305m S {nddoes.launcher} com.anddoes.launcher )
Swap used: 12268 - ( 3624 system 356m S {ndroid.systemui} com.android.systemui )
Swap used: 12436 - ( 1785 system 508m S system_server )
Swap used: 19772 - ( 3762 app_66 305m S {chtype.swiftkey} com.touchtype.swiftkey )
Swap used: 20464 - ( 3778 radio 312m S {m.android.phone} com.android.phone )
From above you can see that the phone and SwiftKeys3 uses most of my swap.
My free output at the tim of running the list above looked like:
Code:
total used free shared buffers
Mem: 375916 309656 66260 0 260
-/+ buffers: 309396 66520
Swap: 103120 61532 41588
So there you have it, a scripted way to find out what's eating most of your swap. (script attached).
kbeezie, you seem to be on a twofold mission to be the most helpful person on our forum and to re-establish our faith in this community. Well, the little things like this help a lot.
I remember the days when everyone shared everything they learned about android. Then many lost their way, and open source seemed to become everyone's pet secret.
I understand getting huge chunks of hard work ripped off is crappy; when you've worked so hard on something and someone just yoinks it for themselves.
But when someone who isn't learned in code drops by and sees this, it makes them just a little more excited about typing stuff into terminal emulator. And I bet that's how a lot of great devs are born.
Cheers.
Sent from my HTC Desire Z using xda app-developers app
Kbee u know how to set how much % of zram to use? Thank in advance
Sent from my HTC Desire Z using xda app-developers app
Steven How said:
Kbee u know how to set how much % of zram to use? Thank in advance
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
In Mimicry 1.3.2 RC1 (soon to be released as 1.3.2) the zRam setting has been fixed (ie: setting it in 1.3.1 does nothing), so that you can pick 10%, 18%, 26% under performance setting (ie: that % of total ram).
kbeezie said:
In Mimicry 1.3.2 RC1 (soon to be released as 1.3.2) the zRam setting has been fixed (ie: setting it in 1.3.1 does nothing), so that you can pick 10%, 18%, 26% under performance setting (ie: that % of total ram).
Click to expand...
Click to collapse
I'm not using that Rom anyway..using ice sensewich atm..
Sent from my HTC Desire Z using xda app-developers app
Steven How said:
I'm not using that Rom anyway..using ice sensewich atm..
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
Ahh ok, well the kernel would have to have zRam (formerly compcache) support enabled and a script to set it up. I don't know if the DataSwap mod in my signature would work for a sense rom or not (it might, it's very simple).
kbeezie said:
Ahh ok, well the kernel would have to have zRam (formerly compcache) support enabled and a script to set it up. I don't know if the DataSwap mod in my signature would work for a sense rom or not (it might, it's very simple).
Click to expand...
Click to collapse
Wat I know is swappiness is using sd card,and zram is compress the file to disk and wat is dataswap?
Sent from my HTC Desire Z using xda app-developers app
Steven How said:
Wat I know is swappiness is using sd card,and zram is compress the file to disk and wat is dataswap?
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
Simply put a swap file on your /data partition (ie: faster and more fluid than SD-Swap, and after a reboot is recreated on a different part of the chip so it's not working one part of the chip all the time like SD-Swap does).
Click the linky in signature it goes into a tad more details. It's generally recommended to use it with Sd-ext since that way you split the I/O between two devices.
kbeezie said:
Simply put a swap file on your /data partition (ie: faster and more fluid than SD-Swap, and after a reboot is recreated on a different part of the chip so it's not working one part of the chip all the time like SD-Swap does).
Click the linky in signature it goes into a tad more details. It's generally recommended to use it with Sd-ext since that way you split the I/O between two devices.
Click to expand...
Click to collapse
So wat I do is just flash that zip in attachment?isn't that for elitemod only??
Sent from my HTC Desire Z using xda app-developers app
So now wat should I do? Can I just extract the file of 80dataswap to init.d? And the sdext? And set permission to rwx rwx rwx? How much data swap is ok? 128 or 64 mb? If I enable data swap,will my data partition decrease ?
I'm still kinda confuse with dataswap and sd ext after reading up..still don't really understand..hope someone can simplify for me to understand thank in advance
Sent from my HTC Desire Z using xda app-developers app
No you just flash it, it uses the aroma installer to let you pick and choose options and no its not just for elitemod just the original code came from elitemod.
And yes dataswap uses /data space (which is negligible if you have an enabled sdext partition on your sd card since data/app and /app-private get stored there instead.)
The big question is whether or not you do enough on your phone to actually need the benefits of swap. It usually helps multitasking or performance of memory greedy apps
Sent from my T-Mobile G2
kbeezie said:
No you just flash it, it uses the aroma installer to let you pick and choose options and no its not just for elitemod just the original code came from elitemod.
And yes dataswap uses /data space (which is negligible if you have an enabled sdext partition on your sd card since data/app and /app-private get stored there instead.)
The big question is whether or not you do enough on your phone to actually need the benefits of swap. It usually helps multitasking or performance of memory greedy apps
Sent from my T-Mobile G2
Click to expand...
Click to collapse
After I enable the data swap..its pretty fluid....I already have a sd ext 122mb after I activate I left only 24 mb free and all the apps vanish..left only like 64kb in that app..unable to open..any idea?
How do I check if my data swap is working? And setting for it?
Sent from my HTC Desire Z using xda app-developers app
Steven How said:
After I enable the data swap..its pretty fluid....I already have a sd ext 122mb after I activate I left only 24 mb free and all the apps vanish..left only like 64kb in that app..unable to open..any idea?
How do I check if my data swap is working? And setting for it?
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
128MB SD-EXT is extremely small (and I've no clue why anyone would make one that small, maybe an extremely old school method of apps2SD suggestion), the SD-EXT partition must be at LEAST as big as your /data , so 2GB Sd-ext is recommended as a good fit. So if you wish to use the sd-ext feature you need to re-partition your SD card with a bigger SD-EXT partition.
Dataswap would show under typing free in the terminal (or adb shell) on the swap line.
kbeezie said:
128MB SD-EXT is extremely small (and I've no clue why anyone would make one that small, maybe an extremely old school method of apps2SD suggestion), the SD-EXT partition must be at LEAST as big as your /data , so 2GB Sd-ext is recommended as a good fit. So if you wish to use the sd-ext feature you need to re-partition your SD card with a bigger SD-EXT partition.
Dataswap would show under typing free in the terminal (or adb shell) on the swap line.
Click to expand...
Click to collapse
Idk how I get 128mb of sd ext and how do I check the data swap with terminal?? The command free??
Mind post me a link to make to make bigger partition of sd ext? Thank you in advance
Sent from my HTC Desire Z using xda app-developers app
in terminal type
free
if you have 4ext recovery you can check it there as well as change your sdext partition. you should also be able to partition your sdcard via clockwork
Sent from my HTC Vision using xda premium
demkantor said:
in terminal type
free
if you have 4ext recovery you can check it there as well as change your sdext partition. you should also be able to partition your sdcard via clockwork
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Using cwm to make sd ext? All my data will be erase right? Have to wait till next 2 week since I have exam..
Sent from my HTC Desire Z using xda app-developers app
you can backit up first and then restore it. if you change to 4ext recovery it can partition without a wipe, one of the many reasons I recomend it over clockwork
Sent from my HTC Vision using xda premium
Steven How said:
Using cwm to make sd ext? All my data will be erase right? Have to wait till next 2 week since I have exam..
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
Using either ClockWorkMod or 4EXT Touch Recovery ( I prefer 4EXT ), make a Nandroid backup of your currently installed rom.
Then Toggle USB Storage and copy ALL the content off of your SD Card onto your computer.
Using either CWM or 4EXT Repartition the SD card (all data will be lost on the card):
At least a 2GB SD-EXT (1GB is the limit, do not make one smaller than 1GB) partition.
Skip the option for SD Swap (ie: don't bother with a swap partition on the SD Card if you're going to use DataSwap)
And in 4EXT if you're asked for a size for a second SD-EXT partition, skip it, only the first Sd-ext partition will be supported.
If asked for a filesystem type, choose ext4.
THEN Toggle USB Storage again and copy back all your SD card data (which will be going onto the FAT32 portion of the SD card).
You'll then have the SD card with data again, but this time with a 2GB SD-EXT partition on it.
If you have a Rom backup Prior to the SD-EXT enabling (which was advised to have to begin with), you can restore that so that you get your apps back, and then re-enable SD-EXT now that the partition has enough storage to hold all the apps.
demkantor said:
you can backit up first and then restore it. if you change to 4ext recovery it can partition without a wipe, one of the many reasons I recomend it over clockwork
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
U mean I can reset my sd ext without formatting the sd card with 4xt recovery? And after I install app over to sd ext partition..the app can't be found anywhere,any idea?
Sent from my HTC Desire Z using xda app-developers app
yes but it is a good idea to make a back up first just in case
as for the apps hidden this may be due to the rom you are using, some don't have sdext enabled out of the box
Sent from my HTC Vision using xda premium

Categories

Resources