Steps to update rooted Galaxy S6


Question

I have a rooted Galaxy S6 on 5.1.1, the first and only version I rooted my device on. I want to update to Marshmallow and still have a rooted phone. What are the steps I need to do to make this happen?


Answer

Updating your Samsung smartphone to a stock firmware



Most Samsung smartphones can be flashed with the Odin Tool.
But before you can flash you have to get your devices model number, a compatible firmware, the USB Drivers and Odin.




  1. Get your model number: Visit your settings menue - navigate to "About Phone" and see if you can find your model-number. See here for typical model-numbers of a Galaxy S5.

  2. Enter your model number on sammobile and download the most up-to-date firmware. If there is one for your region then take that - if there is no update available for your region you can flash other regions aswell. (If you are experiencing problems with connectivity, flash another modem)

  3. Make sure you have the Samsung USB Drivers for Windows installed

  4. Follow the steps on the download page of your firmware:




Extract (unzip) the firmware file
Download Odin v3.10.7
Extract Odin ZIP file
Open Odin v3.10.7
Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
Connect phone and wait until you get a blue sign in Odin
Add the firmware file to AP / PDA
Make sure re-partition is NOT ticked
Click the start button, sit back and wait few minutes



This process works for rooted aswell as unrooted samsung phones. Your phone will be running an unrooted (stock) firmware after this process.

To root your phone again - visit Chainfire's site and select the appropriate package for your device-model. Then extract this file and flash it like the other package. (Start Odin, select the .tar.md5 file into the AP/PDA slot of Odin and start)



Use a custom ROM



You can also use a custom ROM to update your phone to a newer android version. You'll need to install a custom recovery (like TWRP) and download an appropriate ROM zip.




Download Odin v3.10.7
Extract Odin ZIP file
Open Odin v3.10.7
Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
Connect phone and wait until you get a blue sign in Odin
Add the TWRP Image(https://twrp.me/devices/samsunggalaxys6.html)(twrp-3.0.2-0-zeroflte.img.tar) to the AP-Sector of Odin
Make sure re-partition is NOT ticked - disable the Option "Auto-Reboot"
Click the start button, sit back and wait few seconds



When it is done (Odin shows the "PASS" message) - press and hold the Volume Up+ Power Button on your device until it restarts - release the power button as soon as see the boot-up screen.
If you want to install ROMs - visit XDA-Developers and look into the Android Development section.



If you have downloaded a ROM zip, copy it to your device, boot into TWRP and wipe /system, /cache, /dalvic. Flash your zip file with TWRP and boot up to the new ROM :)



Sources and further reading:
Root Samsung Galaxy S6 and Install TWRP Recovery (All Models)






Warning: This process will very likely trigger the KNOX fuse and you're going to loose warranty in most regions.


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