Development [24.03.24] OneUI 6.0 Beta I Full ROM System-RW for S908E/B I Dr.Ketan ROM

S908E and S908B users want to make full ROM with system-rw?

  • Yes, Full system-rw ROM including Mods.

  • Yes, Full Stock system-rw ROM + separate Module.

  • No, I am fine with Magisk Module only.


Results are only viewable after voting.
Search This thread

dr.ketan

Recognized Developer / Recognized Contributor
S908B & S908E system-rw Dr.Ketan ROM

Supported device : S908B & S908E for Full ROM, All rootable variants for Magisk Module


We do support usually 2-3 years since device launched, but yet no guarantee, We may drop support for any device / any variant/s anytime without any prior notice.






ROM Features


ROM Features varies with version of ROM. For more details, read changelog post. Link available in post #3 for changelog of all versions.
Must read changelog for a version you are going to install, it will have latest information about features, changes, known bug list/fix and Installation guide of respective version.

There are two types of ROM available since OneUI 5.0

1.Full system-rw ROM
: Full ROM includes super.img with system-rw capabilities + stock enforcing kernel + ROM Control & Modification
Supported device : S908B & S908E

2.Magisk ROM Module and
here explained in details how it is different from full ROM
Supported device : All S22 variants



Credit and Thanks :
@Chainfire - Respected elite developer for supersu and his unbelievable contribution to XDA/Android community. @wanam - Respected elite developer for his awesome contribution and references to his works.
@topjohnwu for Magisk
@xperiacle the amazing developer for reference to his work and tools. @amarullz for aroma installer. @gharrington for 3minit battery and QuickLaunch.
ROM Control source and all credit and thanks goes to @daxgirl and @Wuby986 for their open source project for RomControl.
@AbrahamGC for some ideas samsungvn htcmania & 4PDA for tips and some stock apks.
AbrahamGC and Anan1211 for Secure folder and s-health A12 ianmacd for TWRP @afaneh92 for TWRP, system/vendor rw scripts and modules. @Arteush for bluetooth fix (losing BT pair on reboot) on Android Q, aka_vkl for Dolby digital, kdrag0n for SafetyNet fix @Winb33 for custom font pack. HuskyDG for Bootloop Protector magisk module. MrWeahere for CRB Kitchen


XDA devDB Information

S908 I Dr.Ketan ROM , ROM for the Samsung Galaxy S22 Ultra

Contributors

Dr.Ketan
ROM OS Version: Android 12
ROM Kernel: Stock (pre-rooted). Source code (samsung) here
ROM Firmware Required: Stock Samsung specified version

Version Information
Status:
Stable

Created 2022-03-12
 
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
Installation, Important Infos & Download


Installation
: State of the art Installation procedure.

Detailed installation guide separately available in download area along with ROM files for Full ROM and for magisk module read changelog post.

WARNING

Before you root your device you must be aware that

  • This will void warranty.
  • As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help.
  • There are many features stop working when you unlock bootloader other than S pay/Pass like Samsung Health, Secure Folder, Galaxy Watch pairing issue, Issue connecting old gear watch (S3 or earlier), Google Pay etc but ROM is patched for all these mentioned features. Still you may trouble using some bank apps and these may fixed by adding these apps to Magisk Hide
  • There may be some knox features there which you may not able to use but I can't list those as I never used. Just Google It
  • Patched featurs are working today when writing this, No idea if it may stop working next moment/tomorrow or later
  • Also to note, once you root, you can't go back to "pre-rooted" state completely. It is one way!
  • OTA won't work once you root device.
  • ROOT with caution.
  • You can unroot & Relock bootloader after flashing stock firmware, but still your warranty flag remain 0x1 and most of countries it still voids warranty. Also after unrooting & relocking bootloader, some knox features never work again.
ROM Tool permission : Files & media - To save and read files, Calendar - Tool needs some time monitoring to avoid using RT immediately after reboot. Special access for accessibility service - Since Android 12 it requires for QS panel custom Toggl e.g. Reboot to recovery






Download : https://drketanrom.com/

 
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
How to Root (currently non rooted device) with or without TWRP

Root with or Without TWRP
1.Root 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 PS : In case root files without TWRP available in download area for your variant, you can use that for AP slot instead of Patching AP
  • put device in download mode and connect to PC and flash above files
  • Reboot to recovery and select to format data
  • Reboot to system → 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.
2.Root with TWRP
  • Unlock Bootloader
  • Download TWRP, Patched vbmeta and Kernel and system-rw script zip from TWRP thread (Link below)
  • Select TWRP tar file with AP slot and Patched vbmeta for USERDATA slot of Odin PS : In case root files with TWRP available in download area for your variant, you can use that for AP slot. It contains both TWRP+patched vbmeta
  • Put device in download mode and connect to PC and flash above files
  • 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 (Full wipe, that you needs to type YES to continue)
  • Reboot TWRP and now connect to PC and copy Custom kernel and flash from TWRP as zip
  • get Latest magisk apk and flash from TWRP
  • If you want to make system-rw, Get afaneh92_lp_rw_tool_v*.zip from TWRP thread and flash
  • Reboot device to system Update Magisk from stub if availble OR Install Magisk apk
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 and 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.

How to Update Firmware and Keep root/twrp intact without losing data
PS : We highly recommend to make data backup before trying this as something went wrong and you may lose data.


Read below methods depending on you have root with or without TWRP

1.Rooted S908B/E/N/0 without TWRP
  • Unlock bootloader
  • You needs to download stock firmware you want to update (You can get stock firmware with Frija) and extract AP*.tar.md5 file and patch with magisk. Select Patched AP file for AP slot and BL*.tar.md5,CP_tar.md5,Home_CSC*tar.md5 for BL,CP and CSC slot accordingly. (PS : In case root files without TWRP available in download area for your variant, you can use that for AP slot instead of Patching AP, Importnt : Use Home_CSC*tar.md5 if you want to keep data. Selecting CSC*.tar.md5 will Wipe data autometiclly.)
  • Reboot device → You are now ready to Intall Dr.Ketan ROM module. Move to next step.
2.Rooted S908B/E/N/0 with TWRP
  • 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. If TWRP doesn't have patched vbmeta included, you have to make one yourself. To make TWRP+Patched vbmeta : Download both the files from TWRP thread and extract it to get recovery.img and vbmet.img. On your PC, select these two .img files and Rt click → select 7zip → Add to archieve → select archieve format "tar" → Select OK and this will create a tar file that have TWRP+Patched vbmeta. Use newly created tar file for Userdat slot of Odin. PS : Incase download area have Rootfiles with TWRP for your device then it contains everything TWRP+patched vbmeta + Kernel, extract zip to get all required files
  • When Flashing completes, disconnect device and starightway reboot to TWRP. Importnt : At this stage you should be quick to reboot to TWRP, If you flais and device tries to boot to system, you may have to wipe data.
  • 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 apk/zip to device (Alternatively use USB storage)
  • Install kernel (Flash Kernel zip from TWRP)
  • Flash Magisk
  • If you want to make system-rw, Get afaneh92_lp_rw_tool_v*.zip from TWRP thread and flash
  • If you don't have magisk app in drawer (in case of clean install), Install manually.
  • 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 and 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.
 

Attachments

  • afaneh92_lp_rw_tool_v0.3.zip
    2.3 KB · Views: 1,436
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
Help & Support

  • We do support only ROM related queries here over XDA thread only, we do not have/encourage any private support over telegram or other media to support ROM related queries.
  • We do not answer any ROM related question over private chat.
  • If your queries doesn't have enough information, it will be ignored.
  • We recommend everyone to read OP,Changelog and Installation guide before you install ROM. If answer to your queries already there in OP, Changelog post or in Installation guide, it will be ignored
  • Any queries not reated to XDA ROM (e.g. TweaksPro) then you must seek help from developer over mail/privately. Here we discuss only XDA ROM related issue.
  • For reporting issue/bugs you must provide enough info as said below under "How to report bug/issue"


How to report bugs/Issue?
To report issue, you needs to provide following informations, else it will be ignored. Also if your query is already mentioned on OP/ChangeLogg post, it will be ignored.
1.ROM build number.
2.Dirty/Clean Install. - If you have dirty installed, Then first clean install and report if issue persists.
3.Bug/Issue appears right after installing or later?
4.How to reproduce error.
5.Is there any same reports there on thread on your searching?
6.Is there any mention about same bug on OP or changeLog post?
7.Logs - Attach logs here/Upload to other places where it can be downloaded without registration and doesn't have ad (we recommend dropbox/Gdrive) and post link.
 
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
ChangeLog S01

  • Based on S908EXXU1AVBF Android12 March 2022 security patch OneUI 4.1
  • ROM Tool on essential fix auto setup zygisk including SafetyNet fix (no needs to change any option manually)

Important Instructions for setting up ROM (NEW)

Prerequisite :

  • Must have installed firmware S908EXXU1AVBF S22 Ultra
  • Rooted device with Magisk (Zygisk) Intallled (Follow steps belo in case you have non rooted device)
How to Root device
  • Unlock bootloader
  • Download Root_files*.zip (available in download area) - Extract and Flash Root_Files_*.tar.md5 with Odin for AP tab
  • 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 stuf not there, Donload magisk app from Donload 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.

How to Install Dr.Ketn ROM Module

  • Download DrKetan_ROM_S*_module.zip and copy to device, We recommend to check MD5 to rule out faulty download
  • Uninstall any other magisk module you have installed
  • Open Magisk app → Click on Module → Select Install from storage → Select Module file you have copied to device → Complete Intallation and reboot device
Setting up device first time after Module installation

  • Open ROM Tool, Apply essential fix and Reboot,
  • After reboot you can check SafetyNet and should be passed. You can use this app from playstore or This from Github to check SafetyNet
  • Now you can further setup ROM a per your liking. Also MagikHide is Configure Denylist now and available under Magisk Settings.
  • Since A12 Stable Magisk not working and new Magisk doesn't have buil-in Module repo, You can get standalone module manager from here For more details and queries about new magisk ref this

PS : Plz don't install any other mods for SafetyNet, All queries related to Magisk/SafetyNet will be ignored if already explained above


TweaksPro version requires 4.1.0 or up


ROM Features (XDA Version)


- Ad Free QS Panel Toggle
- Reboot to recovery QS Panel Toggle
- Native call recorder (Manual) While you are on call - click 3 dot - Record (Should work without CSC restriction)
- Auto Call recorder without CSC restriction (ROM Tool - Mods & Fix)
- High Volume warning disabled
- Pre fixed Titanium freezing while restoring apps
- Probable fix for Titanium Backup schedule
- Internet browser Secret mode
- S Health patch for using with rooted device.
- ROM Tool with following Options
  • AdFree mode Enable/Disable
  • Single click install/uninstall custom fonts (on the fly)
  • YouTube Vanced Installer (No xposed requires)
    1. NonRoot - Requires MicroG to login
    2. Root - Truely alternate to Youtube, Can login to youtube without MicroG (disable Play store update)
  • You have to click on NonRoot/Root depending on your choice, then you needs to click "Install" tab and latest version of Youtube vanced will get installed.
  • StatusBar Icons
    1. Show/Hide stock battery
    2. Show/Hide 3minit battery
    3. show/hide stock clock
    4. show/hide 3minit clock
  • ROM Control - See below
  • Mods & Fix
    1. Auto Call Record
    2. Titanium backup FC fix
    3. Google Pay Fix
    4. Added camera fix (Certain users reported camera failed issue. This is reported on stock too, here is someworkaroung meanwhile samsung fix it)
    5. SafetyNet Fix
    6. Samsung Health & Private share fix
  • Update & Fix
- ROM Control (systemUI preferences)
  • Battery Bar with thickness and color option
  • Virtual key on statusbar (Lt/Cinter/Rt)
  • Network meter with Toggle (Lt/Rt/Quick Panel/None) with color option
