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.
#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?
#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.
#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
#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.
#36
Did anyone try Whatsapp with this yet?

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 1,812 08-31-2023, 12:38 PM
Last Post: vusra
  Debian bookworm security repo user641 2 1,455 02-17-2023, 01:12 AM
Last Post: user641
  Gnome-podcasts on Debian repos user641 4 2,824 02-06-2022, 04:58 AM
Last Post: jsch
  gnome podcasts on debian repo, dino-mobile user641 3 3,098 09-11-2021, 12:04 AM
Last Post: user641
  Best/easiest way to install minimal Debian on PinePhone? mcgee 6 5,243 07-18-2021, 09:35 AM
Last Post: swiley
  How does calls work in debian? temp0rary 4 4,102 05-31-2021, 10:44 AM
Last Post: temp0rary
  Whatsapp in Anbox scott_VYuCAbn3k1NFK 7 8,865 03-22-2021, 08:46 AM
Last Post: Skyrrd
  Debian/Mobian packaging help needed arno_nuehm 1 2,138 03-20-2021, 04:59 PM
Last Post: TRS-80
  Anbox apps listed in the launch screen mark1250 1 2,673 03-17-2021, 02:23 PM
Last Post: tvall
  Debian / mobian Pine64 - User Manual? Harry27 1 2,240 03-03-2021, 04:50 PM
Last Post: LibrePhoneUser

Forum Jump:


Users browsing this thread: 1 Guest(s)