Live data from Hacker News

Anbox – A container-based approach to boot full Android on a regular Linux

github.com

11–20 of 21 posts

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#11
post #4

Anbox is a great idea but it needs a lot of work to become a usable project. Currently, it's only available on a few distros, and app installation instructions are nowhere to be found.

> and app installation instructions are nowhere to be found https://github.com/anbox/anbox/blob/master/docs/install.md ?? Or do you mean for installing Android apps?

What else would you install after putting Anbox into your setup?

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#12

Earlier quoted context omitted.

> and app installation instructions are nowhere to be found https://github.com/anbox/anbox/blob/master/docs/install.md ?? Or do you mean for installing Android apps?

What else would you install after putting Anbox into your setup?

[deleted]

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#13
post #9

Earlier quoted context omitted.

Most Android apps are just JVM bytecode and work on any architecture. Apps using the NDK (native development kit) are architecture-specific and often lack x86 binaries but ecommerce apps are highly unlikely to use the NDK.

Huh, I feel like I used to get tons of "app X wants to load binary Y.so" notifications with XPrivacy for quite a few apps... is it really that rare?

I wouldn't call it rare in general, but it seems pretty rare within the specific genre of ecommerce apps. Unless they use React Native, that requires the NDK.

I have an x86 Android tablet and it does emulate ARM binaries but the performance is bad enough that it is pretty obvious when you are running ARM binaries. I'm not sure how hard it would be to integrate libhoudini (Intel's ARM emulator) into this, if they ever even released the code.

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#14
post #13

Earlier quoted context omitted.

Huh, I feel like I used to get tons of "app X wants to load binary Y.so" notifications with XPrivacy for quite a few apps... is it really that rare?

I wouldn't call it rare in general, but it seems pretty rare within the specific genre of ecommerce apps. Unless they use React Native, that requires the NDK. I have an x86 Android tablet and it does emulate ARM binaries but the performance is bad enough that it is pretty obvious when you are running ARM binaries. I'm not sure how hard it would be to integrate libhoudini (Intel's ARM emulator) into this, if they ever…

Unfortunately libhoudini is proprietary. I don't think it's being updated for newer Android versions either.

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#16

I'd love it if I could have both handset and server Android devices and they could talk to each other. Imagine running the server-side part of apps (e.g. always on, attached storage) on a bit of cloud that you own yourself.

Why does it matter what the backend OS is? Why does it need to be Android?

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#17

Earlier quoted context omitted.

> and app installation instructions are nowhere to be found https://github.com/anbox/anbox/blob/master/docs/install.md ?? Or do you mean for installing Android apps?

What else would you install after putting Anbox into your setup?

F-Droid.

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#18

I'd love it if I could have both handset and server Android devices and they could talk to each other. Imagine running the server-side part of apps (e.g. always on, attached storage) on a bit of cloud that you own yourself.

Why does it matter what the backend OS is? Why does it need to be Android?

I think the idea here is that you would compile one native Android application that is running a single “distributed process” capable of spawning threads in both places, as if the phone and the cloud were two (very distant) NUMA noses of the same physical device. (Or, more practically, with the Android runtime doing transparent distributed RPC using a single set of static types that are marshalled between the client and server using something like protobufs.)

For this to work out, the devices really need to be either capable of running the same native code; or at least need to all be running an abstract bytecode VM with its durable state synchronized between them.

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#19
post #4

Anbox is a great idea but it needs a lot of work to become a usable project. Currently, it's only available on a few distros, and app installation instructions are nowhere to be found.

> and app installation instructions are nowhere to be found https://github.com/anbox/anbox/blob/master/docs/install.md ?? Or do you mean for installing Android apps?

Sorry, should've clarified. I was referring to installing Android apps, which is currently listed as “TBD” [0].

[0]: https://github.com/anbox/anbox#install-and-run-android-appli...

Re: Anbox – A container-based approach to boot full Android on a regular Linux

#20
post #13

Earlier quoted context omitted.

Huh, I feel like I used to get tons of "app X wants to load binary Y.so" notifications with XPrivacy for quite a few apps... is it really that rare?

I wouldn't call it rare in general, but it seems pretty rare within the specific genre of ecommerce apps. Unless they use React Native, that requires the NDK. I have an x86 Android tablet and it does emulate ARM binaries but the performance is bad enough that it is pretty obvious when you are running ARM binaries. I'm not sure how hard it would be to integrate libhoudini (Intel's ARM emulator) into this, if they ever…

Maybe with qemu translating then?
Post reply on HN