how to enter diag mode in P2 - Lenovo P2 Questions & Answers

I'm unable to enter diag mode in P2 i tried following commands in adb.
-
adb shell
su
setprop sys.usb.config diag,adb
but it won't connect our show in QPST or QXDM
adb & fastboot working perfect. but..
Please check if your P2 able to enter in diag mode or not?

amansehdav said:
to enter diag mode in P2
Click to expand...
Click to collapse
try to type #### 8899#.

You must be on Stock rom....
In stock dialer dial ####8899# and Click Ok !!
Adb method wont work !

sergsinger said:
try to type #### 8899#.
Click to expand...
Click to collapse
Na that was for debug mode..
setprop sys.usb.config rndis,diag,adb worked for me

Any way to enter diag mode without root? Entering ####8899# will make "Lenovo HS-USB Diagnostics" show in the device manager. I think it's necessary to have the "Qualcomm HS-USB Android DIAG" in some cases so I'm looking for a method to enable it.

Related

USB Diag Mode

Has anyone been able to access the USB diagnostics on the 10? Usually it's ##3424## but it either changed or it's blocked. I tried multiple ROMs with same results.
Cakeor314 said:
Has anyone been able to access the USB diagnostics on the 10? Usually it's ##3424## but it either changed or it's blocked. I tried multiple ROMs with same results.
Click to expand...
Click to collapse
Use *#*#3424#*#*
purple patch said:
Use *#*#3424#*#*
Click to expand...
Click to collapse
Tried it. This gives you the functions test, not USB diagnostics.
Cakeor314 said:
Tried it. This gives you the functions test, not USB diagnostics.
Click to expand...
Click to collapse
Oh cool, that was just in memory lol. Can you use an app for diagnostic, not sure what you want to test. The only other one is *#*#4636#*#* I think.
purple patch said:
Oh cool, that was just in memory lol. Can you use an app for diagnostic, not sure what you want to test. The only other one is *#*#4636#*#* I think.
Click to expand...
Click to collapse
I don't think an app will work, thanks though. I'm trying to unlock the Canadian LTE bands. I just need to put the phone in USB diagnostics mode so I can use the modem tools on it.
Cakeor314 said:
Has anyone been able to access the USB diagnostics on the 10? Usually it's ##3424## but it either changed or it's blocked. I tried multiple ROMs with same results.
Click to expand...
Click to collapse
dude, i have the same question as you. i wanna enable the band 12 on my htc 10 unlocked version since i convert it to verizon RUU and sometimes wanna switch between my verizon and Tmobile sim cards. if i flash verizon RUU i cannot get band 12 but if i flash unlocked ruu i cannot get CDMA!!
---------- Post added at 09:21 AM ---------- Previous post was at 09:16 AM ----------
i am not sure whether this rom flash will work on that band problem but it says all carrier support
http://forum.xda-developers.com/htc-10/development/rom-21-02-viper10-1-0-0-tweaks-hub-t3379151
Has anyone figured out how to enable DM mode on the US Unlocked model? On Sprint and Verizon ##3424# works just fine.
Cakeor314 said:
Has anyone been able to access the USB diagnostics on the 10? Usually it's ##3424## but it either changed or it's blocked. I tried multiple ROMs with same results.
Click to expand...
Click to collapse
any luck on enabling diag mode on HTC 10?
i've tried the command bellow but its no luck.
Code:
adb shell
su
echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/func_en
kenter said:
any luck on enabling diag mode on HTC 10?
i've tried the command bellow but its no luck.
Code:
adb shell
su
echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/func_en
Click to expand...
Click to collapse
adb shell "su -c 'setprop sys.usb.config rndis,diag,modem'"
or
adb shell "su -c 'setprop sys.usb.config adb,diag,acm'"
b8engl said:
adb shell "su -c 'setprop sys.usb.config rndis,diag,modem'" or adb shell "su -c 'setprop sys.usb.config adb,diag,acm'"
Click to expand...
Click to collapse
thanks mate. but already move from HTC 10. i do appreciate that
b8engl said:
adb shell "su -c 'setprop sys.usb.config rndis,diag,modem'"
or
adb shell "su -c 'setprop sys.usb.config adb,diag,acm'"
Click to expand...
Click to collapse
that worked for my htc 10 being recognized by nvr tools
but how do i revert this command? or better say, how do i turn off diag mode, magisk seems to crash at viewing my logs because of this
cigarpill said:
that worked for my htc 10 being recognized by nvr tools
but how do i revert this command? or better say, how do i turn off diag mode, magisk seems to crash at viewing my logs because of this
Click to expand...
Click to collapse
just replace the last entries...
adb shell "su -c 'setprop sys.usb.config adb,diag,acm'"
adb shell "su -c 'setprop sys.usb.config mtp,adb'"

how to enter diagnostic mode in LOS14.1

