Published HowTos Overview

Last Update : 04.08.205




Introduction


This page contains a list of URLs for HowTos I published on other platforms (like XDA).

All HowTos are also documented this page

My HowTos for Android

The documentation for my Magisk Modules is here:

Magisk Module documentation

And my repositories on github are available via this URL:

https://github.com/bnsmb




Contents


  1. Published HowTos Overview
    1. Introduction
    2. Contents
    3. History
    4. Published HowTos
      1. General Android related articles
      2. Articles about compiling executables and libraries for Android on the PC or on the phone
      3. Magisk related articles
      4. TWRP related articles
      5. OrangeFox related articles
      6. OmniROM related articles
      7. LineageOS related articles
      8. /e/ related articles
      9. MicroG related aritcles
      10. General ROM Development related articles
      11. ASUS Zenfone 8 related articles
      12. Other ROMs for the ASUS Zenfone 8
      13. General articles


History


Changelog

02.08.2025

initial release

04.08.2025

added the section Other ROMs for the ASUS Zenfone 8          

---


Published HowTos



 


General Android related articles



How to install packages (apk files) for Android via script

https://xdaforums.com/t/how-to-install-packages-apk-files-for-android-via-script.4464987/


How to trigger an action when a property is changed

https://xdaforums.com/t/how-to-trigger-an-action-when-a-property-is-changed.4501489/


How to backup the data from the phone using rsync and ssh (including some hints for using sshd on an Android phone)


https://xdaforums.com/t/how-to-backup-the-data-from-the-phone-using-rsync-and-ssh-including-some-hints-for-using-sshd-on-an-android-phone.4462327/


How to change the home directory for the user root on an Android phone

https://xdaforums.com/t/how-to-change-the-home-directory-for-the-user-root-on-an-android-phone.4469305/


How to process Android boot image files on a PC running the Linux OS

https://xdaforums.com/t/how-to-process-android-boot-image-files-on-a-pc-running-the-linux-os.4513845/


How to change files in Android XML Binary format

https://xdaforums.com/t/how-to-change-files-in-android-xml-binary-format.4521513/


How to fix the error "Cannot load Android system. Your data may be corrupt".

https://xdaforums.com/t/how-to-fix-the-error-cannot-load-android-system-your-data-may-be-corrupt.4534237/


How to enable access via adb on a new installed OS

https://xdaforums.com/t/how-to-enable-access-via-adb-on-a-new-installed-os.4535165/


Some hints about the Android safe mode

https://xdaforums.com/t/some-hints-about-the-android-safe-mode.4536269/


How to install and configure the Android OS via script

https://xdaforums.com/t/how-to-install-and-configure-the-android-os-via-script.4546375/


How to install the Android OS and Magisk via script and also enable access via adb

https://xdaforums.com/t/how-to-enable-access-via-adb-on-a-new-installed-os.4535165/#post-89088101


How to configure the WiFI in Android via Script

https://xdaforums.com/t/how-to-configure-the-wifi-in-android-via-script.4548489/


How to configure the WiFI in Android via cli command

https://xdaforums.com/t/how-to-configure-the-wifi-in-android-via-cli-command.4626435/


How to upgrade the OS with another Android "distribution"

https://xdaforums.com/t/how-to-upgrade-the-os-with-another-android-distribution.4595049/


How to temporary change a file on a read-only filesystem in the Android OS 

https://xdaforums.com/t/how-to-temporary-change-a-file-on-a-read-only-filesystem-in-the-android-os.4595429/


How to change the kernel boot parameter for the Android kernel 

https://xdaforums.com/t/how-to-change-the-kernel-boot-parameter-for-the-android-kernel.4600821/


How to add files to the ramdisk used for the recovery boot

https://xdaforums.com/t/how-to-add-files-to-the-ramdisk-used-for-the-recovery-boot.4678287/


How to get or set the lock screen settings via CLI command

https://xdaforums.com/t/how-to-get-or-set-the-lock-screen-settings-via-cli-command.4647038/


How to enable adb via WiFi


https://xdaforums.com/t/how-to-enable-adb-via-wifi.4651610/


How to get the application name and version from an apk file

https://xdaforums.com/t/how-to-get-the-application-name-and-version-from-an-apk-file.4654732/


How to get the security patch level in an ROM image zip file

https://xdaforums.com/t/how-to-get-the-security-patch-level-used-in-a-rom-image-zip-file.4666081/


How to add missing SELinux policies dynamically using Magisk

https://xdaforums.com/t/how-to-add-missing-selinux-policies-dynamically-using-magisk.4671716/


