Restored another phones' TWRP backup --> IMEI gone - General Topics

After flashing the latest Lineage build on my XT1965-3 'lake', i stuck with no IMEI and no service. Foolishly, I made a TWRP backup from my second XT1965-3, on which Lineage has run perfectly for a few months now, thinking, that I could simply restore the backup on my new XT1965-3.
After flashing all the partitions, including efs, the IMEI is still gone, but this time even when I flash back to the latest stock ROM. Reading around, I realized that restoring the efs from another phon was pretty stupid.
However,
Code:
fastboot getvar all
still prints the valid IMEI, so it is not completely gone. But how can I get it back in stock ROM (or Lineage)?

Related

TWRP backup disappeared??

I've been trying to weasel my way into a stable marshmallow rom, or even stock updated ota. So earlier today I did a backup with twrp before I tried to flash (clean wipe first of course) cm13. I tried to restore the backup, after it was successfully completed and the restoration process only took 47 seconds.. obviously something went wrong with it. So I took out the battery, rebooted it and tried to restore it again to find the backup was gone. Same directory though I also checked the external sd. I mean thats not even a big deal bc I have another backup, but does anyone know why a backup would just disappear?
Thanks and happy flashing!

rom flashing after octoplus

i had this situation i did not backed up my efs so i lost my imei after flashing rom..now its okay i took it to a local repair shop they fixed it within 1 hour and the imei is changed..now i backed up my efs..can i flash rom safely?
yeah...you can flash a rom since you have backup of your imei
In case you stuck in bootloops or recovery saying drk blalala you need to flash space kernel with odin to get it boot up...but you will not fix drk...you need to do this every time you flash stock

I'm getting a new phone, how can i backup everything before rooting ?

I'm going to be receiving a Nexus 5 i ordered off eBay soon and of course i want to root it and unlock everything but i'm unsure how i can back everything up just in case. I have only rooted 1 phone before and i didn't back anything up so i have no idea what the process is or what certain things i need to backup. Can anyone tell me each thing i need to backup and how to do it ? Like the bootloader, and rom/img/recovery or whatever its all called.
Unlocking the bootloader will automatically wipe the phone; therefore, unlock the bootloader, flash TWRP, set up the phone, and use TWRP to create a nandroid backup.
Check out the general forum for tutorials about unlocking the bootloader, flashing img files in fastboot, and backups.
there are official Google factory images for that, no need to backup. Only thing i would suggest to backup in twrp is EFS partition. this is unique partition for every single phone, it contains IMEI, and other connectivity stuff Good luck

[TWRP] Backup and Restore with TWRP

My OP6 has the TWRP 3.2.2 installed, with OOS 5.1.9 and Magisk. I would like to try out the new HAVOC rom, so i have done a full TWRP backup of all the partitions of the phone, and another one with only the BOOT, SYSTEM and DATA partitions.
But I have many doubts about the reliability of the TWRP restore: I read several posts related to bootloop and failures. I would like to avoid having to reinstall the whole phone from scratch.
Has anyone successfully full backed up and restored on the OP6 with TWRP? If so, which partitions did you backup?
The alternative would be to use Titanium backup, but the restore procedure would be much more complex.
I want answers about this as well. What partitions do we backup? What's the process to restore? I tried backing up everything then restoring it and i got a blank screen when I was suppose to see the boot animation.
Marlenio said:
My OP6 has the TWRP 3.2.2 installed, with OOS 5.1.9 and Magisk. I would like to try out the new HAVOC rom, so i have done a full TWRP backup of all the partitions of the phone, and another one with only the BOOT, SYSTEM and DATA partitions.
But I have many doubts about the reliability of the TWRP restore: I read several posts related to bootloop and failures. I would like to avoid having to reinstall the whole phone from scratch.
Has anyone successfully full backed up and restored on the OP6 with TWRP? If so, which partitions did you backup?
The alternative would be to use Titanium backup, but the restore procedure would be much more complex.
Click to expand...
Click to collapse
Our TWRP is very buggy i tried to restore whole backup using twrp and it failed showing error. But somewhere i got solution in xda.
Backup only data, system and boot and restore it will work.
But for safety always keep one extra full backup of all things like efs,modem, data, system, boot, vendor. Because sometime if something goes wrong u have rescue operation always there
Since this device is super easy to unbrick if needed I personally only keep a data backup of each ROM I use on my flash drive.
So I don't need to do a full setup when flashing a different rom.
Otherwise if something crazy happens and the device gets bricked, it's fixable with a PC.
Sent from my LG-H932 using XDA Labs

Can I backup & restore including appdata with TWRP?

In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
yusisushi said:
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
Click to expand...
Click to collapse
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
BillGoss said:
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
Click to expand...
Click to collapse
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
yusisushi said:
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
Click to expand...
Click to collapse
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
BillGoss said:
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
Click to expand...
Click to collapse
Hi, first of all; thank you for taking time to help me!
I managed to completely wipe the phone including data, and afterwards I restored it by copying the backup (which was now on my computer) and restoring it. SUCCESS! All appdata seems to be there, homescreen, and after second reboot my fingerprint still worked as before.
I just have one more question if you don't mind;
Below partitions I backed up;
Data
Boot
DTBO
Super
However, I'm not able to copy over the "super" partition from my computer to my phone, is this normal? it's almost 8GB and I was convinced I wasn't going to get to the OS without restoring it but apparently I didn't need it (?)
I suppose with the Fastboot Enhance Tool I'll be able to also restore this?
You really only need to backup the "system" partitions (boot, dtbo, super) if you're changing to custom ROMs. If you're always on OOS then you can forget about backing them up.
You should be able to copy the full backup, including super files from your PC to your phone using ADB. I've done that lots of times.
I've never used the tool you referred to. But I do know that you can't use fastboot to flash the super partition - it's too big.
However, if you break it up into chunks (I did it in 512MB chunks) using SparseConverter (https://forum.xda-developers.com/t/tool-sparseconverter-v1-0-1.2749797/) then you can successfully flash it.
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
tech.central said:
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
Click to expand...
Click to collapse
If you can enter TWRP (even if your rom bootloops) there is a great chance you can restore backup in TWRP.

Categories

Resources