Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

fastboot erase boot


  • Please log in to reply
3 replies to this topic

#1 yihan

yihan
  • Members
  • 259 posts
  • Country:
    be - Belgium
  • Device Model:
    G1
  • CM Version:
    CM 6 Nightly
  • Recovery Image:
    Amon_RA

Posted 11 August 2010 - 02:56 AM

When do you use
fastboot erase boot ?




#2 pconwell

pconwell

    It's okay, I'm from the Internet.

  • Donators
  • 360 posts
  • Twitter:pconwell
  • Country:
    us - United States
  • Location:
    TN, USA
  • Device Model:
    Galaxy Nexus
  • CM Version:
    Nightlies
  • Recovery Image:
    ClockworkMod

Posted 11 August 2010 - 03:15 AM

Whenever you want to delete your boot partition. Probably not that useful, but 'fastboot erase userdata' is basically the same as wipe/factory reset.

Just be careful because if you do 'fastboot erase system', you will not be able to get into recovery to flash another rom. You will have to flash a system.img from fastboot ('fastboot flash system system.img').

Anyway, more than you asked for, but I hope it answers your question.

#3 steve_t

steve_t

    Android Addict

  • Donators
  • 346 posts
  • Country:
    us - United States
  • Location:
    Tampa,Fl
  • Device Model:
    Galaxy s2
  • CM Version:
    cm 10
  • Recovery Image:
    ClockworkMod

Posted 11 August 2010 - 03:24 AM

I do fastboot erase system -w and can boot into recovery. That's what I do when flashing new roms. It might be overkill but I just like to start fresh.

Sent from my HTC Dream using Tapatalk

#4 pconwell

pconwell

    It's okay, I'm from the Internet.

  • Donators
  • 360 posts
  • Twitter:pconwell
  • Country:
    us - United States
  • Location:
    TN, USA
  • Device Model:
    Galaxy Nexus
  • CM Version:
    Nightlies
  • Recovery Image:
    ClockworkMod

Posted 11 August 2010 - 03:38 AM

Very interesting, I never tried the -w switch. Gonna try it right now...

Weird, I just did 'fastboot erase system' (without -w) and I could boot into recovery... I was wrong, so very wrong. I swear I've done it before and it breaks the phone.

Anyway, ignore warning about fastboot erase system. This would be an easy way to remove those stubborn gapps (CM6 backs up your gapps for you and wipe/factory reset doesn't touch /system).