How to re-sign an apk file

https://xdaforums.com/t/how-to-re-sign-an-apk-file.4671724/


How to "simulate" prebuild apps using Magisk

https://xdaforums.com/t/how-to-simulate-prebuild-apps-using-magisk.4671914/


How to reset the USB port used to connect an Android phone

https://xdaforums.com/t/how-to-reset-the-usb-port-used-to-connect-an-android-phone.4672845/


Some hints about adb and fastboot usage in Linux

https://xdaforums.com/t/some-hints-about-adb-and-fastboot-usage-in-linux.4673460/


How to automatically start adbd as root user after starting the phone

https://xdaforums.com/t/how-to-automatically-start-adbd-as-root-user-after-starting-the-phone.4682701/


How to list bind mounts

https://xdaforums.com/t/how-to-list-bind-mounts.4684276/


How to create logical devices using the device mapper from Android

https://xdaforums.com/t/guide-how-to-create-logical-devices-using-the-device-mapper-from-android.4690991/


How to create a new dynamic partition in the partition super

https://xdaforums.com/t/guide-how-to-create-a-new-dynamic-partition-in-the-partition-super.4691372/


How to create logical devices for disk image files

https://xdaforums.com/t/guide-how-to-create-logical-devices-for-disk-image-files.4691642/


Some hints about the settings command

https://xdaforums.com/t/some-hints-about-the-settings-command.4706757/


Remote access to an Android phone

https://xdaforums.com/t/guide-remote-access-to-an-android-phone.4706767/


How to connect to Android via ssh as user shell without root access

https://xdaforums.com/t/guide-how-to-connect-to-android-via-ssh-as-user-shell-without-root-access.4707534/


How to run long running programs in an adb shell

https://xdaforums.com/t/guide-how-to-run-long-running-programs-in-an-adb-shell.4709036/


How to define the directory for temporary files for the shell

https://xdaforums.com/t/guide-how-to-define-the-directory-for-temporary-files-for-the-shell-system-bin-sh.4714737/


How to connect via fastboot to a phone connected to another PC

https://xdaforums.com/t/guide-how-to-connect-via-fastboot-to-a-phone-connected-to-another-pc.4715909/


How to become the user shell in a local terminal on the phone

https://xdaforums.com/t/guide-how-to-become-the-user-shell-in-a-local-terminal-on-the-phone.4715911/


How to start or stop an app via CLI command

https://xdaforums.com/t/guide-how-to-start-or-stop-an-app-via-cli-command.4727167/


How to enable adb via WiFi with a fixed TCP port

https://xdaforums.com/t/guide-how-to-enable-adb-via-wifi-with-a-fixed-tcp-port.4735120/


How to use overlay mounts in Android to make /system and other directories writable

https://xdaforums.com/t/guide-how-to-use-overlay-mounts-in-android-to-make-system-and-other-directories-writable.4746279/



Articles about compiling executables and libraries for Android on the PC or on the phone



How to compile a C program for Android using the Android NDK CLI tools

https://xdaforums.com/t/how-to-compile-a-c-program-for-android-using-the-android-ndk-cli-tools.4656126/


Compiling C programs in Android

https://xdaforums.com/t/how-to-compile-c-programs-in-android.4683687/


Compiling C programs in Android using gcc

https://xdaforums.com/t/guide-compiling-c-programs-in-android-using-gcc.4695529/


How to compile Perl for Android

https://xdaforums.com/t/how-to-compile-c-programs-in-android.4683687/#post-89651799

How to create a dynamically linked binary for Android using C or C++

https://xdaforums.com/t/guide-how-to-create-a-dynamically-linked-binary-for-android-using-c-or-c.4708356/


How to install a toolchain for clang on phones without root access

https://xdaforums.com/t/guide-how-to-install-a-toolchain-for-clang-on-phones-without-root-access.4710235/


How to compile jq in Android using the clang19 toolchain on the phone


https://xdaforums.com/t/guide-how-to-compile-jq-in-android-using-the-clang19-toolchain-on-the-phone.4714895/


How to compile nano in Android using the clang19 toolchain on the phone

https://xdaforums.com/t/guide-how-to-compile-nano-in-android-with-the-clang19-toolchain-on-the-phone.4714967/


How to handle missing definitions in the source files when compiling under Andrid

https://xdaforums.com/t/guide-how-to-handle-missing-definitions-in-the-source-files-when-compiling-under-android.4730473/


How to install clang20 on phones without root access

https://xdaforums.com/t/guide-how-to-install-clang20-on-phones-without-root-access.4732382/



Magisk related articles



Some hints for using Magisk on Android phones

https://xdaforums.com/t/some-hints-for-using-magisk-on-android-phones.4471857/


Where does the Magisk App store the settings?

https://xdaforums.com/t/where-does-the-magisk-app-store-the-settings.4527129/


How to install Magisk into the boot partition using a script

https://xdaforums.com/t/how-to-install-magisk-into-the-boot-partition-using-a-script.4456621/


How to change files in the directory /system with Magisk

https://xdaforums.com/t/how-to-change-files-in-the-directory-system-with-magisk.4454489/


How to change any file or directory using Magisk

https://xdaforums.com/t/how-to-change-any-file-or-directory-using-magisk.4543103/


How to run a script at every boot using Magisk

https://xdaforums.com/t/how-to-run-at-script-a-every-boot-using-magisk.4454493/


How to change files in the boot image using Magisk

https://xdaforums.com/t/how-to-change-files-in-the-boot-image-using-magisk.4495645/


How to changes files in the boot image using Magisk if there is no ramdisk in the boot partition

https://xdaforums.com/t/how-to-change-files-in-the-boot-image-using-magisk-if-there-is-no-ramdisk-in-the-boot-partition.4678017/


Hints for adding files to the boot partition 

https://xdaforums.com/t/how-to-change-files-in-the-boot-image-using-magisk.4495645/#post-88571069


How to run a script at shutdown

https://xdaforums.com/t/how-to-run-a-script-at-shutdown.4500719/


How to restore the boot partition to remove Magisk


https://xdaforums.com/t/how-to-restore-the-boot-partition-to-remove-magisk.4515759/


How to enable root access using Magisk in a script

https://xdaforums.com/t/how-to-enable-root-access-using-magisk-in-a-script.4527035/


How to install Magisk v26.0 or newer via script

https://xdaforums.com/t/how-to-install-magisk-into-the-boot-partition-using-a-script.4456621/post-88429939


How to enable and configure the Magisk DenyList via cli commands 

https://xdaforums.com/t/how-to-enable-and-configure-the-magisk-denylist-via-cli-commands.4648761/


Some hints for writing init scripts for Magisk

https://xdaforums.com/t/guide-some-hints-for-writing-init-scripts-for-magisk.4689292/


How to install Magisk Modules via script

https://xdaforums.com/t/guide-how-to-install-magisk-modules-via-a-script.4694326/


Magisk Module with OpenSSH for Android

https://xdaforums.com/t/module-openssh-for-android.4696499/


Magisk Module with network tools for CLI sessions

https://xdaforums.com/t/module-network-tools-for-cli-sessions.4696517/


Magisk Module with Python 3.14

https://xdaforums.com/t/module-python-3-14-for-android.4696862/  (v1.1)
https://xdaforums.com/t/module-python-3-14-with-pip-and-ssl-support.4730226/ (v2.x)


Magisk Module with Python 3.10

https://xdaforums.com/t/module-python-3-10-for-android.4697340/


Magisk Module with clang19, make, pkg-config, and the Android NDK r27b

https://xdaforums.com/t/magisk-module-with-clang19-and-the-ndk-r27b.4700994/


Magisk Module with clang20, make, pkg-config, pkgconf, and the Android NDK r29 beta1

https://xdaforums.com/t/module-magisk-module-with-clang20-and-the-ndk-r29-beta1.4731789/


How to recreate bind mounts for files in Magisk Modules


https://xdaforums.com/t/how-to-recreate-bind-mounts-for-files-in-magisk-module.4701604/


How to list all installed modules in adb session

https://xdaforums.com/t/how-to-list-all-installed-modules-in-adb-session.4702069/


Some hints for creating Magisk Modules

https://xdaforums.com/t/guide-some-hints-for-creating-magisk-modules.4705632/


How to find a hidden Magisk App

https://xdaforums.com/t/guide-how-to-find-a-hidden-magisk-app.4706436/


How to create Magisk modules that install new files in /system

https://xdaforums.com/t/guide-how-to-create-magisk-modules-that-install-new-files-in-system.4734128/


Some hints for using the new action.sh script for Magisk Modules in Magisk

https://xdaforums.com/t/guide-some-hints-for-using-the-new-action-button-for-magisk-modules-in-magisk-v28-0-or-newer.4735502/


HIding files for directories with Magisk

https://xdaforums.com/t/guide-hiding-files-or-directories-with-magisk.4736884/


Magisk Module with bash with working file permission tests for non root user

https://xdaforums.com/t/module-magisk-module-with-bash-with-working-file-permission-tests-for-non-root-user.4743215/


