With all this ROM flashing, I was looking for a way to load apps and preferences so that I wouldn't have to spend time configuring, setting ringtones, etc. each time after I flash a new ROM.
I created a flashable file that will add my own apps, similar idea to flashing the Gapps files. Just recently, I added a second file that flashes the app preferences from /data/data. It works with most apps- most apps have a shared_prefs folder. Remember this is just preferences and settings, not data such as SMS and call logs.
So far, some apps don't like being flashed and result in force closes or other issues:
- SetCPU (it works fine if I install it via Linda. I'm using the XDA-dev version- thanks coolbho3000!
- K9 mail
- wireless tether (2.0.5-pre6)
- XDA tapatalk
- GPSstatus2
The preferences don't seem to take if I flash them with the ROM. I have to reboot to recovery and flash the preferences. I suspect the ROM does a first time boot housecleaning procedure.
Has anyone done this or have any insight on what files in /data/data would be good/bad to use?
I can't figure out why some of these FC and others work just fine? Any ideas?
If I were to extract the data.img from an Nandroid backup, could I flash that? What else does that grab besides user apps?
Related
I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
I'm not to sure about the update script but I just use Titanium Backup to reinstall all my apps. Just download it from marketplace and run a app backup. So after I install a new Rom I just redownload titanium from the market place and restore all apps. Then I can uninstall an app or delete it from the backup. Not really sure if this helps you but trying to help others out.
ejkeebler said:
I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
Click to expand...
Click to collapse
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
i think if you put them in /data/app they can be uninstalled so make an update.zip that places them there
You can use ti backup to make an update.zip
Sent from my ADR6300 using XDA App
I guess i'll stick with Titanium Backup. I'll have to look into the update.zip option from there, but if it doesnt restore data, kind of a wasted step. I'll have to buckle down and look at it today. It seems kind of cumbersome going through each app 1 at a time, and don't think I want an every app restore. I imagine there's got to be an option where you can select only certain apps....thanks!
TNS201 said:
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
Click to expand...
Click to collapse
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).
6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
overground said:
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
Click to expand...
Click to collapse
Excellent! I've been downloading it after each install. I thought there had to be an easier way.
I have a friend over on the east coast that isnt following direction as well as one would hope and is a little scared about rooting his phone and getting it to be as good as my X is. I finally got it rooted for him but he is freaking out about using a clean nandroid backup i sent him and dumping it in the correct directory for nandroid backup and restore giving him a clean image of my phone...
I had assumed that this would have been the easiest method but it got me thinking.
Could i rename my nandroid back up folder the ending tree folder that holds the .android_secure.img, cache.img, data.img, nandroid.md5 and system.img ... like clockworkmod/backup/2010-11-25.05.05.13 could i just pop all those files into a .zip named whatever and direct him to clockwork recovery and flash zip from sd card?
Or could someone point me into a direction on how to accomplish that? I think i would like to also do it for my self and upload it to my dropbox account for later access or to share with friends.
I noticed when i opened like the latest rubix rom that it didnt contain any files similar to that so im curious if its possible.
Also one last question, while i have your technicle mind at attention..
Could someone answer me, in Titanium backup it gives you the option to create a update.zip, then it gives you two radio buttons one says titanium backup will be installed as user application and then System application.
I know that the whole create update.zip thing is for flashing it to the rom from recovery. But what is the diffrence bewteen those two options. What is best and what is the diffrence..
Thanks for letting me pick your Brains!
One drawback of giving him your nandroid backup is that it contains YOUR gmail account with your contacts, facebook account (if applicable), among all other sorts of your personal stuff. In my past experience, you can ADD a gmail account to the phone, but you cannot get rid of the primary/original account so he will have both on there. Other than that, it actually does work though (at least it did on the Droid 1).
Wipe your data and make a nandroid before you reboot and sign in. that way your accounts won't be tied to it
Sent from my DROIDX using XDA App
Your friend - with all due respect if he's having that much trouble with something this simple I really don't think he should be screwing around with root access in the first place. If he has that little understanding of administrator-level access, why on earth does he even want root? He won't even know what to do with it.
Not trying to be harsh, just trying to understand.
Flash Nandroid - NO, don't do it! I'm sure it can be done, but not in the way you described.
Titanium Backup - system apps reside in /system/app as opposed to /data/app. The only real difference is that system apps will still be there after you do a factory reset.
If your going to let your friend flash a nandroid, then you need to remove your gmail and social applications. If you wipe data as mentioned above you'll lose all non-system apps...basically everything you've installed and set up, which is most likely what you're trying to give him. The only way I can think to make this work is to first create a backup for your use, then remove everything that requires you to log in with adb, then replace all of the apps you removed (extract the rom your running and look in system/app for them - data/app apps can be installed from the market). Reboot the phone to verify that all of your accounts are gone, create the new backup and send it to him. Then flash the backup you made for your use.
The easiest way to give him "your set up" would probably be to make a full backup with titanium (not an update.zip). Backup all user apps and system data. Go into the titanium folder on your sd card and delete all files except the .apk files that have anything to do with gmail or social apps. Have him flash the same rom, copy your titanium file to his sd card, and restore all apps and system data to his phone.
Sent from my DROIDX using XDA App
I'd post it in the rom's thread, but with less than 10 post...
i've got an issue on the rom liberty3 v2.0 (link at bottom). Under every app where i need to choose a sound (handscents, stock messaging, even under the sound settings page) when i choose to customize the sound, the usual pop-up shows my folder choices to get audio from. problem is, my "complete action using" folders are the "android system" and "handcent sms." there's no music file, no ringtones, alarms file, hell, not even a root explorer option. this one has me baffled. any help?
any help would be greatly appreciated.
http://forum.xda-developers.com/showthread.php?t=1368049
Try getting rom toolbox if you can. You can move the tones to a folder accesible by another app if you can get to one. Or maybe it wil let you use rom tool box to complete the action. I love this app, its so handy!
Can you simply download a file explorer and have that option pop up?
not quite...
i appreciate the input, but i already had root explorer installed, as well as downloading the legacy rom toolbox. the problem was there regardless. it's not showing the other usual options, such as root explorer, music, etc. wondering if a reinstall is in order. the rom works flawless other than this.
yup, that did it
i reinstalled the rom and instead of downloading all previous apps via my titanium backup on file, i did them individually and for whatever reason, the matrix was ok with this. the file options are there along with each of the actual files being present. other than that, this is the best rom i've used so far.
Hello, I just realized that I can't send sms. I can receive sms, but the received sms aren't saved in my phone.
The reason is that yesterday I deleted two stock applications: the sms stock application and another stock application for generally messages (I don't know what exactly was). I deleted these applications because I installed handcent sms and I didn't like to have two applications for sms. I deleted them using the AntTek application manager.
My European version Atrix has the stock ROM Andoid 2.3.4 4.5.2A-74_OLE-31.
How can I solve this problem. Can I somewhere found the .apk archives of the applications I deleted and install them again?
Any Ideas?Please help.
Check out CSROM thread. The developer of the ROM provides a zip archive of all blur based apps.
You should also be able to download any stock ROM and extract it.
エイトリックス から 送ります
thesummoner101 said:
Check out CSROM thread. The developer of the ROM provides a zip archive of all blur based apps.
You should also be able to download any stock ROM and extract it.
エイトリックス から 送ります
Click to expand...
Click to collapse
Do the blur based apps of a different rom differs for the ones of my rom?
Will they normally work?
(I downloaded my Stock ROM but I can't extract the .smg files...)
Stelios85GR said:
Do the blur based apps of a different rom differs for the ones of my rom?
Will they normally work?
(I downloaded my Stock ROM but I can't extract the .smg files...)
Click to expand...
Click to collapse
Edit:
I downloaded some custom roms, I searched in the system app file but I am sure about the app file that I should move to my phone.
Moreover, I don't know where to find .odex files.
I have the .smg files of my rom but I can't extract it. I don't know which CGii archive is the archive that contains the system and I don't know how to extract it.
Will anyone help me???
have you checked settings on hancent?
have you tried another sms app (gosms)
you could reinstall the rom without a wipe (i'd recommend. you wipe dalvik cache)
if you're unable to do that, search for the sms/mms apk and download it, then download an application called 'android injector' to your pc and install the apk using that method.
having reread your post the problem will be with the other 'app for generally mssages' as replacing the stock sms with another app would not cause this fault.
'I would still try the above methods and, for future reference, if you want to get rid of a system app then get Titanium Backup and use the freeze option.
good luck
I installed a Walkman port that turned out to be nonfunctional, and since I was stupid and didn't make a backup before, I had to remove it manually, but I must have deleted something that was related to the Music app, because now it crashes when I try to open it. Can someone be nice enough to extract some files from the stock kitkat rom the following folders so I can check out which files I'm missing?
The stuff that I must have accidentally deleted was in one of the following folders:
system/etc/permissions
system/etc/surround_sound
sustem/framerwork (something with "sony" in the filename)
system/lib
system/soundfx
Alternatively I'd like to know if there is any way to extract these folders from the odin flashable firmware file I downloaded so I can restore these folders without having to reflash everything. There is a system.ext4 in the tar file but I can't seem to find a way to open it.
And finally, is there some way to troubleshoot what's making the app crash? It's probably missing a file, is there some way to tell which one?
Reflashing the firmware is a last resort because I already customized a lot on this phone and I don't feel like doing all of that again.
Update: I half-fixed it by deleting Dalvik Cache a few times. Now the app works but I don't see the notification with music controls anymore. Instead there's a notification that says "Music is running. Tap for more info or to stop the app", and if I tap it it brings me to the app info screen where I can force stop, clear data, etc. Also I click "play" and the music doesn't play anymore, it stays stuck at 00:00.
What's up with that?