2018rt 发表于 2019-3-11 09:29:24

MTP

本帖最后由 2018rt 于 2019-3-11 09:30 编辑

我用的WIN8PE 64,怎 么安装手机MTP驱动。无法在我的电脑上显示手机盘符

chishingchan 发表于 2019-3-11 12:08:24

手机好像要打开 开发者模式 下的 USB调试 选项。接上数据线的时候要回应询问的3项连接方式之一。

2018rt 发表于 2019-3-11 12:15:38

但用H3PE可以

tools241 发表于 2019-3-11 12:21:31

本帖最后由 tools241 于 2019-3-11 12:24 编辑

如果要自行解决(不是档案齐全便可, 还有注册表问题 )请参考:
WIN10PE连接手机(MTP支持)

或采用:
珍稀资源! Win7x64.VHD(仅1G)可与手机连线/无网路,采Grub4Dos由硬盘/U盘启动/UEFI启动 ==>
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=411643

车丁 发表于 2019-3-11 12:35:39

win7以上版本都自带MTP驱动了,是不是你的系统精简了MTP?

slore 发表于 2019-3-11 15:30:45

如果只是资源管理器看不到,应该是少了:

rem explorer Portable device
rem Portable Devices ::{35786D3C-B075-49b9-88DD-029876E11C01}
call RegCopy HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders

2018rt 发表于 2019-3-11 16:11:24

好像精简过多

2018rt 发表于 2019-3-11 16:11:57

MTP需要那些文件

nf17b 发表于 2019-3-11 19:42:03

參考 WIN10PE连接手机(MTP支持)

ios(iphonex)


android(小米3)


levinsky 发表于 2019-3-12 11:39:50

MTP好像需要WMplayer

levinsky 发表于 2019-3-12 11:40:32

MTP好像需要WMplayer

nf17b 发表于 2019-3-15 01:49:10

本帖最后由 nf17b 于 2019-3-15 01:58 编辑

tools241 发表于 2019-3-11 12:21
如果要自行解决(不是档案齐全便可, 还有注册表问题 )请参考:
WIN10PE连接手机(MTP支持)




也許可以考慮用現成工具處理
WIN10XPE - 从零开始构建的PE+Admin双登录+MTP支持首发+19H1支持

舉例:
用這個繁中 18309 x64 pe 來加入 mtp 的功能(在繁中 win8 x64 的作業系統下)
掛載 win10 18309 x64 安裝 iso 為 L , 掛載 win10 18309 x64 PE iso 為 M


系統管理員身份執行 WimBuilder.cmd


選擇 install.wim 跟 pe 的 boot.wim


按下一步


只勾選 MTP_Support 跟 Patch_drvinst


執行 0-xleanup 勾一下 creat ISO after building


執行 1-run(cmd) , 原來的 drvinist.exe 已經處理過




比較 boot.wim


掛載兩個 boot.wim , BCompare 看一下差異


開機試一下 , 桌面多兩個批次檔 , shutdown.bat 跟 mtp_support.bat
在3台電腦試過在啟動過程先執行 mtp_support.bat , 進桌面後有一台電腦 mtp 連不上




最後還是進桌面再執行 mtp_support.bat , 改成 10 秒或者按任意鍵關閉 cmd 視窗




簡中版試了 Win10PE_1809_17763.107【网络/维护/纯净】32位/64位【11月8日】 , x86/x64 也都可以


至於檔案差異跟註冊表
install.wim 補檔
Windows\INF\winusb.inf
Windows\INF\wpdcomp.inf
Windows\INF\wpdfs.inf
Windows\INF\wpdmtp.inf
Windows\INF\wpdmtphw.inf
Windows\INF\wudfusbcciddriver.inf
Windows\System32\PortableDeviceApi.dll
Windows\System32\PortableDeviceClassExtension.dll
Windows\System32\PortableDeviceConnectApi.dll
Windows\System32\PortableDeviceStatus.dll
Windows\System32\PortableDeviceSyncProvider.dll
Windows\System32\PortableDeviceTypes.dll
Windows\System32\PortableDeviceWiaCompat.dll
Windows\System32\winusb.dll
Windows\System32\wpd_ci.dll
Windows\System32\wpdbusenum.dll
Windows\System32\wpdshext.dll
Windows\System32\WPDShextAutoplay.exe
Windows\System32\WPDShServiceObj.dll
Windows\System32\WPDSp.dll
Windows\System32\WUDFCoinstaller.dll
Windows\System32\WUDFCompanionHost.exe
Windows\System32\WUDFHost.exe
Windows\System32\WUDFPlatform.dll
Windows\System32\WudfSMCClassExt.dll
Windows\System32\WUDFx.dll
Windows\System32\WUDFx02000.dll
Windows\System32\drivers\winusb.sys
Windows\System32\drivers\WpdUpFltr.sys
Windows\System32\drivers\WUDFPf.sys
Windows\System32\drivers\WUDFRd.sys
Windows\System32\drivers\UMDF\EhStorPwdDrv.dll
Windows\System32\drivers\UMDF\HidTelephony.dll
Windows\System32\drivers\UMDF\IddCx.dll
Windows\System32\drivers\UMDF\Microsoft.Bluetooth.Profiles.HidOverGatt.dll
Windows\System32\drivers\UMDF\NfcCx.dll
Windows\System32\drivers\UMDF\PosCx.dll
Windows\System32\drivers\UMDF\poscx2.dll
Windows\System32\drivers\UMDF\RdpIdd.dll
Windows\System32\drivers\UMDF\SDFLauncher.dll
Windows\System32\drivers\UMDF\SensorsCx.dll
Windows\System32\drivers\UMDF\SMCCx.dll
Windows\System32\drivers\UMDF\UcmCx.dll
Windows\System32\drivers\UMDF\uiccspb.dll
Windows\System32\drivers\UMDF\usbdr.dll
Windows\System32\drivers\UMDF\UsbXhciCompanion.dll
Windows\System32\drivers\UMDF\en-US\IddCx.dll.mui
Windows\System32\drivers\UMDF\zh-TW\hidscanner.dll.mui
Windows\System32\drivers\UMDF\zh-TW\idtsec.dll.mui
Windows\System32\drivers\UMDF\zh-TW\mgtdyn.dll.mui
Windows\System32\drivers\UMDF\zh-TW\Microsoft.Bluetooth.Profiles.HidOverGatt.dll.mui
Windows\System32\drivers\UMDF\zh-TW\NfcCx.dll.mui
Windows\System32\drivers\UMDF\zh-TW\SensorsCx.dll.mui
Windows\System32\drivers\UMDF\zh-TW\SensorsHid.dll.mui
Windows\System32\drivers\UMDF\zh-TW\UsbccidDriver.dll.mui
Windows\System32\drivers\UMDF\zh-TW\wpdmtpdr.dll.mui
Windows\System32\drivers\UMDF\zh-TW\WUDFUsbccidDriver.dll.mui
Windows\System32\DriverStore\FileRepository\winusb.inf_amd64_e83badc4b0caeb77\winusb.inf
Windows\System32\DriverStore\FileRepository\winusb.inf_amd64_e83badc4b0caeb77\winusb.sys
Windows\System32\DriverStore\FileRepository\wpdcomp.inf_amd64_9fa94b1504a4a5ee\Wpdcomp.dll
Windows\System32\DriverStore\FileRepository\wpdcomp.inf_amd64_9fa94b1504a4a5ee\wpdcomp.inf
Windows\System32\DriverStore\FileRepository\wpdfs.inf_amd64_db5c332784d0fadc\WpdFs.dll
Windows\System32\DriverStore\FileRepository\wpdfs.inf_amd64_db5c332784d0fadc\wpdfs.inf
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\WpdMtp.dll
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\wpdmtp.inf
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\WpdMtpbt.dll
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\WpdMtpDr.dll
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\WpdMtpIP.dll
Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_bc09cb812cb17701\WpdMtpUS.dll
Windows\System32\DriverStore\FileRepository\wpdmtphw.inf_amd64_042f648d2db8e95d\wpdmtphw.inf
Windows\System32\DriverStore\FileRepository\wudfusbcciddriver.inf_amd64_fa80a9d33df55aeb\WUDFUsbccidDriver.dll
Windows\System32\DriverStore\FileRepository\wudfusbcciddriver.inf_amd64_fa80a9d33df55aeb\wudfusbcciddriver.inf
Windows\System32\zh-TW\PortableDeviceApi.dll.mui
Windows\System32\zh-TW\portabledevicestatus.dll.mui
Windows\System32\zh-TW\PortableDeviceSyncProvider.dll.mui
Windows\System32\zh-TW\wpd_ci.dll.mui
Windows\System32\zh-TW\WpdBusEnum.dll.mui
Windows\System32\zh-TW\wpdshext.dll.mui
Windows\System32\zh-TW\WPDShextAutoplay.exe.mui
Windows\System32\zh-TW\WUDFHost.exe.mui
Windows\System32\zh-TW\wudfplatform.dll.mui
Windows\System32\zh-TW\WudfSMCClassExt.dll.mui

工具補檔
Users\Default\Desktop\mtp_support.bat
Users\Default\Desktop\shutdown.bat
Windows\System32\drivers\mtpHelper.sys

19H1 圖標補檔
Windows\SystemResources\wpdshext.dll.mun

註冊表異動
Windows\System32\config\SOFTWARE
Windows Registry Editor Version 5.00






@="DLNA Media Servers Data Source"


@="Portable Devices"


@="Enhanced Storage Data Source"


@="nethood delegate folder"


Windows\System32\config\SYSTEM
Windows Registry Editor Version 5.00


"Class"="WPD"
"ClassDesc"="@%SystemRoot%\\System32\\wpd_ci.dll,-101"
"Icon"="-100"
"IconPath"=hex(7):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,\
00,70,00,64,00,5f,00,63,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,\
30,00,30,00,00,00,00,00
"Installer32"="wpd_ci.dll,WpdClassInstaller"
"UpperFilters"=hex(7):57,00,70,00,64,00,55,00,70,00,46,00,6c,00,74,00,72,00,00,\
00,00,00






@=hex(ffff0011):ff


"DisplayName"="mtpHelper"
"ErrorControl"=dword:00000000
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,6d,00,74,00,70,00,48,00,65,00,6c,\
00,70,00,65,00,72,00,2e,00,73,00,79,00,73,00,00,00
"Start"=dword:00000001
"Type"=dword:00000001


"Description"="@winusb.inf,%WINUSB_SvcDesc%;Generic driver for USB devices"
"DisplayName"="@winusb.inf,%WINUSB_SvcName%;WinUsb Driver"
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,72,\
00,69,00,76,00,65,00,72,00,73,00,5c,00,57,00,69,00,6e,00,55,00,53,00,42,00,\
2e,00,53,00,59,00,53,00,00,00
"Owners"=hex(7):77,00,69,00,6e,00,75,00,73,00,62,00,2e,00,69,00,6e,00,66,00,00,\
00,74,00,72,00,61,00,6e,00,73,00,66,00,65,00,72,00,63,00,61,00,62,00,6c,00,\
65,00,2e,00,69,00,6e,00,66,00,00,00,00,00
"Start"=dword:00000003
"Type"=dword:00000001


"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
"Description"="@%SystemRoot%\\system32\\wpdbusenum.dll,-101"
"DisplayName"="@%SystemRoot%\\system32\\wpdbusenum.dll,-100"
"ErrorControl"=dword:00000001
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,79,00,73,00,74,00,65,00,6d,\
00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,52,00,65,00,73,00,74,00,72,00,\
69,00,63,00,74,00,65,00,64,00,00,00
"ObjectName"="LocalSystem"
"RequiredPrivileges"=hex(7):53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,\
00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,00,63,00,\
62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,\
00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,\
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,\
00,72,00,65,00,61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,\
72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,\
00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,00,65,00,6e,00,\
74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,\
00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,\
72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
"ServiceSidType"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000020


"ACInterval"=dword:00000078
"DCInterval"=dword:000000f0


"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,70,00,64,00,62,00,75,00,73,00,65,00,6e,00,75,00,6d,00,2e,00,64,00,6c,\
00,6c,00,00,00
"ServiceDllUnloadOnStop"=dword:00000001




"Action"=dword:00000001
"GUID"=hex:07,63,f5,53,bf,b6,d0,11,94,f2,00,a0,c9,1e,fb,8b
"Type"=dword:00000001


"Action"=dword:00000001
"GUID"=hex:6d,bc,e9,c1,ae,1d,1a,42,93,69,cc,7f,f0,d6,e3,59
"Type"=dword:00000001


"Action"=dword:00000001
"Data0"=hex:75,18,bc,a3,28,00,92,13
"DataType0"=dword:00000001
"GUID"=hex:16,28,7a,2d,5e,0c,fc,45,9c,e7,57,0e,5e,cd,e9,c9
"Type"=dword:00000007


"Action"=dword:00000001
"Data0"=hex:75,70,be,a3,28,00,92,13
"DataType0"=dword:00000001
"GUID"=hex:16,28,7a,2d,5e,0c,fc,45,9c,e7,57,0e,5e,cd,e9,c9
"Type"=dword:00000007


"Action"=dword:00000001
"GUID"=hex:e6,ca,9f,65,db,5b,a9,4d,b1,ff,ca,2a,17,8d,46,e0
"Type"=dword:00000005


"Action"=dword:00000001
"GUID"=hex:c8,46,fb,54,89,f0,4c,46,b1,fd,59,d1,b6,2c,3b,50
"Type"=dword:00000005


"Action"=dword:00000001
"Data0"=hex:01,00,00,00,00,00,00,00
"DataType0"=dword:00000004
"GUID"=hex:37,e0,9f,19,82,2b,a9,40,82,ac,e1,d4,6c,79,2b,99
"Type"=dword:00000014


"Description"="@%systemroot%\\System32\\drivers\\WpdUpFltr.sys,-100"
"DisplayName"="@%systemroot%\\System32\\drivers\\WpdUpFltr.sys,-100"
"ErrorControl"=dword:00000001
"Group"="PnP Filter"
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,57,00,70,00,64,00,55,00,70,00,46,\
00,6c,00,74,00,72,00,2e,00,73,00,79,00,73,00,00,00
"Start"=dword:00000003
"Type"=dword:00000001


"Description"="@%systemroot%\\system32\\drivers\\WudfRd.sys,-1001"
"DisplayName"="@%SystemRoot%\\system32\\drivers\\WudfRd.sys,-1000"
"ErrorControl"=dword:00000001
"Group"="base"
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,57,00,75,00,64,00,66,00,52,00,64,\
00,2e,00,73,00,79,00,73,00,00,00
"ObjectName"="\\Driver\\WudfRd"
"Owners"=hex(7):48,00,69,00,64,00,54,00,65,00,6c,00,65,00,70,00,68,00,6f,00,6e,\
00,79,00,44,00,72,00,69,00,76,00,65,00,72,00,2e,00,69,00,6e,00,66,00,00,00,\
68,00,69,00,64,00,62,00,74,00,68,00,6c,00,65,00,2e,00,69,00,6e,00,66,00,00,\
00,72,00,64,00,70,00,69,00,64,00,64,00,2e,00,69,00,6e,00,66,00,00,00,53,00,\
44,00,46,00,4c,00,61,00,75,00,6e,00,63,00,68,00,65,00,72,00,2e,00,69,00,6e,\
00,66,00,00,00,75,00,69,00,63,00,63,00,73,00,70,00,62,00,2e,00,69,00,6e,00,\
66,00,00,00,65,00,68,00,73,00,74,00,6f,00,72,00,70,00,77,00,64,00,64,00,72,\
00,76,00,2e,00,69,00,6e,00,66,00,00,00,00,00
"Start"=dword:00000003
"Tag"=dword:0000000c
"Type"=dword:00000001


@=hex(7):77,00,69,00,6e,00,75,00,73,00,62,00,2e,00,69,00,6e,00,66,00,5f,00,61,\
00,6d,00,64,00,36,00,34,00,5f,00,65,00,38,00,33,00,62,00,61,00,64,00,63,00,\
34,00,62,00,30,00,63,00,61,00,65,00,62,00,37,00,37,00,00,00,00,00
"Active"="winusb.inf_amd64_e83badc4b0caeb77"
"Configurations"=hex(7):57,00,49,00,4e,00,55,00,53,00,42,00,2e,00,4e,00,54,00,\
00,00,42,00,49,00,4c,00,4c,00,42,00,4f,00,41,00,52,00,44,00,2e,00,4e,00,54,\
00,00,00,41,00,44,00,42,00,2e,00,4e,00,54,00,00,00,00,00






