(09-27-2020, 10:22 AM)laaglu Wrote: Hi megous,Oh, right. It works if you also use p-boot for eMMC. It doesn't work as bypass to run U-Boot from eMMC. That would be quite a different matter.
Many thanks for your work, it is great and truly appreciated. The time from press-power-on to pboot-main-screen is so incredibly fast.
Currently my most wanted feature would be as bujiraso suggested 'Boot to eMMC' (either as an option in the menu or as a key combination or both). I have tried power+volume-up but that did not seem to work. So currently I do a lot of micro-sd shuffling to switch between eMMC and pboot (too bad the micro-sd is not accessible without opening the phone on the current model, I hope Pine will consider an external slot in a future design). Is there a way to get boot to eMMc to work with present version, maybe by patching a file or something other tweak?
Lukas
p-boot would have to load U-Boot's SPL over itself and execute it. It would have to get out of the way too, first. Kinda complicated.
(09-26-2020, 11:03 AM)jmorris 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.(09-26-2020, 09:38 AM)megous Wrote: For package managers that use signatures, you typically need to have time set up correctly on your phone, because certificates are issued for a certain time window.
Also apparently package managers don't like to hit files that I marked as unchangeable, and instead of ignoring them, they fail the whole update. Workaround is to remove immutable flag on those files, back them up before update, and copy my versions back after update. It's usually various modem scripts.
Better fix may be to use NoUpgrade NoExtract options of pacman and equivalent options for other package managers, next time.
Looks like pacman and dpkg have ways to ignore select files by specifying the ignored files in the configuration files. Alpine package manager doesn't even have a config file that I can find, and it doesn't look like it has this functionality, so not sure how to work around this issue on distros that use it. Maybe someone else has some suggestions?
PMOS-Plasma is hopeless, you can't set the timezone, changes just don't stick. But the clock is right, correctly displayed in GMT. PMOS-Phosh has the right time and timezone so that is where I started digging first. Tracked it down. /etc/apk/keys is empty. You are defaulting to having device mapper claim /dev/mmcblk2, but I didn't bother encrypting my preload, so had to figure out a way around that. Then it was easy enough to copy the keys from the preload install over and the error about untrusted repos went away. Now it has a dependency issue.
# apk upgrade
ERROR: unsatisfied constraints:
cmd:kpartx (virtual)
provided by: multipath-tools
required by: postmarketos-mkinitfs-0.14.1-r1[cmd:kpartx]
Made any changes in any of that or is that just life on the edge and it will get fixed upstream in a few hours?
I also don't use device mapper, so not sure what that comment is about.
my website: https://xnux.eu