[S-20 Series_Snapdragon]-[Upgrade A13 Using Odin]-[Automatically Root Remove Forceencrypt Patch Bluetooth And Fix Safetynet]

Search This thread

jrkruse

Recognized Contributor
Aug 9, 2009
8,750
12,895
Must Have An Unlocked Bootloader To Do This!

This A full stock firmware file I have created to flash with odin to automatically install TWRP recovery along with Disable VBMETA image. The Userdata _AIO tar file will also automatically install magislk root along with remove force encryption and patch bluetooth library file. It will also patch safetynet. No flashing of zips is required

Info For Bootloader Unlocks Can Be Found In Post 2

I Do Not Recommend Mixing Bit 1 And Bit 2 Firmware!!!!

Downloads
SM-G981U/U1/W- Model

G981USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock

SM-G986U/U1/W- Model

G986USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock


SM-G988U/U1/W- Model

G988USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock


Odin3_v3.14.1_3B_PatcheD.zip

TWRP Recovery Provide by @afaneh92

Be prepared to have your data wiped. The process tries to determine if you do or do not need to have data wipe but as a precaution just assume your data will be wiped. Especially if using U1 or W firmware

Install Instructions
You must be OEM Unlocked Bootloader
1. On Initial unlock of phone you must through setup and be signed into your google account.

2. Reboot phone too download mode and make sure KG STATUS=CHECKING (see pic) and not PRENORMAL. If PRENORMAL then do step 1 again
View attachment 5217631

3. Use patched 3.14 odin and load files in appropriate odin slots

4. Phone will reboot to TWRP and remove encryption which will wipe phone. Phone will reboot back too TWRP to finish install then reboot to setup


Features
No patches or mod zips are needed phone will already be rooted

Fix Safetynet
Bluetooth is patched for pairing to survive reboots

Samsung Health working


Bugs
Samsung Pay, Secure Folder and Samsung Pass do not work as on most Samsung Rooted Roms


Thanks To People That Make My Life Easier
elliwigy

klabit87
Krog18
me2151
stang5litre
Raymonf for modified odin
rayan-refoua for boot animation
TheMadScientist
afaneh92
kdrag0n for safetynet fix

3arthur6 for bluetooth patch zip
JDBarlow for test S20 stuff
markfm For Bitsafe Firmware


Source For Userdata AIO
 
Last edited:

jrkruse

Recognized Contributor
Aug 9, 2009
8,750
12,895
Info For U Model Bootloader Unlocking Can Be Found

Below US snapdragon devices can be bootloader unlocked with above service as long as bootloader version meets below criteria. Bootloader version can be determined from the 5th character from the right on the baseband version or build number, in some cases from kernel version

Z Fold2 5G BL V1
Fold 5G BL V1-4
Fold BL V1-4
Z Flip 5G BL V1
Z Flip BL V1-3
Note series 20 BL V1
S20 series BL V1
S20 FE 5G BL V1-2
Note 10 series BL V1-5
S10 Lite BL V1-3
Note 10+ 5G N976U BL V1-4
Note 10+ 5G N976V BL V1-5
S10 5G BL V1-5
S10 series BL V1-4
Note 9 BL V1-7
S9 series BL V1-9
Tab S6 BL V1-3
Tab S7 BL V1
Tab S7+ BL V1
A71 5G BL V1-2
A51 BL V1-5
A51 5G BL V1-4
A50 A505W BL V1-A
A50 A505U BL V1-B
S21 BL V1
A32 5G BL V1-3
Tab Active Pro 10.1 BL V1-4
XCover Pro BL V1-7
 
Last edited:

jrkruse

Recognized Contributor
Aug 9, 2009
8,750
12,895
If tokens can be updated to flash higher bootloaders then I will adjust files accordingly
 
  • Like
Reactions: jhr5474

jrkruse

Recognized Contributor
Aug 9, 2009
8,750
12,895
Both files that say contain bootloader from UI 3.0 and that I'll keep my unlock token. kg status was checking as well.
Sorry I had no clue there was an sm-g981v mode. Just don’t flash the bl file of your stock firmware and you will be fine using my userdata without bl files
 

Gianni's

Member
Apr 30, 2018
7
0
Must Have An Unlocked Bootloader To Do This!

This An odin tar file I have created to flash along with stock odin firmware to automatically install TWRP recovery along with Disable VBMETA image. The tar file will also automatically install magislk root along with remove force encryption and patch bluetooth library file. It will also patch safetynet. No flashing of zips is required

Info For Bootloader Unlocks Can Be Found In Post 2

Downloads
SM-G981U/U1/W- Model

These contains bootloaders from One UI 3.0 firmware so you will not loose token and do not need to alter firmware you are flashing
They contain bootloaders too allow you too load full stock One UI 3.1 firmware in odin without having to worry about removing certain files as the bootloaders in the USERDATA file will keep you on the correct bootloaders.

USERDATA_AIO_G981_FORCE_WIPE.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G981_NO_WIPE.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware

These do not contains bootloaders from One UI 3.0 firmware and you will loose token if you flash higher version bootloaders unless you alter the firmware. You can use these to do the firmware as you see fit.
USERDATA_AIO_G981_FORCE_WIPE_NO_BL.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G981_NO_WIPE_NO_BL.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware


SM-G981V- Model

These contains bootloaders from One UI 3.0 firmware so you will not loose token and do not need to alter firmware you are flashing
They contain bootloaders too allow you too load full stock One UI 3.1 firmware in odin without having to worry about removing certain files as the bootloaders in the USERDATA file will keep you on the correct bootloaders.

USERDATA_AIO_G981V_FORCE_WIPE.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G981V_NO_WIPE.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware

These do not contains bootloaders from One UI 3.0 firmware and you will loose token if you flash higher version bootloaders unless you alter the firmware. You can use these to do the firmware as you see fit.
USERDATA_AIO_G981V_FORCE_WIPE_NO_BL.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G981V_NO_WIPE_NO_BL.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware


SM-G986U/U1/W- Model

These contains bootloaders from One UI 3.0 firmware so you will not loose token and do not need to alter firmware you are flashing
They contain bootloaders too allow you too load full stock One UI 3.1 firmware in odin without having to worry about removing certain files as the bootloaders in the USERDATA file will keep you on the correct bootloaders.

USERDATA_AIO_G986_FORCE_WIPE.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G986_NO_WIPE.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware


These do not contains bootloaders from One UI 3.0 firmware and you will loose token if you flash higher version bootloaders unless you alter the firmware. You can use these to do the firmware as you see fit.
USERDATA_AIO_G986_FORCE_WIPE_NO_BL.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G986_NO_WIPE_NO_BL.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware



SM-G988U/U1/W- Model

These contains bootloaders from One UI 3.0 firmware so you will not loose token and do not need to alter firmware you are flashing
They contain bootloaders too allow you too load full stock One UI 3.1 firmware in odin without having to worry about removing certain files as the bootloaders in the USERDATA file will keep you on the correct bootloaders.

USERDATA_AIO_G988_FORCE_WIPE.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G988_NO_WIPE.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware


These do not contains bootloaders from One UI 3.0 firmware and you will loose token if you flash higher version bootloaders unless you alter the firmware. You can use these to do the firmware as you see fit.

USERDATA_AIO_G988_FORCE_WIPE_NO_BL.tar.md5
This will force a wipe of data no mater what. This Must Be Used On U1 Firmware and can be used on U firmware if you choose so.

USERDATA_AIO_G988_NO_WIPE_NO_BL.tar.md5
This will only wipe if you have encrypted data. This Can Only Be Used On U firmware



Odin3_v3.14.1_3B_PatcheD.zip

TWRP Recovery Provide by @afaneh92

Be prepared to have your data wiped. The process tries to determine if you do or do not need to have data wipe but as a precaution just assume your data will be wiped. Especially if using U1 or W firmware

Install Instructions For Newly Unlocked Devices

You must be OEM Unlocked Bootloader
1. On Initial unlock of phone you must through setup and be signed into your google account.

2. Reboot phone too download mode and make sure KG STATUS=CHECKING (see pic) and not PRENORMAL. If PRENORMAL then do step 1 again
View attachment 5217631

3. Use patched 3.14 odin and load file USERDATA_SLOT_G98*U_**.tar.md5 you must choose one of the FORCE_WIPE files and load in the USERSDATA slot of odin and flash file

4. Phone will reboot to TWRP and remove encryption which will wipe phone. Phone will reboot back too TWRP to finish install then reboot to setup



Install Instructions For Updating Firmware On Phone Already Unlocked

1. Reboot phone too download mode and make sure KG STATUS=CHECKING. If not see above

2. Use patched 3.14 odin and load stock firmware in appropriate slots use regular CSC file in the CSC slot and load file one of the USERDATA_SLOT_G98*U_**.tar.md5 in the USERSDATA slot of odin and flash firmware. Do not use the User Data file that comes with firmware.

3. Phone will reboot to TWRP and check for encryption and remove if needed which will wipe phone. If phone is not encrypted data will not be wiped. Phone will reboot back too TWRP to finish install then reboot to setup if data was wiped or reboot normally if it was not



Install Instructions If Updating Images With TWRP

1. When done flashing images in TWRP Reboot phone too download mode and make sure KG STATUS=CHECKING. If not see above.

2. Use patched 3.14 odin and load file USERDATA_AIO_G98*_NO_WIPE_NO_BL.tar.md5 in the USERSDATA slot of odin and flash file.

3. Phone will reboot to TWRP and check for encryption and remove if needed which will wipe phone. If phone is not encrypted data will not be wiped. Phone will reboot back too TWRP to finish install then reboot to setup if data was wiped or reboot normally if it was not.

4. Alternatively to using USERDATA_AIO_G98*_NO_WIPE_NO_BL.tar.md5 in odin you can use AIO_Magisk_22_S20_Series.zip found in post 2



Features
No patches or mod zips are needed phone will already be rooted

Fix Safetynet
Bluetooth is patched for pairing to survive reboots

Samsung Health working


Bugs
Samsung Pay, Secure Folder and Samsung Pass do not work as on most Samsung Rooted Roms


Thanks To People That Make My Life Easier
@elliwigy

@klabit87
@Krog18
@me2151
@stang5litre
@Raymonf for modified odin
@rayan-refoua for boot animation
@TheMadScientist
@afaneh92
@kdrag0n for safetynet fix

3arthur6 for bluetooth patch zip
@JDBarlow for test S20 stuff
Does this work on s20 plus g9860?
If not...can you make a file for SM-G9860 TGY.
This is the link for latest firmware

 

jrkruse

Recognized Contributor
Aug 9, 2009
8,750
12,895
Last edited:

rlewis312010

Senior Member
Feb 16, 2011
284
41
So, if I have the S20+ (US Cellular) and want to try the 3.1 firmware:

1.) Download the firmware
2.) Put your file for it into user data field in Odin
3.) Put in AP, CSC (home or whatever to not overwrite my USC one I think) and the rest EXCEPT for the bootloader into Odin
4.) Flash as usual and then everything should work. I'll keep my unlock and be able to use the 3.1 firmware?
 
  • Like
Reactions: Skulls4u2

reV17

Senior Member
Feb 8, 2013
445
166
Hackensack
So, if I have the S20+ (US Cellular) and want to try the 3.1 firmware:

1.) Download the firmware
2.) Put your file for it into user data field in Odin
3.) Put in AP, CSC (home or whatever to not overwrite my USC one I think) and the rest EXCEPT for the bootloader into Odin
4.) Flash as usual and then everything should work. I'll keep my unlock and be able to use the 3.1 firmware?

