REPRODUCIBILITY (% or how often):
BUILD ID = OS VERSION (Settings > About product): something between 3.3.0.16 and 3.4.0.24
HARDWARE (Jolla1, Tablet, XA2,…): Xperia XA2 Plus
UI LANGUAGE: German
REGRESSION: (compared to previous public release: Yes, No, ?):
DESCRIPTION:
Well, obviously there was a version of android aliendalvic-control installed, that actually should not be there…
Nevertheless, the update stopped in the middle and rebootet with the error message, that it could not be updatet. Since then, it does not boot up completly…
I’m trying to set a new password for nemo, because I can’t remember the old ssh password…
I’ve tried it from the shell using:
chroot rootfs
passwd nemo
But restarting the phone and entering the set password crashs with the error: Permission denied.
Does anybody knows, how to set the password for ssh from recovery or how to complete the update from recovery?
Thanks in advance!
PRECONDITIONS:
don’t have encryption enabled on this phone
STEPS TO REPRODUCE:
EXPECTED RESULT:
ACTUAL RESULT:
ADDITIONAL INFORMATION:
ssu seem to be a bit confused: DBus unavailable, UUID not necessarily connected to reality. Device registration status: not registered Device model: Xperia XA2 Plus - Dual SIM (h4413 / h4413) Device variant: sony-nile Device UID: d3609affebfd4b20a10930295c474ad8 Release: 3.2.0.12 Domain: sales Brand: Jolla
I don’t have encryption enabled. This makes it easier for now…
I can do nearly everything, but i can’t run pkcon update in recovery. I’m getting the error Failed to contact PackageKit: Could not connect: Connection refused
So I guess I need to boot up the phone and get a working ssh connection.
But I’m failing setting a new ssh password from recovery…
Steps:
Boot into recovery
chroot rootfs
passwd nemo
leave chroot and reboot phone
trying to enter password for name fails with the error: permission denied
-> soo ssh is at least running
reboot into recovery
enter chroot
su nemo
passwd nemo
-> there I’m asked for the current nemo password, and now the entered password from step 3 works!
PackageKit (pkcon) can not work when chrooted into the root partition in recovery mode, because it requires a couple of other services/daemons to run which can not function in the recovery environment.
If you need to deal with packages, you must use the plain rpm command.
For example, to uninstall package harbour-foo, do a
# rpm --erase harbour-foo
Note that in some circumstances, you should, in others you shouldn’t do instead: