50 Commits

Author SHA256 Message Date
7cca1b314d Accepting request 1295063 from home:munix9
- Add fix-libusb-enumeration.patch
  * Fix libusb enumeration to handle PINE64 PinePhone modem
    (gh#nmeum/android-tools#153)
- The android-udev-rules package is now suggested but no longer
  required. See https://github.com/systemd/systemd/pull/36939
  and (gh#M0Rf30/android-udev-rules#344)

OBS-URL: https://build.opensuse.org/request/show/1295063
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=83
2025-07-22 11:09:52 +00:00
f2cfce0020 Accepting request 1282898 from home:munix9
- Add fix-protobuf-30-compat.patch
  * vendor/extras/libjsonpb: Fix incompatibility with protobuf v30
    based on https://github.com/nmeum/android-tools/commit/0c4d799

OBS-URL: https://build.opensuse.org/request/show/1282898
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=81
2025-06-04 19:33:29 +00:00
749c3f91f5 Accepting request 1265383 from home:munix9
- Use system libusb library (>= 1.0.28 with SuperSpeedPlus
  support) for Factory/TW

OBS-URL: https://build.opensuse.org/request/show/1265383
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=79
2025-03-29 11:07:45 +00:00
51f8bbb46a Accepting request 1251497 from home:munix9
- Revoke "Use system fmt library for Leap >= 16", as "SLFO_Main"
  does not appear to provide an fmt library >= 10.2.0

OBS-URL: https://build.opensuse.org/request/show/1251497
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=77
2025-03-09 05:42:46 +00:00
525ff325ea Accepting request 1251495 from home:munix9
- Fix build for Factory/TW: Add "BuildRequires: python-rpm-macros"
- Use system fmt library for Leap >= 16

OBS-URL: https://build.opensuse.org/request/show/1251495
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=76
2025-03-09 05:14:39 +00:00
b0a36b1b5c Accepting request 1222918 from home:munix9
- Exclude ppc ppc64 and ppc64le: Bundled boringssl doesn't support
  the big endian architectures and dropped ppc64le support
- Simplify python3 requirements
- Simplify fix-install-completion.patch

OBS-URL: https://build.opensuse.org/request/show/1222918
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=74
2024-11-09 05:18:46 +00:00
4de9b4067f Accepting request 1217023 from home:munix9
- Fix build for Leap 16.0
- Add 'Provides: bundled(...)' where appropriate
- Clean up spec file

OBS-URL: https://build.opensuse.org/request/show/1217023
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=72
2024-10-22 12:55:54 +00:00
f8ef011f7b Accepting request 1203213 from home:olh:branches:hardware
- remove adb from bash-completion package for SLE15 because it is
  still part of bash-completion itself
- Use specific python versions for all SLE15 variants
- Require protobuf >= 21 until earlier variants are supported again

OBS-URL: https://build.opensuse.org/request/show/1203213
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=71
2024-09-25 05:17:08 +00:00
469dd009d9 Accepting request 1197523 from home:munix9:branches:hardware
- Fix build on i586.

OBS-URL: https://build.opensuse.org/request/show/1197523
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=69
2024-08-29 19:11:33 +00:00
6c0a65f3de Accepting request 1197517 from home:munix9
- Update to version 35.0.2
  * adb
    - Fix openscreen mDNS backend bug bringing down server on
      truncated query issue #294120933.
    - Make openscreen mDNS backend work on macOS.
    - Make openscreen mDNS backend default on all platforms.
    - Support to detect USB SuperSpeed+ (current and negotiated
      speeds) for diagnostic purposes.
    - Graceful shutdown: Release all USB interfaces on shutdown
      (all OSes).

  * CMake: Add option to link libusb with libudev
  * patches/adb: Combine similar patch to workaround nullability
    specifier
  * CMake: Add option to use bundled libusb library
  * CMake: Add option to use system fmt library
  * vendor: Don't use absolute dir for mkbootimg symlink
  * vendor: mkbootimg: Use builtin ${CMAKE_INSTALL_BINDIR} instead
    of relative bin
  * vendor: Remove unused native submodule
  * vendor: Remove unused incremental_delivery submodule
  * CMake: Remove leftovers after base submodule removal
  * Remove unused patch for libandroidfw
  * Remove libandroidfw: it was never used
  * CMake: Install adb man page
  * boringssl: Workaround compiler error with gcc-14 and _Generic

- Remove man-pages.tar.gz, use upstream man pages

OBS-URL: https://build.opensuse.org/request/show/1197517
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=68
2024-08-29 18:13:47 +00:00
b0a6e5b343 Accepting request 1194458 from home:munix9
- Fix for Factory/TW: Add 'BuildRequires: pkgconfig(zlib)'

OBS-URL: https://build.opensuse.org/request/show/1194458
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=66
2024-08-17 12:33:41 +00:00
103aa9154b Accepting request 1184047 from home:olh:branches:hardware
- Use clang15 to fix build in SLE15

(SLE15 maps clang to clang7, Leap15 maps clang to clang15)

OBS-URL: https://build.opensuse.org/request/show/1184047
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=64
2024-07-04 12:37:30 +00:00
8a9b88d251 Accepting request 1170562 from home:munix9
- Update to version 35.0.1
  * adb
    - Switch to libusb as the default on Linux issue #270205252.
    - Fix adb startup on hosts without USB.
    - Fix adb hangs caused by USB devices incorrectly reporting
      zero-length descriptors issue #302212871.
    - Fix return code of adb shell when device disconnects
      issue #321787891.

  * fastboot
    - Limit the maximum size of the incoming packet queue.
    - Remove bottlenecks that previously limited download speeds
      to around 120MB/s. Now fastboot can saturate a SuperSpeed+
      bus and achieve speeds up to 980MB/s, depending on the device.

OBS-URL: https://build.opensuse.org/request/show/1170562
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=62
2024-04-28 08:45:19 +00:00
702281701f Accepting request 1160543 from home:munix9
- Update to version 34.0.5
  * adb
    - Previously, adb responded with a successful code when wireless
      pairing fails. Resolved this by returning a failure code (1) and
      user-facing error (error: protocol fault (couldn't read status
      message...)). echo $? now reports 1.
    - adb wait-for-disconnect is now operational for non-USB
      (wireless debugging).
    - Added new DbC interface for future support of ChromeOS over adb.

  * fastboot
    - Fixed flashall on Pixel 3 devices.

- Remove fix-add-make_f2fs-tool-for-fastboot.patch and
  fix-add-sload_f2fs-tool.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/1160543
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=60
2024-03-22 06:56:33 +00:00
0a0cc23909 Accepting request 1158474 from home:munix9
- Use custom %python3_fix_shebang_path macro for Leap

OBS-URL: https://build.opensuse.org/request/show/1158474
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=58
2024-03-16 13:05:24 +00:00
657fa137ec Accepting request 1158451 from home:munix9
- Add upstream patch fix-add-sload_f2fs-tool.patch
  (gh#nmeum/android-tools#127) for the missing tool sload_f2fs
- Rework python3 dependencies (use %python3_fix_shebang for
  Factory)

OBS-URL: https://build.opensuse.org/request/show/1158451
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=57
2024-03-16 10:48:36 +00:00
9490276508 Accepting request 1114524 from home:munix9
- Add upstream patch fix-add-make_f2fs-tool-for-fastboot.patch
  (gh#nmeum/android-tools#109)
- Remove the requirement for f2fs-tools

OBS-URL: https://build.opensuse.org/request/show/1114524
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=55
2023-09-30 09:33:16 +00:00
60d55d4176 Accepting request 1109143 from home:munix9
- Update to version 34.0.4
  * adb
    - Propagate -a (gListenAll) when adb forks an adb host server
      (previously, the flag only worked for adb -a server nodaemon)
    - Faster root and unroot
    - Reland Flag(env) guarding clear endpoint (device) feature
      for OSX usb start. (issue #270205252).

  * fastboot
    - Mac: remove retries on invalid IO iterator (flashing failure
      with LIBUSB_TRANSFER_CANCELLED)
    - Windows: fix "Sparse file is too large or invalid" when using
      "flashall"
    - All platforms: fix "ANDROID_PRODUCT_OUT not set" when using
      "update"

- Remove the files vendor.tar.gz and _service and strip
  "-mod=vendor" from GOFLAGS env var (currently superfluous)
- Remove protobuf version requirement

OBS-URL: https://build.opensuse.org/request/show/1109143
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=53
2023-09-05 20:20:52 +00:00
d45d097941 Accepting request 1100932 from home:olh:branches:hardware
- Use specific python versions for 15.4 and 15.5,
  otherwise stick with plain python3
- Remove Requires for a specific python version, the interpreter
  already creates a matching Requires

OBS-URL: https://build.opensuse.org/request/show/1100932
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=52
2023-09-05 20:07:20 +00:00
0ad251b29e Accepting request 1096824 from home:munix9
- Fix for Factory/TW: Use protobuf < 22.5
- Add f2fs-tools as a requirement: Required for 'fastboot format:f2fs ...'
  (link /usr/bin/make_f2fs to /usr/sbin/mkfs.f2fs)

OBS-URL: https://build.opensuse.org/request/show/1096824
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=50
2023-07-04 14:02:37 +00:00
d439f575b9 Accepting request 1088114 from home:munix9
- Update to version 34.0.1
  * Upgrade to platform-tools-34.0.1 (see #111)

OBS-URL: https://build.opensuse.org/request/show/1088114
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=48
2023-05-21 07:59:42 +00:00
34a5fb68e7 Accepting request 1069446 from home:munix9
- Update to version 34.0.0
  * Upgrade to platform-tools-34.0.0 (see #106)

  * adb
    - Fixed zero length packet sends for macOS
      (issuetracker: 208675141).
    - Addressed unstable connectivity (MacBook high speed cable):
      frequent adb disconnects.
    - Improved error message for adb push with insufficient number
      of arguments.

  * fastboot
    - Improved flashing: flashall will now skip reboots to
      userspace if it can.
    - Fixed zero length packet sends for macOS
      (issuetracker: 208675141).
    - Fixed flashing recovery.img resulting in wrong AVB footer.

OBS-URL: https://build.opensuse.org/request/show/1069446
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=46
2023-03-05 08:52:23 +00:00
4b6c657ba4 Accepting request 1042767 from home:munix9
- Update to version 33.0.3p2
  * Actually update submodules to 33.0.3 (see #100)
  * Initial support for MacOS (see #95 and #97)

OBS-URL: https://build.opensuse.org/request/show/1042767
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=44
2022-12-20 13:23:49 +00:00
Petr Vorel
54ffc109b7 Accepting request 1034382 from home:munix9
- Update to version 33.0.3p1
* Fixed mkbootimg (see #78)
* Added avbtool (see #79)
* Fix for compatibility with Linux >= 6.0 (see #74)
* Removal of several obsolete patches

- Remove fix-mkbootimg-gki-path.patch (fixed upstream)
- Remove fix-lpmake-help-segfault.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/1034382
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=42
2022-11-07 22:55:13 +00:00
Petr Vorel
b7bb16ecf9 Accepting request 1011250 from home:AndreasSchwab:f
- Use python3.10 for 15.4

OBS-URL: https://build.opensuse.org/request/show/1011250
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=40
2022-10-16 19:25:16 +00:00
Petr Vorel
a3dd9c0bbb Accepting request 1010568 from home:munix9
- Switch to clang/llvm because of build errors with gcc12 and the
  new 6.0 kernel headers (recent gcc env for Leap still required)

OBS-URL: https://build.opensuse.org/request/show/1010568
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=38
2022-10-14 07:22:01 +00:00
Markus S
10eca30449 Accepting request 1005819 from home:munix9
- Update to version 33.0.3
  * Upgrade to platform-tools-33.0.3 (see #65).

- Update to version 31.0.3p2
  * Added e2fsdroid and ext2simg (#36)
  * Fixed build with GCC 12 (#60 and #61)
  * Bumped minimum required CMake version to 3.12 (#67)

- Add man-pages.tar.gz
- Add fix-mkbootimg-gki-path.patch
- Add fix-lpmake-help-segfault.patch
- Remove fix-add-e2fsprogs-contrib.patch (added upstream)
- Remove fix-add-functional-include.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/1005819
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=36
2022-09-26 14:10:26 +00:00
Lars Vogdt
c7495bd182 Accepting request 985129 from home:azouhr:branches:hardware
Package can not build on s390x

OBS-URL: https://build.opensuse.org/request/show/985129
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=34
2022-06-27 06:15:52 +00:00
Petr Vorel
004693b0d0 Accepting request 981971 from home:munix9:branches:hardware
- Add fix-add-functional-include.patch (fix gcc 12 build)
- Remove fix-pie-build.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/981971
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=32
2022-06-10 08:32:24 +00:00
Petr Vorel
388d3c1758 Accepting request 944054 from home:munix9
- Update to version 31.0.3p1
  * Fixes boringssl build failure with GCC 11.2.1 (e86eabe)
  * Add boot.img manipulation tools (#52)
  * Add Dynamic Partition Tools (#51)

- Split parts of the main package into 'mkbootimg' and 'partition'
- Remove sub-package 'python3' (avbtool is now part of the main
  package, mkbootimg part of the sub-package 'mkbootimg')
- Remove fix-install-python-tools.patch

OBS-URL: https://build.opensuse.org/request/show/944054
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=31
2022-01-05 20:48:16 +00:00
Markus S
c5b4a07e27 Accepting request 927224 from home:munix9
- Update to version 31.0.3
  * fastboot
    - Support flashing vbmeta_vendor.img for fastboot flashall / update.

  * aftltool removed upstream

OBS-URL: https://build.opensuse.org/request/show/927224
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=30
2021-10-26 20:47:38 +00:00
Petr Vorel
40ae64f87b Accepting request 910118 from home:pevik:branches:hardware
- Fix Supplements: supplement against bash-completion, not bash. otherwise
  bash-completion is now pulled in for everybody. Reported by dimstar.

OBS-URL: https://build.opensuse.org/request/show/910118
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=28
2021-08-04 11:03:18 +00:00
Petr Vorel
a7daa2e774 Accepting request 910113 from hardware
Revert rename

OBS-URL: https://build.opensuse.org/request/show/910113
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=27
2021-08-04 10:34:59 +00:00
Markus S
8d5f8bed83 Accepting request 908441 from home:Yav:branches:hardware
Rename "android-tools" to "android-platform-tools" as per https://build.opensuse.org/request/show/908079

OBS-URL: https://build.opensuse.org/request/show/908441
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=20
2021-07-26 19:59:42 +00:00
Markus S
4bcefaf492 Accepting request 907310 from home:munix9
- Update to version 31.0.2 [boo#1185883]
  * adb
    - Support forwarding to vsock on linux.
    - Fix bug in adb track-devices where devices over wireless
      debugging wouldn't immediately receive updates.
    - Implement preliminary support for mDNS device discovery
      without a separately installed mDNS service. This is
      currently disabled by default, and can be enabled by
      setting the environment variable ADB_MDNS_OPENSCREEN to 1
      when starting the adb server.
  * fastboot
    - Don't fail when unable to get boot partition size.
    - Derive device locked state from property instead of parsing
      the kernel command line.
- Switch source to https://github.com/nmeum/android-tools
- Add fix-add-e2fsprogs-contrib.patch
- Add fix-install-completion.patch
- Add fix-install-python-tools.patch
- Add fix-pie-build.patch
- Add vendor.tar.gz ("go_modules" service)
- Remove adb.bash and fastboot.bash (now included in archive)
- Remove fix_build_core.patch
- Remove fix_build_e2fsprogs.patch
- Remove fix-include-limits.patch
- Remove generate_build.rb
- Clean up/rework spec file

OBS-URL: https://build.opensuse.org/request/show/907310
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=19
2021-07-20 16:00:40 +00:00
Markus S
c940468932 Accepting request 896751 from home:munix9
- Update to android-security-9.0.0_r68
- Add fix-include-limits.patch

OBS-URL: https://build.opensuse.org/request/show/896751
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=18
2021-06-03 20:21:04 +00:00
Markus S
a74675ca10 Accepting request 888488 from home:munix9:branches:hardware
- Fix build for Leap (use pcre2-devel instead of
  pkgconfig(libpcre))

OBS-URL: https://build.opensuse.org/request/show/888488
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=17
2021-04-26 17:15:39 +00:00
Petr Vorel
6412cb8139 Accepting request 888317 from home:munix9
- Update to android-security-9.0.0_r67
- Add man pages (via help2man) and bash completion for
  adb and fastboot
- Clean up spec file

OBS-URL: https://build.opensuse.org/request/show/888317
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=16
2021-04-26 12:11:34 +00:00
Petr Vorel
3cfec0ef30 Accepting request 876409 from home:munix9
- Update to android-security-9.0.0_r66

OBS-URL: https://build.opensuse.org/request/show/876409
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=15
2021-03-03 21:23:41 +00:00
Markus S
4e7cc83b7c Accepting request 869622 from home:munix9
- Update to android-security-9.0.0_r65
- Update to android-security-9.0.0_r64
- Update to android-security-9.0.0_r63

OBS-URL: https://build.opensuse.org/request/show/869622
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=14
2021-02-05 17:11:24 +00:00
Markus S
c414c78e6d Accepting request 851066 from home:munix9
- Update to android-security-9.0.0_r62
- Update to android-9.0.0_r61
- Update to android-9.0.0_r60

OBS-URL: https://build.opensuse.org/request/show/851066
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=13
2020-11-26 20:02:46 +00:00
a7a676be36 Accepting request 823477 from home:munix9
- Update to android-9.0.0_r58

OBS-URL: https://build.opensuse.org/request/show/823477
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=12
2020-07-31 04:47:55 +00:00
Markus S
bb9fb36360 Accepting request 765549 from home:KAMiKAZOW
- Update to android-9.0.0_r52

OBS-URL: https://build.opensuse.org/request/show/765549
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=11
2020-01-19 09:18:03 +00:00
65ed728083 Accepting request 746771 from home:munix9
- moved udev-rules into new package 'android-udev-rules'
- some spec clean up
- depends on https://build.opensuse.org/request/show/746770

OBS-URL: https://build.opensuse.org/request/show/746771
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=9
2019-11-14 15:43:10 +00:00
Markus S
2e98d05985 Accepting request 742978 from home:KAMiKAZOW
Update to android-9.0.0_r49

OBS-URL: https://build.opensuse.org/request/show/742978
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=8
2019-10-25 16:48:52 +00:00
Markus S
5f59edd6dc Accepting request 734686 from home:KAMiKAZOW
- Update to android-9.0.0_r48
- added hack: fix for glibc >= 2.30 [by Paolo Panto (munix9)]

OBS-URL: https://build.opensuse.org/request/show/734686
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=6
2019-10-02 23:14:54 +00:00
Markus S
e550293ac0 OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=5 2019-08-25 01:24:26 +00:00
Markus S
a6d1aaebf6 Accepting request 715546 from home:KAMiKAZOW
- Update to android-9.0.0_r45
- Fix build failure

OBS-URL: https://build.opensuse.org/request/show/715546
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=3
2019-07-15 21:56:15 +00:00
Markus S
8dd9a89e0a Accepting request 711384 from home:KAMiKAZOW
- Update to android-9.0.0_r42
- Put udev rules in _service as well

OBS-URL: https://build.opensuse.org/request/show/711384
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=2
2019-06-21 19:09:44 +00:00
180ff742ba Accepting request 706519 from home:KAMiKAZOW
Resubmission of android-tools

- Latest release (9.0.0_r39)
- Builds under TW
- Use Python3 for avbtool and mkbootimg.

OBS-URL: https://build.opensuse.org/request/show/706519
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=1
2019-06-18 22:36:59 +00:00