本指南有最近更改,您可查看未经巡查的最新版本。
简介
定制 ROM(又称售后固件)是对现有操作系统的修改版本,不受设备制造商的官方支持。有些定制 ROM 基于现有的移动操作系统,如 Android,有些则基于 PC 操作系统,如 Manjaro 或 Ubuntu。它们与使用原版固件的设备不同,因为它们可以提供原版安卓系统所没有的特性和增强功能,不包含臃肿自带软件,也不依赖于设备制造商的软件更新。
最流行的定制 ROM 包括 LineageOS、LineageOS for microG、Paranoid Android、ProtonAOSP、GrapheneOS 和 CalyxOS。
有些定制 ROM,如 GrapheneOS 和 ProtonAOSP,提供了基于 WebUSB 的安装程序,对大多数用户来说更容易使用,但在本指南中,我将介绍基于命令行的安装,因为它是安装定制 ROM 的更传统、更通用的方法。
警告
- 解锁 BootLoader 将重置手机,因此请确保您备份了所有数据!
- 此过程可能会导致某些制造商的保修服务失效。
- 修改后的设备会触发Play Integrity API(前身为 SafetyNet Attestation API),可能导致 GPay 等服务停止工作。
- 这将使你的设备在黑客物理访问你的设备时变得脆弱,所以不要在你打算存储国家 / 公司机密的设备上解锁引导加载器。
- 刷入自定义 ROM 有一定风险,可能会导致意想不到的问题,甚至使设备变砖。建议仅在有丰富 Android 操作经验的情况下才刷入自定义 ROM。
- 在解锁设备的 BootLoader 或刷入自定义 ROM 时,请务必小心谨慎并仔细阅读说明。不正确的步骤可能会对设备造成不可逆转的损坏。
- 在刷入自定义 ROM 之前,确保它与你的设备兼容,并检查其他用户报告的任何已知问题或错误。
- 如果在解锁或刷入过程中遇到任何问题,请不要犹豫,到论坛或定制 ROM 开发商提供的支持渠道向有经验的用户寻求帮助。
你所需要的
-
-
-
在安装了 SDK Platform Tools 的电脑上打开终端应用程序并输入
adb devices -
这应该会在你的设备上触发一个弹出窗口。确保选中复选标记并单击允许。
-
你可以再次运行该命令来检查它是否有效。现在设备状态应该是
device(设备) 而不是unauthorized(未授权) 。
-
-
-
输入命令
adb reboot bootloader -
等待几秒钟,直到您的设备重新启动进入引导加载程序,然后输入命令
fastboot flashing unlock -
你现在应该会看到类似于图中所示的提示。使用音量键选择 Unlock the bootloader(解锁引导加载程序) 选项,然后按电源按钮确认。
-
-
-
为你的设备下载 TWRP Recovery,或使用随自定义 ROM 提供的恢复镜像。
-
输入命令
fastboot boot [directory]\[filenameOfTheRecovery].img,等待设备重启进入恢复模式。
-
-
-
下载你要安装的自定义 ROM 的操作系统镜像。
-
输入命令
adb sideload [directory]\[filenameOfTheOsImage].zip
-
-
-
下载你要安装的 GApps 软件包。
-
重复第 10 步以重新启用 ADB sideload。
-
输入命令
adb sideload [directory]\[filenameOfTheAppsPackage].zip
-
要将设备恢复到出厂状态,请按照这些说明使用设备制造商提供的操作系统镜像。
75等其他人完成本指南。
由衷感谢以下译者:
100%
这些译者帮助我们修补全世界! 您也想加入吗?
开始翻译 ›
7指南评论
The problem is you need the exact customt TWRP recovery AND exact install .zip for the model number. There is no unversal twrp file or universal android, or utbuntu. Each manufacturer, model, useds a 'custom twrp file. and unique identifier for android 'custom' rom even for android itself.
if you install wrong file not for the particular device, it won't work and you need to customized or find the exact model rom known as custom rom. even if the phone is running android. you can only flash the manfucturere rom for that device. or c ustomized it yourself
oem unlocking just means you can FLASH it. most devices now have oem locked and you cannot flash anything on it. improperly flashing wrong rom can brick the device and if there is no custom rom for download, there is nothing you can do. you have make one for yourself which needs the manufacturers drivers etc.
Nexus Nexus - 回复 分享
And you notice there is no technical support about flashing your old tablets or phones from the manufacturere to download and firmware. or download section. Because they don't want people to be flashing and old phone or tablet. You neeed both custom recovery plus 'custom' rom for that operating system to work. and that .zip files is from manufacturer. most people dont have the tech ability to make custom roms or custom android for their device and with so many models and very little demand it's not worth making it.you see droid kits which only works on samsung phones or tablets and they have downloads to reflash it is BRICKED.
Nexus Nexus - 回复 分享
Please 🙏 make a video on it I didn't really understand from step 7.
Achiever Fua - 回复 分享