如何在Android上安装LineageOS

如何在Android上安装LineageOS_第1张图片

If you’ve been considering giving your phone new life with a custom ROM, LineageOS is one of the most popular ones available today. Here’s everything you need to know about flashing this ROM onto your phone.

如果您一直在考虑使用自定义ROM来赋予手机新的生活, LineageOS是当今最受欢迎的手机之一。 这是将ROM刷新到手机上所需的所有信息。

步骤零:确保您的设备(和计算机)已准备就绪 (Step Zero: Make Sure Your Device (and Computer) are Ready to Go)

Before you get overzealous and start throwing things at a command line, you’ll first need to make sure you have everything you need to get started—including whether your phone is ready to take on a ROM.

在变得异常狂热并开始在命令行中扔东西之前,首先需要确保您已具备开始使用所需要的一切,包括您的手机是否准备好使用ROM。

So, first things first: is your phone compatible? You’ll need to make sure there’s a build of Lineage designed specifically for your phone. Just head over to the Lineage downloads page, select your phone’s manufacturer, and then find your model. If it’s there, you’re in luck: Lineage supports your phone.

因此,首先要考虑的是:您的手机兼容吗? 您需要确保有专门为您的手机设计的Lineage版本。 只需转到“ 天堂”下载页面 ,选择手机的制造商,然后找到您的型号即可。 如果有,那么您很幸运:Lineage支持您的电话。

It’s worth mentioning that it may take a bit of research if there are multiple variants of your phone—like there are with most Samsung Galaxy models. In that case, you’ll want to make sure the handset codename and processor information matches your phone. You can find that info on the Lineage download page for your phone.

值得一提的是,如果您的手机有多个变体(可能与大多数三星Galaxy机型一样),则可能需要进行一些研究。 在这种情况下,您需要确保手机的代号和处理器信息与您的手机匹配。 您可以在手机的“天堂”下载页面上找到该信息。

Once you’ve confirmed that Lineage actually has a build for your phone, you’ll need to make sure your computer has everything it needs to get you where you need to go: ADB and Fastboot. We have an excellent guide on getting started with ADB, so that is definitely recommended reading before you get started.

确认Lineage实际上为您的手机构建了版本之后,您需要确保计算机具有将其带到所需位置所需的一切:ADB和Fastboot。 我们有关于ADB入门的出色指南 ,因此绝对建议您在开始之前阅读它。

With all that out of the way, there’s one last thing you’ll need to do before you can flash Lineage to your phone: an unlocked bootloader or compatible workaround. This is likely the most difficult part of the entire process (depending on your particular phone model, that is), as it’s very difficult to get around the security measures put in place on many phones.

完成所有这些操作后,您需要做的最后一件事是将Lineage刷新到手机上:解锁的引导加载程序或兼容的解决方法。 这可能是整个过程中最困难的部分(取决于具体的电话型号),因为要克服许多电话上已采取的安全措施非常困难。

If your phone supports bootloader unlocking, that will be be the easiest way to do this, and this guide operates under the assumption that your phone supports this feature. If it doesn’t, like most Samsung devices, a bit more research on your particular model will be necessary.

如果您的手机支持引导加载程序解锁,那么这将是最简单的方法,并且本指南将在您的手机支持此功能的前提下进行操作。 如果不是这样,则像大多数三星设备一样,将需要对您的特定型号进行更多研究。

With your preparations done, you’re ready to get flashing.

完成准备工作后,您就可以准备就绪了。

第一步:收集您的下载并启用开发人员模式 (Step One: Gather your Downloads and Enable Developer Mode)

You’re going to need a few tools, and it’s best to go ahead and collect them all now. Here’s the list:

您将需要一些工具,最好现在就收集它们。 这是清单:

  • TWRP: Custom recovery. This is the most popular choice out there right now, and it’s available for a ton of different phones. You’ll need this to flash everything.

    TWRP :自定义恢复。 这是目前最流行的选择,并且可用于大量不同的手机。 您将需要使用它来刷新所有内容。

  • Lineage OS: The actual operating system.

    世系OS :实际的操作系统。

  • GApps (optional): If you want all the Googleyness that comes alon

你可能感兴趣的:(java,linux,python,android,adb)