Friday, 15 September 2017

How to format USB stick in Fedora LXDE via terminal


I always forget this, therefore, I'm writing this really short article as a note.

It's a solution that works for me described on ask.fedoraproject.org

Change to super mode
sudo su

List volumes on your PC
[root@mynotebook ptacnikt]# df
Filesystem                         1K-blocks     Used Available Use% Mounted on
/dev/sda1                             999320   195976    734532  22% /boot
/dev/sdb1                            1305600  1305600         0 100% /run/media/ptacnikt/Xubuntu 17.04 amd64

The USB stick might be /dev/sdb1 like in my case

Unmount it
umount /dev/sdb1

Format it
mkfs.vfat /dev/sdb1

Plug it out, plug it in again and it should work. Done.

Sunday, 26 February 2017

Honor 8 fix push notifications, calendar and contacts sync

I have Honor 8 phone ordered from China (FRD-AL10) because the black version with 64GB was not sold in Europe (at least I was not able to find it in european shop).

Calendar and Contacts sync issue

The downside of this phone is that google play, google contacts sync and google calendar sync are not installed by default. You have to install them by yourself, you can download them for example from apkmirror (http://bfy.tw/AJnQ, http://bfy.tw/AJnR, http://bfy.tw/AJnU).

The installation of these apks is just the first part. To make the synchronization really working you need to give those applications proper rights - access contacts, calendar and make sure they they are not closed when the display is locked (battery management).

Push notifications not working

I'm not sure if I had this issue since the beginning or if it started after upgrade to Android 7.0 nougat. The problem was that after some time of locked display I was not getting messages to messenger (WhatsApp, FB Messenger). 
I gave these applications different rights in applications settings and notification privileges in notifications settings and made sure they are not killed when display is off in battery saving settings, but it still didn't help.