Swap on captivate - Captivate General

I run the risk of sounding extremely ignorant and retarded, but I really gotta ask this. I also own an hd2, or atleast used to, until my girl crapped it up. There is something called swap in the hd2 which allows you to use a portion of the sdcard as system ram, promoting increased multitasking and preventing refreshing of apps. This is on cm7 as well as sense based hd2 roms. I had my captivate for more than a year now, and one of the biggest issues of stock based roms is the huge amount of memory taken by tw and samsung crap, causing aggressive app killing and not allowing a lot of multitasking. When I am on miui(never going back to anything else! ) I have huge amounts of ram, allowing me to freely multitask. But still I guess I could use 256mb more! So why can't we implement swap like hd2 and make our pones a lot lot lot better??? What's stopping us? Kernel source? ROM source? I would be very grateful if someone could take the time to explain this to me....
Sent from my cell phone. DUH

CWM gives swap capability as do many tweaks implemented in custom ROMs. If rooted you can d/l different apps to install performance and SD tweaks (e.g., System Tuner tweaks swap to 2048mb). However, you still need an external microSD in your Cappy.

Oh it does?? I thought that ext4 partioning was just for storing apps, Like as in app2sd. that is, it increases the rom, not the ram.
Sent from my cell phone. DUH

Related

can Vodoo Lag Fix be Ported for us? - Post from the I9000

