Restoring TWRP backup to new phone - hangs on boot

Soldato
Joined
12 Mar 2003
Posts
8,338
Location
USA
Hi,

I have a Nexus 6 with a shattered screen, and just bought another one to replace it (exact same model, XT1103 32GB).

Here are the steps I took:
  1. Made a Nandroid dump of the old device (system, data & boot partitions only) by booting into TWRP temporarily with "fastboot boot..."
  2. Copied the TWRP folder over to my PC and renamed the folder with the serial number of the new phone, so it is visible in TWRP on that phone
  3. Copied this entire TWRP folder over to the new phone
  4. Boot into TWRP temporarily on new phone, mount system with writes enabled, then restored the backup
  5. Restore takes a good amount of time and TWRP logs indicate success
However, when I try to boot up the device, it hangs on the white Google logo screen. I can get into BL and recovery, but not the actual OS.

I've restored the new phone with a stock image (it works fine) and tried the whole process again, with the same result. I've also tried doing a factory reset after restoring, but that doesn't help either...

Any help would be great please, as I am lost at the mo!

Cheers,

Su
 
What partitions are you restoring? Try restoring the data partition only, then wipe dalvik cache and cache partition.

Was the phone encrypted?
 
Wipe both system and data, restore system check if it works and then restore data, check if it works.

If that fails, it's a bit long winded but restore system and then use something like titanium backup or nandroid manager to restore the apps and data.
 
So this bro seems to think it's not possible due to Nexus encryption?

I'll try what you guys suggested and see what happens (though might get an OTG cable first, as it's painfully flashing the phone back with the stock image every time it fails...!).

Cheers,

Su
 
Ah yes, forgot the N6 was the first Nexus phone with encryption forced to be on. Yes, it's encryption that's preventing it from working, due to the way it was encryped being unique to the device it was originally on. I'm not sure if there's a way around it.
 
Yeah. Next best thing is titanium backup.

Also I did notice a little performance boost when I decrypted my N6 so I'd recommend going that route too.
 
Does anyone have a step by step "idiot proof" guide for backup and restore with TWRP please? Presumably I need to have root on both old and new device?

Starting to wonder if I should just set it up from scratch now....
 
Back
Top Bottom