Development [RECOVERY][UNOFFICIAL] TWRP for Galaxy S23 Ultra

Search This thread

afaneh92

Senior Member
Jul 31, 2012
3,674
5,110
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 S23 Ultra S918B/S918N/S9180.

Download & Guide:
1. Unlock your bootloader.
2. Downloads for S23 Ultra: AFH: dm3q twrp
3. Reboot to download mode
4. Uncheck auto reboot in Odin and flash TWRP in AP slot and vbmeta_disabled_R.tar in USERDATA slot.
5. Hold volume down and power until the screen goes black then immediately switch to holding volume up and power to reboot into TWRP.
6. Go to wipe, format data, and type "yes" to confirm.
7. Reboot to TWRP
8. Flash boot_repack.zip (To fix stock recovery restoration)
9. Flash magisk canary (Optional)
10. 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:
- Decryption will only work if no password/PIN/pattern is set in Android.
- No erofs r/w support yet.

Thanks:
TWRP team
@BlackMesa123 for helping me to add encryption support

@dr.ketan for supporting me​

Donators

Sources:
Kernel tree
Device tree
 

Attachments

  • boot_repack.zip
    1.8 MB · Views: 412
Last edited:

BlackMesa123

Recognized Contributor
Aug 29, 2015
1,921
3,643
20
Adrano
Samsung Galaxy S5
Samsung Galaxy J5
I tried on S20+ and S22 ultra it was harder than A series. But will try again when the device delivered, I may ask for your help. Thanks.

Implementing crypto support is not that hard as it seems, in the S23 family it should even be easier since you can just implement the official TeamWin QSEE scripts in your device tree. I imagine the big deal on S20/S22 is due to those device having an Exynos SoC with TEEgris TZ, but even in that case it should be easy to handle. What I'm more afraid of is that this device probably has Knox SDP in vold so decrypt with PIN/password set won't work, but it's better than nothing atm.
 

afaneh92

Senior Member
Jul 31, 2012
3,674
5,110
Implementing crypto support is not that hard as it seems, in the S23 family it should even be easier since you can just implement the official TeamWin QSEE scripts in your device tree. I imagine the big deal on S20/S22 is due to those device having an Exynos SoC with TEEgris TZ, but even in that case it should be easy to handle. What I'm more afraid of is that this device probably has Knox SDP in vold so decrypt with PIN/password set won't work, but it's better than nothing atm.
I was referring to snapdragon, and never worked. I used your implementation and device wasn't able to decrypt data. S22 was harder since data wasn't able to mount. I will wait for device, thanks again.
 

BlackMesa123

Recognized Contributor
Aug 29, 2015
1,921
3,643
20
Adrano
Samsung Galaxy S5
Samsung Galaxy J5
@afaneh92 it looks like S23 vold has no crap A11 code leftovers which does break decrypt with PIN/password on TWRP, I compared the vold bin with my A52s' one and certain stuff is clearly missing. So it might just work out of the box once support for it gets added🤔
 

Attachments

  • Screenshot 2023-02-09 alle 12.36.45.png
    Screenshot 2023-02-09 alle 12.36.45.png
    331.5 KB · Views: 161
  • Screenshot 2023-02-09 alle 12.37.38.png
    Screenshot 2023-02-09 alle 12.37.38.png
    75.6 KB · Views: 162
  • Like
Reactions: afaneh92

Techguy777

Senior Member
I just want to ask if anyone has tried installing viper4android yet and does it work? If it's like the s22 ultra and doesn't work. I might sound crazy but I wouldn't buy it. Music is more important to me then spen and camera although admittedly they are good to. It's mind blowing to think 1200 dollar won't sound as good as my Poco f3 or even my lg tribute 10 years ago.
 

hurray

Senior Member
Oct 25, 2010
650
286
Samsung Galaxy Tab S2
OnePlus 3
I followed the steps above, and when trying to reboot to system I get back to to twrp. Help please?
I have exactly the same:
- after following all steps one by one there is only a reboot into TWRP itself possible

I compared the steps from this thread with the steps which are successfully working on my Galaxy Tab S8 Ultra ( https://forum.xda-developers.com/t/...-for-galaxy-tab-s8-series-snapdragon.4455491/ ) and I see a difference at step 7:

7. Flash custom kernel and magisk apk in twrp.
I do not see any "custom kernel" to download in this thread (at least for now) so I think this is the missing part. Or it only works correct in combination with "dr.ketans rom" (which I do not want to use for now).

@afaneh92: Thank you very much for your work (on "root" and also with "twrp")!

Edit: I just read the installation pdf from "dr. ketans rom". There is written in red letters:
DON'T run multidisabler from TWRP termial/zip or any system-rw script after flashing ROM else device won't boot.
So maybe the not booting system is related to the work which the "multidisabler" should do.
I will be happy if there will be some light regarding the non booting system after flashing TWRP.

Maybe I will give "dr. ketans rom" a try and have an eye on this thread how the things go on. :)
________________________________________

@Techguy777: This is very offtopic but I am with you that "Viper4Android" is a very important part also of my daily used tools. I just have found a (for me) good running workaround.
Search the fDroid store for the app "RootlessJamesDSP". Depending on which parts of "Viper4Android" you care about, the app is an extremely good working replacement. In my example, the "Convolver" with the impulse response files are important and that works wonderfully with the players I use.
 
Last edited:
  • Like
Reactions: bigron77

hurray

