forked from VR-25/acc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
framework-details.txt
135 lines (106 loc) · 3 KB
/
framework-details.txt
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
This file describes the framework ACC and other projects of mine are built upon.
It's assumed that you are already a flashable zip and/or Magisk module creator.
Core File Structure
_builds/ (local only dir)
$id-$versionCode/
$id-$versionCode/tar.gz (for front-end apps)
$id-$versionCode.zip (flashable)
install-tarball.sh (copy)
_misc/ (local only dir)
random_dir/
random_file
$id/
default-config.txt
install-zip.sh (universal shell-based-zip flasher)
service.sh (initialization script)
setup-busybox.sh
uninstall.sh
bin/
$id-uninstaller.zip (generated by build.sh; update-binary is a copy of $id/uninstall.sh)
META-INF/com/google/android/
update-binary (copy of install.sh)
updater-script
.gitattributes
.gitignore
build.bat
build.sh
bundle.bat
bundle.sh (copies tarball and install-tarball.sh to front-end-src-code/app/src/main/res/raw/)
check-syntax.bat
check-syntax.sh
customize.sh (copy of install.sh, for Magisk)
framework-details.txt (this file)
install.sh (main installer)
install-online.sh (upgrader, online installer)
install-tarball.sh
License.md
module.prop
README.md
TODO.txt
Typical File Structure, Taking ACC's as Example (id=acc)
_builds/ (local only dir)
acc_v2020.4.27-rc_(202004270)/
acc_v2020.4.27-rc_(202004270).tar.gz (for front-end apps)
acc_v2020.4.27-rc_(202004270).zip (flashable)
install-tarball.sh (copy)
_misc/ (local only dir)
random_dir/
random_file
acc/
translations/
pt-PT/
README.md
strings.sh
acc.sh
acca.sh
accd.sh
apply-on-boot.sh
apply-on-plug.sh
batt-info.sh
charging-switches.txt
cycle-switches.sh
default-config.txt
install-zip.sh (universal shell-based-zip flasher)
mtk-madness.sh
oem-custom.sh
power-supply-logger.sh
print-config.sh
read-ch-curr-ctrl-files-p2.sh
service.sh (initialization script)
set-prop.sh
setup-busybox.sh
start-accd.sh
strings.sh
uninstall.sh
wizard.sh
write-config.sh
bin/
acc-uninstaller.zip (generated by build.sh; update-binary is a copy of acc/uninstall.sh)
META-INF/com/google/android/
update-binary (copy of install.sh)
updater-script
.gitattributes
.gitignore
build.bat
build.sh
bundle.bat
bundle.sh (copies tarball and install-tarball.sh to front-end-src-code/app/src/main/res/raw/)
check-syntax.bat
check-syntax.sh
customize.sh (copy of install.sh, for Magisk)
framework-details.txt (this file)
install.sh (main installer)
install-online.sh (upgrader, online installer)
install-tarball.sh
License.md
module.prop
README.md
TODO.txt
Tasks Carried Out By build.sh
1) Check shell syntax in all scripts.
2) Update version and versionCode in module.prop (values come from README.md > LATEST CHANGES).
3) Set the correct id (from module.prop) in install*.sh, $id/*.sh and bundle.sh.
4) Patch README.md.
5) Update busybox config (from $id/setup-busybox.sh) in $id/uninstall.sh and install scripts.
6) Unify installers for flashable zip (customize.sh and update-binary are copies of install.sh).
7) Generate flashable zips (main & uninstaller) and tarball.