[SODP][ROM][AOSP] SonyAOSP 13 [Alpha] - Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other

The Sony Open Devices Project is always happy about volunteers (coding, testing, etc)
Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!
Official site
Unofficial site
Source Code
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
This is the AOSP ROM for the Sony Xperia XZ3 (akatsuki)
This ROM build will always mainly based on Sony AOSP Code and maybe include cherry-picks.
I plan to make monthly builds, after a new security patch level, if there is no need for a critical hotfix.
FAQ:
fastboot & adb
https://developer.sony.com/develop/open-devices/get-started/flash-tool/useful-key-combinations/
https://wiki.lineageos.org/adb_fastboot_guide.html
https://developer.android.com/studio/releases/platform-tools
Stuck at SONY logo? Maybe you need to flash the OEM binary to oem_a and oem_b, while just oem is not enough.
Bugtracker:
SODP Bugtracker -> If you think the problem is in SODP
My Bugtracker -> If you think the problem is in my implementation
Bugreport:
A bugreport needs
Code:
logcat -b all
and a way to reproduce the issue.
A crash of the system requires the content of the /sys/fs/pstore folder as bug report
Be aware that a second reboot erases this folder
A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition
You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`
To rescue a not responding phone:
VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.
VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.
VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.
Thank you very much for your help, code contribution & testing! (Random order):
@jerpelea, the sony employees and their volunteers (people like you and me) coding this wonderful piece of software
@dhacke for providing a download server
And many thanks to the few donators!
A telegram group for technical SODP stuff:
https://t.me/xda_tv

Download & Installation
Download ROM:
Android File Host
FTP-Server from @dhacke
Download Drivers:
OEM (Tama) binaries
GCAM Camera App:
GCAM Issue
Suggested GCams
Installation with a recovery:
fastboot flash oem _a oem_*.img (Only needed until the device receives mainline support by SODP)
Flash the ROM in a recovery
Reboot into recovery just to make sure you're on the new slot
OpenGapps (Requires TWRP or a custom ROM recovery)
Dual Sim Patcher (Requires TWRP or a custom ROM recovery)
(In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Flash the ROM without a recovery:
Extract the payload.bin from the .zip file
Extract the .img files with the Playload Dumper
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot -w (Wipes your internal storage and the userdata; only if needed)
Now you got the AOSP recovery, to please continue with the normal installation
fastboot flash oem_a oem_*.img (Only needed until the device receives mainline support by SODP)
fastboot flash vendor vendor.img
fastboot flash system system.img

News
07.10.2022
android-13.0.0_r7 (October security patchlevel)
Click to expand...
Click to collapse
OTA.zip generation is working again
Click to expand...
Click to collapse
08.09.2022
android-13.0.0_r4 (September security patchlevel)
Click to expand...
Click to collapse
06.09.2022
android-13.0.0_r1 (August security patchlevel)
Click to expand...
Click to collapse

Hi MartinX3!
Thank you for your work!
I've tried to install this rom on my h9493 and it was bootloop. When it turns on only unlocked bootloader icon showing and after it only black screen. I did everything according to your instructions. But with the project on android 12.1 the situation is exactly the same.
Unfortunately, logcat is empty
Please feel free to contact me for any testing

nikonsok said:
Hi MartinX3!
Thank you for your work!
I've tried to install this rom on my h9493 and it was bootloop. When it turns on only unlocked bootloader icon showing and after it only black screen. I did everything according to your instructions. But with the project on android 12.1 the situation is exactly the same.
Unfortunately, logcat is empty
Please feel free to contact me for any testing
Click to expand...
Click to collapse
adb connection works? how can the logcat be empty?
What about the pstore?
12.1 did boot, maybe you need the newest stock 10 booted to the app screen once?
and maybe you flashed the oem wrong?
The new oem for A13 should appear this or next week.

I managed to make a system log!
log.txt
drive.google.com

Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?

JD_9 said:
JD_9 said:
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
Click to expand...
Click to collapse
no
Hello MartinX3! Thank for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
Click to expand...
Click to collapse

JD_9 said:
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
Click to expand...
Click to collapse
no

JD_9 said:
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
Click to expand...
Click to collapse
Short answer:
No as long your bootloader is locked.
Long answer:
You won't be able to flash any rom without unlocking the bootloader. I come from sov39 as well, docomo phone bootloader can't be unlock through normal way. I gave up struggling to find ways to unlock it and pay for unlock tools to unlock the bootloader.
I would suggest to just use stock rom, the price for the tool is almost half the price of my xz3 when I bought it.
Find a reliable seller for the tool if you wish to proceed.
P.S. Dun ask me source, I don't want to hold any responsibility on it.
¯⁠\⁠_⁠ಠ⁠_⁠ಠ⁠_⁠/⁠¯

xanlimit said:
Short answer:
No as long your bootloader is locked.
Long answer:
You won't be able to flash any rom without unlocking the bootloader. I come from sov39 as well, docomo phone bootloader can't be unlock through normal way. I gave up struggling to find ways to unlock it and pay for unlock tools to unlock the bootloader.
I would suggest to just use stock rom, the price for the tool is almost half the price of my xz3 when I bought it.
Find a reliable seller for the tool if you wish to proceed.
P.S. Dun ask me source, I don't want to hold any responsibility on it.
¯⁠\⁠_⁠ಠ⁠_⁠ಠ⁠_⁠/⁠¯
Click to expand...
Click to collapse
It's not worth unlocking the XZ3 now. I'll use it with the stock firmware. Sony's version of Android 10 is just bad and even slower than heavily bloated firmware such as OneUI. That's why I wanted to try a different OS. Anyway, thanks for the reply!

JD_9 said:
It's not worth unlocking the XZ3 now. I'll use it with the stock firmware. Sony's version of Android 10 is just bad and even slower than heavily bloated firmware such as OneUI. That's why I wanted to try a different OS. Anyway, thanks for the reply!
Click to expand...
Click to collapse
why not root remove bloatware install and install some handy magisk module, that's what i use to run before i flash android 12

Alex5699 said:
why not root remove bloatware install and install some handy magisk module, that's what i use to run before i flash android 12
Click to expand...
Click to collapse
Wait, is there a way to root SOV39 without tampering with the bootloader? There's a way IK of but it's a temporary root solution which will phase out after rebooting the phone. I've removed all of the bloatware using adb shell. So, for me it's not worth paying $30. Don't you agree?

well my bl is unlocked and im also using a sov39 ( bought it unlock off ebay ) .
cant you root it using magisk ? get the stock boot.img patch it using magisk and then fastboot flash boot.img in the system ?? should work on lock bl. please correct me if im wrong as i know there is a way to root even if your bl is locked

JD_9 said:
Wait, is there a way to root SOV39 without tampering with the bootloader? There's a way IK of but it's a temporary root solution which will phase out after rebooting the phone. I've removed all of the bloatware using adb shell. So, for me it's not worth paying $30. Don't you agree?
Click to expand...
Click to collapse
i wish my bl wasnt unlock my camera suck now

Is there anyway to build sodp for sov39 ?

May I ask if the Rom has livedisplay ?

MartinX3 is this stable for daily use?​

07.10.2022
android-13.0.0_r7 (October security patchlevel)
Click to expand...
Click to collapse
OTA.zip generation is working again
Click to expand...
Click to collapse

MartinX3 said:
07.10.2022
Click to expand...
Click to collapse
I can't find new OTA version. I see only old SW_BINARIES_FOR_XPERIA_ANDROID_12_4.19_V3A_TAMA (updated date 27 July).
Is it the correct version?

Related

Getting my device in few days need help

Guys getting my device in few days need some help
How can I install Google store iam little nervous to root this device
Is that safe to use default rom?
yajur said:
Guys getting my device in few days need some help
How can I install Google store iam little nervous to root this device
Is that safe to use default rom?
Click to expand...
Click to collapse
Chances are Google will come pre-installed, problem is with vendor rom as well just follow the guides (in the guide section, you don't have to root if you flash genuine Chinese ROM don't even need TWRP. If you want EU ROM then TWRP is needed but not root, need to flash dm-verify before first boot if you don't root. If you go Chinese ROM can get Google from mi store.
Hi,
Your device should come with a Vendor ROM pre-installed which already has all the Google apps built in.
Its okay to use the vendor ROM if you dont mind not getting any updates. Just check with Malwarebytes to see if there is any malware. Malwarebytes flagged the default MIUI Notes app as a downloader trojan for me and a few others.
I personally wouldnt advice being on the Vendor ROM but thats just my opinion.
Anyway, as you wait for your phone to arrive, you can try applying for an Unlock code using the guide posted by underlines.
I would recommend switching to the EU ROM as it is a very clean and stable ROM with no bloatware. You can also refer to the guide I've posted if you wish to switch to the EU ROM from a Vendor ROM.
Its simple and as long as you follow the steps, you shouldn't face any issues.
Thanks guy I keep you posted.
How can you check if boot loader is unlock already
cheapshot789 said:
How can you check if boot loader is unlock already
Click to expand...
Click to collapse
fastboot OEM device-info
Boot your phone in fastboot mode and from command prompt type the above, assuming you have adb and fastboot installed on PC
guys got my device
How to find my rom in vendor rom or official rom ?
in the model number i can able to see MIUI global stable 8.0.8.0.0(MAHCNDI)
yajur said:
guys got my device
How to find my rom in vendor rom or official rom ?
in the model number i can able to see MIUI global stable 8.0.8.0.0(MAHCNDI)
Click to expand...
Click to collapse
You have a Vendor ROM on the device. Follow one of the guides and flash a ROM of your choice!
As long as you follow all the steps carefully, you shouldn't face any issues.
satishp said:
You have a Vendor ROM on the device. Follow one of the guides and flash a ROM of your choice!
As long as you follow all the steps carefully, you shouldn't face any issues.
Click to expand...
Click to collapse
Thanks for the reply
I applied for bootloader unlocking and it possible to flash official rom with bootloader locked?
yajur said:
Thanks for the reply
I applied for bootloader unlocking and it possible to flash official rom with bootloader locked?
Click to expand...
Click to collapse
Did you check whether bootloader is locked? There is a possibility that it is already unlocked.
And yes, you can flash official ROM via fastboot mode even if your bootloader is locked but it requires a special flash cable. Another way is to flash via EDL mode which bypasses a locked bootloader but this is a risky process and is usually only recommended as a last resort. Anyway none of the official ROMS have GAPPS built-in so I'd suggest its best you wait till you get the unlock code if your device isnt already unlocled.
satishp said:
Did you check whether bootloader is locked? There is a possibility that it is already unlocked.
And yes, you can flash official ROM via fastboot mode even if your bootloader is locked but it requires a special flash cable. Another way is to flash via EDL mode which bypasses a locked bootloader but this is a risky process and is usually only recommended as a last resort. Anyway none of the official ROMS have GAPPS built-in so I'd suggest its best you wait till you get the unlock code if your device isnt already unlocled.
Click to expand...
Click to collapse
oem device-info came fales only i already requested for unlocking i think i have to wait only.

Custom Rom Development

Hi guys. I'm due an upgrade soon and have never had a sony phone before and was thinking of getting the xz3. What's the custom rom development like on Sony? Are they easy enough to root and mod? My current phone is HTC 10 and looking for something different. Any advise appreciated :good:
Generally my experience is that custom rom development for Sony flagships is quite active and varied. However, the phone has only been out for barely a month and there is no TWRP or DRM fix for the phone yet.
However, it does run Android Pie, so whenever a (stable/working) TWRP is released you should be able to flash any Project Treble ROMs.
mufunyo said:
Generally my experience is that custom rom development for Sony flagships is quite active and varied. However, the phone has only been out for barely a month and there is no TWRP or DRM fix for the phone yet.
However, it does run Android Pie, so whenever a (stable/working) TWRP is released you should be able to flash any Project Treble ROMs.
Click to expand...
Click to collapse
Thanks for the info. I was reading about drm today and how it can stop camera and bravia from working. Seems like a minefield. Do you have to unlock bootloader before rooting Sony devices? Is it done through adb or is there a tool or app for rooting?
Harrygsr said:
Thanks for the info. I was reading about drm today and how it can stop camera and bravia from working. Seems like a minefield. Do you have to unlock bootloader before rooting Sony devices? Is it done through adb or is there a tool or app for rooting?
Click to expand...
Click to collapse
Yes, rooting implies modifying the boot partition, for which you need to unlock your boot loader. Unlocking your boot loader destroys the TA partition which contains your DRM keys. Once unlocked you can flash a custom recovery (like TWRP) through ADB, and then you can install Magisk using the ZIP flash functionality of your custom recovery.
Can anyone check if you can enable OEM unlock in developer option?
SOMC disabled OEM unlocking in Pie update for XZ2 and it may affect XZ3.
XZ2 has Oreo rom and downgrade is possible, but XZ3 is shipped with Pie, so...
https://github.com/sonyxperiadev/bug_tracker/issues/211#issuecomment-431021544
oem unlock greyed out...at least on both hk dual sim firmware and us single sim firmware
AndroPlus said:
Can anyone check if you can enable OEM unlock in developer option?
SOMC disabled OEM unlocking in Pie update for XZ2 and it may affect XZ3.
XZ2 has Oreo rom and downgrade is possible, but XZ3 is shipped with Pie, so...
https://github.com/sonyxperiadev/bug_tracker/issues/211#issuecomment-431021544
Click to expand...
Click to collapse
clyde112 said:
oem unlock greyed out...at least on both hk dual sim firmware and us single sim firmware
Click to expand...
Click to collapse
Same with my german h8416 (t-mobile ger)
I have find this today: https://talk.sonymobile.com/t5/Andr...unlocking-option-greyed-out/td-p/1348087#gref
the next release date is arround 15 december, i think.
15 december too long from now, should fix this asap. No excuse not to fix this when Sony lists XZ3 as open device....
note:the reference you gave does not list 15 december, assuming this is your guess?
sq_dev said:
I have find this today: https://talk.sonymobile.com/t5/Andr...unlocking-option-greyed-out/td-p/1348087#gref
the next release date is arround 15 december, i think.
Click to expand...
Click to collapse
Guys if you want eXistenZ rom on your device, try to raise some founds to get me your device and I'll be able to develop for XZ3 [emoji6]
Here link of my XZ2 rom, as you will see this is best Pie rom available and fully functional.
https://forum.xda-developers.com/xperia-xz2/development/rom-existenz-pie-v1-0-0-26-11-18-t3871854
Envoyé de mon H8266 en utilisant Tapatalk

[Discussion] Root & Bootloader Unlock is been archive (NON-5G)

Thanks to the help of @Unjustified Dev (no other of course ) , Unlock Bootloader is been Archive and with that, root is also done (needs Unlock bootloader)
Now only thing thing to do is let get the 3rd. Party development started, of course we need devs and hopefully we can get some devs interested in this device , which hardware wise is awesome.
P.S. Android 10 is a GSI Build and need Unlock bootloader to be flash (typical huh).
How well does the Android 10 GSI run?
MishaalRahman said:
How well does the Android 10 GSI run?
Click to expand...
Click to collapse
Pretty Smooth and Stable,
Known Issues :
* Screen Lock only can be set to : NONE / SWIPE
There is no other Screen lock option (Pin/Password?/Pattern,Etc)
* In-Display FingerPrint Not Working
Click to expand...
Click to collapse
Other than that everything runs as expected
What version of the device did you get 8 or 12 on ram ?
What recovery did you use? Can you please describe the rooting procedure? Thank you much!
Soyunamortz said:
What version of the device did you get 8 or 12 on ram ?
Click to expand...
Click to collapse
8GB - A2020U Model (USA)
mideg said:
What recovery did you use? Can you please describe the rooting procedure? Thank you much!
Click to expand...
Click to collapse
Still stock Recovery, TWRP is in development (I hope),
For starters, for ROOT you need to be " unlock bootloader " , other wise I don't see how root can be done.
By unlocking the bootloader is extremely easy using @Unjustified Dev New tool release found here :
https://forum.xda-developers.com/ax...-10-5g-edl-tool-flash-backup-restore-t3964605
@DrakenFX: Thanks for your response! How did you get root? To my understanding, unlocking the bootloader does not mean to get root. Did you use Magisk? Or a rooted boot.img?
mideg said:
@DrakenFX: Thanks for your response! How did you get root? To my understanding, unlocking the bootloader does not mean to get root. Did you use Magisk? Or a rooted boot.img?
Click to expand...
Click to collapse
Pre-Magisk Patched boot.img indeed.....
But like I mentioned before, need unlocked bootloader with the fastboot commands to flash this Patched boot.img.
I'll create a thread maybe today or soon on how to do such thing.
@DrakenFX
is that okay?
axon 10 Boot.img with the edl tool backup,
then patch the boot.img on the axon10 with Magisk, and then the patched boot.img flash with edl tool
Chris axon 7 said:
@DrakenFX
is that okay?
axon 10 Boot.img with the edl tool backup,
then patch the boot.img on the axon10 with Magisk, and then the patched boot.img flash with edl tool
Click to expand...
Click to collapse
That will work,
but you'll need UNLOCK BOOTLOADER if you don't want to end up in bootloops.

			
				
@Chris axon 7
What works and what's not?
I'm 99.9% sure Fingerprint is missing ??
Delete, Auto-Duplicated by some reason ?
hi
Hi
i did unlock the bootloader
but i can not access fastboot
how did you access fastboot mode ?
DrakenFX said:
Pre-Magisk Patched boot.img indeed.....
But like I mentioned before, need unlocked bootloader with the fastboot commands to flash this Patched boot.img.
I'll create a thread maybe today or soon on how to do such thing.
Click to expand...
Click to collapse
Hi DrakenFX,
How can i download Patched boot.img or how i will patch my boot.img, thanks

Upgrade to Android 7.0 with EMUI 5.0

I have rolled back from Anddroid 7.0 Nougat with EMUI 5.0 to Android 6.0 with EMUI 4.1.1, Now i want to go back to latest Android 7.0 , I dont know how to do it. Update app/HiSuit/HiCare app Says no update available.
My current Build is EVA-L19C185B180
md sabuj said:
I have rolled back from Anddroid 7.0 Nougat with EMUI 5.0 to Android 6.0 with EMUI 4.1.1, Now i want to go back to latest Android 7.0 , I dont know how to do it. Update app/HiSuit/HiCare app Says no update available.
My current Build is EVA-L19C185B180
Click to expand...
Click to collapse
Download from Firmware Finder and install by DLOAD FullOTA-MF-PV (PV is important) EVA-L19c185b385, as on the screenshot
Or, follow the guide to rebrand to c432 and upgrade to Noogat (unlocked Bootloader is required):
https://forum.xda-developers.com/showpost.php?p=72153575&postcount=2
zgfg said:
Download from Firmware Finder and install by DLOAD FullOTA-MF-PV (PV is important) EVA-L19c185b385, as on the screenshot
Or, follow the guide to rebrand to c432 and upgrade to Noogat (unlocked Bootloader is required):
https://forum.xda-developers.com/showpost.php?p=72153575&postcount=2
Click to expand...
Click to collapse
I have successfully upgraded to Android 7.0 Nougat by the help of firmware finder app .
My current Build is EVA-L19C185B403.
Is there anyway to upgrade to Oreo without unlocking Bootloader? I don’t have a card to buy code from DCunlock.
md sabuj said:
I have successfully upgraded to Android 7.0 Nougat by the help of firmware finder app .
My current Build is EVA-L19C185B403.
Is there anyway to upgrade to Oreo without unlocking Bootloader? I don’t have a card to buy code from DCunlock.
Click to expand...
Click to collapse
No, you cannot flash TWRP and from TWRP the oeminfo and no-check recovery, network patch... without the unlocked Bootloader
zgfg said:
No, you cannot flash TWRP and from TWRP the oeminfo and no-check recovery, network patch... without the unlocked Bootloader
Click to expand...
Click to collapse
I have found some videos and Threads saying some Huawei's Tool can read Bootloader Code.
Is it true?
md sabuj said:
I have found some videos and Threads saying some Huawei's Tool can read Bootloader Code.
Is it true?
Click to expand...
Click to collapse
I don't know anything about 'some' such tools
DC Unlocker for 4 Euros will work for EMUI 5
zgfg said:
I don't know anything about 'some' such tools
DC Unlocker for 4 Euros will work
Click to expand...
Click to collapse
Thank you?
zgfg said:
I don't know anything about 'some' such tools
DC Unlocker for 4 Euros will work for EMUI 5
Click to expand...
Click to collapse
How much credits I have to buy from DC Unlocker for bootloader code?
md sabuj said:
How much credits I have to buy from DC Unlocker for bootloader code?
Click to expand...
Click to collapse
4 Euros was enough for me two years ago (also P9).
Don't know if prices changed, but they have contact page and ask them directly
zgfg said:
4 Euros was enough for me two years ago (also P9).
Don't know if prices changed, but they have a contact page and ask them directly
Click to expand...
Click to collapse
Brother, I have bought 4 credits from Dc Unlocker and successfully read Bootloader Code, Now will you please guide me on how to unlock the bootloader and rebrand for upgrading to Oreo?
md sabuj said:
Brother, I have bought 4 credits from Dc Unlocker and successfully read Bootloader Code, Now will you please guide me on how to unlock the bootloader and rebrand for upgrading to Oreo?
Click to expand...
Click to collapse
First, keep your code (on several places, even printed on the paper), it is good for relocking/unlocking (you never know, some actions may lock the Bootloader back) for the lifetime of your phone.
You don't want to go buying the same thing again
Assuming you know how to enable OEM Unlock in Developer's menu and you are a little familiar with Fastboot, it is simple to unlock the Bootloader
Code:
fastboot oem unlock <your code>
If not familiar, and if not clear as below, search on Google how to:
- enable Developer menu by clicking 7 times to the build number in Settings/About
- enable OEM unlock in Developer menu
- install "Minimal ADB and Fastboot" to Windoze (smallest, self containing package with everything for ADB and Fastboot)
- reboot to Fastboot: keep pressing Vol-, then Pow button
Unlocking Bootloader triggers hard-reset, wiping also Internal memory. Backup as much as you can - use Google account, HiSuite, WA own chat backup, copy DCIM to PC, Contacts can be exported to vcard file, etc
Rebranding to AL10c00, upgrading to b540 Oreo, applying the neccesary Network patch to make SiM card(s) working - all is in deep details explained in the OP posts:
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
Read two times before you start, and keep the instructions opened on the PC while doing - wrong moves can cause (soft) bricks
zgfg said:
First, keep your code (on several places, even printed on the paper), it is good for relocking/unlocking (you never know, some actions may lock the Bootloader back) for the lifetime of your phone.
You don't want to go buying the same thing again
Assuming you know how to enable OEM Unlock in Developer's menu and you are a little familiar with Fastboot, it is simple to unlock the Bootloader
Code:
fastboot oem unlock <your code>
If not familiar, and if not clear as below, search on Google how to:
- enable Developer menu by clicking 7 times to the build number in Settings/About
- enable OEM unlock in Developer menu
- install "Minimal ADB and Fastboot" to Windoze (smallest, self containing package with everything for ADB and Fastboot)
- reboot to Fastboot: keep pressing Vol-, then Pow button
Unlocking Bootloader triggers hard-reset, wiping also Internal memory. Backup as much as you can - use Google account, HiSuite, WA own chat backup, copy DCIM to PC, Contacts can be exported to vcard file, etc
Rebranding to AL10c00, upgrading to b540 Oreo, applying the neccesary Network patch to make SiM card(s) working - all is in deep details explained in the OP posts:
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
Read two times before you start, and keep the instructions opened on the PC while doing - wrong moves can cause (soft) bricks
Click to expand...
Click to collapse
Thank you, Brother, I have done all procedure and my device is now at Oreo, Build EVA-AL10 8.0.0.540(C00).
After doing all the required steps I have flashed Huawei's Official Recovery and enabled OTA, after that I have received an OTA update of 3 MB, Should I install the update or not?
SCREENSHOT
https://drive.google.com/file/d/1s9c7zZoN8fJ3Xq62DW1GAL2P_9maq1Bn/view?usp=sharing
md sabuj said:
First, keep your code (on several places, even printed on the paper), it is good for relocking/unlocking (you never know, some actions may lock the Bootloader back) for the lifetime of your phone.
You don't want to go buying the same thing again
Assuming you know how to enable OEM Unlock in Developer's menu and you are a little familiar with Fastboot, it is simple to unlock the Bootloader
Thank you, Brother, I have done all procedure and my device is now at Oreo, Build EVA-AL10 8.0.0.540(C00).
After doing all the required steps I have flashed Huawei's Official Recovery and enabled OTA, after that I have received an OTA update of 3 MB, Should I install the update or not?
SCREENSHOT
https://drive.google.com/file/d/1s9c7zZoN8fJ3Xq62DW1GAL2P_9maq1Bn/view?usp=sharing
Click to expand...
Click to collapse
It is safe, just some Patch02 (never found exactly what for).
If you don't mind, you can skip (you can disable OTA - see in OP)
If you go for, you must first flash back the stock Recovery, hence not having TWRP. Not sure anymore, maybe also stock Ramdisk, hence not Magisk
Patch02 will not affect Network Patch or Face Unlock (cool add-on, see OP)
If you didn't apply Network patch yet, etc - then accept Patch02 and continue with OP instructions.
If you already rooted by Magisk, then don't bother with Patch02, too much trouble preparing clean sheet for OTA and rooting again
zgfg said:
It is safe, just some Patch02 (never found exactly what for).
If you don't mind, you can skip (you can disable OTA - see in OP)
If you go for, you must first flash back the stock Recovery, hence not having TWRP. Not sure anymore, maybe also stock Ramdisk, hence not Magisk
Patch02 will not affect Network Patch or Face Unlock (cool add-on, see OP)
If you didn't apply Network patch yet, etc - then accept Patch02 and continue with OP instructions.
If you already rooted by Magisk, then don't bother with Patch02, too much trouble preparing clean sheet for OTA and rooting again
Click to expand...
Click to collapse
I have already applied Network Patch, See my both SIM is working.
Right now I don’t need Root so I'm skipping Magisk.
I just want to disappear the update available Notification, if the update is Safe I'll go for it.
zgfg said:
It is safe, just some Patch02 (never found exactly what for).
If you don't mind, you can skip (you can disable OTA - see in OP)
If you go for, you must first flash back the stock Recovery, hence not having TWRP. Not sure anymore, maybe also stock Ramdisk, hence not Magisk
Patch02 will not affect Network Patch or Face Unlock (cool add-on, see OP)
If you didn't apply Network patch yet, etc - then accept Patch02 and continue with OP instructions.
If you already rooted by Magisk, then don't bother with Patch02, too much trouble preparing clean sheet for OTA and rooting again
Click to expand...
Click to collapse
I'm from Bangladesh, some Operator in our country introduced VoLTE.
It seems there is an option called VoLTE after upgrade to Oreo. Is it really works?
md sabuj said:
I'm from Bangladesh, some Operator in our country introduced VoLTE.
It seems there is an option called VoLTE after upgrade to Oreo. Is it really works?
Click to expand...
Click to collapse
Nope, VoLTE does not work.
Everything else, like location sharing and Ok Google are fixed with Network patch, but not VoLTE.
The guy who did the whole majestic work went tired (although he believed he was close to fix VoLTE) and gave up. Later he upgraded to newer Huawei devices with Pie, etc, and eventually moved away from XDA
zgfg said:
Nope, VoLTE does not work.
Everything else, like location sharing and Ok Google are fixed with Network patch, but not VoLTE.
The guy who did the whole majestic work went tired (although he believed he was close to fix VoLTE) and gave up. Later he upgraded to newer Huawei devices with Pie, etc, and eventually moved away from XDA
Click to expand...
Click to collapse
???
zgfg said:
Nope, VoLTE does not work.
Everything else, like location sharing and Ok Google are fixed with Network patch, but not VoLTE.
The guy who did the whole majestic work went tired (although he believed he was close to fix VoLTE) and gave up. Later he upgraded to newer Huawei devices with Pie, etc, and eventually moved away from XDA
Click to expand...
Click to collapse
Brother, How to remove the warning when Phone boots "Your device has been unlocked and can't be trusted"??
md sabuj said:
Brother, How to remove the warning when Phone boots "Your device has been unlocked and can't be trusted"??
Click to expand...
Click to collapse
It's not possible to remove the warning on booting "Your device has been unlocked and can't be trusted" (IMO, it must have been commented somewhere in the OP) - that's price for the unlocked Bootloader.
But you must not relock Bootloader - it would trigger Hard reset, removing Network patch (even worse, it could also cause soft brick if TWRP or Magisk are installed)
15 credits for unlock in fastboot mode (not pay over sms)

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

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:
https://developer.android.com/studio/releases/platform-tools
https://developer.android.com/studio/run/win-usb
this is what I did:
switch Bootloader unlock allowed no to yes: https://forum.xda-developers.com/t/...ed-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
Install the Sony drivers present in the qUnlock folder
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)
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
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.
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
Finally, install LineageOs 18.1 by following the instructions here:https://wiki.lineageos.org/devices/akari/install
StephRiff said:
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
Click to expand...
Click to collapse
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.
hibikase said:
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.
Click to expand...
Click to collapse
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
So next step if you wanted to be unlocked yes anyway, read this thread.
[CLOSED] Bootloader Unlock Allowed "No" to "Yes" is now finally possible.
Bootloader Unlock Allowed No to Yes is now finally possible Discovered by MrCooper95 QUICK STORY OF HOW IT HAPPENED For years, members of Xperia users thought that if you had a SIM locked Xperia phone, you would never able to unlock the...
forum.xda-developers.com
Thanks i will test this as soon as i can
I go back to you when i did
hibikase said:
So next step if you wanted to be unlocked yes anyway, read this thread.
[CLOSED] Bootloader Unlock Allowed "No" to "Yes" is now finally possible.
Bootloader Unlock Allowed No to Yes is now finally possible Discovered by MrCooper95 QUICK STORY OF HOW IT HAPPENED For years, members of Xperia users thought that if you had a SIM locked Xperia phone, you would never able to unlock the...
forum.xda-developers.com
Click to expand...
Click to collapse
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
StephRiff said:
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
Click to expand...
Click to collapse
Are you using AU device?
If yes, after unlocking bootloader, restore backup using that software.
hibikase said:
Are you using AU device?
If yes, after unlocking bootloader, restore backup using that software.
Click to expand...
Click to collapse
I don't understand,
the Sony XZ2 I think it's a phone that comes from Japan, I don't have the history
My sim card for testing is European, and the phone will be used in Europe.
StephRiff said:
I don't understand,
the Sony XZ2 I think it's a phone that comes from Japan, I don't have the history
My sim card for testing is European, and the phone will be used in Europe.
Click to expand...
Click to collapse
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
hibikase said:
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
Click to expand...
Click to collapse
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 said:
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
Click to expand...
Click to collapse
Yes. Try it
hibikase said:
Yes. Try it
Click to expand...
Click to collapse
Hey it works!
Bootloader unlocked and network back, thank you fantastic!
Now I install an AOSP rom, android 10 or 11, knowing that for the installation of lineageOs it is advisable to go through a Sony rom under android 10?
StephRiff said:
Hey it works!
Bootloader unlocked and network back, thank you fantastic!
Now I install an AOSP rom, android 10 or 11, knowing that for the installation of lineageOs it is advisable to go through a Sony rom under android 10?
Click to expand...
Click to collapse
LineageOS 11 sjll thread need to be on stock rom first,
And SODP thread you need Oem binary from Sony website.
hibikase said:
LineageOS 11 sjll thread need to be on stock rom first,
And SODP thread you need Oem binary from Sony website.
Click to expand...
Click to collapse
You confirm me I flash this binary with FlashTool?
Software binaries for AOSP Android 11.0 – Kernel 4.14 – Tama (latest) - Sony Developer World
developer.sony.com
I have this on FlashTool
read every thread instruction.. and ask there if you found some problem :3
hibikase said:
read every thread instruction.. and ask there if you found some problem :3
Click to expand...
Click to collapse
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

Categories

Resources