mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
86 lines
2.2 KiB
PowerShell
86 lines
2.2 KiB
PowerShell
# 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"
|