yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
How to flash latest firmware

[ protip: Currently Lineage builds depend on latest 8.0 firmware (50.1.A.13.123), they will not boot up on 50.2.A.0.* or newer ]

1. Download latest firmware with XperiFirm.

NOTE: When using mono XperiFirm will fail to unpack the firmware, you can do it manually using following commands:

for f in FILE_*; do unzip $f; done
unzip boot.zip -d boot

2. Go to the directory where the firmware got downloaded to and remove following files:

- kernel_X-FLASH-ALL-18AE_0x00.hash

- kernel_X-FLASH-ALL-18AE.sin

- persist_X-FLASH-ALL-18AE_0x00.hash

- persist_X-FLASH-ALL-18AE.sin

- system_other_X-FLASH-ALL-18AE_0x00.hash

- system_other_X-FLASH-ALL-18AE.sin

- system_other_X-FLASH-ALL-9B8D_0x00.hash

- system_X-FLASH-ALL-18AE_0x00.hash

- system_X-FLASH-ALL-18AE.sin

- system_X-FLASH-ALL-9B8D_0x00.hash

- userdata_X-FLASH-CUST-18AE.sin

- vendor_X-FLASH-ALL-18AE_0x00.hash

- vendor_X-FLASH-ALL-18AE.sin

- vendor_X-FLASH-ALL-9B8D_0x00.hash

3. Turn off your phone, hold vol dn and plug in the USB cable, the screen should be off and green LED lit.

4. Run Newflasher, it'll flash entire FW to your current slot then unplug the USB cable and power on your phone.

5. Turn off your phone, hold vol up and plug in the USB cable, the screen should be off and blue LED lit.

6. Enter this command: `fastboot getvar current-slot`, it should return something like this:

current-slot: _b

Finished. Total time: 0.001s

7. Now switch to the opposite slot by entering command: `fastboot set_active a` if the current slot is `_b` or `fastboot set_active b` if its `_a`, you should see this:

Setting current slot to 'a'...

OKAY [ 0.012s]

Finished. Total time: 0.014s

or

Setting current slot to 'b'...

OKAY [ 0.012s]

Finished. Total time: 0.014s

8. Unplug usb cable and repeat steps: 3, 4

9. Profit?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] GuestK00219:
can't test right now but one question. it doesn't really matter at this stage but is it treble compatible? as you know stock rom is but it won't boot anything else

EDIT: what about vendor blobs? are they from stock rom or aosp? camera hal?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
All blobs are from stock ROM and it's somewhat treble compatible (I could probably make it better by getting rid of /init extensions but eh).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] teardropcity:
What's performance and battery life versus the stock rom?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I don't know; I never used that phone as my daily driver to begin with, nor did I ever run any benchmark on stock, SOD or Lineage.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] TRONTC:
Happy to see development for this device. I don't have a spare phone at the moment so I will flash this once it becomes a bit more stable. Also could you comment on dual sim support. Mine is the H4133 (Hong Kong Version), hopefully there shouldn't be any major hiccups getting it to work. Thanks for porting LOS
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>I will flash this once it becomes a bit more stable.

So never? I don't expect anything interesting happening with this device anytime soon so you're basically waiting for ~nothing~.

>Also could you comment on dual sim support.

Minimal support is there but it's untested as I only have single sim variant.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
Does this work on Discovery the same way pioneer TWRP works on Discovery, or probably not?

Also, has Xposed been tested with this ROM?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
No, this build does not support discovery. It has a chance to boot on it but you won't have camera.

( There are untested trees in nile-dev @ gitlab if you want to build it on your own )
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Can't say I really like hijacking my thread like this but I hope that you'll actually contribute in some more reasonable way later on.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] GuestK00219:
sorry, i really didn't mean to. i did it for myself and it wasn't worth creating new thread but i wanted to share. my mistake, i don't plan to make this support thread for my builds
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] jimzhong:
I wonder if this ROM works on H3123. Thanks.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
H3123 is a single sim pioneer, so I'd imagine it works fine.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] jimzhong:
Several months ago I compiled AOSP for my device according to instructions on the Sony Open Devices website. The system could boot, but I could not change the volume during calls. I think H3123 and H3113 has different modems.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>but I could not change the volume during calls

That was an issue for all XA2 and XA2 Ultra devices on SOD, it had nothing to do with modem FYI.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Just out of curiosity, anyone that flashed this ROM can you tell me what fingerprint sensor you have and if it works?

