yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Questions & Answers] kcustom11:
I looked into this a few weeks ago but I couldn't find anything. I'm using the pie gestures navbar and I thought it would be cool if you could make it half height.

All the navbar apps on the play store hide the stock navbar and add a new customized navbar with buttons. The XDA app Navigation Gestures was pretty cool but it doesn't have the same animations as the Pie navbar.

I just found this Tulsadiver mod. It might be worth a try.

https://xdaforums.com/pixel-2-xl/themes/android-p-various-mods-aroma-installer-t3777787
[Google Pixel 2 Questions & Answers] Solid_Eye:
thank you so much for your reply, I'll definitely check this mod, it seems very good. again thank you.
[Xiaomi Mi Max Questions & Answers] F27:
I am using a normal Google Cardboard headset with a Mi Max 1 and cannot get any VR video to play properly.

In the cardboard app everything is perfect but in a VR video player like AAA VR Cinema Cardboard 3D SBS the image fills the whole screen and you get double vision regardless of what settings I select. It's meant to pull the configuration from the cardboard app but doesn't seem to be following the layout settings.

Can anyone recommend a VR video app or settings that actually work with the Mi Max?

Thanks
[Xiaomi Mi A2 Lite Questions & Answers] 00norman00:
Hello!

Is there a way to install V4A without root?

I don't like the equalizer-app of our Mi A2 Lite, but if I want to install V4A with Magisk, my phone must be rooted.

I don't have a problem with root or Magisk but I don't want to unlock the bootloader because it will wipe the phone...

So...is there a way to install Viper4Android without root/Magisk?
[Xiaomi Mi A2 Lite Questions & Answers] thorin0815:
Unlocked bootloader is needed to install Magisk and no, there is no way to install V4A without root.
[Xiaomi Mi A2 Lite Questions & Answers] 00norman00:
Okay, that's what I thought..

Thank You! ?
[Android Q&A, Help & Troubleshooting] earl_110:
Hello, I have a friend that have an O+ Grande, the problem is that all of the apps on the phone keeps crashing, even the system apps, and displays a message "Unfortunately, APP NAME has stopped." I already tried to flash a stock rom using SP Flash Tool but even though the flash installs completely, the firmware isn't changed (the wallpaper and installed apps are still there). I also noticed that anything you change in the phone whether you uninstall something or change its settings, it'll revert back if you restart the phone. I also tried going to the recovery but no luck since it also shows me an android logo lying with a warning sign. I ran a memory test and the EMMC test shows this "BROM ERROR : S_DA_MT_DEDICATED_PATTERN_ERROR (3098)". Any help on how to fix this? Thanks!!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's not working :

IMS

Instructions :

Download the latest build and gapps

Boot to recovery

Flash the latest build

Boot to recovery again

Flash gapps

Reboot

Downloads :

Builds : https://download.lineageos.org/discovery

Root addon : https://download.lineageos.org/extras

Google Apps : https://wiki.lineageos.org/gapps.html

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

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

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

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

XDA:DevDB Information

[ROM][OFFICIAL][discovery][8.1] LineageOS 15.1, ROM for the Sony XA2 Ultra

Contributors

LuK1337

Source Code: https://github.com/LineageOS

ROM OS Version: Windows 8 Mobile

Version Information

Status: Testing

Created 2018-11-06

Last Updated 2019-05-10
[Sony XA2 Ultra 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 XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Aklenz07:
Do we download arm or arm64 for su and gapps?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
arm64.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] SAddik13:
this device will be upgrad to pie?.

By the way tnx for hard work.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I could release 16.0 builds too but I'm being lazy for time being.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] SAddik13:
plz take your time enjoy your life and then spend sometimes here your valuable time.

We can wait for awesome dev.:highfive:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] HaxUrMom69:
I installed the ROM and had everything work but it won't read my SD card. If I go into recovery I can view my SD card and files but when I am on the phone it can't read it
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Pull a kernel log (adb shell dmesg after adb root).

[ actually I think i know what it's caused by, add me on hangouts/discord whenever it's not 4am in my timezone ]
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
If someone wants to be helpful, let me know if flashing this kernel https://kremowka.xyz/files/b767d5e5d4817b0530914d929f7611d315afd233.img ( fastboot flash boot b767d5e5d4817b0530914d929f7611d315afd233.img ; fastboot reboot ) fixes external sdcard ^.^

Once I get a confirmation that it actually fixes the issue I'll merge changes in repos and next official build will have working ext SD.

[ someone else already confirmed it works thus I merged required change ]
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] HaxUrMom69:
Can it be flashed from internal storage or do I need a working SD card to flash i

Edit: sorry Im retarded I flashed it and now it reads my SD card. Thank you for this fix :svetius:. I was still trying to figure out how to pull a log for you
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I don't need a log anymore. I literally just fixed it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] HaxUrMom69:
I know... I was trying to say you were fast. You got a fix before I could give a log
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ricktor:
Windows 8 mobile? LOL I'll wait for the external storage fix, possibly linage 16 release. Hopefully we can format as internal since the stock Sony ROM can't.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] dani020110:
You can flash the boot image located a few posts before for the external storage fix, I'm sure it will come officially in the next build.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Now that today's build is out I disabled downloading of kernel image from page #1 so that less smart people won't think they need to flash it on newer builds.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Kirrr:
Any news about the dual sim support?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I don't have a dual sim device therefore I can't fix it myself. Feel free to fix it and submit patches onto our gerrit~!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Kirrr:
I'm not a developer so I can not do that. Can this brick my H4213 if I try to flash it?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
No, but dual sim feature won't work properly. You can keep using it as a single sim device tho.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Kirrr:
That's the only thing I need. I have one sim card and an SD card. Never used the dual sim functionality, but the dualsim variant was the only carrier free option for me. Will test it, and report back with the results.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] :
how do we update it? does it need gapps reinstalled with the new zip? sorry I am still new to this
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Use OTA.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] :
What is that? Don't we need to flash the update in twrp?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
guess.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] :
I don't know that's why I asked you. Can you not be a edge lord and just tell me what it is please.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
https://www.google.com/search?q="ota"+"lineageos"
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Kirrr:
Does the camera button work? Can I switch between the two front camera?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
>Does the camera button work?

Yes.

Can I switch between the two front camera?

Maybe if you find a single camera app that can use it lol.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bloodclot:
What is the best way to extract the boot.img with this rom?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] roirraW "edor" ehT:
If I were doing it, I'd boot into TWRP and make a backup of only the boot partition without compression.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bloodclot:
That worked great, thank you.

I was able to change the file extension of the TWRP boot partition backup to .img then patched that with magisk
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] roirraW "edor" ehT:
[MENTION=5075128]LuK1337[/MENTION] thank you so much for your work, and the Lineage OTA system works wonderfully. It's so nice for it to take advantage of the ability to apply updates in the background and without a custom recovery flashed. Of course, too bad the root module can't be selected to be reapplied with the updates. ?

Donations to follow in a couple of weeks (I have a reminder set).
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] silvermagnet:
Hey there, great rom so far. No problems (ongoing) to report. I had a little bit of a rough ride installing it and wanted to share what I did to get through. I'm used to samsungs, and thought this process was a little weird. Sorry if I'm going into too much detail here.

* First I got the bootloader unlock code

* Then enabled dev options and usb debugging

* installed falshboot and adb on linux with apt get

* allowed my pc to access the android device (android popup question on usb connect)

* rebooted phone into fastboot mode

* applied bootloader unlock code

* Now here I think I may have made a mistake, the instructions said to reboot into the OS, let it wipe, enable usb debugging again, and then boot into fastboot again. I did not reboot back into the stock OS.

* ran the fastboot twrp flash command

* rebooted into recovery, where a screen with lots of red mount failures flashed by and then the phone rebooted

* unlock screen and sony screen bootloop. I thought I softbricked it for sure.

* got back into fastboot and flashed the twrp recovery again and rebooted into recovery again.

* this time recovery prompted me asking if I wanted to make changes to /system. I hit yes.

* adb pushed the lineageos rom to /sdcard

* ran the wipes (wipe data, advanced wipe system partition)

* adb pushed the lineageos rom to /sdcard again because the wipe removed it

* installed the zip and rebooted. recovery warned that no system was present

* on boot, none of the radios worked

* rebooted into recovery again, seems to have been replaced by a lineage branded recovery now.

* installed lineageos zip again

* rebooted, and everything is fine now.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] :
You should format it then wipe system then install the OS then power off the phone then reboot back into recovery then flash gapps then reboot system
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jnappert:
Hello. Is it possible to install stock Sony Xperia Camera App?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
If you port it xD
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bourne220:
Phone not making calls

Despite not installing Google Phone and Contacts, the phone will not make calls. At all. It dials but there's no sound or anything.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Shawnki91:
No go for H3223 unfortunately. UNlocked bootloader and dual TWRP setup.

"Error installing zip file '/sdcard/ROM EXTERNAL/lineage-15.1-20181201-nightly-discovery-signed.zip"

Not sure if it makes a difference that the ROM was on internal SD rather than external.....
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
https://xdaforums.com/xperia-xa2/development/rom-lineageos-15-1-t3806439/post77379268#post77379268

Yeah, that error message is really helpful I gotta say.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Are G. Bee:
Model: H3223

Carrier: Freedom Mobile

Country: Canada

I was able to get mine installed but like the previous comments I was unable to place a call as the dialer app would not come up.

Another issue I found was during the lock screen setup. Whenever I set a pin it would accept the pin the first time, then fail when trying to confirm it. After it fails it requests you to put in the new password by reconfirming the one you had entered but it never matches, and the only recourse is to reflash it again. I was able to enter the phone after setup by skipping the lock screen but even after the setup it still does the same thing when I try to set the PIN.

So close to Lineage...and some normalcy again!

Keep up the good work, and please let me know if there is anything further I can do to help out!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Cityelf:
Hi there I am with Freedom Mobile, have H3223 model.

Its been a pretty beautiful experience so far. I haven't noticed any bugs at all till I tried to use my front facing camera. The stock camera app uses the 8MP wide lens by default and there is no option to switch to the other MUCH better 16MP selfie camera.

I downloaded Google Camera. When I switch to front facing camera it crashes. Went to settings and tried to set the front facing camera quality to see which camera its using. The highest quality was 16MP. So the Google Camera app seems to be trying to use the better one but for some reason it crashes.

Does anybody have any suggestions on what I should try doing? I need this camera for social.

Thanks in advance.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Post logcat and dmesg preferably without any kind of magisk etc.

EDIT @ dec 30: I guess front camera isn't that important for you after all.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] marxx:
As an old Cyanogenmod fan I have long been seeking for a new LineageOS device that fits all my needs. Thank you very much for providing us with this great ROM for the XA2 Ultra! The perfect new device for me :)

I bought a H4213 dual sim and installed the ROM right away. The installation worked fine. I only had to do it twice, because at the first installation the radios did not come up (see post above, thanx!). After the second installation (as described above) everything worked.

I only have one sim and that works perfectly. The dual sim function is detected by the phone, but you wrote above, that it probably would not work. I can't test it at the moment, because I only have one sim. Perhaps some other H4213 owners can give feedback on that.

There is only one functionality that would be a "nice to have" for me. That would the possibility to install TWRP directly on the phone. I can live without that, but, as I said, it would be just nice to have.

Great work! After a long Cyanogenmod time, back on track again :))

