yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] grzwolf:
Both implemented, check commits in cm11 branch from March 2016:

https://github.com/LineageOS/android_kernel_samsung_smdk4412/commits/cm-11.0

IsoRec:

https://github.com/LineageOS/android_kernel_samsung_smdk4412/commit/f92a06b7d28586ceac5526d8669dbc44c0df9dab

Trim:

https://github.com/LineageOS/android_kernel_samsung_smdk4412/commit/197f54cdbc99458d07e99d732b72d9e391aa7fc3
[Galaxy S II Android Development] cexcells:
Is there a recommended way to play video files on this ROM?
[Galaxy S II Android Development] mirhl:
Why should there be any?

MXplayer or VLC are anyway the only worth alternative I know.

In other news, just a friendly remainder that for as much lineage got up to July patch level, they are still missing the (unavailable) CVE-2017-0671 fix
[Galaxy S II Android Development] TheNightmare97:
How is this ROM? How is the battery life?
[Galaxy S II Android Development] Nobby1960:
If you want your S2 slim and fast (Kit Kat is more slim and battery friendly as any Nougat ROM build), try this.
[Galaxy S II Android Development] TheNightmare97:
Currently i'm on stock rom (4.1.2) with root access. I've tried to use a guide to flash twrp 3.1.0, but it caused a bootloop. How i flash a twrp 3.1.0 or twrp compatible with stock?

now I try again to use the guide that i used before. Maybe i did something of wrong.
[Galaxy S II Android Development] Nobby1960:
There is no stock ROM which is compatible with TWRP, it has it's own Samsung recovery. I have a special build of 4.1.2 here, which you can flash in TWRP, without using Odin and a PC. But this is an own work from a forum user and not official available. But after flashing from this ROM, TWRP has no more function anymore, you will boot in the stock Samsung software. TWRP is only designed for custom ROMs.

If you want to flash TWRP again to install an other custom ROM you need my attachment file - it's a special standalone kernel with an older build of TWRP. You must flash it with Odin in download mode. After this you can flash the custom ROM of your choice and the latest build of TWRP.
[Galaxy S II Android Development] dennis46419:
best rom so far.

my mi mix 2s in repair.

go back to my old s2 tryd los 14.1 15.1 pixel oreo rom, and they all are very very slow. But your los11 rom is blazing fast. big thx for keep up the rom and im now happy that i still can use the s2 as my daily driver a few weeeks. greeetings from germany
[Galaxy S II Android Development] TheNightmare97:
After three times that I tried the guide I talked about above I succeeded. Probably the files were corrupted during the download. But now i have another problem. I flash the ROM, it's ok, but the gapps no. I am not able to use play store or login into my google account, I used "open_gapps-arm-4.4-pico-20181001". In the description i see that i have to use "open_gapps-arm-4.4-pico-20161006", but i didn't found it on the page of Open Gaps project.
[Galaxy S II Android Development] TriboDoP:
You can find this gapp open_gapps-arm-4.4-pico-20161006 on androidfilehost
[Galaxy S II Android Development] TheNightmare97:
Thanks to everyone, I am going to use the S2 as a secondary phone or to watch videos on YouTube in the evening, compared to the stock ROM, is more responsive, I still can not say how the battery goes but probably even here beats the stock ROM. But it is not clear to me one thing, I used to also keep the S2 on at night, with the airplane mode and active savings to consume as little as possible, on this ROM the option "Battery Saver" is not there? Currently from the settings I set the governor on powesafe, but I do not know if it gives the same benefits. Last question, I read the notes at the end of the guide but I did not understand how to install xposed at the end of the guide, maybe It may come handy.
[Galaxy S II Android Development] Gastozz:
That would be useful. :)

Is there any way for this ROM to get LiveDisplay?
[Galaxy S II Android Development] TriboDoP:
[MENTION=4753639]Gastozz[/MENTION] and [MENTION=7829202]TheNightmare97[/MENTION]

Hi guys! My personal opinion is if all the "useful" things would be added we would end in nougat or oreo instead of having a slim rom which is fast and smooth with good battery life.

And besides there is no more additional developing for this rom it is just beeing updated for security (as stated in the OP)
[Galaxy S II Android Development] TheNightmare97:
Maybe you're right. However I tried to install magisk following the procedure indicate in the first page. But i had a bootloop (Fortunately i made a nandroid backup before). So how i able to use magisk? Could you, or somebody else, help me?
[Galaxy S II Android Development] MikiGry:
[MENTION=7829202]TheNightmare97[/MENTION]

