Related
BigRushDog aka brd found this ninja method for us. thank him when you see him!
run a radio logcat with adb logcat -b radio > radio.txt
then grep or search for
Code:
E/RIL[V] ( 118): OEM_HIDDEN_GET_MSL
about 4 lines below this entry you'll see a 12digit string
the first 6 being your MSL
To reiterate:
"adb logcat -b radio | grep sendData" and then perform *#*#DATA#*#* , my terminal put out E/RIL[V] *( *119): sendData : 1234561802130
Where 123456 would be your MSL
we may have a bash script coming for you guys soon.
4/27-BASH Script added for Linux users wishing to find MSL via ADB. (unzip file & run on linux machine)
Code:
unzip MSL_Find.sh.zip
chmod +x MSL_Find.sh
./MSL_Find.sh
*profit*
I gotta give a quick thanks to Myn for hinting at checking radio log in #gn-sprint. thanks bro, good looking out.
Great work guys! I didn't see anyone create a script yet, so I made one. Info can be found here...
http://forum.xda-developers.com/showthread.php?p=25371025
bash script added to OP for Linux users who wish to grab MSL using their PC. Credit to smwebster & brd for the idea.
Hello teammates,
I unintentionally deleted the Huawei stock calculator application :crying:
Would you have the latest APK coming with Magic UI 2.1 ?
Thanks a lot
Ok I have found "calc v9.1.0.301 from EU VOG-L29 fw 124": https://forum.xda-developers.com/showpost.php?p=79471237&postcount=3
In order to install this APK via ADB Tools, you have to sign the APK.
Code:
apksigner sign --ks debug.keystore com.android.calculator2-90100301-v9.1.0.301.apk
You can find your debug.keystore in your android folder (/Users/USER/.android in MacOS).
then
Code:
adb install com.android.calculator2-90100301-v9.1.0.301.apk
------------------
If you haven't any debug.keystore, you can create a .jks with
Code:
keytool -genkey -v -keystore my-release-key.jks
-keyalg RSA -keysize 2048 -validity 10000 -alias my-alias
You must be install this APK via ADB Tools
Last week I got my GWA2 from Germany and I'm very disappointed. Samsung Pay is still not available and changing region with SDBstarterKidv1 does not work. SDB and CSC.Manager execute without error messages on the PC but the region selection is not displayed on the watch's screen. Did Samsung block the possibility to change a region?
Why buy a watch where the advertised features are not available maybe in the future? ECG - 2020?, Fall Detection sometime, Blood Pressure - the App My BP Lab 2.0 is easy to install but does not work with the hardware, calibration stops after 10%..
Maybe Galaxy Watch Active 3 or 4 comes close to Apple watch!
Can you give maybe more details...
Model Name... Firmware Version...
What exact not work with SDB?
As you know... nobody have Crystal Ball...
Btw. I am better in German language...
Best Regards
Galaxy Watch Active 2
adfree said:
Can you give maybe more details...
Model Name... Firmware Version... SM-R820 Galaxy Watch Active 2(E8F5) UI-Ver. 1.5 Tizen-Vers. 4.0.0.6
What exact not work with SDB? ….M.E. funktioniert SDB einwandfrei, nur erfolgen keine Ausgaben auf dem Uhr-Display.
Nach dem sdb connect erfolgt keine 'Debugging RSA Key ...' durch die Active 2.
Die App 'csc-manager.csc-pre-configuration' wird ausgeführt, aber es erscheint kein Auswahl-Menü auf der Uhr.
As you know... nobody have Crystal Ball...
Btw. I am better in German language...
Best Regards
Click to expand...
Click to collapse
Freundliche Grüsse
eboeschen
Registered on 16.09. and already mocking samsung. Apple fanboy.
Sent from my SM-G975F using Tapatalk
adfree said:
Can you give maybe more details...
Model Name... Firmware Version...
What exact not work with SDB?
As you know... nobody have Crystal Ball...
Btw. I am better in German language...
Best Regards
Click to expand...
Click to collapse
While inviting another member (especially one with only one post), it is better to tell him the rules of XDA (which, as a senior member, you should also know).
English is the language to be used on XDA. If another language is to be used, the English version should be on top with the other language version following it.
eboeschen said:
Freundliche Grüsse
eboeschen
Click to expand...
Click to collapse
Please note the above guideline and refrain from using another language only.
In addition, do not edit the post you are quoting. Post yours below the quote. This will make reading easier instead of hunting in the quoted post.
Same story with me: successfully linked my PC with the watch, did "sdb shell", but "launch_app csc-manager.csc-pre-configuration" did nothing on the watch's side, although the shell says "... successfully launched"
The watch is Galaxy Watch Active 2, bought in Germany. The goal is to change the region to SER to activate SPay.
csc-manager app is indeed there:
sh-3.2$ ls
com.samsung.alarm-mobile-alert-solis com.samsung.samsung-pay-app com.samsung.w-reminder
com.samsung.alarm-solis com.samsung.samsung-pay-guide-app com.samsung.w-taskmanager
com.samsung.app-list-backup-service com.samsung.sdbd-syspopup com.samsung.watch-utils
com.samsung.app-version-sync-popup com.samsung.setting-location com.samsung.watchface
com.samsung.app-widget com.samsung.shealth_gear com.samsung.weather
com.samsung.b2-setup-wizard com.samsung.sketch com.samsung.wemail
com.samsung.bluetooth com.samsung.skmsa com.samsung.wifi
com.samsung.bluetooth-testmode com.samsung.stopwatch-wc1 com.samsung.wifi-test
com.samsung.bt-syspopup com.samsung.supl-syspopup com.samsung.windicator
com.samsung.ciss com.samsung.testmode com.samsung.wis-backup-service
com.samsung.clocksetting com.samsung.timer-wc1 com.samsung.wnotification2
com.samsung.contacts-backup-service com.samsung.tizen.bixby com.samsung.worldclock
com.samsung.daily-briefing com.samsung.tizen.bixby-provisioning csc-app
com.samsung.dqagent com.samsung.tizen.bixby-voice csc-manager
com.samsung.emergency-message com.samsung.tizen.bixby-wakeup-service health-data-service
com.samsung.factory-clientw com.samsung.tizen.iva-service ise-engine
com.samsung.factory-nfchce com.samsung.tizen.samsung-account ise-languagepack-mgr
com.samsung.flash-light com.samsung.tizen.samsung-account.ui ise-multilingual
com.samsung.fmg com.samsung.tizenseckeystring net.stc-popup
com.samsung.fmm com.samsung.tts-setting net.wc-popup
com.samsung.fota-consumer com.samsung.tzdata-update-popup net.wc-syspopup
com.samsung.gearstore com.samsung.unit-test-device nfc-manager
com.samsung.iap-galaxyapps-consumer com.samsung.unit-test-input nfc-test
com.samsung.idle-clock-emergency com.samsung.unit-test-mm org.tizen.accessibility-setting
com.samsung.idle-clock-ups com.samsung.unit-test-network org.tizen.app-selector
com.samsung.idle-service com.samsung.unit-test-sensor org.tizen.crash-syspopup
com.samsung.ime-backup-service com.samsung.update-service org.tizen.dpm-syspopup
com.samsung.iot-resource-service com.samsung.voice-tos-app org.tizen.fido-syspopup
com.samsung.knox.license-viewer com.samsung.w-calendar2 org.tizen.heremaps-uc
com.samsung.knoxcustom-exitui com.samsung.w-call org.tizen.inputmethod-setting
com.samsung.knoxenrollmentservice-efl com.samsung.w-call-settings org.tizen.isf-kbd-mode-changer
com.samsung.logs-backup-service com.samsung.w-clock-viewer org.tizen.powerkey-syspopup
com.samsung.mapcontrol com.samsung.w-contacts2 org.tizen.privacy-setting-popup
com.samsung.mdec-consumer com.samsung.w-eas-it-policy org.tizen.screen-reader
com.samsung.message com.samsung.w-emergency-keypad org.tizen.stt-engine-default
com.samsung.message-backup-service com.samsung.w-gallery org.tizen.system-syspopup
com.samsung.nfc-setting-app com.samsung.w-home org.tizen.tts-engine-default
com.samsung.nfc-syspopup com.samsung.w-input-selector org.tizen.tzdata
com.samsung.pwlock com.samsung.w-lockscreen org.tizen.widget_viewer_sdk
com.samsung.runestone-core com.samsung.w-lockscreen-setting sem_daemon
com.samsung.runestone-gear com.samsung.w-logs2 smartcard-service
com.samsung.runestone-setting com.samsung.w-manager-service smartreply-service
com.samsung.safetyvolume-syspopup com.samsung.w-media-controller w-secure-element
com.samsung.samsung-account-front com.samsung.w-music-player xwalk-service
Click to expand...
Click to collapse
Life1ess said:
Same story with me: successfully linked my PC with the watch, did "sdb shell", but "launch_app csc-manager.csc-pre-configuration" did nothing on the watch's side, although the shell says "... successfully launched"
The watch is Galaxy Watch Active 2, bought in Germany. The goal is to change the region to SER to activate SPay.
csc-manager app is indeed there:
Click to expand...
Click to collapse
did you succeed to solve this problem? it happens the same to me with my german active 2
I will upload for SM-R820:
A
Code:
COMBINATION-FT40_R820XXU1ASI2.tar.md5
B
Code:
AP_R820XXU1ASHF_usr.tar.md5
BL_R820XXU1ASHF_usr.tar.md5
CSC_OXA_R820OXA1ASHF_usr.tar.md5
C
netOdin is here since years:
https://forum.xda-developers.com/showpost.php?p=73503787&postcount=150
UNTESTED with the new devices... OWN RISK!
Maybe the good old trick still work with Combination Firmware + CSC... and Code:
Code:
*#272*719434266344#
Need "few" minutes for upload...
Best Regards
Edit 1.
Combination Firmware for SM-R820:
https://www.file-upload.net/download-13731697/COMBINATION-FT40_R820XXU1ASI2.tar.md5.7z.html
Edit 2.
Stock Firmware for CSC...
https://www.file-upload.net/download-13731710/smR820XXU1ASHF.7z.html
Any more luck in this area???
adfree said:
I will upload for SM-R820:
A
Code:
COMBINATION-FT40_R820XXU1ASI2.tar.md5
B
Code:
AP_R820XXU1ASHF_usr.tar.md5
BL_R820XXU1ASHF_usr.tar.md5
CSC_OXA_R820OXA1ASHF_usr.tar.md5
C
netOdin is here since years:
https://forum.xda-developers.com/showpost.php?p=73503787&postcount=150
UNTESTED with the new devices... OWN RISK!
Maybe the good old trick still work with Combination Firmware + CSC... and Code:
Code:
*#272*719434266344#
Need "few" minutes for upload...
Best Regards
Click to expand...
Click to collapse
Thank for you providing the files. Is there any chance to get stock for a different CSC, preferably OXE?
Did anybody have any luck with changing CSC to get Samsung Pay on their GWA2?
adfree said:
I will upload for SM-R820:
A
Code:
COMBINATION-FT40_R820XXU1ASI2.tar.md5
B
Code:
AP_R820XXU1ASHF_usr.tar.md5
BL_R820XXU1ASHF_usr.tar.md5
CSC_OXA_R820OXA1ASHF_usr.tar.md5
C
netOdin is here since years:
https://forum.xda-developers.com/showpost.php?p=73503787&postcount=150
UNTESTED with the new devices... OWN RISK!
Maybe the good old trick still work with Combination Firmware + CSC... and Code:
Code:
*#272*719434266344#
Need "few" minutes for upload...
Best Regards
Edit 1.
Combination Firmware for SM-R820:
https://www.file-upload.net/download-13731697/COMBINATION-FT40_R820XXU1ASI2.tar.md5.7z.html
Edit 2.
Stock Firmware for CSC...
https://www.file-upload.net/download-13731710/smR820XXU1ASHF.7z.html
Click to expand...
Click to collapse
Hello, I tried it but it doesn't work. It seems like after the code insert the CSC doesn't change.
In fact after the choose and the reboot in the software information there still is the old CSC code and after the stock flash Samsung Pay does not appear.
Where did you find the firmware?
@Eziooo
Can you check please Videos from this Thread...
https://forum.xda-developers.com/showpost.php?p=75846867&postcount=469
It seems like after the code insert the CSC doesn't change.
Click to expand...
Click to collapse
After watching Videos... can you please "compare"...
Because no idea what you see... nor what you set...
Best Regards
adfree said:
@Eziooo
Can you check please Videos from this Thread...
https://forum.xda-developers.com/showpost.php?p=75846867&postcount=469
After watching Videos... can you please "compare"...
Because no idea what you see... nor what you set...
Best Regards
Click to expand...
Click to collapse
I mean, I have the DBT CSC stock in my watch, I followed the steps in the first post of this thread:
https://forum.xda-developers.com/smartwatch/gear-s3/succesfully-changed-csc-to-xar-to-t3718236
but when I insert the code *#272*719434266344# (like in the video 2 you linked) and the watch reboots, I chech the software information and there still is the "DBT" at the and of the software version, like nothing changed.
And when I flash the stock firmware at the end I don't have the Samsung Pay app..
sammysams said:
Did anybody have any luck with changing CSC to get Samsung Pay on their GWA2?
Click to expand...
Click to collapse
Nop. Same German active 2 and same problem. CSC change doesn't appears on watch screen. I'm afraid my watch is ready to go back to germany
Same problem
SynStratos said:
did you succeed to solve this problem? it happens the same to me with my german active 2
Click to expand...
Click to collapse
Same problem. German GWA2 and "succesfully launched" but nothing happens. . I fight and fight, but now I'm tired...
Thank for you providing the files. Is there any chance to get stock for a different CSC, preferably OXE?
---------- Post added at 08:36 AM ---------- Previous post was at 08:29 AM ----------
Thank for you providing the files. Is there any chance to get stock for a different CSC, preferably PHE?
https://forum.xda-developers.com/showpost.php?p=80172836&postcount=793
Code:
engineer-mode-on.sh
Maybe something like this is required... to write to CSA...
OWN RISK!
If I had such device... I would log... maybe some infos available what is blocked or disabled or what failed...
Best Regards
Is somebody able to check few things?
Example from my SM-R760...
Code:
sh-3.2$ ls
apps_rw data media share
sh-3.2$ cd ..
sh-3.2$ cd /
sh-3.2$ ls
%{TZ_USER_SHARE} boot dev home lost+found mnt proc run srv tmp var
bin [B]csa[/B] etc lib media opt root sbin sys usr
sh-3.2$ cd csa
sh-3.2$ ls
00000000.authtokcont ese nv sensor wd
TEE factory prov skpm_OTA_CSR_OCF_ECC_P256
bluetooth imei prov_data skpm_sk.dat
csc lost+found recovery skpm_supported_list
sh-3.2$ cd csc
sh-3.2$ ls
csc-active-customer.inf
sh-3.2$ [B]cat /csa/csc/csc-active-customer.inf[/B]
[B]XAR[/B]
sh-3.2$ cd ..
sh-3.2$ cd imei
sh-3.2$ ls
MSL_address.dat MSL_code.dat prodcode.dat serialno.dat
sh-3.2$ [B]cat /csa/imei/prodcode.dat[/B]
SM-R760NDAA[B]XAR[/B]
sh-3.2$
A.
Good to know if CSA is accessable without Root?
Code:
cd /csa
ls
If no... Combination Firmware with Root is usefull...
If yes...
B.
Code:
cat /csa/csc/csc-active-customer.inf
In my Example you see XAR for USA...
With open eyes you can see... Production Code also contains CSC text string...
Code:
cat /csa/imei/prodcode.dat
C.
1 method for Logging is... enter Code after your action...
Code:
*#9900#
Maybe you can see by open eyes... why this fail or is blocked...
Code:
launch_app csc-manager.csc-pre-configuration
D.
You can try this and report what happens... Watch explode... your Dog or your Cat?
Code:
launch_app csc-manager.csc-verifier
Best Regards
adfree said:
Is somebody able to check few things?
Example from my SM-R760...
Code:
sh-3.2$ ls
apps_rw data media share
sh-3.2$ cd ..
sh-3.2$ cd /
sh-3.2$ ls
%{TZ_USER_SHARE} boot dev home lost+found mnt proc run srv tmp var
bin [B]csa[/B] etc lib media opt root sbin sys usr
sh-3.2$ cd csa
sh-3.2$ ls
00000000.authtokcont ese nv sensor wd
TEE factory prov skpm_OTA_CSR_OCF_ECC_P256
bluetooth imei prov_data skpm_sk.dat
csc lost+found recovery skpm_supported_list
sh-3.2$ cd csc
sh-3.2$ ls
csc-active-customer.inf
sh-3.2$ [B]cat /csa/csc/csc-active-customer.inf[/B]
[B]XAR[/B]
sh-3.2$ cd ..
sh-3.2$ cd imei
sh-3.2$ ls
MSL_address.dat MSL_code.dat prodcode.dat serialno.dat
sh-3.2$ [B]cat /csa/imei/prodcode.dat[/B]
SM-R760NDAA[B]XAR[/B]
sh-3.2$
A.
Good to know if CSA is accessable without Root?
Code:
cd /csa
ls
If no... Combination Firmware with Root is usefull...
If yes...
B.
Code:
cat /csa/csc/csc-active-customer.inf
In my Example you see XAR for USA...
With open eyes you can see... Production Code also contains CSC text string...
Code:
cat /csa/imei/prodcode.dat
C.
1 method for Logging is... enter Code after your action...
Code:
*#9900#
Maybe you can see by open eyes... why this fail or is blocked...
Code:
launch_app csc-manager.csc-pre-configuration
D.
You can try this and report what happens... Watch explode... your Dog or your Cat?
Code:
launch_app csc-manager.csc-verifier
Best Regards
Click to expand...
Click to collapse
I tried to follow your steps on my watch and this is the result:
sh-3.2$ ls
apps_rw data media share
sh-3.2$ cd ..
sh-3.2$ cd /
sh-3.2$ ls
afpc boot dev home lost+found mnt opt root sbin sys usr
bin csa etc lib media nuget proc run srv tmp var
sh-3.2$ cd csa
sh-3.2$ ls
00000000.authtokcont bluetooth ese imei prov recovery skpm_FACTORY_OCF_ECC_P256
TEE csc factory lost+found prov_data sensor wd
sh-3.2$ cd csc
sh-3.2$ ls
csc-active-customer.inf
sh-3.2$ cat /csa/csc/csc-active-customer.inf
DBTsh-3.2$ cd ..
sh-3.2$ cd imei
sh-3.2$ ls
prodcode.dat serialno.dat smsn.dat
sh-3.2$ cat /csa/imei/prodcode.dat
SM-R820NZKADBTsh-3.2$
Hope it may help you.
launch_app csc-manager.csc-verifier does nothing, the code *#9900# opens a secret menu..
Hello,
I recently wanted to download some firmware for my Samsung device, but I realized that there is no 100% open source program to do so. In fact, all the tools that claim to do so require a library that is packed by Themida (so it is difficult to check what this might be doing), in order to authenticate to the server. This is a native DLL, meaning that it is only compatible with Windows x86. Additionally, many of these tools are actually using stolen decompiled code from SamFirm, which, apart from being possibly illegal, means they would be difficult to maintain and run slowly.
So, I decided to reverse engineer Smart Switch to figure out exactly how the download is taking place, and wrote a cross-platform tool that does this without using the Windows DLL that the other tools have, making it compatible with Linux and MacOS. I also realized that the newer versions are actually using a new version of the authentication algorithm, meaning possibly at some point the old tools might stop working as Samsung drops support for it.
You can find it at:
Code:
https://github.com/nlscc/samloader
To install, go to the downloaded repository and run:
Code:
pip3 install .
See the README or look at the code for usage. You might want to know that my old github account, nm111, was unfortunately deleted, and I lost access to my old XDA account. You can see the verified email is the same however.
Feel free to use the algorithms I figured out in your own code, so long as you don't use it in proprietary programs. It is licensed under GNU GPLv3 or later.
This works for all phones, not just S10+, but I couldn't find a better forum and this is where Frija posted.
Thank you. This is pretty cool. I downloaded it now and will check it out later tonight.
Can you please do the same thing for the emergency recovery option.
Will you update your tool if it still working in the future?
This is going to be super useful for me (ATM I'm using SamFirm with wine/proton and my setup breaks often, and GUI gets in my way) since I need to download many firmwares for my reverse-engineering, so thanks!
Late for this great find, thanks to the xda article, really needed a solution outside Windows.
PS, what are the chances for spoofing a request, i.e, trying to fetch only the latest OTA from a certain CSC?
@nn000 Glad this made the front page. I have used this for a little wile now and it works great
@phhusson
This will work on windows if you use the WSL and install Ubuntu. You could probably get this working under Cygwin too.
Great work mate. Helps to gather various download. Unfortunately enough Samshung does not allow older firmware via server fetching..
Hi, thanks for this great tool as samfirm and frija are slow to download firmwares. I am trying to download firmware for galaxy watch. I can only search the firmware version but when trying to download it there is error:
filename = root.find("./FUSBody/Put/BINARY_NAME/Data").text
AttributeError: 'NoneType' object has no attribute 'text'
is there any way to modify this tool to download watch firmware too?
You are genius! Thanks for this tool. Can't wait to try this :good:
nn000 said:
Feel free to use the algorithms I figured out in your own code, so long as you don't use it in proprietary programs. It is licensed under GNU GPLv3 or later.
This works for all phones, not just S10+, but I couldn't find a better forum and this is where Frija posted.
Click to expand...
Click to collapse
Brilliant work!
Thank you very much for developing this tool and removing our dependency on Windows for such basic functionality as checking for and downloading firmware updates. Thank you also for having the foresight and generosity to publish this under the GPL.
This tool will receive a huge amount of use on my machines.
Thanks in advance, I don't know how to download the program, they would be so kind to give me a link. Thank you very much
I tried installing with the command found in the readme file
Code:
pip3 install git+https://github.com/nlscc/samloader.git
But when I type
Code:
$ samloader --help
It says "samloader: command not found"
Beautiful. Thanks for this tool!
4929york said:
I tried installing with the command found in the readme file
Code:
pip3 install git+https://github.com/nlscc/samloader.git
But when I type
Code:
$ samloader --help
It says "samloader: command not found"
Click to expand...
Click to collapse
install python first, before try
rikipy said:
install python first, before try
Click to expand...
Click to collapse
Python was installed.
How to set download location(out) in the command line
samloader download [firmware version] [phone model] [region] [out]
I tried to put \Download but it's not in the folder.
I installed python39 and git on Win10 but sill get errors
Code:
pip3 install git+https://github.com/nlscc/samloader.git
Collecting git+https://github.com/nlscc/samloader.git
Cloning https://github.com/nlscc/samloader.git to c:\users\danie\appdata\local\temp\pip-req-build-s8l3kwc6
Collecting clint
Using cached clint-0.5.1.tar.gz (29 kB)
Collecting pycryptodomex
Using cached pycryptodomex-3.9.8.tar.gz (15.6 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\danie\\AppData\\Local\\Temp\\pip-install-vvk574_e\\pycryptodomex\\setup.py'"'"'; __file__='"'"'C:\\Users\\danie\\AppData\\Local\\Temp\\pip-install-vvk574_e\\pycryptodomex\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\danie\AppData\Local\Temp\pip-pip-egg-info-3i7fsfut'
cwd: C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\
Complete output (20 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\setup.py", line 457, in <module>
set_compiler_options(package_root, ext_modules)
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 341, in set_compiler_options
clang = compiler_is_clang()
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 251, in compiler_is_clang
return test_compilation(source, msg="clang")
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 82, in test_compilation
objects = compiler.compile([fname], extra_postargs=extra_cc_options)
File "c:\program files\python39\lib\distutils\_msvccompiler.py", line 323, in compile
self.initialize()
File "c:\program files\python39\lib\distutils\_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\program files\python39\lib\site-packages\setuptools\msvc.py", line 314, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "c:\program files\python39\lib\site-packages\setuptools\msvc.py", line 268, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Testing support for clang
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Viper780 said:
I installed python39 and git on Win10 but sill get errors
Code:
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Click to expand...
Click to collapse
The problem is right there in front of you: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
It's pretty annoying when there are requirements and you find out about them afterwards.
Would be good to write them to the install instructions
- python3
- git
- Buildtools for MS C++
Thanks for this, it works well! Cheers..
:highfive:
Example:
Install
Code:
pip3 install git+https://github.com/nlscc/samloader.git
Check update
Code:
samloader -m SM-G975F -r NZC checkupdate
Download
Code:
samloader -m SM-G975F -r NZC download -v G975FXXS9DTI8/G975FOXM9DTI8/G975FXXS9DTI8/G975FXXS9DTI8 -O /home/hinxnz/Downloads
Decrypt
Code:
samloader -m SM-G975F -r NZC decrypt -v G975FXXS9DTI8/G975FOXM9DTI8/G975FXXS9DTI8/G975FXXS9DTI8 -V 4 -i SM-G975F_1_20200921075534_uii8oafhih_fac.zip.enc4 -o SM-G975F_1_20200921075534_uii8oafhih_fac.zip
---------- Post added at 10:52 PM ---------- Previous post was at 10:41 PM ----------
Viper780 said:
I installed python39 and git on Win10 but sill get errors
Code:
pip3 install git+https://github.com/nlscc/samloader.git
Collecting git+https://github.com/nlscc/samloader.git
Cloning https://github.com/nlscc/samloader.git to c:\users\danie\appdata\local\temp\pip-req-build-s8l3kwc6
Collecting clint
Using cached clint-0.5.1.tar.gz (29 kB)
Collecting pycryptodomex
Using cached pycryptodomex-3.9.8.tar.gz (15.6 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\danie\\AppData\\Local\\Temp\\pip-install-vvk574_e\\pycryptodomex\\setup.py'"'"'; __file__='"'"'C:\\Users\\danie\\AppData\\Local\\Temp\\pip-install-vvk574_e\\pycryptodomex\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\danie\AppData\Local\Temp\pip-pip-egg-info-3i7fsfut'
cwd: C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\
Complete output (20 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\setup.py", line 457, in <module>
set_compiler_options(package_root, ext_modules)
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 341, in set_compiler_options
clang = compiler_is_clang()
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 251, in compiler_is_clang
return test_compilation(source, msg="clang")
File "C:\Users\danie\AppData\Local\Temp\pip-install-vvk574_e\pycryptodomex\compiler_opt.py", line 82, in test_compilation
objects = compiler.compile([fname], extra_postargs=extra_cc_options)
File "c:\program files\python39\lib\distutils\_msvccompiler.py", line 323, in compile
self.initialize()
File "c:\program files\python39\lib\distutils\_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\program files\python39\lib\site-packages\setuptools\msvc.py", line 314, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "c:\program files\python39\lib\site-packages\setuptools\msvc.py", line 268, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Testing support for clang
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Click to expand...
Click to collapse
Now install linux
I'm trying to mod SHM on watch for adding rus language and trying to replace some files, but actually SDB write "security error"
After using Sertifier, sdb write "sertificate error[-14]"
Code:
-14
No additional info spit out from SDB?
I ever forgott the ...
If you choose KOO for Korea... then SHM is preinstalled...
Maybe you then need first to uninstall complete to use own Cert...
And other apps you can resign and work?
https://forum.xda-developers.com/smartwatch/gear-fit/howto-sign-sideload-tizen-applications-t3639793
Best Regards
Edit 1.
On older Versions short tried and possible... example with German text:
https://forum.xda-developers.com/showpost.php?p=82823051&postcount=665
Hm, no, i use XAR, there not preinstalled
Yes, i'm actually used sertifier from Fit2installer and it wrote an [-14] error
But thanks
About other apps soon check
And you uninstall Original TPK before... because Certs now differ...
You can look here for uninstall Commands via SDB:
https://forum.xda-developers.com/showpost.php?p=83327589&postcount=1726
I mean this:
Code:
pkgcmd -u -t tpk -n com.samsung.health.samd.bp
To be sure the old TPK with different Cert is removed from SQLite Database...
Maybe now I remember what -14 is...
IMHO this could be you trying with public Cert Privilege Level to sign Platform crap...
Remove the .admin line in manifest.xml
Again.
SDB sometimes talk to you...
There is more text visible as -14
Best Regards
Edit 1.
Here is you output for -14
https://forum.xda-developers.com/showpost.php?p=83275933&postcount=1620
Code:
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[error] val[-14] error message: :Check tizen-manifest.xml| - Current api-version = 4.0.0.8, | certificate signature level = partner||[MISMATCHED_PRIVILEGE_LEVEL]| - http://tizen.org/privilege/packagemanager.admin| >> [B][COLOR="Red"]Use at least platform signatured certificate[/COLOR][/B].||:<-7>
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[end] val[fail]
processing result : Signature error [-14] failed
Remove this from Manifest... and you can use Public Level Cert...
Code:
http://tizen.org/privilege/packagemanager[B][COLOR="Red"].admin[/COLOR][/B]
Thank you very much! It's really work, and now i compile and sign a tpk, but now...idk, but file home.mo has a multiple encode, and how to decode.. idk
But thank you
If I have time I will check, what I can do...
My old tests only with older TPKs... so maybe something changed...
Best Regards
adfree said:
If I have time I will check, what I can do...
Click to expand...
Click to collapse
Thanks, i'm translate it. It's needed only file mo convert to po and then edit.
But then...it's application starts only on my watch, but all others people has error [-12]
...but all others people has error [-12]
Click to expand...
Click to collapse
Yes. This is normal... because Cert is only valid for your own device... DUID Check...
Thanx to Samsu.g...
To bypass this problem at the moment 2 wayS...
A
User have to sign with own Certificate...
B
Rooted and/or modified Firmware... :angel:
This is what I used...
I can use Samsung Certs for all 3 Privilege Levels...
Code:
Public
Partner
Platform
"Bad"... at the moment not tested with GWA2...
Need brave tester... :angel:
Best Regards
adfree said:
Yes. This is normal... because Cert is only valid for your own device... DUID Check...
Thanx to Samsu.g...
To bypass this problem at the moment 2 wayS...
Rooted and/or modified Firmware..
Click to expand...
Click to collapse
Oh...that's bad, and now only root users may to flash my mod?
Alyway thank you
Oh...that's bad, and now only root users may to flash my mod?
Click to expand...
Click to collapse
At the moment nobody else can use your work, without resign.
Your own Certs... your own Signatures...
They are not inside Firmware.
My way is to use Samsung Certs...
They are inside for instance Combination Firmware...
IMHO 5 years old or maybe meanwhile older...
It is for instance possible to create Certs for few more devices... IMHO DUID crap...
Something like register blabla few more devices...
Sorry, this is the Security crap of Samsu.g...
They want protect Watch Faces...
Best Regards
Sorry, at the moment less time...
My plan for this month...
Root SM-R820.
At the moment I have only BTF3 Firmware Files... not the latest BTG1...
Anyway... need more time.
Best Regards
Done. :angel:
SM-R820 BTF3 Root work.
https://forum.xda-developers.com/showpost.php?p=83433641&postcount=1851
I have no BTG1 files... otherwise I would root here rootfs.img...
If I have time I will play with TPK...
Maybe German text...
Will try other Animation or remove or...
Best Regards
Rooted also SM-R830...
And as example...
https://forum.xda-developers.com/showpost.php?p=83458777&postcount=926
In these RPMs Samsu.g Certs inside...
Best Regards
Because Samsu.g seems have no plan to expand SHM to more countries... in near future...
I mean 2020...
I will spend again some time with languages...
Code:
august_BPandECG_combo_version23_PlatformSigned_mod1.tpk
Will concentrate on latest known... "29"...
Code:
september_BPandECG_combo_version29_PlatformSigned_mod1.tpk
29 have 1 more language... Portugues for Brasil...
Still I have not understand if easily I can add folder + file...
Code:
DE
Need some time to understand...
Best Regards
Edit 1.
SHM 29 TPK not configured... not paired with Phone...
IMHO this is good start... text string:
Code:
Download the app
Can be found in 2 files...
Code:
\res\locale\[B]default[/B]\LC_MESSAGES\home.mo
\res\locale\[B]en_US[/B]\LC_MESSAGES\home.mo
1:1 same content...
Hmmmmmmmmmmmmmmmmmmmmmmmmmmm....
Can I simple add folder:
Code:
de_DE
Edit 2.
Hey cool... this is working... my folder de_DE
Now doing some time cunuming thing.. to translate I find correct position...
Example...
2 times:
Code:
Download the app
First for ECG... Second for BP...
2 times:
Code:
Blood pressure
Found first... but not the second...
Change into:
Code:
Blutdruck 1
Blutdruck 2
So I can see what where is used...
Tiny Example about my German """Translation"""...
Only as "Tech Demo"...
German Umlaut not work yet...
Best Regards