http://forum.xda-developers.com/showthread.php?t=1162091
Thought I would share
oh and the latest qpst
Did you actually test this? I've tried it on two separate occasions (I found that thread a month or so ago) with no success. I tried multiple combinations of UART/USB settings, and plugging the USB cable in before and after starting QPST, as well as turning debugging on and off. Specifically, I followed Leviuqse's instructions (omitting steps I have previously performed, such as installing the drivers):
Install QPST 2.7 Build 323. (I used this version, and have successfully used it with a TW ROM to change PRL)
Install the Samsung Galaxy S Drivers
Uncheck USB debugging
Dial ##8778# to open the “PhoneUtil” hidden menu (*#*#8778#*#* to open SprintMenu.apk)
Change both UART and USB menus to "MODEM" and press [Home] key
Connect your phone to your computer with the usb cable, select “charging” if the select USB mode menu opens
Your computer will automatically install the modem drivers for your Epic. Wait until you see “Device is ready for use”
Open QPST Configurations in Windows: Start > All Programs > QPST > QPST Configuration
Click on the “Ports” tab and “Add a new port”
Select the “COMXX – USB\QC Diagnostic” and click ok, in my case the port number was 10, your port number will be different, if you see more than one, disconnect all your external devices such as external HDDs, phones, Bluetooth dongles, ect. If you don’t see a port. Disconnect your phone, restart your computer, connect your phone and try again, you might want to remember your Epic’s port number for future use
If you successfully got this working while running CM7, please tell me how you did so!
Debugging on or off?
Plug in USB cable before or after starting QPST?
What UART & USB settings? Both "modem"?
Anything else I'm missing?
Thanks!
Doesn't work for me either.
Only method that works is going back to a TW ROM. Not that its a big deal since you only need to flash to 11115 once.
All my E4G's are already on 11115, so I haven't tried this. But this might help
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
(instead of "echo 1 > /dev/qct_diag_enable" which is for HTC phones).
lost_ said:
All my E4G's are already on 11115, so I haven't tried this. But this might help
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
(instead of "echo 1 > /dev/qct_diag_enable" which is for HTC phones).
Click to expand...
Click to collapse
So on my phone (CM7 Nightly 24) i dont have a diag directory under usb_composite so the command errors out. The only folders i have are acm, adb, mtp, rndis, and usb_mass_storage. attempting to create the diag folder fails.
So, my digitizer is broke and I can't see anything or use the touch.
I am able to get into recovery mode with ADB and I tried some echo lines to manually activate debug mode, so that I can have my device authorized to use with ADB afterwards.
I'm trying to use Androidscreencast, but I need to make it work with ADB first and since I get device unauthorized it means that I don't have usb debugging enabled.
The final question : How can I activate debug mode without a screen?
You need to flash a kernel that has usb debugging enabled by default and has disabled that RSA security check.
So I think that what you want is nearly impossible.
I tried to pull and push default.prop and build.prop and I managed to do it, but when I reboot the phone it goes back to the older versions of the files...I don't know why the files don't remain, even though when I check with ls -l in adb shell it is the today's version.
In the end I managed to read my sms, by pulling out the database from the telephony folder and load it with some sql db reading software.
Okay so here is the issue I'm facing today. I bought a Sprint Galaxy S5, and I managed to unlock it for domestic use (AT&T). I cannot get an LTE connection because my Qualcomm processor does not have the appropriate bands to use ATT LTE's network.
I read on here that you can write your NV memory to write the firmware and enable these other bands using QPST and QXDM. The issue I'm having though is getting my computer to install the diagnostic driver for COM port. It reads the Modem under modem tab in device manager. Since the computer doesn't think there is a diagnostic port, QPST configuration cannot open a diag port which is what I need. I've been able to successfully put my phone in rndis + DM + modem by using this in emulator,
su
setprop sys.usb.confing_rndis,diag,diag_mdm
Do not type the first _ as it's meant as a space bar, but USE diag_mdm
But there is no indication that any driver has installed, and does not appear in device manager (even with hidden devices shown).
I'm running 6.0.1 CM13 w/twrp recovery with SELINUX set to permissive.
On windows 8
I also noticed that the guide to add frequency bands was written in 2014, I also know that in Lollipop, you needed to enable CP Logging to get it show up.
What I'm wondering is if there is a missing step to properly installing the diag driver, or if Qualcomm/Samsung found other means to activate it.
I noticed that when using EFSPro I can set it to Diagnostic + Modem + adb but I can only read not read/write NV memory
Also I observed when I send the SPC to read the phone with EFSPro, it says
"SPC was accepted by the phone!"
Then followed by.. "SPC was not found".
Then after I close that popup it reads my NV memory, but I can't write.
Is there a method to enable CP logging on CM13 MM and install the diag com port for QPST use? I don't have a stock recovery to enable CP logging through usual means in as I'm using TWRP.
Link to GUIDE
http://forum.xda-developers.com/galaxy-s5/general/how-to-add-rf-lte-frequency-bands-to-t2886059
Thanks in advance.
Sent from my SM-G900P using XDA-Developers mobile app
xHolomovementx said:
Okay so here is the issue I'm facing today. I bought a Sprint Galaxy S5, and I managed to unlock it for domestic use (AT&T). I cannot get an LTE connection because my Qualcomm processor does not have the appropriate bands to use ATT LTE's network.
I read on here that you can write your NV memory to write the firmware and enable these other bands using QPST and QXDM. The issue I'm having though is getting my computer to install the diagnostic driver for COM port. It reads the Modem under modem tab in device manager. Since the computer doesn't think there is a diagnostic port, QPST configuration cannot open a diag port which is what I need. I've been able to successfully put my phone in rndis + DM + modem by using this in emulator,
su
setprop sys.usb.confing_rndis,diag,diag_mdm
Do not type the first _ as it's meant as a space bar, but USE diag_mdm
But there is no indication that any driver has installed, and does not appear in device manager (even with hidden devices shown).
I'm running 6.0.1 CM13 w/twrp recovery with SELINUX set to permissive.
On windows 8
I also noticed that the guide to add frequency bands was written in 2014, I also know that in Lollipop, you needed to enable CP Logging to get it show up.
What I'm wondering is if there is a missing step to properly installing the diag driver, or if Qualcomm/Samsung found other means to activate it.
I noticed that when using EFSPro I can set it to Diagnostic + Modem + adb but I can only read not read/write NV memory
Also I observed when I send the SPC to read the phone with EFSPro, it says
"SPC was accepted by the phone!"
Then followed by.. "SPC was not found".
Then after I close that popup it reads my NV memory, but I can't write.
Is there a method to enable CP logging on CM13 MM and install the diag com port for QPST use? I don't have a stock recovery to enable CP logging through usual means in as I'm using TWRP.
Link to GUIDE
http://forum.xda-developers.com/galaxy-s5/general/how-to-add-rf-lte-frequency-bands-to-t2886059
Thanks in advance.
Sent from my SM-G900P using XDA-Developers mobile app
Click to expand...
Click to collapse
Did you ever solve this? I plan on following the same guide and I too am having this same problem.
Can anyone please tell me how to enable diagnostic mode on ASUS Zenfone Max pro M1? Is it possible to backup qcn file using QPST?
adb shell su -c sys.usb.config diag,adb
Samyajoy said:
Can anyone please tell me how to enable diagnostic mode on ASUS Zenfone Max pro M1? Is it possible to backup qcn file using QPST?
Click to expand...
Click to collapse
Yes, you can backup qcn..just make sure that your phone
shows up as diagnostic mode in device manager and is listed under active devices in qpst..then
Qpst->software download->backup
Vortex147 said:
adb shell su -c sys.usb.config diag,adb
Click to expand...
Click to collapse
It won't work. Because the phone is not rooted. Is there any hardware key combination for enabling diag mode?
Update: Downloading latest qualcomm driver solved the issue. I was able to choose diag port and back up qcn. Thank you all.
Samyajoy said:
Update: Downloading latest qualcomm driver solved the issue. I was able to choose diag port and back up qcn. Thank you all.
Click to expand...
Click to collapse
How did you enable diag port without root?
Samyajoy said:
Update: Downloading latest qualcomm driver solved the issue. I was able to choose diag port and back up qcn. Thank you all.
Click to expand...
Click to collapse
Can you provide more detailed info, please (which mode was set on phone, driver for which device was installed)? It's very interesting, how to restore (or at least backup) qcn without root.
Vortex147 said:
how to restore (or at least backup) qcn without root.
Click to expand...
Click to collapse
1. Switch off your phone
Open device manager on pc
2. Press and hold vol up+ vol down and plug in the data cable
Now your device must be listed in device manager...if not then repeat step 2 but keep your device plugged in to pc.(.do not remove the cable...)
It takes 2-3 tries and hold the buttons for around 10 seconds...
Once it is listed as diag mode in device manager...
You can backup qcn using qpst
pranavkpr said:
1. Switch off your phone
Open device manager on pc
2. Press and hold vol up+ vol down and plug in the data cable
Now your device must be listed in device manager...if not then repeat step 2 but keep your device plugged in to pc.(.do not remove the cable...)
It takes 2-3 tries and hold the buttons for around 10 seconds...
Once it is listed as diag mode in device manager...
You can backup qcn using qpst
Click to expand...
Click to collapse
Hello and thanks for the above info. I did this and got a totally black screen. quite disconcerting. I read somewhere else that holding power + volume up would cause it to go into download mode and I was able to do that and then press/hold the power key to power off the phone and regain normal operations.
When in mode you suggest, I do see the device in the windows device manager (however, I have to boot Windows into test mode because of an unsigned driver). When I open qpst it immediately auto-adds the port but it shows that it is in download mode and this never seems to stop. when like this, I cannot open service programming and use qxdm to browse the NV. Any idea what is happening here? Any way to prevent the auto-add and download? I am rather new to all this and am stumped. Thanks
---------- Post added at 04:58 PM ---------- Previous post was at 04:55 PM ----------
Vortex147 said:
adb shell su -c sys.usb.config diag,adb
Click to expand...
Click to collapse
before I go ahead and root my phone, can anyone confirm that this is correct? this doesn't really look like a console command to me. thanks
whitedavidp said:
before I go ahead and root my phone, can anyone confirm that this is correct? this doesn't really look like a console command to me. thanks
Click to expand...
Click to collapse
You dont need to do this for just rooting...just unlock bl and flash twrp...magisk
Run from adb if you want to use diag mode
setprop sys.usb.config diag,adb
Samyajoy said:
Can anyone please tell me how to enable diagnostic mode on ASUS Zenfone Max pro M1? Is it possible to backup qcn file using QPST?
Click to expand...
Click to collapse
I'm attaching QCN Backup with dummy Imei
1st IMEI hex = 08 1A 32 54 76 98 10 32 54
2nd IMEI hex = 08 0A 89 67 45 23 01 21 43
Replace these with your IMEI hex using any hex editor app
The file attached is ".txt" because xda doesn't support ".qcn"
Make sure you change extension to ".qcn" before doing anything
pranavkpr said:
You dont need to do this for just rooting...just unlock bl and flash twrp...magisk
Run from adb if you want to use diag mode
setprop sys.usb.config diag,adb
Click to expand...
Click to collapse
Thanks. I understand rooting well enough. I was asking about the lack of "setprop" in the instructions originally presented. I have confirmed that this is the command needed and can get my ZB602KL into diagnostic mode and visible to QPST. Now if I could only get QXDM to access the item that contains the bitmap for the LTE bands. It could be that my version of QXDM is too old for this device. It worked fine on a Samsung Note 3. But that is an older, 32-bit device and the Zenfone is 64. I just don't know. I cannot even read most items. Argh!
To be safe, make a backup via TRWP of your EFS partition BEFORE you flash anything! If you're not rooted, do a nandroid backup via fastboot
Steps:
1) Set your stock dialer app as default
2) Download and install “Logkit+v1.0.apk”
3) Open dialer app and enter *#800#
Scroll down to Function Switch and then tick-mark the “VoLTE”, “VoWifi” and “VTSwitch”. Exit from app and reboot phone. Go to Settings->Wi-Fi & Network->Sim & Network->Sim 1 and enable “VoLTE” & “Wi-Fi Calling” options. Repeat step for SIM 2 if necessary. Reboot phone.
4)Download and install to PC “QPST_2.7.496” + “qud.win.1.1_installer_10061.1.zip”
5) Enable Developer options and “USB debugging”
6) Download and install “engineeringmode_V1.01.0.171117173719.25c8842-26.apk”
Open dialer app and enter *#801#
Set “Full-port switch” to ON
7) Connect your phone to PC via USB and allow USB debugging on phone
Run ADB as administrator (if you haven’t download and install to your PC)
In CMD:
ADB reboot ftm
You should see some Chinese characters on display
8) Go to Device manager. You should see two "IN2010" devices in "Other devices" section. You need device with PID "MI_00", in my case it's second one. You could check, who is MI_00: Right click on device, properties, Events tab (look at screenshot).
When you find correct device, right click "Update Drivers", "Let me pick from a list...", select "Ports (COM & LPT)", select "Manufacturer -> Qualcomn Incorporated, Model -> Qualcomm HS-USB Diagnostics 90B6"
9) In CMD:
ADB shell
setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb
10) Run “as administrator” PDC from QPST package. Select “Qualcomm HS-USB WWAN Adapter 9091” from list. In some cases PDC can’t connect to your phone. There is a strange solution:
Run EFS explorer from QPST package “as administrator”, select device with filled "EFS" and "Banner" fields and connect to your phone. In the moment of connection PDC works as excepted. Listing of EFS explorer takes a lot time, but after successful connection PDC stops working again. Close EFS and repeat step to finish all following steps in PDC.
In PDC right click on "Oversea-Commercial_DS" and deactivate “Sub0” and “Sub1”
Click on “Oversea-Commercial_DS” again and click remove.
Select “India-VoLTE-Vodafone”, right click and SetSelectedConfig for both “Sub0” and “Sub1”. Then click Activate button. Close PDC.
11) Download and extract “Audio+codec+EVS+HD+.zip”
Run EFC explorer “as administrator” and connect to your phone if not done earlier.
Backup to PC “overideconfig” and “overideconfig_Subscription01” from “/efsprofiles/” folder.
Replace “overideconfig” and “overideconfig_Subscription01” from “Audio+codec+EVS+HD+.zip” package with “Discard” “Clean-Up Option”. (Right click on file, “copy Data File from PC..”)
12) In ADB:
ADB reboot
13) Install “com.oem.oemlogkit_1.0.200929184727.270d7d2-1.apk” to return stock logkit.
14) Open dialer app and enter *#801#
Set “Full-port switch” to OFF
15) Disable USB Debugging if necessary.
16) Set back your custom dialer if necessary.
That’s all. You have VoLTE/VoWiFi/ViLTE/EVS HD+ codec. Icons in dialer and curtain.
After update to latest version VoLTE was not working again. I think we should repeats this step after every update, until OnePlus (if) fixed this issue.
Hello.
Does the step 9 has to be done , becouse i cant get a connection with efs explorer. Its just blank. I ask becouse i have volte and vowifi activated but my phone wont turn automatic to vowifi when i get a wifi connection. i have to first turn off volte and reboot that the phone connects to vowifi
zorantoma
Hi. Do you have "Qualcomm HS-USB WWAN Adapter 9091" in windows device manager after "setprop sys.usb.config diag,serial_cdev,rmnet,adb" command in ADB Shell?
vip77 said:
To be safe, make a backup via TRWP of your EFS partition BEFORE you flash anything! If you're not rooted, do a nandroid backup via fastboot
Steps:
1) Set your stock dialer app as default
2) Download and install “Logkit+v1.0.apk”
3) Open dialer app and enter *#800#
Scroll down to Function Switch and then tick-mark the “VoLTE”, “VoWifi” and “VTSwitch”. Exit from app and reboot phone. Go to Settings->Wi-Fi & Network->Sim & Network->Sim 1 and enable “VoLTE” & “Wi-Fi Calling” options. Repeat step for SIM 2 if necessary. Reboot phone.
4)Download and install to PC “QPST_2.7.496” + “QUD.WIN.1.1+Installer-10037.3+Setup.zip”
5) Enable Developer options and “USB debugging”
6) Download and install “engineeringmode_V1.01.0.171117173719.25c8842-26.apk”
Open dialer app and enter *#801#
Set “Full-port switch” to ON
7) Connect your phone to PC via USB and allow USB debugging on phone
Run ADB as administrator (if you haven’t download and install to your PC)
In CMD:
ADB reboot ftm
ADB shell
setprop sys.usb.config diag,serial_cdev,rmnet,adb
You should see some Chinese characters on display
8) Run “as administrator” PDC from QPST package. Select “Qualcomm HS-USB WWAN Adapter 9091” from list. In some cases PDC can’t connect to your phone. There is a strange solution:
Run EFS explorer from QPST package “as administrator” and connect to your phone. In the moment of connection PDC works as excepted. Listing of EFS explorer takes a lot time, but after successful connection PDC stops working again. Close EFS and repeat step to finish all following steps.
In PDC right click on "Oversea-Commercial_DS" and deactivate “Sub0” and “Sub1”
Click on “Oversea-Commercial_DS” again and click remove.
Select “India-VoLTE-Vodafone”, right click and SetSelectedConfig for both “Sub0” and “Sub1”. Then click Activate button. Close PDC.
9) Download and extract “Audio+codec+EVS+HD+.zip”
Run EFC explorer “as administrator” and connect to your phone if not done earlier.
Backup to PC “overideconfig” and “overideconfig_Subscription01” from “/efsprofiles/” folder.
Replace “overideconfig” and “overideconfig_Subscription01” from “Audio+codec+EVS+HD+.zip” package with “Discard” “Clean-Up Option”. (Right click on file, “copy Data File from PC..”)
10) In ADB:
ADB reboot
11) Install “com.oem.oemlogkit_1.0.200929184727.270d7d2-1.apk” to return stock logkit.
12) Open dialer app and enter *#801#
Set “Full-port switch” to OFF
13) Disable USB Debugging if necessary.
14) Set back your custom dialer if necessary.
That’s all. You have VoLTE/VoWiFi/ViLTE/EVS HD+ codec. Icons in dialer and curtain.
View attachment 5202729View attachment 5202731View attachment 5202727View attachment 5202725
Click to expand...
Click to collapse
hi i have a problem, i can't connect my op8 to efs file explore, it tells me it is not supported
Hi,
patonovich
Same question. Do you have "Qualcomm HS-USB WWAN Adapter 9091" in windows device manager after "setprop sys.usb.config diag,serial_cdev,rmnet,adb" command in ADB Shell?
Also, what Build number and Model you have? Attach screenshot
vip77 said:
Hi,
patonovich
Same question. Do you have "Qualcomm HS-USB WWAN Adapter 9091" in windows device manager after "setprop sys.usb.config diag,serial_cdev,rmnet,adb" command in ADB Shell?
Also, what Build number and Model you have? Attach screenshot
Click to expand...
Click to collapse
Yes Qualcomm appears, I could change the data with pdc, but i can't copying the files, it tells me that the cell phone is not compatible, sorry my English google translator
this is what i get when i run efs explorer
patonovich said:
Yes Qualcomm appears, I could change the data with pdc, but i can't copying the files, it tells me that the cell phone is not compatible, sorry my English google translator
Click to expand...
Click to collapse
zorantoma said:
this is what i get when i run efs explorer
Click to expand...
Click to collapse
Ok, folks. I checked again on clean device and latest version OS 11.0.4.4.IN21AA. there are some changes.
It's seems like QPST need COM device to communicate.
Disconnect your phone.
Update Qualcom driver to newer version (download in attachments 1st post section).
Connect your phone.
After "ADB reboot ftm" command BEFORE entering shell and "setprop sys.usb.config diag,serial_cdev,rmnet,adb" (look at updated command) :
Go to Device manager. You should see two "IN2010" devices in "Other devices" section. You need device with PID "MI_00", in my case it's second one. You could check, who is MI_00: Right click on device, properties, Events tab (look at screenshot).
When you find correct device, right click "Update Drivers", "Let me pick from a list...", select "Ports (COM & LPT)", select "Manufacturer -> Qualcomn Incorporated, Model -> Qualcomm HS-USB Diagnostics 90B6". After that, enter to ADB shell and use command "setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb" (edited). You should see your phone in EFS Eplorer and able to connect (select device with filled "EFS" and "Banner" fields. look at screenshot).
After update to latest version VoLTE was not working again. I think we should repeat this steps after every update, until OnePlus (if) fixed this issue.
vip77 said:
Ok, folks. I checked again on clean device and latest version OS 11.0.4.4.IN21AA. there are some changes.
It's seems like QPST need COM device to communicate.
Disconnect your phone.
Update Qualcom driver to newer version (download in attachments 1st post section).
Connect your phone.
After "ADB reboot ftm" command BEFORE entering shell and "setprop sys.usb.config diag,serial_cdev,rmnet,adb" (look at updated command) :
Go to Device manager. You should see two "IN2010" devices in "Other devices" section. You need device with PID "MI_00", in my case it's second one. You could check, who is MI_00: Right click on device, properties, Events tab (look at screenshot).
When you find correct device, right click "Update Drivers", "Let me pick from a list...", select "Ports (COM & LPT)", select "Manufacturer -> Qualcomn Incorporated, Model -> Qualcomm HS-USB Diagnostics 90B6". After that, enter to ADB shell and use command "setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb" (edited). You should see your phone in EFS Eplorer and able to connect (select device with filled "EFS" and "Banner" fields. look at screenshot).
After update to latest version VoLTE was not working again. I think we should repeat this steps after every update, until OnePlus (if) fixed this issue.
Click to expand...
Click to collapse
WOW thanks
patonovich said:
WOW thanks
Click to expand...
Click to collapse
Please report if everything went well. Good luck.
del
Thank you, it worked.
BR
Working great on OP8T,
Before this guide the Volte profile was change to the default oversea profile.
Thanl you.
UPDATE -
for some reason the OVERSEA profile is active , and volte is lost.
after that i change overideconfig files to Read only after
i copy the file to efsprofiles ,
its work for now for two days in row ,
before that the phone change to ovesea profile in half day.
not working :/
i tried exactly this and not working op8t
Grigiac said:
not working :/
i tried exactly this and not working op8t
Click to expand...
Click to collapse
What exactly "not working" which step?
vip77 said:
What exactly "not working" which step?
Click to expand...
Click to collapse
I performed all the steps without error
At the end when I restart the device via ADB, I just do not have a volte symbol..
i tried to return to PDC to see if its still active on india sub 0 +1 and its active
but still dont have VOLTE
my device kb2000 opt8t
Grigiac said:
I performed all the steps without error
At the end when I restart the device via ADB, I just do not have a volte symbol..
i tried to return to PDC to see if its still active on india sub 0 +1 and its active
but still dont have VOLTE
my device kb2000 opt8t
Click to expand...
Click to collapse
Do you have VOLTE supported and activated by carrier? Be sure using Sim slot 1 also.
vip77 said:
Do you have VOLTE supported and activated by carrier? Be sure using Sim slot 1 also.
Click to expand...
Click to collapse
yes, i did it with pdc on my last device op6 with other guide and work great
but now i have new device and tried with this guide..
and im using slot 1
i have no idea why its not working :/
Grigiac said:
I performed all the steps without error
At the end when I restart the device via ADB, I just do not have a volte symbol..
i tried to return to PDC to see if its still active on india sub 0 +1 and its active
but still dont have VOLTE
my device kb2000 opt8t
Click to expand...
Click to collapse
On which country are you?
Dreamelba said:
On which country are you?
Click to expand...
Click to collapse
Israel
tried India & telfonica uk
Nothing work