android twrp

If you want to root, flash a custom ROM, or otherwise dig into the innards of your Android phone, a custom recovery like TWRP is a great way to do so. Here’s how to flash it on your phone.

如果您想生成root ,刷新自定义ROM或以其他方式深入研究Android手机的内部结构,那么像TWRP这样的自定义恢复就是一个很好的方法。 这是如何在手机上将其刷新。

Your phone’s “recovery environment” is a piece of software that you rarely see. It’s what your phone uses to install Android updates, restore itself to factory settings, and perform other tasks. Google’s default recovery mode is pretty basic, but third-party recoveries–like the Team Win Recovery Project (or TWRP)–allow you to make backups, install ROMs, root your phone, and do a heck of a lot more. So if you’re looking to heavily tweak your phone, you’ll probably need one. You can read more about how custom recoveries work in our article on the subject. Today, we’re going to show you how to install one.

手机的“恢复环境”是很少见的软件。 这就是您的手机用来安装Android更新,将自身还原为出厂设置以及执行其他任务的方式。 Google的默认恢复模式是非常基本的,但是第三方恢复(如Team Win Recovery Project(或TWRP))使您可以进行备份,安装ROM,为手机打根以及进行更多操作。 因此,如果您要大幅调整手机,则可能需要一部手机。 您可以在我们有关此主题的文章中阅读有关自定义恢复如何工作的更多信息。 今天,我们将向您展示如何安装它。

第一:解锁设备并确保它兼容 (First: Unlock Your Device and Make Sure It’s Compatible)

This process will only work if you’ve unlocked your booloader. So if you haven’t done that yet, check out our guide to get started. Then, when you’ve finished, come back here to flash TWRP. (If your phone’s bootloader isn’t unlockable, you’ll have to flash TWRP using some other method.)

仅当您解锁booloader时,此过程才有效。 因此,如果您还没有这样做,请查看我们的指南以开始使用。 然后,完成后,回到此处刷新TWRP。 (如果手机的引导程序无法解锁,则必须使用其他方法来刷新TWRP。)

In addition, make sure there is a version of TWRP available for your phone, and do a little research on the TWRP website and XDA Developers to make sure there aren’t any quirks. For example: some new phones like the Nexus 5X come encrypted by default, but when TWRP first came out for the Nexus 5X, it didn’t support encrypted phones. So Nexus 5X users either had to wipe and decrypt their phone before installing TWRP, or wait a few months for an update to TWRP that supported encrypted devices. Make sure you’re aware of any device-specific quirks like this before you start the process.

另外,请确保您的手机有可用的TWRP版本,并在TWRP网站和XDA Developers上进行了一些研究,以确保没有任何怪异之处。 例如:Nexus 5X等一些新手机默认情况下会进行加密,但是Nexus 5X首次推出TWRP时,它不支持加密手机。 因此,Nexus 5X用户要么必须先擦拭和解密手机,然后才能安装TWRP,要么要等上几个月才能更新支持加密设备的TWRP。 在开始该过程之前,请确保您已了解任何类似设备的怪癖。

You’ll need the Android Debug Bridge (ADB) installed on your computer to perform this process, as well as your phone’s USB drivers. If you unlocked your bootloader the official way, you probably have them already, but if not, check out this guide for instructions on how to get them.

您需要在计算机上安装Android调试桥(ADB)才能执行此过程,以及手机的USB驱动程序。 如果您以官方方式解锁了引导加载程序,则可能已经拥有了它们,但是如果没有,请查看本指南以获取有关如何获取它们的说明。

Lastly, back up anything on your phone that you want to keep. This process shouldn’t wipe your phone, but copying your photos and other important files to your PC is always a good idea before you go messing with the system.

最后,备份手机上要保留的所有内容。 这个过程不应该擦掉手机,但是在弄乱系统之前,将照片和其他重要文件复制到PC总是一个好主意。

第一步:启用USB调试 (Step One: Enable USB Debugging)

Head back to the main Settings page, and you should see a new option near the bottom called “Developer Options”. Open that, and enable “USB Debugging”. Enter your password or PIN when prompted, if applicable.

回到“设置”主页面,您应该在底部附近看到一个名为“开发人员选项”的新选项。 打开它,然后启用“ USB调试”。 出现提示时输入密码或PIN(如果适用)。

Once that’s done, connect your phone to your computer. You should see a popup entitled “Allow USB Debugging?” on your phone. Check the “Always allow from this computer” box and tap OK.

完成后,将手机连接到计算机。 您应该看到一个标题为“允许USB调试吗?”的弹出窗口。 在您的手机上。 选中“始终允许这台计算机允许”框,然后点击确定。

第二步:为您的手机下载TWRP (Step Two: Download TWRP for Your Phone)

Next, head to TeamWin’s website and go to the Devices page. Search for your device, and click on it to see the TWRP downloads available for it.

接下来,前往TeamWin的网站并转到“设备”页面。 搜索您的设备,然后单击以查看可用的TWRP下载。

This page will usually tell you any device-specific information you need to know. If you don’t understand what something means, you can usually read more by searching the XDA Developers forum.

该页面通常会告诉您您需要了解的任何特定于设备的信息。 如果您不懂什么意思,通常可以通过搜索XDA Developers论坛内容。

Head to the “Download Links” section on that page and download the TWRP image. Copy it to the folder in which you have ADB installed and rename it to twrp.img. This will make the install command a bit easier later on.

转到该页面上的“下载链接”部分,然后下载TWRP图像。 将其复制到已安装ADB的文件夹中,并将其重命名为twrp.img 。 这将使安装命令稍后变得更容易。

第三步:重新启动进入引导程序 (Step Three: Reboot Into Your Bootloader)

In order to flash TWRP, you’ll need to boot into your phone’s bootloader. This is a bit different for every phone, so you may have to Google instructions for your specific device. You can do it on many modern devices by turning off your phone, then holding the “Power” and “Volume Down” buttons for 10 seconds before releasing them.

为了刷新TWRP,您需要启动手机的引导程序。 每个电话都有些不同,因此您可能必须针对特定设备使用Google的说明。 您可以通过以下方法在许多现代设备上进行操作:关闭手机,然后在松开它们之前按住“电源”和“降低音量”按钮10秒钟。

You’ll know you’re in your bootloader because you’ll get a screen similar to this:

您会知道自己在引导装载程序中,因为您将看到类似以下的屏幕:

Your phone’s bootloader may look a little different (HTC’s have a white background, for example), but it will usually contain some similar text. You can find more information on how to reach your specific phones bootloader with a quick Google search, so feel free to do that now before continuing.

手机的引导程序看起来可能有些不同(例如,HTC背景为白色),但通常会包含一些类似的文本。 您可以通过快速的Google搜索找到有关如何到达您的特定手机引导程序的更多信息,因此,在继续操作之前,请立即进行操作。

第四步:将TWRP刷新到手机上 (Step Four: Flash TWRP to Your Phone)

Once in bootloader mode, connect your phone to your PC with a USB cable. Your phone should indicate that the device is connected. On your computer, open the folder in which you’ve installed ADB, and Shift+Right Click on an empty area. Choose “Open a Command Prompt Here”. Then, run the following command:

进入引导加载程序模式后,使用USB电缆将手机连接到PC。 您的电话应指示设备已连接。 在计算机上,打开安装ADB的文件夹,然后在按住Shift键的同时单击鼠标右键。 选择“在此处打开命令提示符”。 然后,运行以下命令:

fastboot devices

The command should return a serial number, indicating that it can recognize your phone. If it doesn’t, go back and make sure you’ve done everything properly up until this point.

该命令应返回一个序列号,表明它可以识别您的电话。 如果没有,请返回并确保到目前为止您已正确完成所有操作。

If your device is recognized by fastboot, it’s time to flash TWRP. Run the following command:

如果您的设备被fastboot识别,则该刷新TWRP了。 运行以下命令:

fastboot flash recovery twrp.img

If all goes well, you should see a success message in your Command Prompt window.

如果一切顺利,您应该在“命令提示符”窗口中看到成功消息。

第五步:引导到TWRP恢复 (Step Five: Boot Into TWRP Recovery)

Unplug your phone and use the volume down key to scroll to the “Recovery” option in your bootloader. Press the volume up or power button (depending on your phone) to select it. Your phone should reboot into TWRP.

拔下手机的电源,然后使用降低音量键滚动到引导加载程序中的“恢复”选项。 按提高音量或电源按钮(取决于您的手机)将其选中。 您的电话应重新启动进入TWRP。

