LineageOS 17.1 for Xperia Z2

Search This thread

SAMAN 5949

Member
Mar 30, 2017
18
0
mazandaran
What do you mean by flashed? You need to replace the file in vendor/firmware/bcmdhd.cal. if you have a PC you can use adb to do it directly on the phone:
adb root
adb remount
adb shell
nano /vendor/etc/firmware/bcmdhd.cal
reboot

Note: iirc magisk breaks adb root and adb remount so don't use that if possible.

I could not find this file and this path
 
Sep 5, 2017
46
5
Babol
Hi, I want to change Wi-Fi country code, But I can not find /vendor/etc/firmware/bcmdhd.cal in the internal storage or even in the ROM installation file.
What should I do to modify Wi-Fi country code?
 

ticktock666

Senior Member
Feb 20, 2010
476
137
Hi, I want to change Wi-Fi country code, But I can not find /vendor/etc/firmware/bcmdhd.cal in the internal storage or even in the ROM installation file.
What should I do to modify Wi-Fi country code?
You can try the following, no idea if it works, but maybe worth the shot
Install magisk, then install edxposed, then install the wifi region fix module, see if it works.
 

jay23215070

New member
Dec 12, 2019
1
0
I hope that the current battery level can be seen when the phone is turned off charging, and a larger charging symbol will can be displayed
 
Last edited:

@kitokit

Senior Member
Mar 15, 2017
332
62
Does anyone here knows what magisk module that allows taking screenshots on banking apps? Is there any. Edxposed has that kind of module but I'm trying to avoid edxposed because it's very hard to pass safetynet with it. Is there a magisk module that has that capability?
 

francois095

Member
Dec 1, 2013
47
2
Hello
I am on eXistenZ premium version 7 on my z2, i want to Install TWRP 3.3.1 for to flash lineage 17.1, i try with fastboot, with TWRP apk, with TWRP zip but i am always on TWRP 2.8.7 on my phone, i try many times and it's always the same problème, i have the bootloader unlocked
Can you help me please thank you
 

@kitokit

Senior Member
Mar 15, 2017
332
62
Hello
I am on eXistenZ premium version 7 on my z2, i want to Install TWRP 3.3.1 for to flash lineage 17.1, i try with fastboot, with TWRP apk, with TWRP zip but i am always on TWRP 2.8.7 on my phone, i try many times and it's always the same problème, i have the bootloader unlocked
Can you help me please thank you

You have to go back first to stock before installing this rom to avoid any bugs.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi everyone.
    Thanks for the feedback and reports.
    Unfortunately i currently don't have enough time to work on the xperia z2.
    That doesn't mean it's deprecated and won't be continued some day.
    Please forgive me that i'm not active here.
    Greetings, Arian.
  • 36
    2okPze5.png


    Introduction
    LineageOS, an open-source Android distribution, is available for several devices,
    with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
    Join us and breathe new life in your device, be it old or new.
    If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

    Features
    Individuality
    Customization is paramount to productivity.
    That’s why LineageOS promises to push for user personalization and preference.
    Everyone is unique and your device should be too.
    Security
    Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
    Trust will help you understand the security of your device and warn you about possible threats.
    We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
    And to make your device more secure, lock everything behind an enhanced lock screen.
    Longevity
    LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Downloads
    Download LineageOS 17.1 for Xpeira Z2.

    Installation instructions
    Prerequisites:
    • Unlocked Sony Xperia Z2
    • Fastboot drivers to install TWRP
    • Micro-USB Cable to connect your phone to your computer
    Install:
    1. Reboot to TWRP. *
    2. Wipe cache, dalvik cache, data and system.
    3. Format data to get rid of encryption.
    4. Install ROM.
    5. Install 10.0 Gapps for ARM. **
    * recommended TWRP: Post #2
    ** optional

    Update:
    • Get the latest build
    • Boot into TWRP
    • Flash the downloaded build
    • Reboot
    Note: If you don't wipe system, backuptool will reapply your modifications that support addon.d, for example: GApps.

    Reporting bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    Gapps version:
     
    Did you--
    wipe:
     restore with titanium backup:
    reboot after having the issue:
     
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
     
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:


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

    Contributors
    NeoArian
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: 23.5.A.1.291

    Version Information
    Status: Stable

    Created 2020-02-21
    Last Updated 2020-07-30
    20
    Hi everyone :)
    I am working on Android 11 for sony shinano currently and as some of you might know, my Z2 has a broken SIM-card slot. Hence i need your help to test if RIL works fine on this build: https://sourceforge.net/projects/ep...0/lineage-18.0-20201205-UNOFFICIAL-sirius.zip
    This build is NOT ready to use yet, but most stuff should work fine.
    Greetings, Arian.
    18
    Known Issues
    • FM Radio quality is worse then on stock, bit we can't do much without Sony's source probably. I am not working on that right now.
    • Disk Encryption: Disk Encryption is working, however not with the default password (no password). Workaround: Set password first, then start disk encryption, not the other way round!
    • You tell (with logs please)...

    TWRP
    Download TWRP 3.3.1 for Xperia Z2!
    How to install this TWRP
    • Rename the downloaded twrp image to twrp.img
    • Reboot to fastboot by holding volume up while connecting your device to your computer
    • Open a terminal and go to the directory with TWRP in it
    • Type
      Code:
      fastboot flash recovery twrp.img
    • Boot into TWRP; while the device is powered off press the power and volume down button


    A big THANK YOU to @OLDST4R for donating the Xperia Z2 to me!
    14
    Good evening,
    I'm uploading a new build to https://sourceforge.net/projects/ephedraceae/files/sirius/lineage-17.1/ (should be available witin 15 minutes, sourceforge need to mirror it)
    Since it has been a while i don't have a changelog but D6502 should be supported now and the problem about forgetting time should be resolved.
    Please give feedback about D6502 and happy flashing!
    13
    Good evening.
    I have uploaded a new build: https://sourceforge.net/projects/ep...-17.1-20200514-UNOFFICIAL-sirius.zip/download

    Assisted GPS should work now, that means a way faster fix should be available now as long as you have an internet connection, please report back about this.
    Happy flashing
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone