1. Download the Samsung software .zip file with SamFirm, see screenshot below.
2. Using 7-Zip, extract the HOME_CSC*.tar.md5 file
3.
Using 7-Zip, extract the cache.img.lz4 file or odm.img.ext4.lz4(if
present, continue only with this file, forget about cache.img.*) . Samsung S10 : product.img.lz4 . Samsung S21 5G : optics.img.lz4 If
the file doesn't have a lz4 extension, skip the step 4.
4. From Windows Command Line: lz4 -d cache.img.lz4 cache.img ( see https://forum.xda-developers.com/galaxy-s9-plus/help/how-to-unpack-recompile-img-ext4-lz4-t3776423 )
5. From Windows Command Line: simg2img -i cache.img -o cache1.img
6.
Using 7-Zip, open cache1.img, go to
\recovery\sec_csc.zip\system\csc\ROM\system\csc\ , open customer.xml ,
scroll down until you reach IMSSetting, check VoLTE & VoWiFi for
your network. See below.
For odm file, the path is something like: odm1.img\omc\ROM\conf\
SamFirm, lz4 .exe, simg2img.exe uploaded on dropbox.
( for system.img https://forum.xda-developers.com/galaxy-note-8/how-to/guide-how-to-extract-img-to-dump-t3673863 )
Samung S8, CSC ROM LATEST Firmwares:
Samsung OTA : http://fota-dn.ospserver.net/firmware/ROM/SM-G950F/version.xml
Samsung test versions: http://fota-dn.ospserver.net/firmware/ROM/SM-G950F/version.test.xml
customer.xml:
<IMSSetting>
<NbSetting>2</NbSetting>
..............
<Setting>
<NetworkName>Digi.Mobil</NetworkName>
<EnableIMS>true</EnableIMS>
<VoLTE>
<EnableVoLTE>true</EnableVoLTE>
<EnableVoiceoverWIFI>false</EnableVoiceoverWIFI>
<EnableVideocall>false</EnableVideocall>
<EnableVoLTEindicator>true</EnableVoLTEindicator>
<Voice_Domain_Preference_EUTRAN>imspsvoicepreferred</Voice_Domain_Preference_EUTRAN>
<Emregencycall_Domain>cs</Emregencycall_Domain>
<SRVCCversion>10</SRVCCversion>
<SS_Domain_Preference>cs_always</SS_Domain_Preference>
<SS_CSFBwithIMSerror>false</SS_CSFBwithIMSerror>
<USSD_Domain_Preference>cs</USSD_Domain_Preference>
<EnableSMSoverIP>false</EnableSMSoverIP>
</VoLTE>
</Setting>
</IMSSetting>
make a bat file; all files are already under E:/001/
@echo off
title This is your first batch script!
echo Welcome to batch scripting!
pause
e:
cd 001
lz4.exe -d cache.img.lz4 cache.img
s -i cache.img -o cache1.img
lz4.exe -d odm.img.lz4 odm.img
s -i odm.img -o odm1.img
for system.img https://forum.xda-developers.com/galaxy-note-8/how-to/guide-how-to-extract-img-to-dump-t3673863
Step 1
- Download This
- Extract It To Your Desktop
- Place your "system.img" in the "SVAImgUnpack" Folder
- Open windows search and type "cmd" then drag cmd.exe into the "SVAImgUnpack" Folder.
Step 2
- Run cmd.exe from the SVAImgUnpack Folder
- Type "SVAImgUnpack C:\Users\YourUsername\Desktop\SVAImgUnpack\system. img"
When it has finished you will see you have "system.ext4.img" now in the folder too.
- Run "ext2explore.exe" as Administrator
- File > Open Image
- Select your new "system.ext4.img" and Open
You can now right click the file and press 'Save' and it will extract all of the system.img
OR
You can double click the file and browse the system.img and right click/save single folders/files
The old method with "Ext4Unpacker" does not work anymore.
The new method uses "SVAImgUnpack"
I just used this method on the N950N Korean system.img and it works fine.
This is a very useful tool for ROM Developers or anyone just wishing to snag a couple files from a foreign firmware.
Samsung S10 5G
https://www.gsmarena.com/samsung_galaxy_s10_5g-9588.php
https://www.sammobile.com/firmwares/SM-G977B/
https://forum.xda-developers.com/android/software/decode-encode-omc-files-omc-decoder-t3791471
https://www.mobile01.com/topicdetail.php?f=568&t=5445909&p=16
Path for CSC files: product2.img\omc\DTM\conf\
customer.xml
cscfeature.xml, cyphered
cscfeature_network.xml, cyphered
java -jar omc-decoder.jar -i cscfeature.xml -o cscfeature_decoded.xml
java -jar omc-decoder.jar -i cscfeature_network.xml -o cscfeature_network_decoded.xml
E:\001\jar>java -jar omc-decoder.jar -i cscfeature_network.xml -o cscfeature_network_decoded.xml
output E:\001\jar\cscfeature_network_decoded.xml success
TMD: TMobile DE: DT
<CscFeature_Common_SupportHide5GMenuItems>TRUE</CscFeature_Common_SupportHide5GMenuItems>
<CscFeature_Setting_DisableNetworkMode>5g</CscFeature_Setting_DisableNetworkMode> /// disable 5G only from menu?
<NbProfile>3</NbProfile>
<Profile>
<NetworkName>Telekom.de</NetworkName>
<IpVersion>ipv4v6</IpVersion>
<RoamingIpVersion>ipv4v6</RoamingIpVersion>
<Editable>yes</Editable>
<ProfileName>Telekom IMS</ProfileName>
<URL>http://start-de.tmo.net</URL>
<Auth>none</Auth>
<Protocol>http</Protocol>
<MTUSize>1500</MTUSize>
<PSparam>
<APN>IMS</APN>
</PSparam>
</Profile>
<Profile>
<NetworkName>Telekom.de</NetworkName>
<IpVersion>ipv4v6</IpVersion>
<RoamingIpVersion>ipv4</RoamingIpVersion>
<ProfileName>HOS</ProfileName>
<URL>http://mms.t-mobile.de/servlets/mms</URL>
<Auth>normal</Auth>
<Protocol>http</Protocol>
<MTUSize>1500</MTUSize>
<Proxy>
<EnableFlag>on</EnableFlag>
<ServAddr>109.237.176.193</ServAddr>
<Port>8008</Port>
</Proxy>
<PSparam>
<APN>hos</APN>
<UserId>telekom</UserId>
<Password>telekom</Password>
</PSparam>
</Profile>
<Profile>
<NetworkName>Telekom.de</NetworkName>
<IpVersion>ipv4v6</IpVersion>
<RoamingIpVersion>ipv4</RoamingIpVersion>
<Editable>yes</Editable>
<ProfileName>Telekom Internet</ProfileName>
<URL>http://start-de.tmo.net</URL>
<Auth>normal</Auth>
<Protocol>http</Protocol>
<MTUSize>1500</MTUSize>
<PSparam>
<APN>internet.telekom</APN>
<UserId>telekom</UserId>
<Password>telekom</Password>
</PSparam>
</Profile>
</Connections>
<IMSSetting>
<NbSetting>1</NbSetting>
<Setting>
<NetworkName>Telekom.de</NetworkName>
<Version>3.0</Version>
<EnableIMS>true</EnableIMS>
<VoLTE>
<EnableVoLTE>true</EnableVoLTE>
<EnableVoiceoverWIFI>true</EnableVoiceoverWIFI>
<EnableVideocall>false</EnableVideocall>
<EnableVoLTEindicator>false</EnableVoLTEindicator>
<Voice_Domain_Preference_EUTRAN>imspsvoicepreferred</Voice_Domain_Preference_EUTRAN>
<Emregencycall_Domain>ps</Emregencycall_Domain>
<SRVCCversion>10</SRVCCversion>
<SS_Domain_Preference>ps_only_psregied</SS_Domain_Preference>
<SS_PS_Control_Preference>xcap</SS_PS_Control_Preference>
<SS_CSFBwithIMSerror>false</SS_CSFBwithIMSerror>
<USSD_Domain_Preference>pscs</USSD_Domain_Preference>
<EnableSMSoverIP>true</EnableSMSoverIP>
</VoLTE>
</Setting>
</IMSSetting>
</Settings>
</CustomerData>
xiaomi mi mix3 5g twrp
(https://forum.xda-developers.com/mi-mix-3/development/recovery-unofficial-twrp-xiaomi-mi-mix-t3941867)
Update 22.08.2021 : for Samsung FW DL use Frija
https://forum.xda-developers.com/t/tool-frija-samsung-firmware-downloader-checker.3910594/
Samsung S21 5G Info from CSC ROM
E:\001>lz4 -d optics.img.lz4 optics.img
optics.img.lz4 : decoded 5873800 bytes
E:\001>simg2img -i optics.img -o optics1.img
packed img filename: optics.img
output img filename: optics1.img
Wrote "optics1.img"
Extract optics1.img with 7z
Path: E:\001\optics1\configs\carriers\single\ROM\conf
E:\001\optics1\configs\carriers\single\ROM\conf>dir
Volume in drive E has no label.
Volume Serial Number is B06C-964D
Directory of E:\001\optics1\configs\carriers\single\ROM\conf
12/31/2008 06:00 PM <DIR> .
12/31/2008 06:00 PM <DIR> ..
12/31/2008 06:00 PM 515 cscfeature.xml
12/31/2008 06:00 PM 564 cscfeature_network.xml
12/31/2008 06:00 PM 10,301 customer.xml
12/31/2008 06:00 PM 1,158 omc.info
4 File(s) 12,538 bytes 2 Dir(s) 86,145,101,824 bytes freex
Put the files in jar folder
E:\001\jar>java -jar omc-decoder.jar -i cscfeature_network.xml -o cscfeature_network_decoded.xml
output E:\001\jar\cscfeature_network_decoded.xml success
E:\001\jar>java -jar omc-decoder.jar -i cscfeature.xml -o cscfeature_decoded.xml
output E:\001\jar\cscfeature_decoded.xml success
*** IMS profiles info (IMSSetting) is not in customer.xml anymore ***
Use IMS Settings : https://volteromania.blogspot.com/p/samsung-s21-ims-settings.html
Excellent information
ReplyDelete