How Magisk handles bootloops

https://xdaforums.com/t/guide-how-magisk-handles-bootloops.4743548/


Magisk Module with Perl 5.42

https://xdaforums.com/t/module-a-magisk-module-with-perl-5-42.4749265/



TWRP related articles



Some hints for using TWRP

https://xdaforums.com/t/some-hints-using-twrp.4525833/


How to install TWRP via script

https://xdaforums.com/t/how-to-install-twrp-via-script.4511355/


How to add additional files to an TWRP image

https://xdaforums.com/t/how-to-add-additional-files-to-an-twrp-image.4511827/


How to compile TWRP for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-twrp-for-the-asus-zenfone-8.4523817/


How to compile the image for TWRP 3.7.0.12-1 w/ the bootctl binary

https://xdaforums.com/t/how-to-compile-the-image-for-twrp-3-7-0-12-1-w-the-bootctl-binary.4650684/


How to boot a phone from a TWRP recovery image via script

https://xdaforums.com/t/how-to-boot-a-phone-from-a-twrp-recovery-image-via-script.4527547/


How to install an OS image using the TWRP binary twrp

https://xdaforums.com/t/how-to-install-an-os-image-using-the-twrp-binary-twrp.4531345/


How to install an OS image via sideload using the TWRP binary twrp

https://xdaforums.com/t/how-to-install-an-os-image-via-sideload-using-the-twrp-binary-twrp.4669384/


How to recover data from a phone with non-working touch screen

https://xdaforums.com/t/how-to-recover-data-from-a-phone-with-a-non-working-touch-screen.4578795/


How to install TWRP into the boot partition again after the installation of an OS update

https://xdaforums.com/t/installing-twrp-into-the-boot-partition-again-after-the-installation-of-an-os-update.4586725/



OrangeFox related articles



How to compile the OrangeFox recovery for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-orangefox-recovery-for-the-asus-zenfone-8.4692137/


How to use the OrangeFox addons when the phone is booted from the OrangeFox recovery image file

https://xdaforums.com/t/guide-how-to-use-the-orangefox-addons-when-the-phone-is-booted-from-the-orangefox-recovery-image-file.4751590/



OmniROM related articles



How to compile the OmniROM for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-omnrom-for-the-asus-zenfone-8.4751666/


How to compile the OmniROM 12 for the ASUS Zenfone 8


https://xdaforums.com/t/how-to-compile-the-omnirom-for-the-asus-zenfone-8.4461525/


How to compile the OmniROM 13 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-omnirom-13-for-the-android-zenfone-8.4518733/


How to compile the OmniROM 14 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-omnirom-14-for-the-asus-zenfone-8.4643071


Infos for building an Android 14 based CustomROM image in Q1 2024 or later

https://xdaforums.com/t/infos-for-building-an-android-14-based-customrom-image-in-q1-2024-or-later.4664652/


How to compile the OmniROM 15 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-omnirom-15-for-the-asus-zenfone-8.4704406/


How to replace the Fake Store from OmniROM with MicroG with a patched Playstore

https://xdaforums.com/t/magisk-module-to-replace-the-fakestore-in-the-omnirom-with-a-patched-playstore-from-nanodroid.4456421/


How to install a more recent version of the Playstore in OmniROM

https://xdaforums.com/t/how-to-install-a-more-recent-version-of-the-playstore-in-the-omnirom.4593203/


How to create a swap device in the OmniROM 12 using Magisk

https://xdaforums.com/t/how-to-create-or-change-a-swap-device-in-the-omnirom-using-magisk.4495415/


How to apply the Android Security patches to a local repository


https://xdaforums.com/t/how-to-apply-the-android-security-patches-to-a-local-repository.4651526/


How to compile the OmniROM 16 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-omnirom-13-for-the-android-zenfone-8.4518733/



LineageOS related articles



How to use TWRP if LineageOS 20.x is installed

https://xdaforums.com/t/how-to-use-twrp-if-lineageos-20-x-is-installed.4599721/


How to create a TWRP image for LineageOS based ROMs using a script


https://xdaforums.com/t/how-to-use-twrp-if-lineageos-20-x-is-installed.4599721/#post-89582817


How to access the system partition while the phone is booted into the LineageOS recovery  

https://xdaforums.com/t/guide-how-to-access-the-system-partition-while-the-phone-is-booted-into-the-lineageos-recovery.4691374/


How to compile LineageOS 22.x for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-lineageos-22-x-for-the-asus-zenfone-8.4726885/


How to create a TWRP recovery image for the ASUS Zenfone 8 running a LineageOS 22.x based OS

