LineageOS 14.1 Berni's alternative builds

Search This thread

Berni-0815

Senior Member
Sep 22, 2016
2,445
2,138
Germany
Sony Xperia Z5 Compact
I've noticed that I'm no longer able to build los14.1 ROM's!
There are compiling errors that I can't solve. Google has changed the version of "jack" from 1.3rc7 to 1.3a8 and that seems to cause this error message:
Code:
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
SSL error when connecting to the Jack server. Try 'jack-diagnose'
Code:
jack-diagnose
gives this messages:
Code:
Error: Syntaxerror in Process-ID-List

Port 8077 is used by another process (pid=), please ensure to free the port or change port configuration in '/home/bernhard/.jack-settings' and '/home/bernhard/.jack-server/config.properties'
I've tried to change the ports but that doesn't change anything.
If there is anyone out there who can help me, please feel free to do so!
 
  • Sad
Reactions: brordavid

peppi001

New member
May 19, 2021
4
1
Hi! I flashed this ROM and I'm very happy. My only "problem" is that, the ring and notification volume is too loud. How can I change the speaker volume to the default value? And how can I change the volume steps from 15 to 7. Thanks
 
I just installed the Bromite System WebView through the WebView Manager Magisk module and it worked!
So the Webview is being reset to AOSP with each new version I reckon. Any chance I can interest you in changing to the Bromite Webview or would that be too much tweaking for an as clean as possible ROM? As far as I can tell there is no downside to it; one does however have to trust Bromite. 🤷🏽‍♂️
 
May 26, 2021
11
0
Someone else problems with pictures that change rotation if you zoom in?

problem dont change if you deactivate screenrotaion or options from original cam-software..

some picture dont rotate if you zoom in but i cant find the reason....
 

svsvvv

New member
Jul 3, 2021
2
0
Hello

There appear to be some issues with the mobile connection when using encryption, at least on my device.
I flashed the latest version at the time of this post (Jun 28 2021 version), though it also happens with the stock cm14-1 ROM.

The mobile connection works after flashing the ROM, but after encrypting the device it stops working.
It presented me with the PIN entry and after entering the correct PIN code the phone does not register on the mobile network. It presents the "SIM missing" or "SIM locked" message in the status bar, even though the SIM was inserted and unlocked.
The Android log contains messages about failures to read ICC ID, no such errors are present in the unencrypted logs. The same SIM card was used for both tests and the SIM card is fully functional after re-flashing the unencrypted version.

Based on other encryption-related questions in this thread, I understand that you don't use encryption and thus it's unsupported. I'm mostly posting this in case someone else hits the same issue, as I spent a couple of hours on figuring this out, since I never actually used the phone with a SIM before enabling encryption :).

Im not familiar with Android development, so I don't know where to start debugging this. In the unlikely case that someone has an idea on what might be causing this then please do let me know.

Post-encryption log after PIN entry is below.
The unencrypted (working) boot log contains no entries from the PhoneInterfaceManager service, but I'm not sure if that's expected behavior or not.

Code:
[...]
07-03 23:44:23.663  4296  5313 D PhoneInterfaceManager: SUPPLY_PIN_COMPLETE
07-03 23:44:23.664  4296  4485 D PhoneInterfaceManager: done
07-03 23:44:23.665  4078  4078 D CarrierText: onSimStateChanged: Normal
07-03 23:44:23.667  4078  4078 D CarrierText: onSimStateChanged: Normal
07-03 23:44:23.678  5294  5329 I libglean_ffi: glean_core::database: Database initialized
07-03 23:44:23.694  5294  5329 I libglean_ffi: glean_ffi: Glean initialized
07-03 23:44:23.698  5294  5329 I glean/Dispatchers: Task queued for execution and delayed until flushed
07-03 23:44:23.701  5294  5329 I glean/Dispatchers: Task queued for execution and delayed until flushed
07-03 23:44:23.701  5294  5329 I glean/Dispatchers: Task queued for execution and delayed until flushed
07-03 23:44:23.702  5294  5329 I glean/Dispatchers: Task queued for execution and delayed until flushed
07-03 23:44:23.703  4078  4078 D CarrierText: onSimStateChanged: Normal
07-03 23:44:23.705  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'baseline'
07-03 23:44:23.705  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'metrics'
07-03 23:44:23.705  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'events'
07-03 23:44:23.725  4544  4544 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
07-03 23:44:23.731  5024  5024 D WeatherUpdateService: onCreate
07-03 23:44:23.733  5024  5024 D WeatherUpdateService: Service started, but shouldn't update ... stopping
07-03 23:44:23.734  5024  5024 D WeatherUpdateService: onDestroy
07-03 23:44:23.735  5294  5330 I rc_log_ffi::ios: rc_log adapter initialized!
07-03 23:44:23.758  4078  4078 D PhoneStatusBar: disable: < expand ICONS alerts SYSTEM_INFO back HOME RECENT clock SEARCH quick_settings >
07-03 23:44:23.783  5294  5340 I GeckoThread: preparing to run Gecko
07-03 23:44:23.799  4078  4078 D PhoneStatusBar: disable: < expand ICONS alerts SYSTEM_INFO back HOME RECENT clock SEARCH quick_settings >
07-03 23:44:23.832  2670  2670 D fpc_fingerprint_hal: fpc_get_authenticator_id
07-03 23:44:23.833  3425  3425 V FingerprintService: startAuthentication(com.android.systemui)
07-03 23:44:23.833  3425  3425 V FingerprintService: starting client AuthenticationClient(com.android.systemui), initiatedByClient = true)
07-03 23:44:23.833  2670  2670 V fingerprintd: authenticate(sid=0, gid=0)
07-03 23:44:23.833  2670  2670 D fpc_fingerprint_hal: fpc_authenticate operation_id 0
07-03 23:44:23.833  3425  3425 W FingerprintService: client com.android.systemui is authenticating...
07-03 23:44:23.834  2670  4039 D fpc_fingerprint_hal: workerFunction STATE_AUTHENTICATE
07-03 23:44:23.834  4078  4078 D PhoneStatusBar: disable: < expand ICONS alerts SYSTEM_INFO back HOME RECENT clock SEARCH quick_settings >
07-03 23:44:23.839  5294  5340 W Settings: Setting animator_duration_scale has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only global URI.
07-03 23:44:23.841  5294  5329 I glean/MetricsPingSched: The 'metrics' ping was already sent today, 1625345063812.
07-03 23:44:23.856  2670  4039 D fpc_fingerprint_hal: fpc_wait_finger_up
07-03 23:44:23.885  5294  5329 I libglean_ffi: glean_ffi: No RLB symbol found. Not trying to flush the RLB dispatcher.
07-03 23:44:23.888  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'baseline'
07-03 23:44:23.888  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'metrics'
07-03 23:44:23.888  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'events'
07-03 23:44:23.889  5294  5329 D libglean_ffi: glean_core: Duplicate ping named 'deletion-request'
07-03 23:44:23.899  5294  5340 E GeckoLibLoad: Load sqlite start
07-03 23:44:23.902  5294  5340 E GeckoLibLoad: Load sqlite done
07-03 23:44:23.902  5294  5340 E GeckoLibLoad: Load nss start
07-03 23:44:23.902  5294  5340 E GeckoLibLoad: Load nss done
07-03 23:44:24.033  2670  4039 D fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
07-03 23:44:24.105  5294  5305 W art     : Suspending all threads took: 15.160ms
07-03 23:44:24.132  5294  5294 W PushConfig: No firebase configuration found; cannot support push service.
07-03 23:44:24.201  3425  4441 D ConnectivityService: requestNetwork for uid/pid:10078/5294 NetworkRequest [ TRACK_DEFAULT id=6, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
07-03 23:44:24.202  3425  4017 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=6, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
07-03 23:44:24.202  3425  4050 D Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=6, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
07-03 23:44:24.203  3425  4017 D WIFI    : got request NetworkRequest [ TRACK_DEFAULT id=6, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
07-03 23:44:24.203  4296  4296 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=6, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
07-03 23:44:24.245  5294  5346 I nimbus  : fetching experiments
07-03 23:44:24.246  5294  5345 W art     : Long monitor contention with owner NimbusFetchScope-thread-1 (5346) at long com.sun.jna.Native.findSymbol(long, java.lang.String)(Native.java:-2) waiters=0 in java.lang.Object com.sun.jna.Library$Handler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) for 320ms
07-03 23:44:24.247  5294  5340 E GeckoLibLoad: Loaded libs in 344.491250ms total, 30ms(220ms) user, 30ms(90ms) system, 0(7) faults
07-03 23:44:24.259  5294  5345 I nimbus  : updating experiment list
07-03 23:44:24.328  5294  5340 W GeckoThread: zerdatime 63628 - runGecko
07-03 23:44:24.436  5294  5340 I Gecko:DumpUtils: Fifo watcher disabled via pref.
07-03 23:44:24.566  5371  5371 I MultiDex: VM with version 2.1.0 has multidex support
07-03 23:44:24.566  5371  5371 I MultiDex: Installing application
07-03 23:44:24.566  5371  5371 I MultiDex: VM has multidex support, MultiDex support library is disabled.
07-03 23:44:24.570  3425  4892 I ActivityManager: Start proc 5405:org.mozilla.fennec_fdroid:tab37/u0a78 for service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab37
07-03 23:44:24.713  2670  4039 D fingerprintd: onAcquired(1001)
07-03 23:44:24.856  2670  4039 D fpc_fingerprint_hal: fpc_handle_image_subscription
07-03 23:44:24.856  2670  4039 D fingerprintd: onAcquired(0)
07-03 23:44:24.977  2670  4039 D fpc_fingerprint_hal: do_identify fpc_tac_identify result res: 0, idx: 4294967295, size: 508, cov: 82, qual: 36
07-03 23:44:24.977  2670  4039 D fpc_fingerprint_hal: do_identify KPI Capture time: 142 ms Identify time: 120 ms
07-03 23:44:24.979  2670  4039 E idd-api : add_event: send failed, socket 15, errcode -111 (Connection refused)
07-03 23:44:24.979  2670  4039 D fingerprintd: onAuthenticated(fid=0, gid=0)
07-03 23:44:24.979  2670  4039 D fpc_fingerprint_hal: fpc_wait_finger_up
07-03 23:44:24.985  3425  3425 I GnssLocationProvider: WakeLock acquired by sendMessage(12, 0, null)
07-03 23:44:24.990  2670  4039 D fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
07-03 23:44:24.994  3425  3439 I GnssLocationProvider: WakeLock released by handleMessage(12, 0, null)
07-03 23:44:24.994  4296  4313 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:24.995  4296  4678 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:24.998  4296  4485 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.013  4296  4676 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.014  5205  5234 W MessagingApp: canonicalizeMccMnc: invalid mccmnc:null ,null
07-03 23:44:25.016  4296  4296 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.019  4296  4485 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.021  3425  4441 D MmsServiceBroker: getCarrierConfigValues() by com.android.messaging
07-03 23:44:25.021  4296  4678 D MmsService: getCarrierConfigValues
07-03 23:44:25.021  4296  4678 I MmsService: mms config for sub 2: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=true, maxMessageTextSize=-1, supportMmsContentDisposition=true, enabledTransID=false, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=2147483647, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=480, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=40, httpParams=, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=307200, naiSuffix=, enableMMSReadReports=false, maxImageWidth=640, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=false, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=true}]
07-03 23:44:25.022  5205  5234 I MessagingApp: Carrier configs loaded: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=true, maxMessageTextSize=-1, supportMmsContentDisposition=true, enabledTransID=false, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=2147483647, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=480, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=40, httpParams=, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=307200, naiSuffix=, enableMMSReadReports=false, maxImageWidth=640, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=false, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=true}] from resources+system for subId=2
07-03 23:44:25.023  4078  4078 D CarrierText: onSimStateChanged: SimMissing
07-03 23:44:25.025  4078  4078 D CarrierText: onSimStateChanged: SimMissing
07-03 23:44:25.030  4296  4296 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.030  4296  4677 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
07-03 23:44:25.031  4078  4078 D CarrierText: onSimStateChanged: SimMissing
[...]
 

