• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Unofficial] LineageOS 18.1 for D6633 Xperia Z3Dual

Search This thread

Mr.Tom_Tom

Senior Member
Feb 16, 2008
176
222
Munich
lineage_strip_teal-png.5158389

Introduction

This is the unofficial LineageOS 18.1 thread for the Sony Xperia Z3 DUAL D6633. Although Lineage is maintaining a device tree for the D6633 it is currently not supported officially, but this may change in the future.

If you own a Z3 single SIM D6603 go here.
If you own a Z3 Compact D5803 go here.
If you own a Z3 DUAL SIM Hongkong variant D6683 see post#2.

LineageOS 18.1 is an open-source Android distribution based on the Android Open Source Project (AOSP) version 11 (R).

Installation

If you are on stock OS, you need a custom recovery first. You can get the recommended recovery with the download link below.
If you are coming from stock or other ROMs, you need to make a factory reset. You also will need a factory reset if you come from LineageOS 17.1 with encryption enabled.
As always, make sure to backup before installing this ROM.

Detailed installation instructions

Please follow the installation instructions for LineageOS on z3. However, do not use the provided recovery and ROM links for the z3 but use the download links for the z3dual below.

Downloads


Source Code

The source code of LineageOS is available here. If you would like to contribute to LineageOS, please visit out Gerrit Code Review.
  • The z3dual device tree is available here.
  • The kernel is based on V3.4 and source code for this device is available here. The used configuration is lineageos_shinano_leo_defconfig available at arch/arm/configs/lineageos_shinano_leo_defconfig in the kernel source.


Contributors

NeoArian, Mr.Tom_Tom

If you want to donate to support development:
Donate via PayPal to NeoArian
Donate via PayPal to LineageOS
 
Last edited:

Mr.Tom_Tom

Senior Member
Feb 16, 2008
176
222
Munich

What about the D6683?​

Compared to the D6633, the D6683 has a slightly different hardware and never got a .291 firmware update with an updated bootloader.

According to a letter from SONY submitted to the FCC in 2015, D6683 has different power amplifiers for UMTS and LTE. this explains why users which try to just use a D6633 ROM on a D6683 have trouble with LTE, see here for example.

With the support of @pi r I am trying to provide a solution for D6683 devices to run LOS18.1 and I will post that here if we are successful.
 
Last edited:

TheShadowOfAGhost20

Senior Member
Mar 8, 2020
51
14
Rasht
lineage_strip_teal-png.5158389

Introduction

LineageOS 18.1 is an open-source Android distribution based on the Android Open Source Project (AOSP) version 11 (R). This is the official LineageOS 18.1 thread for the Sony Xperia Z3 (D6603).

Installation

If you are on stock OS, you need a custom recovery first. You can get the recommended recovery with the download link below.
If you are coming from stock or other ROMs, you need to make a factory reset. You also will need a factory reset if you come from LineageOS 17.1 with encryption enabled.
As always, make sure to backup before installing this ROM.

Detailed installation instructions

Please follow the installation instructions for LineageOS on z3. However, do not use the provided recovery and ROM links for the z3 but use the download links for the z3dual below.

Downloads


Source Code

The source code of LineageOS is available here. If you would like to contribute to LineageOS, please visit out Gerrit Code Review.
  • The z3dual device tree is available here.
  • The kernel is based on V3.4 and source code for this device is available here. The used configuration is lineageos_shinano_leo_defconfig available at arch/arm/configs/lineageos_shinano_leo_defconfig in the kernel source.

  • Initial build with sources available as of 14 July 2021

Contributors

NeoArian, Mr.Tom_Tom

If you want to donate to support development:
Donate via PayPal to NeoArian
Donate via PayPal to LineageOS
seems like the GPS doesn't work, i can't get my location in google maps, however, the location icon appears on status bar.
 

Mahmaod Rad

Member
May 22, 2021
38
9
Hi i found that sometimes on this rom that enter storage is notthere and i have screen shot about it and i have some logs i think will help
 

