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

Search This thread

xdauserart

Senior Member
Oct 13, 2020
66
2
Ok, then you should download the stock firmware with xperifirm and then flash it with Newflasher (just type xperifirm and Newflasher to Google). If you need help with this you can ask me.
I see, thanks. So the issue is that Magisk corrupted some boot files of lineageos or something? Perhaps I can flash this ROM to restore them? Also is it connected to `fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img` fixes?
 

xdauserart

Senior Member
Oct 13, 2020
66
2
Well, that explains it all. This vbmeta is from a super old version on Android. So you can fix this by downloading the stock firmware unzipping vbmeta-X-flashall.sin and flashing that one. (.sin is just a .tar file, when you unzip it you get vbmeta.000, rename it to vbmeta.img).
Doesn't work. Do I flash with ` fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img` ? I downloaded this XQ-AU52_Vodafone LC Not Net Locked_59.2.A.0.463-R5C.

Code:
❯ sudo fastboot devices
QV7225V43A    fastboot

❯ sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (8 KB)                            OKAY [  0.009s]
Writing 'vbmeta'                                   OKAY [  0.003s]
Finished. Total time: 0.019s
❯ sudo fastboot reboot recovery
Rebooting into recovery                            OKAY [  0.007s]
Finished. Total time: 0.058s

And still "Your device is corrupt" etc


UPDATE. Tried also `fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img`. Doesn't work
 
Doesn't work. Do I flash with ` fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img` ? I downloaded this XQ-AU52_Vodafone LC Not Net Locked_59.2.A.0.463-R5C.

Code:
❯ sudo fastboot devices
QV7225V43A    fastboot

❯ sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (8 KB)                            OKAY [  0.009s]
Writing 'vbmeta'                                   OKAY [  0.003s]
Finished. Total time: 0.019s
❯ sudo fastboot reboot recovery
Rebooting into recovery                            OKAY [  0.007s]
Finished. Total time: 0.058s

And still "Your device is corrupt" etc


UPDATE. Tried also `fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img`. Doesn't work
Hmmm, try to flash vbmeta-system also... From which country is your phone?
 

xdauserart

Senior Member
Oct 13, 2020
66
2
Not sure what to try else. I guess the easiest is to make any recovery work (flash twrp or recovery). Then wipe all data. Btw, I think I encrypted by data on this device. Then flash LineageOS again. Does it sound a good way? Another way I guess is to keep trying to remove this 'you device is corrupted' message. Thanks
 
Not sure what to try else. I guess the easiest is to make any recovery work (flash twrp or recovery). Then wipe all data. Btw, I think I encrypted by data on this device. Then flash LineageOS again. Does it sound a good way? Another way I guess is to keep trying to remove this 'you device is corrupted' message. Thank

Not sure what to try else. I guess the easiest is to make any recovery work (flash twrp or recovery). Then wipe all data. Btw, I think I encrypted by data on this device. Then flash LineageOS again. Does it sound a good way? Another way I guess is to keep trying to remove this 'you device is corrupted' message. Thanks
From what I know, I don't think it will let you access any recovery. You should try restoring it with Newflasher and that should fix it. If you then want to install lineageOS, you should flash your vbmeta, not the one in the zip file.
 

xdauserart

Senior Member
Oct 13, 2020
66
2
From what I know, I don't think it will let you access any recovery. You should try restoring it with Newflasher and that should fix it. If you then want to install lineageOS, you should flash your vbmeta, not the one in the zip file.
Trying :) But it fails again. See https://forum.xda-developers.com/t/tool-newflasher-xperia-command-line-flasher.3619426/post-87512169. I guess I can flash only vbmeta* files with Newflasher, right? Or now my data is lost and I should just restore the device into workable state?
 

xdauserart

Senior Member
Oct 13, 2020
66
2
It did this to me too, you have to run it with sudo.
Yet, the same result:
Code:
❯ sudo ./newflasher
[sudo] пароль для art: 
--------------------------------------------------------
            newflasher v55 by Munjeni @ 2017/2020           
--------------------------------------------------------

Determining available free space:

  Available space to caller    = 222495 MB
  Total space on current drive = 479363 MB
  Free space on drive          = 246917 MB

No usb device with vid:0x0fce pid:0xb00b !

It is Archlinux
 
Yet, the same result:
Code:
❯ sudo ./newflasher
[sudo] пароль для art:
--------------------------------------------------------
            newflasher v55 by Munjeni @ 2017/2020          
--------------------------------------------------------

Determining available free space:

  Available space to caller    = 222495 MB
  Total space on current drive = 479363 MB
  Free space on drive          = 246917 MB

No usb device with vid:0x0fce pid:0xb00b !

It is Archlinux
Ok, do you see the phone when you run lsusb? (And also check if you are in flash mode not fastboot)
 

xdauserart

Senior Member
Oct 13, 2020
66
2
Ok, do you see the phone when you run lsusb? (And also check if you are in flash mode not fastboot)
Right! It run in flash mode (i used fastboot). But it doesn't seem to flash vbmeta

Code:
-rwxr-xr-x 1 art  art  161K окт  1 12:53 newflasher
-rw-r--r-- 1 art  art   630 сен 30 19:45 update.xml
-rw-r--r-- 1 art  art  8,5K мая 26 21:32 vbmeta_system_X-FLASH-ALL-E9C8.sin
-rw-r--r-- 1 art  art   13K мая 26 21:32 vbmeta_X-FLASH-ALL-E9C8.sin

❯ sudo ./newflasher
--------------------------------------------------------
            newflasher v55 by Munjeni @ 2017/2020          
--------------------------------------------------------

Determining available free space:

  Available space to caller    = 222505 MB
  Total space on current drive = 479363 MB
  Free space on drive          = 246927 MB
found device with vid:0x0fce pid:0xb00b.

Do you want to keep userdata? Type 'y' and press ENTER to confirm, or type 'n' to erase userdata.
y

Reboot mode at the end of flashing:
  type 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
p

After this, it is still blocked
 

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.