[Solved] XZ2 (H8216) can't unlock bootloader ?

Search This thread

StephRiff

Member
Dec 26, 2019
11
5
Google Nexus 4
ZTE Axon 7
Hi guys,

I nedd your help.
I just bought a Sony Xperia XZ2 (H8216) for my mother, I want to install LineageOs18.
My first problem : it's on android 9, for install LineageOs18 he required has intall Sony oem rom, if i have correctly understand, but second problem :) , I can't update to officiel rom because this phone not detect update (servers are down ?).
Third problem : I try going through an AOSP version, the famous Bootloader unlock is required, problem in the service menu I have "Bootloader unlock allowed: NO".

Is there a solution ? or will this phone never be able to be updated whether it is AOSP or custom rom?

Thanks you for help and have read

Update 2021-11-28:

I installed a pc with Windows 10 all clean and deactivate windows defender, it detects the software qUnlock S1 Unlock Tool virus, it will also avoid having deleted files, for example the backups generated by qUnlock.
Install with:
  1. https://developer.android.com/studio/releases/platform-tools
  2. https://developer.android.com/studio/run/win-usb

this is what I did:
  1. switch Bootloader unlock allowed no to yes: https://xdaforums.com/t/bootloader-unlock-allowed-no-to-yes-is-now-finally-possible.4044091/
    I buy credit here: https://networkunlocking.com/shop/sony-xperia-cable-unlock-0-counter-supported/ in description product you have link to download qUnlock S1 Unlock Tool the latest version

  2. Install the Sony drivers present in the qUnlock folder

  3. Launch qUnlock enter your username obtained after the purchase of credit made a check credits, if error you must wait for your account to be set up, when your account is operational, click SIM Unlock and follow the qUnlock instructions (switch the phone to flash mod)

  4. When the process is finished check if Bootloader unlock allowed is passed to yes and if in your qUnlock folder you have a backup folder with a folder of your IMEI with the backup files of your phone, it may be that your phone network no longer works, execute the Sony procedure to unlock the bootloader: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader

  5. Restart your phone you have the information that your bootloader is unlocked, if you still do not have a network go back to qUnlock and click on WriteBackup (switch the phone to flash mod). You will need to find your network and keep your bootloader unlocked.

  6. I then install the newer version of the oem rom (for me, the 52.1.A.0.618) with FlashTool from Sony: https://developer.sony.com/develop/open-devices/get-started/flash-tool

  7. Finally, install LineageOs 18.1 by following the instructions here:https://wiki.lineageos.org/devices/akari/install
 
Last edited:
  • Like
Reactions: ivangamerhd

hibikase

Senior Member
May 31, 2019
140
67
Indonesia
Project Treble
Xperia XZ2
Hi guys,

I nedd your help.
I just bought a Sony Xperia XZ2 (H8216) for my mother, I want to install LineageOs18.
My first problem : it's on android 9, for install LineageOs18 he required has intall Sony oem rom, if i have correctly understand, but second problem :) , I can't update to officiel rom because this phone not detect update (serveurs are down ?).
Third problem : I try going through an AOSP version, the famous Bootloader unlock is required, problem in the service menu I have "Bootloader unlock allowed: NO".

Is there a solution ? or will this phone never be able to be updated whether it is AOSP or custom rom?

Thanks you for help and have read
First, let identify which one your device is.
Try to turn on NFC, if it's doesn't want to turned on, then it's Probably Japan/Carrier specific version with Global Firmware.
 
  • Like
Reactions: StephRiff

StephRiff

Member
Dec 26, 2019
11
5
Google Nexus 4
ZTE Axon 7
First, let identify which one your device is.
Try to turn on NFC, if it's doesn't want to turned on, then it's Probably Japan/Carrier specific version with Global Firmware.

I tried to activate the NFC it seems to work, I take screenshots.
But in fact in the NFC options there is "Osaifu-Keitai" which is the mobile wallet in Japan.
I am looking for the build installer, it is indeed a "Japanese" version (52.0.D.5.298) https://xpericheck.com/702SO
Thanks for help me
 

Attachments

  • Screenshot_20211121-101625.png
    Screenshot_20211121-101625.png
    97.9 KB · Views: 103
  • Screenshot_20211121-101641.png
    Screenshot_20211121-101641.png
    32.8 KB · Views: 99
  • Screenshot_20211121-110238.jpg
    Screenshot_20211121-110238.jpg
    159.4 KB · Views: 103
  • Like
Reactions: hibikase

StephRiff

Member
Dec 26, 2019
11
5
Google Nexus 4
ZTE Axon 7
Hi,
I just did it, it works the bootloader unlock is go to yes but i no longer have a mobile network, the sim card is detecting and pin is required, but no network.
If you think switching to another rom will work, the next steps are:
- install an AOSP version (android 10 or 11? for installing lineageOs 18.1) by doing the sony procedure to unlock bootloader
- install TWRP
- install lineageOs

You confirm to me that this is the correct procedure?
And question I have to save the DRM keys

Thanks for your time and help
 
  • Like
Reactions: ivangamerhd

hibikase

Senior Member
May 31, 2019
140
67
Indonesia
Project Treble
Xperia XZ2
Hi,
I just did it, it works the bootloader unlock is go to yes but i no longer have a mobile network, the sim card is detecting and pin is required, but no network.
If you think switching to another rom will work, the next steps are:
- install an AOSP version (android 10 or 11? for installing lineageOs 18.1) by doing the sony procedure to unlock bootloader
- install TWRP
- install lineageOs

You confirm to me that this is the correct procedure?
And question I have to save the DRM keys

