Articles
Android 4 Stock Contacts
In the Android 4, there is only one correctly working contacts application - the stock contacts application, part of Android Open Source Project. Unfortunately often stock contacts application is replaced by a false contacts application by manufacturer or user installs a false application being humbugged by false review or similar. There are 3 categories of false contacts applications
I experienced data loss caused by Samsung contacts application so I prepared True Contacts for Android 4.0.x to avoid contacts data loss and corruption again.
Let's explain issue in detail - with Samsung contacts application.
Samsung contacts application is legacy (Android 1) application in Android 4 that is patched together by Samsung to somehow work in following Android version, but Samsung contacts application
If contact with various phone numbers is created in Android stock application
![]() and is open in the Samsung contacts application editor
![]() the contact is open corrupted - it does not know all various numbers and puts Mobile instead of correct number type - and if you save it data will be corrupted and can be lost.
To avoid this unwanted situation it is possible to configure stock contacts application as default contact editor - select stock contacts editor as default when editing contact:
![]() |
If you prefer AES 256 over AES 128
SSL security parameters are negotiated after connection is established, default first choice in Windows Schannel is AES 128 for encryption, fortunately it is easy to configure it if one wants to. Start Group Policy Editor (gpedit.msc) and locate SSL Configuration Settings - see picture below. ![]() Open SSL Cipher Suite Order, select enabled and redefine order of suites to reflect your wishes (i.e. put AES 256 first) - I used notepad - copied existing text there, made modifications and copied it back into that miniature edit field. ![]() It looks like suites are enabled, so you do not need to modify registry to enable them. Local Sync outputs result of negotiation in the main log so you can see negotiated security parameters, e.g. in my case ![]() In case of Local Sync program it makes sense to use stronger encryption in case you are using own certificate, not built in certificate. |
Local Sync - data transfer protection with SSL
Since Local Sync version 1.7 WiFi data transfer is protected with SSL. This feature is available only for Android version 4 or greater and by default all data transfer is encrypted but files synchronization. If you want to encrypt also file synchronization, this setting can be found in Android Local Sync Menu - Settings. ![]() There are 2 security scenarios that can occur when using Local Sync
In the Windows Local Sync main log it is indicated by icon whether transfer was secured or not. Unsecured transfer is indicated by normal green flag, secured transfer is indicated by green flag with key ![]() If you want to use own certificate (pfx file - with private key) for SSL you configure this in Windows Local Sync program. Save your pfx file in some folder and open Windows Local Sync settings. As you can see by default there is used Built in certificate in Local Sync program. Press Select certificate button and select your own pfx file. ![]() You must provide password for private key. Password is stored in plain text in Local Sync settings file (which is in Application Data folder), so you will want to have that folder secured. ![]() If you save settings by pressing OK on Settings dialog window, certificate will be applied (and Local Sync SSL server component restarted) as you can see in the main application log. ![]() How to get own certificate for free and be protected from an adversary? Built in certificate works out of the box with zero configuration, however better security is achieved with own certificate. Certificate used for Local Sync SSL Server must have trust anchor. You will not buy certificate for this purpose but you will prepare own fine certificate. This is possible because since Android 4 it is possible to configure trusted certificates in the Android. Steps to make it work are:
Software necessary for creating certificates is makecert by Microsoft. Download it as part of Windows SDK. You can open SDK command prompt and Create CA Certificate (you will be prompted for private key password) makecert -r -pe -n "CN=Local Sync CA" -ss CA -sr currentuser -a sha256 -sky signature -cy authority -sv LocalSyncCA.pvk LocalSyncCA.cer Create Local Sync SSL Server certificate makecert -pe -n "CN=Local Sync Local" -a sha256 -ss my -sr currentuser -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -ic LocalSyncCA.cer -iv LocalSyncCA.pvk -sy 12 LocalSync.cer Open certmgr.msc and export LocalSync certificate with private key into LocalSync.pfx file (you will be prompted for private key password - this password you will set in Local Sync Windows app when you configure certificate). Delete Local Sync certificate from Personal store in certmgr because you do not need it there anymore. Copy LocalSyncCA.cer onto Android sdcard and add own CA certificate into Android trust store. Open Settings - Security, tap Install from SD card, alert dialog is shown. ![]() Tap OK, if you do not have set PIN or screen lock pattern, you will have to do it now (which is great) ![]() And you have imported your own certificate in the Android trust store. Set LocalSync.pfx certificate in Windows Local Sync program. You must protect own certificates, Local Sync SSL server private key password is stored plain text so you might want to encrypt your Application Data folder with encrypting file system. Local Sync data transfer is then secured with fine SSL setting. The last step to increase security (and avoid some types of attacks) is then disable built in certificate in Android - Menu - Settings. Note: Synchronization done via USB cable is not protected with SSL. |
Local Sync on Android 4 - system upgrade
Due to various issues in contacts application caused by proprietary changes made by manufacturers in Android 2 and 3 Local Sync synchronized contacts into various accounts (and not Local Sync account) - HTC devices and Samsung tablets - therefore if one updated Android firmware without wipe following would happen on some devices:
Solution: Move contacts from trash back again to contacts. Second scenario is that Local Sync was uninstalled before update as it is instructed on program web page.
Solution: In fact contacts are not duplicated, but there is double set of contacts in original (non Local Sync) account and Local Sync account. So it is only necessary to delete contacts in original account (as described on program web page, it is phone account on HTC devices and device account on Samsung tablets). Android 4 supports fully 3rd party apps/external accounts. See Local Sync and Android 4 ICS. If you have any questions related to Android update (from version 2 or 3 to version 4) use Q&A. |
AutoSync Account Activator explained
1-5 of 5