How to get update.zip for stock firmware update via TWRP - Samsung Galaxy S9 Questions & Answers

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

Related

Stock 4.4.2 Bootloader?

Wanting to drop stock(latest) back onto my phone as the person buying it wants that. I want to say I remember reading I needed a newer bootloader for 4.4.2. I got my device on launch and got tired of waiting and went to CM11.
What if anything other than clearing data/cache and flashing the stock deodexed/rooted ROM would I need to do? If there is a bootloader, is it a separate odin file? or flashable .zip?
muqali said:
Wanting to drop stock(latest) back onto my phone as the person buying it wants that. I want to say I remember reading I needed a newer bootloader for 4.4.2. I got my device on launch and got tired of waiting and went to CM11.
What if anything other than clearing data/cache and flashing the stock deodexed/rooted ROM would I need to do? If there is a bootloader, is it a separate odin file? or flashable .zip?
Click to expand...
Click to collapse
If you're on 4.3 still you will have to Odin a stock 4.3 firmware on to the phone. You can not have a custom recovery on the phone so the Odin way will also replace the custom recovery with stock recovery. Then once your phone is stock, you can then take the update to 4.4.2
If I'm not mistaken, you should download the 4.4.2 fw and Odin that on you phone as well. Even though you are Odining your new fw, the phone must be fully stock or that update will still fail.
Eric214 said:
If you're on 4.3 still you will have to Odin a stock 4.3 firmware on to the phone. You can not have a custom recovery on the phone so the Odin way will also replace the custom recovery with stock recovery. Then once your phone is stock, you can then take the update to 4.4.2
If I'm not mistaken, you should download the 4.4.2 fw and Odin that on you phone as well. Even though you are Odining your new fw, the phone must be fully stock or that update will still fail.
Click to expand...
Click to collapse
Well I was on 4.3 stock then went to Cyanogen 4.4.2. I've now got the deodexed/rooted stock 4.4.2 from the forum here and was able to boot it using leankernel. It works and the buyer is satisfied with it. He know how to flash updated ROMs so he can change later anyway. Thanks for the response though, I was thinking noone was gonna answer.
re: latest stock rom
muqali said:
Wanting to drop stock(latest) back onto my phone as the person buying it wants that. I want to say I remember reading I needed a newer bootloader for 4.4.2. I got my device on launch and got tired of waiting and went to CM11.
What if anything other than clearing data/cache and flashing the stock deodexed/rooted ROM would I need to do? If there is a bootloader, is it a separate odin file? or flashable .zip?
Click to expand...
Click to collapse
If you want the newest/latest official stock N900T KitKat firmware why not do the following:
You need to download and Odin flash the official stock KitKat N900T NE6 firmware.
Here is the direct fast download link for it:
http://www.androidfilehost.com/?fid=23501681358537528
The above zip file also contains Odin, CF-Autoroot and TWRP 2.7.0.1 recovery.
Be sure to go into recovery before Odin flashing NE6 and do a factory data reset
and a full wipe. Optional: Then Odin flash cf-autoroot and the TWRP 2.7.0.1.
If you want more information and or instructions here is the link:
http://forum.xda-developers.com/show...60&postcount=2
If you want the older official stock N900T 4.4.2 NB4 KitKat rom you can
download it from: http://tekunix.com/downloads/TMB-N900TUVUCNB4-20140305155920.zip
and Odin flash it instead of the stock NE6 official N900T firmware.
Both the older and newer official Kitkat stock roms come with the required bootloaders/baseband.
Good luck!
Misterjunky said:
If you want the newest/latest official stock N900T KitKat firmware why not do the following:
You need to download and Odin flash the official stock KitKat N900T NE6 firmware.
Here is the direct fast download link for it:
http://www.androidfilehost.com/?fid=23501681358537528
The above zip file also contains Odin, CF-Autoroot and TWRP 2.7.0.1 recovery.
Be sure to go into recovery before Odin flashing NE6 and do a factory data reset
and a full wipe. Optional: Then Odin flash cf-autoroot and the TWRP 2.7.0.1.
If you want more information and or instructions here is the link:
http://forum.xda-developers.com/show...60&postcount=2
If you want the older official stock N900T 4.4.2 NB4 KitKat rom you can
download it from: http://tekunix.com/downloads/TMB-N900TUVUCNB4-20140305155920.zip
and Odin flash it instead of the stock NE6 official N900T firmware.
Both the older and newer official Kitkat stock roms come with the required bootloaders/baseband.
Good luck!
Click to expand...
Click to collapse
So clear data/factory reset and clear cache in recovery. Reboot into download and flash NE6, then cf-autoroot, then TWRP? I didn't see you say exactly when to flash NE6.

[Q] Questions about going back to stock.

