Hi, I tried to upgrade rooted A12s without needing a wipe with the instructions I found for other Samsungs through odin (instead of putting the CSC file in the CSC I put the Home), but after the installation, finally a Wipe was needed, has anyone else tried it or knows any other way?
Related
Hi,
I've a G930F stock rooted with TWRP and SuperSU. The phone has the DBT (Germany unbranded) CSC. I'm looking for a "least effort" way to update it with Odin w/o having to restore data all the time.
What I tried:
Flash whole stock firmware (AP, BL, CP, CSC (not HOME_CSC))
reboot right back into download mode
flash TWRP
Boot into TWRP
Flash SuperSU
Reboot phone
This works at a first glance, but messes up my CSC. Apparently the DBT CSC is a multi CSC, containing DTM (Germany T-Mobile) as well. My phone has some T-Mobile specific configuration entries and CSC-dependent stuff like entering *#1234# in the phone app to get the CSC no longer work.
What does work:
Flash whole stock firmware (AP, BL, CP, CSC (not HOME_CSC))
Reboot phone
Phone now does a factory reset and encrypts /data
Reboot into download
Flash TWRP
Reboot into TWRP
Format data and restore data backup
Flash SuperSU
Reboot phone
Afterwards the update is complete and the CSC is good. But I'd like to avoid the additional steps.
When searching in the forum I got the impression that flashing the HOME_CSC instead of the CSC might be the solution in my case. Can anyone confirm this?
Where exactly does the G930F store the "active CSC" in case of a mutil-CSC? Apparently my short way to update the phone destroys that information.
@Vardion
I wonder if you got your problem solved?
I happen to have the same firmware as you and also want to manually update - since I got twrp and Magisk, Sammy withholds the security updates for me.
As Roberto W. pointed out to me flashing only the CSC_HOME.... from the downloaded firmware should do the job. The same information actually appears at the SamMobile site which states in Point (2) to the right:
Add each file to it's respective field in Odin v3.13.3. Use CSC_*** if you want to do a clean flash or HOME_CSC_*** if you want to keep your apps and data.
Do let me know how things worked out.
Cheers!
Hi,
I would like to root my samsung galaxy s7 sm-g930f with android 7.0 and firmware phn.
I tried to root my phone with CF-Auto-Root-herolte- and odin but I made something wrong (probably not using the most recent file version or odin version) and my phone was blocked.
Then I flashed a new stock version to resolve the problem.
Now I would like to know if this method is correct (without installing twrp) and if is it possible root the phone without erasing all my data.
thank you
gnogno1985 said:
Hi,
I would like to root my samsung galaxy s7 sm-g930f with android 7.0 and firmware phn.
I tried to root my phone with CF-Auto-Root-herolte- and odin but I made something wrong (probably not using the most recent file version or odin version) and my phone was blocked.
Then I flashed a new stock version to resolve the problem.
Now I would like to know if this method is correct (without installing twrp) and if is it possible root the phone without erasing all my data.
thank you
Click to expand...
Click to collapse
If you want to root I would recommend you to use Magisk but a fsctory reset is mandatory if you want to do this as you will have to flash TWRP to install it and since the encryption changes when you install a custom recovery you will need to use the format data option under the Wipe menu in TWRP and that will factory reset your phone. So make a backup first.
If you decide to do this. Use the format data option then reboot to recovery and after that flash magisk zip. After that reboot to system and wait.
Sent from my SM-G930F using Tapatalk
Hello!
I run Samsung's official FW build R16NW.G930XXS3ERL7, latest Magisk, and some root apps (incl. Xposed Framework, e.g. AFWall+, Firefds Kit [set to fake device status to "Official", but the info further below - above the charging status "DC 9 V; 1.67 A" - nevertheless shows "RATED"], MinMinGuard, XPrivacyLua). From time to time, apps get force-closed and my device gets slow.
Now I wonder if it would help to flash the latest available official FW from Samsung for my device right over the existing one. We call this "dirty-flash", right?
Would you agree that this works or would you rather wipe everything (after backing up essential data, of course) and do a clean flash?
The latter would give me the opportunity to clean up unneeded stuff.
How should I backup the device's many settings and the individual apps' settings? I do not like the available cloud services from Google or Samsung to backup settings and I heard that restoring apps' settings later via e.g. TitaniumBackup (I have the paid pro version) could cause severe problems. Any alternatives (for restoring device's and apps' settings?
In any case, I would first do a binary backup via TWRP to be able to revert everything if nothing works after flashing.
Do you have any other hints for me?
Thank you so much!
PS: Sorry if this is the wrong place/forum for my questions. In that case, I would like to politely ask the moderators to move my post to where it fits better (and might attract more attention/replies )
Dirty flashing usually refers to flashing in TWRP over top the existing install without wiping.
But if you flash via Odin, depending what you flash, it will either be a full wipe and load. Or it will update the same way an OTA update applies.
Also from memory if you flash AP in Odin it's going to blow away your TWRP and restore it to stock recovery, so make sure you copy your TWRP backup off the device before continuing.
If just going official Samsung to another official Samsung FW, then TitaniumBackup should work fine.
Thanks for your reply!
Am I right that I can flash TWRP via Odin immediately after having flashed the new Samsung firmware also via Odin?
Which of the CSC files is the one that should be flashed via Odin (AP) so as not to loose settings etc.? If my recollection is correct, there are usually 2 flavours of the CSC file in the firmware package, one of them to flash with wiping everything, the other to fish as if it was an update (like OTA). Right?
Can a custom kernel also be flashed via Odin? Which first: kernel, then new firmware, then TWRP or in another order?
Thanks once more for your hints!
7wells said:
Thanks for your reply!
Am I right that I can flash TWRP via Odin immediately after having flashed the new Samsung firmware also via Odin?
Which of the CSC files is the one that should be flashed via Odin (AP) so as not to loose settings etc.? If my recollection is correct, there are usually 2 flavours of the CSC file in the firmware package, one of them to flash with wiping everything, the other to fish as if it was an update (like OTA). Right?
Can a custom kernel also be flashed via Odin? Which first: kernel, then new firmware, then TWRP or in another order?
Thanks once more for your hints!
Click to expand...
Click to collapse
HOME_CSC won't wipe anything, if you flash just CSC it will wipe all your data. Flash kernel in twrp.
1st - New firmware, 2nd - TWRP, 3rd - kernel.
Thank you so much!
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
I Do Not Recommend Mixing Bit 1 With Higher Firmware!!!!
Unless Using Bit Safe Firmware That Is Patched
Downloads
SM-G781U/U1/W- Model
USERDATA_AIO_S20FE_5G_FORCE_WIPE_10_10_21.tar.md5
This will force a wipe of data no mater what.
Full Odin 3.1.1 Bit1 Safe Firmware
G781USQS6DUI1_BIT1_SAFE.7z Thanks @markfm
This are odin files and will safely update all image files too bit 4 and keep bit 1 bootloaders. Unfortunately this will wipe data this is beyond my control as it seems to be a side affect of mixing firmware it causes data not to mount and therefore my AIO will format it. This is full firmware with USERDATA_AIO. This will put you on U firmware. Before flashing I recommend removing your google account and make sure in download mode you are not frp locked
If above USERDATA_AIO_G78*_FORCE_WIPE_NO_BL is newer than the one in this zip use the newer one from above
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_G78*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_G99*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_G78*_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_G78*_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
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
Xylvion for testing s21
dark11b for testing s21
Info For U Model Bootloader Unlocking Can Be Found
[Android][UNSAMLOCK] Bootloader Unlock for Samsung US/Canada Devices
This thread is @svetius approved Important notice: Do not update to April 2023 security update (XXXXXXXXXXWCX) or later. Examples: G998USQS6EWCA, N986USQU4HWD1. Samsung has patched the bootloader unlock again on those updates. NOTE: The OneUI...
forum.xda-developers.com
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
jrkruse said:
G781U / Twrp
Click to expand...
Click to collapse
Evening
Will this work on the G781B?
Does your version of twrp support the external SD card?
b1k3rdude said:
Evening
Will this work on the F781B?
Does your version of twrp support the external SD card?
Click to expand...
Click to collapse
im sure it will work on that mode. I use afaneh’s twrp so if it works for you then it will work I imagine
jrkruse said:
im sure it will work on that mode.
I use afaneh’s twrp so if it works for you then it will work I imagine
Click to expand...
Click to collapse
I dont follow, did you mean device?
afaneh’s twrp dosent support external SD card access yet (see his thread).
b1k3rdude said:
I dont follow, did you mean device?
afaneh’s twrp dosent support external SD card access yet (see his thread).
Click to expand...
Click to collapse
Then flash different twrp when done. I don’t have the device so im not sure
jrkruse said:
Then flash different twrp when done. I don’t have the device so im not sure
Click to expand...
Click to collapse
Unfortunatly his is the only one that works, hence asking about yours when your thread appeared.
b1k3rdude said:
Unfortunatly his is the only one that works, hence asking about yours when your thread appeared.
Click to expand...
Click to collapse
Sorry but I just use his twrp so I guess the problem will persist
jrkruse said:
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 magisk 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-G781U/U1- Model
USERDATA_AIO_G781_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_G781_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_G78*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_G78*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_G78*_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_G78*_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
Click to expand...
Click to collapse
Is that this model SM-G781UZBZAIO thats from samsung website for cricket model which I expect shortly. Ive used odin before .
jrkruse said:
im sure it will work on that mode. I use afaneh’s twrp so if it works for you then it will work I imagine
Click to expand...
Click to collapse
So you can make twrp backup in recovery mode to your external storage?
Tigerevo said:
So you can make twrp backup in recovery mode to your external storage?
Click to expand...
Click to collapse
did you even read the above post. I think this has been answered. The answer is no
Van u help me to pay for bootloader unlock fro samsung s20 f3 sm-g78u
CHINOGAMBINO said:
Van u help me to pay for bootloader unlock fro samsung s20 f3 sm-g78u
Click to expand...
Click to collapse
if you got the phone via a network you're paying your monthly bills with money, if you bought the phone outright you paid for it with money. unless you've bought a stolen or lost phone for very very cheap you have money.
Can you pleaseeeee make it for u2????!!!!
Hi, could you please share the method ?
I would like to do the same on G781B with CSC XEF:
Download Samsung Galaxy S20 FE 5G SM-G781B XEF France firmware
All Samsung firmwares for Galaxy S20 FE 5G in France with model code SM-G781B. We offer free and fast download options. Check them out now.
www.sammobile.com
Deleted - dumb question...
So why TWRP cannot access external SD card? Back in the day when I had Motorola X Pure Edition unlocked and rooted with TWRP installed I was using my SD card as the backup location. What differs?
Hitti2 said:
So why TWRP cannot access external SD card? Back in the day when I had Motorola X Pure Edition unlocked and rooted with TWRP installed I was using my SD card as the backup location. What differs?
Click to expand...
Click to collapse
the dev doesn't actually have the phone in his hands and google has changed how android works quite a bit under the hood.
Can you elaborate on how the safetynet is fixed
does it use the kdrag0n module
is this working on SM-G781W ?
How can i install an OTA update and maintain root ?
I have rooted using TWRP 3.5 and Magisk 22
I've found several instructions using the “TWRP A/B Retention Script”
but since the Samsung A8 (2018) has an A-Only (or non A/B) partition scheme
i am left in the dark ...
ReMiOS said:
How can i install an OTA update and maintain root ?
I have rooted using TWRP 3.5 and Magisk 22
I've found several instructions using the “TWRP A/B Retention Script”
but since the Samsung A8 (2018) has an A-Only (or non A/B) partition scheme
i am left in the dark ...
Click to expand...
Click to collapse
Why not download and flash firmware updates manually?
For me, official OTA updates are often too late. I want to install an update as soon as I can get my hands on it.
It_ler said:
Why not download and flash firmware updates manually?
For me, official OTA updates are often too late. I want to install an update as soon as I can get my hands on it.
Click to expand...
Click to collapse
Seems like a good idea, but how can i install a OTA manually ?
ReMiOS said:
Seems like a good idea, but how can i install a OTA manually ?
Click to expand...
Click to collapse
I use Frija (https://forum.xda-developers.com/t/tool-frija-samsung-firmware-downloader-checker.3910594/) to check for and download latest stock Samsung firmware files. Then I use Odin to flash it to my phone.
It_ler said:
I use Frija (https://forum.xda-developers.com/t/tool-frija-samsung-firmware-downloader-checker.3910594/) to check for and download latest stock Samsung firmware files. Then I use Odin to flash it to my phone.
Click to expand...
Click to collapse
Thanks for your reply
When using Frija and Odin wil this wipe my data ?
Or will the phone-data be untouched and also the TWRP Root (Magisk) ?
ReMiOS said:
Thanks for your reply
When using Frija and Odin wil this wipe my data ?
Or will the phone-data be untouched and also the TWRP Root (Magisk) ?
Click to expand...
Click to collapse
Downloading with Frija does nothing on your device.
Flashing firmware files with Odin will overwrite the corresponding system partitions ... and when flashing another CSC file, you may have to wipe data partition to get the device rebooting into system again.
But as long as you do not flash another CSC file (I always use Home_CSC file to stay on my current CSC), data partition will not be overwritten or wiped.
Concerning root / Magisk IDK. If you have changed something in system partitions for rooting the device, this may be overwritten by flashing the stock Samsung firmware. In this case, you will have to do the needed changed again for rooting the device.
As I am not rooted with Magisk ATM, I am not familiar with the exact steps. I heard about "patching" a system file, but better to ask someone more familiar with rooting with Magisk.
BTW... after flashing stock firmware, will have stock recovery. No more TWRP. If you want/need it back, you will have to flash TWRP recovery again afterwards.
It_ler said:
Downloading with Frija does nothing on your device.
Flashing firmware files with Odin will overwrite the corresponding system partitions ... and when flashing another CSC file, you may have to wipe data partition to get the device rebooting into system again.
But as long as you do not flash another CSC file (I always use Home_CSC file to stay on my current CSC), data partition will not be overwritten or wiped.
Concerning root / Magisk IDK. If you have changed something in system partitions for rooting the device, this may be overwritten by flashing the stock Samsung firmware. In this case, you will have to do the needed changed again for rooting the device.
As I am not rooted with Magisk ATM, I am not familiar with the exact steps. I heard about "patching" a system file, but better to ask someone more familiar with rooting with Magisk.
BTW... after flashing stock firmware, will have stock recovery. No more TWRP. If you want/need it back, you will have to flash TWRP recovery again afterwards.
Click to expand...
Click to collapse
GitHub - Magisk-Modules-Repo/twrp-keep: twrp-keep
twrp-keep. Contribute to Magisk-Modules-Repo/twrp-keep development by creating an account on GitHub.
github.com
It's called a TWRP retention script.