https://xdaforums.com/t/how-to-create-a-twrp-recovery-image-for-the-asus-zenfone-8-running-a-lineageos-22-x-based-os.4751520/


How to compile the official LineageOS 22.2 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-official-lineageos-22-2-for-the-asus-zenfone-8.4752867/



/e/ related articles



How to compile /e/ for the ASUS Zenfone 8 using the docker image

https://xdaforums.com/t/compiling-e-for-the-asus-zenfone-8-using-the-docker-image.4725317/


TWRP images for ASUS Zenfone 8 with /e/

https://xdaforums.com/t/twrp-images-for-asus-zenfone-8-running-e.4720737/


How to compile /e/ based on Android 15 for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-e-based-on-android-15-for-the-asus-zenfone-8.4752311/



MicroG related aritcles



How to replace the FakeStore in MicroG with the original Playstore

https://xdaforums.com/t/module-magisk-module-to-replace-the-fakestore-in-the-omnirom-with-a-patched-playstore-from-nanodroid.4456421/#post-89836497


How to configure MicroG via script

https://xdaforums.com/t/guide-how-to-configure-microg-via-script.4706627/



General ROM Development related articles



Some hints for repo sync troubleshooting

https://xdaforums.com/t/some-hints-for-trouble-shooting-repo-sync-issues.4655310/


Some hints for fixing errors building an Custom ROM Android image


https://xdaforums.com/t/some-hints-for-fixing-errors-building-an-custom-rom-android-image.4655328/


How to add additional prebuild apks to a custom ROM

https://xdaforums.com/t/how-to-add-additional-prebuild-apks-to-a-custom-rom.4671911/ 


How to apply an Android patchlevel to the repositories for the StatixOS

https://xdaforums.com/t/how-to-apply-an-android-security-patchlevel-to-a-local-repository-for-the-statixos.4686280


How to change the name of the ZIP file with the OS image while building a new image

https://xdaforums.com/t/guide-how-to-change-name-of-the-zip-file-with-the-os-image-while-building-a-new-image.4727049/


How to find the repository used for a directory in the AOSP tree

https://xdaforums.com/t/guide-how-to-find-the-repository-used-for-a-directory-in-the-aosp-tree.4727368/



ASUS Zenfone 8 related articles



How to use the Hardware Test App from ASUS on a Zenfone running a CustomROM

https://xdaforums.com/t/how-to-use-the-hardware-test-app-from-asus-on-a-zenfone-running-a-customrom.4461533/


How to disable or change the swap device in the Android 12 from ASUS for the Zenfone 8

https://xdaforums.com/t/how-to-disable-or-change-the-swap-device-in-the-android-12-from-asus-for-the-zenfone-8.4495085/


How to re-install the Android OS from ASUS on the ASUS Zenfone 8

https://xdaforums.com/t/asus-zenfone-8-how-to-rollback-from-lineageos-to-original-rom.4583833/#post-88525935


Download firmware for the ASUS Zenfone 8

https://xdaforums.com/t/zenfone-8-need-android-12-firmware-to-downgrade-from-android-13.4617265/#post-88887299


How to analyze the boot loader of an ASUS Zenfone 8

https://xdaforums.com/t/how-to-analyze-the-boot-loader-of-an-asus-zenfone-8.4631111/


How to add the ASUS Hardware TestTool as prebuild app for a Custom ROM

https://xdaforums.com/t/how-to-add-the-asus-hardware-testtool-as-prebuild-app-for-a-custom-rom.4671918/   


How to add the ASUS Hardware Testtool as prebuild app to the StatiXOS

https://xdaforums.com/t/how-to-add-the-asus-hardware-testtool-as-prebuild-app-for-a-custom-rom.4671918/#post-89528935



Other ROMs for the ASUS Zenfone 8



How to compile the crDroid custom ROM for the ASUS Zenfone 8

https://xdaforums.com/t/how-to-compile-the-crdroid-customrom-for-the-asus-zenfone-8.4753097/



General articles



How to switch the active slot

https://xdaforums.com/t/how-to-manually-switch-the-active-slot.4499789/


How to print the security patch level used in repositories or ROM image zip files

https://xdaforums.com/t/how-to-print-the-security-patch-level-used-in-repositories-or-rom-image-zip-files.4666170/


How to fix a hanging restore in Titanium Backup

https://xdaforums.com/t/how-to-fix-a-hanging-restore-in-titanium-backup.4666620/


Some hints about EDL mode

https://xdaforums.com/t/some-hints-about-edl-mode.4672703/





back to top