2018年5月11日 星期五

解決1803更新後,HTC U11的USB網路共用,藍屏問題





其實解決方法一樣
就在安全模式中,連結手機並打開USB網路共用

但差別就是
這次驅動程式會安裝失敗(理由很多,但都不是重點)

後來自己去微軟網站抓RNDIS6的原始碼
自己做了一個INF的安裝檔

才安裝成功

另外方法
一、下載安裝 Htc 官方的 HTC Sync Manager。安裝完畢關機重啟。(此步驟不連接USB與手機)

二、筆電重啟後,打開 HTC Sync Manager,才接上USB與手機並開網路共用。通常這時藍屏照樣出現。所以又重啟,記得拔掉USB線。

三、重啟好,一樣打開 HTC Sync Manager,才接上USB與手機並開網路共用,若運氣好,這次就正常連上網了。若又藍屏,記得拔掉USB線,重複此步驟,我的經驗,再一次也就成了。

四、已經正常連線之後,保險起見,再重啟一次(重開機前一樣USB拔掉),開進Windows後,這次可以「不要開啟」HTC Sync Manager,直接接上USB與手機,理當照樣也能USB網路共用上網了。這時若根本沒在用「HTC Sync Manager」的人,就可以把它移除掉了,它已經完成階段性任務。

五、若有電腦環境潔癖的人,還可以去「應用程式與功能」裡,把「IPTInstaller」移除掉,這也完成階段性任務了。但「HTC Driver Installer」千萬別移除,這是這次得留下的精華,若移掉就GG了,只好再從步驟一重練。




先確定以下幾個步驟有做好
安裝HTC SYNC<---為了手機的driver

如果HTC DRIVER 遺失,可以下面網址參閱
https://androidforums.com/threads/installed-htc-sync-but-missing-ndis-driver-for-mobile-network-sharing.9685/

或到以下路徑再重新安裝過
For those of you who are missing the driver (not sure? Open Device Manager, and see if you have an Android Phone device that is showing up as an error), go to your Program Files folder, look for the HTC folder, and in it, you will find HTC Drivers... that elusive NDIS driver is stored there.

進安全模式,進行手動RNDIS6的驅動更換
(注意有時重新連線後會再自動跳成別的驅動

再來做好INF檔

再來關閉數位簽章

手動安裝INF檔


; Remote NDIS template device setup file
; Copyright (c) Microsoft Corporation
;
; This is the template for the INF installation script  for the RNDIS-over-USB
; host driver that leverages the newer NDIS 6.x miniport (rndismp6.sys) for
; improved performance. This INF works for Windows 7, Windows Server 2008 R2,
; and later operating systems on x86, amd64 and ia64 platforms.

[Version]
Signature           = "$Windows NT$"
Class               = Net
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider            = %Microsoft%
DriverVer           = 07/21/2008,6.0.6000.16384
;CatalogFile        = device.cat

[Manufacturer]
%Microsoft%         = RndisDevices,NTx86,NTamd64,NTia64

; Decoration for x86 architecture
[RndisDevices.NTx86]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_xxxx&PID_yyyy

; Decoration for x64 architecture
[RndisDevices.NTamd64]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_xxxx&PID_yyyy

; Decoration for ia64 architecture
[RndisDevices.NTia64]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_xxxx&PID_yyyy

;@@@ This is the common setting for setup
[ControlFlags]
ExcludeFromSelect=*

; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.6.0]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include         = netrndis.inf
needs           = usbrndis6.ndi
AddReg          = Rndis_AddReg
*IfType            = 6    ; IF_TYPE_ETHERNET_CSMACD.
*MediaType         = 16   ; NdisMediumNative802_11
*PhysicalMediaType = 14   ; NdisPhysicalMedium802_3

; DDInstal.Services section
[RNDIS.NT.6.0.Services]
include     = netrndis.inf
needs       = usbrndis6.ndi.Services

; Optional registry settings. You can modify as needed.
[RNDIS_AddReg]
HKR, NDI\params\RndisProperty, ParamDesc,  0, %Rndis_Property%
HKR, NDI\params\RndisProperty, type,       0, "edit"
HKR, NDI\params\RndisProperty, LimitText,  0, "12"
HKR, NDI\params\RndisProperty, UpperCase,  0, "1"
HKR, NDI\params\RndisProperty, default,    0, " "
HKR, NDI\params\RndisProperty, optional,   0, "1"

; No sys copyfiles - the sys files are already in-build
; (part of the operating system).

; Modify these strings for your device as needed.
[Strings]
Microsoft             = "Microsoft Corporation"
RndisDevice           = "Remote NDIS6 based Device"
Rndis_Property         = "Optional RNDIS Property"

沒有留言:

張貼留言