Push dialer via ADB - Samsung Epic 4G Touch

So I deleted the dialer app from via titanium backup, I backed it up first but cant restore it so two part questions as it was suggested to be to use ADB. One can I use ADB to find the backup and restore it to the right file and/or name. Two if not, where can I get a stock dialer 2.3.4 for Epic 4g touch and how do I push it via adb to the right place.
Thanks.

What error ate you getting when you try to restore the dialer with titanium backup?

There is no error it just keeps working. I looked up the titanium backup wiki and it said it does not back up system files but when I tried it went through okay.
BTW, thanks for reply, really going mad here.

Related

[Solved] Oxygen 2.0 - App+data restore fails

Since my post in the development thread has been kindly deleted after ****ing around the whole afternoon with ROM's and restoring, I'm going to post the question here.
Anyone else got the app+data restore working on Oxygen 2.0 final ?
I always wipe before flashing, I tried it with Titanium backup (2 versions) and Mybackup Pro. Backup & restore works fine on CM RC7, but when I try to restore on Oxygen, it's just missing data for some apps.
But some are successfully restored with data, that what's weird.
I first thought, it's an issue with a Dalvik2sd script, but then tried it in clean Oxygen 2.0 ROM. When i check /data/data with the Root explorer, I can see the app there, but it just isn't loaded properly (for instance Financisto, Runkeeper, AlarmClockPlus, Abduction).
So basically, what's different in new 2.3.3 OTA, or am I the only one with the issue ?
Haven't tried all my apps, but its worked fine for those which I have.
Thanks for the dalvik to SD zip btw
Sent from my HTC Desire using Tapatalk
Yeah np :]
Could you please check other apps if they're ok ? I got about 130 apps, so it's kinda annoying to don't get the data restored.
Having looked through the rest of my apps, there aren't any which had saved data. I can confirm data has been successfully restored for angry birds, flow, BBC news, your orange, tapatalk, bedside, crazy snowboard and im+
Sent from my HTC Desire using Tapatalk
I have been using the Oxygen 2.0 for a couple of hours now and I have to say it is nice, compact and fast.
However, I have noticed that "pm, am" indication are missing from the time notification bar. Also the "AUTOMATIC" on Date and Time settings are not getting any update from the network. Am I right? Or it is just me who has it?
Also tested a previous busybox version, still same issue. But backuping and restoring on Oxygen 2.0 works correctly. Also most apps have the data restored correctly only some have issues. Have no idea, I'll just have to live with some data missing then, the 2.0 ROM just rocks that much :]
I think the best way to reinstall all apps after flash is to let Google install them automatically through market.
i have upgraded my desire from DevNull yesterday after backing up all apps with data via Titanium backup and i didnt experienced any issues with any of my apps (around 80).
This supposed to be the fix, a sqlite lib -> http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
I think this is the solution to your problem :
http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
-orgler
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
I noticed the missing data problem almost immediately after installing the rom. Thanks for posting a fix. The "mood" in the new oxygen thread gets a bit tense compared to other desire threads.
If I remember ill hit the thanks button when I'm in on a PC.
sK
Sent from my HTC Desire using XDA Premium App
Np, please thank orgler, he found the fix and posted it. I just saved the answer and posted it here as a solution.
I saw your reply to me just after sending you a PM. Flashing the libsqlite.zip file on top of latest oxygen rom didn't work. No big deal as the app I really need data for backs up to sdcard. I'm sure this problem will get fixed soon enough.
sK
Sent from my HTC Desire using XDA Premium App
I just read your instructions again. I'm not s-off. Do you know how I can replace the lib with ADB?
sK
Sent from my HTC Desire using XDA Premium App
Em, its not a flashable .zip (I didn't state that, but sometimes it's good to open the .zip first )
Boot to recovery, mount the system partition, connect USB cable and go to adb shell (we're gonna backup the original lib first):
#cd system
#cd lib
#mv libsqlite.so libsqlite.so.orig
#exit
Make sure you're in the same directory as libsqlite.so, or copy the .so to the dir where adb is (if your var path isn't set). Then enter in command prompt:
adb push libsqlite.so /system/lib
adb shell
#cd system
#cd lib
#chmod libsqlite.so 640
Then reboot
thed0g said:
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
Click to expand...
Click to collapse
Thanks for your assistance with this it's appreciated. However, pushing it via adb didn't work for me either.
I have a full mybackup of data and .apk files. There is no error when I try to restore the missing applications, mybackup confirms it's been done and requests I reboot, but the application is never there.....
Any more ideas?
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
thed0g said:
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
Click to expand...
Click to collapse
I like your thinking... I did indeed keep the nandroid backup, so I'll give it a whirl.
Thank you.
Great. Solved the problems I had with Titanium.

TitaniumBackup restore failed after flashing Oxygen

I've got a pretty strange problem over here.
I've just flashed Oxygen 2.1.2 and was trying to restore the data of my downloaded apps (of course not the system apps...) using TitaniumBackup. I was using InsertCoin2.1+3.0 v25 before. For some reason, the restore process did not finish correctly for some apps (Astrid Tasks, PocketCloud, 3g watchdog pro, and several other)
TitaniumBackup pretents the restore was successful but when I launch the app in question there's no data. Just like if i've installed it from the market.
I've done some research using adb.
I've installing the app (in this case 3g watchdog pro) from market and used it for a while.
Using adb shell i've navigated to /data/data/<app>/ and the data was there. (ls showed some stuff in there)
Then i've restored the backup of 3g watchdog pro. After that, ls pretends that the directory containing the data is empty and launching the app shows the welcome screen (=no data)
Something that is even more strange:
pwd returns the direcory i'm in.
So "cd <output of pwd>" should do nothing. After that, ls show the data restored by TitaniumBackup.
Any ideas what just went wrong?
That's weird. I assume you have rebooted at least once?
You could try restoring the apps and data via google cloud backup? When you flash a rom or restore a backup, during the registration process there is an option to backup and restore from google servers. Did you check that when registering?
I never used this feature and dont want to use it either.
Update: manually extracting the backup tar and copying it to the proper location does not help either. Same thing as described above.
Push your previous libsqlite.so file from your old ROM into /system/lib. Then reboot and repeat your restore w/data.
That did the job, thanks. Do I have to push that lib everytime I update Oxygen from now on?
rearwheeldriver said:
That did the job, thanks. Do I have to push that lib everytime I update Oxygen from now on?
Click to expand...
Click to collapse
Unfortunately yes. The library on your old rom is newer than the one used in your new and any stock rom.
Aright, thanks again =)

Titanium backup pro HOW TO BACKUP WTF??!!?!

