crwdns2935425:08crwdne2935425:0

-
This step only applies to Samsung Devices.
-
Heimdall (Samsung Download Mode/Odin):
-
You'll need to get heimdall from your distro’s package manager or if you're feeling adventurous, build it from source. Alternatively, use pmbootstrap’s chroot; run pmbootstrap chroot apk add heimdall, then execute commands as pmbootstrap chroot heimdall.
-
Enter download mode (usually by pressing the Power + Volume Down + Home buttons).
-
Run heimdall print-pit to list partitions: SYSTEM (system partition), USERDATA or DATA (data partition), and BOOT or KERNEL (boot partition).
-
Reboot the device into download mode.
-
Run heimdall flash —PARTITION path-to-rootfs.img, replacing PARTITION with the partition you listed above.
crwdns2944171:0crwdnd2944171:0crwdnd2944171:0crwdnd2944171:0crwdne2944171:0