[Galaxy S II Android Development] mldmld1968:
GT-I9100 - LineageOS 14.1 - Stuck on boot animation

Hi all,

Because Android 4.1.2 is not supported by an app, I would like to install LineageOS 14.1 on my Samsung galaxy S2.

I would like to get ride of planned obsolescence !

I'm a newbie in this domain.

Sorry for a long post, but you will read everything I did and a link to the device's logs at the end.

I began by rooting my S2 using Odin3-v1.85 and Siyah-s2-v6.0b5. This first step was ok. The new kernel was installed and the phone rooted.

Then, I look here : wiki.lineageos.org/devices/i9100/install

I installed adb, zadiag.exe and heimdall 1.4.1 without issue.

And after a little work on my PC, heimdall print-pit returned ok.

BUT, considering the GT-I9100 need to be repartitionned, I did the following :

I extracted the boot.img from lineage-14.1-20180322-nightly-i9100-signed.zip, then I launched :

:: heimdall print-pit --verbose --usb-log-level warning

heimdall detect

pause

heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL boot.img --RECOVERY twrp-3.1.0-0-i9100.img --no-reboot

pause

This returned :

C:\Program Files\_Adb-FastBoot\Heimdall Suite>heimdall detect

Device detected

C:\Program Files\_Adb-FastBoot\Heimdall Suite>pause

Press any key to continue . . .

C:\Program Files\_Adb-FastBoot\Heimdall Suite>heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL boot.img --RECOVERY twrp-3.1.0-0-i9100.img --no-reboot

Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna

This software is provided free of charge. Copying and redistribution is encouraged.

If you appreciate this software and you would like to support future development please consider donating:

Initialising connection...

Detecting device...

Claiming interface...

Setting up interface...

Initialising protocol...

Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.

Please be patient!

Session begun.

Uploading PIT

PIT upload successful

Uploading KERNEL

100%

KERNEL upload successful

Uploading RECOVERY

100%

RECOVERY upload successful

Ending session...

Releasing device interface...

C:\Program Files\_Adb-FastBoot\Heimdall Suite>pause

Press any key to continue . . .

From there, I copy on a SDCard :

* lineage-14.1-20180322-nightly-i9100-signed.zip

* open_gapps-arm-7.1-nano-20180325

* addonsu-14.1-arm-signed

I inserted the SD card in the phone, then I restarted in recovery mode, TWR is running well.

At the first time, i did not format /data, I get error, then installing LOS returns an error about encryption, asking for reset and It stuck on animated LOS boot logo.

I read, and finaly replay the partitionning + TWR install.

Then, I selected wipe/advanced wipe and select everything except internal-storage and external storage

Then I selected install, select the .zip files in this order :

* lineage-14.1-20180322-nightly-i9100-signed.zip

* open_gapps-arm-7.1-nano-20180325

* addonsu-14.1-arm-signed

Everything was ok, no error messages;

Then I reboot, but after more than half an hour, the device is still stuck on boot animation.

Could someone have an idea of what I did wrong ?

Do wiki.lineageos.org/devices/i9100/install procedure already includes the repartitionning for instance ?

Do the pit file is the right one for lineage os 14.1 ?

I tried with the latest Lineos 14.1 nightly (without replaying the partitionning / boot.img step without success.

Here is the logs :

* dmesg : docdro.id/oMzvTyd

* recovery : docdro.id/DqizB5C

Perhaps, I may suggest to the community to display more than an animation at first boot, but a % of install progress.

Thanks a lot for any help !