7. I sideload the apks using a spoofed origin label
adb.exe install-multiple -i com.android.vending base.apk split_config.arm64_v8a.apk split_config.xhdpi.apk split_config.es.apk
Lawrence D›Oliveiro wrote:
7. I sideload the apks using a spoofed origin label
adb.exe install-multiple -i com.android.vending base.apk split_config.arm64_v8a.apk split_config.xhdpi.apk split_config.es.apk
Does Windows still require special USB drivers installed in order for
the SDK to talk to an Android device?
This isn›t necessary under Linux.
I don't think so. When we install adb, there's always a page for drivers
for all sorts of phones, but I've never had to install a special driver.
So I think if the USB works using the default driver that Windows installs the first time you connect the phone, then I think adb will also work.
Besides, adb nowadays works over Wi-Fi also, which doesn't need a driver.
The beauty of adb is that you can do everything you need to on the phone
from the PC keyboard/mouse/speakers/clipboard which is extremely handy.
Scrcpy, which mirrors the phone two feet tall, is powered by adb also.
<https://i.postimg.cc/pr8NPNKs/scrcpy33.jpg>
When I'm home, I use the phone without even knowing where the phone is. :)
(I have to play a song on the phone from the PC just to find the phone.)
Maria Sophia wrote:
However, I have to admit I have no idea where my current driver came from. >> It may just as well have been that years ago, I installed an OEM driver.
I just checked if my PC is using a Samsung OEM ADB driver, or WinUSB,
(where I ran this while scrcpy was mirroring my Android on the PC monitor).
pnputil /enum-drivers | findstr /i winusb(reported nothing)
pnputil /enum-devices /connected | findstr /i adbInstance ID: USB\VID_04E8&PID_6860&ADB\6&421596b&8&0003
Device Description: SAMSUNG Android ADB Interface
Apparently:
a. VID_04E8 = Samsung
b. Device Description = Samsung
Apparently If it were WinUSB, it would say something like:
a. Android ADB Interface or
b. WinUSB Device
c. and the driver provider would be Microsoft.
pnputil /enum-drivers | findstr /i samsungProvider Name: SAMSUNG Electronics Co., Ltd.
Provider Name: SAMSUNG Electronics Co., Ltd.
Class Name: SAMSUNG Android Phone
Provider Name: SAMSUNG Electronics Co., Ltd.
Class Name: SAMSUNG Android Phone
Provider Name: SAMSUNG Electronics Co., Ltd.
Class Name: SAMSUNG Android Phone
Provider Name: SAMSUNG Electronics Co., Ltd.
Provider Name: SAMSUNG Electronics Co., Ltd.
pnputil /enum-drivers /drivers | findstr /i oempnputil /add-driver c:\oem\*.inf
/delete-driver <oem#.inf> [/uninstall] [/force] [/reboot]
pnputil /delete-driver oem0.inf
pnputil /delete-driver oem1.inf /force
/export-driver <oem#.inf | *> <target directory>
pnputil /export-driver oem6.inf .
Enumerate all OEM driver packages:
pnputil /enum-drivers | findstr /i ssudOriginal Name: ssudbus.inf
Original Name: ssudadb.inf
Original Name: ssudadb.inf
Original Name: ssudadb.inf
Original Name: ssudmdm.inf
Original Name: ssudrnds.inf
pnputil /enum-drivers | findstr /i winusb(reports nothing so WinUSB isn't being used)
pnputil /enum-drivers | findstr /i android_winusb(reports nothing so Google USB isn't being used)
wmic path Win32_PnPSignedDriver where "DeviceName like '%ADB%'" get DeviceName,DriverProviderName,DriverVersion,InfNameDeviceName DriverProviderName DriverVersion InfName
SAMSUNG Android ADB Interface SAMSUNG Electronics Co., Ltd. 2.19.1.0 oem56.inf
This confirms Lawrence is likely correct, as is Paul, that I prolly' installed a Samsung OEM adb driver at some point in the life of this PC although it's just as likely that Windows update installed it perhaps.
To see who installed the driver, I ran this command.
pnputil /enum-drivers... stuff ...
Published Name: oem56.inf
Original Name: ssudadb.inf
Provider Name: SAMSUNG Electronics Co., Ltd.
Driver Version: 09/26/2022 2.19.1.0
Signer Name: Microsoft Windows Hardware Compatibility Publisher
... stuff ...
This proves the driver came from Microsoft's driver catalog, so
it's most likely Windows installed it automatically the first time
I had plugged the phone into the PC USB port (as far as I can tell).
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 494930:46:58 |
| Calls: | 162 |
| Files: | 568 |
| D/L today: |
14 files (349K bytes) |
| Messages: | 75,011 |