Create a backup, root phone and unlock bootloader, restore the backup? - Fairphone

Hi,
I would like to root my phone with Magisk, however I know that I'll have to unlock the bootloader.
When unlocking the bootloader, all my data is wiped, so it's obvious to create a backup first.
How should I create a backup?
I would like to make it so that I can easily restore the backup, and it restores my launcher, settings, my apps (and the app data), files, and basically everything. So after restoring, nothing has changed, except that it had been rooted.
Would this be possible?
I know Swift backup only supports backing up settings and such when the phone is rooted, and mine is not.
I've bought a Murena Fairphone 4, which is basically the fairphone 4, but with /e/ OS preinstalled. Idk if that's important...

Related

Before I root...

I've had my Desire for a couple of months now and I love it. I'm still running stock eclair on there (T-Mobile UK), but I'm going away in a week and will want to use my iPod touch to get on some apps I have, so I was looking into wireless tethering.
Now, I've rooted a G2 and loaded custom firmware before, so I have a vague idea what I'm doing and I'm sure the tuts on here will help me out, but reading over them, there doesn't seem to be a way to root my phone without losing data.
Basicially, I want to root it at the least but keep ALL of my data on there. Once it's rooted, I'll have no problems loading custom ROMs on there as I can do a NAND backup of my current data, play with custom ROMs then restore the backup, right?
So my questions summed up:
Can I root without losing my current data? This includes everything, I want my phone as is after the root.
Will a NAND backup take an image of the current phone data's state?
Can I restore the NAND backup image and carry on using the phone as if nothing ever happened?
Rooting will cause your phone to lose data, you need a program called MyBackup Pro (you can use the trial to backup/ restore) until you have rooted and can install titanium backup / rom manager.
yeah the recovery mode nand backup will backup everything so you can restore your phone system back to normal.
the HTC sense backup feature will backup a handful of data settings on your phone, even if you do lose everything and still have your sd you can reflash back to stock and it will restore them 'handful' of settings it saved. Of the top of my head i think it didnt backup screen settings (Display settings) and application data. I do recall the stock htc sense backing up sms, contacts, wifi etc.

Accessing application data... is it possible?

I need the main.db file from the Skype app installed on my HTC One X. The phone is not rooted, and I read that installing a bootloader wipes the phone. Is it at all possible to get ahold of the file in any way? Is it possible to use a recovery tool to view the deleted files after unlocking the bootloader? Would it be possible to buy another HTC phone, bootload that, do a system transfer from the locked phone to the new and be able to access the files then? What about doing a system back-up to the pc? (since HTC writes that it will include free apps in the back-up?).
Thanks for the help!
Spisepinden said:
I need the main.db file from the Skype app installed on my HTC One X. The phone is not rooted, and I read that installing a bootloader wipes the phone. Is it at all possible to get ahold of the file in any way? Is it possible to use a recovery tool to view the deleted files after unlocking the bootloader? Would it be possible to buy another HTC phone, bootload that, do a system transfer from the locked phone to the new and be able to access the files then? What about doing a system back-up to the pc? (since HTC writes that it will include free apps in the back-up?).
Thanks for the help!
Click to expand...
Click to collapse
nope there never was a root exploit for locked bootloader.
However there is this app. Helium:
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
It says it can backup apps with data without the need for root. However this app relies on the fact that the app developer must have the backup flag set to allow. Developers who sell for example a banking app always denies this flag. This is to make it unable to a hacker to just transfer the app and data to another phone and hijack your banking account. Its a free choice to set this flag so its very much a guess if a particular app will be able to backup or not.
Try Helium, backup skype and restore it on some other phone you have and see if the data survives. Or boot a virtual machine with android if you don't have any other android phone.
I've never used the Helium app. I've always stuck with "mybackup pro" since it was first released or titanium. But these apps requires root.
Its been so many years I don't remember how stock rom looks like. But I know there is a backup function that backup apps and etc.
Read this manual: (go to page 104)
http://dl4.htc.com/web_materials/Manual/HTC_One_X/HTC_OneX_plus_User_Guide_MR.pdf
I'm not sure if this backup the app data..? I would not rely on this solution.
Thank you I'll try Helium and cross my fingers, then the HTC back-up if that fails. The back-up says it also transfers program data of free apps, so maybe I'll be lucky. I've seen a thread somewhere on restoring files post-bootloader installation - that'll be my last option if all else fails.
Spisepinden said:
Thank you I'll try Helium and cross my fingers, then the HTC back-up if that fails. The back-up says it also transfers program data of free apps, so maybe I'll be lucky. I've seen a thread somewhere on restoring files post-bootloader installation - that'll be my last option if all else fails.
Click to expand...
Click to collapse
Yes I forgot to mention that part. You could use the built in backup tool in stock rom. Once its finished. Unlock the bootloader and then try and restore your data once the phone is back up again and running.
Of course make sure that the backup you made earlier is secure before unlocking the bootloader.
Perhaps it will work I dunno. But at least its worth a try.

