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)

cy8aer 2017-07-28 14:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Oups: I tried to install 2.1.1.24 but the SailfishOS update manager did not start. Then I disabled all the patches manually via unapply all patches (pulley menu) and it worked again after restarting the desktop.

After reboot I tried out all patches and found out that the patch "Unapply all patches" locked off the update manager.

Test: apply the patch "Unapply all patches" and try to start the update manager.

Expected: Update manager starts
With the patch: It does not start.

TMavica 2017-07-28 14:32

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

Originally Posted by cy8aer (Post 1531501)
Oups: I tried to install 2.1.1.24 but the SailfishOS update manager did not start. Then I disabled all the patches manually via unapply all patches (pulley menu) and it worked again after restarting the desktop.

After reboot I tried out all patches and found out that the patch "Unapply all patches" locked off the update manager.

Test: apply the patch "Unapply all patches" and try to start the update manager.

Expected: Update manager starts
With the patch: It does not start.

update patchmanager, it fixed that

cy8aer 2017-07-28 15:08

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

Originally Posted by TMavica (Post 1531503)
update patchmanager, it fixed that

Coderus is faster in fixing than me reading the thread, sorry.

Ancelad 2017-07-28 19:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hello and goodbye, my dear sailors. I was bricked my phone during the latest EA-update and... And I'm feeling tired. I don't have enough strength and pleasure to recover it again. Here is all my patches, feel free to use them (most of them are stealed anyway :D). I will keep proudly my Jolla C as a honor to Win7Mac. But that's all.

mosen 2017-07-28 20:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
:eek:
OMP, Inoi, send this man a new phone, he is vital!

Seriously, get a good night of sleep and concider other options are by far not so familiar to you and also have their downsides.
Love your work man, please don't go. Can we help?

atlochowski 2017-07-28 20:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Ancelad it will big lost for our community. Please reconsider this decision.

explit 2017-07-28 20:17

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

Originally Posted by Ancelad (Post 1531530)
Hello and goodbye, my dear sailors. I was bricked my phone during the latest EA-update and... And I'm feeling tired. I don't have enough strength and pleasure to recover it again. Here is all my patches, feel free to use them (most of them are stealed anyway :D). I will keep proudly my Jolla C as a honor to Win7Mac. But that's all.

I can understand you, bro.
But i will be very happy to see you here again...

coderus 2017-07-28 20:26

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

Originally Posted by mosen (Post 1531536)
:eek:
OMP, Inoi, send this man a new phone, he is vital!

No problem!

Ancelad 2017-07-28 20:30

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Some misunderstandings - I'm sure my phone will work after recovery-procedure, but I don't want to do it. So I don't need any Jolla-phone, I have two of them.

Kabouik 2017-07-29 00:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I hope you'll be back soon enough after some days spent in the horrendous world of Android or iOS, your work has been greatly appreciated among patch users. :(

explit 2017-07-29 08:44

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Mobile LinuxOS (Maemo / Meego / SailfishOS) is like Opium. Try it once and you will never get rid of it. So i think/hope Ancelad will come back

nieldk 2017-07-31 08:01

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I do Hope to see you back "online".

Kabouik 2017-07-31 10:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
All patches in the Patchmanager 2.0 web catalog show as incompatible with 2.1.1.24, they all appear as updated for 2.1.1.23. Should I ignore the warning and install them anyway?

coderus 2017-07-31 11:02

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

Originally Posted by Kabouik (Post 1531680)
All patches in the Patchmanager 2.0 web catalog show as incompatible with 2.1.1.24, they all appear as updated for 2.1.1.23. Should I ignore the warning and install them anyway?

you should try anyway. if it apply then 99% it will work :)

Kabouik 2017-07-31 11:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thanks, will do. But should these patches not display as 2.1.1.24-friendly? The updates show that most of them were published after the 2.1.1.24, and 2.1.1.23 OTA was up for only a very limited time anyway, so I guess the patches have actually been checked for 2.1.1.24, right?

coderus 2017-07-31 11:41

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

Originally Posted by Kabouik (Post 1531685)
Thanks, will do. But should these patches not display as 2.1.1.24-friendly? The updates show that most of them were published after the 2.1.1.24, and 2.1.1.23 OTA was up for only a very limited time anyway, so I guess the patches have actually been checked for 2.1.1.24, right?

everything is up to patch maintainers.

cy8aer 2017-07-31 11:48

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

Originally Posted by coderus (Post 1531691)
everything is up to patch maintainers.

... and they might wait for a 2.1.1.25 because of the upgrade desaster.

coderus 2017-07-31 11:58

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

Originally Posted by cy8aer (Post 1531693)
... and they might wait for a 2.1.1.25 because of the upgrade desaster.

just rumors

Ancelad 2017-07-31 18:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
All my web-catalog is up-to-date now. You can use zip-archives as sources obviously. Also about further development (if someone interested) - you can simply re-upload them as forks.

Kabouik 2017-08-01 05:27

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

Originally Posted by coderus (Post 1531682)
you should try anyway. if it apply then 99% it will work :)

Lucky me, I finally ended up in the 1% odds. :D

I lost the Launcher and Homescreen. Can't see any open apps or swipe, only the wallpaper and events are visible. When swiping up for showing the Launcher, I only get a black screen.

I am not sure what patches caused it. I applied them in increments in case this would happen, but there were no issues after Restarting the preloaded services so I kept going and applied new patches. Until I noticed that the App Locker patch let me configure what apps to lock, but did not actually lock them. So I restarted Lipstick to see if it would solve it, and this is when the issues appeared.

Does Patchmanager 2.0 make backups before applying patches? Can I restore Lipstick from recovery shell without reseting my phone? What files should I check specifically?

I can't check the exact list of patches I applied since I cannot launch any app anymore (even if I click on the Settings icon on the Events screen, settings will not show up).

coderus 2017-08-01 07:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you can just do
Code:

patchmanager --unapply-all
in root shell

Kabouik 2017-08-01 09:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Done, thanks. For the information, and until I troubleshoot more precisely which one was the issue, here is the list of patches I had installed:

Quote:

[D] unknown:0 - "better-multiday-event-time-labels ausmt-sailfishos-1\n"
[D] unknown:0 - "gallery-image-zoom ausmt-sailfishos-1\n"
[D] unknown:0 - "sailfishos-patch-improved-notification-preview ausmt-sailfishos-1\n"
[D] unknown:0 - "sailfishos-patch-no-home-carousel ausmt-sailfishos-1\n"
[D] unknown:0 - "analog-clock-jolla-weather ausmt-sailfishos-1\n"
[D] unknown:0 - "app-locker ausmt-sailfishos-1\n"
[D] unknown:0 - "devicelock-faith-text ausmt-sailfishos-1\n"
[D] unknown:0 - "lockscreen-album-art ausmt-sailfishos-1\n"
[D] unknown:0 - "mazelock ausmt-sailfishos-1\n"
[D] unknown:0 - "voicecall-combined ausmt-sailfishos-1\n"
[D] unknown:0 - "sailfishos-patchmanager-unapplyall ausmt-sailfishos-1\n"
[D] unknown:0 - "sneak-peek ausmt-sailfishos-1\n"
[D] unknown:0 - "combined-pulley-menu ausmt-sailfishos-1\n"
[Edit] Unfortunately it seems I still have the same issue even after restarting Lipstick. But Mazelock is still here, which makes me think that the patches did not unapply correctly (or that restarting Lipstick was not enough to restart the preloaded services). Am I missing a command line?

coderus 2017-08-01 09:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
who knows, maybe you came to non-recoverable state. reinstall lipstick-jolla-home-qt5 package

Kabouik 2017-08-01 12:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thanks, it fixed it. When I have the time, I'll try to reapply the patches and restart Lipstick after each one to troubleshoot and identify the cause.

Kabouik 2017-08-02 13:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Weirdly, my patches were still installed and applied after running the patchmanager --unapply-all command and then reinstalling lipstick, but without the issues I had before. I disabled better-multiday-calendar-events and sneak-peak from the Patchmanager UI though, and since then had no issue, but can't tell if they were the cause of the issue since I failed to properly troubleshoot when I saw that all patches were still there.

Coderus, do you get issues with allow-any-orientation patch? I just installed it on top of the others, and while it does allow rotation everywhere, it also broke my Events screen. No notifications or toggles anymore, just empty translucent Events background.

I still have the same issue with app-locker as well: applying it makes the option appear in the Devicelock settings, and I can then select applications to lock, but will never be prompted to enter any code or mazelock when launching them.

coderus 2017-08-02 13:40

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
No time to work on patches or patchmanager now. Feel free to fix problem and send PR to github, i'll review and merge.

