-
Notifications
You must be signed in to change notification settings - Fork 0
/
45316.html
19 lines (19 loc) · 18.6 KB
/
45316.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.0.0"><link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"><link rel="mask-icon" href="/images/logo.svg" color="#222"><link rel="stylesheet" href="/css/main.css"><link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"><link rel="stylesheet" href="/lib/pace/pace-theme-material.min.css"><script src="/lib/pace/pace.min.js"></script><script id="hexo-configurations">var NexT=window.NexT||{},CONFIG={hostname:"lingchenblog.tk",root:"/",scheme:"Pisces",version:"7.8.0",exturl:!1,sidebar:{position:"left",display:"post",padding:18,offset:12,onmobile:!1},copycode:{enable:!0,show_result:!0,style:"default"},back2top:{enable:!0,sidebar:!1,scrollpercent:!0},bookmark:{enable:!0,color:"#222",save:"auto"},fancybox:!1,mediumzoom:!1,lazyload:!1,pangu:!1,comments:{style:"tabs",active:null,storage:!0,lazyload:!1,nav:null},algolia:{hits:{per_page:10},labels:{input_placeholder:"Search for Posts",hits_empty:"We didn't find any results for the search: ${query}",hits_stats:"${hits} results found in ${time} ms"}},localsearch:{enable:!1,trigger:"auto",top_n_per_article:1,unescape:!1,preload:!1},motion:{enable:!0,async:!1,transition:{post_block:"fadeIn",post_header:"slideDownIn",post_body:"slideDownIn",coll_header:"slideLeftIn",sidebar:"slideUpIn"}}}</script><meta name="description" content="本篇教程依赖于OpenKirin项目。官网网址https://openkirin.net/"><meta property="og:type" content="article"><meta property="og:title" content="将mate8刷上类原生安卓-OmniRom(更新中)"><meta property="og:url" content="http://lingchenblog.tk/45316.html"><meta property="og:site_name" content="凌晨blog"><meta property="og:description" content="本篇教程依赖于OpenKirin项目。官网网址https://openkirin.net/"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/1.HEIC"><meta property="og:image" content="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/2.jpg"><meta property="og:image" content="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/1.HEIC"><meta property="article:published_time" content="2020-05-06T03:34:52.000Z"><meta property="article:modified_time" content="2022-01-30T10:06:47.599Z"><meta property="article:author" content="凌晨"><meta property="article:tag" content="自言自语"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/1.HEIC"><link rel="canonical" href="http://lingchenblog.tk/45316.html"><script id="page-configurations">CONFIG.page={sidebar:"",isHome:!1,isPost:!0,lang:"zh-CN"}</script><title>将mate8刷上类原生安卓-OmniRom(更新中) | 凌晨blog</title><noscript><style>.sidebar-inner,.use-motion .brand,.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header{opacity:initial}.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line-before i{left:initial}.use-motion .logo-line-after i{right:initial}</style></noscript></head><script src="/live2d-widget/autoload.js"></script><body itemscope itemtype="http://schema.org/WebPage"><div class="container use-motion"><div class="headband"></div><header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="header-inner"><div class="site-brand-container"><div class="site-nav-toggle"><div class="toggle" aria-label="切换导航栏"><span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span></div></div><div class="site-meta"><a href="/" class="brand" rel="start"><span class="logo-line-before"><i></i></span><h1 class="site-title">凌晨blog</h1><span class="logo-line-after"><i></i></span></a></div><div class="site-nav-right"><div class="toggle popup-trigger"></div></div></div><nav class="site-nav"><ul id="menu" class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-commonweal"><a href="/404/" rel="section"><i class="fa fa-heartbeat fa-fw"></i>公益 404</a></li></ul></nav></div></header><div class="back-to-top"><i class="fa fa-arrow-up"></i> <span>0%</span></div><div class="reading-progress-bar"></div><a role="button" class="book-mark-link book-mark-link-fixed"></a> <a href="https://github.com/xulingran" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><main class="main"><div class="main-inner"><div class="content-wrap"><div class="content post posts-expand"><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN"><link itemprop="mainEntityOfPage" href="http://lingchenblog.tk/45316.html"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/ywy_bg.jpg"><meta itemprop="name" content="凌晨"><meta itemprop="description" content="永远相信美好的事情即将发生"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="凌晨blog"></span><header class="post-header"><h1 class="post-title" itemprop="name headline">将mate8刷上类原生安卓-OmniRom(更新中)</h1><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2020-05-06 11:34:52" itemprop="dateCreated datePublished" datetime="2020-05-06T11:34:52+08:00">2020-05-06</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间:2022-01-30 18:06:47" itemprop="dateModified" datetime="2022-01-30T18:06:47+08:00">2022-01-30</time> </span><span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display:none"><span class="post-meta-item-icon"><i class="fa fa-eye"></i> </span><span class="post-meta-item-text">阅读次数:</span> <span id="busuanzi_value_page_pv"></span></span></div></header><div class="post-body" itemprop="articleBody"><blockquote><p>本篇教程依赖于<code>OpenKirin</code>项目。官网网址<a target="_blank" rel="noopener" href="https://openkirin.net/">https://openkirin.net/</a></p></blockquote><span id="more"></span><h1 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h1><h2 id="①"><a href="#①" class="headerlink" title="①"></a>①</h2><p>若在初次关机后无法开机,显示数据损坏的话,进入奇兔TWRP,在<code>高级</code>菜单中选择<code>移除data分区强制加密</code>即可解决问题。<em><strong>此操作会清除所有数据,因此最好在初次启动系统前完成。</strong></em></p><h2 id="②"><a href="#②" class="headerlink" title="②"></a>②</h2><p>如果在解锁后有升级或者重装EMUI的操作,请将手机上锁后重新解锁。具体步骤请看<a target="_blank" rel="noopener" href="https://club.huawei.com/thread-4948399-1-1.html"><strong>华为手机bootloader上锁回锁教程及ADB工具下载——精华帖</strong></a></p><h2 id="③"><a href="#③" class="headerlink" title="③"></a>③</h2><p>确保您的手机系统版本为<code>EMUI 8</code>,否则这篇教程可能不适合您的手机。</p><h2 id="④"><a href="#④" class="headerlink" title="④"></a>④</h2><p>刷机有风险!请在刷机前做好资料备份的实际准备以及<strong>手机可能变砖</strong>的心理准备。本教程不承担任何因按照本教程刷机却最终变砖、资料丢失的后果!<em><strong>请做好资料备份!!!</strong></em></p><h1 id="解锁bootloader"><a href="#解锁bootloader" class="headerlink" title="解锁bootloader"></a>解锁bootloader</h1><p>这一步没什么好说的,淘宝上有很多解锁的商家。随便选一家就好了,在10~30元左右。请记住他发过来的解锁码。后续步骤可能要用到。</p><h1 id="刷入OmniRom"><a href="#刷入OmniRom" class="headerlink" title="刷入OmniRom"></a>刷入OmniRom</h1><p>确认你的手机已解锁,具体表现为在开机时会显示下图的内容</p><p><img src="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/1.HEIC"></p><p>在<code>OpenKirin</code>官网下载刷机包。<a target="_blank" rel="noopener" href="https://openkirin.net/">传送门</a>。<strong>请下载在<code>EMUI 8-based Builds</code>标题以下的包。</strong>因为某些原因,若您无法访问网站或下载速度不稳定,请采取某种特殊的上网姿势。笔者下载的包名称为<code>openkirin_omnirom_pie_20191125_alpha_6.2.img</code>。若有需要的话,笔者会在以后将其上传至baidu网盘。</p><p><img src="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/2.jpg"></p><h1 id="刷入奇兔TWRP"><a href="#刷入奇兔TWRP" class="headerlink" title="刷入奇兔TWRP"></a>刷入奇兔TWRP</h1><p>在电脑上安装<code>奇兔刷机</code>软件。<a target="_blank" rel="noopener" href="http://www.7to.cn/">官网传送</a>。然后先将手机关机。在长按<strong>音量减键</strong>的情况下插入连接至电脑的数据线,当手机屏幕上出现安卓小机器人以及<code>FASTBOOT</code>字样时,打开<code>奇兔刷机</code>软件,找到<code>recorvery</code>刷入选项。点击刷入即可。刷入完成后,执行以下命令,在出现以下画面时按住<strong>音量+键</strong>4秒即可进入<code>奇兔TWRP</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">fastboot reboot</span><br></pre></td></tr></table></figure><p><img src="https://xulingran-1301400118.cos.ap-shenzhen-fsi.myqcloud.com/mate8%E6%95%99%E7%A8%8B/1.HEIC"></p></div><div><ul class="post-copyright"><li class="post-copyright-author"><strong>本文作者: </strong>凌晨</li><li class="post-copyright-link"><strong>本文链接:</strong> <a href="http://lingchenblog.tk/45316.html" title="将mate8刷上类原生安卓-OmniRom(更新中)">http://lingchenblog.tk/45316.html</a></li><li class="post-copyright-license"><strong>版权声明: </strong>本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-CN" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处!</li></ul></div><footer class="post-footer"><div class="post-nav"><div class="post-nav-item"><a href="/31505.html" rel="prev" title="Hexo NexT 7.X版本配置指南"><i class="fa fa-chevron-left"></i> Hexo NexT 7.X版本配置指南</a></div><div class="post-nav-item"><a href="/56226.html" rel="next" title="Typora - 最好用的 markdown 编辑器">Typora - 最好用的 markdown 编辑器 <i class="fa fa-chevron-right"></i></a></div></div></footer></article></div><script>window.addEventListener('tabs:register', () => {
let { activeClass } = CONFIG.comments;
if (CONFIG.comments.storage) {
activeClass = localStorage.getItem('comments_active') || activeClass;
}
if (activeClass) {
let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
if (activeTab) {
activeTab.click();
}
}
});
if (CONFIG.comments.storage) {
window.addEventListener('tabs:click', event => {
if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
let commentClass = event.target.classList[1];
localStorage.setItem('comments_active', commentClass);
});
}</script></div><div class="toggle sidebar-toggle"><span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span></div><aside class="sidebar"><div class="sidebar-inner"><ul class="sidebar-nav motion-element"><li class="sidebar-nav-toc">文章目录</li><li class="sidebar-nav-overview">站点概览</li></ul><div class="post-toc-wrap sidebar-panel"><div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9"><span class="nav-number">1.</span> <span class="nav-text">注意事项</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E2%91%A0"><span class="nav-number">1.1.</span> <span class="nav-text">①</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E2%91%A1"><span class="nav-number">1.2.</span> <span class="nav-text">②</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E2%91%A2"><span class="nav-number">1.3.</span> <span class="nav-text">③</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E2%91%A3"><span class="nav-number">1.4.</span> <span class="nav-text">④</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E8%A7%A3%E9%94%81bootloader"><span class="nav-number">2.</span> <span class="nav-text">解锁bootloader</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%88%B7%E5%85%A5OmniRom"><span class="nav-number">3.</span> <span class="nav-text">刷入OmniRom</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%88%B7%E5%85%A5%E5%A5%87%E5%85%94TWRP"><span class="nav-number">4.</span> <span class="nav-text">刷入奇兔TWRP</span></a></li></ol></div></div><div class="site-overview-wrap sidebar-panel"><div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"><img class="site-author-image" itemprop="image" alt="凌晨" src="/images/ywy_bg.jpg"><p class="site-author-name" itemprop="name">凌晨</p><div class="site-description" itemprop="description">永远相信美好的事情即将发生</div></div><div class="site-state-wrap motion-element"><nav class="site-state"><div class="site-state-item site-state-posts"><a href="/archives/"><span class="site-state-item-count">6</span> <span class="site-state-item-name">日志</span></a></div><div class="site-state-item site-state-categories"><a href="/categories/"><span class="site-state-item-count">3</span> <span class="site-state-item-name">分类</span></a></div><div class="site-state-item site-state-tags"><a href="/tags/"><span class="site-state-item-count">3</span> <span class="site-state-item-name">标签</span></a></div></nav></div><div class="sidebar-button motion-element"><i class="fa fa-comment"></i> Chat</div><div class="links-of-author motion-element"><span class="links-of-author-item"><a href="https://github.com/xulingran" title="GitHub → https://github.com/xulingran" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span><span class="links-of-author-item"><a href="/lingchen2020@outlook.com" title="E-Mail → lingchen2020@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a></span></div><div class="cc-license motion-element" itemprop="license"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-CN" class="cc-opacity" rel="noopener" target="_blank"><img src="/images/cc-by-nc-sa.svg" alt="Creative Commons"></a></div></div></div></aside><div id="sidebar-dimmer"></div></div></main><footer class="footer"><div class="footer-inner"><div class="copyright">© 2020 – <span itemprop="copyrightYear">2022</span> <span class="with-love"><i class="fa fa-heart"></i> </span><span class="author" itemprop="copyrightHolder">凌晨</span></div><div class="busuanzi-count"><script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><span class="post-meta-item" id="busuanzi_container_site_uv" style="display:none"><span class="post-meta-item-icon"><i class="fa fa-user"></i> </span><span class="site-uv" title="总访客量"><span id="busuanzi_value_site_uv"></span> </span></span><span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display:none"><span class="post-meta-item-icon"><i class="fa fa-eye"></i> </span><span class="site-pv" title="总访问量"><span id="busuanzi_value_site_pv"></span></span></span></div></div></footer></div><script size="300" alpha="0.6" zindex="-1" src="//cdn.jsdelivr.net/gh/theme-next/theme-next-canvas-ribbon@1/canvas-ribbon.js"></script><script src="/lib/anime.min.js"></script><script src="/lib/velocity/velocity.min.js"></script><script src="/lib/velocity/velocity.ui.min.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/schemes/pisces.js"></script><script src="/js/next-boot.js"></script><script src="/js/bookmark.js"></script></body></html>