[Galaxy S II Android Development] grzwolf:
If this won't do it, try https://xdaforums.com/showpost.php?p=79585838&postcount=242.

Look at "

Update 2019/05/26

".

That did the trick for me.

------------------------------------------------------------------------------------------------------------------------------------

Install lineage-11 on i9100 coming from any ROM (long way)

===============================================

0 Downloads AFH folder with all downloads

~~~~~~~~~~~

phone USB drivers

"SAMSUNG_USB_Driver_for_Mobile_Phones.exe"

odin

"Odin3 v3.13.1.exe"

Stock-ROM JB

"I9100XWLST_I9100ODDLSE_I9100DDLS9_HOME.tar.md5"

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.md5"

* 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​