Skip to content
fritzchentastig edited this page Feb 1, 2024 · 4 revisions

After somebody leaked that you can use autoexec.sh to run custom code on the camera, Samsung decided to patch this out of their firmware with the 1.11 release.

The respective functionality is found in /usr/lib/libmisc.so in the function start_script(). Comparing this file between different versions shows that it was changed after 1.10 (the later versions are all identical, not just same size).

Size  File
8140  rootfs-1.10/usr/lib/libmisc.so
7340  rootfs-1.11/usr/lib/libmisc.so
7340  rootfs-1.12/usr/lib/libmisc.so
7340  rootfs-1.15/usr/lib/libmisc.so

The start_script() function was replaced with an empty return; statement, and there were a few minor changes in other code as well.

One way to regain code execution is to downgrade to 1.10. Another way is to replace the libmisc.so file in a newer firmware with the one from 1.10.

A drawback of this method is that the NX300M deactivates it's wifi a short time after the wifi requiering service was used. So a WPA Supplicant File and certain changes to the autoexec.sh are needed.

A modified 1.15 Firmware can be found here: https://github.com/fritzchentastig/NX300M-MFW/releases This will contain in the future all the files and that are mentioned before.

Clone this wiki locally