yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S21 Ultra] paul_cherma:
I'm having the same issues also. I have to give gallery storage permissions very often, or whenever I open it. Guess we'll have to wait for the next update for it to be fixed now
[Samsung Galaxy S21 Ultra] dr.ketan:
Testing R06 now (Based on UF2)
[Samsung Galaxy S21 Ultra] Srbija2012:
Awesome work @dr.ketan , looking forward to it.
[Samsung Galaxy S21 Ultra] bmonteiro:
Cool, will this version have that wakelock fix or is it too early for that?

Anyway, thank you for your work.
[Samsung Galaxy S21 Ultra] Srbija2012:
What wakelock issues are you having?
[Samsung Galaxy S21 Ultra] maxq1:
the one doc alluded to in post 328
[Samsung Galaxy S21 Ultra] bmonteiro:
That's right. The camera_worker wakelock
[Samsung Galaxy S21 Ultra] dr.ketan:
Yes, R06 have fix included.
[Samsung Galaxy S21 Ultra] dr.ketan:
Any S21 ultra users around here? Needs couple of testers each XDA and Pro ROM users.
[Samsung Galaxy S21 Ultra] bmonteiro:
I'm up for it if you have any slots left
[Samsung Galaxy S21 Ultra] Wad1235555:
Yes, sure, Pro ROM user.
[Samsung Galaxy S21 Ultra] Joloxx9:
Could you tell me, regarding camerea wakelock. How does it look like from code point, why did implement it? Is it ONLY to prevent camera movements and reduce noise while walking? Or maybe there is something else at the back?
[Samsung Galaxy S21 Ultra] babyboy3265:
I think you have to uninstall Magisk and reinstall it from here https://github.com/topjohnwu/Magisk/releases

Then you have to make Magisk hide, change its name to something else so apps cannot detect it. Then you have to go trough Magisk settings and hide it independently from each of the bank apps components. It will work then.
[Samsung Galaxy S21 Ultra] dr.ketan:
It's side effect of dirty flashing ROM. If you clean install ROM you will have same app installed in ROM.
[Samsung Galaxy S21 Ultra] SOGKush420:
any chance i can get the build to test it out already?

im not a PRO user so i hope thats not a problem :)
[Samsung Galaxy S21 Ultra] dr.ketan:
I am about to release it soon.
[Samsung Galaxy S21 Ultra] SOGKush420:
ok no problem, thanks anyway :)
[Samsung Galaxy S21 Ultra] timofonic:
@dr.ketan I want to try your ROM.

I'm very interested in native call recording. I installed the XID (Indonesian) ROM, the audio quality is superb. It's a lot better quality than any app I tried in years, no issues mixing calls when receiving one while already talking someone, plus not issues when muting my microphone or using bluetooth.

I want not only call recording, but automatic call recording on ALL calls.

I don't have money right now to pay for some of your tools, they look interesting anyway.

Can I use your ROM while using the XID CSC and the automatic call recording? I'm extremely slowly starting to understand how this works.
[Samsung Galaxy S21 Ultra] dr.ketan:
My ROM doesn't touch any CSC, so it will remain same if you already have activated through changing CSC.

Also My ROM have built in manual call record option available by default which is working on any CSC. Tool having extra benefit (along with other plenty of options) is you can use it on stock ROM with any CSC.
[Samsung Galaxy S21 Ultra] paul_cherma:
Can't wait !!! Leaving for vacation tomorrow so it'd definitely be nice to not have the batter drain like crazy when in motion, since I'll be doing a lot of walking/hiking hahah
[Samsung Galaxy S21 Ultra] dr.ketan:
Here some report (With fix on R06)

Report1

Report2
[Samsung Galaxy S21 Ultra] dr.ketan:
R06 is live now

Must read ChangeLog here

.
[Samsung Galaxy S21 Ultra] paul_cherma:
Thank you!! Will test it now
[Samsung Galaxy S21 Ultra] Xaro2491:
Flashed R06 without problems. Many thanks to Ketan. 😊

