yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Original Android Development] threader:
Maybe this would just work (®™), I was reading about PostmarketOS when i came across this guys efforts and spotted a commit for 3.10.108 on a cm-14.1 branch https://github.com/x0r3d/CarbonKernel_Z5/commit/a92f62e793045ac7d657f7f513bac38ffb90308a.

At fieat glance there are some useful commits in there, I'm on a phone so I don't know if that's the complete patch from .84 to .108 , there are some patches for compiling with gcc7 and gcc5 fixups https://github.com/x0r3d/CarbonKernel_Z5/commits/70hz

I'll stop *****ing and start fixing. I'll be happy to donate a few beers to you both for your efforts. It's not like it was always like this, the official builds worked just fine, I find it puzzling these problems came about out of thin air. Again, I apologize for being an asshole and pointing it out the way I did, I became utterly fed up and things got to me.

I'll post a more proper reply in a few hours time, as for the second link: https://github.com/LineageOS/androi...mmit/1537d654aa8fbe9239072234999e6bc4fd97f312

I'll sit the **** down and take a chillpill in the future, I appreciate your work. But back to the issue at hand, what do you suggest changed if nothing changed in the build setup?

Having looked a bit closer it should be a simple merge job, https://github.com/x0r3d/CarbonKernel_Z5 is the exact same version kernel (the first post in this thread had me a bit confused as it mentiones a previous kernel version) , I could merge that and most of the bugs I patched within a day. The binder will be an issue though. Another problem is I dont have the 14.1 sources anymore, so it will probably take more than a day until I can safely say it's done and working.
[Xperia Z5 Original Android Development] arslanon.e:
Gentlemen, I wonder if you two ( [MENTION=2617382]threader[/MENTION] and [MENTION=9708417]Eric_Lev[/MENTION] ) can have a Zoom call eh? DM and find a time slot perhaps.
[Xperia Z5 Original Android Development] threader:
Anyhow, initially the kernel is done, I'm still testing and planning to pick up more changes, I want to recompile Linaro gcc with --with-isl so I can use the optimizations I had to leave out, but for now, It's compiled with Linaro gcc 7.5, Kernel-3.10.108 and initially seems to work as before.

There were no differences between the LineageOS official kernel before the merge to 3.10.108 besides missing the brightness level adjustment for sumire.

https://drive.google.com/open?id=1qed_XzTV6pKwgJmRfkCw8NQ8eQkSc1-A

https://github.com/threader/CarbonKernel_Z5/

Edit 12/05/20: Things are improving, somewhat caught up with the cm-14.1 branch of https://github.com/LineageOS/android_kernel_qcom_msm8994 . Flashable zip is up.

Edit 14/05/20: Pretty much all caught up with android_kernel_qcom_msm8994, found various un-applied patches related to networking, sifted trough all drivers and brought those up to (2017) scratch.
[Xperia Z5 Original Android Development] shohabmsk:
hi. can i update gpu driver from this rom to sony stock rom?
[Xperia Z5 Original Android Development] Eric_Lev:
New build up : https://androidfilehost.com/?w=profile&uid=4349826312261606582

Changelog : https://www.lineageoslog.com/14.1
[Xperia Z5 Original Android Development] Justarandy:
There is no installation guide?
[Xperia Z5 Original Android Development] Klaus N.:
Here you go: https://wiki.lineageos.org/devices/sumire/install
[Xperia Z5 Original Android Development] Eric_Lev:
New build up : https://androidfilehost.com/?w=profile&uid=4349826312261606582

Changelog : https://www.lineageoslog.com/14.1 ... with June security patches.
[Xperia Z5 Original Android Development] javiwz:
My huge thanks for those who keep bringing updates to Los and making the Z5 stick with the latest security patch and still rocking

I have a question about kernel, which kernel do you recommend for this ROM? Is it enough with the kernel of fw STOCK or is there any more appropriate and better for Los? I currently have the Patched Kernel from sceryavuz for my 1.54 fw but it seems more appropriate for fw than Los since it has drm-fix, sony-ric, dm-verity. things in Los you don't need to have.

Greeting and thanks in advance
[Xperia Z5 Original Android Development] threader:
Building android properly the kernel cannot deviate too much with regards to what you can run on the rom.
[Xperia Z5 Original Android Development] javiwz:
Understand, it's okay to leave as is, right?
[Xperia Z5 Original Android Development] threader:
I would recommend you use the kernel distributed with the rom or a derivative there of. Amongst others the libc library, bionic, is supposed to use the headers from the kernel during rom compile, if these headers do not correspond well you run into trouble quickly, you can jump hoops trough making changes, but in the end a clean rom will cause less headache.

I'm currently with a current break, trying to merge https://github.com/ACherepkov1989/android_kernel_sony_msm8994_kitakami (kindly it stopped booting with no logs at the Sony logo, so I slammed the laptop lid and headed to the nearest sun filled spot and stayed). He provided a kernel that would work on some precompiled roms. At some point he almost had 3.18 and 4.4 running as far as I could tell, that has been a goal of mine as well so his work intrigues me. Also this (https://xdaforums.com/xperia-z5/general/adreno-430-driver-adreno-430-graphics-t3551846) is interesting. But back to the point, due to inconsistencies between the headers (when I slammed the laptop lid and left) even a stable kernel failed to boot in my builds.

Let's say, a rom with a 3.10.84 kernel will not boot or have issues or at least complain with a 3.10.104 kernel.
[Xperia Z5 Original Android Development] Eric_Lev:
New build up : https://androidfilehost.com/?w=profile&uid=4349826312261606582

Changelog : https://www.lineageoslog.com/14.1 ... with July security patches.
[Xperia Z5 Original Android Development] Eric_Lev:
New build up (0807) : https://androidfilehost.com/?w=profile&uid=4349826312261606582

Changelog : August security patches.
[Xperia Z5 Original Android Development] theronkinator:
Does this support VoLTE and VoWifi on all networks, also any guides that cover moving from stock and backing up the DRM keys?
[Xperia Z5 Original Android Development] Eric_Lev:
New build up (1006) : https://androidfilehost.com/?w=profile&uid=4349826312261606582

Changelog : September security patches.
[Xperia Z5 Original Android Development] sohrab1985:
[MENTION=3816568]Myself5[/MENTION] [MENTION=9708417]Eric_Lev[/MENTION]

Great job on this rom.

I've installed this rom on my dad's Z5 (dsds), everything works just fine except the sensors which non of them works (like rotation or light sensor) and I don't know if I did something wrong or it's a known issue. I say that because when I installed the rom there wasn't any launcher, a camera nor a keyboard included, I installed them mydself. That is why I believe I missed flashing something. this is what I did:

1- Flashed the latest stock firmware (32.4.A.1.54).

2- Flashed TWRP

3- Flashed lineage-14.1-20201006-UNOFFICIAL-sumire.zip

4- Flashed Pico Gapps.

5- Flashed Magisk.

Any help would be appreciated.

Update:

I extracted the rom and all the app I said wasn't included is present in the rom, so I believe something went wrong during flashing procedure. or maybe I need to use a different version of Gapps.

Update 2: I flashed the rom again with nano Gapps and the apps that I said earlier are now present but no luck with the sensors.

Update 3: Problem solved.
[Xperia Z5 Original Android Development] riadjb1005073:
I have modified according to @Eric_Lev latest build

I have modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 6th October, 2020 which is VoLTE supported. even Gapps included, SElinux permissive, Adaway integrated and so on...... If anyone interested I can give ROM link.
[Xperia Z5 Original Android Development] Eric_Lev:
Feel free to post the link and build monthly ... because I don't have enough time to do so.
[Xperia Z5 Original Android Development] riadjb1005073:
LineageOS [sumire] modified build

LineageOS [sumire] modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 6th October, 2020

Specifications:

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- BusyBox added

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Bootanimation is modded

- etc....etc....

Link: https://drive.google.com/file/d/1OBoHraAZ03Sv5FuHJI_kSL5iwac8dJnH/view?usp=sharing

---------- Post added at 07:15 PM ---------- Previous post was at 07:07 PM ----------

LineageOS [sumire] modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 6th October, 2020

Specifications:

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- BusyBox added

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Bootanimation is modded

- etc....etc....

Link: https://www.androidfilehost.com/?fid=10763459528675568229

Screenshot: https://drive.google.com/drive/folders/1pp235g7b9vE2mto8ioHW5IG4cfrQ2CHz?usp=sharing
[Xperia Z5 Original Android Development] riadjb1005073:
New build with all feature.......

LineageOS [sumire] modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 6th October, 2020

Specifications:

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- BusyBox added

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Bootanimation is modded

- etc....etc....

Link: https://www.androidfilehost.com/?fid=10763459528675568229

Screenshot: https://drive.google.com/drive/folde...Hz?usp=sharing
[Xperia Z5 Original Android Development] s.hossein:
Sorry for this request but where is the new updates?In the op download link is 01/12.
[Xperia Z5 Original Android Development] Berdi86:
What for a new update? Only the 12.1. ...
[Xperia Z5 Original Android Development] s.hossein:
In Op you can see the created date is 12/1 & last updated for 18/1
[Xperia Z5 Original Android Development] diemadedrei:
I guess that's the post, not the ROM
[Xperia Z5 Original Android Development] Olivier:
Please run the following commands:

strings /dev/block/bootdevice/by-name/tz | grep QC_IMAGE_VERSION_STRING

and

cat /proc/cmdline

And paste the output here.
[Xperia Z5 Original Android Development] klemen241:
[IMG="photo"]http://shrani.si/f/2i/vq/468TgsBX/tmp15843-screenshot20170.png[/IMG]

[IMG="phot"]http://shrani.si/f/E/Fb/DvVDUNj/http-shranisif1els1suibs.png[/IMG]

will this do?
[Xperia Z5 Original Android Development] Myself5:
Thats amazing. You're on an even older bootloader version than I am, and that is NOT N. I just tested the way to boot the recovery you mentioned. Well... turns out its working for me too...

Seems like this feature already existed for quite a while now. It's amazing nobody figured that out before.

Thanks for pointing this out, I guess the Z5 community now owes you something :P
[Xperia Z5 Original Android Development] Klaus N.:
[MENTION=2761242]klemen241[/MENTION]

You should garble you IMEI in the 2nd screenshot ;)
[Xperia Z5 Original Android Development] klemen241:
you know what they say, best discoveries are made by mistake haha

---------- Post added at 11:40 PM ---------- Previous post was at 11:37 PM ----------

thanks man, good idea
[Xperia Z5 Original Android Development] frabe8378910:
Here are mine too:

sumire:/ # strings /dev/block/bootdevice/by-name/tz | grep QC_IMAGE_VERSION_STRING

QC_IMAGE_VERSION_STRING=TZ.BF.3.0.R1-61594

sumire:/ # cat /proc/cmdline

sched_enable_hmp=1 sched_enable_power_aware=1 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-5 dwc3_msm.hvdcp_max_current=1500 dwc3_msm.prop_chg_detect=Y coherent_pool=2M androidboot.selinux=enforcing buildvariant=userdebug androidboot.bootdevice=f9824900.sdhci androidboot.bootloader=s1 oemandroidboot.s1boot=1289-5620_S1_Boot_MSM8994_LA1.2.2_42 androidboot.serialno=BH900SEK4Z ta_info=1,16,256 startup=0x00000001 warmboot=0x00000000 oemandroidboot.imei=xxxxx oemandroidboot.phoneid=0000:xxxxx oemandroidboot.security=0 oemandroidboot.babe08b3=50000000 oemandroidboot.securityflags=0x00000003 oemandroidboot.aid=4 lcdid_adc=0x5EF62 display_status=on androidboot.baseband=msm

And as someone asked before, I did: "fastboot flash recovery recovery.img".

I believe I EMMAd the latest tft some month ago, but I can't remember for sure because I at least updated two Z3 to get the latest boot loader.
[Xperia Z5 Original Android Development] shoey63:
No need for a video. Booting into recovery on unlocked bootloader has been there since Lollipop.

Myself5 probably hasn't ever done it because he is always on a custom rom with where you can enter recovery pressing volume rocker during boot up (until now)

Correct procedure:

- Flash recovery.img to FOTAKernel partition

fastboot flash recovery recovery.img

- Power off device

- Power on whilst holding volume down

- Upon vibration, release power button

- Wait a few seconds, then release volume down

- ????

- Profit!
[Xperia Z5 Original Android Development] Myself5:
Hum I guess I just did never know indeed.

Back when the shinano devices got it it was just said that kitakami is "following soon" but there never was a followup info on that.

Thanks, it's not needed anymore though, as it was just to review the bootloader version to see what bootloader version hes on (to make sure nothing flashed the N bootloader for whatever reason without him knowing).

As turned out that feature seems to exist for quite a while now though. I guess I totally missed that :D.

Also, huge thanks for the donation :)
[Xperia Z5 Original Android Development] sceryavuz:
I tried man I did.. I am the first person who said use cm twrp :cool: Look the post#26 https://xdaforums.com/showpost.php?p=70535402&postcount=26

I flashed via fastboot, and I used Reboot Recovery app.. I tried VOL UP + POWER. You are very lucky man, who tried VOL DOWN + POWER :p
[Xperia Z5 Original Android Development] RyTekk:
It's sound great, AOSP ROM with stock kernel and vendor, what can be better :laugh:. I'm waiting for BT issue fixed since I use BT every day with my NWZ for music listening and call answer. Btw, do we need to reflash stock N ftf without system and kernel to update other things for better compatibility? Wish I could donate to you M5, you wouldn't leave us (Xperia Community).