Attachments

  • screenshot-2021-07-28-11-01-48-1(1).png
    screenshot-2021-07-28-11-01-48-1(1).png
    413.5 KB · Views: 66
  • bugreport-lineage_z3dual-RQ3A.210705.001-2021-07-28-11-01-48(1).zip
    5.5 MB · Views: 16

TheShadowOfAGhost20

Senior Member
Mar 8, 2020
51
14
Rasht
@Mr.Tom_Tom do i need chromecast dongle to use cast feature?
i connected my phone and tv to same wifi network but nothing gets found.
tried an application then my tv got detected but right after connecting to tv, my phone rebooted.
 

zpunout

Senior Member
Aug 26, 2015
131
22
Samsung Galaxy S5
Moto G5 Plus
Thanks for porting Lineage 18.1 to D6633. I'm trying to install this to a D6683 which has had the following already done:
1. Flashed D6633 23.5.A.1.291 stock OS using FlashTool (in the downloaded XperiFirm files, I deleted fwinfo.xml and manually selected D6683 in the FlashTool > Bundles > Create )
2. Got root access with SuperSU with locked bootloader then backed up TA partition to preserve DRM keys.
3. reboot into temporary TWRP (still with locked bootloader) and attempt adb sideload lineage 18.1 D6633
When attempting to adb sideload Lineage 18.1 for the D6633 onto the D6683 device, TWRP returns an error: "E3004: This package is for device: z3dual; this device is ." (see attached screenshot).

The other screenshot of the About Phone screen is for general reference. Despite the phone actually being a D6683, the Model Number shows D6633. Also, to get a temporary TWRP running, the kernel was downgraded from 23.5.A.1.291 to 23.5.A.0.575 despite showing 23.5.A.1.291 in the Build Number. Under Kernel Version, it shows Apr 22 instead of June which supposedly means it is actually running 23.5.A.0.575

A couple of questions: Is it possible for me to get this Lineage 18.1 for D6633 image to work on this D6683 device somehow?
My main question:
Do I have to unlock the bootloader first and install TWRP permanently to the recovery partition? This question is why I'm writing this post here as I will only unlock the bootloader if I have to, assuming Lineage18.1 for D6633 can work on a D6683
 

Attachments

  • D6683runningD6633os.jpg
    D6683runningD6633os.jpg
    2.4 MB · Views: 57
  • D6683withD6633OsTwrpLockedBootloaderAdbSideload.jpg
    D6683withD6633OsTwrpLockedBootloaderAdbSideload.jpg
    1.4 MB · Views: 57
  • Like
Reactions: Mr.Tom_Tom

TheShadowOfAGhost20

Senior Member
Mar 8, 2020
51
14
Rasht
Thanks for porting Lineage 18.1 to D6633. I'm trying to install this to a D6683 which has had the following already done:
1. Flashed D6633 23.5.A.1.291 stock OS using FlashTool (in the downloaded XperiFirm files, I deleted fwinfo.xml and manually selected D6683 in the FlashTool > Bundles > Create )
2. Got root access with SuperSU with locked bootloader then backed up TA partition to preserve DRM keys.
3. reboot into temporary TWRP (still with locked bootloader) and attempt adb sideload lineage 18.1 D6633
When attempting to adb sideload Lineage 18.1 for the D6633 onto the D6683 device, TWRP returns an error: "E3004: This package is for device: z3dual; this device is ." (see attached screenshot).

The other screenshot of the About Phone screen is for general reference. Despite the phone actually being a D6683, the Model Number shows D6633. Also, to get a temporary TWRP running, the kernel was downgraded from 23.5.A.1.291 to 23.5.A.0.575 despite showing 23.5.A.1.291 in the Build Number. Under Kernel Version, it shows Apr 22 instead of June which supposedly means it is actually running 23.5.A.0.575

