yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
strange, I dirty flashed without problems. I did notice though that there was an issue with magsik's addon.d script, complaining about not being able to mount system. flashing it seperarely afterwards was fine though. don't know if it's caused by new twrp or changes in Los, but if I had to guess it would be twrp.

anyhow, thanks for the test. looks like GPS still needs some love.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] feduss:
Hi [MENTION=4063475]derf elot[/MENTION]! I have not problems with audio or gps on your last build (2020-08-09), but my phone reboots itself when i try to play netflix or prime video (not with all series/film). It's a selinux issue:

Netflix:

08-13 11:34:24.643 605 605 E SELinux : avc: denied { find } for interface=vendor.somc.hardware.security.secd::IDeviceSecurity sid=u:r:hal_drm_widevine:s0 pid=817 scontext=u:r:hal_drm_widevine:s0 tcontext=u:object_r:hal_secd_hwservice:s0 tclass=hwservice_manager permissive=0

Prime video:

08-13 11:43:31.576 612 612 E SELinux : avc: denied { find } for interface=vendor.somc.hardware.security.secd::IDeviceSecurity sid=u:r:hal_drm_widevine:s0 pid=824 scontext=u:r:hal_drm_widevine:s0 tcontext=u:object_r:hal_secd_hwservice:s0 tclass=hwservice_manager permissive=0

(it's the same problem for both apps i think)

---------- Post added at 12:07 PM ---------- Previous post was at 11:58 AM ----------

i've tried NanoDroid beta (of April, because the stable version of February can't be flashed because of i'm on android 10), but the script failed without reason...so, i've flashed Gapps :rolleyes:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Thanks, I'll fix those denials for the next release.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gizanagi:
I tried one more time at the exact same spot. This time accuracy dropped to 3 meters with no problem but it took quite a bit time to fix my location at the start. My morning and noon tests weren't consistent for some reason. I really need to hear about this from someone else too.

I said it got worse in my previous message, but this last test has changed my mind right now.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
GPS is like a box of chocolates :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Attlas64:
There is a magisk version compatible with this ROM?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] themarang:
with this build gps now works, thanks
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gizanagi:
It's a sweet chocolate box now. Fixes my location quickly and accurately enough on the same spot where I was standing in the morning. I don't know what makes 3 tests inconsistent but it seems fine now. Perhaps satellite positions?

I made my tests without Google Location Accuracy and wifi/bt search but it's still better someone test it outside of a city. Anyway, thanks for your hard work. Stock roms has come this far thanks to you and other developers. :highfive:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
The regular flashable zip of latest version should work (20.4 IIRC)

great thanks. there is at least one tester left who is still having issues though. I'll try some more.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] leochen679:
Bro, is this rom finished in Chinese?

大兄弟，这个rom汉化完整吗
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jxwu0129:
en，i use tc

嗯，我用的繁中。

---------- Post added at 02:37 AM ---------- Previous post was at 02:20 AM ----------

tks，this build solve the bt headset problem
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
So far every prime video i've tried doesn't show this issue. Can you point me to an example so I can test whether this issue is fixed?

Thanks
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] feduss:
Sure! Try to watch the first episode of "The Boys" (Amazon Original)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
weird, works for me as well without problems. maybe different on German prime?

I'll send you a pm with a link to a test build soon. it is possible that more denials will pop up so I would need another log in that case. which variant are you using?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hzj19960112:
restore TA partition,has DRM widevine L1,play Netflix FHD the phone will reboot. include bliss pe havoc and lineage,all have this problem.

---------- Post added at 08:02 PM ---------- Previous post was at 08:00 PM ----------

Flash liboemcrypto disabler Modules with magisk can play but widevine level downgrade to L3,only can play SD.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
right, i don't have a TA to restore for my devices. But maybe we can still fix the reboot issue for those that do

and the other roms are based on los, so I'm not surprised the issue is present in all :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] feduss:
Thanks derf! Which variant of what?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
poplar or poplar_dsds? for the test build :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] feduss:
??? Sorry! Poplar single sim
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
pm'ed you a link, let me know how it goes
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hzj19960112:
I have dual sim...I want to test and has volte working version test？:highfive:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Haven't made a dsds build yet. working on ims right now
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hzj19960112:
Ohhhhhh,expect!

Thanks for your good work.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I think I will give up on dynamic IMS for now. I am having major issues to get the CustomizationSelector to work properly and write the modem customization into MiscTA. I get some random error codes, but since everything is closed source here it's pretty hard to figure out what's going on.

Anyhow, this would require eveybody who wants to use IMS, to once install stock from their region, making sure that IMS is working there and then installing LOS. It's a bit annoying, but better than nothing for now.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gizanagi:
That's okay for now. You can achieve your goal step by step. At least we can get VoLTE this way, but I am not sure about Vo-WiFi because it doesn't work on Bliss. I hope Vo-WiFi works too.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
it should, at least on 9 it did. but I'll test later today
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gizanagi:
I tried on stock yesterday but I couldn't make it work. I remember I was using it before on abroad. So I guess something is wrong with my network and I can't use Vo-WiFi.

By the way, gps is quite fast and accurate on SODP based PE. You can take a look if you can get configuration or something else from it.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] spicygod:
Thanks for your work, the 8.9 build just working fine in my G8342 but one little problem, there is no sound if i use my wireless headphone via bluetooth(sony wh-1000xm2), it's weird, because it's normal when you having a phone call, but no sound when you playing music, watching movie or playing game.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Jasimua:
Bluetooth media not working

Bluetooth headphones getting connected but only calling is possible, not working for medias such as videos or music.

Only the inbuilt handset speakers getting played.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
try the test build I posted a couple of pages back :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] TEK023:
wow
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Swaziboy:
Bootloader locking/unlocking

Hi folks

firstly thanks to the devs who keep this ROM alive - love it!

I recently flashed TWRP and the latest build of LOS - everything seems to be working pretty well, but I have a question regarding bootloader unlocking and locking on the Xperia XZ1 (Canada version).

When I tried to flash TWRP the first time I got an error stating I could not flash it because the "state was locked". I took this to mean my bootloader was locked, so followed the Sony process to unlock my bootloader, and successfully flashed TWRP, the ROM and Gapps Nano.

As I noted everything seems to be working though I have security warnings due to the bootloader being unlocked - I cannot load up payment apps, banking apps, authenticator apps (google, microsoft) etc. due to the trust status of Android.

They key questions:

Do I need to re-lock the bootloader?

If yes to above, is it possible to OEM lock it with TWRP installed?

Did I need to unlock the bootloader in the first place to flash TWRP?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] TriboDoP:
Hi

As far as i know there is no way to relock the bootloader.

For banking apps etc. it could work with magisk.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Sliftw:
Does VoLTE work with this if i have it already working? What about VoWiFI?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] amarushaku:
How to enable voice match ( command Hey Google) on your build?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] zagi988:
Hey everyone!

I'm using this ROM for over a week now, nice, stable.

But why it doesn't have QC3.0?

It charges at 5V and around 1500mA instead of 9V and 1500-1700mA.

I have a QC3.0 charger that worked great with stock ROM, indicated that quick charge is being used but it doesn't indicate it now, even when charging from 20%.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] amarushaku:
Please, change bluetooth settings, presets, etc. Very bad sound in bluetooth headphones
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Jasimua:
Media on Bluetooth headphones not working....only calling possible

Media not working on Bluetooth headphones, calling is working without issues... please fix
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Swaziboy:
I tried to set this up recently and I could not get it working. I could set up voice match and go through the process, but it won't respond to the key phrases. I'm using Nova launcher and have hot word enabled. This was working flawlessly under stock with same launcher. If you have any luck let us know.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] RcTomcat:
Works fine for me. Listened to 6 hours of music and 4 hours audible last week without issues using my Sony Bluetooth headset
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
Need Show Message lockscreen

How to show a custom message on the lockscreen?

Thanks for grat work... ???
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
Cts prifle false

I have using magisk hide props intall certified fingerprint but still fail,

i try to restore ta-locked backup but still false to,

i try restore ta-locked backup then install certified fingerprint and still false.... :(

update: i using this tutorial and working https://xdaforums.com/xperia-xz1/development/rom-unofficial-pixelexperience-plus-t4145661

---------- Post added at 06:11 AM ---------- Previous post was at 06:10 AM ----------

after taking photo, album icon had not showed
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
Anyone know how to hide version in qs footer?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
it should work with the included gallery as well. but you need to change the settings in the stock camera to always show previews
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
its work, thanks for help...
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
this is always shown if developer settings are enabled. it's how google intended it to be and los won't change it.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
ok thanks for the information
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gnosis88:
BUGS

Hi Guys;

i love this cell phone so much because of the shape and size und i really appriciate the work of the devs in this rom. I even gave up a Xiaomi Note 10 and a Huawei p40 lite 5g for my moonlite blue beauty.

So after return of derf elot i started again with LOS 17.1 on poplar, happy to have the stock camera bug fixed!! But in this one week using it as daily driver I detected several bugs:

- On the homescreen, google widget with day and date (not removable), there i´m missing the weather. In the past it showed the google temperature on the right end of the widget. I have location on and searched in the google app settings, etc. no idea what is wrong.

- the (stock)-email app from Google is always crashing after starting the app. I even gave authorization manually for storage and contacts, and so on, but it´s still crashing.

- The App DAZN is causing a reboot, when i put it on landscape, what means, after app is running and showing content, i want to use the full size, so i turn it in landscape, but then cell phone is crashing totally, causing a restart.

- temporally disconnection of network from time to time, 20 sec up to 1 minute long, which is really anoying when you need internet.

Thats all of my detected bugs for this moment.

I did a full clean install via twrp 3.4.0-0, and after LOS 17.1 i flashed GApps nano. After each flash i deleted dalvik/ cache. In previous versions (with camera storage bug) i haven´t had this above mentioned bugs.

I didn´t install magisk, no other root.

I hoping to get some help for this issues. Do i have to do logcat reports? I never did them before, are they useful for this kind of issues to find solutions?

Thanks for your help in advance, all the best!

Greets
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] linckandrea:
Obliouvusly,

Yes logcat are essential for bug fixing

Use adb logcat > logcat.txt

Reproduce the issue

Stop the logcat and upload it

Anyway google is your friend;)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gnosis88:
Thanks Bro.

Okay, i will do logcat and this will help for the App crash for example. For network issue, too?

What about the other bugs, weather not showen in the widget?

Appriciate
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
IMS seems to finally be fixed. took a lot of effort but at least volte and vowifi (can't test video telephony with my carrier) should be working if also working on stock - you need to have the OEM sin of your region/carrier flashed that you also use on stock to get it working.

thanks also to [MENTION=8526938]Rooted_Ansh[/MENTION] for getting me over the last hurdle of the many there were.

will upload an updated build latest by Sunday.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] genlies:
That's a great news. Thanks very much for you hard work.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
Yeah i fell love this phone then newest phones now too bro hehehe.... :D

The latest Sony smartphone, I have a plan to buy it first.

But when I think about it, it turns out that he is stretched upwards, I don't think my thumb can reach the status bar easily.

I feel sad that Sony is leaving this amazing smartphone.

---------- Post added at 03:24 PM ---------- Previous post was at 03:23 PM ----------

whoaa.... thanks elot :good::good::good:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Van_shegol:
I have the same problem. Can't listen music via headphones

---------- Post added at 10:57 AM ---------- Previous post was at 10:39 AM ----------

Just try to install this version

It's work for me
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
anyone here using the dsds variant with 2 sims, out of which at least one supports ims in stock? 2 different operators would be even better.

we need someone to test :) feel free to pm me

edit: testing means that you will have to provide logs. please don't contact me of you are unwilling to do so and just want to have ims working rightaway :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] genlies:
Deleted
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Hi there,

I am currently making new builds, expect them to be up soon (TM). You can check the changelog already in post #3.

GPS should be working really well now. If you use one of those GPS apps, do not clear or clear & update your assisted data. Update only is fine (though that shouldn't even be necessary ever). If you happen to clear it, you need to wait until the phone decides to so so itself, which can take up to 24h, for which time period you are left with pure GPS only - which can take quite a while to fix.

IMS should be fully functional on poplar and poplar_canada (thanks also [MENTION=9312357]kaancaliskan[/MENTION] for testing on his poplar). We will still need some feedback for dsds devices as none of us has one to test. IMS does its full registration, so we are not overriding any capabilities anymore with props. As long as it's working for you on stock it should work here as well now. If it doesn't let me know and I'll look into it (please leave your MCC/MNC codes so i can check). You need to have the oem .sin flashed that also makes IMS work for you on stock. That's because part of the information required for the system to know which carrier-specific modem customization to use is kept there.

Cheers

edit: It doesn't hurt to clear your cache after flashing v1.1 and before booting it. That's because in the worst case, the CustimizationSelector might not want to work if there are remaining logs from a failed mbn flash in cache.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Rom updated to 1.1
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] JimKatsanos:
It can be used as base to boot gsi right? (I wanna try boot 11)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
some device-specific things are still located in system, that's how Sony did it. flashing gsi's probably works, but there might some issues, never tried it myself. whether it works for 11, I have no clue. try it and let us know :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Some people have reported that for IMS to work properl after boot, toggling it off/on in the settings is necessary. We are trying to integrate this now so it doesn't have to be done manually.

Nonetheless, I would still like to hear some feedback on whether it works for people in general now. Also, whether BT issue is fixed.

Cheers
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ASR1998:
XZ1 Dual

allow data during call working.

Telkomsel supports VoLTE but in line showing H +, I tried to make a call the data is still running so it works.

But sometimes other sims become errors because they activate VoLTE.

My other sim is "Three" no signal

sorry my english is weak.

https://pasteboard.co/JtbWRJS.png

https://pasteboard.co/JtbXjxu.png

https://pasteboard.co/JtbXw0e.png

https://pasteboard.co/JtbXGIU.png

https://pasteboard.co/JtbXMSe.png

logcat:

https://drive.google.com/file/d/1NZfocEcZR_Xwb9Jkz6rE8tiz-hKtk8pX/view?usp=sharing
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] adm_:
but there are no new dsds version in post #1...

when it would be available for downloading?

btw, there were problems with access to external sdcard in the august's test version (for dsds, of course), i'd fixed them by using

mount -o remount,mask=7 /mnt/media_rw/0403-0201

in magisk's sevice.d script, maybe you'll do it (or something similar) in the upcoming dsds' build?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] zagi988:
Anyone else realized this is happening? Or it's a common thing that can't be fixed?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I just forgot to update the date on the link. I'll fix it when I get the chance, but it will take you to the latest version.

as for sdcard, that's very strange, I don't think we changed anything there for a while, need to have a look at it. but we can't just add a command like that, because that path should be different for everyone I think, the problem would have to be elsewhere.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I don't even have a compatible charger, so I can't check. I'll try and see if I can find anything obvious that we might be missing.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] zagi988:
I was trying to build it on my own since I used to compile ROMs for Galaxy S4 Active where I also added ROM governors and such but am getting some errors. Can I PM you with a few questions?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
sure
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] adm_:
yes, the problem is in the mask of mounting /mnt/media_rw - dunno, is it in init.rc or anywhere else in ramdisk.

while checking my issue, look what mount returns: when mask is 18, no programs can access external sdcard, when it's 7 - all ok.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] saenaro:
Thanks for the ROM, but I noticed the sound is very quiet compared to stok. Will there be any improvements towards sound?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
It should normally be the same as stock. We use the prebuilt stock audio hal and stock audio configs.

you need to be more precise,, what's too quiet? headphones? BT headphones? hands free calls? media over speakers?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hsheemi:
Sound in Los is normal like stock. Try cleaning speakers with some alcohol and thin brush to get it louder. I did that and it got better
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] saenaro:
dinamic, when playing audio recordings of whatsapp, the sound is different in relation to the stock firmware

---------- Post added at 05:18 AM ---------- Previous post was at 05:16 AM ----------

I went back to stok and the problem went away with a quiet sound.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hsheemi:
So try flashing Los again
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] adyapermana:
Same as me,i use aukey qc 3.0 and aukey 3.1 compatible data cable

Before using this rom i had nearly most 2000ma,now with this rom got limit only 500ma

Maybe some fixes on next update (?)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] initguru:
I still have a gps problem.

Since I started using any custom roms, I have tried to use it as a navigation phone.

This rom is definitely nice but gps consistenty disconnected and connected every minute.

btw I use gps locker app to monitor the gps status.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] linckandrea:
Btw you should do a logcat
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] zagi988:
Exactly. Do a logcat because GPS works perfect on my phone with this ROM.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
one thing to keep in mind when you use one of these GPS apps: never (ever) clear agps data. otherwise it might take up to 24h for your phone to request new one. updating should be fine (as long as your app doesn't clear it as well), but don't clear it.

if you still have issues, logs would help indeed
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] initguru:
I have clean installed your rom and for the first time the gps was fixed in some minutes.

There is no option such as 'clear agps data' so I'm sure I didn't clear that.

I'm going to drive soon and share logcat.

Thx for your awesome job. :good:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] initguru:
dear derf elot, here is the log when gps issue happened:

http://paste.ubuntu.com/p/9VQFSTXP93/

the time is between 9:10 and 9:12 as I remembered.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] amarushaku:
When update will be?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] initguru:
Another logcat attached.

The time should be after 10/7 8:12 am which the issue happened.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
thanks, I'll have a look