/
extracommands.h
154 lines (107 loc) · 1.78 KB
/
extracommands.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
extern int signature_check_enabled;
void
toggle_signature_check();
void
run_script(char *str1,char *str2,char *str3,char *str4,char *str5,char *str6,char *str7);
void
usb_toggle_sdcard();
#ifdef HAS_INTERNAL_SD
void
usb_toggle_internal();
#endif
int
__system(const char *command);
int
format_non_mtd_device(const char* root);
void
wipe_battery_stats();
void
wipe_rotate_settings();
void
key_logger_test();
void
check_my_battery_level();
void
make_clockwork_path();
#ifndef USES_NAND_MTD
void
check_fs();
extern int
full_ext_format_enabled;
void
toggle_full_ext_format();
#endif
void
unpack_boot();
void
setup_mkboot();
int
check_file_exists(const char* file_path);
int
copy_file(const char* source, const char* dest);
void
do_module();
void
do_make_new_boot();
int
is_dir(const char* file_path);
int
delete_file(const char* file);
void
install_su(int eng_su);
void
rb_bootloader();
void
rb_recovery();
void
display_roots(const char *root);
#ifndef USES_NAND_MTD
int
call_format_ext(const char* root_path);
const char *
check_extfs_format(const char* root);
int
upgrade_ext3_to_ext4(const char* root);
int
force_format_ext3(const char* root);
int
force_format_ext4(const char* root);
int
format_raw_partition(const char* root);
int
format_ext_device(const char* root);
#endif
int
dump_device(const char *root);
void
create_fstab();
void
write_fstab_root(const char *root_path, FILE *file);
int
detect_ums_path();
int
symlink_toolbox();
void
preinit_setup();
#ifdef LGE_RESET_BOOTMODE
void
check_lge_boot_mode();
#endif
void
set_manufacturer_icon();
#ifdef HBOOT_SON_KERNEL
void
create_htcmodelid_script();
int
do_make_new_hbootbootzip();
int
do_make_new_hbootbootzip_auto();
void
delete_hboot_zip();
#endif
#ifdef IS_ICONIA
void
exec_itsmagic();
#endif
void
source_and_credits();