[G1 Android Development] here.david:
THANKS TO MikeTaylor00 -

I saw a previous post that asked for the files: I had to spend about 4 hours today to find this:

Compcache - CyanogenMod 4.1.9xxx

(why would newbies be doing this, as it took me over (6 months) 100 hrs reading taking baby steps before I got to understand these complexities, yea I am slow, careful before I move to a higher level, can not go to college before going to grade school kind of process I follow)

Assuming your setup is correct, FAT/EXT/SWAP, have working ADB installed and you are using UBUNTU...read all miketaylor00's posts....

1. download the zip file

2. extract userinit.sh and user.conf to your UBUNTU desktop

(my test system is /home/david/Desktop)

3. do the following:

4. # adb remount

5. adb push /home/david/Desktop/userinit.sh /system/sd

6. adb shell chmod 755 /system/sd/userinit.sh

7. adb push /home/david/Desktop/user.conf /system/bin

8. adb shell chmod 755 /system/bin/user.conf

9. adb shell reboot

----------------------------------------------

10. Now check to see if you are set:

# adb remount

remount succeeded

# adb shell sh /system/sd/userinit.sh -s

you will see this after a little while, IF YOUR G1 is set correctly

=== user.conf ===

*** general ***

apps2sd=1

media2sd=1

*** CompCache ***

compcache_en=1

cc_memlimit=48

cc_disksize=32

cc_backingswap_en=1

cc_backingswap=/dev/block/mmcblk0p3

swappiness=40

*** Swap File ***

swap_file_en=0

linux_swap_file_size=32

linux_swap_file=/system/sd/swap.file

*** Linux Swap ***

linux_swap_en=0

linux_swap_partition=/dev/block/mmcblk0p3

*** VM ***

sys_vm_en=1

page_cluster=2

laptop_mode=0

dirty_expire_centisecs=4500

dirty_writeback_centisecs=500

dirty_background_ratio=5

dirty_ratio=10

*** CPU ***

proc_cpu_en=1

scaling_min_freq=245760

scaling_max_freq=528000

sampling_rate=2000000

powersave_bias=200

up_threshold=45

=== CompCache status ===

CompCache version 0.6+

Compcache enabled

CompCache: MemLimit 49152(system) 49152(user)

CompCache: BackingSwap /dev/block/mmcblk0p3(system) /dev/block/mmcblk0p3(user)

CompCache: cc_swappiness - 40(system) 40(user)

=== CompCache status output ===

BackingSwap:	/dev/block/mmcblk0p3

DiskSize:	64260 kB

MemLimit:	49152 kB

NumReads:	174

NumWrites:	479

FailedReads:	0

FailedWrites:	0

InvalidIO:	0

NotifyFree:	16

PagesDiscard:	0

ZeroPages:	46

GoodCompress:	100 %

NoCompress:	0 %

PagesStored:	340

PagesUsed:	64

OrigDataSize:	1360 kB

ComprDataSize:	249 kB

MemUsedTotal:	256 kB

BDevNumReads:	20

BDevNumWrites:	77

=== VM status ===

Set VM: page-cluster - 2(system) 2(user)

Set VM: laptop_mode - 0(system) 0(user)

Set VM: dirty_expire_centisecs - 4500(system) 4500(user)

Set VM: dirty_writeback_centisecs - 500(system) 500(user)

Set VM: dirty_background_ratio - 5(system) 5(user)

Set VM: dirty_ratio - 10(system) 10(user)

=== CPU status ===

Set CPU: scaling_min_freq - 245760(system) 245760(user)

Set CPU: scaling_max_freq - 528000(system) 528000(user)

Set CPU: sampling_rate - 2000000(system) 2000000(user)

Set CPU: powersave_bias - 200(system) 200(user)

Set CPU: up_threshold - 45(system) 45(user)

========================================================

Ignore as I have nothing in these directories

-----------------------------------------------

find: /system/app/*.odex: No such file or directory

find: /data/app/*.odex: No such file or directory

find: /data/app-private/*.apk: No such file or directory

find: /data/app-private/*.odex: No such file or directory

root@a6110n:~#