-
Notifications
You must be signed in to change notification settings - Fork 1
/
AppDisabler_210_v1.pbp
69 lines (64 loc) · 1.53 KB
/
AppDisabler_210_v1.pbp
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
; This patch allows to selectively disable
; certain built-in apps.
; For firmware 2.1.0.
#ver 210 219
;!internal
; The stock order is:
; 1. Sliding Text Watch
; 2. Classic Analog
; 3. Simplicity
; 4. Music
; 5. Notifications
; 6. Sports -unremovable
; 7. Golf -unremovable
; 8. Alarms
; 9. Watchfaces
; 10.Settings -unremovable
; 11.Getting Started -unremovable
; 12.Date & Time -unremovable
; Total: 7 changeable apps
; Usage:
; Supply appcount variable (7..0)
; and corresponding number of appN variables
; containing app names in desired order.
; Note that they will be arranged in reverse order!
; If appcount == e.g. 6, then app7 will not be used. Etc.
#default appcount 7
#default app7 slidingtext
#default app6 classicanalog
#default app5 simplicity
#default app4 music
#default app3 notifications
#default app2 alarms
#default app1 watchfaces
; This is app list
"Upgraded" 00 "Removed" 00
00 00 00
@ ?48 05 01
{
global lstBuiltinApps
val app_slidingtext
DCD app_${app7}
val app_classicanalog
DCD app_${app6}
val app_simplicity
DCD app_${app5}
val app_music
DCD app_${app4}
val app_notifications
DCD app_${app3}
val app_sports
DCD app_${app2}
val app_golf
DCD app_${app1}
val app_alarms
DCD app_sports ; move it here
val app_watchfaces
DCD app_golf ; move it here
}
; Now update the "skip byte", which is actually MOV operator
; it is in launcher_enumerate_apps proc
2d e9 f3 47 df f8 a4 a0 21 4e 22 4f @ 00 25 {
; was: MOV R5, 0
MOV R5, 7-${appcount}*4 ; will be calculated in order specified, i.e. (7-appcount)*4
}