Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
ed1848a8
Commit
ed1848a8
authored
4 years ago
by
Niklas Cathor
Browse files
Options
Downloads
Patches
Plain Diff
firmware-samsung-kminilte: Samsung Galaxy S5 Mini firmware
parent
129f93ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
firmware/firmware-samsung-kminilte/APKBUILD
+37
-0
37 additions, 0 deletions
firmware/firmware-samsung-kminilte/APKBUILD
firmware/firmware-samsung-kminilte/firmware-samsung-kminilte.post-install
+10
-0
10 additions, 0 deletions
...e-samsung-kminilte/firmware-samsung-kminilte.post-install
with
47 additions
and
0 deletions
firmware/firmware-samsung-kminilte/APKBUILD
0 → 100644
+
37
−
0
View file @
ed1848a8
# Contributor: nilclass
pkgname
=
"firmware-samsung-kminilte"
pkgver
=
1
pkgrel
=
0
pkgdesc
=
"Samsung Galaxy S5 Mini firmware"
url
=
"https://github.com/cm-3470/android_vendor_samsung_kminilte"
arch
=
"armhf"
license
=
"proprietary"
options
=
"!check !strip !archcheck !spdx"
install
=
"
$pkgname
.post-install"
_repository
=
"android_vendor_samsung_kminilte"
_commit
=
"996b9e165baf687c1dcc0b95e83f3208ee711f89"
source
=
"
$pkgname
-
$_commit
.tar.gz::https://github.com/cm-3470/
$_repository
/archive/
$_commit
.tar.gz
"
# The installed location of these files must match CONFIG_BCMDHD_FW_PATH
# and CONFIG_BCMDHD_NVRAM_PATH respectively.
# Note that "_b2" is appended to the firmware path (in drivers/net/wireless/bcmdhd/dhd_sdio.c),
# so CONFIG_BCMDHD_FW_PATH must end in `.bin`, not `.bin_b2`
_files
=
"
proprietary/etc/wifi/bcmdhd_sta.bin_b2
proprietary/etc/wifi/nvram_net.txt
"
package
()
{
mkdir
-p
"
$pkgdir
"
cd
"
$srcdir
/
$_repository
-
$_commit
"
for
_f
in
$_files
;
do
_filename
=
$(
basename
$_f
)
install
-Dm644
$_f
"
$pkgdir
"
/lib/firmware/postmarketos/
$_filename
done
}
sha512sums
=
"84732c5470f917395bdb291a82b0dce613ea0559e2a869d245ef367be8ec7d2dcc8c7db1f63a4ddd7e4e46d7e24105bd3f3104c0603d2f742567c0df205d7672 firmware-samsung-kminilte-996b9e165baf687c1dcc0b95e83f3208ee711f89.tar.gz"
This diff is collapsed.
Click to expand it.
firmware/firmware-samsung-kminilte/firmware-samsung-kminilte.post-install
0 → 100644
+
10
−
0
View file @
ed1848a8
#!/bin/sh
# Enable autostart of deferred initcalls (needed to bring Wi-Fi online)
rc-update
-q
add deferred-initcalls sysinit
# Explicitly specify wlan device. Without this, p2p0 will be
# selected automatically instead of wlan0, and Wi-Fi will not work.
if
!
grep
-q
"i wlan0"
/etc/conf.d/wpa_supplicant
;
then
sed
-i
's/-Dnl80211,wext/-Dnl80211,wext -i wlan0/'
/etc/conf.d/wpa_supplicant
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment