Galaxy Note 2: Disable MTP/PTP
I've probably found the solution:
run the following command as root

setprop persist.sys.usb.config adb


and reboot the phone. 

Now my phone doesn't show an "usb connection" notification and "Android File Transfer" (an MTP implementation for MacOS) doesn't see the phone. In the same time adb works fine.