Thanks for your time and help
Are you using AU device?
If yes, after unlocking bootloader, restore backup using that software.
 

StephRiff

Member
Dec 26, 2019
11
5
Google Nexus 4
ZTE Axon 7
When you unlocking with qunlocktools, it's backup ta partition (if I'm not wrong), find where it's saved.
Then, open qunlocktools and choose restore
Yes I have backup
So I do the sony procedure to unlock the bootloader, and after I restore the qUnlockTool backup?
I would keep the bootloader unlocked, and the network will work again?
Sorry for maybe silly questions
Thank you
 

StephRiff

Member
Dec 26, 2019
11
5
Google Nexus 4
ZTE Axon 7
read every thread instruction.. and ask there if you found some problem :3
Hi I have successfully installed LineageOs 18.1, thanks again
Just a problem to the fingerprint, I will put a message in the LineageOS 18.1 thread
I updated my first post, I wrote down what I did

Update :
Fingerprint works after deactivating development options
 
Last edited:
  • Like
Reactions: ivangamerhd

luins88

New member
Nov 5, 2023
1
0
HI hibikase,

I have a unlock bootloader for XZ1 compact which I have successful compile and install LineageOS 19.1 but the NFC cannot work as it developed for global rom. I have so far unable to made the NFC work for Docomo phone which is using differrent chip ie cx2224. I understand that you have enable NFC for XZ2 model. Are you able to guide me as I am compiling the LineageOS rom myself. Thank you.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi guys,

    I nedd your help.
    I just bought a Sony Xperia XZ2 (H8216) for my mother, I want to install LineageOs18.
    My first problem : it's on android 9, for install LineageOs18 he required has intall Sony oem rom, if i have correctly understand, but second problem :) , I can't update to officiel rom because this phone not detect update (servers are down ?).
    Third problem : I try going through an AOSP version, the famous Bootloader unlock is required, problem in the service menu I have "Bootloader unlock allowed: NO".

    Is there a solution ? or will this phone never be able to be updated whether it is AOSP or custom rom?

    Thanks you for help and have read

    Update 2021-11-28:

    I installed a pc with Windows 10 all clean and deactivate windows defender, it detects the software qUnlock S1 Unlock Tool virus, it will also avoid having deleted files, for example the backups generated by qUnlock.
    Install with:
    1. https://developer.android.com/studio/releases/platform-tools
    2. https://developer.android.com/studio/run/win-usb

    this is what I did:
    1. switch Bootloader unlock allowed no to yes: https://xdaforums.com/t/bootloader-unlock-allowed-no-to-yes-is-now-finally-possible.4044091/
      I buy credit here: https://networkunlocking.com/shop/sony-xperia-cable-unlock-0-counter-supported/ in description product you have link to download qUnlock S1 Unlock Tool the latest version

    2. Install the Sony drivers present in the qUnlock folder

    3. Launch qUnlock enter your username obtained after the purchase of credit made a check credits, if error you must wait for your account to be set up, when your account is operational, click SIM Unlock and follow the qUnlock instructions (switch the phone to flash mod)

    4. When the process is finished check if Bootloader unlock allowed is passed to yes and if in your qUnlock folder you have a backup folder with a folder of your IMEI with the backup files of your phone, it may be that your phone network no longer works, execute the Sony procedure to unlock the bootloader: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader

    5. Restart your phone you have the information that your bootloader is unlocked, if you still do not have a network go back to qUnlock and click on WriteBackup (switch the phone to flash mod). You will need to find your network and keep your bootloader unlocked.

    6. I then install the newer version of the oem rom (for me, the 52.1.A.0.618) with FlashTool from Sony: https://developer.sony.com/develop/open-devices/get-started/flash-tool

    7. Finally, install LineageOs 18.1 by following the instructions here:https://wiki.lineageos.org/devices/akari/install
    1
    Hi guys,

    I nedd your help.
    I just bought a Sony Xperia XZ2 (H8216) for my mother, I want to install LineageOs18.
    My first problem : it's on android 9, for install LineageOs18 he required has intall Sony oem rom, if i have correctly understand, but second problem :) , I can't update to officiel rom because this phone not detect update (serveurs are down ?).
    Third problem : I try going through an AOSP version, the famous Bootloader unlock is required, problem in the service menu I have "Bootloader unlock allowed: NO".

    Is there a solution ? or will this phone never be able to be updated whether it is AOSP or custom rom?

    Thanks you for help and have read
    First, let identify which one your device is.
    Try to turn on NFC, if it's doesn't want to turned on, then it's Probably Japan/Carrier specific version with Global Firmware.
    1
    First, let identify which one your device is.
    Try to turn on NFC, if it's doesn't want to turned on, then it's Probably Japan/Carrier specific version with Global Firmware.

    I tried to activate the NFC it seems to work, I take screenshots.
    But in fact in the NFC options there is "Osaifu-Keitai" which is the mobile wallet in Japan.
    I am looking for the build installer, it is indeed a "Japanese" version (52.0.D.5.298) https://xpericheck.com/702SO
    Thanks for help me
    1
    1
    Hi,
    I just did it, it works the bootloader unlock is go to yes but i no longer have a mobile network, the sim card is detecting and pin is required, but no network.
    If you think switching to another rom will work, the next steps are:
    - install an AOSP version (android 10 or 11? for installing lineageOs 18.1) by doing the sony procedure to unlock bootloader
    - install TWRP
    - install lineageOs

    You confirm to me that this is the correct procedure?
    And question I have to save the DRM keys

    Thanks for your time and help