forked from ports/contrib
heimdall: v1.4.2, initial commit
This commit is contained in:
parent
54965252b9
commit
de132e0a52
3
heimdall/.footprint
Normal file
3
heimdall/.footprint
Normal file
@ -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
|
5
heimdall/.signature
Normal file
5
heimdall/.signature
Normal file
@ -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
|
21
heimdall/Pkgfile
Normal file
21
heimdall/Pkgfile
Normal file
@ -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
|
||||
}
|
27
heimdall/README
Normal file
27
heimdall/README
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user