Canada - How to download stock 6.01 kernel for backup purposes - Galaxy S 5 Q&A, Help & Troubleshooting

Hello Canada. I'm on Rogers and updated a few days ago to the new 6.01 Marshmallow ROM. I have root. Seems to be not much development work on our device, the G900W8, wanted to try some custom kernels and see if they would work but they all seem to be for the 900F. I'm interested in battery life improvements.
So I wanted to get a stock kernel I could flash in case something goes wrong and it won't boot, or if I just don't like the kernel. Some custom kernels require you to flash from stock rather than other custom kernels.
So how do we get things like kernel and radio out of our new G900W8 download? The download I have from Rogers is G900W8VLU1DPD3_G900W8OYA1DPD3_G900W8VLU1DPD3.

Use 7zip to open archive the stock rom. Then extract boot.img. IMG files can flash via TWRP.

Did some searches, seems like Flashify will do it. Gonna give it a try.

Saquing18 said:
Use 7zip to open archive the stock rom. Then extract boot.img. IMG files can flash via TWRP.
Click to expand...
Click to collapse
Thank you. I grabbed the file boot.img from the downloaded Rogers ROM file and copied to my PC. It has a file size in Windows Explorer of 12319. I also used Flashify to extract it, copied it to the PC, it has a size of 13,312. Wonder why the size difference?

Related

[Q] Where to get Stock Kernel from?

Hi
Is there a way to get a stock kernel somewhere, in the purpose of flashing it either with CWM or in Odin? Everywhere I look, the Stock Rom packages contain the kernel, but also contain system image and recovery. I need only the kernel from this to flash, is there any way to get the kernel from each of this packages, so that I can flash it alone?
lukair1983 said:
Hi
Is there a way to get a stock kernel somewhere, in the purpose of flashing it either with CWM or in Odin? Everywhere I look, the Stock Rom packages contain the kernel, but also contain system image and recovery. I need only the kernel from this to flash, is there any way to get the kernel from each of this packages, so that I can flash it alone?
Click to expand...
Click to collapse
open the stock firmware with 7zip and copy the boot image to desktop
Thank you for taking the time.
So "boot.img" is kernel image?
If so, then once I extract the boot.img, how do I flash it using odin?
lukair1983 said:
Thank you for taking the time.
So "boot.img" is kernel image?
If so, then once I extract the boot.img, how do I flash it using odin?
Click to expand...
Click to collapse
yes boot.img is the kernel.
you can use a special tool to make it a tar file like this
if you want. attach the boot.img here in a zip and i will make it for you
Thanks samersh72. I should probably learn that myself, you did enough for me already. I should be able to take it from here. Thanks again.
Topic can be closed.

how to flash my original 5.1.1 kernel ?

HI everybody
I updated my n910H to 5.1.1 , worked well and decided to flash a custom kernel . also faced to problem with wifi and now i decided to flash my original kernel.
i extracted the boot.img from update package N910HXXU1COH4_N910HOLB1COH4_N910HXXU1COH3_HOME.tar
now, im not sure how to flash it !! via odin or anything else needed
thank u for your help
any help ?????
when I had my S3 if I needed the stock kernel I would simply reflash the stock rom since they usually have the stock kernels built-in
Sent from my SM-N910H using Tapatalk
i dont want to reset my phone , i just want to flash the original kernel
mehdi.moha said:
i dont want to reset my phone , i just want to flash the original kernel
Click to expand...
Click to collapse
Never tried with samsung phones (and probably it is not possible) but with my other android devices I just extract the boot.img from the ROM and flash it with fastboot using the command "fastboot flash boot boot.img".
With a samsung device you should probably (or definitely) create a flashable .zip file with the boot.img of your stock ROM and flash it via recovery.
You need to download your original kernel from net, there are 2 types of file you’ll find, one is .zip and another one is .tar. If you download .zip file you have to flash it with recovery (CWM/TWRP) or if you download .tar file (don't try to make your own .tar file) then you can flash it with Odin tool.

Questions on ROM development

I am able to extract System.img from the 4.4.4 ODEN install and mount it in Ubunto. I can modify the folders and files to remove bloat, etc. I am able to repack back and use FlashFire to flash the 4.4.4 modified firmware.
My question is related to 5.0. I have tried the same method and after several modifled attempts, was able to extract and mount the System.img. After debloating, etc. I tried to repack it the same way but in FlashFire, it fails the MD5 check.
I tried another approach. Instead of repacking the full firmware package, I just created the System.img as a stand alone flash-able package. I then install 5.0 through ODEN, install Root and FlashFire.
When I try to flash my modified System.img through FlashFire, it passes the MD5 and installs successfully but it never boots. It never even makes it to the initial boot screen.
After that, I have to ODEN back again and start over. Any dev's out there that might know what I might be missing or can point me to some documentation on the process for 5.0?
I used SuperR's Kitchen to customize my Note 3's Lollipop, then Flashed via FlashFire.
http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
Looks like the kitchen will make it a lot easier. I checked one out a while back but the dev said it wasn't supported anymore. Thanks!
Sent from my SM-N900V using Tapatalk

How do I restore stock kernel to my Canadian S5

I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
harry_fine said:
I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
Click to expand...
Click to collapse
Wait until you get an expert opinion. I was looking here and there for threads to extract and flash the stock kernel but ended up bricking my device. (No recovery, No bootup, THANK GOD I could access download mode).
I extracted the boot.img but didn't know how to flash it. There was a thread, a script that could turn .img to .tar.md5. I did that and flashed the file through Odin and boom. Stuck at bootlogo. So I try to restore the nandroid backup, but recovery keeps bootlooping.
Had to install stock rom completely through Odin...But it still isn't booting up.
User @nickpatel130285 has shared stock kernel for G900F in this post.
I flashed using that zip file and it worked like charm. So what you can do is replace the boot.img in that zip file with the one which is compatible with your variant and leave the rest as it is. Repack and Flash.
It should work but just in case if you mess things up you'll need to flash stock rom using Odin. So make sure you make a nandroid backup and have a copy on your PC (safely).
Flash at your own risk.

Can i install stock ROM(zip file) using TWRP? N910F

Lot of confusion please help i want to go back to stock for my gear VR
According to
this thread where i posted photos of my phones INFO
I downloaded N910F( UK BTU) 6.0.1 firmware (.ZIP) file
When i tried to flash using TWRP it says ZIP file is corrupted.
I downloaded it from two website
sammobile
and
samsung.org
both are corrupted(it should not be i think)
When i look into it it has only one file .tar.md5
i tried to extarct it using winrar and it says file is corrpted
\BTU-N910FXXS1DQFA-20170726090446.zip: The archive is corrupt
Although it extracted the N910FXXS1DQFA_N910FBTU1DPL1_N910FXXS1DQA1_HOME.tar.md5
In both files i got the same result same
i dont know what to do now
I tried Odin and it stuck at "there is no pit file partition" or something like that
(yes i wiped out cache and system delvik etc.)
I also tried inserting PIT file but no luck
i would prefer without Odin if possible
As I can go into TWRP recovery
Please guide me or at least answer a few question
1. Is it even possible to flash stock rom using twrp like i flash other roms?
2. Can i install extracted .md5 file from that zip? will it be the same like stock zip?
3. Why my Both zip files are corrpted? your opinion?
4. Should i download again same stock rom?
5. Can / Should i flash or download and /or downgrade Stock firmware (same 6.0.1 )but different release date?
6. Am i downloading the right firmware for my device here is my device details posted??
Lot of confusion please help i want to go back to stock for my gear VR
Based on the amount and type of questions, I believe you need to read up on basic Note 4 flashing/customization knowledge first. Go and read up on the stickies.
Without knowledge and experience, we can tell you how to do a brain surgery, but doesn't make you a surgeon.
No, twrp cannot be used to flash stock rom. Stock rom are most of the time md5 files, used by ODIN only.
Since you downloaded the zip files, use the "Test" function to see if it is corrupted?
Maybe you should just flash a stock based custom rom with VR and be done with it.
https://forum.xda-developers.com/no...om-bob4-devbase-multi-csc-safe-bloat-t3033881
---------- Post added at 01:13 PM ---------- Previous post was at 01:05 PM ----------
Oh, according to your screen shots, DBT is in a carrier in Germany?
I installed BTU (UK) stock rom and it is is working fine (using odin)
nicholes said:
Lot of confusion please help i want to go back to stock for my gear VR
According to
this thread where i posted photos of my phones INFO
I downloaded N910F( UK BTU) 6.0.1 firmware (.ZIP) file
When i tried to flash using TWRP it says ZIP file is corrupted.
I downloaded it from two website
sammobile
and
samsung.org
both are corrupted(it should not be i think)
==================================================
Check your Winzip version. It may be old and doesnt handle large zipfiles too well. I had the same problem but I know the file was good as I downloaded it at work, and Winzip worked just fine; but when I got home, winzip failed on my pc - old 8.1 version. I used the trial version just fine to unzip.
Click to expand...
Click to collapse
Flashing Rom
"I downloaded N910F( UK BTU) 6.0.1 firmware (.ZIP) file
When i tried to flash using TWRP it says ZIP file is corrupted.
I downloaded it from two website "​
Did you keep the ROM as a Zip file when you loaded it in to Odin?
Do not unzip the ROM file.
Try again.
Fool2242 said:
"I downloaded N910F( UK BTU) 6.0.1 firmware (.ZIP) file
When i tried to flash using TWRP it says ZIP file is corrupted.
I downloaded it from two website "
Did you keep the ROM as a Zip file when you loaded it in to Odin?
Do not unzip the ROM file.
Try again.
Click to expand...
Click to collapse
As far as I remember it was zip file

Categories

Resources