Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More drivers are needed to install Ubuntu Touch from Windows #1922

Open
UniversalSuperBox opened this issue Apr 23, 2021 · 7 comments
Open
Labels
enhancement a new feature or an improvement of existing functionality

Comments

@UniversalSuperBox
Copy link
Member

The UBports Installer used to warn users that they should install some adb drivers from the ClockWorkMod website. This good-intentioned warning seems to have worked at some point in the past, but it did more harm than good lately: the installer worked better before installing the drivers than after.

However, the saga doesn't end there. It turns out, more drivers are required to use the UBports Installer on Windows! The driver included with Windows works for most adb devices in my library, but the vendor-specific fastboot drivers are required for fastboot sessions.

Google's drivers can be found on their website
Other vendors' drivers, along with installation instructions, can be found in the Android documentation.

There is also a driver which is offered in Windows Update that seems basically "universal" for the devices I tested -- the OnePlus One, Nexus 5, Volla Phone, Xperia X... I can't remember its name, but it appears in "Optional Updates" after Windows sees a fastboot device the first time.

This report serves two purposes:

  1. We want to know which drivers should be installed for each device
  2. We want to know how we would be able to guide the user through installation, or do it ourselves.

Please post here if you know either.

@UniversalSuperBox UniversalSuperBox pinned this issue Apr 23, 2021
@fredericoschardong
Copy link

I was stuck on fastboot and your comment about "Optional Updates" on Windows Update was enough to get it installed. Thanks!

@Maceyee
Copy link

Maceyee commented Jul 13, 2021

Why is this even a question? of course it should download needed drivers as soon as a device is selected!

@UniversalSuperBox
Copy link
Member Author

The question isn't, "should we?"

The question is, "how?"

Only one person who works on Ubuntu Touch or the Installer is a Windows software engineer, and they're pretty busy elsewhere in the project. We'd love your help to make the installer work better on Windows.

@Maceyee
Copy link

Maceyee commented Jul 14, 2021 via email

@lanawwas
Copy link

I suggested an enhancment to include some of the required drivers for the fastboot to work in MS Windows, see issue #2272

@Fazarel
Copy link

Fazarel commented Dec 3, 2021

I needed a fastboot driver to install Ubports on Xiaomi Mi A2 / jasmine_sprout, as explained here #2330
But I didn't manage to install Ubports with Linux (Debian 11): another driver missing?

@nitanmarcel
Copy link

It should be also added that some drivers might require Device Driver Signing to be disabled to be installed successfully (eg Xiaomi driver.

If the Device Driver Signing is not disabled the following error might occur:

Windows encountered a problem installing the driver software for your device.
Windows found driver software for your device but encountered an error while attempting to install it.
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.

Select the “Start” button.
Type “startup”.
Select “Change advanced startup settings“.
Select “Restart now” under the “Advanced startup” area.
Select “Troubleshoot“.
Select “Advanced Options“.
Select “Startup Options“.
Select “Restart“.
A menu will appear where you can press “7” on your keyboard to choose “Disable driver signing enforcement“.

@NeoTheThird NeoTheThird added the enhancement a new feature or an improvement of existing functionality label Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a new feature or an improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

7 participants