How to update firmware if used twrp and custom kernel ? - Samsung Galaxy S9 Questions & Answers

Hello guys , I used twrp and custom kernel on stock rom , how I can update the firmware ?

leap_ahead said:
Hello guys , I used twrp and custom kernel on stock rom , how I can update the firmware ?
Click to expand...
Click to collapse
Go to settings depending on the rom its somewhere im device info

kpwnApps said:
Go to settings depending on the rom its somewhere im device info
Click to expand...
Click to collapse
I dont think

You cannot update firmware if you've tripped Knox.
You will have to flash firmware in TWRP.
Check out Soldier thread on here. He has custom ROM and firmwares

basicreece said:
You cannot update firmware if you've tripped Knox.
You will have to flash firmware in TWRP.
Check out Soldier thread on here. He has custom ROM and firmwares
Click to expand...
Click to collapse
You can but only on unrooted device

leap_ahead said:
Hello guys , I used twrp and custom kernel on stock rom , how I can update the firmware ?
Click to expand...
Click to collapse
As far as i'm aware you cannot update stock firmware through twrp. You will have to use Odin or smartswitch.
Custom ROMs/Kernels can be updated via twrp.
As for your other question as to what to backup in twrp I would backup all partitions ( complete ).
You can restore all or seperate partitions as needed .
If you upgrade your firmware (via Odin) it will replace twrp with stock recovery. I would recommend backing up apps/data by something like smartswitch in case you have issues re-installing twrp.( I would do this any way ). I'm pretty sure if you restore via twrp only the data partition would be needed.

spawnlives said:
As far as i'm aware you cannot update stock firmware through twrp. You will have to use Odin or smartswitch.
Custom ROMs/Kernels can be updated via twrp.
As for your other question as to what to backup in twrp I would backup all partitions ( complete ).
You can restore all or seperate partitions as needed .
If you upgrade your firmware (via Odin) it will replace twrp with stock recovery. I would recommend backing up apps/data by something like smartswitch in case you have issues re-installing twrp.( I would do this any way ). I'm pretty sure if you restore via twrp only the data partition would be needed.
Click to expand...
Click to collapse
So.if i flash firmware with odin and . I will flash twrp again the data need to wipe?

leap_ahead said:
So.if i flash firmware with odin and . I will flash twrp again the data need to wipe?
Click to expand...
Click to collapse
You will still have to format the data partition after re-imsalling twrp even with the latest 3.3.0.0 version.
From your other thread there are two ways to update twrp
In twrp flash the .IMG file
With Odin flash the .IMG.TAR file

Related

[Q] Get back to stock ROM

I'm currently running Viper X ROM on my HOX and i want to go back to stock for the JB OTA. I've made a back up in clockwork mod before flashing custom ROM.
Can i just restore the back up or do i need to do something else before? I'm a bit concerned because i had to flash boot.img from Viper X ROM before flashing the ROM itself.
So, do i need to flash boot.img from my backed up folder (stock ROM backup) or can just restore it? Or do i need to do something else?
In order to be able to update you need to flash the stock boot.img from the backup the backup stock rom and the stock recovery .....
MarcelHofs said:
In order to be able to update you need to flash the stock boot.img from the backup the backup stock rom and the stock recovery .....
Click to expand...
Click to collapse
so i flash the stock boot.img and in recovery mode restore the backup with clockwork mod?
yes, flash the boot.img boot into recovery and wipe everything except sd card and then restore the backup. After that flash the stock recovery and you are good to go
MarcelHofs said:
yes, flash the boot.img boot into recovery and wipe everything except sd card and then restore the backup. After that flash the stock recovery and you are good to go
Click to expand...
Click to collapse
a few more questions (noob)
when i flash the boot.img and then restore the backup can i use my phone normally then or do i need to flash the stock recovery?
will my phone still be rooted if i flash stock recovery or not?
will i be able to get an OTA update without flashing stock recover(if possible)/will rooted phones get OTA?
is the stock recovery CID specific or is ti model universal and where can i dl one?
schwarld said:
a few more questions (noob)
when i flash the boot.img and then restore the backup can i use my phone normally then or do i need to flash the stock recovery?
will my phone still be rooted if i flash stock recovery or not?
will i be able to get an OTA update without flashing stock recover(if possible)/will rooted phones get OTA?
is the stock recovery CID specific or is ti model universal and where can i dl one?
Click to expand...
Click to collapse
1: Phone will work with stock boot.img and backup
2:root is rom related not recovery related. The stock rom backup should be root free to receive ota's
3:stock recovery is absolutely necessary to receive ota's
4:stock recovery is related to the main version
Fastboot getvar version-main
Check if it is the 1.29 or the 2.17 version. You need the recovery corresponding to that number. Example if you need the 2.17 recovery you can download any stock recovery that starts with that number !
http://forum.xda-developers.com/showthread.php?t=1859714
Stock recovery's can be downloaded from there .
MarcelHofs said:
1: Phone will work with stock boot.img and backup
2:root is rom related not recovery related. The stock rom backup should be root free to receive ota's
3:stock recovery is absolutely necessary to receive ota's
4:stock recovery is related to the main version
Fastboot getvar version-main
Check if it is the 1.29 or the 2.17 version. You need the recovery corresponding to that number. Example if you need the 2.17 recovery you can download any stock recovery that starts with that number !
http://forum.xda-developers.com/showthread.php?t=1859714
Stock recovery's can be downloaded from there .
Click to expand...
Click to collapse
sorry to bother you again
can i use recovery.img from my stock rom backup?
Download it again preferred
I would suggest its always better to download it again
schwarld said:
sorry to bother you again
can i use recovery.img from my stock rom backup?
Click to expand...
Click to collapse
If you made the the backup with the custom recovery you can not use that one because it wil be the custom recovery cwm 5.8.4.0 so that's a no go
You have to download the real stock recovery !
MarcelHofs said:
If you made the the backup with the custom recovery you can not use that one because it wil be the custom recovery cwm 5.8.4.0 so that's a no go
You have to download the real stock recovery !
Click to expand...
Click to collapse
my cid just got jb update and i restored my backed up stock rom
i am downloading the jb ota right now and i still have root access, but you said my phone needs to be root free
so what should i do?
schwarld said:
my cid just got jb update and i restored my backed up stock rom
i am downloading the jb ota right now and i still have root access, but you said my phone needs to be root free
so what should i do?
Click to expand...
Click to collapse
It doesn't need to be root free. It does need to be stock, as in, all the apps are there and unmodified.
BenPope said:
It doesn't need to be root free. It does need to be stock, as in, all the apps are there and unmodified.
Click to expand...
Click to collapse
Ow yes sorry my bad
I always play on the safe side

[Q] Unsure how to get to latest update - Rooted Stock

I currently have Stock 4.2.2 Rom - S-Off - Rooted - TWRP
How can I get to the newest Stock 4.3 (Radios, etc) ?
Is it easier to just flash stock recovery, then take the update, then flash TWRP and superuser back?
Or has someone made the update into a root-friendly flash-able zip yet?
Thanks in advance if this is a dumb question, but I wanted to ask so I get it right the first time.
sdlucky7 said:
I currently have Stock 4.2.2 Rom - S-Off - Rooted - TWRP
How can I get to the newest Stock 4.3 (Radios, etc) ?
Is it easier to just flash stock recovery, then take the update, then flash TWRP and superuser back?
Or has someone made the update into a root-friendly flash-able zip yet?
Thanks in advance if this is a dumb question, but I wanted to ask so I get it right the first time.
Click to expand...
Click to collapse
Look here >>>>
santod040 said:
Look here >>>>
Click to expand...
Click to collapse
Thanks for the info...
So I can just flash these with no loss of data? Or do will I need to restore data after I flash the rom?
My plan would be:
1) flash "Odexed Full ROM"
2) flash "2.10.605.1 firmware"
That should put me latest update stock right? (I might need to re-flash superuser)
I can flash all of this through TWRP?
sdlucky7 said:
Thanks for the info...
So I can just flash these with no loss of data? Or do will I need to restore data after I flash the rom?
My plan would be:
1) flash "Odexed Full ROM"
2) flash "2.10.605.1 firmware"
That should put me latest update stock right? (I might need to re-flash superuser)
I can flash all of this through TWRP?
Click to expand...
Click to collapse
You cannot flash the firmware in twrp.
It has to be done following the instructions in the post.
I would do firmware and then the rom.
Put the rom on your internal storage before flashing the rom.
Flash the firmware as instructed, then in recovery flash the rom, reboot.
Do not try to reboot in between, it wont work.
If you do it in that order you won't have to wipe, you will be on the latest OTA and have a rooted boot.img.
Supersu is installed already. You can prevent it from updating or flash the newest one here.
Read the OP and post#2 and follow it you should be fine.
Yes you want odex coming from full stock...
Thank you for all of the help santod040 !!
Your files and instructions worked perfectly.
I'll make sure to check in on your threads when the 4.4 update comes around.

[Q] Update Baseband - From M919Uvufnk2 To M919Uvufoh3

Hi,
Am on CM12.1, T-Mobile Galaxy S4 SGH-M919, Rooted, Android 5.1.1
How i can update the Baseband - From M919Uvufnk2 To M919Uvufoh3 using TWRP?
You can't. You have to use Odin.
HampTheToker said:
You can't. You have to use Odin.
Click to expand...
Click to collapse
Ok, i can use ODIN. But from where i can find the baseband for rooted custom ROM (CM) SGH-M919?
My method...Backup your current rom. Odin the oh3 stock release, odin cf root, odin twrp, backup the new stock rom, restore prior backup.
Sent from my SM-T320 using XDA Premium HD app
mgp53 said:
My method...Backup your current rom. Odin the oh3 stock release, odin cf root, odin twrp, backup the new stock rom, restore prior backup.
Sent from my SM-T320 using XDA Premium HD app
Click to expand...
Click to collapse
Hmmm...thats what i am actually thinking as of now....but looking for easy alternative like if we get the flashable zip or something of this baseband i can just flash it without taking backup of ROM and reinstall the ROM etc.....
But am looking for a site where i can download these basebands....
i take it you are trying to update the modem/baseband ihere you go. Must be done thru odin.
http://forum.xda-developers.com/galaxy-s4-tmobile/general/foh3-modem-bin-mdl-bootloader-t3191094
IMPORTANT: DO NOT CHANGE THE BOOTLOADER unless u KNOW EXACLY what you are doing...changing bootloader to the wrong bootloader will brick your device and some modem packages conatin bootloader. so make sure that you are getting a ODIN file that only contains the modems and no bootloader!
if you wish to properly update the bootlaoder and baseband properly ....just ODIN the OFFICIAL samsung release for your device and then re-root and reinstall recovery and then your rom.
XeoNoX said:
i take it you are trying to update the modem/baseband ihere you go. Must be done thru odin.
http://forum.xda-developers.com/galaxy-s4-tmobile/general/foh3-modem-bin-mdl-bootloader-t3191094
IMPORTANT: DO NOT CHANGE THE BOOTLOADER unless u KNOW EXACLY what you are doing...changing bootloader to the wrong bootloader will brick your device and some modem packages conatin bootloader. so make sure that you are getting a ODIN file that only contains the modems and no bootloader!
if you wish to properly update the bootlaoder and baseband properly ....just ODIN the OFFICIAL samsung release for your device and then re-root and reinstall recovery and then your rom.
Click to expand...
Click to collapse
Perfect....I will use this one....
And on S4 you don't even need to root before flashing TWRP and your ROM of choice. Just double flash the stock release with ODIN, let it boot up and make sure all is well, go into Camera to let it see if it needs a firmware update (happens automatically first time you run stock camera app), and when satisfied your phone is good, go into download mode, take TWRP + whatever else you want.

Go back to Stock ROM from Custom ROM

Hey everyone. I'm having some troubles with every custom ROM I install on my S3 T-Mobile (d2tmo) so I want to come back to Stock ROM. I've been watching some tutorials, but lot of them are pretty old, and none is for the Galaxy S3.
So, what do I need to do to go back to Stock ROM?
Should I do a full wipe from recovery (TWRP) and then flash stock ROM via Odin?
The custom ROM I flashed is 6.0.1. The phone had 4.3 when I flashed the custom ROM.
Am I right about what I think I should do?
Thanks in advance. :good:
Yep. The firmware you'll use in Odin should be a .tar.md5 file.
Just flash the latest stock rom from sammobile.com using Odin. No need to do anything before flashing the stock ROM.
After flashing the stock ROM, immediately boot into recovery and perform a factory wipe.
audit13 said:
Just flash the latest stock rom from sammobile.com using Odin. No need to do anything before flashing the stock ROM.
After flashing the stock ROM, immediately boot into recovery and perform a factory wipe.
Click to expand...
Click to collapse
tonytien said:
Yep. The firmware you'll use in Odin should be a .tar.md5 file.
Click to expand...
Click to collapse
Thank you very much for answering my questions guys! Everything turned out ok!
But I have a doubt about a little think that I hope you could help me.
Before flashing the stock rom I was planning on backing up my efs folder from the TWRP,version 2.8.70 for my s3 (d2tmo), but when I try to do a backup, there no "EFS Folder" option, however, on my other phone, a Galaxy Note 3 Exynos Variant (International Version) when I try to perform a backup there is a EFS folder option for backing up. It is also a TWRP recovery, and same version. 2.8.7.0. I know the phones are completely different, but, why if I'm using the same custom recovery and same version I can't do a EFS Folder backup from the backup option?
I hope I made myself clear about my question. Sorry for my English BTW, it is not my first language.
Thanks in advance!
Maybe this will help although it requires root: http://forum.xda-developers.com/s6-edge-plus/development/updating-t3210266

How to get update.zip for stock firmware update via TWRP

Hi,
I am running stock Android 9.0 firmware on my Samsung Galaxy S9 (SM-G950F) with TWRP recovery and Magisk.
I want to update my firmware to a newer stock Android 9.0 firmware by flashing it as update.zip in TWRP, without formatting data.
I have downloaded the ODIN flashable firmware from sammobile, but this is not a TWRP flashable zip.
Where do I get an update.zip or how can I genereate it?
Thanks,
Stefan
Stefan6183 said:
Hi,
I am running stock Android 9.0 firmware on my Samsung Galaxy S9 (SM-G950F) with TWRP recovery and Magisk.
I want to update my firmware to a newer stock Android 9.0 firmware by flashing it as update.zip in TWRP, without formatting data.
I have downloaded the ODIN flashable firmware from sammobile, but this is not a TWRP flashable zip.
Where do I get an update.zip or how can I generate it?
Thanks,
Stefan
Click to expand...
Click to collapse
uhm... wut? You cant do what youre asking. Youll have to get a compiled ROM and flash it. I dont have a rootable version of the S9, so im not familiar with the ROMs that are available, but are there not any 9.0 ROMs you can flash?
Actually, I would also switch to an already compiled ROM, if it wold be possible to do without wiping the data partition. But all ROMs have this as a prerequisite, if you switch to them from a stock ROM.
I will probably try to flash the stock firmware via ODIN with Home_CSC, although this is riskier than flashing the firmware via TWRP.
A better way, as I understand would be to get a Samsung OTA firmware file. Since https://firmware.science is down, does someone know an alternative?
Stefan6183 said:
Actually, I would also switch to an already compiled ROM, if it wold be possible to do without wiping the data partition. But all ROMs have this as a prerequisite, if you switch to them from a stock ROM.
I will probably try to flash the stock firmware via ODIN with Home_CSC, although this is riskier than flashing the firmware via TWRP.
A better way, as I understand would be to get a Samsung OTA firmware file. Since https://firmware.science is down, does someone know an alternative?
Click to expand...
Click to collapse
you dont flash firmware in TWRP, just ROMs. And if you flash a deodexed stock ROM that has the same base as yours, you shouldnt need to wipe
Flashing a deodexed stock ROM sounds good. By same base do you mean the baseband version (G950FXXU4CRKB in my case) or the build number (R16NW.G950FXXS4CRLB)?
Stefan6183 said:
Flashing a deodexed stock ROM sounds good. By same base do you mean the baseband version (G950FXXU4CRKB in my case) or the build number (R16NW.G950FXXS4CRLB)?
Click to expand...
Click to collapse
baseband

Categories

Resources