yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] maanteel:
Dears

I am sorry to ask for the solution, I feel confused.

If I shutdown my S2 i9100 , it unfortunately still eats the accu (a new one).

I came from nougat and just installed clean (not dirty, didnt changed the PIT, no additional apps) your kitkat rom.

Yes, within nougat last month the drain begun. I hoped with a clean 4.4 it would be solved.

Ok, I didnt choosed the long way installation via stock rom. .

Thank you for your help

Best regards
[Galaxy S II Android Development] grzwolf:
Perhaps this may help you:

cm11 has a strange "fake drain battery after reboot" bug.

Even a full battery will be shown as heavily drained after a reboot.

Over time the battery level will go up to its real value.
[Galaxy S II Android Development] grzwolf:
New: asb 2019-11 --> see OP
[Galaxy S II Android Development] ze7zez:
This ROM has great practical application because it runs despite Emulated Storage.

Thanks to Triangle Away, I removed the annoying exclamation mark that appeared on my S2 after repartitioning and using Emulated Storage.

Triangle Away does not work with root from magisk, so the only way to run it and get rid of the triangle is to go back to the original partition, which is time consuming.

Using Triangle Away on LineageOS 11 is easy and effective.
[Galaxy S II Android Development] NadavCE:
[MENTION=1622467]grzwolf[/MENTION], thanks a ton for this. Keeping my old faithful running nicely :)

I'm thinking of doing the same thing for i9305... I'm familiar with building Lineage, are you doing anything special to integrated the ASB patches or just a standard build? Thanks again!
[Galaxy S II Android Development] grzwolf:
It is more or less a standard build.

But before doing this, a few enthusiast and I are backporting the monthly ASB patches (if possible) into the LineageOS cm-11.0 repositories.

Coarse overview:

https://xdaforums.com/showpost.php?p=74059817&postcount=142

Step by step:

https://xdaforums.com/showpost.php?p=74525695&postcount=79
[Galaxy S II Android Development] grzwolf:
New: asb 2019-12 --> see OP
[Galaxy S II Android Development] VashlaK Belarus:
Have you tried to use 3.0.101 instead of kernel 3.0.64? This is a wonderful ROM, thanks a lot for the development, please continue in the same vein.
[Galaxy S II Android Development] grzwolf:
No, I didn't.

Kernel is straight cm-11.0 + a few security patches as shown here .
[Galaxy S II Android Development] grzwolf:
Abandon this project

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 II Android Development] TriboDoP:
Hi

Thanks for keeping it alive as long as possible!
[Galaxy S II Android Development] sirozan:
I can only agree, thank you for maintaining this Kitkat project for as long as it possibly made sense, it definitely had its place here.

Oh and also thanks for properly announcing the end of the project and providing a reason for it, instead of just letting this thread die in silence, much appreciated as well.
[Galaxy S II Android Development] BrendaJ:
Thank you for maintaining this ROM for so long - I just found it in October and was happy to get a new and fast life out of my S2.

What do you recommend as a maintained and fast replacement ROM? Or do you plan to compile an own version yourself?

Again, thank you very much!
[Galaxy S II Android Development] grzwolf:
Sorry, no further builds from me for s2 planned.

The forum has all it takes, have a look at the variety of contributions from rINanDO and linusdan.
[Galaxy S II Android Development] BrendaJ:
Okay, thanks a lot!
[Galaxy S II Android Development] TheNightmare97:
Someone had tried do apply xposed patch to december 2019 build?
[Galaxy S II Android Development] DragonZeal:
Was a problem with USB Storage not formatted after using pit file

Anyone got Pokemon Go working?

Unable to authenticate message error.
[Galaxy S II Android Development] mirhl:
Check safetynet
[Galaxy S II Android Development] LeBourrin:
Same for me. Can't make work pokémon because ROM is buildin rooted
[Galaxy S II Android Development] mirhl:
Isn't latest Lineage code supposed to not come pre-rooted?
[Galaxy S II Android Development] DragonZeal:
Any romantic that works with PGO?

I even disabled root and debugging in the Developer Options but no luck

---------- Post added at 06:43 PM ---------- Previous post was at 06:40 PM ----------

I don't think this is the latest.

With LOS 14.1 PGO works but is very laggy hence the reason for wanting Kitkat.

---------- Post added at 06:46 PM ---------- Previous post was at 06:43 PM ----------

Thx. Helps testing different roms.

Any idea what to do for making this ROM work?

Because the performance of this ROM is outstanding.
[Galaxy S II Android Development] DragonZeal:
Check this out.

[youtube]AR32-JcS99k[/youtube]

Works for me
[Galaxy S II Android Development] mirhl:
LOS != android
[Galaxy S II Android Development] DragonZeal:
What do you mean by LineageOS is not Android?
[Galaxy S II Android Development] guest4711:
LOS is one incarnation of android. If LOS14 is laggy for you it does not mean that android N is laggy per se. Switching to another incarnation of android N, e.g. Dirty Unicorns, Slim, AOSP may be a better way than switching to older base versions, e.g. Android M or L.
[Galaxy S II Android Development] LeBourrin:
First I want to thank you grzwolf for sharing your personal i9100 build. Before I was running Lanchon 4.4 CM build (2016-01) for some months because marshmallow was too lagy for our old phone.

Then, now I use your build for more that a week and I don't have anything negative to say about it. It's stable, battery is the same as before and it's more secure.

Thank you.
[Galaxy S II Android Development] mirhl:
That having "latest

lineage

code" is not the same as having "latest

android

version".

Both Google and Lineage are still supporting kitkat.

And "intrinsic differences" between newer and this older android version, I don't see why LOS should act with separate policies here then.

Ie, by design it still shouldn't be rooted as far as I know.
[Galaxy S II Android Development] grzwolf:
New build is up.

Download via OP.
[Galaxy S II Android Development] TriboDoP:
Thanks again [MENTION=1622467]grzwolf[/MENTION] for keeping up your work!
[Galaxy S II Android Development] toxicbubbles:
Thanks for this rom, you've resurrected my first Android device. I cut down the rom to the bare minimum and have it booting straight to Google play music (using target home launcher) with minimal access to system settings to create a media player for my son, works a dream.
[Galaxy S II Android Development] JaLoou:
Hello.

Please, answer to me:

if I have F2FS file systems for data and internal storage partitions then this ROM will works reliable?
[Galaxy S II Android Development] grzwolf:
No.

The cm-11.0 branch of the smdk4412 kernel sources does not contain drivers for f2fs.

Check yourself https://github.com/LineageOS/android_kernel_samsung_smdk4412/tree/cm-11.0/fs.

Cyanogenmod introduced f2fs while working on cm-13.0.
[Galaxy S II Android Development] blue whale:
can you test the download of offline maps in GOOGLE MAPS [version 9.61.0 currently] to see if this bug is present:

https://xdaforums.com/showpost.php?p=73672829&postcount=1343
[Galaxy S II Android Development] SaZoN:
i cant start this rom. i flash it (with format data, system, int storage) and when i start, i need pass to decrypt. what the password?
[Galaxy S II Android Development] grzwolf:
This ROM has nothing to do with encryption.

Perhaps this https://forums.oneplus.net/threads/twrp-encryption-password.432114/ may help?
[Galaxy S II Android Development] SaZoN:
thnk you!

But i already fix it in few steps:

1) clear install nougat rom

2) insert differrent pin and agree to "request pin from startup"

3) go in twrp, Dont enter pin!!!(with default pin twrp decrypted data independently, but we changed him )

4) wipe encrypted data from menu

5) flash you rom

6) profit!
[Galaxy S II Android Development] grzwolf:
New build is up ASB 2017-09.

Download via OP.
[Galaxy S II Android Development] TriboDoP:
Thanks for updating!
[Galaxy S II Android Development] rubentkato77:
Thanx, updating.

Regards
[Galaxy S II Android Development] Yerry:
Maybe I am blind, but where do I find:

" the Google Apps addon package "

Which one to use?
[Galaxy S II Android Development] mirhl:
http://opengapps.org
[Galaxy S II Android Development] Yerry:
Tried Micro and Nano

Both not working, not possible to setup Google account
[Galaxy S II Android Development] rubentkato77:
Flash the ROM, reboot, goto recovery, flash gapps, wipe cache/dalvik and reboot, enjoy :good:
[Galaxy S II Android Development] lexus46:
Try an older version, it worked for me.

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

Nice work, thx. Only cLock weather not working. Tried to install an update, but error parsing the package...
[Galaxy S II Android Development] guest4711:
Probably this is because the API of weather provider has changed. And newer versions of clock need newer versions of Android.

I use cLock+ instead.
[Galaxy S II Android Development] lexus46:
I apologize: cLock works but only with OpenWeatherMaps, not with Yahoo Weather. And cLock+ what you are using where can I get from?
[Galaxy S II Android Development] guest4711:
I have to apologise too: I meant chronus, and I got it from apkpure.com. They have older versions, too...
[Galaxy S II Android Development] lexus46:
Chronus doesn't help me because I need the weather shown on lockscreen. Thx anyway.
[Galaxy S II Android Development] guest4711:
Oh, they say, it can be used as weather provider for CM, LOS and derived ROMs. And on Android 4.x it provides lockscreen widgets. So I would give it a try...
[Galaxy S II Android Development] akkis:
I will flash your build in a couple of days.

Thank you so much for giving life back to our phone!!!
[Galaxy S II Android Development] lexus46:
I already tried to install Chronus but didn't appears on cLock's weather providers list and I didn't found option to add to the lockscreen. If you manage to do that, please let me know how.
[Galaxy S II Android Development] grzwolf:
New build is up ASB 2017-10-01.

Download via OP
[Galaxy S II Android Development] rubentkato77:
Thanx master, regards ! :good:
[Galaxy S II Android Development] grzwolf:
Extra build is up to fix to WPA2 KRACK vulnerability. https://www.xda-developers.com/wpa2-wifi-protocol-vulnerability-krack/

Download via OP
[Galaxy S II Android Development] rubentkato77:
[/QUOTE]

Thanx again master ! :good:

Regards.
[Galaxy S II Android Development] JaLoou:
Hello.

Please, answer to me:

Where is possible to read about bugs in this ROM?
[Galaxy S II Android Development] Abels2:
look post for latest CM11 for read bugs/issues LOS11 just patches bit updates security patches,krack,...
[Galaxy S II Android Development] Nobby1960:
A "new old" KitKat ROM - funny :) I have never worked with KitKat, can you already calibrate the display colors as from Lollipop, are there volume steps? I think Viper4Android doesn't run or is there a special version?
[Galaxy S II Android Development] blue whale:
From an AOSP ROm on NOUGAT, I tried to install this KITKAT version by wiping (dalvik, cache, system, data, preload) in twrp and then installing

-lineage-11-20171018-UNOFFICIAL-i9100.zip

-open_gapps-arm-4.4-pico-20171105

and then wiping the caches, but the phone is stuck at the first boot to the blue curved line. THe phone is not hot nor cold and it is charged and plugged in the power outlet.

In twrp, I cannot mount:

-cache

-data

I tried to resintall the rom, but it says it cannot find /cache, nor /data
[Galaxy S II Android Development] grzwolf:
It's likely a twrp thing, search for twrp mount cache data and you will find solutions.
[Galaxy S II Android Development] Paddy's:
Hi, if i came from stock rom with original partitions is it recommended to create the 1gb system partition to flash this rom ?

If i create the new partitions as it is recommended for lineage 14.1 before installing this 4.4 rom, will it be useless or will i have some advantage using this rom ?

Thanks
[Galaxy S II Android Development] grzwolf:
Coming from stock rom partition size is safe for this rom.

Any other partition size, won't have any advantage.
[Galaxy S II Android Development] grzwolf:
Since there had been no Kitkat/4.4.4 relevant patches on ASB 2017-11,

the new build contains updated KRACK-issue patches.

Download via OP
[Galaxy S II Android Development] rubentkato77:
Whenever I try to download something from the web stock and chrome browser, start the download and it pause automatic. And if I put resume download, it restarts and pause again, and so goes on and on.

Any advice.
[Galaxy S II Android Development] ze7zez:
deleted
[Galaxy S II Android Development] rubentkato77:
Sorry i did not explain my self well, I meant downloads from my cell phone, I can't download nothing.

Thanx in advance, regards :good:
[Galaxy S II Android Development] ze7zez:
I understand that you can not download after installing LOS11.

Have you checked every way you connect to the network through: GSM, HSDPA, Wi-Fi and BT?
[Galaxy S II Android Development] rubentkato77:
I only use it with wifi, but it connects to chromecast, you tube, local cast, it works fine, just when i try to download from web browser it pauses, I replace the host file in etc folder to stop adds in some apps, could that be the problem?

Regards.
[Galaxy S II Android Development] guest4711:
Modifications to the hostfile should not prevent you from downloading (if surfing works well). Download problems are caused by missing permissions often. Did you grant storage access to your browser?
[Galaxy S II Android Development] grzwolf:
Strange ...

a) Download location is external memory? Perhaps a corrupted SD-card or full? Does the card work in a PC?

b) Unlikely that /etc/hosts only kills downloads.

c) How about wget from command line in the terminal?
[Galaxy S II Android Development] rubentkato77:
Download location is internal memory.

let me make a clean install, I'll report later.

