Category Archives: Android

Cross compile fstrim for Android on Ubuntu 18.10

Install compiler

$ sudo apt install gcc-arm-linux-gnueabi 

Get sources and compile

$ apt source util-linux
$ cd util-linux-*
$ ./autogen.sh
$ ./configure --host=arm-linux-gnueabi CFLAGS="-static"
$ make LDFLAGS="--static" fstrim
# OK with warnings

Check

$ file fstrim
fstrim: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=5f6d5789d8c27197fb5fadbc18f5cd506b330dc4, with debug_info, not stripped

Override DNS new release (v5.1.0)

Changelog

  • Make everything faster
  • New feature: the app can use DNS servers listening on alternate ports (ur0011)
  • New feature: the app can now be activated as a Device Administrator (ur0020)
  • New feature: support for 64-bit architectures in setools-android
  • New feature: auto clear notification (ur0031)
  • New feature: custom notification priority (ur0032)
  • Migrate root library from RootCommands to libsuperuser
  • Add OpenDNS on port 443 in the predefined list of available servers
  • Ask again for root permissions after an upgrade
  • Add iptables cleanup procedure in the Advanced settings
  • Upgrade gradle, EventBus, setools-android, android-rate, showcaseview, dashclock-api
  • New library: vntnumberpickerpreference
  • bugfix when busybox replaces toolbox/toybox
  • bugfixes