How to ROOT & TWRP and How to Update Base
Root S908B/E/N/0 without TWRP
- Unlock bootloader
- You needs to download stock firmware (You can get stock firmware with Frija) and extract AP*.tar.md5 file and patch with magisk. Flash patched file with AP tab of Odin
- Reboot to recovery and select to format data (Factory reset option on stock recovery)
- Reboot device → You will see Magisk stub in drawer → Update it. (In case stub not there, Donload magisk app from Download area and intall manually) → Open Magisk - It will ask to complete additionl setup, Let it do. → Reboot device. You are now ready to Intall Dr.Ketan ROM module. Move to next step.
Root S908B/E/N/0 + TWRP + How to update/Install base firmware
You can get ready to use root files from download area OR you can get from TWRP thread (link below)
- Download latest firmware as per pre-requisite
- Disable Auto Reboot option in Odin
- Select appropriate slot in Odin for BL,AP,CP and CSC (Using HOME_CSC will keep data, while using CSC* will format data) from stock firmware
- Select TWRP file for USEDATA slot (File must include patched vbmeta file)
- When Flashing completes, disconnect device and starightway reboot to TWRP
- Run multidisabler from TWRP - Advanced - Terminal - and type : multidisabler (it may take few minutes, keep patience)
- Wipe Data (If you are already using Afaneh92's TWRP and used multidisabler + Format data, you can select to Factory Reset too (This will preserve media file) OR you can skip wipe option at all in case you want dirty Install.)
- Reboot to TWRP In case you have wiped data.
- Copy Kernel & Magisk zip to device (Alternatively use USB storage)
- Install kernel (Flash Kernel zip from TWRP)
- Flash Magisk
- Reboot & Update Magisk from stub OR Install Magisk apk
- Open Magisk app and complete setup if it asked for
PS : If you are on any other TWRP or Stock recovery, you must FORMAT DATA (That requires to type 'Yes' to confrm wipe)
Now ready to install Dr.Ketan Module, Follow XDA ROM Changelog post to install ROM Module
Thanks & Credit to Afaneh92 for TWRP & Kernel, below are link for OP
Exynos SnapDragon
PS : For detailed instructions about Magisk installation (root)
read here. In case still you have question, move to Question forum of S22 section and ask for help.
This thread is development thread and any questions related to how to root will be ignored.