I wanted to clean flash something but when I select "restore from a previous device" (from my 6p) in the Google account setup part when starting a fresh phone the setup wizard responds "couldn't restore from backup" with an option to skip or try again. I've done it in the past so I know it works. Same device and the backup is current from that day. I've searched and found nothing. Ive tried a couple times. But it takes so long to wipe sys data cache dalvik, then flash the latest zip and gapps, then attempt to restore, then after that failing restoring an 11gb twrp backup Anybody know anything about this?
Related
So I was experiencing weird battery behavior so I decided to reflash cleanrom 1.1 but first wiping my device. Apparently just wiping the device wasn't enough or I did it wrong. I selected advanced and selected system,cache,dalvik cache. I installed rom and when I rebooted I noticed my apps were all there, nothing changed from the cleanrom 1.1 install I had on there before. I rebooted back to recovery and this time I selected format data and wiped again. This time I went to try and relflash rom and yep, I deleted all my data so there was no roms or any backups to restore from. I figured my device was completely formatted/wiped and I had no rom installed. I started to panic lol, I even rebooted twrp into bootloader hello. I just tried to get back to recovery at that point, so weird thing was when I was in the "bootloader mode" and it was asking for some pin code a call came through. Someone was trying to call me? Anyway out of curiosutiy I held the power button and selected power off and restart and when it loaded into cleanrom 1.1 asking me to enter my settings and I started installing my apps since I had no tb to restore from as I formatted earlier. My question is, what did I do wrong? I just wanted to wipe my device and install a fresh cleanrom 1.1, not actually format my device completely.
advanced wipe
I wouldve just advanced wiped everything but internal storage. Your backups should be on internal storage so I'm not sure why formatting deleted them. Whenever I install a fresh ROM I do an advanced wipe of system data cache and davlik. Never done a non advanced wipe. Hope this helps.
I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
sansari123 said:
I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
Click to expand...
Click to collapse
By default nandroid backup is on internal storage but you can choose to save it on sd card as well. Tap on the top box/menu after you enter restore menu. If you choose sd card and twrp shows no backup then the backup is on internal storage. Explore a bit mate.
Or use file explorer check twrp folder in both storage. There should be subfolder of 'backup' in it.
You don't need factory reset. And just choose wipe cache/dalvik/system/data to install new rom/restore nandroid backup
I just got a s5. And I got it succesfully rooted and also got TWRP working on it.
All the data from my previous phone was transfered to the s5.
Now I made some backups with TWRP with the default settings: Partitions boot, system and data.
With the backups in mind I was thinking I could easily restore it to a previous state.
Thinking I backed up all the data and wanted to make it fresh again, I wanted to restore it.
In the menu I chose the restore option with the same settings as the backup: Partitions boot, system and data.
And it gives a message restoring system succesfull.
But when rebooting, it keeps hanging and at the moment of loading the android system every bit of the system keeps 'hanging'
It keeps saying
'Unfortunately touchwiz startup unsuccesfully'
'Unfortunately youtube startup unsuccesfully'
'Unfortunately greenify startup unsuccesfully'
'Unfortunately app whatever startup unsuccesfully'
And so on and so on
Eventually it starts with a black screen with nothing loaded. Complete blackout.
So this backup doesn't work. And I try my second backup.
Unfortunately also the second backup gave these errors.
And also the third backup!
So the backup files seem the right size, it's some gigabytes, and it alway's keeps saying backup/restore succesfully.
But now it fails to restore and boot the backup
The things I tried.
-Trying three different backups
-Wiping cleaning data/dalvik/cache etc etc
-Restoring a part of the backup. First system, then data, then boot, no succes.
So i'm totally lost! Does somebody know how to fix this? Or have some tips to try??
You can't restore system and boot from a different model phone
That would be like trying to flash a ROM for one model phone to another without porting it
If it was an S5 you backed up, was it the exact same model (ie: G900F etc?)
Flash back to stock, then try restoring only DATA
Or use TiBu to restore your apps from the TWRP backup
*Detection* said:
You can't restore system and boot from a different model phone
That would be like trying to flash a ROM for one model phone to another without porting it
If it was an S5 you backed up, was it the exact same model (ie: G900F etc?)
Flash back to stock, then try restoring only DATA
Or use TiBu to restore your apps from the TWRP backup
Click to expand...
Click to collapse
Thanks for the reply! It was a backup and restore on the same phone. So that is why I thought it was supposed to be a easy restore.
But I found the solution hidden somewhere in one message on XDA:
"Originally Posted by Dr. Fed
Would you happen to know why, when restoring a TW 4.4.2 nandroid using TWRP 2.8.1 or 2.8.4, after running an AOSP lollipop ROM like CM12, the TW ROM boots but then the whole system force-closes? Before restoring the nandroid, I advance wipe system, data, cache, and dalvik. Then I restore the nandroid. It boots, but then some daemon crashes. Then all processes and apps. The screen goes black after a few crashes.
So, what I do is pull out the battery, boot into recovery, advance wipe system, data, cache, dalvik, flash a CM11 ROM, reboot. I let CM11 start up, skip the set-up, then I boot back to TWRP (2.8.1 and now 2.8.4), advanced wipe, restore TW nandroid, and now it works just fine.
It seems like TWRP doesn't fully wipe."
Here the steps for if other people will run into the same problem:
Problem: Android 5 is running, with twrp 2.7 performed a back up = Restoring the backup is difficult because it problably doesn't do a clean wipe somehow.
1. I downloaded a cyanogen 11 rom, a Android 4 version.
2. Installed it with TWRP. Somehow it 'wipes' it more efficiently.
3. From cyanogen 11 back to booting TWRP.
4. In TWRP trying the Android 5 restore.
And Amazingly this worked!! = Celebrate!!
chokolademan said:
Thanks for the reply! It was a backup and restore on the same phone.
Click to expand...
Click to collapse
Confused me with this line
chokolademan said:
All the data from my previous phone was transfered to the s5.
Click to expand...
Click to collapse
Good to see you solved it
Hello,
I recently did a backup (NucleaROM, 7.1) in TWRP and it strangely went to 101%. Stuck on "generating md5" for a minute.
Then, when I restarted my phone, it acted like 2 times slower than usual, from the boot animation, and didn't stop.
I then did a factory reset and tried flashing the ROM and Gapps again. Open GApps project couldn't finish, TWRP rebooted.
I received the "swipe to allow modifications" slide and actually slided it the second time, because I wasn't able to restore the first time, when I clicked on read only.
I now am stuck in the recovery, I have backups on my external card, TWRP won't read Internal card, I can't factory reset due to mount error and therefore can't restore any backup.
Everything went wrong just after trying to do a normal backup. What did I miss ?
Thx
Well good thing you have a backup on your external card. I'll suggest you perform a "Format Data" in the Advanced Wipe section of TWRP. It should be able to solve it. Looks like a minor corrupted storage problem.
Hello,
when I try to restore my TWRP backup of Lineage 17 on my Samsung Galaxy A5 2016 I run into the
extractTarFork() process ended with ERROR: 255​issue, and have tried several methods which I have found when googling for fixes, but none has worked so far.
This is what I've tried:
- unmount the data partition before restoring backup
- just restore system, data and boot, tick off the others
- wiped data/system/cache, flashed rom+gapps, flashed backup with all sections activated (radio, system, data,...)
- wiped data/system/cache, flashed rom+gapps, flashed backup with only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, wiped dalvik/cache after, flashed backup w/ only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, reboot, clicking next on every configuration screen, reboot to recovery, restore only data from backup
The issue seems to always occur at the same point in the process, in the progress bar its either at ca 45% or 58%, depending on if only data or everything is supposed to be restored. Restoring everything _BUT_ the data partition works, but the stuff I need to access is the data.
Kind regards
Hello,
I managed to fully restore the backup follwing this guide
Now my phone boots up to the point right after the Lineage logo is shown, where it says "starting the phone" and would probably ask for sim pin if I had a sim card in it. Then it reboots and does the whole thing again.
Does anyone have an idea how to fix this?
Kind regards