you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 11 months ago (2 children)

Where is this message coming from? It's obviously not written by Xiaomi. If fastboot isn't available, what is available to show this error?

  • source
  • hideshow 4 child comments
  • [–] 9 points 11 months ago (1 child)

    You know it could literally just be an image????

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 11 months ago (1 child)

    It's called suspension of disbelief! If this were real, could it work?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 11 months ago

    In theory, yes. There is a first-stage bootloader (that actually finds, loads, verifies, and jumps-into fastboot) baked into the hardware (implemented in fuses and ROMs [like REAL roms, not "flashable" ROMs]), and AFAIK it cannot effectively be modified after the phone is manufactured, so they try to keep it as simple as possible.

    So if it were real, the psuedocode would be something like this:

    var fastbootPartition=locateFastbootPartition();
    
    if (fastbootPartition == null || !verifySignature(fastbootPartition))
    {
         // AFAIK, this code block is already a thing in production, but the
        // message is more like a "signature failed" or "corrupted" than
        // a "you done goofed".
        displayRudeMessage();
        halt();
    }
    
    var fastbootAddress=load(fastBootPartition);
    jumpTo(fastbootAddress);
    
  • source
  • parent