Senior Member
Oct 25, 2010
650
286
Samsung Galaxy Tab S2
OnePlus 3
Sadly flashing "dr.ketans rom" (or the "unroot" one, for that matter) doesn't fix the problem for me. Ironically everything was working fine with "dr.ketans rom" alone, but I just had to try disabling encryption. Well I suppose better is the enemy of good. :(
I just flashed the orginal FW from samfw.com and my S23 Ultra is booting correctly into the system. Now I will try the current "S918B_WA6_DrKetan_ROM_T02". It seems that TWRP is build in into the ROM. If this works I will try a backup & restore of user data (this is the most important part from TWRP for me).
 

dr.ketan

Recognized Developer / Recognized Contributor
I just flashed the orginal FW from samfw.com and my S23 Ultra is booting correctly into the system. Now I will try the current "S918B_WA6_DrKetan_ROM_T02". It seems that TWRP is build in into the ROM. If this works I will try a backup & restore of user data (this is the most important part from TWRP for me).
After flashing my ROM + Format dara (Read changelog) TWRP backup/restore data should work as expected. And for that purpose mentioned in OP
 
  • Like
Reactions: hurray

hurray

Senior Member
Oct 25, 2010
650
286
Samsung Galaxy Tab S2
OnePlus 3
After flashing my ROM + Format dara (Read changelog) TWRP backup/restore data should work as expected. And for that purpose mentioned in OP
You have convinced me of your ROM. After flashing I had to reformat "data" but afterwards the system booted correctly.
The ROM works very well so far and the additional functions via "ROM Tools S23" are also good (especially that they can be selectively enabled and disabled).

Backup and recovery of user data has also worked flawlessly. :)

So now I can start with the actual setup of all apps.

Thanks a lot for your work!
 

dr.ketan

Recognized Developer / Recognized Contributor
You have convinced me of your ROM. After flashing I had to reformat "data" but afterwards the system booted correctly.
The ROM works very well so far and the additional functions via "ROM Tools S23" are also good (especially that they can be selectively enabled and disabled).

Backup and recovery of user data has also worked flawlessly. :)

So now I can start with the actual setup of all apps.

Thanks a lot for your work!
I have seen many users don't want "custom" roms, but my ROM will have complete stock look + single click all critical fix. It won't force users to use customised look. Also it have more options to make modifications in ui but everything will be by user's will.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    What do I need to check? I've already checked. On my S23 Ultra Adway gets SU rights with Magisk. But nothing works beyond that. The rights are there, but the file does not change.
    I was advised to change the host file manually through the Magisk module. But for me, it is easier to go back to the S22 with its Android 12, where Adway works exactly.
    Wrong forum. Go back to S22 please
    2
    This bug might be caused by the mount point set in init.recovery.qcom.rc for keymint to work. Unmounting the partition once the data partition is decrypted should fix the issue
    1
    A little help needed. I’m new here.

    Steps:
    8. Flash boot_repack.zip (To fix stock recovery restoration) - removes TWRP recovery, right?

    9. Flash magisk canary (Optional) - I can’t find any zip magisk canary version which could be flashed via TWRP, I found only .app canary version which is not suitable for flash tho

    Any help will be much appreciated. 🙏
    Step 8 to keep twrp on reboot, making it stick.
    Step 9 flash magisk apk in twrp, treat it as zip
    1
    When it’s apk it doesn’t show up in the folder.. o_O
    Didn’t understood what do you mean about step 8..? I’ve don’t step 8 and after that holding up + power doesn’t boot to recovery anymore
    need to flash the boot_repack.zip and twrp can handle magisk apk as zip
    1
    Now when I’m trying to make a backup with TWRP, EFS folder is stating 0MB and can’t be backed up? 😑Any help
    Ignore it for now
  • 18
    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 S23 Ultra S918B/S918N/S9180.

    Download & Guide:
    1. Unlock your bootloader.
    2. Downloads for S23 Ultra: AFH: dm3q twrp
    3. Reboot to download mode
    4. Uncheck auto reboot in Odin and flash TWRP in AP slot and vbmeta_disabled_R.tar in USERDATA slot.
    5. Hold volume down and power until the screen goes black then immediately switch to holding volume up and power to reboot into TWRP.
    6. Go to wipe, format data, and type "yes" to confirm.
    7. Reboot to TWRP
    8. Flash boot_repack.zip (To fix stock recovery restoration)
    9. Flash magisk canary (Optional)
    10. 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:
    - Decryption will only work if no password/PIN/pattern is set in Android.
    - No erofs r/w support yet.

    Thanks:
    TWRP team
    @BlackMesa123 for helping me to add encryption support

    @dr.ketan for supporting me​

    Donators

    Sources:
    Kernel tree
    Device tree
    5
    Hey @afaneh92 ;
    I'm here to disturb you on this side now.. Sorry!

    Quick Question - No Kernel ?
    So no R/W access on the S23 , yeah ?

    EDIT: Nevermind, Just saw the Bugs at OP
    No erofs r/w support yet.
    A test build on telegram with encryption working. Thanks to Blackmesa123
    I will release them when I get positive feedback.
    3
    I was referring to snapdragon, and never worked. I used your implementation and device wasn't able to decrypt data. S22 was harder since data wasn't able to mount. I will wait for device, thanks again.

    We can surely work it out to fix it😉
    3
    You have convinced me of your ROM. After flashing I had to reformat "data" but afterwards the system booted correctly.
    The ROM works very well so far and the additional functions via "ROM Tools S23" are also good (especially that they can be selectively enabled and disabled).

    Backup and recovery of user data has also worked flawlessly. :)

    So now I can start with the actual setup of all apps.

    Thanks a lot for your work!
    I have seen many users don't want "custom" roms, but my ROM will have complete stock look + single click all critical fix. It won't force users to use customised look. Also it have more options to make modifications in ui but everything will be by user's will.