Our kernel doesn't support Magisk. It is too old and making it magisk compatible is going to be hard or even impossible. Besides, Magisk is android 5.0+
[Galaxy S II Android Development] TheNightmare97:
Sorry, I got confused. I meant xposed. In the first page It's mentioned a fix.
[Galaxy S II Android Development] TriboDoP:
Yes, there is a link in the OP which brings you to a post by Lenny Bard. He provided a xposed fix zip which has to be flashed in recovery. After this you should be able to install xposed with the official installer.
[Galaxy S II Android Development] TheNightmare97:
I tried to install only the fix .zip and i got a bootloop, i tried to install the fix zip and sidecore zip, and i got a bootloop. What I forget to do?
[Galaxy S II Android Development] TriboDoP:
I never use xposed but i would say you should install not only the fix zip but also xposed itself (for sure there will be a thread how to do). Sorry i do not know what you mean by sidecore.zip. If xposed doesn't work i would skip it.
[Galaxy S II Android Development] TheNightmare97:
Maybe, but i can't find a version for 4.4, the sdk that i found are from sdk21 for 5.0 to sdk27.

For sidecore.zip, i think is a kernel. In the page indicated under "know issues" for xposed fix, there is these page with two downloads link, the first one is sidecore and the second is the xposed fix.
[Galaxy S II Android Development] mirhl:
https://repo.xposed.info/module/de.robv.android.xposed.installer
[Galaxy S II Android Development] grzwolf:
If someone confirms this being a fix, I would link it to the OP.
[Galaxy S II Android Development] mirhl:
It wasn't really straighforward last time I tried it, but eventually it worked.

OTOH I fear security updates might have broken it.
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "October 2018".

More details & Download via OP
[Galaxy S II Android Development] ze7zez:
How about placing a zip on a different host?

AFH is experiencing a crisis and it is increasingly difficult to download files from very "remote" servers.
[Galaxy S II Android Development] grzwolf:
Sure, why not.

Didn't notice such lags. When logged in for upload, you can select a mirror server.

And "Quebec #0" worked pretty well.

Any recommendation?
[Galaxy S II Android Development] ze7zez:
I do not have such opportunities as you.

In my region, only the host California, USA is visible.

The host is overloaded.

Almost all of us use google cloud, so please put the file on gdrive.
[Galaxy S II Android Development] grzwolf:
gdrive added to OP
[Galaxy S II Android Development] akkis:
Thank you! But it does not appear on the "Download" section... Am I blind?
[Galaxy S II Android Development] grzwolf:
No. Not blind, you were to fast ... :)
[Galaxy S II Android Development] Gastozz:
Which kernel do you recommend me for this great ROM? l want to extend battery life too. :)
[Galaxy S II Android Development] grzwolf:
No idea, I never tried anything else than the inbuilt one.
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "November 2018".

More details & Download via OP
[Galaxy S II Android Development] M0RT3ZA:
whatsapp crash

hi.

I found out that when I try to play video (or gif) in WhatsApp and telegram they crash.

I provided some logs and hope it helps to fix the problem.
[Galaxy S II Android Development] grzwolf:
The logs show, that WA complains about a few missing classes.

With what version of Kitkat (OP has a link to older builds) did this issue not appear?
[Galaxy S II Android Development] M0RT3ZA:
honestly I did not tested older builds. I just looked for a new rome to give my old S2 a second live and tested this rom.I have to say I was playing with aosp years ago and don't remember an aosp like this rom. super fast and fluid very very low crashes and hot reboots and overal very stable. the only problem is video playback bug in WhatsApp and telegram.

if you think that it might help I can install older version and give feedback to help you fixing it.
[Galaxy S II Android Development] grzwolf:
It were just a try, I don't know if that would help.

In case the oldest ROM would not have such issue, there were at least a small chance to identify the patch, which might have broken this function.
[Galaxy S II Android Development] Paddy's:
Hi, i flashed the rom from 20180128 and whatsapp still crashes when i play a video.

Video playback from whatsapp chat worked at the beginning after i flashed the old rom , but after a while it started crashing again with many videos, only a few videos strangely work.

If i select these videos from a file manager they all work .

Thank you for keeping also the old versions available and for your work .
[Galaxy S II Android Development] grzwolf:
Great find.
[Galaxy S II Android Development] M0RT3ZA:
hi. I flashed lineage-11-20170715-asb20170601 build and problem still remains.

but I find out something interesting.

I find an ancient AOSP jb build and tested it to see if there is problem or not.

and I find out that some videos encodes are not supported by phone and in JB rom telegram(or rom itself) tells this and give option to user to open them via external player(see screenshot).

but in KK roms for an unknown reason the app does not ask for external player and tries to open unsupported video by itself and thus crashes.:confused:
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "December 2018".

More details & Download via OP
[Galaxy S II Android Development] mauriciognr:
Hello boys, heres a video a made of an S2 i9100 running antutu benchmark with this rom

Video: https://www.youtube.com/watch?v=YgMT-6UIhyE
[Galaxy S II Android Development] LeBourrin:
Hello, did someone found how to fully remove in-build root in order to pass Safetynet test?
[Galaxy S II Android Development] vdhero:
In 4.4.4 roms, the easiest way to remove root is to remove su files in /system/bin and /system/xbin. Though, I'm not sure if this will remove root completely. Personally, I would install superSu then uninstall it. Or you can use root switch, which will keep root but also help you pass safety net
[Galaxy S II Android Development] LeBourrin:
Yes, I've already tied to delete SU files from system folders but it wasn't enough. I tried UPDATE-unSU-signed.zip and Hide_my_root APK but it doesn't work.

But thanks you were right! As you suggested, I installed superSU and uninstalled it from app settings. It worked! Safetynet PASSED.

For those who would like to do the same, I used build lineage-11-20181209-UNOFFICIAL-i9100 and SuperSU-v2.78-SR1-20160915123031.

bye
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "January 2019".

More details & Download via OP
[Galaxy S II Android Development] JaLoou:
Hello.

Sorry, anyone tried a newest 512GB microSD card to use with Samsung Galaxy S2 ???
[Galaxy S II Android Development] WNcmt:
My friend

The kernel's for CM11 working in this Rom?

I AM from Brazil, Sorry for bad English. Kkkl
[Galaxy S II Android Development] grzwolf:
Perhaps yes.

But I wouldn't recommend using any other kernel.
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "February 2019".

More details & Download via OP
[Galaxy S II Android Development] philsilvers:
Open gapps

---------- Post added at 09:40 PM ---------- Previous post was at 09:39 PM ----------

Use camera restarter app

---------- Post added at 09:41 PM ---------- Previous post was at 09:40 PM ----------

It's really good

---------- Post added at 09:48 PM ---------- Previous post was at 09:41 PM ----------

Yes
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "March 2019".

More details & Download via OP
[Galaxy S II Android Development] philippe734:
Very difficult to find and download recovery compatible with that rom LineageOS 11.

So, here I share two recovery in order to flash that rom from stock firmware with below instructions:

1. Flash firmware stock rom to fully re-initialize the device

2. Flash PhilZ-cwm6-XWMS3-FOP-5.15.9.tar.md5 with Odin

3. Reboot in Philz recovery and flash i9100-cwm-compatible-kitkat-4.4.zip in Philz recovery

4. Reboot in cwm recovery and do full wipe/data/cache

5. Flash LineageOS 11 in cwm recovery

PhilZ-cwm6-XWMS3-FOP-5.15.9.tar.md5

https://mega.nz/#!0pYFkaCa!S6zNO7Z95uNfV0OMqVdAg68PLZHLiXhWdMMILxx7PW0

i9100-cwm-compatible-kitkat-4.4.zip

https://mega.nz/#!h1BnCAST!w_CSOxY-QnqW3382fg6QRrO-NBqWlmUAbKkde-MJLYg

I give this old device for my parents, with that rom, in order to use only GPS offline with osmand.
[Galaxy S II Android Development] grzwolf:
@ philippe734

Community spirit at its best.
[Galaxy S II Android Development] Rendering:
I have to install this ROM on a never customized Galaxy S2. Last time I have installed a custom ROM on a S2 I had to enlarge partitions etc. Now what should I do? I have a 128 GB microSD, class U3
[Galaxy S II Android Development] philsilvers:
Is the camera bug fixed yet, other than that the rom is really great.
[Galaxy S II Android Development] TriboDoP:
Hi

for this rom you don`t need to enlarge partitions. but if you do enlarge partitions for system/data this rom will also work.
[Galaxy S II Android Development] Rendering:
In your opinion which is the best topic where I can find the best solution to enlarge partitions and maybe use only the 128 GB microSD card?

Thank you
[Galaxy S II Android Development] TriboDoP:
Hi

I am not sure what you mean by "use only the 128 gb micro sd".

Enlarging/repitting concerns only internal sd0.

What i would do: if you are on stock use the good guide by philippe734 (post #230). In addition to this guide when flashing lineage 11 flash also in one go the twrp isorec- recovery 3.1.... by the.gangster.

Then it is easy to enlarge partitions by using lanchon's repitting tool, which is just a zip-file which can be flashed in twrp 3.1.....

In this zip file you can change the size of partitions for system and data as you like just by re-naming the file. I would advice 1 or 1.5 GB for system and 4 or 6 GB for data. Then you can flash nearly any rom.

But as mentioned before for this rom you do not need this repitting of system and data but it is then a good idea if you want to try also other roms.
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "April 2019".

More details & Download via OP
[Galaxy S II Android Development] akkis:
You are great man! thank you for extending S2's life :)
[Galaxy S II Android Development] TriboDoP:
+1
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "May 2019".

More details & Download via OP
[Galaxy S II Android Development] dimez1:
Thank you for your work!

I've installed lineage-11-20190511-UNOFFICIAL-i9100.zip, open_gapps-arm-4.4-pico-20161006.zip and webview_fix.zip and I got "Unfortunately, Setup Wizard has stopped" after fresh install.

If I install only lineage-11-20190511-UNOFFICIAL-i9100.zip - all ok.
[Galaxy S II Android Development] grzwolf:
I didn't try to clean install for a long time.

So you have no gapps, sorry to hear.

Only idea would be to clean install an older ROM, which installs gapps successfully.

Then update to the most recent ROM without touching gapps & SUW.

I hope that might help.

Update 2019/05/26

If you neeed gapps, you can install open_gapps-arm-4.4-pico-20190525.zip later, even after installing the ROM.

Just reboot again to twrp and install, that's it.

There will be no Setup Wizzard, but you are able manage anything without him.

Setup your google account, then you have full access to the playstore.
[Galaxy S II Android Development] lee.wp14:
Hey there, just dropping by :)

If you happen to fix the xposed problem, these commits might interest you :

https://github.com/leewp14/android_dalvik/commit/a01c3da141822e9ef839f065bcd512d3ed0274a0

https://github.com/leewp14/android_dalvik/commit/c1202ff8b476a3445f3b844c795ffe47ab526313

https://github.com/leewp14/android_frameworks_base/commit/5754e637bbeaa6d5bd05a1afa9724ec91531791d

These commits are valid for the last official security patch for LineageOS 11.0. I'm not sure if your security backports will have conflict with these commits. Hope this is useful to you!
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "June 2019".

More details & Download via OP

Thanks to lee.wp14 OP has a download link to "lineage-11-20190609-UNOFFICIAL-i9100-xposedReady.zip" according to post https://xdaforums.com/showpost.php?p=79618987&postcount=243.
[Galaxy S II Android Development] ANDRiMiON:
Hi all,

I am planning to upgrade my CM9.1 to the latest CM11 in the OP.

As i am not coming from stock can i directly flash i9100-cwm-compatible-kitkat-4.4.zip and then continue with steps 4 and 5?

EDIT: Right now i have CWM 6.0.1.2 recovery on my system. grzwolf mentioned above that you use TWRP to flash the latest Gapps.

Is it better to flash a TWRP based recovery compatible with KitKat than the CWM based one mentioned above. And if so where can i find one?
[Galaxy S II Android Development] philippe734:
Yes, of course, it's easier.
[Galaxy S II Android Development] ANDRiMiON:
Good to hear that.

My only question is now whether to flash a CWM based recovery or a TWRP one, as i want to use the latest open_gapps-arm-4.4-nano-20190702. Since i want to use all the gapps functionality in the future.
[Galaxy S II Android Development] phaleg:
Hi!

I read I should use older gapps but not sure whre to find them... so far I got the newest open gapps pico for 4.4 arm from the official website, but not sure if they will work XD
[Galaxy S II Android Development] TriboDoP:
Hi

A google search for "download open_gapps-arm-4.4-pico-20161006.zip (androidfilehost) could help ....

---------- Post added at 08:26 AM ---------- Previous post was at 08:18 AM ----------

Hi

A recovery comes with the rom. No need to flash one extra unless you want another. As far as i remember the rom has cwm 6.4 or 6.5 - not quite sure).

But i would advice to flash a twrp.zip like 3.1 by the.gangster together with the rom'
[Galaxy S II Android Development] phaleg:
This is what I did, but the file was missing in the link I got from google, so I installed the newest ones (it was a dirty flash over a previous build) :highfive:
[Galaxy S II Android Development] TriboDoP:
Sorry for double post as i was trying to answer to other post but something went wrong

---------- Post added at 08:37 AM ---------- Previous post was at 08:28 AM ----------

As long as they work it is fine (btw the download for the older ones worked fine for me)

Regards!
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "July 2019".

More details & Download via OP
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "August 2019".

More details & Download via OP
[Galaxy S II Android Development] alessioacri:
Hi! Nice rom! Just a thing. I want to use my S2 without SIM, and this way I can't set it up because setup crashes.

How can I set it up? Maybe use a non-valid SIM and then put it out?
[Galaxy S II Android Development] phaleg:
Using an old or discontinued SIM should do the trick... you may consider to put a real one and remove it right after
[Galaxy S II Android Development] alessioacri:
Ok, thank you really much, I'm going to try
[Galaxy S II Android Development] ze7zez:
GT-I9100_INU_I9100XWLST_I9100ODDLSE_I9100DDLS9 found >here<.

Version	Android 4.1.2
Changelist	1155691
Build date	Mon, 22 Apr 2013 07:44:57 +0000
[Galaxy S II Android Development] Earnell:
I've used the stock firmware and Odin that you provided, Odin flashed successfully, at first it seemed to me that the phone bootlooped with the samsung logo infinitely replaying, I did factory reset from recovery, that did not fix the bootloop. I cannot install Philz touch recovery, it returns error 7. Phone is detected in Odin, but flashing is halted with "File analysis.." step never actually completing. Heimdall returns error "libusx error: [windows_transfer_callback] detected I/O error 87: [87] the parameter is incorrect. ERROR: Failed to send data! Releasing device interface..." when issuing command "heimdall print-pit" or the flashing command with the options.

Can anyone help or is it bricked ?

Edit: i'm coming from Nougat, so repitted. Could that be the reason it bootloops ?

Edit2: Fixed it by using Odin 3.07, flashing CWM-Kitkat compatible recovery, Philz touch recovery and all is well from there on, did not get stuck on "File analysis". :D
[Galaxy S II Android Development] ze7zez:
I would like to inform you that this ROM works flawlessly on i9100-LOS-16.0-Emulated-Storage.pit.

This allows you to alternately use Carbon 7.0, LineageOS 16 and your CM 11.

grzwolf, did you do anything special to make the ROM run on re-partitioned memory?
[Galaxy S II Android Development] grzwolf:
No, it's built straight against LineageOS cm-11.0 + https://review.lineageos.org/q/status:merged+branch:cm-11.0 + https://review.lineageos.org/q/status:open+branch:cm-11.0.
[Galaxy S II Android Development] mirhl:
The kitkat branch didn't get any special love for mounting in half a decade...

So I would definitively say this happens smoothly because emulated storage here is pretty phony one. As I was complaining in the LOS16 thread, you still get to keep around all partitions which are still mounted even in the latest fstab.

If you have repartitioned though, you can pretty much expect /sdcard to be practically useless being just a bunch of megabytes big.
[Galaxy S II Android Development] grzwolf:
New build is up containing 4.4.4 relevant parts of ASB as Unofficial Security Backport "September + October 2019".

More details & Download via OP
[Galaxy S II Android Development] grzwolf:
I didn't install the fix mentioned above and recording works for me.
[Galaxy S II Android Development] AlitaQuils:
I feel you misread my post; it's the webview crash I'm more concerned about since it's affecting anything using the system webview implementation.

Short of wiping /system and reflashing it to preserve my installed apps, idk what to do.

(Video recording isn't too much of a concern since I don't take videos an awful lot)

Also forgot to mention this is an Australian previously Optus-provided i9100T, not sure if the hardware is any different outside of the Chipset being the same.
[Galaxy S II Android Development] AlitaQuils:
Thought I'd post an update; wiping /system, /cache and Dalvik then reflashing the ROM and Gapps fixed it, webview apps load now. Something with the video playback fix was seriously broken on my phone lol
[Galaxy S II Android Development] grzwolf:
Oh dear, ... page 26 ...

https://xdaforums.com/showpost.php?p=80102695&postcount=257
[Galaxy S II Android Development] grzwolf:
page 26 again ...

https://xdaforums.com/showpost.php?p=80302613&postcount=260