Related
I've got some apps that i need in android, so when i test a new build i have to install them all again.
So i'm wondering if there is a way/script that is installing the apps automatically when the build is making a new data.img?
Is there a way to make it myself? It works the same as linux on the pc?
I know you can have multiple build on your sd card, but it won't fit on my sd card. That's because i have a 2gb card and already 1,8gb is in use(android and maps for winmo tomtom)
Thanks in advance.
Well if you have the actual APK, just drop it in the AndroidApps folder - it'll get installed automatically.
Otherwise, Titanium Backup FTW. The free version is still very powerful, but application restoring is kinda painful on the free version - the paid-for version has a '0-click' batch restore, and I've heard it's very fast. I keep considering buying the app, I probably should
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
fierygod said:
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
Click to expand...
Click to collapse
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Christiaan91 said:
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Click to expand...
Click to collapse
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
fierygod said:
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
Click to expand...
Click to collapse
Probably when you where installing TB again, it emptied the folder.
Sounds likely. I will have to test that theory later on when I go to try a new build, if I remember to do so.
Sent from my MSM using the XDA mobile application powered by Tapatalk
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.
I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
sndtubes said:
I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
Click to expand...
Click to collapse
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
kennyglass123 said:
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
Click to expand...
Click to collapse
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
sndtubes said:
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
Click to expand...
Click to collapse
Glad it helped. Definitely sounds like it wasn't mounted r/w. Wierd that it disappears from card on a copy operation. Root Explorer is good for this.
So I flashed a custom theme here http://forum.xda-developers.com/showthread.php?goto=newpost&t=1803273 and I flashed it over wicked r5.
I also also installed another zip from there to change the jellybean messaging app to the stock touchwiz.
It worked but randomly I get a Unfortunately messaging has stopped error.
Try clearing your cache or fixing permissions. Also, it might just be a bit too much tweaking.. Hopefully you can get it to work.
Sent from my SGH-T999 using xda premium
Every time ive seen that doing a factory reset has fixed it.
BACK UP YOUR INTERNAL SD FIRST!!!
Good luck!
Edit: try daves suggestion first though!
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Every time ive seen that doing a factory reset has fixed it.
BACK UP YOUR INTERNAL SD FIRST!!!
Good luck!
Edit: try daves suggestion first though!
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I spent a whole day trying to fix this, in the end had to do a factory wipe.
Corrupt sms / mms database
This has to do with a corrupt db file. It can either happen if something goes wrong with titanium backup/restore process. Or also if you manually copy these files from another older backup (when an older android was installed).
First backup the existing sms/mms with smsbackup from appstore. It is free.
With an explorer app like ESFile explorer, go to "/data/data/com.android.providers.telephony/databases" (or something similar in your phone where the sms / mss .db files are located).
Make a backup of the files here and then Delete all the files.
Then restore the sms from smsbackup app. Voila ! No crash anymore
No need to do a factory wipe.
If everything works fine, you can delete the backup folder containing the old db files.
FYI: After upgrading to Wicked's v.7 I stopped getting these errors. Been a week so far with no probs.
genardas said:
So I flashed a custom theme here http://forum.xda-developers.com/showthread.php?goto=newpost&t=1803273 and I flashed it over wicked r5.
I also also installed another zip from there to change the jellybean messaging app to the stock touchwiz.
It worked but randomly I get a Unfortunately messaging has stopped error.
Click to expand...
Click to collapse
Hi please see http://forum.xda-developers.com/showthread.php?p=27695693 ..... it may be related to your CSC. Or alternatively (in my case) I had mistakenly frozen the system app "BadgeProvider" using Titanium Backup. Constant "Messaging has stopped" kept coming up until I unfroze BadgeProvider.
shriramrs31 said:
This has to do with a corrupt db file. It can either happen if something goes wrong with titanium backup/restore process. Or also if you manually copy these files from another older backup (when an older android was installed).
First backup the existing sms/mms with smsbackup from appstore. It is free.
With an explorer app like ESFile explorer, go to "/data/data/com.android.providers.telephony/databases" (or something similar in your phone where the sms / mss .db files are located).
Make a backup of the files here and then Delete all the files.
Then restore the sms from smsbackup app. Voila ! No crash anymore
No need to do a factory wipe.
If everything works fine, you can delete the backup folder containing the old db files.
Click to expand...
Click to collapse
Thanks I tried restoring one too many things related to SMS with titanium backup which screwed up the messaging app, I wasn't able to receive or read msgs. Your solution worked, I just had to reboot after deleting.
If you rooted your phone, anyone, and you deleted or renamed some system apps to stop them loading then you could face problems with the SMS Messaging app.
Just make sure the system app "WebViewGoogle" is left intact (in the folder data/system/app)
If you deleted it then put it back in, if you renamed it (e.g. from "WebViewGoogle.apk" to "WebViewGoogle.apk.old") then name it back to "WebViewGoogle.apk"
This app must be intact for the Messaging app to work. properly.
So I made an update.zip before I went from my 4.1 ROM to a 4.2 ROM. However whenever I try to flash my update.zip file it makes my phone not boot. Unfortunately I was stupid and didnt make any other backups. Is there a way to restore individual apps/data from the update.zip file?
Could have something to do with how titanium created the file.
Does the .zip only contain the tibackup app? Or others as well?
Sent from my Galaxy Nexus using xda premium
It contains a large list of apps. When I created the zip I went through the long list of stuff and only backed up what I wanted (none of the red system stuff).
All in all its not a huge deal. Was mostly wanting my SMS/Call Logs/Wi-Fi
All the other stuff would be nice but can be redone
File and directory structure has changed in 4.2.
Sent from my Nexus 7 using Tapatalk 2
najaboy said:
File and directory structure has changed in 4.2.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Yep I dont think thats the cause though as it also happens if I try going back to my 4.1 ROM (JBSourcery).
I went through my update.zip file and removed a bunch more stuff that I likely didnt need and it worked!!! Obviously I backed something up into the zip that was causing the issue. There was also some system apks/files in there that I am positive I didnt choose for the update.zip... not sure if it auto-adds some or if I just spaced out but so far so good!
EDIT: Well it kind of worked... I got some of the apps but some didnt show at all and it didnt restore my SMS messages
Just to update if anyone else runs into this...
As I said above I got it to work by manually editing the .zip file to remove some stuff that I didnt need but it didnt restore my SMS/Call logs or anything like that (Wi-Fi APs as well).
I then went into the .zip and removed all the SMS/Call Log/Wi-Fi lists and then put them in the TitaniumBackup folder on my phone (overwriting my old ones) so it will allow me to restore. I also tried removing all files from my .zip file except the SMS/Call Log/Wi-Fi stuff and will see if reflashing helps
It would be a really great addition to TiBu to have the ability to restore from your .zip file from within TiBu. I dont think it would be super hard to implement but I'm not a dev so thats just speculation.
I will update again later if my workaround does the trick.
Not sure if you've ever heard of it, but grab the app named "App2zip". It will do just that. You select apps that you want installed back on your ROM after flashing a new one. When finished hit the OK button and it will make a flashable zip of all the selected apps. It also keeps all user & system apps on separate pages so you don't accidentally backup a system app that might cause issues. Another good thing is that it works for 4.2! I used it to restore over 150 apps on Mmuzzy's first build after 4.2 dropped and everything restored properly. Just know it zips only the apps, no data. If you want your app data backed up use TiBu and restore data after you flash your ROM & apps zip.
i was able to restore my apps using the update.zip from tibu, it then restored data after i booted the OS. I had to mount /system before i flashed the update.zip because if i didn't mount it first, it wouldn't restore my apps at all. The only problem is my phone lagged like an SOB after restoring the data. I just use tibu to restore apps and data after i boot the phone, keeps the problems off my phone.
RoyJ said:
Not sure if you've ever heard of it, but grab the app named "App2zip". It will do just that. You select apps that you want installed back on your ROM after flashing a new one. When finished hit the OK button and it will make a flashable zip of all the selected apps. It also keeps all user & system apps on separate pages so you don't accidentally backup a system app that might cause issues. Another good thing is that it works for 4.2! I used it to restore over 150 apps on Mmuzzy's first build after 4.2 dropped and everything restored properly. Just know it zips only the apps, no data. If you want your app data backed up use TiBu and restore data after you flash your ROM & apps zip.
Click to expand...
Click to collapse
Yep I have used App2Zip. TiBu has basically replicated that functionality.
So as is normally the case the problem here was my own stupidity.
I thought that by choosing the option to make an update.zip and then choosing all the programs I wanted it would make a current version backup of the apps I selected. However I think how it works is that it only makes the .zip file out of an existing backup. So I should have run a full TiBu backup before making my .zip. I verified this by going through the xml file with my text messages and verifying that it was old stuff.
So in the end it was my fault for not understanding how the program worked. I still think the ability to restore directly from the update.zip from within TiBu would be a welcome addition though.