A couple of questions: Is it possible for me to get this Lineage 18.1 for D6633 image to work on this D6683 device somehow?
My main question:
Do I have to unlock the bootloader first and install TWRP permanently to the recovery partition? This question is why I'm writing this post here as I will only unlock the bootloader if I have to, assuming Lineage18.1 for D6633 can work on a D6683
as far as i know, you must be on the latest official firmware available for your device, then use lineage recovery, not the twrp.
then you can install this rom. i could install D6603 roms on my dual device so i guess you can install this rom on your device too.
 

zpunout

Senior Member
Aug 26, 2015
131
22
Samsung Galaxy S5
Moto G5 Plus
Thanks TheShadowOfAGhost20 for your help. Got Lineage 18.1 z3dual running with the recovery image you provided.
Worth noting here in case others have an issue: The only hiccup I had with trying to flash and boot into the new Lineage recovery was this error: "fastboot: error: Couldn't parse partition size '0x'"
I tried "fastboot flash:raw boot recovery.img" and was then able to reboot into Lineage custom recovery.
Have now successfully installed Lineage 18.1 D6633 onto a D6683 and will test if the device works normally with LTE bands etc...
 

Mahmaod Rad

Member
May 22, 2021
38
9
Hi zpunout to flash the rom just flash the recovery on 1st post but not in recovery so type fastboot flash boot
Or in recovery put the recovery.img in internal storage or sdcard and got to install image and go to where you put the file and flash it on boot and then reboot you will see los recovery and go to flash adb and side load and side load it from pc with gapps and magisk root
Don't ues 23 build but ues this one https://github.com/topjohnwu/Magisk/files/6330986/Magisk-v22.1_mod_sony.zip and there you go
 
  • Like
Reactions: pi r and zpunout

Ermann123

Senior Member
Apr 30, 2020
74
12
I installed this rom on my Z3. Both simcards are recognized. But WIFI is not connecting.
I just found out the reason for Wifi not working after switching my guest network back to wpa2 security. Obviously, the ROM or the Z3 Device does not support wpa3 encryption for wifi connections.
Is there at all a possibility to fix this?
 

Mr.Tom_Tom

Senior Member
Feb 16, 2008
176
222
Munich
I just found out the reason for Wifi not working after switching my guest network back to wpa2 security. Obviously, the ROM or the Z3 Device does not support wpa3 encryption for wifi connections.
Is there at all a possibility to fix this?
WPA3 is not supported at the moment, and likely it won't be supportet at all due to lack of radio firmware capabilities. Would be happy to be proven wrong here...
 

hidden.hero

Senior Member
Aug 6, 2020
76
9
Hi zpunout to flash the rom just flash the recovery on 1st post but not in recovery so type fastboot flash boot
Or in recovery put the recovery.img in internal storage or sdcard and got to install image and go to where you put the file and flash it on boot and then reboot you will see los recovery and go to flash adb and side load and side load it from pc with gapps and magisk root
Don't ues 23 build but ues this one https://github.com/topjohnwu/Magisk/files/6330986/Magisk-v22.1_mod_sony.zip and there you go
Sir I tried this file but error occurs while installing. i can't root the phone. can you help me?
 

TheShadowOfAGhost20

Senior Member
Mar 8, 2020
51
14
Rasht
Sir I tried this file but error occurs while installing. i can't root the phone. can you help me?
extract the apk inside the zip file, rename it to .zip then flash it through recovery, it gives an error, ignore it and click yes then it shows success, you can also install version 23 after the flash, choose direct install option in it, it will update magisk's version
 
  • Like
Reactions: hidden.hero

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    lineage_strip_teal-png.5158389

    Introduction

    This is the unofficial LineageOS 18.1 thread for the Sony Xperia Z3 DUAL D6633. Although Lineage is maintaining a device tree for the D6633 it is currently not supported officially, but this may change in the future.

    If you own a Z3 single SIM D6603 go here.
    If you own a Z3 Compact D5803 go here.
    If you own a Z3 DUAL SIM Hongkong variant D6683 see post#2.

    LineageOS 18.1 is an open-source Android distribution based on the Android Open Source Project (AOSP) version 11 (R).

    Installation

    If you are on stock OS, you need a custom recovery first. You can get the recommended recovery with the download link below.
    If you are coming from stock or other ROMs, you need to make a factory reset. You also will need a factory reset if you come from LineageOS 17.1 with encryption enabled.
    As always, make sure to backup before installing this ROM.

    Detailed installation instructions

    Please follow the installation instructions for LineageOS on z3. However, do not use the provided recovery and ROM links for the z3 but use the download links for the z3dual below.

    Downloads


    Source Code

    The source code of LineageOS is available here. If you would like to contribute to LineageOS, please visit out Gerrit Code Review.
    • The z3dual device tree is available here.
    • The kernel is based on V3.4 and source code for this device is available here. The used configuration is lineageos_shinano_leo_defconfig available at arch/arm/configs/lineageos_shinano_leo_defconfig in the kernel source.


    Contributors

    NeoArian, Mr.Tom_Tom

    If you want to donate to support development:
    Donate via PayPal to NeoArian
    Donate via PayPal to LineageOS
    2
    However - I have now a working Z3 D6683 with your ROM !
    Would be happy to get more feedback if everything is working correctly. We could then think about building for D6683 as well.
    2
    Thanks for porting Lineage 18.1 to D6633. I'm trying to install this to a D6683 which has had the following already done:
    1. Flashed D6633 23.5.A.1.291 stock OS using FlashTool (in the downloaded XperiFirm files, I deleted fwinfo.xml and manually selected D6683 in the FlashTool > Bundles > Create )
    2. Got root access with SuperSU with locked bootloader then backed up TA partition to preserve DRM keys.
    3. reboot into temporary TWRP (still with locked bootloader) and attempt adb sideload lineage 18.1 D6633
    When attempting to adb sideload Lineage 18.1 for the D6633 onto the D6683 device, TWRP returns an error: "E3004: This package is for device: z3dual; this device is ." (see attached screenshot).

    The other screenshot of the About Phone screen is for general reference. Despite the phone actually being a D6683, the Model Number shows D6633. Also, to get a temporary TWRP running, the kernel was downgraded from 23.5.A.1.291 to 23.5.A.0.575 despite showing 23.5.A.1.291 in the Build Number. Under Kernel Version, it shows Apr 22 instead of June which supposedly means it is actually running 23.5.A.0.575

    A couple of questions: Is it possible for me to get this Lineage 18.1 for D6633 image to work on this D6683 device somehow?
    My main question:
    Do I have to unlock the bootloader first and install TWRP permanently to the recovery partition? This question is why I'm writing this post here as I will only unlock the bootloader if I have to, assuming Lineage18.1 for D6633 can work on a D6683
    as far as i know, you must be on the latest official firmware available for your device, then use lineage recovery, not the twrp.
    then you can install this rom. i could install D6603 roms on my dual device so i guess you can install this rom on your device too.
    2
    Thanks TheShadowOfAGhost20 for your help. Got Lineage 18.1 z3dual running with the recovery image you provided.
    Worth noting here in case others have an issue: The only hiccup I had with trying to flash and boot into the new Lineage recovery was this error: "fastboot: error: Couldn't parse partition size '0x'"
    I tried "fastboot flash:raw boot recovery.img" and was then able to reboot into Lineage custom recovery.
    Have now successfully installed Lineage 18.1 D6633 onto a D6683 and will test if the device works normally with LTE bands etc...
    2
    Hi zpunout to flash the rom just flash the recovery on 1st post but not in recovery so type fastboot flash boot
    Or in recovery put the recovery.img in internal storage or sdcard and got to install image and go to where you put the file and flash it on boot and then reboot you will see los recovery and go to flash adb and side load and side load it from pc with gapps and magisk root
    Don't ues 23 build but ues this one https://github.com/topjohnwu/Magisk/files/6330986/Magisk-v22.1_mod_sony.zip and there you go