marxx
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Front camera doesn't work in any 3rd party app. Facebook, MeetMe, etc...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Look at two posts above yours.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I guess I'm not going to ever get logs. Thanks a lot; you're all awesome〜
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
1. Use hastebin/pastebin/..

2. I need more log than last 50 lines

3. I need dmesg also
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] marxx:
After a view days with my new toy I must say, that the ROM runs absolutely great on the XA2 Ultra. Really having fun :)

There are three things I would like to point out though ...

1. Automatic updates don't run well on the H4213

It is the same as on the first installation. After the automatic update the radios are all gone (no bluetooth, no wifi, ...). Also the superuser addon is gone. I can fix all that by installing the image and the su addon again with TWRP and everything is fine. Perhaps a problem related to the H4213? I can live with that, only just good to know ...

2. To get the LOS email client working as it should (with AFWall+, ipv6 disabled), was quite a pain in the neck. Especially for IMAP. I had to

- disable captive_portal_detection

- On "App notifications" for the email client set "Do not disturb deactivate"

- Set synchronize interval for IMAP to "automatic (push)" (not sure if I really need that, but it is nice to have ...)

- Set Wifi on "Wifi without costs"

- Add an LED notification for the email client manually

- Disable the battery optimization for the email client

But all that did the trick. Mail is running smooth now ...

3. The magnetometer is not working on my device :(

This is sad, because I love the compass function of Stellarium. I'm not sure, if it is a hardware problem on my XA2 Ultra, or if it is a LOS problem. I tested the magnetometer with the app "Sensor Kinetics" and this is the result:

https://xdaforums.com/attachment.php?attachmentid=4685762&stc=1&d=1547397180

The magnetometer seems to be detected, but just gives no output. It was tested on yesterdays nightly, root, AFWall+ running.

Could I get some feedback, if the magnetometer is working on other XA2 Ultra's here?

Thanx, and as always, thanx for the great work :)

marxx
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
[MENTION=5075128]LuK1337[/MENTION] Here is a better logcat. When I try dmesg it says read only filesystem(trying through terminal) and when I try a dmesg app it says "defaulting back to logcat"

https://drive.google.com/file/d/1X90JynlNCv94P-2pRtwd14K02CyRecU-/view?usp=drivesdk
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Can you message me on Hangouts/discord/steam/irc?

[ you can find these in my signature ]
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
macooper85@gmail.com
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
k it's fixed now.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
Fantastic

Great work man. Running h3223 t-mobile and device is working flawlessly. I'm really digging this test build. I think you did such a great job is be willing to help u further this along. Let me know if u need stuff tested
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] marxx:
I tested the magnetometer on an other H4213 with LOS. Works great, so it seems to be a hardware problem on my device. The only difference between the two phone is the date of the firmware folder ....

marxx
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I missed your previous post but if you want to fix #1 yourself, follow https://github.com/LineageOS/android_device_sony_pioneer/issues/1 and it should be working.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] _Kodiak_:
I'm having an issue with my SIM card. Phone model is H3223 and using the 1-18-19 nightly, mobile service works fine UNLESS I install Gapps. If I install Gapps, my phone no longer detects the SIM card. :confused:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] marxx:
Thanx for your quick response. I will try that out and report :)

marxx
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] marxx:
Yep, that worked (kind of). I had to dd twice, but a least su survived the update process. So #1 is solved for me. #3 seems to be a hardware issue of my device ....

Greetinx

marxx
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
All I had to do was wipe delvik/art
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Scruffdog1978:
H3223 here sim card not working after install.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
If there's no baseband then follow https://github.com/LineageOS/android_device_sony_pioneer/issues/1
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Scruffdog1978:
By120_daily is the baseband listed
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Well then it should be fine.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Scruffdog1978:
I even tried the first update to 1/20/19 build and that didn't help either. Is there anything else I can check?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Scruffdog1978:
I eventually got this all working. Question tho in twrp are we supposed to have a slot a and b? If so which should we stick with?