If TWRP asks you for a password, enter the password or PIN you use to unlock your phone. It will use this to decrypt your phone so it can access its storage.

如果TWRP要求您输入密码,请输入用于解锁手机的密码或PIN码。 它将使用它来解密您的手机,以便它可以访问其存储。

TWRP may also ask if you’d like to use TWRP in “Read Only” mode. Read Only mode means TWRP will only exist on your phone until you reboot it. This is less convenient, but it also means TWRP won’t permanently alter your system, which is useful for some people. If you aren’t sure, tap “Keep Read Only”. You can always repeat steps three and four of this guide to re-flash TWRP later when you want to use it.

TWRP可能还会询问您是否要在“只读”模式下使用TWRP。 只读模式表示TWRP仅在您的手机上存在,直到您重新启动它为止。 这不太方便,但这也意味着TWRP不会永久更改您的系统,这对某些人很有用。 如果不确定,请点击“保持只读”。 您随时可以重复执行本指南的步骤三和四,以在以后重新刷新TWRP时使用它。

When you’re done, you’ll see the TWRP main screen. You can use this to create “Nandroid” backups, restore previous backups, flash ZIP files like SuperSU (which roots your phone), or flash custom ROMs, among many other tasks.

完成后,您将看到TWRP主屏幕。 您可以使用它来创建“ Nandroid”备份,还原以前的备份,闪存ZIP文件(例如SuperSU(使手机成为根源)或闪存自定义ROM)以及许多其他任务。

Right now, the most important thing you should do is back up your phone before you make any other changes.

目前,最重要的事情是在进行任何其他更改之前先备份手机。

Tap the “Backup” button on the main TWRP screen. Select “Boot”, “System”, and “Data” and swipe the bar at the bottom to back them up. (You may also want to tap the “Name” option along the top to give your backup a more recognizable name.)

点击TWRP主屏幕上的“备份”按钮。 选择“启动”,“系统”和“数据”,然后滑动底部的栏将其备份。 (您可能还想点击顶部的“名称”选项,为您的备份提供一个更易于识别的名称。)

The backup will take a while, so give it time. When it finishes, head back into the Backup menu. Uncheck all the options and scroll to the bottom. If you have a special partition listed after “Recovery”, such as WiMAX, PDS, or EFS, check it, and perform one more backup. This partition usually contains your EFS or IMEI information, which is crucial. If it ever becomes corrupted, you’ll lose data connectivity and can restore this backup to make your phone function again.

备份需要一段时间,因此请花点时间。 完成后,返回“备份”菜单。 取消选中所有选项,然后滚动到底部。 如果在“恢复”之后列出了一个特殊分区,例如WiMAX,PDS或EFS,请对其进行检查,然后再执行一次备份。 此分区通常包含您的EFS或IMEI信息,这一点至关重要。 如果它损坏了,您将失去数据连接,可以恢复此备份以使手机再次运行。

Lastly, if TWRP ever asks if you want to root your phone, choose “Do Not Install”. It’s best to flash the latest version of SuperSU yourself rather than having TWRP do it for you.

最后,如果TWRP询问您是否要植根手机,请选择“不安装”。 最好自己刷新最新版本的SuperSU,而不要让TWRP为您完成。



Once you’ve made your first backups, you’re free to explore TWRP, root your phone, flash a new ROM, or boot back into Android. Just remember: make a backup before you do anything else in TWRP, lest you mess up your phone in the process!

进行第一次备份后,您可以自由探索TWRP,启动手机,刷新新ROM或重新启动进入Android。 请记住:在TWRP中进行任何其他操作之前,请先进行备份,以免在此过程中弄乱您的手机!

翻译自: https://www.howtogeek.com/240047/how-to-flash-twrp-recovery-on-your-android-phone/

android twrp

