Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Hovatek is hiring: Application is open to residents of Lagos, Nigeria only! Click Here To Apply
Telegram Channel: Join the discussions @ t.me/Hovatek

  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
Pages (4): 1 2 3 4 Next »
 
Thread Rating:
  • 1 Vote(s) - 5 Average

Thread Modes

[Tutorial] How to remove Orange, Yellow & Red state warnings on MTK

hovatek
Administrator
*******
Posts: 46,772
Threads: 1,179
Joined: Oct 2013
Reputation: 422
#1

24-12-2019, 08:00 PM


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


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: 7B441B681B68012B

    [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 (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 08B5002008BD1B681B68012B then return back to HxD window then right click on the highlighted items and select "Paste Insert"

    [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
  • 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



Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
(This post was last modified: 12-12-2020, 07:47 AM by hovatek.)
Website Find
Reply
Bhupender890
Experienced Member
***
Posts: 83
Threads: 12
Joined: Apr 2019
Reputation: 0
#2

25-12-2019, 04:10 AM
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
(This post was last modified: 25-12-2019, 04:33 AM by Bhupender890.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,772
Threads: 1,179
Joined: Oct 2013
Reputation: 422
#3

25-12-2019, 07:18 AM
(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

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Website Find
Reply
Bhupender890
Experienced Member
***
Posts: 83
Threads: 12
Joined: Apr 2019
Reputation: 0
#4

25-12-2019, 08:15 AM
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
Find
Reply
i6sxred
Newbie
Posts: 2
Threads: 0
Joined: Sep 2019
Reputation: 0
#5

24-03-2020, 04:53 AM
How to flash the lk.bin thing using adb?
Find
Reply
X3non
Hovatek Representative
Posts: 18,361
Threads: 550
Joined: Jul 2014
Reputation: 326
#6

24-03-2020, 11:03 AM
(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
Find
Reply
i6sxred
Newbie
Posts: 2
Threads: 0
Joined: Sep 2019
Reputation: 0
#7

24-03-2020, 05:12 PM
(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.
Find
Reply
A S He
Newbie
Posts: 1
Threads: 0
Joined: Mar 2020
Reputation: 0
#8

01-04-2020, 05:11 PM
how will I flash the lk file?
Find
Reply
xerxes
Senior Member
*****
Posts: 8,300
Threads: 182
Joined: Feb 2017
Reputation: 95
#9

01-04-2020, 07:31 PM
(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://forum.hovatek.com/thread-159.html or follow the guide @ https://forum.hovatek.com/thread-21970.html to generate scatter file.
(This post was last modified: 01-04-2020, 07:32 PM by xerxes.)
Find
Reply
Muhammad Auwal Tahir
Junior Member
*
Posts: 24
Threads: 3
Joined: Jan 2018
Reputation: 0
#10

11-05-2020, 07:20 PM
(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
(This post was last modified: 12-05-2020, 08:44 AM by X3non.)
Find
Reply
« Next Oldest | Next Newest »

Share

Share Tweet Share Share Pin
Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread / Author Replies Views Last Post
Camon 15 red screen error
Chrissanctus
19
560
Last Post by Chrissanctus
09-01-2021, 08:12 PM
Realme 6s Red State
lampardrobi
5
167
Last Post by X3non
07-01-2021, 10:01 AM
removing the orange state delay on mediatek devices
wilemansion
1
200
Last Post by wilemansion
06-01-2021, 12:28 AM
Nokia 1 TA-1047 in Red State
hartmut
38
8,197
Last Post by DesCoene
16-12-2020, 12:03 PM
LG X420EM stock on red state
tyno81
7
299
Last Post by X3non
20-11-2020, 10:55 AM

  • View a Printable Version


Users browsing this thread: 1 Guest(s)
  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode