[DISCONTINUED][ROM][UNOFFICIAL] LineageOS 17.1 for Xperia 5 II

Search This thread

ken442266

Member
Jun 29, 2014
49
82
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/

About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.x (Q),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org
About LineageOS Legal : http://lineageos.org/legal/

Important Information
1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
2. This ROM will never work with any versions of Google Camera (GCam)!
3. You need to flash Stock Android 10 before flashing this ROM.
4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!
5. If you came from SODP ROMs, you need to go back to official Android 10 firmware, and boot into launcher.
6. High Refresh Rate switch is opposite due to my bad while hack sony vendor into LineageOS (NOT A BUG)


Downloads Links
LineageOS 17.1:
Unofficial-build:
Link (AFH)

Looking For CinemaPro And PhotoPro:
Click Here

Google Applications (optional):
OpenGapps:
http://opengapps.org/ (ARM64->Android 10.0->Pico, Nano or Micro)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.


Flashing and updating
How to flash

Make sure you upgraded to Official Android 10.0 from Sony
Unlock bootloader is necessary.
Download latest platform-tools from google

1. Install fastbootd drivers, guidance
2. Put your device into fastboot by volume up key.
3. Enter fastbootd:
Code:
fastboot reboot fastboot
4. Flash LineageOS:
Code:
fastboot set_active a
fastboot flash boot boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot erase metadata
fastboot flash system system.img
fastboot flash product product.img
5. If you are first time to flash LineageOS, Wipe the old userdata:
Code:
fastboot erase userdata

Gapps:
Download Lineage Recovery

Flash and boot into Recovery then choose Apply update - Apply from ADB, then sideload the gapps package on your PC with adb tool:
Code:
adb sideload <PATH OF GAPPS>

Root access:
Flash Magisk in recovery.

SD CARD Notice:
If your SD card can NOT use in this system

Just format it into 'FAT32' (On PC)
It will works
DO NOT format by android

(Android will format it into 'ExFat' and seems to be some 'reading' issue)

Issues and reports


Report issues only if you are using the ROM kernel
If an additional mod is installed, make sure it's unrelated, and mention it
Make sure the issue wasn't discussed earlier in the threads
Share a log of the error with CatLog for example

Also thanks to:
Shion Sjll

The LineageOS Team
The CyanogenMod Team

Source:
Kernel Source
Device vendor
Device Tree

Screenshots:

photo_2021-01-18_17-53-47.jpg
photo_2021-01-18_17-53-49.jpg
 
Last edited:

Jayram2000

Senior Member
Sep 14, 2015
87
21
Tampa
Will this rom work with the Sony Cinema Pro and Photo Pro apps? I can get the APK from my stock software easily. I wanted to know if I could expect the stock camera performance on this rom.
 

danfauca

Member
Jan 8, 2017
13
2
Will this rom work with the Sony Cinema Pro and Photo Pro apps? I can get the APK from my stock software easily. I wanted to know if I could expect the stock camera performance on this rom.
Just a small question: are these apps that good so you want to keep them?
Are they better than GCam?
 

Jayram2000

Senior Member
Sep 14, 2015
87
21
Tampa
Just a small question: are these apps that good so you want to keep them?
Are they better than GCam?
They are nice because they provide lots of extra controls for both photo and video. Getting the apps on are easy, just was curious if the ROM had anything that would inhibit them from working.
 
Last edited:

Jayram2000

Senior Member
Sep 14, 2015
87
21
Tampa
I've got it up and running, and its nice and smooth. However, SD support seems bugged. Its asking me to format and no matter how many times I try, it keeps showing as corrupt and prompts for format again.
 

Attachments

  • Screenshot_20210119-022701_XDA_Developers.png
    Screenshot_20210119-022701_XDA_Developers.png
    411.5 KB · Views: 67
  • Sad
Reactions: flyl0

Jayram2000

Senior Member
Sep 14, 2015
87
21
Tampa
Another little thing is the status bar being kind of inset, where the icons don't reach out to the edges of the screen.
 

Attachments

  • Screenshot_20210119-025844_XDA_Developers.png
    Screenshot_20210119-025844_XDA_Developers.png
    227.9 KB · Views: 67
  • Sad
Reactions: flyl0

ken442266

Member
Jun 29, 2014
49
82
I've got it up and running, and its nice and smooth. However, SD support seems bugged. Its asking me to format and no matter how many times I try, it keeps showing as corrupt and prompts for format again.

SD Card seems to be a problem .
But I don`t have any SD card.
So this bug will be fixed when I back to school or release lineageos18.1
It will be a long wait.
 
Last edited:

ken442266

Member
Jun 29, 2014
49
82
It's really sad cause i have a sd card of 256 go :( so i have to wait to install this build till the bug is fixed

Hey, I just test sdcard function. It works fine on my phone. And you have to format before use it.
It is likely a initial for a sdcard on LineageOS or something.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am 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 me for messing up your device, I will laugh at you.
    */

    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10.x (Q),
    which is designed to increase performance and reliability over stock Android for your device.

    All the source code for LineageOS is available in the LineageOS GitHub repo.
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Official LineageOS website : http://lineageos.org
    About LineageOS Legal : http://lineageos.org/legal/

    Important Information
    1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
    2. This ROM will never work with any versions of Google Camera (GCam)!
    3. You need to flash Stock Android 10 before flashing this ROM.
    4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!
    5. If you came from SODP ROMs, you need to go back to official Android 10 firmware, and boot into launcher.
    6. High Refresh Rate switch is opposite due to my bad while hack sony vendor into LineageOS (NOT A BUG)


    Downloads Links
    LineageOS 17.1:
    Unofficial-build:
    Link (AFH)

    Looking For CinemaPro And PhotoPro:
    Click Here

    Google Applications (optional):
    OpenGapps:
    http://opengapps.org/ (ARM64->Android 10.0->Pico, Nano or Micro)
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.


    Flashing and updating
    How to flash

    Make sure you upgraded to Official Android 10.0 from Sony
    Unlock bootloader is necessary.
    Download latest platform-tools from google

    1. Install fastbootd drivers, guidance
    2. Put your device into fastboot by volume up key.
    3. Enter fastbootd:
    Code:
    fastboot reboot fastboot
    4. Flash LineageOS:
    Code:
    fastboot set_active a
    fastboot flash boot boot.img
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
    fastboot erase metadata
    fastboot flash system system.img
    fastboot flash product product.img
    5. If you are first time to flash LineageOS, Wipe the old userdata:
    Code:
    fastboot erase userdata

    Gapps:
    Download Lineage Recovery

    Flash and boot into Recovery then choose Apply update - Apply from ADB, then sideload the gapps package on your PC with adb tool:
    Code:
    adb sideload <PATH OF GAPPS>

    Root access:
    Flash Magisk in recovery.

    SD CARD Notice:
    If your SD card can NOT use in this system

    Just format it into 'FAT32' (On PC)
    It will works
    DO NOT format by android

    (Android will format it into 'ExFat' and seems to be some 'reading' issue)

    Issues and reports


    Report issues only if you are using the ROM kernel
    If an additional mod is installed, make sure it's unrelated, and mention it
    Make sure the issue wasn't discussed earlier in the threads
    Share a log of the error with CatLog for example

    Also thanks to:
    Shion Sjll

    The LineageOS Team
    The CyanogenMod Team

    Source:
    Kernel Source
    Device vendor
    Device Tree

    Screenshots:

    photo_2021-01-18_17-53-47.jpg
    photo_2021-01-18_17-53-49.jpg
    1
    I see, is there any way to change that?

    No, But i will reduce the padding in LineageOS 181
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