FORUMS

[GUIDE]: How to flash CRB7 using Odin - S8+

2,917 posts
Thanks Meter: 2,554
 
By MeltdownSpectre, Forum Moderator on 12th February 2018, 06:40 PM
Post Reply Email Thread
UPDATE (27TH FEB 2018): We now have Odin v3.13.1 which is compatible with the new .lz4 compressed files referred to below in the tutorial. All the steps below are only required now if you are using a version of Odin older than 3.13.1. It is recommended that you use this new version to save yourself the hassle.

Odin v3.13.1 - XDA Link

S8+ G955F / G955FD (F ROMs work on the FD variants, there are no FD specific ROMs):

Mirror Link 1 (Google Drive) - Thanks @cretu01
Mirror Link 2 (Android File Host) - Thanks @panchuckles
Mirror Link 3
(OneDrive) - Thanks @Brotuck

-------------------------------------------------------------------------------------------------------------------------------

Let me start of by saying, Samsung changed some things around with Oreo. I downloaded 'XXU1CRAP' using SamFirm today, tried with both TUR and DBT CSCs, to make sure it wasn't a bad download or anything, but Odin just wouldn't accept the file. It froze on the first step, sboot.bin.lz4.

I had never seen the .lz4 extension before, so I asked a couple of helpful lads in the Samsung Oreo Telegram group who were very helpful throughout this process.
For those of you who want to join:
http://t.me/sammyoreoclub

Samsung is using a new compression method for the Oreo ROMs, so all files within BL, AP, CP and CSC have the .lz4 extension which Odin has trouble reading, and so the flash will never go past the first step.

Note: THIS DOESN'T TRIP KNOX.

Pre-requisites:
-SamFirm to get the CRAP ROM - https://forum.xda-developers.com/gal...mware-t2988647
-Windows PC
-This modded version of 7Zip which can open .lz4 files. Link - Github
-The ability to read the instructions below.
-Prince Comsy's modified Odin - Google Drive Link
-A Galaxy S8/S8+ (G950F / G950FD / G955F / G955FD) - I tested this on my own G955FD and it worked just fine.
-The XXU1CRB7 Oreo ROM for your device
-A decent amount of storage space on your PC
-Preferably some experience with flashing using Odin

DISCLAIMER: I AM NOT RESPONSIBLE FOR BRICKED DEVICES, FOLLOW TUTORIAL AT YOUR OWN RISK.
INTERNAL STORAGE WILL BE COMPLETELY WIPED CLEAN (IF YOU USE CSC_OXM), MAKE SURE YOU BACKUP BEFORE FLASHING.
IF YOUR INTERNAL STORAGE SHOWS AS '16 GB' AFTER FLASHING, DO A FACTORY RESET AND IT'LL RETURN TO NORMAL.


Steps below:

1. Extract the zip file for the 3.7 GB firmware file you just downloaded. Should contain 5 files, AP, BL, CP, CSC_OXM and HOME_CSC_OXM.
In the tutorial below, I will be using CSC_OXM, however that does wipe internal storage.
If you are coming from ZRA5 or just don't want to wipe your data, use HOME_CSC_OXM instead.

2. All the files will have ".tar.md5" extensions. Remove the .md5 part so they can be opened in either WinRAR or 7Zip.
AP will contain a folder called 'meta-data', userdata.img.lz4, system.img.lz4, recovery.img, boot.img.lz4
Extract all these files from AP into a new folder. Right click on each one, select the '7Zip Standard' menu and hit 'Extract Here'.
This will extract all the files within, without .lz4 extensions. So you'll have userdata, system, recovery and boot as plain IMG files.
Note: Repeat this for CP, BL and CSC_OXM.


3. Grab the original file names for the files you extracted earlier, copy paste them into notepad.
They should be in this format, make sure .md5 isn't added at the end of any filenames. Do keep in mind that the filenames for the S8 (G950F) will obviously be slightly different.

