c:\media /system/sd worked for me i have all my ringtones an do have look at me sound twice in notifications but that's it
o and dream them twice in ringtones
o and dream them twice in ringtones
Last edited:
Good, it is working fine then. I believe that the 24mb is pre-compiled by Cyanogen and is not user configurable right now.
#!/system/bin/sh
insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko;
insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000;
mknod /dev/ramzswap0 b 253 0;
echo 100 > /proc/sys/vm/swappiness;
swapon /dev/ramzswap0;
exit;
They are in the very simple script, this is what I use atm:
Code:#!/system/bin/sh insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko; insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000; mknod /dev/ramzswap0 b 253 0; echo 100 > /proc/sys/vm/swappiness; swapon /dev/ramzswap0; exit;
I just dont understand how to go about getting this installed! ahhh I don't have ADB as I cannot get it working on my mac so I need console or terminal commands if that is at all possible! is any one working on a "ramzswap" app?
All you need to do is put the userinit.sh on your /system/sd (that's a extX partition), although you'd need to modify it (for example use mine) if you wanna skip the media part.
#!/system/bin/sh
insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko;
insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000;
mknod /dev/ramzswap0 b 253 0;
echo 100 > /proc/sys/vm/swappiness;
swapon /dev/ramzswap0;
exit;
Rename it to userinit.sh
create a directory c:\userinit
copy userinit.sh to c:\userinit
open CMD prompt
adb push c:\userinit\userinit.sh /system/sd
adb shell chmod 755 /system/sd/userinit.sh (not sure if needed being safe)
adb shell reboot
what i wonder, though, is where do i put userinit.sh if i don't use apps2sd or a swap partition or any of the sort (i like being able to hot swap my sd card)
I'm guessing /etc, am i right?
su
mount -o remount,rw /dev/block/mtdblock3 /system
cd /system
mkdir sd
copy /sdcard/userinit.sh sd/userinit.sh
chmod 755 sd/userinit.sh
#!/system/bin/sh
insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko;
insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000;
mknod /dev/ramzswap0 b 253 0;
echo 100 > /proc/sys/vm/swappiness;
swapon /dev/ramzswap0;
exit;
After seeing like 5 scripts for this, which one is yours??
I keep my media on fat32 partition
EDIT: I'm guessing this script?
with these commands:Code:#!/system/bin/sh insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko; insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000; mknod /dev/ramzswap0 b 253 0; echo 100 > /proc/sys/vm/swappiness; swapon /dev/ramzswap0; exit;
Code:Rename it to userinit.sh create a directory c:\userinit copy userinit.sh to c:\userinit open CMD prompt adb push c:\userinit\userinit.sh /system/sd adb shell chmod 755 /system/sd/userinit.sh (not sure if needed being safe) adb shell reboot
I've wondered this too, since I have another rooted G1 in the house (non A2SD). I believe this would work --
I haven't tested this, just a theory
Code:su mount -o remount,rw /dev/block/mtdblock3 /system cd /system mkdir sd copy /sdcard/userinit.sh sd/userinit.sh chmod 755 sd/userinit.sh
And since you don't have extra partitions on your card, want to get rid of all the other junk in the standard userinit script floating around.. so just try this:
Code:#!/system/bin/sh insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko; insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32000; mknod /dev/ramzswap0 b 253 0; echo 100 > /proc/sys/vm/swappiness; swapon /dev/ramzswap0; exit;