[G1 Android Development] Firerat:
Custom MTD FAQ

FAQ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Q my SPL starts with 0 or 10, and I want to try CM5.0.8 or/and CM6. DO I need to do anything extra?[/b]

A yeap, it seems the newer kernels are just a bit too big for x0.95.x00x SPLs, you can get round it with the below kernels. And to flash CM6 you need to 'fake' your SPL ( see configuration in OP ) or edit the updater-script. faking is easier.

However, I would recommend the 1.33.2003 SPL ( you still need to fake your SPL, but you won't need the 'special' kernels )

guide for flashing 1.33.2003 SPL by Ezterry

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#

2010-07-11

I have compiled a kernel, which I hope is NoneDanger compatible

the source is simply CyanogenMod's github, I have taken the config from cm6rc1, and simply changed the bluetooth to modules

this approach has worked in the past

It is pre-patched with AutoMTD, so just flash cm6rc1, then flash this

FR-CM6RC1-bootimg4NoneD-AutoMTD.zip(MD5: 386D9A05A3C0FFC08E5B3F844D437AA7)

mirrors

http://rapidshare.com/files/406402016/FR-CM6RC1-bootimg4NoneD-AutoMTD.zip

http://www.mediafire.com/?152jnqwyme3

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#

2010-07-27

NoneDanger compatible Kernel for RC2

FR-CM6RC2-bootimg4NoneD-AutoMTD.zip (MD5: 7858a8a8d126919318d1718c6e5167ec )

http://www.mediafire.com/file/ttxfcocsti3mma3/FR-CM6RC2-bootimg4NoneD-AutoMTD.zip

I'll have to dig out the src

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#

2010-08-15

NoneDanger compatible Kernel for RC3

2010-08-17 ( Sorry, old one had a status6 bug :( )

New one here

87F160F08FCD2233DDD40FBFC50D3711 FR-CM6RC3-bootimg4NoneD-AutoMTD.zip

src = http://github.com/CyanogenMod/cm-kernel/tree/48c57f11abaaf3de6c81f6f5c44cfe2637251184

no modifications its straight cm ( besides the config, which you can get from the compiled kernel or zcat /proc/config.gz )

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#

*NB* don't use a patched recovery to flash SPL or RADIO ( you should avoid using recovery to flash these anyway, feel free to ask for current advice on spl / radio flashing )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Q do I need to flash both of the files each time I install a new rom?

A No, you only need to flash the recovery patcher once, unless you want to resize or you install a new recovery.

the boot patcher *must* be flashed after you have installed a new ROM or Kernel update

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Q my cache looks odd in df, I see two and its the same size as data or sd-ext, is something wrong?

A everything is fine, since we shrunk cache its no good for things like the Market, so a script is installed to 'bind mount' cache with /sd-ext/cache or data if sd-ext is not mounted.

it actually turns out that /cache is not actually used in CM6, so I might adapt the script a little in a future release.

EDIT: as of version 1.5 the cache bind mount script mount 'real cache' separately, which should reduce confusion

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Q When I tell ROM Manger to do something in recovery, it just reboots to recovery and does nothing. it used to do the action but not since I installed CustomMTD

A yeah, nearly forgot about that, I was going to fix it last week, basically ROM Manger writes commands to /cache, but its writing it to our bind mount so.. when recovery boots it doesn't see the commands.

In all honesty that one hasn't been pointed out to me yet, :) but yeah I can fix it..

EDIT: as of version 1.5 the cache bind mount is compatible with ROM Manager

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~