10-01-2020, 12:20 PM
(This post was last modified: 10-01-2020, 11:48 PM by jmorris.
Edit Reason: Update
)
(09-28-2020, 06:44 PM)megous Wrote: All changes that I made have original files backed up in /.xnux dir. I didn't make any changes related to package management. If keys file is empty it was empty in the original image too.Haven't used pmbootstrap yet, just been using the preload so far. So can't say if it installs keys, but one would think so or it wouldn't work? alpine-keys looks like where some of them should be installed from, not clear where the postmarketos key comes from. Haven't found the apk equiv for rpm -qf <filename> to track down what package owns a file.
I also don't use device mapper, so not sure what that comment is about.
When pmos was running I couldn't mount /dev/mmcblk2p2, looking in /proc/partitions revealed dm-0 and dm-1, clearing those out allowed mounting the preload to get to the keys. Something cranked up device mapper, so many layers to crawl through to figure out what and why.
Also see another issue. When running pmos from your kernel the only governors are menu and ladder, while preload pmos is running the options are "ondemand userspace conservative performance schedutil" and conservative is picked. Difference is when connected to a USB 2.0 port the battery stays in Discharging state on your kernel because drain is always over 600mA. On the preload it will charge to the high 90s and then begin flopping between discharging and charging. And of course on all OS options tried to date there is nothing visible when plugged into a USB 3.0 port. Fun.
And gotta ask a silly question. What is the point of Arch on the image? It boots to a text mode login and there isn't an onscreen keyboard. Tapping the power button will do a clean shutdown to get out but can't see what else to do with it. WiFi has to be configured first and it doesn't show a USB network device so can't ssh in. Try a USB hub and keyboard?
EDIT: Nope, confused on idle governors and cpufreq governors. So back to looking for a difference between the kernels to explain the different battery behaviour.