Auto install after Wipe - G1 Android Development

smeone has probably already thought of this, but incase not i wanted to throw it out there, back on windows mobile we had the ability to set up SDconfig to instal our cab files after we flashed a new rom, saving us time on doing it ourselves. has anyone started to write a script to automatically grab apps from the market if we have to wipe our phone, i have had to wipe my phone 3 times in less than the month thati've had it and it's a bit of a hassle to try and find all the apps from the market again. just wondering if anyone had any idea on how to do this. i'm not that good at the whole coding thing but it would be great if this was implemented somehow.

You could always copy the apk files and do an "adb install x.apk" after a wipe.

The other option right now is to use ASTRO to back up all your apps. Download it in the market, it will copy all of your apps to your SD. Unfortunately you have to reinstall one at a time, but it puts them all in a list. Between this and Mybackup I don't lose anything when I wipe my phone except for data created by individual apps. I am sure I could back this info up too, but it just isn't important to me. Hope this helps.

trmacdonal said:
The other option right now is to use ASTRO to back up all your apps. Download it in the market, it will copy all of your apps to your SD. Unfortunately you have to reinstall one at a time, but it puts them all in a list. Between this and Mybackup I don't lose anything when I wipe my phone except for data created by individual apps. I am sure I could back this info up too, but it just isn't important to me. Hope this helps.
Click to expand...
Click to collapse
So make an update.zip with all your apks and favorite theme rolled-up. This way you can image your phone and then apply the update and you are set...
Or you can simply roll your own build of your image with your applications/themes already applied so you have a "live" image (so to speak).

Related

All this wiping, how do you people keep your data

