repo init -u https://github.com/omnirom/android.git -b
android-12.1
repo sync [xtrnaw7@t15g /data/develop/android/OmniROM]$ cat
.repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8"
name="android_device_asus_zenfone8" remote="omnirom"
revision="android-12.0" />
<project path="vendor/asus" name="proprietary_vendor_asus"
remote="DonkeyCoyote" revision="android-12.1" />
</manifest> repo sync . build/envsetup.sh
brunch omni_zenfone8-user
[xtrnaw7@t15g /data/develop/android/OmniROM]$ ls -ltr
out/target/product/zenfone8/omni-12-20220621-zenfone8-HOMEMADE.zip
-rw-rw-r--. 25 xtrnaw7 xtrnaw7 1253703465 Jun 25 10:03
out/target/product/zenfone8/omni-12-20220621-zenfone8-HOMEMADE.zip
[xtrnaw7@t15g /data/develop/android/OmniROM]$ [xtrnaw7@t15g /data/develop/android/OmniROM]$ cat
.repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8"
name="android_device_asus_zenfone8" remote="omnirom"
revision="android-12.0" />
<project path="vendor/asus" name="proprietary_vendor_asus"
remote="DonkeyCoyote" revision="android-12.1" />
<project path="vendor/microg"
name="android_prebuilts_prebuiltapks" remote="omnirom"
revision="android-12.0" />
</manifest>
[xtrnaw7@t15g /data/develop/android/OmniROM]$
repo sync
export ROM_BUILDTYPE=MICROG
brunch omni_zenfone8-user [xtrnaw7@t15g /data/develop/android/OmniROM]$ ls -ltr
out/target/product/zenfone8/omni-12-20220621-zenfone8-MICROG.zip
-rw-rw-r--. 25 xtrnaw7 xtrnaw7 1253703465 Jun 25 10:03
out/target/product/zenfone8/omni-12-20220621-zenfone8-MICROG.zip
[xtrnaw7@t15g /data/develop/android/OmniROM]$
repo init -u https://github.com/omnirom/android.git -b
android-13.0
repo sync [xtrnaw7@t15g /data/develop/android/OmniROM_13.0]$ cat
.repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8"
name="android_device_asus_zenfone8" remote="omnirom"
revision="android-13.0" />
<project path="vendor/asus" name="proprietary_vendor_asus"
remote="DonkeyCoyote" revision="android-13.0" />
<project path="vendor/microg"
name="android_prebuilts_prebuiltapks" remote="omnirom"
revision="android-13.0" />
<project path="vendor/images/asus"
name="android_vendor_images_asus" remote="gitlab"
revision="android-13.0" />
</manifest>
[xtrnaw7@t15g /data/develop/android/OmniROM_13.0]$
repo sync
# optional:
#
# to create an OmniROM image with MicroG packages set the
environment variable ROM_BUILDTYPE to MICROG before starting the
build
#
# to create an OmniROM image with GAPPS packages set the
environment variable ROM_BUILDTYPE to GAPPS before starting the
build
#(that will only work if the repositories for the GAPPS are
configured, of course)
#
export ROM_BUILDTYPE=MICROG
. build/envsetup.sh
brunch omni_zenfone8-user[xtrnaw7@t15g /data/develop/android/OmniROM_13.0]$ ls -l
out/target/product/zenfone8/omni-13-2022*-zenfone8-*.zip
-rw-rw-r--. 3 xtrnaw7 xtrnaw7 1258920226 Nov 14 11:55
out/target/product/zenfone8/omni-13-202211141148-zenfone8-MICROG.zip
[xtrnaw7@t15g /data/develop/android/OmniROM_13.0]$
[xtrnaw7@t15g /data/develop/android/OmniROM]$ ls -l
./build/make/target/product/security/platform.*
-rw-------. 1 xtrnaw7 xtrnaw7 1219 Jun 25 09:39
./build/make/target/product/security/platform.pk8 -rw-rw-r--. 1
xtrnaw7 xtrnaw7 1460 Jun 25 09:39
./build/make/target/product/security/platform.x509.pem
[xtrnaw7@t15g /data/develop/android/OmniROM]$repo init -u https://github.com/omnirom/android.git -b
android-14.0 --git-lfsrepo sync[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ cat
.repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8"
name="android_device_asus_zenfone8" remote="omnirom"
revision="android-14.0" />
<project path="vendor/asus" name="proprietary_vendor_asus"
remote="DonkeyCoyote" revision="android-14.0" />
<project path="vendor/microg"
name="android_prebuilts_prebuiltapks" remote="omnirom"
revision="android-13.0" />
<project path="vendor/images/asus"
name="android_vendor_images_asus" remote="gitlab"
revision="android-13.0" />
</manifest>
[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $
repo sync# optional:
#
# to create an OmniROM image with MicroG packages set the
environment variable ROM_BUILDTYPE to MICROG before starting the
build
#
# to create an OmniROM image with GAPPS packages set the
environment variable ROM_BUILDTYPE to GAPPS before starting the
build
#(that will only work if the repositories for the GAPPS are
configured, of course)
#
export ROM_BUILDTYPE=MICROG
. build/envsetup.sh
brunch omni_zenfone8-user
[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ ls -l
out/target/product/zenfone8/omni-14-202311*zip
-rw-rw-r--. 3 xtrnaw7 xtrnaw7 1363298353 Nov 20 10:22
out/target/product/zenfone8/omni-14-20231119-zenfone8-MICROG.zip
[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $
[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ ls -l
./build/make/target/product/security/platform.*
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1216 Nov 14 15:24
./build/make/target/product/security/platform.pk8
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1675 Nov 14 15:24
./build/make/target/product/security/platform.x509.pem
[ OmniRom 14 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ . build/envsetup.sh
lunch
make <options>. build/envsetup
# select the target hardware
#
breakfast omni_zenfone8-user
# Now instead of following the rest of the guide
(which will compile both Android and the kernel
# for your device), simply compile the kernel:
#
mka kernel
# This command will also generate the device tree,
initramfs and boot.img images
#
mka bootimage
repo init -u https://github.com/omnirom/android.git -b
android-15 --git-lfs
[ OmniRom 15 - xtrnaw7@t15g
/data/develop/android/OmniROM_15.0 ] $ date
Sat Mar 8 09:57:54 AM CET 2025
[ OmniRom 15 - xtrnaw7@t15g
/data/develop/android/OmniROM_15.0 ] $
[ OmniRom 15 (devpool) - xtrnaw7@t15g
/devpool001/develop/OmniROM_15.0 ] $ cat
.repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="vendor/asus"
name="proprietary_vendor_asus" remote="DonkeyCoyote"
revision="android-15" />
<project path="vendor/microg" name="android_prebuilts_prebuiltapks"
remote="omnirom" revision="android-14.0" />
<project path="vendor/images/asus"
name="android_vendor_images_asus" remote="gitlab"
revision="android-14.0" />
<project path="vendor/gapps" name="android_vendor_gapps"
remote="gitlab" revision="android-15" />
</manifest>
[ OmniRom 15 (devpool) - xtrnaw7@t15g
/devpool001/develop/OmniROM_15.0 ] $
repo-lfs# optional:
#
# to build an OmniROM image with MicroG packages, set the
environment variable ROM_BUILDTYPE to MICROG before starting the
build
# (of course this only works if the
repositories with MicroG are configured in the manifest files)
#
# to build an OmniROM image with GAPPS packages, set the
environment variable ROM_BUILDTYPE to GAPPS before starting the
build.
# (of course this only works if the repositories with GAPPS are
configured in the manifest files)
#
export ROM_BUILDTYPE=MICROG
. build/envsetup.sh
lunch omni_zenfone8-ap4a-user
brunch omni_zenfone8-ap4a-user
[ OmniRom 15 - xtrnaw7@t15g
/data/develop/android/OmniROM_15.0 ] $ ls -l
out/target/product/zenfone8/omni-15-*zip
-rw-rw-r--. 2 xtrnaw7 xtrnaw7 1405496265 Nov 21 23:50
out/target/product/zenfone8/omni-15-20241121-zenfone8-MICROG.zip
[ OmniRom 15 - xtrnaw7@t15g /data/develop/android/OmniROM_15.0 ]
$
[ OmniROM 15 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ ls -l
./build/make/target/product/security/platform.*
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1216 Nov 14 15:24
./build/make/target/product/security/platform.pk8
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1675 Nov 14 15:24
./build/make/target/product/security/platform.x509.pem
[ OmniROM 15 Dev - xtrnaw7@t15g
/data/develop/android/OmniROM_14.0 ] $ "proprietary_vendor_asus"
from DonkeyCoyote
repo init -u https://github.com/omnirom/android.git -b
android-16 --git-lfs
repo-lfs# optional:
#
# to build an OmniROM image with MicroG packages, set the
environment variable ROM_BUILDTYPE to MICROG before starting the
build
# (of course this only works if the
repositories with MicroG are configured in the manifest files)
#
# to build an OmniROM image with GAPPS packages, set the
environment variable ROM_BUILDTYPE to GAPPS before starting the
build.
# (of course this only works if the repositories with GAPPS are
configured in the manifest files)
#
export ROM_BUILDTYPE=MICROG
. build/envsetup.sh
lunch omni_zenfone8-bp2a-user
brunch zenfone8 bp2a user
[ OmniRom 16 - xtrnaw7@t15g
/data/develop/android/OmniROM_16.0 ] $ ls -i -l
out/target/product/zenfone8/omni-16-*zip
97953082 -rw-rw-r--. 1 xtrnaw7 xtrnaw7 1426897040 Jul 17 19:16
out/target/product/zenfone8/omni-16-20250717-zenfone8-MICROG.zip
97953086 -rw-rw-r--. 3 xtrnaw7 xtrnaw7 1672061231 Jul 18 18:43
out/target/product/zenfone8/omni-16-20250718-zenfone8-GAPPS.zip
[ OmniRom 16 - xtrnaw7@t15g /data/develop/android/OmniROM_16.0 ]
$
[ OmniRom 15 - xtrnaw7@t15g /devpool001/develop/OmniROM_16.0
] $ ls -l ./build/make/target/product/security/platform.*
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1219 Jul 17 16:43
./build/make/target/product/security/platform.pk8
-rw-rw-r--. 1 xtrnaw7 xtrnaw7 1460 Jul 17 16:43
./build/make/target/product/security/platform.x509.pem
[ OmniRom 15 - xtrnaw7@t15g /devpool001/develop/OmniROM_16.0 ] $
| Recovery |
HowTo |
official supported? |
Comment |
| TWRP
|
How to compile TWRP for the ASUS Zenfone8 | yes |
This recovery can be used if either OmniROM
(any version), LineageOS 19.x or older, or the
original Android from ASUS is installed on the
phone |
| OrangeFox |
How to compile the OrangeFox Recovery for the ASUS Zenfone 8 | no |
OrangeFox is a recovery based on TWRP
This recovery can be used if either OmniROM (any version), LineageOS 19.x or older, or the original Android from ASUS is installed on the phone |
| TWRP |
How
to use TWRP if LineageOS 20.x is installed How to create a TWRP image for LineageOS based ROMs using a script |
no |
This recovery can be used if Lineage
20.x, Lineage 21.x or any Custom ROM based
on these LineageOS versions is installed. Note that it's necessary to create a unique recovery image for each LineageOS version |
| OrangeFox |
How to create a TWRP recovery image for LineageOS 22.x | no |
This recovery can be used if Lineage
22.x or any Custom ROM based on this LineageOS
version is installed. Note that it's necessary to create a unique recovery image for each LineageOS version |
e-codeversionnumber-osversion-YYYYMMDDbuildid-UNOFFICIAL-devicename.zip -e "BRANCH_NAME=v2.9-t" \| URL |
Contents |
| https://gitlab.e.foundation/e/os/releases/-/tags | The list of defined tags for /e/
|
| https://gitlab.e.foundation/e/os/releases/-/branches |
The list of defined branches for /e/ |
| https://doc.e.foundation/support-topics/docker-command-details | Important parameter for the docker command
for buildling /e/ |
| https://gitlab.e.foundation/e/os/docker-lineage-cicd/-/blob/master/Dockerfile.community | The list of environment variables that can
be used for the docker command to build /e/
|
| https://community.e.foundation/c/e-devices/unofficial-builds/ | The discussion forum for unofficial builds
of /e/ |
| https://gitlab.e.foundation/e |
repositories with the source code for /e/
|
| https://wiki.lineageos.org/devices/sake/ | Information about LineageOS for the
ASUS Zenfone 8 |
| https://wiki.lineageos.org/devices/sake/build/ | Instructions to build LineageOS for
the ASUS Zenfone 8 |
TWRP Dev - xtrnaw7@t15g /data/develop/android/twrp ] $
lunch twrp_I006D-eng
In file included from build/make/core/config.mk:313:
In file included from build/make/core/envsetup.mk:312:
build/make/core/product_config.mk:160: error: Can not locate
config makefile for product "twrp_I006D".
11:35:37 dumpvars failed with: exit status 1
Device I006D not found. Attempting to retrieve device
repository from TeamWin Github (http://github.com/TeamWin).
Found repository: android_device_asus_I006D
Checking branch info
Calculated revision: android-12.1
Adding dependency:
Repository: android_device_asus_I006D
Branch: android-12.1
Remote: TeamWin
Path: device/asus/I006D
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 12.846s
NOT Garbage collecting: 0% (0/1), done in 0.001s
repo sync has finished successfully.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency:
Repository: android_device_asus_sm8350-common
Branch: android-12.1
Remote: TeamWin
Path: device/asus/sm8350-common
Syncing dependencies
Fetching: 100% (1/1), done in 15.848s
NOT Garbage collecting: 0% (0/1), done in 0.001s
repo sync has finished successfully.
Looking for dependencies
device/asus/sm8350-common has no additional dependencies.
Done
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=99.87.36
TARGET_PRODUCT=twrp_I006D
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.0.9-200.fc36.x86_64-x86_64-Fedora-Linux-36-(MATE-Compiz)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SP2A.220405.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/asus/sm8350-common
============================================
[ TWRP Dev - xtrnaw7@t15g /data/develop/android/twrp ] $[ TWRP Dev - xtrnaw7@t15g /data/develop/android/twrp ] $
time mka bootimage
build/make/core/soong_config.mk:197: warning:
BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
build/make/core/soong_config.mk:198: warning:
BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=99.87.36
TARGET_PRODUCT=twrp_I006D
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.0.9-200.fc36.x86_64-x86_64-Fedora-Linux-36-(MATE-Compiz)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SP2A.220405.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/asus/sm8350-common
============================================
[ 78% 246/312] including bootable/recovery/Android.mk ...
bootable/recovery/prebuilt/Android.mk:437: warning: vendor_hw:
bootable/recovery/prebuilt/relink.sh
out/target/product/I006D/recovery/root/vendor/bin/hw
[ 95% 299/312] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning:
BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning:
BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[ 30% 8637/28297] //bionic/libc:libc_bionic clang
arch-arm64/bionic/setjmp.S
....
Removing unneeded service: keymaster-4-1-citadel
Service_Cleanup script complete.
[100% 28297/28297] Target boot image from recovery:
out/target/product/I006D/boot.img
#### build completed successfully (14:50 (mm:ss)) ####
real 14m50.110s
user 182m6.217s
sys 11m58.492s
[ TWRP Dev - xtrnaw7@t15g /data/develop/android/twrp ] $
bootctl
lpdump
lpdumpd
lptools