Great idea Chainfire.
When a user first decided to use a modified/custom/different firmware on their Samsung Galaxy S, they usually go through these steps:
1. Flash with Odin/Kies
2. Flash update.zip for root
3. Flash other update.zip (GPS fix, battery mod, etc) as necessary
4. Do a lag fix.
It took me a few hours and reading through countless posts to see the pro's and con's for each lag fix.
I will try to go through them as succintly as possible, and if anyone needs more explanation you can either click the link or do a search.
Feel free to correct me, this is how I see the lagfix as when I applied and tested it
Before starting, here is the internal structure of non volatile memory (where data persist after reboots) in Samsung Galaxy S:
- 128MB of very fast NAND (some people incorrectly called this ROM)
- 16/8GB of internal SD with 2GB set aside for application installs (this is why you see your internal SD as either 13+ or 5+ remaining, the 2GB shows up as Internal Phone storage)
- your micro SD card (external SD)
The lag is due to the inefficiency of the file system used in the 2GB (/data) partition for applications, stalling a lot of the read/write operation. You can search this for further reading if you want to.
Lag fixes
- MoDaCo's lagfix: Better than stock on old F/Ws but about the same as JM1/2/5 and JP1/2/3
This lagfix uses the 128MB very fast NAND to store your applications instead.
Pro: very very fast applications opening/switching performance
Cons: You are limited to 128MB of apps including built in apps .
- Mimocan's lagfix: Significant improvements in performance which can also be benchmarked. Requires an external SDcard formatted partly in fat and partly ext3 or ext4.
This moves the /data files into the ext3/ext4 partition on an external microSD card
Pros: very fast, lots of storage space for apps
Cons: You will be unable to unmount your external SD card when the phone is on, and you need an external SD card for this to work
- OneClick Lagfix by RyanZA: Based on mimocan but using the internal SD card. Results are better than with basic mimocan and it is a lot easier to install.
This creates a file inside the 2GB partition that is mounted as /data.
Pros: very fast, lots of storage space for apps, easy to install and undo, available in the market.
Cons: if you install too many apps you won't be able to roll back the lag fix unless you delete some apps. Superseded by RyanZA lag fix 2.3 beta
Erroneous free space on Internal Phone storage (/data)
There are still stalls when installing apps, and when accessing android applications database
- CFLagFix by Chainfire: Based on mimocan, approximately the same as RyanZA's fix.
pretty much the same as OneClick Lagfix.
look above for Pros
Cons: There are still stalls when installing apps, and when accessing android applications database
-Voodoo lag fix by supercurio: a new class of total lag fix
Instead of creating a file inside the rfs partition and mounting it as /data/data, the voodoo lag fix updates the kernel so that the the 2GB partition is using ext4 instead or rfs. This gives the best possible lag fix.
Pros: fast, smooth, across everything you do. The way galaxy s should have been in the first place. The best and most consistent lag fix with no remaining lag left that is caused by rfs.
Support with other kernel mods are starting to show: backlight mod, OC/UV kernel
Cons: Incompatible with clockworkmod recovery
I am now using voodoo lagfix beta 4 only
http://project-voodoo.org/
Love the Vodoo color would like to try this as well...they are getting OUTRAGIOUS numbers in quadrant!
1deviant said:
Great idea Chainfire.
When a user first decided to use a modified/custom/different firmware on their Samsung Galaxy S, they usually go through these steps:
1. Flash with Odin/Kies
2. Flash update.zip for root
3. Flash other update.zip (GPS fix, battery mod, etc) as necessary
4. Do a lag fix.
It took me a few hours and reading through countless posts to see the pro's and con's for each lag fix.
I will try to go through them as succintly as possible, and if anyone needs more explanation you can either click the link or do a search.
Feel free to correct me, this is how I see the lagfix as when I applied and tested it
Before starting, here is the internal structure of non volatile memory (where data persist after reboots) in Samsung Galaxy S:
- 128MB of very fast NAND (some people incorrectly called this ROM)
- 16/8GB of internal SD with 2GB set aside for application installs (this is why you see your internal SD as either 13+ or 5+ remaining, the 2GB shows up as Internal Phone storage)
- your micro SD card (external SD)
The lag is due to the inefficiency of the file system used in the 2GB (/data) partition for applications, stalling a lot of the read/write operation. You can search this for further reading if you want to.
Lag fixes
- MoDaCo's lagfix: Better than stock on old F/Ws but about the same as JM1/2/5 and JP1/2/3
This lagfix uses the 128MB very fast NAND to store your applications instead.
Pro: very very fast applications opening/switching performance
Cons: You are limited to 128MB of apps including built in apps .
- Mimocan's lagfix: Significant improvements in performance which can also be benchmarked. Requires an external SDcard formatted partly in fat and partly ext3 or ext4.
This moves the /data files into the ext3/ext4 partition on an external microSD card
Pros: very fast, lots of storage space for apps
Cons: You will be unable to unmount your external SD card when the phone is on, and you need an external SD card for this to work
- OneClick Lagfix by RyanZA: Based on mimocan but using the internal SD card. Results are better than with basic mimocan and it is a lot easier to install.
This creates a file inside the 2GB partition that is mounted as /data.
Pros: very fast, lots of storage space for apps, easy to install and undo, available in the market.
Cons: if you install too many apps you won't be able to roll back the lag fix unless you delete some apps. Superseded by RyanZA lag fix 2.3 beta
Erroneous free space on Internal Phone storage (/data)
There are still stalls when installing apps, and when accessing android applications database
- CFLagFix by Chainfire: Based on mimocan, approximately the same as RyanZA's fix.
pretty much the same as OneClick Lagfix.
look above for Pros
Cons: There are still stalls when installing apps, and when accessing android applications database
-Voodoo lag fix by supercurio: a new class of total lag fix
Instead of creating a file inside the rfs partition and mounting it as /data/data, the voodoo lag fix updates the kernel so that the the 2GB partition is using ext4 instead or rfs. This gives the best possible lag fix.
Pros: fast, smooth, across everything you do. The way galaxy s should have been in the first place. The best and most consistent lag fix with no remaining lag left that is caused by rfs.
Support with other kernel mods are starting to show: backlight mod, OC/UV kernel
Cons: Incompatible with clockworkmod recovery
I am now using voodoo lagfix beta 4 only
http://project-voodoo.org/
Love the Vodoo color would like to try this as well...they are getting OUTRAGIOUS numbers in quadrant!
Click to expand...
Click to collapse
I believe we have diffrent ext partitions than on the other galaxy s variants.
Sent from my SPH-D700 using XDA App
the epic doesn't need a lag fix. the quadrant numbers are due to a flaw in quadrant. the lag fix isn't really providing that much better performance (except fixing the lag for phones that need it), quadrant just blows the score out of proportion. Cyanogen was able to tailor an exploit to show this happens on any phone: http://briefmobile.com/cyanogen-demonstrates-quadrants-flaws
as for voodoo color, I don't believe there is a general port yet, but it is built-in to the MixUp kernel.
dwyw42 said:
the epic doesn't need a lag fix. the quadrant numbers are due to a flaw in quadrant. the lag fix isn't really providing that much better performance (except fixing the lag for phones that need it), quadrant just blows the score out of proportion. Cyanogen was able to tailor an exploit to show this happens on any phone: http://briefmobile.com/cyanogen-demonstrates-quadrants-flaws
as for voodoo color, I don't believe there is a general port yet, but it is built-in to the MixUp kernel.
Click to expand...
Click to collapse
I have the mixup kernel w/vodoo and love it! I just saw this NFO and wanted a more educated explaination...now I have it!
Forever looking to run faster, just one of my many flaws..never satisfied.
Do love my Epic!!!
Its included in the boss rom and GenuisDogs kernels
Wait a minute? Are you saying that its possible for the voodoo lag fix to be ported to the Epic 4g and thus making this fast phone faster? Am I reading correctly? (I saw on his page that they are planning to work on te Epic as well)
We do not need the lag fix. The lag fix will not make our phone any faster.
voodoo cons: needs more battery than oclf or chainfire's fix
my experience is, that voodoo is less smooth (less means a bit less but its great too - not laggy)
Eazail70x7 said:
Wait a minute? Are you saying that its possible for the voodoo lag fix to be ported to the Epic 4g and thus making this fast phone faster? Am I reading correctly? (I saw on his page that they are planning to work on te Epic as well)
Click to expand...
Click to collapse
I talked to Supercurio about me porting it before, but we came to the conclusion that it's unnecessary. We don't use the same NAND chips as the other phones, so we don't have to deal with all the lag **** except what's introduced with RFS. And changing from RFS breaks clockworkmod, so I am avoiding it.
All this is nice,but why is nobody talkin about a fix to use whole 512mb of ram instead 324mb?I had MTS3GS with 600mhz cpu and 512 ram and I hate to admit but it was faster than my Epic even with Sence.If someone could come up with a fix to use whole 512mb instead of 324mb then this phone would fly,this is the only thing that hinders this phone.Rest of the ram is used for cache(ramdisk).
What needs to be done is whole 512mb used for ram and fast NAND used for cache.324mb ram is not sufficient to run android smoothly.

			
				
lviv73 said:
All this is nice,but why is nobody talkin about a fix to use whole 512mb of ram instead 324mb?I had MTS3GS with 600mhz cpu and 512 ram and I hate to admit but it was faster than my Epic even with Sence.If someone could come up with a fix to use whole 512mb instead of 324mb then this phone would fly,this is the only thing that hinders this phone.Rest of the ram is used for cache(ramdisk).
What needs to be done is whole 512mb used for ram and fast NAND used for cache.324mb ram is not sufficient to run android smoothly.
Click to expand...
Click to collapse
I'm trying to decide if you are trolling this thread or if you recently suffered head trauma. Those are the two most likely things that I can imagine would cause someone to say the MTS3GS is anywhere near as fast as the epic.
richse said:
I'm trying to decide if you are trolling this thread or if you recently suffered head trauma. Those are the two most likely things that I can imagine would cause someone to say the MTS3GS is anywhere near as fast as the epic.
Click to expand...
Click to collapse
B,talk to ur moms like that fagit,i had mytouch slide and it was just as fast if not faster with haf of cpu power.
lviv73 said:
B,talk to ur moms like that fagit,i had mytouch slide and it was just as fast if not faster with haf of cpu power.
Click to expand...
Click to collapse
Could someone translate this from "stupid" into english so I can read it and possibly respond?
Lol I'm having a difficult time myself.....is it really faster than the epic? Unlike some people, I don't post nonsense that I know nothing about...I would rather ask first and try and get a correct answer
Sent from my SPH-D700 using XDA App
specialk0324 said:
Lol I'm having a difficult time myself.....is it really faster than the epic? Unlike some people, I don't post nonsense that I know nothing about...I would rather ask first and try and get a correct answer
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yeah man,mytouch slide was the fastest phone I ever owned(with 2.1),i think that having 512mb ram is better than having 1ghz cpu.If Epic used 512MB it would most likely be even faster.
Which I tried explaining to the last dude before that ***** came at me wrong without a reason,but its the intenet what can you do,lol.
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
infamousjax said:
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
Click to expand...
Click to collapse
Go to tmobile and use one with stock 2.1 its just as fast as epic.I dont know what they did to that underpowered phone but its fast.It might not be as fast watching videos,loadind games,etc.But android system itself is fast and more snappy then Epic,i compared the two,gotta be extra ram.
Don't take this the wrong way....but if it didn't load games or play movies as fast, doesn't that at least in part make the epic faster?
Sent from my SPH-D700 using XDA App
infamousjax said:
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
Click to expand...
Click to collapse
+1 agreed, there is no way.
Sent from my SPH-D700 using XDA App