Only one question - Does the Pro app enable the wakelock fix automatically?

Regards Xaro
[Samsung Galaxy S21 Ultra] dr.ketan:
No it's optional. Update TweaksPro to 1.0.2 (TweaksPro - rom features)
[Samsung Galaxy S21 Ultra] babyboy3265:
Dirty flashed R06 with no issues. Phone somehow feels smoother but that might be a placebo.

I have a question regarding the cam wakelock fix. My camera makes the noise when I shake the phone and I have not enabled the wakelock FIX from the rom tool. If i open the camera app and shake the phone then it doesn't make the sound.

Is it possible that my phone doesn't have the wakelock issue, and some phones have it?

Also if I press on the Wakelock fix option, it prompts me with a scary message that the camera may get damaged, is it actually possible to have the camera damaged and what difference would it make if I enable the FIX, given that my camera already makes a noise when I shake the phone?
[Samsung Galaxy S21 Ultra] dr.ketan:
As of now every S21 have this issue, there is special thread for this issue in Question section, go through it.

Regarding warning, we don't know exactly if we restrict sound can case damage or not, similar fix with manually implementation tried by many users and no one yet reported damage, though it's up to you to use it or not.
[Samsung Galaxy S21 Ultra] Xaro2491:
Jep. Thats right. The phone feels more smoother. 👍
[Samsung Galaxy S21 Ultra] Dizzyrul3z:
Thank you for step by step instructiuon :D But you forgot about bootloader unlocking. For noobs this is precious info ;)
[Samsung Galaxy S21 Ultra] Srbija2012:
Dirty flash from R05 to R06, smooth as butter.
[Samsung Galaxy S21 Ultra] babyboy3265:
Thanks Doc.

May I ask what is the difference between the Standard ROM tool camera wakelock fix, and the PRO version fix?

As I understand the standard edition disables all the sensors while the screen is off. How does the PRO version fix the wakelock issue?
[Samsung Galaxy S21 Ultra] dr.ketan:
End result of both methods are same, prevent detection of movement. XDA version does it while screen is off while Pro always. XDA version still have wakelock if you walking with screen ON but practically it doesn't affect much as device is alrady active. Yes there may be little drainage with process of toggling sensors in case of XDA method with every display On/OFF. While in case of Pro version this doesn't happen. (So with pro fix there won't be any wakelocks at all, like test here) But both method prevents OIS while camera isn't being used which samsung have implemented purposefully.
[Samsung Galaxy S21 Ultra] dr.ketan:
Agree, I still didn't get what purpose samsung have made this.
[Samsung Galaxy S21 Ultra] babyboy3265:
Doc I have the PRO tweaks version and when I enable the wakelock FIX, it says cancelled. No matter how many times I press it. How can I know if the FIX is applied or not?
[Samsung Galaxy S21 Ultra] dr.ketan:
You needs to press OK(yes) to warning.
[Samsung Galaxy S21 Ultra] babyboy3265:
Yes that worked at the end. For some reasons it was not giving me the notification initially but instead just kept saying cancelled. After closing and reopening it, it did it.
[Samsung Galaxy S21 Ultra] RyQril:
Thank you for your work! i have the thing, on every reboot the message keeps showing up to press (OK) with bootloader warning. keeps showing no matter how many times i press the power button. any idea to remove the warning message?
[Samsung Galaxy S21 Ultra] dr.ketan:
This is normal when you unlock bootloader. To get rid of it (and many other info), go through ROM features in changelog post.
[Samsung Galaxy S21 Ultra] babyboy3265:
AUF2 installed last night. Today morning enabled the cam wake lock fix from the Rom tool PRO.

3h SOT 57% battery I guess it's not too bad. Should more or less be the same as the May update which had the best battery life for me.
[Samsung Galaxy S21 Ultra] timofonic:
That's nice to know. But from my experience trying 15+ call record apps, all have issues. I'll show a few of them, the most common ones:

- They record calls using the microphone. If you mute your own microphone, the other part of the call not gets recorded.

- If you are in a call and a new call gets accepted, both calls get merged in the audio.

- Issues putting the number of the call. Sometimes random contact, others a random number.

- Some calls not get recorded.

- Low quality audio, inaudible or low volume.

I don't know what call recorded you put. Maybe because using Magisk and such, it uses root features that make these issues gone.

Thanks a lot for your reply!

PS: I'll try this weekend to install your ROM. TWRP works, but the previous installed ROM (stock from Indonesia) doesn't). I'll research about it.
[Samsung Galaxy S21 Ultra] dr.ketan:
- Secure folder works

