TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.95k stars 741 forks source link

keystore_auth gets compiled for arm64 ignoring TARGET_ARCH flag #1494

Open 13-beta2 opened 5 years ago

13-beta2 commented 5 years ago

... which leads to incorrect dynamic linker (/sbin/linker64) for o+ arm32 devices and inability to start the app. This, in turn, breaks /data auth procedure in case of non-default password.

_This is duplicate for omnirom/android_bootable_recovery#268. No idea who could fix it faster._

CaptainThrowback commented 5 years ago

Try adding LOCAL_MULTILIB := first somewhere in here and see if that fixes it. Not sure if that'll work in all build trees, though.

You should probably get rid of the linker reference here: https://github.com/omnirom/android_bootable_recovery/blob/android-9.0/crypto/ext4crypt/Android.mk#L99

That alone might fix it, actually. But now you have a few options.

Once you figure out which one works, you can submit a patch to Gerrit to fix it.