Results 1 to 5 of 5
  1. #1
    offline 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.

  2. #2
    offline 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

  3. The Following User Says Thank You to tonymy01 For This Useful Post:

    yibble (09-06-2010)

  4. #3
    adlx's Avatar
    online Maker of adlxmod
    Join Date
    Jan 2010
    Location
    Madrid, Spain
    Posts
    1,034
    Thanks
    610
    Thanked 1,485 Times in 366 Posts
    Downloads
    30
    Uploads
    0
    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)

  5. The Following User Says Thank You to adlx For This Useful Post:

    yibble (09-06-2010)

  6. #4
    offline 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

  7. #5
    offline Developer
    Join Date
    Mar 2009
    Posts
    363
    Thanks
    2
    Thanked 70 Times in 32 Posts
    Downloads
    19
    Uploads
    0
    Quote Originally Posted by dlucio View Post
    what are the enhancement you are looking for
    I'd like to see native wifi tether and overclocking and fm radio in 2.1 but oc on 1.5 would be nice until the 2.1 kernel source is released




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •