PINE64
Anbox for Debian - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Debian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Anbox for Debian (/showthread.php?tid=9815)

Pages: 1 2 3 4 5


RE: Anbox for Debian - jed - 10-14-2020

@rik-shaw After a cursory search, it appears that adb isn't present in bullseye (testing), but is available on sid (unstable).

Pin adb to sid and install - pinning ensures adb stays up-to-date. See the Debian Wiki for instructions.


RE: Anbox for Debian - ncm - 10-14-2020

Hi, I followed the instructions on https://linmob.net/2020/08/15/anbox-on-the-pinephone.html
for my PinePhone CE, running Mobian. Anbox crashes on startup, every time.

Ashmem and binder are compiled into the current Mobian kernel.

Where should I look for log output, or to turn  on log output?


RE: Anbox for Debian - jed - 10-15-2020

LINMob's guide factored in the newer version of the instructions, linked in the OP.

Those instructions haven't been updated since; it may be worth reviewing the workarounds posted on GitLab.


RE: Anbox for Debian - Baggypants - 11-06-2020

I had a go with this on a current mobian with kernel 5.9

I'm getting this error with anbox-session-manager.service

Code:
mobian@mobian:/var/lib/anbox$ systemctl --user status -n 100 anbox-session-manager.service
● anbox-session-manager.service - Anbox Session Manager
     Loaded: loaded (/usr/lib/systemd/user/anbox-session-manager.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Fri 2020-11-06 15:45:55 UTC; 6min ago
       Docs: man:anbox(1)
    Process: 807 ExecStart=/usr/bin/anbox session-manager (code=killed, signal=SEGV)
   Main PID: 807 (code=killed, signal=SEGV)

Nov 06 15:45:36 mobian systemd[682]: Started Anbox Session Manager.
Nov 06 15:45:41 mobian anbox[807]: Failed to initialize EGL
Nov 06 15:45:55 mobian anbox[807]: Stack trace (most recent call last) in thread 1198:
Nov 06 15:45:55 mobian anbox[807]: #7    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
Nov 06 15:45:55 mobian anbox[807]: #6    Object "/lib/aarch64-linux-gnu/libc.so.6", at 0x7fa5a311db, in
Nov 06 15:45:55 mobian anbox[807]: #5    Object "/lib/aarch64-linux-gnu/libpthread.so.0", at 0x7fa5dd2627, in
Nov 06 15:45:55 mobian anbox[807]: #4    Object "/usr/bin/anbox", at 0x5572eedefb, in emugl::Thread::thread_main(void*)
Nov 06 15:45:55 mobian anbox[807]: #3    Object "/usr/bin/anbox", at 0x5572e19c8b, in RenderThread::main()
Nov 06 15:45:55 mobian anbox[807]: #2    Object "/usr/bin/anbox", at 0x5572ee95a7, in renderControl_decoder_context_t::decod>
Nov 06 15:45:55 mobian anbox[807]: #1    Object "/usr/bin/anbox", at 0x5572e7a70f, in
Nov 06 15:45:55 mobian anbox[807]: #0    Object "/usr/bin/anbox", at 0x5572e7d374, in RendererConfigList::getPackInfo(int*, >
Nov 06 15:45:55 mobian anbox[807]: Segmentation fault (Address not mapped to object [(nil)])
Nov 06 15:45:55 mobian systemd[682]: anbox-session-manager.service: Main process exited, code=killed, status=11/SEGV
Nov 06 15:45:55 mobian systemd[682]: anbox-session-manager.service: Failed with result 'signal'.


Edit: My own fault, missed the whole step on setting up anbox-session-manager


RE: Anbox for Debian - Baggypants - 11-07-2020

As long as you don't want to use characters like '@:#`' and some others, anbox is rather nice on mobian! It's not very useful for email and browsing but perfect for playing Simon Tatham's puzzle game collection.


RE: Anbox for Debian - kramer65 - 11-09-2020

Did anyone try Whatsapp with this yet?

Quite frankly, that is the one and only thing that I would need.. :|


RE: Anbox for Debian - jed - 11-09-2020

@Baggypants Thanks for the update. Which steps did you follow to get Anbox working?


RE: Anbox for Debian - Baggypants - 11-09-2020

(11-09-2020, 01:58 AM)kramer65 Wrote: Did anyone try Whatsapp with this yet?

Quite frankly, that is the one and only thing that I would need.. :|

I didn't, and I wont.

@jed https://linmob.net/2020/08/15/anbox-on-the-pinephone.html


RE: Anbox for Debian - jed - 11-09-2020

Cool. Nice to know the 5.7+ instructions are still working.


RE: Anbox for Debian - Baggypants - 11-11-2020

The only change I'd offer is instead of editing in-place:

Code:
/lib/systemd/system/anbox-container-manager.service
/lib/systemd/user/anbox-session-manager.service

they should be copied to /etc/systemd/system/ and /home/mobian/.config/systemd/user/ respectively and edited there.