How to backup current system? - X Play Q&A, Help & Troubleshooting

I want to try Cyanogenmod on my Moto X Play but want to be able to go back and Motorola/Lenovo doesn't offer the ROM. Of course there's the links around here that are supposed to be official but I'm still a little worried so I'd rather backup an image of my own phone if possible. How can I do that?
Thanks!

1. Root your phone.
2. Install latest version of TWRP.
3. Boot into recovery.
4. Perform backup (to external SD card).
Sent from my XT1563 using XDA-Developers mobile app

Skeptico said:
1. Root your phone.
2. Install latest version of TWRP.
3. Boot into recovery.
4. Perform backup (to external SD card).
Sent from my XT1563 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks!
What about ADB? The point is I want to be able to go back to an unrooted factory ROM if I decide. Can this be done? With adb backup -apk -shared -all is that what this does?

Related

[Q] Which custom recovery are you using?

Which Custom Recovery are you using? and why?
can't delete old backups
philippecr said:
Which Custom Recovery are you using? and why?
Click to expand...
Click to collapse
I just realized that CWM has a problem on Nexus 7. Can't delete old backups!! You can't delete files in the CWM backup folder thru file explorer, terminal with SU or ADB. For that, and so many other performance reasons, I dropped CWM faster than drunk girl in stilettos. TWRP is what I use on my Galaxy S2 and I just love it. You can queue up several zips for install in order, like: 1) TDJ cache wipe, 2) install ROM, 3) install Gapps, 4) TDJ cache wipe again. then, come back 2 minutes later, and you're ready to reboot. ALso, TWRP has a file manager in recovery, so you can actually delete those annoying backup folders that CWM won't even let you delete. TWRP FTW.
I also notice that TWRP has the nice backup options for "System/Boot/Data" backup only. So I can clean backup my rom without all those apps(which is HUGE)
guess I'll need to put back TWRP in my Nexus 7 again.
TWRP. I tried the latest CWM but even the touch version is not that good for me. Also the De duplication backup of CWM is just not quite right in my opinion. In my experience, leaving thousand files in the sd card is causing performance problems compared to just few large files.
Sent from my Nexus 7 using xda premium
If I flash Clockworkmod Recovery in Rom Manager and then Reboot into Recovery from Rom Manager, I go right to cwm recovery. I have tested making and deleting nandroid backups there and it works just fine. My backups consist of a folder containing 5 files including an md5 checksum so I don't know what people are talking about with 'thousands of files'. I think the people criticizing CWM don't know how to use it. I just make sure I flash Clockworkmod Recovery in Rom Manager before I Reboot into Recovery. Works every time. I don't use the Touch version, just plain old Rom Manager v5.0.2.1 and CWM 6.0.1.0.
I had installed CWM first, but now I changed to TWRP and I like it much more. With an USB-stick connected you have the possibility to backup / restore ROMs from there directly, which makes much more sense than backing up to internal memory. Also the other options provided for install / backup / restore are well done. Really nice work!
Sent from my Nexus 7 using xda app-developers app
I switch between TWRP and CWM.
Sent from my SGH-T989 using xda premium
TWRP
Big icon easy to use.
CWM, in all honesty, I unlocked and rooted and have never gone back into recovery. Because this is the first device I've ever owned where I didn't feel the need to flash a ROM yet! ( key word,YET) I use my Galaxy S 2 for my flashing addiction.
Sent from my Nexus 7 using xda app-developers app

[Q] Help,infinate reboot!

n4 with 4.3 now, rooted ,installed a fullscreen app ,then reboot as the app told ,,,,,,,,,,then black (but max brightness)screen then google logo then again.....help ,i still have some unsaved photo or files in it ,i can get into recovery, and ive checked that all files are allright ,how can i get them out??
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
the app was made for galaxynexus ,and i could use it when my n4 was in 4.2.2 ,the name was in chinese...,i think i have the twrp ,infact i was in it,buta i can't find it againXD, now i'm in clockworkmod recovery.
andyabc said:
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
can you tell me how can i get in TWRP again? i can only get in CMW recovery now:P
andyabc said:
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
cffh said:
the app was made for galaxynexus ,and i could use it when my n4 was in 4.2.2 ,the name was in chinese...,i think i have the twrp ,infact i was in it,buta i can't find it againXD, now i'm in clockworkmod recovery.
Click to expand...
Click to collapse
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu: https://developers.google.com/android/nexus/images#occamjwr66v
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Ummm, i found there is an Mount function in CWM Recovery ,but my pc has no respond ,besides i did got into the TWRP you said once i just donno how to get there again ,the images are about hundreds imma little bit lazy..anyway thank you very much for your help
andyabc said:
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu:
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
finally after a sleep , i did some search ,then i successfully saved my files by using ADB Pull !!(it really took me a looooong time) and i guess there is no way to boot again now so i decide to flash to 4.3 rom
andyabc said:
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu:
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse

[Q] [Newbie Question] In what order do I update recovery/rom/kernel/root

Heya,
After some months using stock rom decided I wanna juice it up.
I used to flash roms on my S2 a lot, but its been a while.
I see all kind of install instructions in threads saying I need to have root before I can install that or that, but currently my phone is not rooted.
I wiped it clean using factory reset, so I guess I am good to do.
What do I do first and how (download mode / just open up a zip from my phone)
The end goal is have a rooted phone with some neat rom (Currently downloaded Pardus HD Rom, but didn't install anything yet).
Thanks
1. Root using towelroot (run the downloaded *.apk, then install SuperSU)...
https://towelroot.com/
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
2. Install TWRP recovery using AutoRec...
http://forum.xda-developers.com/showthread.php?t=2715496
3. Download ROM to your phones internal storage (this step can be done prior to rooting)
4. Install and use Quick Boot to boot to recovery...
https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot
5. Install ROM from recovery
Note: If you'd rather use CWM recovery, then flash PhilZ Touch from TWRP...
http://forum.xda-developers.com/showthread.php?t=2554053
redduc900 said:
1. Root using towelroot (run the downloaded *.apk, then install SuperSU)...
https://towelroot.com/
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
2. Install TWRP recovery using AutoRec...
http://forum.xda-developers.com/showthread.php?t=2715496
3. Download ROM to your phones internal storage (this step can be done prior to rooting)
4. Install and use Quick Boot to boot to recovery...
https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot
5. Install ROM from recovery
Note: If you'd rather use CWM recovery, then flash PhilZ Touch from TWRP...
http://forum.xda-developers.com/showthread.php?t=2554053
Click to expand...
Click to collapse
Can't express how helpful this post was, thanks a lot!
redduc900 said:
1. Root using towelroot (run the downloaded *.apk, then install SuperSU)...
https://towelroot.com/
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
2. Install TWRP recovery using AutoRec...
http://forum.xda-developers.com/showthread.php?t=2715496
3. Download ROM to your phones internal storage (this step can be done prior to rooting)
4. Install and use Quick Boot to boot to recovery...
https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot
5. Install ROM from recovery
Note: If you'd rather use CWM recovery, then flash PhilZ Touch from TWRP...
http://forum.xda-developers.com/showthread.php?t=2554053
Click to expand...
Click to collapse
thanks for this, but I still have some doubts!
Should I do a nandroid backup if I ever want to go back to stock? or LG has another way of backing up?
My real question is, if I flash TWRP then If I have to go back to stock would it help to have a backup of my phone and just restore from TWRP? and when restoring the backup how I get the stock recovery?
thank you again
Creating a nandroid from recovery (TWRP, CWM, etc.), then restoring the backup, will not revert the phone back to "stock" condition. If you need to unroot and / or revert to stock recovery, then you'll need to use either the *.kdz or *.tot method to do so. A nandroid backup saves the following...
The operating system itself (so you can make a copy of your stock or custom ROM and return to it if desired)
All apps (including those you installed yourself or that came with the device)
All games and your progress in them
All pictures
All music
All videos
All text and picture messages
All wallpapers
All widgets
All ringtones
All login and account settings
All system settings
All stored passwords, including WiFi passwords
Click to expand...
Click to collapse
What Is A Nandroid Backup and How Exactly Does It Work?
http://www.makeuseof.com/tag/what-is-a-nandroid-backup-and-how-exactly-does-it-work/

Lollipop Install Guide for OnePlus One

This guide will help you install the unofficial builds of CyanogenMod 12 and other Lollipop builds.
Disclaimer: These builds are not official and are very much pre-alpha builds. While many people have little issues, you may have issues yourself and without some knowledge of ROMing, you may end up bricking your device.
I and the people who built the ROMs are not responsible for you bricking your device or losing data.
Installation
Backup: If you do not backup your device, you will lose everything!
Install Titanium Backup and choose Backup all user apps from the backup batch actions
Titanium Backup requires that you are rooted to work. If you are not rooted, use a tool such as Helium.
Be sure to copy your backup to your computer just in-case the data in the "SD Card" partition gets deleted. Use Android File Transfer or ADB to do so.
Unlock Bootloader: If you did not root your device, you likely have not unlocked your bootloader and you will need to unlock your device using the guide here.
Recovery: You need to also make sure you have a custom recovery such as the TWRP recovery which an installation guide is also available here.
Downloads: If you have done all of the above, you are ready to begin the installation process.
First you need to download all these files to your device.
Google Apps from https://s.basketbuild.com/gapps
SuperSu from http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip (optional for root)
Next you need to get a copy of CM12, you can do so in the following 2 ways.
Download a lollipop ROM. Choose from one of these known to work ROMs, build your own ROM, or find a ROM from someone else you trust (if you find another good ROM, let me know).
https://www.reddit.com/r/oneplus/comments/2moqig/cm12_nonscheduled_builds_discussionupdate_thread/
http://forum.xda-developers.com/oneplus-one/development/rom-cm12-daily-builds-gapps-t2937887
Build your own copy by following this guide http://forum.xda-developers.com/oneplus-one/development/guide-building-lollipop-oneplus-one-t2947949
Flashing: This guide is using TWRP. If you have a guide for using ClockworkMod or another custom recovery, let me know.
1. Reboot into recovery, ether by adb reboot recovery in terminal or by holding down the volume down button as you reboot.
2. Go into wipe, and swipe to factory reset. This erases your data but should not erase the "SD Card" partition.
3. Go back home if it doesn't automatically do so.
4. Go into reboot then choose Recovery.
5. After reboot, choose install and select the Lollipop ROM you downloaded.
6. Swipe to confirm flash.
7. After successful flash, go back home and back into install and flash both Google Apps and SuperSu.
8. Reboot device to system and you should have Lollipop.
Restoring Backup: Now that you're on Lollipop, you will want all your app settings and apps back.
If you used the Titanium Backup option, install Titanium Backup, and choose Restore missing apps with data.
Common Issues
Slow Boot: The solution people have used was to remove GPS and location services. This means you will not be able to use any map program to navigate anywhere.
Using ES File Explorer, go to /System/priv-app and remove com.Qualcomm.location
NFC and Bluetooth: There was some earlier ROMs that had these issues, go to a more recent ROM.
Enable on screen keys and disable hardware keys: Follow this guide http://forum.xda-developers.com/showthread.php?t=2032117 and flash this to disable the backlight on the buttons https://drive.google.com/file/d/0Byxnqyony5AybHFOeWJhMmczS09pd0JNaGFwWHFybHlYRmNJ/view credit @sd65
MultiROM: MultiROM does not support Lollipop as of right now. There has been success in installing Lollipop then using CM11(S) as a secondary ROM.
I will update this as I find other common issues.
Restore CM11S (Stock firmware)
Make sure you backup using the instructions above.
Download original firmware from https://cyngn.com/products/oneplusone/ and extract it.
In terminal, cd into the extracted folder.
On your phone, unplug it from your computer and hold down volume up and the power button until you see the fastboot icon, then connect to your computer and run the commands in the terminal window.
Code:
fastboot flash boot boot.img
fastboot flash system system.img
If you wish to flash the original recovery:
Code:
fastboot flash recovery recovery.img
You can also try following this guide if you trust their download.
Once you are restored, so long as you didn't flash userdata, you should still have your backup from Titanium Backup in the "SD Card".
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Mbennett156 said:
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Click to expand...
Click to collapse
I don't know much about NANDroid myself, but reading http://forum.xda-developers.com/wiki/NANDroid seems like it's just a clone of the flash in a file and can be restored using custom recoveries. So I would assume so, but not sure.
Mbennett156 said:
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Click to expand...
Click to collapse
Yes you can. I've been switching between Lollipop and Paranoid Android for 2 days now with NAndroid backups
hyuratzu said:
Yes you can. I've been switching between Lollipop and Paranoid Android for 2 days now with NAndroid backups
Click to expand...
Click to collapse
Great thanks
I tried to use MultiROM instead of this guide (of course, setting the 11s as secondary and pushing a custom AK kernel on the Lollipop ROM) but sadly it doesn't boot.
Elvecio said:
I tried to use MultiROM instead of this guide (of course, setting the 11s as secondary and pushing a custom AK kernel on the Lollipop ROM) but sadly it doesn't boot.
Click to expand...
Click to collapse
Try searching this thread for MultiROM and see what others have done http://forum.xda-developers.com/one...s-rumors-talk-l-t2829974/page146#post56750165
Another stupid question, but if I follow this guide to install lollipop alpha, when I decide to go back to stock can I just flash a brand new stock image for the latest CM11S version through twrp? Instead of using fastboot?
Sent via quantum entanglement, focused through my OnePlus One.
Why do i need too download and install google apps?
beastlykings said:
Another stupid question, but if I follow this guide to install lollipop alpha, when I decide to go back to stock can I just flash a brand new stock image for the latest CM11S version through twrp? Instead of using fastboot?
Sent via quantum entanglement, focused through my OnePlus One.
Click to expand...
Click to collapse
I'm not sure about installing with TWRP, it won't hurt to try. Just follow my instructions for installing Lollipop and apply it to CM11S
roktheman97 said:
Why do i need too download and install google apps?
Click to expand...
Click to collapse
If you don't want the Google Apps (Includes Google Play), then you don't have to install it. I have heard people who didn't install it say that they had some weird issues such as when you put your screen to sleep it reboots or something.
GRMrGecko said:
If you don't want the Google Apps (Includes Google Play), then you don't have to install it. I have heard people who didn't install it say that they had some weird issues such as when you put your screen to sleep it reboots or something.
Click to expand...
Click to collapse
I just installed android 5 and can't find Google play. Now I know why. Can I install it now or should I install it together with android 5. I'm asking if it matters. (Kind of a noob got opo in august and this is third time I'm doing this.)
---------- Post added at 08:13 PM ---------- Previous post was at 07:41 PM ----------
OK I have Google apps now, I'm in the step with backuping the apps, the moment I pressed backup a error pop-uped that it has problems with parsing? Also seems like it's taking forever backuping my apps..
roktheman97 said:
I just installed android 5 and can't find Google play. Now I know why. Can I install it now or should I install it together with android 5. I'm asking if it matters. (Kind of a noob got opo in august and this is third time I'm doing this.)
Click to expand...
Click to collapse
It doesn't matter if you install it later. I did the very same thing.
roktheman97 said:
OK I have Google apps now, I'm in the step with backuping the apps, the moment I pressed backup a error pop-uped that it has problems with parsing? Also seems like it's taking forever backuping my apps..
Click to expand...
Click to collapse
Do you mean restoring? You are suppose to backup before installing Lollipop. If you accidentally mess up the process of restoring, you will have to start again by going into the app switcher and quitting Titanium Backup.
GRMrGecko said:
Do you mean restoring? You are suppose to backup before installing Lollipop. If you accidentally mess up the process of restoring, you will have to start again by going into the app switcher and quitting Titanium Backup.
Click to expand...
Click to collapse
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
roktheman97 said:
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
Click to expand...
Click to collapse
Try reading things here http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html
GRMrGecko said:
Try reading things here http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html
Click to expand...
Click to collapse
Thank you very much for all information, I find this very helpful already. I think I will reboot the phone into recovery boot my previous OS and make another backup with newer version. Thanks again.
Thanks for this informative guide. The "Restore CM11S (Stock firmware)" is useful too.
roktheman97 said:
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
Click to expand...
Click to collapse
That's a system app, you can't restore those, you're only meant to backup/restore user apps.
Transmitted via Bacon
timmaaa said:
That's a system app, you can't restore those, you're only meant to backup/restore user apps.
Transmitted via Bacon
Click to expand...
Click to collapse
Flashlight from Google play.

Backup fully an unrooted OnePlus 5

After a long research for finding a full backup method for an unrooted OnePlus 5 android, I'm now asking if anybody can help.
I have tried using ADB.
Code:
adb backup -apk -shared -all -obb -system -f "C:\backup.ab"
adb restore "C:\backup.ab"
Here I have to
But it does not restore everything. So I don't fully trust ADB.
Then I thought, what about backup the partitions to image files, and later be able to restore them via fastboot or something.
So my question is,
can you make a backup using "fastboot", to an image just like a rom with personal data.
Or if this is not possible, then can you use linux tool dd to make image backup of my Phone?.
If there is nothing left, but to root? Then I have seen a lot of tools, apps and windows utilities to make a backup.
But what do you recommend I use?
Easiest and safest would be to just do a nandroid from a custom recovery. If I am not wrong, this works also unrooted if you flash the recovery via usb.
chrismast said:
Easiest and safest would be to just do a nandroid from a custom recovery. If I am not wrong, this works also unrooted if you flash the recovery via usb.
Click to expand...
Click to collapse
yes but you still need to have unlocked the phone
B0unze said:
yes but you still need to have unlocked the phone
Click to expand...
Click to collapse
Also any custom recovery requires you to root (SuperSU or Magisk) because as soon as you boot to the system the custom recovery will be automatically be replaced with the stock recovery. So in effect to create a nandroid backup means being unlocked, having a custom recovery and flashing a root solution. You don't need to alter the ROM any more than that though.
egominus said:
After a long research for finding a full backup method for an unrooted OnePlus 5 android, I'm now asking if anybody can help.
I have tried using ADB.
Here I have to
But it does not restore everything. So I don't fully trust ADB.
Then I thought, what about backup the partitions to image files, and later be able to restore them via fastboot or something.
So my question is,
can you make a backup using "fastboot", to an image just like a rom with personal data.
Or if this is not possible, then can you use linux tool dd to make image backup of my Phone?.
If there is nothing left, but to root? Then I have seen a lot of tools, apps and windows utilities to make a backup.
But what do you recommend I use?
Click to expand...
Click to collapse
What do you mean by it does not restore everything? I'm planning to root my phone but want to create a nandroid backup first
BenSow said:
What do you mean by it does not restore everything? I'm planning to root my phone but want to create a nandroid backup first
Click to expand...
Click to collapse
I have trouble backup with ADB, sometimes it hangs. And according to this link https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351 it does not backup everything like SMS and Call Logs. And pictures can have problems.
I also have problems with ADB hangs, and does not finish.
chrismast said:
Easiest and safest would be to just do a nandroid from a custom recovery. If I am not wrong, this works also unrooted if you flash the recovery via usb.
Click to expand...
Click to collapse
So now I'm a little confused? Because you say I can boot into nandroid from a custom recovery.
What do I need to boot into custom recovery?
Do I need to unlock phone? Because this will wipe my phone, and would rather not.
Can I boot into custom recovery directly from image, without flash anything?
If I need to flash custom recovery, then do I need to root my phone?
egominus said:
Do I need to unlock phone? Because this will wipe my phone, and would rather not.
Can I boot into custom recovery directly from image, without flash anything?
If I need to flash custom recovery, then do I need to root my phone?
Click to expand...
Click to collapse
I think I have the answer my own questions. But please correct me or tell me if it's the right direction.
According to this link https://aubykhan.wordpress.com/2013/07/21/android-tip-boot-into-twrp-or-cwm-recovery-without-flashing/ I can boot into custom recovery. But I need to Unlock my phone first. But the question remains, can I make nandroid backup without root, because here http://trendblog.net/android-guide-make-nandroid-backup-android-phone/ it says I need root?
egominus said:
I think I have the answer my own questions. But please correct me or tell me if it's the right direction.
According to this link https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/ I can boot into custom recovery. But I need to Unlock my phone first. But the question remains, can I make nandroid backup without root, because here http://trendblog.net/android-guide-make-nandroid-backup-android-phone/ it says I need root?
Click to expand...
Click to collapse
Yes, you will need an unlocked phone.
To my understanding you can then flash a custom recovery via usb whereas after reboot of phone it will be reset. This allows you though to boot into custom recovery and do a quick nandroid. Again I might be wrong, I thought you do not need root for this process but maybe someone can correct me.
Ur probably just going to need to hook it up to a computer and take everything off then just spend some free time logging back into each app. The only way i know without doing this is an app called Huawei Backup. It keeps all settings and logins for each app. If you can somehow find a way to install it on a one plus device you would be okay. Try an older version or inject it somehow.

Categories

Resources