How to build linux-odroid with binder and ashem?

[bcdev@bcdevhost ~]$ neofetch
██████████████████  ████████   bcdev@bcdevhost
██████████████████  ████████   ---------------
██████████████████  ████████   OS: Manjaro ARM Linux aarch64
██████████████████  ████████   Host: SEI Robotics SEI610
████████            ████████   Kernel: 5.18.1-1-MANJARO-ARM-ODR
████████  ████████  ████████   Uptime: 1 hour, 48 mins
████████  ████████  ████████   Packages: 1260 (pacman)
████████  ████████  ████████   Shell: bash 5.1.16
████████  ████████  ████████   Terminal: /dev/pts/1
████████  ████████  ████████   CPU: (4) @ 1.800GHz
████████  ████████  ████████   Memory: 1195MiB / 3777MiB
████████  ████████  ████████
████████  ████████  ████████
████████  ████████  ████████

[bcdev@bcdevhost ~]$ screenfetch
                             bcdev@bcdevhost
                             OS: Manjaro-ARM 22.06
                             Kernel: aarch64 Linux 5.18.1-1-MANJARO-ARM-ODROID
         #####               Uptime: 1h 48m
        #######              Packages: Unknown
        ##O#O##              Shell: bash
        #######              Disk: 29G / 59G (49%)
      ###########            CPU: Unknown @ 4x 1.8GHz
     #############           GPU:
    ###############          RAM: 1256MiB / 3777MiB
    ################
   #################
 #####################
 #####################
   #################

Hello, how to build linux-odroid from gitlab ?
I tried to build kernel with these options following arch wiki:

CONFIG_ASHMEM=y
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
CONFIG_ANDROID_BINDER_IPC_SELFTEST=y

because anbox-modules-dkms did not work for me, and my fork too(worked once on linux-khadas, but that kernel not correctly works on my X96 Max plus a100 tv box SoC s905x3).

Thanks in advance

1 Like
git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-odroid.git
cd linux-odroid
vim config # Make changes
makepkg --skipchecksums # Compile and package

# Wait ,It costs me about 5 hours on my S905 box, I strongly recommend you run this in a screen session

sudo pacman -U ./linux-odroid-XX-aarch64.pkg.tar.zst ./linux-odroid-headers-XX-aarch64.pkg.tar.zst

ASHMEM has been removed from kernel 5.18 and newer.
Another technology has replaced it.

Anbox is not likely to get much more development, after Waydroid popped up.