S satanclaus Member Licensed User Longtime User Jul 18, 2013 #1 Hi, I want to distribute an android root application that installs a binary suitable for that particular architecture. E.g. armv4l, armv7, mips, x86, etc. How do I go about it in basic4ppc ?
Hi, I want to distribute an android root application that installs a binary suitable for that particular architecture. E.g. armv4l, armv7, mips, x86, etc. How do I go about it in basic4ppc ?
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2013 #2 Are you loading any native library (so file)? Upvote 0
S satanclaus Member Licensed User Longtime User Jul 20, 2013 #3 Erel said: Are you loading any native library (so file)? Click to expand... No, it's statically linked, self-compiled. Upvote 0
Erel said: Are you loading any native library (so file)? Click to expand... No, it's statically linked, self-compiled.
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2013 #4 Your APK will support all CPUs. Upvote 0
S satanclaus Member Licensed User Longtime User Jul 21, 2013 #5 Erel said: Your APK will support all CPUs. Click to expand... Ofcourse the APK will, but the native binary I want to place into /system/xbin/ is an ARM binary. I have compiled the binary for different architectures but unsure how to install the 'correct' one for the particular device. (With "native binary" i mean it's an ELF binary) Upvote 0
Erel said: Your APK will support all CPUs. Click to expand... Ofcourse the APK will, but the native binary I want to place into /system/xbin/ is an ARM binary. I have compiled the binary for different architectures but unsure how to install the 'correct' one for the particular device. (With "native binary" i mean it's an ELF binary)
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2013 #6 How do you execute / run this binary file? Upvote 0
S satanclaus Member Licensed User Longtime User Jul 26, 2013 #7 Think 'busybox'. It's installed into /system/xbin/ and can be run from terminal for example. Upvote 0
thedesolatesoul Expert Licensed User Longtime User Jul 26, 2013 #8 You can probably run a shell command like 'cat /proc/cpuinfo' to find out the device architecture. Upvote 0