yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] freeza:
I don't know about you, but it's virtually impossible for me to forget a $500 device sitting on the hood of a car, let alone for it to even be on the hood of a car in the first place.
[HTC EVO 3D] sniperkill:
Calm, that really Sux man. My wife one time left her og evo on the roof of our car, and we drove off, LOL... Luckily, she had a case (a rubber one) on it. Well, we didn't notice it on the roof, and we drove off. Later, we were looking for it and we couldn't find it. She remembered leaving it on the hood. Sol. Anyway, a day or two later we get a call from some lady saying she found a EVO on the side of the road, and asking if we owned it. I told her yes, and that my wife left it on our roof of our car. Well, LUCKILY, nothing was wrong with it. No broken screen, no scratches, nothing! I was amazed..
[HTC EVO 3D] A.Priori:
Try talking inside the car next time ;-)
[HTC EVO 3D] mattfmartin:
wrong.......

Sent from my 3rd Dimension of Evolution
[HTC EVO 3D] chefdave12118:
+1 ..............
[HTC EVO 3D] Chuki82:
lol I was gonna say.... That phones been ran over a few times lol!
[Desire Q&A, Help & Troubleshooting] nkk71:
Hi All,

Quite a newbie and just rooted the Desire a couple of days ago, so bear with me…

Not sure if this is still a problem for many of us out there, but it’s been a problem for me for years, and I never found a solution to it (on the web or elsewhere), so I thought of sharing it.

For those of us who need “7 digit” (not 8 digits) Caller ID Matching, for both Phone and SMS/MMS, I think I have it working now :D

The problem comes from how your operator provides the caller id; in my country it’s +CCC x yyyyyy for SMS, and 0x yyyyyy for phone calls; CCC being the country code, in my case 961, but I’ve seen posts from other countries as well.

For Windows Mobile it was just modifying the registry, but for Android, I’ve seen many posts, blogs, etc. about libsqlite.so needing to be changed. I believe I found (actually stumbled across) a much simpler and more “correct” solution:

In the file “/system/build.prop” just add a line at the beginning “ro.phone.min_match=7”. Then use the normal recovery flash method and you should be good to go.

Update

(thanks to luckyjay):

(I used ES File Explorer instead)​

I’ve tried it with several ROMs, including RCMixS and AceSMOD007, and it worked for me. (And WOW those are some really excellent ROMs)

Hope this helps, and let me know if I need to elaborate some more. (It's my first post after all;))

!! MANY THANKS TO XDA, THE TUTORS, THE MODDERS AND EVERYBODY MAKING OUR PHONES BETTER THAN THEY ARE !!​
[Desire Q&A, Help & Troubleshooting] jan-willem3:
Not relevant for my country. But looks like a good catch.:) Well done!
[Desire Q&A, Help & Troubleshooting] nkk71:
Thanks jan, nice to see a reply :)

And I totally agree with you, but the "GENIUSES" over here decided on (and look at that):

+961 a 123456 or 0a 123456 (landlines)

+961 3 123456 or 03 123456 (original GSM lines)

+961 70 123456 or 70 123456 (newer GSM lines)

+961 71 123456 or 71 123456 (newer GSM lines)

… I mean people can’t get this straight how about phones (granted, some phones might be more “aware” than some people, but who am I to say:rolleyes:)

The problem has been around for a long time (http://xdaforums.com/showthread.php?t=606728 just one post of the MANY I’ve looked at), and we never got an answer.

I even emailed HTC for months on end about this, and never got a half-way decent reply! And I have been a loyal HTC customer for a long time: HTC P3300 (the first HTC, I think), Touch Diamond, TyTN, TyTN 2, Desire, HD2, Sensation

So I was really expecting a bit more from them, especially if the answer is as easy as I mentioned;

they’re statements “your s/n is for an HTC Hero” (hello! I'm sorry, the phone looks like the Desire, has the right software,firmware, th box says Desire, the phone says Desire etc.etc.)

or

“to edit the registry as it is considered illegal” (again hello! there is no registry in Android)

All this wasn’t really productive. One support tech (after being bounced back and forth) was actually trying to help, but eventually I just gave up.

After getting the HTC Sensation, I started rooting the Desire, and guess what, it just took the “ro.phone.min_match=7” to fix it. This could have been done even without rooting.

AND GUESS WHERE I GOT THE “ro.phone.min_match=7” FROM?? ... the HTC Sensation !!!!!
[Desire Q&A, Help & Troubleshooting] lukyjay:
Or you can use Root Explorer, long press the file and open with text editor and just do it that way :P Reboot to apply changes
[Desire Q&A, Help & Troubleshooting] nkk71:
Thanks luckyjay, that works even easier. I'll update the post.
[Desire Q&A, Help & Troubleshooting] kkarnaout:
SO i See ur from lebanon and have the same problem i have and u found a solution ill give it a try and see if that works it only happens with me with phone numbers that start with 03 but all numbers that start with 70 or anything other than 03 works so ill check it and tell u if it works to me
[Desire Q&A, Help & Troubleshooting] kkarnaout:
well i gave u two thanks coz it worked my friend great job well done fixed my problem to i love the way u thought about it and at the end u did it amazing 5 starts for me ;)
[Desire Q&A, Help & Troubleshooting] yeahman45:
finally a solution... i am using prefixer to fix the prob but not very convenient! thx for the solution!
[Desire Q&A, Help & Troubleshooting] nkk71:
Thank you guys! for your comments & support !!

This thing has been driving me crazy for years, and Prefixer (nice BTW) or duplicating all phone numbers twice is just, is just INSANE for a "smartphone"

Yep, in Lebanon we have this problem, but I've seen many posts including Italy, Spain, and more countries, all of which have the same issue.

Anyway, glad I was able to contribute something, and appreciate your feedback.
[Desire Q&A, Help & Troubleshooting] yeahman45:
I can't find

ro.phone.min_match

in build.prop of reflex gingerbread sense rom :(
[Desire Q&A, Help & Troubleshooting] kazgor:
I would think you just need to add the line if it is not already there.
[Desire Q&A, Help & Troubleshooting] nkk71:
It's usually not there ;most contries don't need it. Just add the line using ES File Explorer or similar to the build.prop (somewhere towards the beginning) "ro.phone.min_match=7" then save and reboot.

Should work then... let me know. (worked for me a lot on several MODS)
[Desire Q&A, Help & Troubleshooting] wollyka:
Great find.. I used to have that problem with my HTC Desire. But switching to CM7+ Handcent SMS was a solution to me in the past. But i think this is better :)
[Desire Q&A, Help & Troubleshooting] yeahman45:
ok will try it this evening thx
[Desire Q&A, Help & Troubleshooting] nkk71:
SMS was not really the big problem (for me), rather the Dialer: when you're in your home country the numbers arrive in local format (0a xxxxxx) but when you're roaming the phone calls arrive in international format (+CCC a xxxxxx). That's why I had to duplicate everything. And this for both incoming and outgoing calls.
[Desire Q&A, Help & Troubleshooting] nkk71:
can confirm it works, just flashed Reflex_S_2.1.7

original build.prob:

ro.ril.oem.ecclist=911,112,999,110,191,113,117,15,1122,115,16,118
ro.ril.ecc.HTC-WWE=999
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.enable.a52.HTC-ITA=1
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.enable.sdr=0
........

this doesnt recognize Caller ID (7 digit)

changed build.prob using ES File Explorer (don't forget to activate root permission in ES File Explorer settings):

ro.phone.min_match=7
ro.ril.oem.ecclist=911,112,999,110,191,113,117,15,1122,115,16,118
ro.ril.ecc.HTC-WWE=999
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.enable.a52.HTC-ITA=1
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.enable.sdr=0
........

save & reboot.... now working Caller ID :D
[Desire Q&A, Help & Troubleshooting] yeahman45:
ok added the line.. seems to be working!! will keep prefixer just in case and test a bit more!! man thx for the solution!!!! finally proper caller id recognition!!!
[Desire Q&A, Help & Troubleshooting] at004:
hey thank you , but its not working on my htc sensation revolution hd rom any ideas
[Desire Q&A, Help & Troubleshooting] salahzantout:
hey

im lebanese as well :D

so i tried editing from rootexplorer but file didnt open, it says " you cannot edit this file system is read only "...

then tried it in S file explorer.. i edited it but i cant save after finishing

im using cyanogen mod 7 2.3.4

any help please ?
[Desire Q&A, Help & Troubleshooting] salahzantout:
thanks inadvance
[Desire Q&A, Help & Troubleshooting] wollyka:
you need to enable R/W in Root explorer, so you must be S-OFF if i am not mistaken.

If not you you should push it through ADB while in recovery and it should be ok, refer to the sticky thread here on xda on how to S-OFF or how to use ADB if you don't want to it.
[Desire Q&A, Help & Troubleshooting] nkk71:
If you're using ES File Explorer, first go to settings and enable ROOT and Mount File System as writable.

I've tried about 7 different ROMs, and worked every time.
[Desire Q&A, Help & Troubleshooting] nkk71:
And don't forget to reboot.

Let me know if it works out.
[Desire Q&A, Help & Troubleshooting] billyJ:
Hi,

I am using [Sense 2.1+3.0mix][02 June]RCMix S v2.0 Evolutionary Sense ROM. File saves itself after editing. But after rebooting device file is not changed. It keeps going back to defaults settings.

I have no S-OFF on my phone, is this necessary?

Thanks

Bill
[Desire Q&A, Help & Troubleshooting] andQlimax:
To change any file while the phone is booted u need s-off (without s-off the /system partition is mounted as read-only and u can't mount it as read-write), otherwise if u don't want to s-off u can edit it through adb, search some guide if u need it ;)
[Desire Q&A, Help & Troubleshooting] billyJ:
Ok thanks
[Desire Q&A, Help & Troubleshooting] salahzantout:
ok so i edited it, and added the line u stated at the beginning ( added first line )... ro.phone.min_match=7

and rebooted but it didnt work

are u sure that i just add the line, no " # " or something like that...

ie : my phone is s-off ed and i checked that i saved... the line iadded is still there
[Desire Q&A, Help & Troubleshooting] nkk71:
Nope, no # or anything. Just 1 line, no spaces, just ro.phone.min_match=7

Doesn't have to be the first line, by the way.

1- After you reboot, is the line still there? (maybe the changes weren't saved correctly)

2- check if there's another min_match entry in the file, could be one is being favored over the other

What ROM are you using? I'll flash it and see if it works. (when I get back, I'm traveling and don't have my laptop with me)
[Desire Q&A, Help & Troubleshooting] nkk71:
If you're able to flash, try changing the original zip file instead of using Root Explorer... That way, after flashing, it should be working.
[Desire Q&A, Help & Troubleshooting] billyJ:
thanks

i did it now with adb

tell you something, i tried to s-off, flashed stock rooted rom, then boot iso from cd-rom, followed procedure, but it always got failed at the end with array error message.

so i decided to do go back to nandroid backuped rom, after it i had my first usb-brick, which i didn't not it existed, had to fix it, first with adb fastboot and then flashing cid mist partition with update.zip and now my usb and sd card works.

just hour ago i pushed new bootanim and downanim, gps fast fix and 7 digit match with adb i had tested with fixing usb-brick

nice story and a lot of stress, ufff

ps.

nkk71 can I edit rom.zip file with WinRAR and flash it after modification?
[Desire Q&A, Help & Troubleshooting] nkk71:
Editing the zip file is how I got it to work the first time! (root Explorer or es explorer was thanks to lukyjay) see the first post.

Don't know if you need to be s-off, but at least have your goldcard ready... Then flashing a modified ROM with the min match set to 7 works.
[Desire Q&A, Help & Troubleshooting] jjdoctor:
I have two numbers with conflict..

0311-5599002 ( My mom's Mobile)

041-5599002 (Home)

Whenever someone calls me from Home... the dialer displays Mom's number instead of Home...

Will this method solve that issue?
[Desire Q&A, Help & Troubleshooting] billyJ:
0311-5599002 ( My mom's Mobile)

041-5599002 (Home)

These digits 1-5599002 are exactly the same so it's 8 numbers identical.

Trick from this thread reduce matching 8 nr. to 7 nr. which is even less. Probably the best solution for you is to set it to 9 numbers, but it may cause problems with other contacts. Try 9 and find out how it works for you.
[Desire Q&A, Help & Troubleshooting] nkk71:
Also try changing the numbers to international format, ie +CCC nnnnnnnnn (usually without the leading 0), CCC being the country code. see if that resolves the problem before increasing the min match.
[Desire Q&A, Help & Troubleshooting] jjdoctor:
Man .. you are a genius...

Followed advise by billyJ and changed to 9, saved, Hot reboot.. It didnt change... then I did a Normal restart and ......TADA!!!:D

For the First time in 5 years I got correct Names with matching numbers... I dialed from Home and this time it didnt show Mom's name but showed HOME...:D

I had this problem with Nokia sets, then same problem with Samsung and when I bought HTC, the problem persisted. I thought its universal problem and will never be solved...

Thanks a million nkik71......:D:D
[Desire Q&A, Help & Troubleshooting] nkk71:
:cool::cool:

this setting should have been 'officially' documented YEARS ago for all Android/HTC users!

(as far as I've tried, works on all phones and mods)

Some of us need 7 digits others 9 digits, i guess :)

8 might work for many countries but not all

HEY HTC,

LOVE YOUR PHONES!!!!!!!!!!

but come on!,

S-OFF and let the knowledge flow​

...

(have a new OTA upgrade & build.prop, looking at it and will post any interesting info)

...
[Desire Q&A, Help & Troubleshooting] koolhunter:
Hello I'm a bit new to android 2.3 and I'm having this caller ID problem. Do Ihave to root my mobile for me to be able to change this thing?
[Desire Q&A, Help & Troubleshooting] yeahman45:
Yup u need rooting. Install prefixer from market instead if you don't want to root.
[Desire Q&A, Help & Troubleshooting] linezero:
not working on Virtuous unity v1.31.0 ROM for HTC Incredible S :(
[Desire Q&A, Help & Troubleshooting] nkk71:
did you turn off and back on? then make sure the changed/added line is still there
[Desire Q&A, Help & Troubleshooting] koolhunter:
Finally managed to root my htc desire. Added the line ro.phone.min_match=7 in the build.prop file at the beginning, still not working :/ I've restarted my phone and tried sms and calling and still showing xxx xx xx and for sms it's +230 xxx xx xx. Am I doing something wrong? Running stock android 2.2 and have s-off and file successfully saved. Not any match of any phone.min_match in build.prop file either
[Desire Q&A, Help & Troubleshooting] nkk71:
Make sure you're saving your phone contacts as international format

+CCC aaa nnnnnnn

The "DIALER" will correctly match 01 234 567 and +CCC 1 234 567 (note the leading 0 is not needed in int'l format)

The SMS program will NOT match correctly unless it's i int'l format.

For example:

contact +CCC 1 234 567 will match in DIALER and SMS

contact 01 234 567 will only match in DIALER but NOT in SMS !!

Also, when sending SMS, make sure you're sending to the int'l formatted number, otherwise it wont match. So if I send an SMS to 01 234 567 (because I clicked on send text through DIALER) it will not give me a name in the SMS program... instead in the DIALER, I go to view contact and then send to the int'l number --> DIALER happy, SMS happy, ----> me happy :)

One last thing: if you already have an SMS "thread" with a 01 234 567 as the first entry, delete the thread (or backup, modify to int'l, and restore), otherwise the SMS "thread" will continue without showing you the contact name.

Try it and let us know

---------- Post added at 10:39 PM ---------- Previous post was at 10:33 PM ----------

BTW, what did you mean with that? after reboot the line is no longer there? if so you didnt properly save it. do it again

Oh, and it doesnt have to be the first line
[Desire Q&A, Help & Troubleshooting] koolhunter:
Sorry for the late reply, was pretty busy with exams and all. Thank you soooooooo Much!!!!!! You resolved my issue, I was putting the phone numbers but without the prefix for my country, just tried it and it's working fine! I've never been so happy lol Thanks again :p
[Desire Q&A, Help & Troubleshooting] elfarto:
Anyone knows if this trick would work with newer (ICS/GB) Non-HTC phones?
[Desire Q&A, Help & Troubleshooting] maksportnet:
same problem on LG GT540, but not resolved

I had this problem on LG GT540.

I made call for my other phone and it showa only number, not and name (all my contacts is sync on gmail account). After that i do all the procedure, but instead ro.phone.min_match=7 i have put ro.phone.min_match=9 (because all my contacts in gmail account is with 9 numbers). After reboot the miss caled that i have (from my other phone) is showed with the name, but when i try to make another call to LG GT540, the problems still exists, it show only numbers.

Did you have some idea what can it be?
[Desire Q&A, Help & Troubleshooting] kicker1:
WOW!!! super been looking for this for ages.. I am running ICS on my sensation and just adding the MOD ro.phone.min_match=7 to my build.prop and rebooting resolved all my torubles :) my contacts are saved as xxxxxxx (no Country code infront) sms and call id showing perfect:).
[Desire Q&A, Help & Troubleshooting] manu81:
ID problem in sms, calls work in all spectacular. But I get a message and I do not recognize the contact ... I see weird is that the phone says the sign - between the number 351-7406333 example and that's not a format for sending sms.

Not if I explain well, I hope help burn thanks
[Desire Q&A, Help & Troubleshooting] darkriderz:
My friend... You are a GENIUS.... Many Many THX... God Bless... :cool:
[Desire Q&A, Help & Troubleshooting] nkk71:
Thanks :laugh:

Yeah and it works for other devices as well; I've used it on the HTC Sensation and HTC One (M7) on ARHD :D

Maybe the thread should be moved :confused:
[Desire Q&A, Help & Troubleshooting] danmullen:
I recently bought a cheap Chinese handset (Vowney V5) and have been experiencing this problem with the caller ID and SMS. I've tried adding the line to my build.prop, rebooted but it hasn't fixed it. Any ideas please anyone? Anything else that might need to change?

Thanks in advance :)
[Desire Q&A, Help & Troubleshooting] nkk71:
After rebooting is the setting still there or did it revert to the original build.prop?
[Desire Q&A, Help & Troubleshooting] danmullen:
It's still there mate.
[Desire Q&A, Help & Troubleshooting] nkk71:
Are there any other ro.phone.min_match.xxxxxxxx=n settings? Search the build.prop
[Desire Q&A, Help & Troubleshooting] danmullen:
I searched but there aren't any other lines like that in there.
[Desire Q&A, Help & Troubleshooting] nkk71:
Let me check a couple of things and I'll get back to you tomorrow...
[Desire Q&A, Help & Troubleshooting] nkk71:
Looks like the sqlite library is different.

I downloaded a ROM for the Vowney V5 (from here: http://www.modaco.com/topic/363339-rom-vowney-v5-custom-rom-updated-04072013/) and when I checked "/system/lib/libsqlite.so" there is no min_match at all. Unlike the other libsqlite.so I have.

You may want to try replacing the libsqlite.so (and possibly libsqlite_jni.so?) with one from a different ROM which has the ro.phone.min_match variable. (But back them up first or even better a nandroid backup !! don't know what effect it will have on the system... I've never done it)

What version of Android are you using?
[Desire Q&A, Help & Troubleshooting] danmullen:
Funnily enough I just tried that custom ROM last night and it does have a fix for the caller ID problem. It's available in the settings and you need to enable it, but once you reboot the problem is gone.

Thanks so much for your help with this, I really appreciate you taking the time :)

(Edit: BTW, it's Android 4.2.1)
[Desire Q&A, Help & Troubleshooting] nkk71:
All solved then :good::good:
[Desire Q&A, Help & Troubleshooting] manthis3000:
Help Needed!

hello,

I have been searching for days now for a fix to my htc one running SkyDragon Rom to that annoying thing with the contacts,

and i ended up here:

So this will work with my htc one (m7 INT - Rooted - S-ON), the country i live in its portugal so the numbers are like this;

+351 xxx yyy zzz

(contry code is the 351, x y and z is the actual contact number so 9 numbers without the country code makes a total of 12 numbers, if it works on htc one what should i do?

Thanks in advance and regards,

Vasco.
[Desire Q&A, Help & Troubleshooting] nkk71:
It works on HTC One, I'm using one now. U need a ROM with kernel write protection disabled, then edit the build.prop and reboot.
[Desire Q&A, Help & Troubleshooting] manthis3000:
Thank you very much for your reply, i have done just what you've said before i read your reply, and its working, so i guess Skydragon Rom is kernel writable.

thanks again.
[Desire Q&A, Help & Troubleshooting] mGforCe:
[MENTION=2605798]nkk71[/MENTION]

Thanks... I have started finding this problem suddenly for my old ICS phone (India Spice MI425) when changed mobile service operator.

The numbers are all stored in +XY ABC format where XY is ISD code 91 for India followed by ABC which is 10 digit mobile no.

The operator shows incoming call numbers as 0 ABC and phone doesn't identify them & shows unknown.

I edited build.prop as above to add the item, rebooted phone... problem continued.. I removed & added back google account (ie contacts deleted & added back) but still same.

I read in your post about libsqlite.so supporting min_match... I tried checking my libsqlite.so but then couldn't view it. Can you pls help me here?
[Desire Q&A, Help & Troubleshooting] El.Pipita:
SOny Z, Kitkat not working
[Desire Q&A, Help & Troubleshooting] nkk71:
Maybe it only works on HTC Sense based ROMs... i'm using it the HTC One M7 (also on KK 4.4.2) and it works fine.
[Desire Q&A, Help & Troubleshooting] fullrespect:
Zopo ZP700 with Kit Kat 4.4.2 after adding the magic line - caller ID is not working anyway... is there anybody who got it fixed ?
[Desire Q&A, Help & Troubleshooting] mutho:
I am faceing the same problem. My phone is Samsung S5 with Lollipop. I've inserted the variable in the file and it's still there after reboot. However, the problem is still not fixed. My format is +960 779-3822 where 960 is the country code. The only solution I have seen is additing the full number as mention above and 779-3822 into the same contact. My operator sometimes include +960 but not all the time.

Would appreciate suggestions.
[Desire Q&A, Help & Troubleshooting] nkk71:
I dont know if this [method] is supported by non HTC Sense based ROMs... I only have HTCs, and mostly run HTC Sense based ROMs for which it works (Desire, Sensation, M7, M8)

you could check the sqlite lib mentioned earlier, if that string is even in there.
[Desire Q&A, Help & Troubleshooting] mutho:
Thanks. I couldn't find the sqlite method on this thread, but will try again.

Unfortunately I just now rebooted by phone while system in read/write mode and now I can't see anything. Do you know how to fix this?
[Desire Q&A, Help & Troubleshooting] nkk71:
Sorry, i have zero experience with samsung devices, but the sqlite thingy i mentioned is here on page 6: http://xdaforums.com/showpost.php?p=44335992&postcount=57
[Desire Q&A, Help & Troubleshooting] mutho:
After restarting in safe mode and restarting again in normal mode solved the issue. I have set read only permission of the folders now.

I am going to check the thread you just link and will give you feedback. Appreciate your help very much.

---------- Post added at 04:12 PM ---------- Previous post was at 04:09 PM ----------

The sqlite thing seems too complicated and risky. I will look for some other solution and will post here if a solution is found. Thanks a lot.