yashsingh1/xdaforums huggingface dataset:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Great! Thanks guys! I used to build roms all the time, back before Oreo, but I took a break for a while and I'm trying to get back into the swing of things. I'll try to chase down that sdcard issue, I didn't have one in the phone to test it.

My usual MO is to build Lineage (already done by LuK1337), RR, AOKP, and SlimRoms (I don't think Slim has a working Pie at the moment), then move on to custom kernel work. We'll see what we can get done here. I also have two of these phones, so I'm hoping to finish building these roms, then update the phone to 50.2 firmware and update the device trees, kernel, and blobs to match and see if we can update the roms for the latest firmware. I can only image that [MENTION=5075128]LuK1337[/MENTION] already tried this, so there must be some hangup in doing so, but we'll see what we can do. No promises, since I'm not the most skilled dev, but that's the overall plan. :cowboy:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
I just tested my sdcard, and it came right up. I could access the files and I started watching a video from there. What specifically doesn't work for you when you use an sdcard so I can troubleshoot that?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
Oh? Well then what am I doing wrong cause for some reason the phone will freeze on setup unless I remove it? I dirty flash and follow the steps mentioned above? Perhaps is their a certain format aosp or certain Roms prefer like exfat or fat32... Etc
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Thanks for the info. So a few thoughts and questions, so we can get to the bottom of the issue:

Thought - I highly discourage dirty flashing. You never know what is left over from the last ROM. It makes trouble shooting very difficult.

Question - does it work without flashing gapps or magisk, just when you flash only the ROM? (This works for me here, just a clean install with only the ROM. I don't use gapps anymore, so that may matter.)

Question - if you do flash gapps or not, does it work if you boot the phone without it for the first boot, then power down and put it in for future use? E.g., does it work on subsequent boots, after setup is complete?

Question - what firmware are you running? And what phone variant?

Thanks, these things will help. Also, a huge help is pulling logs with logcat, so I can see the errors about the sdcard.

Question for the group: is anyone else successful in using the sdcard?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Just as a side note, I tried using the lineage addonsu zip(since this is lineage based). It definitely adds root to the developer options menu, but does nothing when an app tries to gain root( no dialog, toast etc..) just in case anyone wanted to know. So I went with magisk ?

---------- Post added at 06:20 PM ---------- Previous post was at 06:19 PM ----------

No issues with sdcard here! H3223

---------- Post added at 06:26 PM ---------- Previous post was at 06:20 PM ----------

Question: is there a hide navbar setting? If so I missed it so I'm using an app called custom navigation bar, which I've had to use in the past, tho for some reason on this rom it's sometimes difficult to get to appear when you swipe up from the bottom, any ideas?

---------- Post added at 06:37 PM ---------- Previous post was at 06:26 PM ----------

Would definitely love to see some slim love ? I developed for the z ultra back in the day. I never have the spare time anymore, full time parent n all
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Hear you there, I've got three and one in the oven! Kids are great, but they'll keep you busy!

As for the Nav bar, go to settings, RR tools, navigation, navigation, enable nav bar. :good:

There are several options as well, fling, standard, edited, etc. You'd have to play with them to get it all sorted out how you like it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Congrats man! I meant to autohide the navbar, I don't see an option for it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
It doesn't I'm not able to access it. Doesn't matter if I flash gapps or not the phone will not boot properly with the SD card in and it works fine on stock. It was the same issue on lineage os. The setup will be stuck in a loop say its searching for networks and eventually crash the system. When I inserted it just now it kept saying "phone is starting" and just crashed. Should I try formatting the SD card? I have xa2 ultra h3223 just in case your wondering...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Thanks! Sorry I didn't understand your request. Yes, the "expanded desktop" option will auto hide the status bar and/or the navbar per your preferences. Settings, display, advanced, expanded desktop. A swipe up brings the bar back. :good:

I think formatting the card would be wise. If you used it as "built in" storage before, instead of for transferring files (the initial question it asks when you first put one in) you can run into trouble with it on other ROMs or phones. I have the same phone, and it is working for me and for appleknight, so it must be something with your phone or card. Let me know if formatting helps. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Ah that works, still for some reason though I have to swipe a few times to get it to appear, almost seems like the sensitivity is off or something it's weird

---------- Post added at 12:26 AM ---------- Previous post was at 12:08 AM ----------

So do you think the RR team will make this an official build? ?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Not likely.... They'd need a device maintainer. You know, some skilled dev to keep things working and running smooth. As far as I know, LuK is too busy. :silly:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
So far I really like this as my daily driver
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Great! I'm working on AOKP Pie currently. Hopefully I can get that up and running soon. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
Just saw this will give it another go now and will keep you posted ? I'm sure it's safe to say all the xa2 ultra users appreciate your work because this device needed development bad so with that said thank you for everything and will look forward to the other Roms mentioned?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
so I cleaned flashed and formated the sd card to "Fat" format and it works with just the rom, gapps and magisk it just needed to be reformatted.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] BuTzUFo:
This Unofficial Resurrection Remix Pie ROM was built for H3223 (discovery), but may work on some of the other variants, please try at your own risk. However, if you do try it on another variant, please be sure to let me know in the comments how it worked.

tried it on H3213 it shows zip file corrupt tried both ways 2 flash same thing
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
What about dual front Cameras? I know that wasn't working initially on the lineage os
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
https://del.dog/afevorugig

Crash log url I fetched. Is anyone else having their camera crash when you press the camera button on the Xperia?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Good to know, thanks for taking the time to give feedback. :highfive:

Both front cameras work, but only with 3rd party apps like open camera. :good:

I'll check this out.... I never used the camera button to be honest. I usually forget it is there! :silly:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Camera button works fine for me :)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
I tried the camera button numerous times since reading your post, and it works great for me every time. I'm not sure why yours fails. I was wondering, originally, you said that you "dirty flashed" the rom, and I suggested you wipe clean and flash it. Have you done that? :confused:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
I did I launch the camera app and agreed with the permissions now on lineage their was a setting under the "buttons" section in setting and you had to turn the feature on is their that same thing in this Ron I'm just missing it?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Great question. I'm not sure, but I don't think so. For me, if using the camera, you can click the camera button to take the picture. I think there is one option to double tap the power button to launch the camera. I do think there are some 3rd party apps that let you map the buttons to any action, that might work. I'm testing AOKP right now, or I'd take a look.... :cowboy:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
straight to voicemail

had complaints from friends trying to call me and it will go straight to voicemail. I confirmed this by having my brother call me and sure enough, I got no phone call. This only happens on occasion is anyone else noticing this issue? I did do a clean flash and followed the step for installation.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
No issues receiving calls so far

---------- Post added at 03:33 AM ---------- Previous post was at 03:20 AM ----------

I know ya busy working on aokp, but any chance when you're done with that you'll have time to merge the latest lineage build with RR? Been seeing a lot of activity on the changelog
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Phone calls were working great before I started my aokp work. What firmware version do you have? Perhaps that may be related.

I'll take a look when I'm done with aokp. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
To God be the glory! AOKP finally booted all the way! I had to fight with some errors during the build that really threw me for a loop, but here are some teaser screenshots! New thread for AOKP coming soon! :cool:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
http://www.mediafire.com/file/cobauyhbmzsgjb7/RR-P-v7.0.2-20190816-discovery-AKLU-ENG.zip/file

I have this one I also followed luk's steps to flash both boot slots a and b with android oreo firmware then flash lineage or in this case Ressurection remix?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
That should work, although I don't recommend the "ENG" build, I have a non-eng build in that same folder that I recommend for regular use.

Also for the group: AOKP thread is now open! :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Just thought about this so I'll throw it out there incase it's useful? Ok so I followed Luk's instructions in flashing lineage, using slot a and b blah blah. But I only had to flash this to slot a. Also, a few weeks ago when they released that broken update that cause boot loops, I reflashed an older nightly using only slot a with no adverse effects.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
Any reason I don't have a finger print sensor? On the recommended firmware version. H3223. I also don't have sound either
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Not sure. My fingerprint sensor is working great, as is the sound.... Clean flash, right?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
Got it figured out. Something got boogered up during gapps flash. Cheers mate
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Glad to hear that you got it figured out. How do you like the ROM?

I'm making a custom kernel right now. So far I added a couple of govs, like brazilianwax, darkness, asswax, preservative, intelliactivex, etc. I'm going in to take my security+ test Friday, so I will probably not get much done until next week. Hoping to add kcal color control, more io schedulers, and add some sound mods, but we will see what happens.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
OH iv always preferred resurrection remix over lineage os. So this Rom coming back into play makes my whole week
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Great! Glad to hear it. Its been so quiet in this forum I just wasn't sure anyone was liking it.

So, since the three of you ( [MENTION=10048794]Yodasgodfather[/MENTION] [MENTION=5186369]appleknight[/MENTION] [MENTION=8370720]lonewolfbtown[/MENTION] ) are the only guys in the forum that provide any feedback, I guess I'll ask your opinion....

What would make you want to use a custom kernel? What feature would you like to see? (Keep in mind I'm not a magician...) :D
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
I would say dt2w but you're not a magician ?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
Don't know too must about custom kernel or how they benefit the system totally, but having mainline Linux kernel would be interesting, but would that be difficult to manage?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
I know a few card tricks..... :good:

Unfortunately, that is usually pure magick. In one of my videos I upgraded a kernel from one revision to another, and it involved commits to thousands of files. Its possible, but not likely. Good suggestion though. :laugh:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
Custom kernels are OK but when you break features that come with the phone initially that kinda erks me. Initially why I asked if all the cameras work on this Rom. I don't like having some I know works and not being able to use it
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
thanks anyway ,but I had to switch back to stock since i was having issues with phone calls disconnecting and i did do a clean flash so by chance it might be gapps what package of gapps did anyone flash if any? Ive tried to live without gapps but my only pet peeve was ebay crashing?

---------- Post added at 11:36 PM ---------- Previous post was at 11:33 PM ----------

another thing your kernels say "Aokp" which means they only work if users are on that specific rom?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Wip: https://gitlab.com/alaskalinuxuser/...mmit/fbcf699b7e824cac364244b8408c23ac0b4ca31b

Yes, the aokp kernel that I am testing with is specific to AOKP. Technically aokp and RR are based on lineage, so it *may* work on those, but I plan to build ones specifically for each ROM, or prove that it works on each ROM before releasing it that way. I like to test things out before releasing to the public. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Just a side note, I noticed that someone else is downloading my test kernels, and I have absolutely no problem with that. But do be aware, some of these test kernels may not work. I'm in the process of testing them. So flash these kernels at your own risk. When I have a good working kernel, I'll put it out for the whole group.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
So question, what's the difference between the eng and userdebug build? Because I've been running on the eng build this whole time without any issues.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Greetings from Alaska!

Yesterday I completed a repo sync with RR's source code and compiled an update for our phones. You can find it in the OP link, with the new date of 20190914.

Unfortunately, RR had not folded in the September security patches yet, so there is no new updated security. They authored the commits for the updates 11 days ago, but only this morning did they commit them.

I'm on limited internet, so I'll have to catch it next month. For now, enjoy the new build. My plan is to do monthly updates and test them before release so that you already know that they will work for you, and so that they will (hopefully next time) have updates to the security.

ALWAYS back up your stuff. I am not responsible for what may happen....

HOWEVER, I dirty flashed this and had zero issues. Remember to reflash magisk after the dirty flash if you are using it. I do not use Gapps, so I didn't test that. All of my apps, data, and settings were still there. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
OK so tried dirty flashing using built in recovery instead of twrp.... Biiiig mistake. So had to use twrp, wipe it a few times, everything runs great so far, except that the screen takes forever to turn on which is almost aggravating enough to make me wanna throw my phone
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
I missed this when when I made my last post. An Eng build is a special build for testing. It is packed with more debugging options as well as enabled adb by default and can be used without adb keys. It also causes a red flash around the screen to tell developers about problems. You should not use an eng build due to less security.

I apologize, yes, by dirty flash I meant through TWRP. But also, you should not dirty flash from eng to a regular build.... I should have been more specific.

That said, after a clean wipe, all should be well. I am not having issues with the screen being slow to turn on, could you grab a logcat, perhaps I can see why that is in your situation?

For all users, you should not use an eng build unless you know why you need it. Use the regular builds not marked with eng. The eng builds are for me to test with.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Perhaps tomorrow if I'm not busy after work, it's bed time, so I flashed lineage to it for the night because it's my DD.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] kamyk70:
I have some issues with this built:

1. Autorotation does not work and there is no way to fix it.

2. Radio FM is switched off by default and impossible to make it on

3. After short time, activate device admin app page stopped working. Clean reinstal fix the problem but it is not a good solution.

4. Google Fit app is unable to count your steps.

Appreciate for have look into that
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Kamyk, thanks for the feedback.

#1. Auto rotation - I just tested this on my phone and it works perfectly. Did you enable it?

#2. FM radio, I will check on this, I don't have headphones with me to test it out, but I'll give it a try and post again.

#3. Device admin apps - a couple of thoughts:

A. Device admin apps is being depreciated, starting in android 9, and it will change and or go away. https://developer.android.com/guide/topics/admin/device-admin

B. It also depends on which device admin app you are using. Which one are you using?

4. Google fit - as I mentioned, I don't use google apps or services, so I can't test this. However, if you can't rotate your screen, nor use a steps counter, perhaps your sensors are not working. I recommend you download "satstat" and look under sensors tab to see if your sensors are working.

You could pull a logcat too, and then I can look to see if there is an error. I can't troubleshoot it unless I can see it in action, and a logcat would help with that. :good:

Also, which phone model do you have, firmware version, and clean install, right? Magisk, su, or any other zips/mods installed? :cowboy:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Sure enough, the fmradio doesn't work! Good catch, I'll look into it. I've never used it before (as you can probably tell), but I've pulled a logcat so I can work on it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Yodasgodfather:
I love oreo recents but if I switch I notice the ui gives me issues it will just freeze and make me stuck in apps I then have to reset my phone each time to temporarily fix it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Thanks for the feedback! With a quick test, it seems to be working well here, but I'll run it for a while to see if it hangs up for me as well. :good:

Edit: Question: What options did you set for Oreo recents? So I can set the same ones....
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
MediaFire is down apparently?

Edit: NVM she's up again, about to try your latest upload of rr, the one that failed on me was from the 14th, I'm ready to see someone start developing 10 for us lol
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Ok so RR is back on, running fantastic. I have a question that's not specific to RR tho, since lineage16 I've noticed that if I autohide the navbar it's kind of a pain to get it to reappear sometimes. And sometime when it hides (for a few seconds after) the buttons hide normally but if I touch the screen in the bottom area it's like the buttons are still there. Any thoughts?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
I'm glad that it is running fantastic for you! I'm not sure about the auto hide, that is a process inside of the RR/LineageOS source code itself. I'll take a look, but I don't think I can make any changes to that. :eek:

Still working on the FM radio issue. I've got it cornered, just need to find a way to catch it now. :cowboy:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Just a quick update, I've decided to press on with my original plan:

I spoke with Luk1337 to get a some advice before proceeding, and I have flashed my second phone back to stock, then upgraded to the 50.2 firmware. So, no matter what, there's no going back for that phone (that I know of). My goal is to build a ROM using the latest firmware, so that everyone can update to that latest firmware (which helps your phone be more secure) and for those who have already upgraded, but now have no custom ROMs. So, I'm currently planning to use my free time on that, currently. However, I still plan to do a monthly build of RR for my other phone (which is my daily driver), test it, and release it for you guys in the mean time. At least, that's the plan. :fingers-crossed:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
I have noticed this rom has fits with the smart cover, sometimes it takes forever for the screen to come on, not in lineage though, insight?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Good question. I don't have a smart cover, so I'm not sure. Can you pull a logcat after three times of opening the smart cover (one or more of which is slow) and send it to me in a pm? (Pm to protect your privacy.)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Yeah I'll get ya one soon :)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Well, good news! Praise God! I was able to build Android 9.0 based off the Xperia opensource project with the 50.2 firmware. I flashed it to my 50.2 phone and it works - mostly. It also includes the 4.9 kernel as well (50.1 is still using 4.4 kernel), so that's great! Attached are a few teaser shots.

Everything worked: camera, bluetooth, gps, wifi, cellular, display, sound, fingerprint, etc. the only problem is it seems a bit buggy....

A few buggy examples are: When using the camera, I switched to selfie mode, then back to the back camera, and it shows up green tinted, you have to reboot to fix it. MTP transfers or PTP file transfers seemed to glitch every now and then, causing problems when moving files back and forth between the computer. And a few other items like that.

So it is not a daily driver yet for sure, but it is good progress! :highfive: