[Q] Restoring Backup wipes my imei - Xperia Z1 Q&A, Help & Troubleshooting

Model:c6906
After creating a kitkat backup on TWRP for the three default's (Kernel Image, System, Data) I needed to preform a restore. I flashed on the stock rom and Then installed TWRP. After i finished restoring the backup I had previously created my IMEI was 0 and i couldn't connect to my carrier. Everything else about the backup was working perfectly. I re-flashed stock firmware(which brought back the correct IMEI) and reinstalled TWRP and am now wondering how i can restore my backup and keep my IMEI working.
If there is any other information I need to provide please ask.
Thanks for the help.

Related

Restoring STOCK (or other) BACKUP after CM

Hi,
I hope that my experience could help other persons that fall in my situation.
After a try of CM, I couldn't restore my stock backup anymore, the phone hanged up in the lg boot screen.
There were no problems about ext4 partition or wiping or fixing permission.
I was thinking to do a NVflash procedure, but i gave another try: using old modaco CWM recovery. I overwrited CWM 4.2.0.2, performed a wipe, installed the modaco zip ext4->ext3 (i didn't remember if i was ext 3 or 4) and then restore my STOCK backup: EVERYTHING WAS FINE!!!
Maybe there's a problem in the newest CWM during restore a backup, i don't know, but in this way i could restore my original firmware.
Hope that this could be usefull.
Did you do your stock backup with modaco CWM? It has different MD5 checksum than the CWM. Might be the case why you can't restore your backup.
No, I did the stock backup with the original CWM.
I think that the problem is in the restore procedure of the original CWM (4.2.0.2), in fact also the CM restore is impossible, only if you install the zip immediately after the restore. Instead... hangs up.
I find when that happens the best method is to reflash the rom your restoring and just restore the data from your nandroid backup. Always works for me.
confirm this issue with cm & nandroid restore
-----------
This is true, restore and then install the rom. But how if your restore is the stock rom? NVflash? It's not the same.
Fortunally, Modaco CWM solve it without this procedure.
Thanks!!
This solve my problem with my stock nandroid restore. I downgrade CWM to 3.1.4 (did the backup with 3.2.8 version) and now works perfect!!
Finally i could restore my stock rom.
my solution was...
1. nandroid backup of mcr
2. full wipe & installed cm7
3. nandroid restore of mcr
4. installed mcr without wipe (this solved bootloop after restoring)

[Q]Phone won't reboot

Hey guys,
I used odin to get boot it back up and then I used ClockworkMod to restore backed up data....
After phone said 'restore complete,' I let the phone reboot, but the phone will not reboot
at&t screen pops up and then black out then pops up again then into android recovery mode.
Any ideas?
Could you please provide a little more information about how you got to where you are? (e.g. what rom/kernel/modem/theme you were flashing, what ODIN you used, what version of CWM, etc.) Anything you provide will be helpful in troubleshooting.
Well I had cognitive 4.5.3 installed and I tried restoring using clockmod recovery
the restore wasn't successful and the phone would stay black screened after Galaxy S logo screen
So I turned on odin3 and put my phone on download mode then hit start on odin3
that successfully restored the phone to froyo 2.2 without any of my data
so I tried using clockmod recovery once again to restore the backup
and then... that's where I am
The phone won't boot. It will just go into recovery mode
Here's the message I got after trying to restore once again
--------------------------------
ClockworkMod Recovery v2.5.1.2
Checking MD5 sums...
Restoring system...
Restoring data...
Restoring datadata...
.android_secure.img not found. Skipping restore of /sdcard/.android_secure.
Restoring cache...
sd-ext.img not found. Skipping restore of /sd-ext/.
Restore complete!
--------------------------------
When did you make that nandroid backup? If you made it while on stock, you'll have to go back to stock first, then run the restore command. If on cognition, you'll need to be on the version you were on when you made the backup and restore there.
Here's the link I found on how to return to stock rom
http://forum.xda-developers.com/showthread.php?t=731989
I've done the first part - before the master reset and then tried restoring the backup and that is how I got to where I am right now.
Do I need to factory reset as well?
If I do factory reset, won't that erase the backup file?
Thanks. I really appreciate your help
jc830 said:
Here's the link I found on how to return to stock rom
http://forum.xda-developers.com/showthread.php?t=731989
I've done the first part - before the master reset and then tried restoring the backup and that is how I got to where I am right now.
Do I need to factory reset as well?
If I do factory reset, won't that erase the backup file?
Thanks. I really appreciate your help
Click to expand...
Click to collapse
To answer your question, doing the master clear will erase EVERYTHING stored in the phone's internal memory. Don't do that step now, as you should be able to get out of where you are without doing that.
I think where your problem occurred is that at some point you made a nandroid backup in CWM, and by trying to restore that on stock, it's freaking out. If you can remember what ROM setup you had on your phone when you made the backup, you could try to get back to that setup to use the restore option in CWM.
Before doing any of the things you're doing now, had you made a backup in Titanium Backup?
I do have backup made with Titanium Backup.
apps data and everything that I could backup with Titanium Backup
Will restoring what I had backed up with Titanium Backup and then restoring the system using CWM work?
I am currently at 2.2 Froyo, which was the rom I was using when backing up using CWM
You've flashed 2.2 stock? If so just flash the rom you previously had with cwm then let it boot. After it boots reboot into cwm then perform a restore in cwm. If that doesnt work nand backup might not be good and you will just have to flash stock again and just rub tibu and leave it at that.
**Thing about NAND backups is that you have to use the same system when you restore (i.e. you nand backup usng cognition then you flash another rom when you nand restore its not going to boot).
Thanks guys for the suggestions!
My phone has been saved!

[Q] TWRP Backup Fails, CWM Backup works?

Im trying to make a backup on v2.6.3.3 and system and data backup fine but it fails to backup boot. Ive made backups before on this version with no error and I tried to backup on 2.7 TWRP and I get the same issue. I installed CWM and tried a backup and everything backed up fine with no error, so what could be the issue?
EDIT: Im able to make a backup of them separately so I guess ill just have two separate backups

Nandroid backup gets stuck during data partition restore.

Hello all, and thank you for looking at my thread.
To start off with I have a rooted Nexus 6 with stock Rom except for TWRP and a minor change to some settings to allow hotspot. I wanted to upgrade to 5.1 from 5.0.1 so I performed a full Nandroid backup and flashed the new ROM using Wugfresh's toolkit. I realized after I did this that I had forgotten to get my text messages and call logs from the old ROM. I then performed another full Nandroid backup of 5.1 and then tried to restore the 5.0.1. During the restore of the data partition it gets stuck and will not go any further. I checked the MD5 hash for the data partition and it matches.
Is there any way to repair the backup?
Figured it out for myself. Realized that there isn't really a way to fix a backup. found a program called nandroid manager and was able to get the sms and call logs without restoring.

Lost Baseband und IMEI after TWRP flash - Full TWRP backup not functional - ALEXNDR

Hey guys,
hope someone can help. I had a screen crack 2 weeks ago. I was on Alexndr CSD2 DBT with TWRP. So I have a full TWRP backup. Sent it to Samsung. These smart asses reflashed my phone without any need of doing so. On arrival it was on stock with funktional LTE Sim connection.
So I checked OEM Unlock, went to download mode and flashed TWRP. Went to TWRP and formatted everything and restored ALL partitions of my backup. On reboot my PIN was not accepted anymore - this is not concerning, I am willing to reinstall all by hand. But I lost IMEI/baseband - so deleting the key files I can enter the phone but I have no DATA connection via SIM anymore.
So I reflashed stock CSD2 .... no IMEI.... so I restored EFS only .... boot loop.
I installed CSD Alexndr fresh and restored EFS only .... no IMEI
Wtf is going on? Any ideas I can fix this without sending it back and starting all over and maybe getting stuck again?
Thnx
Peter
Trying flashing the modem, that alexndrs rom utilizes, solely, in TWRP .
CynicalHeight00 said:
Trying flashing the modem, that alexndrs rom utilizes, solely, in TWRP .
Click to expand...
Click to collapse
Thank you, tried it, did not change the situation unfortunately. He says I think it was included in the rom anyway.
Hmm, if you installed the rom again to install the modem- that's not what I meant.
Alexndrs rom makes a backup of your efs; Find the post and see what you have type in twrp terminal.
Then try the modem flash, solely.
I had the same issue, but it was fixed with modem flashing; however, everytime I reinstall a rom I need to do a separate modem flash.
CynicalHeight00 said:
Hmm, if you installed the rom again to install the modem- that's not what I meant.
Alexndrs rom makes a backup of your efs; Find the post and see what you have type in twrp terminal.
Then try the modem flash, solely.
I had the same issue, but it was fixed with modem flashing; however, everytime I reinstall a rom I need to do a separate modem flash.
Click to expand...
Click to collapse
Hey thanks for your answer.
I flashed the BL...zip solely and also tried to restore EFS and baseband partition only, besides trying full stock odin flash and full TWRP restore with all partitions.
I read:
"EFS restore command (TWRP -> Advanced -> Terminal):
gunzip -c /external_sd/.backup/efs/efs_recent.img.gz | dd bs=4096 of=/dev/block/sda3"
I did, it flashed it and still the same problem. This was the SD from my S8plus. I didn't know Alexndr is overwriting EFS backup every goddamn flash. So my old EFS backup says Aug 2018 - so it is of my S8plus. And the recent one got overwritten by the few flashing attempts. So the rom did overwrite EFS backup I suspect.
So I maybe left with the TWRP backup of EFS only. Why is it not working, to restore the EFS TWRP backup - it should have all data cause it was done when the phone was running well? Is there a way to restore EFS/IMEI/Baseband from that backup? I dont understand how baseband gets lost while having full TWRP backup?
phoenX80 said:
Hey guys,
hope someone can help. I had a screen crack 2 weeks ago. I was on Alexndr CSD2 DBT with TWRP. So I have a full TWRP backup. Sent it to Samsung. These smart asses reflashed my phone without any need of doing so. On arrival it was on stock with funktional LTE Sim connection.
So I checked OEM Unlock, went to download mode and flashed TWRP. Went to TWRP and formatted everything and restored ALL partitions of my backup. On reboot my PIN was not accepted anymore - this is not concerning, I am willing to reinstall all by hand. But I lost IMEI/baseband - so deleting the key files I can enter the phone but I have no DATA connection via SIM anymore.
So I reflashed stock CSD2 .... no IMEI.... so I restored EFS only .... boot loop.
I installed CSD Alexndr fresh and restored EFS only .... no IMEI
Wtf is going on? Any ideas I can fix this without sending it back and starting all over and maybe getting stuck again?
Thnx
Peter
Click to expand...
Click to collapse
phoenX80 said:
Thank you, tried it, did not change the situation unfortunately. He says I think it was included in the rom anyway.
Click to expand...
Click to collapse
phoenX80 said:
Hey thanks for your answer.
I flashed the BL...zip solely and also tried to restore EFS and baseband partition only, besides trying full stock odin flash and full TWRP restore with all partitions.
I read:
"EFS restore command (TWRP -> Advanced -> Terminal):
gunzip -c /external_sd/.backup/efs/efs_recent.img.gz | dd bs=4096 of=/dev/block/sda3"
I did, it flashed it and still the same problem. This was the SD from my S8plus. I didn't know Alexndr is overwriting EFS backup every goddamn flash. So my old EFS backup says Aug 2018 - so it is of my S8plus. And the recent one got overwritten by the few flashing attempts. So the rom did overwrite EFS backup I suspect.
So I maybe left with the TWRP backup of EFS only. Why is it not working, to restore the EFS TWRP backup - it should have all data cause it was done when the phone was running well? Is there a way to restore EFS/IMEI/Baseband from that backup? I dont understand how baseband gets lost while having full TWRP backup?
Click to expand...
Click to collapse
It's not bl file you flash. Also, that terminal code is for recent , which , i think is a backup of efs now flashed, not the one you had prior to the flash. Meaning, check for the efs- backup. That file is hidden on your external sd card.
In theory, that's what I suppose as well but it didn't work for me either- restoring via twrp.
CynicalHeight00 said:
It's not bl file you flash. Also, that terminal code is for recent , which , i think is a backup of efs now flashed, not the one you had prior to the flash. Meaning, check for the efs- backup. That file is hidden on your external sd card.
In theory, that's what I suppose as well but it didn't work for me either- restoring via twrp.
Click to expand...
Click to collapse
Yeah, I know, I just had the file open and quoted wrong. It is
gunzip -c /external_sd/.backup/efs/efs_backup.img.gz | dd bs=4096 of=/dev/block/sda3
The command worked to restore the EFS but since it is the backup of my S8plus IMEI is still not recognized....
Initialization via SmartSwitch returned that the device is not supported...great.
So the only backup I have is TWRP. I need a way to rescue from TWRP. Since full resore ends in broken IMEI I may be screwed since a full restore should render the phone running but it is not for whatever reason. I am disappointed that the full TWRP backup doesnt seem functional to backup and restore EFS.
Is efs formatted the proper way?
I had also wiped clean everything in twrp.
CynicalHeight00 said:
Is efs formatted the proper way?
I had also wiped clean everything in twrp.
Click to expand...
Click to collapse
TWRP doesnt offer to wipe EFS separately?
phoenX80 said:
Yeah, I know, I just had the file open and quoted wrong. It is
gunzip -c /external_sd/.backup/efs/efs_backup.img.gz | dd bs=4096 of=/dev/block/sda3
The command worked to restore the EFS but since it is the backup of my S8plus IMEI is still not recognized....
Initialization via SmartSwitch returned that the device is not supported...great.
So the only backup I have is TWRP. I need a way to rescue from TWRP. Since full resore ends in broken IMEI I may be screwed since a full restore should render the phone running but it is not for whatever reason. I am disappointed that the full TWRP backup doesnt seem functional to backup and restore EFS.
Click to expand...
Click to collapse
phoenX80 said:
TWRP doesnt offer to wipe EFS separately?
Click to expand...
Click to collapse
I think it should be included under system?
I wiped all available partitions and restored again. Unfortunately still no change. No LTE no IMEI.
You have to check whether or not the format , ex. Ets4 or whatnot, is what is needed for efs to operate
Did you fix it?
No, I am stuck.
There is only a way to format System - which I did. Nothing changed.
I tried to odin flash CSD2 to have the phone update on its own to CSDE to maybe gain baseband on this update. But no luck.
phoenX80 said:
No, I am stuck.
There is only a way to format System - which I did. Nothing changed.
I tried to odin flash CSD2 to have the phone update on its own to CSDE to maybe gain baseband on this update. But no luck.
Click to expand...
Click to collapse
What's the recourse?
What do you mean?
phoenX80 said:
What do you mean?
Click to expand...
Click to collapse
What will you try to fix it?
I am out of ideas. I have to send it to Samsung I guess....
Since I know my IMEI shouldn'T it be possible to HEX edit another backup to reflash mine? I chekced that when I restore the S8s EFS the serial number actually changes but the IMEIs stay unknown. Shouldn't the IMEI of the S8 pop up?
phoenX80 said:
Since I know my IMEI shouldn'T it be possible to HEX edit another backup to reflash mine? I chekced that when I restore the S8s EFS the serial number actually changes but the IMEIs stay unknown. Shouldn't the IMEI of the S8 pop up?
Click to expand...
Click to collapse
could you figure it out to this day?

Categories

Resources