LineageOS 16.0 for Sony Xperia XZ1 Compact
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ1 Compact. It offers several privacy features and F-Droid App Store preinstalled. If you're coming from LineageOS 15.1 you can simply update! No need to wipe anything.
FEATURES
Signed with dev keys
FDroid preinstalled
FDroid Privilege Extension
Well tested but some bugs maybe included
DOWNLOAD
You can download the latest release here. Check the ChangeLog below for firmware requirements!
INSTALLATION
Put the zip file of the ROM on you sdcard or internal store and boot into recovery. If you use my TWRP recovery, you should use that one to flash the ROM.
Make sure you select Zip signature verification.
This will make sure the zip file has not been altered!
KNOWN ISSUES
NFC is not working yet
Phone doesn't work well with Mifare NFC tokens
IMS does not fully work for some carriers yet
XDA:DevDB Information
lineageos_16_sony_lilac, ROM for the Sony Xperia XZ1 Compact
Contributors
modpunk, derf elot, myself5
Source Code: https://github.com/cryptomilk/android_device_sony_lilac
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2020-02-11
Created 2019-04-28
Last Updated 2020-02-11
SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
UPGRADE LINEAGEOS
If you're running LineageOS 15.1 you can simply flash LineageOS 16.0, upgrade the firmware for modem etc. and be done. There is no need to wipe the data partition, just clean dalvik and cache after updating LineageOS.
UPGRADE FIRMWARE
Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
Grab newflasher and put it in the same folder as the firmware files.
Read the newflasher original post on XDA for general instructions!
Remove the follwing from the folder so they won't get flashed:
all *.ta files (keep the one in the boot/ directory)
cache*.sin
fotakernel*.sin
kernel*.sin
persist*.sin
system*.sin
userdata*.sin
vendor*.sin
Turn off your phone
Hold the volume down button and attach it via USB to your system till you see LED turning green
Run newflasher from within this directory to flash the remaining files
You can say yes to the first optional step, in case you dont have working drivers installed.
Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.
How to get root?
Flash the su addon from LineageOS you can find here: https://download.lineageos.org/extras
Google Apps
You can download and install the Google Apps from opengapps.org. You need ARM64 and 9.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.
Privacy Guard for GApps
I wouldn't run GApps without Privcy Guard. Here is what you need to do:
Go to: Settings -> Security & location -> Privacy Guard
Open the advanced menu (3 dots) and select: Enable by default and Show built-in apps.
Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.
FDroid
This ROM comes with FDroid and the Privilege Extension pre-installed.
MicroG
This ROM doesn't support Signature Spoofing. However we are watching MicroG and check if they provide newer builds e.g. for Android Pie.
Simple Mobile Tools
This is a collection of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks app.
You can find them in FDroid and the Play Store.
Known Issues
Some apps don't work (Gardenscapes, Die Zeit, ...)
When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!
REQUIRED FIRMWARE: 47.2.A.11.228
CHANGELOG
2020-02-11 | 1.2 | 47.2.A.11.228
Fixed issues with storing app data on sd card
2020-01-30 | 1.1 | 47.2.A.11.228
Update to kernel 4.4.213
2019-12-15 | 1.0 | 47.2.A.11.228
Update to kernel 4.4.206
Updated FDroid
2019-11-18 | RC6 | 47.2.A.11.228
Update to kernel 4.4.202
Added FlipFlap cover support
Updated FDroid
Fixed tethering issues
2019-10-18 | RC5 | 47.2.A.11.228
Update to kernel 4.4.196
Fixed FDroid permissions
Fixed application pinning
Moved to stock audio hal
Updated vendor properties
2019-09-18 | RC4 | 47.2.A.10.107
Update to kernel 4.4.193
Added WFD support
Fixed issue with NFC
Several cleanups in the device tree
2019-08-14 | RC3 | 47.2.A.10.107
Fixed random reboots (bad CAF kernel patch)
Fixed perf service and power HAL
Fixed issue showing white sony logo for too long
Fixed NFC
Fixed live display issues
2019-07-08 | RC2 | 47.2.A.10.80
Enabled bokeh mode in Snap
Fixed bluetooth issues
Fixed IMS
Fixed irq balancing
Updated kernel to latest version
Updated Android to 9.0_r44
2019-06-11 | RC1 | 47.2.A.10.62
More power efficient Kernel build
Added Sony Camera App
Improved wifi support and enabled some features
Fixed UFS firmware updates
Fixed brightness levels
Fixed some random reboot issues
Fixed some video issues with netflix
Fixed system permission issues
Fixed airplane mode
Fixed adaptive display issues
2019-04-29 | RC0 | 47.2.A.10.45
Initial release
YES!!! I am so excited about this moment that I want to have sex with it!
Quick question:
Any chance there will be a version without FDroid? (or, can it simply be uninstalled?)
You guys are the best!
EDIT: removed stupid question
modpunk said:
REQUIRED FIRMWARE: 47.2.A.10.45
CHANGELOG
2019-XX-XX
Initial release
Click to expand...
Click to collapse
@modpunk
Hey, I don't wanna trouble you but i have alot of problem with internet connectivity and slow connection can you upload the required firmware files in zip ,I will be really grateful and wouldn't have to spend all my time downloading the whole fw
Thanks in advance
modpunk said:
REQUIRED FIRMWARE: 47.2.A.10.45
CHANGELOG
2019-XX-XX
Initial release
Click to expand...
Click to collapse
thank you!
Can you upload on Androidfilehost?
And I can’t download this file
Hrelativity said:
thank you!
Can you upload on Androidfilehost?
And I can’t download this file
Click to expand...
Click to collapse
For now, this thread is only a placeholder. A preparation for the "XDA-official" release of LOS16.
Edit: Ha ha, RC0 released already. Download problem solved then.
RC0 released ...
If you coming from stock don't forget to update to latest TWRP 3.3.3 and also to mount system and advanced wipe it. Working really well on this end thanks for the great work devs
I'm very happy lineageOS 16 is ready! I will flash it when I know more of its battery drain, stock Android 9 sucked a lot in this when I upgraded my phone and I decided to go back to Oreo (lineageOS 15.1,that's better!)
Just added back the stock camera and addons. Everything seems to work fine.
derf elot said:
Just added back the stock camera and addons. Everything seems to work fine.
Click to expand...
Click to collapse
May I ask, which stock camera you are referring to? Stock Sony or stock LOS?
Thanks!
beggar23 said:
May I ask, which stock camera you are referring to? Stock Sony or stock LOS?
Thanks!
Click to expand...
Click to collapse
Sony stock camera, including (super) slomo, etc.. The LOS one was included already.
Blowing my mind @Derfelot . FYI running the extract-files.sh script leads to lots of files being irretrievable. Using the cryptomilk repos, will try pulling from the un-sin files today or tomorrow.
derf elot said:
Sony stock camera, including (super) slomo, etc.. The LOS one was included already.
Click to expand...
Click to collapse
Brilliant! Already included in download-ready RC0?
mcgi5sr2 said:
Blowing my mind @Derfelot . FYI running the extract-files.sh script leads to lots of files being irretrievable. Using the cryptomilk repos, will try pulling from the un-sin files today or tomorrow.
Click to expand...
Click to collapse
Yes, only the pinned files are in the vendor repo as usual. You need to unsin and extract ramdisk/system/vendor from stock and run the script on that.
beggar23 said:
Brilliant! Already included in download-ready RC0?
Click to expand...
Click to collapse
No, it'll be in next release.
So, it doesn't work well for me.
I came from 47.2.A.10.45 stock (unlocked bootloader), wiped the system partition, installed it and it boots fine.
Then it struggles to get any mobile data (T-Mobile DE), before that the Gapps first installation wizard won't look for Wifi.
After that it loops at "Setting up..." until the screen gets brighter and hangs itself completely.
Not sure if I borked something beforehand or the Gapps 29. April 2019 is borked.
Probably the first option.
Sadly, I can't provide any logcat.
HeavyMoertel said:
So, it doesn't work well for me.
I came from 47.2.A.10.45 stock (unlocked bootloader), wiped the system partition, installed it and it boots fine.
Then it struggles to get any mobile data (T-Mobile DE), before that the Gapps first installation wizard won't look for Wifi.
After that it loops at "Setting up..." until the screen gets brighter and hangs itself completely.
Not sure if I borked something beforehand or the Gapps 29. April 2019 is borked.
Probably the first option.
Sadly, I can't provide any logcat.
Click to expand...
Click to collapse
i am relatively sure that you need to format data (not just wipe) in twrp if you come from stock. so you need to backup stuff from internal storage and use titaniumbackup (or similar apps) to backup app specific data.
derf elot said:
i am relatively sure that you need to format data (not just wipe) in twrp if you come from stock. so you need to backup stuff from internal storage and use titaniumbackup (or similar apps) to backup app specific data.
Click to expand...
Click to collapse
Yeah, that's what I did.
Format data, wiped /system for good measure. Still acting iffy.
I'm considering downgrading to stock 8.1, go LOS15.1 and upgrade from there.
A couple of questions
Hi everyone. I'm currently on AOSP Extended 9.0 on my XZ1 compact, since Lineage wasn't avaliable then. Now, I don't know if i should do the change to this rom again.
First of all, are there all the customizations of AEX? there are a lot of them, and they work really well, so it woud be sad to loose them.
Second, in EAX I'm having problems with the camera, since the AEX stock sucks and any other app is not working, presumably due to no support for Camera2 API Level 3, only Legacy or (installing a mod or two) Full. Could anyone confirm me if LOS 9.0 Suport Level 3??? It's pretty easy to know, you only have to download Camera2 API Probe from play store . It would help to change my mind !
Third: your opinion!!!
Thanks to all the work, and the answer (I hope)!!!
Related
LineageOS 15.1 for Sony Xperia XZ1 Compact
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BETA RELEASE
This release is a beta release. It works very well and can be used as a daily driver. Please check the lists about what works or not below and check what needs testing and feedback.
FEATURES
Signed with dev keys
FDroid preinstalled
FDroid Privilege Extension
Bugs included
DOWNLOAD
You can download the latest release here. Check the ChangeLog below for firmware requirements!
INSTALLATION
Put the zip file of the ROM on you sdcard or internal store and boot into recovery. If you use my TWRP recovery, you should use that one to flash the ROM.
Make sure you select Zip signature verification.
This will make sure the zip file has not been altered!
KNOWN ISSUES
IMS support is missing (we are working on it, but it isn't trivial)
HARDWARE
Phone doesn't work well with Mifare NFC tokens
IMS does not fully work for some carriers yet
UNTESTED
XDA:DevDB Information
lineageos_sony_lilac, ROM for the Sony Xperia XZ1 Compact
Contributors
modpunk, derf elot
Source Code: https://github.com/cryptomilk/android_device_sony_lilac
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: TWRP Recovery
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 8
Beta Release Date: 2018-10-22
Created 2018-02-05
Last Updated 2018-10-22
UPGRADE FIRMWARE
Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
Grab newflasher and put it in the same folder as the firmware files.
Read the newflasher original post on XDA for general instructions!
Remove the follwing from the folder so they won't get flashed:
all *.ta files (keep the one in the boot/ directory)
cache*.sin
fotakernel*.sin
kernel*.sin
system*.sin
userdata*.sin
vendor*.sin
Turn off your phone
Hold the volume down button and attach it via USB to your system till you see LED turning green
Run newflasher from within this directory to flash the remaining files
You can say yes to the first optional step, in case you dont have working drivers installed.
Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.
Google Apps
You can download and install the Google Apps from opengapps.org. You need ARM64 and 8.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.
Privacy Guard for GApps
I wouldn't run GApps without Privcy Guard. Here is what you need to do:
Go to: Settings -> Security & location -> Privacy Guard
Open the advanced menu (3 dots) and select: Enable by default and Show built-in apps.
Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.
FDroid
This ROM comes with FDroid and the Privilege Extension pre-installed.
MicroG
Doesn't provide API level 27 builds yet ... will probably available in future with signature spoofing.
Simple Mobile Tools
This is a collection of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks app.
You can find them in FDroid and the Play Store.
Known Issues
Some apps don't work (Gardenscapes, Die Zeit, ...)
When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!
CHANGELOG
2018-10-22
Updated Kernel to version 4.4.161
Use same vibration strength as stock
Updated GPS stack
Recommended firmware: 47.1.A.16.20
2018-09-17
Updated Kernel to version 4.4.156
Improved GPS performance, GPS fix in less than 10 seconds now
Added stock camera app
Recommended firmware: 47.1.A.16.20
2018-08-14
Updated Kernel to version 4.4.147
Some performance improvements (The system should be more responsive)
Improvements to save some battery
Fixed touch pressure issues
Requires firmware version: 47.1.A.12.270
2018-06-12
Updated Kernel to version 4.4.136
Added support for WireGuard VPN
Added support for Sony modem configurations
2018-05-16
Updated to completely new kernel which follows Linux 4.4.x stable (Thanks @derf elot)
Updated display stack to newer version
Fixed USB Tethering which broke with BETA2
More volume steps for media playback
Fixed IRQ balancing (found by derf elot) (This is broken in Stock ...)
2018-04-16
Updated to April build
Fixed 'OK Google'
Fixed wifi startup issues
Fixed GPS issues
2018-03-23
Kernel bugfixes
Native exfat support
Several audio improvements
Updated vibration patterns
Updated brightness levels
Fixed IMS
Fixed MTP
Fixed offmode charging
2018-02-19
Added HWComposer improvements (efficient ColorTransform)
Added Kernel support for exfat formatted sdcards
Added Vulkan compute feature
Added IPv6 ebtables
Switched Snap to Camera API2 with extended features (ubifocus, optizoom, blur, pro mode, etc.)
Fixed headphones audio
Fixed NFC
Fixed tethering support
Fixed audio effects
2018-02-06
The big bang!
Thank you so much for all your hard work in getting this to the forums.
This includes DRM fix presumably?
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
Dinowaffles said:
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
Click to expand...
Click to collapse
I will provide a ROM with MicroG, but not on the first release. MicroG needs to compile their stuff with API level 27 first ...
I think it would be preferrable to not ship any version of GApps with the ROM. This way, everyone can install what they want.
Thank you! Downloading.
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
@modpunk
Thank you for your hard work!
Just a feature request.
https://www.xda-developers.com/wireguard-vpn-project-support-android-roms/
https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
Will updates come via OTA or do I check the thread now and then?
akonet.android said:
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
Click to expand...
Click to collapse
You also wiped dalvik and cache?
akonet.android said:
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
Click to expand...
Click to collapse
try reinstalling the boot.img manually...
let me know
modpunk said:
You also wiped dalvik and cache?
Click to expand...
Click to collapse
Burakki said:
try reinstalling the boot.img manually...
let me know
Click to expand...
Click to collapse
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
akonet.android said:
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
Click to expand...
Click to collapse
I'm reuploading the ROM.
akonet.android said:
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
Click to expand...
Click to collapse
The upload finally finished. Could you please re-download and try again?
modpunk said:
The upload finally finished. Could you please re-download and try again?
Click to expand...
Click to collapse
Works now. Thank You. Very pleased.
ROM is working. Great!
But I think MTP is not working.
could someone clear up the securitypatch and rom relation?
do i just flash the latest of your twrp and LOS? are they synced so to speak?
Thanks ahead
Flawless installation.
Flashed twrp, rom and magisk.
Its a good feeling when everything just works.
Huge thanks!!
Hi, i have some problems with the GPS + google maps. The navigation is very low. After the phone has found my location, maps doesn't work...
LineageOS 18.1 for Sony Xperia XZ Premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
EAS kernel (thanks to @linckandrea )
Forced Encryption with FDE (Full Disk Encryption)
DOWNLOAD
Please check changelogs and download links at #2
maple (G8141):
twrp-3.5.0-0-20210117-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this thread.
3. Format data and wipe everything.
4. Flash the ROM, GApps (if needed) and root (if needed).
5. If you have IMS (VoLTE) working on stock, enable IMS in Settings - XperiaParts.
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or fastboot -w. This is required because there are some adjusts in userdata image size to fix FDE encryption.
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
WFD is not working
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
Contributors
derf elot, modpunk, Rooted_Ansh, linckandrea
Telegram Group
[Tinder][EN/DE/♋] Xperia XZ Premium - Sticker Fightz Biatch
Development group for XZP - Lead by: Everyone Do not spam and cooperate with developers. Google first before asking any help
t.me
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2022-03-23
Thread Information
Created 2021-01-21
Last Updated 2022-03-23
2022-03-23
Last build of Lineage 18.1 (and probably nobody needs this anymore)
Lineage 19.1 is already available, check this thread.
G8141: https://androidfilehost.com/?fid=14655340768118440781
G8142: https://androidfilehost.com/?fid=14655340768118440782
2021-10-7
irregular update
G8141: https://www.androidfilehost.com/?fid=7161016148664819265
G8142: https://www.androidfilehost.com/?fid=7161016148664819266
2021-6-29
irregular update
G8141: lineage-18.1-20210628-UNOFFICIAL-maple.zip
G8142: lineage-18.1-20210628-UNOFFICIAL-maple_dsds.zip
2021-3-31
March Security Update
Vulkan fix (thanks to @linckandrea )
New IMS implement (Please enable IMS option in Xperia Parts if you have IMS working on stock.)
EAS kernel (thanks to @linckandrea )
Forced Encryption since this release.
Download links:
G8141: lineage-18.1-20210331-UNOFFICIAL-maple.zip
G8142: lineage-18.1-20210331-UNOFFICIAL-maple_dsds.zip
2021-01-20
Initial release. Download links:
G8141:lineage-18.1-20210120-UNOFFICIAL-maple
G8142: lineage-18.1-20210119-UNOFFICIAL-maple_dsds
Reserved.
No1Alien said:
LineageOS 18.1 for Sony Xperia XZ Premium
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
FDE Encryption support
DOWNLOAD
You can download the latest releases here:
maple (G8141):
twrp-3.5.0-0-20210117-maple
lineage-18.1-20210120-UNOFFICIAL-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
lineage-18.1-20210119-UNOFFICIAL-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this post.
3. Flash the ROM, GApps (if needed) and root (if needed).
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
WFD is not working yet (waiting for new non-BSP blobs)
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
Contributors
derf elot, modpunk, Rooted_Ansh
Telegram Group
[Tinder][EN/DE/♋] Xperia XZ Premium - Sticker Fightz Biatch
Development group for XZP - Lead by: Everyone Do not spam and cooperate with developers. Google first before asking any help
t.me
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2021-01-21
Thread Information
Created 2021-01-21
Last Updated 2021-01-21
Click to expand...
Click to collapse
Awesome work mate!
just tried flashing twrp to my phone (single sim) running aosp 11, and it couldnt get past the splash screen.
also tried fastboot booting the image,and it just hangs on the sony logo.
it could be the kernel im using, ill try a complete wipe and reinstall of this rom and twrp tonight.
EDIT: flashing stock rom to start fixed it. everything works as it should now.
Gcam desteği?
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
On my g8141 all things work. I have flash twrp 3.5 with old 3.4 . Format data,reboot twrp,format data,reboot back to twrp. After this 2 format,i flash the rom+gapps mini.(no reflash stock)All runs good. But i miss the PixelExp
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
i was having the same issue, i fixed it by flashing back to stock firmware before flashing twrp and this rom.
now running twrp 3.5.0 and lineageos 18.1 rooted with magisk 21.4 with no issues.
born2bkilled said:
just tried flashing twrp to my phone (single sim) running aosp 11, and it couldnt get past the splash screen.
also tried fastboot booting the image,and it just hangs on the sony logo.
it could be the kernel im using, ill try a complete wipe and reinstall of this rom and twrp tonight.
EDIT: flashing stock rom to start fixed it. everything works as it should now.
Click to expand...
Click to collapse
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
No1Alien said:
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or fastboot -w. This is required because there are some adjusts in userdata image size to fix FDE encryption.
Click to expand...
Click to collapse
Thank you for your feedback, but the situation is the same with TWRP. I've used fastboot -w. nothing changed. Then I format data from the new TWRP 3.5 and after reboot I can't go to TWRP again. Some other ideas what I can try? Regards
ted5300 said:
Thank you for your feedback, but the situation is the same with TWRP. I've used fastboot -w. nothing changed. Then I format data from the new TWRP 3.5 and after reboot I can't go to TWRP again. Some other ideas what I can try? Regards
Click to expand...
Click to collapse
Start from stock ROM. Use xperifirm to download the latest stock Rom and use newflasher to flash it. Then flash twrp, lineage and magisk.
Thats how I did it.
Thanks for your hard work on this. Flashed this, working great, love having 2 day battery life. With NO gapps. It’s all about privacy
Hopefully you are still working on is
First of all: Many thanks for spending all the effort to create this ROM for the old Sony XZ Premium!!!
So far I was using Bliss ROM but the new Android security issues made me to wake up and look for something fresher ;-)
I do have a G8141 (German) device. Flashing worked quite well and the system was booting up quickly. (ROM+TWRP 3.5+openGApps nano+Magist 21.4)
So far I detected just one issue yet which I would like to report:
WLAN and mobile connection not stable. I required me 4 reboot attempts to get a more stable connection. WLAN was constantly dropping out and only a reboot at the end made the device to reconnect. Same for cellular connection. After around 4 reboots I have a stable connection now.
I will monitor the behaviour and hopefully it will become stable after all Google Apps are installed etc..
I will let you know.
NFec__ said:
First of all: Many thanks for spending all the effort to create this ROM for the old Sony XZ Premium!!!
So far I was using Bliss ROM but the new Android security issues made me to wake up and look for something fresher ;-)
I do have a G8141 (German) device. Flashing worked quite well and the system was booting up quickly. (ROM+TWRP 3.5+openGApps nano+Magist 21.4)
So far I detected just one issue yet which I would like to report:
WLAN and mobile connection not stable. I required me 4 reboot attempts to get a more stable connection. WLAN was constantly dropping out and only a reboot at the end made the device to reconnect. Same for cellular connection. After around 4 reboots I have a stable connection now.
I will monitor the behaviour and hopefully it will become stable after all Google Apps are installed etc..
I will let you know.
Click to expand...
Click to collapse
Finally I am giving up. I am not able to get a stable WLAN or cellular connection. After installing it again and again (format data twice, factory reset etc., starting all over with latest stock FW) am not getting it working properly. After 1-2 hours, WLAN is not able to connect anymore and cellular is detected incl. carrier but dropping off and data connection not possible to establish.
Really strange was the latest/ last Sony FW everything works. With other ROMS I am running into similar problems. Sometimes cellular is not detected, but WLAN works and sometimes both are not working. Last fully working alternative ROM was Bliss from late September 2020. After reading that several of you are successfully using this ROM I start to believe that this is perhaps a problem with my device made for the German market...
Is there an option to hide the "hide keyboard" button at the bottom while typing? I've already used full gesture but it still shows a bar with hide keyboard button at the bottom while typing.
Thanks OP for bringing LOS18 to maple!!
The best Android 11 ROM. Using it for over a week and everything works. Battery life is two days with regular use.
Weird, after installation and enter the SIM pin and connect to the Wi-Fi network, it take me charge directly from the carrier network for data. Sould be better what connection I will choose during the first installation as primary (Wi-Fi or mobile ) and not connecting by default directly to the mobile internet. With others Android 11 ROMs this issue not exits. Some thoughts?
fastboot -w
install twrp-3.5.0-0-20210117-maple
install lineage-18.1-20210120-UNOFFICIAL-maple from twrp
I want to install gapps but after first run i cannot back to twrp - when I try to run in recovery mode I only see black screen.
I try to install oldest twrp - no results.
Any idea what is the problem ?
Margiel said:
fastboot -w
install twrp-3.5.0-0-20210117-maple
install lineage-18.1-20210120-UNOFFICIAL-maple from twrp
I want to install gapps but after first run i cannot back to twrp - when I try to run in recovery mode I only see black screen.
I try to install oldest twrp - no results.
Any idea what is the problem ?
Click to expand...
Click to collapse
That’s what just happened to me. But I didn’t install gapps. Just went black screen, won’t boot up. Also I’ve had it running for about 3-4 weeks with no issues. Now this. Can’t even get into twrp
LineageOS 19.1 for Sony Xperia XZ Premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
Real vendor partition
FBE instead of FDE encryption
DOWNLOAD
You can download the latest releases and TWRP here:
https://androidfilehost.com/?w=files&flid=333825
Check the ChangeLog below for firmware requirements!
INSTALLATION
This build uses a real vendor partition in place for the (now) useless oem partition. You will therefore need the modified TWRP with vendor/FBE support linked above.
Before first install: flash and boot into TWRP, format data, reboot to recovery and wipe all internal partitions.
After above step / any subsequent dirty flashes: Boot into recovery, put the ROM, GApps and root (if needed) on sdcard and flash.
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
When updating from previous builds, simply dirty flash the ROM, together with any GApps and/or other modifications - addon.d will not work due to currently unavailable TWRP decryption.
Recommended GApps: MindTheGapps-12.1.0
KNOWN ISSUES
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh
Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, No1Alien, sohrab1985
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 12.1 / 12L
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2022-04-20
SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
How to get root?
As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
REQUIRED FIRMWARE: 47.2.A.10.107 (47.2.A.11.239 should also work as there isn't any real changes)
CHANGELOG
2022-04-20 | 1.3| 47.2.A.10.107
Initial release
Thanks for your work. And can the kernel support f2fs filesystem? Does the camera work if i use another gpu driver?
ssdsw said:
Thanks for your work. And can the kernel support f2fs filesystem? Does the camera work if i use another gpu driver?
Click to expand...
Click to collapse
f2fs is enabled in the kernel ( https://github.com/whatawurst/andro...8998-yoshino-maple_dsds_defconfig#L4632-L4636 ), but that doesn't mean you can use it as is. You would have to adjust the fstab's. No that I would recommend it, seeing as f2fs hasn't really received a lot of updates/(security) fixes for 4.4 kernels in recent times.
And no, you cannot update the gpu drivers. The Sony stock camera blobs are quite dependent on a specific tag.
derf elot said:
f2fs is enabled in the kernel ( https://github.com/whatawurst/andro...8998-yoshino-maple_dsds_defconfig#L4632-L4636 ), but that doesn't mean you can use it as is. You would have to adjust the fstab's. No that I would recommend it, seeing as f2fs hasn't really received a lot of updates/(security) fixes for 4.4 kernels in recent times.
And no, you cannot update the gpu drivers. The Sony stock camera blobs are quite dependent on a specific tag.
Click to expand...
Click to collapse
is there any clues/guide on how to edit the fstab?
so we can use f2fs on data & cache
is signature spoofing (for microg) enabled?
and as i already have installed the ArrowOS build of avl.callista which is based on your work: flash Stock ROM and then install your twrp+rom? or is stock rom step not necessary and it's enough to flash twrp+rom?
m00ns0rr0w said:
is signature spoofing (for microg) enabled?
and as i already have installed the ArrowOS build of avl.callista which is based on your work: flash Stock ROM and then install your twrp+rom? or is stock rom step not necessary and it's enough to flash twrp+rom?
Click to expand...
Click to collapse
no, spoofing is not enabled. I have made builds for 19 before with spoofing enabled, so it works. but rebuilding with spoofing enabled takes a while every time, since it includes changes in fw/b and that's a hefty compile.
as for flashing over another rom: it may or may not work. upgrading from los 18 should work by flashing rom together with 12.1 microg, but no idea about migrating from one rom to another.
derf elot said:
no, spoofing is not enabled. I have made builds for 19 before with spoofing enabled, so it works. but rebuilding with spoofing enabled takes a while every time, since it includes changes in fw/b and that's a hefty compile.
as for flashing over another rom: it may or may not work. upgrading from los 18 should work by flashing rom together with 12.1 microg, but no idea about migrating from one rom to another.
Click to expand...
Click to collapse
hi,
thx for your answer. i was just curious, as the arrowos build is based on your work and has signature spoofing enabled. But if, as you write, that's a lot of work then ... no problem. the arrowos version is stable
And, without signature spoofing, the part with "howto best migrate from rom A to rom B" is obsolete Self-building doesn't seem to be an option, as the hardware requirements seem a bit ... ambitious
Thanks for the great ROM.
I did a few tests today and I couldn't find anything broken.
The only issue I have found so far is when I take a picture or video with Open Camera and try to open it for preview inside the app. It does not work.
Thanks for your working on the ROM.
I found that LOS installed on my G8142 seems to have screen always on when charging, both on 18.1 and 19.1 (which is this one). How to turn it off?
Very nice, THANK YOU for great rom, i am testing it rn, so far so good.
To save someone a troubles i encountered:
I am comming from rooted stock .107, please all do flash correct TWRP!!! , i was slopy but have experience in flashing so i just dirtyflashed it on old TWRP, phone hanged prior to accessing twrp, could not hardreset or annything haha and i had to pull my battery so please just in case FLASH CORRECT TWRP
I like it alot, am switching to daily
stipi69 said:
Very nice, THANK YOU for great rom, i am testing it rn, so far so good.
To save someone a troubles i encountered:
I am comming from rooted stock .107, please all do flash correct TWRP!!! , i was slopy but have experience in flashing so i just dirtyflashed it on old TWRP, phone hanged prior to accessing twrp, could not hardreset or annything haha and i had to pull my battery so please just in case FLASH CORRECT TWRP
I like it alot, am switching to daily
Click to expand...
Click to collapse
Great, yes it needs the twrp I uploaded because of vendor partition and change from fde to fbe.
But just for reference, pulling the battery should not be necessary if it gets stuck. it should be enough to press and hold vol up (or down, I forget because I haven't needed it in a while) + power. it'll vibrate once, but keep holding it until it vibrates twice in quick succession. that should power it off. you can then enter fastboot to flash twrp or flash mode to flash stock.
derf elot said:
Great, yes it needs the twrp I uploaded because of vendor partition and change from fde to fbe.
But just for reference, pulling the battery should not be necessary if it gets stuck. it should be enough to press and hold vol up (or down, I forget because I haven't needed it in a while) + power. it'll vibrate once, but keep holding it until it vibrates twice in quick succession. that should power it off. you can then enter fastboot to flash twrp or flash mode to flash stock.
Click to expand...
Click to collapse
I agree, but i have faulty vol+ key so i was having a hard part sadlly.
Can i ask you something i see this problem 1+ years on all Lineage roms and i am not a developer:
SETTINGS / DISPLAY / LIVE DISPLAY / COLOR PROFILE / VIVID
If i choose this profile i get like 8 bit colors after a while of use, but realy like this profile... i adjusted it manualy now its good looking and stable but wondering if it is XZ P specific or all lineage
short message: my SIM card isn't working with this ROM.
long message: today i installed this ROM. I first flashed stock ROM, booted into it once, and then flashed this ROM. But, as with the ArrowOS ROM, my SIM card isn't working.
More Details: after fresh install of this ROM and during boot i enter the SIM PIN (so that works), but after boot it says: "service not available" (Dienst nicht verfügbar). I'm unable to get it working.
Provider: congstar (telekom daughter). The SIM worked with stock ROM, and it works in an older Samsung S5. Just for curiosity i flashed stock ROM again and
Yeah, i know, no warranty, but... someone had such a problem before?
thx
geee... getting crazy here... after the next (test) flash of this ROM the SIM suddenly works, as well as phone calls, SMS, ...
what's the difference to the first flash? after latest stock ROM flash i left the SIM inside, and the stock ROM (or the telekom software) did some settings, rebooted, and then i started the last flash. Is there something magic that is happening here?
if i had more hair all of it would be bright gray...
OK, after almost a week... no SIM card problems anymore. ROM is running stable.
Just some apps that somehow rely on Google Play Services (or microg maybe) don't run: apps that warn regarding severe weather conditions or catastrophes, like 'DWD Warnwetter', 'NINA KatWarn' etc.. Push notifications...
ROM is stable, and i finally managed the signature spoofing + microg stuff. Thx to @Yokurt815 and his little list in the XZ1C thread - going step by step, writing it all down, finally succeeded.
Am i right that the magisk/lygisk stuff has to be done again after flashing an possibly upcoming ROM update?
Big thanks to @derf elot for this rom
A couple of things though . . .
Anyone got this setting to turn on?
All languages set to English AU
Mind the gapps 12.1 installed
Google set to default assistant
Also, trying to search in settings causes a crash.
shoey63 said:
Big thanks to @derf elot for this rom
A couple of things though . . .
Anyone got this setting to turn on?
All languages set to English AU
Mind the gapps 12.1 installed
Google set to default assistant
Also, trying to search in settings causes a crash.
View attachment 5643169
Click to expand...
Click to collapse
Edited: NVM, seems like it won't work neither.
You need to set Ok Google/Hey Google at first boot; otherwise, it won't work.
LineageOS 19.1 for Sony Xperia XZ1 Compact
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ1 Compact, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
DOWNLOAD
You can download the latest ROM releases here: https://androidfilehost.com/?w=files&flid=333224
Latest TWRP: https://dl.twrp.me/lilac/
Check the ChangeLog below for firmware requirements!
INSTALLATION
Before first install: flash and boot into TWRP, format data, reboot to recovery and wipe all internal partitions.
After above step / any subsequent dirty flashes: Boot into recovery, put the ROM, GApps and root (if needed) on sdcard and flash.
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
When updating from previous builds, simply dirty flash the ROM, together with any GApps and/or other modifications - addon.d will not work due to currently unavailable TWRP decryption.
Recommended GApps: MindTheGapps-12.1.0
KNOWN ISSUES
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh
Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985
Source Code
https://github.com/whatawurst/android_device_sony_lilac
https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 12
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Current Stable Version: 1.6
Stable Release Date: 2022-09-18
SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
How to get root?
As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
REQUIRED FIRMWARE:
CHANGELOG
2022-09-18 | 1.6| 47.2.A.11.228
* Final release, fixed DRM, WebView/Chrome issues in 1.5
* GPS config update
2022-04-20 | 1.3| 47.2.A.11.228
Initial release
tried ver.1.3 but still have issues with split screen not working after loading all my apps. gets trebuchet errors. didn't have time to get logs or troubleshoot what app causes it. but im not getting it with flamefires 17.1
Nice to have a separate LineageOS 19.1 for XZ1C thread, but it might be nice to credit this ROM to @derf elot more explicitely in the OP, since it seems to be mostly his work.
Rrreutel said:
Nice to have a separate LineageOS 19.1 for XZ1C thread, but it might be nice to credit this ROM to @derf elot more explicitely in the OP, since it seems to be mostly his work.
Click to expand...
Click to collapse
No worries, I asked @No1Alien if he could open the thread since I don't have much time to maintain it
Hi guys, an first of all thanks for the work you've done.
Now i'm bit confuse, i'v achieved the flashing of the os correctly (or maybe not) but i didn't update the firmware (an i think it's why my sim card is not detected). Question is : where can i find the firmware update "2022-04-20 | 1.3| 47.2.A.11.228" ? On sony website i only see 2021-12-06 for xz1c.
Am i missing something ?
Denam said:
Hi guys, an first of all thanks for the work you've done.
Now i'm bit confuse, i'v achieved the flashing of the os correctly (or maybe not) but i didn't update the firmware (an i think it's why my sim card is not detected). Question is : where can i find the firmware update "2022-04-20 | 1.3| 47.2.A.11.228" ? On sony website i only see 2021-12-06 for xz1c.
Am i missing something ?
Click to expand...
Click to collapse
2022-04-20 lineage 19.1 rom ver 1.3
47.2.A.11.228 Sony firmware
Updated in dirty way over LOS 18.1 from this forum, everything works including Zygisk and contactless payments
Hello, nice job. What TWRP version is needed ?
Very nice work! Haven't been able to test much yet, but when I picked it up just now after some days, I could see that battery drain does not seem to be an issue:
(This is not real-world usage though: wifi is on, but no SIM card, and just sleeping)
Rom lineage-19.1-20220408-UNOFFICIAL-1.2-lilac
Magisk 24.3
MindTheGapps 12.1.0
twrp 3.6.1_9-0-lilac
Running this on a spare XZ1 for testing. If the camera does eventually work one day, I think ill go to ebay aand buy a new XZ1c.
Thank you for all your hard work.
I'm currently on Havoc-OS 4.16 but can i flash Lineage 19 over Havoc? How to create backup of current Havoc in TWRP if i want to get back from Lineage OS 19? What should i select when creating backup?
Corias said:
Updated in dirty way over LOS 18.1 from this forum, everything works including Zygisk and contactless payments
Click to expand...
Click to collapse
Hi! Do you lose the homescreen arrangement (widgets, folders..) when you do this? (Trying to see if there's an advantage to dirty flashing)
Regards!
Dean F said:
Running this on a spare XZ1 for testing. If the camera does eventually work one day, I think ill go to ebay aand buy a new XZ1c.
Thank you for all your hard work.
Click to expand...
Click to collapse
Hi, check the last pages of the 18.1 thread, there's a link there. Someone got it working, seemingly. Still an early version, slow motion mode at least doesn't work and I'm uncertain on whether there's actually an improvement in quality vs open camera (took 2 pics to compare but didn't see any difference) but, still.. It works!
Hi and thank you (also to Derfy )! Great to see LOS 19 for this thing .
Question: I dirty flashed from latest available LOS 18.1, wiped Dalvik & cache, installed the MindTheGapps package as recommended, but swiping is gone on the AOSP keyboard. I can kill the AOSP keyboard forcibly, and then swiping came back just once but immediately disappeared again. Anyone else seeing this?
.:B:. said:
Hi and thank you (also to Derfy )! Great to see LOS 19 for this thing .
Question: I dirty flashed from latest available LOS 18.1, wiped Dalvik & cache, installed the MindTheGapps package as recommended, but swiping is gone on the AOSP keyboard. I can kill the AOSP keyboard forcibly, and then swiping came back just once but immediately disappeared again. Anyone else seeing this?
Click to expand...
Click to collapse
Have you tried turning it off and on again?
(tends to happen on first boot, no idea why)
Yes, multiple times .
claudiobar said:
Do you lose the homescreen arrangement (widgets, folders..) when you do this?
Click to expand...
Click to collapse
Maybe. I didn't use Trebuchet with LOS 18, so I can't say if the icons were in same places.
BTW guys how can I set an accent color in LOS 19?
Corias said:
Maybe. I didn't use Trebuchet with LOS 18, so I can't say if the icons were in same places.
BTW guys how can I set an accent color in LOS 19?
Click to expand...
Click to collapse
By changing the wallpaper, it automatically chooses accent colors based on it. It's how "Material You" works.
LineageOS 20.0 for Sony Xperia XZ1 Compact
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ1 Compact, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
DOWNLOAD
ROM: https://sourceforge.net/projects/yoshino/files/lilac/lineage-20.0/
TWRP: https://sourceforge.net/projects/yoshino/files/lilac/twrp/
Suggested Gapps (MTG): http://downloads.codefi.re/jdcteam/javelinanddart/gapps (choose 13.0.0/arm64)
Check the ChangeLog below for firmware requirements!
INSTALLATION
Before first install: flash and boot into the TWRP provided in this thread, format data, reboot to recovery and wipe all internal partitions, then flash the ROM, GApps and root (if needed).
Or if you are coming from Lineage 19.x, dirty flash to 20.0 is possible too: flash the new TWRP, ROM, and GApps, su addons (if needed).
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
When updating from previous builds, simply dirty flash the ROM is enough, decryption in new TWRP works now
Recommended GApps: MindTheGapps provided in this thread.
KNOWN ISSUES
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh
Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985
Source Code
https://github.com/whatawurst/android_device_sony_lilac
https://github.com/whatawurst/android_kernel_sony_msm8998
https://github.com/whatawurst/android_device_sony_yoshino-common
Rom Information
ROM OS Version: Android 13
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2023-05-10
SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
How to get root?
As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
REQUIRED FIRMWARE:
CHANGELOG
Suggested Gapps (MindTheGapps) - choose 13.0.0/arm64:
https://androidfilehost.com/?w=files&flid=322935 or http://downloads.codefi.re/jdcteam/javelinanddart/gapps
v1.2 (2023-05-10):
Updated to T QPR2 release (LineageOS upstream)
Updated to May 2023 Security updates (both ROM and kernel)
Our kernel now includes updates by CIP and is up-to-date with tag st40 - thanks also to Flamefire for help with some of these (1)
Reduced zram size to 25% (1gb) of out total RAM to have more to use freely
Updated BT stuff for QPR2 (maybe offloading is working again? needs confirmation)
Added the option to reflash the mbn via OpenCS (see Xperia Parts) - thanks also to shank03 & Flamefire (2)
Fully enabled IMS on Congstar Germany via overlay on lilac
Possibly some battery/performance optimizations here and there
Fixed Android Auto support
Added new LineageOS "Charging control hal" for battery charging care (3)
Maybe more I forgot...
(1) The CIP kernel includes fixes for issues and security vulnerabilities from 4.14 kernel (see https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git)
(2) A somehwat lengthy explanation: This option is off by default on fresh installs. When upgrading, this should be enabled because we enforced this for everybody previously. However, this option is only required for certain carrier mbns that enable IMS. Personally, I know that the O2/Telefonica Germany mbn needs this, otherwise you get a crashing modem at every boot (unless you switch to 3g before rebooting and back to LTE after boot). I generally recommend playing with this option, and if you don't need it (e.g. modem doesn't crash on boot), just keep it off - like mentioned before, this is now the default behavior of OpenCS on fresh installs anyway.
(3) This is not finalized or merged upstream is LineageOS yet, but seems like a nice feature to have and test drive already. Some bugs may be possible.
2023-01-08 | 1.1 | 47.2.A.11.228
- Updated to T QPR1 release (LineageOS upstream)- New default camera app (LineageOS upstream) - yes, we cannot change video fps currently (thanks Sony!)- Any other updates by LineageOS upstream- Kernel security updates (also thanks to Flamefire)- Dropped keyprovd service - it is useless on unlocked BL anyway- Show 4G instead of LTE icon - saves some space too- Enable IMS by default - this still only works if carrier is supported- Fix some selinux denials (also thanks to Flamefire)- Fixup ViLTE dependencies - this might in theory work again, but it's not enabled yet
2022-10-03 | 1.0 | 47.2.A.11.228
Initial release
Hello, I've flashed this ROM onto my device and it works, however Wi-Fi seems to randomly disconnect for a few seconds then reconnect, sometimes doesn't reconnect at all. Tried searching for a solution but found none. It seems to disconnect when any type of location activity happens? Currently rooted but also happens without root.
Sneexy said:
Hello, I've flashed this ROM onto my device and it works, however Wi-Fi seems to randomly disconnect for a few seconds then reconnect, sometimes doesn't reconnect at all. Tried searching for a solution but found none. It seems to disconnect when any type of location activity happens? Currently rooted but also happens without root.
Click to expand...
Click to collapse
did you format data
reboot to recovery
wipe all internal portions
reboot to recovery
then flash rom
just curious because i was gona try it
victor126 said:
did you format data
reboot to recovery
wipe all internal portions
reboot to recovery
then flash rom
just curious because i was gona try it
Click to expand...
Click to collapse
Yes, multiple times.
Dirty flash from 19.1 and all work! Thanks
I have done clean flash and I don't get any notifications or call screen on phone calls causing missed calls. No problems on wifi and mobile
susetoyix said:
I have done clean flash and I don't get any notifications or call screen on phone calls causing missed calls. No problems on wifi and mobile
Click to expand...
Click to collapse
Weird, first time hearing this. Everything works just fine for me.
sohrab1985 said:
Weird, first time hearing this. Everything works just fine for me.
Click to expand...
Click to collapse
Kinda not recurring anymore after a few more reboots. I'll keep a lookout on this.
Anyone know if lte for t-mobile works on this? I couldn't get lte on lineage 19.
azndan2 said:
Anyone know if lte for t-mobile works on this? I couldn't get lte on lineage 19.
Click to expand...
Click to collapse
t mobile and its nvmo's are the only place this phone is not white listed
rez78 said:
Dirty flash from 19.1 and all work! Thanks
Click to expand...
Click to collapse
does split screen work on 20. it didnt work for me on 19.1
victor126 said:
t mobile and its nvmo's are the only place this phone is not white listed
Click to expand...
Click to collapse
Could you be more specific? I believe it's blacklisted on AT&T. It doesn't work at all on Verizon, because it has the wrong bands.
I've seen plenty of reports of it working on T-Mobile.
How does it work compared to 19.1? Any bugs?
azndan2 said:
Anyone know if lte for t-mobile works on this? I couldn't get lte on lineage 19.
Click to expand...
Click to collapse
4G calling didn't work for me.
I used carrierconfig, the LOS version with 4G calls working.
This requires root.
The carrierconfig is located at data/user_de/0/com.android.phone/file.
carrierconfig-com.android.crrierconfig-~.xml
Replace the contents without changing the numbers in the name.
Why don't you try it?
sorry for my weird english.
norabitox said:
4G calling didn't work for me.
I used carrierconfig, the LOS version with 4G calls working.
This requires root.
The carrierconfig is located at data/user_de/0/com.android.phone/file.
carrierconfig-com.android.crrierconfig-~.xml
Replace the contents without changing the numbers in the name.
Why don't you try it?
sorry for my weird english.
Click to expand...
Click to collapse
What do I replace the contents with?
tonsofquestions said:
Could you be more specific? I believe it's blacklisted on AT&T. It doesn't work at all on Verizon, because it has the wrong bands.
I've seen plenty of reports of it working on T-Mobile.
Click to expand...
Click to collapse
correct. t mobile and mint, and others that use t mobile work.
azndan2 said:
What do I replace the contents with?
Click to expand...
Click to collapse
carrierconfig.xml for the LOS version that LTE was working on your phone
victor126 said:
correct. t mobile and mint, and others that use t mobile work.
Click to expand...
Click to collapse
Sorry, what? Can you please be more specific?
First you said it was _not_ whitelisted on T-Mobile (so presumably doesn't work) and now you say it _does_ work on T-Mobile.