[Q] Any SGS4G Kernels with Swap Support?

Are there any other existing kernels for sgs4g besides the ones on the first page?
Reason I ask is because I'm trying to use a swap partition, but it seems these kernels are not swap enabled.
Why has nobody bothered to compile any custom kernels for the sgs4g? I am trying myself, but no luck so far.
Any ideas?
Thanks,
S
sconsylman said:
Are there any other existing kernels for sgs4g besides the ones on the first page?
Reason I ask is because I'm trying to use a swap partition, but it seems these kernels are not swap enabled.
Why has nobody bothered to compile any custom kernels for the sgs4g? I am trying myself, but no luck so far.
Any ideas?
Thanks,
S
Click to expand...
Click to collapse
I'm not sure I can answer the whole question as to why we don't use swap, but I can say that we just got the GB kernel source, and people are still working on it and haven't posted anything.... yet. Patients...
But, I noticed that the Bali 3.3 kernel (KD1) also did not have swap. Maybe drhonk and Krylon360 tried it and swap didn't help or improve performance.
The rest of the kernels you'll find are either stock leaks, or modified stock leaks. Samsung doesn't like swap I guess. Or swapping on SD/MMC sucks hard.
I know in newer kernels (3.0 and greater), there is a new driver for mtd-swap, but it is still very new and I doubt anyone will use it in production for quite some time.
Using swap on Android is not such a great idea, it goes a little bit against native Android memory management. Then benefit can be that more programs will stay in memory and won't need to reload, but the phone will become a lot slower, even with small partitions like 32MB. With 128MB or higher it will become almost unusable. Ask me how I know
I think the need for swap was gone once phones started coming with 512mb+ ram. I used swap all the time (also required for GB) on my MT3G, since it only had like 192mb ram. It never made the phone work faster at all, in fact it usually slowed down over time running, it really just made it so stuff didn't force close due to running out of memory. This shouldn't be needed on this or any new phone.
So Bali 3.3 is a GingerBread build? Didn't know that. Kinda figures I guess. Thought I had already tried it though and couldn't bootload. I'll give it another whack. His stuff is awesome of course. I'm not demanding it, mind you, just trying to see why it would not be included. Kind of like not having a /proc/config.gz file in some Android builds, don't really know the reason why they're not included (results in not able to mount ubuntu builds, anybody have these let me know .
This appears to be the only source of kernels for our phones, no swap support enabled though. http://forum.xda-developers.com/showthread.php?t=1194032
(Thanks dr.honk!)
As for the swap partition not making sense, I have a hard time understanding why it wouldn't just provide a static and beneficial extended memory source. I am familiar with the memory management features of Android, and actually don't use any additional task killers as I've found them to be conflicting often.
But Android is built off the Linux system/kernel, so why does dedicated swap work with a large OS but not the smaller but similar Android OS/kernel?
Thanks!
sconsylman said:
As for the swap partition not making sense, I have a hard time understanding why it wouldn't just provide a static and beneficial extended memory source. I am familiar with the memory management features of Android, and actually don't use any additional task killers as I've found them to be conflicting often.
But Android is built off the Linux system/kernel, so why does dedicated swap work with a large OS but not the smaller but similar Android OS/kernel?
Click to expand...
Click to collapse
In short, the phone will become annoyingly slow.
Swap works on kernel level. Android will see this as additional virtual memory, so it will keep more programs alive and won't unload them. For example a browser will hog a lot of memory causing other programs' memory pages to be swapped. Kernel doesn't differentiate between programs, so, for example, the launcher memory pages will be swapped. Or even the active program you are currently working with can have part of its memory in the swap. Next time you try to do something (like scrolling), the memory pages will have to be brought back. Flash memory is not particularly fast (in fact for swap it is very slow), so you can we waiting for some noticeable time for many actions to complete. You'll have a lot of jerky movements, delays, temporary freezes, forget any smoothness. It is just annoying, trust me, I've tried
Ah, ok so the swapping is noticeably slower than the ram on the phone (512mb). I would not figure that it would be too much of a factor, especially on class 6+ sd cards. So there is absolutely no way of coding the system apps to be ram based, and everything else to be swappable? I'm surprised that this has not been done, but I assume that the reason is the expanding active ram capacities on new phones.
So were you experimenting on the sgs4g, or was it another model? And if so, what were you using? Froyo swap enabled kernel?
The HTC Thunderbolt has some similar specs.
http://forum.xda-developers.com/showthread.php?t=1106420
More ram 768mb vs 512mb, more internal storage 4g vs 1000mb, but uses a 1g single core scorpion processor instead of our 1g single core hummingbird. Some are having good luck with this device and swapping (taking all "facts" with a grain of salt). There is more like this too, with a number of market apps to support swapping: Swapper2, Swap for Root, Diaper swappers forum (oops, that one doesn't work for some reason).
sconsylman said:
So Bali 3.3 is a GingerBread build? Didn't know that. Kinda figures I guess.
Click to expand...
Click to collapse
No, Bali 3.3 is Froyo.
I did try it on this phone few months ago when I was still on Froyo with Bali kernel. Don't try to load in on GB, wait until DrHonk makes a new one, he actually may soon.
I personally can't imagine how anybody could use swap on Android and like it, but everybody's mileage varies. The benefit of using swap wouldn't be speed but rather less program reloads. For example you browse the web when a call comes. You answer the call, maybe go to address book, or take some notes, or send some pictures, etc. Everything will be a little slow and jerky, but with swap enabled you have better chance that when returning to the browser it will still be on the same page without reloading from the server.
Just checking again to see if anyone knows of any KJ6 kernels with swap enabled, as I'm currently getting memory warnings from running Backtrack 5 non-gnome. It works pretty well otherwise (besides the lack of space, thanks obsolete fat32).
??
sconsylman said:
Just checking again to see if anyone knows of any KJ6 kernels with swap enabled, as I'm currently getting memory warnings from running Backtrack 5 non-gnome. It works pretty well otherwise (besides the lack of space, thanks obsolete fat32).
??
Click to expand...
Click to collapse
No swap. what version of the kernel are you running?
bhundven said:
No swap. what version of the kernel are you running?
Click to expand...
Click to collapse
Sent from my SGH-T959V using xda premium
2.6.35.7 KJ6-CL694138
It has [email protected]#9 signature on it. I know we had spoken briefly about swap. What linux are you running?
I know that the Debdroid program is successfully running swap with good results, but it won't mount right with the specific scripts (our phones working mount scripts are different, I linked them in my linux post). I can take some coding from that programs scripts but of course it won't work without the kernel having swap built in.
Sent from my SGH-T959V using xda premium

[Q] RAM

Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
B RAD G 296 said:
Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
Click to expand...
Click to collapse
IIRC, there is a mod to use either a partition or a file on your MicroSD card for SWAP space... which is basically where programs that normally reside in ram would go when not in use... think its one by sparksco...
however, I dont see hardly any kernels with it built in these days... its a GOD SEND on my HD2 and Hero... Id love to use SWAP partition on all my devices...
hope someone more knowledgeable about whats out will reply
First this is the wrong thread for questions and answers.
And yes we have a few kernals that allow swap. But the rom as well needs to have that available from what I recall. Think cm uses 128 max though. I know there is a miui rom that uses swap here too. Does come in handy. You will need to reformat your sd card for swap if your going to use it. There is also ext3 and 4 and that acts like available storage space for your phone. I would only use 1-1.5 gb for that though. Some of these big games only want to go on your sd card.
Sent from my PG06100 using Tapatalk
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
what that makes no sense how does it slow down
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
WARNING: LONG WINDED POST... read at your own risk...
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
sparksco said:
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
Click to expand...
Click to collapse
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
There are apps like juwe11's ram app, rom toolbox has a memory settings, script manager in combination with v6 supercharger script (which I highly recommend, as it helps prevent sense reloads), auto killer memory, etc. Each phone has a "brain" of it's own. My phone likes v6 or auto killer memory, but other phones like juwe11's ramscript/app. Trial and error. Good luck, and post your results if you want to.
Sent from my PG06100 using Tapatalk
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
Really doesn't get explained any better than this.
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
sparksco said:
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
Click to expand...
Click to collapse
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Hammerfest said:
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Click to expand...
Click to collapse
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
sparksco said:
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
Click to expand...
Click to collapse
im cool with that
actually, if someone can get YES/NO in CWM like on my HD2 you can put it all in the rom and they can choose right at the get-go
that being said, you can still use the custom cmparts.apk even w/o using swap partition... not that big of a conflict since if you have SWAP partition it works if not its disabled... only the functionality is present... and you dont have to maintain a separate script/package/whatever...
also, if your SDCard is acting up, use the SDCard formatter do a full format, then use HD low level format tool... or if you bought HDD Regenerator like me, its easy to find the health of your SD Media... but thats a moot matter... and im done talking for the night i think... (well the night ends in 3min... :X )
~
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
zenulator said:
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
AFAICT non of our kernels support compcache. It's a patch you have to apply to the kernel itself in order to make it work.
http://code.google.com/p/compcache/wiki/Patches
THANK YOU
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
B RAD G 296 said:
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
Click to expand...
Click to collapse
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
strapped365 said:
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Hammerfest said:
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Click to expand...
Click to collapse
Thanks for all the insight and I have taken allot in from this whole discussion.
Sent from my PG06100 using Tapatalk
I was told in a thread that 128 was Max on swap but I'm always willing to try new things. I did come from my old Heroc was a great phone to first start of on, till it took a crap on me.,lol meaning my mother in law threw it in the washing machine. Then my son threw my wifes in the toilet. Was great because of the best buy protection. Loved the old device but the shift is like night and day. Don't really use the keyboard. what is all I would need to do to use more swap? I haven't had any lock UPS what so ever. Class 4 8GB btw.
Sent from my PG06100 using Tapatalk

Infuse ram

is there a way to increase the infuse ram?
well no and yes. you can't physically add ram very easily and i doubt the board has space for it even if you did have the specialized soldering equipment.
but there is a big ram mod on the galaxy s that was attempted on the infuse but was buggy that makes use of ram that was allocated for something else. if someone wants to do the kernel work i think something like 20-30 mb more could be available. i'm not really sure of the details but a stock galaxy s has like 300-315 mb available and most custom kernels make 335-345 available out of 384 physical (128 is video ram and i'm not counting that). the infuse physically has 512 mb so maybe we could use up to 470 if some work was done in that area. not really a big deal though, i dont have any lag associated with programs being dumped from ram and restarting. the 440 mbs that i have available now is plenty for a nice clean aosp rom.
if you really need more ram maybe swap space (the linux equivalent of a page file/virtual memory) could be setup on the sdcard. but that wont make the phone any faster, it would just give the cpu more work to do. it would strictly help with a situation where things were getting wiped from ram too often when ram was low.
Jack it up and park a SGS3 under it. :silly:
Dani897 said:
well no and yes. you can't physically add ram very easily and i doubt the board has space for it even if you did have the specialized soldering equipment.
but there is a big ram mod on the galaxy s that was attempted on the infuse but was buggy that makes use of ram that was allocated for something else. if someone wants to do the kernel work i think something like 20-30 mb more could be available. i'm not really sure of the details but a stock galaxy s has like 300-315 mb available and most custom kernels make 335-345 available out of 384 physical (128 is video ram and i'm not counting that). the infuse physically has 512 mb so maybe we could use up to 470 if some work was done in that area. not really a big deal though, i dont have any lag associated with programs being dumped from ram and restarting. the 440 mbs that i have available now is plenty for a nice clean aosp rom.
if you really need more ram maybe swap space (the linux equivalent of a page file/virtual memory) could be setup on the sdcard. but that wont make the phone any faster, it would just give the cpu more work to do. it would strictly help with a situation where things were getting wiped from ram too often when ram was low.
Click to expand...
Click to collapse
what rom and what launcher are you using becuase im experiencing abit of lag and i want it gone!!
Yoshiikim said:
what rom and what launcher are you using becuase im experiencing abit of lag and i want it gone!!
Click to expand...
Click to collapse
run this kernel:
http://forum.xda-developers.com/showthread.php?t=1134995
with this rom:
http://forum.xda-developers.com/showthread.php?t=1100625
^^^ lol. that kernel might have access to more ram but it's froyo. i doubt the lag the op is experienceing is ram related. but he can try it with it's misreported clock speeds and all.
my best experience with touchwiz roms is a stock debloated rom, odex, not deodex. and there is an overclock kernel around somewhere. the tw4 launcher works best for me, but of course that needs framework mods to run, the tw4.5 launcher in the market will work but some features don't work too well on the infuse. turn off auto rotate. the sony arc launcher and the latest tw3 launcher with looped scrolling are also nice. but i like tw4 for it's improved widget picker. the stock android widget picker is so slow.
best rom now is aosp. i'm running entropy's ics build but also enjoyed rem-ics. either the trebuchet launcher or the sgs3 launcher should be fine. i like folders in the app drawer on sgs3. but i keep my phone pretty clean, if you do a clean install with either a stock unmodified rom and custom kernel or a clean aosp rom and you still feel lag then you might want to invest in an sgs3.
If you got the knowledge you can rewright the code to use ram differently as noted earlier...but no amount of software hacking will actually get you more ram...I know linux has a thing called swap which is similar to ram but is its own partion of the HDD...if someone had the knowledge they could possibly create a partion of it and add some kernel hacks to utilize it...
But as far as actually adding more ram-impossible as far as I know...there is no chip on the mother board to add ram.like in a desktop or laptop...I believe its built into the motherboard so your stuck with what's on it
Sent from my HTC Holiday using Tapatalk 2

Best, Stable ROM?

So frustrated with this stupid phone. My daughter has been using it and it's slow, crashes a lot and always running out of internal storage.
Is there a STABLE ROM that has all working features that would help with the issues I'm having? I'd like something where everything (i.e. camera, wifi calling, rotation, decent battery life, etc.) is working as it should. Don't necessarily need the newest version of android, just something that will alleviate the problems I'm having without breaking anything.
Do the custom ROMs fix the problem of the extremely limited internal storage on this phone?
Thanks in advance.
Look for AntonX's Barebones in the Dev section. If you have any curiosity regarding the ROM - read through the ROM thread.
I'll second that.
Like lumin said, barebones is your best bet if you want every feature working.
The most stable ROM out there is stock. Other than that Barebones.
Good advice. I actually wound up going that way before I saw these replies.
I installed Basic with a Twist kernel, which then gave me CWM and then installed Barebones.
Went smoothly, no need at all for a data wipe. It freed some extra internal storage. Seems to be a lot smoother now, but that's really just my initial observation.
I came from stock/rooted KJ6. What's the details behind it actually running smoother with the new kernel and ROM? What exactly makes it faster if anything?
I agree, I'm running Barebones with the basic with a twist kernel. Excellent in terms of functionality and stability. Just throw on a nice launcher and enjoy! Also been on the battery for 13 hours, with moderate use. (Light Facebook and texting, app downloading) and barely at 45% battery life.
I believe the custom Kernel that antonx designed is the reason for the speed/smoothness.
These threads usually get axed by a moderator, because the best rom is the one you like.
It's a preference.
I still like gb valhalla black by RaverX3X with my Blastoff v2.5 kernel. But that's what I like. Then, of course I use a different launcher, and tweak the rom to my liking, by the time I'm done making the rom perfect, I blow it away with another cm9-aries build that is still broken.... :sigh:
The problem with these threads is someone will say that a rom someone else likes sucks and the trolls feed on this negativity and multiply in numbers until someone finally gives in and reports the thread. (usually me)
bhundven said:
These threads usually get axed by a moderator, because the best rom is the one you like.
It's a preference.
I still like gb valhalla black by RaverX3X with my Blastoff v2.5 kernel. But that's what I like. Then, of course I use a different launcher, and tweak the rom to my liking, by the time I'm done making the rom perfect, I blow it away with another cm9-aries build that is still broken.... :sigh:
The problem with these threads is someone will say that a rom someone else likes sucks and the trolls feed on this negativity and multiply in numbers until someone finally gives in and reports the thread. (usually me)
Click to expand...
Click to collapse
I understand. I did give my definition of what a "best" ROM is so I'd expect that people would make suggestions geared to that, not necessarily what they like. From reading some of the threads, it seems like my needs would eliminate any ICS ROM.
I did have one random reboot with the basic with a twist/barebones combo, so that's something I have to keep an eye on.
This is my daughter's phone. I really have no interest in constantly tweaking this or getting too far away from stock. All I wanted was a to have something that wasn't as slow/laggy and to free up some system space.
Right now, I'm good with what I have. I'm still curious as to why either the kernel or the ROM would reduce lag/improve speed?
Which of these features contributes most to that and why when comparing to pure stock? ext4 file system? jhash3? build.prop/init.d tweaks? I really have no idea.
Thanks again to everyone.
Kernel
Features
initramfs from TeamAcid, including CWM5, SuperSU, forced ext4, etc.
Usual CIFS, TUN. I didn't include FUSE, if anybody needs it let me know.
BLN. Use BLN Control app from market to activate.
Voodoo Sound so paid app is not needed. Voodoo Sound app from market is required. Once installed, enable Smart Amplifier, it's the best thing you can do to improve music listening experience with our phone.
jhash3 for faster hash calculations. Used widely across the kernel, especially in networking.
OC/UV support with extended frequency table. Added 600Mhz, 900Mhz, 1.1Ghz, 1.2 Ghz, 1.3 Ghz, 1.4 Ghz. Use SetCPU or Xan's Voltage Control to enable and control frequency and voltages. Tegrak can be used only with no-OC/UV version.
ondemandX and smartassV2 governors. One of these should probably be preferred over stock ondemand. Change with SetCPU or similar.
TinyRCU. More lightweight version, it fits better our single CPU system.
Swap support, although I don't recommend using it.
SIO and BFQ I/O schedulers in addition to noop, deadline, and cfq that we already have.
ROM
Features
Will not wipe your programs or data, /data is preserved upon install
Heavily debloated. Most essentials apps are still there (like WiFi Calling)
No extra programs added, you need to add your own
ODEXed to save space in /data
CarrierIQ is completely removed
Extended Power Menu (including Screenshot)
Extended Quick Panel (10 buttons, including Data toggle)
1% battery (horizontal)
CRT-Off
Time zone version 2012b
/etc/hosts to cut ads out of the box (keep up to date with AdAway or similar)
Few conservative presets in build.prop and init.d
Basic with a Twist 1.1.3 kernel included
Hey man, from what u said bout the storage, I recommend u buy a 16/32 GB class 4-10, format it w 1-4 GB ext4 and use the app2sd or link2sd script then u dont have to worry bout those internal low storage
Sent from my SGH-T959V using xda premium
daothanhduy1996 said:
Hey man, from what u said bout the storage, I recommend u buy a 16/32 GB class 4-10, format it w 1-4 GB ext4 and use the app2sd or link2sd script then u dont have to worry bout those internal low storage
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
I have an SD card, I have app2sd and link2sd, but there's only so much I can move over. I'm still down to 110MB of internal storage.
I'm not sure what you mean by formatting part of the sd card as ext4. Is that some additional trick that allows me to move more things to it? Is there a thread for that somewhere?
Take a look at fota fix in the play store (market). It frees up some room. At this point, Samsung probably won't send us an update.
champ1919 said:
Take a look at fota fix in the play store (market). It frees up some room. At this point, Samsung probably won't send us an update.
Click to expand...
Click to collapse
That bumped me up to about 177MB. I guess that'll hold me over for a bit.
Titanium backup has a couple cool features. Integrate updates into Rom and integrate dalvik cache into Rom. That should free up some more room.
Vote for cm9.1 unofficial w/ LZ kernel and never look back.
Sent from my SGH-T959V using xda premium
Can't wait for jellybean
If I helped out, hit the thanks button.
For me i've found AntonX's Barebones to be the most stable.
I can relate, my 14yr old daughter's phone is also the SGS4g, actually my buddy Krylon's old phone, so you know it's got some miles on it, lol. (Sorry shameless name dropping, I know)
For her we went with AOKP from Team Acid and Team Kang. Phenomenal battery for a custom ROM, thanks to a great kernel and a little diligence to make sure the phone hits deep sleep. The ROM has been rock solid and has a ton of fun features for her to play with.
I was very worried about the battery draining fast during the day and the phone being dead when she might need it most. Any custom ROM would be a bit of a risk. To state the obvious here, cell phones are a critical line between child and parent these days and this phone and ROM have not let us down at all. I was very concerned for reliability and chose this phone and ROM over my old Vibrant. The Vibrant has far more options and development behind it, but so many times I would pick it up and have a problem.. for me it was big fun, but for my daughter we needed a more stable platform. Certainly nothing to take lightly.
I had the same problem with mine being slow and having a lack of internal storage. I installed remics with the hefe kernel and before I started installing apps I had 324 mb of internal storage free and my phone runs much faster and much more stable then when I was on stock or Gingerbread roms. My phone was running so badly before doing this that most games wouldn't even work and now all games that I have tried work well and I'm not running out of internal storage anymore.
PS. Switch to Nova Launcher which runs much better then the default launcher.
Best battery life: stock or stock based ROMs
Best stability: stock
Sent from my SGH-T959V using xda app-developers app

Categories

Resources