[ROM][UNOFFICIAL] LineageOS 18.1 for Xperia 10 II [Gcam] [Performance]

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
2okPze5.png


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 11.x (R),
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 support Google Camera (GCam)! You need to flash Gapps at first.
3. You need to flash Stock Android 11 before flashing this ROM.
4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!
5.If you cam from SODP ROMs, you need to go back to official Android 11 firmware, and boot into launcher.
6.This ROM works fo both dual and single models.

Downloads Links
LineageOS 18.1:
Unofficial-build:
Link
Recovery: Link

Google Applications (optional):
NikGapps, MindTheGapps. OpenGapps.
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 11.0 from Sony
Unlock bootloader is necessary.
Download latest platform-tools from google

1. Install fastbootd drivers, guidance
You can install google's usb debug drivers.
2. Download Lineage Recovery from AFH above.
3. Put your device into fastboot by volume up key.
4. Type the following command to flash the recovery:
Code:
fastboot flash recovery recovery.img
fastboot flash dtbo dtbo.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot recovery
5. Sideload the ROM package.
6. If you are first time to flash LineageOS, Wipe data plz.

Gapps:
After flashing ROM via siddeload, Reboot to recovery, choose Apply from ADB, then sideload the gapps package on your PC with adb tool:
Code:
adb sideload <PATH OF GAPPS>

Never flash oem from SODP!!
If you flashed oem and meet any issues, I could only say you are a hanhan.

Root access:
Flash Magisk in recovery.

Twrp:
See this: Link

Gcam:
Recommond this one with my xml config.
Notice: You could only switch to front camera from telescope camera in Gcam.

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:
Cubbins
The SDOP team
The LineageOS Team
The CyanogenMod Team

XDA:DevDB Information
Lineage-18.1 for Xperia 10 II, ROM for the Sony Xperia 10 II

Contributors

Sjll
Source Code:

Donation
https://paypal.me/sjllls

ROM OS Version: Android 11
ROM Kernel: Linux 4.14

Version Information
Status:
Stable

Created 2021-01-16
Last Updated 2021-10-10
 

Attachments

  • Screenshot_20210117-010444_.png
    Screenshot_20210117-010444_.png
    154.2 KB · Views: 872
  • pdx201.xml
    21 KB · Views: 122
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: Ok
- Wireless display: Ok
- RIL - Phone - Data: Ok
- VoLTE: Ok
- GPS: Ok
- Camera: Ok
- Camcorder: Ok
- Lights: Ok
- MicroSD: Ok
- Accelerometer: Ok
- Compass: Ok
- Gyroscope: Ok
- QTI sensors: Ok
- Touchscreen: Ok
- FM Radio: NA
- Fingerprint: Ok
- Vibrator: Ok
- Microphone: Ok
- Audio & music: Ok
- Bluetooth audio: Ok
- NFC: Not tested
- Kernel: Ok
- Graphics: Ok
- 3D Rendering: Ok
- Clock: Ok
- DRM: Widewine L3
- Offline Charging: Ok
- USB: Ok
- USB Tethering:  Ok
- USB OTG: Ok
- Encryption: Ok
- SEPolicies: Enforce
 
Last edited:
  • Like
Reactions: Meloferz

dreDREb13

Member
Dec 30, 2016
44
17
Any way of upgrading to this (ie dirty flashing) from your LineageOS 17.1 version? Or is it necessary to wipe and reinstall stock Android 10 first?
 

dreDREb13

Member
Dec 30, 2016
44
17
Flash directly, if you don't meet any issue, there is no need to wipe the data.
Sweet. This is great work, thanks so much!

Does the flashing have to be done through fastboot via the method described for initial install, or can adb sideload be used to install the zip package via recovery as an update instead?
 

ig2205

Senior Member
Sep 4, 2013
51
5
erasing 'metadata'...
FAILED (remote: Erasing is not allowed for partition)
...
sending sparse 'system' 1/2
OKAY [ 21.700s]
writing 'system' 1/2...
FAILED (remote: No such partition.)

I have that every time. What to do in fastbootd mode?
 

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
Sweet. This is great work, thanks so much!

Does the flashing have to be done through fastboot via the method described for initial install, or can adb sideload be used to install the zip package via recovery as an update instead?

OTA package will remove vendor partition, I will provide OTA package until building vendor image Then we will go LineageOS official.

erasing 'metadata'...
FAILED (remote: Erasing is not allowed for partition)
...
sending sparse 'system' 1/2
OKAY [ 21.700s]
writing 'system' 1/2...
FAILED (remote: No such partition.)

I have that every time. What to do in fastbootd mode?

You should be in fastboot mode and not fastbootd mode,
If you are really in fastbootd mode and not work, try fastbootd mode in official recovery image.
 
  • Like
Reactions: ig2205

ig2205

Senior Member
Sep 4, 2013
51
5
You should be in fastboot mode and not fastbootd mode,
If you are really in fastbootd mode and not work, try fastbootd mode in official recovery image.

Now it looks like this and I don't know whether to continue doing something?
 

Attachments

  • 1_2.jpg
    1_2.jpg
    41.6 KB · Views: 260

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
Will this rom be rebased on the Android 11 stock ROM sources once we have them?

Maybe, stock 10 blobs works fine on LineageOS 18.1. A
You should be in fastboot mode and not fastbootd mode,
If you are really in fastbootd mode and not work, try fastbootd mode in official recovery image.

