Patchmanager 3.0

Rating: 
4.90909
Your rating: None Average: 4.9 (22 votes)

Patchmanager 3 public beta

Make sure to unapply patches before upgrade from Patchmanager 2. Installation will fail if any patch is applied.

If you have installed prepatch, please remove it before patchmanager3 installation.

Changes between version 2 and version 3:

  • Not changing original files. Patches applied to fakeroot located at /tmp/patchmanager
  • OS update friendly. Patchmanager3 automatically detects when user start downloading an update and unapplying all patches
  • Patches can be reordered to be applied in correct order. Just drag to left and drop at required position
  • Collect information about possible conflicting patches. Visit patch info page.
  • Automatic check for updates for online catalog patches. Notificaiton will popup if new version of patch will be released
  • Patchmanager settngs are located inside Settings application as entry

Patchmanager daemon acts like proxy, filtering open calls and decide if application should open original file or fake one.

Useful environment variables:
NO_PM_PRELOAD=1 disables preload plugin from filtering calls
PM_PRELOAD_DEBUG=1 enables additional stderr output for preload plugin

Keep in mind this is beta version and should contain a lot of bugs. However it was tested for a while.

Please report all bugs to: https://talk.maemo.org/showthread.php?t=92935

You can collect patchmanager logs by running:
devel-su journalctl -al _COMM=jolla-settings + _EXE=/usr/sbin/patchmanager + _EXE=/usr/bin/patchmanager-dialog > patchmanager.log

Sources available here: https://github.com/sailfishos-patches/patchmanager/tree/patchmanager3

Translate project: https://www.transifex.com/coderus/patchmanager3

 

Big thanks jakibaki for Prepatch. This was very good idea to create such way for applying patches. You can review my plugin here: https://github.com/sailfishos-patches/patchmanager/blob/patchmanager3/sr...

See this TMO thread for more information.

Screenshots: 

Keywords:

Application versions: 
AttachmentSizeDate
File patchmanager-2.1.0-10.23.1.jolla_.armv7hl.rpm30.8 KB23/12/2016 - 16:42
File patchmanager-2.1.0-10.24.1.jolla_.i486.rpm193.97 KB23/12/2016 - 16:42
File patchmanager-2.1.1-10.25.1.jolla_.i486.rpm194.22 KB23/12/2016 - 19:48
File patchmanager-2.1.1-10.25.1.jolla_.armv7hl.rpm188.1 KB23/12/2016 - 19:48
File patchmanager-2.1.2-10.26.1.jolla_.i486.rpm194.07 KB23/12/2016 - 21:23
File patchmanager-2.1.2-10.26.1.jolla_.armv7hl.rpm188.1 KB23/12/2016 - 21:23
File patchmanager-2.1.3-10.27.1.jolla_.armv7hl.rpm192.65 KB09/01/2017 - 14:30
File patchmanager-2.1.3-10.27.1.jolla_.i486.rpm198.39 KB09/01/2017 - 14:30
File patchmanager-2.1.4-10.28.1.jolla_.armv7hl.rpm192.78 KB09/01/2017 - 14:55
File patchmanager-2.1.4-10.28.1.jolla_.i486.rpm198.59 KB09/01/2017 - 14:55
File patchmanager-2.1.5-10.29.1.jolla_.armv7hl.rpm192.65 KB09/01/2017 - 15:05
File patchmanager-2.1.5-10.29.1.jolla_.i486.rpm198.3 KB09/01/2017 - 15:05
File patchmanager-2.1.6-10.30.1.jolla_.armv7hl.rpm191.51 KB10/01/2017 - 10:16
File patchmanager-2.1.6-10.30.1.jolla_.i486.rpm197.41 KB10/01/2017 - 10:16
File patchmanager-2.2.1-10.32.1.jolla_.i486.rpm211.54 KB26/01/2017 - 17:19
File patchmanager-2.2.1-10.32.1.jolla_.armv7hl.rpm205.87 KB26/01/2017 - 17:19
File patchmanager-2.2.2-10.33.1.jolla_.i486.rpm211.86 KB27/01/2017 - 13:53
File patchmanager-2.2.2-10.33.1.jolla_.armv7hl.rpm206.08 KB27/01/2017 - 13:53
File patchmanager-2.3.0-10.38.1.jolla_.armv7hl.rpm237.59 KB01/02/2017 - 12:21
File patchmanager-2.3.0-10.38.1.jolla_.i486.rpm246.63 KB01/02/2017 - 12:21
File patchmanager-2.3.1-10.39.1.jolla_.armv7hl.rpm237.55 KB10/02/2017 - 13:17
File patchmanager-2.3.1-10.39.1.jolla_.i486.rpm246.9 KB10/02/2017 - 13:17
File patchmanager-2.3.2-10.40.1.jolla_.armv7hl.rpm234.42 KB24/07/2017 - 16:10
File patchmanager-2.3.2-10.40.1.jolla_.i486.rpm240.62 KB24/07/2017 - 16:10
File patchmanager-2.3.3-10.41.1.jolla_.i486.rpm240.99 KB28/07/2017 - 16:26
File patchmanager-2.3.3-10.41.1.jolla_.armv7hl.rpm234.42 KB28/07/2017 - 16:26
File patchmanager-3.0.58-1.126.1.jolla_.armv7hl.rpm334.41 KB22/07/2019 - 17:21
File patchmanager-3.0.58-1.126.1.jolla_.i486.rpm353.98 KB22/07/2019 - 17:21
File patchmanager-3.0.59-1.129.2.armv7hl.rpm338 KB13/08/2019 - 11:37
File patchmanager-3.0.59-1.129.2.i486.rpm349.61 KB13/08/2019 - 11:37
Changelog: 

Uploaded pm3 to main repo. Please start searching bugs in new version.

Comments

coderus's picture

thanks :)

monkeyisland's picture

Hi there is a spellingmistake in German language.

Right translation : Installierte Patches

At the moment: Installierete Patches.

 

 

 

coderus's picture
monkeyisland's picture

@:coderus :I see in Transifex that is ready to use. I hope now the spelling is right.

Schturman's picture

In previous version (changelog) you wrote that new patchmanager can also uninstall rpm patches. For some reasons it can't uninstall my patches, only unapply... Even really simple one that include only .json and .patch files. But I don't have any problems to uninstall them from terminal or from openrepos.

Can you explain what the problem ?

coderus's picture

show me your logs when you pressing uninstall button

Schturman's picture

Where I find this log ?

coderus's picture

start jolla-settings in terminal

Schturman's picture

Sorry, but except this, it not show me nothing:

[nemo@Jolla_C ~]$ /usr/bin/jolla-settings
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[W] PluginRegistry::addEntriesForFile:207 - Mandatory field "path" missing in entry on file "sailfishos-datetext-size-weather.json"
[W] PluginRegistry::addEntriesForFile:207 - Mandatory field "path" missing in entry on file "sailfishos-devicelock-faith-text.json"
[W] PluginRegistry::addEntriesForFile:207 - Mandatory field "path" missing in entry on file "sailfishos-enhanced-powermenu-patch.json"
[W] PluginRegistry::addEntriesForFile:207 - Mandatory field "path" missing in entry on file "sailfishos-hide-recent-contacts-patch.json"
[W] PluginRegistry::addEntriesForFile:207 - Mandatory field "path" missing in entry on file "sailfishos-shutdownscreen-patch.json"
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance
[D] SettingsModel::SettingsModel:18 - settingsmodel.cpp 18 Created SettingsModel instance

 

And this I get from Journal:
http://pastebin.com/0N4HbxwB

coderus's picture

there is nothing tell me about your problem. what is your patch name?

Schturman's picture

I'm tried with this one (my) : https://openrepos.net/content/schturman/patch-combo-camera-device-front-...

And this one (Ancelad): https://openrepos.net/content/ancelad/patch-eventsview-control
The Ancelad's patch not removed on first attempt, I reapplied it and tried uninstall again and it uninstalled.
My patch don't want to be uninstalled, only unapplied.

coderus's picture

Checked patches and fixed problem in new version

Schturman's picture

After update, all work. Thanks

Schturman's picture

Thanks you.

Mariusmssj's picture

I am getting an odd issue when trying to install it on my Intex Aquafish

 

Any ideas what could be causing this?

coderus's picture

pkcon refresh

florifreeman's picture

HELP: Cant get rid of the LPM Patch, does not correctly uninstall! Still get the LPM Screen when using the phone.

There´s no folder with that patch, so i dont know, what to do :-(

coderus's picture

There is no lpm patch, there is a patch enabling lpm settings. You need to apply patch again, go to settings and disable lpm screen.

erlen's picture

hello, I made the update from the patchmanager 1.0. the patchmanager icon has disappear but no new icon for patchmanager 2.0. No way to launch the new application.

Do you have any idea how to.fix it ?

coderus's picture

Any additional info maybe? Device model and sfos version?

erlen's picture

I found it in the settings. is it now the only place to find the patch manager ?

coderus's picture

this is the only and the best place for patchmanager

sfbsfb's picture

dear coderus, this is the most awsome update / enhancement ever. thank you so much. like the idea of the webcatalogue and patch settings inside patchmanager a lot.

DameCENO's picture

Great update coderus, thumbs up... but an option to uninstall patches would be awesome

coderus's picture

it is possible to uninstall only new patches from web catalog.

Schturman's picture

Hi Coderus. I tried 3 new patches from web catalog. It installed and applied without any problem. Now I unapplying this patches and tried to uninstall them, but it not possible. I don't see option "uninstall" in any place. Tried to press on word "installed", but also without result. How exactly to uninstall patches ?
 Thanks

P.S. doesn't matter, already got the answer :) Long tap...

dalas_revo's picture

hello coderus and many thanks for this new version. when the web catalog is filled.a.little more, it will be very useful, I guess :) 

I have one (most likely stupid) question: how do I actually aplly a patch? I open mazelock from catalog and see it is compatible with 2.0.5.6. and now? there is no pulldown and long-press in catalog doesn't do anything either. 

cheers!

carmenluci's picture

May something is wrong, I have same issue

gedeon's picture

Hi mate. Just tap on a file version and wait few secs. ;)

dalas_revo's picture

Thank you very.much for your help!

Now I understood how to do it in principle. Unfortunately it doesn't work for me. I tap on the file version, it counts down. And then nothing happens. I tried with Mazelock on 2.0.5.6. It doesn't install, but I don't get an errormessage either.

Pages