How to Enable Qualcomm DIAG Mode - General Questions and Answers

How to Enable Qualcomm DIAG Mode on xiaomi 11 lite 5g ne

adb shell
su
setprop sys.usb.config diag,adb

by_BenjamiN said:
adb shell
su
setprop sys.usb.config diag,adb
Click to expand...
Click to collapse
how root

you can patch boot.img with magisk

by_BenjamiN said:
you can patch boot.img with magisk
Click to expand...
Click to collapse
How do TWRP on xiaomi 11 lite 5g ne

Related

Diag mode in Sony Xperia M4

I work hard to turn on diag mode in Sony Xperia M4 to connect it to QPST or CDMA. I tried many things I've found on the Internet, but still it isn't working. Windows should see new COM Port in Device Manager, but nothing appears, just phone and adb driver. I don't know if I should try harder if there is something that can be done or I'm just wasting my time because diag mode is locked and nothing can be done. Phone is rooted. tried:
https://forum.xda-developers.com/cr...ad-progress-please-leave-im-updating-t2871269
*#*#8778#*#*
adb shell su setprop persist.usb.eng 1
setprop sys.usb.config diag,adb
setprop sys.usb.config rndis, diag
setprop usb.rndis.enable 1
setprop sys.usb.config acm,diag,mtp,adb
echo diag > /sys/class/android_usb/android0/f_diag/clients
echo diag,adb,serial > /sys/class/android_usb/android0/functions
##3424#
*#*#717717#*#*
**#0808#
Nothing worked to make com port appear. One thing is interesting that after setprop persist.usb.eng 1 and debugging on - even phone and adb is not visible to windows.

sm not found

I connected to my car stereo (marshmallow)
so on the stereo in terminal i
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
on the pc i
PS C:\users\jmread\desktop\platform-tools> adb connect 192.168.1.35:5555
already connected to 192.168.1.35:5555
PS C:\users\jmread\desktop\platform-tools> adb shell
[email protected]_tb_c_kk:/ $ sm list-disks
/system/bin/sh: sm: not found
127|[email protected]_tb_c_kk:/ $
???
i look in system/bin
cant see sm , or is it under sh - anyway it doesn't work - how do i install sm ?
device is rooted and has busybox installed.
any help please ?

PIXEL 3 XL, how to enable VoLTE on Android 11?

Hi,
i have a Pixel 3 XL from Canada and i moved last year to Bucharest. Obviously VoLTE is not supported. I saw guides to enable VoLTE on this device for China running Android 10, but nothing for Android 11.
I am with Orange Romania right now.
thanks,
Hi Guys
Finally, on Android 10, i was able to activate volte and vowifi on hungarian carriers (Telenor, Telekom, Digi) by the help of @somin.n module and this Thread:
https://forum.xda-developers.com/pixel-4-xl/how-to/activate-volte-om-pixel-4xl-android-11-r-t4163217
You need to have unlocked bootloader and Magisk Canary installed
1. Flash the attached module via Magisk and reboot
2. Check and activate Volte in settings
3. Dial *#*#4636#*#* > check IMS service status > you should find IMS service registered and VOLTE is available
4. You are good to GO !
You need the Magisk module "SELinux Permissive 2.0" to get it working with you.
Note: i have installed Telelefonica UK (Commercial) mbn file for my phone, you may need to change mbn file for your carrier (attached default pixel 3 mbn files)
in order to change mbn file:
1. Download the attached Pixel 3 mbn
2. Extract the file and choose the desired mbn file
3. open "Volte Pixel 3.zip" and go to
Code:
/system/vendor/rfs/msm/mpss/readonly/vendor/mbn/mcfg_sw/generic/myown/
and paste your choosen MBN file.
4. Go to the mentioned flashing steps and you are good to go!
pheco said:
Hi Guys
Finally, on Android 10, i was able to activate volte and vowifi on hungarian carriers ...
Click to expand...
Click to collapse
Yeah, magic is hsppening! :good: :highfive:
Hey guys,
Is this method of enabling Volte still works???
I am from Malaysia, the carrier just recently enable the volte for all phone, unfortunately pixel doesn't work. With A Mi A1 it works without any issue.
I would like to try with the root + magisk.
Any help is much apprecaited.
Got the same question as well. I'm on Pixel 3 XL and wanted to utilize the VoLTE & VoWiFi here in the Philippines.
So far, I am stuck creating a folder (MYOWN) on "Root>System>Vendor>RFS>MSM>MPSS>READONLY>VENDOR>MBN>MCFG_SW>GENERIC"
Any success on Android 12 & is there any fellow Filipinos here that has a working MBN file for Globe, Smart & Dito?
Hi guys , im on Pixel 3 and wanted to enable VoLTE for unifi mobile (Malaysia) , i've tried Mbn from Mi11U / Pixel 4 telefonica_uk all doesn't work
Malaysia has shut down 3G and the voice quality on 2G was ****
Sam Leong said:
Hi guys , im on Pixel 3 and wanted to enable VoLTE for unifi mobile (Malaysia) , i've tried Mbn from Mi11U / Pixel 4 telefonica_uk all doesn't work
Malaysia has shut down 3G and the voice quality on 2G was ****
Click to expand...
Click to collapse
If you rooted you could try running (AT YOUR OWN RISK).
This worked for me but your milage may vary
Bash:
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.dbg.wfc_avail_ovr 1
setprop persist.radio.rat_on combine
setprop persist.radio.data_ltd_sys_ind 1
setprop persist.radio.data_con_rprt 1
setprop persist.radio.calls.on.ims 1
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.dbg.wfc_avail_ovr 1
setprop persist.data.iwlan 1
setprop persist.data.iwlan.ipsec.ap 1
setprop persist.radio.volte.dan_support true
setprop persist.radio.rat_on combine
setprop persist.radio.data_ltd_sys_ind 1
setprop persist.radio.data_con_rprt 1
setprop persist.radio.calls.on.ims 1
setprop persist.radio.VT_ENABLE 1
setprop persist.sys.cust.lte_config true
setprop persist.rcs.supported 1
InvertedB said:
If you rooted you could try running (AT YOUR OWN RISK).
This worked for me but your milage may vary
Bash:
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.dbg.wfc_avail_ovr 1
setprop persist.radio.rat_on combine
setprop persist.radio.data_ltd_sys_ind 1
setprop persist.radio.data_con_rprt 1
setprop persist.radio.calls.on.ims 1
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.dbg.wfc_avail_ovr 1
setprop persist.data.iwlan 1
setprop persist.data.iwlan.ipsec.ap 1
setprop persist.radio.volte.dan_support true
setprop persist.radio.rat_on combine
setprop persist.radio.data_ltd_sys_ind 1
setprop persist.radio.data_con_rprt 1
setprop persist.radio.calls.on.ims 1
setprop persist.radio.VT_ENABLE 1
setprop persist.sys.cust.lte_config true
setprop persist.rcs.supported 1
Click to expand...
Click to collapse
sadly it doesn't work
Have no idea to enable VoLTE on unifi mobile , the others such as Digi / Celcom / Maxis / Yes 4G (YTL) works well

Open diag failed

I it possible to enter the diag mode of the Pocophone without rooting?
*#*#717717#*#* shows a toast notification: "open diag failed".
coolboy744 said:
I it possible to enter the diag mode of the Pocophone without rooting?
*#*#717717#*#* shows a toast notification: "open diag failed".
Click to expand...
Click to collapse
Are you talking about CIT mode (engineering mode in Android)? If so: https://c.mi.com/thread-2188758-1-0.html
coolboy744 said:
I it possible to enter the diag mode of the Pocophone without rooting?
*#*#717717#*#* shows a toast notification: "open diag failed".
Click to expand...
Click to collapse
No. As of MIUI 10, Qualcomm HS-USB Diag 901D was blocked through that method and won't work without root access for obvious security reasons. use the Terminal or adb method with the command:
Code:
setprop sys.usb.config diag,adb
To disable it, use command:
Code:
setprop sys.usb.config mtp,adb
Alin45 said:
Are you talking about CIT mode (engineering mode in Android)? If so: https://c.mi.com/thread-2188758-1-0.html
Click to expand...
Click to collapse
No i am talking about How to Qualcomm Diagnostic Mode (Diag Port)
Slim K said:
No. As of MIUI 10, Qualcomm HS-USB Diag 901D was blocked through that method and won't work without root access for obvious security reasons. use the Terminal or adb method with the command:
Code:
setprop sys.usb.config diag,adb
To disable it, use command:
Code:
setprop sys.usb.config mtp,adb
Click to expand...
Click to collapse
so there is no option without root. thanks for reply.
>adb shell
sweet:/ $ setprop sys.usb.config diag,adb
Failed to set property 'sys.usb.config' to 'diag,adb'.
See dmesg for error reason.
For poco you need to enter two commands:
adb shell
su
setprop persist.vendor.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb
setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb

Permission denied [cat /proc/partitions]

Dear all,
The Redmi S2 is
- rooted;
- bootloader unlocked;
- oem unlocked;
- on PTP default (Photo transfer).
In ADB debugging,
C:\platform-tools>adb shell
ysl:/ $ cat /proc/partitions
cat: /proc/partitions: Permission denied
How to solve it?
Thanks in advance.
Regards,
Run cmd in Android shell's root mode
Code:
adb shell 'su -c "cat /proc/partitions"'
xXx yYy said:
Run cmd in Android shell's root mode
Code:
adb shell 'su -c "cat /proc/partitions"'
Click to expand...
Click to collapse
Thanks for the reply.
After "adb root", it prompts "adbd cannot run as root in production builds".
And installation of an app "adbd insecure" as below, it produced the same result.
[2014.11.10][ROOT] adbd Insecure v2.00
adbd Insecure lets you run adbd in root mode if your device is rooted. (Note that if you are running a custom kernel, it is likely that it already implements this functionality) If you are running a stock (made by the phone manufacturer) kernel...
forum.xda-developers.com
But "adb shell" apparently works.
On production builds the ADBD server on phone doesn't use root permission. You can't change this.
Simply try what suggested by me.
xXx yYy said:
On production builds the ADBD server on phone doesn't use root permission. You can't change this.
Simply try what suggested by me.
Click to expand...
Click to collapse
I just tried your code in CMD. It returns as follows:
C:\platform-tools>adb shell 'su -c "cat /proc/partitions"'
/system/bin/sh: su -c cat /proc/partitions: not found
That's a complete other issue.
Under "adb shell su", after granting the super privilege, AND then "cat /proc/partitions", I was able to view the partitions.
Thanks.

Categories

Resources