# Reinstall WinUSB driver for VID_0E8D:PID_201C # Run as Admin $isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $isAdmin) { Start-Process PowerShell -Verb RunAs -ArgumentList "-ExecutionPolicy Bypass -File `"$PSCommandPath`"" exit } Write-Host "=== Reinstall USB Driver ===" -ForegroundColor Cyan # Create a minimal INF for VID_0E8D:PID_201C with WinUSB $infContent = @" [Version] Signature = "`$Windows NT`$" Class = "USBDevice" ClassGuid = {88bae032-5a81-49f0-bc3d-a4ff138216d6} Provider = "AeThex" DriverVer = 02/18/2026, 1.0.0.0 [ClassInstall32] Addreg = WinUSBDeviceClassReg [WinUSBDeviceClassReg] HKR,,,0,"Universal Serial Bus devices" HKR,,Icon,,-20 [Manufacturer] "MediaTek" = MediaTek_Devices, NTamd64 [MediaTek_Devices.NTamd64] "T10M_Pro Fastboot" = USB_Install, USB\VID_0E8D&PID_201C [USB_Install] Include = winusb.inf Needs = WINUSB.NT [USB_Install.Services] Include = winusb.inf AddService = WinUSB, 0x00000002, WinUSB_ServiceInstall [WinUSB_ServiceInstall] DisplayName = "WinUSB - Kernel Driver" ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\WinUSB.sys [USB_Install.Wdf] KmdfService = WINUSB, WinUsb_Install [WinUSB_Install] KmdfLibraryVersion = 1.11 [USB_Install.HW] AddReg = AddDeviceInterfaceGUID [AddDeviceInterfaceGUID] HKR,,DeviceInterfaceGUIDs,0x10000,"{F667CE2-C06C-4423-A9F6-3CD458CB3B79}" [SourceDisksNames] 1 = "Install Disk" [SourceDisksFiles] [DestinationDirs] "@ $infPath = "C:\Users\PCOEM\AeThexOS\mtk_fastboot.inf" $infContent | Out-File -FilePath $infPath -Encoding ASCII Write-Host "Installing WinUSB driver for VID_0E8D:PID_201C..." -ForegroundColor Yellow pnputil /add-driver $infPath /install 2>&1 Write-Host "" pnputil /scan-devices 2>&1 Write-Host "" Write-Host "Checking device status..." -ForegroundColor Yellow Start-Sleep -Seconds 3 Get-PnpDevice | Where-Object { $_.InstanceId -like '*0E8D*201C*' } | Select-Object Status, Class, FriendlyName | Format-Table -AutoSize Write-Host "" Write-Host "Testing fastboot..." -ForegroundColor Yellow & "C:\Users\PCOEM\platform-tools\fastboot.exe" devices 2>&1 Read-Host "Press Enter to exit"