It's a Volla 22 phone on 20.04. Generally speaking turning it off should save some battery life so it would be great if it was possible.
Posts made by patlefort
-
RE: How to automatically turn off wi-fi when phone is put to sleep?
-
How to automatically turn off wi-fi when phone is put to sleep?
Is it possible? Wi-Fi is draining my battery even when my phone is supposed to sleep.
-
RE: Randomly getting password prompt for wifi Volla 22
@domubpkm It won't let me edit but it's a Volla 22.
Also it didn't fix it. It's completely misbehaving now. On boot, it won't detect any network until I disable and re-enable wifi. After that it's very random, sometimes it will save pas password, sometimes it wont. Sometime it will ask for a password even if it is saved. Right now I have 2 wifi icons but only one that's connected in my wifi list.
I notice I have 2 wifi devices:
wlan0
andwlan1
and they are both connected with an IP address but they both have the same MAC address. That's not normal, what could be generating that second wifi device? I can circumvent the problem by disabling one of them withnmcli d set wlan1 managed off
andnmcli d set wlan1 autoconnect off
. However I still have to disable and re-enable wifi on reboot. -
RE: Randomly getting password prompt for wifi Volla 22
I will try. I didn't know powering it off and on was different from restarting. I noticed that after doing so, when I selected my wifi, I got prompted for a password and the name of the wifi was suffixed with a
1
. So I went and made it forget all wifis. -
Randomly getting password prompt for wifi Volla 22
Since upgrading, I am getting randomly prompted for my wifi password, even though it is saved. It tend to happen when my phone screen is turned off. It will turn my screen on, prompt for password and never turn off until I intervene, wasting battery. Hitting the cancel button and going into wifi options and selecting my wifi will not prompt me for a password, meaning it is indeed saved.
-
RE: How can I share files from my Ubuntu Touch host with Waydroid?
It work now but permissions are still an issue without proper user and group mapping. Also it won't work if the binded directory is on another device (sd card) but it might work on a more recent version of lxc due to this merge request: https://github.com/lxc/lxc/pull/4200
-
RE: How can I share files from my Ubuntu Touch host with Waydroid?
Update:
The correct lines in/etc/subuid
and/etc/subgid
isroot:32011:1
.However it still won't work with this error:
lxc-start: waydroid: cgroups/cgfsng.c: cgfsng_chown: 1353 No such file or directory - Error requesting cgroup chown in new user namespace
.I can't make it work on my desktop either with the same error.
-
RE: How can I share files from my Ubuntu Touch host with Waydroid?
Adding mount entries to the lxc containers doesn't work properly either because of permission problems. The folder can only be accessed as root inside the container even if all have read and execute permission.
I have tried to map user and group id from the container to the host (32011 -> 1023) which seem like it could resolve permission issues but I couldn't make it work.
What I did:
- Remount root:
sudo mount -o remount,rw /
- Install
uidmap
:sudo apt update && sudo apt install uidmap
. - Adding a line
phablet:1023:1
to/etc/subuid
and/etc/subgid
. Not sure if it should be a 1 or 0 as I want to map only one id. - Add lines
lxc.idmap = u 1023 32011 0
andlxc.idmap = g 1023 32011 0
to/var/lib/waydroid/lxc/waydroid/config
. Not ideal because it get reset on reboot.
It result in the following error:
lxc-start: waydroid: conf.c: lxc_map_ids: 3668 newuidmap failed to write mapping "newuidmap: uid range [1023-1023) -> [32011-32011) not allowed": newuidmap 3312 1023 32011 0
. I don't know what is missing. - Remount root: