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)

Sfiet_Konstantin 2014-06-04 07:29

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

Originally Posted by dmelamet (Post 1428065)
sorry to bother, but I still cant re-install patchmanager... same error all the times. Please help!
thank you from an anxious heart

Don't worry, failing to install patchmanager don't break your device :)
The issue is that I really don't know what went wrong :/ Will try to fix the release as soon as possible.

BTW, youc an simply install everything by

Code:

zypper rm patchmanager
zypper ref
zypper in patchmanager-ui sailfishos-patches-base sailfishos-patches-advanced


Sfiet_Konstantin 2014-06-09 17:18

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
U7 is out from Jolla side, but from PM side, there are updates too !

First of all, there is an awesome news: Pandora is no longer needed, meaning that you don't need to have a 7-step install to have homescreen patches. Everything just comes from OpenRepos, and you just need some package installs.

However, U7 breaks a lot of stuff in homescreen, meaning that I had to rewrite some patches. Don't worry, all patches will be updated at some point (right now, the unlimited multitask one is not available).

With U7 and the removal of Pandora, I included a small script to guarantee that lipsitck code will always be backed-up, and if you messed with your device, there should always be a backup in /opt/patchmanager. All backup operations are automatically done with the last version of patchmanager.

Basically, for the update, just grab updates from patchmanager, base / advanced patches, and everything will work out of the box !

Schturman 2014-06-09 18:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hmmm, and before next system update we also need to reinstall orig lipstick-qt5 ? Or because Pandora removed it enough to unapply patches from app ?

cvp 2014-06-09 20:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i never install your mods. Now i update U7 and want the setings in my homescren.

I Install:
1) Patchmanager
2) Sailfishos patches (base)

and here i became an error:

Transaction/2177_badaeccb
Status: dep-resolution-fails
Extra details:
patchmanager-patches-0.4.2-10.4.1.jolla.armv7hl requires patchmanger = 0.4.2-10.4..jolla, but this requirement cannot provided

Kabouik 2014-06-09 20:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I got the same. I reinstalled/upgraded the three other packages, and when applying patches in patch manager, none actually works. The "Restart" option in the pulley is greyed out. Rebooting the phone does not help.

Thanks a lot anyway for keeping Patchmanager up to date after every Salfish update, it's very appreciated! Patchmanager is so damn awesome, I'm very grateful! :)

ssahla 2014-06-09 20:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi! I used Patchmanager in 1.0.5.16/19. Now, before updating to 1.0.7.16, I unapplied every patch. I also disabled Lipstick-Pandora (thought that might be safer).

Now I'm done updating, but can't use PM. I updated to latest versions from OpenRepos. On launching, I get the list of advanced patches, but when I try to apply one, I get message "Failed to install patch". In the pulley menu there are no options to manage/install Lipstick-Pandora. What should I do?

