Sony Nagara (Xperia 1IV and 5IV) port

I have presage based keyboard for that.

2 Likes

Looking at eSIM provider and hardware support I’m actually unclear here if this means

a) eSIM slot can also magically become active on SFOS, after flashing it in Android?
b) or we’re just talking about putting a physical eSIM card into that single physical SIM 1 slot?

EDIT btw cc @rinigus

One main difference is Asian versions like XQ-CT72 have 2 physical nano-SIM slots.

yes, getting back to it. will try to find time this weekend and start catching up with @vlagged

5 Likes

No, first I built a Lineage version that supports dual sim. That is currently available for 5 IV, and it works both for 2 physical sims and for 1 sim and 1 esim (if you get the registration working).

We are talking about that too in the wiki/thread. You can imagine somebody with 2 physical sims wanting to change one very often (e.g. travelling).

If the wording needs updating.. it is a wiki :wink:

Hm, with 2 physical SIMs with a p/eSIM installed I don’t see any reason to physically swap SIMs for travel? Or ā€œchangeā€ means ā€œsoftware changeā€ here, meaning loading new eSIM profiles?

Software change, yes

Kernel for 1IV has been updated (in testing and devel). It includes options that where added by @vlagged and a bump in kernel and modules sources. Note that I have done minimal testing so far (from this morning). During update there were 2 reboots (one is expected), but never figured out why. All worked after that. So, if critical, wait till others manage to test first.

Updates as usual, via zypper

5 Likes

Thank you so much for your great work!

I’ve just tested it and zypper ref && zypper dup found and updated 4 packages: droid-hal-pdx223-img-boot, droid-hal-pdx223-vendor_boot, droid-hal-pdx223-vendor-dlkm and droid-hal-version-xqct54. After manually restarting the device there was only one reboot. There’s still no mobile data in AAS (and the SIM card / mobile network entries are still greyed out / not accessible in Android settings)… @bundyo, @aerique, can you guys please let know
if it works on your 1 IV’s?

1 Like

Doesn’t seem to work for me with a simple restart too. Maybe there is something more to it.

EDIT: I didn’t do ssu re 5.0.0.76, so doing it now.

EDIT 2: Nah, doesn’t work either. Maybe newer AAS needed, but that later.

1 Like

OK, thank you for checking!

1 IV is still on 5.0.0.71, so it won’t do anything.

AFAIK, @remote took it from his 10 III running 5.0.0.76 and it works OK on his 5 IV. So it’s quite puzzling… Maybe some of those double-SIM support related changes trigger it to work…

1 Like

Actually mine updated to 5.0.0.76, so probably the OS repo is shared. Didn’t help anyway. However my AAS is not up to date, so I’ll check that later, when I get to my 10 V.

1 Like

It would be also great to hear from other 5 IV owners if it works for them. IIRC, so far @remote has been the ONLY person who reported it working, so maybe there’s something specific about his setup… It’ll be really hard with such low feedback…

I’m not the only one :slight_smile:
Another sailor PMed me and:

i’ve installed AAS on my xperia 5iv and it works! The mobile data works without problem.

3 Likes

I installed AAS on Xperia 1IV. Mobile data transmission is working.

2 Likes

From which device and which OS version?

OK, thank you @remote and @zuyev for your response. So now the big question is what you guys have different than me and @bundyo so that it works for you while it doesn’t for us…. Can you please share some more details like which LOS image you use, which SFOS image (.62, .71, .76?), then upgraded (via zypper dup or version –dup) to some higher version or not?, which AAS version from what device, etc. Thank you very much in advance!

1 Like

Xperia 1 IV XQ-CT72 Dual physical SIM Android 14 64.2.A.2.265

  1. https://github.com/sailfishos-sony-nagara/main/releases/tag/0.1

lineage-21.0-20251108-SFOSBASE-pdx223.zip

Flashing Lineage OS 21 as a base: instructions

  1. https://github.com/sailfishos-sony-nagara/main/releases/tag/0.2

sailfishos-Xperia-1-IV-XQCT54-5.0.0.71-testing.zip

Flashing Sailfish: instructions

  1. devel-su
  2. ssu re 5.0.0.76
  3. zypper ref
  4. zypper dup
  5. Installing AAS from Xperia 10 IV 5.0.0.76

Mobile data transmission is working.

But only 1 SIM worked.

For the second SIM card to work:

  1. https://forum.sailfishos.org/t/sony-nagara-xperia-1iv-and-5iv-port/25136/331
  2. Install jolla-settings-networking-multisim
  3. Edit the files: /etc/ofono/binder.d/dual-sim.conf and /etc/ofono/ril_subscription.d/dual-sim.conf/etc/ofono/ril_subscription.d/dual-sim.conf
devel-su
pkcon install jolla-settings-networking-multisim

# cat /etc/ofono/binder.d/dual-sim.conf
[Settings]
ExpectSlots+=slot2

[slot2]
path = /ril_1
slot = 1

# cat /etc/ofono/ril_subscription.d/dual-sim.conf
[ril_1]
transport=binder:name=slot2
name=slot2
ecclistFile=/run/ofono/ril.ecclist1

I’ve got:

  • same LOS base
  • same initial SFOS image
  • updated to .76 same way
  • AAS from 10 V

yet it just doesn’t work. Not only mobile data isn’t available but in Android settings SIM card and IMEI information (for both slots) is ā€œUnavailableā€.
I’m running out of ideas.

I used XperiFirm to get Android 14 (HK 64.2.A.2.265) firmware. I flashed it with Newflasher. Only then did I flash LOS.

As both you and @remote have the physical dual-sim models, I’m starting to think that maybe it has something to do with it…. Everything else seems to be exactly the same. I’d accept that maybe I have something screwed up on my 1 IV if not @bundyo who seems to have the same problem with the exact same 1 IV as mine….

Edit: I’ve just checked in fastboot and getvar version-baseband reports 64.2.A.2.258 baseband, which seems to be the latest version available for the XQ-CT54…

Should I patch and flash vendor.img for two SIM slots despite having the single SIM + eSIM version?