• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Is it okay to run a 32-bit system service on an aarch64 android?

Erez St

Lurker
Sep 19, 2017
1
0
Hi experts,

I'm trying to deploy a system service on Android running on 64-bit ARM (aarch64).

The service cannot be built for aarch64 (due to portability issues), and only runs when build for 32-bit ARM. I am able to install and run it when built for 32-bits, but I'm concerned if it might cause any other problems.

PackageManager outputs warnings about incompatible ABIs, and also I found a reference that says "All apps that use a given sharedUid are expected to use the same instruction set". In my case, sharedUid is android.uid.system

Can someone help clarify what are the implications of installing a 32-bit program in a 64-bit Android system, especially as a system service?


Thanks,
Erez
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones