lrh2000 / Xiaomi-bootloader

Some research about the bootloader used in Xiaomi phones.
88 stars 6 forks source link

If you would like to discuss this... #1

Open Zibri opened 2 years ago

Zibri commented 2 years ago

I am reversing XBL and ABL from a xiaomi redmi note 10 pro...

When you say: (TODO: I wonder why the serial number here is different from the serial number in the Android's system setting. Are they totally different things?) The serial you are referring to is the CPU serial number and not the phone serial number. That-s why they are different.

Moreover: the unlock token and signature are stored in /dev/block/by-name/oem_misc1 partition. and a flag is set to 1 in /dev/block/by-name/devinfo partition. erasing either of those will relock bootloader.

I am curious about what are these keys I found in XBL: image

Zibri commented 2 years ago

also.. I wish to know.. what happens if we erase XBL partition? will the phone boot in EDL o just die? can XBL be modified or is it checked by PBL?