{"id":15965,"date":"2026-01-08T11:46:38","date_gmt":"2026-01-08T03:46:38","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965"},"modified":"2026-01-08T11:57:15","modified_gmt":"2026-01-08T03:57:15","slug":"rom%e5%90%af%e5%8a%a8%e6%b5%81%e7%a8%8b%ef%bc%88%e4%bb%8e%e4%b8%8a%e7%94%b5%e5%88%b0launcher%e5%90%af%e5%8a%a8%ef%bc%89","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965","title":{"rendered":"ROM\u542f\u52a8\u6d41\u7a0b\uff08\u4ece\u4e0a\u7535\u5230Launcher\u542f\u52a8\uff09"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%B8%80%E3%80%81%E6%A1%86%E6%9E%B6%E5%9B%BE\" title=\"\u4e00\u3001\u6846\u67b6\u56fe\">\u4e00\u3001\u6846\u67b6\u56fe<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%BA%8C%E3%80%81%E7%AE%80%E7%95%A5%E6%B5%81%E7%A8%8B\" title=\"\u4e8c\u3001\u7b80\u7565\u6d41\u7a0b\">\u4e8c\u3001\u7b80\u7565\u6d41\u7a0b<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%B8%89%E3%80%81%E5%9F%BA%E6%9C%AC%E6%B5%81%E7%A8%8B\" title=\"\u4e09\u3001\u57fa\u672c\u6d41\u7a0b\">\u4e09\u3001\u57fa\u672c\u6d41\u7a0b<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%B8%80%E3%80%81Bootloader%E9%98%B6%E6%AE%B5%EF%BC%88%E4%BB%8E%E7%A1%AC%E4%BB%B6%E5%88%B0%E5%8A%A0%E8%BD%BD%E5%86%85%E6%A0%B8%EF%BC%89\" title=\"\u4e00\u3001Bootloader\u9636\u6bb5\uff08\u4ece\u786c\u4ef6\u5230\u52a0\u8f7d\u5185\u6838\uff09\">\u4e00\u3001Bootloader\u9636\u6bb5\uff08\u4ece\u786c\u4ef6\u5230\u52a0\u8f7d\u5185\u6838\uff09<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%BA%8C%E3%80%81%E5%86%85%E6%A0%B8%E4%B8%8E%E6%97%A9%E6%9C%9F%E7%94%A8%E6%88%B7%E7%A9%BA%E9%97%B4%E9%98%B6%E6%AE%B5%EF%BC%88%E5%BB%BA%E7%AB%8B%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83%EF%BC%89\" title=\"\u4e8c\u3001\u5185\u6838\u4e0e\u65e9\u671f\u7528\u6237\u7a7a\u95f4\u9636\u6bb5\uff08\u5efa\u7acb\u8fd0\u884c\u73af\u5883\uff09\">\u4e8c\u3001\u5185\u6838\u4e0e\u65e9\u671f\u7528\u6237\u7a7a\u95f4\u9636\u6bb5\uff08\u5efa\u7acb\u8fd0\u884c\u73af\u5883\uff09<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E4%B8%89%E3%80%81%E7%B3%BB%E7%BB%9F%E6%9C%8D%E5%8A%A1%E5%90%AF%E5%8A%A8%E9%98%B6%E6%AE%B5%EF%BC%88%E8%BD%AF%E4%BB%B6%E4%B8%96%E7%95%8C%E7%9A%84%E6%9E%84%E5%BB%BA%EF%BC%89\" title=\"\u4e09\u3001\u7cfb\u7edf\u670d\u52a1\u542f\u52a8\u9636\u6bb5\uff08\u8f6f\u4ef6\u4e16\u754c\u7684\u6784\u5efa\uff09\">\u4e09\u3001\u7cfb\u7edf\u670d\u52a1\u542f\u52a8\u9636\u6bb5\uff08\u8f6f\u4ef6\u4e16\u754c\u7684\u6784\u5efa\uff09<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=15965\/#%E5%9B%9B%E3%80%81%E5%BA%94%E7%94%A8%E5%B1%82%E5%90%AF%E5%8A%A8%EF%BC%88Launcher%E5%87%BA%E7%8E%B0%EF%BC%89\" title=\"\u56db\u3001\u5e94\u7528\u5c42\u542f\u52a8\uff08Launcher\u51fa\u73b0\uff09\">\u56db\u3001\u5e94\u7528\u5c42\u542f\u52a8\uff08Launcher\u51fa\u73b0\uff09<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E6%A1%86%E6%9E%B6%E5%9B%BE\"><\/span>\u4e00\u3001\u6846\u67b6\u56fe<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2026\/01\/rom\u542f\u52a8\u56fe.png\" alt=\"\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E7%AE%80%E7%95%A5%E6%B5%81%E7%A8%8B\"><\/span>\u4e8c\u3001\u7b80\u7565\u6d41\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e0a\u7535-&gt;\u542f\u52a8BootROM-&gt;\u52a0\u8f7dbootloader\u5230RAM-&gt;\u3002\u3002\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81%E5%9F%BA%E6%9C%AC%E6%B5%81%E7%A8%8B\"><\/span>\u4e09\u3001\u57fa\u672c\u6d41\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81Bootloader%E9%98%B6%E6%AE%B5%EF%BC%88%E4%BB%8E%E7%A1%AC%E4%BB%B6%E5%88%B0%E5%8A%A0%E8%BD%BD%E5%86%85%E6%A0%B8%EF%BC%89\"><\/span>\u4e00\u3001Bootloader\u9636\u6bb5\uff08\u4ece\u786c\u4ef6\u5230\u52a0\u8f7d\u5185\u6838\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>\u6280\u672f\u6808\uff1a\u82af\u7247\u56fa\u4ef6\u3001\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u3001\u8bbe\u5907\u6811<\/strong><\/p>\n<ol>\n<li><strong>BootROM (\u82af\u7247\u5185\u90e8ROM)<\/strong>\uff1a\n<ul>\n<li><strong>\u539f\u7406<\/strong>\uff1a\u8fd9\u662f\u82af\u7247\u4e0a\u7535\u540e\u6267\u884c\u7684<strong>\u7b2c\u4e00\u6bb5\u4e0d\u53ef\u66f4\u6539\u7684\u4ee3\u7801<\/strong>\uff0c\u56fa\u5316\u5728CPU\u5185\u90e8\u3002\u5b83\u6839\u636e\u9884\u5b9a\u4e49\u7684\u5f15\u811a\u7535\u5e73\uff08\u5982\u97f3\u91cf\u952e\uff09\u786e\u5b9a\u542f\u52a8\u6a21\u5f0f\uff08\u6b63\u5e38\u542f\u52a8\/Recovery\/Download\uff09\u3002<\/li>\n<li><strong>\u6280\u672f<\/strong>\uff1a\u8bfb\u53d6eMMC\/UFS\u7684<strong>\u9884\u5b9a\u4e49\u5730\u5740<\/strong>\uff08\u5982 <code>0x0<\/code>\uff09\uff0c\u52a0\u8f7d\u4e3bBootloader\uff08\u5982U-Boot\uff09\u5230\u5185\u90e8SRAM\u5e76\u6267\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u4e3bBootloader (\u5982U-Boot, Little Kernel)<\/strong>\uff1a\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1a<br \/>\na. <strong>\u521d\u59cb\u5316<\/strong>\uff1a\u521d\u59cb\u5316\u66f4\u590d\u6742\u7684\u786c\u4ef6\uff0c\u5982DDR\u5185\u5b58\u3001\u5b58\u50a8\u63a7\u5236\u5668\u3001\u663e\u793a\u63a7\u5236\u5668\u3002<br \/>\nb. <strong>\u52a0\u8f7d<\/strong>\uff1a\u4ece\u5b58\u50a8\u7684\u7279\u5b9a\u5206\u533a\uff08\u5982 <code>boot<\/code>\uff09\u52a0\u8f7d <strong><code>boot.img<\/code><\/strong> \u5230\u5185\u5b58\u3002<code>boot.img<\/code> \u5305\u542b\u5185\u6838\u4e0e\u521d\u59cb\u5185\u5b58\u76d8\u3002<br \/>\nc. <strong>\u9a8c\u8bc1<\/strong>\uff1a\u9a8c\u8bc1\u5185\u6838\u7b7e\u540d\uff08\u5982\u679c\u8bbe\u5907\u5df2\u89e3\u9501\uff09\u3002\u5728A\/B\u8bbe\u5907\u4e0a\uff0c\u8fd8\u4f1a\u51b3\u5b9a\u4ece\u54ea\u4e2aSlot\uff08A\u6216B\uff09\u542f\u52a8\u3002<br \/>\nd. <strong>\u8df3\u8f6c<\/strong>\uff1a\u5c06CPU\u63a7\u5236\u6743\u4ea4\u7ed9\u5185\u6838\uff0c\u5e76\u4f20\u9012<strong>\u8bbe\u5907\u6811<\/strong>\u4fe1\u606f\u3002<\/li>\n<li><strong>ROM\u5f00\u53d1\u5173\u6ce8\u70b9<\/strong>\uff1a<code>boot.img<\/code>\u7684\u6253\u5305\u683c\u5f0f\u3001<code>kernel cmdline<\/code>\u53c2\u6570\u3001\u8bbe\u5907\u6811\u7684\u7f16\u8bd1\u4e0e\u5305\u542b\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E5%86%85%E6%A0%B8%E4%B8%8E%E6%97%A9%E6%9C%9F%E7%94%A8%E6%88%B7%E7%A9%BA%E9%97%B4%E9%98%B6%E6%AE%B5%EF%BC%88%E5%BB%BA%E7%AB%8B%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83%EF%BC%89\"><\/span>\u4e8c\u3001\u5185\u6838\u4e0e\u65e9\u671f\u7528\u6237\u7a7a\u95f4\u9636\u6bb5\uff08\u5efa\u7acb\u8fd0\u884c\u73af\u5883\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>\u6280\u672f\u6808\uff1aLinux\u5185\u6838\u3001Init\u8fdb\u7a0b\u3001\u8bbe\u5907\u6811<\/strong><\/p>\n<ol>\n<li><strong>\u5185\u6838\u542f\u52a8<\/strong>\uff1a\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1a\u5185\u6838\u89e3\u538b\u5e76\u521d\u59cb\u5316\u81ea\u8eab\uff0c\u89e3\u6790Bootloader\u4f20\u9012\u7684<strong>\u8bbe\u5907\u6811<\/strong>\u6765\u8bc6\u522b\u786c\u4ef6\uff0c\u521d\u59cb\u5316CPU\u8c03\u5ea6\u3001\u5185\u5b58\u7ba1\u7406\u3001\u9a71\u52a8\u6846\u67b6\u3002<\/li>\n<li><strong>\u5173\u952e\u52a8\u4f5c<\/strong>\uff1a\u52a0\u8f7d\u9a71\u52a8\u6a21\u5757\uff0c\u5e76\u6302\u8f7d\u7531<code>boot.img<\/code>\u4e2d\u7684<strong><code>ramdisk<\/code><\/strong> \u6784\u6210\u7684\u521d\u59cb\u6839\u6587\u4ef6\u7cfb\u7edf\uff08<code>rootfs<\/code>\uff09\u3002<\/li>\n<li><strong>\u6280\u672f<\/strong>\uff1a<code>ramdisk<\/code>\u662f\u4e00\u4e2a\u4e34\u65f6\u7684\u3001\u5185\u5b58\u4e2d\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\uff0c\u5305\u542b\u542f\u52a8\u6240\u5fc5\u9700\u7684\u6700\u5c0f\u6587\u4ef6\uff0c\u5982<code>init<\/code>\u7a0b\u5e8f\u3001\u9a71\u52a8\u6a21\u5757\u548c<code>fstab<\/code>\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u7b2c\u4e00\u9636\u6bb5 Init (<code>first_stage_init<\/code>)<\/strong>\uff1a\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1a\u5185\u6838\u542f\u52a8\u7684\u7b2c\u4e00\u4e2a\u7528\u6237\u7a7a\u95f4\u8fdb\u7a0b\u5c31\u662f <code>init<\/code>\u3002\u5b83\u9996\u5148\u6267\u884c<code>first_stage_init<\/code>\u3002<\/li>\n<li><strong>\u6838\u5fc3\u4efb\u52a1<\/strong>\uff1a<br \/>\na. <strong>\u6302\u8f7d\u65e9\u671f\u5206\u533a<\/strong>\uff1a\u89e3\u6790 <code>ramdisk<\/code> \u4e2d\u7684 <code>\/fstab.&lt;device&gt;<\/code>\uff0c\u6302\u8f7d <code>system<\/code>\u3001<code>vendor<\/code> \u7b49\u5206\u533a\u5230 <code>\/system_root<\/code>\u3001<code>\/vendor<\/code>\u3002<br \/>\nb. <strong>\u51c6\u5907\u73af\u5883<\/strong>\uff1a\u4e3a\u5207\u6362\u5230\u4e0b\u4e00\u9636\u6bb5\u505a\u51c6\u5907\u3002<\/li>\n<li><strong>ROM\u5f00\u53d1\u5173\u6ce8\u70b9<\/strong>\uff1a<code>device\/<\/code>\u76ee\u5f55\u4e0b\u7684<code>fstab<\/code>\u6587\u4ef6\u662f<strong>\u8bbe\u5907\u6302\u8f7d\u7684\u84dd\u56fe<\/strong>\uff0c\u5b9a\u4e49\u4e86\u5206\u533a\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u6302\u8f7d\u70b9\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81%E7%B3%BB%E7%BB%9F%E6%9C%8D%E5%8A%A1%E5%90%AF%E5%8A%A8%E9%98%B6%E6%AE%B5%EF%BC%88%E8%BD%AF%E4%BB%B6%E4%B8%96%E7%95%8C%E7%9A%84%E6%9E%84%E5%BB%BA%EF%BC%89\"><\/span>\u4e09\u3001\u7cfb\u7edf\u670d\u52a1\u542f\u52a8\u9636\u6bb5\uff08\u8f6f\u4ef6\u4e16\u754c\u7684\u6784\u5efa\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>\u6280\u672f\u6808\uff1aBinder\u3001Zygote\u3001SystemServer\u3001SELinux<\/strong><\/p>\n<ol>\n<li>\n<p><strong>\u7b2c\u4e8c\u9636\u6bb5 Init (<code>second_stage_main<\/code>)<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1a\u5207\u6362\u6839\u76ee\u5f55\u5230<code>\/system<\/code>\uff0c\u5e76\u6267\u884c <code>\/system\/bin\/init<\/code>\u3002<\/li>\n<li><strong>\u6838\u5fc3\u4efb\u52a1<\/strong>\uff1a<br \/>\na. <strong>\u521d\u59cb\u5316\u5173\u952e\u76ee\u5f55<\/strong>\uff1a\u521b\u5efa\u5e76\u8bbe\u7f6e <code>\/dev<\/code>\u3001<code>\/proc<\/code>\u3001<code>\/sys<\/code> \u7b49\u76ee\u5f55\u6743\u9650\u3002<br \/>\nb. <strong>\u521d\u59cb\u5316\u5c5e\u6027\u670d\u52a1<\/strong>\uff1a\u542f\u52a8 <code>property service<\/code>\uff0c\u8fd9\u662f\u7cfb\u7edf\u5168\u5c40\u914d\u7f6e\u4e2d\u5fc3\u3002<br \/>\nc. <strong>\u52a0\u8f7d SELinux \u7b56\u7565<\/strong>\uff1a\u8fdb\u5165\u5b89\u5168\u589e\u5f3a\u6a21\u5f0f\u3002<br \/>\nd. <strong>\u89e3\u6790\u5e76\u6267\u884c init.rc \u811a\u672c<\/strong>\uff1a\u8fd9\u662f<strong>\u542f\u52a8\u6240\u6709\u7cfb\u7edf\u670d\u52a1\u7684\u603b\u5267\u672c<\/strong>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Zygote \u8fdb\u7a0b\u5b75\u5316<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u539f\u7406<\/strong>\uff1a<code>init.rc<\/code> \u4e2d\u4f1a\u542f\u52a8 <code>zygote<\/code> \u670d\u52a1\uff08\u5bf9\u5e94 <code>\/system\/bin\/app_process<\/code>\uff09\u3002Zygote \u662f <strong>\u201c\u5b75\u5316\u5668\u201d<\/strong> \uff0c\u5b83\u9884\u52a0\u8f7d\u4e86Android\u6846\u67b6\u7684\u7c7b\u5e93\u548c\u8d44\u6e90\u3002\u5f53\u9700\u8981\u542f\u52a8\u65b0App\u65f6\uff0cZygote\u901a\u8fc7<code>fork<\/code>\u81ea\u8eab\u6765\u5feb\u901f\u521b\u5efa\u65b0\u8fdb\u7a0b\uff0c\u6781\u5927\u8282\u7701\u5185\u5b58\u548c\u542f\u52a8\u65f6\u95f4\u3002<\/li>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1aZygote\u542f\u52a8\u540e\uff0c\u4f1a <code>fork<\/code> \u51fa <strong><code>system_server<\/code><\/strong> \u8fdb\u7a0b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>SystemServer \u542f\u52a8\uff08\u6838\u5fc3\uff09<\/strong>\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u6d41\u7a0b<\/strong>\uff1a<code>system_server<\/code> \u662fAndroid\u7cfb\u7edf\u670d\u52a1\u7684\u201c\u5927\u7ba1\u5bb6\u201d\uff0c\u5b83\u5728 <code>run<\/code> \u65b9\u6cd5\u4e2d\u9010\u6b65\u542f\u52a8\u6240\u6709\u6838\u5fc3\u670d\u52a1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5173\u952e\u670d\u52a1\u542f\u52a8\u987a\u5e8f\u4e0e\u539f\u7406<\/strong>\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u670d\u52a1<\/th>\n<th style=\"text-align: left;\">\u7f29\u5199<\/th>\n<th style=\"text-align: left;\">\u542f\u52a8\u65f6\u673a\/\u4f9d\u8d56<\/th>\n<th style=\"text-align: left;\">\u6838\u5fc3\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>ActivityManagerService<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>AMS<\/strong><\/td>\n<td style=\"text-align: left;\">\u8f83\u65e9\u542f\u52a8<\/td>\n<td style=\"text-align: left;\"><strong>\u5e94\u7528\u751f\u547d\u5468\u671f\u3001\u56db\u5927\u7ec4\u4ef6\u8c03\u5ea6\u7684\u4e2d\u67a2<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>PackageManagerService<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>PMS<\/strong><\/td>\n<td style=\"text-align: left;\">\u4f9d\u8d56Installer<\/td>\n<td style=\"text-align: left;\">\u5e94\u7528\u5b89\u88c5\u3001\u89e3\u6790\u3001\u6743\u9650\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>WindowManagerService<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>WMS<\/strong><\/td>\n<td style=\"text-align: left;\">\u4f9d\u8d56DisplayManager<\/td>\n<td style=\"text-align: left;\"><strong>\u7a97\u53e3\u7ba1\u7406\u3001Surface\u5206\u914d\u3001\u8f93\u5165\u4e8b\u4ef6\u6d3e\u53d1<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DisplayManagerService<\/strong><\/td>\n<td style=\"text-align: left;\">DMS<\/td>\n<td style=\"text-align: left;\">\u8f83\u65e9\u542f\u52a8<\/td>\n<td style=\"text-align: left;\">\u663e\u793a\u8bbe\u5907\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>InputManagerService<\/strong><\/td>\n<td style=\"text-align: left;\">IMS<\/td>\n<td style=\"text-align: left;\">\u4f9d\u8d56WMS<\/td>\n<td style=\"text-align: left;\">\u8f93\u5165\u8bbe\u5907\u7ba1\u7406\u3001\u4e8b\u4ef6\u6d41\u5904\u7406<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p><strong>\u6280\u672f<\/strong>\uff1a\u8fd9\u4e9b\u670d\u52a1\u5927\u591a\u901a\u8fc7<strong>Binder IPC<\/strong>\u673a\u5236\u5411\u5e94\u7528\u63d0\u4f9b\u80fd\u529b\u3002Binder\u9a71\u52a8\u5728\u5185\u6838\u542f\u52a8\u65f6\u5df2\u52a0\u8f7d\uff0c\u6b64\u65f6SystemServer\u4f1a\u5c06\u81ea\u5df1\u6ce8\u518c\u4e3a<strong>Binder\u4e0a\u4e0b\u6587\u7ba1\u7406\u8005<\/strong>\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"%E5%9B%9B%E3%80%81%E5%BA%94%E7%94%A8%E5%B1%82%E5%90%AF%E5%8A%A8%EF%BC%88Launcher%E5%87%BA%E7%8E%B0%EF%BC%89\"><\/span>\u56db\u3001\u5e94\u7528\u5c42\u542f\u52a8\uff08Launcher\u51fa\u73b0\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>\u6280\u672f\u6808\uff1aActivityManager\u3001\u5e94\u7528\u8fdb\u7a0b\u6a21\u578b<\/strong><\/p>\n<ol>\n<li><strong>\u542f\u52a8HOME Activity<\/strong>\uff1a\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1a\u5f53\u6838\u5fc3\u670d\u52a1\u5c31\u7eea\u540e\uff0cAMS\u4f1a\u67e5\u627e <code>Intent.CATEGORY_HOME<\/code> \u7684Activity\u3002\u5b83\u901a\u8fc7PMS\u67e5\u8be2\u6240\u6709\u5df2\u5b89\u88c5\u5e94\u7528\uff0c\u627e\u5230\u9ed8\u8ba4Launcher\uff08\u5982 <code>com.google.android.apps.nexuslauncher<\/code>\uff09\u3002<\/li>\n<li><strong>\u8fdb\u7a0b\u521b\u5efa<\/strong>\uff1aAMS\u8bf7\u6c42Zygote <code>fork<\/code> \u51faLauncher\u5e94\u7528\u8fdb\u7a0b\u3002<\/li>\n<li><strong>Activity\u542f\u52a8<\/strong>\uff1a\u5728\u65b0\u8fdb\u7a0b\u4e2d\uff0cAMS\u6307\u5bfcLauncher\u5b8c\u6210Activity\u7684\u521b\u5efa\u3001<code>onCreate<\/code>\u751f\u547d\u5468\u671f\uff0c\u5e76\u6700\u7ec8\u8c03\u7528WMS\u4e3a\u5176\u521b\u5efa\u7a97\u53e3\u548cSurface\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>Launcher\u6e32\u67d3\u754c\u9762<\/strong>\uff1a\n<ul>\n<li><strong>\u6d41\u7a0b<\/strong>\uff1aLauncher\u52a0\u8f7d\u5e03\u5c40\uff0c\u4ecePMS\u67e5\u8be2\u6240\u6709\u5df2\u5b89\u88c5\u5e94\u7528\uff0c\u663e\u793a\u56fe\u6807\u3002WMS\u5c06Launcher\u7684Surface\u4e0eSurfaceFlinger\u5408\u6210\uff0c\u6700\u7ec8\u8f93\u51fa\u5230\u5c4f\u5e55\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<button class=\"simplefavorite-button\" data-postid=\"15965\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u4e00\u3001\u6846\u67b6\u56fe\u4e8c\u3001\u7b80\u7565\u6d41\u7a0b\u4e09\u3001\u57fa\u672c\u6d41\u7a0b\u4e00\u3001Bootloader\u9636\u6bb5\uff08\u4ece\u786c\u4ef6\u5230\u52a0\u8f7d\u5185\u6838\uff09\u4e8c\u3001\u5185\u6838\u4e0e\u65e9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1206],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/15965"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15965"}],"version-history":[{"count":5,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/15965\/revisions"}],"predecessor-version":[{"id":15971,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/15965\/revisions\/15971"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15965"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}