(And by the way, as others have mentioned, still can't install base patches from openrepos, because the package requires PM 0.4.2, but the installed version of PM is 0.4.4...)

Update: It seems that while I was writing this, others were reporting similar problems...

chilango 2014-06-09 21:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Dont use harbour for install. You will install the older versions
Load the first side of this thread and download from there

@Sfield Can you check this? From Harbour it install still 0.4.3 even i make check for Updates

Edit: also not works. The link from first side go to Patchmanager-UI and this can not be installed ofcourse Patchmanager doesnt is installed

Edit:
1. Download and install patchmanager-0.4.4-10.7.1.jolla_.armv7hl.rpm
2. Download and install patchmanager-ui-0.4.4-10.7.1.jolla_.armv7hl.rpm
3. the other stuff like in Page one.

I installed with doubletop files in System-Downloads

But Controlcenter still doesnt work :(

Sfiet_Konstantin 2014-06-10 07:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Issues installing with warehouse should be fixed now. Please try again by uninstalling patchmanager + reinstall everything, since I have messed up stuff a bit.

Be sure to have the latest patchmanager installed, too. (0.4.4, not 0.4.3)

Boxeri 2014-06-10 07:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Should patched lipstick be reinstalled before updating? I was using old patchmanager. can't find the reinstall command anymore from your first post

ssahla 2014-06-10 07:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Ok, thanks chilango – I installed straight from openrepos (before seeing Sfiet_Konstantin's latest post), and I think I should have the latest versions. And Patchmanager seems to work now! Though control center in ambience switcher doesn't work, and Title visible fails to install.

Sfiet_Konstantin 2014-06-10 07:36

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

Originally Posted by Boxeri (Post 1428978)
Should patched lipstick be reinstalled before updating? I was using old patchmanager. can't find the reinstall command anymore from your first post

Did you update to latest version ? If yes, don't care about lipstick anymore. The correct lipstick is installed (the non-patched one), and there is no need to patch again.

Boxeri 2014-06-10 07:40

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have not updated I am using older

Sfiet_Konstantin 2014-06-10 07:46

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

Originally Posted by ssahla (Post 1428980)
Ok, thanks chilango – I installed straight from openrepos (before seeing Sfiet_Konstantin's latest post), and I think I should have the latest versions. And Patchmanager seems to work now! Though control center in ambience switcher doesn't work, and Title visible fails to install.

Do you have dev mode ?
Please do a
Code:

rpm -qi patchmanager
rpm -qi sailfishos-patches-base
rpm -qi sailfishos-patches-advanced

in terminal.

And provide me the result ?

ssahla 2014-06-10 07:54

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

Originally Posted by Sfiet_Konstantin (Post 1428985)
Code:

rpm -qi patchmanager
rpm -qi sailfishos-patches-base
rpm -qi sailfishos-patches-advanced


Name : patchmanager
Version : 0.4.4
Release : 10.7.1.jolla
Architecture: armv7hl
Install Date: Mon Jun 9 23:34:54 2014
Group : Qt/Qt
Size : 83844
License : TODO
Signature : (none)
Source RPM : patchmanager-0.4.4-10.7.1.jolla.src.rpm
Build Date : Mon Jun 9 00:11:18 2014
Build Host : phost5
Relocations : (not relocatable)
Vendor : meego
URL : https://github.com/sailfishos-patches/patchmanager
Summary : patchmanager allows you to manage Sailfish OS patches
Description :
patchmanager allows managing system patch
on your SailfishOS device easily. This package
contains the system daemon.

Name : sailfishos-patches-base
Version : 0.4.3
Release : 10.7.1.jolla
Architecture: noarch
Install Date: Tue Jun 10 09:56:42 2014
Group : Qt/Qt
Size : 9915
License : TODO
Signature : (none)
Source RPM : sailfishos-patches-base-0.4.3-10.7.1.jolla.src.rpm
Build Date : Mon Jun 9 00:14:33 2014
Build Host : phost9
Relocations : (not relocatable)
Vendor : meego
URL : https://github.com/sailfishos-patche...s-patches-base
Summary : A set of small and well-maintained patches
Description :
This package contains a set of patches that should
not cause much harm on the device.

Name : sailfishos-patches-advanced
Version : 0.3.1
Release : 10.5.1.jolla
Architecture: noarch
Install Date: Tue Jun 10 10:19:34 2014
Group : Qt/Qt
Size : 15773
License : TODO
Signature : (none)
Source RPM : sailfishos-patches-advanced-0.3.1-10.5.1.jolla.src.rpm
Build Date : Mon Jun 9 00:04:09 2014
Build Host : phost4
Relocations : (not relocatable)
Vendor : meego
URL : https://github.com/sailfishos-patche...tches-advanced
Summary : A set of advanced patches
Description :
This package contains a set of advanced that might
require extra care when being applied.

HtheB 2014-06-10 07:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Title visible in edit mode does not work :(
Says failed to install patch.

By the way, Control center in events view does work for me

gexc 2014-06-10 08:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
The option for restart lipstick does not work if no changes are made. But after rebooting the phone one manual restart is needed for enabling the mobile data toggle in the event control

cvp 2014-06-10 08:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
today i install the patches first time, and have the same problem like ssahla, install control center in ambience is not working, but in events work!
titel in edit mode cant install!

malkavian 2014-06-10 10:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I bricked my phone :eek::( after update and then reinstalling lipstick (I readed late that it isn't needed now) and instructions from first post didn't work.

But I recovered it by Recovery mode ---> Shell ---> mkdir /mnt/rootfs && mount /dev/mmcblk0p28 /mnt/rootfs && chroot /mnt/rootfs ---> I mounted proc sysfs and /dev/pts but maybe not needed

Then, to get internet in the Jolla in Recovery mode in my Debian GNU/Linux I done:

sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

And in my Jollaadded some nameservers to /etc/resolv.conf because if not, it can't resolve repo names to IPs and:
route add default gw 10.42.66.67

Finally I installed normal lipstick-qt5 with: zypper in -f lipstick-qt5
Unmounted sys proc and /dev/pts from the chroot. Can't umount /mnt/rootfs because /sbin/busybox-static and other processes were using it (info got by "lsof /mnt/rootfs" command). I done "killall -15 busybox-static" and telnet recovery mode closed (:confused: I made a stupid killall) and phone rebooted.

And now works!!! Without having to reset it :D:D:D:D

I could make a better understandable guide if somebody ask...

Sfiet_Konstantin 2014-06-10 10:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Indeed,
  • Control center in ambience switcher don't work
  • Edit mode cannot be applied

Will investigate tonight.

Mitrigol 2014-06-10 11:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi, i do not see the unlimited multitask patch anymore after i update to the last Patchmanager.

I have the new one for fix the volume bar in control center patches but lost the other one :)

I updated all package to latest available on openrepos I am out of idea where to search to solve this. Any suggestion?

Thanks

EDIT: Oups, missed your last comment where you explain about it. Sorry i did not read properly. I will wait until it is released again. Thanks for your work!

parasemic 2014-06-10 15:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
This thread got kind of confusing, so how do I safely install patchmanager after the jolla update? :D

Mitrigol 2014-06-10 17:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
- Disable all your patches
- Disable lipstick
- Remove manually all related patchmanager packages (search for "patch" in warehouse, they will all be listed there), You have to remove them manually because of dependencies issues, see previous pages for details.
- Do your update
- Reinstall patchmanager + base/advanced patches from warehouse. Patched lipstick is not needed anymore :)

done!

dmelamet 2014-06-10 18:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Shame about the things that dont work anymore.
But... Keep the good things coming!!
:cool:

inte 2014-06-11 15:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I had some issues removing pandora-eventview-controls-0.1-1.armv7hl manually because of already missing /sbin/patchmanager after the update.
The following workaround solved the issue:

touch /sbin/patchmanager
chmod a+x /sbin/patchmanager
rpm -e pandora-eventview-controls-0.1-1.armv7hl
rm /sbin/patchmanager

Cheers and thanks,

Chris

Koiruus 2014-06-12 06:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I kinda messed up with Patchmanager and the last os update. When the os update came, I didn't recognize the new version of patchmanager. So I thought first to disable openrepos repositories and then unapply patches and remove patchmanager stuff and update os and then install patchmanager again.

But. After disabling openrepos, patchmanager disappeared from launcher and I had to re-enable the repo and install new versions of patchmanager and patches (without manually uninstalling the previous version) just to unapply patches. But obviously I couldn't disable lipstick from the new version. After that I disabled the repo again and updated the os. Good thing is that the system is working, so no panic. But patchmanager looks like little bit messed up, because there is like same patches listed many times and so on (I can post a screenshot if needed). And homescreen restarting worked at the first time after update, but doesn't work anymore.

So, my question is, how to make a clean uninstall and reinstall in this state? Is there something mess with lipstick and pandora? Or the old version? Thank you.

egnat69 2014-06-12 10:01

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
damnit... i already see myself bricking my phone sooner or later... still i just can't stop trying this stuff ;)

nice job!

Sfiet_Konstantin 2014-06-12 10:48

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

Originally Posted by Koiruus (Post 1429249)
I kinda messed up with Patchmanager and the last os update. When the os update came, I didn't recognize the new version of patchmanager. So I thought first to disable openrepos repositories and then unapply patches and remove patchmanager stuff and update os and then install patchmanager again.

...

So, my question is, how to make a clean uninstall and reinstall in this state? Is there something mess with lipstick and pandora? Or the old version? Thank you.

Update did remove the now useless pandora. To clean everything, please do:

Code:

pkcon remove patchmanager

Koiruus 2014-06-12 11:40

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Nice, thank you. Everything looks normal now. And homescreen restarting works.

Kaacz 2014-06-12 18:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Looks like after apply patch controll center in ambience don't work both side swipes... on update 7..

IMHO good move to new principle without pandora .. :)

breakdafunk 2014-06-13 09:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I must say that I was a bit reluctant to install Patch Manager but after doing so and activating Control Center in the Notification area and Swipe feedback I have to admit that those patches are wonderful! The whole installation process is very easy and patches are done in a very elegant and seamless (stock looking) way.

Keep up the great work that makes Sailfish OS even better!

Best regards,
Maciej Krupa

breakdafunk 2014-06-13 10:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
One thing that I have noticed not working properly in my case:

After installing the Notification Center patch, the Mobile data icon is "greyed out" even though in Setting it is turned on. To make the Notification Center icon respond correctly i need to turn off Mobile data in Settings and try to open a web site so that the Connect to internet screen pops up and then I can chooses to connect using Mobile data. After that the Notification Center icon indicates the connection correctly.

The whole process needs to be repeated after each reboot of the phone.

I will factory reset the phone and apply all of the patches again when I get home. Maybe that will fix the issue. In the meantime can someone test for this bug?

Thanks in advance for any help!

Best regards,
Maciej Krupa

HtheB 2014-06-13 10:17

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

Originally Posted by breakdafunk (Post 1429452)
One thing that I have noticed not working properly in my case:

After installing the Notification Center patch, the Mobile data icon is "greyed out" even though in Setting it is turned on. To make the Notification Center icon respond correctly i need to turn off Mobile data in Settings and try to open a web site so that the Connect to internet screen pops up and then I can chooses to connect using Mobile data. After that the Notification Center icon indicates the connection correctly.

The whole process needs to be repeated after each reboot of the phone.

I will factory reset the phone and apply all of the patches again when I get home. Maybe that will fix the issue. In the meantime can someone test for this bug?

Thanks in advance for any help!

Best regards,
Maciej Krupa

It's a known bug

breakdafunk 2014-06-13 10:22

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

Originally Posted by HtheB (Post 1429453)
It's a known bug

Thank you for the information.

nodevel 2014-06-13 11:39

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

Originally Posted by HtheB (Post 1429453)
It's a known bug

It's gotten worse after the last update, though. Previously it was sometimes greyed out, but active most of the time. Now it is greyed out permanently.

matimilko 2014-06-15 17:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hello!
I've installed base patches 0.4.3 from OpenRepos.
But I don't know how to apply it. I don't have any icon.
Is it maybe in settings?
Thank for help.

Mikkosssss 2014-06-15 17:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
You need to install Patchmanager and base patches are patches for it.

cvp 2014-06-15 19:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
nice thanks for update, works very good :)

is it possible to add more than 3 pulldown shortcuts in lockscreen? :)

veeall 2014-06-15 21:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Also is it possible to tweak how long the swype has to be to select another pulley menu item? It seems a bit too much to me, shorter swipe would enable to have more items in pulley menu.

pikejake 2014-06-16 09:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
I tried uninstalling everything but couldn't. Also can't install patchmanager. As a attachment there is a picture of a warehouse error while trying to uninstall pm-daemon.


btw, what you guys use to upload pictures here with jolla?

nodevel 2014-06-16 11:19

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

Originally Posted by pikejake (Post 1429732)
I tried uninstalling everything but couldn't. Also can't install patchmanager. As a attachment there is a picture of a warehouse error while trying to uninstall pm-daemon.


btw, what you guys use to upload pictures here with jolla?

  1. disable all patches
  2. uninstall patchmanager-eventview-controls (which now conflicts with Patch Manager
  3. try if the installation of PM works. If not, contact the author of patchmanager-eventview-controls


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

vBulletin® Version 3.8.8