Regards.
[Galaxy S II Android Development] guest4711:
Did I get it right? You made a dirty flash coming from whatever and ask for help for solving some problems? And you don't tell there's no clean install?
[Galaxy S II Android Development] rubentkato77:
I was on previous build of LOS 11, I just updated to the latest update, but maybe I'm not doing something right with my browser permissions. So I'm gonna make a clean flash, not a big deal.

Thanx mates, regards ! :good:
[Galaxy S II Android Development] akkis:
I know that I am off-topic, but can [MENTION=1622467]grzwolf[/MENTION] or anyone else tell me how I can "cook" another Lineage ROM (like you do) that officially does not include the latest lineage security update? I mean, what is the procedure? I think that it is much clever something like [MENTION=1622467]grzwolf[/MENTION] have done. A very stable, complete and old ROM, but with the latest security updates :) He gives our device a couple of months/years life extension. So much appreciate your time!
[Galaxy S II Android Development] grzwolf:
1. Build environment

You need to setup a working build environment for your device according to https://wiki.lineageos.org/devices/i9100/build

Remarks:

a) device code

i9100 = galaxy s2, for your device you need to look for the matching LOS code.

One source for it is https://download.lineageos.org/, in the left pane the code appears in the last brackets.

b) LOS version

This link refers in one of its sections to LOS14.1 --> "repo init -u https://github.com/LineageOS/android.git -b cm-14.1"

You need to replace 14.1 with 11.0 for KitKat.

c) Try a test build

It makes no sense to go further, if a straight build would fail.

2. Merged security patches by LOS

This part is pretty safe to do.

Make sure, your local repository is synchronized to https://github.com/LineageOS (aka "repo sync").

This would bring your local repository up to the state of https://review.lineageos.org/#/q/status:merged+branch:cm-11.0.

Note:

From a source code prospective all LOS cm11.0 supported devices are at security level 2017-10-01.

Though, for most of them, there is no current build available.

3. Take over not yet LOS merged security patches to your local repository

This part could become a bit tricky, because not yet merged patches may break your build due to code errors.

Just go to https://review.lineageos.org/#/q/status:open+branch:cm-11.0

Open a patch set, look for the 6 digit Change number and repopick the relevant change from there.

A sample: "<user>@<yourmachine>:~/android/system$ repopick 192011" <-- this would apply to one patch

Note: Patches in "status open" are not yet approved by LOS.

Repeat the "repopick xxxxxx" for all patches needed according to the patch level you are interested in.

4. Integrate security patches into LOS sources

The most tricky part.

Security patches provided by ASB are based on AOSP sources, which often differ from LOS sources.

Take an arbitrary 4.4.4 patch from https://source.android.com/security/bulletin/2017-10-01 and compare the sources with their unmodified counterparts at LOS https://github.com/LineageOS.

If they match, you are lucky and the integration is easy. If not, creativity is needed.

Good luck!
[Galaxy S II Android Development] akkis:
Boy, you are awesome! Thank you very much! I will study your steps and I wish for a new ROM for my -second- favourite device, a Xiaomi Redmi Note 3.
[Galaxy S II Android Development] Bezor:
weak wifi signal

Hello,

thank you for the up to date linageos build!

Everything works fine, but I have a weak wifi signal.

If I go to another room, wifi disconnect.

The problem exist with 5 and 2,4GHZ wifi.

I tried "kernel-Lanchon-TRIM-IsoRec-20160112-cm-11-i9100", same thing.

With philz_touch_6.07.9-i9100 wlan not working.

Any solution? Can U recommend any other kernel?Its hard to find other kernels, downloads often offline.
[Galaxy S II Android Development] grzwolf:
a) You have the same wifi signal issue with more recent ROMs?

b) Since almost nobody plays wit KK anymore, you surely won't find other up to date kernels for the i9100.
[Galaxy S II Android Development] grzwolf:
Bad news

It seems, beginning from November 2017 AOSP stopped providing security patches for Kitkat/4.4.4.

Good news

A few enthusiasts check security patches intended to be applied to 5.x versions of Android, regarding their relevance to Kitkat/4.4.4.

In a number of cases 5.x security patches could be taken over, which allows to keep Kitkat/4.4.4 alive in terms of security issues.

Note

The ROM stock browser is removed due to severe security issues.

Get a state of art browser (like firefox) from play store instead.

Download via OP
[Galaxy S II Android Development] mustakeel1981:
it's works great with cmw 6xxx and i flashed open gapps arm pico and every thing went perfect.

KK is perfect with our GT-I9100 handset , keep up the good work :)
[Galaxy S II Android Development] rogers11:
Absolutely, pretty fast and clean.
[Galaxy S II Android Development] alien6:
Hi, thank you for this version, I'm trying to revive my old SGS2 after 2 years (not willing to test 5/6/7 ROMs)

but I can't install gapps on this

I'm receiving an error "Open GApps can only be installed on top of an existing installation of Open GApps or a clean AOSP/CyanogenMod ROM installation, or a Stock ROM that conform to Nexus standards. You must wipe (format) your system partition and flash your ROM before installing Open GApps.

...

Error Code: 40"
[Galaxy S II Android Development] grzwolf:
Other than a clean install, perhaps this may help you (Google --> gapps error 40):

https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwipv5XfirTYAhUBaFAKHXBODvEQFggnMAA&url=https%3A%2F%2Fxdaforums.com%2Fgalaxy-s4%2Fhelp%2Ferror-40-installing-gapps-t3282558&usg=AOvVaw0FKlV9nCjIglJq_vvOjJMv
[Galaxy S II Android Development] sirozan:
[MENTION=624809]alien6[/MENTION] when did you try to install gapps, because as far as I know flashing gapps only works if you do it before you boot for the very first time (flash ROM, flash gapps, then boot). Also maybe wipe /system like your error message suggests before you do everything else.
[Galaxy S II Android Development] alien6:
Yes, I always install apps after ROM install and before first boot - that doesnt work in this case. Isn't /system wipe cleaning ROM which I've just installed? Wouldn't I be installing gapps on clean partition then?

Does this ROM has gapps installed? Whenever I install i start with some old google play.. Is it from previous ROM? Am i not cleaning everything before?
[Galaxy S II Android Development] TriboDoP:
Hi

You mentioned only wipe system.

Did you wipe data aswell?
[Galaxy S II Android Development] alien6:
sorry folks, I forgot to wipe system :P all good now, thanks
[Galaxy S II Android Development] babar_993:
using this rom my phone stucks at bootloop when put into recovery using advanced root
[Galaxy S II Android Development] grzwolf:
Your issue has nothing to do with this ROM.

Google --> android recovery bootloop

You might consider to go for a clean install.
[Galaxy S II Android Development] babar_993:
flash it cleanly? like deleting cache,dalvik and wiping data? then i did clean install, which recovery you used for flashing? does it have anything to do with that?
[Galaxy S II Android Development] grzwolf:
You did not even read the OP ...

Now you have an excuse doing it.
[Galaxy S II Android Development] CplBasti:
Thanks man, I am using my Galaxy S2 as my home media phone, and this 4.4.4 ROM just runs fast as hell AND has the latest security patches.

Awesome.
[Galaxy S II Android Development] TriboDoP:
Yes, i fully agree.

Mit wife is using it as her daily driver.

And having repitted to 1gb/4gb with twrp 3.1.. i could upgrade to any rom out there.

Thanks once more!
[Galaxy S II Android Development] slybunda:
20 hours since fully charged with 55 mins screen on time its used 80% battery life.

something is deffo not right with this rom.
[Galaxy S II Android Development] TriboDoP:
There is nothing wrong with this rom.

KK is working very well for quite some time.

In most cases apps are to blame.

Did you check the reason for the drain using BetterBatteryStats or similar?
[Galaxy S II Android Development] slybunda:
yes i checked for wakelocks but didnt find anything out of the ordinary. it is my mum who is using the phone. i will have to check it out over the weekend.
[Galaxy S II Android Development] CplBasti:
For me that is roughly 95% battery life. This ROM really doesnt need much. Only have one extra App installed.
[Galaxy S II Android Development] slybunda:
its odd nothing in battery stats shows why its dropped so much. iv got the bigger 2000mah battery too. since having this rom installed its suffered severe battery drain when the screen comes on.
[Galaxy S II Android Development] slybunda:
ok so i got the phone from her today to test it myself. fully charged last night. after 10 hours on standby its at 93% charge wifi on all night. that seems fine to me.

iv now turned off wifi and will leave it on till the evening and see if there is a higher battery drain. if not then it means standby is not the problem and its going to be the usage of the phone thats gonna need more investigation
[Galaxy S II Android Development] slybunda:
this rom is showing to be fairly unstable. not worth it for daily usage.
[Galaxy S II Android Development] Little Rooster:
Why?

---------- Post added at 09:47 PM ---------- Previous post was at 09:46 PM ----------
[Galaxy S II Android Development] Little Rooster:
Xposed Framework for this rom ..?

Hi,

where can i find the Xposed Framework zip to flash for this rom??
[Galaxy S II Android Development] TriboDoP:
You may have a look at post #6 by grzwolf