[CLOSED][RECOVERY][UNOFFICIAL] TWRP for Galaxy S21 (Exynos)

Status
Not open for further replies.
Search This thread

afaneh92

Account currently disabled
Jul 31, 2012
3,909
5,297
thank you for your reply, my laptop is connected to the internet and the phone was connected to the internet too because i did the update to the latest android 11 version from the phone itself, so i don't understand connect to internet...

My other question is what is the latest exact android version this TWRP is supported to work on correctly? is android 12 supported already?
latest support 12, and kg status must be checking, completed or broken in download mode
 

okwhateverok

Senior Member
Sep 21, 2014
85
30
Amsterdam
The log file is attached to this post and the nandroid backup location is the internal sd card.

Code:
Backing up keyrefuge...
I:Creating backup...
I:Creating tar file '/data/media/0/TWRP/BACKUPS/SM-G991B/2021-12-07--22-21-12_RP1A200720012G991BXXS3AUJ7/keyrefuge.f2fs.win'
I:addFile '/keyrefuge/metadata_encryption' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/version' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/secdiscardable' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/stretching' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/keymaster_key_blob' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/encrypted_key' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/integrity' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/metadata_encryption/key/rot' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/version' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/secdiscardable' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/stretching' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/keymaster_key_blob' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/encrypted_key' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/key/integrity' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/mode' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/unencrypted/ref' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA/GfJNiCAAAAAdKRDI8ShAHwNoKJHfsFeT' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA/GfJNiCAAAAAdKRDI8ShAHwNoKJHfsFeT/PjYzIBAAAAAILDiPwAvENkkqorDBZfui' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA/GfJNiCAAAAAdKRDI8ShAHwNoKJHfsFeT/PjYzIBAAAAAILDiPwAvENkkqorDBZfui/I5VYtAAAAAAlkTcNTaMHrMtKRek4j5oc' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:addFile '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA/GfJNiCAAAAAdKRDI8ShAHwNoKJHfsFeT/PjYzIBAAAAAILDiPwAvENkkqorDBZfui/I5VYtAAAAAAlkTcNTaMHrMtKRek4j5oc/N6sEWAAAAAQNZ3lEyRkNy64mcH8QoGSq' including root: 0
  ==> set selinux context: u:object_r:keyrefuge_data_file:s0
I:Error adding file '/keyrefuge/misc/HQxNjCAAAAwiDruThULsGprIr+WFM0zM/IdUpXBAAAAQCIHdy7M7jhe46eyxaUbwA/GfJNiCAAAAAdKRDI8ShAHwNoKJHfsFeT/PjYzIBAAAAAILDiPwAvENkkqorDBZfui/I5VYtAAAAAAlkTcNTaMHrMtKRek4j5oc/N6sEWAAAAAQNZ3lEyRkNy64mcH8QoGSq' to '/data/media/0/TWRP/BACKUPS/SM-G991B/2021-12-07--22-21-12_RP1A200720012G991BXXS3AUJ7/keyrefuge.f2fs.win'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/SM-G991B/2021-12-07--22-21-12_RP1A200720012G991BXXS3AUJ7/keyrefuge.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
 
Last edited:

okwhateverok

Senior Member
Sep 21, 2014
85
30
Amsterdam
This partiotion is also not mountable thru TWRP under the Mount section so not strange the backup quits when it comes to this partitions...
 

okwhateverok

Senior Member
Sep 21, 2014
85
30
Amsterdam
That would make it impossible to take a Nandroid backup on this device because there would be 3 partitions missing!

Hope TWRP team is aware of this and since the dev from the OP don't ow the device hope it will be fixed soon.
 

afaneh92

Account currently disabled
Jul 31, 2012
3,909
5,297
That would make it impossible to take a Nandroid backup on this device because there would be 3 partitions missing!

Hope TWRP team is aware of this and since the dev from the OP don't ow the device hope it will be fixed soon.
I own S21 ultra, keyrefuge is not necessary to backup since we already disabled encryption.
I hope you know what you are posting.
 

okwhateverok

Senior Member
Sep 21, 2014
85
30
Amsterdam
I own S21 ultra, keyrefuge is not necessary to backup since we already disabled encryption.
I hope you know what you are posting.

Let me explain myself and see who knows what he is posting...

A Nandroid backup is a backup off the data from the device NAND flash memory. This means if there are parts missing you can't use your custom recovery only to flash between different android version back and forth for developing reason.

In my case I'm on android 11 and need to flash back and forth to android 12 which does require a full Nandroid backup for fast switching.

I'm a root, custom recovery and roms user since 2012 so I know what I'm talking about. Thank you anyway for developing TWRP for this device.
 

shepshep07400

Senior Member
Nov 20, 2015
64
4
Samsung Galaxy S21
Hello, thanks for this job, you are the best !!!
if my s21 is already rooted via magisk, is data formatting necessary ? When i have test this twrp, when i reboot to recovery, my internal storage is 0go !!! What is the problem ??? Sorry for my english, i'm french
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    home.png
    backupname.png

    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.

    Code:
     * 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
    7
    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.
    3
    Anyone who has this recovery and would mind sending it?
    Attached it here.
    2
    Hi guys..

    Will this work for model G991B/DS?
    Yes