Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72581 - [android-tools] android-udev should be an optional dependency

Attached to Project: Community Packages
Opened by Ayush Agarwal (ayushnix) - Friday, 29 October 2021, 17:52 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 17 November 2021, 22:12 GMT
Task Type General Gripe
Category Packages
Status Assigned
Assigned To Anatol Pomozov (anatolik)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


android-udev is better suited to be an optional dependency rather than a mandatory dependency of android-tools.

1. A brief look at the udev rules file provided by the android-udev package indicates that rules for most modern smartphones, including Pixel 4, Pixel 5, OnePlus 7 to 9, Samsung S20 etc, aren't present.
2. The adb binary can connect to android devices in a wireless manner using TCP ports which doesn't need android-udev rules.
3. The android-udev package also pulls in the libmtp package which unnecessarily probes USB devices and fills the journal.
4. The source for android-tools on github also does not list android-udev as a mandatory dependency.

Additional info:
* package version(s) - 31.0.3
This task depends upon