i'm reading through all the posts for people updating to the new firmware and wiping away all their data without a care. how can you afford to do that so easily?
I have lots of data like SMS messages I need to keep around, applications that cant be downloaded anymore (such as hello aim beta, wifi tether), settings, etc.. that I just can't wipe my phone. how are you people keeping this data around?
I personally use apps to Sd card and to backup sms and such I use MyBackup Pro available on market for about $5. It works great. Go try it. You can even back up applications with it.
John5788 said:
i'm reading through all the posts for people updating to the new firmware and wiping away all their data without a care. how can you afford to do that so easily?
I have lots of data like SMS messages I need to keep around, applications that cant be downloaded anymore (such as hello aim beta, wifi tether), settings, etc.. that I just can't wipe my phone. how are you people keeping this data around?
Click to expand...
Click to collapse
I usually will run a nandroid backup first then i can just flash it back without any trouble after the wipe.
I also have GSCRIPT on the phone and have a script that backs up all my apps to the SD and then I have a SCRIPT that will reinstall all my APPS when it is all said and done if I need it for those times that I am unable to backup first.
John5788 said:
i'm reading through all the posts for people updating to the new firmware and wiping away all their data without a care. how can you afford to do that so easily?
I have lots of data like SMS messages I need to keep around, applications that cant be downloaded anymore (such as hello aim beta, wifi tether), settings, etc.. that I just can't wipe my phone. how are you people keeping this data around?
Click to expand...
Click to collapse
I always make a nandroid backup. As a matter of fact, I make a nandroid backup weekly or before I do anything drastic to my phone like delete all SMS or try something new. Nandroid backup process takes but 5 minutes. Most of the apps can be downloaded over again and most of SMS are of no importance. All my pics and audio and wallpapers are on SD, so that automatically gets moved.
If I ever need to reference to something, I just flash the nandroid backup, look up what I need and then flash back to the other nandroid backup etc. So far that is my game plan, but i've yet to do this as I've never really had the need to go back.
It is tedious process especially for the apps but I have kept a list and it isn't too bad.
there are other wifi tether programs that are probably better than what you had before.
anything and everything is out there apk wise, if you know where to look.
but, there are backup programs and since I don't use them (other than nandroid), hopefully someone can comment on them.
question, i can do a nandroid backup fine without any problems. i believe i am using jf1.42 recovery image, but lets say my phone bricks, whatever nandroid backed up for me, how do i install it back again? n00b question i know but ive searched around and havnt found that answer yet.
I haven't wiped my phone in over a month.
I use MyBackup Pro. Backs up all your Data, Apps, and settings. And, of course, I make a nandroid backup before I flash anything.
madunix said:
question, i can do a nandroid backup fine without any problems. i believe i am using jf1.42 recovery image, but lets say my phone bricks, whatever nandroid backed up for me, how do i install it back again? n00b question i know but ive searched around and havnt found that answer yet.
Click to expand...
Click to collapse
Here's a quick and easy explanation: http://androidcommunity.com/forums/168953-post6.html
I've tried the Nandroid back up, but for the life of me I can't get ADB working on my computer. Is there a script to run it through recovery mode or through the terminal emulator?
Thanks
Hi Aim beta is still available in the market (Is it different from hello AIM beta?) and wifi tether for root users is still available at google code. If there was a program that I wanted that was no longer available I would just back it up to SD before wiping. For SMS I use SMS backup. That way SMS streams are available all the time in my gmail (not that I consider my SMS messages all that important)
Settings take me a little while to get back but usually if I am wiping to put on a new ROM my workflow will change a bit so redoing settings from scratch is not a big deal.
Given that contacts calendar and mail are synced with gmail, wiping is less a concern for me than it was with WM. Reloading apps takes a bit of time but it is not a major effort since most things are either on the market or on my SD.
...what everyone else said.
Also, I use fastboot on the computer side (Windows XP) to get Nandroid's backups back on my phone. This only works if you have the engineering bootloader, though (the thing with the three skateboarding androids). First, you'll have to copy "boot.img," "data.img," and "system.img" to whatever folder fastboot's in. Open up your command prompt. The command line you use is this:
cd *whatever directory fastboot's in*
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
fastboot reboot
Click to expand...
Click to collapse
I use nandroid and mybackup pro.
Heres a question for the ages. If i do a nandroid backup on say...JF's 1.5ADP and then update to Haykuros image, after a wipe, would i have a problem if i was to fastboot flash my data.img file? Would it cause problems? I have yet to try it.
Does mybackup pro back up paid apps?
I dont really care about my txt i mean i got alot of txt but nothing to much to be save..I use appmanger to save my .apk apps to sd. and contacts are sync to google so yeah thats all i do.
If you have apps to sd it's as easy as following any apps to sd tutorial. All your apps that are already on your sd card will pop right back into your phone. In case anyone didn't know this. I tried and found out that it worked. So PM me for more details. I can't do much right now. But I can let you know what commands to type in adb shell or terminal emu.
Using the apps to sd, once I set the links up, everything is back, although my protected apps show up as the .apk name as with a gear icon. I have to uninstall then re-install those. But I am looking around for ways to remedy that. I think I found one post, but haven't wiped since I found it.

[Q] Phone Backup