Code:
AP_G955FXXU1CRAP_CL12993656_QB16754780_REV00_user_low_ship_meta.tar
BL_G955FXXU1CRAP_CL12993656_QB16754780_REV00_user_low_ship.tar
CP_G955FXXU1CRAP_CP8821296_CL12993656_QB16754780_REV00_user_low_ship.tar
CSC_OXM_G955FOXM1CRAP_CL12993656_QB16754780_REV00_user_low_ship.tar
4. Select all the files you extracted for AP (including the meta-data folder), right click, scroll down to the '7Zip Standard' menu again and this time hit 'Add to Archive'. Copy-paste the filename for whichever file you're creating an archive for, AP, BL, CP or CSC, make sure archive format is set to .tar and leave everything else default and hit 'OK' at the bottom of the window.
Note: This too will be have to be done for CP, CSC and BL as well.

5. Once this is done, you should have 4 .tar files ready to be flashed. Open up Prince Comsy's Odin, add each file to it's respective field in Odin.

6. Connect your device in Download Mode, press Start, and wait for the flash to be completed and for Odin to show 'PASS' at the top of the window.
Your device will reboot automatically.

ALTERNATIVELY, you can watch this very crappy screen recording I made for a better idea on how to do it.

YouTube link: https://youtu.be/eyIh3_p8WBQ


Credits go to:

@FatalONEM8 and @me2151 for helping out.
Tino Reichardt (mcmilk) for the modified 7Zip
Prince Comsy for the modified Odin.
Samsung for making flashing more and more difficult every year.

----------------------------

For Linux/Ubuntu, @kernel.killer has created a script to unpack the .lz4 compressed firmwares without having to do all of the above manually.
See this post - Link
The Following 54 Users Say Thank You to MeltdownSpectre For This Useful Post: [ View ] Gift MeltdownSpectre Ad-Free
12th February 2018, 07:07 PM |#2  
Senior Member
Flag Safi
Thanks Meter: 38
 
More
Very useful, thank you. I still hesitated to flash, but now I'm going to start.
Thanks again.
12th February 2018, 07:15 PM |#3  
Senior Member
Thanks Meter: 416
 
More
Awesome guide thanks, I'll try and report back
12th February 2018, 07:55 PM |#4  
Senior Member
Flag CHLEF
Thanks Meter: 120
 
More
that what I did but boot file cant be opened by 7-zip
12th February 2018, 07:55 PM |#5  
What a brilliant title.

How to flash CRAP

L O V E I T!!!!

Thanks for putting this tut together folks!
The Following User Says Thank You to djcrystals For This Useful Post: [ View ] Gift djcrystals Ad-Free
12th February 2018, 08:02 PM |#6  
Has_anDroid's Avatar
Senior Member
Flag Smryne Izmir TURKEY
Thanks Meter: 295
 
More
thanks download links ?
12th February 2018, 08:04 PM |#7  
renton82's Avatar
Senior Member
Thanks Meter: 41
 
More
When i tried to update with the 4 file, Odin read them without any problem, but when i press start, phone just reboot. Maybe it is just because i was trying to flash the same version of firmware (CRAP over CRAP)? Maybe i'll have the error reported if just started to flash... but my question is: is it possible to overwrite the firmware with the same version using Odin?
12th February 2018, 08:05 PM |#8  
OP Forum Moderator
Thanks Meter: 2,554
 
More
Quote:
Originally Posted by renton82

When i tried to update with the 4 file, Odin read them without any problem, but when i press start, phone just reboot. Maybe it is just because i was trying to flash the same version of firmware (CRAP over CRAP)? Maybe i'll have the error reported if just started to flash... but my question is: is it possible to overwrite the firmware with the same version using Odin?

Yeah that did happen with me.

If you use HOME_CSC and flash CRAP over CRAP, nothing happens.

You can overwrite if you use CSC_OXM.

Sent from my ONEPLUS A5000
12th February 2018, 08:08 PM |#9  
Senior Member
Thanks Meter: 42
 
More
Will this method trip knox? (void warranty)
12th February 2018, 08:11 PM |#10  
OP Forum Moderator
Thanks Meter: 2,554
 
More
Quote:
Originally Posted by cretu01

will this method trip knox? (void warranty)

no it will not.
The Following User Says Thank You to MeltdownSpectre For This Useful Post: [ View ] Gift MeltdownSpectre Ad-Free
12th February 2018, 08:12 PM |#11  
Senior Member
Flag CHLEF
Thanks Meter: 120
 
More
Quote:
Originally Posted by hasanben35

thanks download links ?

you read just title !!!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes