[Sprint] Flashing Kernels


Last Updated:

  1. slyd

    slyd Well-Known Member This Topic's Starter

    Joined:
    Aug 16, 2011
    Messages:
    357
    Likes Received:
    158
    I've heard it's better to flash a kernel over the ROM with the stock kernel. So after you first flash a rom, nandroid with the stock kernel. Then after flashing a new kernel, you should restore the original nandroid with the stock kernel before you flash another kernel rather than just flashing kernel on top of kernel. Any truth to this?
     

    Advertisement
  2. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    Sort of. There is a kernel cleaner script you can flash to eliminate this problem
     
  3. slyd

    slyd Well-Known Member This Topic's Starter

    Joined:
    Aug 16, 2011
    Messages:
    357
    Likes Received:
    158
    I just read a little bit about kernel cleaning scripts. Looks like it could be dangerous for the uninformed. Seems like one script is not necessarily good for all kernels,
     
  4. frenchy714

    frenchy714 Well-Known Member

    Joined:
    Nov 11, 2010
    Messages:
    3,154
    Likes Received:
    1,958
    The cleaner script has worked fine for me w/ every kernel flash. It cleans init.d, cleans app data left behind from kernel apps, cleans some kernel files. However, you can always reflash the ROM you're running (only wiping cache/dalvik) and then flash the kernel of your choice, if you choose not to use the cleaner script.
     
  5. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    What would be dangerous about it?
     
  6. slyd

    slyd Well-Known Member This Topic's Starter

    Joined:
    Aug 16, 2011
    Messages:
    357
    Likes Received:
    158
  7. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    Hmmm well no issues for me yet!
     
  8. slyd

    slyd Well-Known Member This Topic's Starter

    Joined:
    Aug 16, 2011
    Messages:
    357
    Likes Received:
    158
    Which one do you use?
     
  9. frenchy714

    frenchy714 Well-Known Member

    Joined:
    Nov 11, 2010
    Messages:
    3,154
    Likes Received:
    1,958
  10. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    That's the one.
     
  11. NaterTots

    NaterTots Well-Known Member

    Joined:
    Aug 24, 2011
    Messages:
    704
    Likes Received:
    581
    So just flash that before a new kernel?
    Wipe Cache or dalvik?


    Thanks
     
  12. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    Yeah I wipe both and then flash the cleaner script.
     
    NaterTots likes this.
  13. CaRco

    CaRco Member

    Joined:
    Nov 9, 2012
    Messages:
    8
    Likes Received:
    3
    Hi...newbie here...w/ SPRINT GNEX

    When I flash a ROM, Am I also flashing the kernel? Does the ROM file includes a kernel? Or do I need to flash them separately? I have been studying partitions structure and where things are in the file system. I am concern of updating my device and rendering the device unable to receive OTA updates from sprint.

    Thanks in advanced for feedback...
     
  14. frenchy714

    frenchy714 Well-Known Member

    Joined:
    Nov 11, 2010
    Messages:
    3,154
    Likes Received:
    1,958
    Welcome to AF!!! Every ROM has a kernel included (usually stock). If you'd like to flash a custom kernel, you'd flash it separately.

    Not being able to receive OTA updates is no big deal, we usually get to run the updates sooner than they are released officially by being rooted! The way we (The Root Community) keep our devices current, is by flashing ROM's with those updates included.
     
    CaRco likes this.
  15. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    Yeah any ROM is going to be either equal to or superior to an ota update.
     
    CaRco and NaterTots like this.
  16. An UrgeTo Dance

    An UrgeTo Dance The Hero of the Winds

    Joined:
    Jul 22, 2010
    Messages:
    1,485
    Likes Received:
    583
    I would say all are superior unless you are flashing a stock unrooted ROM ;)
     
    frenchy714 and NaterTots like this.
  17. CaRco

    CaRco Member

    Joined:
    Nov 9, 2012
    Messages:
    8
    Likes Received:
    3
    Great. I can live with taking ownership of updating my ROMs...if I understand correctly, once I go down this path, I should stay on it and avoid OTAs, whether they work are safe or not. Correct? If so, let the fun begin. Thanks for the feedback and guidance!!
     
  18. MizzouBrent

    MizzouBrent Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    2,853
    Likes Received:
    2,519
    That's correct
     
  19. frenchy714

    frenchy714 Well-Known Member

    Joined:
    Nov 11, 2010
    Messages:
    3,154
    Likes Received:
    1,958
    You got it! Please keep us posted on how you're journey is going, and let us know if you need help with ANYTHING!
     

Share This Page

Loading...