custom roms – Stuck in system boot loop after TWRP installation


I have a Samsung Galaxy S7 and tried installing the custom ROM LineageOS because what could go wrong?

Anyways I followed this guide which makes you install TWRP 3.4.0-0 under the Installing a custom recovery using heimdall section.

I did that and I can (successfully?) boot into TWRP. However when tapping Reboot -> System or trying to boot into my standard android system I am stuck in a boot loop where The Samsung logo reappears every 5 seconds or so.

Here is what I’ve tried:

  • The command dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota from here
  • The command dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc from here
  • Wiping my entire phone from TWRP

None of those things made any difference.

I really just hope that I didn’t brick my phone.