Kabouik 2017-08-02 13:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Ugh, you're assuming I have the skills for that. :o Just reporting the things I observed in the hope someone can fix it when they have the time, but I'll just wait, no worries.

coderus 2017-08-02 16:15

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

Originally Posted by Kabouik (Post 1531862)
Ugh, you're assuming I have the skills for that. :o Just reporting the things I observed in the hope someone can fix it when they have the time, but I'll just wait, no worries.

Not you personally, anyone can do that for sure :)

olf 2017-09-17 01:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Updated list of non-conflicting Patches (I have installed), and Patches conflicting with or being an alternative to them (which I have looked at, so far), for SFOS 2.1.1.26 with Patchmanager 2.3.3-10.41.1 (original post #2251 was for SFOS 2.1.0.11 with Patchmanager 2.3.1-10.39.1).

Format: - <Patch name> <my rating>, <Patch author>, <Source: wc (Patchmanager2's web catalog) | RPM (e.g. via Storeman)> [, <alt (alternative) | cts (contains) | "cts" (contains similar or same functionality) | cnf (just conflicts)>: <Patch name> <my rating>, <Patch author>, <wc | RPM>]

"My rating" resolves as follows:
- (+): Nice to have
- (++): Very good
- (+++): IMO a must
No "rating" indicates, that I have not used this Patch long enough to rate it.

Patches listed as an alternative (alt) to and / or contained (cts / "cts") in a Patch implicitly conflict with it (i.e. they cannot be applied together in Patchmanager, as they are patching the same locations of the SFOS UI).

- Refresh browser cover (+), Markkyboy, RPM
- Right-handed tabs (++), Markkyboy, RPM
- Add more calendars (++), Schturman, RPM
- Led missed calendar events (+), Schturman, RPM
- Don't start/end events at midnight (++), Luen, wc
- Camera overlay & bezel setting (+), Schturman, RPM
- Flip front camera view (+), Markkyboy, RPM
- Auto snooze & snooze interval (++), Schturman, RPM
- Clock in alarms (+), Markkyboy, RPM
- Separate alarm flipover (++), Ancelad, wc
- Gallery Image Zoom (++), Ancelad, wc
- Add new folder icons (+++), Schturman, RPM,
alt: Launcher combined patch, coderus, RPM
- Don't freeze app on peek (+), cornerman, RPM
- Don't steal focus (++), cornerman, RPM
- Event screen date & text (+++), Schturman, RPM
- Eventsview control (++), Ancelad, RPM,
cnf: Quick settings on power menu (++), alina, RPM
- Force cover size (+), Eugenio, RPM
- Free Rotate for Phone (+++), alina, RPM,
alt: Allow any rotation (+++), coderus, wc
- Improved notification preview (++), Ingvx, RPM
- Lockscreen pulley at home (++), cornerman, RPM
- Switcher click hints Launcher (++), cornerman, RPM
- Ultimate statusbar patch (+++), Ancelad, RPM,
alt/cts: Show all indicators on lockscreen (++), alina, RPM,
alt/"cts": Statusbar background, toxip, wc
- Volume control settings (++), alina, RPM
- Add more shortcuts into lockscreen pulley (+), Ancelad, wc
- Lockscreen analog clock (+++; analog clock is optional!), Ancelad, wc,
cts: Show weather on lockscreen (+++) , Ancelad, RPM,
"cts": Seconds on Lockscreen clock (++), Markkyboy, RPM,
cts: Fix landscape lockscreen clock, Ancelad, RPM
- Devicelock faith text (++), Ancelad, wc,
alt/"cts": No notification preview, alina, RPM
- Disable volume warning (+++), Ancelad, RPM
- Enhanced Power Menu (+++), Ancelad, RPM,
alt: Quick settings on power menu (++), alina, RPM
- Notifications count in Switcher (++), coderus, wc
- Extended mediaplayer cover (+), Ancelad, RPM
- Messages layout (+++), alina, RPM
- Autocapitalization settings (+++), alina, RPM
- Bigger marker tag (+), Markkyboy, RPM
- Notes app cover (+), alina, RPM
- Remove space before punctuations (+), alina, RPM
- Voicecall combined patch (+++), Ancelad, wc,
alt/cts: Better CallLog.Alternative version (++), virgi-26, RPM
- BT timer (+), Schturman, RPM
- Custom hostname (++), Schturman, RPM
- Settings cover (+), alina, RPM
- Shutdown screen (+), Schturman, RPM
- Unapply all patches (+), Schturman, RPM
- Unapply all patches on Upgrade (stated to be not affected by Patchmanager issue #21, see post #2276), coderus, built-in
- Display sneak peek (LPM) (+), coderus, wc
- Return old remorse item animation (+), Ancelad, RPM
- Return old remorse popup animation (+), Ancelad, RPM
- Combined pulley menu (++), Ancelad, wc,
alt: Return old pulley menu (+), Ancelad, wc
- Remorse timeout control (++), Ancelad, wc

And if you like to disable these functions:
- No automatic launcher hint, cornerman, RPM
- Less home animations, cornerman, RPM

... or add this functionality:
- MazeLock, coderus, wc,
alt: Scramble lockpad buttons, coderus, wc

Unfortunately, this Patch is not (yet) compatible with SFOS 2.1.1.26 (while working well under previous SFOS releases):
- GPS supplier (++; solely for Jolla 1 phones!), Schturman, RPM

P.S.: As YMMV (just as everybody's, including mine over time), please refrain from criticising my preferences (WRT chosen functionalities) or my (certainly) subjective "ratings".

And still, any suggestions to enhance this list are welcome.

P.S.: See updated list of Patches for SailfishOS 2.1.2.3 in post #2340.

Schturman 2017-09-17 06:48

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

Event screen date & text (+++), Schturman, RPM,
cnf: Eventsview control (++), Ancelad, RPM
Which one of "Event screen date & text" you have ? for Weather users or for Meecast ?
On all my devices it's not conflicting (I have both activated)....

olf 2017-09-17 16:07

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

Originally Posted by Schturman (Post 1534510)
[...]
On all my devices it's not conflicting (I have both activated)....

Sorry, I got lost in the "Patch conflict hell" and incorrectly attributed the conflict with "Eventsview control" to "Event screen date & text", but it actually was "Quick settings on power menu".
Thanks for pointing this out (now corrected).

Kabouik 2017-09-18 10:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Excellent post Olf, thanks. Very useful.

Ancelad 2017-09-18 14:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
OMP Russia has donated Inoi R7 and new unpacked Jolla C to me :)

Kabouik 2017-09-18 14:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yay! Did it foster your enthusiasm again?

Ancelad 2017-09-18 15:05

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

Originally Posted by Kabouik (Post 1534587)
Yay! Did it foster your enthusiasm again?

Somehow it does

romu 2017-09-20 07:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi,
My Jolla is not my main driver anymore, I'm trying to revamp it a bit to follow what happens in the SFOS world, and obviously, I missed a lot of things.

I've carefully upgraded my Jolla, so it runs 2.1.1.26, but, each time, I didn't remove the patch, stupid guy as I could be! More, I even missed the new patch manager 2.0.

Following the @coderus advice, I reinstalled lipstick, and I've got a fresh SFOS. I remove the old PatchManager package, and installed the 2.0 one.

From the web catalog, I tried the analog clock patch...and nothing changes on the Jolla. What's strange is when I run "Restart preinstalled services" from the new PatchManager, I never get the screen freeze which occured with the old version. Is this the sign something is wrong?

Another questions: are the "launcher combined patch" and the "always show close icon" patches still valid?

Thanks for the help.

olf 2017-09-20 11:56

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

Originally Posted by romu (Post 1534704)
[...] What's strange is when I run "Restart preinstalled services" from the new PatchManager, I never get the screen freeze which occured with the old version. Is this the sign something is wrong?
[...]

This is a bug in the current Patchmanager 2 (under SFOS 2.1.1.26), see
Patchmanager issue #23 on Github.
You have to restart Lipstick ("homescreen") by other means (e.g. via Patch "Enhanced power menu" or "Quick settings on power menu", command line, or Sailfish Utilities from the Jolla Store), or just reboot, for freshly applied Patches to take effect.

romu 2017-09-21 06:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Tried to restart kipstick through the terminal with this command:

Quote:

systemctl --user restart lipstick
Same, no change, the analog clock patch is installed and activated, but I never get it on the screen. Do I do something wrong?

Does the previous PatchManager still work on 2.1.1.26?

Ancelad 2017-09-21 13:34

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Analog clock patch works well with PM2 and 2.1.1.26

coderus 2017-09-21 14:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
why can't you just reboot phone?


All times are GMT. The time now is 03:52.

vBulletin® Version 3.8.8