I'm planning to backup my current ROM using TWRP before switching over to another one. If I selected everything on the TWRP backup screen, how much data will this include? Will I be able to restore it and have everything run exactly the same as it is now? App data? Files? System settings?
notBradPitt said:
I'm planning to backup my current ROM using TWRP before switching over to another one. If I selected everything on the TWRP backup screen, how much data will this include? Will I be able to restore it and have everything run exactly the same as it is now? App data? Files? System settings?
Click to expand...
Click to collapse
It does NOT backup everything. TWRP only backups the operating system. If you flash the wrong file or change the wrong setting, which can / will cause bricks, then TWRP is used to restore the OS to the original state you backed up. Internal storage files are not backed up, nor app data.
immortalwon said:
It does NOT backup everything. TWRP only backups the operating system. If you flash the wrong file or change the wrong setting, which can / will cause bricks, then TWRP is used to restore the OS to the original state you backed up. Internal storage files are not backed up, nor app data.
Click to expand...
Click to collapse
Ah I see, so I have to backup files manually, but the app data too? I was under the impression that the so-called NANDroid backups at least includes app data
notBradPitt said:
Ah I see, so I have to backup files manually, but the app data too? I was under the impression that the so-called NANDroid backups at least includes app data
Click to expand...
Click to collapse
Yes, it will backup app data. Btw, you really need to select the boot, system, and data partitions. For the other partitions, you can keep separate backups (in case of a bad restore). On that note, your first restore might appear broken; try restarting the phone; it should boot fine the next time around.
Cheers.
ictsz.roy said:
Yes, it will backup app data. Btw, you really need to select the boot, system, and data partitions. For the other partitions, you can keep separate backups (in case of a bad restore). On that note, your first restore might appear broken; try restarting the phone; it should boot fine the next time around.
Cheers.
Click to expand...
Click to collapse
Got that. Thank you so much
Related
So I had my phone working and decided to try a kernel found here.
I went on, flashed the kernel through cwm, and nothing worked (stuck at loading screen with continous reboots).
So I flashed my recovery image, rebooting stopped by stuck it was at the loading screen anyhow.
So, since I could not come out of it, I downloaded a stock rom (I was running stock by the way), flashed it (with smartflash), rooted it (superoneclick), installed cwm (now v5) and I'm back on.
So I flashed the recovery, and most of the data is back but I lost all the apps on the SD card.
The SD card is the same from which I flashed the recovery image through CWM, and all my music is still there.
So might it be possible that the apps are still there too?
What can I do?
Why all the SD apps disappeared?
Edit: ok maybe we're talking about internal SD card... may it be the CWM v5 doing recovery from a v4 zip?
had this problem very, very, often...
nobody really could help me, but i know, its because of problems with the android_secure folder.
so i´m not an expert and i really don´t know what s the reason, but i tried some things and sometimes it helped...
it can appear if something goes wrong when you install an app or move an app from phone to sdcard, or when you want to restore them with titanium or cwm.
the possibiltythat it happens increases when you do both at the same time or, move many apps at the same time p.e. with gemini or install many apps at the same time (p.e. with panda pc suite).
or if something goes wrong with a market update.
mostly, it starts that you can´t install apps anymore. after reboot all apps on sd are away.
with luck you can repair it and get the apps back.
-delete the market cache.
-delete file smdl2tmp1.asec in android_secure folder on sd card or in mnt/... secure.. damn forgot the path of the second folder where this file can be. gotta google for it.
-or create a new android_secure-folder. unmount sdcard. rename android_secure folder to something different, so that there´s no more an android_secure folder. put sdcard back in the phone, reboot the phone. there will be a new empty android_secure folder. shut phone down, put sdcard into pc again, copy all files from renamed folder to the new android_sd folder, put card back into the phone, restart it and wait. with luck, your apps are back again.
don´t now, maybe it helps when you delete dalvik cache and cache before restart. sometimes it worked, sometimes not.
in your case, your apps are away after restore and not because of install/move2sd issues... so in this case its important to completely delete android_secure folder before restore. make a fullwipe. and after fullwipe i would restart phone once, so that a new clean android_secure folder could be created. hope something helps.
edit:
i did a little trick, that my external sd is mounted as sdcard in my phone. so normally the internal sd card is the "sdcard" in the phone. so, cos you can´t put your internal sd into the pc, you gotta mount it with usb connection.
Thanks but I'm afraid in this case the content really got deleted after I reflashed the rom...
IS there a way to really save everything via cwm?
Or should I use another software?
Also if flashing baseband: what will get deleted?
Flashing baseband will wipe /data
Rusty! said:
Flashing baseband will wipe /data
Click to expand...
Click to collapse
And how does /data relate to my problem?
Is /data backed up by cwm or not?
What is not backupped by cwm and how to backup it?
Rusty! said:
Flashing baseband will wipe /data
Click to expand...
Click to collapse
but you can restore it with nandroid, right? it's going to be just as before?
punyategar said:
but you can restore it with nandroid, right? it's going to be just as before?
Click to expand...
Click to collapse
If you mean baseband then the answer is no. It restores your ROM and all the apps including their data.
punyategar said:
but you can restore it with nandroid, right? it's going to be just as before?
Click to expand...
Click to collapse
Assuming you remembered to back it up yeah.
My radio flash procedure is:
NANDroid backup
Smartflash radio
NANDroid restore
Push new RIL
Use phone
Rusty! said:
Flashing baseband will wipe /data
Click to expand...
Click to collapse
I don't think so.
Kdz tool and official updater didn't wipe data. (Aren't you ?)
They did change only baseband and systems.
But you have to nandroid backup to avoid bricked.
You may not think so, but it does.
kitty's_daddy said:
I don't think so.
Kdz tool and official updater didn't wipe data. (Aren't you ?)
They did change only baseband and systems.
But you have to nandroid backup to avoid bricked.
Click to expand...
Click to collapse
Definitely wipe /data
Both Rusty! And myself always test new basebands and it definitely wipe /data.
Edit: sorry I'm referring to smartflash.
temasek said:
Definitely wipe /data
Both Rusty! And myself always test new basebands and it definitely wipe /data.
Click to expand...
Click to collapse
I think you would be correct.
It's only my opinion.
i use kdz tool, no user data will lost, only system(happened on me 2 times). don't use smartflash it will wipe all data
kitty's_daddy said:
I don't think so.
Kdz tool and official updater didn't wipe data. (Aren't you ?)
They did change only baseband and systems.
But you have to nandroid backup to avoid bricked.
Click to expand...
Click to collapse
dont know about kdz, official updater didn't touch my /data at all. i mean, my apps were just as before, the settings...
just use titanium backup and make sure the save location is in the sd card
For certain apps that have their own way of saving data, it might not always work.
I just can't find the correct answer in the posts I've read so far.
If I flash a kernel that doesn't work, and then I restore a CWM backup, why it wouldn't boot again?
If I reflash the stock rom and then restore a previous CWM backup, why something won't be there?
What exactly should I do in CMW to obatin a complete backup?
Or should I use something else?
can i overwrite a nandroid backup or id have to delete it and install again
Jerzdre said:
can i overwrite a nandroid backup or id have to delete it and install again
Click to expand...
Click to collapse
What do you mean overwrite it? Do you mean delete it from your phone/flash drive or do you mean restore a different backup over the top of a running backup?
Yes to either anyways lol ... I've swapped out backups multiple times and flashed a backup over a backup but it's always better to restore clean to make sure nothing conflicts ... I always do an advanced wipe in TWRP and format to completely wipe my internal storage and wipe the OS, I then restore from my flash drive using OTG and I've had no issues at all ... You don't really need to do the wipe like that (the OS I mean) but I know it's clean then and ready to start again.
Make sure you are familiar with using sideload or you have a USB OTG cable before you wipe the OS, I don't want you to wipe it and not know how to sort it out lol
Does backing up data in SS and restoring it after flashing a new ROM will 100 percent restore all of my data? What are the things that I need to backup separately? Sms, contacts, account,..etc?
l34rn said:
Does backing up data in SS and restoring it after flashing a new ROM will 100 percent restore all of my data? What are the things that I need to backup separately? Sms, contacts, account,..etc?
Click to expand...
Click to collapse
If your're using B03, the latest safestrap, then everything except the "data/media" folder is backed up, which is your internal storage. As long as you only "Swipe factory Reset" and just flash a ROM, and do not "Format" or "Wipe" data, then your storage will not be wiped, and will always be there. Backing up "Data" will backup everything else including your Settings, SMS, and Contacts, so a full restore from that backup (Restoring System, Cache, Data) should bring your phone back to the exact state where it was in before you did the backup.
If you're using B01, the first safestrap, then everything else is the same, except "data/media" is also backed up, which can make the backup much larger.
shortydoggg said:
If your're using B03, the latest safestrap, then everything except the "data/media" folder is backed up, which is your internal storage. As long as you only "Swipe factory Reset" and just flash a ROM, and do not "Format" or "Wipe" data, then your storage will not be wiped, and will always be there. Backing up "Data" will backup everything else including your Settings, SMS, and Contacts, so a full restore from that backup (Restoring System, Cache, Data) should bring your phone back to the exact state where it was in before you did the backup.
If you're using B01, the first safestrap, then everything else is the same, except "data/media" is also backed up, which can make the backup much larger.
Click to expand...
Click to collapse
Thank you for the clarification, this helps a lot
So, somehow I got my phone into a bootloop, and I made a backup of my data partition with TWRP. I reset it, and tried to restore the data partition, and the corrupted file is in there (was trying to edit settings.db for hotspot on Sprint). Anyways, when I restore the data partition, it bootloops again. So I want to get into the backup, and replace the bad settings.db file so I can restore the partition and have all my data back. How can I browse the backup using my windows 8.1 pc?
i dot imgur dot com/evfiO6Z.png
you cant. why are you restoring your data partition? that wont boot up, since its system that you edited. restore the whole nandroid backup, boot, system, and data. and if you didnt make a backup of boot or system, then reflash your rom to fix it. flash it dirty, as to not lose your data. and if you dont have a rom to flash, then youre stuck having to flash the factory img.
simms22 said:
you cant. why are you restoring your data partition? that wont boot up, since its system that you edited. restore the whole nandroid backup, boot, system, and data.
Click to expand...
Click to collapse
I only did data. The backup was AFTER it was in the bootloop, so I only backed up data.
ilarson008 said:
I only did data. The backup was AFTER it was in the bootloop, so I only backed up data.
Click to expand...
Click to collapse
ahh.. then in no way will it get restored, since its the system partion that you actually messed with. data just holds all your user data, thats all.
simms22 said:
ahh.. then in no way will it get restored, since its the system partion that you actually messed with. data just holds all your user data, thats all.
Click to expand...
Click to collapse
That is EXACTLY what I want to restore. All my apps, settings, pictures, etc etc etc.
I've got the phone factory reset, on and working.
ilarson008 said:
That is EXACTLY what I want to restore. All my apps, settings, pictures, etc etc etc.
I've got the phone factory reset, on and working.
Click to expand...
Click to collapse
now you can try to restore your data. your sd card stugf, like photos, dont get deleted until you wipe or format your storage.
simms22 said:
now you can try to restore your data. your sd card stugf, like photos, dont get deleted until you wipe or format your storage.
Click to expand...
Click to collapse
When i restore the data backup, the phone goes into a bootloop and will not boot.
ilarson008 said:
When i restore the data backup, the phone goes into a bootloop and will not boot.
Click to expand...
Click to collapse
well, unfortunately, it doesnt seem to be a good back up
if you factory rest again, have google restore your stuff. itll restore your apps, and main settings, and even wallpaper. and your photos are in your storage already. unless you didnt have it enabled to back up everything in the main settings.
simms22 said:
well, unfortunately, it doesnt seem to be a good back up
if you factory rest again, have google restore your stuff. itll restore your apps, and main settings, and even wallpaper. and your photos are in your storage already. unless you didnt have it enabled to back up everything in the main settings.
Click to expand...
Click to collapse
I have never had luck with auto backup. It doesn't seem to capture everything. Plus there were things that I stored on internal storage (used to be my SD card on my Samsung phones ) that wouldn't have been backed up, like my Pokemon saved game. I knew I should have copied my internal storage before trying to restore, but I thought the data backup would have done it. Great.
Not sure if this is what your looking for but try nandroid manager: https://play.google.com/store/apps/details?id=com.h3r3t1c.bkrestore
Edit: thats on device only, sorry about that. I had an issue in the past where I didn't have any apps saved via TiBu and had only a TWRP backup. Installed a clean ROM, rooted and then used the app posted to browse the backup on my phone and restore the vital apps that I needed. (Like google authenticator)... Good luck
Hi there everyone!
A few days ago, I was wondering about taking a full backup of my phone. I thought about titanium backup, but I also red something about extracting a partition as an image from the device. And then, I came up with an idea:
Is it possible to extract the userdata and the data partition as an image on this device? (I know that boot image can be extracted)
And if it's possible, after a full wipe and reflash of the phone, can I also flash these two images to get back my user data and the data of my apps? Or will it be enough?
As far as I know, these two partitions store most of the data, maybe system stores data too, like system apps.
Can you also provide me some commands for the process?
Thank you!
gurtnyi said:
Hi there everyone!
A few days ago, I was wondering about taking a full backup of my phone. I thought about titanium backup, but I also red something about extracting a partition as an image from the device. And then, I came up with an idea:
Is it possible to extract the userdata and the data partition as an image on this device? (I know that boot image can be extracted)
And if it's possible, after a full wipe and reflash of the phone, can I also flash these two images to get back my user data and the data of my apps? Or will it be enough?
As far as I know, these two partitions store most of the data, maybe system stores data too, like system apps.
Can you also provide me some commands for the process?
Thank you!
Click to expand...
Click to collapse
use twrp for that
tutibreaker said:
use twrp for that
Click to expand...
Click to collapse
Does it also backup the full data partition including /data/media ?