| diff --git a/payload_consumer/delta_performer.cc b/payload_consumer/delta_performer.cc | 
 | index a619d1d9..2abc3baa 100644 | 
 | --- a/payload_consumer/delta_performer.cc | 
 | +++ b/payload_consumer/delta_performer.cc | 
 | @@ -367,6 +367,17 @@ bool DeltaPerformer::OpenCurrentPartition() { | 
 |    target_path_ = install_part.target_path; | 
 |    int err; | 
 |  | 
 | +  if (install_plan_->is_resume == false) | 
 | +  { | 
 | +      string cmd = "flash_eraseall "; | 
 | +      string p_cmd; | 
 | + | 
 | +      p_cmd = cmd + target_path_; | 
 | +      LOG(INFO) << "Erase partition, erase cmd=" << p_cmd; | 
 | + | 
 | +      system(p_cmd.c_str()); | 
 | +  } | 
 | + | 
 |    int flags = O_RDWR; | 
 |    if (!is_interactive_) | 
 |      flags |= O_DSYNC; |