Unofficial build for Sony Xperia ZX1 Compact (lilac)

Well, you’re right about the question. I just thought if it’s an older Anbdroid I’m no longer on the safe side. But I’ll have a look at mircro.org, so far it’s a white map.

I love this helpful community, big thanks to all of you!
It seems that my XZ1C takes to long time to log into the cellular network after restart or airplane mode. Is there something I could do about that, or how to find out if there is an issue with the device?

1 Like

My XZ1C, too, has always been problematic in this respect, since I started using custom ROMs (/e/OS, and now iodéOS). Usually it eventually connects without intervention, but sometimes it’s just stubborn. At that point I have to switch to 2G/3G and try to force it to connect to some signal, wait for the “E” to display, then switch to 4G. (This is on T-mobile USA, which still has some 2G network remaining.)

I use the *#*#INFO#*#* menu to force-refresh/update, but it still doesn’t respond every time. I’ve even had to switch to a different SIM card, then switch back to the original SIM to reacquire the network.

I’m usually doing this inside my house, which is where I power up the phone, so maybe the signal is weaker there, although outdoors is sometimes problematic, too.

My XZ1 (poplar), on the other hand, performs better, but isn’t VoLTE-capable. (This is currently my main phone, since I now use JMP Chat to handle calls and messaging over the internet, plus a data-only SIM to provide the roaming network connection. That’s instead of a mobile carrier’s SIM.)

Did you look at the settings in the Xperia Parts menu?

For me, it takes about 30s to connect to mobile network/mobile data after booting / airplane mode. I learnt to live with this, it is still tolerable. When there is connection, there are no issues. Switching from 4G to 2G if necessary and vice versa.

I changed the modem in the Xperia parts settings for the better (if I remember this right), never activated the “Network Switcher” as the info does not match the behavior of my phone.
Also I turned the IMS features “on” though I don not use VoLTE as my carrier doesnt support it. And I don know what IMS is… Do I need it to call via Internet (with Signal app f.e.)?
Maybe deactivating it would be better?

IMS features are needed for following features:

  • LTE call. Advantage: mobile data is available during call (in contrast to 2G call) and it is possible where the 2G/3G network is not available or switched off already
  • WIFI call: you can call via WIFI when there is no mobile signal. When you call from any country in the world via WIFI call, it is like if you were in your home country. Conventient when you call family / friends at home from abroad.

When you active IMS features, the phone tries to use modem settings that match to your carrier in your country. When you switch it off, the phone uses a “fall back” modem which works in general with any carrier but then you can only make calls with 2G and LTE and WIFI is only for data. Then, you need a messenger service like Signal for calls via data.

Wow, what a helpful answer, thank you @rom4nb !
Will activate it now :grin:

A new version of TWRP for lilac is available fro download from https://sourceforge.net/projects/yoshino-testbuilds/files/lilac/

Details in this XDA Forum post

This version handles decryption of the data partition, so backup and restore of the data partition should work. I tried the backup and restore on a device runnning an unofficial build of LineageOS, encrypted with a pattern, and it seemed to work fine. One little quirk: when I press Restore, I see a message saying ’ Pattern is enabled. Pattern should be displayed before restore’. I ignored it and swiped to ‘Continue restore’. I hope the misleading message will be removed in a future version, but for now you can just ignore it.

The developer reported that decryption using a PIN also worked

2 Likes

Thank you,
I’m still not really comfortable with the recovery thing.
So I have 2 questions :

  • Do we have to change version or will it work whithout changing it ?
  • If I change recovery, will it erase my data or will it be like when I’m doing a dirty flash and don’t change “anything” ?

Thanks

No. Your existing version will continue to operate as before. The difference is that the new version

  1. can decrypt the phones internal storage (using your pattern or PIN) allowing the decrypted files to be visible in Advanced | File manage, and to be backed up
  2. adb is running by default, so you can use e.g. adb shell to view or change files from the computer, or do most of the things adb can do when the phone is running

The latter. Installing a different recovery doesn’t go anywhere near yor user-installed apps and data (or anything else apart from the existing recovery)

2 Likes

Are we at the end of the road now for 5.x releases for lilac?

No. There was no regular build as Iodé didn’t make a new release for the v5.x devices.

SO there is no new IodéOS code, and no new device-specific code, but there will be changes in the LineageOS sources, so I’ll start a new run of builds for all the Sony Yoshino devices, including lilac. Should be done in the next few hours.

I have sold a couple of XZ1’s already since I decided to offer unsupported as well as officially supported Sony’s (about 10 weeks now), and just put another up. The XZ1 is remarkable running iode when you consider its age, size and performance. I am surprised that iode doesn’t appear to support a single truly compact phone within the whole range of official devices never mind just the Sony one’s. Not everybody wants to walk around with a canoe paddle in their pocket and although it’s probably too late for the XZ1c, (32gb is a little tight for a daily driver these days), the XZ2c is still going strong given the amount of NOS phones being offered from China at the mo’. I’ve done 4 XZ2c’s in the past 10 weeks.

2 Likes

Thanks! This worked on my XZ1 dsds poplar. I thought the hardware had died until Pete pointed me to your fix.

TWRP kept giving me “permission denied” when I tried to run your command, but I eventually just changed to the sdcard directory and ran bash +x imeifix.sh, which ran successfully.

I was also initially confused about “sdcard,” because TWRP File Manager labels the external card “sdcard1.” I figured out it’s just “sdcard” in the terminal, though.

Thanks again.

Did you mean to post in the XZ1 thread?
Disregard; I figured it out. :smile:

Well I guess that was more than I did. I will delete it and move it to the correct thread. Tx for pointing it out.

Damn it… I was in the correct thread anyway. You really couldn’t make this stuff up! I will copy it here…

One of the XZ1’s (5.1.3) came back to me this morning @petefoth . The buyer had decided to do a factory reset because he decided that he wanted a fresh start. So carried out a factory reset but the phone bootlooped between the unlocked bootloader warning and the SONY screen. So I used twrp to carry out a system wipe and reinstall and it booted ok. Had a play with it, all seemed well so did another factory reset and it bootlooped again. Put it back on twrp but this time went into file manager only to find that the data/media file has been deleted by the factory reset. Reinstalled the OS and the data/media/ file was reinstated. Went for a system reboot and all was well again.

Don’t have another one to carry out a test with so scratching my head a little with this one. Any ideas?

1 Like

Sorry - no ideas

I unfortunately damaged my phone last week with a hit on the phone in the pocket, and the screen is broken now. There are repair services but they neither provide original screen nor can maintain water tightness anymore.

but I fortunately found another XZ1C on eBay. XZ1C is amazing and I prefer it to the XZ2C as it has still a headphone jack. :slight_smile:

After a little more twrping I came across an error message that pointed to a possible firmware issue. Some XDA’ing suggested an AOSP reinstall was needed so decided to take that path, reinstalled 5.1.4 again and the problem seems to be resolved.

1 Like