[ROM][UNOFFICIAL][12][S]LineageOS 19.1 for z5c (suzuran)

Search This thread

SmilingKafka

Member
Oct 23, 2022
8
7
Oups! Forgotten to answer this:
YES! Download all needed sources, reverse engineer the libraries, change and rebuild them.
Puuh: If I could, I would. But because I can't, I shan't. I'll thus stick with the 8MB-pictures. The upside of this: More of them fit on my SD-card!

Anyway, thanks a million again for the great ROM!
 

lnicolas

New member
Nov 19, 2022
1
0
Dear Berni,
first of all, thanks for that great ROM!
Today I tried a maybe very rarely used function: Device Backup using SeedVault.
Unfortunately this does not work. As soon as starting the backup, SeedVault always requires to renew the key.
Searching SeedVaults Github, unfortunatly did not lead to any solution, so maybe we might have an issue with the keystore?

Of course it's not crucial issue, but maybe you have an idea about it.
This is what I captured using logcat, tested using a fresh clean install without any additional apps:
Code:
11-19 13:21:47.379  1080  1090 I BpBinder: onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
11-19 13:21:47.382  1080  1091 W System  : A resource failed to call close.
11-19 13:21:47.382  1080  1091 W System  : A resource failed to call close.
11-19 13:21:47.384  1080  1091 V MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
11-19 13:21:47.384  1080  1091 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
11-19 13:21:47.384   722  5008 D NuPlayerDriver: reset(0xf1201690) at state 6
11-19 13:21:47.390   722  6400 D NuPlayerDriver: notifyResetComplete(0xf1201690)
11-19 13:21:47.391   722  5008 W AMessage: failed to post message as target looper for handler 0 is gone.
11-19 13:21:47.394  1080  1091 W System  : A resource failed to call release.
11-19 13:21:47.394  1080  1091 W MediaPlayer-JNI: MediaPlayer finalized without being released
11-19 13:21:47.394   722   722 D NuPlayerDriver: reset(0xf12014b0) at state 6
11-19 13:21:47.401   722  6370 D NuPlayerDriver: notifyResetComplete(0xf12014b0)
11-19 13:21:47.401   722   722 W AMessage: failed to post message as target looper for handler 0 is gone.
11-19 13:21:47.403  1080  1091 V MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
11-19 13:21:47.403  1080  1091 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
11-19 13:21:47.404  1080  1091 W System  : A resource failed to call close.
11-19 13:21:48.754   485  4397 D audio_hw_primary: out_standby: enter: stream (0xec5803b0) usecase(1: low-latency-playback)
11-19 13:21:48.820   485  4397 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
11-19 13:21:48.827   485  4397 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 2, with Raise=0
11-19 13:21:48.828   485  4397 D hardware_info: hw_info_append_hw_type : device_name = speaker
11-19 13:21:48.828   485  4397 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
11-19 13:21:48.843   485  4397 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
11-19 13:21:49.575   485  4913 D audio_hw_primary: start_output_stream: enter: stream(0xec5803b0)usecase(1: low-latency-playback) devices(0x2)
11-19 13:21:49.578   485  4913 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
11-19 13:21:49.578   485  4913 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
11-19 13:21:49.578   485  4913 D hardware_info: hw_info_append_hw_type : device_name = speaker
11-19 13:21:49.578   485  4913 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
11-19 13:21:49.578   485  4913 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0
11-19 13:21:49.578   485  4913 D audio_route: Apply path: speaker
11-19 13:21:49.595   485  4913 I audio_hw_primary: select_devices Selected apptype: 69936
11-19 13:21:49.595   485  4913 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 3, with Raise=0
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path =  0
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> send_asm_topology
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> send_adm_topology
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> send_audtable
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
11-19 13:21:49.595   485  4913 D ACDB-LOADER: ACDB -> send_audvoltable
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> send_afe_cal
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 14 path = 0
11-19 13:21:49.596   485  4913 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
11-19 13:21:49.596   485  4913 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 14, sample_rate 48000
11-19 13:21:49.596   485  4913 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
11-19 13:21:49.596   485  4913 D audio_route: Apply path: low-latency-playback
11-19 13:21:49.597   485  4913 D audio_hw_primary: select_devices: done
11-19 13:21:49.599   485  4913 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map15
11-19 13:21:49.599   485  4913 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
11-19 13:21:49.634   485  4913 D audio_hw_primary: start_output_stream: exit
11-19 13:21:49.734   419   419 W keystore2: Not performing software digesting for symmetric cipher keys
11-19 13:21:49.734   419   419 W keystore2: Not performing software digesting for symmetric cipher keys
11-19 13:21:49.737   557   578 D DrmLibTime: got the req here! ret=0
11-19 13:21:49.737   557   578 D DrmLibTime: command id, time_cmd_id = 770
11-19 13:21:49.737   557   578 D DrmLibTime: time_getutcsec starts!
11-19 13:21:49.737   557   578 D DrmLibTime: QSEE Time Listener: time_getutcsec
11-19 13:21:49.737   557   578 D DrmLibTime: QSEE Time Listener: get_utc_seconds
11-19 13:21:49.737   557   578 D DrmLibTime: QSEE Time Listener: time_get_modem_time
11-19 13:21:49.737   557   578 D DrmLibTime: QSEE Time Listener: Checking if ATS_MODEM is set or not.
11-19 13:21:49.737   557   578 D QC-time-services: Lib:time_genoff_operation: pargs->base = 13
11-19 13:21:49.738   557   578 D QC-time-services: Lib:time_genoff_operation: pargs->operation = 2
11-19 13:21:49.738   557   578 D QC-time-services: Lib:time_genoff_operation: pargs->ts_val = 0
11-19 13:21:49.738   557   578 E QC-time-services: Lib:time_genoff_operation: Connection failed !!
11-19 13:21:49.738   557   578 D DrmLibTime: QSEE Time Listener: ATS_MODEM is not set. Fallback to Android system time.
11-19 13:21:49.738   557   578 D DrmLibTime: QSEE Time Listener: Retrieved Android system time: 1668903709
11-19 13:21:49.738   557   578 D DrmLibTime: time_getutcsec returns 0, sec = 1668903709; nsec = 0
11-19 13:21:49.738   557   578 D DrmLibTime: time_getutcsec finished!
11-19 13:21:49.738   557   578 D DrmLibTime: iotcl_continue_command finished! and return 0
11-19 13:21:49.738   557   578 D DrmLibTime: before calling ioctl to read the next time_cmd
11-19 13:21:49.757   419   419 E keymaster1_device: Import key send cmd failed
11-19 13:21:49.757   419   419 E keymaster1_device: ret: 0
11-19 13:21:49.757   419   419 E keymaster1_device: resp->status: -2
11-19 13:21:49.757   419   419 E keystore2: keystore2::error: In import_key: Trying to call importKey
11-19 13:21:49.757   419   419 E keystore2:
11-19 13:21:49.757   419   419 E keystore2: Caused by:
11-19 13:21:49.757   419   419 E keystore2:     Error::Km(ErrorCode(-2))
11-19 13:21:49.818  6177  6177 D AndroidRuntime: Shutting down VM
11-19 13:21:49.819  6177  6177 E AndroidRuntime: FATAL EXCEPTION: main
11-19 13:21:49.819  6177  6177 E AndroidRuntime: Process: com.stevesoltys.seedvault, PID: 6177
11-19 13:21:49.819  6177  6177 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:558)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
11-19 13:21:49.819  6177  6177 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        ... 1 more
11-19 13:21:49.819  6177  6177 E AndroidRuntime: Caused by: java.security.KeyStoreException: Failed to import secret key.
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.keystore2.AndroidKeyStoreSpi.setSecretKeyEntry(AndroidKeyStoreSpi.java:807)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.keystore2.AndroidKeyStoreSpi.engineSetEntry(AndroidKeyStoreSpi.java:1177)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at java.security.KeyStore.setEntry(KeyStore.java:1596)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.stevesoltys.seedvault.crypto.KeyManagerImpl.storeMainKey(KeyManager.kt:80)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.stevesoltys.seedvault.ui.recoverycode.RecoveryCodeViewModel.verifyExistingCode(RecoveryCodeViewModel.kt:78)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.stevesoltys.seedvault.ui.recoverycode.RecoveryCodeInputFragment.done(RecoveryCodeInputFragment.kt:158)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.stevesoltys.seedvault.ui.recoverycode.RecoveryCodeInputFragment.access$done(RecoveryCodeInputFragment.kt:42)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at com.stevesoltys.seedvault.ui.recoverycode.RecoveryCodeInputFragment$onViewCreated$2.onClick(RecoveryCodeInputFragment.kt:121)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.view.View.performClick(View.java:7455)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.view.View.performClickInternal(View.java:7432)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.view.View.access$3700(View.java:835)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.view.View$PerformClick.run(View.java:28810)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7870)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        ... 3 more
11-19 13:21:49.819  6177  6177 E AndroidRuntime: Caused by: android.security.KeyStoreException: Unsupported purpose
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:356)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.KeyStoreSecurityLevel.handleExceptions(KeyStoreSecurityLevel.java:57)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.KeyStoreSecurityLevel.importKey(KeyStoreSecurityLevel.java:166)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        at android.security.keystore2.AndroidKeyStoreSpi.setSecretKeyEntry(AndroidKeyStoreSpi.java:804)
11-19 13:21:49.819  6177  6177 E AndroidRuntime:        ... 19 more
11-19 13:21:49.827  1080  3944 W ActivityTaskManager:   Force finishing activity com.stevesoltys.seedvault/.settings.SettingsActivity
11-19 13:21:49.829  1080  6553 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
11-19 13:21:49.850  6177  6177 I Process : Sending signal. PID: 6177 SIG: 9
11-19 13:21:49.886  1080  3937 I ActivityManager: Process com.stevesoltys.seedvault (pid 6177) has died: fg  TOP
11-19 13:21:49.887  1080  3943 I WindowManager: WIN DEATH: Window{b815e31 u0 com.stevesoltys.seedvault/com.stevesoltys.seedvault.settings.SettingsActivity}
11-19 13:21:49.887  1080  3943 W InputManager-JNI: Input channel object 'b815e31 com.stevesoltys.seedvault/com.stevesoltys.seedvault.settings.SettingsActivity (client)' was disposed without first being removed with the input manager!
11-19 13:21:49.888  1080  1135 I libprocessgroup: Successfully killed process cgroup uid 10109 pid 6177 in 0ms
11-19 13:21:49.926     0     0 I binder  : undelivered transaction 434221, process died.
11-19 13:21:49.929     0     0 I binder  : 4088:4088 transaction failed 29189/-22, size 96-0 line 3069
11-19 13:21:49.895   448   448 I Zygote  : Process 6177 exited due to signal 9 (Killed)
11-19 13:21:49.916   529   529 E ClientCache: failed to get buffer, invalid process token
11-19 13:21:49.944  5222  5222 D DashboardFragment: Preference key is null in Controller BackupSettingsPreferenceController
11-19 13:21:49.961  1080  1125 W WindowManager: Failed to deliver inset state change to w=Window{b815e31 u0 com.stevesoltys.seedvault/com.stevesoltys.seedvault.settings.SettingsActivity EXITING}
11-19 13:21:49.961  1080  1125 W WindowManager: android.os.DeadObjectException
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.BinderProxy.transactNative(Native Method)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.BinderProxy.transact(BinderProxy.java:571)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:687)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:4037)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$6$InsetsStateController(InsetsStateController.java:552)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda1.run(Unknown Source:2)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:345)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.WindowAnimator.animate(WindowAnimator.java:226)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.WindowAnimator.lambda$new$1$WindowAnimator(WindowAnimator.java:106)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.wm.WindowAnimator$$ExternalSyntheticLambda0.doFrame(Unknown Source:2)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.view.Choreographer.doCallbacks(Choreographer.java:845)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.view.Choreographer.doFrame(Choreographer.java:775)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.Handler.handleCallback(Handler.java:938)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.Handler.dispatchMessage(Handler.java:99)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.Looper.loopOnce(Looper.java:201)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.Looper.loop(Looper.java:288)
11-19 13:21:49.961  1080  1125 W WindowManager:         at android.os.HandlerThread.run(HandlerThread.java:67)
11-19 13:21:49.961  1080  1125 W WindowManager:         at com.android.server.ServiceThread.run(ServiceThread.java:44)
11-19 13:21:49.988  1080  1124 W ActivityManager: setHasOverlayUi called on unknown pid: 6177
11-19 13:21:50.000   529   529 E BpTransactionCompletedListener: Failed to transact (-32)
11-19 13:21:50.339  1080  1124 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{628603e u0 com.stevesoltys.seedvault/.settings.SettingsActivity t-1 f}}
 

arturog

New member
Nov 21, 2022
3
0
Hello Bernie, *Amazing ROM*, thank you! I have used your 18.1 also, and I'm happy as ever. Though... Recording when on loudspeaker never worked, and the phone audio has crackling sounds when playing. I always assumed it was the changes in the mic gain from your ROMs, but perhaps is something else. Speaking over the phone works OK though.

Have you ever seen this problem? Is there any way I can diagnose / play with mic gain / go back to stock defaults for speaker/mic? I am keen on fixing this on this version, so I can do some duolingo :) Thanks!
 

arturog

New member
Nov 21, 2022
3
0
You can try this mixer_paths.xml. Simply flash it in TWRP.
You can revert this by flashing this file.
Thank you! I tried with both, and I *think* the crackling is gone with the `mixer_paths_original.zip` -- I will continue testing. I noticed that on line 2026 there is a difference between both files:

<path name="anc-handset"> <ctl name="ANC Function" value="ON" /> <-- OFF in the other one.

Would it make a difference? Does the Z5 compact support this "ANC Function" ?

I will test more and post my results.
 

MyLogins

New member
Nov 23, 2022
1
0
First of all, thanks for that great ROM.
I noticed that FM-Radio ist muted, if microphone is blocked via quick toggle. That's not so bad, but hardly to find. I hope this info is helpfull for other FM-Radio user.
 

