yashsingh1/xdaforums huggingface dataset:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Afonsostark01:
Good work! stable rom.

The bugs I noticed are:

1) it is not possible to adjust the volume level when the device is in landscape mode (unless using another theme such as AOSP)

2) I can't film at 60fps with the port of the asus camera made by our friend mayker05

https://xdaforums.com/t/zenui-essential-port-un-official.4258197/#post-84862043

Would it be possible for the two of you to work together to solve this problem?

I like the fluidity provided by 60 fps....
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] tartutic07:
Can someone post screenshots of the ROM?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dragonkind:
You can go to YouTube and search OctaviOS 2.3, it's a little similar to OneUI.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] tartutic07:
Thanks 🐲
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] tartutic07:
I have installed the latest version , my review. This is according to my taste.

Good

1. Super smooth , really buttery smooth

2. Lots of myriad customisations that I love.

3. Nice animations.

4. Battery charge stays on for a days worth of normal use (with heavy lean on youtube/VLC usage)

5. Nice wall papers

6. Bank App work well .

7. Camera works well [Have not tried the video yet]

Annoying - Less important stuff

1. Spelling mistakes in some places are slightly cringy.

2. Missing my NFC a lot for paying

3. My name is long (more than 5 characters) . In settings page it displays only 5 characters and part of my name

4. The spacer in notification bar where it says "Notifications" / "Conversations"/"Silent" can be smaller.

5. Also missing Google assistant. Although it is configured , it does not respond well. I have to open the assistant everytime instead of it detecting my voice .

6. I am also not able to customise the Navbar buttons .

7. After setup my apps and backup were not installed. I had to manually install most of the apps.

8. PiP (in VLC & Youtube) does not work well sometimes. The video keeps playing but it dissappears to the bottom.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] amitrahi04:
pls guys, help me. I follow the noob-friendly ROM flashing guide step to step. unlocked the bootloader unofficially. This happens with almost every custom ROM I flash on my phone.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] DDaemon:
Hey,

When I flash this image using the noob-friendly guide, I just keep getting the unlocked bootloader warning and the powered by the android logo, and it's stuck in a boot loop.

What am I doing wrong??

I have tried flashing every official Android 11 build on my Zenfone, but the same result for all of them

I could only flash the unofficial fluid 1.1 (rum) build.

Any help would be much appreciated.
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

Supported Models:

Galaxy S21 G991B/N.

Download & Guide:

1. Unlock your bootloader.

2. Download S21: o1s.

3. Reboot to download mode

4. Put the TWRP TAR for your device with Odin in the AP slot, vbmeta_disabled_R.tar in USERDATA slot and click start.

5. Reboot to recovery via recovery key combo (Vol up + power + USB connected).

6. Disable encryption:

- Go to Advanced > Terminal, type: multidisabler.​

If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​

- Type: multidisabler again. will see - Finished. when done.​

- Go back to Wipe > Format Data > type yes.​

- Reboot to recovery.​

7. Flash magisk apk in twrp.

8. Reboot to system, Enjoy.

Support:

Live support is available via #twrp on Freenode with your IRC client or just click this link.

Telegram group

Bugs:

- Encryption not fully working.

Thanks:

TWRP team

@ianmacd for multidisabler

Sources:

Kernel tree

Device tree
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Changelog:

29.11.2021 - Update to TWRP 3.6.0

- Updated to latest kernel source

- Update multidisabler

- fstab clean up

- Fix haptic feedback

21.08.2021 - Add Symlinked dynamic partitions to fstab

- Fix dtbs issue from previous build

09.08.2021 - Updated to latest kernel source

- No vbmeta disable require

- fstab clean up

03.03.2021 - Initial Release.
[Samsung Galaxy S21 ROMs, Kernel] DeblaGaming:
Wait if this is for the S21 Ultra only what is this doing in the normal s21 forum?

Youre very fast gg
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
My bad I missed that but you can know from G991B its regular not Ultra.
[Samsung Galaxy S21 ROMs, Kernel] DJBhardwaj:
@afaneh92 The recovery supports flashing Magisk APK out-of-the-box?

So, no need to rename the .apk to .zip anymore?
[Samsung Galaxy S21 ROMs, Kernel] orkavaneger:
I'm kinda casual, with haptic feedback not working do you mean the vibration motor in the phone stops working completely, or? I don't know what encryption not working means either.

I saw the same issues for the S20 FE.

Looking at both forums closely currently as I'm deciding which phone to buy dependent on which phone will have a better root experience.
[Samsung Galaxy S21 ROMs, Kernel] bigpotato107:
Will this have to be done everytime there is a firmware update?? Or like other devices we can keep twrp and magisk when updating..

I currently have S20 which I dont have twrp on but can update new firmware and just reboot to odin after flashing new firmware and just flash patched boot.img and all is good. Will the S21 be the same
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
You can flash apk

Vibration not working in twrp only, read more.

Yes need to redo every step.
[Samsung Galaxy S21 ROMs, Kernel] Emrah132:
i got my s21 rooted with ap, and magisk install thing. now i want to get twrp, is it just followed the guide or should i factory ap first?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Follow instructions.
[Samsung Galaxy S21 ROMs, Kernel] fasho:
i didnt need vibration its great job thank you afaneh92
[Samsung Galaxy S21 ROMs, Kernel] fasho:
can i flash twrp without lost magisk root?
[Samsung Galaxy S21 ROMs, Kernel] haanz85:
What about encryption issue.. is there any clue on next release. I don't think I found a problem except for the two things that were mentioned above bugs
[Samsung Galaxy S21 ROMs, Kernel] rahul16011988:
Hi,

I was able to install magisk. In the end, I want to install exposed framework. In the TWRP mode, whenever I try to install, I get an error.

-Mounting /system and /vendor read-write mount: can't find /system in /proc/mounts

!Failed: /system could not be mounted

In the end, it says "Updating partition details" .. done. Can you please help me in resolving this error.
[Samsung Galaxy S21 ROMs, Kernel] Lartsch:
Thanks for your efforts, dev! Everything working as expected.
[Samsung Galaxy S21 ROMs, Kernel] Narkozzz:
Hello, is there any way to re-enable encryption after TWRP installation? No matter, FBE or FDE. It says "not fully working" and I see only not working at all, maybe I am doing something wrong?
[Samsung Galaxy S21 ROMs, Kernel] Lartsch:
A note on firmware updates:

It is possible to follow all the instructions from the original post but SKIP the step of wiping your data from within TWRP when updating your firmware. You need to run the multidisabler though. This works if you had already installed this TWRP version with encryption disabled, including a data wipe, but now want to update your firmware. So wiping data is only needed for the first time.

In fact, if you had installed this TWRP version and do a firmware update via odin but do not flash this TWRP version with vbbeta disabled, your phone simply won't start anymore. It will ask you to factory reset.

So once you go TWRP, you have to reinstall it for future updates.

@afaneh92 do you want to add this as a hint in your OP?
[Samsung Galaxy S21 ROMs, Kernel] Vailskier:
Thank you for your great work and the fast twrp publishing! I was able to install and boot a GSI.

Now I would like to flash microg/gapps to system, but the system partition does not have any free space left. In the twrp wipe menu I cannot find the system partition to increase size. Would it be possibe to add this feature or are other steps mandatory to increase system partition in size?

Again, thanks a lot for your efforts!
[Samsung Galaxy S21 ROMs, Kernel] WiS3:
Hi, I have my S21 Rooted with Magisk Patched Stock Image.

It is possible to flash TWRP but without doing a Data Wipe?

It isn't clear if the Data Wipe is needed for Rooting after unlocking the bootloader (I already did that), or it is actually needed for getting TWRP to fully work.

Thanks.
[Samsung Galaxy S21 ROMs, Kernel] Lartsch:
In your place I would just try. Take a backup and try the installation, skipping ONLY the data wipe. If this fails, either use your backup or include the wipe.

Though, I HIGHLY assume you need to wipe for the first install of TWRP to remove the encryption initially. In future TWRP updates, you can skip wiping.
[Samsung Galaxy S21 ROMs, Kernel] fedex_742:
Does it work for the new Android 13 OneUI5?
[Samsung Galaxy S21 ROMs, Kernel] kruuth:
I tried backing up and now the phone is stuck at the "Simulating actions....." line. Is there some way to get it out of this?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
vol down and power for 7 seconds
[Samsung Galaxy S21 ROMs, Kernel] vettermanrostin:
Dobrý večer,prosím vás půjde mi to na Samsung s21 sm-G996B A byl by jste tak hodný a napsal mi alespoň trochu jak to mám udělat vím, že přes odin ale spíš konec instalace a hlavně jak poznám že se mi to povedlo. Moc děkuji za každé info

Mod translation: Good evening, please, it will work for me on a Samsung s21 sm-G996B. And would you be so kind as to write me at least a little bit about how to do it? I know that via odin, but rather the end of the installation, and especially how I will know that I succeeded. Thank you very much for any info
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
English!
[Samsung Galaxy S21 ROMs, Kernel] vettermanrostin:
Srry
[Samsung Galaxy S21 ROMs, Kernel] Nosfay:
Hello,

Doest it work for SM-G9910 variant ?

Thanks
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
You can't read first page?
[Samsung Galaxy S21 ROMs, Kernel] badryasir@gmail.com:
guys , do this twrp work on android 13?
[Samsung Galaxy S21 ROMs, Kernel] karl.kocher:
tried it yesterday with S21 SM-G991B /DS on Android 13 (5.1)

it worked.

but then i bricked it, and just finished reinstalling the stock rom. (S21 G991B from samfw.com)

Now is round 2 of flashing magisk on the newest stock rom

edit: worked like a charme.

happy flashing
[Samsung Galaxy S21 ROMs, Kernel] Itroublve:
Anyone who has this recovery and would mind sending it?
[Samsung Galaxy S21 ROMs, Kernel] StrifE:
Attached it here.
[Samsung Galaxy S21 ROMs, Kernel] ^^rac:
Hi guys..

Will this work for model G991B/DS?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Yes
[Samsung Galaxy S21 ROMs, Kernel] ^^rac:
DELETED
[Samsung Galaxy S21 ROMs, Kernel] nPingu:
Hi, thank you for your amazing work!

I rooted my S21 with magisk and installed TWRP with your method. Now I would like to update the firmware without wiping my data.

Here is what I was thinking of doing but I wanted to confront with you to see if everything could work:

1) Download new firmware with Friya

2) Extract AP, put it on S21 and patch it with Magisk

3) Bring it back to PC and flash with Odin, with Home_CSC, patched AP and the other files in original status, NO REBOOT

4) Follow your guide, flashing with Odin the files for TWRP as in your first post

5) REBOOT to recovery

6) Run Multidisabler, wipe cache

7) REBOOT to system

Is this correct? Will this work?

Thanks!
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Hi, disable auto reboot from odin, flash the rom with CSC_HOME, after it finishes reboot to download mode again, reflash twrp and vbmeta_disable_R.tar. reboot to twrp run multidisabler from twrp terminal. Dont format just reboot if multidisabler success.

If you missed twrp or download mode you will get your data encrypted.
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
First of all, a big thank you for porting TWRP to S21! I've been using TWRP for years and I'm so glad to see it in S21. I'm just little cautious / worried installing an unofficial TWRP into my brand new phone... Hence the questions:

1. I'm a keen Android power user for years and I've played with Odin, customer ROMs, kernels etc. So I know my way around. What might be the worst case scenario should something go wrong, even if I follow your instructions? Boot loop? Soft brick? Anything that flashing stock ROM can't fix?

2. You mentioned in your instructions to disable encryption. Is this phase necessary if you haven't even enabled it yet? I just put into use my new S21 and haven't fiddled with any settings yet.

3. I just updated my S21 with all the recent SW updates OTA. Should I expect any problems with TWRP installation if I have all the recent Samsung updates installed?

4. Is it possible to use TWRP's Android app to update also this unofficial version? Or is flashing the only way to update it?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Its not a port!

1- Bootloop or soft brick, flashing stock can fix it.

2- you can leave it encrypted but you cant use data partition in twrp.

3- its ok.

4- No.
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
Thanks for the reply!

One more thing confuses me: You mentioned in your instructions that "Flash magisk apk in twrp." Does this mean installing TWRP also roots device and that you have also included Magisk apk within this TWRP package?

Or do you mean that one should follow standard Magisk's installation instructions found here after TWRP installation?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
TWRP support flashing magisk apk, treat it like flashable zip.
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
Hmm... Odin fails to flash.

I got newest version of Odin and I did place twrp-3.5.0_10-1_afaneh92-R-o1s.tar and vbmeta_disabled_R.tar files in their respective location in Odin. I've also enabled the OEM unlocking and set USB debugging mode on accordingly. Odin still fails.

I've flashed before with Odin adn various other Samsung Android devices. Any idea what could be wrong or what am I missing? I haven't fiddled with my new S21 in any other way than enabled the developer mode so far. My model is G991B/DS.
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
try patched odin, also make sure bootloader unlocked and your devices is G991B.

and provide odin log.
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
Thanks, I got it working! I missed the "unlock bootloader" part. My previous Android was S7 and I've never had to unlock any bootloaders...

I found the "Install TWRP App" under Advanced. Is it safe to install & use?

I'm still baffled about No. 7. "Flash magisk apk in twrp."

You mean, I need to first download Magisk apk first, of course? Cause there is no Magisk app already within this TWRP package, right?

EDIT: What I mean is that does the TWRP also root the device? Do I just need to install Magisk "manager" and Magisk apk and then I'm done?
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
Answering to myself: After installing TWRP you can simply download the newest Magisk.apk, re-name it to Magisk.zip, flash it via TWRP (install zip) and reboot your system. After that you'll have your device rooted and Magisk manager installed. It needs to be updated and rebooted immediately and then you're good to go.
[Samsung Galaxy S21 ROMs, Kernel] nakix261:
Is there any custom room available for s21 ?
[Samsung Galaxy S21 ROMs, Kernel] Vailskier:
I have not found a custom rom, but was able to install GSIs:

https://xdaforums.com/t/is-it-possible-to-install-gsi-roms.4297545/
[Samsung Galaxy S21 ROMs, Kernel] Maba79:
Doing my first Samsung Galaxy S21 backup.

Whoa, there are a whole lot more partitions available for backup than with any of my previous Android phones.

Which partitions would you recommend to backup? Data? Boot? How about Super (Incl. System, Vendor, Product, Odm)?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Actually I didnt added all partitions lol

Yes those you said are ok to backup
[Samsung Galaxy S21 ROMs, Kernel] randy施:
Dear sir, I've downloaded and flashed the latest zip of your recovery, but it turns out that I cannot access to the TWRP mode, and it shuts down automatically, and I try the former one, it works. What's wrong with the new one? My device model is SM-G991N.
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Need to be quick, press vol up and power after device reboot and screen goes black.
[Samsung Galaxy S21 ROMs, Kernel] Papaya45:
I need your help.

I followed your first post

stock rom > dev > oem unlock + usb debug > reboot to recovery > bootloader > flash twrp + userdata file = odin fail

new try:

stock rom > dev > oem unlock + usb debug > patching AP file through magisk > copy back to laptop > reboot to recovery > bootloader > flash patched ap file = error in download mode: custom binary(VBMETA) blocked by oem lock > after reboot red error message DEBORE: DN_FAIL_BLOCK_CUSTOM_BIN_OEM

next try:

stock rom > dev > oem unlock + usb debug > patching AP file through magisk > copy back to laptop > reboot to recovery > bootloader > flash patched ap file + original bl + original cp + original csc = stuck at super.img > after reboot red error message DEBORE: DN_FAIL_BLOCK_CUSTOM_BIN_OEM

I think something is wrong with unlock of oem. I activated the option but the phone is still locked.

I noticed something strange when I boot into download mode through recovery.

when I finaly enter the download mode I do not get any options like push vol + to unlock

when I enter download mode I get a message in blue:

ODIN MODE by Param Download

in red:

CAUSE: BL: Recovery Mode Set by key

what the ... is the problem and how can I fix it?

phone: G991B - DBT

firmware: download with frija
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Turn off or reboot and press both vol buttons while usb connected you will see hold vol up to unlock bootloader.
[Samsung Galaxy S21 ROMs, Kernel] Papaya45:
nothing happens when I press the vol keys and pluging in the cable.

edit: wtf .. i did it 100 times and nothing happened .. now it worked ..

ok. what are the next steps?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Read
[Samsung Galaxy S21 ROMs, Kernel] Papaya45:
I did. I'm confused of the right steps.

so let me start from zero.

bootloader is unlocked. oem lock in developer mode is activated and greyed.

now i have to boot in download mode and flash twrp + your userdata file with no reboot, right?

then i push vol- and power till black screen.

when the screen turns black i push vol+ power and stick the usb in, right?

edit:

works now.
[Samsung Galaxy S21 ROMs, Kernel] randy施:
Yeah, I've tried several times, but unfortunately, it still doesn't work. I long press both Vol + and power, but it only reboots continuously.😢
[Samsung Galaxy S21 ROMs, Kernel] DaReDeViL:
I tried the latest TWRP build for regular S21 G991B and had similar bootloop. Only way for me to get out of it was to return to the previous TWRP build.

@afaneh92 I think it's because the o1s kernel build compiles the wrong dtbo
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
I will check, thanks
[Samsung Galaxy S21 ROMs, Kernel] ems328i:
Hello, I have used TWRP on many other phones but this will be my first time with a Samsung (I have a used S9 that already had TWRP installed). If, as part of installing TWRP, I Format Data, this means that the stock rom on the phone will be wiped, and the phone is essentially empty? How do I restore the stock rom after this wipe?
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Data wipe is your personal data not system files
[Samsung Galaxy S21 ROMs, Kernel] ems328i:
Great, thanks very much for taking the time!
[Samsung Galaxy S21 ROMs, Kernel] wolverine2k:
Hi,

Were you able to check this? I used the latest recovery and went into a bootloop as well. Haven't tried the old recovery yet but can you please check on the latest and help improve? I don't know if you are also working on a custom kernel / custom ROM? I have worked on Oppo Find5 (quite some time ago) but am open to teaming up.

BR; Naresh
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Im not working on anything other than recovery. I dont have the device. only the Ultra.
[Samsung Galaxy S21 ROMs, Kernel] Papaya45:
I confirm that
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
New build on the way
[Samsung Galaxy S21 ROMs, Kernel] Voodoojonny:
No vbmeta disable require... Does this mean data encryption works now? And if yes, incl. gsi's? Thank you for your awesome work!
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Not working yet
[Samsung Galaxy S21 ROMs, Kernel] ShadySand:
do i have to return to original recovery if i want to update official rom? could someone tell me what do i need to do to update official rom without risking the bootloop?
[Samsung Galaxy S21 ROMs, Kernel] Kuba1996:
I think flash with Odin the latest software (with CSC not Home_CSC), then wipe data / factory reset in stock recovery should be enough
[Samsung Galaxy S21 ROMs, Kernel] ShadySand:
will stock recovery be installed automatically alongside firmware update?
[Samsung Galaxy S21 ROMs, Kernel] Kuba1996:
Yes, but not relock bootloader
[Samsung Galaxy S21 ROMs, Kernel] ShadySand:
i did everything and managed to succeed but even after reflashing everything my phone is still decrypted, how can i encrypt it back?
[Samsung Galaxy S21 ROMs, Kernel] breversa:
Hello ! I'm afraid I've semi-bricked an S21 by doing the following :

1. Unlock your bootloader.

2. Download S21: o1s.

3. Reboot to download mode

4. Put the TWRP TAR for your device with Odin in the AP slot, vbmeta_disabled_R.tar in USERDATA slot and click start.

5. Reboot to recovery via recovery key combo (Vol up + power + USB connected).

6. Disable encryption:

- Go to Advanced > Terminal, type: multidisabler.

If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.

- Type: multidisabler again. will see - Finished. when done.

- Go back to Wipe > Format Data > type yes.

- Reboot to recovery.

(so far so good)

However, as I did not have a Magisk apk handy, I rebooted to the OS.

Later, I flashed an /e/ OS GSI onto /system from within TWRP, but now the phone will keep rebooting, alternating between two Samsung screens :

"This phone's bootloader is unlocked and its software integrity can't be verified. Any data on this phone may be vulnerable to attackers. Don't store any important data or sensitive information on this phone."

then

"This phone is not running Samsung's official software. You may have problems with features or security, and you won't be able to install software updates."

… and then reboots again and again.

Problem is : I can neither power off nor reboot to recovery/bootloader mode, so I can't even flash back to stock.

I *can* reboot to bootloader unlock mode (hold volume up + volume down and insert USB cable), but that's pretty much it.

Can anyone help ?
[Samsung Galaxy S21 ROMs, Kernel] breversa:
I'll answer my own question :

By rebooting to bootloader unlock mode (hold volume up + volume down and insert USB cable) then selecting "no", the phone will continue to download mode, from which I should be able to restore to stock. Sorry for the hassle !
[Samsung Galaxy S21 ROMs, Kernel] breversa:
This thread has more detailed information about this issue : https://xdaforums.com/t/solved-stuc...ies-are-allowed-to-be-flashed-vbmeta.4013525/
[Samsung Galaxy S21 ROMs, Kernel] afaneh92:
Its not issue, you just wiped data and never booted to system to connect to internet, its knox guard.