[G1 Android Development] Firerat:
### ~~~ BETA ~~~ ###

#####################

EDIT:2010-07-04

update

New thread created

http://xdaforums.com/showthread.php?p=7061471

these flies will no longer be updated, they are here for historic reasons

#####################

EDIT:2010-06-24

Update

I have posted a new way of 'patching'

http://xdaforums.com/showthread.php?p=6927076#post6927076

#####################

For anyone that wants to try this,

MPH-Dream-s90c5d114.zip md5sum aa472af336133ae214a5087485cebf99

Archive: MPH-Dream-s90c5d114.zip
Length Date Time Name
--------- ---------- ----- ----
3173236 2010-06-23 15:53 FR-2634-MPH-s90c5d114_S.zip
4704256 2010-06-23 14:55 RA170-Dream-MPH-s90c5d114.img
--------- -------
7877492 2 files

the s90c5d114 is

System...90mb

Cache...... 5mb

Data..... 114mb

install instructions

Nandroid backup!!

Extract attached Zip, and put FR-2634-MPH-s90c5d114_S.zip on your sdcard ( along with the CM5 based ROM + gapps if required )

while Phone is in fastboot mode and usb cable plugged in, from the PC *

fastboot erase system -w
fastboot boot <fullpathtofile>/RA170-Dream-MPH-s90c5d114.img

* alternatively flash the modified recovery, NB you will have to revert to a stock recovery to install a ROM without a modified kernel !

flash CM5 based ROM + gapps

flash FR-2634-MPH-s90c5d114_S.zip

Optionally, from console ( or adb ) -- basically its like a no wipe

mount -a
cd /data
unyaffs /sdcard/nandroid/<serial>/<backupdir>/data.img

Tip

uny<tab> /sdc<tab>/nan<tab><tab><tab>/da<tab>

RA recovery has tab completion ;) , it will autocomplete stuff for you, two tabs will list 'options' just type a bit more and tab again

<tab> on a G1's keyB is <alt> then <q>

included in the FR-2634-MPH-s90c5d114_S.zip is , kernel with mtdpart cmdline for a 90 - 5 - 114 mapping, + Kernel modules and an init script to bind mount cache to /sd-ext/cache ( /data/cache if sd-ext is not mounted ), this script will automatically setup the required directory if it does not exist.

Notes

Will this work on any rom?

This Should work with Any CM5 based ROM. It should work on none CM5s but may require some work to get the bind mount working.

Custom Kernel?

yeah, I was running into some problems with CM5 final's kernel, nothing to do with this method I was having issues before I came across this thread

If you want to 'patch' your own kernel

the cmdline I used was

"mtdparts=msm_nand:256k@0x24C0000(misc),5120k@0x26C0000(recover),2560k@0x2BC0000(boot),92160k@0x2E40000(system),5120k@0x8840000(cache),-@0x8D40000(userdata)"

why 90 , 5 , 114?

no real reason, seemed to make sense as the cache was next to useless on Danger, tbh less cache might make more sense.

at some point we should all decide on a 'standard'

can I use this on an MT3G?

yes, well the FR-2634-MPH-s90c5d114_S.zip would work, but you would probably need to get a modified sapphire recovery

the -@0x8D40000(userdata) means it will map all the remaining space to data ( ~ 75mb on top of your current data size ), so the one kernel suits any 32B ;) its probably overkill for a CM5 but this method really does open things up for huge bloated sense ROMs ( e.g. MTSlide after mapping system to be 170mb ;) )