EDIT: can I boot with stock zImage and LineageOS ramdisk?
[Xperia Z5 Original Android Development] findbuddha:
Myself5, thanks very much for your efforts putting this together!

The ROM has been working very well on my single SIM Z5.

My only bugs so far are BT audio being extremely distorted, and auto brightness not working well (generally being too bright).

Cheers!
[Xperia Z5 Original Android Development] klemen241:
yea thanks, i got idea from you. Ive always been using volume down, volume up is jsut force shut down. First time flashing costum rom i was pressing volume up and almost go mad and threw phone throu window, than i figured out down haha.
[Xperia Z5 Original Android Development] Lemming0815:
Have you tried to enable the brightness slider on the status bar? You can use it to adjust the median level of the auto brightness...
[Xperia Z5 Original Android Development] findbuddha:
Thanks! I thought I'd tried that but checked again and it's definitely working.
[Xperia Z5 Original Android Development] klemen241:
its working, its just too brihgt on lowest, try use lux app
[Xperia Z5 Original Android Development] Myself5:
Who said I'd leave? There is more to come ;)

All I did was buying a Pixel because of being done with the stagnation of development, and because I needed a DD for the future.

Can't afford to buy new phones every year as a student anymore [emoji14]

The X Performance wasn't even bought by me already, I got that from Sony :)

No you can't. For 7.x kernel related SELinux changes are required for the phone to boot.

Not sure how the zImage from 7.0 would do, we didn't test that yet.
[Xperia Z5 Original Android Development] Eric_Lev:
New build up : lineage-14.1-20201027-UNOFFICIAL-sumire.zip

Download : All builds

Changelog : https://www.lineageoslog.com/14.1

- October security patches ... via repopick -t n-asb-2020-10

- Update Android to tzdb 2020c... via repopick -t tzdb2020b_N

All credit goes to LineageOS team and [MENTION=3816568]Myself5[/MENTION].
[Xperia Z5 Original Android Development] riadjb1005073:
New build from @Eric_Le latest update 27/10/2020

LineageOS [sumire] modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 27th October, 2020

Specifications: Just flash as usual and enjoy... no need to install 3rd party apps... Its a complete set...............

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- Stock camera image quality improved by code

- BusyBox added

- Gapps included

- Vanced YouTube added (Fully modded, no fake update notification will show)

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Default phone ringtone replaced by Xperia stock ringtone

- Bootanimation is modded

- so on....................

Link: https://www.androidfilehost.com/?fid=10763459528675572772

Screenshots: https://www.androidfilehost.com/?w=files&flid=319126
[Xperia Z5 Original Android Development] shohabmsk:
hi. does usb otg work here? my touchscreen has got unresponsive, so i plug otg with mouse, but nothing happens. also tried pendrive too
[Xperia Z5 Original Android Development] riadjb1005073:
Yes it will work....
[Xperia Z5 Original Android Development] Eric_Lev:
[ New build up ]

Download : All builds

Changelog : https://www.lineageoslog.com/14.1 ... with November security patchs.

All credit goes to LineageOS team and [MENTION=3816568]Myself5[/MENTION].

Note: I stop posting here but I will try to continue to build monthly for this device.

Happy flashing and take care !
[Xperia Z5 Original Android Development] riadjb1005073:
LineageOS [sumire] modified Build

LineageOS [sumire] modified according to [MENTION=9708417]Eric_Lev[/MENTION] latest build on 16th November, 2020

Specifications: Just flash as usual and enjoy... no need to install 3rd party apps... Its a complete set...............

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- Stock camera image quality improved

- BusyBox added

- Gapps included

- Vanced YouTube added (Fully modded, no fake update notification will show)

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Default phone ringtone replaced by Xperia stock ringtone

- Bootanimation is modded

- so on....................

Link: https://www.androidfilehost.com/?fid=10763459528675585743
[Xperia Z5 Original Android Development] Myself5:
You might want to remove that, a patched PowerAmp is piracy, which is not allowed on XDA

Plus PowerAmp is an amazing software, it absolutely deserves to get paid for.
[Xperia Z5 Original Android Development] riadjb1005073:
Another build: LineageOS [sumire] modified Build

LineageOS [sumire] modified according to @Eric_Lev latest build on 16th November, 2020

Specifications: Just flash as usual and enjoy... no need to install 3rd party apps... Its a complete set...............

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- Stock camera image quality improved

- BusyBox added

- Gapps included

- Vanced YouTube added (Fully modded, no fake update notification will show)

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Default phone ringtone replaced by Xperia stock ringtone

- Bootanimation is modded

Link: https://www.androidfilehost.com/?fid=17248734326145679

All Build: https://www.androidfilehost.com/?w=files&flid=318846
[Xperia Z5 Original Android Development] 9Fuchs:
Hello!

I installed Lineage OS sumire-5.zip from RIAD trough an update via flahig .zip in TWRP from an Unoffical-Version from Eric_Lev.

I cleared cache and dalvalik. Now are not all apss are working.

For example, Subway Surfers doesn´ t load porperly, it force-closes.

Have you any ideas what can I do to solve the problems?

Thanks for your Help!
[Xperia Z5 Original Android Development] riadjb1005073:
you need to fresh inslall Lineage OS sumire-5.zip, Plese clean your old rom and install it again.....
[Xperia Z5 Original Android Development] riadjb1005073:
Subway Surfers running smoothly in fresh install at Lineage OS sumire-5.zip. As far I know there is no bug in my build.
[Xperia Z5 Original Android Development] Sparky_12:
Thanks to everyone here for all your hard work on this ROM, and for keeping the Z5 alive. :-)

I'm a relative newbie, but clean installed the latest version (December 9th) of this ROM from https://androidfilehost.com/?fid=17248734326145679428, after fully wiping all data, cache and internal storage. (was using MROM previously, but experiencing too many bugs.)

The good news is that the ROM runs buttery smooth.

The bad news is that multiple apps keep crashing (Facebook, Alexa etc.)

Can anyone explain what might be happening, and any suggestion or solution of what I might need to tweak to fix this.

I'm using a Z5 Dual (6683) and have installed Magisk 20.4. I've even managed to pass safetynet using this method:

[MODULE] Fix CTS Profile Match Fail - Play Integrity Fix

To Fix CTS Profile Match Fail issue and to fix "Play Integrity", use the Magisk Module mentioned in this article. This Magisk module will help to get...

droidholic.com

II don't know if that's relevant at all, but not sure what's causing the crashing, so any help most appreciated!

With thanks in advance,

Marc
[Xperia Z5 Original Android Development] Sparky_12:
Not sure if I'm doing this right, but using logcat reader, I see these error messages around the time of my app crash (in this case Titanium Backup). Don't know which is most relevant, but hope this might help for anyone in the know, and with any suggested solutions:

(1) Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)

(2) Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI

(3) applyOptionsLocked: Unknown animationType=0
[Xperia Z5 Original Android Development] riadjb1005073:
Lineage OS sumire-6: modified according to @Eric_Lev latest build on 21st December, 2020. Security Patch: December 5, 2020.

Specifications: Just flash as usual and enjoy... no need to install 3rd party apps... Its a complete set...............

- VoLTE enabled

- Dialer call recorder enabled

- SELinux permissive

- Stock camera image quality improved

- BusyBox added

- Gapps included

- Vanced YouTube added (Fully modded, no fake update notification will show)

- Trebuchet launcher is replaced by Xperia home

- Xperia Icon pack added

- Default phone ringtone replaced by Xperia stock ringtone

- Bootanimation is modded

Link: https://www.androidfilehost.com/?fid=17248734326145695188

All Build: https://www.androidfilehost.com/?w=files&flid=318846
[Xperia Z5 Original Android Development] Sparky_12:
Thank you for this latest update :)

What do I need to wipe before flashing this? Do you think it may address the issue of multiple apps crashing?
[Xperia Z5 Original Android Development] riadjb1005073:
you need to wipe out previous ROM..... I think it will solve your problem
[Xperia Z5 Original Android Development] Sparky_12:
Thanks so much for your reply Riad. I did wipe everything before installing the December 9th version and did a totally clean flash. Was there a problem with the December 9th version that the latest version fixes?

If it's any help, I think I've identified the key cause as java.lang.outofmemoryerror.

I've attached a screenshot of the logcat here.

Does the attached error make any sense to you and are you sure that wiping everything and flashing the latest version will fix it?

Really appreciate your help here ☺️. A working phone would be a good Christmas gift!
[Xperia Z5 Original Android Development] nero10:
is substratum patch included?

installed but apps are randomly crashing when I using! is anybody having this issue? you can't use instagram, youtube music for 5 mins example
[Xperia Z5 Original Android Development] Sparky_12:
Yes, this is exactly my issue too.