-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild_boot_zeta.sh
More file actions
executable file
·27 lines (25 loc) · 975 Bytes
/
build_boot_zeta.sh
File metadata and controls
executable file
·27 lines (25 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Andromeda888 UEFI as Boot (Dual Boot)
cat ./ImageResources/Zeta/patchedkernel ./ImageResources/Zeta/SM8350_EFI.fd > ./ImageResources/Zeta/boot.payload.bin
python3 ./ImageResources/mkbootimg.py \
--kernel ./ImageResources/Zeta/boot.payload.bin \
--ramdisk ./ImageResources/Zeta/ramdisk \
-o ./ImageResources/Zeta/boot.img \
--pagesize 4096 \
--header_version 3 \
--cmdline "" \
--base 0x0 \
--os_version 11.0.0 \
--os_patch_level 2024-10-01
# Andromeda888 UEFI as Boot (Dual Boot) (SecureBoot Disabled)
cat ./ImageResources/Zeta/patchedkernel ./ImageResources/Zeta/SM8350_EFI_NOSB.fd > ./ImageResources/Zeta/boot_nosb.payload.bin
python3 ./ImageResources/mkbootimg.py \
--kernel ./ImageResources/Zeta/boot_nosb.payload.bin \
--ramdisk ./ImageResources/Zeta/ramdisk \
-o ./ImageResources/Zeta/boot_nosb.img \
--pagesize 4096 \
--header_version 3 \
--cmdline "" \
--base 0x0 \
--os_version 11.0.0 \
--os_patch_level 2024-10-01