<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Momo5418&#39;s Blog</title>
  <icon>https://www.gravatar.com/avatar/85f13079ea51cb79b56b49710a4ba8f8</icon>
  
  <link href="https://blog.mocn.top/atom.xml" rel="self"/>
  
  <link href="https://blog.mocn.top/"/>
  <updated>2026-02-18T15:31:40.028Z</updated>
  <id>https://blog.mocn.top/</id>
  
  <author>
    <name>『Momo5418』</name>
    <email>momo5418@mocn.top</email>
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>我装回了4年前的Bilibili客户端</title>
    <link href="https://blog.mocn.top/posts/40666/"/>
    <id>https://blog.mocn.top/posts/40666/</id>
    <published>2026-02-18T14:16:28.889Z</published>
    <updated>2026-02-18T15:31:40.028Z</updated>
    
    <content type="html"><![CDATA[<h1 id="我装回了4年前的Bilibili客户端"><a href="#我装回了4年前的Bilibili客户端" class="headerlink" title="我装回了4年前的Bilibili客户端"></a>我装回了4年前的Bilibili客户端</h1><p>如今的Bilibili客户端太大了，还都是广告，推广。However</p><p>当我装回6.66.0版本后，推荐算法不一样了，没有IP属地显示，大部分推送的短视频都是1min以上的视频，没有长按快进的function（在快节奏的时代享受慢生活）。</p><p>客户端大小87.37M，目标系统Android12（API31），我用的就是Android12。</p><p>下面是一些图片</p><p><img src="https://img.mocn.top/img/20260218230850572.webp"><br><img src="https://img.mocn.top/img/20260218230850631.webp"><br><img src="https://img.mocn.top/img/20260218230850700.webp"><br><img src="https://img.mocn.top/img/20260218230850776.webp"><br><img src="https://img.mocn.top/img/20260218230850859.webp"><br><img src="https://img.mocn.top/img/20260218230850921.webp"><br><img src="https://img.mocn.top/img/20260218230850983.webp"><br><img src="https://img.mocn.top/img/20260218230851053.webp"><br><img src="https://img.mocn.top/img/20260218230851119.webp"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;我装回了4年前的Bilibili客户端&quot;&gt;&lt;a href=&quot;#我装回了4年前的Bilibili客户端&quot; class=&quot;headerlink&quot; title=&quot;我装回了4年前的Bilibili客户端&quot;&gt;&lt;/a&gt;我装回了4年前的Bilibili客户端&lt;/h1&gt;&lt;p&gt;如今</summary>
      
    
    
    
    <category term="生活" scheme="https://blog.mocn.top/categories/%E7%94%9F%E6%B4%BB/"/>
    
    
  </entry>
  
  <entry>
    <title>Winbtrfs权限设置问题</title>
    <link href="https://blog.mocn.top/posts/6602/"/>
    <id>https://blog.mocn.top/posts/6602/</id>
    <published>2026-02-15T01:22:00.298Z</published>
    <updated>2026-02-15T01:51:58.964Z</updated>
    
    <content type="html"><![CDATA[<h1 id="Winbtrfs权限设置问题"><a href="#Winbtrfs权限设置问题" class="headerlink" title="Winbtrfs权限设置问题"></a>Winbtrfs权限设置问题</h1><p>众所周知，在Windows系统下并不能使用Linux系统下的文件系统Btfrs，而<a href="https://github.com/maharmstone/btrfs">Winbtrfs</a>就解决了这一问题，以下是我讲的权限设置问题。</p><p>其实在原文档也有提到<a href="https://github.com/maharmstone/btrfs?tab=readme-ov-file#mappings">https://github.com/maharmstone/btrfs?tab=readme-ov-file#mappings</a></p><p>用户映射存储在注册表项 HKLM\SYSTEM\CurrentControlSet\services\btrfs\Mappings 中。创建一个 DWORD 值，其名称为您的 Windows SID（例如 S-1-5-21-1379886684-2432464051-424789967-1001），其值为您的 Linux 用户 ID（例如 1000）。</p><p><img src="https://img.mocn.top/img/20260215092829281.webp"></p><p>您可以通过运行以下命令找到您当前的 SID <code>wmic useraccount get name,sid</code></p><p><img src="https://img.mocn.top/img/20260215092900078.webp"></p><p>同样，组映射存储在 GroupMappings 下。默认条目将 Windows 的 Users 组映射到 gid 100，这在 Linux 上通常是“users”。您也可以在此处指定用户 SID，以强制用户创建的文件属于特定组。setgid 标志在 Linux 上也同样有效。</p><p>请注意，在用户访问控制令牌下运行的进程会以 BUILTIN\Administrators SID (S-1-5-32-544) 而不是用户帐户创建文件。</p><p><img src="https://img.mocn.top/img/20260215092956013.webp"></p><p>映射生效后，修复之前 Windows 创建 &#x2F; 修改的文件归属：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"># 递归修复整个Btrfs挂载目录（替换为你的路径）</span><br><span class="line">sudo chown -R 1000:1000 /mnt/btrfs_shared</span><br><span class="line"># 可选：修复权限（按需）</span><br><span class="line">sudo chmod -R u=rwX,g=rwX,o=rX /mnt/btrfs_shared</span><br></pre></td></tr></table></figure><p><code>1000:1000</code>替换为你的<code>UID:GID</code></p><p>路径替换为你的 Btrfs 挂载点<br><img src="https://img.mocn.top/img/20260215093314531.webp"></p><p><img src="https://img.mocn.top/img/20260215095059232.webp"></p><p>问题解决，Successful！</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;Winbtrfs权限设置问题&quot;&gt;&lt;a href=&quot;#Winbtrfs权限设置问题&quot; class=&quot;headerlink&quot; title=&quot;Winbtrfs权限设置问题&quot;&gt;&lt;/a&gt;Winbtrfs权限设置问题&lt;/h1&gt;&lt;p&gt;众所周知，在Windows系统下并不能使用L</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="ArchLinux" scheme="https://blog.mocn.top/tags/ArchLinux/"/>
    
    <category term="Winbtrfs" scheme="https://blog.mocn.top/tags/Winbtrfs/"/>
    
  </entry>
  
  <entry>
    <title>荣耀畅玩50Plus玩机教程</title>
    <link href="https://blog.mocn.top/posts/31943/"/>
    <id>https://blog.mocn.top/posts/31943/</id>
    <published>2026-02-08T03:56:24.048Z</published>
    <updated>2026-02-15T04:59:31.422Z</updated>
    
    <content type="html"><![CDATA[<h1 id="荣耀畅玩50Plus玩机教程"><a href="#荣耀畅玩50Plus玩机教程" class="headerlink" title="荣耀畅玩50Plus玩机教程"></a>荣耀畅玩50Plus玩机教程</h1><p>WARN：经过测试，8.0.0.214(C00E199R2P2)已封堵DA即使刷回old preloader也无法进入DA Mode。</p><p>WARN：此教程Only适用于2025年7月补丁以及之前版本【8.0.0.211(C00E198R2P2H3)】</p><p><img src="https://img.mocn.top/img/20260208130720544.webp"></p><h2 id="Start"><a href="#Start" class="headerlink" title="Start"></a>Start</h2><p>用到的Tools：匣GeekFlashTool</p><p><a href="https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/MTK%E9%AB%98%E7%BA%A7%E5%B7%A5%E5%85%B7/%E5%88%B7%E6%9C%BA%E5%8C%A3">https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/MTK%E9%AB%98%E7%BA%A7%E5%B7%A5%E5%85%B7/%E5%88%B7%E6%9C%BA%E5%8C%A3</a></p><h3 id="匣GeekFlashTool"><a href="#匣GeekFlashTool" class="headerlink" title="匣GeekFlashTool"></a>匣GeekFlashTool</h3><p><img src="https://img.mocn.top/img/20260208124812491.webp"><img src="https://img.mocn.top/img/20260208124911170.webp"><br><img src="https://img.mocn.top/img/20260208124911231.webp"></p><p>之后开机就可以看到BL已解锁</p><p><img src="https://img.mocn.top/img/20260208130505112.webp"><img src="https://img.mocn.top/img/20260208130518755.webp"></p><h3 id="Root"><a href="#Root" class="headerlink" title="Root"></a>Root</h3><p>荣耀boot分区是放kernel和rec文件的地方，ramdisk是启动安卓用的，所以我们只能patch ramdisk，最高可以使用Magisk28102，在这之后安装不生效。</p><p>将ramdisk回读放到Magisk修补，可以使用匣GeekFlashTool或者bootloader模式刷入</p><p><img src="https://img.mocn.top/img/20260208130125234.webp"></p><p><img src="https://img.mocn.top/img/20260208130158829.webp"></p><h3 id="下载"><a href="#下载" class="headerlink" title="下载"></a>下载</h3><p><a href="https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/%E6%89%8B%E6%9C%BA/Honor/Play%2050%20Plus">https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/%E6%89%8B%E6%9C%BA/Honor/Play%2050%20Plus</a></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;荣耀畅玩50Plus玩机教程&quot;&gt;&lt;a href=&quot;#荣耀畅玩50Plus玩机教程&quot; class=&quot;headerlink&quot; title=&quot;荣耀畅玩50Plus玩机教程&quot;&gt;&lt;/a&gt;荣耀畅玩50Plus玩机教程&lt;/h1&gt;&lt;p&gt;WARN：经过测试，8.0.0.214(C0</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="荣耀" scheme="https://blog.mocn.top/tags/%E8%8D%A3%E8%80%80/"/>
    
  </entry>
  
  <entry>
    <title>抛弃Windows，转向Ubuntu 25.04。</title>
    <link href="https://blog.mocn.top/posts/53345/"/>
    <id>https://blog.mocn.top/posts/53345/</id>
    <published>2025-08-20T15:35:36.121Z</published>
    <updated>2025-08-23T03:21:54.603Z</updated>
    
    <content type="html"><![CDATA[<h1 id="抛弃Windows，转向Ubuntu-25-04。"><a href="#抛弃Windows，转向Ubuntu-25-04。" class="headerlink" title="抛弃Windows，转向Ubuntu 25.04。"></a>抛弃Windows，转向Ubuntu 25.04。</h1><p>基本每年都要装一次Ubuntu，每次都是因为一些原因又换回Windows，上次换回去是因为OBS录屏老是编码超载，还有些原因忘记了，以后换回去得记录下来是因为什么。</p><p>我安装ubuntu25.04是在8月19日22点，后期配置一直到20日1点，但我的网络似乎没啥问题，也许是香港的服务器没有受到影响，装东西都顺利，上次TG直连赶上了，这次封443也赶上了，但对我没什么影响。</p><p>2025 年 8 月 20 日北京时间（UTC+8）约 00:34 至 01:48 间，中国国家防火墙（GFW）出现异常行为：对所有指向 TCP 443 端口的连接无条件注入伪造的 TCP <code>RST+ACK</code> 包，导致连接中断。</p><p><img src="https://img.mocn.top/img/20250821100455427.webp"></p><h1 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h1><p>这次使用的是Ubuntu 25.04 LTS，格式化了两块硬盘（C盘，Nvme 256GB | D盘 HDD 500GB），压力给到了E盘。换到Linux的原因是win那边的chkdsk每次开机都会执行，而且win多开网页很卡。</p><p><img src="https://img.mocn.top/img/20250820225850419.webp"></p><p>把微信聊天，重要资料都搞到E盘，我25年2月用Linux微信4.0，当时win那边还是3.9，4.0的聊天记录是</p><p>xwechat文件夹，我换回win，linux的聊天就没有了，到后来win的4.0也更新了，我把linux的xwechat复制到win那边，聊天记录也是回来了。</p><p>这次把win4.3复制到linux4.0反而出问题了，图片和视频没法看，但文字还是有的，这linux微信怎么卡4.0了，什么时候更新啊！</p><p><img src="https://img.mocn.top/img/20250820230546290.webp"><img src="https://img.mocn.top/img/20250820230603524.webp"></p><p>这次没有使用Ext4，而是使用了Btrfs文件系统（B-tree File System，又称 “黄油 FS”）。</p><p>Ext4 是成熟稳定、兼容性强的传统文件系统，适合追求简单可靠的场景；Btrfs 是功能丰富（支持快照、压缩、RAID 等）的现代文件系统，适合需要高级特性和灵活管理的场景。</p><p>装系统的时候需要关闭梯子，不然资源下载会走代理。</p><p><img src="https://img.mocn.top/img/20250820234202292.webp"></p><h1 id="日常软件"><a href="#日常软件" class="headerlink" title="日常软件"></a>日常软件</h1><p>星火应用商店：<a href="https://www.spark-app.store/">https://www.spark-app.store/</a></p><p><img src="https://img.mocn.top/img/20250820231528332.webp"></p><p>基本上你需要的软件都可以在上面找到。</p><h1 id="扩展"><a href="#扩展" class="headerlink" title="扩展"></a>扩展</h1><p><img src="https://img.mocn.top/img/20250820231720638.webp"></p><h1 id="美化"><a href="#美化" class="headerlink" title="美化"></a>美化</h1><h2 id="UI"><a href="#UI" class="headerlink" title="UI"></a>UI</h2><p><a href="https://github.com/vinceliuice">https://github.com/vinceliuice</a></p><p>GRUB+Themes+icon一条龙</p><h2 id="终端"><a href="#终端" class="headerlink" title="终端"></a>终端</h2><p>nala代替apt，zsh+oh-my-zsh</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">sudo apt install nala zsh</span><br><span class="line">zsh</span><br><span class="line">sh -c &quot;$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)&quot;</span><br><span class="line"></span><br></pre></td></tr></table></figure><p><img src="https://img.mocn.top/img/20250822211859905.webp"></p><p>nala如果用的是旧版本可以到这里下载</p><p><a href="https://bugs.launchpad.net/ubuntu/questing/amd64/nala/">https://bugs.launchpad.net/ubuntu/questing/amd64/nala/</a></p><h1 id="一些问题的解决方案"><a href="#一些问题的解决方案" class="headerlink" title="一些问题的解决方案"></a>一些问题的解决方案</h1><h2 id="NTFS硬盘挂载问题"><a href="#NTFS硬盘挂载问题" class="headerlink" title="NTFS硬盘挂载问题"></a>NTFS硬盘挂载问题</h2><p>解决wrong fs type, bad option, bad superblock on &#x2F;dev&#x2F;sda1问题</p><p>通过<code>ntfsfix</code>解决：</p><table><thead><tr><th><code>sudo ntfsfix -d /dev/sda1</code></th></tr></thead></table><p>如果你是双系统需要关闭快速启动以解决问题。</p><h2 id="开机自动挂载分区"><a href="#开机自动挂载分区" class="headerlink" title="开机自动挂载分区"></a>开机自动挂载分区</h2><p>可以使用磁盘进行配置，也可以编辑&#x2F;etc&#x2F;fstab</p><h3 id="系统包编辑"><a href="#系统包编辑" class="headerlink" title="系统包编辑"></a>系统包编辑</h3><p><img src="https://img.mocn.top/img/20250823112305857.webp"></p><p><img src="https://img.mocn.top/img/20250823112420623.webp"></p><h3 id="vim手动编辑编辑"><a href="#vim手动编辑编辑" class="headerlink" title="vim手动编辑编辑"></a>vim手动编辑编辑</h3><p><img src="https://img.mocn.top/img/20250823112457845.webp"></p><h2 id="Snap软件包安装"><a href="#Snap软件包安装" class="headerlink" title="Snap软件包安装"></a>Snap软件包安装</h2><p>使用 <code>--dangerous</code> 选项强制安装（不推荐，有安全风险）：<br>如果你确认该 Snap 包来源可靠，可以使用以下命令强制安装未签名的包：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">sudo</span> snap install --dangerous <span class="string">&#x27;/home/momo5418/下载/piclist_3.0.1_amd64.snap&#x27;</span></span><br></pre></td></tr></table></figure><h1 id="Other"><a href="#Other" class="headerlink" title="Other"></a>Other</h1><p>这次不知道能用多久，接下来打算搞KVM虚拟机来装Windows。</p><p>玩Steam游戏都是用Vulkan而不是Dx，没办法，微软不开源，有些游戏在Linux可以反超win，就是着色渲染器有点慢，新游戏都得先渲染，不然进游戏非常卡，不知道为啥CSGO就算渲染了依旧很卡，在win那边可以跑慢60FPS，在Linux这边1030*760才能跑15FPS，不知道是什么原因。</p><p><img src="https://img.mocn.top/img/20250820234256124.webp"></p><h2 id="原神"><a href="#原神" class="headerlink" title="原神"></a>原神</h2><p><a href="https://aagl.launcher.moe/">Run An Anime Game on Linux</a></p><p>国际服可以玩，国服由于反作弊报错误码4001。</p><h1 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h1><p>好用的地方就是多开网页不卡，UI做得不错，现在日常软件也有Linux版本的了，微信，QQ，腾讯会议，就是版本有点旧，腾讯会议只支持X11，wayland都不支持，看它到了Ubuntu26怎么活。</p><p><img src="https://img.mocn.top/img/20250823113055205.webp"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;抛弃Windows，转向Ubuntu-25-04。&quot;&gt;&lt;a href=&quot;#抛弃Windows，转向Ubuntu-25-04。&quot; class=&quot;headerlink&quot; title=&quot;抛弃Windows，转向Ubuntu 25.04。&quot;&gt;&lt;/a&gt;抛弃Windows，转</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="Ubuntu" scheme="https://blog.mocn.top/tags/Ubuntu/"/>
    
    <category term="Linux" scheme="https://blog.mocn.top/tags/Linux/"/>
    
  </entry>
  
  <entry>
    <title>给TWRP增加Data解密功能-高通）</title>
    <link href="https://blog.mocn.top/posts/27708/"/>
    <id>https://blog.mocn.top/posts/27708/</id>
    <published>2025-08-18T00:20:27.517Z</published>
    <updated>2025-08-18T08:56:03.853Z</updated>
    
    <content type="html"><![CDATA[<h1 id="给TWRP增加Data解密功能-高通）"><a href="#给TWRP增加Data解密功能-高通）" class="headerlink" title="给TWRP增加Data解密功能-高通）"></a>给TWRP增加Data解密功能-高通）</h1><h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>qseecomd是高通（Qualcomm）设备上的一个关键系统守护进程（daemon），全称为 <strong>QSEE Communication Daemon</strong>，主要负责用户态进程与 QSEE（Qualcomm Secure Execution Environment，高通安全执行环境）之间的通信管理。</p><h1 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h1><p>以下演示机型为OPPO Ace2</p><p>所需文件</p><ul><li>qseecomd</li><li>libQSEEComAPI.so</li><li>libdrmfs.so</li></ul><p>这两个so文件是支持qseecomd运行的基础</p><p><a href="https://github.com/momo54181/twrp_device_oppo_OP4AD9/commit/34d3483b1d6fc981124143f75727b42681be8d6d">Add file · momo54181&#x2F;twrp_device_oppo_OP4AD9@34d3483</a></p><p>把libandroidicu.so放到system&#x2F;lib64里</p><p>上面是我提交的PR，原版照抄从官方recovery文件复制过来，如果官方recovery的vendor目录是空的，直接把设备vendor分区薅过来，直接复制。</p><hr><p>接下来就是复制keymaster和gatekeeper文件了。</p><p>Bin目录</p><ul><li><a href="mailto:&#97;&#x6e;&#x64;&#114;&#x6f;&#105;&#x64;&#46;&#x68;&#97;&#x72;&#x64;&#119;&#97;&#114;&#101;&#x2e;&#103;&#x61;&#x74;&#101;&#x6b;&#x65;&#101;&#x70;&#x65;&#114;&#64;&#x31;&#x2e;&#x30;&#45;&#x73;&#101;&#114;&#x76;&#x69;&#x63;&#x65;&#x2d;&#113;&#116;&#105;">&#97;&#x6e;&#x64;&#114;&#x6f;&#105;&#x64;&#46;&#x68;&#97;&#x72;&#x64;&#119;&#97;&#114;&#101;&#x2e;&#103;&#x61;&#x74;&#101;&#x6b;&#x65;&#101;&#x70;&#x65;&#114;&#64;&#x31;&#x2e;&#x30;&#45;&#x73;&#101;&#114;&#x76;&#x69;&#x63;&#x65;&#x2d;&#113;&#116;&#105;</a></li><li><a href="mailto:&#97;&#x6e;&#100;&#114;&#x6f;&#x69;&#x64;&#46;&#x68;&#97;&#114;&#x64;&#x77;&#x61;&#x72;&#101;&#x2e;&#x6b;&#101;&#x79;&#x6d;&#x61;&#115;&#x74;&#101;&#x72;&#x40;&#52;&#46;&#x30;&#x2d;&#115;&#x65;&#x72;&#x76;&#x69;&#x63;&#101;&#45;&#113;&#x74;&#x69;">&#97;&#x6e;&#100;&#114;&#x6f;&#x69;&#x64;&#46;&#x68;&#97;&#114;&#x64;&#x77;&#x61;&#x72;&#101;&#x2e;&#x6b;&#101;&#x79;&#x6d;&#x61;&#115;&#x74;&#101;&#x72;&#x40;&#52;&#46;&#x30;&#x2d;&#115;&#x65;&#x72;&#x76;&#x69;&#x63;&#101;&#45;&#113;&#x74;&#x69;</a></li></ul><p>lib64目录</p><ul><li><a href="mailto:&#x61;&#x6e;&#100;&#x72;&#x6f;&#105;&#x64;&#46;&#x68;&#97;&#114;&#x64;&#x77;&#97;&#114;&#x65;&#x2e;&#103;&#97;&#x74;&#x65;&#x6b;&#x65;&#x65;&#x70;&#x65;&#114;&#64;&#x31;&#x2e;&#48;&#45;&#x69;&#109;&#112;&#x6c;&#x2d;&#113;&#x74;&#105;&#x2e;&#x73;&#111;">&#x61;&#x6e;&#100;&#x72;&#x6f;&#105;&#x64;&#46;&#x68;&#97;&#114;&#x64;&#x77;&#97;&#114;&#x65;&#x2e;&#103;&#97;&#x74;&#x65;&#x6b;&#x65;&#x65;&#x70;&#x65;&#114;&#64;&#x31;&#x2e;&#48;&#45;&#x69;&#109;&#112;&#x6c;&#x2d;&#113;&#x74;&#105;&#x2e;&#x73;&#111;</a></li></ul><p>找关键字gatekeeper@后面带-service-qti，keymaster@后面带-service-qti</p><p>bin目录的复制到system&#x2F;bin，lib64目录的复制到vendor&#x2F;lib64&#x2F;hw</p><hr><p>BoardConfig.mk文件</p><p>添加</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br></pre></td><td class="code"><pre><span class="line">TARGET_RECOVERY_DEVICE_MODULES += \</span><br><span class="line">    android.hidl.allocator@1.0 \</span><br><span class="line">    android.hidl.memory@1.0 \</span><br><span class="line">    android.hidl.memory.token@1.0 \</span><br><span class="line">    libdmabufheap \</span><br><span class="line">    libhidlmemory \</span><br><span class="line">    libion \</span><br><span class="line">    libnetutils \</span><br><span class="line">    vendor.display.config@1.0 \</span><br><span class="line">    vendor.display.config@2.0 \</span><br><span class="line">    libdebuggerd_client</span><br><span class="line"></span><br><span class="line">RECOVERY_LIBRARY_SOURCE_FILES += \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.allocator@1.0.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.memory@1.0.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.memory.token@1.0.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/libdmabufheap.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/libhidlmemory.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/libion.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/libnetutils.so \</span><br><span class="line">    $(TARGET_OUT_SHARED_LIBRARIES)/libdebuggerd_client.so \</span><br><span class="line">    $(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/vendor.display.config@1.0.so \</span><br><span class="line">    $(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/vendor.display.config@2.0.so</span><br></pre></td></tr></table></figure><p><code>BOARD_USES_QCOM_FBE_DECRYPTION := true</code></p><p>device.mk添加</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">PRODUCT_PACKAGES_ENG += \</span><br><span class="line">    qcom_decrypt \</span><br><span class="line">    qcom_decrypt_fbe</span><br><span class="line"></span><br></pre></td></tr></table></figure><p>init.recovery.qcom.rc在一开头添加</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">import /init.recovery.qcom_decrypt.rc</span><br></pre></td></tr></table></figure><p><img src="https://img.mocn.top/img/20250818084905460.webp"></p><p>然后编译就OK</p><h1 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h1><p>如果data挂载参数为<code>/dev/block/bootdevice/by-name/userdata                  /data                  f2fs    noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt   latemount,wait,resize,check,formattable,fileencryption=ice,wrappedkey,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs</code></p><p>有<code>fileencryption=ice</code>的需要在twrp.flags文件里添加元加密分区的密钥位置<code>keydirectory=/metadata/vold/metadata_encryption</code></p><p>示例：<code>/data               f2fs            /dev/block/bootdevice/by-name/userdata                                              flags=fileencryption=ice;wrappedkey;keydirectory=/metadata/vold/metadata_encryption</code></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;给TWRP增加Data解密功能-高通）&quot;&gt;&lt;a href=&quot;#给TWRP增加Data解密功能-高通）&quot; class=&quot;headerlink&quot; title=&quot;给TWRP增加Data解密功能-高通）&quot;&gt;&lt;/a&gt;给TWRP增加Data解密功能-高通）&lt;/h1&gt;&lt;h1 i</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="TWRP" scheme="https://blog.mocn.top/tags/TWRP/"/>
    
    <category term="Data解密" scheme="https://blog.mocn.top/tags/Data%E8%A7%A3%E5%AF%86/"/>
    
    <category term="高通" scheme="https://blog.mocn.top/tags/%E9%AB%98%E9%80%9A/"/>
    
  </entry>
  
  <entry>
    <title>真我【Realme】Q2 Pro玩机教程</title>
    <link href="https://blog.mocn.top/posts/21243/"/>
    <id>https://blog.mocn.top/posts/21243/</id>
    <published>2025-07-26T05:31:45.304Z</published>
    <updated>2025-08-01T02:52:23.459Z</updated>
    
    <content type="html"><![CDATA[<h1 id="真我【Realme】Q2-Pro玩机教程"><a href="#真我【Realme】Q2-Pro玩机教程" class="headerlink" title="真我【Realme】Q2 Pro玩机教程"></a>真我【Realme】Q2 Pro玩机教程</h1><p><strong>Tips：此文章的Rec和内核通用也可以在oppo&#x2F;realme的天玑720&#x2F;800U的机型上使用（理论），仅测试realme Q2 Pro。</strong></p><p>博主也是前一周换手机，闲鱼收的，成色没啥问题，还是素皮版本。</p><p>PS：手机拿到手不到半天就成砖头了，但运气好，救回来了。</p><table><thead><tr><th>项目</th><th>参数说明</th></tr></thead></table><table><thead><tr><th><strong>处理器</strong></th><th>联发科天玑 800U，7nm 工艺，5G 芯片</th></tr></thead></table><table><thead><tr><th><strong>内存</strong></th><th>8GB RAM</th></tr></thead></table><table><thead><tr><th><strong>存储</strong></th><th>128GB &#x2F; 256GB UFS 2.1，不可扩展</th></tr></thead></table><table><thead><tr><th><strong>屏幕</strong></th><th>6.4 英寸 Super AMOLED，1080P 分辨率</th></tr></thead></table><table><thead><tr><th><strong>摄像头</strong></th><th>后置四摄：48MP 主摄 + 8MP 超广角 + 2MP 微距 + 2MP 景深<br/>前置：16MP 自拍</th></tr></thead></table><table><thead><tr><th><strong>电池</strong></th><th>4300mAh，支持 65W 超级快充</th></tr></thead></table><table><thead><tr><th><strong>系统</strong></th><th>Android 12（realme UI 3.0）</th></tr></thead></table><table><thead><tr><th><strong>重量</strong></th><th>约 175g，轻薄设计</th></tr></thead></table><p><img src="https://img.mocn.top/img/20250726165316960.webp"></p><hr><p>这个机子官方最高给到了安卓12，内核源码也放出来了。</p><h2 id="解锁"><a href="#解锁" class="headerlink" title="解锁"></a>解锁</h2><p>a12可以使用Unlocktool工具解锁，再早的可以使用BootRom漏洞解锁。</p><p><img src="https://img.mocn.top/img/20250726170450401.webp"></p><p>解锁之后开机会进入Recovery模式，点击格式化数据分区之后会重启进入系统。</p><h2 id="Root"><a href="#Root" class="headerlink" title="Root"></a>Root</h2><p>之前一般是提取boot在手机完成修补然后刷回去，但这次不同，前面提到Realme官方放出来内核源码，也就意味着可以手动编译ksu内核以使用内核级别的Root。</p><p>在此感谢酷安大佬@jsbsbxjxh66提供的可使用的内核源码。</p><p>感谢酷安大佬@hotian编译的SukiSU Ultra（non gki）内核。</p><p><img src="https://img.mocn.top/img/20250726170918675.webp"><img src="https://img.mocn.top/img/20250726170926946.webp"></p><p><img src="https://img.mocn.top/img/20250801105324101.webp"></p><p>资源会在文章结尾提供。</p><h3 id="刷入方法"><a href="#刷入方法" class="headerlink" title="刷入方法"></a>刷入方法</h3><p>首先刷入TWRP&#x2F;Orange Fox，然后进入，刷入内核补丁即可。</p><h2 id="墓碑"><a href="#墓碑" class="headerlink" title="墓碑"></a>墓碑</h2><p>这是个好东西，不用我多介绍了吧，简单说就是拥有类似苹果IOS系统的后台管理机制。下面看效果吧。（图为手动简单PS）</p><p><img src="https://img.mocn.top/img/20250727083222162.webp"></p><h3 id="刷入方法-1"><a href="#刷入方法-1" class="headerlink" title="刷入方法"></a>刷入方法</h3><p>在sukisu管理器嵌入kpm模块：<strong>cgroupv2_freeze_1.0.12.kpm</strong>和<strong>re_kernel_7.0.1.kpm</strong></p><p>在sukisu管理器刷入Magisk模块：<strong>freezeitλ_v4.2.zip</strong></p><h2 id="环境隐藏"><a href="#环境隐藏" class="headerlink" title="环境隐藏"></a>环境隐藏</h2><p>使用sh脚本一键安装</p><p>下载地址：<a href="https://xiaocaiye.fun/">https://xiaocaiye.fun</a></p><p><img src="https://img.mocn.top/img/20250727114434586.webp"></p><h3 id="效果展示"><a href="#效果展示" class="headerlink" title="效果展示"></a>效果展示</h3><p><img src="https://img.mocn.top/img/20250727120518470.webp"></p><h2 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h2><p>65w快充大约40min充满，充电头输出为10v6.5a</p><p>5G一般只会在室外未连WLAN才会启用。</p><p>调度推荐使用官方调度+Encore Tweaks模块，以前测试了Scene HP，发热有点大，随随便便40度+，不知道为啥。不知道是不是Sukisu Ultra的SuSFS导致的（有人说SuSFS耗电快，不知真假，没测试。）</p><p>目前UP使用Apatch，可以加载kp模块，使用冻它，官方调度+Encore Tweaks模块。</p><h2 id="相关资源"><a href="#相关资源" class="headerlink" title="相关资源"></a>相关资源</h2><p><a href="https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89">刷机（天翼云） | Momo5418 - Cloud</a></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;真我【Realme】Q2-Pro玩机教程&quot;&gt;&lt;a href=&quot;#真我【Realme】Q2-Pro玩机教程&quot; class=&quot;headerlink&quot; title=&quot;真我【Realme】Q2 Pro玩机教程&quot;&gt;&lt;/a&gt;真我【Realme】Q2 Pro玩机教程&lt;/h1&gt;&lt;</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="刷机" scheme="https://blog.mocn.top/tags/%E5%88%B7%E6%9C%BA/"/>
    
    <category term="Realme" scheme="https://blog.mocn.top/tags/Realme/"/>
    
  </entry>
  
  <entry>
    <title>记一次B85装机历程以及后期遇到的问题</title>
    <link href="https://blog.mocn.top/posts/40305/"/>
    <id>https://blog.mocn.top/posts/40305/</id>
    <published>2025-07-22T13:42:27.672Z</published>
    <updated>2025-07-26T03:49:22.732Z</updated>
    
    <content type="html"><![CDATA[<h1 id="记一次B85装机历程以及后期遇到的问题"><a href="#记一次B85装机历程以及后期遇到的问题" class="headerlink" title="记一次B85装机历程以及后期遇到的问题"></a>记一次B85装机历程以及后期遇到的问题</h1><p>刚开始是没有打算换主板的，一位伙计要装500元神机，我去搜了搜配件，这板U挺便宜的，E3-1230v3+B85才100多，cpu-z的成绩是多核2000，单核350，看了看我的古董AMD，多核1300，单核不到200，本来不打算换的，剩下两年基本不在家，就这么将就用吧，但到了网课的时候发现，这可不行，开个OBS摄像头+企鹅会议CPU直接干到100%，画面一卡一卡的，cpu温度高，还耗电，这电老虎喂不起了。</p><h2 id="装机"><a href="#装机" class="headerlink" title="装机"></a>装机</h2><p>我的原板U是华硕M5A97 EVO R2.0 + AMD Fx8300，然后换成了技嘉的B85，也是吃上好的了，音频口有点问题，索性买了个usb声卡。</p><p><img src="https://img.mocn.top/img/20250726115431418.webp"></p><p><img src="https://img.mocn.top/img/20250726120301292.webp"><br><img src="https://img.mocn.top/img/20250726120301342.webp"><br><img src="https://img.mocn.top/img/20250726120301416.webp"><br><img src="https://img.mocn.top/img/20250726120301496.webp"></p><h3 id="拿到主板"><a href="#拿到主板" class="headerlink" title="拿到主板"></a>拿到主板</h3><p>首先不是装机，而是刷BIOS，换上最新的BIOS，以及添加Nvme驱动，这主板是双BIOS设计，单ROM大小只有4MB，只能用精简版的驱动。</p><h3 id="装机-1"><a href="#装机-1" class="headerlink" title="装机"></a>装机</h3><p>现在显卡可以插到x16上了，nvme硬盘插到picex4口，</p><h2 id="使用过程中遇到的问题"><a href="#使用过程中遇到的问题" class="headerlink" title="使用过程中遇到的问题"></a>使用过程中遇到的问题</h2><p>开机蜂鸣器连续响，内存废了，过了几天又废了一个，两个8g就这么没了。没事，再买一个。</p><p><img src="https://img.mocn.top/img/20250726122349739.webp"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;记一次B85装机历程以及后期遇到的问题&quot;&gt;&lt;a href=&quot;#记一次B85装机历程以及后期遇到的问题&quot; class=&quot;headerlink&quot; title=&quot;记一次B85装机历程以及后期遇到的问题&quot;&gt;&lt;/a&gt;记一次B85装机历程以及后期遇到的问题&lt;/h1&gt;&lt;p&gt;刚开</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="升级" scheme="https://blog.mocn.top/tags/%E5%8D%87%E7%BA%A7/"/>
    
    <category term="电脑" scheme="https://blog.mocn.top/tags/%E7%94%B5%E8%84%91/"/>
    
    <category term="Nvme" scheme="https://blog.mocn.top/tags/Nvme/"/>
    
  </entry>
  
  <entry>
    <title>TWRP编译及设备树报错解决合集</title>
    <link href="https://blog.mocn.top/posts/64468/"/>
    <id>https://blog.mocn.top/posts/64468/</id>
    <published>2025-07-04T02:47:21.637Z</published>
    <updated>2025-08-19T01:14:16.924Z</updated>
    
    <content type="html"><![CDATA[<h1 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h1><p>此处为汇总一些常见的问题，可以使用Crtl+F进行关键字查询，回答有人工和AI回答。</p><h1 id="TWRP编译"><a href="#TWRP编译" class="headerlink" title="TWRP编译"></a>TWRP编译</h1><p>如果要构建vendor_boot构建标识<code>BUILD_TARGET</code>将recovery改为vendorboot</p><h2 id="安卓10以上编译报错"><a href="#安卓10以上编译报错" class="headerlink" title="安卓10以上编译报错"></a>安卓10以上编译报错</h2><p>In file included from build&#x2F;make&#x2F;target&#x2F;product&#x2F;telephony_vendor.mk:24:</p><p>device&#x2F;alldocube&#x2F;T1030M&#x2F;device.mk:24: **error: **PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead. See</p><p>解决方法：omni_device.mk或twrp_device.mk中的full_base_telephony.mk改为aosp_base.mk</p><p><a href="https://github.com/momo54181/android_device_alldocube_T1030M/commit/f4bab9d5488d98601eb76eda9fb1b27f7eb2e8f1">https://github.com/momo54181/android_device_alldocube_T1030M&#x2F;commit&#x2F;f4bab9d5488d98601eb76eda9fb1b27f7eb2e8f1</a></p><h2 id="无法克隆设备树"><a href="#无法克隆设备树" class="headerlink" title="无法克隆设备树"></a>无法克隆设备树</h2><p><img src="https://img.mocn.top/img/202406301102897.png"></p><p>将仓库设置为公开</p><h2 id="构建过程错误"><a href="#构建过程错误" class="headerlink" title="构建过程错误"></a>构建过程错误</h2><p><img src="https://img.mocn.top/img/202406301103856.png"></p><p>解决方法：</p><p><del><img src="https://img.mocn.top/img/202406301105454.png"></del></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># Inherit some common TWRP stuff.</span><br><span class="line">$(call inherit-product, vendor/twrp/config/common.mk)</span><br></pre></td></tr></table></figure><p>替换成上面这个</p><h2 id="安卓10编译报错"><a href="#安卓10编译报错" class="headerlink" title="安卓10编译报错"></a>安卓10编译报错</h2><p><img src="https://img.mocn.top/img/202407031016542.png"></p><p>设备树生成器的问题</p><p><code>TARGET_SCREEN_DENSITY := 480</code></p><p>将480改为320</p><h1 id="解决-TWRP-编译时报错-PRODUCT-STATIC-BOOT-CONTROL-HAL-is-obsolete-全流程"><a href="#解决-TWRP-编译时报错-PRODUCT-STATIC-BOOT-CONTROL-HAL-is-obsolete-全流程" class="headerlink" title="解决 TWRP 编译时报错 PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete 全流程"></a>解决 TWRP 编译时报错 <code>PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete</code> 全流程</h1><blockquote><p><strong>适用场景</strong>：基于 AOSP &#x2F; Lineage &#x2F; Omni 源码编译 TWRP（或其他 Recovery）时，出现<br><code>error: PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead.</code></p></blockquote><hr><h2 id="一、背景简介"><a href="#一、背景简介" class="headerlink" title="一、背景简介"></a>一、背景简介</h2><p>在较新的 Android 构建系统（Android 11 及之后）中，Google <strong>移除了</strong> <code>PRODUCT_STATIC_BOOT_CONTROL_HAL</code> 这一变量，改用 <strong>共享库</strong>（shared library）方式来管理 Boot Control HAL。<br>如果你的设备配置 (<code>device.mk</code>) 里仍然写着这行，就会导致整个编译流程直接失败并抛出上述错误。</p><hr><h2 id="二、问题定位"><a href="#二、问题定位" class="headerlink" title="二、问题定位"></a>二、问题定位</h2><p>编译日志中的关键提示（示例）：</p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">device/alps/ls12_mt8797_wifi_64/device.mk:24: error: PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete.</span><br><span class="line">See https://android.googlesource.com/platform/build/+/master/Changes.md#PRODUCT_STATIC_BOOT_CONTROL_HAL</span><br></pre></td></tr></table></figure><h1 id="编译-TWRP-时提示-Device-ossi-not-found-的原因与解决方案"><a href="#编译-TWRP-时提示-Device-ossi-not-found-的原因与解决方案" class="headerlink" title="编译 TWRP 时提示 Device ossi not found 的原因与解决方案"></a>编译 TWRP 时提示 <code>Device ossi not found</code> 的原因与解决方案</h1><p>在编译 Recovery时，个别人会遇到如下报错信息：</p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Device ossi not found. Attempting to retrieve device repository from TeamWin Github (http://github.com/TeamWin).</span><br></pre></td></tr></table></figure><p>在TeamWin Github中没有找到设备树，看是否是设备名称填写错误。</p><h1 id="设备树编译"><a href="#设备树编译" class="headerlink" title="设备树编译"></a>设备树编译</h1><h1 id="设备树创建时报错-Property-ro-product-first-api-level-could-not-be-found-in-build-prop-的原因与解决方案"><a href="#设备树创建时报错-Property-ro-product-first-api-level-could-not-be-found-in-build-prop-的原因与解决方案" class="headerlink" title="设备树创建时报错 Property ro.product.first_api_level could not be found in build.prop 的原因与解决方案"></a>设备树创建时报错 <code>Property ro.product.first_api_level could not be found in build.prop</code> 的原因与解决方案</h1><hr><h2 id="1-ro-product-first-api-level"><a href="#1-ro-product-first-api-level" class="headerlink" title="1. ro.product.first_api_level"></a>1. ro.product.first_api_level</h2><p>网友 @yunzimo 在使用设备树自动生成工具（如 sebaubuntu_libs）时遇到如下错误：</p><p>self.first_api_level &#x3D; self.get_first_prop(FIRST_API_LEVEL)<br>File “&#x2F;opt&#x2F;hostedtoolcache&#x2F;Python&#x2F;3.9.18&#x2F;x64&#x2F;lib&#x2F;python3.9&#x2F;site-packages&#x2F;sebaubuntu_libs&#x2F;libandroid&#x2F;device_info.py”, line 179, in get_first_prop<br>raise AssertionError(f’Property {props[0]} could not be found in build.prop’)<br>AssertionError: Property ro.product.first_api_level could not be found in build.prop</p><hr><ul><li><code>ro.product.first_api_level</code> 属性表示设备首次发布的 Android API 级别。</li><li>该属性缺失，导致设备树生成工具无法正确识别设备 Android 版本信息。</li></ul><hr><h2 id="解决方案"><a href="#解决方案" class="headerlink" title="解决方案"></a>解决方案</h2><h3 id="手动解包并补充-build-prop"><a href="#手动解包并补充-build-prop" class="headerlink" title="手动解包并补充 build.prop"></a>手动解包并补充 <code>build.prop</code></h3><ol><li><p>进入手机&#x2F;system&#x2F;build.prop</p></li><li><p>编辑 <code>build.prop</code> 文件查看ro.product.first_api_level后面的值</p><p>在rec文件的 <code>build.prop</code> 中添加缺失的属性：</p><p>ro.product.first_api_level&#x3D;29</p><p>这里的 <code>29</code> 是 Android 10 的 API 级别，根据实际设备版本填写（Android 11 是 30，Android 12 是 31，Android 13 是 33）。</p></li></ol><h1 id="AssertionError-Property-ro-product-system-device-could-not-be-found-in-build-prop"><a href="#AssertionError-Property-ro-product-system-device-could-not-be-found-in-build-prop" class="headerlink" title="AssertionError: Property ro.product.system.device could not be found in build.prop"></a>AssertionError: Property ro.product.system.device could not be found in build.prop</h1><p>系统system&#x2F;build.prop和vendor&#x2F;build.prop的内容一起合并到&#x2F;prop.default然后打包生成</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;简介&quot;&gt;&lt;a href=&quot;#简介&quot; class=&quot;headerlink&quot; title=&quot;简介&quot;&gt;&lt;/a&gt;简介&lt;/h1&gt;&lt;p&gt;此处为汇总一些常见的问题，可以使用Crtl+F进行关键字查询，回答有人工和AI回答。&lt;/p&gt;
&lt;h1 id=&quot;TWRP编译&quot;&gt;&lt;a href</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="TWRP" scheme="https://blog.mocn.top/tags/TWRP/"/>
    
  </entry>
  
  <entry>
    <title>CT321小主机刷64位BIOS及iStoreOS教程</title>
    <link href="https://blog.mocn.top/posts/3274/"/>
    <id>https://blog.mocn.top/posts/3274/</id>
    <published>2025-04-12T07:32:02.376Z</published>
    <updated>2025-04-17T10:46:35.819Z</updated>
    
    <content type="html"><![CDATA[<h1 id="CT321小主机刷64位BIOS及iStoreOS教程"><a href="#CT321小主机刷64位BIOS及iStoreOS教程" class="headerlink" title="CT321小主机刷64位BIOS及iStoreOS教程"></a>CT321小主机刷64位BIOS及iStoreOS教程</h1><p><del>CT321的事情以后再写吧。这里主要写iStoreOS使用体验</del></p><p><del>起初是打算当旁路网关的，后来整了一个USB3.0转RJ45网口的网卡。所以就把它改为主路由使用了。</del></p><p>两个月没更新了，是时候该弄出点动静了。</p><h2 id="配置信息"><a href="#配置信息" class="headerlink" title="配置信息"></a>配置信息</h2><table><thead><tr><th>中央处理器</th><th>Intel D2550 双核四线程1.86G Hz</th></tr></thead><tbody><tr><td>内存</td><td>2G RAM（DDR3 1600MHz）</td></tr><tr><td>存储</td><td>8G SSD（速度很垃圾，写入10MB&#x2F;s）</td></tr><tr><td>网卡</td><td>10&#x2F;100&#x2F;1000M以太网</td></tr><tr><td>外部设备接口</td><td>1 个 DVI-I 接口 1 个 HDMI 接口 6个 USB接口（4个USB 2.0接口，2个USB 3.0高速接口）1个千兆RJ45接口1个16位立体声频输出接口，1个8位麦克风音频输入接口</td></tr><tr><td>操作系统</td><td>WES7 &#x2F; Linux操作系统</td></tr><tr><td>显示</td><td>最大支持1920x1200分辨率、 60Hz、32位色，支持双显（复制和扩展模式）</td></tr><tr><td>安全</td><td>Kensington 锁孔（锁需要单独购买）</td></tr><tr><td>云终端管理</td><td>中兴云终端管理系统</td></tr><tr><td>电源</td><td>12V DC</td></tr><tr><td>功耗</td><td>待机功率0.9w  典型功率 8w</td></tr><tr><td>主机重量</td><td>≤1.2kg</td></tr><tr><td>系统尺寸（直立情况）</td><td>165mm ×180mm×35mm（宽*高*厚）</td></tr><tr><td>环境温度</td><td>工作环境：0℃~40℃</td></tr><tr><td>环境湿度</td><td>5%-95% 非冷凝</td></tr><tr><td>相关认证</td><td>CCC、、FCC、CE、UL、RoHS、Energy Star</td></tr></tbody></table><h2 id="准备阶段"><a href="#准备阶段" class="headerlink" title="准备阶段"></a>准备阶段</h2><p>CT321主机 螺丝刀（小的一字，中等的十字）CH341编程器以及夹子 装有Windows7及以上的PC</p><h2 id="拆机"><a href="#拆机" class="headerlink" title="拆机"></a>拆机</h2><p><img src="https://img.mocn.top/img/20250412160724884.jpg"><img src="https://img.mocn.top/img/20250412160816102.jpg"><br><img src="https://img.mocn.top/img/20250412160816172.jpg"><br><img src="https://img.mocn.top/img/20250530182809380.webp"></p><h2 id="刷64位BIOS"><a href="#刷64位BIOS" class="headerlink" title="刷64位BIOS"></a>刷64位BIOS</h2><p>文件在文章末尾，翻到背面</p><p><img src="https://img.mocn.top/img/20250412161158971.jpg"></p><p>需要将主板BIOS电池扣掉，然后用胶带粘住左上角的引脚<img src="https://img.mocn.top/img/20250412161546783.png"></p><p>红线对应上图左下角的位置夹上</p><p><img src="https://img.mocn.top/img/20250412161159056.jpg"></p><p>这一端对应图夹上</p><p><img src="https://img.mocn.top/img/20250412161158910.jpg"></p><h3 id="PC端操作"><a href="#PC端操作" class="headerlink" title="PC端操作"></a>PC端操作</h3><p><img src="https://img.mocn.top/img/20250412162121910.png"><img src="https://img.mocn.top/img/20250412162244954.png"><img src="https://img.mocn.top/img/20250412162306938.jpg"><img src="https://img.mocn.top/img/20250412162444242.png"></p><p>进度条完了以后，序号1打开BIOS文件，然后序号2写入</p><p><img src="https://img.mocn.top/img/20250412162637081.png"></p><p>跑完代码后从BIOS上移下夹子，扣上BIOS电池。</p><h2 id="刷入iStoreOS"><a href="#刷入iStoreOS" class="headerlink" title="刷入iStoreOS"></a>刷入iStoreOS</h2><p><a href="https://doc.linkease.com/zh/guide/istoreos/install_x86.html">https://doc.linkease.com/zh/guide/istoreos/install_x86.html</a></p><p>我是用的是<a href="https://www.ventoy.net/cn/index.html">Ventoy</a>直接引导，然后使用 <code>quickstart</code>命令直接安装</p><h2 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h2><p>2025-04-17 与咸鱼卖家（路边野花偏要采）交流了一下，HDMI版本的有两个不同的版本，而我偏偏就是那个没有开机自启的版本，这个版本在emc芯片上边（开机按钮下方，sata硬盘螺丝右边）没有零件的就是不支持开机自启的版本。</p><p>这个BIOS在我的机子上不支持来电自启，USB3.0 BIOS没有支持，所以USB3.0接口也是不能用的。</p><p>我加了一个USB网卡，WAN口为USB网卡，LAN口为自带网卡，ZTE E8820S当作交换机了。</p><p><img src="https://img.mocn.top/img/20250412170728530.jpg"></p><h3 id="关于BIOS"><a href="#关于BIOS" class="headerlink" title="关于BIOS"></a>关于BIOS</h3><p>基于实达D2550-64BIOS.bin修改</p><p>将2MB扩容到4MB，得以刷入，修改BIOS默认设置为Only UEFI，当时没搞UEFI启动OpenWRT的时候会提示no efi environment detected，不过可以引导，就在2025-04-12，eth0（板载网卡）炸了，如下图，然后发现在ventoy引导OpenWRT，奇迹发生了，不会出现no efi environment detected，而且分辨率正常，eth0自己好了，我才意识到之前一直都没有使用UEFI引导，然后我去BIOS设置改为了Only UEFI后，一切正常。</p><p>（下图为eth0炸了以后的图，r8168一直resting）</p><p><img src="https://img.mocn.top/img/20250412171454960.png"></p><h3 id="OpenWRT"><a href="#OpenWRT" class="headerlink" title="OpenWRT"></a>OpenWRT</h3><p>目前iStoreOS是正常的，其他的固件貌似有点问题（也许是我没有使用UEFI引导），KWRT OpenWRT X-WRT 等等试了一下，屏幕显示USB键盘插入了，但是无法使用。</p><h3 id="通电开机"><a href="#通电开机" class="headerlink" title="通电开机"></a>通电开机</h3><p><img src="https://img.mocn.top/img/20250412165046288.jpg"><img src="https://img.mocn.top/img/20250412165139141.jpg"></p><p>不愧是我，使用USB2.0接口供电，这个距离直接把开机接口那里焊接，省了几个线。</p><h3 id="iStoreOS欣赏"><a href="#iStoreOS欣赏" class="headerlink" title="iStoreOS欣赏"></a>iStoreOS欣赏</h3><p><img src="https://img.mocn.top/img/20250412172439372.png"><img src="https://img.mocn.top/img/20250412172510067.png"><img src="https://img.mocn.top/img/20250412172557804.png"><img src="https://img.mocn.top/img/20250412172650372.png"><img src="https://img.mocn.top/img/20250412172733828.png"></p><h2 id="资源下载"><a href="#资源下载" class="headerlink" title="资源下载"></a>资源下载</h2><p>像我这么良心的博主还能有几个。阿里云限速了，所以给你们用天翼云。</p><p><a href="https://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/D2550">D2550 | Momo5418 - Cloud</a></p><p>编写完成：2025-04-12 17：29</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;CT321小主机刷64位BIOS及iStoreOS教程&quot;&gt;&lt;a href=&quot;#CT321小主机刷64位BIOS及iStoreOS教程&quot; class=&quot;headerlink&quot; title=&quot;CT321小主机刷64位BIOS及iStoreOS教程&quot;&gt;&lt;/a&gt;CT321</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="iStoreOS" scheme="https://blog.mocn.top/tags/iStoreOS/"/>
    
    <category term="主机" scheme="https://blog.mocn.top/tags/%E4%B8%BB%E6%9C%BA/"/>
    
    <category term="OpenWRT" scheme="https://blog.mocn.top/tags/OpenWRT/"/>
    
    <category term="刷机" scheme="https://blog.mocn.top/tags/%E5%88%B7%E6%9C%BA/"/>
    
    <category term="CH341A" scheme="https://blog.mocn.top/tags/CH341A/"/>
    
  </entry>
  
  <entry>
    <title>科技与狠活——快s防伪</title>
    <link href="https://blog.mocn.top/posts/40733/"/>
    <id>https://blog.mocn.top/posts/40733/</id>
    <published>2025-02-13T02:52:04.179Z</published>
    <updated>2025-02-13T02:57:38.753Z</updated>
    
    <content type="html"><![CDATA[<h1 id="科技与狠活——快s防伪"><a href="#科技与狠活——快s防伪" class="headerlink" title="科技与狠活——快s防伪"></a>科技与狠活——快s防伪</h1><p>ks小店，我爸买了俩电钻，然后防伪网址是<a href="http://www.fw315app.net/">http://www.fw315app.net/</a></p><p>查了一下icp，结果没有，用itdog ping了一下，熟悉的Cloudflare，域名23年注册的。</p><p><img src="https://img.mocn.top/img/20250213111329389.png"></p><p><img src="https://img.mocn.top/img/20250213111410118.png"></p><p>不过让他知道了ks的险恶。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;科技与狠活——快s防伪&quot;&gt;&lt;a href=&quot;#科技与狠活——快s防伪&quot; class=&quot;headerlink&quot; title=&quot;科技与狠活——快s防伪&quot;&gt;&lt;/a&gt;科技与狠活——快s防伪&lt;/h1&gt;&lt;p&gt;ks小店，我爸买了俩电钻，然后防伪网址是&lt;a href=&quot;http:</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="防伪" scheme="https://blog.mocn.top/tags/%E9%98%B2%E4%BC%AA/"/>
    
  </entry>
  
  <entry>
    <title>偶遇电信机房故障</title>
    <link href="https://blog.mocn.top/posts/13333/"/>
    <id>https://blog.mocn.top/posts/13333/</id>
    <published>2025-01-21T04:20:41.079Z</published>
    <updated>2025-01-21T04:20:54.408Z</updated>
    
    <content type="html"><![CDATA[<p>11：26 刚开始用我的OPPO R15刷着Bilibili，发现wifi断开重连了，起初以为是设备故障也没管它，继续刷我的视频。</p><p>过了一会查看后台，PPPOE没有断连，以为是DNS的问题，重启了一下DNS发现问题没有被解决，于是我Ping了一下外网，发现Ping不通，然后就重拨了一下，发现Get到了100.开头的内网IP，依旧没法连通外网，而且每过1min就会重新拨号，后来换到光猫拨号问题依旧，到了12：10发现光猫get到了公网IP，于是换回Openwrt拨号，问题解决，断网时间差不多1h。</p><p>PS：什么鬼，怎么这么多IPv6地址（每过1min就会重新拨号）。</p><p><img src="https://img.mocn.top/img/20250121123456815.jpg"><img src="https://img.mocn.top/img/20250121123522044.jpg"><img src="https://img.mocn.top/img/20250530182537243.webp"></p><p>故障原因分析：IP分配问题（公网和内网IP分配），内网IP配置问题。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;11：26 刚开始用我的OPPO R15刷着Bilibili，发现wifi断开重连了，起初以为是设备故障也没管它，继续刷我的视频。&lt;/p&gt;
&lt;p&gt;过了一会查看后台，PPPOE没有断连，以为是DNS的问题，重启了一下DNS发现问题没有被解决，于是我Ping了一下外网，发现Pi</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    <category term="生活" scheme="https://blog.mocn.top/categories/%E7%94%9F%E6%B4%BB/"/>
    
    
    <category term="电信" scheme="https://blog.mocn.top/tags/%E7%94%B5%E4%BF%A1/"/>
    
  </entry>
  
  <entry>
    <title>Ubuntu 24.04.1 LTS 日用问题解决</title>
    <link href="https://blog.mocn.top/posts/49231/"/>
    <id>https://blog.mocn.top/posts/49231/</id>
    <published>2025-01-19T04:11:26.383Z</published>
    <updated>2025-01-19T04:26:36.934Z</updated>
    
    <content type="html"><![CDATA[<h1 id="Github-Desktop没有linux版本，我选择使用Vs-Code"><a href="#Github-Desktop没有linux版本，我选择使用Vs-Code" class="headerlink" title="Github Desktop没有linux版本，我选择使用Vs Code."></a>Github Desktop没有linux版本，我选择使用Vs Code.</h1><p><img src="https://img.mocn.top/img/20250119122435959.png"></p><h1 id="Pyhton-pip3：error-externally-managed-environment"><a href="#Pyhton-pip3：error-externally-managed-environment" class="headerlink" title="Pyhton-pip3：error: externally-managed-environment"></a>Pyhton-pip3：error: externally-managed-environment</h1><p>在 Ubuntu 23.04最新的linux发行版中运行pip install时，通常会收到一个错误提示：<code>error: externally-managed-environment</code></p><p>强制删除此警告，回归到熟悉的操作。</p><p>将 “x” 替换为实际版本</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo mv /usr/lib/python3.x/EXTERNALLY-MANAGED /usr/lib/python3.x/EXTERNALLY-MANAGED.bk</span><br></pre></td></tr></table></figure><h1 id="解决wrong-fs-type-bad-option-bad-superblock-on-dev-sda1问题"><a href="#解决wrong-fs-type-bad-option-bad-superblock-on-dev-sda1问题" class="headerlink" title="解决wrong fs type, bad option, bad superblock on &#x2F;dev&#x2F;sda1问题"></a>解决wrong fs type, bad option, bad superblock on &#x2F;dev&#x2F;sda1问题</h1><p>通过<code>ntfsfix</code>解决：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo ntfsfix -d /dev/sda1</span><br></pre></td></tr></table></figure><p>其中<code>/sda1</code>需要根据自己需要进行调整，具体可以通过</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo fdisk -l</span><br></pre></td></tr></table></figure><p>进行调整。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;Github-Desktop没有linux版本，我选择使用Vs-Code&quot;&gt;&lt;a href=&quot;#Github-Desktop没有linux版本，我选择使用Vs-Code&quot; class=&quot;headerlink&quot; title=&quot;Github Desktop没有linu</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="Linux" scheme="https://blog.mocn.top/tags/Linux/"/>
    
  </entry>
  
  <entry>
    <title>Ubuntu 24.04.1 LTS 日用补全计划</title>
    <link href="https://blog.mocn.top/posts/64270/"/>
    <id>https://blog.mocn.top/posts/64270/</id>
    <published>2025-01-05T09:45:50.368Z</published>
    <updated>2025-01-30T03:37:37.312Z</updated>
    
    <content type="html"><![CDATA[<h1 id="Ubuntu-24-04-1-LTS-日用补全计划"><a href="#Ubuntu-24-04-1-LTS-日用补全计划" class="headerlink" title="Ubuntu 24.04.1 LTS 日用补全计划"></a>Ubuntu 24.04.1 LTS 日用补全计划</h1><p>如你所见，我正在使用Ubuntu 24.04.1 LTS 来编辑这篇文章，从此可起将使用Ubuntu来作为我的主力系统，Windows问题一大堆，经常遇到资源管理器重启，Win11的虚拟化有点问题，不兼容，总是过一会就死机。无解。也许是我使用的fx-8300。</p><p><img src="https://img.mocn.top/img/20250105184428976.png"></p><h2 id="终端"><a href="#终端" class="headerlink" title="终端"></a>终端</h2><p>首先打开的就是终端，这里使用nala代替apt，shell使用zsh+<a href="https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#installation">owerlevel10k</a>。<img src="https://img.mocn.top/img/20250105190848724.png"><img src="https://img.mocn.top/img/20250105191500911.png"></p><p>接下来就是日常使用的软件。</p><h2 id="常用软件"><a href="#常用软件" class="headerlink" title="常用软件"></a>常用软件</h2><p>微信<img src="https://img.mocn.top/img/20250105185603874.png">有深色模式，好评。</p><p>QQ<img src="https://img.mocn.top/img/20250105185808126.png">WPS<img src="https://img.mocn.top/img/20250105185900816.png">Bilibili<img src="https://img.mocn.top/img/20250105190017401.png">Vs Code<img src="https://img.mocn.top/img/20250105190123786.png"></p><p>Edge<img src="https://img.mocn.top/img/20250105190228749.png">如果无法登陆微软账号，可以使用USB网卡挂上4G网络来登陆，很有效果。<img src="https://img.mocn.top/img/20250105190514643.png"></p><p>文件夹已创建，Linux常用软件下载地址<a href="https://alist.mocn.top/Linux/%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6">https://alist.mocn.top/Linux/%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6</a></p><p>腾讯会议</p><p><a href="https://meeting.tencent.com/download/">https://meeting.tencent.com/download/</a></p><p>网易云Music（YesPlayMusic）</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo snap install yesplaymusic</span><br></pre></td></tr></table></figure><h2 id="GRUB"><a href="#GRUB" class="headerlink" title="GRUB"></a>GRUB</h2><p><a href="https://github.com/vinceliuice/grub2-themes">grub2-themes</a></p><h2 id="Win-v"><a href="#Win-v" class="headerlink" title="Win+v"></a>Win+v</h2><p>明显，我需要一个剪切板。</p><p><a href="https://extensions.gnome.org/extension/779/clipboard-indicator/">https://extensions.gnome.org/extension/779/clipboard-indicator/</a></p><h2 id="Thunderbird"><a href="#Thunderbird" class="headerlink" title="Thunderbird"></a>Thunderbird</h2><p>主题：<a href="https://github.com/rafaelmardojai/thunderbird-gnome-theme">https://github.com/rafaelmardojai/thunderbird-gnome-theme</a></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;Ubuntu-24-04-1-LTS-日用补全计划&quot;&gt;&lt;a href=&quot;#Ubuntu-24-04-1-LTS-日用补全计划&quot; class=&quot;headerlink&quot; title=&quot;Ubuntu 24.04.1 LTS 日用补全计划&quot;&gt;&lt;/a&gt;Ubuntu 24.0</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="Ubuntu" scheme="https://blog.mocn.top/tags/Ubuntu/"/>
    
    <category term="补全" scheme="https://blog.mocn.top/tags/%E8%A1%A5%E5%85%A8/"/>
    
  </entry>
  
  <entry>
    <title>OPPO R15玩机教程</title>
    <link href="https://blog.mocn.top/posts/20441/"/>
    <id>https://blog.mocn.top/posts/20441/</id>
    <published>2024-11-02T02:27:59.865Z</published>
    <updated>2026-02-26T05:43:13.884Z</updated>
    
    <content type="html"><![CDATA[<h1 id="OPPO-R15玩机教程"><a href="#OPPO-R15玩机教程" class="headerlink" title="OPPO R15玩机教程"></a>OPPO R15玩机教程</h1><p>ColorOS Recovery</p><p><img src="https://img.mocn.top/img/202411021027514.png"></p><h2 id="解锁Bootloader"><a href="#解锁Bootloader" class="headerlink" title="解锁Bootloader"></a>解锁Bootloader</h2><p>可以拆机短接进入Bootrom模式解锁，可以使用Unlocktool解锁。</p><h2 id="开启fastboot"><a href="#开启fastboot" class="headerlink" title="开启fastboot"></a>开启fastboot</h2><p>可以修补lk，也可以选择修补preloader。</p><h2 id="FolkPatch"><a href="#FolkPatch" class="headerlink" title="FolkPatch"></a>FolkPatch</h2><h2 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h2><h3 id="关于刷GSI以及锁屏密码无法设置的问题"><a href="#关于刷GSI以及锁屏密码无法设置的问题" class="headerlink" title="关于刷GSI以及锁屏密码无法设置的问题"></a>关于刷GSI以及锁屏密码无法设置的问题</h3><p>GSI最高可以刷到Android13，锁屏密码无法设置似乎与oppo加密组件有关，在Coloros系统下，如果data处于解密状态则无法设置4位数字密码，混合密码，等等，只能设置6位数字密码。</p><h3 id="在系统环境下写入分区"><a href="#在系统环境下写入分区" class="headerlink" title="在系统环境下写入分区"></a>在系统环境下写入分区</h3><p>改了分区表可以在系统环境下写入分区，比如通过扩容userdata分区来修改分区表。</p><h3 id="关于AVB"><a href="#关于AVB" class="headerlink" title="关于AVB"></a>关于AVB</h3><p>boot同时读取内核本身和vendor分区表，默认加密userdata，对vendor system启用VAB校验。</p><h3 id="SElinux-规则异常"><a href="#SElinux-规则异常" class="headerlink" title="SElinux 规则异常"></a>SElinux 规则异常</h3><p>解锁bootloader之后会出现，原因未知。</p><h3 id="密钥认证创建时间异常"><a href="#密钥认证创建时间异常" class="headerlink" title="密钥认证创建时间异常"></a>密钥认证创建时间异常</h3><p>58125年2月28日06：00：39</p><p>原因未知</p><h2 id="下载地址"><a href="#下载地址" class="headerlink" title="下载地址"></a>下载地址</h2><p><a href="http://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/%E6%89%8B%E6%9C%BA/OPPO/R15">http://alist.mocn.top/%E5%88%B7%E6%9C%BA%EF%BC%88%E5%A4%A9%E7%BF%BC%E4%BA%91%EF%BC%89/%E6%89%8B%E6%9C%BA/OPPO/R15</a></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;OPPO-R15玩机教程&quot;&gt;&lt;a href=&quot;#OPPO-R15玩机教程&quot; class=&quot;headerlink&quot; title=&quot;OPPO R15玩机教程&quot;&gt;&lt;/a&gt;OPPO R15玩机教程&lt;/h1&gt;&lt;p&gt;ColorOS Recovery&lt;/p&gt;
&lt;p&gt;&lt;img s</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="OPPO" scheme="https://blog.mocn.top/tags/OPPO/"/>
    
  </entry>
  
  <entry>
    <title>Get到了一台新设备</title>
    <link href="https://blog.mocn.top/posts/44985/"/>
    <id>https://blog.mocn.top/posts/44985/</id>
    <published>2024-10-03T12:54:04.106Z</published>
    <updated>2025-04-13T02:24:41.418Z</updated>
    
    <content type="html"><![CDATA[<p>非常感谢AAeedd的设备，实现了一年之内换机，由Vivo Y97更换到OPPO R15</p><p>OPPO R15</p><p>Y97虽然也是用6771但是emmc和ram跟不上，所以导致系统没有R15流畅。</p><p>R15也算是当年的旗舰机</p><p>玻璃后盖，金属机身，6+128</p><p><img src="https://img.mocn.top/img/202410051347686.png"></p><h1 id="OFRP展示"><a href="#OFRP展示" class="headerlink" title="OFRP展示"></a>OFRP展示</h1><p><img src="https://img.mocn.top/img/20250530183043693.webp"></p><h1 id="系统展示"><a href="#系统展示" class="headerlink" title="系统展示"></a>系统展示</h1><p><img src="https://img.mocn.top/img/202410051350923.jpg"><img src="https://img.mocn.top/img/202410051350282.jpg"><br><img src="https://img.mocn.top/img/202410051350363.jpg"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;非常感谢AAeedd的设备，实现了一年之内换机，由Vivo Y97更换到OPPO R15&lt;/p&gt;
&lt;p&gt;OPPO R15&lt;/p&gt;
&lt;p&gt;Y97虽然也是用6771但是emmc和ram跟不上，所以导致系统没有R15流畅。&lt;/p&gt;
&lt;p&gt;R15也算是当年的旗舰机&lt;/p&gt;
&lt;p&gt;玻</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    <category term="生活" scheme="https://blog.mocn.top/categories/%E7%94%9F%E6%B4%BB/"/>
    
    
    <category term="OPPO" scheme="https://blog.mocn.top/tags/OPPO/"/>
    
  </entry>
  
  <entry>
    <title>如何搭建自己的Hexo博客【第一期】</title>
    <link href="https://blog.mocn.top/posts/20013/"/>
    <id>https://blog.mocn.top/posts/20013/</id>
    <published>2024-10-01T14:41:12.355Z</published>
    <updated>2024-10-01T16:38:50.356Z</updated>
    
    <content type="html"><![CDATA[<h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>2020年我搭建了自己的第一个博客，域名是mo66.rf.gd，使用的是wordpress来搭建，第一开始是使用免费的云主机，不过比较容易跑路，具有不稳定性，所以后来使用ifastnet.com来托管，这下不用怕跑路，但是又出现了一个新的问题，服务器在英国，这延迟，打开都需要3min，后来又搞了个freenom的免费域名moblog.ml，使用cloudflare cname接入，优选是taoduodian.cfcdn.cc，现在ping了一下，发现还可以用，延迟也还可以。</p><p>更新了几个月也不更新了，2022年年底发现了别人的Hexo博客，非常美观，于是我也决定要搞一个博客，接下来是正文</p><h1 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h1><p>准备材料</p><ol><li>域名</li><li>DNS解析服务（一般买域名会自动分配）</li><li>服务器</li><li>CDN服务商（可选）</li><li>ICP备案（可选）</li></ol><h2 id="域名"><a href="#域名" class="headerlink" title="域名"></a>域名</h2><p>域名你可以买国内的，也可以买海外的。</p><p>国内推荐<a href="https://cloud.tencent.com/">腾讯云</a>，<a href="https://cn.aliyun.com/">阿里云</a>，海外推荐<a href="https://www.namesilo.com/">NameSilo</a>（支持支付宝，银联，PayPal）</p><p>腾讯云实名需要年满18周岁，阿里云没有必须满18周岁的限制。</p><p>关于备案，必须是国内的域名提供商才可以进行ICP备案，海外的不行。</p><p>关于域名注册，国内域名注册商不能注册含有china，中国字符串的域名，海外可以。</p><h3 id="域名选择"><a href="#域名选择" class="headerlink" title="域名选择"></a>域名选择</h3><p>你想要便宜一点的？</p><p>可以选择纯数字xyz后缀的，一年8块，续费也是（具体看注册商），还可以选择top后缀的域名，一年20多块，也挺不错的。</p><hr><p>请根据以下步骤检查您的域名是否支持ICP备案。</p><p><strong>检查域名后缀是否已获批复</strong></p><ol><li><strong>打开浏览器进入</strong><a href="https://domain.miit.gov.cn/">工信部网站</a>。</li><li><strong>单击<strong><strong>中国互联网域名体系</strong></strong>。</strong></li><li><strong>在中国互联网域名体系</strong>列表中，查看当前工信部已经批复的域名后缀。不在此列表内的域名后缀无法进行ICP备案。</li></ol><h2 id="DNS解析服务"><a href="#DNS解析服务" class="headerlink" title="DNS解析服务"></a>DNS解析服务</h2><p>国内有<a href="https://dns.console.aliyun.com/">阿里DNS</a>，<a href="https://www.dnspod.cn/">DNSPod</a>，<a href="https://dns-console.jdcloud.com/list">京东DNS</a>等等，海外有<a href="https://www.cloudflare-cn.com/">Cloudflare</a>，具体查看<a href="https://blog.mocn.top/posts/ed4a54df/">支持分线路|电信|联通|移动|国外等|解析的免费DNS服务 | Momo5418’s Blog (mocn.top)</a></p><p>我目前在使用阿里的DNS解析服务，没有解析个数限制，负载均衡也没有限制，支持 联通&#x2F;电信&#x2F;移动&#x2F;教育网&#x2F;境外 分流，<strong>个人推荐阿里云DNS</strong></p><p>DNSPod：负载均衡2条，URL 转发2条，海外在美国解析比较不行，在ping.sx测试的时候美国全都是超时的，不知道为啥，后来换了京东DNS和阿里DNS没有出现过这种情况。</p><p>Ali DNS ：运营商线路：支持按联通、电信、移动、教育网、鹏博士、广电网智能解析，但不细分到省份；（2）海外地区线路：支持，但不细分到大洲、国家；</p><p>Cloudflare就不介绍了，对全球友好，延迟极低，支持DNSSEC，而且是免费的，免费的DDOS防御。好了说完了。</p><p>PS：Cloudflare的介绍中国大陆除外，不过支持DNSSEC和免费的DDOS防御是真的。Cloudflare可以提供博客的海外线路。</p><h1 id="服务器"><a href="#服务器" class="headerlink" title="服务器"></a>服务器</h1><p><a href="https://vercel.com/">Vercel</a>,不支持自定义SSL证书，线路为Anycast，大陆时好时坏，没有IPv6线路</p><p><a href="https://app.netlify.com/">Netlify</a>，支持自定义SSL证书，线路为新加坡&#x2F;amazon.com，有IPv6线路</p><h1 id="CDN服务商"><a href="#CDN服务商" class="headerlink" title="CDN服务商"></a>CDN服务商</h1><h2 id="什么是-CDN？"><a href="#什么是-CDN？" class="headerlink" title="什么是 CDN？"></a>什么是 CDN？</h2><p>CDN 的全称是 Content Delivery Network，即内容分发网络。 CDN 是构建在现有网络基础之上的智能虚拟网络，依靠部署在各地的边缘服务器，通过中心平台的负载均衡、内容分发、调度等功能模块，使用户就近获取所需内容，降低网络拥塞，提高用户访问响应速度和命中率。</p><p>简单来说就是用来给网站加速用的，不至于使你的原站变得堵塞。</p><hr><p>如果你的域名已经备案，可以选择国内CDN提供服务，比如七牛云，阿里云，腾讯云，又拍云，多吉云</p><p>如果你想要免费的话可以选择<a href="https://console.upyun.com/register/?invite=IJoZ18wlG">又拍云</a>，<a href="https://www.dogecloud.com/?iuid=5185">多吉云</a></p><ul><li>七牛云，每月赠送 10 GB HTTP 流量（HTTPS 收费），使用需要预充值 10 元。</li><li>阿里云，通过购买流量包（有时限）进行计费，无免费额度，节点数量和速度应当是几个云服务商中的前列，但考虑到个人站长往往流量不大、且需要持续使用，很不划算。</li><li>腾讯云每月赠送 10 GB CDN 流量</li></ul><h3 id="关于又拍云CDN"><a href="#关于又拍云CDN" class="headerlink" title="关于又拍云CDN"></a>关于又拍云CDN</h3><p><strong>1.带宽和流量</strong>：又拍云每月提供可以为用户免费提供15GB的流量。</p><h4 id="「又拍云联盟」活动"><a href="#「又拍云联盟」活动" class="headerlink" title="「又拍云联盟」活动"></a>「又拍云联盟」活动</h4><p>在页脚挂上又拍云的 LOGO（就像本站页脚一样），便会每月赠送 10 GB 存储空间和 15 GB 流量。</p><h3 id="关于多吉云CDN"><a href="#关于多吉云CDN" class="headerlink" title="关于多吉云CDN"></a>关于多吉云CDN</h3><p>1.<strong><strong>带宽和流量</strong></strong>：多吉云CDN提供每月20GB的存储空间和20GB的流量，HTTPS 资源包每月 200w 次（境内境外通用）。</p><hr><p>既然有两个免费的CDN可以白嫖，那要选择那个呢？</p><p>我的回答是：全都要。（<del>真不要lian</del>）</p><h1 id="ICP备案"><a href="#ICP备案" class="headerlink" title="ICP备案"></a>ICP备案</h1><p>ICP备案是指在中国大陆地区提供互联网信息服务的网站必须向中国工业和信息化部（MIIT）申请的备案。ICP是“Internet Content Provider”的缩写，即互联网内容提供商。备案的目的是为了规范互联网信息服务管理，保障网络安全，维护国家安全和公共利益，以及保护公民、法人和其他组织的合法权益。</p><p>ICP备案流程通常包括以下几个步骤：</p><p>1.准备资料：网站负责人需要准备包括但不限于网站负责人的身份证件、网站域名证书、网站内容说明等资料。</p><p>2.在线提交：通过工业和信息化部的备案系统（备案管理系统）提交备案申请。</p><p>3.审核：提交的资料将由相关部门进行审核，审核内容包括资料的完整性、真实性以及网站内容是否符合国家法律法规。</p><p>4.备案成功：审核通过后，网站将获得一个备案号，通常会显示在网站的底部。</p><p>5.公示：备案信息将在工业和信息化部的官方网站上公示，供公众查询。</p><p>6.备案信息更新：如果网站信息发生变化，如负责人变更、域名变更等，需要及时更新备案信息。</p><p>需要注意的是，ICP备案是针对在中国大陆提供服务的网站，如果网站服务器不在中国大陆，可能需要遵循当地的法律法规进行备案。此外，ICP备案不等同于ICP经营许可证，后者是针对提供有偿信息服务的网站，需要满足更严格的条件和要求。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;&gt;&lt;/a&gt;前言&lt;/h1&gt;&lt;p&gt;2020年我搭建了自己的第一个博客，域名是mo66.rf.gd，使用的是wordpress来搭建，第一开始是使用免费的云主机，不过比较容易跑</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    <category term="建站" scheme="https://blog.mocn.top/categories/%E5%BB%BA%E7%AB%99/"/>
    
    
    <category term="Cloudflare" scheme="https://blog.mocn.top/tags/Cloudflare/"/>
    
    <category term="DNS" scheme="https://blog.mocn.top/tags/DNS/"/>
    
    <category term="域名" scheme="https://blog.mocn.top/tags/%E5%9F%9F%E5%90%8D/"/>
    
    <category term="CDN" scheme="https://blog.mocn.top/tags/CDN/"/>
    
  </entry>
  
  <entry>
    <title>旁路由openwrt开启代理IPv6</title>
    <link href="https://blog.mocn.top/posts/41926/"/>
    <id>https://blog.mocn.top/posts/41926/</id>
    <published>2024-09-09T01:11:55.562Z</published>
    <updated>2024-09-09T02:13:55.562Z</updated>
    
    <content type="html"><![CDATA[<h1 id="网络结构"><a href="#网络结构" class="headerlink" title="网络结构"></a>网络结构</h1><p>先来说一下网络结构，光猫桥接，主路由拨号，所有设备流量经过旁路游到达主路由最后到互联网。</p><h2 id="DHCP"><a href="#DHCP" class="headerlink" title="DHCP"></a>DHCP</h2><p>IPv4：由主路由分发地址，网关（通过DHCP选项来将网关改为旁路由IP），DNS服务器</p><p>IPv6：由主路由分发地址，网关，DNS服务器</p><p>在之前的话呢，如果你想要访问Google，只能走IPv4，IPv6是直连的。</p><p>这样就会导致一系列的问题，比如ChatGPT的IPv6的IP没有被墙，那么就会走ipv6，导致连接重置。</p><p>谷歌的IPv6被墙，连接不通，那么就会走IPv4线路。</p><p>所以访问谷歌没啥问题，但是访问ChatGPT就会出现问题。</p><p><img src="https://img.mocn.top/img/202407161729014.png"></p><h1 id="解决方法"><a href="#解决方法" class="headerlink" title="解决方法"></a>解决方法</h1><p>让流量也IPv6流量经过旁路由</p><p>主路由这边Lan口这样配置</p><p><img src="https://img.mocn.top/img/202407161731343.png"></p><p><img src="https://img.mocn.top/img/202407161732502.png"></p><p>将DHCPv6关闭后，主路由将不再分发DNS服务器</p><p>旁路由设置</p><p><img src="https://img.mocn.top/img/202407161738728.png"></p><p><img src="https://img.mocn.top/img/202407161738746.png"></p><p>最后你就会发现</p><p><img src="https://img.mocn.top/img/202407161739341.png"></p><p>有两个ipv6默认网关，不用管他，默认是走旁路由</p><p>在clash里就可以看到</p><p><img src="https://img.mocn.top/img/202407161740356.png"><img src="https://img.mocn.top/img/202407161753433.png"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;网络结构&quot;&gt;&lt;a href=&quot;#网络结构&quot; class=&quot;headerlink&quot; title=&quot;网络结构&quot;&gt;&lt;/a&gt;网络结构&lt;/h1&gt;&lt;p&gt;先来说一下网络结构，光猫桥接，主路由拨号，所有设备流量经过旁路游到达主路由最后到互联网。&lt;/p&gt;
&lt;h2 id=&quot;DHCP&quot;</summary>
      
    
    
    
    
  </entry>
  
  <entry>
    <title>升入高中的感受</title>
    <link href="https://blog.mocn.top/posts/36843/"/>
    <id>https://blog.mocn.top/posts/36843/</id>
    <published>2024-08-29T02:53:27.046Z</published>
    <updated>2024-08-29T03:00:48.094Z</updated>
    
    <content type="html"><![CDATA[<p>转眼间义务教育阶段就过去了，迎来的是高中生活，来说说我这里的高中和初中不一样的地方。</p><p>教师都是年轻教师，有没结婚的。增加了干事，管一些杂事的，都是大学毕业的，应该有4个人。</p><p>食堂的饭菜种类要多，价格也贵（相比较初中），原因就是食堂外包的，我们初中没有外包，菜的种类就那几个，价格也便宜。</p><p>高中两周回家一次，应该是俩天，初中每周都回一天。</p><p>教室电脑是希沃的，初中是鸿合的。有四个风扇，初中一个也没有。</p><p>军训一周把我晒黑了。今天又要走了。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;转眼间义务教育阶段就过去了，迎来的是高中生活，来说说我这里的高中和初中不一样的地方。&lt;/p&gt;
&lt;p&gt;教师都是年轻教师，有没结婚的。增加了干事，管一些杂事的，都是大学毕业的，应该有4个人。&lt;/p&gt;
&lt;p&gt;食堂的饭菜种类要多，价格也贵（相比较初中），原因就是食堂外包的，我们初中</summary>
      
    
    
    
    <category term="生活" scheme="https://blog.mocn.top/categories/%E7%94%9F%E6%B4%BB/"/>
    
    <category term="感受" scheme="https://blog.mocn.top/categories/%E6%84%9F%E5%8F%97/"/>
    
    
    <category term="学校" scheme="https://blog.mocn.top/tags/%E5%AD%A6%E6%A0%A1/"/>
    
    <category term="高中" scheme="https://blog.mocn.top/tags/%E9%AB%98%E4%B8%AD/"/>
    
  </entry>
  
  <entry>
    <title>未成年办理工商银行卡经历</title>
    <link href="https://blog.mocn.top/posts/4004/"/>
    <id>https://blog.mocn.top/posts/4004/</id>
    <published>2024-08-08T08:18:44.473Z</published>
    <updated>2024-08-08T08:23:18.324Z</updated>
    
    <content type="html"><![CDATA[<p>为什么要办卡呢？</p><p>因为学校要用，所以就办了。</p><p>预留手机号当时就该填我的，每次验证码都发ta手机上了。</p><p>网银默认开通了，可绑定手机APP，海外Paypal也可以。</p><p><img src="https://img.mocn.top/img/202408082054073.png"></p><p>实体卡，没有信息的社保卡，全国稀有。<img src="https://img.mocn.top/img/202408082055624.png"></p><p>Paypal绑定</p><p><img src="https://img.mocn.top/img/202408082055409.png"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;为什么要办卡呢？&lt;/p&gt;
&lt;p&gt;因为学校要用，所以就办了。&lt;/p&gt;
&lt;p&gt;预留手机号当时就该填我的，每次验证码都发ta手机上了。&lt;/p&gt;
&lt;p&gt;网银默认开通了，可绑定手机APP，海外Paypal也可以。&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://img.mocn.t</summary>
      
    
    
    
    <category term="分享" scheme="https://blog.mocn.top/categories/%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="工商银行" scheme="https://blog.mocn.top/tags/%E5%B7%A5%E5%95%86%E9%93%B6%E8%A1%8C/"/>
    
    <category term="未成年" scheme="https://blog.mocn.top/tags/%E6%9C%AA%E6%88%90%E5%B9%B4/"/>
    
  </entry>
  
  <entry>
    <title>ROM编译bug修复</title>
    <link href="https://blog.mocn.top/posts/44490/"/>
    <id>https://blog.mocn.top/posts/44490/</id>
    <published>2024-08-07T02:11:50.802Z</published>
    <updated>2024-08-18T00:53:36.179Z</updated>
    
    <content type="html"><![CDATA[<h1 id="屏幕分辨率不正确"><a href="#屏幕分辨率不正确" class="headerlink" title="屏幕分辨率不正确"></a>屏幕分辨率不正确</h1><p><img src="https://img.mocn.top/img/202408071013236.png"></p><p>解决方法：<img src="https://img.mocn.top/img/202408071015635.png"></p><h2 id="Display"><a href="#Display" class="headerlink" title="Display"></a>Display</h2><ul><li>TARGET_SCREEN_HEIGHT :&#x3D; 1080</li><li>TARGET_SCREEN_WIDTH :&#x3D; 2280</li></ul><h1 id="重复定义报错"><a href="#重复定义报错" class="headerlink" title="重复定义报错"></a>重复定义报错</h1><p><img src="https://img.mocn.top/img/202408071015337.png"></p><p><img src="https://img.mocn.top/img/202408071018936.png"></p><p>解决：</p><p>BoardConfig.mk中添加：<code>BUILD_BROKEN_DUP_RULES := true</code></p><p>在 Android 或其他构建系统中，<code>BUILD_BROKEN_DUP_RULES := true</code> 这行代码通常用于临时禁用重复规则的检查。在构建系统中，重复规则通常指的是同一个目标被多个构建规则定义的情况，这在正常情况下是不被允许的，因为它会导致构建过程中的冲突和不确定性。</p><p>然而，在某些特定情况下，你可能需要临时绕过这些检查，比如：</p><ul><li>当你正在处理一个复杂的项目，其中某些重复是预期的，且不会影响构建的最终结果。</li><li>在迁移或重构过程中，可能需要临时允许重复规则，以便逐步解决所有冲突。</li><li>当你确定重复不会引起问题，或者你有特定的逻辑来处理这些情况。</li></ul><p>使用 <code>BUILD_BROKEN_DUP_RULES := true</code> 时，需要格外小心，因为它可能会隐藏一些潜在的构建问题。一旦不再需要绕过这些检查，应该尽快将其设置回 <code>false</code>，以确保构建系统的完整性和稳定性。</p><p>在实际操作中，确保你了解为什么需要这样做，并且在可能的情况下，尽快解决导致需要禁用重复规则的根本原因。这有助于维护构建系统的健康和项目的长期可持续性。</p><h2 id="frameworks-av-services-audiopolicy-managerdefault-AudioPolicyManager-cpp-4305-2-error-Audio-policy-no-longer-supports-legacy-conf-configuration-format"><a href="#frameworks-av-services-audiopolicy-managerdefault-AudioPolicyManager-cpp-4305-2-error-Audio-policy-no-longer-supports-legacy-conf-configuration-format" class="headerlink" title="frameworks&#x2F;av&#x2F;services&#x2F;audiopolicy&#x2F;managerdefault&#x2F;AudioPolicyManager.cpp:4305:2: error: Audio policy no longer supports legacy .conf configuration format"></a>frameworks&#x2F;av&#x2F;services&#x2F;audiopolicy&#x2F;managerdefault&#x2F;AudioPolicyManager.cpp:4305:2: error: Audio policy no longer supports legacy .conf configuration format</h2><p>BoardConfig.mk中添加：<code>USE_XML_AUDIO_POLICY_CONF := 1</code></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;屏幕分辨率不正确&quot;&gt;&lt;a href=&quot;#屏幕分辨率不正确&quot; class=&quot;headerlink&quot; title=&quot;屏幕分辨率不正确&quot;&gt;&lt;/a&gt;屏幕分辨率不正确&lt;/h1&gt;&lt;p&gt;&lt;img src=&quot;https://img.mocn.top/img/20240807101</summary>
      
    
    
    
    <category term="教程" scheme="https://blog.mocn.top/categories/%E6%95%99%E7%A8%8B/"/>
    
    
  </entry>
  
</feed>
