View Single Post
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#46
OTA update to 4.1 is ready.
The only downside I found so far is that the wifi keeps forgetting the password after every reboot. (The solution that worked in previous releases, just doesn't work. I am workning on the fix.)
The benefit of upgrading this way, rather than installing the sfos 4.1 image from scratch:
  • nemo user is kept as the default user
  • all scripts that hardcoded to use user nemo, should work without any change
  • all your data, files and apps will remain and should work as before
  • if you installed and configured a desktop Linux in an lxc container, that also should work (don't need to reinstall/reconfigure again)
  • patchmanager and installed patches like Mouse cursor, More folder icons and Notes app cover will remain working

Here is the instruction what to do:

OTA 4.0 to 4.1
  1. Boot into sfos, enable developer mode and set a password
  2. Connect the phone to a wifi network (for downloading packages)
    From this point, we will work on the PC, leave the phone connected.
  3. Connect the phone to a PC, open a console and on the PC run (enter the password when you prompted):
    Code:
    ssh nemo@192.168.2.15
  4. Switch user to root (enter the password when you prompted):
    Code:
    devel-su
  5. Check repos:
    Code:
    ssu lr
  6. Disable all repos, except: apps, hotfixes, jolla:
    Code:
    ssu dr <repo_name>
  7. Add/modify adaptation-community-common repo:
    Code:
    ssu ar adaptation-community-common http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_4.1.0.24/
  8. Add/modify adaptation-community repo:
    Code:
    ssu ar adaptation-community http://repo.merproject.org/obs/nemo:/testing:/hw:/samsung:/treltexx/sailfishos_4.1.0.24/
  9. In case you have the mousetracker repo
    Code:
    ssu ar mousetracker http://repo.merproject.org/obs/home:/elros34:/sailfishapps/sailfishos_4.1.0.24/
  10. make sure that both adaptation-community-common and adaptation-community are enabled and you do not have duplications (command 'ssu er <name>' enables the given repo)
  11. Put the device in release mode:
    Code:
    ssu release 4.1.0.24
  12. Refresh packages:
    Code:
    pkcon refresh
  13. Upgrade the system:
    Code:
    version --dup
  14. Then reboot:
    Code:
    reboot

GPS and Bluetooth should work out of the box. Plus you don't need to flash the kernel either.

Important!
After the boot, start the terminal. If you get errors like "ld.so: object '/usr/lib/libpreloadpatchmanager.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.", then you need to clear content of /etc/ld.so.preload

If you have any issues, give me a shout.
Good luck!
 

The Following 2 Users Say Thank You to edp17 For This Useful Post: