[ROM][Unofficial][4.4.4] LineageOS 11.0 based for Galaxy S2 GT-I9100 [2019-12-24]

Search This thread

grzwolf

Senior Member
Mar 7, 2009
276
840
Großenstein
i9100 LineageOS 11.0 - ABANDONED

LineageOS (as well as CM did until December 2016) still maintains the cm11.0 / 4.4.4 sources to keep pace with 'The Android Security Bulletin' (ASB).
https://source.android.com/security/bulletin/index.html.
Patches for CVE security issues are released at least once a month to the Android Open Source Project (AOSP) repository.
Patches for Android 4.4.4 are not provided by ASB anymore.
This means, security wise Android 4.4.4 is formally dead.
Nevertheless there are a few enthusiasts, still backporting security patches from recent Android versions to 4.4.4.
You should know, such backports are no formal ASB security patches.
Therefore the security patch level of this ROM is named: Unofficial Security Backport "December 2019".


Despite of implementing these security patches by the LineageOS team to its own repository https://github.com/LineageOS, LineageOS does not provide cm11 builds anymore.

Since I personally like 4.4.4. more than later versions, I build it myself unofficially and would like to share it.
The build is made from LineageOS "Branch: cm-11.0" PLUS ASB security patches, even if they are not yet approved by LineageOS.

The main goal of this ROM is to provide up to date builds in terms of ASB security patches, not development.



Instructions:
Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 * I'm not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! 
 */
First time flashing cm11.0 your device, or coming from another ROM
- download the zip
- install a compatible recovery (TWRP 3.1.0, cwm 6.0.5.1 are ok)
- perform a recovery backup of your current ROM
- flash ROM
- wipe data & cache partitions of your device
- optional: install the Google Apps addon package
Code:
Install lineage-11 on i9100 coming from any ROM (long way)
===============================================

0 Downloads [URL="https://androidfilehost.com/?w=files&flid=298277"]AFH folder with all downloads
[/URL]~~~~~~~~~~~
phone USB drivers
"SAMSUNG_USB_Driver_for_Mobile_Phones.exe"

odin
"Odin3 v3.13.1.exe"

Stock-ROM JB
"I9100XWLST_I9100ODDLSE_I9100DDLS9_HOME.tar.md 5"

Heimdall
"heimdall-suite-1.4.0-win32.zip"

'ROM lineage-11 for i9100'
"lineage-11-20190714-UNOFFICIAL-i9100.zip" or any other lineage-11 ROM

TWRP for i9100
"twrp-3.1.0-0-i9100.img"
NOTE: more recent versions of TWRP won't work in step 3


1 Install Stock-ROM JB
~~~~~~~~~~~~~~~~~~~~~~
Installing Stock-ROM JB shall ensure a clean start.

1.1 PC
install drivers "SAMSUNG_USB_Driver_for_Mobile_Phones.exe"

1.2 Phone
* boot to BootLoader (hold: Vol-Down + Home + Power)
* confirm with Vol-Up
* connect to PC

1.3 PC
execute "Odin3 v3.13.1.exe"
* in 'Log' you must see a device
* select checkbox AP
* select file "I9100XWLST_I9100ODDLSE_I9100DDLS9_HOME.tar.md 5"
* Start
* watch progress until success

1.4 Phone
In the highly probable case of a bootloop on 1st start:
* boot to recovery (hold: Vol-Down + Home + Power)
* execute factory reset
* reboot system
Now Stock-ROM JB should be installed and working.

1.5 Phone
for later usage copy "lineage-11-20190714-UNOFFICIAL-i9100.zip" to Download folder


2 Install Heimdall
~~~~~~~~~~~~~~~~~~
2.2 Phone
* boot to BootLoader (hold: Vol-Down + Home + Power)
* confirm with Vol-Up
* connect to PC

2.2 PC
* extract "heimdall-suite-1.4.0-win32.zip" & navigate to the location of 'heimdall.exe'
Remark: use a folder on the PC's HDD, it didn't work for me when using a USB-Drive
* follow 'Driver Installation Instructions' in README.TXT (switches USB driver with zadig.exe)
* check connection to phone via 'heindall.exe detect'
--> must show 'Device detected'


