ios-kernel-patch/README

21 lines
576 B
Plaintext
Raw Normal View History

2011-03-29 10:25:27 +07:00
git clone git@github.com:comex/datautils0.git
cd datautils0
git clone git@github.com:comex/data.git
2011-05-24 01:19:18 +07:00
make BUILD=native
native/make_kernel_patchfile /path/to/kernelcache /tmp/patchfile
native/apply_patchfile /path/to/kernelcache /tmp/patchfile /output/patched/kernelcache
2011-03-29 11:04:51 +07:00
Patchfile format:
field length
--------------------
namelen 4
name namelen
addr 4
datalen 4
data datalen
2011-04-02 02:08:39 +07:00
- If the address is 0, skip.
2011-03-29 11:04:51 +07:00
- If you're patching the kernel after it has already booted, you can (but need not) skip patches with names starting with "-".