System wide backups? - Redmi Note 9S / Note 9 Pro (Indian Model) Question

I have failed to find any working method to backup and restore the whole Android system. In other phones I use TWRP, but the one available for this device does not work + lack of sources is suspicious.
Is there any solution to backup the whole system for Note 9S?

Related

How to backup phone without recovery installed?

Hi,
is it possible to backup a rooted android phone without recovery?
Backup must cover system apps, settings and maybe even all partitions - as much as possible
Thanks
As far as i know all "backup apps" cover only user apps and maybe system app settings, but i havent found any which includes all system apps itself too! Is there something which covers that too? Or asked with different words, is there a app (with root privilege) which can back up entire system partition?
Yes, with this app: https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup&hl=en_GB Online Nandroid Backup you can make a CWM or TWRP backup of everything on your phone, this works and have used it myself to make a backup when there was no custom recovery for my phone.
THIS app: https://play.google.com/store/apps/details?id=com.h3r3t1c.bkrestore&hl=en_GB Nandroid Manager says it can restore the backup you have made, but have never used it so cant confirm.
The first app saved everything from a stock rom so I could get all the files I needed to port a new rom, and all my data and apps so I know that works fine.

How to create a full backup of an Android Tablet.

Hello everyone, I'm a newbie here so I am sorry if I posted in the wrong forum.
I've been struggling for days now and didn't get the best way to do it. I have around 140 Tablets that should be programmed and configured the same for a School. I searched for best ways to make a full backup of the one device and restore them to other with no luck yet.
First the Tablet is Chinese
Name & Model: Eken E902
Build Number: astar_m900-eng 4.4.2 KVT49L 20160322 test-keys
Kernel Version: 3.4.39
Firmware is exdroid4.4.2_r2-a33-v2.1
O/S version is Kitkat 4.4..2
I tried adb backup however it only creates a 1KB file "adb backup -all -f C:\filenameichoose.ab"
When I boot into recovery mode all I see it
- reboot system now
- apply update from ADB
- wipe data/factory reset
- wipe cache partition
- apply update from internal storage
- apply update from external storage
- apply update from cache
Fastloader is locked and couldn't find a way to unlock it. I installed Kingroot App (kingroo dot net) to root the device. Then installed Titanium Backup Pro to create a backup. However when restoring I didn't get the result I was looking for some Apps are missing there app data and other apps seach as Google Play Service where not updated. Plus some apps where moved to SD as installation also this wasn't configured, also i didn't backup the system files as I was able to change only the boot logo and not the initlogo or animation also this wasn't backed up and restored. That means Titanium Backup pro will help you half the way it should be.
I tried Helium backup didn't work. I installed so many PC softwares also with no luck to get the thing i'm looking for. So I thought of creating my own rom based on one tablet and flash it on the other tablets however this is risky and we might lose the tablets.
So please advice me of the best way and best tools for my request, thank you in advanced.

Will TWRP make a full NAND backup? Any pitfalls / limitations?

A long time ago while installing TWRP & rooting the tablet using the DirtyCOW exploit, I lost my entire user partition due to it being encrypted.
Currently am trying to switch my root from SuperSU to Magisk Systemless.
I don't want the possibility to lose my user data or /system modifications if anything goes wrong. I made a lot of edits here and there to tweak the tablet to my liking, and would hate to have everything lost.
To preserve its current state, I want be create a full TWRP backup.
I would like to make sure, that the TWRP backup is a full NAND backup that will let me revert to the current state no matter what I do to the tablet. Eg, it acts like a true system snapshot.
- My /data partition is showing up as 0bytes (Unknown Errror 150)
- I read that a /system backup is worthless due to dm-verity. For a working backup you need a block exact system-image backup.
Anyone have a guide on how to create a non worthless backup>? I am on TWRP 3.0.2-0 (ancient I know)

How to restore a /data partition on Android Q from tarball after factory reset?

Hi! So, I have a newer Android 10 device with no TWRP support. I think my question is not model specific, so I'm posting generally, but if it matters, it's a OnePlus 7T Pro, bootloader unlocked of course.
Anyway, since there's no good custom recoveries for Android Q (none that I know of that can decrypt /data), I was trying to be safe and using a hacked (adb enabled) stock recovery to make backups from the command line. I have a nice tarball created in recovery mode with "tar cvf - /data/". It looks like it was made properly, I can unpack the files on back onto the device in recovery mode, and it's not corrupt or anything.
The problem is that naively trying to restore it back to my /data partition (e.g. tar xvf) after a wipe causes two problems:
1) after rebooting to recovery, the /data partition just looks encrypted again. If it was working properly, stock recovery can decrypt /data
2) normal system boot just bootloops.
If anyone has tried manually saving and restoring /data from a tarball, I'd appreciate any tips on getting it to work.
My best guess is that the ext4 encryption keys are the culprit - since after a factory reset the device creates new encryption keys, I think I need to figure out how to restore 99% of my backup without overwriting the fresh encryption keys that were created after wiping. I think I need to combine the new encryption keys with the other files in my tarball backup. If I can get past that, I might have to worry about things like SELinux xattrs as well, but one thing at a time.
If any experienced Android hackers know how filesystem encryption works in Android 10, I would appreciate a map of which files should not be overwritten. For example, I'm thinking I should probably avoid restoring some of these files:
Code:
/data/unencrypted/key
/data/unencrypted/key/encrypted_key
/data/unencrypted/key/keymaster_key_blob
/data/misc/vold/user_keys
/data/misc/vold/user_keys/de/0/keymaster_key_blob
/data/misc/vold/user_keys/de/0/encrypted_key
/data/misc/vold/user_keys/ce/0/current/keymaster_key_blob
/data/misc/vold/user_keys/ce/0/current/encrypted_key
/data/misc/systemkeys
/data/misc/keystore
/data/misc/keychain
/data/system/recoverablekeystore.db
[edit] spoke too soon
I ended up doing something janky and wrote a little shell script to repack the files from /data/data and /data/app into files that Titanium Backup could understand. I also figured out how to restore my SMS messages from /data/user_de. That was enough to recover the things I cared most about.
Still begs the question of what's the best method of doing backup and restores of /data on Android 10 when you don't have custom recovery but you do have Magisk, root, and stock recovery with adb. I want to keep hacking and playing with this phone so gotta figure something out.
I like Titanium Backup, have used it for many years, but the maintainance hasn't really kept up with Android development, theres a lot of gotchas like it hangs trying to restore multi APK packages. I still want to figure out something more seamless like a nandroid backup solution even if its from the command line. At least until TWRP eventually supports Android 10.
try backing up data partition in a external storage live usb or sd card
DrWowe said:
I ended up doing something janky and wrote a little shell script to repack the files from /data/data and /data/app into files that Titanium Backup could understand. I also figured out how to restore my SMS messages from /data/user_de. That was enough to recover the things I cared most about.
Still begs the question of what's the best method of doing backup and restores of /data on Android 10 when you don't have custom recovery but you do have Magisk, root, and stock recovery with adb. I want to keep hacking and playing with this phone so gotta figure something out.
I like Titanium Backup, have used it for many years, but the maintainance hasn't really kept up with Android development, theres a lot of gotchas like it hangs trying to restore multi APK packages. I still want to figure out something more seamless like a nandroid backup solution even if its from the command line. At least until TWRP eventually supports Android 10.
Click to expand...
Click to collapse
try backing up data partition in a external storage live usb or sd card, first you for encryption, then restore from external source after formatting phone storage

Realme 6 Partitions

When viewing the filesystem partitions in the recovery (TWRP, PBRP, etc) of a Realme 6 there are a lot more than most other Android phones. What I want to know is, what is the purpose of each one, how important are they (or are they even necessary), which partitions should be included in a backup (a backup comprehensive enough that it would be possible to format the device and restore the OS, all data, apps, etc to exactly the point it was before the format), and which partitions are modified when a custom ROM is installed?
WurtleDaTurtle said:
When viewing the filesystem partitions in the recovery (TWRP, PBRP, etc) of a Realme 6 there are a lot more than most other Android phones. What I want to know is, what is the purpose of each one, how important are they (or are they even necessary), which partitions should be included in a backup (a backup comprehensive enough that it would be possible to format the device and restore the OS, all data, apps, etc to exactly the point it was before the format), and which partitions are modified when a custom ROM is installed?
Click to expand...
Click to collapse
i accidentally lost my device (realme7) partitions because of spflashtool

Categories

Resources