Okay here is how you enable DIAG Mode on the Nexus 4:
su -c 'setprop usb.sys.config diag,adb'
And to restore MTP Mode:
su -c 'setprop usb.sys.config mtp,adb'
Note: You must be rooted in order to issue the above commands.
Now for the hard part. Although enabling DIAG Mode is easy, finding the Qualcomm diagnostic drivers for this device on the other hand is not and without these we cannot do much more.
If anyone can get these drivers or has the knowledge to patch Samsung's drivers to enable the Diagnostic Serial Port then please get in touch.
Sent from my Nexus 4 using Tapatalk 2
su -c 'setprop usb.sys.config diag,adb'
And to restore MTP Mode:
su -c 'setprop usb.sys.config mtp,adb'
Note: You must be rooted in order to issue the above commands.
Now for the hard part. Although enabling DIAG Mode is easy, finding the Qualcomm diagnostic drivers for this device on the other hand is not and without these we cannot do much more.
If anyone can get these drivers or has the knowledge to patch Samsung's drivers to enable the Diagnostic Serial Port then please get in touch.
Sent from my Nexus 4 using Tapatalk 2