Development testers for Anbox
anbox-tool disabledoes the trick! Thanks! The battery consumption is now back to normal...
@mihael that's a great news! Thank you for reporting me also on Github, I appreciate.
Nonetheless, I'll wait a little bit more prior to install Anbox again, because this time I'd like to be sure not having big surprises
@mihael Did you install any android apps? since android allow background services so they would run in the background, this is something we can make more strict later (with options). Since my testing running "just anbox" without any extra apps installed is good.
@mihael anbox disable stops all anbox services, so if that work we can rule out that the kernel is an issue. I would assume its an android app stealing your battery, but if you don't have other apps then per-installed please tell me then i need to dig into it.
 Anbox consists of two always running services, one root service that creates and managers the container itself (anbox-container) and one running as users acting as the fronted providing the container with graphics windows, audio, scaling etc (anbox-session).
@mariogrip Thank you for all the help! Yes, I installed WhatsApp and Viber. Do you thing the battery drainage might be because of these two apps?
anbox-tool disablestops the battery drainage so is definitely not the kernel's fault.
I was misled by the situations when android apps would not start (thinking this is because of the container not running) but the battery drainage being still constant. Later I discovered that the services can be stopped with
anbox-tool disableand then battery drainage stops.
There is still this question: sometimes the android apps would not start and I cannot login into the container and then my only solution is to restart the device. Is there a command to restart the android services or the container or something?
Again, thank you!
was anyone able to update FDroid's repos? Because I can't.
@mihael Yes, there is a high battery drain while Anbox is runnning, even whith no open app(android)
I installed some other apps as well.
When : sudo anbox-tool disable.
the battery drain stops, or get's back to normal.
@mariogrip works like a charm. Mobile and wifi connections works normal.
@mariogrip Any chance to implement Lineage Privacy Guard where we can disable startup apps and/or control the permissions?
@mariogrip My android apps that require network access(mobile data, wifi) can't connect to internet.
@alkis My Fdroid works just fine, downloading apps, installing, updating(Fdroid itself updated just fine)
Hi, any idea how to uninstall single apps? I just messed up my anbox by installing a "Booking.com" app and now I want to just delete it because it goes crazy. Thank you
@stefano Whatsapp and Viber work for me...
@mihael That's interesting. Have you tried Chrome, Chromium or any other Browser? It just hangs here.
@malditobastardo install Root Uninnstaller app and then its easy.
@malditobastardo You can do this also when you do this:
sudo mount -o rw,remount /
sudo apt update
sudo apt install android-tools-adb
this is a example of the app-list installed apps on your device:
adb uninstall com.asvcorp.aftershock
@stefano Chrome doesn't work. Opera mini neither...
So how would one uninstall anbox completely?
Not sure if a bug or not, but when I run:
sudo lxc-console -ndefault -P /home/phablet/anbox-data/containers -t0
The out put is:
And it keeps looping over and over...
@joe sudo apt remove anbox-tool
sudo apt purge anbox-tool
Flash it over with Ubports installer without wipe?