Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Swap Enable/Disable
#41
Posted 03 September 2010 - 06:24 PM
Great stuff. I too have an MT3G and have been looking for a performance boost on CM for a few months.
Thanks.
(bootswap40 on 2 partition card)
#42
Posted 03 September 2010 - 11:43 PM
#43
Posted 05 September 2010 - 12:24 AM
Read here for more info on setting up your userinit.sh: CM Wiki
General rule of thumb, if you have no a2sdext setup, then you you will need to use: /dev/block/mmcblk0p2.
If you do, then: /dev/block/mmcblk0p3.
No reason to use external scripts, etc, make it simple. Good luck.
#44
Posted 05 September 2010 - 01:17 AM
dasunsrule32, on 05 September 2010 - 12:24 AM, said:
Read here for more info on setting up your userinit.sh: CM Wiki
General rule of thumb, if you have no a2sdext setup, then you you will need to use: /dev/block/mmcblk0p2.
If you do, then: /dev/block/mmcblk0p3.
No reason to use external scripts, etc, make it simple. Good luck.
wow. are you serious? people can do this by creating their own script?
go threadjack somewhere else, this thread isnt about being able or unable to enable swap in the cyanogen kernel, it's about the script that i created to do it for you easily.
Keep it simple?
What's more simple? flash something and run a command, or create your own userinit file, place the file where it needs to go, make sure the syntax is correct, set permissions on the file, and hope that your sdcard is fast enough to be detected on boot to have swap enabled?
People know the cm wiki exists, people also have no idea what they are doing, why do you think it was created in the first place. stick to complaining about the bewbs wallpaper.
k,thanks. bye.
#45
Posted 05 September 2010 - 01:23 AM
#46
Posted 05 September 2010 - 02:04 AM
Magellan, on 03 September 2010 - 11:43 PM, said:
yes, it's been suggested that the two values currently in vmtweaks, when dialed down can improve multitasking performance and an overall better swap experience, personally the results seem negligible, but it was requested and some people swear by them. Suggested settings are 50 and 1
#47
Posted 06 September 2010 - 04:52 PM
#48
Posted 08 September 2010 - 12:39 AM
#49
Posted 12 September 2010 - 03:18 PM
For a G1, with class6 sdcard. I created Fat+ext+swap partition, thinking this would be better. Do you recommend a swapfile w/ Fat+ext or what I already have?
#50
Posted 13 September 2010 - 04:47 AM
#51
Posted 17 September 2010 - 08:23 AM
#52
Posted 17 September 2010 - 03:13 PM
Lint6, on 17 September 2010 - 08:23 AM, said:
#53
Posted 26 September 2010 - 06:04 PM
Well Stevo I made a Fat+swap partition setup with amon ra recovery then flashed your script and ran the prompts in terminal. My phone runs better than it ever has. Thank you so much for all your hard work on this.
I have swappiness at 10 and vm tweaks at 50 and 1 like you mentioned earlier. I did notice that on a MT3G in amon ra I couldn't make a 12mb partition because the smallest on I could scroll to was 32mb. That being said it's still working like a charm.
Thanks a lot for all your input on the matter and the great script!!!
#54
Posted 26 September 2010 - 11:51 PM
#55
Posted 26 September 2010 - 11:56 PM
#56
Posted 28 September 2010 - 01:35 AM
#57
Posted 28 September 2010 - 02:32 AM
-Stevo-, on 28 September 2010 - 01:35 AM, said:
I have no problem with backing up and repartitioning. My only Concern is if that will mess up my swap setting as they stand because I know nothing of the nature of the Script other than it's awesome. Would I need to do swap-off>bootswap-off then reflash and after I have a newly partitioned card or can I just repartition and then run the initial scripts again. What would you recommend for switching.
Please excuse my lack of knowledge.
EDIT: Thanks for the info in the post below
#58
Posted 28 September 2010 - 05:11 PM
#59
Posted 02 October 2010 - 02:02 AM
#60
Posted 02 October 2010 - 07:16 PM
Here's what it says when I try to flash this package from sdcard.
Opening update package...
Verifying update package...
Installing update...
Copying files...
Copying files...
E:Can't chown/mod /system/bin/swapscriptv2
(No such file or directory)
E:Failure at line 3:
set_perm 0 0 0755 SYSTEM:bin/swa
Installation aborted.
Help??
Thanks
I have:
Rogers G1 (32B)
ROM: CM 6.0 D/S with bc-6.0.0-ebi1
Recovery: Amon RA-dream-v1.7.O0R
Radio: 3.22.26.17
SPL: "Danger" SPL (1.33.2005)

















