[Q] Force clockwork restore? - myTouch 4G Q&A, Help & Troubleshooting

I while preparing to flash a new ROM I scrolled one to many selections in the format menu and selected "format sdcard" by mistake. (anyone else think the little warning notice up top should inform you which area you are about to format and not just a generic "formatting can not be undone" warning... I have thought this before but never voiced it to anyone and it seems my fears were well founded)
So now I have lost my app data backups and ROM backups, along with various other data.
I have used a couple programs to recover the data on the sdcard and have managed to get the clockwork backups back. Problem is, I want to do a partial restore of just /data (from the advanced restore menu) but the md5 sums are not matching. As I as just restoring /data and from the same ROM currently on the phone, I am not overly concerned by that. I just need to get as much of the original app data back as I can so I can do a new backup of the app data and then do a proper wipe and flash of a new ROM.
I know there was a way to force a restore with ADB when I had my old N1, is there a way to do so with the current recovery on this phone?
Thanks in advance... I been up way past my normal time so I am dead and can't focus well. So its off to bed and hopefully will come back to some good news after work.

Nobody.. anything?

Related

Compete Android OS Image restoration / backup?

Hey all,
When I had my Windows mobile phone, I could use Sprite Backup to make a backup that basically acted as an image that I could store on the SD Card. I could then do anything possible to my phone, and then I could simply restore the image, and it went back to the EXACT state it was when i took the image - registry, ALL apps, messages, icons, etc..., just like a 100% hard drive image.
I have Sprite backup on my Samsung Epic now, and was wondering if it acted the same way?
That is, if I install a custom rom, I would like to be able to factory restore it, then apply the backup to take it back to the exact state it was.
Is this how it works?
Thanks,
Matt!
It's called a nand backup and one of the benefits of rooting
Sent from my SPH-D700 using XDA App
Great,
I'm rooted, so I'll. Check it out....
Thanks!
Get the one click root and recovery. Once you have clockwork mod you can do a full backup. Also you can do an "advanced restore" and just restore your /data.
I have found that sometimes a restore doesn't work correctly and I have to reflash the rom and just restore /data to put my apps and settings back.
A word of warning, sometimes when you flash an old /data to a new rom it causes issues with programs. Personally, I have had very few issues doing it, even when moving between 2.1 and 2.2.1, but ymmv.

Clockworkmod vs Titanium?

I've had such great help in these forums (Nook specifically) I couldn't resist trying my luck in these (Droid X) forums as well.
So, I've searched for Clockworkmod threads but they are all (That I found or noticed) from back in August.
Plenty of info to be had on Titanium Backup.
So my question, is Titanium the backup/restore program of choice? I was hoping for an idiots guide to backup and restore (especially in the event of problems) but the guides are kind of sketchy on the restore part.
Titanium
Use titanium backup to backup and restore all your apps. Useful when trying out new roms, although without the paid version of titanium you will spend alot of time tapping through the installation screens as it goes through your apps. Titanium won't help you recover a broken system.
SBF
Use RSDLITE 4.9 with a .SBF file to perform what many call a "sbf". This is usually used to restore a phone back to stock, or to recover from a bad/corrupted operating system. If your phone is unbootable, this is your recovery option. SBF'ing your phone is not as scary as it sounds, just download the system restore file (.sbf), connect your phone via usb to your computer, and use RSDLITE 4.9 to flash the phone.
Nand backups / Clockwork recovery
Use clockworkmod to do a full backup of your phone. Think of it as a clone of your phone. Restore your phone by booting into clockwork recovery and instead of choosing "backup", use the "restore" command. It will then allow you to select one of the backups you have made with clockwork. Pretty easy stuff here.
jeftep said:
Nand backups / Clockwork recovery
Use clockworkmod to do a full backup of your phone. Think of it as a clone of your phone. Restore your phone by booting into clockwork recovery and instead of choosing "backup", use the "restore" command. It will then allow you to select one of the backups you have made with clockwork. Pretty easy stuff here.
Click to expand...
Click to collapse
Thank you, this is exactly what I was after. My only problem remains that I do not see any guides on how to go about downloading/installing/operating this program. I'll keep searching now that I know more about what I'm searching for. Thanks!
Search the market for "rom manager", it's free. Load it and tap "flash clockworkmod recovery".
You can use this app to reboot into recovery or by holding down the home and volume down buttons while pushing the power on button.
You can also download the DX bootstrapper from koushik's site, just google "koush bootstrap". Also free.
Sent from my DROIDX using XDA App
Woah there buddy.
I'm going to clarify this process a bit for you before you mess something up, if you don't mind.
Root your phone.
The simplest method is to search for Z4Root here in the forums...it's a .apk that roots your phone for you.
Now...
I assume you want a sweeeeeeeet rom, ya?
We can do that...
MY personal recommendation would be this...
Make sure you have at least 2-3 gigs free on your SD...it won't need to STAY that way...but during this process, it will.
Open your contacts.
Click the options button.
Backup your contacts to your SD card.
Now download Titanium from the market...
The free version works fine for 99% of what you need.
The only problem is (as mentioned) you have to manually click the "install" button for all 500098098098 of your apps when you restore...as opposed to just one button and letting it work for a few minutes.
Open Titanium and backup all of your apps+data.
Do you want Liberty 2.0? I personally use it and LOOOOOOVE it...but you currently have to pay $5.99 for it...a free version should be released soon.
If you do...just download liberty toolbox donate from the market.
It will install the rom for you! The option is under the "Rom Manager" part...
Make sure you select both options when installing....The "Backup" and "clear data" ones.
If you don't want liberty...read below...if you've chosen to pay the $5.99...skip down to the ****** below.
Download either DX bootstrap or Rom Manager.
Rom manager actually installs Clockwork...where bootstrap is simply a method of booting into clockwork via an application.
Either work fine.
Find the ROM you'd like to install and download the .zip
Put the zip on the root of your SD card.
Boot into clockwork.
(With DX bootstrap you click "bootstrap" and when it finishes click "reboot recovery")
Backup. (Camera button selects options, volume moves up and down, and power moves back a page)
Now Wipe Data/Factory Reset
Now...Wipe Data/Factory Reset
And again.
And again.
I usually do that 3-4 times just for extra security.
Now install zip from SD card.
Pick the "Choose Zip from SD card" option.
Find your rom's .zip
Click Reboot.
******
CONGRATULATIONS!
You're running a custom ROM!
Now...if you're contacts don't automatically start restoring...
You can choose the backup that you made from the options menu in your contacts.
Now...restore all apps+data with Titanium.
And you're back to where you were before the rom.
All your contacts...all your apps...
You may need to go back into your settings menu and change those back to your exact specifications.
Now...
If you don't like your rom...
You can boot into recovery again...
And restore to where you were previously with one click.
At this point after deciding I like the rom (I don't keep much free space on my SD)
I usually move my nandroid backup from before the rom to my computer...and delete it from my SD card...and then do another backup of my current (rom'd) setup.
I keep a copy of the titanium backup on my PC as well...and delete it from my SD card...there is no reason to waste a gig of space that can easily be transferred back when needed.
My recommendation is to always have you're most recent nandroid backup on your SD card and a copy of your last few on your computer.
You can rename the backup folders for organization...but don't use any spaces or special characters.
If you're REALLY hurting for space...
You can delete the nandroid backup safely if you have a microSD reader on your computer...in the case that your phone doesn't work and need to transfer the backup back onto your SD card.
Happy modding!
Thanks for the info, all of which answered my question just right. I've been using Gingerbread rooted & deoxed since Friday and it is quite nice. The improved battery life is phenomenal!
I want to STRONGLY recommend that everyone who is new/does not know what they are doing actually go through the process of flashing the rom. I was inexperienced once and I hard bricked it (unfixable). No one needs to go through that and anyway that's what keeps our bootloaders locked.
INCREDIBLY IMPORTANT STEPS
If you do not wipe data/cache/dalvik cache/battery stats, you will bootloop. Repeatedly wiping is not at all necessary but its good for ocd.
If you do not mount system and data, your phone WILL NOT BOOT and you will have to sbf.
SBF'ing is not difficult but a pain in the ass. First of all you do not need version 4.9. I used 4.7 three days ago to flash the most recent system version. Make sure that you have the file for your bootloader version or again your phone WILL NOT BOOT.
That being said, I have found that all problems are almost always careless mistakes or at least mine have been
You will find that as long as you're careful and follow all instructions, you'll never have any problems
Ok. Great info. I have been reading through the stickies n then came across this.
I am currently running darkslide 4.2 with blur. Flashed using clockwork mod on DX rooted with z4. I know that's alot of acronyms but yall understand. I used the bootstrap to get to clockwork and load everything using astro file manager.
Here is the question.
Do I have to wipe my cache in clockwork or can I leave it? So far I have left it n its running fine but doesn't seem any faster and my battery runs down in about a day.
I also use Titanium to back up my stuff but do I ha e to back up everything manually or is the free version one touch good enough? I noticed there are alot of things not backed up in to do list. I will happily get the donate version if its recommended.
Thank you all for your time and effort to answer our beginner questions.
Sent from my DROIDX using XDA App
Glad to see you are making progress, jperro. It never hurts (in my experience) to wipe the cache.
The paid version of Titanium backup lets you perform batch operations without interacting with every single install screen. There are other features that make it good, but thats the main one that saves you time/frustration.
I only back up a few system apps/data like Contacts Storage and Wifi Hotspots Storage. If I'm restoring my phone, chances are I'm either trying a new rom and I don't really want to muck it up with any old data - so I don't back up all the system apps/data that Titanium Backup shows as "not backed up". Besides, I've got nand backups in case I'm flashing back to a previous setup, so restoring system data or apps via Titanium seems redundant.
Ahhh. Ok. Thanks jeftep for the info. Very useful and informative.
Sent from my DROIDX using XDA App

Newbie needs help/info

I have a T-Mo G2 and want to keep my Froyo image to reinstall later if I cannot get theGingerbread to work right. I want to make an image file that will restore the phone to exactly how it is now. I have tried all kinds of stuff, but am not able to make the "img" file so that I ca do a restore when booting...
Can someone point me to what I need to install to do this, and if possible some directions on what/how to create the "img" or restore file ?
I would be most appreciative, as I had to reverse everything from the OTA of Gingerbread, since too many apps didn't work, ESPECIALLY the GPS!
My current Froyo is a temp-root system.
Thank you all!
Aloha. .
I would do full root via the wiki, and then install 4EXT (the full one that's like $2) - it will keep your old stuff straight
Ditto on previous reply
Root your G2
Backup all your apps with using Titanium backup
Get Clockwork mod ROM manger or 4ext ( I prefer 4ext) and backup your stock rom. You can download new ROM CM7 for first ROM.
If you don't like the ROM you can restore your stock ROM with CWM or 4ext at anytime.
I have a theory that Ti Backup or any backing up of apps is a bad plan. I know you can do it no problem, and that it is a great time saver, but I have a strong feeling that this ultimately results in an unstable phone with mysterious force closes etc.
Even though it's a real pain, I think you are always better off reinstalling your apps from scratch after changing to a new ROM and wiping caches.
WTF? said:
I have a theory that Ti Backup or any backing up of apps is a bad plan. I know you can do it no problem, and that it is a great time saver, but I have a strong feeling that this ultimately results in an unstable phone with mysterious force closes etc.
Even though it's a real pain, I think you are always better off reinstalling your apps from scratch after changing to a new ROM and wiping caches.
Click to expand...
Click to collapse
1. I have had zero problems with TB personally.
2. Without it your app data is gone.
3. Triple wipe, takes a few extra minutes and makes a world of a difference.
4. Do not restore system data!
5. Check md5 sums BEFORE doing anything!!!!
6. Make sure you have a recent nandroid backup and you'll be fine either way.
7. triple wipe before flashing anything including nandroids. Preferably with different wipes aka factory reset, superwipe+ ext4, then recovery wipe!
Just my 2 cents, it's saved my a$$ more then a few times...

Formatted /System, Help!

Hey all,
I was trying to get OTA2 installed while retaining my root and long story short I ended up formatting my /system in CWM thinking it would rebuild the factory image. Now of coarse my system won't boot. For some reason I am also unable to mount /sdcard. Is there anyway I could restore my system?
Thanks for any help!
restore \system of your CWM backup
I don't have a CWM backup . I know, a real bonehead move. If anyone could help me out with a clean CWM backup I'd be willing to compensate.
Edit: BTW I have a 16gb US version of the TPT.
Is it even possible to flash someone else's CWM backup?
Could I use the full image that Lenovo took down, found here?
I don't suppose there's an nvflash image for this device...
While I'm not sure, it might be possible to use that full image. Certainly worth a try. You might try asking on that forum, if you haven't already.
Yes, It is possible to restore from someone else's backup. I, in the past have copied my backups to my pc when they were too much and If i needed them, I just copied them back to external_sd/clockworkmod/backup/ and voila, it would appear for restoration in CWM.
I may be wrong, I do not believe that region should have any effect but to be safe (since you already made one mistake ) restore your US version with a US backup. I have a UK version and I would have uploaded a backup for you if you couldn't find a US one but unfortunately, my tablet is at the lenovo repair centre, being treated for the dreaded micro usb port failure. Hope someone here can help with a backup.
Thanks for the advice!
I downloaded that full image, but I could not get it to flash in the traditional sense. I extracted it and copied the system directory to my system partition and the tablet actually boots now. However, wifi does not work, whenever I press any of the menu keys a red frame flashes around the screen, and I cannot go to the About section of the settings to try to download updates or anything, it just crashes. I am also unable to update to OTA1 via zip in CWM, it gives me:
Code:
assert failed: file_getprop("/system/build.prop", "ro.buildfingerprint") == "Lenovo/ThinkPadTablet/Indigo:3.1/ThinkPadTablet_A310_02/0024_0065_US:user/releasekeys" || file_getprop("/system/build.prop","ro.build.fingerprint") == "Lenovo/ThinkPadTablet/Indigo:3.1/ThinkPadTablet_A310_02/0037_0075_US:user/release-keys"
Since you still need a lot of help anyway why don't you try manually installing all of the updates up to OTA 0076. You have to have all the updates before it flashed first. Link here:
http://download.lenovo.com/slates/think/tablet1
The nandroid backup would have to be of a factory restore, correct? Otherwise, all accounts/settings, etc would be within the backup as well.
I wasn't planning on doing a factory restore any time soon, but if the CM9 ICS port releases is soon, I can make one then as I have the same model and region as you.
I'm just really busy at the moment due to school and I rely on my tablet for school!
That would be the only safe way to let someone have a backup.
toenail_flicker, Thanks for the suggestion, I'll start from the top of the list and work my way down.
obscure.detour, being a student also, I completely understand. Luckily I just bought a Livescribe pen to offset my need for my TPT for the moment .
In the mean time, in case anyone else would be willing, you could also take a backup of your current system, do a factory restore, take a backup of the clean rom, and than restore your original image.
Thanks!
LOL You make it sound easy, but for a CWM noob it's a dicey thing. Never restored anything. Perhaps someone with more confidence in CWM than me can pull it off for you.
I know letting someone have a backup that contains personal info my be tricky, but if you've got time (couple of hours) on your hands you can backup your current system, do a factory reset, and since a factory reset only affects data, it wont wipe your root or CWM. you can then make a CWM backup of the newly reset rom, copy it off the sd card and restore your earlier system which you backed up.
This would save the OP having to start installing the OTA updates one by one.
Like I said, my tablet is away for repairs, otherwise I would have helped him. Or, maybe that's a good thing cos its certain that my tablet's main board will be changed, thus its going to be a fresh android installation on it. when I receive it in a couple of days, if you're still in need, I'll try to reroot and install CWM so I can send you a backup.
Much appreciated darkhandsome18! Installing the OTA's failed . It looks like the image I found is actually a test build. Even the earliest patches do not recognize it as a viable base to install on.
Did you ever get someone's backup? If not I can make one for you today. I am on OTA2 though, were you updated before you wiped system?
Here is a CWM backup from my 32GB US TpT.
Extract the file onto your external sd card in the folder /clockworkmod/backup/
Reboot into CWR
Select Restore Backup and select my backup (You can use advanced backup to restore individual parts or just the normal restore to restore everything, which will be factory reset US OTA2 with root)
Hopefully everything will work properly and you will never format your system partition without a nandroid backup again.
I have it on my Dropbox for now but will delete it in a couple of days because it takes up a lot of space. Let me know once you have downloaded it.
If you don't have a Dropbox account then sign up here and we'll both get an extra 250MB of storage space.
jhankinson, thanks! I was not on OTA2, would that be a problem? Also, I'm having issues backing up my current setup, I got ICS running. CWR gives me "Error while backing up boot image". Any ideas?
I'd like to backup my current (semi-working) setup before attempting to restore yours. Thanks again for uploading that!
I finally got it to work by remounting my sdcard in rw using ADB in clockwork recovery. That backup seems to have worked flawlessly jhankinson, I can't thank you enough!
This is great news! I knew I couldn't help you, but so glad GodfatherIP was able to help you. He helped me a great deal, too, recently.
Who is GodfatherIP?

[Q] [Q} Can't make a backup from recovery (nandroid?)

I'm a noob at this and it's ages since I messed with my Defy. I finally moved from CM7 to Paranoid Android
Before I moved from CM7, I tried to make a backup via nandroid in recovery mode. However it didn't work
I risked it anyway and went for Paranoid Android....everything's running smoothly but I'd still like to make a backup in case I see what else is out there. But I'm having the same error:
If I go to recovery to back up ''all'', it manages to get through "backing up system" fine and completes. But whilst about a quarter of the way through "backing up data" it just stops, no matter how long I leave it.... the bottom line has "_ormma_current" flashing as if it's stuck on that part
any advice on what to do?
thanks
Can you try to backup just the data from advanced backup?
Data backup takes about 10mins or more for me. The data backup can 750MB to 1.01~Gig
Sent from my MB526 using xda premium
i looked in 'advanced' but wasn't sure what I would need... is having a backup of just 'data' enough in case something goes wrong whilst flashing another ROM?

Categories

Resources