I'm trying to get an SSH server running on touchwiz adopting following instructions: https://alainwolf.ch/tech-talk/ssh-cyanogenmod/ . Touchwiz comes without ssh binaries, but I could run the ones copied from CM. The rest of instructions seem to be working as well. However, no matter how hard I try, I cannot figure out where do I inject a startup script. I tried both /data/local/userinit.d/ and /system/etc/init.d . None of locations auto-execute scripts on boot in 4.4. Anyone can help?