i want to enter diagnostic mode in LOS14.1, i use command:
setprop sys.usb.config diag,adb
but it didn't work, pls help me,thk
kirtikhurana said:
Use this
Click to expand...
Click to collapse
i have try,but nothing change
kirtikhurana said:
you should be rooted unless it won't work.
Click to expand...
Click to collapse
i rooted,but these command work for lenovo offical rom,such as 048,062,232,244,251,not on los,any suggestion?
kirtikhurana said:
before that command i told. write the two.
adb shell
su
then diag commands.
during these commands your phone will prompt to grant permissions. Tap OK/Yes on phone
*remember to check Android bebugging Is ON in developer settings.
Even if you're unsuccessful you're probably doing wrong.
Click to expand...
Click to collapse
bro,setprop should be root,i know it,i use successful in lenovo offical rom, i told you,my question is: why not work for los,can you check it?

RAZER PHONE Diag mode(QPST USE) ?

I'm trying to...
1. tprop persist.usb.eng 1, setprop sys.usb.config mtp,mass_storage,diag,serial_smd,adb, setprop sys.usb.config diag,adb
or
2. dial app
*#*#717717#*#*
but diag port isn't open
Is there a way to access diag mode?

"Enable" camera2api Android 10

# Mi8Lite # Android10 # Camera2api Requirements: –Bootloader Unlocked –TWRP installed, does not work with other recoverys –The recovery must not be encrypted –Not have root ADB COMMAND METHOD IN TWRP * Start in TWRP and connect to PC * On the PC, open a command window inside the adb or platform-tools folder * Type these commands: (after each command hit Enter)
-adb devices adb shell
-setprop persist.camera.HAL3.enabled 1
-setprop persist.camera.eis.enable 1
-setprop persist.vendor.camera.HAL3.enabled 1
-setprop persist.vendor.camera.eis.enable 1
-exit adb reboot
"Adb devices" is not recognized: If after placing the first command, the PC does not recognize your device in Recovery mode; in TWRP go to the MOUNT box and look for the 'Disable MTP' option, press and it should show you 'Enable MTP'; try again with "adb devices" and continue * If camera 2api was not activated, try one more time with these commands: adb devices adb shell
setprop persist.camera.stats.test 5
setprop persist.vendor.camera.stats.test 5
exit adb reboot
–Check with "Manual Camera compatibility test" the status of camera 2api –After this I could try to root and check if camera 2api stays activated –It is possible that activating camera 2api will stop working the front camera of the native camera. –Added commands will be erased with a factory reset.
note: I saw it in a group of Xiaomi Mi 8 Lite and I wanted to share it here to find out if anyone knows the veracity of this
Any other module?
not working. Tested with last xiaomi.eu, with and no root. twrp 3.3.2b
MIUI 12, MIUI EU ROM not working either
CongMinhVN said:
MIUI 12, MIUI EU ROM not working either
Click to expand...
Click to collapse
Here is a solution:
https://yadi.sk/d/K97naZ2Zg5xwUw
kennethstarr said:
Here is a solution:
https://yadi.sk/d/K97naZ2Zg5xwUw
Click to expand...
Click to collapse
Thanks bro
Can someone give me the link of twrp for xiaomi this device (mi 8 lite).
Ubaid2003 said:
Can someone give me the link of twrp for xiaomi this device (mi 8 lite).
Click to expand...
Click to collapse
Only need to search a bit...
https://forum.xda-developers.com/mi-8-Lite/how-to/mi-8-lite-stock-recovery-one-t4168539
Ubaid2003 said:
Can someone give me the link of twrp for xiaomi this device (mi 8 lite).
Click to expand...
Click to collapse
Pls dont ask people before trying to solve it yourself first. Giving you hate from me

PDC without ROOT on android 11

Activation VoLTE without ROOT on android 11:
1. adb reboot ftm
2. adb shell
3. setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb
4. Change profile QPST PDC
5. adb reboot
Hi a big thank you to you for this tutorial. It works perfectly without ROOT. wonderful and again a big thank you @zloynavseh
For PDC I used the command in mod FTM
setprop sys.usb.config diag,serial_cdev,rmnet,adb
Appreciate the tutorial here! cheers
galaxys said:
Appreciate the tutorial here! cheers
Click to expand...
Click to collapse
1. adb reboot ftm
2. adb shell
3. setprop sys.usb.config diag,serial_cdev,rmnet,adb
4. Change profile PDC
5. adb reboot
Volte and PDC no root.
when installing the qualcomm drivers, be sure to choose the wwan option.
I can't get past step 1. I get the initial OnePlus splash screen, but nothing more.
How to boot to normal?
after I reboot to ftm and adb reboot I got no connection.
anyone can help me to fix it?
zloynavseh said:
Activation VoLTE without ROOT on android 11:
1. adb reboot ftm
2. adb shell
3. setprop sys.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb
4. Change profile QPST PDC
5. adb reboot
Click to expand...
Click to collapse
hello
i see the phone on the PDC list but when choosing it
qmi connection not ready please use usb driver version 1.00.32 -
i updated my driver - same...
angeloamorato said:
How to boot to normal?
Click to expand...
Click to collapse
adb reboot
i'm failling on step 4 : "/system/bin/sh: Change: inaccessible or not found" (oneplus 7T/Android 11 official). Any idea or just not doable ?
the procedure works on other pc/laptop version.
any method for Android 12?
I use this method and working in realme gt2 pro, the problem is the step es temporary, if you reboot the phone you lost the change... how i can made permanent change?
I am not able to pass adb reboot ftm command. Device is always rebooting in system. Any idea why?
Is it working on Android 13?

Categories

Resources