您有HTC手机并希望更改手机上的分区吗?安全功能是否妨碍您这样做?本文将讨论HTC S-OFF,它可以让您关闭此安全协议。作为此过程的一部分,您将需要了解文章中介绍的HTC引导加载程序。完整阅读这篇文章,以更好地了解这个主题。
HTC S-OFF 是什么?(What is HTC S-OFF?)
通常,所有设备都具有S-ON安全协议,在向公众发货时,它会在Radio分区上放置一个标志。也就是说,HTC手机的安全标志是默认开启的。您可以在HTC(HTC)手机上关闭此标志。这是如何做到的:
- 它存储在设备的无线电中,关闭它可以让您写入系统内存。
- 它会阻止您在HTC安卓手机上使用任何自定义ROM(ROMs)、启动图像、恢复等。
- 它还阻止您访问NAND闪存并限制您对设备上的NAND分区进行永久性更改。
- NAND分区包括Boot分区、recovery分区、Radio、System分区等。
- 只需重新启动手机,即可将您在S-ON的(S-ON)HTC手机上所做的更改恢复为正常状态。
- S-OFF 无法让您在重新启动时灵活地恢复手机的功能。您可以从通知顶部的文本中了解手机是 S-ON 还是 S-OFF,或者标志是打开还是关闭。
注意:(Note:)关闭安全或 S-OFF 是用户的全部责任,在需要之前不得这样做。
您可以在 HTC 手机上使用 S-OFF 获得 Root 权限吗?(Can You Have a Root Using S-OFF on HTC Phone?)
root 类似于在您的Linux 操作系统(Linux OS)中拥有另一个用户。在引导加载程序上打开HTC手机上的(HTC)S-OFF允许您刷新包文件,例如Superuser.apk和 su 二进制文件。这里要注意的要点是在刷入超级用户(Superuser)之前刷入恢复。重新启动手机后,您可以在手机上获得root权限。因此(Hence),HRC S-OFF不会在您的手机上创建任何根目录,但允许您刷写您可以拥有的程序。
另请阅读:(Also Read:) 如何 Root Android 手机
关闭 S-OFF 的好处(Benefits of Turning S-OFF)
下面列出了在HTC上关闭(HTC)S-OFF的好处。
-
访问和覆盖 HTC 手机上的分区驱动器(Access and overwrite the partition drives on the HTC phone)– 通过关闭 HTC 手机上的S (HTC)-OFF(S-OFF) ,您可以访问设备的NAND部分。这意味着您将有权解锁设备上的分区,并且可以更改它们。手机上的分区潜水默认无法更改。通过打开S-OFF标志,您可以在设备的操作系统启动时覆盖分区驱动器上的代码。
-
无需对固件映像进行签名检查(No need for the signature checks for firmware images)- 所有固件 zip 都必须由HTC进行数字签名才能通过引导加载程序进行刷新。在HTC(HTC)安卓手机上关闭 S-OFF可让您绕过上传自定义固件映像、未签名启动、启动和HBOOT映像以及恢复所需的安全检查。S-OFF 标志将允许您刷新包含分区的单独映像的未签名固件 zip。换句话说,它使您能够最大限度地定制您的Android手机。
使用 HTCdev 解锁引导加载程序(Use HTCdev to Unlock Bootloader)
HTCdev不会将引导加载程序设置为S-OFF,但它会解锁手机上的分区。这将允许您刷新自定义恢复,然后在您的手机上刷新自定义ROM,您不需要为此保持HTC S-OFF。以下(Below)是列出的信息:
- 您需要在网站上注册并登录,您可以解锁HTC手机上的引导加载程序。
- 此方法由HTC正式发布,它可以让您在手机上对启动、系统和恢复等分区进行有限解锁。
- 出于安全原因,受限解锁方法是必要的,它可以防止您将任何随机固件 zip 闪存到您的分区。但是,这不会让您解锁SIM卡。
- 解锁会更改手机的软件,并可能会导致一些意想不到的问题。这可能会改变助听器兼容性(Hearing Aid Compatibility)( HAC ) 或特定吸收率(Absorption Rate)( SAR ) 的值,或者可能导致手机过热。
- 除此之外,您可能通过第三方供应商或HTC购买的某些内容可能会因DRM安全密钥而失效或无法访问。
- 您可能无法通过Firmware over the Air或FOTA使用手机更新。如果您的手机发生了一些不可逆转的更改,则可能不在HTC为您提供的保修范围内。
另请阅读:(Also Read:) 90+ Hidden Android Secret Codes
关闭 S-OFF 之前要遵循的初步步骤(Preliminary Steps to Follow Before Turning S-OFF)
下面列出了在您的HTC手机上关闭(HTC)S-OFF之前要遵循的初步步骤。确保(Make)按照这些步骤操作,然后尝试关闭(S-OFF)您的手机。
1. 解锁 HTC 手机上的引导加载程序后,(HTC)卸载 HTC 手机上的(HTC)HTCdev工具。
2. 转到设置,(Settings,)然后转到安全,(Security,)然后停用手机上的所有安全设置。
3. 进入设置(Settings),然后进入Power/ Battery Manager,关闭手机的快速启动(Fast Boot)模式。
4. 使用USB2.0代替USB3.0进行插拔,实现HTC手机与PC的兼容。
5. 下载Firewater等S-OFF 工具(S-OFF tool)并将其安装在您的 PC 上。
6.在您的 PC 上安装最小的 ADB 。(minimal ADB)
7. 为您的手机充电至少60% of battery,以避免电量损失。
8.备份(Back up all important media)手机上所有重要的媒体内容或消息,因为手机可能会完全重置。
9. 安装HTC Drivers,让您的手机与 PC 连接。
10. 转到设置(Settings),然后到开发人员选项(Developer Options),然后到启用 USB 调试(Enable USB Debugging)以启用 USB 调试模式。
11.禁用 PC 上的防病毒和防火墙(Disable anti-virus and firewall)程序。
因此,这些是关闭HTC S-OFF之前的初步步骤。
另请阅读:(Also Read:) 如何通过 Android 上的 Fastboot 解锁引导加载程序(How to Unlock Bootloader Via Fastboot on Android)
如何使用 HTCdev 工具解锁 Bootloader(How to Use HTCdev tool to Unlock Bootloader)
下面解释了使用HTCdev工具解锁手机上的引导加载程序的过程。在过程开始时使用可靠的电缆连接将手机连接到 PC。
1.长按手机电源(Power)键,关闭手机。
2.长按电源(Power)键和音量下(Volume down)键30秒,以HBOOT模式登录手机。
3.使用音量(Volume)按钮转到快速启动选项,然后使用(Fastboot)电源(Power)按钮选择它。
4. 启动Windows 资源管理器(Windows Explorer)并导航到本地磁盘 (C:)中的(Local Disk (C:))Minimal ADB 和 Fastboot(Minimal ADB and Fastboot)文件夹。
5. 在文件夹位置地址栏中,键入cmd并按Enter 键(Enter key)。
6. 输入命令fastboot devices并按Enter 键(key)在 PC 上检测您的手机。
7.在您的 PC 上启动命令提示符,输入命令( Command Prompt)fastboot oem get_identifier_token,然后按Enter 键(Enter key)。
8.等待(Wait)一个长令牌代码块,然后单击HTCdev 网站上的提交按钮。(Submit)
9. 您应该会收到一封来自HTCdev的邮件,其中附有一个名为bin的文件。下载文件并将其移至Windows Explorer上的(Windows Explorer)Fastboot文件夹。
10. 启动命令提示符(Command Prompt),输入命令fastboot flash unlocktoken Unlock_code.bin,然后按Enter 键(key)。
11. 使用电源按钮在您的(power)HTC手机上确认安装请求,然后等待手机重启。
另请阅读:(Also Read:) 如何硬重置任何 Android 设备(How To Hard Reset Any Android Device)
如何在 HTC 上关闭安全协议或 S-OFF(How to Turn Off Security Protocol or S-OFF on HTC)
HTC上的S-OFF步骤将在本节中说明。
1. 将Firewater 文件(Firewater file)复制到PC 上的Minimal ADB文件夹中。( Minimal ADB)
2. 在文件夹位置地址栏中,键入cmd并按Enter 键(Enter key)。
3.输入adb devices命令并按Enter 键(key)。
4. 然后,输入以下命令(commands)并在每个命令后按Enter 键。(Enter key)
adb reboot [Important]
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755/data/local/tmp/firewater
data/local/tmp/firewater/
5.如果出现提示,允许(Allow permission)手机上的权限,您应该在Bootloader上看到状态为S-OFF。
受到推崇的:(Recommended:)
这篇文章基于HTC S-OFF和HTC bootloader 这两个术语。如果您正在寻找这些术语的答案并且在此过程中感到困惑,那么本文可能已经消除了您的疑虑。请随时在下面的评论部分提供您的宝贵建议并提出您的疑问。
What is HTC S-OFF?
Do yоu havе an HTC phone and wish to alter partitions on your phone? Is the secυrity feature disturbing you from doing thiѕ? This article will deal with HTC S-OFF, which lets you turn off this security protocol. Aѕ a part of this procеss, you will be required to learn about the HTC bootloader, which is covered in the article. Read the artісlе completely to have a better insight оn this topic.
What is HTC S-OFF?
Generally, all the devices have the S-ON security protocol, for which it places a flag on the Radio partition while being shipped to the public. In other words, the security flag of the HTC phone is turned on by default. You can turn off this flag on your HTC phone. Here’s how to do it:
- It is stored on the device’s radio and turning it off can allow you to write to the system memory.
- It hinders you from using any custom ROMs, splash images, recovery, etc., on your HTC android phone.
- It also prevents you from accessing the NAND flash memory and restricts you from making permanent changes to the NAND partitions on the device.
- The NAND partition includes the Boot partition, the recovery partition, the Radio, the System partition, etc.
- The changes you make on the HTC phone with the S-ON can be reversed to normal by simply rebooting the phone.
- S-OFF doesn’t give you the flexibility to revert to the functions of your phone upon a reboot. You can know if the phone is S-ON or S-OFF or if the flag is on or off, from the text on the top of the notification.
Note: Turning off the security or S-OFF is the complete responsibility of the user and must not be done until there is a need for it.
Can You Have a Root Using S-OFF on HTC Phone?
A root is similar to having another user in your Linux OS. Turning the S-OFF on your HTC phone on the bootloader allows you to flash a package file such as Superuser.apk and the su binary. The main point to note here is to flash a recovery before flashing a Superuser. When the phone is rebooted, you can have a root on your phone. Hence, the HRC S-OFF doesn’t create any root on your phone but allows you to flash programs by which you can have one.
Also Read: How to Root Android Phone
Benefits of Turning S-OFF
The benefits of turning S-OFF on HTC are listed below.
-
Access and overwrite the partition drives on the HTC phone– By turning the S-OFF on your HTC phone, you can access the NAND portion of the device. This means that you will get access to unlock the partitions on the device and you can alter them. The partition dives on the phone cannot be altered by default. By turning the S-OFF flag, you can overwrite the code on the partition drives while the OS of the device is booted.
-
No need for the signature checks for firmware images– All the firmware zips must be digitally signed by the HTC to be flashed through the bootloader. Turning S-OFF on your HTC android phone allows you to bypass the security check required for uploading custom firmware images, unsigned boot, splash and HBOOT images, and recovery. The S-OFF flag would allow you to flash unsigned firmware zips that contain separate images of the partitions. In other words, it enables you to have the maximum customization of your Android phone.
Use HTCdev to Unlock Bootloader
HTCdev doesn’t set the bootloader to S-OFF but it unlocks the partitions on your phone. This would allow you to flash a custom recovery and then flash a custom ROM on your phone, for which you are not needed to keep HTC S-OFF. Below is the listed information:
- You need to register on the website and by logging in, you can unlock the bootloader on your HTC phone.
- This method is officially released by the HTC and it gives you limited unlocking to the partitions like the boot, system, and recovery, on your phone.
- The restricted unlocking method is necessary for security reasons and it prevents you from flashing any random firmware zip to your partitions. This, however, doesn’t let you unlock your SIM card.
- The unlocking changes the software of your phone and may give rise to some unexpected problems. This might change the values of Hearing Aid Compatibility (HAC) or Specific Absorption Rate (SAR) or may result in overheating of the phone.
- In addition to these, some of the content you might have purchased through third-party vendors or HTC may be invalidated or be inaccessible due to DRM security keys.
- You may not be able to use the update of the phone through Firmware over the Air or FOTA. If there are some irreversible changes made on your phone, it might not come under the warranty provided to you by the HTC.
Also Read: 90+ Hidden Android Secret Codes
Preliminary Steps to Follow Before Turning S-OFF
The preliminary steps to be followed before turning S-OFF on your HTC phone are listed below. Make sure to follow these steps and then attempt turning S-OFF your phone.
1. After unlocking the bootloader on your HTC phone, uninstall the HTCdev tool on your HTC phone.
2. Go to Settings, then to Security, and then deactivate all security settings on your phone.
3. Go to Settings, then to Power/ Battery Manager, and deactivate the Fast Boot mode on your phone.
4. Use USB2.0 instead of USB3.0 for plugging to achieve compatibility between your HTC phone and PC.
5. Download an S-OFF tool like Firewater and install it on your PC.
6. Install minimal ADB on your PC.
7. Charge your phone at least up to 60% of battery to avoid loss of power.
8. Back up all important media content or messages on your phone as the phone may get completely reset.
9. Install HTC Drivers to let you connect your phone with the PC.
10. Go to Settings, then to Developer Options, and then to Enable USB Debugging to enable the USB Debugging mode.
11. Disable anti-virus and firewall programs on your PC.
Hence, these are the preliminary steps before turning HTC S-OFF.
Also Read: How to Unlock Bootloader Via Fastboot on Android
How to Use HTCdev tool to Unlock Bootloader
The procedure to use the HTCdev tool to unlock the bootloader on your phone is explained below. Connect your phone to your PC using a reliable cable connection at the start of the process.
1. Long press the Power button on your phone and turn off your phone.
2. Press the Power and Volume down buttons for 30 seconds to log in to your phone in HBOOT mode.
3. Go to the Fastboot option by using the Volume buttons and select it using the Power button.
4. Launch Windows Explorer and navigate to Minimal ADB and Fastboot folder in Local Disk (C:).
5. In the folder location address bar, type cmd and press the Enter key.
6. Type in the command fastboot devices and press the Enter key to detect your phone on the PC.
7. Launch Command Prompt on your PC, type in the command fastboot oem get_identifier_token, and press the Enter key.
8. Wait for a long token code block and click on the Submit button on the HTCdev website.
9. You should get a mail from HTCdev with a file named bin attached to it. Download the file and move it to the Fastboot folder on Windows Explorer.
10. Launch Command Prompt, type in the command fastboot flash unlocktoken Unlock_code.bin, and hit the Enter key.
11. Confirm the installation request on your HTC phone using the power button, and wait for the phone to restart.
Also Read: How To Hard Reset Any Android Device
How to Turn Off Security Protocol or S-OFF on HTC
Steps for S-OFF on HTC are explained below in this section.
1. Copy the Firewater file to the Minimal ADB folder on your PC.
2. In the folder location address bar, type cmd and press the Enter key.
3. Type in the adb devices command and press the Enter key.
4. Then, type in the following commands and hit the Enter key after each command.
adb reboot [Important]
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755/data/local/tmp/firewater
data/local/tmp/firewater/
5. Allow permission on your phone if prompted, and you should see the status on Bootloader as S-OFF.
Recommended:
The article is based on the terms HTC S-OFF and HTC bootloader. If you were searching for answers to these terms and were perplexed in the process, this article might have cleared your doubts. Please feel free to provide your valuable suggestions and raise your queries in the comments section below.