Skip to content

Commit a16b717

Browse files
authored
Add customer package options
Update package target matrix, safe defaults, docs, color token notes, and helper report text.
1 parent 4ac63fd commit a16b717

10 files changed

Lines changed: 297 additions & 81 deletions

File tree

assets/Overlays/launcher/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Launcher Customer Options
2+
3+
Target package:
4+
5+
```text
6+
com.android.launcher
7+
```
8+
9+
Customer-safe actions:
10+
11+
- Open home settings when available.
12+
- Preview icon and wallpaper assets.
13+
- Export support report.
14+
15+
Status: `Needs testing` until the launcher package and ROM behavior are verified on the exact device.

assets/Overlays/oplus/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# OPlus Customer Overlay Options
2+
3+
Customer-facing OPlus targets are preview-first and status-first.
4+
5+
## Targets
6+
7+
- `com.oplus.uxdesign`
8+
- `com.oplus.battery`
9+
- `com.oplus.notificationmanager`
10+
- `com.oplus.ota`
11+
12+
## Rules
13+
14+
- Use owned assets only.
15+
- Keep risky targets labelled `Needs testing` until verified.
16+
- Keep OTA behavior warning-only.
17+
- Do not use forced background changes or fake optimizer claims.

assets/Overlays/targets.json

Lines changed: 117 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.5.4",
2+
"version": "0.6.1",
33
"project": "ColorOS Themes Rock",
44
"rootd_customer_mode": "safe_first",
55
"runtime_apply_default": false,
@@ -11,6 +11,14 @@
1111
"LSPosed scope required",
1212
"Not available"
1313
],
14+
"customer_option_policy": {
15+
"free_first": true,
16+
"preview_first": true,
17+
"status_first": true,
18+
"systemless_only": true,
19+
"direct_partition_writes": false,
20+
"working_label_requires_real_device_test": true
21+
},
1422
"package_targets": [
1523
{
1624
"id": "android_framework",
@@ -19,17 +27,8 @@
1927
"area": "framework_visual_resources",
2028
"default_status": "Needs testing",
2129
"risk": "high",
22-
"safe_customer_actions": [
23-
"view_target_status",
24-
"preview_owned_assets",
25-
"export_support_report"
26-
],
27-
"advanced_requirements": [
28-
"root_status_checked",
29-
"rollback_ready",
30-
"device_profile_matched",
31-
"compiled_overlay_tested"
32-
],
30+
"safe_customer_actions": ["view_target_status", "preview_owned_assets", "export_support_report"],
31+
"advanced_requirements": ["root_status_checked", "rollback_ready", "device_profile_matched", "compiled_overlay_tested"],
3332
"apply_policy": "disabled_until_tested_overlay_exists"
3433
},
3534
{
@@ -39,19 +38,8 @@
3938
"area": "status_bar_quick_settings_notifications_lock_surface",
4039
"default_status": "Needs testing",
4140
"risk": "high",
42-
"safe_customer_actions": [
43-
"view_target_status",
44-
"preview_owned_assets",
45-
"check_lsposed_scope",
46-
"export_support_report"
47-
],
48-
"advanced_requirements": [
49-
"root_status_checked",
50-
"lsposed_scope_checked",
51-
"rollback_ready",
52-
"device_profile_matched",
53-
"compiled_overlay_tested"
54-
],
41+
"safe_customer_actions": ["view_target_status", "preview_owned_assets", "check_lsposed_scope", "export_support_report"],
42+
"advanced_requirements": ["root_status_checked", "lsposed_scope_checked", "rollback_ready", "device_profile_matched", "compiled_overlay_tested"],
5543
"apply_policy": "disabled_until_tested_overlay_exists"
5644
},
5745
{
@@ -61,33 +49,121 @@
6149
"area": "settings_cards_about_phone_support_diagnostics",
6250
"default_status": "Needs testing",
6351
"risk": "medium",
64-
"safe_customer_actions": [
65-
"view_target_status",
66-
"preview_owned_assets",
67-
"open_settings_shortcuts",
68-
"export_support_report"
69-
],
70-
"advanced_requirements": [
71-
"root_status_checked",
72-
"lsposed_scope_checked_if_hooks_enabled",
73-
"rollback_ready",
74-
"device_profile_matched",
75-
"compiled_overlay_tested"
76-
],
52+
"safe_customer_actions": ["view_target_status", "preview_owned_assets", "open_settings_shortcuts", "export_support_report"],
53+
"advanced_requirements": ["root_status_checked", "lsposed_scope_checked_if_hooks_enabled", "rollback_ready", "device_profile_matched", "compiled_overlay_tested"],
7754
"apply_policy": "disabled_until_tested_overlay_exists"
55+
},
56+
{
57+
"id": "oplus_uxdesign",
58+
"package": "com.oplus.uxdesign",
59+
"customer_name": "OPlus UX Design",
60+
"area": "colors_typography_cards_surfaces_motion_tokens",
61+
"default_status": "Needs testing",
62+
"risk": "medium",
63+
"safe_customer_actions": ["preview_colors_xml", "view_design_tokens", "export_support_report"],
64+
"advanced_requirements": ["owned_colors_xml", "device_profile_matched", "rollback_ready", "tested_on_same_rom"],
65+
"apply_policy": "preview_only_until_tested_theme_or_overlay_exists"
66+
},
67+
{
68+
"id": "oplus_battery",
69+
"package": "com.oplus.battery",
70+
"customer_name": "OPlus Battery",
71+
"area": "battery_cards_power_saver_labels_diagnostics",
72+
"default_status": "Safe guidance",
73+
"risk": "medium",
74+
"safe_customer_actions": ["open_battery_settings", "view_battery_guidance", "export_support_report"],
75+
"advanced_requirements": ["no_fake_booster_claims", "device_profile_matched", "tested_on_same_rom"],
76+
"apply_policy": "guidance_only_no_forced_battery_changes"
77+
},
78+
{
79+
"id": "colors_xml",
80+
"package": "colors.xml",
81+
"customer_name": "Theme colors.xml",
82+
"area": "theme_color_tokens_accent_surface_background_text",
83+
"default_status": "Template ready",
84+
"risk": "low",
85+
"safe_customer_actions": ["edit_owned_color_tokens", "preview_palette", "export_template"],
86+
"advanced_requirements": ["owned_assets_only", "valid_xml", "contrast_checked", "tested_before_release"],
87+
"apply_policy": "template_and_preview_first"
88+
},
89+
{
90+
"id": "android_launcher",
91+
"package": "com.android.launcher",
92+
"customer_name": "Android Launcher",
93+
"area": "home_screen_icons_wallpaper_preview_launcher_cards",
94+
"default_status": "Needs testing",
95+
"risk": "medium",
96+
"safe_customer_actions": ["open_home_settings", "preview_icon_assets", "export_support_report"],
97+
"advanced_requirements": ["launcher_package_verified", "device_profile_matched", "rollback_ready", "tested_on_same_rom"],
98+
"apply_policy": "preview_first_launcher_behavior_varies"
99+
},
100+
{
101+
"id": "oplus_eyeprotect_themeinner",
102+
"package": "com.oplus.eyeprotect",
103+
"customer_name": "OPlus Eye Comfort",
104+
"area": "eye_protection_theme_inner_assets",
105+
"module_path": "system_ext/media/themeInner/com.oplus.eyeprotect",
106+
"default_status": "Needs testing",
107+
"risk": "medium",
108+
"safe_customer_actions": ["view_target_status", "preview_owned_assets", "export_support_report"],
109+
"advanced_requirements": ["systemless_module_path", "device_profile_matched", "rollback_ready", "tested_on_same_rom"],
110+
"apply_policy": "systemless_preview_only_until_device_tested"
111+
},
112+
{
113+
"id": "oplus_notification_manager",
114+
"package": "com.oplus.notificationmanager",
115+
"customer_name": "OPlus Notification Manager",
116+
"area": "notification_controls_cards_badges_permission_guidance",
117+
"default_status": "Safe guidance",
118+
"risk": "medium",
119+
"safe_customer_actions": ["open_notification_settings", "view_permission_guidance", "export_support_report"],
120+
"advanced_requirements": ["no_hidden_policy_changes", "device_profile_matched", "tested_on_same_rom"],
121+
"apply_policy": "settings_shortcuts_and_guidance_only"
122+
},
123+
{
124+
"id": "oplus_ota",
125+
"package": "com.oplus.ota",
126+
"customer_name": "OPlus OTA",
127+
"area": "ota_labels_update_warnings_safe_disable_guidance",
128+
"default_status": "Safe guidance",
129+
"risk": "high",
130+
"safe_customer_actions": ["show_update_warning", "safe_disable_before_update", "export_support_report"],
131+
"advanced_requirements": ["do_not_modify_update_integrity", "rollback_ready", "device_profile_matched"],
132+
"apply_policy": "warnings_only_never_modify_ota_integrity"
133+
},
134+
{
135+
"id": "android_wallpaper_livepicker",
136+
"package": "com.android.wallpaper.livepicker",
137+
"customer_name": "Live Wallpaper Picker",
138+
"area": "live_wallpaper_picker_shortcuts_preview",
139+
"default_status": "Safe shortcut",
140+
"risk": "low",
141+
"safe_customer_actions": ["open_live_wallpaper_picker", "preview_wallpaper_assets", "export_support_report"],
142+
"advanced_requirements": ["wallpaper_component_verified", "device_profile_matched", "tested_on_same_rom"],
143+
"apply_policy": "public_intent_shortcut_when_available"
78144
}
79145
],
80146
"folders": {
81147
"android": "assets/Overlays/android",
82148
"com.android.systemui": "assets/Overlays/systemui",
83149
"com.android.settings": "assets/Overlays/settings",
150+
"com.oplus.uxdesign": "assets/Overlays/oplus/uxdesign",
151+
"com.oplus.battery": "assets/Overlays/oplus/battery",
152+
"colors.xml": "assets/Overlays/templates/colors.xml",
153+
"com.android.launcher": "assets/Overlays/launcher",
154+
"com.oplus.eyeprotect": "system_ext/media/themeInner/com.oplus.eyeprotect",
155+
"com.oplus.notificationmanager": "assets/Overlays/oplus/notificationmanager",
156+
"com.oplus.ota": "assets/Overlays/oplus/ota",
157+
"com.android.wallpaper.livepicker": "assets/Overlays/wallpaper/livepicker",
84158
"templates": "assets/Overlays/templates"
85159
},
86160
"blocked_actions": [
87161
"fake_working_status",
88162
"untested_customer_apply",
89163
"forced_ads_or_paid_gate",
90-
"irreversible_change_without_rollback"
164+
"irreversible_change_without_rollback",
165+
"direct_system_partition_write",
166+
"ota_integrity_change"
91167
],
92168
"diagnostics": {
93169
"status_output": "/data/local/tmp/coloros-themes-rock/rootd-status.txt",
@@ -97,7 +173,8 @@
97173
"lsposed_scope_status",
98174
"package_presence",
99175
"overlay_readiness",
100-
"rollback_readiness"
176+
"rollback_readiness",
177+
"colors_xml_validity"
101178
]
102179
}
103180
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Customer colors.xml tokens
2+
3+
Use this as the customer-safe color token set for a future `colors.xml` resource file.
4+
5+
| Token | Value |
6+
|---|---|
7+
| rock_accent | #E2B884 |
8+
| rock_accent_soft | #F0D2A8 |
9+
| rock_background | #0F0F10 |
10+
| rock_surface | #1A1A1D |
11+
| rock_surface_soft | #242429 |
12+
| rock_text_primary | #F5F2EA |
13+
| rock_text_secondary | #B9B1A3 |
14+
| rock_success | #8FD694 |
15+
| rock_warning | #FFCC66 |
16+
| rock_error | #FF8A80 |
17+
18+
Rules:
19+
20+
- Use owned assets only.
21+
- Validate XML syntax before release.
22+
- Check contrast before customer sharing.
23+
- Keep `colors.xml` preview-first until tested on the exact ROM.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Live Wallpaper Picker Customer Options
2+
3+
Target package:
4+
5+
```text
6+
com.android.wallpaper.livepicker
7+
```
8+
9+
Customer-safe actions:
10+
11+
- Open live wallpaper picker when the system exposes it.
12+
- Preview owned wallpaper assets.
13+
- Export support report.
14+
15+
Status: `Safe shortcut` when the picker intent is available, otherwise `Not available`.

0 commit comments

Comments
 (0)