Loading fastboot/fastboot.c +1 −4 Original line number Original line Diff line number Diff line Loading @@ -104,7 +104,6 @@ static struct { {"recovery.img", "recovery.sig", "recovery", true}, {"recovery.img", "recovery.sig", "recovery", true}, {"system.img", "system.sig", "system", false}, {"system.img", "system.sig", "system", false}, {"vendor.img", "vendor.sig", "vendor", true}, {"vendor.img", "vendor.sig", "vendor", true}, {"tos.img", "tos.sig", "tos", true}, }; }; void get_my_path(char *path); void get_my_path(char *path); Loading @@ -123,8 +122,6 @@ char *find_item(const char *item, const char *product) fn = "system.img"; fn = "system.img"; } else if(!strcmp(item,"vendor")) { } else if(!strcmp(item,"vendor")) { fn = "vendor.img"; fn = "vendor.img"; } else if(!strcmp(item,"tos")) { fn = "tos.img"; } else if(!strcmp(item,"userdata")) { } else if(!strcmp(item,"userdata")) { fn = "userdata.img"; fn = "userdata.img"; } else if(!strcmp(item,"cache")) { } else if(!strcmp(item,"cache")) { Loading Loading @@ -291,7 +288,7 @@ void usage(void) "commands:\n" "commands:\n" " update <filename> reflash device from update.zip\n" " update <filename> reflash device from update.zip\n" " flashall flash boot, system, vendor and if found,\n" " flashall flash boot, system, vendor and if found,\n" " recovery, tos\n" " recovery\n" " flash <partition> [ <filename> ] write a file to a flash partition\n" " flash <partition> [ <filename> ] write a file to a flash partition\n" " erase <partition> erase a flash partition\n" " erase <partition> erase a flash partition\n" " format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n" " format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n" Loading Loading
fastboot/fastboot.c +1 −4 Original line number Original line Diff line number Diff line Loading @@ -104,7 +104,6 @@ static struct { {"recovery.img", "recovery.sig", "recovery", true}, {"recovery.img", "recovery.sig", "recovery", true}, {"system.img", "system.sig", "system", false}, {"system.img", "system.sig", "system", false}, {"vendor.img", "vendor.sig", "vendor", true}, {"vendor.img", "vendor.sig", "vendor", true}, {"tos.img", "tos.sig", "tos", true}, }; }; void get_my_path(char *path); void get_my_path(char *path); Loading @@ -123,8 +122,6 @@ char *find_item(const char *item, const char *product) fn = "system.img"; fn = "system.img"; } else if(!strcmp(item,"vendor")) { } else if(!strcmp(item,"vendor")) { fn = "vendor.img"; fn = "vendor.img"; } else if(!strcmp(item,"tos")) { fn = "tos.img"; } else if(!strcmp(item,"userdata")) { } else if(!strcmp(item,"userdata")) { fn = "userdata.img"; fn = "userdata.img"; } else if(!strcmp(item,"cache")) { } else if(!strcmp(item,"cache")) { Loading Loading @@ -291,7 +288,7 @@ void usage(void) "commands:\n" "commands:\n" " update <filename> reflash device from update.zip\n" " update <filename> reflash device from update.zip\n" " flashall flash boot, system, vendor and if found,\n" " flashall flash boot, system, vendor and if found,\n" " recovery, tos\n" " recovery\n" " flash <partition> [ <filename> ] write a file to a flash partition\n" " flash <partition> [ <filename> ] write a file to a flash partition\n" " erase <partition> erase a flash partition\n" " erase <partition> erase a flash partition\n" " format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n" " format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n" Loading