Oandbackup build for ARMv8-A


#1

We need a build for ARMv8-A. The ARMv7-A (dk.jens.backup build 1302) doesn’t work in arm8 phones.

Thanks!


#2

more info:


#3

And did you report this to the developer?


#4

This isn’t his fault. The app, since last submit, copies assets based on abi versión.

Before:
copyAsset(context, OAB_UTILS, OAB_UTILS);
Now:
final String assetPath = new File(getAbi(), OAB_UTILS).toString();
copyAsset(context, assetPath, OAB_UTILS);

There is two builds in fdroid repo, well. We need another for armv8 phones, or one with all the arm/x86 architectures.

I don’t know why build x86 & armv7 and leave armv8.

Thank you all for your work.


#5

My fault. I assumed it worked like JNI, falling back to armv7 on armv8 devices.

Will fix today.


#6

I took a look but somehow on my VM it fails to find aarch64 and x86_64 NDK stuff (clang?) to build for some reason.

FYI you need target 21 (instead of 18) for 64bit :wink:


#7

Unfortunately, there’s a problem in armv8 version of oandbackup. I’ve notified the developer, waiting for the fix.


#8

@naima_b, I’ve added oandbackup 0.3.3 for arm64 and x86_64 in 67bb000. Should be available in a few days.


#9

Most F-Droid users will probably use an arm (not arm64) device for which there is no longer a version of oandbackup, because there are only versions for three other architectures. :confused: In addition, a version for a different architecture is recommended as an update. :roll_eyes: The best thing would be if F-Droid could detect the existing architecture itself, or if it could at least be set as an option.


#10

Picture?

It already does…if the package says it’s for an arch you can install it. Also you can install from a different one my enabling that option in F-Droid settings, that “incompatible” switch.


#11

This ( https://gitlab.com/fdroid/fdroiddata/commit/cacfcebb88f48a1b83eee410f37b7d065cd40e9a ) already makes all the versions available (0.3.2 for arm/x86 and 0.3.3 for 64bit versions).

Refresh your repo! :wink:

Also this: https://gitlab.com/fdroid/fdroiddata/issues/1366#note_114389258


#12


#13

So you have the latest version! As the notes say, 0.3.3 was just a fix for 64bit: https://github.com/jensstein/oandbackup/commit/f6af834a4d727b0b7c4fc34a9181122847963e69

Oh, I see… but any attempt to update will fail, right?