Anbox for Debian
#31
@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.
  Reply
#32
Hi, I followed the instructions on https://linmob.net/2020/08/15/anbox-on-t...phone.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?
  Reply
#33
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.
  Reply
#34
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
  Reply
#35
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.
  Reply
#36
Did anyone try Whatsapp with this yet?

Quite frankly, that is the one and only thing that I would need.. :|
  Reply
#37
@Baggypants Thanks for the update. Which steps did you follow to get Anbox working?
  Reply
#38
(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-t...phone.html
  Reply
#39
Cool. Nice to know the 5.7+ instructions are still working.
  Reply
#40
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  debian+phosh running on PinePhone a-wai 548 111,224 09-03-2020, 08:27 AM
Last Post: thisishuey
  Current Features working under Debian pcdoodle 1 789 05-15-2020, 01:02 PM
Last Post: wasgurd

Forum Jump:


Users browsing this thread: 2 Guest(s)