No description
Find a file
Kirill Zhumarin 28c84e4e97 TextRender
2024-01-04 17:50:10 +03:00
common keycodes 2023-11-25 20:53:22 +03:00
host-helper keycodes 2023-11-25 20:53:22 +03:00
res fixes fonts 2023-12-05 11:36:50 +03:00
rootfs fix default 2023-11-30 04:15:23 +03:00
src TextRender 2024-01-04 17:50:10 +03:00
third_party IPC proto 2023-11-25 05:40:50 +03:00
.gitignore missing cmakelists 2023-10-29 22:41:44 +02:00
.gitmodules IPC proto 2023-11-25 05:40:50 +03:00
CMakeLists.txt DrawImg / DrawImgBW 2023-12-11 12:34:43 +03:00
gdb.sh CSM / GUI early implementation 2023-11-13 01:04:56 +03:00
README.md CSM / GUI early implementation 2023-11-13 01:04:56 +03:00
toolchain.cmake Config & Cache rootfs 2023-11-30 04:05:52 +03:00

Siemens ELF Loader 3.0 emulator for Linux

Alternative implementation of the @zvova7890 emulator: https://bitbucket.org/vova7890/qemu-siemens-elf/src/master/

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
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 .
make

Running elf

./elfloader3 ../sdk/libc++/tests/cxx11tests_NSG.elf

Using GDB

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

# Second terminal
gdb-multiarch -ex 'target remote localhost:1234' ./elfloader3