(Attempt at) Implement restoring bis
1 switch was harmed in the making of this commit
This commit is contained in:
@@ -9,10 +9,17 @@ void makestring(char *in, char **out);
|
||||
int del_recursive(char *path);
|
||||
int copy_recursive(char *path, char *dstpath);
|
||||
int dump_emmc_parts(u16 parts, u8 mmctype);
|
||||
int extract_bis_file(char *path, char *outfolder);
|
||||
int restore_bis_using_file(char *path, u8 mmctype);
|
||||
|
||||
#define PART_BOOT 0x1
|
||||
#define PART_PKG2 0x2
|
||||
|
||||
#define BOOT0_ARG 0x80
|
||||
#define BOOT1_ARG 0x40
|
||||
#define BCPKG2_1_ARG 0x20
|
||||
#define BCPKG2_3_ARG 0x10
|
||||
|
||||
static const char *pkg2names[] = {
|
||||
"BCPKG2-1-Normal-Main",
|
||||
"BCPKG2-2-Normal-Sub",
|
||||
|
||||
Reference in New Issue
Block a user