PS : There may be few more options in ROM control but won't work if those are not mentioned here.



Known Bug/Tips/Fix
  • 3 minit users can use 3minit battery paid version for free. Check this (Thanks to gharrington )
  • Tips on TWRP and App Backup/Restore Read Here

Download : DrKetanROM.com



PS : This is a fully customized ROM and for end users only, ROM or any part of ROM not allowed to redistribute,modify or to use as base to prepare new ROM.

STATUS : Online
 
Last edited:

|||||

Senior Member
Jul 21, 2016
138
143
Earth / Solar System
Haleluja, its here!! Great amazing work! OMG I'm so excited! Let's go!!
Thanks alot !!! Finally I can unpack my S22 Ultra ^^ and use it as real Phone :)
Proud to be the first worldwide to have a Custom ROM, FULL ROOT, Adblock etc on a S22 Ultra Exynos :D
Community LOVE for you!! ♥♥♥♥♥

EDIT: HERE IS THE GUIDE TO USE FOR EXYNOS (still testing)

Ok, so basically find and download the firmware (S908BXXU1AVC6 for EU - or ask me for the File..) to the phone eather with the Phone itself or trought USB-Cable, install magisk.apk from here, unpack the zip file from Firmware and patch the ap file via magisk, get the files to the pc and use odin to flash the patched Firmware.

of course unlock bootloader before and go to download mode.
Here is how to do that:
or
https://www.droidwin.com/how-to-unlock-bootloader-on-samsung-galaxy-s22-s22-plus-s22-ultra/

Then follow the other steps from Dr. Ketan
 
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
Yaiks. Hopefully it will be available for B variant
You can try on exynos (only module, no root files). If it doesn't work then maximum you needs is to factory reset.
In that case I may consider to make separate rom
 

iampatricktan

Senior Member
Sep 13, 2015
242
33
You can try on exynos (only module, no root files). If it doesn't work then maximum you needs is to factory reset.
In that case I may consider to make separate rom
I think its much better to make separate only for Exnos variant? So that files for SD will not be included, correct me if I'm wrong about that. Also been using your ROM since my Note 9.
 

|||||

Senior Member
Jul 21, 2016
138
143
Earth / Solar System
ok, so great news, it works at least for exynos as well!
Safetynet also works!

Problems so far:
Can't change my keyboard - UI restarts
com.android.phone closes down
and it says system is unstable - please do a factory restore - on boot up.

But all in all it seems to work, with root etc.
 
  • Like
Reactions: Craig_D

dr.ketan

Recognized Developer / Recognized Contributor
Thx Dr My bro. Hopefully we can have the Exynos version seperatly if possible and not too much of your time consuming.
ok, so great news, it works at least for exynos as well!
Safetynet also works!

Problems so far:
Can't change my keyboard - UI restarts
com.android.phone closes down
and it says system is unstable - please do a factory restore - on boot up.

But all in all it seems to work, with root etc.
Will do it later today
Any of you free just inbox me
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    S04 for S908E is online



    Read chnagelog above
    2
    S04 for SM908E, buttery smooth and quick as always.. Another ripper, thanks @dr.ketan
  • 55
    S908B & S908E system-rw Dr.Ketan ROM

    Supported device : S908B & S908E for Full ROM, All rootable variants for Magisk Module


    We do support usually 2-3 years since device launched, but yet no guarantee, We may drop support for any device / any variant/s anytime without any prior notice.






    ROM Features


    ROM Features varies with version of ROM. For more details, read changelog post. Link available in post #3 for changelog of all versions.
    Must read changelog for a version you are going to install, it will have latest information about features, changes, known bug list/fix and Installation guide of respective version.

    There are two types of ROM available since OneUI 5.0

    1.Full system-rw ROM
    : Full ROM includes super.img with system-rw capabilities + stock enforcing kernel + ROM Control & Modification
    Supported device : S908B & S908E

    2.Magisk ROM Module and
    here explained in details how it is different from full ROM
    Supported device : All S22 variants



    Credit and Thanks :
    @Chainfire - Respected elite developer for supersu and his unbelievable contribution to XDA/Android community. @wanam - Respected elite developer for his awesome contribution and references to his works.
    @topjohnwu for Magisk
    @xperiacle the amazing developer for reference to his work and tools. @amarullz for aroma installer. @gharrington for 3minit battery and QuickLaunch.
    ROM Control source and all credit and thanks goes to @daxgirl and @Wuby986 for their open source project for RomControl.
    @AbrahamGC for some ideas samsungvn htcmania & 4PDA for tips and some stock apks.
    AbrahamGC and Anan1211 for Secure folder and s-health A12 ianmacd for TWRP @afaneh92 for TWRP, system/vendor rw scripts and modules. @Arteush for bluetooth fix (losing BT pair on reboot) on Android Q, aka_vkl for Dolby digital, kdrag0n for SafetyNet fix @Winb33 for custom font pack. HuskyDG for Bootloop Protector magisk module. MrWeahere for CRB Kitchen


    XDA devDB Information

    S908 I Dr.Ketan ROM , ROM for the Samsung Galaxy S22 Ultra

    Contributors

    Dr.Ketan
    ROM OS Version: Android 12
    ROM Kernel: Stock (pre-rooted). Source code (samsung) here
    ROM Firmware Required: Stock Samsung specified version

    Version Information
    Status:
    Stable

    Created 2022-03-12
    25
    Installation, Important Infos & Download


    Installation
    : State of the art Installation procedure.

    Detailed installation guide separately available in download area along with ROM files for Full ROM and for magisk module read changelog post.

    WARNING

    Before you root your device you must be aware that

    • This will void warranty.
    • As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help.
    • There are many features stop working when you unlock bootloader other than S pay/Pass like Samsung Health, Secure Folder, Galaxy Watch pairing issue, Issue connecting old gear watch (S3 or earlier), Google Pay etc but ROM is patched for all these mentioned features. Still you may trouble using some bank apps and these may fixed by adding these apps to Magisk Hide
    • There may be some knox features there which you may not able to use but I can't list those as I never used. Just Google It
    • Patched featurs are working today when writing this, No idea if it may stop working next moment/tomorrow or later
    • Also to note, once you root, you can't go back to "pre-rooted" state completely. It is one way!
    • OTA won't work once you root device.
    • ROOT with caution.
    • You can unroot & Relock bootloader after flashing stock firmware, but still your warranty flag remain 0x1 and most of countries it still voids warranty. Also after unrooting & relocking bootloader, some knox features never work again.
    ROM Tool permission : Files & media - To save and read files, Calendar - Tool needs some time monitoring to avoid using RT immediately after reboot. Special access for accessibility service - Since Android 12 it requires for QS panel custom Toggl e.g. Reboot to recovery






    Download : https://drketanrom.com/

    13
    Regarding full ROM (for S908B/E)

    What I am planning is to make Odin flashable ROM from next version. Now a days on newer device you needs PC & Odin to flash bootloader so making ROM with TWRP flashable zip still you needs PC, Instead if I make Odin flashable ROM then it will be much easier. Even you no more needed to have same firmware installed.
    Installation will be swift like
    • Flash provided files with Odin with respective slot
    • Wipe/Format will be optional if you are already on my ROM. (must in case you are on stock/encrypted data)
    What you think?
    12
    Proposed ROM development now onwards :

    Looking to poll results, it seems most users wants Full system-rw ROM including Mods. So finally found a way so users with any choices won't get disappointed.

    • To make a Full ROM + Mods (No Magisk module requires). This will only for S908B & S908E - This will be for users with choice 1
    • Above said ROM will have option in ROM Tool to remove customization, with this you can remove all customization and retain with pure stock experience. Before removing customization, still you can apply essential fix so it will keep all important systemless fix like SafetyNet/GPay etc. - This will be for users with choice 2
    • Magisk Model development will remain continue for all other variants including S908B/E

    I am Testing Full ROM including mods now on S908E, soon it will be public.
    Thank you for trust & support for ROM!

    PS : Full ROM is under testing now!