"ConfigFlags"=dword:00000000
"ConfigScope"=dword:00000007
"IncludedInfs"=hex(7):77,00,69,00,6e,00,75,00,73,00,62,00,2e,00,69,00,6e,00,66,\
00,00,00,00,00
"Service"="WINUSB"


"DeviceInterfaceGUID"="{1EB7CB03-60A9-4d28-934F-4ABEEEBD0019}"


"DevLoader"="*ntkern"
"NTMPDriver"="winusb.sys"


@="winusb.inf"
"Provider"="Microsoft"
"SignerScore"=dword:0d000003
"StatusFlags"=dword:00000012
"Version"=hex:ff,ff,09,00,00,00,00,00,32,e0,ba,88,81,5a,f0,49,bc,3d,a4,ff,13,\
82,16,d6,00,80,8c,a3,c5,94,c6,01,e8,03,85,47,00,00,0a,00,00,00,00,00,00,00,\
00,00




"ConfigFlags"=dword:00000000
"ConfigScope"=dword:00000007
"Service"="WINUSB"


"DeviceInterfaceGUIDs"=hex(7):7b,00,46,00,37,00,32,00,46,00,45,00,30,00,44,00,\
34,00,2d,00,43,00,42,00,43,00,42,00,2d,00,34,00,30,00,37,00,64,00,2d,00,38,\
00,38,00,31,00,34,00,2d,00,39,00,45,00,44,00,36,00,37,00,33,00,44,00,30,00,\
44,00,44,00,36,00,42,00,7d,00,00,00,00,00


"DevLoader"="*ntkern"
"NTMPDriver"="winusb.sys"


"ConfigFlags"=dword:00000000
"ConfigScope"=dword:00000007
"Service"="WINUSB"


"DefaultIdleState"=dword:00000001
"DeviceIdleEnabled"=dword:00000001
"DeviceIdleIgnoreWakeEnable"=dword:00000001


"DevLoader"="*ntkern"
"NTMPDriver"="winusb.sys"


"ConfigFlags"=dword:00000000
"ConfigScope"=dword:00000005
"Service"="WINUSB"


"DevLoader"="*ntkern"
"NTMPDriver"="winusb.sys"






"Configuration"="BILLBOARD.NT"
"Description"="%usb\\ms_comp_billboard.devicedesc%"
"Manufacturer"="%generic.mfg%"


"Configuration"="ADB.NT"
"Description"="%usb\\ms_comp_adb.devicedesc%"
"Manufacturer"="%generic.mfg%"


"Configuration"="WINUSB.NT"
"Description"="%usb\\ms_comp_winusb.devicedesc%"
"Manufacturer"="%generic.mfg%"


"generic.mfg"="WinUsb Device"
"usb\\ms_comp_adb.devicedesc"="ADB Device"
"usb\\ms_comp_billboard.devicedesc"="Billboard Device"
"usb\\ms_comp_winusb.devicedesc"="WinUsb Device"


"CmdLine"="Pecmd.exe Main %Windir%\\System32\\Pecmd.ini"

WAIGO 发表于 2019-7-5 10:39:30

nf17b 发表于 2019-3-15 01:49
也許可以考慮用現成工具處理
WIN10XPE - 从零开始构建的PE+Admin双登录+MTP支持首发+19H1支持



nf17b 兄您好!我一向使用了 slore 老大原汁原味的注册表,MTP 功能一直能够使用,但没有显示网络邻居的功能。 前两天改为使用红毛老大的注册表,找回了显示网络邻居的功能,但 MTP 功能也就没有了。我根据您在本文的列表,补充了 Windows\System32\config\SOFTWARE 及 SYSTEM 的所有异动文件。MTP 功能却是仍旧未能实现。可能您也欠缺了 slore 老大在新版本的某些设置,可否尽快在今天给我补充完整,我打算在今晚发布 19H2 18362.10000 PE。非常感谢!
页: [1]
查看完整版本: MTP