My phone is 100% stock aside from the unlocked bootloader.
I want to create a complete backup of my phone before I perform any mods.
I am aware of how to boot into TWRP without flashing the recovery image to my phone by running "fastboot boot TWRP*.img" from my computer .
My questions is, which options must I select in TWRP to ensure that EVERYTHING is backed up so that if I want to revert to 100% stock again at some point in the future (for OTA's or any other reason), I can simply fastboot TWRP and restore my backup.
You can't back it up. I already tried it before trying a custom rom. When I was done I found that none of my stock backups would restore and boot successfully. Unfortunately, twrp backups really suck and you can't call them a "nandroid" because it isn't copying the nand at the lowest level, it does it file by file which totally screws up when you back up in many cases. I wish someone would build a recovery that did actual images of the flash but for some reason that hasn't happened.
Related
i think this should be a yes or no question / verify i understand this
if i root my eris ( just the root image NO recovery imgs or anything just root image) ...i can just boot into recovery, make a nandroid backup, save it onto my sd card and computer then i can flash back to stock whenever if i choose to, correct?
im not missing anything?, i dont need to download a nandroid app or a recovery image?
sorry if its been asked before but i have been searching and need to clarify this because everything on here is spread out and unclear to me.
If I understand what you're saying the answer is no... maybe I'm wrong. You can't boot into recovery without your "recovery image."
I would just install the recovery image because then you can make a nandroid backup. And it can do the exact same as the original one, just more options, but normally, no, you cannot make a nandroid backup without installing the recovery image.
I got myself a bricked OV, was able to fastboot and flash new images.
Now it boots up directly to Android System Recovery, from where I got a copy of a stock nandroid backup.
When I first tried to restore, it said to go to adb and run nandroid-mobile.sh, couldn't figure out how to get it to work from within adb shell.
Then I formatted the SD card as FAT32, put the nandroid backup, back into it.
This time the restore worked. After select this directory, it goes
Restoring: ..............................................................
It's been about 10min and the dot just keeps moving. None of my other phones have taken this long.
I followed method 1 on this page to get new images flashed.
http://androidforums.com/optimus-v-...-optimus-v-rooting-roms-tutorials-thread.html
I tried flashing the stock ROM on the next post, which didn't do anything either. Kind of stuck on what I'm supposed to do at the moment.
Any suggestions?
Hrm I flashed CWM instead and ran the same nandroid backup.
It worked this time, but when I do a system reboot, it still just goes directly to recovery.
Well all I had to do was flash the Xionia Recovery from
http://forums.androidcentral.com/op...st-boot-loop-issues-caused-factory-reset.html
and it fixed itself at this point.
Ok, so the (non-existent) recovery menu on the G-Slate is absolutely unacceptable. I mean really, really? This is what I get when booting into recovery mode:
Entering LG MDP Mode
DO NOT POWER DOWN
downloading NOW......
No options to reboot, Factory Reset, or to do anything and it is assuming you have the file in the right location and know just what the hell it is downloading. This sucks.
So I wanted to get Clockwork on there and found a clockwork recovery I can boot into temporarily using fastboot. The problem is I can't flash it to the g-slate and overwrite the existing recovery.
I can flash it using fastboot but when I put the G-Slate into recovery mode it loads the original recovery as if it didn't actually flash.
So I tried to replace the recovery.img in the nandroid backup and then restore from that backup, but as I suspected I get an md5 sum error. So I figured out how to trick the nandroid into thinking it is still valid after replacing the recovery.img. I restored the modified nandroid but still the g-slate recovery 'menu' is the same.
That's about the extent of my skills. They must have the recovery image locked down tight on this thing. I know there are people out there working on getting the recovery partition hacked. Hopefully we'll have something soon.
So I guess my question now is, does anyone know of a CWM recovery that will flash to the G-Slate, or a method to flash an existing recovery that will work, or is it still a waiting game?
Thanks
I installed TWRP on my phone, and went into Bootloader an hit RECOVERY so I can get to the program (the first time I did this it brought me to the TMRWP program). THIS time, it completely wiped my friggin' phone... after I sat there like 4 hours re-setting up everything PERFECTLY how I wanted it.
What's weird is it kept ALL my apps that I converted to SYSTEM APPS, but all my user stuff is gone.
Lesson learned... Don't click recovery from Bootloader.
That has yet to happen to me with any recovery and 3 devices currently with twrp. Might be a step missed with the install or maybe you left a bootloader update zip and ran it when you rebooted? Or it can be a bug as going to recovery from bootloader via a cold start is how to get there traditionally. I would email teamwin and try to sort it out or redo the recovery install, making sure to check the md5 of the file after you download it.
Sent from my Transformer TF101 using Tapatalk 2
Your supposed to click recovery at bootloader. Thats where you do backup, restore and flash new roms.
HTC Sensation z710e
ICS 4.0.3
Sense version 4.0
Software Sense-o-maniac v1.3
Kernel. 3.0.30 Bricked
Radio 11.68.3504
That's what I thought too. If I'm not mistaking, I flashed the new firmware after I did the TWRP, so maybe that screwed it up somehow. I take it TWRP must be the LAST image you flash? Only flashes I remember doing were:
Customize bootloader screen
TWRP.
firmware update
Do I need to re-flash the new firmware before re-flashing TWRP, or is the firmware going to remain no matter what I do from this point on?
Just adb flash recovery. Put the recovery image in your platform tools folder. Adb reboot bootloader. when you are rebooted adb flash recovery recovery.img.
Or use one of the many tools made to do that on our forums
Sent from my ADR6425LVW using xda premium
Well I went ahead and used the GOO Manager to flash TWRP again, and this time it worked fine. I'm going to re-setup my phone again then before I customize it back like I had it, going to try to get to recovery and see if it works.
With it now being installed, does that mean I can't flash anything directly from SD Card or modify the bootloader anymore without it causing problems?
What I mean, moreso, is... if I ever put factory reset. will it reload the factory rom + keep the newest firmware I installed (etc.) or do I nee to back up the phone with TWRP and recover from that when I want to load it back?
Factory reset just puts things back to the way they were without the stuff in the data partition or any user apps or settings. This means that say you flash a custom rom, it will reset to as if that custom rom was freshly installed since the custom rom has replaced the factory rom in the /system/ parition and anything else related to it.
With that said it is usually a good practice after rooting a fresh device to do the nandroid and then transfer it to a computer before you do anything else. Note that while you probably won't be switching recoveries a lot, that nandroid backups generally work only with the recovery that generated them so don't get them mixed up.
Hi guys. I've been using custom ROMs for a few years now and I always used TWRP.
But lately, my banking app and some other important apps simply won't work because of my custom recovery.
Having that said, can I keep my LineageOS AND flash via Odin JUST the stock recovery to "bypass" the security these apps need? I'm using Magisk and I'm hiding root access from these apps.
What would happen if I flash the stock?
Thanks in advance!
This sounds like a device specific issue, as I use TWRP and LOS on my V20 with no issues. I'd say the banking apps aren't working because you are rooted which means MagiskHide might not be working properly.
This can also happen if you fail the SafetyNet test in Magisk depending on certain apps.
I'm not aware of a way for you to use a custom ROM with a stock recovery. It may be possible but hasn't been as far as I've seen.
I recommend asking this question in the proper Q/A section for your device (which I assume is a Samsung since you mentioned ODIN) to see if other users of that device can help you. Then, report this thread to have it closed/deleted once you have done so.
Also: Backing up with Titanium Backup isn't enough, in almost any case. Do a FULL backup from TWRP of your device, store it somewhere else like an SD card or PC and then mess around.
Redline said:
This sounds like a device specific issue, as I use TWRP and LOS on my V20 with no issues. I'd say the banking apps aren't working because you are rooted which means MagiskHide might not be working properly.
This can also happen if you fail the SafetyNet test in Magisk depending on certain apps.
I'm not aware of a way for you to use a custom ROM with a stock recovery. It may be possible but hasn't been as far as I've seen.
I recommend asking this question in the proper Q/A section for your device (which I assume is a Samsung since you mentioned ODIN) to see if other users of that device can help you. Then, report this thread to have it closed/deleted once you have done so.
Also: Backing up with Titanium Backup isn't enough, in almost any case. Do a FULL backup from TWRP of your device, store it somewhere else like an SD card or PC and then mess around.
Click to expand...
Click to collapse
Thanks for that. I wiped the whole thing and installed a stock ROM. Will only root now and see where it goes.
Titanium backup crashes on this phone (yes, it's a Samsung J7 Prime) if I use Magisk anyway.
I trusted my Google syncing and I kinda got a lot of backups back from the cloud. Not perfect, but acceptable.
yea you can use it
Following is the procedure :
A Nandroid Backup
The quickest way to revert your phone back to its stock ROM is to restore your Nandroid backup. Assuming you have an up-to-date one available it shouldn’t result in much — or any — data loss.
A Nandroid backup creates a complete snapshot of your phone: the operating system, apps, data, and everything else. Restoring it, therefore, restores the ROM you were using at the time. If you have a backup you took when using the stock ROM, then you’re set.
How to Restore a Nandroid Backup
Boot your phone into your custom recovery. We recommend TWRP.
Select Restore. You’ll see a list of all the available backups.
Pick a backup made using the stock ROM.
Select the partitions you want to restore. Normally this means you should check all the boxes.
Finally, swipe the bar labelled Swipe to Restore. It takes a few minutes to complete, then you can reboot.
Flash a Stock ROM
If restoring a Nandroid backup isn’t a viable option, then the next best bet is to flash a stock ROM. This comes with the added inconvenience that you will probably need to perform a factory reset along the way
There are benefits, too. You might be able to find a version of the ROM that is pre-rooted. Flashing ROMs is also really easy to do.
How to Flash a Stock ROM
Find a stock ROM for your phone. Go to forum.xda-developers.com and locate the forum for your device. Stock ROMs are often found in stickied posts at the top of the development boards.
Download the ROM to your phone.
Backup all your data.
Boot into recovery.
Select Wipe to reset your phone. This is optional (if you don’t want to bother with backing up and restoring), but you may encounter bugs or even get stuck in a bootloop if you don’t do it. Swipe the bar to begin the wipe.
From the recovery home screen, select Install and navigate your way to the stock ROM you downloaded.
Swipe the bar to begin installation. You can reboot your phone when it’s finished.
Flash a Factory Image
The ultimate method for getting your phone back to stock is to flash a factory image. This reverts your phone almost to the state it was in when you first unboxed it. All you need to do afterwards is lock the bootloader, and your device will be completely factory fresh.
How to Flash a Factory Image
The procedure to flash a factory image can differ from one device to another. In the case of a Pixel, the steps are simple:
Download and setup the ADB and Fastboot tools.
Download the factory image from the Android website. Unzip the download on your desktop.
Connect your phone via USB and boot into Fastboot mode.
Launch the command line or terminal app.
At the command prompt run flash-all.bat on Windows, or flash-all.sh on Mac or Linux.
Wait for it to finish, then reboot.