-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAppDisabler_260_v1.pbp
70 lines (65 loc) · 1.54 KB
/
AppDisabler_260_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
70
; This patch allows to selectively disable
; certain built-in apps.
; For firmware 2.5.0.
#ver 250
;!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
; 13.QuickLaunch -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
00 00
@ ?52
00 00 00 00 20 00 20 00 ?16 31 00 30 00
{
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 app_install_manager_init proc
f7 b5 @ 00 25 20 4b eb 58 98 47 {
; was: MOV R5, 0
MOV R5, 7-${appcount}*4 ; will be calculated in order specified, i.e. (7-appcount)*4
}