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)

zlucoblij 2014-07-15 01:29

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

Originally Posted by malkavian (Post 1428999)
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...

Life saver. Thanks man!!!!

malkavian 2014-07-15 10:08

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Happy to help :)

Sfiet_Konstantin 2014-07-15 13:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Geez, Jolla released their update faster than I can catch up. I will update my patches asap, and take a look at newer patches (cf Kaacz and also Coderus's icon in folders).

gehowa 2014-07-16 08:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?

coderus 2014-07-16 08:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Sfiet_Konstantin: my patch is not perfect.

Eminem 2014-07-16 11:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Do the Date in Clock region work if you do it manually or not now after the update?

Sfiet_Konstantin 2014-07-16 16:21

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

Originally Posted by gehowa (Post 1432953)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?

Looks good, but cannot accept, as I only accept contributions through git. It's not that hard :)

About your patch, you would probably want to stop the timer when then the timer has been triggered, or do you want it to repeatly go to next track ?

EDIT: and you need absolute path in your patch (check existing patches)

luke_dirtwalker 2014-07-16 16:33

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

Originally Posted by gehowa (Post 1432953)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?


Where did you find this file (the AudioPlayer.qml)? Im interested to look at it..

Edit: nevermind its at: /usr/lib/qt5/qml/com/jolla/mediaplayer/

gehowa 2014-07-16 20:05

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

Originally Posted by Sfiet_Konstantin (Post 1433019)
Looks good, but cannot accept, as I only accept contributions through git. It's not that hard :)

Fair enough, then I'll try to use github :)

Quote:

Originally Posted by Sfiet_Konstantin (Post 1433019)
About your patch, you would probably want to stop the timer when then the timer has been triggered, or do you want it to repeatly go to next track ?

Button press triggers the timer, button release within 500ms stops it. When the timer runs out, it switches to the next song -- but only once. Works like a charm, at least on my device ;)

Kaacz 2014-07-17 22:07

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

Originally Posted by Eminem (Post 1432977)
Do the Date in Clock region work if you do it manually or not now after the update?

Date in clock have new version for update 1.8..


All times are GMT. The time now is 04:12.

vBulletin® Version 3.8.8