Question Taking a full backup - Redmi Note 10S

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 ?

Related

[Q] Nandroid Backup - Transfer?

Came up with a question/idea...
Would it be possible to transfer backups from one phone to another... as long as its the same build/device?
IE: I build a fresh install of a rom, with several mods, then make a backup, then transfer that backup to a friends 'Stone and he installs it from the OR menu?
Figured i would ask on here before i actually try it & have the possibility of screwing his phone up.
yes
if you have two same model
warning : after recovery please erase data partition (push the factory reset) (if you not two phone has same google account and etc)
dateno1 said:
warning : after recovery please erase data partition (push the factory reset) (if you not two phone has same google account and etc)
Click to expand...
Click to collapse
It's simpler to not backup the data partition at all.
Can someone please explain to me all the categories I can backup with Nandroid backup?
Specifically what each thing backups (system, data, cache...).
Or if someone could provide me with a link which describes it in detail.
Thanks in advance
SWEET! Just got done with the transfer, and it works perfectly! So... pretty stoked about that! Glad i could do it that way instead of building a rom all over again and doing all the add-ins and everything else. This was much simpler!
you will need to backup the boot,recovery,system partition and after flashing please do erase data/cache

[Q] The wisdom of formatting the system partition

I'm getting ready to update my old ParanoidAndroid (with CWM v5.5.0.4) with the CarbonRom.
I've backed up all kinds of logs, settings, and data that I think I may want to restore with the new rom.
I've also made a CWM backup (although of course I hope not to use it).
My question is - should I format the system partition (from CWM, Mounts & Storage option) before flashing the new rom?
I've seen people say emphatically that to get a clean install you need to do this.
Yet I've seen other's write just as insistently that you should NOT format the system partition. Do they say this because it is too dangerous? If I format the system partition and then for some reason the new rom won't load, does that mean my CWM is wiped out, making it difficult to recover?
I think I do want the system format because I don't want a bunch of old files hanging around ... but I want to make sure this is not too dangerous.
I've also seen others who recommended also formating the boot partition. Is there any value in that? Sounds even more dangerous ... no?
~Paul
pmennen said:
I'm getting ready to update my old ParanoidAndroid (with CWM v5.5.0.4) with the CarbonRom.
I've backed up all kinds of logs, settings, and data that I think I may want to restore with the new rom.
I've also made a CWM backup (although of course I hope not to use it).
My question is - should I format the system partition (from CWM, Mounts & Storage option) before flashing the new rom?
I've seen people say emphatically that to get a clean install you need to do this.
Yet I've seen other's write just as insistently that you should NOT format the system partition. Do they say this because it is too dangerous? If I format the system partition and then for some reason the new rom won't load, does that mean my CWM is wiped out, making it difficult to recover?
I think I do want the system format because I don't want a bunch of old files hanging around ... but I want to make sure this is not too dangerous.
I've also seen others who recommended also formating the boot partition. Is there any value in that? Sounds even more dangerous ... no?
~Paul
Click to expand...
Click to collapse
You can format system,data, internal storage and cache without any worries if you are on PA rom read install instructions in carbon rom thread after or before.
Sent from my GT-N7000 using Tapatalk

[Q] Browsing a TWRP backup?

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

Xiaomi Mi A2 (jasmine) can I update stock ROM via TWRP

