[myTouch 3G, Magic Android Development] theomajigga:
stuck...

Hey,

I've been trying all morning and been reading all kinds of stuff so i guess i'm last resorting this problem...

I'm a longtime user of Qtek's stuff... love it.

I wanted to try a different flavor to see what else there was and i have been having nothing but problems...

Problem 1:

S_L_O_W

now, I'm absolutely sure that this is my doing in some way but I just can't fathom oob that this would be this slow and laggy, too many people saying good things about it.

What I tried:

I remade my user.conf and my userinit.sh files..

user.conf:

# General parameters
general{
apps2sd=0	# this is useless here, require a modified a2sd script
CONF_FILE="/system/bin/user.conf"	#location of user.conf
media2sd=0	# moves the medias to sd if /system/sd/media exists
permission_fix=0 # perform permission fix at start up (this parameter sets to 0 after script is executed)
odex_auto=1	# perform auto create or del odex for applications installed or removed within 3 days
odex_apk=1	# creates odex for apk that does not have odex yet (this parameter sets to 0 after script is executed)
odex_all=1	# creates odexes for all apks (this parameter sets to 0 after script is executed)
}

#compcache related parameters
compcache{
compcache_en=0	# enable(1) or disable(0) compcache
cc_disksize=128	# Ram swap disksize - any number between 1 to 95 should work; default is 1/4 of the RAM (24)
cc_memlimit=0	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)
cc_backingswap_en=0	# enable(1) or disable(0) backing swap
cc_backingswap=/dev/block/mmcblk0p3 # pointing to the backingswap partition device, swap
cc_swappiness=80 # default 60
}

#create swap file for compcache or linux swap
swap_file{
swap_file_en=0	# set to 1 to create swap file
# set to 0 to del the swap file
linux_swap_file_size=128	# swap file size in MB
linux_swap_file=/system/sd/swap.file	# pointing to the swap file location ( must be /system/sd/)
}

#Linux swap parameters
#
# linux swap can only be enabled if cc_backingswap_en is set to "0"
#
linux_swap{
linux_swap_en=1	# enable(1) or disable(0) linux swap
linux_swap_partition=/dev/block/mmcblk0p3 # swap partition device
swappiness=80 # default 60
}

#virtual memory
sys_vm{
sys_vm_en=0	# enable(1) or disable(0) virtual memory configurations
page_cluster=0	# default 3, (0 since CM3.9.6+)
laptop_mode=0	# default 0
dirty_expire_centisecs=3000	# default 3000
dirty_writeback_centisecs=500	# default 500
dirty_background_ratio=5	# default 5
dirty_ratio=10	# default 10
}

#cpu clock
proc_cpu{
proc_cpu_en=0	# enable(1) or disable(0) user cpu configurations
# freqency options
# 19200
# 122880
# 128000
# 245760
# 384000
# 528000
scaling_min_freq=245760	# default 245760
scaling_max_freq=528000	# default 528000
sampling_rate=2000000	# default 2000000 depending on kernel version
powersave_bias=0	# default 0, (200 since CM3.9.6+ )
up_threshold=33	# default 40, percent cpu usage before going up a speed step
}

userinit.sh:

#!/system/bin/sh
#
CONF_FILE="/system/bin/user.conf";

apps2sd=0
media2sd=0
odex_all=0;
odex_apk=0;
app_dirs="/system/app /system/app-private /data/app /data/app-private";

compcache_en=0
cc_disksize=32
cc_memlimit=16
cc_backingswap_en=0
cc_backingswap=/dev/block/mmcblk0p3
swappiness=30
CC_DEVICE=/dev/block/ramzswap0

linux_swap_en=1
linux_swap_partition=/dev/block/mmcblk0p3
swappiness=80

sys_vm_en=0
page_cluster=3
laptop_mode=0
dirty_expire_centisecs=3000
dirty_writeback_centisecs=500
dirty_background_ratio=5
dirty_ratio=10

proc_cpu_en=0
scaling_min_freq=245760
scaling_max_freq=528000
sampling_rate=2000000
powersave_bias=0
up_threshold=32

CC_NEW_DECT=0;

swap_file_en=0;
linux_swap_file_size=128;
linux_swap_file=/sdcard/swap.file;
insmod="/system/xbin/bb/insmod"
rmmod="/system/xbin/bb/rmmod"
modprobe="/system/xbin/bb/modprobe"

{had to snip the end but it is unmodified from the stock one only my changes are on top}

I have a 128MB swap setup, I would like to use 60 or 80% swappiness but when i run the userinit.sh it says:

!!! Linux SWAP error: Linux swap is not enabled
ERROR!!! Set Linux Swap: swappiness - 60(system) 80(user)

Could anyone tell me what i'm doing wrong??

Google branded MyTouch 3g, 32B

Thanks a lot guys!