So all the tutorials I see say to use "menu>batch" to backup user apps/data, but there is NO BATCH!! I ran backup and it just put a bunch of gz/tar files in a directory!!! So now after I've already updated ROM to JB, TB is not allowing me to restore these files.....or am I missing how to do this?? Why is this app so damn hard to find stuff? Is there any way to restore my stuff or I will have to revert to nandroid backup and use TB again??
BTW, i'm on version 5.4.2.2 pro version
Thanks,
Click the icon in the upper-right with the check mark to get to batch operations.
And those tar.gz files are your backups.
The batch button is on the upper right corner.
And yes TB does compress the back ups.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
ballgum said:
So all the tutorials I see say to use "menu>batch" to backup user apps/data, but there is NO BATCH!! I ran backup and it just put a bunch of gz/tar files in a directory!!! So now after I've already updated ROM to JB, TB is not allowing me to restore these files.....or am I missing how to do this?? Why is this app so damn hard to find stuff? Is there any way to restore my stuff or I will have to revert to nandroid backup and use TB again??
BTW, i'm on version 5.4.2.2 pro version
Thanks,
Click to expand...
Click to collapse
Your question is a mess. Your thread title is "how to backup" and your jumbled post is about "how to restore".
In any case, whatever tutorials you're reading are outdated, as TiBu hasn't used a "batch" ever since the ICS version switched to using the Action Bar.
So, to simplify TiBu for you:
1) touch the the little checkmark icon the upperright corner of TiBu
2) Backup your apps and data; not system data
3) Restore later
Easy.
All the rest of the TiBu stuff is for people who aren't afraid to figure it out and/or read their FAQ (no offense)
So I've checked everything in the app.... including the mentioned "check mark" button before posting here. It is not showing any of my backup apps. I've gone into prefs and verified the backup/restore directory. When I go to that directory i see everything but when I go to batch upper right button none of the options show my apps. It only shows the NEW apps on the NEW rom and no options to restore my previous 33 user apps.
Am I missing something here or is it just not working
Sorry about the hasty confusing post...
Open TiBu
Menu/preferences/back up folder location> whole device
it will search your entire phone fit a back up folder
mrhaley30705 said:
Open TiBu
Menu/preferences/back up folder location> whole device
it will search your entire phone fit a back up folder
Click to expand...
Click to collapse
I did that and I already had the location correct /storage/sdcard0/TitaniumBackup ...... 48 backups.
When I do what you say and do "whole device" it reloads the TB app data. Then I go into batch options and it still doesn't show my backups...
Any ideas? I will try to get screenshots, i'm not sure how on JB yet
Clear data to set everything to default then set the backup directory again and restart the app (or the phone) This fixed it for me.
Sent from my SGH-I747 using xda premium
Question, after running TiBu, and if I need to restore my phone to factory (w/ root). To restore my apps etc, I need to reinstall TiBu and run the restore?
Obsessive said:
Question, after running TiBu, and if I need to restore my phone to factory (w/ root). To restore my apps etc, I need to reinstall TiBu and run the restore?
Click to expand...
Click to collapse
Yes.
If you bought Pro, install free version first, then pro.

[Q] adb restore doesn't restore everything

Hey,
I've created a backup with this command:
Code:
./adb backup -f fullbackup_2013-03-28.ab -apk -shared -all -system
The resulting file was 11 GB which was expected. After this I unlocked my bootloader. Restoring the backup hung two times. FIrst at com.android.chrome then at com.google.android.googlequicksearchbox. These two were also mentioned in Android issue report #34311 (sorry can't post link, I'm under 10 posts). Both times I rebooted my phone and restarted the restore. The third restore went through.
Now my problem is I'm missing a lot of data. My storage is only at 6 GB, that's at least 5 GB missing. My music folder for example was only partially restored. How can this be? Is there anything I can do?
I'm running 4.2.2 stock. My adb version is 1.0.31.
Update: I've now extracted the backup and I can say for sure that there are files in there that don't get restored.
Has nobody else experienced such a behavior?
AW: [Q] adb restore doesn't restore everything
yes i have done that with my nexus 7.. it seemed to restored my file structure but when i tried to open files nothing would happen... u really cant rely on that thing
Sent from my Galaxy Nexus using xda app-developers app
It's safer to use adb pull and adb push to backup and restore the sdcard, and only use adb backup for user apps and data. Also, it's not generally a good idea to backup and restore system apps and data. So -noshared and -nosystem for adb backup, and pull and push for the sdcard might work better. As for the data you already backed up, maybe Titanium Backup would help. I understand it can access adb .ab files, though I haven't used it for that myself.

How to restore contacts, etc.

Hello everyone,
I have been running the 4.3 stock ATT ROM, rooted, for the last few years, and I recently decided to try out a custom ROM. I ran CyanogenMod on my last Android phone (Aria) and as pretty happy with it, so I decided to try it first. I synced everything with Kies, backed up my OS with CM, and used the CyanogenMod installer to install CyanogenMod 11.0. Everything went well, but when I tried to connect to Kies to restore my contacts, I discovered that it's not compatible with CyanogenMod. Not too surprising, but annoying nonetheless. I also discovered that my backup disappeared; apparently CM was set to backup to internal memory and I failed to move the backup off before installing CyanogenMod. I'm wondering if anyone knows any way to get my data, especially my contacts, back. I'm sure I could flash back to a stock ROM and sync with Kies, but then I'm unsure how to best export the data and import it into CyanogenMod. What I'd really prefer is some way to extract the data from Kies and import it to CyanogenMod without having to go back to stock ROM. Any suggestions or solutions?
Thanks
I've never tried this tool (or kies at all for that matter), but it sounds promising for your situation. http://www.mobile-phone-transfer.com/extract-data-from-kies-backup-sbu-file.html
Thanks for the suggestion. I downloaded the program and tried the free trial version. It found multiple backup files with text messages and call logs in them, but said there were no contacts in any of them. I guess I'm going to flash stock rom to see if the contacts are really in the backups or not. Any suggestions for how to export and transfer them if I get everything restored to the stock rom?
falec_illmore said:
Thanks for the suggestion. I downloaded the program and tried the free trial version. It found multiple backup files with text messages and call logs in them, but said there were no contacts in any of them. I guess I'm going to flash stock rom to see if the contacts are really in the backups or not. Any suggestions for how to export and transfer them if I get everything restored to the stock rom?
Click to expand...
Click to collapse
The contacts app on the phone should be able to export them to a .vcf file. You can keep the file as a backup and use it for import/export from contacts on other ROMs. I don't remember exactly how to get there on touchwiz, but if you poke around contacts settings a little bit I don't think it will be too hard to find.
jason2678 said:
The contacts app on the phone should be able to export them to a .vcf file. You can keep the file as a backup and use it for import/export from contacts on other ROMs. I don't remember exactly how to get there on touchwiz, but if you poke around contacts settings a little bit I don't think it will be too hard to find.
Click to expand...
Click to collapse
Thanks again. For anyone who finds themselves in a similar situation, here's what happened. I did find how to export contacts to vcf file; it's pretty easy to find in the menu of the contacts app. I wanted to take my text messages and other settings, so I looked into programs to do that. I tried GO backup, but the upgrade process to the pro version is broken and support not responding, so I went with Titanium Backup. I flashed back to the stock 4.3 rom as described in a thread here (sorry I can't post links yet), restored all my data with Samsung Kies, but made the mistake of letting the phone install a software update. This put me at 4.4.2 with Knox active, and Titanium Backup needs root access. I regained root access by installing CWM using Odin 3.07 in dl mode as described elsewhere, pulling the battery after install to prevent stock recovery from reinstalling, booting to CWM recovery, and installing supersu binary. Then I installed supersu from the store and allowed it to update itself and block Knox, and disabled Knox as follows: (this is quoted from elsewhere, I can't post links yet)
"I installed Android Terminal Emulator from the Play store - granted it SuperSU access - and proceeded to type the following command(s):
su [enter]
pm disable com.sec.knox.seandroid
*NOTE - the above to lines require you to go to a new line after typing "su", the [enter] is only a reminder, DO NOT type [enter] after su"
At this point, I had stable root access, so I installed Titanium Backup Pro to backup by data. Unfortunately, I discovered that 4.4.2 has problems with permissions; Titanium Backup couldn't write to any location on my phone. After some more research, I installed SDCard Fix from the store and let it fix my permissions. This let me access my SD card with Titanium Backup, and I backed up everything I wanted. Then I installed my backup zip of CyanogenMod that I made before returning to 4.3 stock from CWM recovery and was back to CM and able to restore my data and apps from Titanium Backup.
Hope this helps someone else, but I would strongly suggest that before trying out a new ROM you use Titanium Backup or similar, and save a nandroid backup off the phone. That would have saved me a lot of trouble, but things have changed a lot since I last played with custom ROMs about 5 years ago, and I didn't do enough research first.
Or you could just use a google account and have all your contacts sync with no hassle.
elatllat said:
Or you could just use a google account and have all your contacts sync with no hassle.
Click to expand...
Click to collapse
I do have a Google account, but when I switched to CM Rom and told it to sync with Google, I got a lot of my apps re-installed (not all of them), but no contacts, SMS or MMS, etc. Not sure why I didn't get any contacts, possibly the old OS wasn't set to sync contacts to Google. Just reinforces being thorough in research and preparation before trying to change ROMs.

Categories

Resources