.. | ||
dwc3.elf | ||
dwc3.o | ||
entry.o | ||
entry.S | ||
Makefile | ||
memory_map.drawio.svg | ||
Readme.md | ||
symbols.txt | ||
test_dwc3.c | ||
test_dwc3.ld |
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.