[Sprint] Flashing Kernels


Last Updated:

  1. slyd

    slyd Well-Known Member

    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

    Sort of. There is a kernel cleaner script you can flash to eliminate this problem
  3. slyd

    slyd Well-Known Member

    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

    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

    What would be dangerous about it?
  6. slyd

    slyd Well-Known Member

  7. MizzouBrent

    MizzouBrent Well-Known Member

    Hmmm well no issues for me yet!
  8. slyd

    slyd Well-Known Member

    Which one do you use?
  9. MizzouBrent

    MizzouBrent Well-Known Member

    That's the one.
  10. NaterTots

    NaterTots Well-Known Member

    So just flash that before a new kernel?
    Wipe Cache or dalvik?


    Thanks
  11. MizzouBrent

    MizzouBrent Well-Known Member

    Yeah I wipe both and then flash the cleaner script.
    NaterTots likes this.
  12. CaRco

    CaRco Member

    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...
  13. frenchy714

    frenchy714 Well-Known Member

    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.
  14. MizzouBrent

    MizzouBrent Well-Known Member

    Yeah any ROM is going to be either equal to or superior to an ota update.
    CaRco and NaterTots like this.
  15. An UrgeTo Dance

    An UrgeTo Dance The Hero of the Winds

    I would say all are superior unless you are flashing a stock unrooted ROM ;)
    frenchy714 and NaterTots like this.
  16. CaRco

    CaRco Member

    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!!
  17. MizzouBrent

    MizzouBrent Well-Known Member

    That's correct
  18. frenchy714

    frenchy714 Well-Known Member

    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