ruicunh79

Member
May 17, 2014
20
3
Coming from Lineage 17.1 and twrp 3.2.0, flashed this rom and everything was ok. When entered twrp to flash magisk, twrp got stuck on logo screen.
I fastbooted twrp 3.2.1 (version from 2018-02-23) but can´t get through the logo screen also...
 

ruicunh79

Member
May 17, 2014
20
3
Screen goes blank when call is answered or when dialing. Not restored unless you press the the power button. Searched the thread and only found reference to this issue on post #150.
Perhaps not a rom issue, but it would be a major coincidence, as it was working fine on previous rom (lineage 17.1).
If i place something on the headphone jack, behaviour is normal (i read this tip over the internet, and can confirm this)
 
Last edited:
  • Like
Reactions: glubzor

ruicunh79

Member
May 17, 2014
20
3
jezzzzz... what a mess i made...
Can someone please provide me with a link to a 32.4.A.1.54 ftf file?
Coming from Portugal and i can t seem to find any. Tried to make a ftf file from xperifirm but cant seem to be able to.
 
jezzzzz... what a mess i made...
Can someone please provide me with a link to a 32.4.A.1.54 ftf file?
Coming from Portugal and i can t seem to find any. Tried to make a ftf file from xperifirm but cant seem to be able to.
For which variant? Besides, I suppose you would prefer a customized (i.e. operators free) ROM, right?

