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

Search This thread

zonghua

New member
Jun 14, 2021
1
0
Great, but something wrong is that night light is too intensive.
How can i turn it from source code?
night light.png
 
Last edited:

xdauserart

Senior Member
Oct 13, 2020
66
2
Also this ROM won't record video correctly. I used Open Camera and AODP camera both record video but it is way long and won't play in VLC or any other player. Say 10 sec video becomes 10 hours long. I could play it using XPlayer by InShot Inc. though
 

tinkeralot

Member
Apr 9, 2021
11
1
Also this ROM won't record video correctly. I used Open Camera and AODP camera both record video but it is way long and won't play in VLC or any other player. Say 10 sec video becomes 10 hours long. I could play it using XPlayer by InShot Inc. though
You are correct. But you can 'repair' the mp4 files by transferring them to a computer and use the linux commandline-tool called "MP4Box", example.
$ MP4Box -hint yourvideo.mp4

I am even doing this on the phone, but it involves installing Termux and compiling gpac/mp4box on the phone. If you're interested I can give you more details.
 
  • Like
Reactions: xdauserart

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
I am happy to tell everyone are using this ROM that we have a brand new version. The new version(0825) is performance ,smooth and supported Gcam now, enjoy! ;)

You might need to wipe data if you meet wired issues.
 
  • Love
Reactions: xdauserart

Khh77776

Member
Jan 22, 2021
10
1
I'm tested new version of ROM. GCam is worked, but front-camera now dont work. Signature-spoofing don't work. I don't have this issues on previous version of ROM. Also I have FM-radio now.
Edit 2: The LED now work in red color only.
 
Last edited:

dreDREb13

Member
Dec 30, 2016
44
17
I am happy to tell everyone are using this ROM that we have a brand new version. The new version(0825) is performance ,smooth and supported Gcam now, enjoy! ;)

You might need to wipe data if you meet wired issues.
Hey @Sjll , I'm getting an error 70 from Open GApps when trying to install these on top of this latest Lineage. Says there's insufficient storage even though I'm using Pico. I've done a full factory reset and also completely wiped, went back to stock, and reinstalled and I'm still having the same issue where system apparently can't fit the latest google apps.

EDIT: Okay, now I've got it to actually install, but upon booting there will be no Google apps or services actually showing up as installed. Not sure what's the issue here, but nothing has worked in terms of work arounds or different versions to get it installed properly... Tried OpenGApps, NikGApps, and Mind The GApps, too, so it seems like the ROM is somehow the issue here and I can't figure out why.

I'm also finding that I cannot connect my device for file transfer to my computer via USB, and the notification LED shows red whenever plugged in, regardless of charge status.

Anyone else having this issue or is it just me? Would love to just simply roll back to the previous version of the ROM but it appears all older zips have been removed.
 
Last edited:
  • Like
Reactions: dr.mccoy

dr.mccoy

Member
Aug 25, 2021
8
7
Hey @Sjll , I'm getting an error 70 from Open GApps when trying to install these on top of this latest Lineage. Says there's insufficient storage even though I'm using Pico. I've done a full factory reset and also completely wiped, went back to stock, and reinstalled and I'm still having the same issue where system apparently can't fit the latest google apps.

EDIT: Okay, now I've got it to actually install, but upon booting there will be no Google apps or services actually showing up as installed. Not sure what's the issue here, but nothing has worked in terms of work arounds or different versions to get it installed properly... Tried OpenGApps, NikGApps, and Mind The GApps, too, so it seems like the ROM is somehow the issue here and I can't figure out why.

Anyone else having this issue or is it just me? Would love to just simply roll back to the previous version of the ROM but it appears all older zips have been removed.
Same issue here, tried all the same things, etc. But to no avail.
 

dreDREb13

Member
Dec 30, 2016
44
17
Okay, one more update: definitely seems to be an issue with the ROM. Found the previous June 8 zip in another folder and rolled back to that with the latest OpenGApps package (0825) and it runs fine. Not sure if the installation process change has anything to do with this, what with now sideloading via ADB through recovery for the zip, versus the old process of individual .img flashing via fastboot.
 

Sjll

Recognized Developer
Jun 4, 2017
527
663
Chongqing
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.
 

Attachments

  • pdx201.xml
    15.2 KB · Views: 21
Last edited:

dr.mccoy

Member
Aug 25, 2021
8
7
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

Everything went great, until something I hadn't seen before where gapps don't show up as installed in the os even after what seemed to be a successful sideload. I feel like I'm missing a step.
 

dreDREb13

Member
Dec 30, 2016
44
17
Everything went great, until something I hadn't seen before where gapps don't show up as installed in the os even after what seemed to be a successful sideload. I feel like I'm missing a step.
Yeah, this has been my problem with this update. After getting everything installed and seeing GApps exit successfully, first boot shows no actual installation of Google services or apps. I've tried swapping A/B partitions and running the installation on both to be sure as well and still no sign of GApps on first boot. Not sure what the issue is.
 
  • Like
Reactions: dr.mccoy

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.