Package: android-platform-tools / 34.0.5-7

Metadata

Package Version Patches format
android-platform-tools 34.0.5-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
revert/Revert Remove mips support.patch | (download)

system/unwinding/libunwindstack/Android.bp | 2 2 + 0 - 0 !
system/unwinding/libunwindstack/Elf.cpp | 5 5 + 0 - 0 !
system/unwinding/libunwindstack/GlobalDebugImpl.h | 4 3 + 1 - 0 !
system/unwinding/libunwindstack/Regs.cpp | 8 8 + 0 - 0 !
system/unwinding/libunwindstack/RegsMips.cpp | 173 173 + 0 - 0 !
system/unwinding/libunwindstack/RegsMips64.cpp | 160 160 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/Arch.h | 3 3 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/MachineMips.h | 63 63 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/MachineMips64.h | 63 63 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/RegsMips.h | 57 57 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/RegsMips64.h | 57 57 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/UcontextMips.h | 59 59 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/UcontextMips64.h | 66 66 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/UserMips.h | 42 42 + 0 - 0 !
system/unwinding/libunwindstack/include/unwindstack/UserMips64.h | 42 42 + 0 - 0 !
system/unwinding/libunwindstack/tools/unwind.cpp | 6 6 + 0 - 0 !
system/unwinding/libunwindstack/utils/RegsFake.h | 2 1 + 1 - 0 !
17 files changed, 810 insertions(+), 2 deletions(-)

 revert "remove mips support."
 This reverts commit c0fa0c327e58eda604b2fd00b81f1c12817542d3.
revert/Revert Remove mips build.patch | (download)

system/unwinding/libunwindstack/AsmGetRegsMips.S | 80 80 + 0 - 0 !
system/unwinding/libunwindstack/AsmGetRegsMips64.S | 80 80 + 0 - 0 !
system/unwinding/libunwindstack/Regs.cpp | 8 8 + 0 - 0 !
3 files changed, 168 insertions(+)

 revert "remove mips build."
 This reverts: https://android-review.googlesource.com/1252871
 And it restores the mips support.
 .
 This reverts commit 49e6ee928fb7730500a8cf08fbb7e290cabc04da.
revert/Revert Remove mips support fr.patch | (download)

system/unwinding/libunwindstack/Regs.cpp | 16 16 + 0 - 0 !
1 file changed, 16 insertions(+)

 revert "remove mips support from register getting functions"
 This partly reverts: https://android-review.googlesource.com/2048663
 And it restores the mips support.
 .
 This partly reverts commit eead878fde3b9df5b5d819b955f7e5da2c3b1589.
revert/Revert Remove a file we haven t built since 2013.patch | (download)

system/core/libsparse/simg2simg.cpp | 111 111 + 0 - 0 !
1 file changed, 111 insertions(+)

 revert "remove a file we haven't built since 2013."
 This reverts: https://android-review.googlesource.com/2299260
 And it restores support for simg2simg.
 .
 This reverts commit 8a9495aba66d8274d13a6d10bd5a5c8114c3c799.
revert/support mips.patch | (download)

packages/modules/adb/sysdeps/errno.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 support mips
revert/Revert 3 Add rust demangling.patch | (download)

system/unwinding/libunwindstack/Android.bp | 6 0 + 6 - 0 !
system/unwinding/libunwindstack/AndroidUnwinder.cpp | 10 8 + 2 - 0 !
system/unwinding/libunwindstack/Demangle.cpp | 51 0 + 51 - 0 !
system/unwinding/libunwindstack/Unwinder.cpp | 15 12 + 3 - 0 !
system/unwinding/libunwindstack/include/unwindstack/Demangle.h | 25 0 + 25 - 0 !
5 files changed, 20 insertions(+), 87 deletions(-)

 revert^3 "add rust demangling."
 To avoid introduce new dependecy:
 - https://android.googlesource.com/platform/external/rust/crates/rustc-demangle-capi
 .
 This reverts commit a8345a5764ceb0750729396ccfbaa763ae248f21.
revert/Revert Replacing hardcoded types with decltype for e.patch | (download)

packages/modules/adb/client/adb_wifi.cpp | 4 3 + 1 - 0 !
packages/modules/adb/types.h | 4 2 + 2 - 0 !
packages/modules/adb/types_test.cpp | 3 2 + 1 - 0 !
3 files changed, 7 insertions(+), 4 deletions(-)

 revert "replacing hardcoded types with decltype() for
 enforcing static invariants and removing spurious assertions."
 This reverts commit 45720fdaea751c63081541b6c18ab512becd32a4.
revert/Revert Enforcing static invariants to prevent failur.patch | (download)

packages/modules/adb/client/adb_wifi.cpp | 5 0 + 5 - 0 !
packages/modules/adb/client/usb_osx.cpp | 1 1 + 0 - 0 !
packages/modules/adb/types.h | 3 0 + 3 - 0 !
packages/modules/adb/types_test.cpp | 5 0 + 5 - 0 !
4 files changed, 1 insertion(+), 13 deletions(-)

 revert "enforcing static invariants to prevent failures
 arising from layout"
 This reverts commit f4e573399592c89b9a35451cb2f39fc6a6e0c6f2.
revert/Revert Drop all path rel.patch | (download)

system/core/libutils/String8.cpp | 108 105 + 3 - 0 !
system/core/libutils/String8_fuzz.cpp | 24 24 + 0 - 0 !
system/core/libutils/abi-dumps/arm64/source-based/libutils.so.lsdump | 88 87 + 1 - 0 !
system/core/libutils/abi-dumps/arm_arm64/source-based/libutils.so.lsdump | 88 87 + 1 - 0 !
system/core/libutils/include/utils/String8.h | 75 72 + 3 - 0 !
5 files changed, 375 insertions(+), 8 deletions(-)

 revert "drop all path-related methods from android::string8"
 This reverts commit a1853516ff0dc78b677eeafa792cdfa9e5d9a2ee.
revert/Revert Lose convertToResPath to aapt.patch | (download)

system/core/libutils/String8.cpp | 20 20 + 0 - 0 !
system/core/libutils/String8_fuzz.cpp | 3 3 + 0 - 0 !
system/core/libutils/abi-dumps/arm64/source-based/libutils.so.lsdump | 16 16 + 0 - 0 !
system/core/libutils/abi-dumps/arm_arm64/source-based/libutils.so.lsdump | 16 16 + 0 - 0 !
system/core/libutils/include/utils/String8.h | 9 9 + 0 - 0 !
5 files changed, 64 insertions(+)

 revert "lose converttorespath to aapt."
 This reverts commit 1d98fe0d393f05283f3a10a896f1054ecd3043cd.
gcc only/stdatomic.patch | (download)

system/core/libcutils/include/cutils/atomic.h | 16 16 + 0 - 0 !
system/core/libcutils/include/cutils/trace.h | 7 7 + 0 - 0 !
system/logging/liblog/logger.h | 6 6 + 0 - 0 !
3 files changed, 29 insertions(+)

 fix incompatibility between <stdatomic.h> and <atomic>
 This 2 headers combined will cause errors for both GCC and Clang. This patch
 makes sure only one of them is present at any time.
 .
 This patch is for gcc only, no need for clang.
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
Bug: https://reviews.llvm.org/D45470
gcc only/workaround__builtin_available.patch | (download)

system/libbase/logging.cpp | 36 25 + 11 - 0 !
1 file changed, 25 insertions(+), 11 deletions(-)

 workaround clang's __builtin_available keyword
 This patch is for gcc only, no need for clang.
gcc only/Nullable.patch | (download)

libnativehelper/file_descriptor_jni.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 bring clang's _nullable keyword to gcc
 This patch is for gcc only, no need for clang.
system/unwindstack porting.patch | (download)

system/unwinding/libunwindstack/include/unwindstack/RegsGetLocal.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 unwindstack porting
system/move log file to proper dir.patch | (download)

packages/modules/adb/adb_utils.cpp | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 update log file directory.
system/Added missing headers.patch | (download)

packages/modules/adb/pairing_connection/pairing_server.cpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 added missing headers causing compile errors
system/libusb header path.patch | (download)

packages/modules/adb/client/usb_libusb.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 libusb.h comes from different location
system/throw exception on unknown os.patch | (download)

system/libbase/file.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 turn #error into exceptions
 So the library can be built on non-Linux platforms too, although can't
 guarauntee its functionality regarding that piece of code.
system/hard code build number.patch | (download)

packages/modules/adb/adb.cpp | 5 1 + 4 - 0 !
system/core/fastboot/fastboot.cpp | 5 1 + 4 - 0 !
2 files changed, 2 insertions(+), 8 deletions(-)

 just hard code rather than deal with circular deps
system/stub out fastdeploy.patch | (download)

packages/modules/adb/client/adb_install.cpp | 34 4 + 30 - 0 !
packages/modules/adb/client/commandline.cpp | 1 0 + 1 - 0 !
2 files changed, 4 insertions(+), 31 deletions(-)

 defer packaging fastdeploy with adb for 29.x.x tags.
system/Implement const_iterator operator.patch | (download)

system/incremental_delivery/incfs/util/include/util/map_ptr.h | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 implement const_iterator::operator--
system/Drop gki dependency from mkbootimg.patch | (download)

system/tools/mkbootimg/mkbootimg.py | 61 0 + 61 - 0 !
1 file changed, 61 deletions(-)

 drop gki dependency from mkbootimg
 `mkbootimg` is currently unusable due to a missing `gki` python
 module. This module is only needed for signing GKI boot images, which
 is deprecated as the argument group description implies.
 This patch disables this (deprecated) signature feature entirely as
 it's unlikely Debian users will actually need it.
system/gcc 14.patch | (download)

packages/modules/adb/client/incremental_utils.cpp | 1 1 + 0 - 0 !
system/core/fs_mgr/liblp/super_layout_builder.cpp | 1 1 + 0 - 0 !
system/core/fs_mgr/liblp/utility.cpp | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 address ftbfs with gcc-14
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074811
system/add missing headers.patch | (download)

system/core/fastboot/fastboot_driver_interface.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add missing headers
development/typos.patch | (download)

development/tools/etc1tool/etc1tool.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix typos
adbd/adbd allow usb on linux.patch | (download)

packages/modules/adb/daemon/main.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adb: daemon: allow binding to usb on linux systems

Linux systems are also capable of using FunctionFS for USB gadget
configurations. This requires creating a specific gadget configuration
using ConfigFS (including an `ffs.adb` function) and mounting
FunctionFS to `/dev/usb-ffs/adb`.

adbd/adbd allow notifying systemd.patch | (download)

packages/modules/adb/daemon/main.cpp | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 adb: daemon: allow notifying systemd when ready

When using `systemd` on Linux, we should allow `adbd` to notify
`systemd` once it has started and configured its USB/network interface.
This allows us to (for example) wait for the daemon to bind to the
FunctionFS endpoints, then activate the USB gadget.

adbd/adbd usb drop property monitor.patch | (download)

packages/modules/adb/daemon/usb.cpp | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 [patch] adb: daemon: usb: drop property monitor

This is an Android-only feature not available on Linux.

adbd/adbd don t require authorization on Linux.patch | (download)

packages/modules/adb/daemon/main.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch] adb: daemon: don't require authorization on linux

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>