Skip to content

d3m0n-project/d3m0n_os

Repository files navigation

icon d3m0n os (C) 2024 4re5 group

Release Software License Contributors follow on Twitter

d3m0n OS is a Debian based ARM CPU architecture operating system.

⚠️ This code is made to run on a d3m0n device only or only on linux distibutions for debug purposes ⚠️

We had to remake the whole system from scratch in C instead of C# d3m0n app system and binaries are located in rootfs/usr/share/d3m0n

d3m0n_ssh

Summary

(1) Installation

(2) Configuration

(3) Application API

(4) About

(5) Links

Partitions

/boot is a ext4 bootloader partition that contains the linux kernel and will make all this operating system work. It'll be located at /boot in rootfs.

/rootfs is the root partition, it contains call linux commands that d3m0n os needs to work.

Installations

Flash pre-built image

Just download lastest release and flash it using Balena Etcher

How?

- Install BalenaEtcher from here and select your image file (.img)

- Select your SD card drive

- And click FLASH

Install d3m0n system on an already flashed raspberry pi zero 2W

First step, install wget using sudo apt-get install wget -y

mkdir d3m0n-install
cd d3m0n-install
wget https://raw.githubusercontent.com/d3m0n-project/d3m0n_os/root/install.sh
sudo chmod +x install.sh
sudo ./install.sh`

Finaly wait until installation complete

Build custom image

To execute this code and build your d3m0n os image (.img), you must execute these commands line by line in your linux machine terminal.

sudo apt-get install git
git clone https://github.com/d3m0n-project/d3m0n_os.git
cd d3m0n_os
sudo chmod +x *.sh && sudo chmod +x config
sudo ./d3m0n.sh

then use numbers to select option you wan't

Configure your OS

In order to build your image file (.img) you need first to install d3m0n os on your linux machine. Then use the command sudo ./d3m0n.sh and type 2 and hit enter. This will display a configuration window in your terminal.

d3m0n api

d3m0n operating system contains preinstalled softwares. more information here

example .d3m0n app

App handler

Phone loads apps from temp directory created when startup,

then reads manifest file located at /usr/share/d3m0n/temp/APP_TOKEN/app

  • Gets app name, description, category, icon (format "key: value") then reads main layout file (.layout) in /usr/share/d3m0n/temp/APP_TOKEN/layouts/main.layout (example here)

then execute code (.src) in /usr/share/d3m0n/temp/APP_TOKEN/src/main.src (example here)

wallpapers

Wallpapers are located in /usr/share/d3m0n/wallpapers. To change it, edit wallpaper in d3m0n config file image

config file

wallpaper: default
theme: default_dark
splash_time: 3000
shell_port: 3849

description

wallpaper is your wallpaper name (without .png)

theme is your theme folder name that contains all icons and sounds

splash_time is the time in ms splash screen will be displayed

shell_port is machine port where d3m0n shell service will run

Links

  Official Links
Website d3m0n-project.github.io
Forum forum.ducksploit.com
Discord discord.com
Subreddit r/d3m0nproject

Made with ❤️ by 4RE5's devs