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

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

android twrp

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

When you’re rooting, flashing custom ROMs, and otherwise playing with Android’s system, there are a lot of things that can go wrong. Before you start, you should know how to back up and restore your phone with the TWRP recovery environment.

当您生根,刷新自定义ROM以及以其他方式使用Android系统时,可能会出错。 在开始之前,您应该知道如何使用TWRP恢复环境备份和还原手机。

If you’re here, you’ve probably already read our guides on how to unlock your bootloader and install TWRP recovery. If you haven’t, you’ll need to perform both of those tasks first–this is a guide on how to use TWRP once you have it up and running.

如果您在这里,您可能已经阅读了有关如何解锁引导程序安装TWRP recovery的指南 。 如果尚未安装,则需要首先执行这两个任务,这是有关在启动并运行TWRP后如何使用TWRP的指南。

TWRP makes “nandroid” backups, which are near-complete images of your system. Instead of using them to restore individual files or apps, you use nandroid backups to restore your phone to exactly the state it was in when you backed up: the version of Android, your wallpaper, your home screen, right down to which text messages you had left unread.

TWRP进行“ nandroid”备份,这是系统的近乎完整的映像。 无需使用它们来还原单个文件或应用程序,而是使用nandroid备份将手机还原到备份时的确切状态:Android的版本,墙纸,主屏幕,以及向下显示的短信没读。

That means nandroid backups won’t work if you’re only trying to restore certain elements. If you want to restore the apps from your old ROM onto your new ROM, for example, you’ll need to use something like Titanium Backup instead. TWRP is meant to back up and restore the entire system in full.

这意味着如果您仅尝试还原某些元素,则nandroid备份将无法工作。 例如,如果要将应用程序从旧ROM还原到新ROM,则需要使用Titanium Backup之类的工具 。 TWRP旨在完整备份和还原整个系统。

如何在TWRP中制作Nandroid备份 (How to Make a Nandroid Backup in TWRP)

Whenever you start messing with Android’s system–rooting, flashing custom ROMs, and so on–you should first make a nandroid backup in TWRP. That way, if anything goes wrong, you can restore your phone to its pre-broken state.

每当您开始弄乱Android系统(生根,刷新自定义ROM等)时,都应首先在TWRP中进行nandroid备份。 这样,如果出现任何问题,您可以将手机恢复到预损坏状态。

To do so, boot into TWRP recovery. Doing this is a bit different on every phone–for example, you may have to hold the Power and Volume Down buttons simultaneously, then use the volume keys to boot “Recovery Mode”. Google instructions for your specific model to see how it’s done.

为此,请启动TWRP恢复。 在每部手机上执行此操作都有些不同,例如,您可能必须同时按住电源和降低音量按钮,然后使用音量键启动“恢复模式”。 Google针对您的特定模型的说明,说明如何完成。

Once you’ve done so, you’ll be greeted with the familiar TWRP home screen. Click the Backup button.

完成此操作后,您将看到熟悉的TWRP主屏幕。 单击备份按钮。

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

The following screen will appear. Tap the “Name” bar at the top to give the backup a recognizable name. I usually use the current date and what I was doing when I backed up–like 2016-01-25--pre-root or 2016-01-25--pre-cyanogenmod. Check the Boot, System, and Data boxes, and then swipe the bar along the bottom to back up.

将出现以下屏幕。 点击顶部的“名称”栏,为备份指定一个可识别的名称。 我通常使用当前日期和备份时的操作,例如2016-01-25--pre-root2016-01-25--pre-cyanogenmod 。 选中“启动”,“系统”和“数据”框,然后沿着底部滑动该栏以进行备份。

NOTE: Backups are fairly large, so if you get an error about there not being enough space, you may have to delete some things on your internal storage or SD card before continuing.

注意:备份相当大,因此,如果出现有关空间不足的错误的信息,则可能必须先删除内部存储器或SD卡上的某些内容,然后再继续操作。

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

The backup will take a few minutes to complete, so be patient. When it’s finished, you can tap “Back” to go back to TWRP’s main menu, or “Reboot System” to reboot back into Android.

备份需要几分钟才能完成,因此请耐心等待。 完成后,您可以点击“返回”以返回TWRP的主菜单,或者点击“重新启动系统”以重新启动回到Android。

If TWRP 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为您完成。

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

如何从TWRP中的Nandroid备份还原 (How to Restore from a Nandroid Backup in TWRP)

If you ever need to restore from a previous backup, it’s simple. Boot back into TWRP, and tap the “Restore” button on the home screen.

如果您需要从以前的备份中还原,这很简单。 重新启动进入TWRP,然后在主屏幕上点击“恢复”按钮。

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

TWRP will show you a list of your previous backups. Tap the one you want and you’ll see the following screen. Make sure all the boxes are checked and swipe the bar to restore.

TWRP将为您显示以前的备份列表。 点击您想要的一个,您将看到以下屏幕。 确保选中所有复选框,然后滑动条进行还原。

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

The restore will take a few minutes, but when it’s finished, you can reboot your phone back into Android.

还原将需要几分钟,但还原完成后,您可以将手机重新启动回Android。

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

Once again, if it asks you to root, be sure to tap “Do Not Install”.

再一次,如果它要求您root用户,请确保点击“不安装”。

When you return to Android, you should find that everything is exactly how you left it when you made that backup.

当您返回Android时,应该发现一切都与备份时的样子完全一样。



Making nandroid backups is a simple process, but it’s crucial if you plan on doing any system tweaking. Always, always, always make a nandroid backup before you do anything. If anything goes wrong, you can always restore without skipping a beat.

进行nandroid备份是一个简单的过程,但是如果您打算进行任何系统调整,则至关重要。 在执行任何操作之前,请务必始终进行nandroid备份。 如果出现任何问题,您始终可以恢复而不会跳动。

翻译自: https://www.howtogeek.com/240582/how-to-back-up-and-restore-your-android-phone-with-twrp/

android twrp