1. Are you ready for the Galaxy S20? Here is everything we know so far!

Custom Kernel for Stock ROM

Discussion in 'Android Devices' started by db2u, Dec 28, 2011.

  1. db2u

    db2u Well-Known Member
    Thread Starter

    I found some older kernels by searching, but can anyone direct me to a custom Kernel that will work with the 2.2.2 stock rom?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Biotic

    Biotic Android Expert

    Just pull one from our latest firmwares
     
  3. j2cool2012

    j2cool2012 Android Enthusiast

    Well, kernels are baked into the boot.img of a ROm, so to get a kernel, you would have to decompile the boot.img, transfer the zImage to the stock ROM boot.img, and recompile it. I will ask the StormDroid team if i can borrow the StormDroid kernel to make one for you.
     
  4. darkside322

    darkside322 Newbie

    J2cool that's awsome. This is why I miss the ally community, every ones so helpfull. Not a lot of drama or "trolls". Are any of our devs working on newer devices? I miss u guys and ur work.
     
  5. imnotmikal

    imnotmikal Android Expert

    You must not be around here much anymore....
     
  6. darkside322

    darkside322 Newbie

    I still stop in. I got my upgrade a few weeks ago so my ally is just a backup phone/ tinker toy lol. So far there's been a ton of drama with development on the new one. I don't like that kinda stuff. I miss the way things are here
     
  7. j2cool2012

    j2cool2012 Android Enthusiast

    So do we...So do we...
    It's gotten crazy around here.

    BACK ON TOPIC!
    I have the stock boot.img for someone to test if they want to, just send me a PM.
     
    Biotic and darkside322 like this.
  8. darkside322

    darkside322 Newbie

    I'd be happy to test when I get out of work
     
  9. j2cool2012

    j2cool2012 Android Enthusiast

    db2u likes this.
  10. darkside322

    darkside322 Newbie

  11. db2u

    db2u Well-Known Member
    Thread Starter

    Cool, I really didn't know it was that involved doing something like this! I may try later today if I have time, to see if it hoses the wifi on mine as well. I appreciate the effort, I cant believe all the time you devs put into stuff for other people.
     
  12. db2u

    db2u Well-Known Member
    Thread Starter

    Yeah J2cool, it does just say "Error" for wifi. anything I can do to assist? I have used ADB once before so if you need a log or something I can probably help if there is some instruction.
     
  13. j2cool2012

    j2cool2012 Android Enthusiast

    Hm... the kernel may have some things not compatible with the stock boot.img. I'll keep working on it once i get my new phone and my ally becomes a dev phone.
     
    db2u likes this.
  14. darkside322

    darkside322 Newbie

    What phone u getting?
     
  15. db2u

    db2u Well-Known Member
    Thread Starter

    I fixed the wireless!

    Needed the wireless module from stormdroid to work. Hope that is ok that I pulled the wireless.ko, if not let me know.

    Here is how I got it to work:

    pulled wireless.ko out of the stormdroid zip (/system/lib/modules) saved it to my H drive, then ran:

    H:\>adb push wireless.ko /sdcard/wireless.ko
    2296 KB/s (2425329 bytes in 1.031s)

    H:\>adb shell
    $ su
    su
    # mount -o remount, rw /system
    # mv /system/lib/modules/wireless.ko /system/lib/modules/wireless.bak
    mv /system/lib/modules/wireless.ko /system/lib/modules/wireless.bak
    # cat /sdcard/wireless.ko > /system/lib/modules/wireless.ko
    cat /sdcard/wireless.ko > /system/lib/modules/wireless.ko
    #

    Then reboot

    *******EDIT - Forgot to add you have to mount the system RW
     
  16. db2u

    db2u Well-Known Member
    Thread Starter

    Hmm except I appear to have broken USB mass storage mode...
    When I try to turn it on it says I am safe to remove the card.
     
  17. j2cool2012

    j2cool2012 Android Enthusiast

    Dude... you are epic. You just helped me solve a big mystery in the SD development :)
     
  18. db2u

    db2u Well-Known Member
    Thread Starter

    well thanks, I wouldnt go that far to say I am epic, just dug around a bunch and saw on a CM wiki that the modules are tied to the kernel and have to be recompiled. I don't know how to do that so I just used the one that was already compiled for the kernel you gave me. Glad to have helped with SD though!
     

LG Ally Forum

Features and specs are not yet known.

unknown
Release Date
0
Reviews
Loading...
Similar Threads - Custom Kernel Stock
  1. Jyotimoy Kashyap
    Replies:
    1
    Views:
    611
  2. athegn
    Replies:
    2
    Views:
    566
  3. cidea
    Replies:
    4
    Views:
    1,094
  4. Dennis ingate
    Replies:
    4
    Views:
    704
  5. Ravikmr
    Replies:
    2
    Views:
    2,386
  6. SpanDragon18
    Replies:
    2
    Views:
    2,002
  7. Nathan Sokalski
    Replies:
    0
    Views:
    800
  8. samaspotion
    Replies:
    4
    Views:
    1,674
  9. mangoboy92
    Replies:
    2
    Views:
    731
  10. stymiee
    Replies:
    7
    Views:
    7,820

Share This Page

Loading...