<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>刷機 &#8211; 詩音的blog</title>
	<atom:link href="https://blog.shion-nya.moe/category/%E5%88%B7%E6%A9%9F/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.shion-nya.moe</link>
	<description>記錄個人資料的地方</description>
	<lastBuildDate>Mon, 14 Aug 2023 15:28:07 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://blog.shion-nya.moe/wp-content/uploads/2023/09/cropped-cat-32x32.png</url>
	<title>刷機 &#8211; 詩音的blog</title>
	<link>https://blog.shion-nya.moe</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">223760516</site>	<item>
		<title>將手機刷成 Resurrection Remix OS 的歷程</title>
		<link>https://blog.shion-nya.moe/2023/08/flash-rom/</link>
					<comments>https://blog.shion-nya.moe/2023/08/flash-rom/#respond</comments>
		
		<dc:creator><![CDATA[詩音]]></dc:creator>
		<pubDate>Mon, 14 Aug 2023 15:28:06 +0000</pubDate>
				<category><![CDATA[刷機]]></category>
		<category><![CDATA[手機]]></category>
		<category><![CDATA[第三方系統]]></category>
		<guid isPermaLink="false">https://shion.me/?p=178</guid>

					<description><![CDATA[以前寫得還是搬過來當個紀錄吧w 目錄 前言刷機歷程刷機系統刷機方法LineageOSResurrection  [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p>以前寫得還是搬過來當個紀錄吧w</p>



<div id="rtoc-mokuji-wrapper" class="rtoc-mokuji-content frame2 preset1 animation-fade rtoc_open default" data-id="178" data-theme="argon">
			<div id="rtoc-mokuji-title" class=" rtoc_left">
			<button class="rtoc_open_close rtoc_open"></button>
			<span>目錄</span>
			</div><ol class="rtoc-mokuji decimal_ol level-1"><li class="rtoc-item"><a href="#rtoc-1"><strong>前言</strong></a></li><li class="rtoc-item"><a href="#rtoc-2"><strong>刷機歷程</strong></a></li><li class="rtoc-item"><a href="#rtoc-3"><strong>刷機系統</strong></a></li><li class="rtoc-item"><a href="#rtoc-4"><strong>刷機方法</strong></a></li><li class="rtoc-item"><a href="#rtoc-5"><strong>LineageOS</strong></a></li><li class="rtoc-item"><a href="#rtoc-6"><strong>Resurrection Remix OS</strong></a></li><li class="rtoc-item"><a href="#rtoc-7"><strong>參考資料</strong>：</a></li></ol></div><h2 id="rtoc-1"  class="wp-block-heading"><strong>前言</strong></h2>



<p>由於我的紅米 note4X 在小米發布新的更新後被強制開夜間模式…..，然後他們居然忘記設計開關夜間模式的功能，導致通知欄跟鎖屏介面都變成黑的，通知都沒辦法看清楚。</p>



<p>所以決定做以前搞過得事 &#8211; 刷機，以前刷機是好玩，對其他 ROM 好奇，想嘗鮮嘗鮮，現在是為了解決夜間模式問題，還有一點就是他也在這次更新裝了使用反饋得功能，但又無法移除。</p>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-2"  class="wp-block-heading"><strong>刷機歷程</strong></h2>



<p>這一個月我刷了兩台手機，紅米 note4X 跟紅米 note3，紅米 note4X 是為了解決通知問題，note3 是想說順便處理，不過在嘗試解鎖 bootloader 時，被小米告知帳號一個月只能解鎖一支手機傻眼zzzzz，所以2/1才能開工。</p>



<p>那紅米 note3 由於等不太下去，<del>手賤</del>嘗試強行解鎖 bootloader，使用了進入edl的方法，不過失敗了，當時還能正常開機，但2/1要解鎖時小米那邊辨識有問題，不給我解鎖也試過官方的問題解決方案，但依然不能解鎖，後來我發現我系統好像是開發版，<del>腦殘</del>想說大概有解鎖 bootloader 直接給他刷下去www，結果當然是變磚，後來找了鎖著依然能救的方法，嘗試了幾個方法都刷不進去，其中有個方法是用 edl 模式刷機，雖然沒辦法完成刷機但看狀態的確有東西刷入，那我假設他把原本一些系統檔案恢復了，再次嘗試解鎖 bootloader 成功了! 趕緊刷入 RR rom ，沒出什麼意外，手機正常開機。</p>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-3"  class="wp-block-heading"><strong>刷機系統</strong></h2>



<p>其實我紅米 note4X 刷了兩次，一次用 LineageOS，後來在 note3 上嘗試 Resurrection Remix，發現不錯用就把 note4X也刷成了 RR 。</p>



<p>LineageOS: 一套熱門的開源 Android 系統，基於原本的 CyanogenMod，基本上系統算是蠻乾淨的，稍微有一些附加的功能，版本更新相當快速。</p>



<p>Resurrection Remix OS: 基於 Lineage 開發的開源系統，擁有更多個性化功能，更新很少，不過不影響使用。我目前選擇這個。</p>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-4"  class="wp-block-heading"><strong>刷機方法</strong></h2>



<p class="has-regular-font-size"><em><strong>刷機可能導致變磚，風險請自行承擔</strong></em></p>



<p class="has-regular-font-size"><strong>另外刷機前請備份好所有需要的檔案，刷機會清除所有檔案</strong></p>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-5"  class="wp-block-heading"><strong>LineageOS</strong></h2>



<p>一開始當然是下載刷機包跟工具，LineageOS使用線刷的方式<br>Open Gapps 為 google 相關軟體<br>TWRP 為第三方 Recovery 功能非常多<br>使用到的檔案</p>



<ul class="wp-block-list">
<li><a target="_blank" rel="noreferrer noopener" href="https://download.lineageos.org/mido#!user">LineageOS ROM</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://opengapps.org/">Open Gapps</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://twrp.me/xiaomi/xiaomiredminote4.html">TWRP</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://wiki.lineageos.org/adb_fastboot_guide.html#setting-up-adb">電腦ADB工具</a></li>



<li>天氣app 跟 ROOT 請視自己情況自行下載</li>
</ul>



<p>我這邊稍微翻譯一些，首先安裝電腦 ADB 工具<br>接著解鎖 bootloader 另外解鎖後要重開機後要再次開啟 USB 偵錯</p>



<p>1.將手機跟電腦連接</p>



<p>2.這邊可以直接使用指令進入 Fastboot，若手動的時候方法為關機時同時按下 音量下鍵跟電源鍵</p>



<pre class="wp-block-code"><code>adb reboot bootloader</code></pre>



<p>3.檢查一下是否有正確連結</p>



<pre class="wp-block-code"><code>fastboot devices</code></pre>



<p>4.刷入 TWRP 記得改為TWRP的檔案名稱，另外檔案要放在命令列開啟的資料夾裡</p>



<pre class="wp-block-code"><code>fastboot flash recovery &lt;TWRP檔案名稱>.img</code></pre>



<p>5.進入 TWRP Recovery，手動進入方法為同時案住 音量上鍵跟電源鍵 直接 MI logo 顯示</p>



<pre class="wp-block-code"><code>fastboot boot &lt;TWRP檔案名稱>.img</code></pre>



<p>6.將 ROM、Gapps 跟你要安裝的包放在命令列的資料夾裡</p>



<p>7.在 Recovery 中 Wipe 先跑一次 Format Data</p>



<p>8.選取 Advanced Wipe 選擇&nbsp;<em>Cache</em>&nbsp;跟&nbsp;<em>System</em>&nbsp;再清一次</p>



<p>9.回到主畫面，點選 Advanced，選擇裡面的 ADB Slideload 開始刷入檔案<br>先刷入 ROM　再刷入 Gapps 之後則看你要不要刷入 root 的檔案</p>



<pre class="wp-block-code"><code>adb sideload 檔案名稱.zip</code></pre>



<p>10.刷入完成後輸入，稍微等待後應該就能正常啟動了</p>



<pre class="wp-block-code"><code>adb reboot</code></pre>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-6"  class="wp-block-heading"><strong>Resurrection Remix OS</strong></h2>



<p>RR 是卡刷包的形式不過到安裝 Advanced Wipe 時都一樣<br>一樣準備需要的軟體</p>



<ul class="wp-block-list">
<li><a target="_blank" rel="noreferrer noopener" href="https://get.resurrectionremix.com/">Resurrection Remix OS ROM</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://opengapps.org/">Open Gapps</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://twrp.me/xiaomi/xiaomiredminote4.html">TWRP</a></li>



<li><a target="_blank" rel="noreferrer noopener" href="https://wiki.lineageos.org/adb_fastboot_guide.html#setting-up-adb">電腦ADB工具</a></li>
</ul>



<p>這邊請將 ROM 跟 Open Gapps 放入 SD 卡中</p>



<p>9.回到主畫面選擇 Install 調整資料夾到 SD 卡，先選擇 RR ROM 再選擇 Open Gapps 刷入</p>



<p>10.刷完後重新啟動，稍等候就能進入系統了</p>



<p>這邊給幾張 Resurrection Remix OS 的截圖，還可以改一些選單之類的，剩下的給各位挖掘了</p>



<figure data-carousel-extra='{"blog_id":1,"permalink":"https:\/\/blog.shion-nya.moe\/2023\/08\/flash-rom\/"}'  class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="576" height="1024" data-attachment-id="182" data-permalink="https://blog.shion-nya.moe/2023/08/flash-rom/screenshot-3/" data-orig-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3.png" data-orig-size="1080,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screenshot-3" data-image-description="" data-image-caption="" data-medium-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-169x300.png" data-large-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-576x1024.png" data-id="182" src="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-576x1024.png" alt="" class="wp-image-182" srcset="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-576x1024.png 576w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-169x300.png 169w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-768x1365.png 768w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3-864x1536.png 864w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-3.png 1080w" sizes="(max-width: 576px) 100vw, 576px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="576" height="1024" data-attachment-id="181" data-permalink="https://blog.shion-nya.moe/2023/08/flash-rom/screenshot-2/" data-orig-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2.png" data-orig-size="1080,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screenshot-2" data-image-description="" data-image-caption="" data-medium-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-169x300.png" data-large-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-576x1024.png" data-id="181" src="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-576x1024.png" alt="" class="wp-image-181" srcset="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-576x1024.png 576w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-169x300.png 169w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-768x1365.png 768w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2-864x1536.png 864w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-2.png 1080w" sizes="(max-width: 576px) 100vw, 576px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="576" height="1024" data-attachment-id="180" data-permalink="https://blog.shion-nya.moe/2023/08/flash-rom/screenshot-1/" data-orig-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1.png" data-orig-size="1080,1920" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screenshot-1" data-image-description="" data-image-caption="" data-medium-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-169x300.png" data-large-file="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-576x1024.png" data-id="180" src="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-576x1024.png" alt="" class="wp-image-180" srcset="https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-576x1024.png 576w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-169x300.png 169w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-768x1365.png 768w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1-864x1536.png 864w, https://blog.shion-nya.moe/wp-content/uploads/2023/08/Screenshot-1.png 1080w" sizes="(max-width: 576px) 100vw, 576px" /></figure>
</figure>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 id="rtoc-7"  class="wp-block-heading"><strong>參考資料</strong>：</h2>



<p><a href="https://zh.wikipedia.org/wiki/LineageOS" target="_blank" rel="noreferrer noopener">LineageOS</a><br><a href="https://zh.wikipedia.org/wiki/CyanogenMod#CyanogenMod_14.1" target="_blank" rel="noreferrer noopener">CyanogenMod</a><br><a href="https://en.wikipedia.org/wiki/Resurrection_Remix_OS" target="_blank" rel="noreferrer noopener">Resurrection Remix OS</a><br><a href="https://wiki.lineageos.org/devices/mido/install" target="_blank" rel="noreferrer noopener">Install LineageOS on mido</a></p>
</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.shion-nya.moe/2023/08/flash-rom/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">178</post-id>	</item>
	</channel>
</rss>