3 Install TWRP & LOS
~~~~~~~~~~~~~~~~~~~~
3.1 PC
* extract 'ROM lineage-11 for i9100'
* copy 'boot.img' to the folder containing 'heimdall.exe'
* copy "twrp-3.1.0-0-i9100.img" to the folder containing 'heimdall.exe'
* open cmd.exe in the folder containing 'heimdall.exe'
* execute "D:\S2\Heimdall\build\bin>heimdall flash --KERNEL boot.img --RECOVERY twrp-3.1.0-0-i9100.img --no-reboot"
* watch progress until 'Releasing device interface...'

3.2 Phone
* pull out the USB cable
* hold the power button until screen is off (> 8s)
* boot to Recovery (hold: Vol-Up + Home + Power)
* goto Wipe
* goto Advanced wipe --> select Dalvik, Cache, System, Data
* swipe to Wipe
* goto TWRP Install
* navigate to Download folder from 1.5
* select "lineage-11-20190714-UNOFFICIAL-i9100.zip"
Remark: Do not install gapps together with ROM, SUW will crash and ROM is not usable.
* swipe to confirm flash
* reboot System
* configure the just installed ROM
* Optional install gapps:

    reboot to recovery
    install gapps
    reboot system

Download:
<< latest 2019/12/24 >> Unofficial Security Backport "December 2019"
AndroidFileHost

older downloads

Included:
LineageOS per 2019-12-24 status merged at LineageOS
LineageOS per 2019-12-24 status open at LineageOS topics asb-2019.12-cm11

Note
The stock browser is removed from this ROM due to severe security issues, which cannot get fixed.
Get a state of art browser (like firefox) from play store instead.



Known Issues:
xposed not supported
1) A fix is provided by Lenny Bard, see instructions at post here.
2) Fix by lee.wp14. See post https://forum.xda-developers.com/showpost.php?p=79618987&postcount=243.
Download: lineage-11-20190609-UNOFFICIAL-i9100-xposedReady.zip

Be aware, these two fixes might break some security patches.

video in browser fix, thanks to TriboDoP:
https://forum.xda-developers.com/showpost.php?p=70266718&postcount=142

gapps
Paddy's found out, that latest gapps may cause trouble.
Fix: open_gapps-arm-4.4-pico-20161006


Credits:
LineageOS
xpduyson - ASB patches
Tim Schumacher - ASB patches + KRACK patches
mse1969 - ASB patches
Android-Andi - security patches
syphyr - security patches
 
Last edited:

MigoMujahid

Senior Member
Aug 31, 2015
1,920
680
New York
Thanks for the good work :good:
Just wanted to note that the bugs here are the same as slimsaber ROM bugs.
Highlights:
1- pixelated YouTube videos.
2- no 480p video quality in YouTube videos
3- no Xposed support.
 

grzwolf

Senior Member
Mar 7, 2009
276
840
Großenstein

MigoMujahid

Senior Member
Aug 31, 2015
1,920
680
New York
This ROM has brought my S2 back to real usability. I have tried many nougat ROMs with varying results but all were so laggy and unresponsive. This is like a breath of fresh air.
Exactly
Older is always better, because the systems in newer android versions use too much ram, and leave you with less than 25% of free ram(in our case), if you went back to cm10 or cm9, your phone will get smoother, the problem is that those versions are so old now and almost unsupported by apps and games of today, so you are forced to upgrade your phone or upgrade your android.
 

hitman72

Senior Member
May 22, 2008
130
26
ortona
yes, I have tried many new 7.x roms and the s2 becomes very very very slow and laggy (strange because with an old motorola moto g first edition, android 7.x porting are very fast). nowadays the only use for a s2 is that as mediaplayer (kodi, acetream, live stram player etc.) with mhl cable... pity that one is forced to used stock or stock modified rom...
 

DragonZeal

Member
Jun 5, 2013
15
2
This ROM is really fast and all.
How did you solve the Camera and Gallery problem?
When opening Gallery it needs external storage.
I have repartitioned my S2 as follows:
System 1.5GB
Data 6GB
Internal Storage 6GB

Thx
 

grzwolf

Senior Member
Mar 7, 2009
276
840
Großenstein
This ROM is really fast and all.
How did you solve the Camera and Gallery problem?
When opening Gallery it needs external storage.
I have repartitioned my S2 as follows:
System 1.5GB
Data 6GB
Internal Storage 6GB

