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

[OFFICIAL] LineageOS 17.1 for Xperia Z3 [CLOSED]

Status
Not open for further replies.
Search This thread
Apr 25, 2021
5
0
a locked bootloader checks if the phone is loading a stock rom (or very close to stock). if the rom is not issued by the vendor, the phone does not boot. this is true for all phones as far as i know, thus, in order to load another rom you have to unlock the bootloader - if the vendor allows for that.
more info and instructions to unlock your bootloader can be found here:
the phone will factory reset and you ll lose some proprietary sony software, but you ll be able to flash newer roms.
well i cant unlock it, otherwise id do it for sure.
thanks for the answer, i guess i need to research more on how it all works, getting twrp and root to work made me believe almost anything will be possible, but it seems its rather useless. especially since i cant really get magisk to work any way and twrp is installed in the system partition which leads to safetynet failing no matter what i do. well **** :D

its just a bit weird to me in general as a linux guy to know that i have root access but i cant access all partitions, especially not the bootloader, how is there no way to alter it? but thats another question, maybe someday ill take a deep dive

one thing though, i guess its possible to at least install a nougat based rom, since there was a nougat preview firmware from sony somewhere around.

thanks though.
 

nikapos

Senior Member
well i cant unlock it, otherwise id do it for sure.
thanks for the answer, i guess i need to research more on how it all works, getting twrp and root to work made me believe almost anything will be possible, but it seems its rather useless. especially since i cant really get magisk to work any way and twrp is installed in the system partition which leads to safetynet failing no matter what i do. well **** :D

its just a bit weird to me in general as a linux guy to know that i have root access but i cant access all partitions, especially not the bootloader, how is there no way to alter it? but thats another question, maybe someday ill take a deep dive

one thing though, i guess its possible to at least install a nougat based rom, since there was a nougat preview firmware from sony somewhere around.

thanks though.
why cant you unlock it? in any case , you should be looking for roms that work with locked bootloader (or [LB] ) preferably here:
 
Apr 25, 2021
5
0
why cant you unlock it? in any case , you should be looking for roms that work with locked bootloader (or [LB] ) preferably here:
in the service menu accessed via *#*#7378423#*#* it says "Bootloader unlock allowed: No"

thanks, id like to use the slimm rom i think, problem is since i cant hide twrp and root effectively and i want some finance app which uses safetynet attestation id need also to remove those, but i kinda failed at doing so previously, maybe ill try another time...
 

nikapos

Senior Member
after last update i lost magisc ( was back in 20.4)
i reinstalled 20.4 and updated to 22.1 through the manager app and it is working again, though safety net does not pass (but maybe thats because of new google checks.
i ll keep you posted..
[edit] after some reading, it looks like safety net passes,it is just the magisk safety net api that s in err..
 
Last edited:

cmhdream

Senior Member
Jun 14, 2012
111
16
well, i went back to april 22, restored data backup, did not update magisk, installed latest update OTA and everything is working. as i said, it was probably something with magisk.
When you can't boot correctly. You need restore the previous backup by TWRP + flash [fix_rootfs_label.zip]. I had test it. Working from restore your system & app by TWRP.
sony z3 os 17.1 TWRP v3.3.1-0.4_Z3
download
 
Last edited:
  • Like
Reactions: nikapos

haktug

Member
Mar 29, 2020
33
3
Sound modes (dolby atmos, XZ2 sound mode etc.) over TWRP except Magisk 20.4. Nothing was loaded. This issue is only present in lineageos and crDroid system. WHY IS THAT?
 

haktug

Member
Mar 29, 2020
33
3
Sound modes (dolby atmos, XZ2 sound mode etc.) over TWRP except Magisk 20.4. Nothing was loaded. This issue is only present in lineageos and crDroid system. WHY IS THAT?
 

Mr.Tom_Tom

Senior Member
Feb 16, 2008
176
222
Munich
trying to swich recovery from the unofficial twrp to the lineage recovery, i got the error "failed: remote size too large". i tried flashing it with fast boot to both FOTAkernel and recovery, both failed...
It is failing because it actually *is* too large - that's a known bug and unfortunately the fix has not been merged yet into the official Lineage sources. See post #2 for an unofficial build which should still work fine.



my compass sensor is not working (undetected) Maybe it can be the problem??

i also had problems with the gyroscope sensor.
Logs please. I agree that our sensors don't work totally reliable, but after a reboot they all should work fine. On one of my devices, the compass is mostly off by quite some degrees, but that doesn't seem to be related to custom ROMs.

We don't have that kind of persist partition iirc.
 
  • Like
Reactions: nikapos

nikapos

Senior Member
Last edited:
  • Like
Reactions: Mr.Tom_Tom
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    ****** Lineage 18.1 is here******

    Happy to announce that Lineage now officially supports 18.1 (Android 11) for our Z3.

    The first build is available now on the official download page. It is also worth to mention that you will find the official Lineage recovery there and these builds are working fine now (contrary to 17.1 where the images were too big).

    Big thanks to @NeoArian and the whole team still working on the Sony Shinano devices! I will create a dedicated thread for 18.1 in the upcoming days.
    7

    Thread depreciated. There won't be anymore official LOS 17 builds for this device.


    Please jump to:


    if you are looking for new builds.

    -------------------------------------------------------------------------------------------------------------------------

    lineage_strip_teal.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project (AOSP) and can be used without the need to have any Google application installed.

    Installation:
    If you are on stock OS, you need a custom recovery first. You can get the recommended recovery in the official installation instructions link below. There are also inofficial TWRP recovery builds available - if you want to use TWRP you need to ensure that it is compatible with Android 10.
    If you are coming from stock or other ROMs, you need to make a factory reset.
    As always, make sure to backup before installing this ROM.

    Detailed instructions:
    Install LineageOS on z3

    Downloads:

    Changelog:
    Changes for z3

    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 z3 device tree is available here.
    • The kernel 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.

    Bug reports:
    How to submit a bug report - Please do not submit anymore bug reports for 17.1 - try 18.1 first please.
    LineageOS GitLab

    Donate to support development:
    Donate via PayPal to NeoArian *** Our main contributor for LineageOS 16 & 17 for Z3 and Z3 Compact ***
    Donate via PayPal to LineageOS

    Thanksgiving
    Thanks to everyone who ever contributed to the custom development for this device, especially:
    @nailyk
    @rcstar6696
    @tomascus
    @Diewi
    @xkeita
    @drakonizer

    XDA:DevDB Information
    LineageOS 17.1 for Xperia Z3, ROM for the Sony Xperia Z3

    Contributors
    Mr.Tom_Tom, NeoArian, Myself5
    Source Code: https://github.com/LineageOS

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: 23.5.A.1.291
    Based On: LineageOS

    Version Information
    Status:
    Nightly

    Created 2020-09-11
    Last Updated 2020-09-12
    5
    The official LineageOS 18.1 thread for z3 is now live. There won't be anymore official LOS 17 builds, therefore I will ask the moderators to close this thread.

    For z3dual users I created a dedicated inofficial Lineage OS 18.1 thread for z3dual.

    Thank you all for your contributions and support here in this thread, and hope to see you with 18.1 soon!
    5
    Working on Wifi (5GHz) issues

    I have been working on implementing an updated wifi driver into our kernel to fix the reported wifi issues (only some countries are affected). You can follow this thread for details.

    I need some feedback from people in these affected countries with a Z3/Z3c/Z3Dual to see if the new builds work. I would appreciate if you test one of these builds here and send me a full log.


    @TheShadowOfAGhost20 @mer5ad @giannhs_n @yahyazadeh58 @navidmafi
    5
    If anybody is interested in new unofficial builds for Z3/Z3c/Z3dual with alternate wifi driver: