Making the changes to /etc/usb-moded/usb-moded.ini should work on the stock kernel as well. I did not enable anything special for this in my config.