Development [21.08.23] G998B I Dr.Ketan ROM I OneUI 5.1 I OneUI 4.1 I OneUI 3.1

Search This thread


Senior Member
Dec 5, 2007
Samsung Galaxy Z Fold 4
Did you dirty flashed the beta a12?
Had yhe same issue...clean flash did the trick

Nope, not gone near the beta yet. I have flashed back to complete stock now on VOD CSC (3AUHD), with only Magisk added for root. And it still does it. I also changed my SIM to an eSim to rule out the sim card or the sim card reader, but it made no difference, I still had silent calls after a day or two.

But I'm wondering if Afwall+ was stopping a service required on the newer builds, as I always have it blocking all apps including system apps, unless access to data is a requirement for the app to work. So I have now disabled the firewall. Also, as indicated above, I've installed Google's dialler app for both incoming and outgoing calls. I would have thought the fact a reboot fixes the issue each time means it's not a hardware fault. I'd hope so anyway.

It's clearly not this build anyway, so I can flash it back on my phone.


Recognized Developer / Recognized Contributor
ChangeLog SB2 (OneUI 4.0 base)

  • Based on G998BXXU3ZUID Android12 September 2021 security patch OneUI 4.0
  • SafetyNet : ROM Tool safetynet fix won't work on beta. You can still fix using magisk module, below Known bug/Tips/Fix section below
  • GoodLock some modules yet to update for A12
  • Virtual key mode in ROM control won't work
  • All features of previous ROM will remain as it is except said above. For more details read below ROM features.
Samsung base update ChangeLog :

  • New base have updated bootloader so if you are running previous base, you must needs to update Bootloader & Modem else device won't boot. BL and Modem included in ROM zip with separate instructions.
  • There is special Instruction to flash A12 beta in ROM zip, Must read it
  • Clean Install is must, even for Test users of SB1

TweaksPro version requires 2.0.0 or up

ROM Features

- 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)
- Removed many stubs & common bloatwares (tried to preserve most functions though)
- Removed carrier bloatwares
- More secure OEM patch.
- 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
  • Long Press Home customization : Select Device assistance as LP Home from settings, then select if you want to use it to assign to any
  • 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
  • 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. Remove warning screen on bootsplash.
    7. Camera wakelock fix (stanby bettry drain fix)
  • Update & Fix
- ROM Control (systemUI preferences)
  • Battery Bar with thickness and color option
  • 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.

Installation Guide : (File included in ROM zip itself)
Requirement : G998B with TWRP installed
Download and extract zip - It have all required files. Read Installation.txt and follow to ther letter.

Known Bug/Tips/Fix

- 3 minit users can use 3minit battery paid version for free. Check this (Thanks to gharrington )

- SafetyNet Fix
Here procedure to fix SafetyNet Passing with magisk module

1.Open Magisk module and Search "riru"
You will find riru module, Install it.

2. Download SafetyNet fix (2.1.1 or up) from Here and install with magisk

3.Make sure Magisk Hide is enabled in magisk settings.


Download :

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
Feb 26, 2010
Samsung Galaxy S21 Ultra
Hello Doc
Just to be clear about this particular thing, can we use banking apps now with your rom or some of them will show a security problem?
I don't want to root and loose access to my bank accounts
Dirty flashed from r10 to sb2, worked like a charm! thanks :D

just had to re-register my fingerprints and allow notifications for each app, but other than that no issues what so ever, thanks :D

Edit: google pay isn't working but I spose that's as per other reports of gpay not working on the beta regardless of root or stock, safety net passes with the supplied fix
Last edited:
  • Like
Reactions: dr.ketan

Malik Sayriii

Mar 4, 2021


Senior Member
Nov 6, 2014
Hello, Dear Doctor. I had questions. If I want to flash the official rom again, can I have the secure folder feature again. A friend of mine has done this and cannot use the secure folder now on the official ROM. Has a solution?


Senior Member
Jun 23, 2010
Dirty flashed from r10 to sb2, worked like a charm! thanks :D

just had to re-register my fingerprints and allow notifications for each app, but other than that no issues what so ever, thanks :D

Edit: google pay isn't working but I spose that's as per other reports of gpay not working on the beta regardless of root or stock, safety net passes with the supplied fix
Wait so, dirty flash works? I thought changelog said clean install is required.


Dec 25, 2012
Rio de Janeiro
Hi there!

I'm currently at AUHB (August) update and my device's CSC is ZTO (Brazil), part of OWO multi-csc. Can I flash the OneUi 4 Beta version of this ROM? Or do I have to wait for the AUHD update first?

Thanks in advance!


Recognized Developer / Recognized Contributor
Hi there!