EDIT: Anyway, here is the Customized_PT ftf file for the E5823 variant. Hope it suits your needs.
 
Last edited:
  • Like
Reactions: ruicunh79

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Hi all:

    Here is a LineageOS 19.1 ROM for Z5 compact (suzuran).

    New: ROM with microG apk's included in priv-app:
    Download 2024-03-17

    Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!

    If you want to remove microG, enter these commands line by line in a terminal:
    Code:
    adb root
    adb shell
    
    mount -o remount,rw /
    
    rm /system/priv-app/DroidGuard/DroidGuard.apk
    rm /system/priv-app/FakeStore/FakeStore.apk
    rm /system/priv-app/GmsCore/GmsCore.apk
    rm /system/priv-app/GsfProxy/GsfProxy.apk
    
    exit

    Reboot!


    Or flash this microG-remover.

    This is a 7z archive with the zip'ed ROM and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable md5sum checking. The zip file itself is not signed, so you have to disable zip verification.

    Kernel sources
    Tree sources

    Features:

    • OS Version: 12 (S)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 March 2024
    • Using Sony blob's from stock version 32.4.A.1.54

    Important informations:
    • You should be familiar with general installation of custom ROMs.
    • Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!)
      OR use my self built TWRP-version 3.7.0!
    • This ROM needs a clean install, old /data may cause problems!
    • This ROM is NOT pre-rooted. For rooting you can use Magisk.
    • It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
      Otherwise the baseband files may not match.
    Working:
    • Audio
    • Bluetooth
    • New: Camera fully working! (with the restriction to 8 MP)
    • Enforced SELinux support
    • Fingerprint (sometimes crashes)
    • FM-Radio (maybe it needs a few restarts before it's working)
    • GApps
    • German App AusweisApp2
    • GPS
    • Headset
    • LiveDisplay
    • Location services
    • Network Traffic Monitoring
    • NFC
    • Notifications
    • Notification LED
    • Offline charging
    • Phone calls
    • Reboot into recovery and bootloader
    • Sensors
    • Signed build
    • SMS
    • Sounds
    • Torch
    • WiFi
    • ...please tell me...
    These things are NOT (or badly) working:
    • Encryption
    • Payment
    • Streaming (mirroring)
    • VoLTE
    Maybe some more things are not working. Please tell me...

    Use this ROM at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this ROM in any way.

    Benefits:

    • Added Aurora-Store, F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
    • I've set maximum speaker volume to a higher value.
    • I've increased microphone gain.
    • I've changed the microfone gain to avoid echo in phone calls.
    Changelog

    Troubleshooting:


    • If you're running into an error, please search in this thread if this error is already posted, before you post it again!
      If not, I need a LOG to see what went wrong. Without a LOG I can't help you!
      A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:
      Code:
      adb root
      adb shell logcat -b all -d > logcat
      Send my this LOG file via PM.
    • If you think this could be a SELinux related issue, please try to set the device to permissive mode first.
      If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:
      Code:
      adb pull /sys/fs/selinux/policy
    • If you stuck in a bootloop you can fetch a LOG with this trick:
      • Press the power button and the volume up button together until the device shuts down.
      • HOLD the power button.
      • Release the volume up button and press the volume down button immediately after releasing the volmue up button.
      • The device should start into TWRP recovery.
      • Tap on "Advanced", then on "Terminal" and enter these commands line by line:
        Code:
        cd sys/fs/pstore
        cp * /sdcard
      • Send me the copied file(s), if any, via PM.


    One last request:

    Please, do not ask about problems for which my ROM is not responsible.
    From now on I will only react to problems that I can reproduce and that are caused by my ROM.


    I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
    5
    Dear Bernie-0815,

    Your ROM 19.1 works like a charm. Had it installed two weeks ago and tried all kinds of stuff; nothing failed so far. I just wanted to give you a very huge Thank You! for your efforts and your great work.

    I used the old official Lineage 14.1 until now because I was hesitant to try an 'unofficial' version. But your ROM has breathed new life into this smartphone which I attempt to keep for a number of reasons (small size, headphone jack, not interested in fancy new hardware etc.).

    So, I just wanted to reach out and thank you for making it possible to use older, yet absolutely functional smartphones longer. I recommended your ROM to a friend also using a Z5 compact (still with the stock Sony ROM) and think she'll soon go for it as well.

    Keep up the good work, and be assured that there are people out there still using the Z5 Compact on a daily base and in productive mode!
    5
    New version out; see 1st post.
    • Android security patch level: 5 June 2023
    5
    New version out; see 1st post.
    • Android security patch level: 5 July 2023
    4
    New version out; see 1st post.
    • Android security patch level: 5 May 2023