No description
Find a file
2025-01-07 04:35:44 +03:00
common really big refactoring... 2025-01-06 19:05:16 +03:00
host-helper limit redraw freq, fix mopi timers 2025-01-07 04:35:44 +03:00
overrides/swilib really big refactoring... 2025-01-06 19:05:16 +03:00
res
rootfs update rootfs 2024-11-13 18:59:46 +03:00
src limit redraw freq, fix mopi timers 2025-01-07 04:35:44 +03:00
third_party really big refactoring... 2025-01-06 19:05:16 +03:00
tools
.gitignore really big refactoring... 2025-01-06 19:05:16 +03:00
.gitmodules really big refactoring... 2025-01-06 19:05:16 +03:00
CMakeLists.txt limit redraw freq, fix mopi timers 2025-01-07 04:35:44 +03:00
gdb.sh really big refactoring... 2025-01-06 19:05:16 +03:00
README.md really big refactoring... 2025-01-06 19:05:16 +03:00
toolchain.cmake

Siemens ELF Loader 3.0 emulator for Linux

This is proof of concept using the original elfloader 3.0 compiled for linux (instead of glibc ld.so in the original emulator).

Currently implemented only a few sets of Siemens Mobile firmware functions. Mostly libc-like functions and partly filesystems.

In this emulator used modified elfloader 3.0 with integrated gdb support.

Build

# Required software (Ubuntu)
sudo apt install crossbuild-essential-armhf libc6-armhf-cross

# Dir with all stuff
mkdir -p ~/dev/sie
cd ~/dev/sie

# SDK with libs
git clone https://github.com/siemens-mobile-hacks/sdk

# Emulator
git clone https://github.com/Azq2/elfloader3-linux
cd elfloader3-linux
cmake -B build
cmake --build build -- -j$(nproc)
make

Running elf

./build/elfloader3 -V -f ../sdk/libc++/tests/cxx11tests_NSG.elf

Using GDB

# One terminal
qemu-arm -g 1234 ./build/elfloader3 -V -f ../sdk/libc++/tests/cxx11tests_NSG.elf

# Second terminal
./gdb.sh

Respect

Original idea by @zvova7890: https://bitbucket.org/vova7890/qemu-siemens-elf/src/master/