What is the difference between Samsung 4 files(Repairing firmware) and Single firmware file for flashing?


Question

I was flashing a Samsung device with a single file (tar.md5 format) and i saw some people are working with 4 files(Repairing firmware) to fixing the most and actually, Any problems with those 4 files and i've heard that they says, it should fix any(Software) problems after flashing it on the device but i couldn't actually figured out ;



What is the exactly difference between these two which the 4 files containts four files such as ;




  • Bootloader file

  • CODE file,

  • Modem file

  • and CSC file



And the single one has the Modem file and the others which we'd introduce it in PDA section?



Or, which one should be the best option for updating a device?



Also, i've seen an application which it could convert the Single firmware to four files and that was more interesting about the question too!


Answer


  • The single file which you can flash (I presume you are using Odin) contains all the files required for your firmware upgrade- which you place in PDA option of Odin


  • If you want to upgrade the firmware selectively, you would use one of the four files mentioned:




    • Bootloader file- not normally done for stock, mostly used for compatibility issues in version upgrade in flashing custom ROM. Example : MJ5 bootloader for flashing Note 4 ROM on Note 2


    • Code File is typically the ROM


    • Modem File is the radio component of ROM- you may want to replace a ROM meant for use in a different region and change the modem to get better performance by flashing modem file of your region. List of modems for your device can be searched on XDA forums. Example- Note 2 modems


    • CSC (variously referred to as Country/Carrier/Consumer Specific Code) File is the file you would want to use to change if you bought the phone in a different region and want to use it in your region (Samsung ROMs incorporate region specific features ) . Example






What is the exactly difference between these two?




I had overlooked this main question and realised I never probed this aspect. Googling leads me to the conclusion that the key difference is is it Odin ready (to be flashed as a single file or not?. While Odin and Kies are both Samsung proprietary, formats required for using them differ. using a Kies format and adapting to Odin requires extraction of files required.




  • Samsung firmware upgrade comes as a single file having the necessary files required for upgrade (Odin ready)


  • Samsung firmware is available on many sites, Sammobile is considered to be the most reliable out there. This site and other sites sometimes host upgrades/beta/test mode in Field Upgrade Serviceable (FUS) files which are not standard Odin flash ready files. But they can be flashed using Kies. Reason cited here for not being able to use directly on Odin is header file corruption. These need to be downloaded using apps like FUS downloader and then split into required files to be upgraded using Odin.You put these CSC, modem,bootloader files in the corresponding sections of Odin




Linked site(s) explain (Warning: Don't use PIT file which is available on splitting till you understand what it is for)




  • To summarise, key difference lies in packaging of firmware (Odin Vs Kies), others being type of firmware (beta/ test/ tested/ leaked) and possible end use (complete or selective upgrade)




which one should be the best option for updating a device?




It depends on what you want to do-there is no specific answer, as for instance of flashing a modem only explained above. Or if your source upgrade file is Odin ready or not a explained above



If you are using Linux the method varies (not tried by me) and you can pretty much use either methods as outlined here



Samsung has a pretty confusing (till you get hang of it) of breaking down these components and labelling them. You can read here and here for starters.



And if you want to get deep into sources, see my answer Samsung firmware modifying


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes