Package Details: samloader-git r46.b20e1b1-2

Git Clone URL: https://aur.archlinux.org/samloader-git.git (read-only, click to copy)
Package Base: samloader-git
Description: Download firmware for Samsung devices
Upstream URL: https://github.com/martinetd/samloader
Licenses: GPL3
Conflicts: samloader
Submitter: SZanko
Maintainer: SZanko
Last Packager: SZanko
Votes: 5
Popularity: 0.025698
First Submitted: 2021-05-30 22:01 (UTC)
Last Updated: 2023-11-21 16:20 (UTC)

Latest Comments

grimler commented on 2023-10-12 07:31 (UTC)

Recent devices (or at least galaxy s23) needs this patch for download to work:

diff --git a/samloader/fusclient.py b/samloader/fusclient.py
index a203d17..4e6c549 100644
--- a/samloader/fusclient.py
+++ b/samloader/fusclient.py
@@ -37,7 +37,7 @@ class FUSClient:
         headers = {"Authorization": authv, "User-Agent": "Kies2.0_FUS"}
         if start > 0:
             headers["Range"] = "bytes={}-".format(start)
-        req = requests.get("http://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do",
+        req = requests.get("http://cloud-neofussvr.samsungmobile.com/NF_DownloadBinaryForMass.do",
                            params="file=" + filename, headers=headers, stream=True)
         req.raise_for_status()
         return req

Patch adapted from https://github.com/ananjaser1211/SamloaderKotlin/commit/8a0d50428ac7080f9c2cbe8847da06bbccb20798

sda commented on 2023-05-06 17:47 (UTC)

The original git repo is archived and last rev there can't download fw anymore. Please consider switching source to live fork https://github.com/martinetd/samloader

sekret commented on 2023-05-05 05:37 (UTC)

Yes it does make sense!

I build packages in a clean chroot which has only base and base-devel installed, but no git. So when I build the package, I have to tell makechrootpkg that git needs to be installed. I can only tell it this with git as a makedependency.

Besides: You can also download AUR packages as a tarball, e.g. https://aur.archlinux.org/cgit/aur.git/snapshot/samloader-git.tar.gz ("download snapshot")

SZanko commented on 2022-05-23 16:27 (UTC) (edited on 2022-05-23 16:27 (UTC) by SZanko)

How do you build packages because AUR helpers are not offical support so you have to git clone the repo and makepkg it so it doesn't make any sense to add git as makedependency

sekret commented on 2022-05-13 21:22 (UTC)

I want to give a +1 on git as a makedependency. Please add it!

pizzaman commented on 2022-04-14 03:22 (UTC)

Thanks for adding and maintaining this package.

$ samloader 
Traceback (most recent call last):
  File "/usr/bin/samloader", line 33, in <module>
    sys.exit(load_entry_point('samloader==0.4', 'console_scripts', 'samloader')())
  File "/usr/bin/samloader", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/samloader/main.py", line 8, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

Checking https://github.com/nlscc/samloader/blob/master/setup.py it mentions that the package https://archlinux.org/packages/community/any/python-tqdm/ is required.

Could you please add as a dependency?

arglebargle commented on 2022-02-13 00:11 (UTC)

Please add git as a makedepend on this, the package fails to build via makechrootpkg without it.