Back to stock after unlock

zalan1312

New member
Apr 21, 2017
2
1
0
Hello XDA,

I have a question for you. I'll present the situation first: I bought an EE unlocked Pixel XL, it works perfectly fine with any SIM, BUT it has Andoird 7.1 . It won't let me update it, downloads update (660 MB) and when installing, stops at 10% of the step 1.
Question is, if I flash stock again, will it work with any SIM or it would need unlocking again?
Or how can I update to latest without losing this SIM unlock? :D
 

5.1

Senior Member
Mar 18, 2012
1,316
546
143
haguenau
Hello XDA,

I have a question for you. I'll present the situation first: I bought an EE unlocked Pixel XL, it works perfectly fine with any SIM, BUT it has Andoird 7.1 . It won't let me update it, downloads update (660 MB) and when installing, stops at 10% of the step 1.
Question is, if I flash stock again, will it work with any SIM or it would need unlocking again?
Or how can I update to latest without losing this SIM unlock? :D
Hello,

Sim unlock should be independent and flashing stock firmware shouldn't sim lock your phone again...

First, enable USB debugging on your phone in developer options...

You can try to sideload the latest 7.1.2 OTA from recovery. Download latest OTA from Google here: https://developers.google.com/android/ota

N2G47E I guess. Plug your phone with USB cord to your computer and simply follow the guide from the link above to apply the OTA...

If that doesn't work either, maybe you should flash factory image

Is your bootloader already unlocked? I heard sim unlocked EE can unlock bootloader. Go in developer option and see if you can toggle "OEM unlock"

If it works, enable "OEM unlock"

Backup all personal data: photos, music, videos, documents from your internal storage. Unlocking bootloader will wipe your phone...

You'll need latest platform-tools including ADB/fastboot:

https://developer.android.com/studio/releases/platform-tools.html

Unzip platform-tools, plug your phone to your computer, reboot to bootloader and open a command prompt in the platform-tools folder (shift + right click on Windows: "open a command prompt here") and type:

fastboot flashing unlock

Check your phone. Use volume rocker to select yes and press power button to unlock the bootloader.

Once your bootloader is unlocked, reboot to bootloader again.

Download latest factory image from Google here: https://developers.google.com/android/images

N2G47E is the latest.

Unzip the folder and navigate inside. Phone plugged to your computer, double click on the flash-all.bat and let it finish. It will reboot.

Your system is now up to date. Enjoy... :good:

Let me know if you encounter any issue.

Good luck...
 

coolhandz

Senior Member
Apr 1, 2011
357
98
0
Denver
Hello,

Sim unlock should be independent and flashing stock firmware shouldn't sim lock your phone again...

First, enable USB debugging on your phone in developer options...

You can try to sideload the latest 7.1.2 OTA from recovery. Download latest OTA from Google here: https://developers.google.com/android/ota

N2G47E I guess. Plug your phone with USB cord to your computer and simply follow the guide from the link above to apply the OTA...

If that doesn't work either, maybe you should flash factory image

Is your bootloader already unlocked? I heard sim unlocked EE can unlock bootloader. Go in developer option and see if you can toggle "OEM unlock"

If it works, enable "OEM unlock"

Backup all personal data: photos, music, videos, documents from your internal storage. Unlocking bootloader will wipe your phone...

You'll need latest platform-tools including ADB/fastboot:

https://developer.android.com/studio/releases/platform-tools.html

Unzip platform-tools, plug your phone to your computer, reboot to bootloader and open a command prompt in the platform-tools folder (shift + right click on Windows: "open a command prompt here") and type:

fastboot flashing unlock

Check your phone. Use volume rocker to select yes and press power button to unlock the bootloader.

Once your bootloader is unlocked, reboot to bootloader again.

Download latest factory image from Google here: https://developers.google.com/android/images

N2G47E is the latest.

Unzip the folder and navigate inside. Phone plugged to your computer, double click on the flash-all.bat and let it finish. It will reboot.

Your system is now up to date. Enjoy... :good:

Let me know if you encounter any issue.

Good luck...
Just had to say great, helpful response.
 
  • Like
Reactions: 5.1

zalan1312

New member
Apr 21, 2017
2
1
0
Thank you for the very. very helpful answer. I solved it and here's how.

So, bootloader was unlocked, I tried to lock it again, maybe that was the reason why it won't let me update OTA. After re-locking I couldn't start the phone at all. I powered it on, and got this screen :
YOUR DEVICE IS CORRUPT. IT CAN'T BE TRUSTED AND MAY NOT WORK PROPERLY
- the red error

The phone just showed me this screen and was supposed to boot normally after 10 seconds but instead it turned off. The bootloader was locked and couldn't flash anything.
Solution for this problem: just start it in bootloader mode, connect to PC, start a command prompt and type
Code:
Fastboot continue
After this, the phone starts normally, you can enable developer settings and OEM unlocking and also USB debugging.
Now you're ready to flash, just follow @5.1's very good tutorial.

Backup all personal data: photos, music, videos, documents from your internal storage. Unlocking bootloader will wipe your phone...

You'll need latest platform-tools including ADB/fastboot


Unzip platform-tools, plug your phone to your computer, reboot to bootloader and open a command prompt in the platform-tools folder (shift + right click on Windows: "open a command prompt here") and type:

fastboot flashing unlock

Check your phone. Use volume rocker to select yes and press power button to unlock the bootloader.

Once your bootloader is unlocked, reboot to bootloader again.

Download latest factory image from Google here

N2G47E is the latest.

Unzip the folder and navigate inside. Phone plugged to your computer, double click on the flash-all.bat and let it finish. It will reboot.

Your system is now up to date. Enjoy... :good:

Good luck...

I didn't encounter any problem after flashing the latest android, it's still unlocked, I can use any SIM.

Hope it helps also other users. :good:
Thanks for helping. :good:
 
  • Like
Reactions: 5.1