ports/contrib (3.5): heimdall: v1.4.2, initial commit
commit de132e0a52d6ed48bc2f9d9409c9a74217b8e0a8 Author: Stamatin Cristina <dear.volgk@gmail.com> Date: Wed Dec 2 19:27:47 2020 +0200 heimdall: v1.4.2, initial commit diff --git a/heimdall/.footprint b/heimdall/.footprint new file mode 100644 index 000000000..88267e478 --- /dev/null +++ b/heimdall/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/heimdall diff --git a/heimdall/.signature b/heimdall/.signature new file mode 100644 index 000000000..fa6425012 --- /dev/null +++ b/heimdall/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF368NtyKH3hFLF+hHmT56abiPqIz9Tbt3H56JOwICWE6y0yYLUDq+LX50UfJSe9kVpjUg/XR5kL2bk4xgopcQVgk= +SHA256 (Pkgfile) = 2a6575d76a8cc5fff07e2f0cef83de0bfc41b9c36145ffebceaf27d6b6cdde47 +SHA256 (.footprint) = 9c4eab1197ecc61cd2b121c1da909ec4b7e7f8629471b41ee4f8b9d1736e95e9 +SHA256 (Heimdall-v1.4.2.tar.bz2) = 2de553496fff1441a3e917b3da9e862192bd7bb05d9cab376fefcc12f82d2f05 diff --git a/heimdall/Pkgfile b/heimdall/Pkgfile new file mode 100644 index 000000000..a111608ce --- /dev/null +++ b/heimdall/Pkgfile @@ -0,0 +1,21 @@ +# Description: Utility to flash firmwares on Samsung Galaxy S devices +# URL: https://gitlab.com/BenjaminDobell/Heimdall +# Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com +# Depends on: cmake libusb +# Optional: qt5 + +name=heimdall +version=1.4.2 +release=1 +source=(https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v${version}/Heimdall-v${version}.tar.bz2) + +build() { + export CXXFLAGS="$CXXFLAGS -DNDEBUG" + + cmake -SHeimdall-v$version -Bbuild \ + -DDISABLE_FRONTEND=ON # set to off for GUI (requires qt5) + + cmake --build build -v + + install -Dm755 build/bin/heimdall $PKG/usr/bin/heimdall +} diff --git a/heimdall/README b/heimdall/README new file mode 100644 index 000000000..272866474 --- /dev/null +++ b/heimdall/README @@ -0,0 +1,27 @@ +README for heimdall + +NOTES + + It may need to make your device visible for heimdall by adding the + device's IDs to udev rules. + + 1. Connect the device to USB and check the information: + + $ lsusb + Bus 001 Device 009: ID 04e8:6860 Samsung Electronics Co., + Ltd Galaxy series, misc. (MTP mode) + + 2. Write /etc/udev/rules.d/60-heimdall.rules using ID numbers: + + SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", + MODE="0666" + + 3. Change file permissions and reload udev rules: + + # chmod a+r /etc/udev/rules.d/60-heimdall.rules + # udevadm control --reload-rules + + 4. Replug the device and check if it's detected: + + # heimdall detect + Device detected
participants (1)
-
crux@crux.nu