This Guide will show your how to boot UEFI on your Device.
Table of Contents |
---|
|
- PC / Laptop
- Fastboot or Odin depending on your Device
- Unlocked Bootloader
- UEFI Image
Let's begin with getting the UEFI Boot Image.
Download the UEFI Image or compile a UEFI Image, Follow this Guide to compile a UEFI Image.
NOTE: For Devices with fastboot only!
In this Method we don't flash the Device, We only put UEFI in RAM and boot from it.
Open a Terminal and execute the fastboot boot
command:
fastboot boot <Path to UEFI Image>
After that your Device should boot UEFI.
Keep in mind that you need to do that everytime if you want to boot UEFI.
If you don't wanna keep executing the command to boot UEFI, this Method will show you how to Keep UEFI even after Reboot.
First you should backup your Boot Partition if you decide to remove UEFI.
After you backed up the Boot Partition we can move on to flashing UEFI.
Open a Terminal and execute the fastboot flash
command:
# NOTE: On A/B Devices you need to add _a or _b at the end of boot depending on what Slot you are
fastboot flash boot <Path to UEFI Image>
If your Device is a Samsung Device you probally use Odin to flash the Device.
First rename the UEFI Image to boot.img
or else Odin won't flash it.
Then you need to compress the UEFI Image in a .tar
File so that Odin can read it.
After that Open Odin and select the UEFI Image on tha AP Tab.
Now press Start and it will start Flashing.
Once that is done it will reboot and boot the UEFI Image.