How to make phonehook work in 4.5.0.24?

Fonecta changed years ago: login changed from phone number and PIN to username and password, and free searches dropped from 100 (or was it 99) to 10 per month.

Phonehook is still great for blacklisting, though. I use a whitelist (Personal Ringtones by Coderus), call screening (default ringtone is none or silence), blacklist system.

1 Like

I’m still on 4.5.0.25 / Xperia 10 for my Daily driver. As it’s said that 4.5.0.24 and 25 are identic except some EULAs, I continue here this thread.

Wanted to install Phonehook by omnight from Storeman.
It installed for very long time, but finished installing after 4 minutes.
Now says ‘installed’ and icon is present on app grid.
App starts, shows the 4 icons for ‘data sources’, ‘search’, ‘blocked’ and ‘block’.
Shows ‘Daemon: stopped’
Button ‘Start Daemon’ present, but does nothing
Installed sources: none.
Pulley menu: doesn’t work

The other 4 buttons show senseful submenus.

Next step: reboot
Result: Starting daemon still not possible.

Next step: adding the magic [X-Sailjail] - Sandboxing=Disabled
Result:
On launching, it shows now ‘Daemon: running’ !!! :star_struck:
The Pulley menu works now
Installed sources: none

Have now activated:
ABCTelefonos.com
Listaspam.com
Telefonospam.es

So I’ll test now and report later about results.

Q1: In Settings, what please is ‘Source Test Mode’ and ‘Beende Wähler wenn Anrufe geblockt werden’ (finish dialer if calls are blocked)?

Q2: Do I have to be Phonehook app permantly running/open to take effect or can I close it in the GUI and will it work anyway?

Many thanks @omnight !

Q1: Source test mode

I don’t know - all enabled sources can be tested individually.

Kill phone app
I guess it frees the phone app sooner so you can make calls even if someone is calling you continuously.

Q2: GUI
You only need the GUI to make changes.


If Phonehook is misbehaving do
pkill phonehook
sleep 2
phonehook&

Starting the GUI this way all the time doesn’t do any harm.


The Webview dependency is the problem for 4.6 and 5. Pemek’s version solves this for 64-bit.

1 Like

In
~/.phonehook/phonehook.db
there is now:
** Befehl "sqlite3" nicht gefunden
What does this mean?
precautionary I did install now ‘Kdb Sqlite3 Driver’ from Chum. Was this OK?

You mean the actual contents of that file are literally “** Befehl "sqlite3" nicht gefunden”?

How did you try to view it?

What do these commands say?

file ~/.phonehook/phonehook.db
type sqlite3

My XA2 has never been reflashed so it has all the good stuff, like
nemo, symlink defaultuser
~/.phonehook, symlink ~/.config/harbour-phonehook

(and working GPS but that’s not important right now)


When searching for packages that might be already installed, do something like
pkcon search name sql | grep nstall
(in Finnish grep senne).

yes.

checked the files content this way using File Browser:

The binary view of the file shows more senseful content, so I assume, there goes something wrong with the preview in File Browser.

edit: i’ve got the feeling that Phonehook works like intended, but got too less calls since installation to test in real life situations.

Oh, how could you make the hardware run? Did you follow the thread

?

pkcon has this built-in: pkcon search --filter installed sql

Yeah, so File Browser is being smart here - it detects that this is a SQLite database, and tries to show its contents using the tool that’s made for that: /usr/bin/sqlite3.
Thing is, that tool is not installed by default, and apparently not on your device.
If you pkcon install sqlite, the viewing in File Browser should work.

1 Like

I did so and it works. Now the file’s content is visible. Thanks very much @nephros !