Hovatek Forum
[Tutorial] How to remove Orange, Yellow & Red state warnings on MTK - Printable Version

+- Hovatek Forum (https://www.hovatek.com/forum)
+-- Forum: MOBILE PHONES HELP SECTION (https://www.hovatek.com/forum/forum-75.html)
+--- Forum: Android (https://www.hovatek.com/forum/forum-76.html)
+--- Thread: [Tutorial] How to remove Orange, Yellow & Red state warnings on MTK (/thread-31664.html)

Pages: 1 2 3 4 5 6


How to remove Orange, Yellow & Red state warnings on MTK - hovatek - 24-12-2019

This guide will explain how to hide or remove Yellow, Red and Orange state warnings on a Mediatek Android device. Its ideal for those who feel irritated by constantly seeing these warnings on reboot.

Spoiler Alert!
For Red State, you'll need to flash a factory signed firmware

Note
For models with Verified Boot (dmverity), ensure to disable dmverity first

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.

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


Steps to hide or remove Red or Orange State warning on Mediatek devices


For Red State, you'll need to flash the factory firmware. Follow the steps below to get rid of / stop seeing Yellow or Orange state warnings


See the video below or @ https://youtu.be/wFi7Ao4liNw


  1. Launch HXD


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-1.jpg]


  2. Click File


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-2.jpg]


  3. Click Open


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-3.jpg]


  4. Highlight the LK file and click Open


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-4.jpg]


  5. It should get loaded in HXD. Click Search


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-5.jpg]


  6. Click Find


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-6.jpg]


  7. Change Datatype to Text-string


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-7.jpg]


  8. Type Red State or Orange State (depending on which you wish to hide) then click OK


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-8.jpg]


  9. Take note of where the text you wish to hide begins and ends (highlighted in this example)


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-9.jpg]


  10. Change each character pair to 00 (at the second column), this will translate to . at the third column


    [Image: How-to-hide-Orange-and-Red-State-warning...ces-10.jpg]


  11. Take note of the range for Orange State warning


    [Image: How-to-hide-Orange-and-Red-State-warning...ces-11.jpg]


  12. Change each character pair to 00 (at the second column), this will translate to . at the third column


    [Image: How-to-hide-Orange-and-Red-State-warning...ces-12.jpg]


  13. Click File and select Save


    [Image: How-to-hide-Orange-and-Red-State-warning...ces-13.jpg]


  14. 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


    [Image: How-to-hide-Orange-and-Red-State-warning...ces-14.jpg]



How to remove 5 seconds boot delay time in Orange State warning on Mediatek devices


  1. Launch HXD


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-1.jpg]


  2. Click File


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-2.jpg]


  3. Click Open


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-3.jpg]


  4. Highlight the LK file and click Open


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-4.jpg]


  5. It should get loaded in HXD. Click Search


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-5.jpg]


  6. Click Find


    [Image: How-to-hide-Orange-and-Red-State-warning...ices-6.jpg]


  7. Click Hex-values tab (or set datatype to hex-values depending on the hxd tool you're using)


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-1.jpg]


  8. Search for this Hex depending on your Android version:
    Below Android 10: 7B441B681B68012B
    Android 10 and above: 7B441B681B68022B


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-2.jpg]


  9. 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


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-3.jpg]


  10. Basically you should have 08B5****7B441B681B68012B or 08B5****7B441B681B68022B (24 characters in total). Highlight all 24 characters


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-6.jpg]


  11. You copy this new 24 characters then return back to HxD window then right click on the highlighted items and select "Paste Insert":
    08B5002008BD1B681B68012B for below Android 10
    08B5002008BD1B681B68022B for Android 10 and above


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-7.jpg]


  12. The newly modified 24 characters will be displayed in red


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-4.jpg]


  13. Click File and select Save


    [Image: How-to-remove-5-seconds-boot-delay-time-...ices-5.jpg]


  14. You can now flash the modified lk file


Important Notice


RE: How to hide Orange and Red State warnings on Mediatek devices - Bhupender890 - 25-12-2019

Do we need to convert lk.back file to .img for flashing if something goes wrong or we can also flash that one which is present in firmware.

Sent from my TECNO ID5a using Hovatek Mobile


RE: How to hide Orange and Red State warnings on Mediatek devices - hovatek - 25-12-2019

(25-12-2019, 04:10 AM)Bhupender890 Wrote:  Do we need to convert lk.back file to .img for flashing if something goes wrong or we can also flash that one which is present in firmware.

Sent from my TECNO ID5a using Hovatek Mobile

You can flash that in the present firmware also


RE: How to hide Orange and Red State warnings on Mediatek devices - Bhupender890 - 25-12-2019

Thanks for the reply, I have successfully removed the orange state warning. Thank you so much for sharing the post.

Sent from my TECNO ID5a using Hovatek Mobile


RE: How to remove Orange, Yellow & Red state warnings on MTK - i6sxred - 24-03-2020

How to flash the lk.bin thing using adb?


RE: How to remove Orange, Yellow & Red state warnings on MTK - X3non - 24-03-2020

(24-03-2020, 04:53 AM)i6sxred Wrote:  How to flash the lk.bin thing using adb?

adb shell dd if=boot.img of=mount_point_of_boot
or with root access
adb shell su dd if=boot.img of=mount_point_of_boot
if you still have any problems then create a new thread for your device issue by clicking "ask question" at the top


RE: How to remove Orange, Yellow & Red state warnings on MTK - i6sxred - 24-03-2020

(24-03-2020, 11:03 AM)X3non Wrote:  
(24-03-2020, 04:53 AM)i6sxred Wrote:  How to flash the lk.bin thing using adb?

adb shell dd if=boot.img of=mount_point_of_boot
or with root access
adb shell su dd if=boot.img of=mount_point_of_boot
if you still have any problems then create a new thread for your device issue by clicking "ask question" at the top
Thanks for the help. I already flashed the uboot file trough SP Flash Tool.


RE: How to remove Orange, Yellow & Red state warnings on MTK - A S He - 01-04-2020

how will I flash the lk file?


How to remove Orange, Yellow & Red state warnings on MTK - xerxes - 01-04-2020

(01-04-2020, 05:11 PM)A S He Wrote:  how will I flash the lk file?


If you have scatter file, follow the guide @ http://www.hovatek.com/forum/thread-159.html or follow the guide @ https://www.hovatek.com/forum/thread-21970.html to generate scatter file.


RE: How to remove Orange, Yellow & Red state warnings on MTK - Muhammad Auwal Tahir - 11-05-2020

(24-12-2019, 08:00 PM)hovatek Wrote:  ...

For the time delay removal the Hex code given appeared twice in my LK.IMG file, which one should I take