[Q] Copy Contacts App from one rom to another - HD2 Android Q&A, Help & Troubleshooting and Genera

Can some one shed a light on how to get contacts app from TyphooN_CM7_v3.6.4-MAGLDR TO NexusHD2-Gingerbread_V3.0_NAND_(Android-2.3.5) Rom. I have extracted and copied:\
1. contacts.apk
2. contactsprovider.apk
3. GoogleContactsSyncAdapter.apk
from First rom to another.
When phone boots up, there is a message of force close comes up on screen every 5 or so seconds.
I shall be very thankfull if some one find a cure for this.
Why i need contacts from lastest nightly: Because In latest nightly we can edit events like birthdays, etc.
My Phone: HD2 EU
Rom: NexusHD2-Gingerbread_V3.0_NAND_(Android-2.3.5)------- Working Great

i dont think its case of just copying the files and expect them to work, you probably will find there are other depencies that the files need, why not just change roms?

All I have ever done when installing a new ROM is log in to the Market with my gmail account, and my contacts synchronise from there?
This has been the case with all Sense/CM7 and MIUI ROM's that I have tried.

SteveI said:
All I have ever done when installing a new ROM is log in to the Market with my gmail account, and my contacts synchronise from there?
This has been the case with all Sense/CM7 and MIUI ROM's that I have tried.
Click to expand...
Click to collapse
you've misunderstood what he is trying to do, he doesnt want to sync contacts or anything, he wants the contact application from 1 rom put onto a different rom

Richy99 said:
you've misunderstood what he is trying to do, he doesnt want to sync contacts or anything, he wants the contact application from 1 rom put onto a different rom
Click to expand...
Click to collapse
i have tried preety much all roms for hd2-- sometimes 3 different ones in a day. yes im also also using google sync for contacts. i prefer tytung rom because its way lighter than nightly while giving the same functionality and much faster than other roms after removing application i dont use like htmlviewer, etc.
AGAIN I WOULD LIKE TO REQUEST IF SOMEONE GUIDE TO GET CONTACTS.APK FROM LATEST NIGHTLY SO THAT I CAN ADD/EDIT EVENTS LIKE BIRTHDAYS ANIVERSARRY. THANKS

Related

Android Facebook Contacts?

on the first 2 versions of android i intsalled on my phone, the contacts could sync up with facebook and get upates and that stuff, but wth this newest version its not there anymore.
anyone know how to get it back?
thanks for any info
majorahole said:
on the first 2 versions of android i intsalled on my phone, the contacts could sync up with facebook and get upates and that stuff, but wth this newest version its not there anymore.
anyone know how to get it back?
thanks for any info
Click to expand...
Click to collapse
AFAIK, only the Hero builds do that. If you switched to a non-Hero build, that's why.
there is an app called "facebook sync" that allows you to sync contact pictures from facebook with your google address book. It is not available on the market. here's a copy for you.
thanks, but how do i install this?? ive only gotten apps from the market place
majorahole said:
thanks, but how do i install this?? ive only gotten apps from the market place
Click to expand...
Click to collapse
just google facebooksync.apk and find a download of it. Then make a folder on the root of your sd card named AndroidApps must be spelled and capitalized just like that. put the facebooksync.apk file in that folder and then boot it up and you will have the program once android is started
hey i tried the facebook sync app and i got a "sqliteexception error" anyone know what this means or how i can fix it
thanks
nate

Fix for Getting Google Contacts/Calendars Syncing (TNTLite)

Note: As of TNTLite 2.1.1 (a supplemental install to TNTLite 2.0), you no longer need to follow the instructions in this thread to get your Google Calendar and Contacts to sync with your tablet, because the Calendar and Contacts applications and the necessary sync files have now been included with the TNTLite supplemental. In order to get the sync working, though, you will need to wipe your user data in clockworkmod, so that you go through the Google account set-up process again. WIPING YOUR USER DATA IN CLOCKWORKMOD DELETES ALL INSTALLED APPS AND SETTINGS. Use Titanium Backup to backup your apps before doing this. (Data copied to the internal sdcard is not deleted in a data wipe.)
Go to this thread for the TNTLite download, and for more information:
http://forum.xda-developers.com/showthread.php?t=842004
******************************************
Old instructions, for pre-TNTLite 2.1.1:
This has been driving me insane for the past week--the gTablet with TNTLite was 90% of what I wanted, but the lack of a real sync with my Google contacts and calendar data has been gnawing at me. (The workaround of installing a Google account as a "Corporate" account in Contacts didn't work for me, because I have multiple Google calendars and that approach would only ever sync one.)
But I seem to have found out how to make it work! Alas, it requires a user data wipe, but to me at least it was worth it. Here's what I did.
* This was starting with TNTLite 2.02 along with the Tegra Fix *
First off, I backed up everything with Titanium Backup and also cwm. (You'll definitely want Clockwork Mod installed: http://forum.xda-developers.com/showthread.php?t=842004)
Get the GApps v2 file, and copy it as an update.zip to your /sdcard: http://forum.xda-developers.com/showthread.php?t=842590
Shut down, and boot into Clockwork Mod.
Wipe cache. Don't reboot.
Clear user data/factory reset. Don't reboot.
Install the Gapps v2 update.zip that you copied to /sdcard.
Reboot.
Skip the Google sign-in.
Set up your Wi-Fi.
Reboot.
Launch Gmail.
Add your Google Account (Accounts / Add Account). Break into a big smile when you see Contacts and Calendar show up as a sync option in addition to Gmail. Let them sync. It may take a while.
If you have a Google Apps account too, while still in Gmail, go back to Accounts and then Add Account, and add your Google Apps account. Break into an even bigger smile when you see Contacts and Calendar show up as a sync option. Let them sync. Go into the Contacts app, and verify that your contacts are all there. (You can use the Display options to show/hide them.)
[Strangely enough, at this point, I found out that the Calendar app was nowhere to be found on my tablet. Probably due to my screwing around before I started trying this out. I extracted calendar.apk from the TNTLite 2.00 update.zip, copied it to my /sdcard, and launched it. It installed, and there were allllll of my calendars. This probably won't be an issue for you.]
If you go into the Contacts app, you'll see under Add New Account that "Google" now appears, as does "Microsoft Exchange ActiveSync" (instead of just "Corporate").
At this point, I took a deep breath and did the Market Fix (http://forum.xda-developers.com/showthread.php?t=845175), worried that it might somehow mess with the settings. Rebooted.
And my many calendars and all my contacts are still there, and the correct Account/Sync options are still in place as well.
Now I have to start reinstalling everything (thank you, Titanium Backup), but I've got the last piece of my gTablet puzzle.
Hope this helps other folks like me who've had this problem. It seems that the most important thing is to have the Gapps files already in place when you do the initial user setup under TNTLite. Since Gapps has an older version of Google Maps (and Street View), you'll want to update both of those in the Market. And then you'll need to do the Flash install, etc. etc.
(Dec. 1 update)
Note: If you install a supplemental update to TNTLite after doing this fix (i.e., installing 2.0.4), you're going to get the TNT Calendar back, overwriting the Google Calendar. Your data will still be there, and syncing will still work, but you'll have the less-professional-looking TNT Calendar interface. You can install Touch Pro Beta from the Market for a nicer replacement calendar.
Nice work, and well done!
How is the calendar from the GApps v2 file? Is it stock Google?
ehunyadi said:
Nice work, and well done!
How is the calendar from the GApps v2 file? Is it stock Google?
Click to expand...
Click to collapse
Thanks! There actually isn't a calendar in the GApps v2 file, now that I look. It's just the SyncAdapter.apk. (Ditto for the Contacts.) So actually the problem with my not having the calendar.apk may just have been from when I was screwing around trying to get things to work before I started all of this. A clean TNTLite 2.0 install followed immediately by the instructions above will probably have a calendar.apk file with no problem.
Seems we only need a few of the apks in the update to get this running. Maybe get with Roebeet to add those to tnt lite or as a supliment.
Marine6680 said:
Seems we only need a few of the apks in the update to get this running. Maybe get with Roebeet to add those to tnt lite or as a supliment.
Click to expand...
Click to collapse
Yes, it might work to have just the two Google*SyncAdapter.apk files included in the main TNTLite install (not a supplement). They need to be there during the initial setup.
jacindc said:
Yes, it might work to have just the two Google*SyncAdapter.apk files included in the main TNTLite install (not a supplement). They need to be there during the initial setup.
Click to expand...
Click to collapse
Could you post the two apk so non-CWM folks like myself can try this fix? And where would the two apk go -- /system/app or ?
Thanks!
case-sensitive said:
Could you post the two apk so non-CWM folks like myself can try this fix? And where would the two apk go -- /system/app or ?
Thanks!
Click to expand...
Click to collapse
You can get them out of the Gapps update.zip file, in the app subfolder (link to the file is in the original post). They would go in /system/app, but if you're not rooted, you're not going to be able to put them there. And I'm not altogether sure it would work this way, and you're still going to have to wipe your user data and cache to try. So you should just go ahead and install cwm--the link is in the OP. (You should have cwm installed anyway, even if you're not going to do this.)
jacindc said:
You can get them out of the Gapps update.zip file, in the app subfolder (link to the file is in the original post). They would go in /system/app, but if you're not rooted, you're not going to be able to put them there. And I'm not altogether sure it would work this way, and you're still going to have to wipe your user data and cache to try. So you should just go ahead and install cwm--the link is in the OP. (You should have cwm installed anyway, even if you're not going to do this.)
Click to expand...
Click to collapse
Thanks. Just to be sure: which cache are you referring to?
When you speak of cache I'm thinking about settings>running application and then clear the cache of individual apps, but perhaps you're referring to something else. And if we're talking about the same thing: the app of which app?
I can confirm that this works great.
Good work!!
case-sensitive said:
Thanks. Just to be sure: which cache are you referring to?
Click to expand...
Click to collapse
The Wipe Cache option when you're booted into clockworkmod.
3pod said:
I can confirm that this works great.
Click to expand...
Click to collapse
Yay! Glad it's worked for someone else!
Exchange contacts and calendar
Google contacts and calendar sync properly but exchange contacts and calendar do not. Any suggestions for exchange users?
jpothorst said:
Google contacts and calendar sync properly but exchange contacts and calendar do not. Any suggestions for exchange users?
Click to expand...
Click to collapse
I don't use Exchange, so I don't have much advice, sorry to say. After the steps above, did you go into Contacts, Accounts, Add Accounts, and choose Microsoft Exchange Sync? Are you on TNTLite 2.0.2 or above, which returns to the TNT contacts and calendar apps that some people say work better with Exchange?
Also, a reminder that installing TNTLite 2.0.2 and above may cause your Google Calendar app (from 2.0 and GApps) to not work quite right, since 2.0.2+ reverts to the TNT calendar that the tablet came with. I just installed 2.0.4, and my calendar opens and the data is there, but I can't see any menus or change any views. I have calendar.apk from TNTLite saved in /sdcard, and I just launched/reinstalled, and I'm back to the regular Android/Google calendar. (Am trying to download Touch Calendar, but the market is sooooo slow on downloads tonight.)
Thank you!! Now this is a complete ROM.
Exchange contacts and calendar
jacindc said:
I don't use Exchange, so I don't have much advice, sorry to say. After the steps above, did you go into Contacts, Accounts, Add Accounts, and choose Microsoft Exchange Sync? Are you on TNTLite 2.0.2 or above, which returns to the TNT contacts and calendar apps that some people say work better with Exchange?
Click to expand...
Click to collapse
After the steps above, I added an Exchange email account which automatically setup the same account in Contacts. I've verified that the Microsoft Exchange Sync is checked/enabled.
Application "Settings" is Force Closing often now. Will revert back to TNTLite 2.0.2 and play with this again later.
Thanks for the effort and I'll keep searching for an Exchange solution.
jacindc said:
I don't use Exchange, so I don't have much advice, sorry to say. After the steps above, did you go into Contacts, Accounts, Add Accounts, and choose Microsoft Exchange Sync? Are you on TNTLite 2.0.2 or above, which returns to the TNT contacts and calendar apps that some people say work better with Exchange?
Click to expand...
Click to collapse
jacindc said:
Also, a reminder that installing TNTLite 2.0.2 and above may cause your Google Calendar app (from 2.0 and GApps) to not work quite right, since 2.0.2+ reverts to the TNT calendar that the tablet came with. I just installed 2.0.4, and my calendar opens and the data is there, but I can't see any menus or change any views. I have calendar.apk from TNTLite saved in /sdcard, and I just launched/reinstalled, and I'm back to the regular Android/Google calendar. (Am trying to download Touch Calendar, but the market is sooooo slow on downloads tonight.)
Click to expand...
Click to collapse
Where can I find a copy of that calendar.apk?
jpothorst said:
Where can I find a copy of that calendar.apk?
Click to expand...
Click to collapse
Pull it out of the TNTLite 2.0 update.zip, in the /app subfolder. Just put it somewhere on your SD card, and launch it.
I do have Settings FCs, but only when I'm closing Settings, after I'm done using it, so I haven't minded.
Argh! Didn't see this until just now -- 2.0.5???? Oh my.
Also, Touch Calendar (beta) in the market is a pretty sweet calendar display app. Not sure if you need the Google calendar apk installed as well, but give it a look. Does a great job displaying lots of entries from lots of calendars, with pinch-zoom for changing views.
roebeet said:
Argh! Didn't see this until just now -- 2.0.5???? Oh my.
Click to expand...
Click to collapse
I do think it would be a good addition, if you're not worn out. The real Google calendar/contact sync is a big plus, though I know you've said you don't use it.

AppBrain won't sync...

I installed a new ROM and when I log in and try to sync my apps to reinstall them it only shows the apps that came with the ROM. The list of all my apps is still shown online, and I tried setting it as "default" but as soon as I hit sync it makes a new list "app on my incredible" and doesn't install the missing ones...
GatorsUF said:
I installed a new ROM and when I log in and try to sync my apps to reinstall them it only shows the apps that came with the ROM. The list of all my apps is still shown online, and I tried setting it as "default" but as soon as I hit sync it makes a new list "app on my incredible" and doesn't install the missing ones...
Click to expand...
Click to collapse
I'm having the same problem. I went from Myn's Warm to Evervolv and Appbrain won't sync my previous apps. Did you find a solution?
GatorsUF said:
I installed a new ROM and when I log in and try to sync my apps to reinstall them it only shows the apps that came with the ROM. The list of all my apps is still shown online, and I tried setting it as "default" but as soon as I hit sync it makes a new list "app on my incredible" and doesn't install the missing ones...
Click to expand...
Click to collapse
UPDATE: I figued it out. If you go online to appbrain.com you can create an account. Once you create the account it shows the apps that have synched with each ROM as separate lists on the left hand side. You can copy the apps from the old ROM to the new ROM list and then sync appbrain on your phone again and they will show up.
Hope this helps!
Edit: never mind. You figured it out as I was posting.
<STRIKE>Did you try going into manage apps and clearing cache and data for appbrain? Don't know if that'll help, but something to try.
</STRIKE>
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.07.28
Go Gators.
Sent from my ADR6300 using XDA App

Delete current gmail account

Hi, im asking me if its possible to delete or at least deactivate the current used gmail account on android so that it goes local?
Using ICS v1.0 by Tytung.
Sent from my NexusHD2
There are two ways:
1. Wipe your phone
2. Push framework-res from your original rom zip via adb with right permission
For both ways making backup is highly recommended!
I just need to switch between local and gmail acc (if i need it).
So, there is no other way then using one of your two options.
If i push the orig framework to my current installation and replace them.. what will be the changes? Excepting as you said the removed google account..
Greets
Sent from my NexusHD2
redplate said:
I just need to switch between local and gmail acc (if i need it).
So, there is no other way then using one of your two options.
If i push the orig framework to my current installation and replace them.. what will be the changes? Excepting as you said the removed google account..
Greets
Sent from my NexusHD2
Click to expand...
Click to collapse
Gmail account, background and some sys settings will be resetted...
Ok, very great. Thank you!
Sent from my NexusHD2
Remove GMail account without doing a factory reset
Look in:
http://forum.xda-developers.com/showthread.php?t=1313141
but phone must be unrooted.

[Guide] SMS/MMS on sdcard/Synced on MultiRom

This guide will show you how to move your SMS and MMS database to your sdcard. This is useful when using multirom to keep your messages in sync while switching roms, and will also eliminate the need for third party apps to back up messages when clean flashing.
This should work to sync all stock/AOSP based ROMs, or all CM based ROMs. It will not sync stock/AOSP roms with CM roms due to differences in the database structure. It should keep any message apps in sync, as they all get their info from the same database.
I will be using Root Explorer for this guide, but i assume any full feature file explorer will do the trick.
How to make it happen:
1) Navigate a tab to: data/data/com.android.providers.telephony
This tab will be called "Tab 1" for the rest of the guide
There should be 3 folders, if you haven't sent or received an MMS there may only be 2.
1a)If there is only 2, create a new folder and name it: app_parts
2)Navigate another tab to your sdcard and create a folder to store your messages in. You can name it anthing you wish, I use "SMS".
Open your newly created folder. This tab will be called "Tab 2" for the rest of the guide.
3) In Tab 1. Select and copy the folder "app_parts". Switch to Tab 2 and paste the "app_parts" folder
4) In Tab 1. Open the "databases" folder. Select and copy "mmssms.db" and "mmssms.db-journal". Switch to Tab 2 and paste "mmssms.db" and "mmssms.db-journal"
5) In Tab 2. Long press "mmssms.db-journal" and select "Link to this file" (it is the last option on the list)
5a) In Tab 1. Select and delete "mmssms.db-journal" Then click "Create link" (it is the bottom left button)
6) In Tab 2. Long press "mmssms.db" and select "Link to this file"
6a) In Tab 1. Select and delete "mmssms.db" Then click "Create link"
7) In Tab 1. Go back to parent folder. Which will put you back at: data/data/com.android.providers.telephony
7a) In Tab 2. Long press "app_parts" and select "Link to this file"
7b) In Tab 1. Select and delete the folder "app_parts" Then click "Create link"
8) Reboot and enjoy!
Once you have done all of this the first time you will only need to follow steps 5-8 when flashing a new ROM.
If it works and you like it, give a thanks or leave feedback.
Usefull!!! Will try this between a stock and an cm rom (if i ever find the time).
Droidphilev said:
Usefull!!! Will try this between a stock and an cm rom (if i ever find the time).
Click to expand...
Click to collapse
Let me know if that works, it never would on LP for me. The databases appeared to be the same but, would always cause repeated force closes. The databases seemed to be the same from a quick look but clearly they were different.
I just tried. Installed a new ROM. Didn't work
But would be GREAT to get this working.
Does this look right?
jcrompton said:
I just tried. Installed a new ROM. Didn't work
But would be GREAT to get this working.
Does this look right?
Click to expand...
Click to collapse
Looks to be correct. What roms are you running?
If you are on stock, or a custom rom that doesn't come with it, be sure to install busybox.
daheazle said:
Looks to be correct. What roms are you running?
If you are on stock, or a custom rom that doesn't come with it, be sure to install busybox.
Click to expand...
Click to collapse
The one I copied from was CM13 nightly. I tried to recover into Chroma .... But the one I sent photos from was a fresh install on multirom of PureNexus. Any suggestions?
jcrompton said:
The one I copied from was CM13 nightly. I tried to recover into Chroma .... But the one I sent photos from was a fresh install on multirom of PureNexus. Any suggestions?
Click to expand...
Click to collapse
Yeah, unfortunately that is not going to work. As I said in the op I never tried it on MM, but on LP you couldn't sync CM with stock/AOSP. Seems it still holds true on MM, but will take a look into it a bit further and see if I can come up with anything.
If you were to do the same on a CM based rom it should sync with CM13. Or you could get chroma and pure nexus to sync.
You can delete the links in the telephony folder and the files will recreate themselves.
daheazle said:
Yeah, unfortunately that is not going to work. As I said in the op I never tried it on MM, but on LP you couldn't sync CM with stock/AOSP. Seems it still holds true on MM, but will take a look into it a bit further and see if I can come up with anything.
If you were to do the same on a CM based rom it should sync with CM13. Or you could get chroma and pure nexus to sync.
You can delete the links in the telephony folder and the files will recreate themselves.
Click to expand...
Click to collapse
I'm going to keep playing with it but I did try to go back and reestablish the links between chroma and pure Nexus. The weird thing that I noticed was that there were text messages recreated in messenger which is the native pure Nexus text messaging app but the text messages were not present in textra which is the app that I use for text messaging
None of your texts showed up in textra, but they did in messenger? I installed textra and it worked fine for me, not sure what could be going on for you
daheazle said:
None of your texts showed up in textra, but they did in messenger? I installed textra and it worked fine for me, not sure what could be going on for you
Click to expand...
Click to collapse
I did another rom and they did. But for some reason, not in Pure Nexus?
jcrompton said:
I did another rom and they did. But for some reason, not in Pure Nexus?
Click to expand...
Click to collapse
If your mmssms.db is from a CM based rom it will not work in Pure Nexus. I have PN as my primary and that is what I first came up with this solution for. I use the stock messaging app but have tried multiple apps and all the ones I have tried pick up messages normally.
That being said, I imagine their could be some mishaps with apps that were already installed and were populated with messages and then had their database switched with one that contains older messages. I can't confirm that as I've never had the problem, just a suspicion. If it is indeed the case, wiping data for that app would probably get it working right
What rom did your mmssms.db come from originally? And what roms does it work with and what roms doesn't it work with?
I found another folder, /data/data/com.android.messaging with a couple databases that seemed to mess up names. I changed the extention to .backup
Anyone know where the message are on the Android n preview 3? I'm not seeing them in the same folder as marshmallow

Categories

Resources