[Q] MTD to BML backups - Epic 4G Q&A, Help & Troubleshooting

I'm aware of the steps needed to acomplish this (odin to stock, repartition checked), but I would like to confirm if this applies for backups as well. Would it be ill advised to attempt to restore a BML backup on an MTD ROM? I left some very important data I need in that backup, would like to get a hold of it soonest.
Also, if I can't restore and have to odin back to stock, do I have to flash the ROM before I restore the backup, or is it safe to restore as soon as I'm back to rooted BML?
Sent from my SPH-D700 using xda premium

If I understand your question, you are on MTD and heading back to BML? There are 2 things you can do. 1) use Titanium backup and restore the data to the app that you don't want to leave behind or and this is not recommended but should work
2)Edit your nandroid and everywhere it says yaffs2 change it to ext4 or rfs depending on what you will be on in the file names, and also open up nandroid.md5 with notepad or some editor and do a find and replace all for the same (yaffs2 to ext4 or rfs). Then after flashing your ROM do an advanced restore data from that edited nandroid. Make sure the nandroid is not renamed when you first backup.

kennyglass123 said:
If I understand your question, you are on MTD and heading back to BML? There are 2 things you can do. 1) use Titanium backup and restore the data to the app that you don't want to leave behind or and this is not recommended but should work
2)Edit your nandroid and everywhere it says yaffs2 change it to ext4 or rfs depending on what you will be on in the file names, and also open up nandroid.md5 with notepad or some editor and do a find and replace all for the same (yaffs2 to ext4 or rfs). Then after flashing your ROM do an advanced restore data from that edited nandroid. Make sure the nandroid is not renamed when you first backup.
Click to expand...
Click to collapse
Was in idiot mode when I flashed the MTD ROM (CM7.2 Nightly 25), didn't back up apps with TB so I guess that only leaves option #2. Finding and replacing text sounds simple enough, but what is the worst that could happen if I manage to somehow screw it up? Would rather not do it if it can make my phone implode. At any rate thanks for the reply :>
Sent from my SPH-D700 using xda premium

Rename your old backups to .yaffs2 and then advanced restore data. If you screw up, reflash cm7.
Sent from my SPH-D700 using Tapatalk

Ok, so you are ON MTD and want to restore stuff from the BML backup. Titanium backup let's you restore from a BML nandroid or do what Marcusant said and change all the ext4 or rfs to yaffs2 and edit the nandroid.md5. Worse that can happen is restore fails with md5 error.
Sent from my SPH-D700 using XDA App

so its safe to restore apps and some data using titanium backups created in bml onto mtd?
also titanium lets you restore from nandroid? is this a new feature?

jmsnyc said:
so its safe to restore apps and some data using titanium backups created in bml onto mtd?
also titanium lets you restore from nandroid? is this a new feature?
Click to expand...
Click to collapse
The only difference between bml and mtd is partition sizes. Everything else is the same

jmsnyc said:
so its safe to restore apps and some data using titanium backups created in bml onto mtd?
also titanium lets you restore from nandroid? is this a new feature?
Click to expand...
Click to collapse
Yes it's safe and yes that is a new feature.
Sent from my SPH-D700 using XDA App

Related

[Q] How to make a flashable zip do a backup and restore

Hello I was just wondering if I could make a flashable zip file for cwm, that could make a backup and then restore that backup?? Is there already one of these??
What exactly do you mean by this? Backup Data or make a full nandroid backup? Nandroid backup is built into Clockworkmod, on the front screen. For backing up data with a flashable zip, alot of roms have this functionality built in when you update versions. Moving from one rom to another however, its best to use a program like titanium backup to do this, since backing up data in its entirety and flashing it back makes problems. No two roms are exactly alike, and if just a little bit of that data transferred over is incompatible with the new rom, you're going to get force closes all over.
There was the old Bonsai script which now fails on half the phones. I believe because it was dependent on a version of busybox and a lot of us updated that. Toadlife was working on a newer tar backup and restore but not sure if he finished.
Sent from my SPH-D700 using XDA App
kennyglass123 said:
There was the old Bonsai script which now fails on half the phones. I believe because it was dependent on a version of busybox and a lot of us updated that. Toadlife was working on a newer tar backup and restore but not sure if he finished.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
The conversion script by chris41g that changes your file system makes a backup that you can restore don't know if that helps any....
Reread the question and yes there is a script that can be ran as a flashable to make a backup but it gets stored into your cwm folder its not like the script will restore if you flash it again if that's what you want
Sent from my SPH-D700 using xda premium

[Q] Restore selectively from nAndroid?

So I was wondering if I could just go through a nAndroid and delete all the system data, and only leave the apps folder --- I know its more complicated than that --- turn it into a zip and install the zip in recovery, and use this to restore apps, rather than having to reboot, install titanium, etc... just have a standard restore app file created from a nAndroid that automatically does all the my user apps.
I'm sure playing with this is tempting fate with the hassles of having to re-wipe and re-rom or whatever...
the goal is to have a flashable zip ready to go so I can install test roms, and restore my user apps more quickly between each test...
govindadas said:
So I was wondering if I could just go through a nAndroid and delete all the system data, and only leave the apps folder --- I know its more complicated than that --- turn it into a zip and install the zip in recovery, and use this to restore apps, rather than having to reboot, install titanium, etc... just have a standard restore app file created from a nAndroid that automatically does all the my user apps.
I'm sure playing with this is tempting fate with the hassles of having to re-wipe and re-rom or whatever...
the goal is to have a flashable zip ready to go so I can install test roms, and restore my user apps more quickly between each test...
Click to expand...
Click to collapse
You can selectively restore apps from a nandroid backup using titanium backup. But it sounds like you want a recovery flashable zip. I don't know how to do that.
-Sent from a GSM Galaxy Nexus (RAScream+Trinity).-
When you go to Backup and Restore. Go to advanced restore and restore just the data. This will give you all your apps and such.
Sent from my Galaxy Nexus using xda premium
I think making a flashable zip of selected apps can also be done using titanium BU. It has wwaaaayyyyy more features than I could/would ever use. I've had the pro version a few years, and dont know how to use half its features. Anyhow, you might look there.
Also, I know if you have a partitioned SD card and using apps2sd, when you do a nand backup, you can backup and restore sd-ext, keeping all apps in tact. Not sure what the equivalent would be without removable storage.
sent from a shining jewel 4g LTE
ÜBER™ said:
When you go to Backup and Restore. Go to advanced restore and restore just the data. This will give you all your apps and such.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
This will often cause boot loops when going between incompatible ROMs.
But yeah, a TB restore from nandroid is a reasonable solution.
Sent from my Galaxy Nexus using Tapatalk 2
cool! thanks for the info!
So it is possible, what I am suggesting, or by using clockworkmod or titanium to selectively restore data only from a nAndroid, but can create problems.
Is it possible to delete all non-user-app data from the nAndroid data backup? I mean restoring system-app data could be problematic, but restoring user-app data shouldn't be problematic, right?
I don't know about deleting system app data from the nandroid backup.
I do know that when restoring with TB from a nandroid, you can choose to select missing apps only, which means it won't attempt to restore data to any apps you already have. And then if there are any individual apps you missed when doing that, you can go in again and restore just those.

Best Way To Restore

I'm not a flashaholic, but do from time to time especially when a new version of my favorite ROM is released. I was wondering what the easiest and quickest to restore my phone to the way it was before flashing the new ROM. I mean apps and launcher. I have Titanium and My Backup pro but it still takes a couple of hours of messing around to get back to normal. If anyone has a quicker way I'd love to hear it.
Sent from my SAMSUNG-SGH-I317 using xda premium
sndtubes said:
I'm not a flashaholic, but do from time to time especially when a new version of my favorite ROM is released. I was wondering what the easiest and quickest to restore my phone to the way it was before flashing the new ROM. I mean apps and launcher. I have Titanium and My Backup pro but it still takes a couple of hours of messing around to get back to normal. If anyone has a quicker way I'd love to hear it.
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
I assume you have a custom recovery installed since you mentioned flashing roms? If so, do a complete nandroid/backup (CWM/TWRP) of your phone just prior to flashing anything (good idea to do this prior to any flash). In TWRP, you can name your backup file so you can remember what rom/kernel/modem/recovery/etc you had at the time of this backup. Usually takes around 5-6 min to back up ~ 2Gb (and conversely, to restore). When you restore, do proper partition wipes first, then restore your desired backup... phone should be exactly as it was (apps, launchers, rom, settings, etc).
Thanks. I do use TWRP. I always nandroid back up before flashing a new rom. I guess I didn't understand what a nandroid backup was. I thought that it would reinstall all of the old stuff like the old rom and kernel in case the new rom borked something. So if I backup and flash a new rom and then nandroid restore, I will have the new rom and kernel with my apps and launcher intact? If so, then very cool.
Sent from my SAMSUNG-SGH-I317 using xda premium
sndtubes said:
Thanks. I do use TWRP. I always nandroid back up before flashing a new rom. I guess I didn't understand what a nandroid backup was. I thought that it would reinstall all of the old stuff like the old rom and kernel in case the new rom borked something. So if I backup and flash a new rom and then nandroid restore, I will have the new rom and kernel with my apps and launcher intact? If so, then very cool.
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
Correct me if I'm wrong but doesn't the nandroid have the rom you backed up? Restoring that backup will wipe the new rom.
I use titanium backup as well and it takes me less than 5 minutes to go back to normal. Apps and launcher the same.
sndtubes said:
Thanks. I do use TWRP. I always nandroid back up before flashing a new rom. I guess I didn't understand what a nandroid backup was. I thought that it would reinstall all of the old stuff like the old rom and kernel in case the new rom borked something. So if I backup and flash a new rom and then nandroid restore, I will have the new rom and kernel with my apps and launcher intact? If so, then very cool.
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
I got you... thought you were looking for a way to restore a complete previous setup (rom/kernel/radio/data/recovery) if you didn't like the rom you are on... sounds like you just want to restore /data partition (which can be done in TWRP)... but won't restore system partition apps (risky). If you are just looking to put your previous 'user' apps/data back, TiBu is an option (only restore "user" apps/data or "missing apps/data". I don't think TiBu will restore your widgets/launchers as the were, but you can individually (within the app) backup Apex, and Nova launcher settings and homescreens... then restore them after you're up and running on the new rom

[Q] Nandroid backup size

I just made a backup via nandroid and CWM of my phone in possible anticipation of trying out a new rom. However, the backup is only 21mb. How is that possible? Does it not back up my apps? What exactly gets backed up?
Thanks!
slicetwo said:
I just made a backup via nandroid and CWM of my phone in possible anticipation of trying out a new rom. However, the backup is only 21mb. How is that possible? Does it not back up my apps? What exactly gets backed up?
Thanks!
Click to expand...
Click to collapse
It should backup everything. I would suggest remaking a backup.
BWolf56 said:
It should backup everything. I would suggest remaking a backup.
Click to expand...
Click to collapse
still only 21mb.
CWM backups show as very small on the inital folder but I believe if you drill down further all the information is stored in what is called a blob IIRC and that will be larger folder.
I would suggest TWRP instead as it is easier to store your backups in a safe place just in case you have a srcew up.
hednik said:
CWM backups show as very small on the inital folder but I believe if you drill down further all the information is stored in what is called a blob IIRC and that will be larger folder.
I would suggest TWRP instead as it is easier to store your backups in a safe place just in case you have a srcew up.
Click to expand...
Click to collapse
YES. i see that now. 2.1gb for the whole folder.
thanks!
slicetwo said:
I just made a backup via nandroid and CWM of my phone in possible anticipation of trying out a new rom. However, the backup is only 21mb. How is that possible? Does it not back up my apps? What exactly gets backed up?
Thanks!
Click to expand...
Click to collapse
Check to see of you also have a folder in the cwm folder called blobs. Your info would be there and it should be a considerable size.
Sent from my SGH-I747 using xda app-developers app
This probably could be different depending on which version of cwm you have installed so take a look first.
Go I to recovery, choose backup and restore, scroll down to CHOOSE BACKUP FORMAT, then you will see .DUP or .tar
What you have right now that saves them as blobs is the .DUP format and has a separate folder that your looking at. If you change it to .tar format it saves the whole nandroid backup in one file.
Sent from my SAMSUNG-SGH-I747 using xda premium

Does nandroid backup/restore sd-ext?

hello,
i just made a slipstreamed/modified version of cm10 4.2.2 for the desire.
I want to test it out on my device, and before i do i want to make a nandroid backup in cwm.
so i was just wondering when i make the nandroid will it also backup the apps that i have stored on my sd-ext (a2sd), and will it be able to restore all my apps that i had before to my sdext?
k i made a nandroid backup but towards the end it said that it could find a sd-ext2 partition, and that it was skipping the backup of my sd-ext
btw im using 4ext, not cwm like i accidentally said in my original post. and my sd-ext is ext4.
i really want to backup my sd-ext partition, instead of having to restore with tb
thanks
nandroid is supposed to backup ext aswell but i cant be sure of twrp as i have never used it
why dont you backup your apps with titanium backup just to be on the safe side
stratoll said:
nandroid is supposed to backup ext aswell but i cant be sure of twrp as i have never used it
why dont you backup your apps with titanium backup just to be on the safe side
Click to expand...
Click to collapse
Sorry I meant 4ext, not twrp. Lol.
I really want nandroid backup, cause it will be a hassle to have to always use titanium backup, rather than just doing a full nandroid restore.
Especially if I test my ROM many times.
chromium96 said:
Sorry I meant 4ext, not twrp. Lol.
I really want nandroid backup, cause it will be a hassle to have to always use titanium backup, rather than just doing a full nandroid restore.
Especially if I test my ROM many times.
Click to expand...
Click to collapse
if you have an ext partition properly setup it should
i use 4ext and the backup always retains apps and app data
chromium96 said:
k i made a nandroid backup but towards the end it said that it could find a sd-ext2 partition, and that it was skipping the backup of my sd-ext
btw im using 4ext, not cwm like i accidentally said in my original post. and my sd-ext is ext4.
i really want to backup my sd-ext partition, instead of having to restore with tb
thanks
Click to expand...
Click to collapse
It has backed up your apps on your ext4 partition.
That message means its skipping your 2nd ext partition which you obviously don't have or know what that is so. Ignore the message.
But it has backed up your apps
Sent from my HTC Desire using xda app-developers app
Ya thanks I figured it out yesterday.
I thought that when it said skipping sd-ext2 it was skipping my sd-ext partition that was formatted as ext2
Sent from my HTC Desire using xda app-developers app

Categories

Resources