Related
I'm having issues with restoring the factory image of stock Android 6.0.1, I'm using
@Heisenberg guide to create the fresh back up image on TWRP-3.0.2-0. Once I create
the back up, I boot into the OS and perform a factory reset, when i do that the phone resets
into TWRP, and performs the wipe to the device, when i go to do the restore, it freezes
at about 39%, and reboots fully trying to enter the OS, but its corrupt due to TWRP restarting
in the middle of the recovery.
I did at one point upgrade to Android N, but reverted back to android 6.0.1 if that makes a difference.
TL;DR - Created a fresh factory image of 6.0.1 using TWRP, cannot recover with it, TWRP freezes at 39% every time.
What options are you selecting to backup/restore?
Heisenberg said:
What options are you selecting to backup/restore?
Click to expand...
Click to collapse
I'm doing a back up selecting the system/data/boot/vendor boxes, leaving everything else unchecked, and a second back up with only the EFS,
When i go to restore, I'm just using the first back up, leaving the EFS alone unless ever needed, and am selecting the system/data/boot/vendor boxes
DeathSentinels said:
I'm doing a back up selecting the system/data/boot/vendor boxes, leaving everything else unchecked, and a second back up with only the EFS,
When i go to restore, I'm just using the first back up, leaving the EFS alone unless ever needed, and am selecting the system/data/boot/vendor boxes
Click to expand...
Click to collapse
I can only think that your backup is corrupt. Also, instead of booting into Android and performing a factory reset that way, just go into the advanced wipe section of TWRP and wipe only data. Maybe you'll just need to flash the factory images to get the phone booting up fresh again.
That's where it gets interesting, I've flashed the factory 6.0.1 image, then flashed twrp, created the back up again, did the advanced wipe as you said, did the restore again, and same result, at around 39% of the recovery the phone reboots and the back up gets corrupt. My main goal is to make sure this back up absolutely works before I root and start playing around with flashing xposed modules, but I'm unable to do a successful restore for the life of me.
DeathSentinels said:
That's where it gets interesting, I've flashed the factory 6.0.1 image, then flashed twrp, created the back up again, did the advanced wipe as you said, did the restore again, and same result, at around 39% of the recovery the phone reboots and the back up gets corrupt. My main goal is to make sure this back up absolutely works before I root and start playing around with flashing xposed modules, but I'm unable to do a successful restore for the life of me.
Click to expand...
Click to collapse
I'm stumped, I really don't know why it wouldn't be working if you're performing the backup the way you say you are. Sorry I can't be more helpful. If it's any consolation, a backup probably isn't strictly necessary because you can always get back to stock by flashing the factory images.
Heisenberg said:
I'm stumped, I really don't know why it wouldn't be working if you're performing the backup the way you say you are. Sorry I can't be more helpful. If it's any consolation, a backup probably isn't strictly necessary because you can always get back to stock by flashing the factory images.
Click to expand...
Click to collapse
I'm stumped too, I've been able to do this effortlessly in the past with this phone, my Nexus 9 and m8 GPE, it wasn't until I upgraded to N and reverted back to 6.0.1 this started to happen. I've even gone as far as trying different versions of twrp, but have had the same result.
I'm just worried in a worst case scenario I'm away from a comp, something crashes and I can't do a restore via twrp, I could be SOL until I get to a comp with adb.
i had a similiar problem , but when i got into the stock image , i went into settings and did a factory reset from there , no worries your BL stays unlocked , once thats done get whatever apps you want back , disable fingerprint /security junk , then boot into bl just like the guide says , youll be able to fastboot install recovery , (boot back into bl, then scroll to recovery and start a gain) then make your backups yor OG & EFS , then reboot , get su reboot into recovery install and yould be be fine , i think you can also try fastboot format userdata , as well
DeathSentinels said:
I'm stumped too, I've been able to do this effortlessly in the past with this phone, my Nexus 9 and m8 GPE, it wasn't until I upgraded to N and reverted back to 6.0.1 this started to happen. I've even gone as far as trying different versions of twrp, but have had the same result.
I'm just worried in a worst case scenario I'm away from a comp, something crashes and I can't do a restore via twrp, I could be SOL until I get to a comp with adb.
Click to expand...
Click to collapse
Just keep a ROM zip + gapps on your phone at all times, if you run into trouble you can flash that.
That definitely makes sense , i always dk that
Sent from my Nexus 6P using XDA-Developers mobile app
I installed TWRP 3.0.2-0 on my axon A2017G B03, unlocked the bootloader, installed CM13 after a small hiccup (had to temporarily install A2017G B06 and Bootstack).
All went well, I really enjoyed my phone. The only problem was that I'm an audiophile and there was a big distortion on the speakers.
I tried to install a Dolby zip via TWRP to improve this. Before I did that, I took a full TWRP backup.
The Dolby app didn't help one bit, after which I wanted to rollback by restoring the backup. Appearently, restoring the EFS is a really bad idea, since after that, CM13 wouldn't boot anymore. So, I tried using DrakenFX' B06 bootstack and stock image. When I did that, my phone could not connect to Wi-Fi nor detect my SIM-card.
Using the commands
Code:
adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1 and dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
I restored my Wi-Fi. My phone now recognises my SIM-card, but I can't connect to the cellular networks. I have no IMEI. It can detect cellular networks, but not connect to them.
I have "efs1.emmc.win" and "efs1.emmc.win.md5" files from the TWRP backup of CM13 from just before I killed my cellular and another EFS backup I took just before unlocking BL and flashing TWRP (A2017G B06).
When I do a clean install of A2017G B06 and restore the TWRP EFS backup I made when on B06, when the phone boots, the phone doesn't detect my SIM.
When I do a clean install of CM13 and restore the TWRP EFS backup I made when on CM, CM13 doesn't boot at all.
I've spent about a day trying just about anything. Nothing seems to work. Can someone pull their modem file? Or would flashing NON-HLOS.bin help? Is there a different way of restoring my EFS backups? I read something about TWRP 3.0.2-0 not playing nice with EFS. Would flashing TWRP 3.0.2-2 and then restoring EFS work? Or is there a way to restore the phone back to "just-out-of-the-box" status? I don't mind losing unlocked BL or TWRP, I can do that all again. I thought as long as I backup everything including EFS, nothing can really go wrong. A user in XDA posted that "shady" guides that "don't get discussed at XDA" can usually help you get IMEI back. I don't want to illicit illegal practices here, but I'm desperate enough to try just about anything.
Thanks a lot for your help. If no-one here can help me, I suppose it's back to amazon. And probably pay a decent amount for it, too
Perhaps try flashing newer twrp version and restore your efs backup?
Controllerboy said:
I installed TWRP 3.0.2-0 on my axon A2017G B03, unlocked the bootloader, installed CM13 after a small hiccup (had to temporarily install A2017G B06 and Bootstack).
All went well, I really enjoyed my phone. The only problem was that I'm an audiophile and there was a big distortion on the speakers.
I tried to install a Dolby zip via TWRP to improve this. Before I did that, I took a full TWRP backup.
The Dolby app didn't help one bit, after which I wanted to rollback by restoring the backup. Appearently, restoring the EFS is a really bad idea, since after that, CM13 wouldn't boot anymore. So, I tried using DrakenFX' B06 bootstack and stock image. When I did that, my phone could not connect to Wi-Fi nor detect my SIM-card.
Using the commands
Code:
adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1 and dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
I restored my Wi-Fi. My phone now recognises my SIM-card, but I can't connect to the cellular networks. I have no IMEI. It can detect cellular networks, but not connect to them.
I have "efs1.emmc.win" and "efs1.emmc.win.md5" files from the TWRP backup of CM13 from just before I killed my cellular and another EFS backup I took just before unlocking BL and flashing TWRP (A2017G B06).
When I do a clean install of A2017G B06 and restore the TWRP EFS backup I made when on B06, when the phone boots, the phone doesn't detect my SIM.
When I do a clean install of CM13 and restore the TWRP EFS backup I made when on CM, CM13 doesn't boot at all.
I've spent about a day trying just about anything. Nothing seems to work. Can someone pull their modem file? Or would flashing NON-HLOS.bin help? Is there a different way of restoring my EFS backups? I read something about TWRP 3.0.2-0 not playing nice with EFS. Would flashing TWRP 3.0.2-2 and then restoring EFS work? Or is there a way to restore the phone back to "just-out-of-the-box" status? I don't mind losing unlocked BL or TWRP, I can do that all again. I thought as long as I backup everything including EFS, nothing can really go wrong. A user in XDA posted that "shady" guides that "don't get discussed at XDA" can usually help you get IMEI back. I don't want to illicit illegal practices here, but I'm desperate enough to try just about anything.
Thanks a lot for your help. If no-one here can help me, I suppose it's back to amazon. And probably pay a decent amount for it, too
Click to expand...
Click to collapse
It seems that I am having the same kind of issue with the newest version of TWRP. After having some issues with incoming and outgoing phone calls, I stumbled across the above command. After using the command I lost my ability to connect to my network operator. Therefore I tried to do a recovery from TWRP and now I'm stuck with an IMEI which shows "0".
Sadly it seems that I don't have a backup of my efs partition (noob) and now I'm desperately finding possible solutions.
Any ideas? I feel that the trying to connect to the network with no IMEI is the cause of my problem...
Dawacko87 said:
It seems that I am having the same kind of issue with the newest version of TWRP. After having some issues with incoming and outgoing phone calls, I stumbled across the above command. After using the command I lost my ability to connect to my network operator. Therefore I tried to do a recovery from TWRP and now I'm stuck with an IMEI which shows "0".
Sadly it seems that I don't have a backup of my efs partition (noob) and now I'm desperately finding possible solutions.
Any ideas? I feel that the trying to connect to the network with no IMEI is the cause of my problem...
Click to expand...
Click to collapse
Both myself, Controllerboy and many others pretty much tried everything to restore working imei numbers to no avail. Only solution for both of us was to RMA our phones unfortunately.
Tebor said:
Both myself, Controllerboy and many others pretty much tried everything to restore working imei numbers to no avail. Only solution for both of us was to RMA our phones unfortunately.
Click to expand...
Click to collapse
That's exactly not the answer I wanted to hear
I think in that case it would be advisable to go back t stock and lock the bootloader? And have you been presented with a bill from Amazon/ZTE?
Flash modemst won't work anyway, you have to flash full bootstack.
Install TWRP, then flash A2016G bootstack file that DrakenFX provided
tamahouse02 said:
Flash modemst won't work anyway, you have to flash full bootstack.
Install TWRP, then flash A2016G bootstack file that DrakenFX provided
Click to expand...
Click to collapse
Already tried going back to stock with the bootstack and files provided by DrakenFX, but the mobile network connection won't work.
It started of with connecting to the mobile network, at least it showed full bars, but without a data connection. After a few minutes
the connection to the network was lost and I haven't been able to register again.
So it seems that Trebor is right, sadly...
Hi! I have a hlte/SM-N9005 with LineageOS.
Today I tried to turn on encryption, but then I was stuck in a boot loop. I did a full wipe in TWRP and restored everything from the backup I made before (including the modem partition).
My phone boots again (without encryption), but isn't able to detect any SIM card suddenly. Not sure if something went wrong with the restored modem backup?
I tried downloading a Swiss firmware from this link, extracted it, and flashed modem.bin and NON-HLOS.bin via Heimdall - this didn't help either, though. I'm kind of out of ideas now... Any idea what's going wrong?
IMEI correct ??
Phone Status > Status > IMEI information says "IMEI: unknown" :-/ I'm guessing this is supposed to be there, even without a SIM?
Restore your backed up EFS folder .
Restoring the EFS folder from the TWRP backup is what got me into this mess in the first place. There's probably supposed to be a /efs/.nv_data.bin in the backup, but there isn't for whatever reason. I don't have older backups anymore either.
He guys,
This is in relation to the other thread I just posted, mods can go ahead and delete that one, but anyhow I'm not getting any cell signal when I follow the steps listed here:
https://forum.xda-developers.com/g5-plus/development/stock-firmware-npn25-137-67-5-fastboot-t3694738
I'm trying different versions of the stock firmware but have no luck on getting signal. My phone is an XT1687
Everything else seems to be working properly: sound, bluetooth, and my APN is automatically detected.
Any help would be appreciated.
Thanks!
I looked into it further: the IMEI number is missing from the software. It's stuck at 0. Any help? Thanks!
DJRepresent said:
I looked into it further: the IMEI number is missing from the software. It's stuck at 0. Any help? Thanks!
Click to expand...
Click to collapse
https://forum.xda-developers.com/g5-plus/help/restore-imei-0-moto-g5-xt1687-t3739808
rodentkj said:
https://forum.xda-developers.com/g5-plus/help/restore-imei-0-moto-g5-xt1687-t3739808
Click to expand...
Click to collapse
LOL I just saw that and completed it. It's working now...wow...what a pain in the butt. Do you know why that needed to be done?
DJRepresent said:
Do you know why that needed to be done?
Click to expand...
Click to collapse
Not a clue.
I'm just going to stay with the Pixel ROM and that's that.
Thanks.
DJRepresent said:
I'm just going to stay with the Pixel ROM and that's that.
Thanks.
Click to expand...
Click to collapse
now i am in Pixel Experience without VoLte
any help...
before my phone was hardbricked....model number XT1686
Probably already been said, but first, flash Pixel experience, then backup efs in recovery (just efs). Wipe system, cache, and data. Flash stock rom, then restore efs, and reboot.
If you are on stock
make a nandroid backup(without efs)
wipe everything and flash an oreo rom
reboot into bootloader and type in command window:
fastboot erase modemst1
fastboot erase modemst2
fastboot reboot (now you have signal and LTE working)
reboot into recovery and wipe all again
restore your backup
reboot and you have signal with LTE working (no VoLTE)
So I flashed back stock through fastboot coming from root. I somehow lost being able to find any WIFI networks. It just searches forever. Mobiledata works tho. I have of course a nandroid backup, but before doing anything, what could help? Tried restoring EFS and flashing MODEM.IMG with no luck. Any ideas?
I answer this. I don't know what happened but if this happens to you, try flashing the fastboot rom again, it solved the problem.