Good Morning, I want to upgrade brother device to new version of android (because he can`t install security updates for unknow reasons), but I affraid that he loose all apps and settings (he is a firefighter and have app from firefighter station which signals dangerous traffic etc.) So my question is can I update downloaded stock ROM via TWRP (adb sideload) without fears that he loose everything?
iHusky said:
Good Morning, I want to upgrade brother device to new version of android (because he can`t install security updates for unknow reasons), but I affraid that he loose all apps and settings (he is a firefighter and have app from firefighter station which signals dangerous traffic etc.) So my question is can I update downloaded stock ROM via TWRP (adb sideload) without fears that he loose everything?
Click to expand...
Click to collapse
The only thing that will take your fear, is a backup of all important partitions (boot, system, data, vendor, efs, persist), stored externally, plus a copy of the internal storage content, also stored externally.
With that you should be able to restore everything to the exact point it is at right now, so you'll really need to mess up hard to not come out of basically any situation with those partitions saved.
As for your inital question:
Why don't you just update via ota if you wanna stay on stock?
Phil_Smith said:
The only thing that will take your fear, is a backup of all important partitions (boot, system, data, vendor, efs, persist), stored externally, plus a copy of the internal storage content, also stored externally.
With that you should be able to restore everything to the exact point it is at right now, so you'll really need to mess up hard to not come out of basically any situation with those partitions saved.
As for your inital question:
Why don't you just update via ota if you wanna stay on stock?
Click to expand...
Click to collapse
Because, brother have error, while try install security updates, but he have from March this year
And this is not possible to make update, because after click backup (Data partition) I get error "cannot create data/media/0/TWRP
iHusky said:
Because, brother have error, while try install security updates, but he have from March this year
And this is not possible to make update, because after click backup (Data partition) I get error "cannot create data/media/0/TWRP
Click to expand...
Click to collapse
Okay, so maybe first copying internal storage content to your PC and backup important apps would be sufficient then.
For apps you can use Titanium Backup (good, but makes troubles on android 10 at the moment), Swift Backup (recommend by many others) and more.
These backup solutions save apps and app data on your phone, so copy that to an external place, or you might lose them if you need to format data (which I'll suggest).
After your "backups" are made, I would wipe every partition in each slot, which you can also achieve with a "fastboot -w", and then also format data - the one where you need to type "yes" (which will also erase all internal storage content, but most probably will also solve your troubles).
From here there are tools like miflash or fastboot images to reflash stock (inform yourself about them, before you start all that!).
Be sure to flash the latest one right away, so you won't be in the need of "dirty" updates immediately again.
Afterwards, you can copy back the internal storage content and the folder of the backup app, and restore the previously saved apps.
Phil_Smith said:
Okay, so maybe first copying internal storage content to your PC and backup important apps would be sufficient then.
For apps you can use Titanium Backup (good, but makes troubles on android 10 at the moment), Swift Backup (recommend by many others) and more.
These backup solutions save apps and app data on your phone, so copy that to an external place, or you might lose them if you need to format data (which I'll suggest).
After your "backups" are made, I would wipe every partition in each slot, which you can also achieve with a "fastboot -w", and then also format data - the one where you need to type "yes" (which will also erase all internal storage content, but most probably will also solve your troubles).
From here there are tools like miflash or fastboot images to reflash stock (inform yourself about them, before you start all that!).
Be sure to flash the latest one right away, so you won't be in the need of "dirty" updates immediately again.
Afterwards, you can copy back the internal storage content and the folder of the backup app, and restore the previously saved apps.
Click to expand...
Click to collapse
I tried MiFlash, but without wipe anything, and it don`t upgrade version of system
But if I must, flash 2 slots A/B using MiFlash or one slot (A) is for system?
You can just download the zip file with version u want from the site below and flash it via TWRP making cache and dalvik cache wipes and changing slots at the end.
https://mifirm.net/model/jasmine.ttt#zip-mif
pfss said:
You can just download the zip file with version u want from the site below and flash it via TWRP making cache and dalvik cache wipes and changing slots at the end.
https://mifirm.net/model/jasmine.ttt#zip-mif
Click to expand...
Click to collapse
So, I don't need
to flash second slot?
iHusky said:
So, I don't need
to flash second slot?
Click to expand...
Click to collapse
Just if u want. It's not necessary.
In october I updated mine this way but forgot to change the slot before rebooting to the system and realized that was in the old Android version. I just went to TWRP again and changed slot. After rebooting, the phone was in the updated Android One.
pfss said:
Just if u want. It's not necessary.
In october I updated mine this way but forgot to change the slot before rebooting to the system and realized that was in the old Android version. I just went to TWRP again and changed slot. After rebooting, the phone was in the updated Android One.
Click to expand...
Click to collapse
I tried using fastboot and MiFlash but after all it stuck on bootloader
iHusky said:
I tried using fastboot and MiFlash but after all it stuck on bootloader
Click to expand...
Click to collapse
I just updated mine to November patch downloaded from here: https://mifirm.net/downloadzip/4197
I entered fastboot mode, executed
Code:
fastboot boot my_twrp_image_file.img
In TWRP made de wipes, flashed the ROM, changed slot and rebooted phone. It looks like it's normal.

Question Does TWRP backup everything?

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

Categories

Resources