yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 10 IV] King081:
New Build available

Camera Partially works (video only works, open app select video, close app and open again and video will work)

Flashlight works

Audio sounds much closer to stock and all issues fixed

Download Link

https://devuploads.com/users/SpectreDev/2604/Xperia 10IV Roms
[Sony Xperia 10 IV] King081:
i think you used the wrong murray device tree branch, use the lineage-20-audio branch should solve that issue, and after lunch lineage_pdx225-userdebug, enter this export WITH_GMS=true, so it does not complain at the end,

BTW happy to help anyone solve any issue as long as its related to the 10IV
[Sony Xperia 10 IV] King081:
you dont need audio one or extra yet, but you do need qcom display, rm -rf hardware/qcom-caf/sm8350/display

then clone my repo into hardware/qcom-caf/sm8350/display
[Sony Xperia 10 IV] Uniqu2039:
Will that fix be merged with the main repository? At the moment I am using the MicroG docker to build the image, and it doesn't like me changing the contents of the cloned repositories in that way. The docker is build in such a way that it always tries to pull when run. If you plan on merging at any point I'll just wait for now for things to get stabilized.
[Sony Xperia 10 IV] King081:
Unfortunately no, bbn tried to have it merged but LOS rejected it due to it affecting other devices
[Sony Xperia 10 IV] Uniqu2039:
That's too bad. But the https://github.com/XperiaBrickers-10IV repo's are for this device alone, right? Wouldn't it make sense to have our own branch there that we periodically update with the LOS upstream repo while not merging the device specific stuff upstream to LOS?
[Sony Xperia 10 IV] King081:
well what you can do is modify los manifest that can then pull our display repo instead of los one
[Sony Xperia 10 IV] King081:
New Build available

Camera Fully working

Selinux is in permissive for now

Download Link

Google Drive
[Sony Xperia 10 IV] King081:
Have Fun :), it was a pain to get camera working
[Sony Xperia 10 IV] King081:
New Build available

WIFI Is working

Selinux is in permissive for now

Download Link

Google Drive
[Sony Xperia 10 IV] euaong:
I'm using translation, I flashed your ROM before, because it can't meet daily use, and now I want to flash back to the official system, and I can't boot after using newflasher to force the official system to prompt "Your device is corrupt" for helpWhat should I do?
[Sony Xperia 10 IV] King081:
LOS is daily drivable now, you can flash MindTheGapps if you need Gapps
[Sony Xperia 10 IV] King081:
New Build available

Fixed some WIFI errors that were non stop spamming in logs

Improved Memory Consumption

GCam works now aswell

Selinux is in permissive for now

May need a CLEAN FLASH

Download Link

Google Drive

GCam: install apk and apply tint fix

Download
[Sony Xperia 10 IV] euaong:
I am Lineage 20 directly shut down into flashing mode with newflasher to flash XQ-CC72_HK_65.0.A.0.1185, after flashing can not enter the system, do I need to flash MindTheGapps? , can the flashing boot up? (Sorry, I'm not a professional and don't have the ability to complete flashing without a tutorial, can someone help me with the detailed flashing process and required documents?) Thanks)
[Sony Xperia 10 IV] King081:
you need to be on latest stock fw
[Sony Xperia 10 IV] Georgz21:
May i ask please, are both speakers now tuned as stereo, with your latest build?

Also, i need to know if that device has radio Fm/Am chip (as hardware), because unfortunately i did not have that future with stock Rom.

I can use radio only from web, but is useless when i dont have access to wifi or data.

Thanks alot
[Sony Xperia 10 IV] King081:
Stereo is not enabled yet will work on that, i will definitely mention that in the change log once i do it, I tried FM radio and it does not work unfortunately
[Sony Xperia 10 IV] King081:
New Build available

Selinux Enforcing

TEO cpuidle driver in use now better power consumption

improved power consumption on kernel side and reduced latency

and made the rom slightly smoother

May need a CLEAN FLASH

Download Link

Google Drive

GCam: install apk and apply tint fix

Download
[Sony Xperia 10 IV] King081:
New Build available

Fast Charging has been fixed now reports as charging rapidly

USB now works in recovery

Download Link

Google Drive
[Sony Xperia 10 IV] King081:
New Build available

Fixes the modem/wifi issue where it was constantly connecting and disconnecting

Download

Check previous link
[Sony Xperia 10 IV] Uniqu2039:
So far the rom works well. I've build my own with MicroG. NFC doesn't work yet though, the option doesn't want to turn on. Is this a known issue or might this be because of the absence of Google services?

Oh also, a word of caution for those who hasn't flashed android 12+ devices before: when following the steps in the OP, be sure to boot into fastbootd. This is a user-space version of the old fastboot environment. If you don't do this, you won't be able to flash vendor_boot. First do "fastboot reboot fastboot", this will reboot the phone into another fastboot env where you can flash all three partitions. More information to be found here: https://source.android.com/docs/core/architecture/bootloader/fastbootd
[Sony Xperia 10 IV] King081:
Sorry guys, development is paused until further notice, I've managed to accidentally brick my Xperia 10 IV
[Sony Xperia 10 IV] King081:
You can boot to recovery click advanced and it should say fastboot, then you can flash vendor_boot, as for NFC its the wrong configuration file
[Sony Xperia 10 IV] satanius:
How do I enable ultrawide module in this GCam port? I see only 1x and 2x selection. Thank you.
[Sony Xperia 10 IV] King081:
Should be in gcam settings
[Sony Xperia 10 IV] Uniqu2039:
Sorry to hear you bricked your device. Hope you are able to get it working again soon.

In the meantime, a small bug. Audio routing on Bluetooth seems to not work for me. Device pairs correctly, and Spotify recoqnizes it as an audio device. But audio still gets routed to the speaker. Tested with all supported codec's (SBC, aptx(hd), LDAC).
[Sony Xperia 10 IV] King081:
yeah, currently my persist partition got nuked, so unfortunately i cant do much right now since i didnt make a previous back up of it
[Sony Xperia 10 IV] King081:
If someone wants to help me fix my phone please PM me
[Sony Xperia 10 IV] King081:
Thanks to another user I got my phone up and running again, back on developing again
[Sony Xperia 10 IV] King081:
Ok bluetooth audio issues have been solved now
[Sony Xperia 10 IV] Uniqu2039:
I'm running into an issue again for a microg build. Should I be adding extra sources or a different branch?
[Sony Xperia 10 IV] King081:
Just remove them 3, I forgot todo that
[Sony Xperia 10 IV] King081:
Btw feel free to post your microG builds here for users to have
[Sony Xperia 10 IV] Uniqu2039:
I will when I get to run a successful build. Sadly, I keep running into issues and this is the first time I'm touching a device that isn't officially supported by Lineage so I am not familiar at all with the build system, apart from running the docker before.

But I'll try to fix things on my own and not bother you too much with generic questions about the AOSP build system.
[Sony Xperia 10 IV] King081:
Do vote in the poll please
[Sony Xperia 10 IV] Uniqu2039:
Done. HS is the future that is discussed here? https://xdaforums.com/t/h-s-power-control.4194495/

So it directly uses the connected power when doing battery intensive stuff but doesn't (dis)charge the battery? Sounds a bit confusing, but I like the idea of it.
[Sony Xperia 10 IV] Sakuu:
Yeah, the same one
[Sony Xperia 10 IV] Uniqu2039:
If that is being worked on now, that may explain the build issue I am running into. I'm apparently missing modules belonging to the Qualcomm power framework
[Sony Xperia 10 IV] Sakuu:
It doesn't even work btw tested on 1 III and 10 IV they both bootloop, you're better off revering the changes locally
[Sony Xperia 10 IV] King081:
It's been dropped, update your trees
[Sony Xperia 10 IV] Uniqu2039:
I've built a Microg version which is available over here:

https://file.io/w06U1zBs7fUo

(No promises that it works for all, and use at your own risk. I barely know how to get the LineageOS-microg Docker spinning :))

In it I've also added this file for NFC support:

device-sony-murray/rootdir/vendor/etc/libnfc-nci.conf at master · sonyxperiadev/device-sony-murray

Contribute to sonyxperiadev/device-sony-murray development by creating an account on GitHub.

github.com

edit: Just noted that I forgot to include the fdroid store in this build
[Sony Xperia 10 IV] jasmod:
when I flash vendor_boot after flash dtbo, I got a error:

fastboot flash vendor_boot vendor_boot.img

output:

Sending 'vendor_boot' (98304 KB) OKAY [ 2.283s]

Writing 'vendor_boot' FAILED (remote: 'Flashing is not allowed for partition')

fastboot: error: Command failed

my device is xq-cc72, and unlocked. Is there something wrong?

update:

I reboot in fastbootd mode then solved
[Sony Xperia 10 IV] King081:
Flash in fastbootD
[Sony Xperia 10 IV] sieghartRM:
The Google Drive link in first post of this thread leads to address not found.
[Sony Xperia 10 IV] Uniqu2039:
The hyperlink doesn't work, but if you copy paste the text it does.

I've also made a new build with MicroG: https://file.io/wDYEkQGMvPI0

And found another bug. Color profiles don't work, which means that the Night Light feature also doesn't work.
[Sony Xperia 10 IV] King081:
Yeah it's broken
[Sony Xperia 10 IV] Uniqu2039:
When I do an ADB logcat I see a lot of these errors:

StcManager::ProcessModeRenderIntent():637 Cannot find mode (gamut 255 gamma 255 intent 65535) in mode list

Do you know if this has something to do with it?

I cannot find documentation on this so I have no idea how to configure this, but it sounds like missing ICC profiles.
[Sony Xperia 10 IV] sieghartRM:
Yeah, it works if I copy the link as text and paste it as suggested by Uniqu2039.

It is just really horrible trying to do it on mobile or tablet browser.

Edit: Removed incorrect quote.
[Sony Xperia 10 IV] sieghartRM:
Also, where do I get dtbo.img, vendor_boot.img and boot.img?

I cannot find it in the Google Drive link.
[Sony Xperia 10 IV] King081:
You'd have to extract it
[Sony Xperia 10 IV] sieghartRM:
From the LOS rom?
[Sony Xperia 10 IV] Uniqu2039:
From the .img file in the ZIP.

More info over here: https://stackoverflow.com/questions/26137795/how-to-mount-aosp-img-files
[Sony Xperia 10 IV] Uniqu2039:
Mm, somehow the QR scanner of my back app stopped working. I think it worked before, but am not completely sure. Anyone else having issues with QR scanning from apps as well? The camera works, it just doesn't read the QR code.

A dedicated app was able to read it just fine.

Also, King, do you want bug reports to be posted to this topic, or to github? (https://github.com/XperiaBrickers-10IV/BUG_REPORTS).
[Sony Xperia 10 IV] Uniqu2039:
Two more bug reports: the front camera isn't working and for some reason Signal isn't able to use the camera directly.
[Sony Xperia 10 IV] King081:
How did that break, I tested it all myself was working fine
[Sony Xperia 10 IV] Uniqu2039:
Mm strange. The Signal thing may just be an issue with a Googleless setup which I have to solve myself.

As for the front camera, I tried the default camera app. And it is able to switch between the 3 back camera's just fine, but when I try to switch to the front camera, the view of the last cam just blurs and freezes. But to me that isn't really a problem, I don't use it that often.

The two things that are an issue for me are the weirdness with scanning QR codes (but this may also be an MicroG thing) and the color manager (and night light) not working. I have tried to fix the latter, but haven't been able to solve it yet.
[Sony Xperia 10 IV] sieghartRM:
Can I use 7zip to extract it?
[Sony Xperia 10 IV] Uniqu2039:
no idea, you could try, but I don't think so because it is an (disk)image, although it is also not mountable like a normal one. If the previous link doesn't help, you may try this one: https://github.com/GameTheory-/mktool

I suppose this step wouldn't be needed if we had TWRP support, but until, we sadly have to jump through some hoops.
[Sony Xperia 10 IV] hensip:
I flashed the rom last night and I have the same issue too. Any solution? Thanks.
[Sony Xperia 10 IV] Uniqu2039:
Which version have you flashed? For me it is fixed, but I am using the microg version that I build myself.
[Sony Xperia 10 IV] hensip:
I flashed the version from the link of the first post, lineage-20.0-20230503-UNOFFICIAL-pdx225.zip
[Sony Xperia 10 IV] Uniqu2039:
Update available from Sony (65.1.A.5.50):

https://www.sony.com/electronics/support/articles/00288033

Current bugs:

- No color correction / night light

- Front camera not working (unconfirmed)
[Sony Xperia 10 IV] King081:
PMIC has been fixed thanks to lolipuru, it now charges at full speed (15w)
[Sony Xperia 10 IV] Uniqu2039:
Hey, sorry that it took awhile to reply. I do intent to keep providing builds every now and then, but I am also dependent on others to develop for the phone. When able I do try to fix some stuff, but no promises.

I also still need to find file hosting that works for me (kind of against the spirit of building a googleless phone to use Google Drive, right?)

Edit, uploaded my most recent MicroG builds:

https://xdaforums.com/t/rom-unofficial-pdx225-lineage-20-microg.4598899/
[Sony Xperia 10 IV] hensip:
How can I update my device?
[Sony Xperia 10 IV] King081:
Well I don't have an los build but I do however have a void ui build
[Sony Xperia 10 IV] MEGAS XLR:
I’m trying to install the latest build, but I’m running into a snag when trying to install Gapps. MindtheGapps aborts the installation with “Not enough space for GApps! Aborting”

I tried other, smaller Gapp packages and they all give the same type of error: there just isn’t enough space

Does anyone have any ideas on how to fix this?
[Sony Xperia 10 IV] dekefake:
Hi, have you fixed this ? We face the same issue with the Oneplus 11

Cheers
[Sony Xperia 10 IV] Uniqu2039:
Hi, I haven't fixed this, but if Oneplus 11 has the same issue, I wonder if it shouldn't be fixed upstream. Although I didn't run into the issue with my old Oneplus 5T so who knows.
[Sony Xperia 10 IV] dekefake:
It's probably a common issue among recent Snapdragons, but this thread was the one and only Google search result for this error.. Good luck man
[Sony Xperia 10 IV] alfl:
@Uniqu2039, i tried to download the latest build from udrop but i get on all downloads 404 not found messages
[Sony Xperia 10 IV] alfl:
i tried to download the latest build from udrop but i get on all downloads 404 not found messages
[Sony Xperia 10 IV] loipuru:
eh, some of camera and display related blobs is missing (maybe also techpack modules, but this issues shouldn't be appear on this soc)

too bad i can't properly fix it due to no device, only provide kernel support for now (tried build without device, which is really buggy)
[Sony Xperia 10 IV] Uniqu2039:
Sorry, didn't update that post. I've since created a separate thread for microg:

https://xdaforums.com/t/rom-unofficial-pdx225-lineage-20-microg.4598899/

Haven't done a new build for awhile though.
[Sony Xperia 10 IV] Uniqu2039:
Thank you for taking a look anyway. I'm not much of an Android developer, and still need to figure out how I could add the newest vendor blobs. I suppose there isn't an easy way to explain how to go about adding those blobs without writing an entire article?
[Sony Xperia 10 IV] loipuru:
you need to mount vendor/ (or odm, system, system_ext, product, vendor _a prefix only) and then adding blobs you want to extract on proprietary-files.txt and run extract-files.sh

i did added a complete blobs, but ended up bootloop for no reasons (seem like it might get denied somehow but, dunno)
[Sony Xperia 10 IV] alfl:
@Uniqu2039 - i am using https://bayfiles.com/ for uploading and sharing

i don't know if there is a policy to use specific filesharing hosts for github or lineage but you can use this one if you need to
[Sony Xperia 10 IV] alfl:
Is there also any kind soul who is willing to build a new version of los ? The microg isn't usable for me as i need to run some of the google apps. The rom version though runs amazing on the device and even the front and rear camera operates super fast.
[Sony Xperia 10 IV] loipuru:
i don't have device to do that, only maintaining kernel source and hoping someone will fix the rest

lead dev are busy so it might take a long while to have new updates
[Sony Xperia 10 IV] Uniqu2039:
I have made another MicroG build, if you want to try that one. Depending on what apps you may need, you could try Aurora store to get apps from the play store.
[Sony Xperia 10 IV] Uniqu2039:
Somehow I am not able to do anything with the 'unsinned' img files. They don't seem to hold any partitions, but simg2img also doesn't want to extract anything from them. I guess I'm going to wait until someone else can have a crack at this.
[Sony Xperia 10 IV] loipuru:
first, you need to unsin with this https://xdaforums.com/t/tool-unsin-sin-v3-v4-v5-unpacker-v1-13.3128106/

then mount image with mount command, or any linux disk reader (if you're on windows)
[Sony Xperia 10 IV] Uniqu2039:
I did get that far, and I can mount the ext4 files just fine, but the .img files fail. Can't mount them by mounting them as a loop device, fdisk doesn't show any partitions and mounting as read-only also doesn't work.

I suppose either super_X-FLASH-ALL-5904.img or vendor_boot_X-FLASH-ALL-5904.img should be the ones I need, but not sure on that. I'm trying to unpack from the latest version (65.1.A.5.65)
[Sony Xperia 10 IV] loipuru:
how about

(sudo if needed) mount -t ext4 -o ro,loop image_prefix.img wheretomount/

it's always works for me
[Sony Xperia 10 IV] King081:
You can use 7zip on Linux or windows to extract them
[Sony Xperia 10 IV] Uniqu2039:
Figured out what I was doing wrong. Apparently I forgot to do an lpunpack in the process. :cautious:

Tried to make another build based on 65.1.A.5.65 but a repo has been removed (XperiaBrickers-10IV/vendor_sony_murray)

@loipuru are you rolling that Repo into vendor_sony_225? I see some recent changes in that repo, but based on an older release?
[Sony Xperia 10 IV] loipuru:
which one hmm
[Sony Xperia 10 IV] Uniqu2039:
I was using this one:

https://github.com/XperiaBrickers-10IV/vendor_sony_murray

(Which doens't exist anymore, or is made private)
[Sony Xperia 10 IV] loipuru:
oh, because i take over this development right now (but currently busy on xiaomi developing)

my tree almost everyting is working rn (including esim), except wifi...
[Sony Xperia 10 IV] Uniqu2039:
Good to hear that someone is still interested in working on this device!

Stange that wifi isn't working for you. For me everything is working, except for color settings (meaning night light also doesn't work).

Think it is best for me to wait until you got your build system up and running?
[Sony Xperia 10 IV] loipuru:
everything is get fixed here, just only wifi (and charging that capped to 11w due to sony specific changes broke the driver)

if you're lazy to wait https://github.com/sonybasement/device_sony_pdx225/
[Sony Xperia 10 IV] King081:
Oh lol, I'm not gone anywhere still here and very much active, just swapping isps soon so my development is halted till I get switched
[Sony Xperia 10 IV] alfl:
can't wait for a new good working build. I noticed also that the recovery build for microg version is way better to use ( touchscreen support etc.) than the latest normal build. Hopefully some options can be merged. Anyway thanks for the developers to still support the device ..
[Sony Xperia 10 IV] King081:
Yes because I added missing touchscreen FW, once I get my laptop unbricked I'll be building again
[Sony Xperia 10 IV] Uniqu2039:
Good to hear!

Just found another bug. When running a hotspot, the phone reboots after trying to connect from the other device. Possible relevant logcat lines:

WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0x65
LOWI-9.0.0.89.d: [LOWI-Scan] wait_event:Wait done with Cmd 103
LOWI-9.0.0.89.d: [LOWI-Scan] lowi_vendor_cmd_to_nl_cmd: Mismatched IF Index 26, global 24
LOWI-9.0.0.89.d: [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err

A quick search leads to this post:

https://xdaforums.com/t/discussion-wifi-drop-out-issue-on-custom-roms.4091625

But I haven't been able to use the work around proposed over there.
[Sony Xperia 10 IV] Uniqu2039:
Could anyone tell what repositories in XperiaBrickers should now be used for new builds? It seems like the 'murray' repo's are being replaced by others, but its unclear to me what the plan is.
[Sony Xperia 10 IV] 0x1329029:
Same question as @Uniqu2039.

Seems like "device_sony_pdx225_lily" is made by device_sony_murray + device_sony_pdx225

So should we use device_sony_pdx225_lily with vendor_sony_pdx225?
[Sony Xperia 10 IV] 0x1329029:
Tested on XQ-CC72 (dual sim version)

Really smooth

see some issues

1. tap to wake not working

2. wifi hotspot caused reboot when other device is connected

3. notification led can only show red color

4. dual sim not working(I've confirmed can be fixed in devicetree)
[Sony Xperia 10 IV] loipuru:
it's basically forked of my tree which i didn't doing support yet due to having too many devices on hand

which wifi should be working now

1. someone forgot to implement power node, blame the OP

2. it's crash on wifi hal (should be kernel issues), which i can't look for it myself due to don't have device (but i can fix without it if i have enough time)

3. it need to build lights hal, which i can't do it myself due to no device to look on certain nodes (unlike wifi, i can't really fix this without devices unless someone provide me a useful nodes)

4. it can be fix by setting the device to dsds, yes it can be fixed in device tree
[Sony Xperia 10 IV] 0x1329029:
Thanks loipuru

looks like we should focus on the kernel

hope I can help. I own a XQ-CC72 and could dump log or test/port any patch(but I'm still confused about which tree I should use for now)
[Sony Xperia 10 IV] loipuru:
my tree (pdx225_lily on brickers) is basically better bringup, but there's some problem (wifi, mostly)

model detection should works out of box (for automatically addding dsds, ds)

p.s. esim can be added by cherry-pick this, this, this, this and this (also this if you have device mapping problem)
[Sony Xperia 10 IV] Uniqu2039:
Does your tree and that of King at one point merge? If so, I can wait for awhile for things to settle before making a new microg build.
[Sony Xperia 10 IV] 0x1329029:
thanks! will try your tree and vendor
[Sony Xperia 10 IV] Uniqu2039:
Have you been able to build for the device using that tree?

I've been trying for awhile, but keep running into issues, mostly this error:

Don't have a product spec for: 'lineage_pdx225'

I tried modifying files such as lineage_pdx225.mk but that didn't help. Also added vendor files from the newest update (65.1.A.5.65) but that didn't solve it either. Wonder if you had more success.
[Android Head-Units] RafRag:
I was having issues with the bluetooth on my dasaita PX6 for my camry so I tried to install an update on it. little did I know that it was the wrong update. so It updated to android 11 and continues to be in a bootloop. No matter how long I press the RST button it will not load into recovery mode. I have tried what feels like to be countless methods but I am getting no result. please may someone help me.
[Android Head-Units] Anton TNT:
Just use original software update provided from your seller
[Android Head-Units] RafRag:
I really wish I could but the problem is that the headunit is not booting at all its stuck in a loop and it will not go into recovery mode thank you though!
[Android Head-Units] Anton TNT:
Did you install an update or flashed ROM ?
[Android Head-Units] RafRag:
I installed an update. I accidentally installed android 11 thinking it was android 10
[Android Head-Units] Anton TNT:
Use one of the updates for Anroid 10 and with correct resolution

(I presume you have any available)