To check that you do `getprop ro.hardware.fingerprint` in adb shell or any terminal app. The output you should get is either "et516" or "fpc1035".
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] RRRex:
Hey man, thanks for the build and your hard work my device runs like butter compared to stock. Thank you so much amigo. fcp1035 on device h3123 fingerprint not working at the moment. Also no clock or music controls on lock screen. though, I don't know if that's just how lineage 15.1 is.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>fcp1035 on device h3123 fingerprint not working at the moment.

Can you add me on hangouts (priv.luk@gmail.com) / irc (#titandev @ freenode) / discord (LuK1337#3147)?

>Also no clock or music controls on lock screen. though, I don't know if that's just how lineage 15.1 is.

Uh, did you wipe data? That's just strange.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You should just compile your own builds if you want everything to work properly on H3223.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Twiggy000b:
right but where to start o.o lineage on this device would be amazing!

edit: too be fair, i also posted in the xa2 ultra forum
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Repos for discovery are in LineageOS org since day one. It's just that no one tested them.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] notsofreewilly:
Thank you very much for all the work you put into this ROM
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
Rooting fails

Hello folks! I'm having trouble rooting: when installing the addonsu-15.1-arm64.zip or addonsu-15.1-arm64-signed.zip. When installing the zip in TWRP it says

set_metadata: Error on lstat of "/system/etc/init/superuser.rc": Too many symbolic links encountered
Updater proces ended with ERROR: 7
Error installing zip file '/sdcard/addonsu-15.1-arm64.zip

(along with "Failed to mount '/firmware' (Invalid argument)" a number of times). Using "adb shell" I can tell that /etc/system is a symlink to /etc/system, which is obviously indeed a problem. Any idea why this is so and/or how to fix it?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Use that one https://mirrorbits.lineageos.org/su/20180718/addonsu-15.1-arm64-signed.zip
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
Great, that worked, thanks!

Additionally, I'm having the same trouble notsofreewilly had - can't set pin, pattern or fingerprint in the Settings or in the installer wizard. I managed to get through the wizard by skipping setting any lock mechanism. First, thanks for already fixing this :o Second, you mentioned that some users might have to wipe. Can you explain when that will be the case? I just installed Lineage today, does it make sense for me to invest more time in this installation?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
By any chance does this happen if the battery percentage is below ten?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Nope, it always happened
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] silverbluep:
I cant update using the updater, doesn't seem to work.

Also did anyone tried to do the OTA for yalp store and fdroid to make them system apps? I flashed the zips from the github releases and the fdroid page with twrp but i dont have either as system apps.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] notsofreewilly:
He said that the patch is in the next build and I believe lineage is on a weekly build schedule (just confirmed this by looking at the dates on the different builds) so that means the next build is on the 24/25
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
Same. adb logcat seems to say that the signature verification failed.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thanhtung2812:
Did anyone get dual sim mode working with this rom? Sim in 1st slot is working perfectly but the 2nd sim can't connect to the network.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Add me on Hangouts.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Bcoz of this i've problem thw instaliation LOS? Some times i've bootloop after that.

Then i reboot into TWRP i see strange folders in da sdcard (Data partition)...

Next i reflash stock by "Newflasher" and reinstall LOS. And its boot normaly...

How to install it correctly?

Stock rom ->wipe cache, data, system-> switch in /A . Install from zip... reboot. Is it correct?

I have same problem like they:

https://xdaforums.com/showpost.php?p=76974516&postcount=104

https://xdaforums.com/showpost.php?p=77009882&postcount=146
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Fingerprint crash

Settings of fngrprnt crash, then i try to setup it, immediately after installation LOS.

fix it In next build?

Log+scrinshot attahced.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Probably.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Ohhh.... it is so buggy build (lineage-15.1-20180718).

I can't hear nobody, no sound, no bips(rings) then i call. It just silents. As usual, i not callin anybody, only chats. But today i need to call and it's not work... I'll roll back to lineage-15.1-20180710 - this more stable build.

Log attached
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thanhtung2812:
My english is very bad :(. Do you have dual sim mode working with this rom? Please help me, thank you!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Well. if no one will help me then it won't work anytime soon. You know, issues usually don't fix themselves on their own.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] struct_t:
I'm having a problem clean flashing the July 24th build from TWRP.

I followed the wiki instructions exactly, but I'm getting:

Error applying update: 18 (ErrorCode::kDownloadPayloadPubkeyVerificationError)

After that, TWRP drops out with ERROR 1.

I've got July 18th's build installed, so I'll try using the built-in updater and report back.

Thanks for all your hard work, LuK1337.

edit: Updating with the LineageOS updater works fine!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Can you add me on Hangouts or ping me on IRC ( i'm on freenode, darenet and rizon )?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] yazayad:
Thanks [MENTION=5075128]LuK1337[/MENTION] for working on this.

Couple of questions:

1) Coming from LOS 14.1 on Moto X Play (lux): Ambient display has some additional functions like activating when you pick up the phone, but here it only activates on notifications. Possible to add this?

2) (off topic and not LOS related, but I thought I'd ask) Is there any support for the Vulkan graphics API on snapdragon 630? Anybody here know anything about this? I have a device with an SD625 with Adreno... 506 I think? And it performs much better than the superior hardware in the XA2 in apps like PPSSPP (PSP emulator).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
1. No.

2. I don't remember.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] struct_t:
I don't use google services, but I can probably drop by IRC at some point. I see you're in Poland - I'm in Canada, and it wouldn't be until late at night. I can post whatever you might need here, as well.

The 24th's build works fine after using the built-in updater, by the way - no PIN/fingerprint issues, phonecalls work. Minor issues, but meh. I have a feeling that the pubkey error is related to encryption. I literally booted the phone once from out of the box, plugged it in, enabled OEM Unlocking and ADB, then immediately unlocked the bootloader and wiped everything. TWRP prompted me for an encryption PIN that I skipped, too. The stock OS never had a chance!

Thanks so much for your work on TWRP and Lineage - I'll be sure to send you over a donation when I get a moment. I wish I could work on patching and porting Lineage (I'm an ex-programmer myself) but I'm not in a position to go through the motions of cloning and building the OS right now. Life and career stuff is busy busy busy and my free time is devoted to friends and playing music. :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Then try installing latest build in this recovery https://www.androidfilehost.com/?fid=5862345805528057397 and let me know if it succeeds.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] thanhtung2812:
I added you to the hangout, what do I do next so 2 sims can work on this rom? Please help me!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] struct_t:
Will do - I'll report back here soon.

---------- Post added at 05:32 AM ---------- Previous post was at 05:01 AM ----------

I'm pleased to report that both clean and dirty flashing the official July 24th build with the recovery you linked works fine.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I agree.

There are no bugs, , everything that did not work in lineage-15.1-20180718, now works. :good:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
what about compatibility with Gcam ? did anyone here funded a good porting ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
I also updated to the 24th build (using the builtin updater which indeed went fine), but still have the pattern/fingerprint issue - whenever I enter the corresponding section in the Settings app it crashes. Below is what logcat says bout it.

--------- beginning of crash
07-25 12:02:12.041 8188 8188 E AndroidRuntime: FATAL EXCEPTION: main
07-25 12:02:12.041 8188 8188 E AndroidRuntime: Process: com.android.settings, PID: 8188
07-25 12:02:12.041 8188 8188 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=100, result=-1, data=null} to activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread.deliverResults(ActivityThread.java:4268)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread.-wrap19(Unknown Source:0)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:106)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:164)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6494)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
07-25 12:02:12.041 8188 8188 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment.onActivityResult(ChooseLockGeneric.java:344)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.Activity.dispatchActivityResult(Activity.java:7303)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
07-25 12:02:12.041 8188 8188 E AndroidRuntime:	... 9 more
07-25 12:02:12.051 1213 4863 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
07-25 12:02:12.054 1213 4863 W ActivityManager: Force finishing activity com.android.settings/.Settings$SecuritySettingsActivity
07-25 12:02:12.067 1213 1291 I ActivityManager: Showing crash dialog for package com.android.settings u0
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Does that happen on clean installation?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
Can't clean install, getting the same as stuct_t:

Error applying update: 18 (ErrorCode::kDownloadPayloadPubkeyVerificationError)

I've still got a zip of an earlier build; I'll install that and then update like struct_t did.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
https://xdaforums.com/showpost.php?p=76862806&postcount=2
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] pianogamer5:
Hardware issues on the latest build...

I've got issues with the July 24th build. I updated from the July 10th build (I had passcode issues on the July 18 build) using the slick A/B update mechanism that the built-in LineageOS updater provides and all goes well, however upon rebooting my device says there's no SIM inserted, I cannot turn on Wi-Fi at all (touching the switch in Settings does nothing, it doesn't even attempt to turn it on), Bluetooth hangs and crashes when I flip the switch in settings, and for some reason the fingerprint sensor doesn't respond nor show up on the lock screen. Temporarily I've just set the active partition back to my July 10 build (thanks seamless updates!!), so it's not too much of a serious issue for me. Anyone got any leads as to what I can do to troubleshoot?

Edit: Still haven't narrowed it down, also tried flashing in TWRP to no avail. Also noticed after more testing that battery saver doesn't work either, says the performance profile isn't available. I tried camera too thinking that might not work either (something something vendor partion HALs), but it does, however the app takes a long time to start. I'd appreciate any help provided! Also I'm up to provide anything that might be useful in diagnosing with this; I know a bit about logcats and such, I've flashed many a ROM on various devices (although never A/B style)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] notsofreewilly:
The Moto X had additional sensors on the screen (you can see them at the bottom and top of screen if you hold them at the right angle) that allows it to do that. Our phone does not have those sensors

according to wikipedia: Vulkan_(API)#Compatibility

the supported hardware is	Snapdragon 430, 625, 650, 652, 660,820, 821, 835	Snapdragon 415, 615, 616, 617, 805, 808, 810 Snapdragon 200, 208, 210, 212, 400, 410, 412, 600, 800, 801

the 630 might not yet be supported because it's a newer chip than the 625 (came out in 2016 while 630 came out mid last year)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] ThomasXA2:
I have some trouble too coming from 10th to July 24th build using the build-in updater. After a rather long installation process (> 15 minutes) an a reboot the H3113 is stuck in the boot animation. Any tips getting it back to work without losing my data?

EDIT: After selecting A in TWRP and explicitly booting to system it worked.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] miramo42:
It does not :D Everything seems to work fine now.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
hello I need help. try to flashing back los but first installation got error (twrp 3.2.2-0) so I tried to restore my old backup., but it failed the same.

if I now try to go back in TWRP, I've this error:

C:\Users\Marco\Desktop\platform-tools>fastboot boot C:\Users\Marco\Desktop\platform-tools\twrp-3.2.2-0-pioneer.img

Downloading 'boot.img' OKAY [ 1.678s]

booting FAILED (remote: Failed to load/authenticate boot image: Load Error)

Finished. Total time: 1.850s

what can i do ???
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] yazayad:
Anyone having various audio issues? Don't consider these bugs because I'm running xposed and testing out aggressively restricting all kinds of apps with xprivacy; just wondering if anyone else has this so I can eliminate:

1. The media volume doesn't seem to actually increase when it passes a certain point on the slider, presumably the 'recommended level.'

2. Sometimes when restarting audio playback, the volume is super loud for a split second. Has happened in newpipe where I switched from locked to floating video during playback, and when restarting a paused song after some time. But I'm not able to reproduce it consistently.

3. Problems using headset microphone? Mine doesn't register at all, in calls, audio recording, etc. If it's just me then it's some audio recording restriction I placed.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mach04:
Yes, I'm on the 20180710 build with just magisk and have experienced #2 and #3. I have filed a bug about #3 at https://jira.lineageos.org/browse/BUGBASH-2024 and have also emailed Luk1337 about it. He thinks it's a mixer bug.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I think it's encryption.

Flash stock 1st or try to format(not wipe) "Data"

fastboot -w ( Erase userdata and cache (and format if supported by partition type).)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Hey, is it normal that after installing the rom, fastboot is not detected? I am trying to boot into twrp using fastboot so i could flash google apps
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] yazayad:
What is the status of the LOS data bug these days? I've noticed that data always on is enabled in this ROM, which does seem to at least keep mobile data from breaking when it's already working.

But often after a reboot mobile data breaks and several reboots are required. Just now I rebooted three times before switching to 3g and rebooting again, after which mobile data worked.

I remember seeing a few pushes claiming to fix this on some other devices, but it was still present on e.g. Moto X Play. Does this affect all devices or what is the situation here?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
That bug would only happen on stupid 2015 devices (MSM8916, MSM8939, MSM8992, MSM8994).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] yazayad:
Oh I see, thanks for the info. May I ask why the data always on option is enabled by default in the dev settings? On the Moto X Play it was a workaround for losing data when switching to and from wifi.

So it looks like there is some other culprit for my losing data on reboot. I'll look into it. Like I said I'm messing around with xposed so if it's pointless for me to even share this, let me know.. No one else has experienced data loss on reboot when not connected to wifi?

Btw what's the proper etiquette for updating from the built in updater? It wipes cache for you?

Also could anyone point me to a guide for addon.d with these A/B devices? To keep root, xposed, etc when I update the ROM. I lost root when going from the July 10th to the July 24th build and had to reflash the su addon. Thanks.