yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB 2019-08.

Link to be found in OP
[Galaxy S 4 i9505 Original Android Development] Nauzet v.h:
thank so much for the amazing work
[Galaxy S 4 i9505 Original Android Development] asdf2345:
Will there be updated 4.x roms like this for other devices?

Is anything like this for 6.x planned?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
1) i9100

2) Not that I know.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New: asb 2019-11 --> see OP
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New: asb 2019-12 --> see OP
[Galaxy S 4 i9505 Original Android Development] grzwolf:
This project is abandoned

The number of Kitkat applicable patches decreases with every month, because AOSP only maintains Android versions >= 8. Kitkat is version 4.

That does not mean, there are no vulnerabilities in Kitkat anymore.

We simply don't know them.

This Kitkat ROM has retired.
[Galaxy S 4 i9505 Original Android Development] maxdroid20:
Hi,

First, I would like to say you a big THANKS for maintaining kitkat so long. I am a long 4.4.4 user, since when it appeared on S2 (I still have it), and I don't know how I will do after. I tried different newer versions, 5, 6, 7, and I'm not really happy with them.

Now, I have a question about the links in OP. There are two possibilities in "extra kernels". I would like to know the differences between #1 and #2. #2 does not seem to have a mirror anymore :/

And, maybe you have a suggestion for what version could potentially replace kitkat, in general and especially on the s4 ?

Regards,
[Galaxy S 4 i9505 Original Android Development] renz83:
About the SideCore

What Files/Lines I need to edit on ramdisk to make it work on CM12.1
[Galaxy S 4 i9505 Original Android Development] BeastMode6:
Can confirm SIM not working on SCH R970. No calls, no texts, no data.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
CDMA phone variants like your SCH-R970 are not supported by this ROM.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
update on Chromecast issue

The issue with the broken screen mirrorring to Chromecast is released by the following red line in IOMX.cpp

(folder https://github.com/LineageOS/android_frameworks_av/tree/cm-11.0/media/libmedia):

<...>

939: status_t err =

940: // only control output metadata via Binder

941: port_index != 1 /* kOutputPortIndex */ ? BAD_VALUE :

942: storeMetaDataInBuffers(node, port_index, enable);

<...>

The screen cast app is requesting a meta data buffer on an input port. IOMX.cpp rejects this request, because it accepts such requests only for output ports.

An experimental ROM built with line 941: commented out, let the screen mirroring to Chromecast work as supposed

https://www.androidfilehost.com/?fid=457095661767134840

The change to IOMX.cpp was introduced by commit

https://review.lineageos.org/#/c/62373/,

which was based on an ASB security patch

https://android.googlesource.com/platform/frameworks/av/+/0f177948ae2640bfe4d70f8e4248e106406b3b0a.

Now a mystery part (at least to me) begins.

The ASB security patch does not make any change to IOMX.cpp

(proof https://android.googlesource.com/platform/frameworks/av/+/master/media/libmedia/)

contrary to the CM patch, which does.

So far I couldn't find an explanation, who originated the magic IOMX.cpp change and why.

The CM committer did not yet respond to my question regarding this subject.

Before we do not fully understand this, it is not a fix to the issue.

Gerrit review in progress.

https://review.lineageos.org/#/q/status:open+branch:cm-11.0
[Galaxy S 4 i9505 Original Android Development] gphg:
Thank you, chromecast is working now with rom provided by you.
[Galaxy S 4 i9505 Original Android Development] arminbih:
Damn this is fast... Tried two versions of android 7.1.1, none can compare to the speed and responsiveness of the mighty kitkat... If someone knows stock 6.0.1 with latest security patches pls point it out to me might try it.
[Galaxy S 4 i9505 Original Android Development] timenewroman:
Why do you prefer the LineageOS 11.0 over the Official 4.4.4 - S4 Google Edition?
[Galaxy S 4 i9505 Original Android Development] gphg:
It is better!
[Galaxy S 4 i9505 Original Android Development] bunu:
I am curious. How often does security patches come out for kitkat now? I've been meaning to install this and go back to the glory days of kitkat. Also does xposed work with the new build that fixes chromecast screen sharing? Also which gapps are to be used?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
1. security patches

Once per month, look up 4.4.4 --> https://source.android.com/security/bulletin/index.html

2. xposed

I don't know, never tried it.

3. gapps

It's a matter of taste, any 4.4.4 gapps shall be ok. Updates will come thru PlayStore.

Sample link: https://xdaforums.com/android/software/reborn-gapps-t3074533
[Galaxy S 4 i9505 Original Android Development] bunu:
ah ok. I used opengapps and it worked fine. Not sure if people know or not but I couldn't get the system to boot with f2fs filesystem but once I changed it to ext4 everything booted just fine. It seems like xposed doesn't work at all. It won't let you install it but it's whatever for me.

thanks for the great rom!
[Galaxy S 4 i9505 Original Android Development] Lenny Bard:
Apparently all KitKat with Stagefright fix have this problem with xposed.

I resolved this in a TW 4.4.4 rom with a tutorial found on xda.

Replace these two files by a version from an old rom (before summer 2015 I think) :

bin/app_process set perm. rwxr-xr-x

lib/libandroid_runtime.so set perm. rw-r--r--
[Galaxy S 4 i9505 Original Android Development] Mynacol:
The February security bulletin should be ready these days!:fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Current security patch level is even still 2016-12-01.

Because 2017-01-01 has imho some issues, I'd rather get clarified by the ASB team.

Search website https://source.android.com/security/bulletin/2017-01-01.html for 4.4.4 and check CVE, Reference and the link provided by Reference.

1.) identical CVE number but different reference numbers refer to the same reference link: https://android.googlesource.com/platform/frameworks/av/+/26965db50a617f69bdefca0d7533796c80374f2c

CVE-2017-0398 A-32438594

CVE-2017-0398 A-32635664

CVE-2017-0398 A-32624850

2.) different CVE numbers and different reference numbers refer to the same reference link: https://android.googlesource.com/platform/frameworks/av/+/321ea5257e37c8edb26e66fe4ee78cca4cd915fe

CVE-2017-0384 A-32095626

CVE-2017-0401 A-32448258

3.) different CVE numbers and different reference numbers refer to the same reference link: https://android.googlesource.com/platform/frameworks/av/+/c66c43ad571ed2590dcd55a762c73c90d9744bac

CVE-2017-0399 A-32247948

CVE-2017-0400 A-32584034

CVE-2017-0402 A-32436341

The ASB team so far did not yet respond.

You might consider not being too enthusiastic regarding a quick implementation of 2017-02-01. :)
[Galaxy S 4 i9505 Original Android Development] Nesh89:
I love 4.4.

I'm on cm11 right now, i need a stable rom for my device, but i will give this one a try for sure.

Thank you to the dev for giving us this build, I'm happy to see a kitkat lover like my self, cheers:)

Im sorry are there any alternative links?

Dev host is not working.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Sorry for this hassle.

Links #1 and #23 are changed to AFH.
[Galaxy S 4 i9505 Original Android Development] facedown000:
Sorry for this question, may you guyz help me for the link on this rom's Xposed? Is it working in here? I can't seem able to use the apk that i have when I was on kitkat before? is it different this time? Highly appreciate mates!
[Galaxy S 4 i9505 Original Android Development] Lenny Bard:
I've try replacing the two files as I said in my previous post, able to flash xposed framework but I get a bootloop..

edit : with the latest cm11 build (20160815) it work perfectly.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up with preliminary, not yet LineageOS approved ASB 207-01-01 patches.

Link to be found in OP.

https://xdaforums.com/galaxy-s4/i9505-orig-develop/rom-lineageos-ex-cm-11-0-galaxy-s4-t3533827
[Galaxy S 4 i9505 Original Android Development] iceman1177:
Hello, this room Lineage is super fast ,smooth,clear and batery style is fantastic.Thanks to the team for this amazing room and good luck in development research for our device....
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up: ASB 207-02-01 security patches + more.

Link to be found in OP.
[Galaxy S 4 i9505 Original Android Development] Poochini:
Hello. After i day of use:

- WiFi and cellular - no problems

- big battery drain. One question, how I can log smartphone use by day (total call time, screen on, ect) ? I don`t want to have placebo for battery opinion.

- phonebook synching by bluetooth with car - WORKS! :)

- camera works

Rest - OK.

Do you plan to work on this rom?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
a) goto PlayStore, donwload&install the tool BetterBatteryStats from author Sven Knispel

b) Just security patches as provided by Google/AOSP/LineageOS
[Galaxy S 4 i9505 Original Android Development] Poochini:
Thanks, I`ll test theese apps.

For battery drain - so, there is not chance to fix it?

One more thing what I found - screen in autobrigthness mode is dimmed. I test also "[ROM][Official][4.4.4] CyanogenMod 11.0 Nightlies for the Qcom Intl Galaxy S4" and there is screen light is working well. I found that sensor in LOS is reading mostly 0%. In the same light in CM11 shows ~25%.

Regards

P
[Galaxy S 4 i9505 Original Android Development] oF2pks:
If possible, can you provide 1 global diff per all monthly CVE patches, for other devices (like p880) ?

btw: if you want to add WakelockBlocker option and Xposed compatibilty (or MicroG), check :

https://xdaforums.com/android/software-hacking/wakelock-blocker-official-2016-nightly-t3393825

(reverse: https://github.com/LineageOS/android_dalvik/commit/ce37385405fba4b061e146c6bf763d9254022ef8 )

or cross: https://github.com/arter97/android_frameworks_base/commit/35724b039e7a990950100354d01467c05756de37

(Attached is old 2016 Aug original broken_Xposed from CyanogenMod, already reversed in WakelockBlocker patches: https://github.com/LineageOS/android_frameworks_base/commit/d8130142f875f2d9b4853765ed50bee9cc0f7046 )
[Galaxy S 4 i9505 Original Android Development] grzwolf:
The diff files for CVE Patches are device independent and available on:

1) https://source.android.com/security/bulletin/index.html

* select year & month

* search on the website for all 4.4.4 occurrences

* click reference link

* get the original diff files perfectly matching to AOSP master, ... but not necessarily to other 4.4 sources

2) https://github.com/android-security

* select a package and open it

* select the 4.4 branch

* click header "commits"

* get diff files perfectly matching to AOSP 4.4 security sources, ... but not necessarily to LineageOS

3.) https://review.lineageos.org/#/q/status:merged+branch:cm-11.0

* navigate to entries tagged with "asb" + year + month

* get LineageOS diff files
[Galaxy S 4 i9505 Original Android Development] barna73:
I like it, thank you!
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up: ASB 2017-03-01 security patches + more.

Link to be found in OP.
[Galaxy S 4 i9505 Original Android Development] sioneng:
Thanks for sharing this fastest rom I've ever used for my phone.

Can I dirty flash this new release coming from last month release.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Sure, do it as long as you come from one of my previous builds.

I always do so.

Remark:

I always have a recent nandroid backup on hand, just in case ...

Better safe than sorry.
[Galaxy S 4 i9505 Original Android Development] sioneng:
Is there a way you can upload those 2 files.. I'm getting over quota message when i try to download latest cm build.
[Galaxy S 4 i9505 Original Android Development] side:
[MENTION=1622467]grzwolf[/MENTION]

can i see your device tree source code :) ?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
The device tree is purely generated according to the standard build recipe from CM/LOS.

Almost no miracles to expect.

Still, there were two tiny little modifications required:

1) ~/android/system/vendor/samsung/jf-common/Android.mk

--> compiler fail

It misses an entry for jflte in the line "ifneq ($(filter jflteatt jfltetmo jfltevzw jfltexx jfltecan jflteusc jfltecri jfltecsp jfltezm,$(TARGET_DEVICE)),)".

2) ~/android/system/vendor/samsung/jf-common/proprietary/lib/hw

--> bootloop

One would expect to find the following two files in there: camera.msm8960.so 13.7kB and camera.vendor.msm8960.so 215.1kB.

For whatever reason the blob extract script generates these two files, but they are having the same size.

I botched both issues manually w/o digging into a root cause analysis.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up:

ASB 2017-04-01 security patches + more.

Link to be found in OP.
[Galaxy S 4 i9505 Original Android Development] LuckasSilvaGS:
Will there be another version of Android 4.4 ??:mad:

---------- Post added at 03:21 AM ---------- Previous post was at 03:03 AM ----------

You are still going to continue with the project because the Android KK in my opinion is the cleanest and most fluid and the developers nowadays focus on TouchWiz or in 7.0 onwards is love Android KK wanted to know if there will be a new version ?? ?:(
[Galaxy S 4 i9505 Original Android Development] :
For real? This update is not old. And asking for updates is not allowed!!!

He uodates this rom once a month if i'm not wrong so be patient and wait!
[Galaxy S 4 i9505 Original Android Development] LuckasSilvaGS:
Calm I'm just asking because the rom is still unofficial yet it's also did not know about updating once a month sorry
[Galaxy S 4 i9505 Original Android Development] grzwolf:
@LuckasSilvaGS

@Black_Focus_X

Once a month Google releases a so called Android Security Bulletin (ASB).

The provided patches need to get integrated into the kitkat/4.4.4 sources at LineageOS, which usually takes days, up to weeks.

Until LineageOS approves such patches, such patches are at status open = not approved.

But: At this point there is a good chance to find a new monthly build in this thread.

Depending on what patches LineageOS merged = approved during a month, there might be more builds.

unofficial/open/merged

Regardless whether LineageOS approves the above mentioned patches or not, all builds to be found in this thread will be unofficial. Privately built LineageOS ROMs are always restricted to such level.

The level of confidence to a private/unofficial built ROM might be higher, when the build was made from LineageOS merged patches.
[Galaxy S 4 i9505 Original Android Development] droidman99:
how to enable xposed in this rom
[Galaxy S 4 i9505 Original Android Development] Nesh89:
Replace these two files by a version from an old rom (before summer 2015 I think) :

bin/app_process set perm. rwxr-xr-x

lib/libandroid_runtime.so set perm. rw-r--r--
[Galaxy S 4 i9505 Original Android Development] gazdajezda:
Dspfdpfod
[Galaxy S 4 i9505 Original Android Development] hazzemammar:
Did anybody tried voice recording ?
[Galaxy S 4 i9505 Original Android Development] Nesh89:
šta bre?

---------- Post added at 02:23 AM ---------- Previous post was at 02:21 AM ----------

It may be a kernel issue.

EDIT: It is a kernel issue, i flashes Googy cm1.2.5 kernel and every thing works fine.
[Galaxy S 4 i9505 Original Android Development] AsnNasser:
Cool

What are the advantages of using a based model of a 3 years-old Rom?
[Galaxy S 4 i9505 Original Android Development] Nesh89:
what kind of question is that? I use cm11 as my every day rom, cuss i hate every thing that came after 4.4, that's the reason.

Do you have any real questions that don't disrespect the dev?

---------- Post added at 08:08 AM ---------- Previous post was at 07:34 AM ----------
[Galaxy S 4 i9505 Original Android Development] gazdajezda:
Eh, obviously i fall to sleep last night, sorry :)

Desi se i najboljima, jebiga ;)
[Galaxy S 4 i9505 Original Android Development] AsnNasser:
I'm not disrespecting anyone but he is developing an old rom. Like developing Windows XP instead of using Windows 10.
[Galaxy S 4 i9505 Original Android Development] Nesh89:
well i dont use windowsXP but i use Windows7 becouse i like it more then windows10, and i use this ROM as my every day rom cuss i like CM11 more then every thing that came out later.

Its something called choice, some people like older things more. Thats it.
[Galaxy S 4 i9505 Original Android Development] hazzemammar:
Okay thanks :good:
[Galaxy S 4 i9505 Original Android Development] hazzemammar:
Is there any updates coming ? , i really dig this rom :D
[Galaxy S 4 i9505 Original Android Development] Nesh89:
once a month so there should be an update soon
[Galaxy S 4 i9505 Original Android Development] Nesh89:
Ok voice rekcording is not working, and people cant hear me on Line messenger, i cant send voice messages, i thought it was a kernel issue, so i changed the kernel. But it stopped working again.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
With what version did it stop working?

Otherwise logcat could be helpful:

open terminal (Playstore: Android Terminal Emulator Jack Palevich)

$su (root is needed to capture messages from all processes)

$logcat -c (have clean logcat)

$logcat > /sdcard/logfile.txt (start log messages capture)

let terminal run in background (home button)

provoke failing scenario

switch back to terminal (long press home) and close terminal (X in title bar)

post logfile.txt as forum attachment
[Galaxy S 4 i9505 Original Android Development] makaholic:
I'm currently running 11-20160815-nightly-jflte and absolutely enjoy this rom. I too wanted to flash latest rom but without the ability to use xposed framework it really don't sound like a good idea since I use it on daily basis. You mention to replace the two files above but do you have a tutorial or could you steer me in the direction on how to go about doing this. I have a S2 i9100 with old cm snapshot m12 maybe I can use this phone to pull the files from. Any help will be greatly appreciated.
[Galaxy S 4 i9505 Original Android Development] Nesh89:
i cant seam to make a logcat, for some reason. I tried with terminal, and with some apps, but nothing. May something be conflicting? I know you need to see a logcat for that as well but do you have any ideas? This never have any idea what may be causing the trouble?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
It's an Android thing:

"sdcard" is actually "/storage/emulated/0/".

So "logcat > /sdcard/logfile.txt" means, logfile.txt will be actually stored in "/storage/emulated/0/".

And don't forget "logcat -c" prior to the command above to keep the logfile as short as possible.
[Galaxy S 4 i9505 Original Android Development] Nesh89:
Yes, yes i know, but the logfile.txt is empty, and term doesn't even run logcat, neither did any other apps, meanwhile i have bin having trouble the las few days with incoming and outgoing calls, there is no sound from the mic or speakers. This didn't happened before.

Here's the logcat https://mega.nz/#!ktJz0CSB
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up:

ASB 2017-05-01 security patches + more + new LOS boot animation

Link to be found in OP
[Galaxy S 4 i9505 Original Android Development] :
No, don't work for me, i have tried old version and newest version. i have bootloops on the logo.

I have gt-i9505 and is need to work, but it don't. And i have install this rom from the internal storage (not microsd). Damn, i love kitkat. I think the recovery version of twrp is to high, i have 3.1.0.

Very sad.

Success
[Galaxy S 4 i9505 Original Android Development] vas007:
Hi Guys,

I installed this ROM and it is excellent to use as daily driver due to mainly less battery drain which I faced in almost all other ROMs.

1. Slow Charging issue - It takes 5 hours to charge fully from 15%. Is it an issue or is there any solution to it?

2. Is it possible to have phone dialer like Lollipop?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Elaborate success. Curious about twrp 3.1.0.

1) Sounds like: bad cable, weak charger, dirty connector or old battery. Download "Galaxy Charging Current" from playstore, you should see if all is well a charging current of ca. 1800mA.

2) No, Lollipop programs require kitkat incompatible libraries, aka a higher API level.
[Galaxy S 4 i9505 Original Android Development] vas007:
Hi grzwolf,

Battery, cable and charger all are new. My friend's phone charge very quickly with same charger.

Tried Galaxy Charging apk and it shows maximum Ca. 1900mA

Is anything else I can do?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Charging time yesterday on my phone from 1% - 100% was 3.5h.

Something must be wrong in your case, an app which was running crazy?
[Galaxy S 4 i9505 Original Android Development] vas007:
Hi

Checked for app, nothing suspicious.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Something to try out for the xposed friends ...

https://xdaforums.com/xposed/xposed-android-4-4-4-t3249895/post72401950#post72401950
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up:

ASB 2017-06-01 security patches

Link to be found in OP
[Galaxy S 4 i9505 Original Android Development] makaholic:
The link is dead can you repost the link, I would appreciated.

Thanks
[Galaxy S 4 i9505 Original Android Development] grzwolf:
https://xdaforums.com/xposed/xposed-android-4-4-4-t3249895/post72401950#post72401950
[Galaxy S 4 i9505 Original Android Development] marvin joseph:
Can I install this on 4.4.2 version?
[Galaxy S 4 i9505 Original Android Development] DefyCM:
Happy KitKat User again

Hi grzwolf,

Thank you very much for providing updated LineageOS 11 (4.4.4.) rom, and please keep going to support us with updated rom version.

So i'm able to switch back from LineageOS 13 after almost 8 months use (i was like you dissapointed about lock and feel)

Used my old backup, run dirty upgrade and installed the xposed framework with patch found in forum.

Everything is running fine (all apps, battery lifetime etc. like before with the last CM11 verion running xposed)

best regards "old" Defy User
[Galaxy S 4 i9505 Original Android Development] grzwolf:
New build is up:

ASB 2017-07-01 security patches

Link to be found in OP
[Galaxy S 4 i9505 Original Android Development] side:
[MENTION=1622467]grzwolf[/MENTION] mate.i think the cm14.1 kernel will boot on 4.4x with the proper ramdisk.give it a try.its more updated
[Galaxy S 4 i9505 Original Android Development] Poochini:
Hi. How I can use LiveDisplay in this ROM for night?
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Cool, you mean by simply replacing the boot.img inside the flashable zip.

Sounds tempting, I'll give it a try.
[Galaxy S 4 i9505 Original Android Development] grzwolf:
With this I won't be any help for you, never tried it.
[Galaxy S 4 i9505 Original Android Development] Poochini:
Sorry for strange question. In cm13 there is a posibility to reduce screen blue color to more red/yellow. Very usefull in night timrle, to save eyes. I test lot of roms, and 4.4.4 is working the best (with cm13 by side). I'm missing only nightmode in rom.
[Galaxy S 4 i9505 Original Android Development] side:
no mate.i didnt say that.i said,use the 14.1 kernel with cm 11 ramdisk.

to do that u just need to track the cm14.1 branch from kernel of lineage jf kernel
[Galaxy S 4 i9505 Original Android Development] grzwolf:
Got it, cm11 ramdisk is an issue. Thanks.
[Galaxy S 4 i9505 Original Android Development] nwlun:
Is Exposed confirm not working in this room?