yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
I'm sorry, was in a hurry.

FATAL EXCEPTION: main

Process: com.android.calendar, PID: 16373

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.calendar/com.android.calendar.event.EditEventActivity}: java.lang.ClassNotFoundException: Didn't find class "com.android.calendar.event.EditEventActivity" on path: DexPathList[[zip file "/system/product/app/Calendar/Calendar.apk"],nativeLibraryDirectories=[/system/product/app/Calendar/lib/arm64, /system/lib64, /system/product/lib64, /system/lib64, /system/product/lib64]]

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3194)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)

at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)

at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)

at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)

at android.os.Handler.dispatchMessage(Handler.java:107)

at android.os.Looper.loop(Looper.java:214)

at android.app.ActivityThread.main(ActivityThread.java:7356)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.calendar.event.EditEventActivity" on path: DexPathList[[zip file "/system/product/app/Calendar/Calendar.apk"],nativeLibraryDirectories=[/system/product/app/Calendar/lib/arm64, /system/lib64, /system/product/lib64, /system/lib64, /system/product/lib64]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)

at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)

at android.app.Instrumentation.newActivity(Instrumentation.java:1250)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3182)

... 11 more
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
How did you even get that? AOSP killed all calendar features...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
I can open the calendar app and use the widget, but as soon as I want to add an appointment from another app (in my case it was öffi which is a german transportation app) it just crashes.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yeah that makes sense. They removed that but forgot to remove it from manifest.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
So what can I do if I want to use a calendar?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Install a third party one ^^
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
So the built in Calendar (I.e the LineageOS calendar app) won't work?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I don't know if someone won't just revert AOSP changes but right now the app isn't doing much if anything.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Can recommend https://github.com/SimpleMobileTools/Simple-Calendar, you may get via fdroid or play store.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Timeral:
Flashed with nano gapps but GoogleWellbeing get FC.

Logcat:

10-23 18:11:39.690 E/AndroidRuntime(29215): Caused by: java.lang.SecurityException: getUnsuspendablePackagesForUser: Neither user 10052 nor current process has android.permission.SUSPEND_APPS.

"adb pm grant" also do no help to this problem.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
Flashed latest Version (lineage-17.0-20191020_205115-UNOFFICIAL-pioneer.zip) and using it daily without any issues.

Is LOS17-OFFICIAL possible in the near future?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] iHusky:
@ LuK1337 I flashed latest version of your ROM and I recognize that starus bar lag when I try open this, and sometimes in build app for messagin get FC with android.com.messaging error.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
I flashed latest Version yesterday, statusbar is working well but messaging app is always force closed and not showing the symbol anymore.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] olivrd:
working fine here, the status bar and the messaging app.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Latest ROM has only minor bugs and is perfectly capable to be used as a daily imho
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] irgendwer2:
So official version coming soon? :fingers-crossed:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Timeral:
Thanks for your hard work.:good:

Occasionally the keyguard get stuck and I have to reboot.

Logcat:

E/AndroidRuntime(3582): java.lang.RuntimeException: Unable to create service com.android.systemui.keyguard.KeyguardService: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.app.IWallpaperManager.setLockWallpaperCallback(android.app.IWallpaperManagerCallback)' on a null object reference
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Wow you gave me a single logcat line. How nice of you.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
Can somebody explain me very carefully how to flash this? And also how to install TWRP? I'm on stock 50.2 FW with unlocked bootloader and I'm scared to do anything because I don't want to brick my device :D
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
1. Reboot to bootloader at your PC with phone connected via usb2.0: 'adb reboot bootloader'

2. 'fastboot boot twrp-xyz.IMG'

3. I use 'adb push lineage17-xzy /tmp/’ and select install in twrp and chose the file in /tmp/, but you can also sideload the zips

4. Optionally flash magisk etc:

4.1 reboot to bootloader via twrp after flashing lineageos

4.2 push the install zips onto the device or sideload it.

5. Reboot

Edit: flash luk1337s zip from post #2 from twrp to have working cam and fingerprint
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
i'm on 50.2.A so I still need to flash this zip from post #2?

I don't need to swap slots a or b or something?

If I want to install gapps or magisk i need to reboot to bootloader via twrp and just push zips in bootloader or in twrp again?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
flashing ROM is always to opposite slot and flashing gapps to current slot, so you need to do:

turn phone off

press Vol-Up and connect USB to PC

fastboot boot twrp.img

flash rom

shutdown

press Vol-Up and connect USB to PC

fastboot boot twrp.img

flash gapps

flash magisk

shutdown

power device on normally

Maybe a full wipe on both slots is needed. For me it was not working as an update from los16.

Full wipe on both slots:

turn phone off

press Vol-Up and connect USB to PC

fastboot boot twrp.img

full wipe

in twrp choose opposite slot

power off

press Vol-Up and connect USB to PC

fastboot boot twrp.img

full wipe

flash rom

shutdown

press Vol-Up and connect USB to PC

fastboot boot twrp.img

flash gapps

flash magisk

shutdown

power device on normally

when updating the version, you should also do this like above discribed, or change the slot prior to install the rom, so you install the rom into the same slot and the other one is unused.

It's a bit complicated, but in some cases (update failure etc...) good to have slot A/B.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Whats wrong?

error: system/core/init/Android.bp:95:1: "libinit" depends on undefined module "libinit_sdm660"

in BoardConfigCommon.mk:

# Vendor Unification Init

TARGET_INIT_VENDOR_LIB := libinit_sdm660

TARGET_RECOVERY_DEVICE_MODULES := libinit_sdm660

This is right flags?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
So if im on slot B then i need to sideload lineageOS on B and then reboot, change slot to A and install Gapps and Magisk?

Edit: Somehow I didn't bricked my device :D Thanks a lot for help <3
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Ok, I found it:

https://review.lineageos.org/c/LineageOS/android_device_sony_nile-common/+/260729

so many patches there ...:rolleyes:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Define updated.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I have never tried this lineage on one slot and gapps on another slot thing. Never had any issue because of not doing that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
failed to find dex jar path for module "WfdCommon"

ok, if commented:

#PRODUCT_BOOT_JARS += \

# WfdCommon

next error:

device/sony/nile-common/rootdir/Android.mk: error: init.qcom.devstart.sh: LOCAL_MODULE_TAGS := eng is obsolete. See https://android.googlesource.com/platform/build/+/master/Changes.md#LOCAL_MODULE_TAGS

build/make/core/base_rules.mk:171: error: done.

ok, just del all "eng", then finde this patch... https://review.lineageos.org/c/LineageOS/android_device_sony_nile-common/+/260714

next error:

ardware/interfaces/boot/1.0/default/Android.mk: error: "android.hardware.boot@1.0-impl-wrapper.recovery (SHARED_LIBRARIES android-arm64) missing bootctrl.sdm660 (STATIC_LIBRARIES android-arm64)"

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

vendor/qcom/opensource/fm-commonsys/jni/Android.mk: error: "libqcomfm_jni (SHARED_LIBRARIES android-arm64) missing libbtconfigstore (SHARED_LIBRARIES android-arm64)"

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

vendor/qcom/opensource/fm-commonsys/jni/Android.mk: error: "libqcomfm_jni (SHARED_LIBRARIES android-arm) missing libbtconfigstore (SHARED_LIBRARIES android-arm)"

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

build/make/core/main.mk:961: error: exiting from previous errors.

ok, export ALLOW_MISSING_DEPENDENCIES=true

next error:

build/make/core/main.mk:1317: warning: Host modules should be in PRODUCT_HOST_PACKAGES, not PRODUCT_PACKAGES

Offending entries:

brillo_update_payload

ok, https://review.lineageos.org/c/LineageOS/android_device_sony_nile-common/+/260737

next error:

FAILED: ninja: 'out/target/product/pioneer/obj/STATIC_LIBRARIES/bootctrl.sdm660_intermediates/export_includes', needed by 'out/target/product/pioneer/obj/SHARED_LIBRARIES/android.hardware.boot@1.0-impl-wrapper.recovery_intermediates/import_includes', missing and no known rule to make it

ok, https://review.lineageos.org/c/LineageOS/android_device_sony_nile-common/+/260736

next error:

FAILED: ninja: 'out/soong/.intermediates/system/core/init/libinit/android_arm64_armv8-a_recovery_static/gen/proto/system/core/init/persistent_properties.pb.h', needed by 'out/soong/.intermediates/system/core/init/init_second_stage/android_arm64_armv8-a_recovery/obj/system/core/init/main.o', missing and no known rule to make it

and went to sleep.

all patches from 25 oct are needed?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Uh yes, and a lot more platform patches on top of that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
:eek:

How long does the Lineage repo update with all these patches? Or how to apply all of them to the current at once?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
What does that mean?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
After using rom for all day I started to encounter one major problem, when opening recent apps and swiping all the way to left its crashes with "Trebuchet stopped working" no matter what i do, even if i want to kill apps one by one.

Flashed from stock 50.2.A

Flashed LOS-17 2019-10-23 with Gapps Nano Android 10 BETA and Magisk 20.0 (I only have installed Viper4Android and YouTube Vanced, before I had installed Google Product font, xmlpack, Universal GMS Doze and Camera 2Api enabler)

I wanted to post logcat but for some reason I can't.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
Or never mind here it is.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Stock LOS17 with magisk and no problems like that
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
I found second problem, status bar is lagging after some time of using phone only reboot helps.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
If I were you I'd try a clean install before reporting more problems, you have installed too much stuff.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
So many changes. It's hard to me add manually em one by one from gerrit... In da LOS git (branch lineage-17.0) no your new changes yet...

Hmm, I can see this strange branch, but I can't sync with em, coz only lineage-17.0 is syncing without latest updates. Why it's happend? How I can get lastest updates, all of em at onece? :confused:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I simply didn't merge a single 17.0 change just so that I can keep 16.0 and 17.0 base in sync until I really stop caring about 16.0.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
But, how I can get lastest updates? It is possible? (no patches) All newer tree? Coz i can't build LOS17 by myself :(

---------- Post added at 01:41 AM ---------- Previous post was at 01:35 AM ----------

What about branch 3534128c83? May I syncing from there?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You're a smart boy, you can either figure out how to make git ~pull~ them from top change or just write a script for picking them all manually. Good luck~!

>What about branch 3534128c83? May I syncing from there?

That's not a branch, that's an object. Also github does not permit fetching unadvertised objects.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Hmm, for resolve build errors I need only your patches for device tree? Critical changes for OS should already be in the repository, isn't it?

---------- Post added at 02:48 AM ---------- Previous post was at 02:09 AM ----------

I have one. It's "repo_update.sh" from AOSP ... may be I can edit it for your cherri pic ups ... U so ironic man :cowboy:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>I have one. It's "repo_update.sh" from AOSP ... may be I can edit it for your cherri pic ups

Yeah that script is useless.

I was thinking about something smarter, like a real py3 (or other scripting language of choice) that'd probe gerrit for all patches in chain and pull them in.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Hmmm... this is script can hepls?

https://github.com/saper/gerrit-fetch-all
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Just write your own one.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
vendor/sony/nile-common/Android.mk: error: WfdCommon: Modules in PRODUCT_BOOT_JARS must be defined in Android.bp files
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You're almost there.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
:confused:

What is mean?

Will u resolve it?

I applied all the patches -_-"
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Timeral:
I experienced statusbar lag, too.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Dirty flash or clean install?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Timeral:
Clean install，but this is occasionally,reboot helped.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Well it's clearly not a device tree issue. So try harder and maybe you'll figure out where to look for solution to this problem.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eliesen:
Just installed en works great. Will it get updates ota?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] olivrd:
settings are not working on both 1030 builds, it force closes and is renamed as "%1$s". also, android.process.media force closes all the time. sorry, no logs, at work right now - coffee break finished :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I booted same builds on discovery and everything was fine. I assume it's something related to your userdata that is causing this.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
lineage-17.0-20191030_120920-UNOFFICIAL-pioneer.zip - have bugs

lineage-17.0-20191030_145627-UNOFFICIAL-pioneer.zip - works fine

Will u update sources on github?:crying:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Everything is public somewhere ^.^
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
And where is it? *_*
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
On the internet.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] olivrd:
yeah, you're right, something got screwed. clean flashing solved it. thx!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Wow, man, seriously?

Well, gimme link, plz =_="
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] R00$7ER_XL:
How far away from being official?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
lineage-17.0-20191030_145627-UNOFFICIAL-pioneer.zip

Installed OpenGapps micro.

Doesn't work tiles in QS: "Battery Saver" & "Screen Cast".

Menu crashes in settings: "Display->Expanded desktop", "Digital Wellbeing(i think it'a bcoz Gapps)".

Has no settings for Camera button in "System->Buttons" menu.

Logs will be later.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>Doesn't work tiles in QS: "Battery Saver" & "Screen Cast".

Unplug usb, connect to WiFi.

>Menu crashes in settings: "Display->Expanded desktop", "Digital Wellbeing(i think it'a bcoz Gapps)".

Known, not my problem kind of /issues/.

>Has no settings for Camera button in "System->Buttons" menu.

Not ported.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Hey, does twrp work with the official android 9 firmware from Sony? or will it get the lines again?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Is there a non-fullwipe solution to this? Don't want to set up my phone again
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yes, it's called debug it yourself and figure out what to remove. I cannot reproduce this issue here and well literally no one posted logs (cool)

Try it ^.^
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Set up my phone completely from scratch, but wanted to share my experience. I tried resetting app data via adb with 'pm clear XYZ' with XYZ being all the apps I suspected to be the cause of all those FCs. I read logs for half am hour, but could not figure out, what was happening there, as media scanning is a process that respawns as soon as it is killed and I had new process IDs all the time. Backuped my data with 'adb backup' and 'adb pull /sdcard/’, because I could not access storage and settings anymore. Wiped userdata with 'fastboot -w' in bootloader and set up my phone again. Works just fine so far, but maybe my experience helps somebody out there trying to figure out what is happening. This time it's: clean flash > hours of debugging.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] iHusky:
Did someone have issues that after some time (about few days) status bar lagging when you try expand it on screen. I can wipe dalvik/art cache and it back to normal, but after few days this issue return :(
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
I've had that issue too. Sadly, I didn't found any solution for this.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
After upgrading to Version lineage-17.0-20191102_105225-UNOFFICIAL-pioneer.zip the settings menu is force closed and can not be used (I made no full wipe, maybe that's a reason?)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
due to massive change in LOS 17.0 (see on gerrit the number of "Merged" lines), many system and core app may be unresponding when doing dirty flash. I recommend you to not upgrade every day/week... and keep a backup just in case.

I've manage to fix some issue like this by removing app cache (like Mail). But for system app it's not possible.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] iHusky:
Ehhhh I must think about back to SailfishOS, I tried flash (using new flasher) android 9 for XA 2 (and set wi-fi) then flash latest lineageOS 17 and Gapps and I can`t use wi-fi -.-
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Try `adb root`, `adb shell "restorecon -R /mnt/vendor/persist/*"`.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] iHusky:
Can`t use adbr root "adbd cannot run as root in production builds" and I don`t know what should I do (I have Magisk)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
Any news about latest build ? last update is from 2st November, facing any major issue we could help ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
[announcement]

I just released new builds /w Nov SPL but there's a c-catch.

If you're updating from 20191025-20191102 to newer build you'll need to do: `rm -rf /data/data/com.android.providers.downloads /data/data/com.android.providers.media /data/misc/wifi /data/misc_ce/0/wifi` in root shell (adb root && adb shell or adb shell × su if using Magisk or something)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
Can you say what changed im this build?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
No. I don't write change logs, especially ones that would be useful for normies.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JaneKPL312:
So, I will ask differently, does the lagging status bar issue got fixed or will it be fixed?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
No idea, not my problem either. Let's say I'm just the device maintainer and this isn't device specific issue.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
I'm using an older build (20191102) and have not experienced this lag so far, so it might not be a rom issue. Also try out those things for yourself :3
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thesdsa:
I downloaded the latest lineage zip file, and opengapps beta. Trying to install both of them and I got a boot loop. Seems like my first time flashing my device with A/B partition has failed me. idk when to use sideload or install directly from sdcard or when to change slot from A to B and vice versa and I don't know what to do now.

Can someone give me a proper instruction how to do this??
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thesdsa:
Okay, after hours and hours of finding a solution, I just cannot find it. I gave up and factory reset everything using newflasher and I got it working again (in 50.2 firmware update, finally after several hours ). Can anybody at least teach me how to flash this thing?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
fastboot --> boot twrp --> flash rom --> reboot to fastboot --> boot twrp --> flash magisk/gapps/etc. --> reboot into working android10
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thesdsa:
No need to switch A/B slot ? Also sideload from pc or flash from sdcard?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Wirh your reboot to bootloader in between you switch from one slot to another. I put my rom and magisk on my external sd (and don't use gapps at all) and install them from there.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thesdsa:
fastboot --set-active=a/b or change slot from twrp?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
I swapped slots via fastboot