| Summary: | Permission error for fastboot-android - android.rules need be updated | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | David GEIGER <geiger.david68210> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | cjw, geiger.david68210, lovaren |
| Version: | 8 | ||
| Target Milestone: | Mageia 8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://bugs.mageia.org/show_bug.cgi?id=26180 https://bugs.mageia.org/show_bug.cgi?id=24139 |
||
| Whiteboard: | MGA7TOO | ||
| Source RPM: | android-tools | CVE: | |
| Status comment: | We should also check cauldron | ||
|
Description
Morgan Leijström
2020-10-14 17:32:46 CEST
CC persons from other android-tools bugs CC:
(none) =>
cjw, geiger.david68210, lovaren
Morgan Leijström
2020-10-14 17:37:51 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=26180
Morgan Leijström
2020-10-14 17:38:33 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=26139 FOUND IT! The rules need updating. I replaced our packaged 51-android.rules with another i found recommended to solve others similar problems. That file is much smaller and have a much more advanced structure. The following worked for me: __Retrieve newer In a new temporary folder: $ git clone https://github.com/M0Rf30/android-udev-rules.git __Put in place [root@svarten ~]# cp -a '/my/temporary/folder/android-udev-rules/51-android.rules' /usr/lib/udev/rules.d/51-android.rulescp: overwrite '/usr/lib/udev/rules.d/51-android.rules'? y [root@svarten ~]# chmod a+r /usr/lib/udev/rules.d/51-android.rules [root@svarten ~]# chown root:root /usr/lib/udev/rules.d/51-android.rules [root@svarten ~]# ls -l /usr/lib/udev/rules.d/51-android.rules -rw-r--r-- 1 root root 22967 okt 14 22:52 /usr/lib/udev/rules.d/51-android.rules # systemctl restart systemd-udevd.service __Testing: _With phone in bootloader mode: $ fastboot-android devices A209K1NW0202 fastboot ** Hurray!!! ** _With phone booted normally: $ adb devices List of devices attached A209K1NW0202 device - adb still works (did before also) - ---------------------- NOTE: I do not know if the rules file i fetched is the optimal one. Or how to find the best. Not my cup of tea. @ Kristoffer? ---------------------- Assigning to registered maintainer Summary:
Permission error for fastboot-android =>
Permission error for fastboot-android - android.rules need be updated I also had problem on cauldron, but was in a hurry so i just used root without digging into why or same fix works. Probably. Target Milestone:
--- =>
Mageia 8 Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021. |