Hey guys,
I was running Cyanogenmod 11 for a while which I installed using the automatic tool online. During the summer I flashed Dirty Unicorns but I have issues with the camera and random rebooting. I just got a Galaxy Gear for Christmas and I've read that its only compatible with touchwiz roms.
I'm trying to go back to stock and I am ok with losing my root access.
I have an SGH-1747m on Baseband I747MVLUEMK5 and my service provider is Bell. The android version is 4.4.4 currently. Whats the easiest method to do this? I've read some concerning information that going back to an earlier version of android will soft brick your phone, but I believe the most current Bell firmware is still in Jelly Bean.
Is it as easy as downloading the correct firmware and flashing it using Clockworkmod Recovery?
Thanks
You should download the stock ROM from sammobile.com and flash it in Odin to get back to stock.
audit13 said:
You should download the stock ROM from sammobile.com and flash it in Odin to get back to stock.
Click to expand...
Click to collapse
The latest version available for my baseband is 4.3. Will I run into problems going from 4.4.4 to 4.3?
Flashing in Odin will flash everything, including the bootloader and modem.
audit13 said:
Flashing in Odin will flash everything, including the bootloader and modem.
Click to expand...
Click to collapse
Thanks. So if I'm understanding correctly I just flash the latest firmware released by my carrier (4.4.2)? Is there anything else to watch out for when choosing the firmware?
Also, before flashing should I make a backup with Clockwork Recovery or any other program? Will Clockwork Recovery still be present after flashing with ODIN?
ZombieLee said:
Thanks. So if I'm understanding correctly I just flash the latest firmware released by my carrier (4.4.2)? Is there anything else to watch out for when choosing the firmware?
Also, before flashing should I make a backup with Clockwork Recovery or any other program? Will Clockwork Recovery still be present after flashing with ODIN?
Click to expand...
Click to collapse
Yes, flash the latest firmware for your phone. Be sure it's firmware for the i747m and not anything else. Always make a backup if you ever screw up or want to go back to where you are now. You will lose everything by flashing the stock firmware with ODIN, even clockwork mod recovery.
Thanks. When I made a backup before going to Dirty Unicorns I used Clockwork Recovery. If Clockwork will be deleted by flashing with ODIN, how would I utilize that backup if I needed it? Should I use another program to back up?
EDIT: I flashed it and everything went smoothly. Sincere thanks to everyone who gave me help!

Flash New bootloader and modem while on Old Rom?

I have a Canadian Galaxy S3, on 4.1.1 DLK4 Official. I rooted it, and have TWRP.
I want to upgrade my rom to a CM12/13 but of course with root and custom recovery, OTA updates are blocked.
I need newer bootloaders and modem to run the newer android versions.
Should I install them now, while on 4.1.1, and then flash CM12, or should I sequentially update each of the AT&T firmwares until I get up to 4.4.2?
Do official roms have the bootloaders and modems in them and install them automatically?
Should I use the Kies restore method?
The Canadian and att s3 phones are not the same model number. Don't flash an att bootloader to your Canadian phone as this may brick the phone.
Flash latest stock rom from Sammobile.com, flash twrp, flash cm.
audit13 said:
The Canadian and att s3 phones are not the same model number. Don't flash an att bootloader to your Canadian phone as this may brick the phone.
Flash latest stock rom from Sammobile.com, flash twrp, flash cm.
Click to expand...
Click to collapse
Okay, but i can use AT&T roms tho?
The i747m will work with d2can, d2lte, and d2att Roms.
Is it safe to flash straight from 4.1.1 to 4.4.2 using a sammobile rom? will i brick due to Knox bootloader and modem?
Can I flash it using TWRP?
If someone could link a tutorial that would be very helpful.
I keep reading stuff that says to flash the newer bootloader before flashing a 4.3 firmware, and some that say the opposite. Others say that people should incrementally update.
I want to go from 4.1.1 original with Root and TWRP, to CM13.
Thank you.
Yes, you can flash the latest stock 4.4.2 rom from Sammobile.com directly to your phone. No need to do anything other than backing up your data.
audit13 said:
Yes, you can flash the latest stock 4.4.2 rom from Sammobile.com directly to your phone. No need to do anything other than backing up your data.
Click to expand...
Click to collapse
Thank you!
Now I just need to get the balls again to use odin. Flashing the custom recovery using the Universal Tool Kit that had step by step walkthrough was adrenaline rush enough LOL.
I could also use Kies, as that has 4.4.2 OB3 (telus), and also has "emergency firmware recovery" feature if a brick ever happens. Though ideally the only time boot.img gets flashed is only with Full Stock Firmware files.
I find kies to be unreliable when I have tried to restore firmware so I always stuck with Odin.

Newbie Coming with Galaxy S4, Needing Help.

New Phone, Who dis?
Hello, Huskied here, And I am requesting help installing this Nougat safely on this Galaxy S4 on T-Mobile.
Keep in mind, This is still on 4.4.4 KitKat, Haven't installed an update just yet, unrooted, and it's a SGH-M919 type.
Build Number KTU84P .M919UVUFNH7
any help would be appreciated.
Here's what I would do:
Flash the latest stock ROM from Sammobile.com with Odin;
Flash twrp for the m919;
Save the rom and appropriate gapps to the phone's internal storage or sdcard; and
Flash the custom ROM, flash gapps, reboot.
audit13 said:
Here's what I would do:
Flash the latest stock ROM from Sammobile.com with Odin;
Flash twrp for the m919;
Save the rom and appropriate gapps to the phone's internal storage or sdcard; and
Flash the custom ROM, flash gapps, reboot.
Click to expand...
Click to collapse
Thank you. And one more thing, Some ROMs require LP Bootloader. Where can I get that?
Flashing the latest stock ROM will give you the latest bootloader.
audit13 said:
Flashing the latest stock ROM will give you the latest bootloader.
Click to expand...
Click to collapse
Tried today, Couldn't find any stock ROM for the jfltetmo. Found a bootloader that's supposed to boot the ROM I would like, Failed and could only boot into recovery until I restored 4.4.4.
Any thoughts?
If the phone baseband is running these latest fok3 ROM, that is the newest bootloader for the phone as indicated here: https://www.sammobile.com/firmwares/galaxy-s4/SGH-M919/TMB/
Btw, that nougat in the original is not for the m919 so don't flash it as it may hard brick phone.
audit13 said:
If the phone baseband is running these latest fok3 ROM, that is the newest bootloader for the phone as indicated here: https://www.sammobile.com/firmwares/galaxy-s4/SGH-M919/TMB/
Btw, that nougat in the original is not for the m919 so don't flash it as it may hard brick phone.
Click to expand...
Click to collapse
Rip, Thanks for the tip! and also the warning!

How to update firmware if used twrp and custom kernel ?

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

Categories

Resources