Just tried the applicable instructions given on that German site, and so far Anbox still crashes when I try to start it. After about 30s of the window saying "Starting..." it just quits. I'll see if I can get any helpful output by starting it through terminal.
Anyone tried Anbox-4-arm64 yet?
|
01-20-2020, 07:09 PM
Good work @tophneal , I didn't have time tonight but I'll see to give those instructions a shot soon.
Sounds like it didn't change the situation which could be good or bad (depending on how you look at it). You could verify if the container is running or if the android image is garbled completely from adb. If you tried to enable the Play Store as well , it may have created another point of failure which we could deal with later on. Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
i think i was wrong about what was going wrong, i just finally figured out how to get meaningful debug info out of session manager and
env ANBOX_LOG_LEVEL=debug anbox session-manager [ 2020-01-21 02:29:31] [Renderer.cpp:168@initialize] Using a surfaceless EGL context [ 2020-01-21 02:29:32] [Renderer.cpp:251@initialize] Successfully initialized EGL [ 2020-01-21 02:29:32] [service.cpp:41@Service] Successfully acquired DBus service name I suspect single window mode stays black because the image itself isn't fully booting. In my experience with actual android devices, phones can be in a not fully booted but still adb accessible state. I will run adb logcat, i should have done that earlier: 01-21 02:35:18.776 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:19.777 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:20.778 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:21.778 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:22.779 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:23.780 378 543 W MediaMetadataRetriever: MediaPlayerService not published, waiting... 01-21 02:35:24.280 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:25.281 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:26.282 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:27.283 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:28.283 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:29.284 378 543 W MediaMetadataRetriever: MediaPlayerService not published, waiting... 01-21 02:35:29.784 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:30.785 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:31.786 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:32.787 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:33.788 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:34.788 378 543 W MediaMetadataRetriever: MediaPlayerService not published, waiting... 01-21 02:35:35.288 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:36.290 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:37.291 378 543 I ServiceManager: Waiting for service media.player... 01-21 02:35:38.292 378 543 I ServiceManager: Waiting for service media.player... ad infinitum, producing approx 70 of the same log per minute maybe i will build an image after all, something seems up here, and i don't actually think it's anbox anymore. i think anbox may be working perfectly fine (still testing on my originally successful build, and i still can't reproduce it i wonder if we will have the same logcat result? the suspense is killing me)
01-20-2020, 08:49 PM
Will check tomorrow morning and report
Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
01-21-2020, 02:57 AM
(This post was last modified: 01-21-2020, 03:00 AM by PakoSt.
Edit Reason: typo + replication instructions
)
@aaspectre , same with that arm64 android image from Anbox: https://pastebin.com/yqCJFH2Z
Lots of NULLs as well I don't have enough free space on my current machines to spend on building an android image but lets see. Maybe something else will yield better results. Other: Steps I've taken to start the container and session: - In one terminal: ``` ➜ ~ sudo ANBOX_LOG_LEVEL=debug anbox container-manager --daemon --privileged --data-path=/var/lib/anbox``` - Second terminal ```➜ ~ ANBOX_LOG_LEVEL=debug anbox session-manager --gles-driver=host --single-window --window-size=640,320``` -Third terminal to launch adb logcat Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
im starting the frankly massive android build tools download again right now, should have started it last night since i pretty much knew i'd need it. ill share when/if i produce something successfully
sidenote: i got a notification that my "reputation has been modified", in those words. wow, i really like that, it makes it seem like a "like" is a high honor. i am honored.
01-21-2020, 10:59 AM
Cool! Do you know what version the tools will try to build? I've read that Anbox uses 7.1.2 images, and haven't seen any mention of anyone using newer images. It'd be interesting if it can be done.
Haha, yea, the rep is a great reward system for quality content. I'm sure to pass one out anytime I see someone sharing something of quality, whether I understand it or not.
01-21-2020, 11:08 AM
well, considering the anbox guide recommends it, i assume that there is a way to build a version that it requires.
i haven't forgotten about this, i am just in the middle of moving countries for a couple months so i'm a bit busy. i will give this a crack tonight and if i'm not initially successful (to give you an idea, i have never actually built an android image before) it will have to wait till next week, but after that i have a lot a lot of free time so i'll put some real time into it if necessary.
No worries! I put it on the back burner, too. Been focusing on getting skins hammered out from prototype to polished commercial product. I know I can do that, and much faster than anything I'd try concerning Anbox.
They make it look easy to compile Android, especially from Ubuntu. I hope your efforts tonight are successful! |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Compile of Anbox fails because kernel function kallsyms_lookup_name() is unexported | Tsvi Bar-David | 6 | 8,636 |
06-30-2020, 06:41 AM Last Post: tophneal |
Users browsing this thread: 2 Guest(s)