1. Check out our companion app, Forums for Android! Download from Google Play

[Sprint] Flashing Kernels

Discussion in 'Android Devices' started by slyd, Sep 23, 2012.

  1. slyd

    slyd Well-Known Member
    Thread Starter
    68

    Aug 16, 2011
    357
    158
    68
    Female
    Land Surveyor / Mechanical Engineer
    San Diego
    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
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    Sort of. There is a kernel cleaner script you can flash to eliminate this problem
     
  3. slyd

    slyd Well-Known Member
    Thread Starter
    68

    Aug 16, 2011
    357
    158
    68
    Female
    Land Surveyor / Mechanical Engineer
    San Diego
    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
    333

    Nov 11, 2010
    3,154
    1,958
    333
    Male
    East Tawas, MI
    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
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    What would be dangerous about it?
     
  6. slyd

    slyd Well-Known Member
    Thread Starter
    68

    Aug 16, 2011
    357
    158
    68
    Female
    Land Surveyor / Mechanical Engineer
    San Diego
  7. MizzouBrent

    MizzouBrent Well-Known Member
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    Hmmm well no issues for me yet!
     
  8. slyd

    slyd Well-Known Member
    Thread Starter
    68

    Aug 16, 2011
    357
    158
    68
    Female
    Land Surveyor / Mechanical Engineer
    San Diego
    Which one do you use?
     
  9. frenchy714

    frenchy714 Well-Known Member
    333

    Nov 11, 2010
    3,154
    1,958
    333
    Male
    East Tawas, MI
  10. MizzouBrent

    MizzouBrent Well-Known Member
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    That's the one.
     
  11. NaterTots

    NaterTots Well-Known Member
    183

    Aug 24, 2011
    704
    581
    183
    Plumber
    CT
    So just flash that before a new kernel?
    Wipe Cache or dalvik?


    Thanks
     
  12. MizzouBrent

    MizzouBrent Well-Known Member
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    Yeah I wipe both and then flash the cleaner script.
     
    NaterTots likes this.
  13. CaRco

    CaRco Member
    6

    Nov 9, 2012
    8
    3
    6
    Male
    Structural Engineer
    CT
    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
    333

    Nov 11, 2010
    3,154
    1,958
    333
    Male
    East Tawas, MI
    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
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    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
    213

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

    CaRco Member
    6

    Nov 9, 2012
    8
    3
    6
    Male
    Structural Engineer
    CT
    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
    313

    Feb 13, 2011
    2,853
    2,519
    313
    Olathe, KS
    That's correct
     
  19. frenchy714

    frenchy714 Well-Known Member
    333

    Nov 11, 2010
    3,154
    1,958
    333
    Male
    East Tawas, MI
    You got it! Please keep us posted on how you're journey is going, and let us know if you need help with ANYTHING!
     
Tags:

Share This Page

Loading...