[EOL][SODP][ROM][LineageOS][XZ2, XZ2C, XZ3] LineageOS 17.1 [STABLE][UNofficial]

Should I continue this project?

  • Yes, for the XZ2.

    Votes: 59 33.1%
  • Yes, for the XZ2C.

    Votes: 64 36.0%
  • Yes, for the XZ3.

    Votes: 52 29.2%
  • No.

    Votes: 3 1.7%

  • Total voters
    178
Search This thread

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
@Sjll tried several different things as well as rebuilding the kernel from stock firmware sources. Nothing really helped though. He even tried rebuilding several Vendor images to try to add the drivers the same way that stock touch was accomplished on his custom kernel for the XZ2p but it didn't work. I think he has given up until he can obtain a XZ2P himself one day.

If loading the kernel modules via rc scripts doesn't work hopefully someone finds/writes a touch driver for the kernel.
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
24.08.2020
Since we have now an official LineageOS based on stock, this ROM would be double work.
So I stop the LOS port.
(Sadly unless a dev owns a XZ2P or XZ3 these phones won't be supported in the official stock based LineageOS)

The only difference between the stock and SODP editions are:
SODP will get GCAM support later and has camera2API level 3.
stock will never support GCAM apps and has the limited stock camera2API level.
SODP uses a 4.14 kernel and probably get mainline support later.
stock uses the stock 4.9 kernel and will probably be there forever.
SODP targets to use as much open source as possible.

And LiveDisplay doesn't work in my SODP version.

PS: After the September exams in the new semester I look for a ROM replacement for the sake of diversity.
It's good to have a choice and with the available official supported SODP based Pixel Experiment, we have a ROM which sadly forces you to use the full GAPPS (Google Apps package).
 
Last edited:
  • Like
Reactions: denics and Lp26
binaries android 11

am 1. Oktober wurden neue Binaries veröffentlicht: Android 11.0-Kernel 4.14.
Neues Spiel, Neues Glück?
Das "offizielle" Lineage OS ist meines Erachtens schlicht langweilig...
die Hoffnung stirbt zuletzt!
Danke für die aufregende Zeit in der wir Ihre Entwicklungen begleiten durften!

----------

MOD EDIT: English Translation Below

new binaries were released on October 1st: Android 11.0 kernel 4.14.
New game New luck?
In my opinion, the "official" Lineage OS is simply boring ...
hope dies last!
Thank you for the exciting time in which we were allowed to accompany your developments!
 
Last edited by a moderator:

shadowstep

Senior Moderator / Moderator Committee
Staff member
Jun 6, 2014
6,614
16,127
32
Ambala Cantt
OnePlus 9R
@der.lange Hi! I see that you're new here. Welcome to XDA! :) Please note that XDA is an international forum, and hence only English is permitted to be used across the website.

The above is as per the Forum Rules:

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.

As a courtesy, I've edited your original post into English. Going forward, kindly use English to post/reply on the forum. :)

Regards,
shadowstep
Forum Moderator

----------

@der.lange Hallo! Ich sehe, dass du neu hier bist. Willkommen bei XDA! :) Bitte beachten Sie, dass XDA ein internationales Forum ist und daher nur Englisch auf der gesamten Website verwendet werden darf.

Das Obige entspricht den Forumregeln:

4. Verwenden Sie die englische Sprache.

Wir verstehen, dass bei all den verschiedenen Nationalitäten nicht jeder gut Englisch spricht, aber bitte versuchen Sie es. Wenn Sie wirklich nicht in der Lage sind, auf Englisch zu posten, verwenden Sie einen Online-Übersetzer. Es steht Ihnen frei, Ihre Originalnachricht in Ihrer eigenen Sprache unterhalb der englischen Übersetzung einzufügen. (Diese Regel gilt für Ihre Beiträge, Profileinträge und Unterschriften.) Sie können Folgendes versuchen: - https://translate.google.com/ oder https://www.babelfish.com/ oder eine Ihrer Wahl verwenden.

Aus Höflichkeit habe ich die englische Übersetzung zu Ihrem ursprünglichen Beitrag hinzugefügt. Verwenden Sie in Zukunft bitte Englisch, um im Forum zu posten / zu antworten. :)

Grüße,
shadowstep
Forum Moderator
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
am 1. Oktober wurden neue Binaries veröffentlicht: Android 11.0-Kernel 4.14.
Neues Spiel, Neues Glück?
Das "offizielle" Lineage OS ist meines Erachtens schlicht langweilig...
die Hoffnung stirbt zuletzt!
Danke für die aufregende Zeit in der wir Ihre Entwicklungen begleiten durften!

----------

MOD EDIT: English Translation Below

new binaries were released on October 1st: Android 11.0 kernel 4.14.
New game New luck?
In my opinion, the "official" Lineage OS is simply boring ...
hope dies last!
Thank you for the exciting time in which we were allowed to accompany your developments!

Thank you :)
Yeah, putting some SODP flair into the ROM sounds better and since Pixel Experience forced us to use the GAPPS we need some alternative. :p
Especially with the SODP tama mainlining plans in the future.
The next ROM I'll port after my exams is named after something you could use to point on stuff. :cool:
 
Last edited:

andreux481

Member
Sep 30, 2014
9
1
Good morning.
I flashed the rom and everything works fine.
But even though I got root with magisk I can't uninstall system apps as the system folder doesn't have RW permissions.
I can't even install TWRP because at every boot it always enters the lineage recovery.
Can someone help me?
I'm sorry for my english
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
Good morning.
I flashed the rom and everything works fine.
But even though I got root with magisk I can't uninstall system apps as the system folder doesn't have RW permissions.
I can't even install TWRP because at every boot it always enters the lineage recovery.
Can someone help me?
I'm sorry for my english

Please remount system as RW

Please use the SODP TWRP.
 

kristal1991

New member
Aug 8, 2021
1
0
i installed this line 17 but if i try to pass selinux from permissive to encforcing it always reboots the system, can it be solved?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    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!


    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 LineageOS ROM for the Sony Xperia XZ2 (akari), XZ2C (apollo) and XZ3 (akatsuki)

    This ROM build will always mainly based on Code from Sony AOSP & LineageOS 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:
    jerpelea said:
    for a complete security patch you have to
    1. flash the stock firmware using https://developer.sony.com/develop/open-devices/get-started/flash-tool/
    2. build and flash the ROM
    * The security patch may affect or not the proprietary parts depending on HW and implementation
    * After official support ends you can still get security updates for kernel and Android but loader and firmware will be stuck to the latest official release

    Bugtracker:

    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
    • @Raphos for the initial installation manual without a recovery system, after I switched to OTA zips.
    • @kgvarunkanth for the jenkins build server
    • And many thanks to the few donators! :)

    A telegram group for technical SODP stuff:

    XDA:DevDB Information
    LineageOS, ROM for the Xperia XZ2

    Contributors
    MartinX3, SODP Team
    Source Code: https://github.com/MartinX3-AndroidDevelopment-LineageOS/

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Latest Stock Firmware
    Based On: LineageOS

    Version Information
    Status:
    No Longer Updated
    Current Stable Version: 17.1

    Created 2020-02-02
    Last Updated 2020-10-23
    12
    Download & Installation

    Download ROM:

    Download Drivers:
    • OEM (Tama) binaries
      • Please use the the OEM build which came before my last release, unless otherwise written.

    GCAM Camera App:
    • Suggested GCams But GCAM's aren't usable at the moment until a camera hardware resource budget bug got fixed in the OEM binary blob.

    Installation with a recovery:
    1. fastboot flash oem_a oem_*.img
    2. fastboot flash oem_b oem_*.img
    3. Flash the ROM in a recovery
    4. Reboot into recovery just to make sure you're on the new slot
    5. Google Apps like Playstore
    6. Dual Sim Patcher
    7. (In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    Flash the ROM without a recovery:
    1. Extract the payload.bin from the .zip file
    2. Extract the .img files with the Playload Dumper
    3. fastboot flash boot_a boot.img
    4. fastboot flash boot_b boot.img
    5. fastboot flash dtbo_a dtbo.img
    6. fastboot flash dtbo_b dtbo.img
    7. fastboot flash system_a system.img
    8. fastboot flash system_b system.img
    9. fastboot flash vbmeta_a vbmeta.img
    10. fastboot flash vbmeta_b vbmeta.img
    11. fastboot flash vendor_a vendor.img
    12. fastboot flash vendor_b vendor.img
    13. fastboot -w (Wipes your internal storage and the userdata)
    14. Continue with the normal installation
    10
    Did you fullwipe your phone?
    The newest sodp twrp and the newest Los are working together
    I'm using it here

    Hi,
    After 2 fighting days with LOS, TWRP and my XZ2C dual sim, I finally achieved the installation :laugh:. Thank you Martin !

    This is what I did for, maybe it can help :
    Code:
    Create the .img files with payload dumper
    
    - Extract lineage-17.1-20200414-UNOFFICIAL-apollo_RoW.zip and put the payload.bin into payload_dumper folder
    - Generate the .img files 
    - In payload_dumper/output/ folder now, boot, dtbo, system, vbmeta and vendor.img
    
    Install stock .618 firmware with flashtool
    
    - Flash .618 stock firmware
    - Boot into .618 stock firmware
    - Activate developers options
    - Reboot into bootloader with adb reboot bootloader
    
    Wipe in fastboot mod
    
    - fastboot erase boot
    - fastboot erase cache
    - fastboot erase system
    - fastboot erase userdata
    
    Flash LOS .img  in fastboot mod
    
    - fastboot flash boot boot.img
    - fastboot flash dtbo dtbo.img
    - fastboot flash system system.img
    - fastboot flash vbmeta vbmeta.img
    - fastboot flash vendor vendor.img
    - fastboot flash oem_a SW_binaries_for_Xperia_Android_10.0.7.1_r1_v5a_tama.img
    - fastboot reboot-bootloader
    
    Install TWRP from 2020-04-13_20-20-57_twrp_sodp_xz2c.tar.gz  in fastboot mod
    
    - fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    - fastboot boot twrp-xz2c.img => enter into TWRP
    
    - flash sony-dualsim-patcher-v4.zip
    - reboot system
    8
    02.02.2020
    The first LineageOS 17.1 build based on the SODP device trees.
    My vanilla SODP release and LineageOS should share the same bugs.
    Plus bugs / missing features in LineageOS and bugs introduced by myself porting SODP to LineageOS :silly:

    Sadly I can't upload it at the moment to Android File Host.
    Their new "Stackpath" DDOS blocking solution banned me, because I tried to upload the ROM in 6 browser tabs. :silly:

    Fixed

    Have Fun!

    PS: Camera is work in progress.

    TWRP 10 is not ready, so I sadly can't start develop one for the XZ2, XZ2C, XZ3.
    https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
    That's the reason I include OpenGapps Pico for now.

    And to use Magisk, simply patch the boot.img by yourself in the magik manager app and flash it via fastboot.
    Maybe you need to deactivate vbmeta, which wasn't the case at my site.

    GCAM doesn't work with OEMv3.
    There is a library missing.
    7
    News

    24.08.2020
    since we have now an official lineageos based on stock, this rom would be double work.
    So i stop the los port.
    (sadly unless a dev owns a xz2p or xz3 these phones won't be supported in the official stock based lineageos)

    the only difference between the stock and sodp editions are:
    Sodp will get gcam support later and has camera2api level 3.
    Stock will never support gcam apps and has the limited stock camera2api level.
    Sodp uses a 4.14 kernel and probably get mainline support later.
    Stock uses the stock 4.9 kernel and will probably be there forever.
    Sodp targets to use as much open source as possible.

    And livedisplay doesn't work in my sodp version.

    Ps: After the september exams in the new semester i look for a rom replacement for the sake of diversity.
    It's good to have a choice and with the available official supported sodp based pixel experiment, we have a rom which sadly forces you to use the full gapps (google apps package).

    13.07.2020
    july security patch level
    oemv9c support
    and any other sodp open source changes since my last build

    18.06.2020
    june security patch level
    oemv8 support
    and any other sodp open source changes since my last build

    fixes for charger, battery, sleep (sideeffect working bluetooth audio) and more!

    11.05.2020
    may security patch level
    oemv6 support
    and any other sodp open source change since my last build

    ps: Camera is work in progress.

    Please flash gapps and the dual sim patcher again after applying an ota update.
    It seems that the ota zip replaces every partition and deletes the modifications (like gapps).
    Also it enforces avb heavily which prevents modifications like gapps from getting loaded.
    So i deactivated avb now.
    (but since the device bootloader can't be relocked the avb is not really useful anyway)

    14.04.2020
    now android 10.0.0_r33
    april security patch level
    oemv5 support
    and any other sodp open source change since my last build

    switched to:
    • zip files to flash
    • dual sim patcher instead of dual sim rom files
    removed buildin gapps, since you can flash it now via twrp
    installing this rom as an update won't remove the installed gapps.


    ps: Camera is work in progress.


    09.03.2020
    march 2020 security update
    oemv4 -> camera & other improvements
    and any other lineageos / sodp open source changes since my last build

    ps: Camera is work in progress.

    Ps0:
    Other than the aosp release, this lineageos got the new ril by qcom enabled for mobile network access.
    Please test and report bugs. (dmesg & logcat, -> and pstore if the device crashes)
    it will get activated in the next aosp release as well, if it makes no trouble.

    01.03.2020
    oemv4 is needed or device won't boot.
    Oemv4 is not backward compatible with older releases.


    oemv4 -> camera & other improvements
    and any other lineageos / sodp open source changes since my last build

    ps: Camera is work in progress.

    Ps0:
    Other than the aosp release, this lineageos got the new ril by qcom enabled for mobile network access.
    Please test and report bugs. (dmesg & logcat, -> and pstore if the device crashes)
    it will activated in the next aosp release as well, if it makes no trouble.

    29.02.2020
    added support for every sodp supported xperia https://github.com/martinx3-androiddevelopment-lineageos/
    (except the loire and tone platform which no one requested.)

    the oemv4 rom release will delay a bit.
    Was in the need to delete my build cache for aosp and lineageos.

    25.02.2020
    need to take down the builds.
    Oemv4 which comes tomorrow got some additional last minute changes today which needs a new rom compilation.

    24.02.2020
    oemv4 is needed or device won't boot.
    Oemv4 is not backward compatible with older releases.


    oemv4 -> camera & volte & other improvements
    and an other lineageos / sodp open source changes since my last build

    ps: Camera is work in progress.
    Oemv4 maybe comes tomorrow.

    15.02.2020
    feburary security patch level
    fixed bugs, now my sony aosp release and this lineageos port should contain the same amount of bugs (aside from the stuff on the lineageos part).
    Switched from alpha to beta version.

    The only instability i found on my own xz2 is a crash at night in flightmode without charger.
    Anything else doesn't crash it here.
    Might be various reasons.
    If anyone has the same bug, please provide logs in my github issue tracker.
    (and please look if your logs contain more informations than my logs).

    02.02.2020
    the first lineageos 17.1 build based on the sodp device trees.
    My vanilla sodp release and lineageos should share the same bugs.
    Plus bugs / missing features in lineageos and bugs introduced by myself porting sodp to lineageos :silly:

    sadly i can't upload it at the moment to android file host.
    Their new "stackpath" ddos blocking solution banned me, because i tried to upload the rom in 6 browser tabs. :silly:

    fixed

    have fun!

    Ps: Camera is work in progress.

    Twrp 10 is not ready, so i sadly can't start develop one for the xz2, xz2c, xz3.
    https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
    that's the reason i include opengapps pico for now.

    And to use magisk, simply patch the boot.img by yourself in the magik manager app and flash it via fastboot.
    Maybe you need to deactivate vbmeta, which wasn't the case at my site.

    Gcam doesn't work with oemv3.
    There is a library missing.