How to scrub identifying information from TWRP backups? - Android Q&A, Help & Troubleshooting

I'd like to help out a fellow xda user who requested a stock flashable ZIP, meaning a TWRP backup of the stock clean system.
However, I'd like to make sure no identifying information is in the backup before sharing it, including
IMEI
MAC addresses
Any other device IDs unique to my device
Keys
System logs
NFC data and logs
Wifi passwords and list of Wifis found during the last scan(s)
Personal data (e.g. photos) - though from what I read those aren't backed up anyway
Old deleted data
How can I make sure (and ideally verify) the backup doesn't contain this information?

Related

Quick questions before I flash a rom

Hey all! I'm new to android and am ready to flash a rom. However, I am concerned that i will lose some gamesave/App data.. I have used titanium backup to backup all system and app data with the batch feature.. Can I just run the restore all feature to get everything back the way it was? Will i have to replace all my widgets?? It just seems to simple! Thanks!
Titanium backup will restore your apps and data.....and system data. It is very important that when you restore, if you have backed up any system data, do not restore that. The rom you flash will have its own system data, so you don't wan't to load your old data over that. Force close city. Just restore "user apps" and it will be just like you left it. As far as your widgets, yes, you will have to restore them. All your wifi access, wallpaper, etc is linked to your google account (if you have it checked under settings>privacy.)
another approach, slightly different, but can accomplish the same end goal is using nandroid provided in the custom recovery. i personally prefer nandroid as the source code is available online (i.e. everybody can view exactly what operations it is performing) where as titantium backup does not publish its source code.
before flashing a rom, i'd do a full nandroid backup. after you've flashed the rom, your data *should* still be intact as most ROM's are not scripted to wipe your personal data when you flash them. if for some odd reason your personal data is erased from a ROM flash, which it shouldnt, you can chose to nandroid restore just the /data partition, which is where all custom settings and user data are kept, other than a few which store on the /sdcard.
hope that makes sense and good luck!

[Q] Trouble restoring data backed up with Titanium Backup

Hello, I was handed an i9100 with stock Samsung GB on it and requested to migrate it to cm10.x. I backed up accounts, bt pairings, bookmarks, call logs, messages, and wifi access points with Titanium Backup 6.1.4.3, then flashed dorimax kernel and then cm 10.1.3 stable. now i'm trying to restore all data backed up prior and unfortunately find i'm unable to do so...
I've tried with "migrate system data" both enabled and disabled in TiBU preferences, i've tried restoring the normal android way and file way but it's not working
Is there any chance of success here or will i have to go back to stock gb, try restore all data, backup using another app and then flash cm 10.1.3 again? very lengthy procedure hence i'm reluctant to proceed with this route...
System data restore is a big no-no from one Android version to another. User apps & data only (and even then some data might not play nice for various reasons). Don't forget, you're making a huge leap going from GB to CM10, a lot changed (in Android).
Edit - Call logs/msgs are easy enough to backup/restore though; use the backup/restore to/from XML in Ti. The other stuff you'll need to setup manually (BT & WiFi stuff). Accounts you should be able to restore the normal way (Google, Samsung, Firefox, whatever). No need to use Ti.
MistahBungle said:
System data restore is a big no-no from one Android version to another. User apps & data only (and even then some data might not play nice for various reasons). Don't forget, you're making a huge leap going from GB to CM10, a lot changed (in Android).
Edit - Call logs/msgs are easy enough to backup/restore though; use the backup/restore to/from XML in Ti. The other stuff you'll need to setup manually (BT & WiFi stuff). Accounts you should be able to restore the normal way (Google, Samsung, Firefox, whatever). No need to use Ti.
Click to expand...
Click to collapse
i was just able to restore accounts from the titanium backup created earlier, involved pasting accounts.db file into data/system/users/0 folder.
unfortunately, the phone owner's contacts weren't being sync'd with the google account so i think i'm in hot water there
i might also be able to restore wifi, bt etc. as they only involve pasting files from titanium backup into the appropriate folder but contacts and messages seems to be a huge problem for me

Restore Backup - SMS etc.

Hi everyone,
i hope someone can help me out with the following:
-Before moving to a new phone i've backed up data with an application....(i didn't do myself)
-After trying to restore it looks like the files are not good to be restored.....the fact is that the apps used to back up probably has not been reinstalled and the person now is not able to remember which one he used.
The file format for info,SMS etc. is .txt
and the file structure inside is something like:
{"subCategoriesSms":[{"address":"
"smsType":"TYPE_INBOX","status":"-1","checked":true,"label
if i could understand which backup apps use this set probably i could re-import.
-The phone where the backup was created was rooted, the new one is not....
Hope someone has a clue!
tx

[Q] How to prevent IMEI/NVRAM from being overwritten

I'm "cloning" 200 Jiayu G3 (MediaTek) Android devices for a non-profit organization working in Africa. I make a nandroid backup via CWM of one G3 device and then restore it to the other 200 devices, however the NVRAM/IMEI info (wifi/bluetooth MAC addresses + IMEI #) get cloned as well. Is there way to remove the NVRAM/IMEI data from the Nandroid backup so the device specific identifiers are retained on the other phones? MTKDroid Tools restore process is laborious and it seems the guys who post ROMs are able to prevent overwriting the unique identifiers...
Help on this would be much appreciated!
Is my question not clear enough, or is it a stupid question? Really struggling to find an answer... it seems absurd that there would be no way to retain the unique identifiers other than restoring them via MTKDroid Tools... perhaps someone has written a script to retain the unique identifiers? Or moved them out of the data partition?

Backup without Twrp - live backup due to encrypted data

Hello
When I access twrp I do not have the password to decrypt data.
In the past I used live backup programs such as: flashfire, onAndroid nanobackup or online nanodroid. However they are outdated or do not support the Mi 10.
My objective is to create a zip file that twrp could use to restore data and all other partitions, which is created while the phone is on/live.
Any one has a solution?
Thanks for the help

Categories

Resources