I just want to make sure this will work when 2.3 releases (although I will probably SBF to be safe). I deodexed my phone manually, and therefore have all original files. In the deodex instructions it has me replace 2 folders with the new deodexed files. If I replace the 2 folders with the original odexed files will that reodex my phone back to stock?
I have a nandroid backup and could SBF, but I'd kinda like to keep my data.
I would take a look at mybackup or titanium backup if your concerned about loosing data. I know with mybackup pro, your able to backup all your application data, sms, mms, etc... so when you sbf to 2.2 stock you can have all your data back as you previously had it and all your downloaded apps also.
Sent from my DROIDX using XDA App
Thanks. I'll look into it.
Related
If we were to delete the ATT apps with TiBackup, couldn't we sideload them back on (for god knows what reason?) ?
Yup! I did it when I thought removing an AT&T app had screwed up my WiFi, but the problem was something else, so then I took it off again (once put on manually, you can take it off again using the settings screen).
Yeah, if you can find the .apk file, then you can install it. Or if you backed them up with Titanium Backup, you can reinstall them that way.
djgleebs said:
Yeah, if you can find the .apk file, then you can install it. Or if you backed them up with Titanium Backup, you can reinstall them that way.
Click to expand...
Click to collapse
This is not correct. Titanium backup does not backup the .apk file of system apps. However, you can find the .apk elsewhere and install with no problems.
AT&T is more than happy to provide you with their "Pay Us" apps. You can get all the AT&T apps from their website.
( i feel dirty typing "media net" )
dontshakepandas said:
This is not correct. Titanium backup does not backup the .apk file of system apps. However, you can find the .apk elsewhere and install with no problems.
Click to expand...
Click to collapse
Doesnt Titanium Backup backup the apk's and put them in a .tar.gz file?
If those arent the apk's in those .tar.gz files, whats in them? and what good are they and what good is it to backup your apps with Titanium Backup?
Can some one provide some instructions on how to go about making a CW zip file to flash and install all the apps that is on my phone?
I've seen a few of these floating around in the forum, and wanted to make my own to save time after every ROM flash
Do I just grab all the APK files throw them into a folder and Zip & Sign it?
or do I have to do a Nandroid backup first, then only use the app files from the backup?
I would like to know this too....
Would be nice as well instead of restoring
Sent from my Nexus S using XDA App
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Thanks!
yes, now that makes sense, i recall reading that some where else to add extra APK to the ROMs
so it's the same idea, just without the ROM portion
now i get it
distortedloop said:
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Click to expand...
Click to collapse
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
kenvan19 said:
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
Click to expand...
Click to collapse
I suppose if you want the app data restored as well, you would just need to identify it's location in the /data directory and add it to the /data folder in the update you're making. Seems like most of the app data goes into /data/data.
Just thinking out loud here...
So for a sample app on my phone I have called jefit pro I'd put the following in the update file.
Code:
/data/je.fit.pro-1.apk <---apk itself
/data/data/je.fit.pro <--the folder
/data/data/je.fit.pro/databases/data
/data/data/je.fit.pro/lib
/data/data/je.fit.pro/preferences/preferences.xml
I'd just pull the whole folder for the /data/data/je.fit.pro from the phone via adb.
I'm not sure how useful putting the data back is, since that's not a static set of files on many apps, but for some apps where the data is just some settings or preference files it may be a nice touch.
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
(<<---- this would be the whole folder and its subfolders that I pulled via adb off the phone)
distortedloop said:
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
Click to expand...
Click to collapse
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
distortedloop said:
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
Click to expand...
Click to collapse
the idea came up from several places, first Titanium Backup itself offers to create a signed .zip installer for CW
and i've seen other devices forums with people packing up like 100+ apps/tweaks/mods into it to flash after CW is done flashing the new ROM
yes, of course we can use TI, i have TI pro and it's very easy, but Ti is slow.... at restoring 300+ Apps
but everytime i see CW restoring a Zip file or even a full Nandroid backup, it does it so fast and quickly, that i though... hell might as well keep an updated signed .zip wtih all my must have apps, and flash it along right after any new ROM flash (when testing out different Custom ROMs) then i don't need to spend like an hour everytime restoring + configuring the phones
i noticed that Ti works a hell of a lot faster if the apps are already installed, and you only need to restore the data.
and that is the main reason i want to compile a list of all the apps
once they are all installed, then i can use any of the good market utilities that can do mass Apps2SD and i'll be up and running in as quickly as 15min vs. a whole hour waste on a restore/config everytime you change the ROM
using Ti i found most of the System settings can be restored safely without corrupting the new ROM
email
accounts & syncs
bluetooth pairings
wifi
... ah shoot forgot the rest
only do not restore settings for:
launcher,
wireless network (phone company)
android market
and anything that has to do with default settings
probably this weekend i'll dissect the CW zip created by Ti itself, and add more to it
Sounds like a good plan...but you've got 300+ apps if I recall correctly. I imagine that will take a long time to restore either method!
The Titanium update zip is a good place to start. Use the setting to make it a "user" app and it will put it in /data, where you want the rest of your apps as well. You could just dump what you want right into the zip file there in the folder that has titanium's apk itself and not even worry about messing with the updater-script file.
I rooted & ROM'd a friends phone last night. He asked me to try to save his Angry Birds app/data because he'd won so many levels, it would take forever to get them back.
But I forgot!
So I've got his nandroid but can't just flash it to my phone because it's got a gesture lock and I don't think you can hack those.
So is it possible to pull his Angry Birds data from the nandroid backup I took of his phone before flashing it?
Nandroid the new setup.
Restore the old one
Download titanium backup and backup all apps you want to keep along with app data
Restore nandroid back up
Download titanium backup and restore apps you backed up
Sent from my GT-P7500 using xda premium
mr_clean5953 said:
Restore the old one
Click to expand...
Click to collapse
CZ Eddie said:
can't just flash it [the old one] to my phone because it's got a gesture lock and I don't think you can hack those.
Click to expand...
Click to collapse
I figured out how to recover the angry birds old scores data.
Just copy the nandroid to your computer desktop.
Use something to extract it (I use 7zip).
Navigate to this folder:
\data.ext4\data\data\com.rovio.angrybirds\files
Copy these two files:
/highscores.lua
/settings.lua
Then copy them to your phone.
Open root explorer and navigate to:
\data.ext4\data\data\com.rovio.angrybirds\files
Rename these two original files to .old for the file extension.
/highscores.lua
/settings.lua
Then move the two files you extracted earlier and paste them into this folder.
Works great.
Maybe this would help...
https://market.android.com/details?id=com.handyandy.appextractor&hl=en
TB can now extract apps and their data from a Nandroid. It is in the batch section of TB...
shansmi said:
TB can now extract apps and their data from a Nandroid. It is in the batch section of TB...
Click to expand...
Click to collapse
^^^ this.... has saved my butt TOO many times. I thank the dev for that feature at least once a week
Hi all,
In order to show the SMS's sent timestamp, I replaced the system's messaging app with handcent message. I backup all the following apps with Titanium backup, and uninstall them by Titanium uninstalling function.
Conversations.apk
Messaging.apk
MessageWidget.apk
UniversalInbox.apk
But the Titanium backup failed to restore the system messaging app after experiment. When i want to restore the apps referred ahead, the Titanium frozen.
And I extract all the apps from a ROM, and want to restore them by "Systemapp Remover". The remover show success, and i reboot the phone, but nothing changed. and i found in the systemapp remover interface, all the 4 apps' status were "disabled".
I think a backup from a running Atrix 2 will help my restore all the apps.
so does anybody can backup all the four system apps by "Systemapp remover", zip the SD:\SystemAppBack folder, and email the zipped file to me. and i will try restore them.
Thank you in advanced, i do not want to reflash my phone. Thank you in advanced.
my email : [email protected] or [email protected]
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
lilhaiti said:
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
Click to expand...
Click to collapse
Wait! The (now defunct) Stock Monster doesn't have those apps... Try Romulus if you are still on stock odexed, or Remus if you are deodexed - they both have most of the stock apps.
Also, you need the classes.dex file in the deodexed apks, so you couldn't just grab the apks only from the Stock Monster anyway if you are deodexed.
In fact, are you odexed or deodexed? I could throw those apps in a CWM recovery zip real quick for you...
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
gjgj said:
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
Click to expand...
Click to collapse
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
alteredlikeness said:
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
Click to expand...
Click to collapse
Browse the /system/app/ directory with Root Explorer, all the 8 files permission were correct, and i reboot the phone, but all the apps were still disabled.
Thank all, i had recover all the files from a backup files from the same version. Maybe android will check the system apps' version or MD5 hash.
Greetings:
What can one use to mount or view/extract the system.img file in Windows since I tried Daemon Tools lite but it didn't work see the contents of the file. Thanks!
Almighty2 said:
Greetings:
What can one use to mount or view/extract the system.img file in Windows since I tried Daemon Tools lite but it didn't work see the contents of the file. Thanks!
Click to expand...
Click to collapse
I didn't have much luck in Windows but Nandroid Manager (sorry I can't post Playstore links I'm a noob) allows you to look inside Nandroid backups (including TWRP 2.5 backups which don't work with Titanium Backup, so far at least). I was able to look inside the compressed data.ext4 and extract individual files. If your backup is compressed it will take a little bit of time, so keep that in mind.
Actually, I'm not trying to look inside Nandroid backups but rather the system.img from this:
http://forum.xda-developers.com/showthread.php?t=2307439
As for the OTA update, it will fail unless the stock apk's are what came with the ROM instead of the most current version from Google Play Store.
Almighty2 said:
Actually, I'm not trying to look inside Nandroid backups but rather the system.img from this:
http://forum.xda-developers.com/showthread.php?t=2307439
As for the OTA update, it will fail unless the stock apk's are what came with the ROM instead of the most current version from Google Play Store.
Click to expand...
Click to collapse
Gotcha, sorry I misunderstood. Why don't you create a backup and then just restore your system to complete using the Droid Razr HD Utility so you can get the new radio drivers, etc. and then just restore your backup?
That's a good idea but wouldn't restoring Droid RAZR HD Utility and then restoring the nandroid backup just overwrite all the apk's with the ones from my backup again?
Actually the last time before I ran Droid RAZR HD, I did create a nandroidbackup using CWM but I remember while I did it in May, it had a date/timestamp for April so I'm worried if I did a nandroidbackup, it will just overwrite that one as it's not using the current date/time for some reason. Does nandroidbackup backup the radio as well because I did modify that to work with AT&T/T-Mobile even though I use Verizon Wireless.