The screen goes black and that's it

Thanks for the suggestion, added phonehook as precondition :slight_smile:

1 Like

I can report back that I managed to finish the upgrade. I will report what I did but not sure exactly what solved it:

  • I changed ssu release to 3.4 as it remained stuck in 3.3 despite some packages updated to 3.4
  • as suggested here, cp /usr/lib/zypp/plugins/urlresolver/ssu /usr/libexec/zypp/plugins/urlresolver/ may have opened the possibility to rerun version–dup
  • I also did ‘pkcon download . ssu’ to manually update ssu package (following suggestion from @mal)
  • I removed (not sure it helped) using pkcon: aliendalvik-control (even though I had updated to the version coderus said was compatible with 3.4) and storeman (the dev said it was not working until a fix)
  • you have to wait for some time before version–dup completes. The first try ended up with an error message but an automatic retry worked.
  • I could reboot. To make it safe, I rerun version–dup and indeed it found further packages to update
  • another reboot and version–dup finally says no available updates

voilà I can enjoy 3.4 now :slight_smile:

1 Like

@Louis Many thanks for the help.

I managed to login via putty and wifi.

https://jolla.zendesk.com/hc/en-us/articles/202346707-SSH-connection-over-WLAN-from-Windows-to-Sailfish-device

A username of defaultuser would not work however giving “Access denied” when I entered my password.

But I could login using username nemo and my password (which is different to the advice on Zendesk) (I’m going to set my USB to developer mode from now on)

Then using

devel-su
pkcon remove phonehook

and

pkcon remove harbour-batteryoverlay2

I removed both Phonehook and Battery Overlay.

Rebooting my Xperia 10 Plus now works fine and it’s back to normal running 3.4.0.22!

Fantastic.

Thanks again.

NB Now I’ve got 3.4 Google Calendar Sync seems to be fixed too.

1 Like

Glad it worked out.

Just make sure your device is correctly upgraded please run these comnands:

devel-su
ssu re 3.4.0.22
version --dup

If anything gets installed please to a reboot afterwards - eg. by running “reboot” in the terminal.

The default username will continue to be “nemo” on existing installations. Only new devices installed with 3.4.x or later will use “defaultuser” as default username.

Thanks, Have done that.

Got an error about Alien-dalvik

Failed to stop aliendalvik-sd-mount.service: Unit aliendalvik-sd-mount.service not loaded.
/var/tmp/rpm-tmp.ZMAjXS: line 32: syntax error near unexpected token fi' /var/tmp/rpm-tmp.ZMAjXS: line 32: fi’
error: %preun(aliendalvik-control-9.3.0-1.armv7hl) scriptlet failed, exit status 2
error: aliendalvik-control-9.3.0-1.armv7hl: erase failed

And finished with

UPGRADE NOT COMPLETE - Retry 1 of 9
Waiting 1 seconds before retry.
REFRESHING CACHE AND DOWNLOADING PACKAGES
Refreshing: 6%^C

@ninepine

Try to stop Android Support under Settings and then rerun “version --dup” as root. Should work now.

No issues now. “NO UPDATES FOUND” so looks like all good.

Many thanks again.

Mike

If you manage to begin uninstall before the screen turns black (which is possible), and the screens turns black after you clicked the cross, then you get back the screen after it uninstalls (it continues uninstalling while the screen is black).

Had same problem with Phonehook!
Your solution really helped, 10s for unlock, the phone, and uninstall Phonehook, to get out of the black screen problem. As soon, as Phonehook get uninstalled, the Screen goes back to operational state, and it was the only problem with the Upgrade!

On the OP:

There seems to some issue with patches which causes the screen to blank after activation.

Specifically, Jolla has apparently broken all “overlay apps” in this release.

On a freshly flashed system:

I installed Patch Manager but no patches.
Installed “Battery Overlay”

On activation of Battery Overlay, the screen blanked.
On reboot, Patch Manager autostarted Battery Overlay and blanked screen

3 Likes

Can confirm that, same issue here with phonehook and battery overlay.

I can confirm. Same problem, same solution. Quick uninstall of Phonehook did the trick, and the uninstallation continued even if the screen did go black (before getting back to normal when the uninstallation was complete).

I am having trouble uninstalling phonehook. I have managed to connect to the device in recovery mode via telnet. /dev/sailfish/home does not exist so I mounted /dev/mmcblk0p28 and chroot into it.
However, when I try running pkcon remove phonehook I get:
“Failed to contact PackageKit: Could not connect: connection refused”
Also, devel-su requires password which I don’t know(developer mode is disabled on device).

Any suggestions on how to repair the device?

You can disable phonehook by simply renaming the two directories associated with the program:

cd /usr/share/
mv phonehook phonehook.old
mv phonehook-daemon phonehook-daemon.old

After that, type ‘exit’ twice and then ‘2’ to reboot. You should be fine from there.

I have the blank screen of doom also (Xperia 10)
It is too quick to manually uninstall Phone hook or get into terminal
Just enough time to press media transfer and load up onto PC
Tried deleting phone hook file - didn’t work
What is the best method from here?

@djhowls you need to do a combination of what @Louis posted earlier and I posted yesterday. Let me put it all together for you.

First boot your phone in recovery mode. You’ll need your Sailfish installation files for this. Follow the instructions here, up to the point where you telnet to 10.42.66.66:
Xperia X devices How to use the Recovery Mode

Then follow these steps to rename the phonehook directories to prevent it from loading:

telnet 10.42.66.66  
 (option 3 for shell)  
mount /dev/sailfish/home /rootfs/home
chroot /rootfs
cd /usr/share/
mv phonehook phonehook.old
mv phonehook-daemon phonehook-daemon.old
exit
exit
 (option 2 to reboot)

Your phone should boot normally from there. If you also have OKBoard installed, you’ll also have to either remove it or disable it in settings.

2 Likes

What should I mount if I don’t have /dev/sailfish/home ?

I don’t think you need to mount home at all for this, since @ajwatt never does anything in /home.

Another “overlay apps broken” victim. Just uninstalled Phonehook through SSH and ‘pkcon’; that did the trick. It’s a shame Battery Overlay doesn’t work, it’s one of my favorite apps. I’m gonna miss it 'til the next upgrade :sob:

This community is great and alive! Thanks! :smiling_face_with_three_hearts:

What about coderus’ patch ‘Extended volume control’?
Will this also trigger this problem?