Thread: Installing a custom kernel...
- 09-04-2010, 06:28 PM #1
Itty Bitty Modder
- Join Date
- Aug 2010
- Posts
- 3
- Thanks
- 3
- Thanked 1 Time in 1 Post
- Downloads
- 4
- Uploads
- 0
Installing a custom kernel...
Hi all,
Apologies if this is clearly answered somewhere, I've done plenty of searching and I've not been able to find the answer.
I've created a custom kernel for the DEXT, which may or may not have a functioning PSFreedom module. However, now I'm stumped. I'm like to get by kernel into a .zip file (perhaps with ConnectBot ETC.) so that I can flash it to by device via a ROM manager.
The problem is, I have no idea how to create a zip file and associated hierarchy for this... Can anyone point me in the right direction please?
-- yibble.
- 09-04-2010, 10:14 PM #2
So I Hear You Can Mod
- Join Date
- Jun 2010
- Location
- Australia
- Posts
- 489
- Thanks
- 17
- Thanked 123 Times in 99 Posts
- Downloads
- 16
- Uploads
- 0
Just download an existing ROM zip, and you will work out the structure quickly. You will notice that the boot kernel partition is simply an img file, and the command in /META-INF/com/google/android/update-script in the zip file is:
write_raw_image PACKAGE:boot.img BOOT:
So just build your work on the work already done, and google the update-script syntax. You will need to sign the new zipfile you create with autosign.bat (or whatever environ you are running, that windows batch file is the way I sign the zips so a custom recovery will flash them).
Regards
-
The Following User Says Thank You to tonymy01 For This Useful Post:
yibble (09-06-2010)
- 09-06-2010, 03:19 AM #3
Take a similar boot.img (by similar I mean for the same rom you want to make the kernel). For ex. the boot.img of the rom you have flashed.
You need to unpack it, then replace the kernel by yours, and repack. For that look on google for unpack-bootimg.pl / repack-bootimg.pl scripts. You'll also need a working mkbootimg (which you will probably find out there or you can build it from the Android tree, which I did).
you can flash the boot.img file using:
flash_image boot boot.img
you'll then need to push the modules (if you have some) to /system/lib. and reboot.Download my 1-click Recovery Flasher to flash a custom or stock recovery to your phone: Cliq, CliqXT, Backflip, ...
Like my work? Support me:
& visit my adlxmod site and follow me on Twitter
Tambien me puedes encontrar en Movilzona (Esp)
-
The Following User Says Thank You to adlx For This Useful Post:
yibble (09-06-2010)
- 09-11-2010, 08:22 PM #4
Of Mice and Modders
- Join Date
- Aug 2010
- Location
- Mexico
- Posts
- 55
- Thanks
- 4
- Thanked 4 Times in 4 Posts
- Downloads
- 14
- Uploads
- 0
what are the enhancement you are looking for
- 09-13-2010, 09:53 PM #5
Developer
- Join Date
- Mar 2009
- Posts
- 363
- Thanks
- 2
- Thanked 70 Times in 32 Posts
- Downloads
- 19
- Uploads
- 0


LinkBack URL
About LinkBacks
Reply With Quote



