[G1 Android Development] Zarboz:
THIS HAS NOTHING TO DO WITH JAC 2.7.4 This is different!!

JacHeroski cyanagized with compache swap

07/21/09 1:27PM

download rename to update.zip and put on the phone flash as normal requires special spl and new radio

also requires ext2/3 swap and linux swap partitions

Nocturna.JacHeroZ cyanogized 1.0b

Much thanks to: justanothecrowd,cyanogen,ccyrowski,haykuro,jesufreke,D.b. hates you,drizzydrakerogers,h.nocturna, and jasherai

H.NOCTURNA! thanks for those .ko files or i wouldve been up till like 5 am looking

Im at work right now so i cant really put this all together quite yet but ill give you the rundown of how it will be done

if you dont wanna use the precompiled update.zip to avoid wipe

First download and flash Jachero 2.7.3

Then download jacheroski 1.4c and unzip in the folder you will need to things the "boot.img" in the main folder then jump into the /system folder and go ahead and copy the "modules" folder as well then open up /system/lib/modules/ and copy the wlan.ko

also youll need /system/bin/a2sd.sh

you should have 4 files pulled from this rom:

Modules

Boot.img

wlan.ko

a2sd.sh

heres what you do with those things:

Take modules and

adb push modules /system/modules/

take boot.img

adb push boot.img /sdcard/

wlan.ko

adb push wlan.ko /system/lib/modules

then please check this post and download the .ko files zipped attached to post

right here!!!

youll need to put these two files onto /system/modules/

one should be ramzswap.ko and xvmalloc.ko

Now for the a2sd.sh .. this script is ran on boot to do apps2sd but you can add to the end of it wich is what we are going to do

you will need to open this i used a word processor on my mac so it worked i duno about windows but you need to add these lines of code and then save it as a seperate document KEEP THE ORIGINAL!

#!/system/bin/sh

insmod /system/modules/xvmalloc.ko;

insmod /system/modules/ramzswap.ko memlimit_kb=32000 backing_swap=/dev/block/mmcblk0p3;

mknod /dev/ramzswap0 b 253 0;

echo 20 > /proc/sys/vm/swappiness;

swapon /dev/ramzswap0;

exit;

THEN adb time agian

adb push a2sd.sh /system/bin/

adb shell chmod 755 /system/bin/a2sd.sh

ok after this is done we need to change over to cyanogens boot.img wich contains his kernel that works with compache

so you either need to do this in adb or in terminal from the phone

$su

#flash_image boot /sdcard/boot.img

#exit

$exit

bingo bango cyanogized now!

ok now its time to reboot the phone

should start up as normal "may take a bit the first boot"

after fully booting up open up terminal app and type the following

$su

#free

(this should display your swap line with numbers in it)

IF YOU GET ZEROS HERE STOP WHAT YOUR DOING AND SKIP TO THE BOTTOM FOR INSTRUCTIONS TO FIX THAT

if you dont get zeros everything is going good

now type the following

$su

#cat /proc/ramzswap

you should get a list of things if it says not found stop what your doign skip to the bottom for instructions to fix it

if it gave you a list of numbers great everythings good enjoy your new faster jachero!

IF YOU GOT ZEROS IN YOUR SWAP LINE OR NO READING FOR ramzswap!!!

Do the following,

take your original a2sd.sh and get in adb

adb push a2sd.sh /system/bin/

adb shell chmod 755 /system/bin/a2sd.sh

adb shell reboot

now....

i suggest doing this in adb but you can type it all in terminal if you want...

type the following to enable compache

$su

#insmod /system/modules/xvmalloc.ko

##insmod /system/modules/ramzswap.ko memlimit_kb=32000 backing_swap=/dev/block/mmcblk0p3

#mknod /dev/ramzswap0 b 253 0

#echo 20 > /proc/sys/vm/swappiness

#swapon /dev/ramzswap0

#cat /proc/ramzswap

should show a list of numbers probably all at 0.. this is good

reboot phone now (the insmod and swap on stick after reboot)

tada!!

whenever i get off work ill compile this and post the update.zip for those who dont feel like doing this much work

this is not a SUPER customized rom or anything i just put together pieces i wanted to enable the compache swap on this... i feel it increases responsivness ALOT and alot smoother interface using compache and linux swap

lmk about any bugs or anything

'

TODO LIST!

Multitouch on Cyanogens kernel

optimize compache script on boot (reading jasherais posts like crazy)