Thank you very very much for your suggestionn.
I appreciate your help very much.
Unfortunately also the manual installation of the Fairphone OS didn’t help.
The Windows console worked correctly and also announced “reboot your Fairphone it should work correctly”. But after unplugging and rebooting the FP2 it stuck in the “FAIRPHONE Change is in your hands” boot screen forever…
Do you have further recommendations?
Can the TWRP restore job have destroyed something inside the FP2 so that it now doesn’t work even after manual Fairphone OS installation?
For this to work, the OS version you install should match the OS version the restored backup is from.
Since you didn’t specify which OS and which version of it ran on the phone, we can’t be sure of that.
The guide links to the install file of the most recent 19.11.2 version of Fairphone OS, which is the best guess in such a situation, but if you are certain it was an older version or just want to try, older Fairphone OS versions are being kept available here … https://support.fairphone.com/hc/en-us/articles/213290023
I’m thinking of a different approach now, though.
The backup is restored, the data you require should be there, but the phone doesn’t boot to let you have a look.
TWRP can access the restored files on the phone, so the file in question could be copied to a computer.
Question is: Which file contains the call log, and is there a way to make sense of the file’s contents on a computer?
Perhaps somebody else here has already done this before?
No, I can’t think of a simple restore of a backup doing that.
It is actually not that easy to get the Fairphone 2 into an unsalvageable state.
As long as Fastboot mode works, you will have options, here’s one … (which doesn’t help with accessing the call log just now, because it deletes user data) …
My fairphone crashed some seconds after unblocking the phone the whole yesterday afternoon. I shut it down for the night and today I’m having the exact same problem that you describe. I updated the phone to OS 19.11.2 today, but this didn’t help.
Has someone tried to reset the device?
Make sure you can see the folders on the phone on your computer to copy stuff over later. (Or skip to my Edit below.)
File Manager … this should display the folders in the root directory.
Navigate to /data/data/com.android.providers.contacts/databases
Tap on the file calllog.db, it should be there.
Copy File … this should display the folders in the root directory again.
Navigate to a destination folder which can be accessed from the computer, i.e. something in /data/media (that really is “Internal Storage”), e.g. /data/media/0/Download
Tap the checkmark icon in the bottom right corner
Swipe to Confirm … The following screen should be titled with the two lines “File Operation Complete” and “Successful”. Don’t mind the other output there, it’s just the log TWRP keeps in the background after booting, it has nothing to do with the file copying just now.
Copy the file calllog.db from the accessible folder on the phone to the computer to somewhere you can find it.
Navigate to where you copied calllog.db to and open the file
Go to the “Browse Data” tab (instead of the “Database Structure” tab).
Set the displayed table to “calls” (instead of the “android_metadata” table).
The “number” column should then have the number you’re interested in somewhere.
If somehow the file can’t be copied to a computer, you can have a look at it in TWRP.
Terminal … execute the following commands (type them into the command line and then tap the checkmark icon to run them)
(changes the directory to where calllog.db is)
This will dump the raw content of the file onto the command line, and it will look messy (and the phone will perhaps vibrate from non-displayable characters).
But take your time, you can scroll up and down with the slider on the right side, and the number you’re interested in will be visible in this mess somewhere.
Did you get the desired number in the end?
I just was struck by this lightning here …
Shows you what I know, really. I didn’t realise the file format of the backup was simple to deal with.
So, if you wiped the phone before dealing with the calllog.db, and if you have your TWRP backup on a computer, then just open data.ext4.win from the backup with e.g. 7-Zip (Edit: for Windows , the tar command works for Unixoids) … this should show only a folder (without a name in my case, but this could perhaps be different), open that … and there you are … data/com.android.providers.contacts/databases/calllog.db.
Yeah, in the calllog.db (opened via a DB Browser for SQLite) we found all called numbers.
Was quite an Odyssey and we nearly gave up when the FP OS flashing failed. But now everything is fixed, all contacts found, alle messages restored and even the notification bar and home button work correctly.
I’m not sure what the exact steps are on FP2, as I don’t have one to play with. I have read about people using different user accounts on the FP2, so it has to be possible. The closest I have here is an Android 8 device, where it is under Settings > Users & Accounts > Users (where the instructions I linked to above also suggest it can be found). The last step is maybe counter-intuitive, as the Users & Accounts screen mainly shows a list of accounts (‘Accounts for …’). Above this list is a line ‘Users’, which can be tapped to access a list of users which includes an option to set up a guest session.
The alternative location suggested online is Settings > System > Advanced > Multiple Users. As said, I’m not sure what the exact menu structure is for the FP2. If anyone can find it, please let us know.
Tapping guest where it’s shown in the image should start a guest session. On my test phone it takes a while to start (and at first it seems nothing is happening). Switching back is a case of going to the same menu and choosing ‘remove guest’.
Thanks a lot to @urs_lesse and @johannes but I can’t access the Settings > Users screen
My FP2 is in French but I think I found the setting: Paramètres > Utilisateurs (between Mémoire (Memory) and Gestes (Gestures?)).
Under Utilisateurs, it’s written “Connecté en tant que “David”” (Connected as “David”, my name)
BUT when I tap on Utilisateurs, no new screen opens, so I don’t have the screen you show.
Maybe another side effect of this wide-encompassing bug…
It is enough, to just tap on “Owner” again. You can keep the “Guest” account; at least on my outdated Android 6.0.1.
In such cases I always change the language setting, to find the correct path/setting.
But you are right (I checked the French version), it is Utilisateurs
If you don’t get that screen, where you can select users, that’s strange.
But since you get the info, that you are connected as the owner, there seems to be some response.
Have you tried searching?
In the systems screen, there is a magnifier in the top right-hand corner.
Tap on it and enter “utilisateur”
You should get a list of results.
One should read: “Ajouter un utilisateur”
Tap on that and you should end on the screen shown above.
Instead of “Guest” it says “Invité”
Tap on it and there you go.
If you don’t get that option, there really seems to be something wrong, and I have no clue.
I seem to have the same problem. Under Settings>Device I have “Users” (also between “Memory” and “Gestures”) where it says: “Signed in as Owner”. When I tap on it nothing happens.
Also I remember having the magnifier in the top right-hand corner, but it’s gone now…
Here is a source how to remove a guest account and disable the multi-user option.
Did anyone of you do some “hacking” by using adb etc.?
Then this is where the solution might be located.
As I am no techie, this is absolutely beyond me.