Hello pandalov
I took the following steps.
1. Install twrp 3.3.1-0 hero2lte using odin
2. Advance wipe Dalvik, System, Data and Cache
3. Install the rom using twrp and USB OTG
4. Install pico GApps from OpenGapps
5. Reboot into system
6. The phone doesn't go past the lineage OS animation
I later tried installing without the Gapps and an older version of TWRP (3.2.3). I'm using a SM-G935F hero2ltexx.
Thanks for any help in advance.
first: if you came from stock samsung rom make sure you enabled OEM unlock in developer options.
second: make sure you have newer bootloader. you can download from here:
Bootloader for odin:
https://androidfilehost.com/?w=files&flid=287435
Bootloader for TWRP:
https://androidfilehost.com/?w=files&flid=287436
you will see a lot of files like BL_G935FXXU3ERL3.zip and BL_G935FXXU7ETBD
and note the number after XX ----> U3 and U7 or S3 / S7 (Binary number).... the higher number is newer.
important note: once you flash newer you can't flash the older so in this case you can't downgrade the rom.
Maybe you need flash latest Modem too: get it from latest stock rom from Sammobile.
Third:
1- Make a backup of your files in internal storage if you have. (also make a backup for EFS folder - in TWRP go to Backup and select EFS and select your SD card to save it there)
2- Go to TWRP -----> Wipe ---- > select Format type yes (All your data will be deleted).
3- reboot to TWRP (reboot is important) go to wipe ----> advanced wipe ---- > select data (only data) -----> tap "Repair or Change File System" ----> Change File System -----> EXT4
4- after done reboot to TWRP again (reboot is important).
5- go to Wipe ----> advanced wipe ----> select (Dalvic/ART cache - Cache - System - Data - intenal Storage) --- >Swipe...
6- Now you can install The rom and Gapps ---- after done reboot without select "install TWRP app" just tap "dont install"
7- Done