I did it that way, used the BL included file and flashed all the stock files, after the full wipe everything that I needed was included. Worked great, on UI 3.1 rn
 
  • Like
Reactions: mysticjp

mysticjp

Senior Member
Jul 5, 2012
385
57
hi jrkruse i just got an A71 5g unlocked (thanks afaneh92), and i was wondering if you could make an aio userdata file for it? so i can flash ui 3.1 firmware to it? like this for my s20 ultra..(this thread)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Must Have An Unlocked Bootloader To Do This!

    This A full stock firmware file I have created to flash with odin to automatically install TWRP recovery along with Disable VBMETA image. The Userdata _AIO tar file will also automatically install magislk root along with remove force encryption and patch bluetooth library file. It will also patch safetynet. No flashing of zips is required

    Info For Bootloader Unlocks Can Be Found In Post 2

    I Do Not Recommend Mixing Bit 1 And Bit 2 Firmware!!!!

    Downloads
    SM-G981U/U1/W- Model

    G981USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock

    SM-G986U/U1/W- Model

    G986USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock


    SM-G988U/U1/W- Model

    G988USQU3HWB3_Bit1_Safe --This will bring you to Android 13 without loosing unlock


    Odin3_v3.14.1_3B_PatcheD.zip

    TWRP Recovery Provide by @afaneh92

    Be prepared to have your data wiped. The process tries to determine if you do or do not need to have data wipe but as a precaution just assume your data will be wiped. Especially if using U1 or W firmware

    Install Instructions
    You must be OEM Unlocked Bootloader
    1. On Initial unlock of phone you must through setup and be signed into your google account.

    2. Reboot phone too download mode and make sure KG STATUS=CHECKING (see pic) and not PRENORMAL. If PRENORMAL then do step 1 again
    View attachment 5217631

    3. Use patched 3.14 odin and load files in appropriate odin slots

    4. Phone will reboot to TWRP and remove encryption which will wipe phone. Phone will reboot back too TWRP to finish install then reboot to setup


    Features
    No patches or mod zips are needed phone will already be rooted

    Fix Safetynet
    Bluetooth is patched for pairing to survive reboots

    Samsung Health working


    Bugs
    Samsung Pay, Secure Folder and Samsung Pass do not work as on most Samsung Rooted Roms


    Thanks To People That Make My Life Easier
    elliwigy

    klabit87
    Krog18
    me2151
    stang5litre
    Raymonf for modified odin
    rayan-refoua for boot animation
    TheMadScientist
    afaneh92
    kdrag0n for safetynet fix

    3arthur6 for bluetooth patch zip
    JDBarlow for test S20 stuff
    markfm For Bitsafe Firmware


    Source For Userdata AIO
    4
    Info For U Model Bootloader Unlocking Can Be Found

    Below US snapdragon devices can be bootloader unlocked with above service as long as bootloader version meets below criteria. Bootloader version can be determined from the 5th character from the right on the baseband version or build number, in some cases from kernel version

    Z Fold2 5G BL V1
    Fold 5G BL V1-4
    Fold BL V1-4
    Z Flip 5G BL V1
    Z Flip BL V1-3
    Note series 20 BL V1
    S20 series BL V1
    S20 FE 5G BL V1-2
    Note 10 series BL V1-5
    S10 Lite BL V1-3
    Note 10+ 5G N976U BL V1-4
    Note 10+ 5G N976V BL V1-5
    S10 5G BL V1-5
    S10 series BL V1-4
    Note 9 BL V1-7
    S9 series BL V1-9
    Tab S6 BL V1-3
    Tab S7 BL V1
    Tab S7+ BL V1
    A71 5G BL V1-2
    A51 BL V1-5
    A51 5G BL V1-4
    A50 A505W BL V1-A
    A50 A505U BL V1-B
    S21 BL V1
    A32 5G BL V1-3
    Tab Active Pro 10.1 BL V1-4
    XCover Pro BL V1-7
    4
    fwiw, i made a couple of AIO tars for my S20+ 5G (SM-G986B)

    Read the first post of this thread first before trying the following, especially the bit about "Must Have An Unlocked Bootloader To Do This!"

    file 1: AIO_SM-G986B.tar
    - installs TWRP
    - boots to TWRP immediately after ODIN completes (leave Auto Reboot enabled) - avoiding the vulcan death grip button push nonsense
    - formats data
    - installs decrypter and stock recovery replacement disabler (by @serajr from here - kindly created when the long running multidisabler stopped working as Samsung changed a path)
    - installs TWRP Bootlogo Patcher from here to remove the ugly warning on boot
    - installs Bluetooth Patcher (TWRP method) from here
    - wipes /cache
    - reboots to system and setup

    file 2: AIO_SM-G986B (TWRP & Decrypt ONLY).tar
    - installs TWRP
    - boots to TWRP immediately after ODIN completes (leave Auto Reboot enabled) - avoiding the vulcan death grip button push nonsense
    - formats data
    - installs decrypter and stock recovery replacement disabler (by @serajr from here - kindly created when the long running multidisabler stopped working as Samsung changed a path)
    - wipes /cache
    - reboots to system and setup

    flash AIO in userdata alongside ROM files and leave auto reboot enabled!

    NOTE: device will reboot several times, do not interrupt, let finish and boot into system and setup. During TWRP session you will see red text (errors), this is for mount points that dont exist due to the formatting of data and are normal in this context...you will see the zips being processed after the errors

    NOTE 2: the original AIO files also installed Magisk and patched SafetyNet, i chose to, as Magisk is updated frequently and SafetyNet methods can change monthly, remove them from my version, i prefer to flash Magisk etc manually. This makes less maintenance recreating the tar files.

    How i created the tar files:

    Contents updated from the SM-G986U/U1/W- Model zip from OP i used as a template:

    extract zip to a folder, it includes a cmd exe you can double click on to open a prompt in the folder

    download latest TWRP (if needed or a different device) and place in folder

    twrp-3.6.2_11-0-y2s.im (latest at time of writing for my device)

    twrp-3.6.2_11-0-y2s renamed to recovery.img

    open cmd prompt in folder

    compress with lz4:

    Code:
    lz4 -B6 --content-size recovery.img recovery.img.lz4

    recovery.img.lz4 copied to extracted folder, overwriting original (outdated) recovery

    cache.lz4 copied to folder containing lz4, imgextractor and make_ext4fs binaries (my working files for Windows attached)

    cache.img.lz4 decompress:

    Code:
    lz4.exe -d cache.img.lz4

    image extract:

    Code:
    ImgExtractor.exe cache.img

    gives you a folder: cache_

    edit cache_/recovery/openrecoveryscript and add/remove any lines to install zip files

    (this is where i added/removed lines for the twrp logo patcher and bluetooth patcher)

    add/remove/edit/update any zip files to cache_/recovery/ folder you wish to be flashed

    (this is where i added/removed filees for the twrp logo patcher and bluetooth patcher)

    make img of, and compress, cache_ folder:

    Code:
    make_ext4fs.exe -s -l 12M -a cache cache.img cache_/
    
    lz4 -B6 --content-size cache.img cache.img.lz4

    note: you may need to increase the size (12M) in make_ext4fs line if you add more zips than i used, the command will fail until you increase to the correct size to hold the contents - just add 1M at a time till it completes....conversely you *can* reduce the size if you remove zips....

    move cache.img.lz4 to original extracted folder and overwrite

    finally select the 4 files in the original extracted folder and create a new tar - on windows this is easiest done with 7-Zip

    Edit (19/10/2022):

    Updated AIO files with twrp-3.7.0_11-0-y2s recovery image
    2
    Good to see you here, I will make use of this. Thanks, I hope to see you playing with roms!
    I dont have s20 so Im limited what I can make
    2
    Just updated to A13 on a S20+ [SM-G986U1] with the AIO - thank you for making it super easy to update!