mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-26 01:15:58 +03:00
[GH-ISSUE #112] Restored call-logs all show as "unknown" (HTC Sense) #94
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @heval-zz on GitHub (Jan 13, 2011).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/112
Hi,
I just used the restore call-log feature of your really awesome app.
Unfortunately, all the restored call-log entries now show up as "unknown" ("unbekannt" in german), while the number is displayed under "unknown". Even though I know most of those people and also have their numbers stored on my phone (google contacts).
Would be great if the restored call-log does not only show the number, but also the name of the person I called.
Thanks, and keep up the good work!
Heval
@jberkel commented on GitHub (Jan 13, 2011):
i think they should get automatically resolved by the phone, at least that's what happened when i tried it out in the emulator (android 2.2).
what verison of android are you on?
@heval-zz commented on GitHub (Jan 13, 2011):
I'm using 2.2.
So I should just wait a while, is that what you're saying?
I just rebooted the phone, thought it might help, but still no names showing up.
It DOES show names of contacts stored on the SIM-card (such as mailbox, service provider). But not for my google-contacts.
@jberkel commented on GitHub (Jan 13, 2011):
ok, that looks like it needs to do a contact lookup always then. will work on a fix.
@heval-zz commented on GitHub (Jan 13, 2011):
Thanks! I will be waiting for it!
@jberkel commented on GitHub (Jan 13, 2011):
could you try this version and see if it helps?
https://github.com/jberkel/sms-backup-plus/sms-backup-plus-v1.4.1.rc1.apk/qr_code
@heval-zz commented on GitHub (Jan 14, 2011):
It didn't work, unfortunately. But I didn't delete the current call-log. Do I have to?
@heval-zz commented on GitHub (Jan 14, 2011):
Ok, now I deleted my current log, but it still didn't work.
@sandopolus commented on GitHub (Jan 28, 2011):
I have found this as well on my HTC Desire (Android 2.2)
Also found that if when in the restored call log.
If i held on one of the call log numbers and selected Save to People > Google (Contacts) and then selected save it would then link all logs for that number back to the actual contact and not add anything new into my contacts if the number was already present.
So does just look like some sort of linking issue.
@jberkel commented on GitHub (Jan 29, 2011):
does this still happen on 1.4.1 ? i can't reproduce. are you restoring to a new phone?
@sandopolus commented on GitHub (Jan 29, 2011):
I upgraded to 1.4.1 this morning and did a delete of my call log and restored it. They are still coming up as unknown and I am using the same phone.
My last comment about saving the number to contacts was slightly wrong. It did add a new contact but my desire linked it up to the existing gmail contact with the same number. Didn't realise till I looked at my contacts in gmail.
If I remember correctly I think my voicemail log got restored correctly as I am sure it said Voicemail instead of Unknown. I am going double check this and will update.
I have also pulled the source to my work pc so I will try and have a play around with this area to see if I can work out what's going wrong next week if it isn't solved
@sandopolus commented on GitHub (Jan 29, 2011):
Ok my call log to voicemail was restored with it being labelled as Voicemail and not unknown. So something is working for that number compared to all the others.
@sandopolus commented on GitHub (Jan 29, 2011):
Also just tried to create a phone based contact instead of my usual gmail ones. But the call log for that doesn't restore correctly either.
@jberkel commented on GitHub (Jan 29, 2011):
the problem is that the writing to call logs is not part of the public API, so it might be different across devices. My guess is that something is slightly different on your phone / version of android.
on my nexus one all restored entries get automatically linked up.
check the comments on this page: http://android.riteshsahu.com/apps/call-logs-backup-restore , it looks like it's a problem with HTC Sense:
@PaulEvo commented on GitHub (Feb 4, 2011):
There are two workarounds that seem to work. If you are using gmail, delete the g-mail account and then add the account. If all of the contacts are Gmail contacts, the call log repopulated. The drawback, of course, is that if the gmail account is the one used in the original setup to access the market, etc., a factory reset is required so this isn't a great option as all customization options will be lost.
The second one that seems to work is to use the people app to export all contacts. Then,
import the contacts to "phone." Then, in the people menu, select "view" and unselect "phone". This worked for me because all of my contacts are in Gmail contacts. While it created duplicates, those duplicates can be filtered from view. One thing that I tried to get rid of the duplicate contacts was to "view" only the "phone" contacts, and then delete them. I thought by doing so, I'd be left with just the Gmail contacts and an intact call log with the names because when a "phone" contact is deleted, if there's a Gmail contact of the same name, the call log will still display the name. However, some of the Gmail contacts my Gmail were deleted by doing this. Maybe it's the "link" feature. I hope someone who knows more about the inner workings can use this anecdotal experience to find figure out a programatical fix.
@heval-zz commented on GitHub (Feb 5, 2011):
Ok, so on my phone, after a week or more, all the names suddenly showed up again in my call-log. I am using the version you sent me on January 14th.
@ankanbanerjee commented on GitHub (Nov 7, 2011):
This issue still exists with HTC Sense. I found a workaround which I am happy with when I flash a new ROM:
Before you setup your the phone with a Google Account, restore the call log and SMSs with SMS Backup+ (I keep the apk file downloaded so I don't need to setup Market either). Once the restore is complete, if you link the phone to the Google account, both the SMSs and the Call log show the contact links perfectly.
@ImbellicusAnimo commented on GitHub (Nov 17, 2011):
Just for your information: I've got the same issue in my app. I can set all data (number, date, label, type, duration) but the name isn't set with the insert or update in Calllog.Calls. This problem only exists on HTC devices.
@eagletracker1 commented on GitHub (Dec 19, 2017):
I just had this same problem on an HTC One M8. The way I fixed it was to go into People and then click on the Phonebook drop down on the top left. It says to show contacts from......... After a factory reset, only phone is checked so you have to check google contacts.....or messenger, etc.....whatever you use. Suddenly all the unknowns were changed.