yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
question: how could i switch to H4113 config ..

i did not delete those three files (vendor/sony-modem-switch and others two), currently i just keep [a stock -> Los 15.1] rom.

seems i can get a new H4113 config by directly updating my Los to the latest.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Umm...you're supposed to just boot stock and flash 〜 latest 〜 lineage build afterwards.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
all right.. got it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I thik if replace&rename dsds configs from stock to LOS, then phone can use em... Today I haven't PC for experimets, can't say do it works or not...

One of this config(of single&dual sim models) has 0 byte i think it is for cleen up modem and one of em has no operators name, i think it's default conf.

Bcoz of this, i think LOS can use both "default" conf and choose em for 31xx/41xx, while OS install.Other conf (for operators) are not be usefull.

---------- Post added at 01:05 AM ---------- Previous post was at 12:21 AM ----------

About wakeup gestures... It seems what our synaptics controller have no native by hadrware, so bad:((

Driver says what it's has no needed registers and module do nothing. If it is memory registers in controller then we can't do anything with it too...

I found info about this driver module. It(module) must make sys-fs node with parametrs. What we can use for tune gestures.

More about:

"--- POWER MANAGEMENT ---

The synaptics_dsx_gesture.c driver module is set up to automatically put the touch

controller in detection mode upon entering suspend. During suspend, when a gesture

input is detected and determined to be matching one of the valid registered gesture

templates, the driver module proceeds to wake up the system.

After the system wakes up, a return value of '0x0f' from reading the 'template_detection'

sysfs file node indicates that it was a matching gesture input that woke up system.

The index of the gesture template that produced the highest match score can be read from

the 'detection_index' sysfs file node, and the match score itself can be read from the

'detection_score' sysfs file node."

This github link
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
sorry but i do not get what SGS30 means ..

could i directly reflash stock and reflash Los again, have it a bug there .. ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
edit: sorry for my mistake.

XA2 already have a official Treble support due to a Vendor partition is in there.

--------------------------------------------------------------------------

i found that xperia xa2 does not have a Treble support (either official or unofficial), how could you flash into a Treble rom ..

sorry for a little offtopic ..
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
If u have a dual sim XA2 u need to:

1) flash original stock rom

2) boot into stock system and activate it

3) ur phone can selfreboot to "optimise himself for operator" (in this moment system switch to dual sim config)

4) after reboot chek what both sim works properly and now u can install new build of LOS witch haven't "modem switcher service"

coz it's save ur oun config & sims will works like with stock rom(both).

----------------------

Yes, XA2 has official treble-rom support.

(but not of all works well and only Oreo, for Pie we have to wait for update)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
thanks for kindly reply.

1. "optimise himself for operator" (in this moment system switch to dual sim config)

i have no impression of it, i dont know where to find this function.

my variant is H4133 (international Dual ver)

2. thanks i got that too. XA2 currently have no stock Pie to made no availbility of Pie ..
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I don't think that OIS change is going to do much on XA2 itself. I only added it cause of XA2 Ultra.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] infixremix:
If the input is detected the driver should be fine it could be connecting to the display driver that's the issue. I had the same issue on my other device. What driver are you using ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
1. greatful thanks to SGS30 and Luk, the latest Los works fine with DUAL SIM support !!!

currently i do not find some bug (i dont use NFC so have not a test).

2. additionally, for fun, i also tried to flash a Treble GSI Los by [MENTION=1960538]PHH[/MENTION], i flashed .img into system image, then reboot, i found that, firstly my phone displayed a white background and big font "SONY" (yes that's booting animation before into system, such as Los booting animation), then my phone suddenly reboot again. then secondly boot into "SONY" animation, it's long time to wait, no any change or modification displayed, that time is too long to guess it's a soft brick ..
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Since we have to flash the stock ROM first and then lineage, does this need to be every time we flash a nightly (dirty flash to be specific)?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Do you think people would be willing to do that?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Obviously not. But wondering. I believe its better to ask than assume.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Pioneer-LOS vendor image not compatible with Treble GSI system images. For treble u have to use stock-rom vendor.

The modem remembers the last used config. If the updates do not contain other configs, then nothing else needs to be done.

But if you changed the operator and after that you have problems with communication, then, most likely, you need to flash the factory firmware again. (Because there are several dozen configs with fine-tuning for different operators).

:cowboy:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Thanks. Makes sense.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
but... i've already installed a brandnew Stock rom before i install GSI image.

i encountered in a bootloop ..
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Fixed @ https://review.lineageos.org/#/c/LineageOS/android_device_sony_nile-common/+/218646 and will be included in next build.

I'll see what I can do about that.

Fixed @ https://review.lineageos.org/#/c/LineageOS/android_device_sony_nile-common/+/218662 and https://review.lineageos.org/#/c/LineageOS/android_device_sony_nile-common/+/218663, will be included in next build as well.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Build with these two fixes is up.

( BTW still no one decided to help me with FPC1035; the only guy that added me on Discord is offline since yesterday ;_; )

( Also new TWRP build is up )
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
FPC1035 works now, fixed @ https://review.lineageos.org/#/c/LineageOS/android_device_sony_nile-common/+/218674/

Will release new build once I wake up :3
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Build with working FPC1035 is up. I also removed issues list from OP, if there's any NEW or confirmed issues let me know.

BTW: addon.d style packages should work with TWRP 3.2.1-1 or newer. I assume that MindTheGapps (I can't really vouch for OpenGapps tho) and addon-su (from here ~ http://download.ods.ninja/Android/addons/addonsu/) should be compatible with it and backed up during updates.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
Hello everybody, I've just finished to read the 5 pages of this thread and I'm really interested in this rom. My problem is that I own just this phone and I've to use it also at work, so I need to be sure it can be good as daily driver...anyone tested last update? Not working list has been closed so I really hope so! Please let me know.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] baj24:
I am having an issue installing some APKs, but oddly not others. When I try to install, the installer runs and then after a few moments, the device soft reboots. I ran a logcat and it looks like I'm getting an "OutOfMemoryError". Any idea? I actually wiped DATA in TWRP and am having the same issue.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Next build will likely have that fixed.

(will be released in like ~3h)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Try lineage-15.1-20180627_165311-UNOFFICIAL-pioneer.zip.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] baj24:
That fixed it. Thanks so much for the quick response and resolution.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
After reading the last pages of this thread, I think you could change your name to "Bug fixer machine". lol
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
Just an idea... Perhaps there could be some way to toggle the frame rate between 120hz and 60hz worked into the code since this device actually does support 120hz

Anyway, thanks for your efforts, I just thought it may be worth mentioning. :good:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I don't think this device supports it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I updated my post.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Casserole:
Video recording does not properly work., no matter which codec do I select. The resulting video is not playable, only the first frame can be seen, and the video length is completely wrong (~10 hours instead of seconds). This happend with both stock and third-party camera apps. And also the stop button in stock camera while recording videos looks too blurry.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>Video recording does not properly work., no matter which codec do I select. The resulting video is not playable, only the first frame can be seen, and the video length is completely wrong (~10 hours instead of seconds).

I'll see what I can do about that.

EDIT: https://review.lineageos.org/#/c/LineageOS/android_kernel_sony_sdm660/+/218877/ this will probably fix it but to test it I need to let my phone idle for like 3 hours. I'll let you know if that fixed it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
hello again, I know I'm a super noob...i wanto to flash this rom, but I'm not able to unlock my bootloader...I've took the unlock code in sony website, fastboot see my devices, but when I'm in command line and digit fastboot -i 0x0fce oem unlock 0x001244AFD76F6657, it always give me the error fastboot: unknown option -- i...please can someone help me ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Try just `fastboot oem unlock 0x001244AFD76F6657`.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
After 4h of idling video recording seems to be still working. I'll be testing this change for bit longer before merging it but for now I uploaded new build so that everyone can test it~!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] husqar:
So great!! Thank you!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
create new topic about if u want to explain of treable, ok? :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] flexloop:
No Sim Card

Hi All-

I installed the latest release: lineage-15.1-20190120-nightly-pioneer-signed.zip on a stock XA2 and it can't see the SIM card.

I tried restarting a few times without any success. I have not installed gapps or anything else. I tried wiping the system with TWRP and sideloading again via TWRP with no changes in the symptom.

One clue may be that when I did the wipe I saw this message in red a few times in TWRP: Error "Failed to mount /firmware (Invalid Argument)"

Also, on first boot I get "Bluetooth keeps stopping" message constantly.

Any thoughts?

Thanks!

-Michael
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Maciek666:
Hi, I have a problem. After updating the phone through the built-in updater, the top and bottom microphones do not work. When you try to make a phone call you can not hear me or the other person. Has anyone had such a problem and if there is any possibility of repairing it. Thank you for your reply.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wangenau:
For me only one of the microphones does not work. Calling someone works, but if i try to speak to someone while i activate the loudspeaker, he cant hear me.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] flexloop:
Ok. The problem appears to be fixed

By the way, this is an h3123.

What I did was restore to factory using flashtool/xperiferm more or less from this:

http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/

Then I wiped and flashed using twrp per the instructions in this thread.

Then I did the magical dd per this post:

https://xdaforums.com/showpost.php?p=77379268&postcount=342
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
you can try to reflash a Stock rom first.

dont forget backing up your data.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] bantaman:
Same problem here. I had to roll it back to Jan 8 build to get it working again.

Strangely, when I was on the Jan 21 build, the SIM would periodically be recognized and then disappear again upon reboot. I did notice a discrepancy in the size of the builds. Jan 8 came in at 617 mb whereas Jan 21 comes in at 599.3 mb. Also noticed that the security patch level on Jan 8 build is Dec 2018 whereas Jan 21 contains the January patch. A little speculative, but just an observation.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] flexloop:
I thought I was out of the woods with the fixes above but I am missing calls and voicemails are taking a long time to show up.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
So uhh ril should be working again in next build(s). Apparently killing sony-modem-switcher ended up triggering same race condition as I used to have in early 16.0 bringup stage so I just picked my fix from 16.0 and it's supposedly fixed.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] kop316:
So while this did fix the issue, I think there still is an issue with phone calls. I attempted to make and recieve a phone call. When I made a phone call the other party was able to get a phone call from, but I never got the "ringing" I expected to make sure that the call was going through. I was also unable to speak or hear anything from the caller.

In addition, when I recieved a call, it looked to connect, but I also was unable to speak or hear anything. The other party said it seemed like I just hung up on them.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
That looks totally different from what I was experiencing. Something is weird on your end.

Try removing /system/app/ims/ims.apk maybe that's it?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] kop316:
Thank you for the quick reply!

I still have the issue.

I wiped my phone clean and reinstalled per the LineageOS wiki and tried calling. I attempted what you suggested, rebooted, and confirmed the ims.apk was gone and tried calling again. Both attempts had the same problem.

Edit: Nevermind. Phone calling seems to work fine now. Thank you for looking at it though. I think reinstalling then restarting another time worked.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Is it normal for vendor security patch level to be on July security patch level in Lineage OS even though I updated Sony firmware to September security patch level?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yes, I'm just too lazy to update blobs, especially on 15.1.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Does it mean it's updated on 16? ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
That fine. I thought there was something wrong with my phone and that is why it does not display September security patch level.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
No. B-but it means that it may be updated on 16 soon.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] ferlanero:
Hello. I'm facing some problems with the last Lineage update with the proximity sensor, which is not working on calls, keeping the screen on. Is someone experiencing this issue? What can I do to avoid it? Thanks mates for all your hard work! I love Lineage on the XA2!

What is your--
LineageOS version: lineage-15.1-20190222-nightly-pioneer-signed
LineageOS Download url: [url]https://download.lineageos.org/pioneer[/url]
Gapps version: MindTheGapps-8.1.0-arm64-20180808_153856

Did you--
wipe: Yes
restore with titanium backup: No
reboot after having the issue: Yes

Are you using--
a task killer: No
a non-stock kernel: No
other modifications: No other modifications

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed: Proximity sensor is not working on calls, keeping the screen on while on a call.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] firestarw:
I have this issue in Lineage 16 and have put my phone info there.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] randomesquephoto:
Anyone using wifi calling? Doesn't seem to be working for me. I have it turned on. And it is supported by my carrier.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
None of IMS features are working. In fact I don't think it they'll ever work.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] randomesquephoto:
Thanks.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
-- important info --

Whoever has issues with OTA or slot B please follow https://xdaforums.com/showpost.php?p=78973496&postcount=2 ^.^

