[Tutorial] How to fix MTK orange, yellow & red state warnings
[Tutorial] How to fix MTK orange, yellow & red state warnings
fastboot flash lk lk.img
(19-03-2022, 11:20 AM)neiviv-ui Hello everyone,
I had the same problem than everybody, and with small reverse engineering (Ghidra), I found out the new value, it's :
08B5****7B441B681B680122B, so 08B5****7B441B681B68022B.
The reason is quite simple, it's because the patch prevented a function, which checked if the device could be trusted, from working by making it directly return 0. But, since (probably) Android 10, the function changed a little bit, and the binary code did so (here, it's a variable, 'state', I think, that is compared to 0x02 were it was to 0x01 before).
The same patch works perfectly, so:
If device is less than android 10:
- Dump lk.img, mtkclient works perfectly, but other tools may also work (not for me)
- Locate 08B5****7B441B681B68012B.
- Change the first 6 bytes to 08B5002008BD, so 08B5002008BD1B681B68012B
- Flash lk.img using
Code:fastboot flash lk lk.img
Else:
- Same
- Locate 08B5****7B441B681B68022B.
- Same, so 08B5002008BD1B681B68022B.
- Same
Since it prevent the function from running, the text (at least for 'Orange state' case) should disappear.
I, or Hovatek forum can't be taken as responsible if you damage your phone.
/* Do it at your own risks */
(19-03-2022, 11:20 AM)neiviv-ui Hello everyone,
I had the same problem than everybody, and with small reverse engineering (Ghidra), I found out the new value, it's :
08B5****7B441B681B680122B, so 08B5****7B441B681B68022B.
The reason is quite simple, it's because the patch prevented a function, which checked if the device could be trusted, from working by making it directly return 0. But, since (probably) Android 10, the function changed a little bit, and the binary code did so (here, it's a variable, 'state', I think, that is compared to 0x02 were it was to 0x01 before).
The same patch works perfectly, so:
If device is less than android 10:
- Dump lk.img, mtkclient works perfectly, but other tools may also work (not for me)
- Locate 08B5****7B441B681B68012B.
- Change the first 6 bytes to 08B5002008BD, so 08B5002008BD1B681B68012B
- Flash lk.img using
Code:fastboot flash lk lk.img
Else:
- Same
- Locate 08B5****7B441B681B68022B.
- Same, so 08B5002008BD1B681B68022B.
- Same
Since it prevent the function from running, the text (at least for 'Orange state' case) should disappear.
I, or Hovatek forum can't be taken as responsible if you damage your phone.
/* Do it at your own risks */
(07-05-2022, 01:31 PM)Sandeepth So disabling delay function will also remove orange state warning ? Or both needs to be edited ? Kindly clarify
(21-10-2020, 01:14 PM)X3non(21-10-2020, 04:53 AM)tbtbtata ...
this doesn't seem to have anything to do with the patch explained here
create a new thread for your device issue by clicking "Ask Question" at the top
(09-05-2022, 01:21 PM)hovatekFor what it's worth, on my lk image files, I could not edit the orange / red states as indicated, but I could apply the "5 second delay" patch, and it got rid of the warning at the same time.(07-05-2022, 01:31 PM)Sandeepth So disabling delay function will also remove orange state warning ? Or both needs to be edited ? Kindly clarify
Both need to be edited
(09-05-2022, 01:21 PM)hovatek(07-05-2022, 01:31 PM)Sandeepth So disabling delay function will also remove orange state warning ? Or both needs to be edited ? Kindly clarify
Both need to be edited
(09-10-2022, 10:01 AM)kelvinchinedu Because u did not edit it well ,that is not the start of orange , neither the end