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)

Fellfrosch 2016-08-16 13:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Any chance to get this patches work under 2.0.2.48:
- Unlock to last app
- Return to app from eventsview

Otherwise I will wait a little longer until I update my daily driver.

pichlo 2016-08-16 14:03

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Isn't unlock to last up the default behaviour in 2.0.2.48?

Fellfrosch 2016-08-16 14:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Stupid me !!! Didn't recognized it while setting up Jolla C (not finished yet).
Thanks for letting me look that stupid ;)

Schturman 2016-08-17 23:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Please, DON'T use GPS Supplier patch on JOLLA C !!!
The gps.conf file completely changed and if you already installed it and applied, your file /system/etc/gps.conf is broken and gps will not work for you!

To fix it (as ROOT):
1. Uninstall this app:
Code:

pkcon remove sailfishos-gps-supplier
If you get error and can't uninstall, run this commands:
Code:

rpm -e --noscripts sailfishos-gps-supplier
cd /usr/share/jolla-settings/pages/gps_and_location
/bin/rm -rf plugins ActionList.qml restart_su* tools.js
pkcon install jolla-settings-system

2. Reinstall 2 packages to fix the gps.conf file:
Code:

pkcon install droid-config-l500d
pkcon install droid-system-l500d

Now it should be fixed.
Sorry for inconvenience, only yesterday started to use Jolla C.

willi6868 2016-08-19 08:39

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
I am getting a fatal error on the attempt to update Patchmanager on my Jolla Tablet (I added the obs repository at an earlier time):

Code:

Fatal error: Specified path '/var/tmp/TmpDir.HAPTe' is not a directory: dir:///var/tmp/TmpDir.HAPMTe

coderus 2016-08-19 09:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you need devel-su

karan5chaos 2016-08-30 19:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
is there anyway to restore the previous launcher style (before sailfish 2.0 update)
also @coderus would it be possible to make a patch which would cycle through opened apps from left swipe like in harmattan ?? i think you showcased this concept earlier on youtube and it would be great patch to have on our humble jolla device :)
thanks.

coderus 2016-08-31 05:01

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
no thanks, i dont have such huge amount of free time :)

eson 2016-08-31 14:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
"Unapply all patches on Upgrade" didn't work for me on 2.0.2.48 - 2.0.2.51.
No messages, no unapplyed patches. Fortunately, I remembered the patches this time. ;)

Ancelad 2016-08-31 14:10

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

Originally Posted by eson (Post 1513959)
"Unapply all patches on Upgrade" didn't work for me on 2.0.2.48 - 2.0.2.51.
No messages, no unapplyed patches. Fortunately, I remembered the patches this time. ;)

It works for me

eson 2016-08-31 14:16

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

Originally Posted by Ancelad (Post 1513962)
It works for me

Are we using the same patch? I'm using the one in upgraded patchmanager.
Both Jolla 1 and Jolla C failed.

Ancelad 2016-08-31 14:23

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

Originally Posted by eson (Post 1513964)
Are we using the same patch? I'm using the one in upgraded patchmanager.

yes, the same one

eson 2016-08-31 14:26

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

Originally Posted by Ancelad (Post 1513965)
yes, the same one

Ok, thanks. Then maybe I misunderstood something. Exactly when, is the warning supposed to appear?

Because I checked after downloading upgrade, right before starting upgrade, and all patches seemed applyed.

Ancelad 2016-08-31 14:29

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

Originally Posted by eson (Post 1513966)
Ok, thanks. Then maybe I misunderstood something. Exactly when, is the warning supposed to appear?

you should have this patch applied, it starts to work when you choose "Install update" - unapplies all patches and begins OS-update

eson 2016-08-31 14:31

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

Originally Posted by Ancelad (Post 1513967)
you should have this patch applied, it starts to work when you choose "Install update" - unapplies all patches and begins OS-update

Ahaa,,, thanks. I checked right before starting the upgrade. :)

eson 2016-08-31 14:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Maybe it should kick in with a message or something, before the final upgrade step (Install update), just to let people know it's there. It requires a huge amount of trust, just to assume that it is applied and will work ;)

coderus 2016-08-31 15:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
No it works other way. It will automatically unapply all applied patches before upgrade. If some of patches will fail to unapply, upgrade process just won't be started :)

eson 2016-08-31 16:17

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

Originally Posted by coderus (Post 1513973)
No it works other way. It will automatically unapply all applied patches before upgrade. If some of patches will fail to unapply, upgrade process just won't be started :)

Yes, I understand that now, but there is no sign of the patch even being applied. I performed OS upgrade all the way until final step, where you pull down menu and release "Install update". Right before "Install update", I checked patchmanager and all patches seemed to be still applied, so I didn't have the guts to just ignore it and move on to actually initiate upgrade.

I would like a notification or something, that the "Unapply all patches on Upgrade" patch is sailing along with me and the OS upgrade.

coderus 2016-08-31 16:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
it will unapply right before Install Update. Because before that step you can still use your phone with patches :)

eson 2016-08-31 16:24

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

Originally Posted by coderus (Post 1513975)
it will unapply right before Install Update. Because before that step you can still use your phone with patches :)

Is there a message? If so, it's okay but I think it's one step to late. Just saying...

A notification message before "Install update" would be like a " We are good to go".

eson 2016-08-31 17:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus
The original idea was that we needed a reminder to unapply patches and Schturman gave it to us. You took that patch to the next level and automated everything, which is great. I really love your work but this time you kind of took the control away from me. No offence, but I really would like it back. ;)

Fuzzillogic 2016-08-31 17:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
After updating, during which th patches were nicely unapplied thanks to the automatic unapply on update option, it seems that unapply option gets disabled. I guess it's better to keep it activated, to avoid confusion or botched updates later on.

coderus 2016-08-31 17:58

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

Originally Posted by Fuzzillogic (Post 1513982)
After updating, during which th patches were nicely unapplied thanks to the automatic unapply on update option, it seems that unapply option gets disabled. I guess it's better to keep it activated, to avoid confusion or botched updates later on.

can you explain in details please? i can understand almost nothing :D

Fuzzillogic 2016-08-31 18:27

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

Originally Posted by coderus (Post 1513987)
can you explain in details please? i can understand almost nothing :D

The option "Unapply all patches on Upgrade" seems to get disabled on upgrade. I had to re-enable it after the upgrade.

TMavica 2016-08-31 18:36

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

Originally Posted by Fuzzillogic (Post 1513992)
The option "Unapply all patches on Upgrade" seems to get disabled on upgrade. I had to re-enable it after the upgrade.

This is normal.....

coderus 2016-08-31 18:59

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

Originally Posted by Fuzzillogic (Post 1513992)
The option "Unapply all patches on Upgrade" seems to get disabled on upgrade. I had to re-enable it after the upgrade.

Every patches are disabling, even good ones :)

coderus 2016-09-08 09:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Added new patch: Extended volume control.
Allow you to control separately ringer volume and media. And do it with your finger :)

https://openrepos.net/content/coderu...volume-control

ejjoman 2016-09-08 17:06

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Very cool coderus! I like it :)
It would even be better, if you could add a little beep sound after every volume change, so one knows how loud it is - just like the good old N9 did :)

Gesendet von meinem Jolla C mit Tapatalk

Schturman 2016-09-10 13:02

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

Originally Posted by eson (Post 1513980)
@coderus
The original idea was that we needed a reminder to unapply patches and Schturman gave it to us. You took that patch to the next level and automated everything, which is great. I really love your work but this time you kind of took the control away from me. No offence, but I really would like it back. ;)

As far as I see my patch "Unapply all patches" are not conflict with latest patch manager and also can be used if you want manual unapply of all of them...

eson 2016-09-10 13:55

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

Originally Posted by Schturman (Post 1514741)
As far as I see my patch "Unapply all patches" are not conflict with latest patch manager and also can be used if you want manual unapply of all of them...

Thanks, but I think coderus did a great job and I'm very happy with the patch manager patch. I just wanted a notification or anything to show that patches really is unapplyed. I know of course that the effect is mostly psychological, but it would feel better. :)

pichlo 2016-09-10 15:52

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

Originally Posted by eson (Post 1514747)
I just wanted a notification or anything to show that patches really is unapplyed.

The system popups at the top of the screen and the whole process delayed by unapplying the patches is not good enough for ya? ;)

eson 2016-09-10 16:33

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

Originally Posted by pichlo (Post 1514767)
The system popups at the top of the screen and the whole process delayed by unapplying the patches is not good enough for ya? ;)

Please read the whole conversation. I ran the upgrade operation the whole way until the very last moment where you actually start upgrading, and there was not a single sign of anything happening with unapplying patches.

I know English is not my native language, but am I really that unintelligible?

coderus 2016-09-10 16:39

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Did you ever tried to upgrade with patch enabled? Please do it once and then we can continue conversation, okay?

eson 2016-09-10 16:49

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

Originally Posted by coderus (Post 1514772)
Did you ever tried to upgrade with patch enabled? Please do it once and then we can continue conversation, okay?

Ohh I probably will, but you obviously still don't understand what I'm talking about.
If I do what you say and actually hit the upgrade button, it will be like jumping out of an aeroplane without checking the parachute.
If you give me just a hint, a message like "Patches will be unapplied", BEFORE I hit the button... well, parachute checked.

Ancelad 2016-09-10 17:36

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@eson
WE don't understand you :)

You will not be able to upgrade your system anyway UNTIL all patches will be unapplied successfully. If one or more patches will be failed to unapply - you WILL NOT be able to upgrade OS. Obviously, you will get standard ausmt-notifies about failed/succeed patches.

eson 2016-09-10 17:53

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

Originally Posted by Ancelad (Post 1514782)
@eson
WE don't understand you :)

You will not be able to upgrade your system anyway UNTIL all patches will be unapplied successfully. If one or more patches will be failed to unapply - you WILL NOT be able to upgrade OS. Obviously, you will get standard ausmt-notifies about failed/succeed patches.

How am I supposed to know that? Or more important, how is the next "average Joe" supposed to understand that?
Well, I give up. I will not bother you again.

pichlo 2016-09-10 18:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
It's all down to trust. You either trust coderus' patch or you don't. If you do, you just press tbe button and watch the succession of "patch unapplied" popups for the next 5 minutes. If you don't, you unapply them manually first and don't get any popups. Either way you are safe.

I see where you are coming from but you have to realize that you just have to trust something. Every time you board a plane, you have to assume that someone has checked it for you. You do not expect a big neon sign saying that the tank is full.

cy8aer 2016-09-10 18:58

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

Originally Posted by pichlo (Post 1514787)
It's all down to trust. You either trust coderus' patch or you don't. If you do, you just press tbe button and watch the succession of "patch unapplied" popups for the next 5 minutes. If you don't, you unapply them manually first and don't get any popups. Either way you are safe.

I did an upgrade yesterday with coderus' unapply patch. No waiting for the next 5 minutes. You see about two or three popups then the device shuts to upgrade. Everything works fine. Events screen then shows all patches unapplied (and all patches are off in patchmanager settings)

(Jolla1, 2.0.2.48->51, about 10 patches)

coderus 2016-09-10 19:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I can make -paranoid version of patch just for fun :D

mrsellout 2016-09-10 19:51

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

Originally Posted by eson (Post 1514776)
Ohh I probably will, but you obviously still don't understand what I'm talking about.
If I do what you say and actually hit the upgrade button, it will be like jumping out of an aeroplane without checking the parachute.
If you give me just a hint, a message like "Patches will be unapplied", BEFORE I hit the button... well, parachute checked.

It worked for me at the last upgrade. I completely forgot about disabling patches (and indeed the no-worries upgrade by coderus), and only remembered when it rebooted and I saw the standard folders. Expecting to have to uninstall all the patches, I brought up patchmanager and was pleasantly surprised to see that I could enable my installed patches.


All times are GMT. The time now is 22:44.

vBulletin® Version 3.8.8