Now it looks like this and I don't know whether to continue doing something?

LineageOS or stock Recovery?
If LineageOS Rec is broken, try stock rec plz.
BTW, also use latest adb fastboot tools from google.
FastbootD driver is also necessary.
 
  • Like
Reactions: ig2205

berkenpies

New member
Oct 22, 2020
4
1
Assen
berkenpi.es
Just wondering, how's the camera performance (in terms of start-up and focus speeds) in these custom ROM's compared to stock? Getting rather annoyed by the performance of the stock ROM / camera app.
 

ig2205

Senior Member
Sep 4, 2013
51
5
Maybe, stock 10 blobs works fine on LineageOS 18.1. A


LineageOS or stock Recovery?
If LineageOS Rec is broken, try stock rec plz.
BTW, also use latest adb fastboot tools from google.
FastbootD driver is also necessary.
The problem is with stock recovery.
I installed a new system, drivers, reinstalled programs, changed usb sockets and nothing. I have no idea anymore.
 

dreDREb13

Member
Dec 30, 2016
44
17
So I installed and everything booted up fine, but I hit a couple snags.

One, it looks like Open GApps hasn't officially released Android 11.0 builds yet, so I had to find test versions through their sourceforge to run.

Two, upon booting I'm having trouble using a third party launcher (KISS Launcher) with gesture navigation. For some reason it won't recognize the multitasking/return to home feature along the bottom, though the side gestures work fine. Not sure if that's something to do with the test builds of GApps or not. I made sure all gestures were turned off to check if maybe it's a conflict but it still didn't work. And the launcher ran just fine on my 17.1 install, so not sure what the issue is.

Three, my wallpaper that I have set to the correct resolution of the phone is now zoomed in slightly. It looks like this is a feature of the new notification shade, as when I pull it down it zooms out my wallpaper to the correct size. However, I can't seem to find a way of turning this feature off or getting my wallpaper to fit properly.


EDIT: I rebooted again after first boot and my issues with the third party launcher and gesture navigation went away. After looking into it more it looks like that wallpaper zoom feature is apparently baked in to Android 11, so no way of disabling that at the moment. Hopefully there's a change that can come in to remove that feature...

All looks good otherwise and this is turning out great!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    0826 version updated.
    1. Signature-spoofing supported.
    2. About front camera.
    On legacy android, camera 1 is recognized as front camera. We switched to SODP camera stack for Gcam support. Some wired things happend, camera 0 is main, and camera 1 is occupied by telescope cam, and camera 2, 3 is ultra-wide and telescope. In fact, 4 cameras works nromally, but you could only switch to front camera from telescope camera.
    3. For Gcam, you can choose use this one with my xml config.

    Enjoy :D

    More:
    For these users do not care front cam and want to use all back cams, you can choose the verison without suffix of fornt-cam.

    I already found the reason, waitting for SODP solve the camera ID issue. We will get all camera works normally in future.
    4
    0421 version Uploaded.
    1. Tripple cams switch fixed in Open Camera.
    2. Fix dark screen while minimum brightness.

    Now, all bugs on LineageOS 18.1 fixed. Enjoy.
    3
    2okPze5.png


    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 11.x (R),
    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 support Google Camera (GCam)! You need to flash Gapps at first.
    3. You need to flash Stock Android 11 before flashing this ROM.
    4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!
    5.If you cam from SODP ROMs, you need to go back to official Android 11 firmware, and boot into launcher.
    6.This ROM works fo both dual and single models.

    Downloads Links
    LineageOS 18.1:
    Unofficial-build:
    Link
    Recovery: Link

    Google Applications (optional):
    NikGapps, MindTheGapps. OpenGapps.
    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 11.0 from Sony
    Unlock bootloader is necessary.
    Download latest platform-tools from google

    1. Install fastbootd drivers, guidance
    You can install google's usb debug drivers.
    2. Download Lineage Recovery from AFH above.
    3. Put your device into fastboot by volume up key.
    4. Type the following command to flash the recovery:
    Code:
    fastboot flash recovery recovery.img
    fastboot flash dtbo dtbo.img
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
    fastboot reboot recovery
    5. Sideload the ROM package.
    6. If you are first time to flash LineageOS, Wipe data plz.

    Gapps:
    After flashing ROM via siddeload, Reboot to recovery, choose Apply from ADB, then sideload the gapps package on your PC with adb tool:
    Code:
    adb sideload <PATH OF GAPPS>

    Never flash oem from SODP!!
    If you flashed oem and meet any issues, I could only say you are a hanhan.

    Root access:
    Flash Magisk in recovery.

    Twrp:
    See this: Link

    Gcam:
    Recommond this one with my xml config.
    Notice: You could only switch to front camera from telescope camera in Gcam.

    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:
    Cubbins
    The SDOP team
    The LineageOS Team
    The CyanogenMod Team

    XDA:DevDB Information
    Lineage-18.1 for Xperia 10 II, ROM for the Sony Xperia 10 II

    Contributors

    Sjll
    Source Code:

    Donation
    https://paypal.me/sjllls

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.14

    Version Information
    Status:
    Stable

    Created 2021-01-16
    Last Updated 2021-10-10
    3
    0828 update:
    All camera fixed.
    Color profile.
    Enjoy!
    3
    1012 Update:
    1. Support ZRAM writeback, RAM compression is more efficient.
    2. Enable 4GB Extended RAM/Virtual RAM/Swapfile ZRAM.