[Q] init scripts in 4.4?

galets

Senior Member
Apr 1, 2006
279
25
28
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?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone