Help sought copying User Dictionary to new device - Nexus 6P Q&A, Help & Troubleshooting

Hi all, I have the Nexus 6P running Nougat and want to move my user dictionary to a Galaxy Note7.
It used to be that the various backup apps on the market could do this, but now none of them can read the dictionary on the 6P (Nougat.) Obviously some change in Nougat, or maybe before.
The Note7 is running the August 2016 Marshmallow, with Nougat coming within 3 months. However I have to have my dictionary back now.
Can anyone help me either by:
- Advising where the file is stored on the 6P partition and how to copy it without root
- Or recommending an app that can actually backup/restore the latest Google Dictionary
I've tried using the built in dictionary sync but for whatever reason (N vs. M?) it won't sync anything to the Note7. The dictionary is empty.
I have thousands of words and phrases set up over 10 years so thank you!

I have a 6p, but no note 7. I used titanium backup (pro), and that backed up and restored my user dictionary. I don't know how well that will work from one device to a different one, but I know it will do it on the same device.

Thanks but I'm not rooted. That backup option requires root.
Sent from my SM-N930F using Tapatalk

Ah, I missed that without root detail. I'm not sure how that would be possible without root as I have a feeling the file is restored on /system.
Maybe look for a keyboard all that can copy and restore the file. I think my wife has Swiftkey on her note 5 and I think it allows to backup and restore user dictionary.

I tried Swiftkey and unfortunately it doesn't backup the system dictionary. Any other ideas out there?
Sent from my SM-N930F using Tapatalk

None that I can think of, at least none that don't require root. Is it still possible to adb pull and push files with out root? That might be the only other thing. I have no idea if it would work, but I can get you the filename if you can pull it from one and push it to the other.

helioXverse said:
None that I can think of, at least none that don't require root. Is it still possible to adb pull and push files with out root? That might be the only other thing. I have no idea if it would work, but I can get you the filename if you can pull it from one and push it to the other.
Click to expand...
Click to collapse
That would be greatly appreciated!
Sent from my SM-N930F using Tapatalk

The file path should be /data/data/com.android.providers.userdictionary/databases/user_dict.db
I have no idea if you can pull or push that via adb without root, as I have rooted every phone I've owned since I can remember. The command should be "adb pull" and "adb push" then the file path.

You should be able to restore your user dictionary with android's backup and restore system. when setting up the Note 7, in the setup choose restore from another device, you should see an option to restore all the apps and settings from your 6P, this includes the user dictionary, as i did this restore from my Moto Nexus 6

Good to know, I've never used that function as I've always chosen to start each device fresh.

IINexusII said:
You should be able to restore your user dictionary with android's backup and restore system. when setting up the Note 7, in the setup choose restore from another device, you should see an option to restore all the apps and settings from your 6P, this includes the user dictionary, as i did this restore from my Moto Nexus 6
Click to expand...
Click to collapse
Android restore said no data available. I think because the source was Nougat and destination Marshmallow. Too late for that now as I spent hours setting up the rest of the phone anyway.
Sent from my SM-N930F using Tapatalk

helioXverse said:
The file path should be /data/data/com.android.providers.userdictionary/databases/user_dict.db
I have no idea if you can pull or push that via adb without root, as I have rooted every phone I've owned since I can remember. The command should be "adb pull" and "adb push" then the file path.
Click to expand...
Click to collapse
Unfortunately as suspected it gives "failed to copy ... permission denied".
Dagnammit!

CJSnet said:
Unfortunately as suspected it gives "failed to copy ... permission denied".
Dagnammit!
Click to expand...
Click to collapse
Sorry, I hoped it would work. I'm all out of ideas with out having root. Sorry I couldn't help out more.

Related

Deleted "accounts and sync" in my settings

After I rooted my vibrant to get lag fix, I decided to get titanium backup to remove some bloatware. Like the IDIOT I am I deleted the accounts and sync. I can turn sync on with my stock android widget so my calendar and emails sync. But it has been erased from my settings, and force closes every time I try to open it. Can anyone help me!! PLEASE!!!
I think this is what i'm missing
I need to get this " com.android.providers.subcribedfeeds " when I look in my system/app folder I still see the account and sync still there even though I used titanium backup to remove it. Then when I look in setting/manage application "com.android.providers.subcribedfeeds " is there ready to be unistalled. This was never there before and it has a size of " 0kb "
http://www.mediafire.com/download.php?r1mrbtsep2k84kb
Figure out how to push it to /system/apps on your own (hint: use: ADB or Root Explorer). I uploaded this a while back.
XDA is the best
Thank you so much i used root explorer and it works as good as new. This place is the best.
Edit: got the zip opened on my computer and got the sets of files but when I tendered then from sd card to system/apps using root explorer, the files vanish and don't show up anywhere not even the sd card
I too made the same mistake by deleting the file. I downloaded the file from the link onto my phone but when I extract the .zip file using root explorer there's nothing in it
sorry tobring an old thread up..
so i goofed up and deleted acct and sync as well.. does this prevent my phone from mounting up via USB. i cant seem to mount it at all now...
any help is appreciated.
phone is rooted and i deleted with titanium backup...
goon54 said:
sorry tobring an old thread up..
so i goofed up and deleted acct and sync as well.. does this prevent my phone from mounting up via USB. i cant seem to mount it at all now...
any help is appreciated.
phone is rooted and i deleted with titanium backup...
Click to expand...
Click to collapse
have you bothered reading the above posts?
HG! said:
have you bothered reading the above posts?
Click to expand...
Click to collapse
i did. problem is i cant DL root explorer since i cannot connect to the market due to acct and sync unable to perform its function.
i've got the zip for media share. i was wondering if there's a short cut to just mount the phone and drag the files over?
goon54 said:
i did. problem is i cant DL root explorer since i cannot connect to the market due to acct and sync unable to perform its function.
i've got the zip for media share. i was wondering if there's a short cut to just mount the phone and drag the files over?
Click to expand...
Click to collapse
you can try to move it using Terminal Emulator commands.
Gotta research those cmds though... I don't know them.
HG! said:
you can try to move it using Terminal Emulator commands.
Gotta research those cmds though... I don't know them.
Click to expand...
Click to collapse
sorry man.. this stuff is fairly new to me...
i trying to run a \adb shell and still cant find the device when connected....
goon54 said:
sorry man.. this stuff is fairly new to me...
i trying to run a \adb shell and still cant find the device when connected....
Click to expand...
Click to collapse
I sent you a pm. go read it.
thanks buddy, im trying to push the acctandsync.apk back via adb
i get this error message
[INSTALL_FAILED_DEXOPT]
any ideas?
I think I did the same thing
I just so noticed that on titanium backup that this was deleted with out a backup. I do not remember deleting this but I guess I did. I am unable to get to access accounts and synchronization on settings. In every other respects my phone works just fine
Here is what I did to trouble shoot, I did not use adb, every time I attempt to set it up I never get it right. I did however get an apk from a Samsung Galaxy sII dump on this forum. I used root explorer to copy it into the system/apps folder I gave it the right permissions and restarted my phone. I still do not have this option in TB nor in setting. I am able to get notification via yahoo mail client however. I just would really like to get this back if possible.
I am not sure if this helps but I have a Samsung Galaxy Exhibit II 4g. Sad to say there is no Nandroid or CWM so that is out of the question...
Thanks for taking the time to read this
Your friend the Noob who knows enough to get himself in trouble
md1008 said:
I just so noticed that on titanium backup that this was deleted with out a backup. I do not remember deleting this but I guess I did. I am unable to get to access accounts and synchronization on settings. In every other respects my phone works just fine
Here is what I did to trouble shoot, I did not use adb, every time I attempt to set it up I never get it right. I did however get an apk from a Samsung Galaxy sII dump on this forum. I used root explorer to copy it into the system/apps folder I gave it the right permissions and restarted my phone. I still do not have this option in TB nor in setting. I am able to get notification via yahoo mail client however. I just would really like to get this back if possible.
I am not sure if this helps but I have a Samsung Galaxy Exhibit II 4g. Sad to say there is no Nandroid or CWM so that is out of the question...
Thanks for taking the time to read this
Your friend the Noob who knows enough to get himself in trouble
Click to expand...
Click to collapse
Just flash back to JFD.
Your in the wrong forum for starters.....
Just flash a rom for your phone whether it be the stock rom or a custom one
Sent from my SGH-T959 using xda premium

[Q] Nexus 4 > Old Contacts Import

This may have been covered elsewhere, but I'm having a hard time finding it.
I backed up my old phone contacts with Titanium. I've been using my Nexus 4 with the imported Google contacts, but there are some gaps. I'd normally place the old Titanium Files into the Titanium Folder (via Windows) and restore.
However, I have limited access to the file structure for the Nexus 4.
I've tried work-arounds like Dropbox, etc... but, in all honesty, I wasn't sure what I was doing. The file I managed to pull and restore via dropbox gave me a error in the Nexus that would end process the contact area.. so I defaulted back to the normal contacts Titanium Nexus backup. So.. back to the original setup.
Can anyone tell me how to get an old Titanium file of contacts to merge (ideally) with the Nexus? I could probably just replace it with the old file as well, seeing as the Nexus will auto-add contacts to google (apparently).. so that would be easy enough to update.
Any ideas? The easiest, I think, would be to gain access to the Titanium file under windows.. but I can't find a way to do that. Most of the file structure seems to be locked out/invisible.
I'd appreciate any ideas or help!
cetkat said:
This may have been covered elsewhere, but I'm having a hard time finding it.
I backed up my old phone contacts with Titanium. I've been using my Nexus 4 with the imported Google contacts, but there are some gaps. I'd normally place the old Titanium Files into the Titanium Folder (via Windows) and restore.
However, I have limited access to the file structure for the Nexus 4.
I've tried work-arounds like Dropbox, etc... but, in all honesty, I wasn't sure what I was doing. The file I managed to pull and restore via dropbox gave me a error in the Nexus that would end process the contact area.. so I defaulted back to the normal contacts Titanium Nexus backup. So.. back to the original setup.
Can anyone tell me how to get an old Titanium file of contacts to merge (ideally) with the Nexus? I could probably just replace it with the old file as well, seeing as the Nexus will auto-add contacts to google (apparently).. so that would be easy enough to update.
Any ideas? The easiest, I think, would be to gain access to the Titanium file under windows.. but I can't find a way to do that. Most of the file structure seems to be locked out/invisible.
I'd appreciate any ideas or help!
Click to expand...
Click to collapse
What is your old phone model? I'd suggest using a file manager to bring the file to an accessible location on the phone (possibly the root of your usbstorage), then you can copy it to your computer hopefully via usb. It could also be that you need to change the permissions on that file so you can see it on windows. You can access most of the file structure inside usbstorage, where your titanium backup folder should be ideally located.
vorbatello said:
What is your old phone model? I'd suggest using a file manager to bring the file to an accessible location on the phone (possibly the root of your usbstorage), then you can copy it to your computer hopefully via usb. It could also be that you need to change the permissions on that file so you can see it on windows. You can access most of the file structure inside usbstorage, where your titanium backup folder should be ideally located.
Click to expand...
Click to collapse
The old phone is an HTC Sapphire, but that connects to the computer fine & the titanium file is already saved on the computer.
Ok, I figured out the problem. The file structure for the Nexus won't show up with debugging enabled. Disabling it gets the new MTP protocol to work for me. Any idea if it's supposed to work that way?
Thanks for the help!
cetkat said:
The old phone is an HTC Sapphire, but that connects to the computer fine & the titanium file is already saved on the computer.
Ok, I figured out the problem. The file structure for the Nexus won't show up with debugging enabled. Disabling it gets the new MTP protocol to work for me. Any idea if it's supposed to work that way?
Thanks for the help!
Click to expand...
Click to collapse
Hmm weird...It should work regardless of having debugging enabled or not. If you can access your files without debugging being enabled, then just stick to transferring using MTP. It shouldn't really affect transferring files that much since you still have access to the root of your storage.
Don't restore your contacts that way. It will cause issues as the way HTC stores its contacts are very different then anything you will find here.
Wayne Tech Nexus
zelendel said:
Don't restore your contacts that way. It will cause issues as the way HTC stores its contacts are very different then anything you will find here.
Click to expand...
Click to collapse
Thanks for the head's up. I figured google-based would be the same. I've already done manual entries for most of them, so I'll stick with that.

[Q] Nexus 7 ADB Back/Restore problem

I'm trying to do a back up and restore using mskip's Nexus 7 Toolkit. Everything seems fine in terms of installing the toolkit and drivers but when I attempt the back up the file is only approx 125mb in size when there should be around 600mb to back up. Also when trying the restore, I enter the password and the Nexus displays 'restoration started' then instantly displays 'restoration ended' and theres no change to my device.
I have tried the manual command prompt method before using a guide posted on this site with the same results. I have heard that adb back up doesn't always work on some devices....am I just one of the unlucky ones or could I be missing something?
Running Widows 7 64 bit
Thanks
You could try using helium backup from playstore
Sent from my Nexus 4 running Android 4.2.2
mihahn said:
You could try using helium backup from playstore
Sent from my Nexus 4 running Android 4.2.2
Click to expand...
Click to collapse
Thanks mihahn. Gave Helium a go but a keep getting a error message to do with my 'desktop backup password'. I think I'm gonna give up with this backing up idea, lol.
joesf said:
Thanks mihahn. Gave Helium a go but a keep getting a error message to do with my 'desktop backup password'. I think I'm gonna give up with this backing up idea, lol.
Click to expand...
Click to collapse
You set up the desktop backup password in the Developer section of the settings on the device.
dkendrick said:
You set up the desktop backup password in the Developer section of the settings on the device.
Click to expand...
Click to collapse
dkendrick, thanks for posting. I did have a password set already, that's what was causing the issue. After doing a little research, apparently Helium Backup may not/will not work if you have a password set. The the guy who made the app even posted somewhere there may be issues and he'll look into it.
I've managed to remove my password and Helium backup now works perfectly, exactly what I wanted. Thanks mihahn for recommending it:good:

Ttianium backup misbehaving

OK I just remembered why I don't change roms often, cos its a total pain in the A%%%%
I did a backup of apps and data in Titanuim, tried a few roms and have decided to settle on CM 10.2. But now Titanium is stubbernly refusing to see my backup. I can see the files in File Manager in /sdcard/TitaniumBackup. And in Titanium, when I go to preferences - backup folder location, I can see everything listed in there too (all the apks are there from my previous rom). But in the batch actions screen, I have a zero next to all the restore options.
Whats going on? Has anyone seen this problem before?
You need to change the backup directory to legacy
Like : storage/emulated/legacy/titanium.......
Sent from my Nexus 4 using xda app-developers app
Thanks for the suggestion, that is one thing I hadn't tried. Unfortunately it did not make any difference.
st0kes said:
Thanks for the suggestion, that is one thing I hadn't tried. Unfortunately it did not make any difference.
Click to expand...
Click to collapse
Go to Terminal Emulator doing the following:
su
busybox chown -R 1023.1023 /data/media/*
Wala now its fix and I can make a thread which should hopefully stop people from being negative to Titanium Backup.
Sent from my Nexus 4 using Tapatalk 4
Again thanks for the suggestion, but that didn't fix it either. I suspect you are on the right lines though, and this is some kind of permissions issue introduced with the new security features in android 4.3.
I think I'll go back to cm 10.1 and see if I can restore on there.
I was not being negative to titanium back up btw, my original post was very neutral. I've always liked TB and paid for pro a long time ago.
ok back on cm 10.1 and the problem still exists!
I am using /storage/sdcard0/TitaniumBackup. TB asked to move my files to this location and after accepting it, I have had no problems since. TB also alerted me that my Android id had changed and asked to change it back, which I also accepted. You could try going into the TB settings and under Manage Android ID, see if you have a previous id available thru Restore Android id from a backup.
Sent from my Nexus 4 using Tapatalk 4
So I know the actual location of our emulated sdcard is /data/media/0/
But then there are so many symlink locations like /sdcard, /mnt/sdcard/, /storage/sdcard0/, /storage/emulated/legacy/
So from now on 4.3+ what is the Google devs "best" or preferred location to use when saving to our virtual sdcard.. /sdcard, /mnt/sdcard/, /storage/sdcard0/, /storage/emulated/legacy/ any ideas?

ADB Backup

From what I understand, the Snapdragon S8+'s bootloader is still locked, other than for the Chinese and Hong Kong variants, so there is no chance of a custom recovery currently. This said, I am trying to find a decent backup solution for my Sprint S8+.
I am trying to create a backup using "adb backup -apk -shared -all -system -f test.ab". I can get the backup to run, but it only creates a 40-80mb file. When I restore the backup, nothing changes on my phone.
Can someone please clarify what is going on here? If you guys need more information to help, please let me know. Thanks!
Works for my S8 snapdragon. My backup files are in the 1.6 GB size. Make sure you are running cmd.exe as administrator and wait until it finishes. It may take 15 to 20 minutes to complete.
gschroer said:
Works for my S8 snapdragon. My backup files are in the 1.6 GB size. Make sure you are running cmd.exe as administrator and wait until it finishes. It may take 15 to 20 minutes to complete.
Click to expand...
Click to collapse
Even if I use an elevated (Administrator) command prompt, the backup takes about one minute to complete. I have added a few apps to my phone, since I last posted. The size is up to 174mb now, but there is no way it takes 15+ minutes.
I am connected via USB 3.0. Are you using wifi? Do you have any idea the size of a backup on a newly reset phone? I still think something is off here.
With -apk aren't copies of the APKs supposed to be saved with the backup? Are they saved as separate files? I do not see any with mine.
DawgY said:
Even if I use an elevated (Administrator) command prompt, the backup takes about one minute to complete. I have added a few apps to my phone, since I last posted. The size is up to 174mb now, but there is no way it takes 15+ minutes.
I am connected via USB 3.0. Are you using wifi? Do you have any idea the size of a backup on a newly reset phone? I still think something is off here.
With -apk aren't copies of the APKs supposed to be saved with the backup? Are they saved as separate files? I do not see any with mine.
Click to expand...
Click to collapse
I'm using an usb 2.0 connection. The 1.5 GB size is for an unlocked, no bloat, phone with about 10 added user apps. Your backup should be at least 1.0 GB.
Yes the -apk switch should backup your apps. The app files can be extracted, the backup file is a compressed TAR file using a Java Deflater. You can search on-line on how to extract from the .ab file..
gschroer said:
I'm using an usb 2.0 connection. The 1.5 GB size is for an unlocked, no bloat, phone with about 10 added user apps. Your backup should be at least 1.0 GB.
Yes the -apk switch should backup your apps. The app files can be extracted, the backup file is a compressed TAR file using a Java Deflater. You can search on-line on how to extract from the .ab file..
Click to expand...
Click to collapse
I have looked in to all of that, because I wanted to verify the contents of my backups to make sure they are completing properly. However, this still does not provide a solution to the small size. I have a stock Sprint S8+ and am using an up-to-date version of "platform-tools" downloaded via sdkmanager.
I'm not sure what else to try at this point. Can you think of anything that would lead to a smaller size? I can see the toast messages on my phone, so I can tell when the backup begins and ends. I'm honestly out of options.
By the way, what do you mean by "unlocked"? I am accustomed to that term being used for an unlocked bootloader, although I did not think that was currently possible with the S8+. I am not rooted, so from what I understand, "adb backup" cannot access system files. If you are rooted, I guess this could account for the size difference. Again, I'm grasping at straws here...
DawgY said:
I'm not sure what else to try at this point. Can you think of anything that would lead to a smaller size? I can see the toast messages on my phone, so I can tell when the backup begins and ends. I'm honestly out of options.
By the way, what do you mean by "unlocked"? I am accustomed to that term being used for an unlocked bootloader, although I did not think that was currently possible with the S8+. I am not rooted, so from what I understand, "adb backup" cannot access system files. If you are rooted, I guess this could account for the size difference. Again, I'm grasping at straws here...
Click to expand...
Click to collapse
"Unlocked" being carrier unlocked, so no carrier bloatware to make the backup larger. After running the ADB backup command my phone gives me an option to encrypt the backup, which I' not providing a password to encrypt. On the phone screen it starts showing the apk's one at a time that it is backing up. It only shows about five apk's before the screen blanks out. Guess it could be the sprint firmware preventing the backup. Maybe post on the sprint forum to see if anybody is using ADB to backup their phone.
gschroer said:
"Unlocked" being carrier unlocked, so no carrier bloatware to make the backup larger. After running the ADB backup command my phone gives me an option to encrypt the backup, which I' not providing a password to encrypt. On the phone screen it starts showing the apk's one at a time that it is backing up. It only shows about five apk's before the screen blanks out. Guess it could be the sprint firmware preventing the backup. Maybe post on the sprint forum to see if anybody is using ADB to backup their phone.
Click to expand...
Click to collapse
Yes. I have heard that different ROMs can mess with this process. I will follow your suggestion. Thank you for the help, gschroer!

Categories

Resources