From 5479e051e9007ecd0255c86cd6a5dacefc13058a Mon Sep 17 00:00:00 2001
From: melontini <104443436+melontini@users.noreply.github.com>
Date: Sun, 6 Oct 2024 23:47:54 +0700
Subject: [PATCH] Update styling of some pages + add Android One info to
Xiaomi.
---
brands/htc/README.md | 8 +++++++-
brands/samsung/README.md | 9 ++++-----
brands/xiaomi/README.md | 33 ++++++++++++++++++++++-----------
3 files changed, 33 insertions(+), 17 deletions(-)
diff --git a/brands/htc/README.md b/brands/htc/README.md
index 0b4f39f..b409c9f 100644
--- a/brands/htc/README.md
+++ b/brands/htc/README.md
@@ -7,7 +7,13 @@ In the past, HTC allowed you to unlock your bootloader on their [developer websi
> [!NOTE]
> As of September 2024, the website is still up and working (tested with an HTC Raider), however since HTC hasn't supported it in over 6 years, it may go down at any time, and even for these legacy devices, BS applies.
-HTC had a system known as "S-ON/S-OFF", with S-ON enabled, [the only partitions that can be flashed are system and recovery][s-system], all other partitions are read only. While HTC claims you can write boot with S-ON, it's complicated. For whatever reason, HTC made it so you can't flash boot.img from recovery, if you want to flash boot.img, you have to flash it in fastboot, meaning if you want to flash a ROM, you have to install it in recovery, then reboot to fastboot and flash boot.img, then you can boot. There have been systems to work around this, such as TWRP's [HTC Dumlock]. There are ways to achieve S-OFF, but it's different for each device. Search for your specific device on [XDA](https://xdaforums.com). Do note that due to the age of most of these tools, they may require legacy operating systems such as **Ubuntu 14.04 or Windows 7**.
+## S-ON/S-OFF
+
+HTC had a system known as "S-ON/S-OFF", with S-ON enabled, [the only partitions that can be flashed are system and recovery][s-system], all other partitions are read only.
+
+While HTC claims you can write boot with S-ON, it's complicated. For whatever reason, HTC made it so you can't flash boot.img from recovery, if you want to flash boot.img, you have to flash it in fastboot, meaning if you want to flash a ROM, you have to install it in recovery, then reboot to fastboot and flash boot.img, then you can boot.
+
+There have been systems to work around this, such as TWRP's [HTC Dumlock]. There are ways to achieve S-OFF, but it's different for each device. Search for your specific device on [XDA](https://xdaforums.com). Do note that due to the age of most of these tools, they may require legacy operating systems such as **Ubuntu 14.04 or Windows 7**.
***
Authored by [Ivy / Lost-Entrepreneur439](https://github.com/Lost-Entrepreneur439).
diff --git a/brands/samsung/README.md b/brands/samsung/README.md
index 423e88a..3816715 100644
--- a/brands/samsung/README.md
+++ b/brands/samsung/README.md
@@ -4,14 +4,13 @@
If you have a North American device, well, uh... If you're lucky enough not to update for a while, you can check out [this paid service][Paid North American Unlock]. (At your own risk)
-If you bought your phone elsewhere, and it's not carrier locked, you can use the standard process, but brace yourself for all the breakage coming your way!
+If you bought your phone elsewhere, and it's not carrier locked, you can use the standard process, but brace yourself for all the breakage coming your way! For example, VoLTE on custom ROMs, (thanks to Samsung's proprietary implementation) and in certain cases [even the camera][Unlock Breaks Camera].
-For example, unlocking will permanently trip Knox. As a result, *any* Knox-based features will be broken *even if you re-lock*. This includes, but not limited to: Samsung Pay, Pass, Flow, Health, Secure Folder, Secure Wi-Fi, Smart View. Can you be denied warranty? Probably...
-Some of those features can be fixed with this LsPosed module [KnoxPatch] and this Magisk Module [KnoxPatch#knoxpatch-enhancer].
+Unlocking a Samsung device will also permanently trip Knox. As a result, many Knox-based features will be broken. This includes, but not limited to: Samsung Pay, Pass, Flow, Health, Secure Folder, Secure Wi-Fi, Smart View. Can you be denied warranty? Probably...
-In addition, some basic features can, and will probably break, such as VoLTE, (thanks to Samsung's proprietary implementation) and in certain cases [even the camera][Unlock Breaks Camera].
+## KnoxPatch
-> Info kindly provided by [aries-ts-indo](https://github.com/aries-ts-indo)!
+Some of Knox-based features can be fixed with this LsPosed module [KnoxPatch] and its companion Magisk module [KnoxPatch#knoxpatch-enhancer].
***
Additional info provided by [aries-ts-indo](https://github.com/aries-ts-indo).
diff --git a/brands/xiaomi/README.md b/brands/xiaomi/README.md
index c45501f..ffa92fc 100644
--- a/brands/xiaomi/README.md
+++ b/brands/xiaomi/README.md
@@ -1,12 +1,22 @@
# Xiaomi/Redmi/POCO
-> 🧹 This page is missing a source for China Requirements.
-
- Verdict: **â›” Avoid!**
-While this (currently) only affects users in China, Xiaomi's new policy makes unlocking very annoying.
+In the past, Xiaomi allowed most of its devices to be unlocked after a period of 7+ days (depending on how new the device is).
-With this new policy, **You must have a Level 5 developer Xiaomi Community account.**
+With the launch of Xiaomi's new Android fork, HyperOS, they have introduced a number of changes to the unlock process, with new device limits and Mi Account requirements.
+
+Look here if you want to learn about how Ximi's bootloader works: [Xiaomi-bootloader]
+
+## HyperOS
+
+Also, check out [Xiaomi-HyperOS-BootLoader-Bypass] by [MlgmXyysd](https://github.com/MlgmXyysd).
+
+### China
+
+> 🧹 Missing a source for China Requirements.
+
+With the new policy, **You must have a Level 5 developer Xiaomi Community account.**
And here's a list of things you have to do to get that:
- You must be a citizen of China.
- You have to use HyperOS and report at least 1 bug per day. (????)
@@ -19,15 +29,16 @@ Additional BS applies:
- You will not receive OTA updates.
- your warranty will be void.
-Also, check out [Xiaomi-HyperOS-BootLoader-Bypass] by [MlgmXyysd](https://github.com/MlgmXyysd).
+### Global
-> [!NOTE]
-> While not as extreme, if [xiaomiui.net][global-requirements] is to be believed, global unlock has also undergone some changes:
-> * Your Mi Account has been active for more than 30 days.
-> * Xiaomi Community App version 5.3.31 or above.
-> * You can only unlock the bootloader of 3 devices per year with your account.
+While not as extreme, if [xiaomiui.net][global-requirements] is to be believed, global unlock has also undergone some changes:
+* Your Mi Account has been active for more than 30 days.
+* Xiaomi Community App version 5.3.31 or above.
+* You can only unlock the bootloader of 3 devices per year with your account.
-Look here if you want to learn about how Ximi's bootloader works: [Xiaomi-bootloader]
+## Android One
+
+Devices shipping with Android One do NOT have any unlock requirements. They follow the standard Android unlock process.
***
Updated info provided by [n1ses](https://github.com/n1ses).