- Dual messanger I haven't tested

- Combo key doesn't require for root
[Samsung Galaxy S21 Ultra] babyboy3265:
Doctor for humans and doctor for technology! Thank you Dr. Ketan for being there and creating ROMS to make people's tech life's better!

I haven't yet rooted or installed TWRP on my ultra that I got a week ago so since it is not rooted I still have not fully moved to it and still mostly using my S9+. But now that you released a rom for the s21, I will be going trough the whole process and giving my report later.

May the universe bless you Dr. Ketan!
[Samsung Galaxy S21 Ultra] zidane02:
Hi doctor. I just wanted to say how grateful I am. I have successfully flashed your ROM. I missed your ROM like on my Note10+. I'm so happy.
[Samsung Galaxy S21 Ultra] babyboy3265:
Would you be so kind and share the steps you took to install the ROM?

Where did you get the TWRP recovery from and if there are any special things we need to keep in mind while going trough the process in order not to break anything?

Thank you in advance!
[Samsung Galaxy S21 Ultra] MasterHack10:
You have the installation steps inside the zip
[Samsung Galaxy S21 Ultra] dr.ketan:
There is dedicated twrp thread in this forum, go through it and flash and format and run multidisabler (read twrp thread instructions)

Once it's been done, follow instruction.txt file included in rom zip
[Samsung Galaxy S21 Ultra] babyboy3265:
For some reason I could only find the SNAPDRAGON TWRP thread and nothing about the exynos version :(
[Samsung Galaxy S21 Ultra] dr.ketan:
You already have posted in twrp exynos thread 40 min ago.
[Samsung Galaxy S21 Ultra] babyboy3265:
You are correct, my apologies, I got confused. Thank you!
[Samsung Galaxy S21 Ultra] paulMichael23:
Hi Doc, will this ROM work on the exynos dual Sim version? G998B/DS?
[Samsung Galaxy S21 Ultra] dr.ketan:
Yes.
[Samsung Galaxy S21 Ultra] Berserker900:
anyone flashed this ROM already ?

can you please share your experience ?
[Samsung Galaxy S21 Ultra] babyboy3265:
I installed the ROM successfully. It works well as expected!

I'm sharing my steps to help out anyone who might be freaking out about the whole process. Prior to the installation, my phone was BL locked, unrooted and without TWRP.

I got ODIN 3.14.1 3B from here: https://xdaforums.com/t/patched-odin-3-13-1.3762572/

Then I followed the below instructions to flash TWRP successfully. When I rebooted I skipped trough everything and did NOT install MAGISK:

https://xdaforums.com/t/recovery-unofficial-twrp-for-galaxy-s21-ultra-exynos.4240993/

I rebooted to recovery again by turning off, holding UP and POWER, then followed the Dr. Ketan's instruction from the TXT file in the ROM's ZIP. All worked out fine, when in AROMA I was prompted with the question to install KERNEL, I selected SKIP, as in the OP it says it is using the stock KERNEL so I did not see a reason to re-install it.

I see no performance improvements as the phone was super fast with stock and now it feels the same. But, it is rooted and the root works fine, SafetyNet passes as well after applying the FIX mentioned in the TXT file.

The scary BOOT LOGO that Samsung is showing in the beginning after unlocking the bootloader, I managed to replace by flashing this:

https://xdaforums.com/t/bootlogo-ex...bootscreen-for-g998b-s21-ultra-exynos.4234899

And if anyone is interested in using GOOD LOCK, which is preinstalled but does not work due to regional restrictions, I removed my Sim cards, then with the help of NORD VPN I connected to Dallas USA and cleared the Samsung Store data from the app info screen. After re-opening the store, I got all sorts of new, previously unavailable app updates and also all the apps in the GOOD LOCK appeared. After installing everything you need, you can put your SIM cards back and not worry as everything will function. In a month or two you can re-do the process so you can get the latest updates.

P.S. If you want to have the TASK CHANGER, be aware that since Android 11 they re-did the app. For you to have it now, you have to install the Home Up app in good lock, and the TASK CHANGER is now located there. Works perfectly.

All seems good for now. Thank you once again Dr. Ketan and all the other great developers who worked hard to create all the necessary tools and bring that ++ life to our S21 Ultras.

Good luck to everyone, I thought I had to share the instructional steps for the more noobish users like me, as the developers are generally too busy to share too many details for every noob who is uncertain or is not managing to find the correct information easily.
[Samsung Galaxy S21 Ultra] babyboy3265:
Check my last post. Good luck.

@Berserker900 Beware that this ROM is for the EXYNOS and not the Snapdragon version which I think you have.
[Samsung Galaxy S21 Ultra] Berserker900:
amazing ma man.

thanks a lot.

yes EXYNOS.
[Samsung Galaxy S21 Ultra] MasterHack10:
You can download updated and region unlocked goodlock apps here:

https://downloads.corsicanu.ro/GoodLock/
[Samsung Galaxy S21 Ultra] dr.ketan:
Wait for next version. There will be a option in ROM Tool to remove it. It will be just look like non rooted device.
[Samsung Galaxy S21 Ultra] CptClubs:
Is there any way for you to make all cameras available to use with apps like gcam?

Snapdragon have access no problem but we are stuck with just wide and standard lens, no telephoto.
[Samsung Galaxy S21 Ultra] dr.ketan:
I don't know anything about gcam, never used it.
[Samsung Galaxy S21 Ultra] bmonteiro:
Are any of you guys using the XDA version of the ROM and with the Wakelock fix enabled noticing that after some time the wakelock starts going hayware by itself?
[Samsung Galaxy S21 Ultra] dr.ketan:
If it showing 61 wakelock in 21 hrs then it is normal. As explained in previous page still wakelock will happen while screen is on on XDA version, but that doesn't make much drainage as device is alrteady awake.

Once try disabling fix and keep device in pocket and walk for few minutes, it will show difference.

Also I suggest you to use BBS instead of Gsam app and look into Partial wakelocks, which will show better stats and battery drain with wakelocks
[Samsung Galaxy S21 Ultra] bmonteiro:
Thank you. Will do.
[Samsung Galaxy S21 Ultra] sco00262:
I'm having lock screen issue after reboot. If i set any secure lock like 4 numbers .fingerprint....., i'll get situation like the file attached. Only slide to unlock will be fine. Can anyone help?
[Samsung Galaxy S21 Ultra] dr.ketan:
When you seeking help, media should be in English so other can read what is written/error there
[Samsung Galaxy S21 Ultra] babyboy3265:
Right? They just can't understand... So many people from so many countries and different languages and most ask for help and supply with supportive stuff in their own language. Like we are all obliged to speak everyone's languages..
[Samsung Galaxy S21 Ultra] timofonic:
That's one of the reasons all MY devices are in English, preferably American one (I prefer words such as "favorite" instead "favourite", for example).
[Samsung Galaxy S21 Ultra] Srbija2012:
You clearly speak and write English, so what's your problem...
[Samsung Galaxy S21 Ultra] n-j-f:
Just looking to clarify. I haven't rooted yet but my 998B/DS has both dual SIM and eSIM. When I switch to eSIM, which I did when I went to the US last month and used an Ubigi eSIM, it switched off the second SIM and when I got back and turned on the second SIM, it switched off the eSIM. TLDR: I can choose dual SIM or primary SIM plus eSIM. That's not something I am willing to give up if you are saying installing Dr Ketan's ROM will take this away.
[Samsung Galaxy S21 Ultra] dr.ketan:
Guys,

Anyone on R06 using wakelock fix? How much battery drained improved?
[Samsung Galaxy S21 Ultra] babyboy3265:
Well that is indeed peculiar. If you went to the US and the esim function worked, then it is not a bug as i initially thought. The strange thing is that we have the same model phone but I don't have the esim option. However, my CSC is EUR. And yours must be different. Installing the KETAN rom does not change the CSC so logically the esim option would remain there. But @dr.ketan should confirm just in case.
[Samsung Galaxy S21 Ultra] babyboy3265:
I am using the ROM TOOL PRO wakelock fix and the battery seems to be doing fine. I don't think it is draining much. However, before applying the fix it was indeed draining quite fast.
[Samsung Galaxy S21 Ultra] n-j-f:
I imported mine from Amazon Germany. My service provider software version is

SAOMC_SM-998B_OXM_DBT_RR_0010

DBT/DBT.DBT/EUX/DBT

I just assumed mine was the same as all other 998B from Europe. Makes it even more difficult when sourcing a phone if you cannot be sure what you are getting.

I was really pleased I could use an eSIM in the US as I did not have to try and find a local SIM and when I am home I normally use two local SIMs.

EDIT: By the way, Samsung Germany has a good record of replying to questions about specification of new phones asked on Amazon.de. They even answered a couple of mine before I bought it.
[Samsung Galaxy S21 Ultra] TrevorAshley:
@dr.ketan Hi Doc! How can i disable fullscreen gesture? Long press to disable isn't working in tweaks pro.

Edit: All good now.
[Samsung Galaxy S21 Ultra] babyboy3265:
I also just turned it on and wanted it off immediately but long press and reboot doesn't work.

Go to the settings of the phone, then disable and re-enable the nav bar and press whatever you see and it will re-appear.

Edit: I noticed you figured it out but I don't know how to delete my post now :D
[Samsung Galaxy S21 Ultra] babyboy3265:
I have 2 question regarding the ROM tool PRO.

1. has anyone tried the battery protector option that charges it to 85% max and is it safe?

2. Has anyone tried turning on the volume boost options and what is the difference? Any issues?
[Samsung Galaxy S21 Ultra] zmajns:
I am not sure if this is the right place to ask, but since I am using dr ketans roms for a long time and never encountered this, I will try. I am trying to do a backup via TitaniumBackup and I simply can't copy the folder with files. Seems permission related, I tried some suggestions like chmod 755 via twrp, but it doesn't do the trick. If I copy something into the folder, I can copy those files out, but the files that are made my TitaniumBackup on the device, I can't. It just says "something went wrong"
[Samsung Galaxy S21 Ultra] Xaro2491:
It is possible that Titanium Backup is too old for Android 11. The last update of this app was at the end of '19. I also had problems with restoring apps and app datas. There is a better and newer app to make backups. Its called Swift Backup.
[Samsung Galaxy S21 Ultra] zmajns:
I don't know, it seems to still be a de facto standard. @dr.ketan since tb is included, can the folder be unlocked by default in some newer version of rom, or maybe via Pro Tools for subscribers?
[Samsung Galaxy S21 Ultra] dr.ketan:
As said above TB is mess now and should earlier go with other tool (I am using Swift Backup).

Try this

Copy TitaniumBackup folder on root of storage →

In Titanium → menu → preference → backup folder location → select Storage provider file system (click here) → selectDocumenProvide storage → it will open file explorer, set TitaniumBackup folder you keep on Int storage - and then select allow.
[Samsung Galaxy S21 Ultra] Srbija2012:
Id suggest people move on from TB.

Dev had not done an update for a long time...

Swift BU is the best alternative...
[Samsung Galaxy S21 Ultra] Core2k-:
Hello dr Ketan,

i love your work and i use tweaks pro. i used the fullscreen gesture function. now I can't undo it anymore. Long press to deactivate and then restart unfortunately does not help.

Do you have any idea ? I didn't want to reset everything.
[Samsung Galaxy S21 Ultra] dr.ketan:
From settings - Display - Navigation bar - Select Buttons
[Samsung Galaxy S21 Ultra] Core2k-:
wow thank you very much dr ketan. that helped. oh my god i never got the idea.

why is there the option in tweaks pro if it is possible in the settings?
[Samsung Galaxy S21 Ultra] dr.ketan:
If you set from settings, it may not work correctly with third party launcher for example like Nova Launcher. (No idea if that have been fixed later)
[Samsung Galaxy S21 Ultra] babyboy3265:
@dr.ketan Do I have to re-enable the wakelock-fix every time I reboot the phone in the PRO version?
[Samsung Galaxy S21 Ultra] dr.ketan:
No, it will remain enabled after reboot.
[Samsung Galaxy S21 Ultra] AV1985:
Hello I hope someone can help. I have Ketan v4 with TweakPro. I keep Always On Display on all the time. However after a little while it keeps disabling and I need to manually enable it. Does anybody know why? Thank you!
[Samsung Galaxy S21 Ultra] babyboy3265:
Maybe you have some app that is interfering?

Also, have you installed good lock?
[Samsung Galaxy S21 Ultra] AV1985:
That's what I'm thinking but I can't figure out what! Either that or a tweak or csc setting. And no I didn't install good luck.
[Samsung Galaxy S21 Ultra] TrevorAshley:
I use use both, no issues. I use moderate volume boost & viper4android 2.7.1.6
[Samsung Galaxy S21 Ultra] babyboy3265:
Nice. Do you have any issues during loudspeaker calls, do people hear you without echo?

How much louder and better is the sound for music and etc?

I'm on the verge of amping up my sound but I'm concerned as I have had issues with loudspeaker calls on my last 2 phones, note 5 and S9+.
[Samsung Galaxy S21 Ultra] babyboy3265:
Troubleshooting time buddy... It seems you have to experiment and try to narrow it down.

Maybe try and install a working version of good lock which doesn't have limitations based on your region. In there you can find some pretty good AOD's, and at least in my case they always stick and never stop working.
[Samsung Galaxy S21 Ultra] Core2k-:
I have a question. if i want to make a complete backup what i can restore at any time, which options do i have to choose with tw?
[Samsung Galaxy S21 Ultra] babyboy3265:
Everything except Cache and the key'something option which is responsible for your unlocking method, that doesn't backup and prematurely cuts the whole backup process.
[Samsung Galaxy S21 Ultra] dr.ketan:
It's complex thing. Answer depends on why you want to restore and your current setup.

Routinely, we do needs boot,recovery,super,optics and data

Now suppose you have messed up something in system, restoring super is fine. In case you have something weird in data (usually happens while you playing with lot setting/third party user app etc and got messed up) - Here restoring data is fine.

In case you want to move on previous version of ROM, restore everything, boot,recovery,super,data,optics + Bootloader and modem of previous ROM. Here again a catch, sometimes, samsung blocks downgrading BL and Modem, in that case you can't move.

So, backup Boot,Recovery,Optics,super,Data and restore according your needs.
[Samsung Galaxy S21 Ultra] cyclofosfamide:
Ok, I'm pretty sure I'm in deep trouble. Since I was @ R5, I tried to dirty flash to R6.

Flashed super.img, R6 file, flashed CP, BL & AP. Nice reboot, reboot, reboot and reboot.... looped.

Can't enter TWRP, keeps running in bootloop... long time between the reboots.

MD5 checked: okay.

Can't switch off the phone, it keeps booting....

Somehow got into TWRP and now doing a clean install and following all the steps in the guide, clean install B (because the super.img file was still on it)... same issue. Reboot after reboot..... etc

And getting back to stock hangs in Odin too, keeps hanging at the <ID:0/004> super.img flash part....