Extracting KNOX bootloader - Galaxy S6 Q&A, Help & Troubleshooting

Hi,
Noob here, and this is not Galaxy S6 specific but I thought I'd post here since I at least have one to test. Anyway, is it possible to extract the KNOX boot loader binaries (aboot, sbl1, sbl2, sbl3, etc) either from a device, or from the firmware files (e.g. on sammobile)? And then, from there, is it possible to disassemble/decompile them with IDA Pro or a similar tool?
I've read some articles/guides but they are quite old and seem to be specific to Jelly Bean. I've tried extracting the files from the tar.md5 firmware files but I don't get the individual boot loader binaries.
Thanks.

Related

SBF Files - Do they contain bootloaders?

Hi Everyone -
I know that SBF files contain radio, recovery, system, and boot images, but does anyone know if they contain a bootloader image as well (in case you're on a newer bootloader than was paired with the firmware version you're trying to flash in RSDLite)?
Thanks!
My bad....wrong thread

Disadvantage with 9.4.5.30 BL on new tablet?

Hello @ll,
I bought a TF700-Tablet a few days ago.
Before I read something about NVFlash and this should not be working with my BL (9.4.5.30).
But what excactly are the disadvantages with that BL?
As I understood, with NVFlash I can make a complete backup from that tablet und can restore it, if it would brick.
But all other functions are possible? Own recovery system (TWRP) and custom rom?
And how often could the tablet be bricked?
Thanks for some infos and best regards,
Shadow128
If the bootloader is unlocked (any version), you can install custom recoveries and custom ROMs/kernels. If it isn't unlocked, you need to run the unlock tool from the Asus support page.
NVFlash can be used only if you created blob files for the wheelie tool before. The procedure for creating those blobs originally worked only with bootloaders 9.4.5.26 and earlier, but the developers found a new way around the bootloader signature checking and released the Flatline tool (search for it in the dev section), which can create those blobs with any bootloader version. So you can run the Flatline procedure whenever you're ready (be sure to read the instructions thoroughly and don't do anything if you're not sure), and you can upgrade to the latest bootloader (10.6.1.14.10) and run any custom ROM you want.
And the blob files I need to restore the tablet, if it is bricked?
Or is there any other stuff, on which I need that blob files?
Shadow128 said:
And the blob files I need to restore the tablet, if it is bricked?
Or is there any other stuff, on which I need that blob files?
Click to expand...
Click to collapse
You need them only whenever you want to use nvflash - for backing up some of the raw partitions, and for restoring from a hard brick.
Ah ok. That sounds great with the flatline tool.
Many thanks for your explanation!

[Q] Can i flash custom firmware of SM-G900R6 in SM-G900R7

Hi,
Actually i want to flash compiled kernel zImage to samsung galaxy S5 SM-G900R7. When i am flashing phone is not booting with that image. Looks like there is some signature checking is happening. so i want to flash phone's firmware files with internet downloaded custom firmware files with a hope that there will be no signature checking after that and i will be able to flash my zImage on top of that. But i am not getting custom firmware files for my model, I am getting firmware files for many models and getting firmware for SM-G900R6. So i m thinking to flash phone with SM-G900R6. I checked in specification of both almost same but i still want to take help of XDA developers team to get confirmation before flashing.

Flashing Firmware / Bootloader / Modem

Hi,
I´m a neewbie to Samsung. My phone is a S6 SM-G920F, Baseband G920FXXU1AOCW
I came form an HTC and I´ve seen that flashing things are very different. So here are my questions:
1. I think, my bootloader is unlocked but I didin´t know for sure. So how can I check this?
(My HTV showed me this by using fastboot, didn´t know if there is fastboot with Samsung and how to start it - only know the download-mode and how to enter TWRP recovery)
2. Flashing firmware via Odin (i. e. from sammobile.com) means to loose my root again, right?
3. If I loose root, where do I get custom Firmwares and how do I flash them (if this is possible)?
4. If not, is it enough to flash bootloader and modem through Odin?
All answers are appreciated. Thanks in advanced.
Maybe someone can link me to an step to step instruction...
Fastboot is android doesn't matter who makes the phone.
If you flash a rom from sammobile then you will go to whichever stock you pick.
Other ROMs are available here. The phone is new. There aren't many yet. Cyanogen mod isn't available yet.
Root is available by flashing cfautoroot with Odin. You will need to get the specific one.
You can replace the recovery by flashing twrp team win recovery project with Odin.
You can flash boot loader and modem. Make sure you get the right region. The modem frequencies are different in different places.
You may find flashing a whole ROM even stock will fail. This is because the partitions are not the same size for all s6 stock ROMs. Don't ask me why. You can open the tar find which file stopped the flash delete it from the tar and flash again.
quatzar said:
Fastboot is android doesn't matter who makes the phone.
If you flash a rom from sammobile then you will go to whichever stock you pick.
Other ROMs are available here. The phone is new. There aren't many yet. Cyanogen mod isn't available yet.
Root is available by flashing cfautoroot with Odin. You will need to get the specific one.
You can replace the recovery by flashing twrp team win recovery project with Odin.
You can flash boot loader and modem. Make sure you get the right region. The modem frequencies are different in different places.
You may find flashing a whole ROM even stock will fail. This is because the partitions are not the same size for all s6 stock ROMs. Don't ask me why. You can open the tar find which file stopped the flash delete it from the tar and flash again.
Click to expand...
Click to collapse
Thanks for answering. My questions had an other intention, I think.
My S6 is already rooted and I have a custom recovery (TWRP) :good:
I would like to know if you have to flash a whole firmware or only bootloader/modem? Because I didn´t seen a post here for a full firmware yet.
I am not familiar with the differences between htc whole firmware and samsung bootloader/modem
Actually I am on Firmware G920FXXU1AOCW. But there are newer ones like XXU1AOE3 or XXU1AOE4.
In the days of my htc you couldn´t flash only bootloader or modem, you had to flash a whole firmware (like radio, drivers, bootloader, modem etc.)
Flashing only modem and bootloader will it update i. e. touchscreen drivers? If not, where do I get this ones? You know, because of root I don´t get OTA´s anymore...
The modem just controls how your phone hardware connects to carrier towers etc.
The boot loader is a tiny thing that tells the processor where and how to load the OS.
The software for pretty much everything is in /system.
Many of these releases are the same software, region specific. The dates are fairly unimportant for the same version number. They generally reference the time when they were uploaded by someone. Not that they have updates and fixes.
Just wanted to know can I change my phone logo MetroPCS to say T-mobile with all the T-mobile add on. I have a Samsung Galaxy s6 by MetroPCS

SOLVED: How to flash baseband/modem (modem.img) with Odin?

Before I get to my question, a quick background, which might help with explaining my question. So recently I switched to another cellular carrier on my unlocked S6 Edge (G925F) and now I would like to flash the baseband from the firmware corresponding to my new carrier in order to get better/proper connectivity. I downloaded and flashed the new carrier's firmware .tar.md5 using Odin, however, in the process of flashing, Odin threw a FAIL message when flashing the hidden.img file. So I had to manually extract and flash that file again, and it worked.
Anyway, it seems like, because of the aforementioned Odin FAIL message, the flashing process did not include the new modem.img file. So now I would like to manually flash that in order to get better service on my new carrier. So how do I do that? I tried flashing just the modem.img file with Odin by selecting it in the "CP" field, however, the flashing process gets stuck on "File analysis..." and nothing gets flashed. Am I doing something wrong? Can I flash that baseband some other way?
UPDATE, SOLVED:
I figured out the solution. I had to manually create a new .tar archive (with 7zip) containing just the modem.bin file. When I tried to flash that with Odin (by adding it under the "CP" field), it successfully went through.
tahaa7 said:
Before I get to my question, a quick background, which might help with explaining my question. So recently I switched to another cellular carrier on my unlocked S6 Edge (G925F) and now I would like to flash the baseband from the firmware corresponding to my new carrier in order to get better/proper connectivity. I downloaded and flashed the new carrier's firmware .tar.md5 using Odin, however, in the process of flashing, Odin threw a FAIL message when flashing the hidden.img file. So I had to manually extract and flash that file again, and it worked.
Anyway, it seems like, because of the aforementioned Odin FAIL message, the flashing process did not include the new modem.img file. So now I would like to manually flash that in order to get better service on my new carrier. So how do I do that? I tried flashing just the modem.img file with Odin by selecting it in the "CP" field, however, the flashing process gets stuck on "File analysis..." and nothing gets flashed. Am I doing something wrong? Can I flash that baseband some other way?
UPDATE, SOLVED:
I figured out the solution. I had to manually create a new .tar archive (with 7zip) containing just the modem.bin file. When I tried to flash that with Odin (by adding it under the "CP" field), it successfully went through.
Click to expand...
Click to collapse
May I please ask you, how did you get a firmware with a modem binary inside it? So far I've downloaded two different firmwares for this device, latest baseband versions, and none of them ships a modem.bin or anything similar. I'm totally puzzled.
zogoibi said:
May I please ask you, how did you get a firmware with a modem binary inside it? So far I've downloaded two different firmwares for this device, latest baseband versions, and none of them ships a modem.bin or anything similar. I'm totally puzzled.
Click to expand...
Click to collapse
So were you able to get the latest baseband /modem?? And how??

Categories

Resources