yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zyhk:
In #108, I attached an updated USB_SampleRate_Changer supporting (USB) hardware offloading (44.1kHz to 192kHz 16,24,32bit modes) like XZ2. If you like, try this script with "--offload" option. In details, see README.md in the attached zip. This script never change system files, so you can revert to the state before executing this script whenever rebooting your device or using "--reset" option.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
Ok just tried it. With the --offload, my usb dac disappears. My xz2 doesnt detect it. When trying to play something with Apple Music, it plays via speakers. Using Poweramp, I can confirm it doesn't see the usb dac at all.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Ofc you can make it "Yes"

Look at here https://xdaforums.com/t/bootloader-unlock-allowed-no-to-yes-is-now-finally-possible.4044091/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zyhk:
I think this ROM wouldn't obey the audio policy (especially audio routing) which the script specified. I attach another "usb_conf_offload_template.xml" to try to bypass USB offloading (i.e. using an old USB audio driver (up to 96kHz limited)). Please replace the template and try the script again with "--offload" option.

If the bypass succeed, a2dp offloading can be also bypassed like this way.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] joska59:
Hello

Yesterday I had an irritating but ultimately positive experience installing LOS 18.1 on my 2nd Sony XZ2. I did the installation from the same laptop and noticed right from the start that I could NOT find the device using adb devices, even though all the basic requirements were the same as on the first XZ2, which I installed LOS on about 1 month ago.

After a reboot in bootloader mode, I was able to detect the phone via fastboot devices and wanted to unlock it.

Repeatedly I had tried with

D:\.......\platform-tools>fastboot oem unlock 0xXXXXXXXXXXX

FAILED (remote: 'Command did not succeed')

fastboot: error: Command failed

no success, but eventually came

D:\................\platform-tools>fastboot oem unlock 0xXXXXXXXXXXXXXXX

FAILED (remote: 'Device already unlocked')

fastboot: error: Command failed

So, device was unlocked and I don't know how and why.

So further, afterwards I could install the recovery and from there the LOS incl. GAPPS without any problems.

Translated with www.DeepL.com/Translator (free version)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
Same outcome. Usb dac not detected.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zyhk:
Sorry. I have no idea now. My script works well on my Xiaomi Mi Pad4 with all options (non-offload, offload, and even bypass-offload) and GSI Roms with non-offload option. I think this XZ2 ROM probably wouldn't allow another sample rate except 48kHz.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
Thanks for trying. I hope itll get fixed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] saraththaliyil:
Hii. I recently installed lineage OS. Everything works fine. But i am not satisfied with the camera app. Which is the best camera app for lineage os?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
Open Camera all the way :) IMHO

Open Camera - Apps on Google Play

Open Source Camera app.

play.google.com
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
Oh for ****s sake.

I completely forgot about this ****.

Can anyone explain to me why LOS does not support exfat but only fat32?

I know that there are licence issues with exFat, but there are ways around that right?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
i believe LOS does support exfat but it is device/kernel specific. The maintainer has to add support for it if not mistaken.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zyhk:
This issue (related to the SElinux enforcing mode) has been fixed. Now you can change the sample rate of your USB DAC on the fly by using my root script #108. (I've received a confirmation of this from @hotcakes_shinku.)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
Uhmmm, you might be right.

https://review.lineageos.org/c/LineageOS/android_kernel_lge_msm8996/+/309734/

Seems like Samsung SdFat is used for ExFat.

So how do we go about activating this in this ROM?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] saraththaliyil:
Can we record slow motion video like stock camera?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
WPA3 wifi is now broken.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mailx:
As I know this is only possible with stock camera.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] makax:
Hi, im on lineage 18, AND muy bank apps doesnt work, any idea of how can i fix that( i have magisk) and i cant use the fingerprint
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] kjaneczek:
I know I shouldn't ask for it but will you work on Android 12 for the Xperia XZ2?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] saraththaliyil:
Battery life improved a lot. There were heat issues and huge battery drain before.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] joska59:
Hi

I've read a lot of hours about installing magisk on the xz2, but know I'm more confused as before. Does somebody know how to do this and give me a hint, how to do it right. Some sources to read, or a got how-to/manual? I did that sometimes before on a Sony Z1cm Sony Z5c, on a Samusung Tab, but alltimes using twrp. Now, twrp is not on the xz2, I installed LOS 18.1 with installation-guide on LOS-webside, i.e. with the LOS-recovery. Did not find any exolanation, how to change to twrp.

Thank you for any hint. Joska
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
Install LineageOS on akari | LineageOS Wiki

wiki.lineageos.org

Step 6 under Installing LineageOS from recovery
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] joska59:
Magisk-Installation:

(P.S.1: If your device has boot ramdisk, you can also install Magisk with a custom recovery, but it is not recommended)

Tha'ts, why I am in doubt, what to do :)

Did somebody flash a magisk.zip with lineageos.recovery. On different sides, i have read, a lot of bootloops are told of.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nickocou:
Youtube Vanced drains a considerable amount of battery when Background restriction is not activated. With the restriction enabled the battery lasts much longer that it used to do with the stock ROM.

I'm also having some problems with Gboard and some other Google apps that seem to have issues related to Google Play Services. Google apps ask me to log in every time I open any of them for the first time, and when I try to do it it says that my account already exists on my device, because of this syncing my previous backed up data has resulted difficult (I installed NikGApps from 08/26).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
The reason why I mentioned this is that I used this method myself and Ive had no problems so far.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] joska59:
So, I did the same, and I can say, it works :)

Thank you.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] patomovil:
@Haldi4803 How did you make that chart?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
phew... you never heard of battery historian?

Simply create a Bugreport.zip file and upload it here: https://bathist.ef.lc/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] fortunia:
thanks for the great work. its a very good using experience.

but i still have a problem to report.

i'm using the app LINE for instant communications.

the microphone doesn't work in this app,

and it doesn't work on the vedio recording in the default cemera app, either.

i searched for the solusion on the internet, and found the mic issue on the vedio recording could be solved by switch to the open camera and turn the audio source in settings to the default audio source.

follow this way, i turned off the function of full hd voice in the phone call of LINE, and the mic finally worked on LINE.

i want to know that could the mic issue like this be solved by edit the files in the system\vender\etc\mixer_paths_XXX.xml to prevent it appears on any other app? thanks a lot.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
Hi,

I updated the ROM using the updater in the system settings. I then lost my Magisk root.

I was wondering if in order to get root again, I would need to again extract the boot image from the zip, patch it and install it in Magisk, or if I can use the previous boot image (from two weeks ago).

Also, I'm pretty sure it's Android 11 related but I'll ask here anyway - how do I disable that feature that auto plays what I last played when I re-connect my Bluetooth headphones?

Thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] trinhloivn:
flash magisk again i think it work
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xueyaotianxia:
Thank you for the ROM, it works great. Just the speakers aren't loud enough, also when recording. Is there any way to get louder speakers?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Maybe you should try Dolby Atmos?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
Is there a better camera than OpenCamera?

Quality isn't as good as stock camera on stock ROM :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] farukr1:
I tweaked OpenCamera and I like the images better now; try setting it to Camera2API and disabling edge mode & noise reduction algorithm in processing settings of OpenCamera. Colors are more natural and photos aren't oversharpened. Problem is low light images will have that notorious IMX400 noise all over, front camera even more so...

(edit: u can also try HedgeCam 2 (OpenCamera fork), it is more customizable and some modes work better than on OpenCamera)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Haldi4803:
On a cloudy Day.

XZ2 LOS 18.1 | Slowpoke Pics

Slowpoke Pics image comparison service

slow.pics

Will add one more at night

Edit: here one at the early Morning.

xz2 LOS OpenCam Morning | Slowpoke Pics

Slowpoke Pics image comparison service

slow.pics

Edi2: one more on STOCK ROM.

XZ2 Stock Rom | Slowpoke Pics

Slowpoke Pics image comparison service

slow.pics
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Hello everyone,so i have done a quick read-through of the posts to the thread and it has left me somewhat confused with all the different ways to install LineageOS 18 on my Xperia XZ2.

Can someone please give me a detailed step by step of what to do? It is my first time attempting all this so some guidance is needed. At this stage,my XZ2 model H8216 is rooted on the stock sony firmware build 52.1.A.3.49 using Magisk. I also have TWRP recovery and would like to keep the recovery and successfully install LineageOS 18 with root intact also.

How do i do this correctly please?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
See https://wiki.lineageos.org/devices/akari/install#installing-lineageos-from-recovery

At step 6 you can install optionally install opengapps and/or Magisk-v23.apk

Make a backup of your data because you have to wipe data.

Keep in mind that the instructions are made for lineage recovery. If you want to stick with TWRP you need to find the options through the UI yourself. Shouldn't be that difficult though.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Thanks,i did look at this but they confused me at step 5. With their sideloading,not sure if i understand it correctly. They say sideload from device by selecting apply update. Is this from twrp or is it on my powered up phone installing like any other app? And then,do i have to install it again with adb too after?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
You can either put the lineage zip onto your sd card and install from there or keep the zip on your pc and run adb sideload filename.zip

IIRC in twrp the latter one can be found in Advanced
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk90 i went back and checked now. It is not step 5 that confused me,sorry. It was the pre-intall instructions that confused me
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Ok, so just go into TWRP (after you did your backup) and install that copy partitions zip (either from sd card or using adb sideload) - same process as you would do with any other zip installation through recovery. Don't forget to reboot into recovery afterwards so you don't mix up your A/B slots.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Alright,thank you. Now i understand better,hopefully i get it done right now. 😂
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hotcakes_shinku:
I noticed that with Magisk Installed, Magisk/ota update tends to break when you don't update every Lineage build. Meaning you cannot update v1 to v3 and skip v2. I was dilligent in updating to every new build hence so far why I had no issues with Magisk. Until recently that is since I got a new phone. I skipped one or two builds and my Magisk and/or OTA kept breaking. However after confirming that, I kept on updating with every new build and so far nothing has broken.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk just to let you know,my device flashed lineage and it booted. But the Gapps i flashed and Magisk werent installed. I also no longer have TWRP recovery. Only the LineageOS Recovery
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
That's not the case for me. I already skipped builds. Not only 1 but also 2 or 3 builds. No issues.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Did you rebooted to recovery after installing lineage? And why TWRP is replaced by lineage recovery: No clue. Maybe you've flashed lineage recovery without knowing it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I did reboot to recovery yes. Its strange that it happened but i do now have LineageOS 18.1 installed and i also have managed to get the Gapps installed as well as root with Magisk. Now its just TWRP that is still bothering me. Can i flash TWRP again without risking that root is lost again or worse still. That LineageOS disappears?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
I don't know, sorry. Never did such. Maybe someone else has more knowledge on this.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I hope so. Thank you though for your help 👍
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Can someone please help me with the following issues i am experiencing since installing LineageOS.

1: I am unable to download and install Netflix through Google Playstore.

2: Nearby Share does not work

3: How do i download and install a custom font? Ifont after downloading has no permissions and i cant enable them either for some reason.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
1: Netflix blocks it afaik. There's a magisk module iirc.

2: nearby share is part of gapps - not LineageOS

3: Never did that. Dunno, sorry.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk90 thank you. I have Gapps installed. I took the stock Nikgapps but the Nearby Share just wont work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
There's magisk module name Font Manager. Use it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I tried it,doesnt work
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
It's work on my Akari LineageOS 18.1
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Can anyone explain why this keeps happening? I got an update this morning for font manager,i updated and now it keeps doing this. I have also tried to remove the module in Magisk and it wont uninstall.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
I don't have any experience with font manager, but did you tried just doing what is written there? Download the latest update and install it manually.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I did and that is the result
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
You could check out both of these issue reports. Guess they have problems with wget/api server: https://github.com/Androidacy/FontManager-Module/issues?q=is:issue+is:closed

Also try latest release from their website: https://www.androidacy.com/downloads/?view=%40Magisk-Modules%40Font_Manager
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Disable network until it's show up list. Then turn on after you choose change font.

Probably bug.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
If you mean i should turn off my mobile network setting,it is off all the time. I only use the phone on my wifi.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Network including wifi. Please.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I tried it like that now,it has changed the font style now but only in my apps. I want to change the font system-wide. In the settings menu and so on,which has not happened. Thank you though for your help @hibikase
[Samsung Galaxy Note 20 Ultra Questions & Answers] Limeybastard:
If someone could be kind enough to check to see if the attached package on their device com.sec.enterprise.knox.shareddevice.keyguard

Is disabled by default or not. Cheers
[Samsung Galaxy Note 20 Ultra Questions & Answers] VICosPhi:
I can't find it even listed in system apps at all. I'm running T-mobile ROM on US Snapdragon N20U
[Samsung Galaxy Note 20 Ultra Questions & Answers] blackhawk:
Lol, you're just bucking for a reload...

Unless you have multiple device users it seems like it should null.

https://docs.samsungknox.com/admin/knox-configure/about-shared-device.htm
[Samsung Galaxy Note 20 Ultra Questions & Answers] Limeybastard:
Thanks guys.
[Samsung Galaxy Note 20 Ultra Questions & Answers] htchd2sucks:
Not there on my SM-N986B:

I only have these two know related lines:

Line 108: com.sec.enterprise.knox.attestation

Line 234: com.sec.enterprise.knox.cloudmdm.smdms
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] i5lee8bit:
Not sure if there were any changes since the September / October 2020 firmwares, but here's a new one directly modified from the March 2021 (Android 11) firmware base:

[OBSOLETE] DOWNLOAD, BASED ON 2021-03 FIRMWARE:

https://www.androidfilehost.com/?fid=14943124697586346609
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] i5lee8bit:
Long time no see. Long story short, got the SM-P610 back from the friend I lent it to years ago (has since gotten the S7 Plus), and I needed it back as a junk tablet to give to my son for use during... potty training. Lol!

Come to find out, there were some files changed since the last 2+ years I set hands on this tablet. I almost thought I bricked the tablet when I yolo flashed my old BL warning text removed .tar file after clean flashing latest 07/2023 Android 13 ROM and Magisk 26.3. Gave me the error that something went wrong during software update and to use Samsung Smart Switch blah blah, and I seemingly couldn't turn it off completely and/or reboot to download mode. Turns out that error screen still was actually in download mode, and I could just use Odin to reflash the stock firmware back on. Then I re-flashed the Magisk patched (v26.3) boot image and the updated up_param.bin file below. All is good now. Problem is, I don't know if I actually screwed up flashing Magisk or if it was actually the old modded up_param that caused the issue. Better safe than sorry, so here you all go.

Closer inspection comparing the up_param.bin files between my last 2021-03 to the 2023-07 versions shows there are actually a different number of files, as well as differently named files. Might have just been 1 or 2, didn't have a really close look, we have 2 kids now and I ain't got time for it lol. But I made this updated file for myself, so I figured I'd share with y'all too (in case you like the pretty way I integrated the "Press power button to continue", I guess?). =P

NEWEST DOWNLOAD, BASED ON 2023-07 (ANDROID 13) FIRMWARE:

[BL] SM-P610 ODIN Flashable Warning Text Removed (pulled from XAR-P610XXS4FWG4 07-2023 base).tar | by i5lee8bit for Galaxy Tab S6 Lite

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] Protawn:
Hi,

Thanks for these resources. I'm actually not at these steps yet. I'm having trouble gaining access to the OEM Bootloader Unlock option in developer options. Here are things I've tried already based on what I researched before my attempt.

Android 10 is the current OS installed after unboxing.

1. Disable Automatic Date and time

2. Select a date more than 7 days prior to current date of attempt.

3. Under Settings > About Phone > Software Information. Select/Tap Build Number 7-8 times to unlock Developer Option.

4. Disable Auto Update System (Apply Updates When Device Restarts) - *This was somehow already disabled the first time I entered Developer options*

5. Under Software Updates > Disable Automatic Updates -*This was also already disabled on unboxing and it says Automatically download updates over Wifi. It does not say Automatic Updates*

6. Reboot device and return to Developer Options after booting to OS.

7. The OEM Bootloader Unlock option should appear greyed out at this point. Toggle it to unlock bootloader with consideration that it will wipe the device data.

These are the steps I've found and tried with no success in gaining access to the Bootloader unlock option. I am also certain that my device is the international model SM-P610 with Exynos chipset and Mali-G72 GPU. Something else to note, I did uncheck many default options tied to improving privacy on the device before attempting the steps to gain access to the bootloader unlock option. I do not know if that would make a difference. If you recognize anything wrong with the steps I've tried already, please let me know where I'm going wrong or where I can find the correct way to unlock the bootloader. I've been posting in other threads, but nobody seems to be replying to me. Any help will be appreciated.
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] HandyMan666:
Hi

I've flashed your modded file on my PHN (Netherlands), no problems at all working ootb!
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] repey6:
Hi. I used blascogm's guide for my P615 with latest firmware for SEC UI 3.1and all are OK!😁 Thanks for all.

Add. I add link . Flash via Odin(BL).

https://androidfilehost.com/?fid=14943124697586347282
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] cht64bit:
I flashed ths when I'm running lineageos 18.1 annd this is the only mod that worked for me
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] derangemeldete:
Thanks for posting your images and linking to the guide, worked perfectly :) and the images just fit to the pixel <3
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] zpunout:
Confirmed working as of March 2022. Device is running base P610XXU2DUL9. Thanks for the hard work.
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] mbudden89:
can you make one for SM-P613 model plz?
[Samsung Galaxy Tab S6 Lite Guides, News, & Discuss] cht64bit:
Is it possible to use this system with the new version of lineageos based on android 13?