1 // -*- mode: conf; indent-tabs-mode: nil -*-
3 m4_define(`confirm_action',`({
6 exit_after_action = $2;
9 screen_switch_to = "BACK";
14 factory-reset = "touch -f /opt/.factoryreset";
15 safeboot = "touch -f /opt/etc/.safeboot";
18 headless_action = "factory-reset";
21 background = "#000000ff";
38 c_bg_selected = "title";
39 c_bg_unselected = "background";
40 c_text_selected = "white";
41 c_text_unselected = "white";
47 c_background = "background";
51 description_styles = {
82 background_default = {
83 fname = "@SYSTEM_RECOVERY_IMAGE_DIR@/warning.png";
84 c_bg = "background"; // reference to colors
89 img_type = "alpha"; // alt: "no-alpha";
93 fname = "@SYSTEM_RECOVERY_IMAGE_DIR@/menu-title.png";
99 img_type = "no-alpha"; // alt: "no-alpha";
106 fname = "@SYSTEM_RECOVERY_IMAGE_DIR@/tizen-anim.png";
108 align_hor = "center";
109 align_ver = "middle";
114 img_type = "no-alpha"; // alt: "no-alpha";
121 pos_x = 0; // use M4 macros
122 pos_y = 100; // use M4 macros
127 label = "Reboot system now";
128 screen_switch_to = "reboot";
129 // action_handler = ;
132 screen_switch_to = "safe";
133 // action_handler = ;
135 label = "Phone reinitialisation";
136 screen_switch_to = "factory";
137 // action_handler = ;
141 pos_x = 0; // use M4 macros
142 pos_y = 480; // use M4 macros
146 actions = confirm_action(`reboot', 0);
149 pos_x = 0; // use M4 macros
150 pos_y = 480; // use M4 macros
154 actions = confirm_action(`safeboot', 1);
157 pos_x = 0; // use M4 macros
158 pos_y = 480; // use M4 macros
164 screen_switch_to = "factory-run";
165 action_handler = "factory-reset";
166 exit_after_action = 1;
169 screen_switch_to = "BACK";
180 text = "Volume Up/Down to move menu cursor\n"
181 "Power button to select";
187 title = "The phone will be restarted.";
195 title = "Safe mode:",
196 text = "The phone will be started in safe mode.\n"
197 "Home screen will be changed to default\n"
198 "setting and just allow a user to use\n"
199 "only preloaded applications.\n"
207 title = "Factory reset (except SD-card)";
208 text = "This will erase all data from your\n"
209 "phone's internal storage, including\n"
210 "settings of downloaded and preloaded\n"
211 "applications and system configuration.\n"
220 title = "Restoring settings to factory default.";
221 text = "Please wait. Do not turn off.\n"
222 "(Hold power button for 3 seconds\n"
223 "to reboot the device. Not recommended.)";
232 description = "main";
234 images = ("background_default", "menu_title");
238 screen_back = "CURRENT";
243 description = "reboot"
246 images = ("background_default", "menu_title");
250 screen_back = "main";
255 description = "safe";
258 images = ("background_default", "menu_title");
262 screen_back = "main";
267 description = "factory";
270 images = ("background_default", "menu_title");
274 screen_back = "main";
278 description = "factory-run";
280 images = ("background_default", "menu_title");
281 animations = ("working");
282 screen_back = "main";
283 allow_force_reboot = 1;