{"id":493637,"date":"2026-09-06T14:21:40","date_gmt":"2026-09-06T14:21:40","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=493637"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2026-09-06T14:21:40","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=493637","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Mi Band 10 Pro"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/ab8\/383\/6c3\/ab83836c3b6122a96e096b118cb10f02.png\" alt=\"intro\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/ab8\/383\/6c3\/ab83836c3b6122a96e096b118cb10f02.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/ab8\/383\/6c3\/ab83836c3b6122a96e096b118cb10f02.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>intro<\/figcaption><\/div>\n<\/figure>\n<p> \u0418\u0442\u0430\u043a, \u0441\u0435\u0439\u0447\u0430\u0441 \u0443 \u043c\u0435\u043d\u044f \u043d\u0430 \u0440\u0443\u043a\u0430\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0437 \u043b\u0438\u043d\u0435\u0439\u043a\u0438 SmartBand Pro. \u0410, \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u0436\u0435\u043b\u0435\u0437\u043e: Bestechnic BES2700iMP Cortex-M33, 16Mb inner SPI flash, ~2.5Mb SRAM, 16Mb PSRAM, external SPI Nand Flash 512\/256Mb. <\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u043e \u043d\u0430 \u0431\u0430\u0437\u0435 \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e \u0441\u043e\u0444\u0442\u0430 RTOS NuttX, UI lvgl v9,<br \/> app engines: LUA, AiotJS(quickjs \u0432 \u0434\u0435\u0432\u0438\u0447\u0435\u0441\u0442\u0432\u0435) &#8212; Vue \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 JavaScript-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a.<br \/> Lua &#8212; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u044b, \u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 AiotJS \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u043a\u0438<\/h2>\n<p>\u0412 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 Xiaomi \u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442 \u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u043e\u0447\u0435\u043d\u044c \u0433\u043b\u0443\u043f\u043e, \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e,<br \/> \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u043d\u044f\u0442\u044c, \u043d\u0443 \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043e\u043a \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<br \/> \u0434\u043b\u044f \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u044f\u044e\u0442 \u044d\u0442\u043e\u0442 \u0434\u0432\u0438\u0436\u043e\u043a \u0438\u0437 \u0447\u0430\u0441\u043e\u0432 \u0434\u043b\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u043b\u0438\u0437\u043e\u0432.<\/p>\n<h2>\u0426\u0435\u043b\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438<\/h2>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440.<br \/> \u041a\u0430\u043a \u043f\u043e \u043c\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u043d\u0430\u0431\u043e\u0440\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<h2>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h2>\n<p>\u041a\u043e\u0433\u0434\u0430 \u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0421\u044f\u043e\u043c\u0438 \u0441 \u0434\u0432\u0438\u0436\u043a\u043e\u043c LUA, Redmi Watch 4, \u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0439 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e, \u0447\u0442\u043e LUA \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439,<br \/> \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0447\u0435\u043c\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c os.execute(\u201c\u201d) \u0432 OS shell, \u044f \u043e\u0431\u0440\u0430\u0442\u0438\u043b \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Longcheer (\u043f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a Xiaomi), \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 NuttX.<\/p>\n<p>\u0418 \u0441\u0440\u0435\u0434\u0438 \u043d\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0442\u0440\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2018insmod\u2019, \u2018lsmod\u2019, \u2018rmmod\u2019:<\/p>\n<p><code>insmod<\/code> \u2014 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u041e\u0421 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u044f \u0435\u0433\u043e \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c.<br \/> <code>lsmod<\/code> \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u041e\u0421, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u0445 \u0438\u043c\u0435\u043d\u0430, \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 (text) \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0435\u043a\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (data)<br \/> <code>rmmod<\/code> \u2014 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u0442 (\u0443\u0434\u0430\u043b\u044f\u0435\u0442) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e \u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438.<\/p>\n<blockquote>\n<p>\u0422\u043e\u0433\u0434\u0430 \u044f \u043e\u0442\u043b\u043e\u0436\u0438\u043b \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0437\u043d\u0430\u043b \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u043b \u0441\u0432\u043e\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u044f\u043c\u044b\u0435 \u0438\u043d\u0436\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u0432 firmware, \u043d\u043e \u043d\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0436\u0435\u0441\u0442\u043a\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043a\u043e\u0434\u0430<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u043f\u043e\u0434 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e, \u0431\u0435\u0437 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0444\u0430\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0431\u043e\u0440\u043a\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430.<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u043e, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u0435<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0430 \u0441\u0438\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c \u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442\u0441\u044f \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<\/blockquote>\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u044e\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043c\u043e\u0434\u0443\u043b\u044f\u043c \u044f\u0434\u0440\u0430 (LKM) \u0432 Linux. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u0434 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438) \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0435\u0451 \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u043c\u043e\u0434\u0443\u043b\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0441\u044f \u0432 <a href=\"https:\/\/nuttx.apache.org\/docs\/latest\/components\/binfmt.html\" rel=\"noopener nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NuttX<\/a><\/p>\n<p><code>insmod<\/code> \u0443\u043c\u0435\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c 2 \u0442\u0438\u043f\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 ELF \u0438 NXFLAT, \u0432 ELF \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0449\u0438\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 ET_REL (\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442) \u0438 ET_DYN (\u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442). \u0418\u0445 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0438 \u043a\u0442\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 \u043a\u043e\u0434 \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438. \u0430\u0434\u0440\u0435\u0441\u0430. ET_REL &#8212; c\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a (ld) \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, ET-DYN &#8212; \u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a \u044f\u0434\u0440\u0430 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 ET_REL &#8212; \u043e\u043d \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418\u0442\u0430\u043a, \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:<\/p>\n<ol>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c LUA \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442 \u0434\u043b\u044f \u0434\u0435\u043f\u043b\u043e\u044f(\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438) .elf \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0447\u0430\u0441\u044b<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0437\u043e\u0432\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 os.execute(\u201clsmod \/data\/mb10p_app.elf mb10p_app\u201d) \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\/\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b Xiaomi<\/h2>\n<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Longcheer \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c \u0447\u0430\u0441\u043e\u0432 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u043e\u0434\u043d\u043e \u0438\u0437 \u043d\u0438\u0445, \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043d\u0430\u043c &#8212; \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<br \/> \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u044d\u0442\u043e\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<ul>\n<li>\n<p>\u0432\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0447\u0430\u0441\u043e\u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p>\u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0438 \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e &#8212; \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0432 launcher.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 global vtable \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 Xiaomi \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0439 \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<details class=\"spoiler\">\n<summary>global vtable \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 Xiaomi \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>g_xiaomi_apps\u251c\u2500\u2500 register_app_launcher\u251c\u2500\u2500 register_app_system\u251c\u2500\u2500 register_app_home\u251c\u2500\u2500 register_app_watchface\u251c\u2500\u2500 register_app_setupwizard\u251c\u2500\u2500 register_app_easter_egg\u251c\u2500\u2500 register_app_control_center\u251c\u2500\u2500 register_app_notifications\u251c\u2500\u2500 register_app_carcontrol\u251c\u2500\u2500 register_app_check_tool\u251c\u2500\u2500 register_app_calendar\u251c\u2500\u2500 register_app_tourling\u251c\u2500\u2500 register_app_settings\u251c\u2500\u2500 register_app_alipay\u251c\u2500\u2500 register_app_timer\u251c\u2500\u2500 register_app_worldclock\u251c\u2500\u2500 register_app_recorder\u251c\u2500\u2500 register_app_chronograph\u251c\u2500\u2500 register_app_todolist\u251c\u2500\u2500 register_app_perpetual_calendar\u251c\u2500\u2500 register_app_compass\u251c\u2500\u2500 register_app_alarm\u251c\u2500\u2500 register_app_find_phone\u251c\u2500\u2500 register_app_flashlight\u251c\u2500\u2500 register_app_media\u251c\u2500\u2500 register_app_nfccard\u251c\u2500\u2500 register_app_weather\u251c\u2500\u2500 register_app_voice\u251c\u2500\u2500 register_app_mijia\u251c\u2500\u2500 register_app_share_device\u251c\u2500\u2500 register_app_interconnect\u251c\u2500\u2500 register_app_remote_camera\u251c\u2500\u2500 register_app_phone\u251c\u2500\u2500 register_app_contact\u251c\u2500\u2500 register_app_womenhealth\u251c\u2500\u2500 register_app_vitality\u251c\u2500\u2500 register_app_breath\u251c\u2500\u2500 register_app_pressure\u251c\u2500\u2500 register_app_oxygen\u251c\u2500\u2500 register_app_heartrate\u251c\u2500\u2500 register_app_sleep\u251c\u2500\u2500 register_app_training\u251c\u2500\u2500 register_app_course\u251c\u2500\u2500 register_app_record\u251c\u2500\u2500 register_app_sports\u251c\u2500\u2500 register_app_activities\u2514\u2500\u2500 register_app_fusion_center<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0438 \u043e\u043d\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u0442<br \/> \u0438 \u0434\u0432\u0443\u0445 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 miwear_app_t \u0438 miwear_page_t<\/p>\n<pre><code class=\"cpp\">typedef struct miwear_app_t{  int proto_app;  int field_4;  char *name;  char *icon;  uint16_t app_id;  uint16_t flags;  int field_14;  int field_18;  char *(*app_get_name)(void);  int (*on_uninstall)(void);  int field_24;  int field_28;  int field_2C;  int field_30;  int field_34;  int (*on_signal)(void);  int field_3C;} miwear_app_t;typedef struct miwear_page_t {    void *parent_descriptor;    uint8_t _pad_4[0x0C];    void *page_name;    uint16_t page_id;    uint16_t app_id;    uint16_t flags;    uint8_t _pad_1a[0x02];    int32_t scheduler_deadline;    int32_t scheduler_priority;    uint32_t async_destroy_state;    uint8_t lifecycle_state;    uint8_t layer;    uint8_t page_kind;    uint8_t _pad_2b[0x01];    void *activity_context;    void *root_object;    void *on_signal;    void *runtime_default_56;    uint8_t _pad_3c[0x04];    void *registry_prev;    void *registry_next;    void *runtime_parent;    void *on_create;    void *on_resume;    void *on_newdata;    void *on_start;    void *on_pause;    void *on_stop;    void *on_destroy;    void *on_back;    void *on_keyevent;    void *get_scroll_obj;} miwear_page_t;<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441:<\/p>\n<pre><code class=\"cpp\">struct packagemanager_api_s{    int (*install)(miwear_app_t *app, miwear_page_t *pages[], int count);    int (*recover)(miwear_app_t *app);    int (*uninstall)(miwear_app_t *app);    int (*unregister)(miwear_app_t *app);    int (*update_notify)(miwear_app_t *app);    void *(*widgets_add)(miwear_app_t *app, void *widgets, int count);    void (*widgets_remove)(miwear_app_t *app);    int (*set_hidden)(miwear_app_t *app, int hidden);    int (*is_hidden)(miwear_app_t *app);};<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<pre><code class=\"cpp\">int register_app_flashlight(){  miwear_page_t *pages[1];  pages[0] = &amp;flashlight_page_main;  return p_app_install(&amp;app_flashlight, pages, 1);}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"cpp\">\/* * mb10p_hello.c * * Loadable NuttX userspace module for Xiaomi Mi Band 10 Pro (mb10pro). * Loaded at runtime via the NSH command: * *     insmod \/data\/mb10p_hello.elf hello_module * * ============================================================================ *\/#include &lt;stdint.h&gt;#include \"nuttx\/syslog.h\"#include \"platform\/miwear_system.h\"static int say_hello_module(void){    syslog(LOG_WARN, \"[hello_module] hello\");    return 0;}\/\/ ---- ELF ENTRY POINT --------------------------------------------------- *__attribute__((constructor)) int module_initialize(void){    syslog(LOG_WARN, \"[hello_module] loaded\");say_hello_module();    return 0;   \/* OK; loader adds us to the module registry *\/}__attribute__((destructor, used)) static void module_uninitialize(void){    syslog(LOG_WARN, \"[hello_module] unloaded\");}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0442\u0443\u0442 \u0432\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 &#8212; \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0438 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440,<br \/> \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0445 \u0434\u0435\u0440\u0433\u0430\u0435\u0442 <code>insmod<\/code>, <code>rmmod<\/code> \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438.<br \/> \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 syslog &#8212; \u0438 \u043f\u0438\u0448\u0435\u0442 \u0432 \u043b\u043e\u0433, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e,<br \/> \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f<\/h3>\n<p>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u044d\u0442\u0430\u043f, \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0430 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b insmod \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b .elf, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0432 RAM, \u0441\u0434\u0435\u043b\u0430\u043b \u0440\u0435\u043b\u043e\u043a\u0430\u0446\u0438\u044e \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438 \u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e.<\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0442 \u0447\u0442\u043e<\/p>\n<pre><code class=\"powershell\">c:\\Xiaomi\\_app_native_code&gt;arm-none-eabi-readelf -hS mb10p_hello.elfELF Header:  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00  Class:                             ELF32  Data:                              2's complement, little endian  Version:                           1 (current)  OS\/ABI:                            UNIX - System V  ABI Version:                       0  Type:                              REL (Relocatable file)  Machine:                           ARM  Version:                           0x1  Entry point address:               0x1  Start of program headers:          0 (bytes into file)  Start of section headers:          828 (bytes into file)  Flags:                             0x5000000, Version5 EABI  Size of this header:               52 (bytes)  Size of program headers:           0 (bytes)  Number of program headers:         0  Size of section headers:           40 (bytes)  Number of section headers:         15  Section header string table index: 14Section Headers:  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al  [ 0]                   NULL            00000000 000000 000000 00      0   0  0  [ 1] .text             PROGBITS        00000000 000034 000030 00  AX  0   0  4  [ 2] .rel.text         REL             00000000 0002a0 000018 08   I 12   1  4  [ 3] .rodata           PROGBITS        00000030 000064 000043 01 AMS  0   0  1  [ 4] .data             PROGBITS        00000073 0000a7 000000 00  WA  0   0  1  [ 5] .bss              NOBITS          00000073 0000a7 000000 00  WA  0   0  1  [ 6] .init_array       INIT_ARRAY      00000074 0000a8 000004 04  WA  0   0  4  [ 7] .rel.init_array   REL             00000000 0002b8 000008 08   I 12   6  4  [ 8] .fini_array       FINI_ARRAY      00000078 0000ac 000004 04  WA  0   0  4  [ 9] .rel.fini_array   REL             00000000 0002c0 000008 08   I 12   8  4  [10] .comment          PROGBITS        00000000 0000b0 00004e 01  MS  0   0  1  [11] .ARM.attributes   ARM_ATTRIBUTES  00000000 0000fe 000034 00      0   0  1  [12] .symtab           SYMTAB          00000000 000134 000130 10     13  18  4  [13] .strtab           STRTAB          00000000 000264 00003b 00      0   0  1  [14] .shstrtab         STRTAB          00000000 0002c8 000071 00      0   0  1Key to Flags:  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),  L (link order), O (extra OS processing required), G (group), T (TLS),  C (compressed), x (unknown), o (OS specific), E (exclude),  y (purecode), p (processor specific)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>.ld \u0444\u0430\u0439\u043b \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a\u0430<\/p>\n<pre><code class=\"cpp\">\/* Compact ET_REL layout*\/ENTRY(module_initialize)SECTIONS{    .text : { *(.text .text.*) }    .rodata : { *(.rodata .rodata.*) }    .data : { *(.data .data.*) }    .bss : { *(.bss .bss.* COMMON) }        .init_array : {        KEEP(*(.init_array))        KEEP(*(.init_array.*))    }    .fini_array : {        KEEP(*(.fini_array))        KEEP(*(.fini_array.*))    }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418\u0442\u043e\u0433\u043e, \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u044f\u0434 \u0443\u0441\u043b\u043e\u0432\u0438\u0439<\/p>\n<ul>\n<li>\n<p>\u0442\u0438\u043f ELF &#8212; REL (Relocatable file)<\/p>\n<\/li>\n<li>\n<p>\u043d\u0438\u043a\u0430\u043a\u0438\u0445 import\/export \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u043e\u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d<\/p>\n<\/li>\n<li>\n<p>\u043d\u0438\u043a\u0430\u043a\u0438\u0445 __aeabi_* \u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432 \u043e\u0442 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435\u0442 \u043c\u0430\u043f\u043f\u0438\u043d\u0433\u0430 \u043d\u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 lib, loader .ELF \u0432 insmod \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0435\u0436\u0435\u043a\u043d\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 .ELF &#8212; \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u0431\u043e\u0440\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0432 \u043c\u043e\u0434\u0443\u043b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f,<br \/> \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"cpp\">static char notification_title[] = \"Voil\u00e0! \ud83c\udf89\";static char notification_src[]  = \"Calculator\";static char notification_body[]  = \"I'm in apps. Find me there.\";static char APP_ICON[]  = \"\/data\/calc_logo_112.png\";static struct notification_msg_t done_notification = {    .message_id      = UINT64_C(0xBE57BEEF),    .title           = notification_title,    .source          = notification_src,    .body            = notification_body,    .small_icon_path = APP_ICON,    .large_icon_path = APP_ICON,    .start_reminder  = 1u,};static miwear_app_t g_calc_app = {    .proto_app = 0,    .field_4   = 0,    .name      = APP_NAME,    .icon      = APP_ICON,    .app_id    = CALC_APP_ID,    .flags     = 0,    .field_14  = 0,    .field_18  = 0,    .app_get_name = calc_app_get_name,    .on_uninstall = 0,    .field_24  = 0,    .field_28  = 0,    .field_2C  = 0,    .field_30  = 0,    .field_34  = 0,    .on_signal = 0,    .field_3C  = 0,};static miwear_page_t g_calc_page = {    .parent_descriptor = 0,    .page_name         = PAGE_NAME,    .page_id           = CALC_PAGE_ID,    .app_id            = CALC_APP_ID,    .flags             = 0,    .scheduler_deadline = 0,    .scheduler_priority = 0,    .async_destroy_state = 0,    .lifecycle_state   = 0,    .layer             = 1,    .page_kind         = 0,    .activity_context  = 0,    .root_object         = 0,    .on_signal           = calc_page_on_signal,    .runtime_default_56  = 0,    .registry_prev       = 0,    .registry_next       = 0,    .runtime_parent      = 0,    .on_create           = calc_page_on_create,    .on_resume           = 0,    .on_newdata          = 0,    .on_start            = 0,    .on_pause            = 0,    .on_stop             = 0,    .on_destroy          = calc_page_on_destroy,    .on_back             = 0,    .on_keyevent         = 0,    .get_scroll_obj      = 0,};static void register_app(void){    if (app_lookup(CALC_APP_ID) == 0) {        \/* Register the calculator app with its main page. *\/        miwear_page_t *pages[] = { &amp;g_calc_page };        int res = g_packagemanager_api-&gt;install(&amp;g_calc_app, pages, 1);        syslog(LOG_WARN, \"%s pm_app_install(%s) rc=%d\\n\",            LOG_TAG, g_calc_app.name, res);        \/* Add the app icon to the launcher grid. *\/        int rc = app_launcher_add(CALC_APP_ID);        syslog(LOG_WARN, \"%s app_launcher_add rc=%d\\n\", LOG_TAG, rc);        if (res == 0) {            char *curr_face = g_watchface_config &amp;&amp; g_watchface_config-&gt;current_face                            ? g_watchface_config-&gt;current_face-&gt;id                            : \"\";            syslog(LOG_WARN, \"curr face: %s\\n\", curr_face);            watchface_manager_delete_watchface(curr_face);            watchface_manager_reset_watchface(NULL);            lvx_notification_insert_message(&amp;done_notification);        }    }    else {        syslog(LOG_WARN, \"%s add already exists\", LOG_TAG);    }}static void timer_callback(lv_timer_t *timer){    (void)timer;    lv_timer_delete(post_timer_id);    post_timer_id = 0;    register_app();    syslog(LOG_WARN, \"%s timer fired\", LOG_TAG);}static void call_deferred(void){    post_timer_id = lv_timer_create(timer_callback, 500, 0);    syslog(LOG_WARN, \"%s lv_timer_create -&gt; %p\\n\", LOG_TAG, post_timer_id);}__attribute__((constructor)) int module_initialize(void){    syslog(LOG_WARN, \"%s loaded\\n\", LOG_TAG);    \/\/ There is a problem to call UI functions in shell thread.    \/\/ So there is a solution, to run timer and callback will fired    \/\/ in lvgl loop thread, otherwise it fuckup the shell thread    \/\/ and system reboots.    call_deferred();    return 0;}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042f \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0442\u0443\u0442 \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u043b\u043e\u0432,<br \/> \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u044c\u0435\u043a\u0442\u044b <code>g_calc_app<\/code> \u0438 <code>g_calc_page<\/code>,<br \/> \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0437\u043e\u0432<br \/> <code>g_packagemanager_api-&gt;install(&amp;g_calc_app, pages, 1);<\/code><\/p>\n<p>\u0441\u0438\u0441\u0442\u0435\u043c\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 <code>app_launcher_add<\/code> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0433\u0440\u0438\u0434 \u043b\u0430\u0443\u043d\u0447\u0435\u0440\u0430,<\/p>\n<p>\u043d\u0443 \u0438 \u0434\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0430\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u0430,<br \/> \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u0440\u0433\u0430\u044e\u0442\u0441\u044f \u0434\u0432\u0430 \u0432\u044b\u0437\u043e\u0432\u0430. <code>watchface_manager_delete_watchface<\/code>, \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c id \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u0430, \u043d\u0443 \u0438 \u0432\u044b\u0437\u043e\u0432 <code>watchface_manager_reset_watchface(NULL)<\/code> \u043d\u0443\u0436\u0435\u043d, \u0447\u0442\u043e\u0431\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0430 UI \u043f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f, \u0438\u043d\u0430\u0447\u0435 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442 \u0443\u0434\u0430\u043b\u0435\u043d, \u0430 \u043d\u0430 \u0434\u0438\u0441\u043f\u043b\u0435\u0435 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u043f\u043b\u044e\u0441, \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0446\u0438\u0438, \u0438 \u043f\u0440\u043e\u0431\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u044b\u0437\u043e\u0432<br \/> \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <code>lvx_notification_insert_message<\/code><\/p>\n<h2>\u041d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440<\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u0441\u043a\u0443\u0447\u043d\u0430\u044f \u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u044f \u043e\u043f\u0443\u0448\u0443, \u043f\u043e\u043b\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043c\u043e\u0435\u043c github.<br \/> \u0421\u0441\u044b\u043b\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u0436\u0435.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0437\u0430\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 lvgl \u0447\u0430\u0441\u0442\u044c, \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443 \u044f \u0434\u0430\u043b \u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e LLM, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0447\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0442\u0430\u043c, \u044f \u0443\u043a\u0430\u0437\u0430\u043b \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443 \u0447\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0443\u043c\u0435\u0435\u0442 \u0432\u043e float-point operations<br \/> \u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b <code>-mfloat-abi=hard -mfpu=fpv5-sp-d16<\/code> \u0438 \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u043d\u0435 \u043d\u0430\u0433\u0435\u043d\u0435\u0440\u0438\u043b \u043c\u043d\u0435 aeabi \u0432\u044b\u0437\u043e\u0432\u043e\u0432.<\/p>\n<p>\u0418\u0442\u0430\u043a<\/p>\n<pre><code class=\"cpp\">lv_obj_t *calc_page_create(lv_obj_t *parent){    \/* Full-screen container. *\/    lv_obj_t *root = lv_obj_create(parent, 0);    lv_obj_set_size(root, SCREEN_W, SCREEN_H);    \/* Background. *\/    lvx_obj_set_style_bg_color(root, 0xFF101018u);    lv_obj_set_style_bg_opa(root, 255u, 0);    \/* Default lv_obj padding shifts every TOP_LEFT aligned child; clear     * it so the calculator grid is positioned against true (0,0). *\/    lv_obj_set_style_pad_left  (root, 0, 0);    lv_obj_set_style_pad_right (root, 0, 0);    lv_obj_set_style_pad_top   (root, 0, 0);    lv_obj_set_style_pad_bottom(root, 0, 0);    \/* Display label at the top. Spans full screen width with a uniform     * left+right gap so it doesn't kiss either edge. *\/    lv_obj_t *disp = lv_label_create(root);    calc_disp_label = disp;    lv_label_set_text(disp, calc_display);    lv_obj_set_size(disp, SCREEN_W - 16, CALC_DISP_H);    lv_obj_align(disp, LV_ALIGN_TOP_RIGHT, -8, 12);    lv_style_t *lb_style = (lv_style_t *)LB_TEXT_STYLE_1;    lvx_obj_set_style_text(disp, lb_style, 255, 0);    lv_obj_set_style_text_align(disp, LV_ALIGN_TOP_RIGHT, 0);    \/* Button grid -- 4 cols, 5 rows. The \"0\" key spans two columns. *\/    static const char *const labels[5][4] = {        { \"C\",  \"&lt;=\",  \"%\",  \"\/\"  },        { \"7\",  \"8\",   \"9\",  \"*\"  },        { \"4\",  \"5\",   \"6\",  \"-\"  },        { \"1\",  \"2\",   \"3\",  \"+\"  },        { \"0\",  \"\",    \".\",  \"=\"  },    };    lv_coord_t total_w = 4 * CALC_BTN_W + 3 * CALC_BTN_GAP;    lv_coord_t start_x = (SCREEN_W - total_w) \/ 2;    lv_coord_t start_y = CALC_DISP_H + 24;    for (int r = 0; r &lt; 5; ++r)    {        for (int c = 0; c &lt; 4; ++c)        {            const char *lbl = labels[r][c];            if (lbl[0] == '\\0') continue;            lv_coord_t w = CALC_BTN_W;            if (r == 4 &amp;&amp; c == 0)                w = 2 * CALC_BTN_W + CALC_BTN_GAP;            lv_coord_t x = start_x + c * (CALC_BTN_W + CALC_BTN_GAP);            if (r == 4 &amp;&amp; c == 0)            {                \/* Wide \"0\" spans columns 0-1; anchor it flush-left. *\/                x = start_x;            }            lv_obj_t *btn = lv_btn2_create(root);            lv_obj_set_size(btn, w, CALC_BTN_H);            lv_obj_align(btn, LV_ALIGN_TOP_LEFT, x,                         start_y + r * (CALC_BTN_H + CALC_BTN_GAP));            lv_btn_set_text(btn, lbl);            \/* Function row (top) a bit lighter; other keys dark-grey;             * orange \"=\". *\/            if (lbl[0] == '=')                lvx_obj_set_style_bg_color(btn, 0xFF9500u);            else if (r == 0)                lvx_obj_set_style_bg_color(btn, 0x5C5C5Cu);            else                lvx_obj_set_style_bg_color(btn, 0x333333u);            lv_obj_add_event_cb(btn, calc_on_press, LV_EVENT_CLICKED,                                (void *)lbl);        }    }    return root;}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u0442\u0443\u0442 \u043f\u043e\u0448\u0435\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 lvgl, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u044d\u0442\u043e v9.<br \/> \u041a\u0441\u0442\u0430\u0442\u0438, \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0434, \u0447\u0442\u043e \u043a\u0438\u0442\u0430\u0439\u0446\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u0443 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0435\u0439\u0448\u0443\u044e \u043b\u0438\u0431\u0443, \u0430 \u043d\u0435 \u0441\u0432\u043e\u0439 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439 PersimUI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0443\u0436\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0432 \u0440\u044f\u0434\u0435 \u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SquareLine Studio \/ LVGL Pro, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f UI \u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430.<\/p>\n<h2>Platform mapping<\/h2>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0430\u043c\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0442\u0443\u0442 &#8212; \u044d\u0442\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c API \u0438\u0437 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e IDA Pro, \u0438 \u0433\u043e\u043d\u044f\u044e LLM \u0447\u0435\u0440\u0435\u0437 MCP, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u0438\u0432 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438,<br \/> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043e\u043f\u043e\u0440\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0438\u043b\u0438 \u043a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, (\u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \ud83d\ude0e) LLM \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432\u0441\u0435 \u0438 \u0434\u043e\u0431\u0438\u0432\u0430\u0442\u044c \u043a\u0443\u0447\u0443 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0439\u0442\u0438.<\/p>\n<p>\u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 2 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0430\u0442\u0443:<\/p>\n<ul>\n<li>\n<p>MB10 Pro CN: 3.101.043 | 3.121.043*<\/p>\n<\/li>\n<li>\n<p>MB10 Pro GL: 3.201.016 | 3.221.016* * &#8212; \u044d\u0442\u043e \u043c\u043e\u0438 \u043c\u043e\u0434\u044b \u0441\u0442\u043e\u043a \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0423\u043f\u0430\u043a\u043e\u0432\u043a\u0430 \u0432 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442<\/h2>\n<p>\u0421\u0430\u043c\u044b\u0439 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0447\u0435\u0440\u0435\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 <code>Easyface<\/code>, \u0438 \u043c\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440, \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u044b \u043d\u0438\u0436\u0435, \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u0445 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u043e\u0432 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0435\u043f\u043b\u043e\u0439 \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0430 \u0432 \u043c\u043e\u0435\u043c MiFitness mod \u0435\u0441\u0442\u044c \u0430\u0434\u043c\u0438\u043d\u043a\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u043e\u0432, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 development \u0441\u0435\u043a\u0446\u0438\u044e \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u043e\u0432 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c.<\/p>\n<h2>Build environment<\/h2>\n<ul>\n<li>\n<p>gcc version 10.2.1 20201103<\/p>\n<\/li>\n<li>\n<p>VScode build tasks \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434, \u0442\u0430\u043a \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u043e\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0435<\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0432 \u0438\u0442\u043e\u0433\u0435:<\/p>\n<ul>\n<li>\n<p>insmod \u0430\u043a\u0446\u0435\u043f\u0438\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 RAM, \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0440\u0435\u043c\u0430\u043f\u043f\u0438\u0442 \u0430\u0434\u0440\u0435\u0441\u0430.<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f<\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e, \u0442\u0443\u0442 \u043d\u0438 LUA \u043d\u0438 AiotJS \u0440\u044f\u0434\u043e\u043c \u043d\u0435 \u0441\u0442\u043e\u044f\u043b\u0438<\/p>\n<\/li>\n<li>\n<p>\u043d\u0443 \u0431\u043e\u043d\u0443\u0441\u043e\u043c \u043e\u043d\u043e \u0443\u043c\u0435\u0435\u0442 \u0432\u0441\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0448\u0442\u0443\u043a\u0438 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u0447\u0430\u0441\u0430\u0445, \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0443\u0442\u043e.<\/p>\n<\/li>\n<\/ul>\n<p>\u041a \u0441\u043b\u043e\u0432\u0443 &#8212; \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u0447\u0442\u043e \u044f \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b &#8212; mb10p_app_3.101.043.elf &#8212; 6.424 bytes.<\/p>\n<h2>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/h2>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u0443\u0441\u043a \u0440\u0443\u0447\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043e\u043d\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043d\u043e \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u043d\u0443 \u0438 \u0447\u0430\u0441\u044b \u0434\u043e\u043b\u0433\u043e\u0438\u0433\u0440\u0430\u044e\u0449\u0438\u0435 &#8212; \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<br \/> A \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c user script \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u043c\u043e\u0434 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u044e, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0442\u0443\u0434\u0430 \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435.<\/p>\n<h2>\u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0435<\/h2>\n<p>\u0414\u0430, \u0431\u043b\u0438\u043d, \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0437\u0431\u0435\u0433\u0430\u044e\u0442\u0441\u044f \u0433\u043b\u0430\u0437\u0430 &#8212; \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0435<\/p>\n<ul>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f telegram\/whatsapp<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0448\u0435\u0434\u0443\u043b\u0435\u0440 \u0438 notification \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0434 \u043b\u044e\u0431\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 &#8212; \u043c\u0435\u0442\u0440\u043e\u043d\u043e\u043c, \u0442\u043e\u043c\u0430\u0442\u043e \u0442\u0430\u0439\u043c\u0435\u0440, water drink<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u044b \u0432 \u0441\u0435\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430 \u0447\u0430\u0441\u0430\u0445 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043d\u0443 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u044f \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0447\u0435\u0440\u0435\u0437 Lua \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442 \u0438 curl &#8212; \u0410\u043b\u0438\u0441\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438 \u0438 \u0443\u043c\u043d\u044b\u043c \u0434\u043e\u043c\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u043d\u0438\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0438\u043c<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c API Lua \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438 AiotJS \u044d\u0442\u043e \u043a\u0440\u043e\u043c\u0435 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u0438\u0433\u0440.<\/p>\n<\/li>\n<\/ul>\n<h2>Canopus<\/h2>\n<p>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0430\u0434 \u0434\u0430\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043c\u0435\u043d\u044f \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 <code>SearchStars<\/code>, \u043e\u043d \u0436\u0435 \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Astrabox, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 Tauri, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0441 insmod, \u0438 \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0432\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c Canopus.<\/p>\n<p>\u0415\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u0443\u0435\u0442 \u0434\u0435\u0432\u0430\u0439\u0441 \/dev\/canopus, \u0430 \u043f\u043e\u0442\u043e\u043c \u043e\u043d \u0447\u0435\u0440\u0435\u0437 Lua \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u043e\u043c fd \u043e\u0431\u0449\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 read\/write, \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u043e\u0435 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u043d\u0442\u0435\u0440\u0433\u0440\u0430\u0446\u0438\u044f Lua \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043d\u0435 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Canopus, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0430.<\/p>\n<p>\u041f\u043e\u0432\u0435\u0440\u0445 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u043e\u043d \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043a\u0440\u0443\u0442\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c &#8212; \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b A2DP+AVDTP audio stack, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 pair-\u0438\u0442\u044c \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0438 \u043d\u0430\u0443\u0448\u043d\u0438\u043a\u0438 \u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u0437\u0432\u0443\u043a \u0432 \u043d\u0438\u0445, \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b MB9\/MB10 Pro, MB11.<\/p>\n<p>\u0412\u043e\u0442 <a href=\"https:\/\/www.youtube.com\/shorts\/qLeVs3hcitM\" rel=\"noopener nofollow\">\u0432\u0438\u0434\u0435\u043e \u043a\u0430\u043a \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/a><\/p>\n<p>\u0427\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 Rust &#8212; \u0442\u0430\u043a \u0447\u0442\u043e \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e &#8212; \u0432\u043d\u0438\u0437\u0443 \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0441\u0441\u044b\u043b\u043a\u0438.<\/p>\n<h2>\u0412\u043e\u0442 \u0442\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u0434\u0435\u0432\u0430\u0439\u0441\u0435<\/h2>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/\/post_images\/4c3\/60c\/621\/4c360c621df11b623d2a0d767031f068.gif\" alt=\"final result\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/\/post_images\/4c3\/60c\/621\/4c360c621df11b623d2a0d767031f068.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/\/post_images\/4c3\/60c\/621\/4c360c621df11b623d2a0d767031f068.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>final result<\/figcaption><\/div>\n<\/figure>\n<hr\/>\n<blockquote>\n<p>NuttX OS binary loader &#8212; <a href=\"https:\/\/nuttx.apache.org\/docs\/latest\/components\/binfmt.html\" rel=\"noopener nofollow\">https:\/\/nuttx.apache.org\/docs\/latest\/components\/binfmt.html<\/a><br \/> NuttX OS insmod &#8212; <a href=\"https:\/\/nuttx.apache.org\/docs\/latest\/applications\/nsh\/commands.html#insmod-install-an-os-module\" rel=\"noopener nofollow\">https:\/\/nuttx.apache.org\/docs\/latest\/applications\/nsh\/commands.html#insmod-install-an-os-module<\/a><br \/> NuttX OS Shell &#8212; <a href=\"https:\/\/nuttx.apache.org\/docs\/latest\/applications\/nsh\/index.html\" rel=\"noopener nofollow\">https:\/\/nuttx.apache.org\/docs\/latest\/applications\/nsh\/index.html<\/a><\/p>\n<p>Calculator App src  <a href=\"https:\/\/github.com\/m0tral\/MiWatchNativeApps\" rel=\"noopener nofollow\">https:\/\/github.com\/m0tral\/MiWatchNativeApps<\/a><br \/> Easyface &#8212; <a href=\"https:\/\/github.com\/m0tral\/Easyface\" rel=\"noopener nofollow\">https:\/\/github.com\/m0tral\/Easyface<\/a><\/p>\n<p>Canopus &#8212; <a href=\"https:\/\/github.com\/AstralSightStudios\/Canopus\" rel=\"noopener nofollow\">https:\/\/github.com\/AstralSightStudios\/Canopus<\/a><br \/> Canopus-Module-BluetoothAudio <a href=\"https:\/\/github.com\/Searchstars\/Canopus-Module-BluetoothAudio\" rel=\"noopener nofollow\">https:\/\/github.com\/Searchstars\/Canopus-Module-BluetoothAudio<\/a><\/p>\n<p>TG news &#8212; <a href=\"https:\/\/t.me\/mi_watch_news\" rel=\"noopener nofollow\">https:\/\/t.me\/mi_watch_news<\/a> TG \u0447\u0430\u0442 &#8212; <a href=\"https:\/\/t.me\/mi_watch_int\" rel=\"noopener nofollow\">https:\/\/t.me\/mi_watch_int<\/a><\/p>\n<\/blockquote>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1079066\/\">https:\/\/habr.com\/ru\/articles\/1079066\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>intro \u0418\u0442\u0430\u043a, \u0441\u0435\u0439\u0447\u0430\u0441 \u0443 \u043c\u0435\u043d\u044f \u043d\u0430 \u0440\u0443\u043a\u0430\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0437 \u043b\u0438\u043d\u0435\u0439\u043a\u0438 SmartBand Pro. \u0410, \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u0436\u0435\u043b\u0435\u0437\u043e: Bestechnic BES2700iMP Cortex-M33, 16Mb inner SPI flash, ~2.5Mb SRAM, 16Mb PSRAM, external SPI Nand Flash 512\/256Mb. \u0412\u0441\u0435 \u044d\u0442\u043e \u043d\u0430 \u0431\u0430\u0437\u0435 \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e \u0441\u043e\u0444\u0442\u0430 RTOS NuttX, UI lvgl v9, app engines: LUA, AiotJS(quickjs \u0432 \u0434\u0435\u0432\u0438\u0447\u0435\u0441\u0442\u0432\u0435) &#8212; Vue \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 JavaScript-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a. Lua &#8212; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442\u044b, \u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 AiotJS \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u043a\u0438\u0412 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 Xiaomi \u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442 \u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u043e\u0447\u0435\u043d\u044c \u0433\u043b\u0443\u043f\u043e, \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u043d\u044f\u0442\u044c, \u043d\u0443 \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043e\u043a \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u044f\u044e\u0442 \u044d\u0442\u043e\u0442 \u0434\u0432\u0438\u0436\u043e\u043a \u0438\u0437 \u0447\u0430\u0441\u043e\u0432 \u0434\u043b\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u043b\u0438\u0437\u043e\u0432.\u0426\u0435\u043b\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u041a\u0430\u043a \u043f\u043e \u043c\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u043d\u0430\u0431\u043e\u0440\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0447\u0430\u0441\u043e\u0432.\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430\u041a\u043e\u0433\u0434\u0430 \u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0421\u044f\u043e\u043c\u0438 \u0441 \u0434\u0432\u0438\u0436\u043a\u043e\u043c LUA, Redmi Watch 4, \u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0439 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e, \u0447\u0442\u043e LUA \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0447\u0435\u043c\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c os.execute(\u201c\u201d) \u0432 OS shell, \u044f \u043e\u0431\u0440\u0430\u0442\u0438\u043b \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Longcheer (\u043f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a Xiaomi), \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 NuttX.\u0418 \u0441\u0440\u0435\u0434\u0438 \u043d\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0442\u0440\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2018insmod\u2019, \u2018lsmod\u2019, \u2018rmmod\u2019:insmod \u2014 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u041e\u0421 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u044f \u0435\u0433\u043e \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c. lsmod \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u041e\u0421, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u0445 \u0438\u043c\u0435\u043d\u0430, \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 (text) \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0435\u043a\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (data) rmmod \u2014 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u0442 (\u0443\u0434\u0430\u043b\u044f\u0435\u0442) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e \u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438.\u0422\u043e\u0433\u0434\u0430 \u044f \u043e\u0442\u043b\u043e\u0436\u0438\u043b \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0437\u043d\u0430\u043b \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u043b \u0441\u0432\u043e\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u044f\u043c\u044b\u0435 \u0438\u043d\u0436\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u0432 firmware, \u043d\u043e \u043d\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430:\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0436\u0435\u0441\u0442\u043a\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043a\u043e\u0434\u0430\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u043f\u043e\u0434 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e, \u0431\u0435\u0437 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0444\u0430\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0431\u043e\u0440\u043a\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430.\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u043e, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0430 \u0441\u0438\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c \u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u0412 \u043e\u0431\u0449\u0435\u043c, \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442\u0441\u044f \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u044e\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043c\u043e\u0434\u0443\u043b\u044f\u043c \u044f\u0434\u0440\u0430 (LKM) \u0432 Linux. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u0434 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438) \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0435\u0451 \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u043c\u043e\u0434\u0443\u043b\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0441\u044f \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NuttXinsmod \u0443\u043c\u0435\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c 2 \u0442\u0438\u043f\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 ELF \u0438 NXFLAT, \u0432 ELF \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0449\u0438\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 ET_REL (\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442) \u0438 ET_DYN (\u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442). \u0418\u0445 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0438 \u043a\u0442\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 \u043a\u043e\u0434 \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438. \u0430\u0434\u0440\u0435\u0441\u0430. ET_REL &#8212; c\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a (ld) \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, ET-DYN &#8212; \u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a \u044f\u0434\u0440\u0430 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 ET_REL &#8212; \u043e\u043d \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418\u0442\u0430\u043a, \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c LUA \u0446\u0438\u0444\u0435\u0440\u0431\u043b\u0430\u0442 \u0434\u043b\u044f \u0434\u0435\u043f\u043b\u043e\u044f(\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438) .elf \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0447\u0430\u0441\u044b\u0412\u044b\u0437\u043e\u0432\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 os.execute(\u201clsmod \/data\/mb10p_app.elf mb10p_app\u201d) \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\/\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b Xiaomi\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Longcheer \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c \u0447\u0430\u0441\u043e\u0432 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u043e\u0434\u043d\u043e \u0438\u0437 \u043d\u0438\u0445, \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043d\u0430\u043c &#8212; \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u044d\u0442\u043e\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b:\u0432\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0447\u0430\u0441\u043e\u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0438 \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e &#8212; \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0432 launcher.\u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 global vtable \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 Xiaomi \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0439 \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0447\u0430\u0441\u043e\u0432.global vtable \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 Xiaomi \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439g_xiaomi_apps\u251c\u2500\u2500 register_app_launcher\u251c\u2500\u2500 register_app_system\u251c\u2500\u2500 register_app_home\u251c\u2500\u2500 register_app_watchface\u251c\u2500\u2500 register_app_setupwizard\u251c\u2500\u2500 register_app_easter_egg\u251c\u2500\u2500 register_app_control_center\u251c\u2500\u2500 register_app_notifications\u251c\u2500\u2500 register_app_carcontrol\u251c\u2500\u2500 register_app_check_tool\u251c\u2500\u2500 register_app_calendar\u251c\u2500\u2500 register_app_tourling\u251c\u2500\u2500 register_app_settings\u251c\u2500\u2500 register_app_alipay\u251c\u2500\u2500 register_app_timer\u251c\u2500\u2500 register_app_worldclock\u251c\u2500\u2500 register_app_recorder\u251c\u2500\u2500 register_app_chronograph\u251c\u2500\u2500 register_app_todolist\u251c\u2500\u2500 register_app_perpetual_calendar\u251c\u2500\u2500 register_app_compass\u251c\u2500\u2500 register_app_alarm\u251c\u2500\u2500 register_app_find_phone\u251c\u2500\u2500 register_app_flashlight\u251c\u2500\u2500 register_app_media\u251c\u2500\u2500 register_app_nfccard\u251c\u2500\u2500 register_app_weather\u251c\u2500\u2500 register_app_voice\u251c\u2500\u2500 register_app_mijia\u251c\u2500\u2500 register_app_share_device\u251c\u2500\u2500 register_app_interconnect\u251c\u2500\u2500 register_app_remote_camera\u251c\u2500\u2500 register_app_phone\u251c\u2500\u2500 register_app_contact\u251c\u2500\u2500 register_app_womenhealth\u251c\u2500\u2500 register_app_vitality\u251c\u2500\u2500 register_app_breath\u251c\u2500\u2500 register_app_pressure\u251c\u2500\u2500 register_app_oxygen\u251c\u2500\u2500 register_app_heartrate\u251c\u2500\u2500 register_app_sleep\u251c\u2500\u2500 register_app_training\u251c\u2500\u2500 register_app_course\u251c\u2500\u2500 register_app_record\u251c\u2500\u2500 register_app_sports\u251c\u2500\u2500 register_app_activities\u2514\u2500\u2500 register_app_fusion_center\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0438 \u043e\u043d\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0438 \u0434\u0432\u0443\u0445 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 miwear_app_t \u0438 miwear_page_ttypedef struct miwear_app_t{  int proto_app;  int field_4;  char *name;  char *icon;  uint16_t app_id;  uint16_t flags;  int field_14;  int field_18;  char *(*app_get_name)(void);  int (*on_uninstall)(void);  int field_24;  int field_28;  int field_2C;  int field_30;  int field_34;  int (*on_signal)(void);  int field_3C;} miwear_app_t;typedef struct miwear_page_t {    void *parent_descriptor;    uint8_t _pad_4[0x0C];    void *page_name;    uint16_t page_id;    uint16_t app_id;    uint16_t flags;    uint8_t _pad_1a[0x02];    int32_t scheduler_deadline;    int32_t scheduler_priority;    uint32_t async_destroy_state;    uint8_t lifecycle_state;    uint8_t layer;    uint8_t page_kind;    uint8_t _pad_2b[0x01];    void *activity_context;    void *root_object;    void *on_signal;    void *runtime_default_56;    uint8_t _pad_3c[0x04];    void *registry_prev;    void *registry_next;    void *runtime_parent;    void *on_create;    void *on_resume;    void *on_newdata;    void *on_start;    void *on_pause;    void *on_stop;    void *on_destroy;    void *on_back;    void *on_keyevent;    void *get_scroll_obj;} miwear_page_t;\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441:struct packagemanager_api_s{    int (*install)(miwear_app_t *app, miwear_page_t *pages[], int count);    int (*recover)(miwear_app_t *app);    int (*uninstall)(miwear_app_t *app);    int (*unregister)(miwear_app_t *app);    int (*update_notify)(miwear_app_t *app);    void *(*widgets_add)(miwear_app_t *app, void *widgets, int count);    void (*widgets_remove)(miwear_app_t *app);    int (*set_hidden)(miwear_app_t *app, int hidden);    int (*is_hidden)(miwear_app_t *app);};\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043aint register_app_flashlight(){  miwear_page_t *pages[1];  pages[0] = &amp;flashlight_page_main;  return p_app_install(&amp;app_flashlight, pages, 1);}\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0447\u0430\u0441\u043e\u0432.\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\/* * mb10p_hello.c * * Loadable NuttX userspace module for Xiaomi Mi Band 10 Pro (mb10pro). * Loaded at runtime via the NSH command: * *     insmod \/data\/mb10p_hello.elf hello_module * * ============================================================================ *\/#include &lt;stdint.h&gt;#include &#171;nuttx\/syslog.h&#187;#include &#171;platform\/miwear_system.h&#187;static int say_hello_module(void){    syslog(LOG_WARN, &#171;[hello_module] hello&#187;);    return 0;}\/\/ &#8212;- ELF ENTRY POINT &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; *__attribute__((constructor)) int module_initialize(void){    syslog(LOG_WARN, &#171;[hello_module] loaded&#187;);say_hello_module();    return 0;   \/* OK; loader adds us to the module registry *\/}__attribute__((destructor, used)) static void module_uninitialize(void){    syslog(LOG_WARN, &#171;[hello_module] unloaded&#187;);}\u0442\u0443\u0442 \u0432\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 &#8212; \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0438 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0445 \u0434\u0435\u0440\u0433\u0430\u0435\u0442 insmod, rmmod \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438. \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 syslog &#8212; \u0438 \u043f\u0438\u0448\u0435\u0442 \u0432 \u043b\u043e\u0433, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f.\u0421\u0431\u043e\u0440\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u044d\u0442\u0430\u043f, \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0430 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b insmod \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b .elf, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0432 RAM, \u0441\u0434\u0435\u043b\u0430\u043b \u0440\u0435\u043b\u043e\u043a\u0430\u0446\u0438\u044e \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438 \u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e.\u0412 \u0438\u0442\u043e\u0433\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0442 \u0447\u0442\u043ec:\\Xiaomi\\_app_native_code&gt;arm-none-eabi-readelf -hS mb10p_hello.elfELF Header:  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00  Class:                             ELF32  Data:                              2&#8217;s complement, little endian  Version:                           1 (current)  OS\/ABI:                            UNIX &#8212; System V  ABI Version:                       0  Type:                              REL (Relocatable file)  Machine:                           ARM  Version:                           0x1  Entry point address:               0x1  Start of program headers:          0 (bytes into file)  Start of section headers:          828 (bytes into file)  Flags:                             0x5000000, Version5 EABI  Size of this header:               52 (bytes)  Size of program headers:           0 (bytes)  Number of program headers:         0  Size of section headers:           40 (bytes)  Number of section headers:         15  Section header string table index: 14Section Headers:  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al  [ 0]                   NULL            00000000 000000 000000 00      0   0  0  [ 1] .text             PROGBITS        00000000 000034 000030 00  AX  0   0  4  [ 2] .rel.text         REL      &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-493637","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493637"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493637\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}