maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

Ancelad 2019-05-25 16:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by peterleinchen (Post 1557321)
@ancelad
I just noticed some small (not critical ;)) quirk within 'Lockscreen Analog Clock'.
There are distinct check boxes for
'Enable weather-apo launch from locckscreen'
and
'Enable 5-days forecast'

But enabling one of them will allow the other feature on Lockscreen as well.

Can't fix anything anyway :)

Jordi 2019-05-25 21:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1556455)
...
Working:
  • Hide recent contacts from People app
  • Gallery image zoom
  • Disble volume warning
    ...
  • Show total partition size in Storage
  • Remorse items timeout controls
    ...
  • Return old remorse item animation

...
Strange, these do not work on my Jolla C :confused:

pichlo 2019-05-26 08:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Jordi (Post 1557328)
...
Strange, these do not work on my Jolla C :confused:

That would be because you chose to ignore the previous sentence:

Quote:

Originally Posted by pichlo (Post 1556455)
As Japsi says, Devicelock faith text is the only one that does not work in "developer mode" in PM.


Ancelad 2019-05-27 19:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1557331)
That would be because you chose to ignore the previous sentence:

Sure, you can use it in God-mode, but at your own risk...

Huge amount of offers... Maybe I will by something...?

Ancelad 2019-05-30 18:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
All patches except devicelock faith-text are up-to-date. Thanks for your feedback and support.

jenix 2019-07-20 09:36

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Does Patchmanager have a separate log file? 3.1 broke the "Scramble lockpad buttons", by far my most favorite patch :(

coderus 2019-07-20 20:44

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
patchmanager 3 have logs

uddeejar 2019-07-22 07:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hello and sorry if I ask a question which is allready answered before:

Maybe in the past before upgraded to 2.4... I made something wrong by unapplying all patches.
Now I have some patches which I cannot unapply manually with patchmanager which are applied (also use unapply all patches menu)
Enhanced Power Menu
Eventsview control
Voicecall combined patch

Is there a way to unapply this patches manually and reset the view in Patchmanger?
Would do this before upgrade to 3.0.0.8 which is allready finished to install by next reboot.

uddeejar 2019-07-22 10:18

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Hi,

I have now upgraded my phone to 3.0.3.10 (over 3.0.0.8).
For the moment if I start Patchmanager I get still some issues with patches like in the image shown.

Red coloured Enhanced Power Menu cannot be unpatched (is activated)
Red coloured Eventsview control cannot be unpatched (is activated)
White coloured Voicecall combined patch cannot be unpatched (is activated)

I can uninstall them and the "activtion" is removed temporarily but they will reappear after leave and reassign the screen.

Any idea how I can fix the issues with the three shows patches?

Cheers,

coderus 2019-07-22 14:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Uploaded pm3 to my main coderus repo. Please start using it and stop reporting bugs in pm2 :)

atlochowski 2019-07-23 05:24

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558499)
Uploaded pm3 to my main coderus repo. Please start using it and stop reporting bugs in pm2 :)

To be honest it wasn't good idea to put pm3 to main repo.
I opened Storeman and click update all.
Now I have a mess with patches because all patches were applied during update. There will be more people like me...

coderus 2019-07-23 06:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by atlochowski (Post 1558502)
To be honest it wasn't good idea to put pm3 to main repo.
I opened Storeman and click update all.
Now I have a mess with patches because all patches were applied during update. There will be more people like me...

You should not be able to install update if any patch applied, Isn't it?

atlochowski 2019-07-23 07:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558503)
You should not be able to install update if any patch applied, Isn't it?

unfortunately it was possible

coderus 2019-07-23 13:06

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Well, then i should fix this feature somehow.

wrm 2019-07-23 14:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yeah, I also updated with all patches enabled..

coderus 2019-07-23 18:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
can you show me result of following commands:
Code:

rpm -q --qf "%{VERSION}" patchmanager | head -c 1
ls -A /var/lib/patchmanager/ausmt/patches/


atlochowski 2019-07-23 18:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558529)
can you show me result of following commands:
Code:

rpm -q --qf "%{VERSION}" patchmanager | head -c 1
ls -A /var/lib/patchmanager/ausmt/patches/


Code:

[root@Sailfish connman]# rpm -q --qf "%{VERSION}" patchmanager | head -c 1
3

Code:

[root@Sailfish connman]# ls -A /var/lib/patchmanager/ausmt/patches/
ls: cannot access /var/lib/patchmanager/ausmt/patches/: No such file or directory


coderus 2019-07-23 18:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by atlochowski (Post 1558531)
Code:

[root@Sailfish connman]# rpm -q --qf "%{VERSION}" patchmanager | head -c 1
3

Code:

[root@Sailfish connman]# ls -A /var/lib/patchmanager/ausmt/patches/
ls: cannot access /var/lib/patchmanager/ausmt/patches/: No such file or directory


you already removed manually patches?

atlochowski 2019-07-23 19:03

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558532)
you already removed manually patches?

Earlier I tried to solve problem by removing patchmanager 3 and I installed Patchmanager 2 again. Message layout is broken but Upcoming events on lockscreen is working ok.

When you ask about output I decided to update Patchmanager to version 3 (Upcoming events was applied and Unapply all patch was applied as well).

This is how it looks after update to version 3 again.

I didn't do anything more than this.

coderus 2019-07-24 07:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i need this output when someone updated from v2 to v3 without unapplying patches

atlochowski 2019-07-24 12:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558545)
i need this output when someone updated from v2 to v3 without unapplying patches

I already fixed all patches but when I get home I'll update patchmanager to version 3 (I'm on version 2 again) again I will provide logs.

atlochowski 2019-07-25 07:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus Sorry, didn't have time yesterday. Today I'm going for the long weekend so probably I will provide output after weekend.

Asgard 2019-07-26 14:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have the same problem. I updated SFOS to 3.1 and after it I activated all patches. Then I updated all in Respo and now I have PM3 and can't deactivate all patches in real, because the new PM3 don't work with the original files. If I install PM2 all patches are deactivated but I can't activate this, because I get a message that the patches are not compatible with my SFOS because the PM2 don't have a developer mode. All patches works perfekt but I cant deactivate the patches real. Could you upload the last Version of the PM2 before the Update to 3 with a developer mode. Maybe this will help us. After this we will use PM3.

Thanks in advance and sorry

coderus 2019-07-26 20:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
pm2 doesn't have developer mode ?

RafaelVlmendes 2019-07-26 22:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi. When installing the Tracker Patch on patchmanager 3 ... Ignored, Included Singles and Included recursive no open. Please can you see that?
Nothing happens when pressing on one of the 3 options ... :(
XA2 Ultra 3.1


PS: I know it has nothing to do with it here, but on your AD Control there isnt touch sound option for XA2 Ultra so WhatsApp always gets some weird ringing sounds and so message notifications don't work and only vibrates the device.

Thank

Asgard 2019-08-11 15:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1558638)
pm2 doesn't have developer mode ?

I was two weeks on hollyday, because just now my aswer.
Yes I found the developer mode in PM2 now, but the patches from PM2 are not deletable. Now all patches every time active with the PM3 or not :(
My one Option is that I make a phone reset after the next SFOS Update or I remove an install some packages new like here or here. Sorry it was my false.

wrm 2019-08-12 04:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Where can I download pm2 and try to fix all the problems i got after upgrading to pm3?

atlochowski 2019-08-12 04:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by wrm (Post 1559005)
Where can I download pm2 and try to fix all the problems i got after upgrading to pm3?

here you have pm2 to download
https://openrepos.net/content/coderu...0#comment-form

wrm 2019-08-13 04:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thank you! Sorry for being that stupid :D

sunc 2019-09-13 18:03

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Fresh install of PM3 from Storeman on SFOS 3.1 (Xperia X). Trying to apply the Messages layout patch (the only one I have, also installed via Storeman) gives me an error - "Failed to install patch. Patch Messages layout installation failed".

Here's output from journalctl:

Code:

Sep 13 18:32:21 Sailfish patchmanager[13529]: QVariantMap PatchManagerObject::applyPatch(const QString&) "sailfishos-patch-messages-layout"
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPatch(const QVariantMap&, const QDBusMessage&, bool) QMap(("name", QVariant(QString, "sailfishos-patch-messages-layout"))("us
er_request", QVariant(bool, true))) true
Sep 13 18:32:21 Sailfish patchmanager[13529]: bool PatchManagerObject::doPatch(const QString&, bool, QString*) "sailfishos-patch-messages-layout" true
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPrepareCache(const QString&, bool) "sailfishos-patch-messages-layout" true
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPrepareCache(const QString&, bool) Not installed: "sailfishos-patch-messages-layout"
Sep 13 18:32:21 Sailfish patchmanager[13529]: bool PatchManagerObject::doPatch(const QString&, bool, QString*) Starting: "/usr/libexec/pm_apply" ("sailfishos-patch-messages-layout")
Sep 13 18:32:21 Sailfish patchmanager[13529]: bool PatchManagerObject::doPatch(const QString&, bool, QString*) Success: false
Sep 13 18:32:21 Sailfish patchmanager[13529]: bool PatchManagerObject::doPatch(const QString&, bool, QString*) *** Patch Log Created by Apply Fri Sep 13 18:32:21 EEST 2019 ***
                                             
                                              ----------------------------------
                                              PM APPLY Fri Sep 13 18:32:21 EEST 2019
                                              ----------------------------------
                                             
                                              sailfishos-patch-messages-layout
                                                contains text patch
                                             
                                             
                                              ----------------------------------
                                              Test if already applied patch
                                              ----------------------------------
                                             
                                              /usr/bin/patch: **** Can't change to directory /tmp/patchmanager : No such file or directory
                                             
                                              ----------------------------------
                                              Dry running patch
                                              ----------------------------------
                                             
                                              /usr/bin/patch: **** Can't change to directory /tmp/patchmanager : No such file or directory
                                             
                                              *** FAILED ***
                                             
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPrepareCache(const QString&, bool) "sailfishos-patch-messages-layout" false
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPrepareCache(const QString&, bool) Not installed: "sailfishos-patch-messages-layout"
Sep 13 18:32:21 Sailfish patchmanager[13529]: void PatchManagerObject::doPatch(const QVariantMap&, const QDBusMessage&, bool) ok: false


coderus 2019-09-13 20:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
"no such file and directory" looks wierd. can you send me full log to pm or email?

sunc 2019-09-17 17:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus:

I cannot reproduce it anymore - I did "Unapply all patches" and after that, the patch applied successfully. For some reason it did not get loaded on the first try (ie. the patch was applied, but there were no changes in the UI), but on the second attempt everything was restarted, and the patch loaded.

Judging by the logs, I think the initial failures were because PatchManagerObject::doPrepareCache did not create any files in /tmp/patchmanager, although I have no idea why.

If you think it would be useful to you, I can send you logs from when the patch was applied but not loaded. I don't have logs from when the patch failed to apply; I can try to reproduce it later by uninstalling PM and the patches, and starting from scratch.

atlochowski 2019-11-02 12:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus if you will be fixing patchmanager3, can you update translation?

coderus 2019-11-02 18:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by atlochowski (Post 1561473)
@coderus if you will be fixing patchmanager3, can you update translation?

what you mean by fixing?

atlochowski 2019-11-03 08:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I wrote to you in private message that in PM3 pulley menu in patch details doesn't work.

coderus 2019-11-03 10:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
ah this one, already forgot it, sure :D

Ancelad 2019-11-03 18:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Partial comeback, some my patches are up-to-date now due blind coding and luck.

peterleinchen 2019-11-03 19:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Ancelad (Post 1561522)
Partial comeback, some my patches are up-to-date now due blind coding and luck.

Amazing :ThumbsUp:

pichlo 2019-11-04 08:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Ancelad (Post 1561522)
Partial comeback, some my patches are up-to-date now due blind coding and luck.

"Ultimate statusbar patch" was updated but does not work :D

Ancelad 2019-11-04 08:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1561544)
"Ultimate statusbar patch" was updated but does not work :D

My tester said that it works :rolleyes: I can't check it by myself.


All times are GMT. The time now is 18:05.

vBulletin® Version 3.8.8