ADBD: binary size-reduced version
Matheus

Matheus @mprog10

About: I am a passionate computer programmer. I have affinity in the IT area since my childhood. The languages I excel at are C, Objective-C, C++, Java, C#, JavaScript and Shell. I am a Unix and Linux guru.

Location:
Brazil
Joined:
Feb 18, 2024

ADBD: binary size-reduced version

Publish Date: Mar 10
0 0

Android Debug Bridge
Following my previous post on ADB access from stock recovery, I implemented a static version based on lollipop-release.

root@Digitron:~/adbd-lollipop-release/adb# wc -c < adbd
552296
Enter fullscreen mode Exit fullscreen mode
root@Digitron:~/adbd-lollipop-release/adb# file adbd
adbd: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, BuildID[sha1]=b3c3b7ad245a3bec2e40df678fd1a70bc9db0198, for GNU/Linux 3.2.0, stripped
Enter fullscreen mode Exit fullscreen mode

The work provides an ADBD binary worth of reduced size. The original, marshmallow implementation holds 3 Mbytes if statically linked + stripped. The lollipop-release implementation holds half a Mbyte if statically linked + stripped.

Those who have limited mobile storage might find interesting running the lollipop-release version.

My Galaxy Gran Prime is successfully running Devuan GNU/Linux. Sadly, some apps don't work, due to dated kernel. Still a great solution to those owning an unused Android device.

Comments 0 total

    Add comment