Page MenuHomeFreeBSD

devel/android-tools-{adb,fastboot}: update to 6.0.0.r1 (marshmallow)
ClosedPublic

Authored by jbeich on Oct 8 2015, 7:04 AM.

Details

Summary

Non-trivial update mainly due to lots of changes upstream as well as C++ conversion. As I've prepared in advance

  • Integrate most changes from -devel slaves (e.g. rP397252, rP397254)
  • Get revision based on GH_TAGNAME (from JSON for releases)

Changes: adb, fastboot.

Test Plan

poudriere bulk -t logs with with TEST=on:
9.3R i386: adb, fastboot
9.3R amd64: adb, fastboot
10.1R i386: adb, fastboot
10.2R amd64: adb, fastboot

Runtime tested only lightly on 11.0C amd64 against:

$ adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
ABCDE12345      device
$ adb shell getprop ro.build.version.release
5.1.1
$ adb install foo.apk
2592 KB/s (802843 bytes in 0.302s)
        pkg: /data/local/tmp/foo.apk
Success
$ adb push foo.zip /sdcard
5723 KB/s (11241472 bytes in 1.917s)
$ adb reboot recovery
^C
$ adb kill-server
$ adb pull /boot.txt                                                              ~
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3 KB/s (777 bytes in 0.199s)
$ adb reboot bootloader
^C

$ fastboot devices
ABCDE12345      fastboot
$ fastboot getvar version-bootloader
version-bootloader: Foo Bar 1.1
$ fastboot flash boot boot.img
sending 'boot' (10664 KB)...
OKAY [  0.341s]
writing 'boot'...
OKAY [  0.534s]
finished. total time: 0.876s
$ fastboot reboot
rebooting...

finished. total time: 0.001s

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jbeich updated this revision to Diff 9232.Oct 8 2015, 7:04 AM
jbeich retitled this revision from to devel/android-tools-{adb,fastboot}: update to 6.0.0.r1 (marshmallow).
jbeich updated this object.
jbeich edited the test plan for this revision. (Show Details)
jbeich added a reviewer: kevlo.

If you don't mind I can take over the port. For one, expect fb-adb to appear in ports in future. ;)

kevlo accepted this revision.Oct 9 2015, 1:49 PM
kevlo edited edge metadata.

Works for me, thanks.

This revision is now accepted and ready to land.Oct 9 2015, 1:49 PM
kevlo added a comment.Oct 9 2015, 2:47 PM
In D3842#79605, @jbeich wrote:

If you don't mind I can take over the port. For one, expect fb-adb to appear in ports in future. ;)

Please go ahead :)

This revision was automatically updated to reflect the committed changes.