From 287117622edf1093beba07b85ced89d9750df696 Mon Sep 17 00:00:00 2001 From: Compot Developer Date: Sun, 15 Nov 2026 23:22:04 +0000 Subject: [PATCH 1/2] Android: arm64-v8a and armeabi-v7a by default, x86_64 only on request (#89) Phones and TV boxes are ARM, and x86_64 emulator images of Android 11 and later run ARM libraries themselves. -PmicrosnanderAbis=...,x86_64 still builds for an x86_64 emulator. --- android/app/build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a4b5ae1..68cd141 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -29,10 +29,10 @@ android { targetSdk = 34 versionCode = msVersionCode versionName = msVersion - // phones and TV boxes (32-bit ARM too); x86_64 for the emulator. - // -PmicrosnanderAbis=armeabi-v7a for one ABI only. + // phones and TV boxes (32-bit ARM too) (#89). -PmicrosnanderAbis=armeabi-v7a + // for one ABI only, add x86_64 for an x86_64 emulator. val abis = (project.findProperty("microsnanderAbis") as String?) - ?: "arm64-v8a,armeabi-v7a,x86_64" + ?: "arm64-v8a,armeabi-v7a" ndk { abiFilters += abis.split(",").map { it.trim() } } resourceConfigurations += listOf("en", "ru", "zh-rCN") } @@ -72,7 +72,7 @@ android { warningsAsErrors = true abortOnError = true // GradleDependency etc.: the versions are pinned on purpose (as in compot/android); - // ChromeOsAbiSupport: phones and TV boxes, x86_64 only for the emulator + // ChromeOsAbiSupport: phones and TV boxes, no x86 by default disable += listOf("GradleDependency", "OldTargetApi", "AndroidGradlePluginVersion", "ChromeOsAbiSupport") } } From 633b5d3faf8d6d97a5128825ac3e9c32ce545b47 Mon Sep 17 00:00:00 2001 From: Compot Developer Date: Sun, 15 Nov 2026 23:27:36 +0000 Subject: [PATCH 2/2] 1.42.1 --- CHANGELOG.md | 6 ++++++ src/main.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5287fab..d935192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ The version lives in `_VER` in `src/main.c`. Binaries are published only as the [`latest`](https://github.com/OpenIPC/microsnander/releases/latest) release, rebuilt from every push to `main`; this file is the change history. +## 1.42.1 — 2026-11-16 + +- Android app: the APK carries native code for ARM only, arm64-v8a and armeabi-v7a (phones and + TV boxes), not for x86_64 (#89); it is smaller. An x86_64 emulator build: + `-PmicrosnanderAbis=arm64-v8a,armeabi-v7a,x86_64`. + ## 1.42.0 — 2026-11-16 - Web mode: a hex view of the last dump (#85), under the status registers: address, bytes and diff --git a/src/main.c b/src/main.c index b96281b..b1d913b 100644 --- a/src/main.c +++ b/src/main.c @@ -42,7 +42,7 @@ struct flash_cmd prog; extern unsigned int bsize; -#define _VER "1.42.0" +#define _VER "1.42.1" const char *ms_version = _VER;