I'm currently at AUHB (August) update and my device's CSC is ZTO (Brazil), part of OWO multi-csc. Can I flash the OneUi 4 Beta version of this ROM? Or do I have to wait for the AUHD update first?

Thanks in advance!
Yet no ZTO oneui 4 available so you have to flash rom and skip flashing csc files. If you have any weird bug, that could be due to lacking 4.0 csc. In that case you can return to R* rom. If no bug then keep using it
  • Like
Reactions: hthiengo

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I have installed the one from download area. I can try again. Do I have to patch the AP using magisk? I am unable to enter recovery after dirty install. By the way i have followed everything per the installation guide. I'll try again. Thank you
    No needs to patch
    Simply follow guide to the letter
  • 39
    G998B Dr.Ketan ROM

    Supported device : G998B

    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.

    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

    XDA devDB Information

    G998B I Dr.Ketan ROM , ROM for the Samsung Galaxy S21 Ultra


    ROM OS Version: Android 13
    ROM Kernel: Stock (pre-rooted). Source code (samsung) here
    ROM Firmware Required: Stock Samsung

    Version Information

    Created 2021-03-15
    Installation and Download & Notes

    Important :

    - 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. (hope in future we can get it working on tripped knox device)
    - OTA won't work once you root device.
    - 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

    Installation :

    Read ChangeLog post for Installation instructions (link on post #3)

    PS : Who can handle consequences of dirty flashing, they never need to ask this question in forum. If you dirty install then handle it yourself .

    Download :

    Quite busy with life, just y'day started N10 re base so first needs to complete it. Later (when time permits) will start workings on beta2. Kindly keep patience. Thanks all.
    Here some my thoughts and explanation about TWRP backup and restore

    Firstly brief explanation about what does partition contains.
    • Boot : It is Kernel
    • Recovery : It is Recovery
    • super : That contains odm,product,system and vendor partitoin all togather.
    • optics : CSC files (where we routinely making changes for csc features) and network settings depending on your carrier
    • prism : carrier related apps and other stuff . In odin when you flash CSC*_ or Home_CSC* these two optics and prism gets flashed.
    • data : That is all your installed app and made changes in settings

    Now what to backup/restore?
    • boot - Helps if something messed up with magisk or waht to restore kernel after flashing custom.
    • recovery - usually it doesn't require but if you flash some other recovery(TWRP) and you want to restore one in backup, that helps
    • super : As stated above these is main system, if something you have messed up in system/vendor (usually with flashing something, or erasing something) you can restore by super.img.
    • optics and prism : as explained above are CSC files, Rather than restoring it, I prefer to flash HOME_CSC*.tar.md5 to make csc compartment clean. So to backup or not not much important.
    • data : This very sensible part. I prefer to make data backup when there is no samsung a/c or Lockscreen protection there. Also don't restore it cross version of ROM. Also some common mistakes user making is, He/She clen install ROM and then restore data partiton of previous ROM. This is worst then even dirty installing ROM, never do it. It is just false sense of satisfaction that you made a clean install. According me, data partiton backup best to be made just after complete clean install ROM and setting up device without adding any account and lockscreen protection. So when you restore this backup, you will have a device just like you recently completed clean install and save your time to setup initial wizard
    Backup Application,Call logs,Contacts,SMS etc

    Titanium backup was ruling for decade for these but since A11 it's not trust worthy and on A12 almost useless.
    Swift Backup is now my choice (Some other like Migrate, App dash (by RD XDA dev flar2) also alternatives)
    For contacts : I do prefer google sync. Just adding google ac everything will be restore on it's own, provided you are saving contacts in google. In case you want to make off line backup of contact, there is a built in utility in phone. Contact - settings - export - This will create a file. Similarly browse same file while you want to import contacts. Catch in this is your contact image will not retain size and it just backup thumbnail picture.
    Only one utilility I have found that makes offline contact backup without distoring image quality is My Phone Explore client (needs on both PC and Phone). Also this utility is best for wireless file manager.

    Schheduled backup - A must needed utility.

    I always prefer clean installation (Factory reset withot wiping media files) and really it takes less than 30 minutes to setup everything.
    If you enable schedule backup utility in your Backup app (e.g Swift backup have this) and make some profile like
    1.Backup - new app at X time then it will auto backup all app that you have new installed at given time
    2.Backup updated app at x time - This will make backup of any app that you have updated in store will backup at given time
    3.Any app which get data changes frequently and you needs data changes like whatsapp then create a profile favorite app - add whatsapp in favorite and schedule it to make backup daily at given time.

    with these your device always remain ready to clean install anytime instead of last moment backup or some urgent clean install needed.

    Also Folder Sync is good utility if you needs duplicate copy of files from Internal storage with scheduled operation.

    Hope this may helpful and answer lots of queries for many.