Samsung_S7/source/dwc3_test
2024-08-04 11:48:31 +02:00
..
dwc3.elf stage1 seperation 2024-08-04 11:48:31 +02:00
dwc3.o stage1 seperation 2024-08-04 11:48:31 +02:00
entry.o stage1 seperation 2024-08-04 11:48:31 +02:00
entry.S stage1 seperation 2024-08-04 11:48:31 +02:00
Makefile stage1 seperation 2024-08-04 11:48:31 +02:00
memory_map.drawio.svg stage1 seperation 2024-08-04 11:48:31 +02:00
Readme.md stage1 seperation 2024-08-04 11:48:31 +02:00
symbols.txt stage1 seperation 2024-08-04 11:48:31 +02:00
test_dwc3.c stage1 seperation 2024-08-04 11:48:31 +02:00
test_dwc3.ld stage1 seperation 2024-08-04 11:48:31 +02:00

Test DWC3

Code used to interact with the DWC3 implemenatation in the Exynos 8890 bootrom. Left here as reference.

Size limitations

This code can be compiled and pushed as first stage after running the exploit, but due to size limitations it is probably better to create a dedicated stage1 and do full send/recv in a second stage.

Building

export ANDROID_NDK_ROOT=$TOOLCHAINENV/android-ndk-r21_Linux
make

This will result in a dwc3.bin file which can be pushed.