Thx
That's a wide field, surely not a Gordian knot to solve. I don't do anything but occasional cleanups.
  • mostly too much camera/gallery garbage: --> settings, apps, all, App info, clear data/cache
  • sometimes too many leftovers from uninstalled apps: requires CAUTION and a root file explorer
  • could be a corrupted SDcard, which needs a reformatting/replacement
 
  • Like
Reactions: ze7zez and maanteel

DragonZeal

Member
Jun 5, 2013
15
2
That's a wide field, surely not a Gordian knot to solve. I don't do anything but occasional cleanups.
  • mostly too much camera/gallery garbage: --> settings, apps, all, App info, clear data/cache
  • sometimes too many leftovers from uninstalled apps: requires CAUTION and a root file explorer
  • could be a corrupted SDcard, which needs a reformatting/replacement

I'm experiencing this on 2 i9100 with different MicroSD Card.
I don't want to root.

This is a problem that came with KitKat.

If somebody knows a fix please let me know.
 

LeBourrin

Senior Member
Mar 25, 2010
201
111
Cannes
You said you only used LineageOS repositories. So you did not include TRIM and Isorec in this ROM? Do we need to install a custom Kernel to have these features?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 55
    i9100 LineageOS 11.0 - ABANDONED

    LineageOS (as well as CM did until December 2016) still maintains the cm11.0 / 4.4.4 sources to keep pace with 'The Android Security Bulletin' (ASB).
    https://source.android.com/security/bulletin/index.html.
    Patches for CVE security issues are released at least once a month to the Android Open Source Project (AOSP) repository.
    Patches for Android 4.4.4 are not provided by ASB anymore.
    This means, security wise Android 4.4.4 is formally dead.
    Nevertheless there are a few enthusiasts, still backporting security patches from recent Android versions to 4.4.4.
    You should know, such backports are no formal ASB security patches.
    Therefore the security patch level of this ROM is named: Unofficial Security Backport "December 2019".


    Despite of implementing these security patches by the LineageOS team to its own repository https://github.com/LineageOS, LineageOS does not provide cm11 builds anymore.

    Since I personally like 4.4.4. more than later versions, I build it myself unofficially and would like to share it.
    The build is made from LineageOS "Branch: cm-11.0" PLUS ASB security patches, even if they are not yet approved by LineageOS.

    The main goal of this ROM is to provide up to date builds in terms of ASB security patches, not development.



    Instructions:
    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     * I'm not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! 
     */
    First time flashing cm11.0 your device, or coming from another ROM
    - download the zip
    - install a compatible recovery (TWRP 3.1.0, cwm 6.0.5.1 are ok)
    - perform a recovery backup of your current ROM
    - flash ROM
    - wipe data & cache partitions of your device
    - optional: install the Google Apps addon package
    Code:
    Install lineage-11 on i9100 coming from any ROM (long way)
    ===============================================
    
    0 Downloads [URL="https://androidfilehost.com/?w=files&flid=298277"]AFH folder with all downloads
    [/URL]~~~~~~~~~~~
    phone USB drivers
    "SAMSUNG_USB_Driver_for_Mobile_Phones.exe"
    
    odin
    "Odin3 v3.13.1.exe"
    
    Stock-ROM JB
    "I9100XWLST_I9100ODDLSE_I9100DDLS9_HOME.tar.md 5"
    
    Heimdall
    "heimdall-suite-1.4.0-win32.zip"
    
    'ROM lineage-11 for i9100'
    "lineage-11-20190714-UNOFFICIAL-i9100.zip" or any other lineage-11 ROM
    
    TWRP for i9100
    "twrp-3.1.0-0-i9100.img"
    NOTE: more recent versions of TWRP won't work in step 3
    
    
    1 Install Stock-ROM JB
    ~~~~~~~~~~~~~~~~~~~~~~
    Installing Stock-ROM JB shall ensure a clean start.
    
    1.1 PC
    install drivers "SAMSUNG_USB_Driver_for_Mobile_Phones.exe"
    
    1.2 Phone
    * boot to BootLoader (hold: Vol-Down + Home + Power)
    * confirm with Vol-Up
    * connect to PC
    
    1.3 PC
    execute "Odin3 v3.13.1.exe"
    * in 'Log' you must see a device
    * select checkbox AP
    * select file "I9100XWLST_I9100ODDLSE_I9100DDLS9_HOME.tar.md 5"
    * Start
    * watch progress until success
    
    1.4 Phone
    In the highly probable case of a bootloop on 1st start:
    * boot to recovery (hold: Vol-Down + Home + Power)
    * execute factory reset
    * reboot system
    Now Stock-ROM JB should be installed and working.
    
    1.5 Phone
    for later usage copy "lineage-11-20190714-UNOFFICIAL-i9100.zip" to Download folder
    
    
    2 Install Heimdall
    ~~~~~~~~~~~~~~~~~~
    2.2 Phone
    * boot to BootLoader (hold: Vol-Down + Home + Power)
    * confirm with Vol-Up
    * connect to PC
    
    2.2 PC
    * extract "heimdall-suite-1.4.0-win32.zip" & navigate to the location of 'heimdall.exe'
    Remark: use a folder on the PC's HDD, it didn't work for me when using a USB-Drive
    * follow 'Driver Installation Instructions' in README.TXT (switches USB driver with zadig.exe)
    * check connection to phone via 'heindall.exe detect'
    --> must show 'Device detected'
    
    
    3 Install TWRP & LOS
    ~~~~~~~~~~~~~~~~~~~~
    3.1 PC
    * extract 'ROM lineage-11 for i9100'
    * copy 'boot.img' to the folder containing 'heimdall.exe'
    * copy "twrp-3.1.0-0-i9100.img" to the folder containing 'heimdall.exe'
    * open cmd.exe in the folder containing 'heimdall.exe'
    * execute "D:\S2\Heimdall\build\bin>heimdall flash --KERNEL boot.img --RECOVERY twrp-3.1.0-0-i9100.img --no-reboot"
    * watch progress until 'Releasing device interface...'
    
    3.2 Phone
    * pull out the USB cable
    * hold the power button until screen is off (> 8s)
    * boot to Recovery (hold: Vol-Up + Home + Power)
    * goto Wipe
    * goto Advanced wipe --> select Dalvik, Cache, System, Data
    * swipe to Wipe
    * goto TWRP Install
    * navigate to Download folder from 1.5
    * select "lineage-11-20190714-UNOFFICIAL-i9100.zip"
    Remark: Do not install gapps together with ROM, SUW will crash and ROM is not usable.
    * swipe to confirm flash
    * reboot System
    * configure the just installed ROM
    * Optional install gapps:
    
        reboot to recovery
        install gapps
        reboot system

    Download:
    << latest 2019/12/24 >> Unofficial Security Backport "December 2019"
    AndroidFileHost

    older downloads

    Included:
    LineageOS per 2019-12-24 status merged at LineageOS
    LineageOS per 2019-12-24 status open at LineageOS topics asb-2019.12-cm11

    Note
    The stock browser is removed from this ROM due to severe security issues, which cannot get fixed.
    Get a state of art browser (like firefox) from play store instead.



    Known Issues:
    xposed not supported
    1) A fix is provided by Lenny Bard, see instructions at post here.
    2) Fix by lee.wp14. See post https://forum.xda-developers.com/showpost.php?p=79618987&postcount=243.
    Download: lineage-11-20190609-UNOFFICIAL-i9100-xposedReady.zip

    Be aware, these two fixes might break some security patches.

    video in browser fix, thanks to TriboDoP:
    https://forum.xda-developers.com/showpost.php?p=70266718&postcount=142

    gapps
    Paddy's found out, that latest gapps may cause trouble.
    Fix: open_gapps-arm-4.4-pico-20161006


    Credits:
    LineageOS
    xpduyson - ASB patches
    Tim Schumacher - ASB patches + KRACK patches
    mse1969 - ASB patches
    Android-Andi - security patches
    syphyr - security patches
    16
    New build is up containing 4.4.4 relevant parts of ASB 2018-04-01.
    Download via OP
    15
    New build is up ASB 2018-02-01.
    Download via OP
    13
    New build is up ASB 2017-09.
    Download via OP.
    13
    New build is up containing 4.4.4 relevant parts of ASB 2018-05-01.
    Download via OP