Instead of using "echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on", we use the setprop type of lines.
They work properly on stock HTC rom. You can enable ADB,MTP, RNDIS, Modem and so on, including the all important DIAG (Diagnostic)....
echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on
did you try this code? it worked for me on M8 on custom roms viper one, ARHD, maximusHD and few others.
BTW i still cant get to write nv values on my phone either. Theyrevert to old va...
Guess what guyz. Omg miracle😝. My phone is working now😃
Came back from work and connected the phone to laptop. Guess what happened. It got switched on. And voilaaaaa update to 5.0.2.
I'll have that lollipop backup before Dec
cmon mate give that backup to Mohamed Yaser. hope he can work on it soon. Dont trust HTC they are not gonna release it anytime. Looks like they have abondoned this device :(...
Guyz i've broken my xda exec screen :( . can some one help me out with a replacement. interested in buying a used one or a new one as well. can contact me by PM MOD EDIT: REMOVED EMAIL