What are Yellow, Red and Orange state warnings?
They are verified boot states. You'll get these on some devices after either unlocking the Bootloader or flashing a modified / non-factory-signed file to the device (usually on a locked bootloader). Red State is often synonymous with a brick.
- Green state means the device is locked or
verified, the keystore is verified with an OEM key, and that the boot
image was verified by the keystore
- Yellow state means that an alternate keystore was used to verify the boot image
- Orange state indicates that the device is unlocked, so no verification was done.
- Red state means that a device in the locked or verified state had a boot image that did not verify.
The warnings look something like:
Quote:Red State
Your device has failed verification and may not.....work properly...Please download %s image with correct signature.....or disable verified boot....Your device will reboot in 5 seconds
Quote:Orange State
Your device has been unlocked and can't be trusted..Your device will boot in 5 seconds
Requirements
- LK.bin or .img either from your device's firmware or backed up / dumped from the device
- Hex Editor (HXD @ https://mh-nexus.de/en/hxd/ is used in this guide)
Steps to hide or remove Red or Orange State warning on Mediatek devices
Follow the steps below to get rid of / stop seeing Yellow, Red or Orange state warnings
See the video below or @ https://youtu.be/wFi7Ao4liNw- Launch HXD
- Click File
- Click Open
- Highlight the LK file and click Open
- It should get loaded in HXD. Click Search
- Click Find
- Change Datatype to Text-string
- Type Red State or Orange State (depending on which you wish to hide) then click OK
- Take note of where the text you wish to hide begins and ends (highlighted in this example)
- Change each character pair to 00 (at the second column), this will translate to . at the third column
- Take note of the range for Orange State warning
- Change each character pair to 00 (at the second column), this will translate to . at the third column
- Click File and select Save
- You can now flash the LK file. The LK.bak is a backup of your
unmodified LK. You can always flash the .bak backup if something goes
wrong
How to remove 5 seconds boot delay time in Orange State warning on Mediatek devices
- Launch HXD
- Click File
- Click Open
- Highlight the LK file and click Open
- It should get loaded in HXD. Click Search
- Click Find
- Click Hex-values tab (or set datatype to hex-values depending on the hxd tool you're using)
- Search for: 7B441B681B68012B
- Once found, ensure that the 8 values before what was found is
08B5**** (asterisks means any random numbers but the first 4 values must
be 08B5). If the found values does not have the 8 characters mentioned
as prefix, then search again until you find the right one
- Basically you should have 08B5****7B441B681B68012B (24 characters in total). Highlight all 24 characters
- You copy this new 24 characters 08B5002008BD1B681B68012B then return back to HxD window then right click on the highlighted items and select "Paste Insert"
- The newly modified 24 characters will be displayed in red
- Click File and select Save
- You can now flash the modified lk file
Important Notice
- Red State might mean your device will be unable to boot to home screen. Flash the factory / signed firmware if this happens
- The patch for removing the 5 seconds boot time delay isn't available to all mediatek devices
No comments:
Post a Comment