android twrp_如何将TWRP恢复环境刷新到Android手机相关推荐

  1. android twrp_如何使用TWRP备份和还原Android手机

    android twrp When you're rooting, flashing custom ROMs, and otherwise playing with Android's system, ...

  2. android twrp_如何将TWRP Android备份复制到PC以安全保存

    android twrp TWRP backups can save your bacon if you mess up your Android device. But if you've run ...

  3. android什么控件能够输入多行文字,Android开发:文本控件详解——EditText(一)基本属性...

    一.简单实例: EditText输入的文字样式部分的属性,基本都是和TextView中的属性一样. 除此之外,EditText还有自己独有的属性. 二.基本属性: hint 输入框显示的提示文本 te ...

  4. android 备份整个手机,借助 TWRP,让你的 Android 手机也有「一键 Ghost」式的全面备份...

    原标题:借助 TWRP,让你的 Android 手机也有「一键 Ghost」式的全面备份 Android 玩家对手机备份想必都不陌生,少数派也介绍过一些优秀的备份工具,比如钛备份和 Swift Bac ...

  5. win10计算机恢复到一天前,Win10恢复电脑(刷新电脑)的方法步骤图文详解

    注:本教程同样适用于Win8.1系统 有时候,遇到Win10系统出现了比较严重的问题,那么这时有比重装系统更好的办法就是"恢复电脑(刷新电脑)".因为重装系统就会丢失之前系统的个人 ...

  6. Win7环境下搭建Android安卓开发环境

    Win7环境下搭建Android安卓开发环境(原创教程) 此教程以32位win7旗舰版系统为基础,其它版本系统请根据情况自行调整.教程在2012年9月16日写,所有软件为当时的最新版. 准备文件(文件 ...

  7. 笔记本重置找不到恢复环境_DELL戴尔电脑找不到恢复环境如何恢复出厂设置

    ‍ 一般情况下,电脑系统如果出现一些无法处理的故障,我们可以通过系统还原操作来解决这个问题.但是有用户反映在使用还原功能时,遇到了找不到恢复环境的问题.针对上述的情况,接下来主要介绍在戴尔(DELL) ...

  8. android 恢复出厂 自动恢复文件夹,基于Android系统快速恢复出厂设置方法的实现...

    龚强 摘 要:针对使用Android系统的智能电视进行恢复出厂设置时重置速度慢的情况进行了研究和分析,从其重置原理入手,通过简化备份.导入.执行等设置方法以实现该系统的快速恢复出厂设置.实践证明,该方 ...

  9. Android 实现屏幕录制并剥离环境音量实现

    Android 从 4.0 开始就提供了手机录屏方法,但是需要 root 权限,比较麻烦不容易实现.但是从 5.0 开始,系统提供给了 App 录制屏幕的一系列方法,不需要 root 权限,只需要用户 ...

最新文章

  1. glibc升级_CentOS7下升级GLIBC2.31
  2. Python学习札记(十七) 高级特性3 列表生成式
  3. 海德堡大学 BMCV 组博士招生,生物医学图像分析领域​
  4. 菜鸟学习笔记:Java提升篇5(IO流1——IO流的概念、字节流、字符流、缓冲流、转换流)
  5. pythonqt项目_python GUI编程 QT5开发项目实战
  6. css里禁用样式,禁用某些元素的CSS样式
  7. linux两台电脑直连传数据,两台MAC电脑通过局域网快速传输文件
  8. Winrar 5.60 beta 4 个性破解注册码(2018.5.22)
  9. linux dstat,使用Dstat来进行Linux综合性能诊断
  10. ITextSharp 使用
  11. sonarqube + nexus 分析项目组成员代码状况,并生成报表
  12. Android实现连点按钮三下退出程序
  13. html页面实现pdf打印预览,利用pdfjs在线预览、打印pdf
  14. idea 中静态图片资源无法导入
  15. 元图地图开放平台系统概述
  16. 理解shallow heap 和 retained heap
  17. 疯狂创客圈 JAVA 高并发 总目录
  18. JVM堆内存(新生代,老年代,Xms,Xmx)学习整理
  19. win10系统上安装awvs漏洞扫描器
  20. int类型数据范围 - 学习

热门文章

  1. 论追热点,我不是针对谁,我是说在座的各位......
  2. JS—正则:手机号3+4+4空格格式化
  3. html输入QQ自动获取QQ头像,QQ号头像名称信息自动获取插件[WordPress] | 贝贝吧
  4. 互联网办公地点搬迁(北上深杭)
  5. python27-python27下载
  6. 海信电视微助手怎么连接电脑连接网络连接服务器,海信智能电视连接手机的教程详解!...
  7. 专栏结语:基于spring cloud的工具栈
  8. 条形碎片图纸的自动拼接规则算法matlab仿真
  9. 少女异闻录:白鹭白百合的华丽日常 v1.02 存档
  10. Oil Deposits(简单深搜)(又名: 僵尸王子的复仇计划)