• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [sumire] [STABLE]

Search This thread

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
I Don't know why but for some reason my internal storage isn't accessible by anything. even windows can't access it my memory card is the only one that shows up. now if i try to download on playstore it shows low on storage. can you fix this? yes i formatted my internal and the whole system for this.View attachment 5440439
 

hamed_ah

Member
Oct 18, 2016
19
1
Sony Xperia Z5
Hello,
First of all: thank you very much for all your work! I have installed the latest version on my E6653 without Gapps, but unfortunately (at least on my device) it is not usable yet for daily use. The reason: whenever I launch the browser - indispensable on a smartphone - the system crashes, and the phone reboots without showing any error message.
Could you imagine what might be the cause? And if there might be a fix? I did not thouroughly test the remaining system functions extensively, but it seems that everything else (camera, sound, SD card and the other default apps) seem to work.
Without a browser, though, you cannot even download something to install like F-Droid or read the news and the like...
Hopefully there can be done something about it or you have a suggestion what I might try to make the browser work normally. For now my Xperia is bricked, but I have another working phone with Lineage OS on it, so I can live with that. Anyway, I will follow the development of this Lingeage version...

Thank you very much in advance for help
Do you want to use the ROM without Google apps? If not, I suggest you flash nikgapps full version
 

hamed_ah

Member
Oct 18, 2016
19
1
Sony Xperia Z5
I Don't know why but for some reason my internal storage isn't accessible by anything. even windows can't access it my memory card is the only one that shows up. now if i try to download on playstore it shows low on storage. can you fix this? yes i formatted my internal and the whole system for this.View attachment 5440439
after flash ROM ,Gapps ,magisk back to first page of recovery and go to advanced options and tap "fix contexts". It fixed my permissions and I was able to using of internal storage.
 
  • Love
Reactions: _harley

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
Found the issue why sensors on my phone won't even show up.

I'll try to extract the logcat so you can check the issue
1635121745997.png
 

Berni-0815

Senior Member
Sep 22, 2016
2,095
1,857
Germany
Sony Xperia Z5 Compact
Pull the policy file too:
Code:
adb pull /sys/fs/selinux/policy
Install audit2allow.
Enter the following command:
Code:
more Sensor-issue.txt | audit2allow -p policy > `date +%Y-%m-%d_%H-%M-%S`-policy.log 2>&1
Post the result here.
 

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
Pull the policy file too:
Code:
adb pull /sys/fs/selinux/policy
Install audit2allow.
Enter the following command:
Code:
more Sensor-issue.txt | audit2allow -p policy > `date +%Y-%m-%d_%H-%M-%S`-policy.log 2>&1
Post the result here.
i don't know how to install audit2allow tho i'm willing to learn how to install it so i can report this issue.
 

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
Pull the policy file too:
Code:
adb pull /sys/fs/selinux/policy
Install audit2allow.
Enter the following command:
Code:
more Sensor-issue.txt | audit2allow -p policy > `date +%Y-%m-%d_%H-%M-%S`-policy.log 2>&1
Post the result here.
oh fortunately i don't use linux. i only use windows so i won't be able to do it anyway but i did manage to extract dmesg maybe that would be useful?

Files can be found here: https://github.com/Harleythetech/Sensor-Issue---s_dsds
 

Attachments

  • dmesg - sumire_dsds.txt
    190.1 KB · Views: 3
Last edited:

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
Still an Issue on audio: Random Crashes on Audio

10-27 19:28:23.133 1116 25882 D audio_hw_primary: start_input_stream: enter: stream(0xf58c2e70)usecase(16: audio-record) 10-27 19:28:23.133 1116 25882 E audio_hw_primary: start_input_stream: sound card is not active/SSR returning error 10-27 19:28:23.133 1116 25882 D audio_hw_primary: start_input_stream: exit: status(-5) 10-27 19:28:23.133 1116 25882 D audio_hw_primary: in_standby: enter: stream (0xf58c2e70) usecase(16: audio-record) 10-27 19:28:23.143 1116 19072 D audio_hw_primary: start_output_stream: enter: stream(0xf4c444d0)usecase(0: deep-buffer-playback) devices(0x2)
 

_harley

Senior Member
Mar 5, 2021
59
6
Sony Xperia Z5
I hope that situation with camera gets better, I really need it. I wish there was a way to install GCAM.
A GCAM port is imposible due to how Sony implements it's camera. tho when i was trying to install the original app via ADB i was getting an error about requiring "sony.api.camera" maybe that's something we need to reactivate the 23mp (even if it has issues with noise)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    2okPze5.png


    Code:
     * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */
    Introduction
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.


    Bugs

    What's working:

    • Boot
    • Bluetooth
    • Bluetooth Headphone (Media / In-Call)
    • Camera / Camcorder
    • Double Tap to Wake
    • Torch
    • Fingerprint Sensor
    • FM Radio
    • RIL (LTE/Call/SMS)
    • GPS
    • WiFi
    • WiFi Hotspot (2.4/5Ghz)
    • USB (ADB/MTP/PTP)
    • Audio Playback
    • Video Playback
    • NFC
    • LED lights
    • Sensors
    • ExFAT SDCard
    • USB OTG (From Quick tiles -> Add USB OTG tile -> Press it)
    • Hardware Encryption
    • SELinux is enforcing

    What's not working:
    • You tell me.

    Installation instructions

    • Download the zip(s).
    • Install a compatible Recovery
    • Perform a NANDroid backup of your current ROM (Optional)
    • Wipe system / data / cache partitions
    • Flash ROM.
    • Optional: Install the Google Apps addon package.
    • Optional: Install Magisk for Root.

    Supported models:
    • E6603, E6633, E6653, E6683

    Downloads
    Recovery : My Unofficial TWRP (Doesn't support decrpytion)
    Gapps : MindTheGapps Arm64 11.0
    NikGApps 11.0
    Rom : Download

    Sources
    Device/Kernel/Vendor Tree: Sources

    Donate
    DONATE To Me

    Big Thanks
    • LineageOS Team.
    • @Myself5
    • @Olivier97
    • all sony-msm8994 contributors.

    XDA:DevDB Information
    LineageOS 18 for Xperia Z5, ROM for the Sony Xperia Z5

    Contributors
    tarkzim
    Source Code: https://github.com/LineageOS

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Stock 7.1
    Based On: LineageOS
    8
    Reserved

    2021/10/29
    • Fixed an issue that caused by SELinux which prevents sensors from working.
    2021/10/06
    • Updated to Android 11.0.0_r46 with October security patches.
    • Upstream updates and fixes.
    • Now it will detect your REAL model name, so you might be able to be recognized by stock flasher.
    2021/09/12
    • Updated to Android 11.0.0_r43 with September security patches.
    • Upstream updates and fixes.
    2021/08/07 - V2
    • Updated to Android 11.0.0_r40 with August security patches.
    • Upstream updates and fixes.
    • Updated sdcardfs sources, might fix Play store app with obb installation issues.
    2021/07/14
    • Updated to Android 11.0.0_r39 with July security patches.
    • Upstream updates and fixes.
    • Tweaked power configs.
    • Added AptX HD codecs for bluetooth audio.
    2021/06/14
    • Updated to Android 11.0.0_r38 with June security patches.
    • Upstream updates and fixes.
    • Fixed Bluetooth audio issues.
    • Fixed WiFi Mac address issues.
    • Fixed connection of WPA3 WiFi APs.
    • Fixed some audio performance issues.
    • VoIP audio related changes.
    • Switched to OnePlus2's Perf/Thermal stack - for better thermal controlling and performances.

    2021/05/08
    • Updated to Android 11.0.0_r37 with May security patches.
    • Upstream updates and fixes.
    • Kernel updates.
    • Added VoLTE features (But seems not working for now, please test normal telephony features)
    • SELinux policies updated for sdcard.
    2021/04/17
    • Bring back FM Radio.
    • Fixed ConfigStore HAL.
    • Fixed some issues related to SELinux which was causing random crashes.
    • Fixed DRM HAL crashing issues (Google Chrome).
    2021/04/11
    • Updated to Android 11.0.0_r34 with April security patches.
    • Upstream updates and fixes.
    • Reduced microphone echoes while calling.
    2021/03/06
    • Updated to Android 11.0.0_r32 with March security patches.
    • Upstream updates and fixes.
    • Fixed "Reboot to recovery" feature.
    • Fixed WiFi hotspot.
    • Minor updates.

    2021/02/09
    • Updated to Android 11.0.0_r29 with February security patches.
    • Upstream updates and fixes.
    • Updated sdFAT drivers to fix exFAT SDCard issues.
    • Fixed fingerprint remove issues.
      (If you have old fingers enrolled, i suggest you to remove them from TWRP)
      REMOVE this
      Code:
      /data/system/user/0/fpdata
    • Minor updates.

      New TWRP build released - 3.5.0_9-1
    • Updated prebuilt kernel.
    • Support recovery flashing from TWRP.

    2021/01/12
    • Updated to Android 11.0.0_r27 with January security patches.
    • Updated to LineageOS 18.1.
    • Upstream updates and fixes.
    • LineageOS features updates.
    • Bring back Snap camera.
    • Disabled some LiveDisplay features to help with battery life.
    • Minor updates.

    2020/11/14
    • Fixed broken camera issues of previous build.
    • Kang OSS GPS and blobs from Oneplus 2, fixes GPS crash properly.

    2020/11/07
    • Updated to Android 11.0.0_r17 with November security patches.
    • Upstream updates and fixes.
    • LineageOS features updates.
    • Fixed Random reboots caused by GPS crashes.
    • Minor Fingerprint HAL updates.
    • Updated sepolicies for camera.
    • Restore CPU clocks to original values.

    2020/10/26
    • Upstream updates and fixes.
    • Fixed Camera / Camcorder (Proper fix, not using prebuilt patches), stock Snap camera might not be good, try Footej or Open Camera from Play store.
    • Fixed Audio related issues.
    • Update DRM WideVine to R from coral-user-11-RP1A.200720009-6720564.
    • Updated Health HAL to 2.1.

    2020/10/11
    • Updated to Android 11.0.0_r4 with October security patches.
    • Upstream updates and fixes.
    • LineageOS features updates.
    • Fixed Fingerprint sensor.
    • Fixed UI/Touch lags.
    • Fixed Developer options crashes.

    2020/10/08
    • Initial release of LineageOS 18.0 for Z5.
    8
    New build released
    • Updated to Android 11.0.0_r38 with June security patches.
    • Upstream updates and fixes.
    • Fixed Bluetooth audio issues.
    • Fixed WiFi Mac address issues.
    • Fixed connection of WPA3 WiFi APs.
    • Fixed some audio performance issues.
    • VoIP audio related changes.
    • Switched to OnePlus2's Perf/Thermal stack - for better thermal controlling and performances.
    7
    New build released
    • Updated to Android 11.0.0_r40 with August security patches.
    • Upstream updates and fixes.

    UPDATE:

    V2 has been uploaded, which contains a missing change below:
    • Updated sdcardfs sources, might fix Play store app with obb installation issues.
    6
    New build released
    • Updated to Android 11.0.0_r27 with January security patches.
    • Updated to LineageOS 18.1.
    • Upstream updates and fixes.
    • LineageOS features updates.
    • Bring back Snap camera.
    • Disabled some LiveDisplay features to help with battery life.
    • Minor updates.