svsvvv

New member
Jul 3, 2021
2
0
If I'm not mistaken, this is a common issue meaning encryption and Sim Pin don't work on this device running Lineage.
Thank you!! You are correct, disabling SIM PIN allows encryption to work.

New version out; see 1st post.
  • Android security patch level: 5 May 2021
Maybe you could add info about the encryption and SIM PIN issue to the troubleshooting section?
I managed to find info in Reddit threads about the encryption and SIM PIN error by searching for rather specific phrases (after I was informed of the issue by patroj), but it might save others some time if it was listed in your LOS build threads as well.

Otherwise your LOS 14 builds (and TWRP, sans decryption support) seem to work great on this device, haven't hit any other issues.
 

Berni-0815

Senior Member
Sep 22, 2016
2,445
2,138
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Android security patch level: 5 June 2021
 

Attachments

  • Screenshot_20210805-120816.png
    Screenshot_20210805-120816.png
    87.2 KB · Views: 6
Last edited:

alex009988

Senior Member
Jun 8, 2011
494
224
Hi guys. I'm z4 tablet developer. I found that the same kernel kcal code works for oreo, but doesn't work for nougat (checked for LOS and legendrom) even with CONFIG_FB_MSM_MDSS_KCAL_CTRL=y
Could you please test if this app works for you on los14.1?
 

Top Liked Posts

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

    This is a thread for my alternative LineageOS 14.1 roms for suzuran.

    I'm building these roms from time to time for my own needs and I think other people should participate.

    Since the "official" development of LineageOS 14.1 has been stopped, I decided to build a new version only if the Android security patch level has been changed or I've changed anything.

    Download 2021-07-19

    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 zip verification and md5sum checking. Maybe you have to rename the md5 file to *.md5sum; depending on the TWRP version you are using.

    Kernel sources
    Tree sources

    Features:
    • OS Version: 7.1.2 Nougat
    • Kernel: Linux 3.10
    • New: Android security patch level: 5 June 2021
    • 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.1.1 (or newer).
      OR use my self built TWRP-version 3.5.2!
    • No need for making a clean install, but sometimes it helps a lot!
    • This rom is pre-rooted. For those who want to use magisk or any other rooting tool, you can easily remove this by flashing this file.

    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.

    Differences between my version and the "official" one:

    • Kcal Display Driver - Thanks to @GreyLeshy and @Sony user 16
    • Voltage Control - Thanks to @GreyLeshy and @Sony user 16
    • OMS-Support - Thanks to @nathanchance
    • Added F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
    • I've included some little extensions like changelog and volume adjustment.
    • I've set maximum speaker volume to a higher value.
    • I've increased microphone gain.
    • I've increased all volume steps from 7 to 15.
    • I've changed the microfone gain to avoid echo in phone calls.
    • I've enabled data for MMS.
    • I've enabled MHL.
    Not working:
    • VoLTE, VoWiFi
    • If you want to use encryption, you have to disable SIM PIN first!
    One (last) request: Please don't ask for including any app. I won't do this, because I want to keep this rom as clean as possible.

    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.
    15
    New version out; see 1st post.
    Android security patch level: 05 May 2020
    12
    New version out; see 1st post
    11
    New version out; see 1st post
    10
    2019-Christmas Eve version out; see 1st post