-- important info --
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Nikiz:
I have a problem.. None of the custom ROMs seem to work anymore after reflashing the stock firmware. I can flash the ROM boots fine, but when I unlock the screen, SystemUI crashes and the phone locks up for a while and reboots. Stock ROM works fine.

The phone is the H4113 variant. (1312-4159 CDA, Nordic)

I used LineageOS 15.1 for a while before switching back to the stock firmware. However, XperiFirm didn't have the CDA version I had. I flashed the (1312-8863, Nordic) 50.1.A.13.123 / R14A instead with newflasher.

Everything seems fine, the stock ROM works as it should.

However, none of the custom ROMS seems to work anymore. SystemUI crashes after unlocking the screen, sometimes before the lock screen shows up. The phone is unresponsive for a while and then it reboots. I tried LineageOS 15.1, AOSPExtended 5.7, AOSPExtended 6.2 and Resurrection Remix 7. Each ROM behaved similarly. I was unable to get any logcat logs, because I can't get to settings.

I have tried reflashing the stock firmware several times without any effect. I tried flashing Sony oem binaries with fastboot. I tried reflashing a different stock firmware (1312.1454 Central Europe) 50.1.A.13.123 / R8A. Nothing seems to make any difference. Any ideas?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Join my irc channel, maybe I'll have some ideas.

(see my signature)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Nikiz:
We figured out the problem, and it was quite stupid.. My SD card caused the problems.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
So how did you fix it? Simply didn't insert the SD card? Or formatted it for use with the custom rom?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Will this rom get updates anymore or should I update to Lineage OS 16.0 official?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Not sure about that. I'm not really maintaining 15.1 branches since few months anyway.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Will flashing Lineage OS 16.0 over Lineage OS 15.1 wipe data?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
https://lineageos.org/Changelog-22/
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Thanks.

It seems I may not need to wipe my data to update.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Nikiz:
Simply removed the SD card and the ROM worked fine. Then reformatted it and it works again on the custom ROMs.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
in fact, i thought that 15.1 is better Design than 16.0 ( for UI ).

more directly, i pretty love Oreo UI design instead of Pie.

for me, i cannot understand what Google's design-preference is. Big Round ..?

awsl.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Kele5404:
Hello, do you still have the file of Lineage OS 15?:o
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] automizzer:
The last release of 15.1 was 20190228-> LINK (not available on LOS downloads anymore)

MD5: f5451d4e717f0b92474ceb6a70fda137

SHA-1: f08ed1509f546ec1adb3d3a1b6f872ec156c816d

:)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Chronzy:
[MENTION=5075128]LuK1337[/MENTION] I'm thinking about buying this phone and it's good to see a capable dev so on top of it. Looks like lineage is coming along nicely.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Blinkenn:
find an older version of fastboot, I had to use 23 but I think 26 works. fastboot --version to check version and fastboot -help to see if the -i option is available.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
Hello

thank you very much for helping me unloocking the bootloader...now my problem is the flash of twrp :(, I'm using the instruction of twrp webpage, but I've always an error... I know it is something I don't understand in the instruction, but please have you a idiotproof guide?

the error are:

fastboot boot path/to/twrp.img -> cannot load 'path/to/twrp.img' : no such file or directory (I've renamed the twrp 3.2.1-1.img donloaded in twrp.img)

also the second line:

adb push path/to/twrp.zip -> push requires an argument

some new help ??
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
Make sure you have you untick the option to "hide extensions for known file types" in windows folder or else when you renamed it you renamed it to 'twrp.img.img' lol

Either way it'll work. It just needs to find the file when you run the command
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
hide extensions are ticked...the twrp file are in the platform tool folder... always the same error.

I've renamed just ereasing the number after twrp and not all the file so extension is not double...

other help ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
You see, when you have hide extensions ticked in windows, it hides the .img at the end of the file. So if you renamed it twrp.img, it's really twrp.img.img

Try renaming it just 'twrp' and then 'fastboot boot twrp.img will work.

Windows hides the .img or .jpg from the file name by default.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
checked, extension are not doubled but fastboot command give me always the same error
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] li0nh3art3d:
Just rename the file to 'twrp' (without img) but when you do the command you will include the img 'fastboot boot twrp.img'
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] logg84:
no way...same error
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Don't want to be rude but maybe it's better if you stay on stock.

( also if you still want to try, watch this video : https://youtu.be/ResIhVDsA1k )