Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa3ed784 authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by Android Git Automerger
Browse files

am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-dev

* commit '81b857f3':
  fastboot: Remove tos from flashall
parents 757adc21 81b857f3
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -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);
@@ -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")) {
@@ -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"