Reply
Thread Tools
Posts: 17 | Thanked: 7 times | Joined on May 2011
#261
Originally Posted by malkavian View Post
I bricked my phone 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 ( I made a stupid killall) and phone rebooted.

And now works!!! Without having to reset it

I could make a better understandable guide if somebody ask...
Life saver. Thanks man!!!!
 

The Following User Says Thank You to zlucoblij For This Useful Post:
Posts: 461 | Thanked: 358 times | Joined on May 2010 @ Bilbao (Basque Country [Spain])
#262
Happy to help
 
Posts: 344 | Thanked: 1,345 times | Joined on Aug 2012 @ Paris, FR
#263
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).
__________________
Developer of Friends Facebook client, patchmanager, Phonebot
Blogger at Jollafr and random thoughts on my personnal blog
Support my work
 

The Following 16 Users Say Thank You to Sfiet_Konstantin For This Useful Post:
Posts: 6 | Thanked: 14 times | Joined on Mar 2014
#264
@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?
Attached Files
File Type: zip mediaplayer_wired_headset.zip (1.3 KB, 69 views)
 

The Following User Says Thank You to gehowa For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#265
Sfiet_Konstantin: my patch is not perfect.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Eminem's Avatar
Posts: 212 | Thanked: 184 times | Joined on May 2010 @ Sweden
#266
Do the Date in Clock region work if you do it manually or not now after the update?
__________________
And the natural balance is restored to the universe
 
Posts: 344 | Thanked: 1,345 times | Joined on Aug 2012 @ Paris, FR
#267
Originally Posted by gehowa View Post
@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)
__________________
Developer of Friends Facebook client, patchmanager, Phonebot
Blogger at Jollafr and random thoughts on my personnal blog
Support my work

Last edited by Sfiet_Konstantin; 2014-07-16 at 16:45.
 
Posts: 105 | Thanked: 307 times | Joined on Aug 2012
#268
Originally Posted by gehowa View Post
@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/

Last edited by luke_dirtwalker; 2014-07-16 at 16:44. Reason: found it
 
Posts: 6 | Thanked: 14 times | Joined on Mar 2014
#269
Originally Posted by Sfiet_Konstantin View Post
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

Originally Posted by Sfiet_Konstantin View Post
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
 
Posts: 123 | Thanked: 108 times | Joined on Oct 2008 @ Prague, Czech
#270
Originally Posted by Eminem View Post
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..
 

The Following User Says Thank You to Kaacz For This Useful Post:
Reply

Tags
patchmanager, sailfish os


 
Forum Jump


All times are GMT. The time now is 19:43.