Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
10 lines
203 B
C
10 lines
203 B
C
#ifndef LIBCRECOVERY_COMMON_H
|
|
#define LIBCRECOVERY_COMMON_H
|
|
|
|
#include <stdio.h>
|
|
|
|
int __system(const char *command);
|
|
FILE * __popen(const char *program, const char *type);
|
|
int __pclose(FILE *iop);
|
|
|
|
#endif |