1. Download our Official Android App: Forums for Android!

Root Want to flash a kernal, but...

Discussion in 'Android Devices' started by corybantic, Apr 26, 2011.

  1. corybantic

    corybantic Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    38
    Posts:
    174
    Joined:
    Apr 14, 2011

    Apr 14, 2011
    174
    24
    38
    Turn around...
    I'm a bit skiddish about flashing a kernal for better battery life because after 2 weeks of being rooted, I've finally gotten my phone configurated/customized the way I like it. I've flashed kernals in the past (using Rom Manager) and each time I did, I had to start over from scratch. My question is this: Can I flash a kernal without losing my current configuration/customized settings? If so how? I have Titanium Backup, could I just back up everything, flash the kernel and then restore???? Thanks for your input.
     

    Advertisement

  2. novox77

    novox77 Leeeroy Jennnkinnns!
    Rank:
    None
    Points:
    413
    Posts:
    3,965
    Joined:
    Jul 7, 2010

    Jul 7, 2010
    3,965
    3,257
    413
    Not Titanium. You want to do a NANDroid backup, which can be done either via recovery, or you can use ROM Manager's "Backup current ROM" feature.

    If you then flash a kernel and everything goes to shit, you'll have to restore the NANDroid backup via recovery, so it pays to learn how to do it via recovery rather than ROM Manager.

    Some kernels are made for Sense. Some are made for AOSP. Some are designed to be universal. In general, it pays to stick with Sense- or AOSP-specific kernels. If you consistently have problems flashing any kernel, you may want to do a full wipe before flashing it. If you do a full wipe, you DO want to use Titanium to back everything up, so you won't have to set up everything from scratch.

    NANDroid backups are good for when you want to go back to a previous state the phone was in. Titanium backups are good when you've wiped your data and want to restore it onto whatever new OS/ROM you're running.
     
    corybantic likes this.
  3. corybantic

    corybantic Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    38
    Posts:
    174
    Joined:
    Apr 14, 2011

    Apr 14, 2011
    174
    24
    38
    Turn around...
    So then I would have to do a NANDroid, wipe dalvic-cache, flash the kernel, reboot, and then restore configurations with Titanium backup? Is that correct?
     
  4. frenchy714

    frenchy714 Android Expert
    Rank:
    None
    Points:
    333
    Posts:
    3,154
    Joined:
    Nov 11, 2010

    Nov 11, 2010
    3,154
    1,958
    333
    Male
    East Tawas, MI
    Short answer, no. When you flash a kernel, the kernel is replaced, and that's it....It's not like flashing a ROM, where you have to reconfigure everything over from scratch. In other words, when you flash a kernel, all your settings and apps and everything else will remain the same, Nova is recommending doing a nandroid prior because if the kernel proves to be unstable on your Evo (ie: screen tearing, random reboots, boot loops, etc.), you can always restore your phone to how it was before flashing the new kernel.
     
    corybantic likes this.
  5. evomattnc

    evomattnc Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    3,245
    Joined:
    Feb 10, 2011

    Feb 10, 2011
    3,245
    536
    213
    Mechanical Engineer for GE Nuclear
    NC
    When you flashed the kernel all you wiped was cache and dalvik therefore all your data is retained as you did NOT wipe system and data. Dalvik rebuilds and cache is well just that, cache, so those dont really contain any of your "set up"

    So make a nandroid, wipe cache, wipe dalvik, flash kernel, reboot, done. Everything will remain.
     
    corybantic likes this.
  6. dasanman69

    dasanman69 Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    117
    Joined:
    Nov 22, 2010

    Nov 22, 2010
    117
    16
    38
    Don't wipe your data. I don't think its necessary to do so.
     
  7. novox77

    novox77 Leeeroy Jennnkinnns!
    Rank:
    None
    Points:
    413
    Posts:
    3,965
    Joined:
    Jul 7, 2010

    Jul 7, 2010
    3,965
    3,257
    413
    just so you know what's ACTUALLY happening...

    kernel lives in the /boot partition.
    the operating system lives in /system partition.
    your data lives in the /data partition
    cache is in the /cache partition.

    A custom ROM includes a kernel and OS, so when you flash a ROM, it's writing to multiple partitions. If you're flashing the kernel only, you're just replacing /boot. Everything in /data is still intact.

    A factory data reset wipes /data and /cache. /system is untouched, which is why you stay on the same OS version after the factory data reset.

    Typically, you only need Titanium if you're flashing something that replaces /system (new ROM).

    NANDroids are good to preserve a particular state of your phone so you can go back to it if needed.
     
    gregs887 and corybantic like this.
  8. tooill

    tooill Well-Known Member
    Rank:
    None
    Points:
    16
    Posts:
    99
    Joined:
    Feb 18, 2011

    Feb 18, 2011
    99
    7
    16
    just dont flash thru rom manager, actually dont flash anything thru rom manager, its better if u do it from recovery.

    like evomattnc said: "So make a nandroid, wipe cache, wipe dalvik, flash kernel, reboot, done. Everything will remain."
     
    corybantic likes this.
  9. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!
    Rank:
    None
    Points:
    1,923
    Posts:
    23,595
    Joined:
    May 13, 2010

    May 13, 2010
    23,595
    14,436
    1,923
    Male
    being a flashaholic sponsor, helping others gettin
    los angeles
    +1 on not using rom manager. i would recommend that you do everything in recovery. because you never know when things will go wrong and all you have is recovery to go to. this way you can know your way around your recovery very easily.
     
    corybantic likes this.
  10. corybantic

    corybantic Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    38
    Posts:
    174
    Joined:
    Apr 14, 2011

    Apr 14, 2011
    174
    24
    38
    Turn around...
    Thanks! This is the best forum...Ever.
     
  11. tooill

    tooill Well-Known Member
    Rank:
    None
    Points:
    16
    Posts:
    99
    Joined:
    Feb 18, 2011

    Feb 18, 2011
    99
    7
    16
    ived learned so much from this forum lol i love it
     
Tags:

Share This Page

Loading...