Hey Guys, I'm a little bit of a noob here. I have had my captivate for about 6 months now and I started to get a little frustrated with the way the Captivate was set up compared to my old HTC Hero. I didn't have to root the Hero and could do anything with it I wanted. With the captivate it was another story. I rooted the new Captivate and it has been a wild ride. I follow the forums to see what is available after having Super User installed. I have to say I went a little crazy into the exploration of what i can and cant do. I learned what I cant do the hard way and spent almost 3 day's having problems with odin3 one touch flasher. Once i got everything back running to factory settings I decided to just set up the phone the way I like it and updated the config. for example I added the root access and updated the settings.db file to allow 3rd party apk installs. I than also deleted the wealth of useless crap At&T Preloaded onto the OS such as the apps and the 20 AT&T contacts. Fortunately now my phone and layout is exactly to where I want it. Unfortunately now I am afraid to perform other root mods on the phone and have to re flash the original factory settings on it and have to set it up all over again. I am not much of a programmer but do know end user support very well and was hoping that there would be a way to create a backup of the root directory so that in case I brick my phone (happend twice when I tried to replace the launcher program) I can just flash my backup so that I don't have to install apps, configure settings, and adjust the layout all over again? I was thinking of creating an update.zip would do it that i could keep on my sd card and flash it from recovery.
Can Somebody please Help!!!
Thanks,
Jay
Generally speaking, unless you use the same ROM, it is a bad idea to restore system settings.
Check out Titanium Backup from the Market. It works really well at backing up apps, data, and system data. Be sure to get the donate version so you don't have to manually install every single app (huge time/effort saver). It won't give you an update.zip file, but if you reinstall it and point it at it's backup folder, it can restore all of your data with minimal effort.
If you are prone to bricking your phone, back it up to an external SD card by entering "/<external sd>/Titanium Backup" as the backup path, replacing <external sd> with the real path (it's different on 2.1 and 2.2 ROMs).
Good luck.
Thanks, I actually already have Titanium Backup lite and i backed it up using the batch Backup all user apps + System Data but have no idea how to restore these backups if my phone bricks. I dont necessarily want to flash the phone to try it out. Any chance you know of where i can find out a little bit more information on how to restore backups with this app?
I also have the ClockworkMod Recovery where i have backed up my phone to an SD card. It says during the process Backing up system, data, datadata and than generates an md5sum. After this the phone boots back up and I was wondering if recovering using ClockworkMod is the same as flashing an update.zip rom but instead of using the stock version? Also this app seems a lot easier to use at there is an option to reboot into recovery and select roms

[Q] Titanium Backup: (filter) labels are not restored

I checked the "Auto-sync TB settings"
Then do a full wipe, reinstall TB (or launch the TB included in the ROM) and re-check that check box ... and
NOTHING
My filter labels don't reappear.
Everything else works fine, how does that setting work, is there a file on the SD card somewhere that I can check to see if TB created it fine?
I have the paid version and am now using 3.0.0.7 on Starburst 1.2.1
After 4 times re-classifying 300 apps I'd really like to solve this, what am I doing wrong, what can I check to make sure those settings are saved?
It is really hindering my ROM installations ;-)
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Nice Find dude! I was looking for a solution and you got it!
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
BelgianAtheist said:
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
Click to expand...
Click to collapse
Thanks.
But i don't understand how to solve the exact same problem as you had before. I know that this directory exists and the labels are saved there (/data/data/com.keramidas.TitaniumBackup/databases/).
You make a backup of this folder on the SD card and after wiping your mobile phone you restore this folder and start TB afterwards?
I hope you still track this topic
Thanks.
EDIT: At least i found a workaround for me. Seems like TB overwrites the Sync folder. Therefor i've installed a ROM (after wiping), installed Titanium Backup, made all my settings (encryption, labels, pro key, dropbox settings) and made a ROM backup with ROM Manager. It's not what i want. But i can live with that for now.
I have this same exact issue. No fixes yet
I wrote the TB support and they've requested some additional information. I hope they will fix it.
The support said TB has problems with dual sd devices.
I own a HTC Desize Z which is not a dual sd device.
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
I have the same problem.
I hope it can be solved.
=======================
2011.12.21 Update
hi, guys, I found another app can restore TB's settings.
Delta Backup(market.android.com/details?id=com.ds.deltabackup)
u can use Delta Backup to backup "Titanium Backup".
When reinstall TB, just use Delta Backup to restore TB.
It works!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
This works - THANKS! Luckily, I had backed up /sdcard/data before the wipe.
Easy enough to have a script to do this, or TB can add a feature to copy /sdcard/data/com.keramidas.TB to /sdcard/data-backup/com.keramidas.TB whenever the app exits or is terminated, then look for that directory during its first start.
Unfortunately it seems we are a tiny minority. Theres practically no info on label deletion online or in the wiki. This used to happen often when I was flashing almost weekly but I haven't changed ROMs in a while and a sense rom I just tried had a modified TB included and it deleted my highly detailed labels. It should at least keep a cache of the old setting temporarily. Even my iPad does that in cydia when you change a plist. Gonna try restoring a nandroid with sdext, super outdated though. Kinda ridiculous that a great backup app's greatest weakness is backing itself up. I still get occasional licensing issues too so who knows.
Anyone happen to know a way to restore recently overwritten data either in the phone data/data or sd/data?
Here's to a useful daily update!
crammed174 said:
Kinda ridiculous that a great backup app's greatest weakness is backing itself up.
Click to expand...
Click to collapse
That's really weird. And the TB support doesn't even know what I'm talking about. After it got too complicated for them, they stopped writing me. Maybe someone should write them again and show TB support this topic.
I'm trying to fix this issue with symlinks. I will create a backed up ROM with ROM Manager where the database file links directly to my sdcard. I think this should work.
Galaxy S3 Problem Solved!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
Thanks man, this saved my problem.
The SD-Card in the SGS3 is in mnt/extSdCard, which means I also had to change the path for the backup folder to get it working.
There is also the possibility to manually import these settings to TB by opening the files in SDCard\data\com.keramidas.TitaniumBackup\settings\.
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I agree. This is probably the most straightforward approach.
Although..., I have to say, the the last time that I re-installed a fresh (from the Market) not an apk on my sd (my normal M.O) my labels were restored. Who knows!
Oh and as far as TiBu even knowing of or handling this issue, I still haven't heard anything from them after writing to them.
I guess every great warrior has a weakness.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Thank you fixed it for me
I was having this problem after including titanium backup in my rom. I think the problem is this:
System apps are allowed to start at boot (user apps aren't until they have been run at least once by the user)
Titanium backup starts at boot to check it if it needs to schedule any tasks
Sometimes this will happen on the first boot and before the sdcard has mounted, and it will fail to load the settings.
When you later run it yourself it will wipe the previous settings from the sdcard.
For now to get around this each time you install a new rom which includes titanium backup you can go in to settings and force close / clear data before you run it for the first time. Your previous settings should still be on the sdcard and will now be imported.
I will contact the developer about this - hopefully it wouldn't take much to fix.
[Edit] Thinking about it, pre-ics the boot permissions weren't enforced so this might happen with it installed as a user app too if you reboot before running it.
Originally Posted by Honusnap
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
ChromJ said:
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
Click to expand...
Click to collapse
Hi!
Would you mind to post your answers? I am also interested in learning this...
Does anyone know if these problems we are having are due to the fact that some devices have both internal and external sdcards? (like the transformer family)
In preferences we are able to change the location of the back up copies but not the location of the titanium back up user configuration (labels, profiles, set up...)
Every time I have tried to use TB I end up loosing my TB configuration... quite annoying!
Thanks
Apps Organizer
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Szczepanik said:
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Click to expand...
Click to collapse
:
AO is helpful. I just restore AO with Data. Some things AO does not, tasker plugins for example.
It is ironic TiBU doesn't have a straightforward way to backup its settings.

[Q][Android]How do I batch reinstall apps after flashing custom rom?

I've just started trying out custom roms and I've noticed while some roms such as CyanogenMod lets you restore all previously installed apps upon installation other ones doesn't. If I flash a rom which doesn't support it all my apps still stand as installed if I search for them in market on the computer however it's a pain to manually reinstall all apps so is there anyway to trigger something which reinstall all apps like CM do?
well, i don't know what PHONE you are using, but on my inspire 4g with a gingerbread rom, altho the rom doesn't do much with app reloads, just by signing into my google account my apps reappear on their own.
Use Titanium Backup. Run a batch backup of user apps. Then when you install a new rom, run a batch restore. This will restore data as well - game progress, an app's settings, etc. The free version only allows one backup at a time (if you backup the app again, it overwrites the last backup) and you have to agree to the permissions of each app. In the paid version, you can set the max number of backups yourself and everything will install in the background. There's tons of other cool stuff the app can do, I suggest checking it out.
(from... Evo/MIUI/Tapatalk)
plainjane said:
Use Titanium Backup. Run a batch backup of user apps. Then when you install a new rom, run a batch restore. This will restore data as well - game progress, an app's settings, etc. The free version only allows one backup at a time (if you backup the app again, it overwrites the last backup) and you have to agree to the permissions of each app. In the paid version, you can set the max number of backups yourself and everything will install in the background. There's tons of other cool stuff the app can do, I suggest checking it out.
(from... Evo/MIUI/Tapatalk)
Click to expand...
Click to collapse
This is the way to go. Trust me on that. One more thing if you kind of like a certain rom but you just want to try others make sure you do a nandroid back up. This makes life a hell of a lot easier if you don't like rom boot back to recovery and restore your last back up. I nan once a week so I keep a fresh image cuz I am always adding and removing apps.
tazfanatic said:
This is the way to go. Trust me on that. One more thing if you kind of like a certain rom but you just want to try others make sure you do a nandroid back up. This makes life a hell of a lot easier if you don't like rom boot back to recovery and restore your last back up. I nan once a week so I keep a fresh image cuz I am always adding and removing apps.
Click to expand...
Click to collapse
This saved me a time or two..good advise!!
tazfanatic said:
This is the way to go. Trust me on that. One more thing if you kind of like a certain rom but you just want to try others make sure you do a nandroid back up. This makes life a hell of a lot easier if you don't like rom boot back to recovery and restore your last back up. I nan once a week so I keep a fresh image cuz I am always adding and removing apps.
Click to expand...
Click to collapse
As far as my experience when (this afternoon), TI is the ONLY way to go (although, you'll want to root first).
A follow up question on this topic. I have TI Pro and made a backup of apps and data. After flashing an update ROM on my EVO, I could get most of the apps, but not all of them back. Actually, some apps would not even reinstall -- e.g. Twitter gave me some error about a shared library missing. Any ideas?
I bought the paid version of Titanium backup but during batch restore, I still have to press install/cancel and open/done for each app. Is that correct or did I miss changing a setting?
holgalee said:
I bought the paid version of Titanium backup but during batch restore, I still have to press install/cancel and open/done for each app. Is that correct or did I miss changing a setting?
Click to expand...
Click to collapse
Not sure, I have never had to do this, and I have not changed any settings that I know of.
I am about to flash my first ROM on my Inspire. I did a NAND backup and copied all the contents of my sd card to my computer.
My question is if I transfer it back onto my sd card after flashing will it restore my apps and other data?
Bluecham said:
I am about to flash my first ROM on my Inspire. I did a NAND backup and copied all the contents of my sd card to my computer.
My question is if I transfer it back onto my sd card after flashing will it restore my apps and other data?
Click to expand...
Click to collapse
No. Apps need to be installed, not just copied (that's assuming that you're talking about apps on the SD card, and not on the phone's memory).
Do as most of the posts above suggest and do a backup using Titanium Backup. Then you can batch restore (with the paid version) or app-by-app restore (with the free version) after flashing your new ROM.
Titanium is excellent , however I find backups arent always compatible between roms. I sometimes get errors after a restore. For that reason I just sing into Market after flashing a new rom and let the apps re download.
TI Backup
I purchased the pro version, batch backed up all of my apps. Installed MikG on Evo 4g and now I can't access TI back up. I also did a nand back up. when I restore data nothing happens. Please help. I just want my apps back.
Originally Posted by plainjane
Use Titanium Backup. Run a batch backup of user apps. Then when you install a new rom, run a batch restore. This will restore data as well - game progress, an app's settings, etc. The free version only allows one backup at a time (if you backup the app again, it overwrites the last backup) and you have to agree to the permissions of each app. In the paid version, you can set the max number of backups yourself and everything will install in the background. There's tons of other cool stuff the app can do, I suggest checking it out.
that's the right way..
Two options.
1. Push your apps recorded in your android market library to your phone.
2. Use titanium backup.
Titanium backup is easier, but since you do a reset to make everything fresh, I would prefer the first option.
What you do is to go to android market library from your PC browser. It has all your apps listed. For each app, use the install button to push it to your phone. You need not wait between apps. Just push which ever app you need and they will automatically get downloaded and installed to your phone. For some reason, Google has kept the reinstall feature hidden. See this for details -
http://www.skipser.com/p/2/p/how-to-reinstall-android-apps.html
I don't know, google play used to reinstall my apps when I was on stock sony rom, but since I use Cyanogen now, it doesn't do it. I always keep checked option "keep backed up with bla bla", but it doesn't restore automatically :/
iarydroyoffice
boscharun said:
Two options.
1. Push your apps recorded in your android market library to your phone.
2. Use titanium backup.
Titanium backup is easier, but since you do a reset to make everything fresh, I would prefer the first option.
What you do is to go to android market library from your PC browser. It has all your apps listed. For each app, use the install button to push it to your phone. You need not wait between apps. Just push which ever app you need and they will automatically get downloaded and installed to your phone. For some reason, Google has kept the reinstall feature hidden. See this for details -
Click to expand...
Click to collapse
thanks

[GUIDE] How I Root, Recover and Optimize Stock 2.1

Hey guys,
Dont get me wrong, im pretty much a noob myself Nowadays alot of developement is going on with the new ROMS, till they are finished I needed a stable ROM and I have to admit nothing is better than good old stock 2.1, but to get it in useable condition you do have to do some tinkering. This guide is aimed at people who have just rooted their phones and want to know what they can do, or for people who want new ideas if they are going back to stock 2.1. Its just a collection of things I do, when I flash stock 2.1.
Please be aware, that although these instructions are accurate to my knowledge, sometimes there are problems, so do not try this if you dont feel comfortable with any of the instructions.
1. Which SBF?
The stock cincinnati bell 2.1 is the most current and the most updated version of all the SBF's. Unless you are uprading to a new ROM which require another type of base SBF this is the way to go for 2.1. It makes no regional differences that I know off, you may have to put in your APN settings. Reasons for using this SBF is, first its the most updated, most stable and reportedly has best camera quality of all the SBF's, plus it is set to 720 MHZ by default. The SBF code is:
Code:
STR_U2_04.1E.1_SIGNED_USASHLSTAB14P2XAPCNCBW039.0R_NACBW_P011_A006_HWp3_1FF.sbf
2. How to Root?
Once you have flashed your SBF, using either RSD lite in windows or sbf_flash in linux, the easiest way to root is using the universal androot app. Install the app on your phone, open the app and click the root button. A little heads up here, you need to be connected to either wifi or the data network before you use the app because to root the phone the app uses an exploit which requires wifi to be toggled. If it isnt on, it will not work. With the wifi on, press root and you're done. The newest stable UniversalAndroot can be found at this link.
http://dl.dropbox.com/u/32033772/UniversalAndroot_1.6.1.apk
3. What can I do after rooting?
First of all you can install Open Recovery + Androidiani Recovery. What these are, are custom recoveries with which you can make nandroid backups, wipe reset your phone and cache and apply neat tweaks to make your phone work better on 2.1. To install open recovery download the openrecovery.apk from the following link.
http://dl.dropbox.com/u/32033772/OpenRecovery.apk
Install the openrecovery app. And reboot your phone once. After the reboot, connect your phone to the PC and create a folder called nandroid and inside that creat a folder called openrecovery. And place it into the root of the SD card.
Code:
nandroid>>openrecovery
Disconnect your phone from the PC. Now open the openrecovery app. And press install recovery. A superuser request will appear. Allow it and open recovery will install on your phone and create the neccessary folders on your SD card. Now connect your phone to the PC its time to install androidiani recovery. Download the Androidiani recovery here.
http://dl.dropbox.com/u/32033772/OpenRecovery-3_3.zip
Unzip the file. You will see one folder and one update file. Copy the folder and paste it into the root of your SD card. You will notice that the computer will prompt you because there is already an open recovery folder in your SD card. Allow the computer to replace, the old folder with the new one that you are pasting. Then copy the update.zip and just place it in the root of your SD card. You are all set and have installed openrecovery.
What can I do with Androidiani?
Turn off your phone. Now press the volume up button and keep it pressed, while pressing the power on button. The phone will boot into androidiani recovery. Use the volume keys to navigate up and down in the menu and use the camera button to select an option. You will see numerous options in androidiani. The first thing to do is go in the Eclair Modding menu.
I usually do the following things.
1) Install memhack: This moves your /cache folder and allow for lots of apps to be installed so your 173 mb app space will not limit you, which is usually why people want to move to froyo in the first place.
2) Install JITV7
3) Eclair Kernel Modification: This installs busy box and increases functionality.
4) Zipalign Apps. This allows less ram to be consumed when you use apps. I usually zipallign system wide.
Reboot your phone normally, after mods are complete.
4. System app removal?
Useless system apps can safely be removed to make space for more apps. I install titanium backup from the market and use it to uninstall apps. Here is the list of apps I usually remove safely.
1. Gestures.apk (Motorola sign gestures, useless app never used it)
2. Corporate Calender
3. Corporate Directory
4. Quickoffice Trial
5. Kickback
6. Soundback
7. TalkBack
8. MotoAccuweather.
5,6,7 are accesibility apps which can easily be redownloaded from the market. Accuweather isnt accurate and I have the stock AOSP geniewidget which is so much more sexier. Ill give the links to those.
GenieWeather & News 2.1: http://dl.dropbox.com/u/32033772/GenieWidget2.apk
Another app I install is the desk clock which is missing in 2.1:
http://dl.dropbox.com/u/32033772/DeskClock.apk.
Okay once system apps are removed. What rooted apps can you use. There are many. Ill just state what I use when I newly Flash.
1) Root explorer, very good for navigation etc.
2) Market Enabler, i use it to install google+ and other apps not avaible in my country.
3) Battery Calibration, everytime you flash a new ROM its good reset your battery Stats.
5. Finally
You can just use your phone as usual. If your phone number format is different because of the US SBF, just choose a different language in keyboard and locale. Itll fix your dialer format.
I choose to not overclock. With wifi on 24/7 and autosync. A few odd phone calls, sms's, 1 hour of GPS when I walk, some gaming, and 2 hours of music. I get an average of 1.5-2 days battery life with this setup. My SD card is formatted completely to FAT32. After installing all my apps, and games. I have 102 MB remaining internal memory.
Hope this has been useful to anyone. Please feel free to make additions.
this is good. something ive been looking for. was on stock rom for a month rooted. very stable but was itching to try out cm6 so i did. ive tried deleting voice dialler with titanium backup but it was kind of not supposed to be deleted because android kept telling me "voice dialler force closed" and i couldnt do anything else so i restored it back. i dont need or want voice dialler. and it also keeps running as a service. any way to stop it?
eejin2 said:
this is good. something ive been looking for. was on stock rom for a month rooted. very stable but was itching to try out cm6 so i did. ive tried deleting voice dialler with titanium backup but it was kind of not supposed to be deleted because android kept telling me "voice dialler force closed" and i couldnt do anything else so i restored it back. i dont need or want voice dialler. and it also keeps running as a service. any way to stop it?
Click to expand...
Click to collapse
Before you ever delete any system apps, you should use TB to freeze them first and see if once you do it causes any ill effects. If not, then uninstall but you can always back up so if you ever want it back, Viola there it is.

Categories

Resources