guys any way to hide bootloader warning message ?

iElvis

Senior Member
May 24, 2012
5,012
2,824
253
Modville
It can't be done at the moment and likely never will be possible. I have looked into this, and it appears to be a security measure Google baked into the OS. Unless someone can somehow decompile the bootloaders and find the code that creates it (unlikely), we're stuck with it. It's not just a text overlay or splash screen like previous warnings. It's not in the LOGO partition - I've looked - so flashing that LOGO file like on previous phones won't work.
 

RusherDude

Senior Member
Aug 24, 2012
2,013
612
0
In some Motorola phone thread they able to manage it by using modified splash image but that's not possible in one plus 6
It was also done on Nexus 5X and other phones, why do you say its impossible on OnePlus 6? Someone just has to port the tool used to edit images on bootloader partitions and done.
 

iElvis

Senior Member
May 24, 2012
5,012
2,824
253
Modville
It was also done on Nexus 5X and other phones, why do you say its impossible on OnePlus 6? Someone just has to port the tool used to edit images on bootloader partitions and done.
It doesn't work because the warning screen is not contained in the LOGO file that you're thinking of. So flashing that modified file won't do anything. And that tool has already been ported:

https://forum.xda-developers.com/oneplus-6/themes/wip-splash-screen-image-injector-t3800836
 
  • Like
Reactions: RusherDude

RusherDude

Senior Member
Aug 24, 2012
2,013
612
0
  • Like
Reactions: iElvis

iElvis

Senior Member
May 24, 2012
5,012
2,824
253
Modville
Interesting. But on the Nexus 5X if I don't remember bad it was not text, it was an image included inside the aboot or imgdata partition. I bet this is the same :p.
Hmm. That is not the tool I was thinking of (I think). I looked through the bootloaders but not imgdata. Let me see what might be in there.

Edit: No such partition on the OP6. See, this is part of the issue - the partition layout on this phone bears little resemblance to non-A/B phones, even previous OP models.
 
Last edited:
  • Like
Reactions: RusherDude

RusherDude

Senior Member
Aug 24, 2012
2,013
612
0
Hmm. That is not the tool I was thinking of (I think). I looked through the bootloaders but not imgdata. Let me see what might be in there.

Edit: No such partition on the OP6. See, this is part of the issue - the partition layout on this phone bears little resemblance to non-A/B phones, even previous OP models.
This is the tool I was talking about:
https://forum.xda-developers.com/ne...-change-bootlogo-images-imgdata-tool-t3240052

But I don't remember if this was the tool that permitted deleting the bootloader unlock warning or it was another one now :S, I remember using a completely black image to replace it long ago, or maybe it was in the Nexus 5 not 5X.

It was indeed imgdata. Maybe they just fused imgdata into some bootloader partition, or another one and it may be extracted from there? If it's not an string, its for sure an image! I honestly have no idea what most of the OP6 partitions are (excluding _bs).
 
Last edited:

iElvis

Senior Member
May 24, 2012
5,012
2,824
253
Modville
This is the tool I was talking about:
https://forum.xda-developers.com/ne...-change-bootlogo-images-imgdata-tool-t3240052

But I don't remember if this was the tool that permitted deleting the bootloader unlock warning or it was another one now :S, I remember using a completely black image to replace it long ago, or maybe it was in the Nexus 5 not 5X.

It was indeed imgdata. Maybe they just fused imgdata into some bootloader partition, or another one and it may be extracted from there? If it's not an string, its for sure an image! I honestly have no idea what most of the OP6 partitions are (excluding _bs).
I think they may have split the images in imgdata into logo and something else. Most of the screen images in that list are in logo, but the unlock warning is not. But, this worth looking into.
 

RusherDude

Senior Member
Aug 24, 2012
2,013
612
0
I think they may have split the images in imgdata into logo and something else. Most of the screen images in that list are in logo, but the unlock warning is not. But, this worth looking into.
I agree, it would be interesting to see where that went. There is no point deleting that partition for no reason. How it was on OnePlus 5T? maybe we can get clues from there before the A/B transition.

Also if it's a string, wouldn't it be searchable on IDA2 or another pro tool? From that point, a simple array of bytes replacement should be trivial with a simple dd on the bootloader partition that has the AOB to replace and done.