Urgent help for backup

Dears, I have nothing but 24 hours to backup my beloved OP3 before the carrier comes to bring it in RMA (burn in problems on display).
Some files have been directly taken from the device (e.g., videos and photos), some others have been backupped by means of OP Switch... but the latter won't save application files and that's it, I need urgently to entirely backup & restore (as they were) some application such as Google Authenticator .
I heard Titanium Backup could do the magic but unfortunately I'm not rooted, and doing this might result in a lose warranty (which is not the case to risk, due to the fact the phone might be repaired in warranty).
Any tip? Tried with adb pull to get the Google Authenticator DB as read in several web pages, but got no luck ( I think it's a permission issue ).
Thanks, your help is highly appreciated.
OnePlus supports device customization so unlocked bootloader and root shouldn't be an issue, so I'd go with Titanium.
That said, there's a Helium app (and desktop program) that's supposed to be able to backup app data without root. Sounds like you'll have to install apps fresh, but then you can restore their data. Never tried it myself though. Here's a link with a quick guide: https://www.androidpit.com/how-to-backup-and-restore-app-data-with-or-without-root
Sent from my OnePlus 3 using Tapatalk
THanks,
unfortunately, unlocking the bootloader results in a complete wipe of the device, so that's not an option.... Tried the Helium app, didn't understood that well how it works but when it comes to a backup of 84 apps' data, in the restore phase i can see only 16. That said, probably it's a matter of proper authorization performing the backup (that is to say, root is not necessary, but without root you can backup only 1/10 of your apps data).

Current Preferred Backup/Restore Method when Wiping the Device?

It's been awhile since I've dabbled with messing with my phone much (on the 2XL, had a 6P before that and unlocked it but that was it). I am thinking it might be time to wipe the device and start fresh, but wondering what the "best" method for backing up and then restoring is for the wipe. I was never great with making the proper backup to restore from so usually ended up re-adding stuff manually and setting everything up again - would love to avoid that. Is the android/google drive backup and restore option sufficient? Is there a better method out there? I don't have a ton of customizations on this phone this time around but avoiding the hassle would be sweet. All photos are backed up to drive, and I can turn on to backups a few other folders as well. Otherwise its just passwords, wifi networks, bluetooth devices, home screen setup, app settings, etc, etc that I hope to maintain.
Also, this phone is NOT unlocked yet but I will probably do that when I wipe it.
I've never used the native backup and restore method, so I can't really comment on that.
- I use Titanium Backup for all my apps
- I create a Nova backup for my launcher (Nova Launcher)
- I transfer my internal storage to my computer (music, photos, videos and so on)
- once I wipe, I restore all that and the only thing I need to setup from scratch is basically everything in system settings, which I've gotten pretty quick at doing now that I've done it several times.
Unfortunately, Titanium Backup requires root, something I guess you can't achieve without unlocking your bootloader first (which requires a wipe).
I guess the best thing would be to try the native backup and restore option or wait for someone else to provide you with better non-root alternatives.
Norcalz71 said:
It's been awhile since I've dabbled with messing with my phone much (on the 2XL, had a 6P before that and unlocked it but that was it). I am thinking it might be time to wipe the device and start fresh, but wondering what the "best" method for backing up and then restoring is for the wipe. I was never great with making the proper backup to restore from so usually ended up re-adding stuff manually and setting everything up again - would love to avoid that. Is the android/google drive backup and restore option sufficient? Is there a better method out there? I don't have a ton of customizations on this phone this time around but avoiding the hassle would be sweet. All photos are backed up to drive, and I can turn on to backups a few other folders as well. Otherwise its just passwords, wifi networks, bluetooth devices, home screen setup, app settings, etc, etc that I hope to maintain. Also, this phone is NOT unlocked yet but I will probably do that when I wipe it.
Click to expand...
Click to collapse
Google Backup has improved vastly over the past year or two, so make sure you have it switched on and actively working (including Photos). It's great. I use TiBu also but I don't use it for any System/GApps- usually only "non-market" and root apps so if you don't have those, you don't necessarily need it, but if you do store it OFFLINE. If you use a 3rd party launcher (eg. Nova), backup your "shortcuts" and settings beforehand OFFLINE. Here's one suggestion:
Disclaimer: Before you start, make sure you have the very latest fastboot/adb binaries installed (August 2018). A standalone version is available you just dump into one folder and verify it is working.
Unlock your bootloader (twice) using sticky guides (Nathan). It's important to do the unlock_critical at the same time. You will be starting from a blank slate. Flash the latest full factory image from Google using the provided script (See the Guide). Once you log back into your account, let Google Backup do it's thing fully and completely. Once finished, run TiBu (OPTIONAL) and restore "missing apps" ONLY which are any apps remaining not already installed by Google Backup. Restore your launcher backup, and you are done. I did this last weekend and from a blank slate it took me about one hour to get back everything the way I had it (not a gamer). If you have no non-market / root apps you can skip TiBu be back up and running even quicker. Google Backups is your friend. In closing, don't under-estimate the value of using a 3rd party launcher and it's built-in backup file. Which ever launcher you choose will really pay dividends when you finish restoring from Google Backup. Your desktop icons, widgets, and all pages will be restored just like you had them before. Best of luck.
Appreciate the response, thanks. Is the desktop/home screen config only able to be backed up and restored with the 3rd party launcher? Haven't touched a different non-stock launcher since I think Nova on my Samsung S4, but sounds like there could still be a benefit there?
v12xke said:
Google Backup has improved vastly over the past year or two, so make sure you have it switched on and actively working (including Photos). It's great. I use TiBu also but I don't use it for any System/GApps- usually only "non-market" and root apps so if you don't have those, you don't necessarily need it, but if you do store it OFFLINE. If you use a 3rd party launcher (eg. Nova), backup your "shortcuts" and settings beforehand OFFLINE. Here's one suggestion:
Disclaimer: Before you start, make sure you have the very latest fastboot/adb binaries installed (August 2018). A standalone version is available you just dump into one folder and verify it is working.
Unlock your bootloader (twice) using sticky guides (Nathan). It's important to do the unlock_critical at the same time. You will be starting from a blank slate. Flash the latest full factory image from Google using the provided script (See the Guide). Once you log back into your account, let Google Backup do it's thing fully and completely. Once finished, run TiBu (OPTIONAL) and restore "missing apps" ONLY which are any apps remaining not already installed by Google Backup. Restore your launcher backup, and you are done. I did this last weekend and from a blank slate it took me about one hour to get back everything the way I had it (not a gamer). If you have no non-market / root apps you can skip TiBu be back up and running even quicker. Google Backups is your friend. In closing, don't under-estimate the value of using a 3rd party launcher and it's built-in backup file. Which ever launcher you choose will really pay dividends when you finish restoring from Google Backup. Your desktop icons, widgets, and all pages will be restored just like you had them before. Best of luck.
Click to expand...
Click to collapse
Sent from my Pixel 2 XL using Tapatalk
Norcalz71 said:
Appreciate the response, thanks. Is the desktop/home screen config only able to be backed up and restored with the 3rd party launcher? Haven't touched a different non-stock launcher since I think Nova on my Samsung S4, but sounds like there could still be a benefit there?
Click to expand...
Click to collapse
If you are asking how complete the stock Pixel launcher backup is (or if it even offers a backup), I cannot answer. I have always used Nova on all my devices and can only speak to the backup/restore capabilities of it. I don't want to get up on a soap box here, but Nova is worth every penny. Once you restore all your apps, run the launcher backup/restore and you are DONE. Everything is back. Once, I lost my tablet launcher backup and used my Nova phone backup and it restored perfectly to my tablet. I would venture to say that if the launcher is not backed up, THAT is where all the time is in recovering an existing setup. Creating pages of shortcuts and widgets is a pain and that is even if you kept screenshots of them. I also know Nova will "import" your Google launcher settings, so you can easily switch over to Nova before your wipe and then backup your settings. Give it a whirl.
I always used Titanium Backup and still do as a backup but Swift Backup has become my main app for flashing and restoring between ROMs etc. Nicer interface and I don't have to pick and choose between stuff I want to restore as much compared to batch restore missing apps on Titanium.
Titanium Pro and TWRP nandroid...

Question complete backup of system/apps/data on non-rooted OP9P (from a newbie at OP9P)

Hello to the community,
I am quite new here at OP9P (had several Samsung and one Huawei smartphone before) and I have a question:
How can I backup my complete system (incl. all apps and data) on my OP9P (not rooted) with Orginal software (OOS LE2123_11_C.48) and restore it if necessary? So far I have not found a solution while searchin the net (only with rooted phone)....
It would be nice if someone from the community could give me a tip (maybe a tutorial)
Many thanks already...
Greetings from hot Bavaria/Germany
Assuming you are talking about a system image, you don't need root, but you need a custom recovery for this, which in turn requires an unlocked bootloader.
If you haven't unlocked the bootloader yet, be aware that when you unlock it the 1st time, everything on your device will be wiped. For Samsung devices, this process will trip the Knox counter permanently, and void warranty.
With root, you'll be able to backup individual apps and their data.
In short, without root, there is no way to backup app data from within the system. And without a custom recovery, you cannot take a system image.
Android Backup is pretty limited without root. iOS backups are better in this aspect because you can backup all app data.
Thx for your fast reply... This is what i thought of too... Big thx anyway bro
actually, the only known workaround to backup all app data without root is with D2D transfer apps like
Clone Phone (still that won't help you on bricked device)
How do you access the D2D (Device-to-Device) Data Transfer functionality?
So, as of Android 12, rightfully so: https://developer.android.com/about/versions/12/backup-restore For apps running on and targeting Android 12 and higher: Specifying android:allowBackup="false" does disable backups to Google Drive, but doesn’t...
forum.xda-developers.com
Root phone and Download Swift Backup
Thank me later too
Thx...
fmmatt23 said:
Root phone and Download Swift Backup
Thank me later too
Click to expand...
Click to collapse
Root phone?
Before rooting, you have to unlock bootloader. Doing that will wipe everything. What will he backup then?
fmmatt23 said:
Root phone and Download Swift Backup
Thank me later too
Click to expand...
Click to collapse
I use FTP Server Pro along with Filezilla Client on my computer too for non-app data. i.e. Everything else. If you're rooted then you can poke about in system folders too.
Once you copy everything into a folder, it makes it easy to backup/restore the whole storage.

Categories

Resources