[GUIDE] How To Update Your Bootloader And Modem On Your Galaxy S8/S8+ - Samsung Galaxy S8 Guides, News, & Discussion

HOW TO Update Your Bootloader and Modem on your Galaxy S8/S8+​The steps for upgrading the bootlodaer and modem for your Galaxy S8/S8+ are really simple.
[Purpose]: You may want to upgrade the BOOTLOADER and the MODEM of your device from various reasons like new updated custom roms based on a new firmware which require different BL and Modem, having the latest and the greatest updated modem on your device etc
[STEPS]:
Step 0 - Identify your device model, SM-G950F or SM-G955F and download the latest ODIN_BL_CP_G950F.rar or ODIN_BL_CP_G955F.rar.
Step 1 - Download Odin 3.12.3 - Mandatory - Please make sure you use this version and not other ones
Step 2 - Place ODIN and the BL_CP.rar in a folder. Extract BL_CP.rar to the same folder. You will get 2 files one starts with BL another one with CP.
Step 2 - Get into DOWNLOAD MODE - Power down your device, the hold VOLUME DOWN + BIXBY + POWER KEYS ALL TOGETHER. When you got into warning panel, press VOLUME UP to CONTINUE.
Step 3 - Open up ODIN 3.12.3.
Step 4 - Connect your Galaxy S8/S8+ to your PC via USB Type-C cable. Your log section on Odin should say <Added>. If not, drivers may install. Do not proceed to the next step until you see the <added> line.
Step 5 - Go to BL and select the extracted BL file. Go to CP and select the extracted CP file.
Step 6 - Make sure you go into options menu and auto-reboot is ticked. Also, re-partition should be unticked. Leave the rest untouched.
Step 7 - Click START, in 5-10 seconds Odin should say PASS and you're device will reboot.
Step 8 - That was it.
Also, if you want to see a video tutorial on how to do it you can watch it here
Thanks @SoLdieR9312 for providing latest BL_CP files.​​​

There is no .rar file , just zip files in the " ODIN_BL_CP_G950F.rar" link and if I click the "ODIN_BL_CP_G955F.rar." it says "not found Can't find it!
If you are seeing this error page then the file in question has been deleted from the site and servers. Please contact the developer/uploader for a new link to the file." Any new links? They seem to be outdated so can't follow the turorial

My device is the SM-G950FD, still using the Exynos 8895, but the OP only lists files for SM-G950F or SM-G955F. Will the SM-G950F files work for my SM-G950FD? And if not, does anyone know where I can find latest version bootloader and modem for this model?

need all bootloader version files !!! any files base here

I have a similar problem to @hanakon - I have a G950N (Korean variant, Exynos). Anyone know where I can get a flashable bootloader and modem for Oreo?

katipo said:
I have a similar problem to @hanakon - I have a G950N (Korean variant, Exynos). Anyone know where I can get a flashable bootloader and modem for Oreo?
Click to expand...
Click to collapse
I was able to get things working using the Unknown country variant of the SM-G950F drivers. You should be able to extract the firmware and take out just the bootloader and modem if that's all you want to flash:
https://www.sammobile.com/firmwares/galaxy-s8/SM-G950F/MXO/download/G950FXXU1CRD7/219059/

Hi I need newest bl and cp for s8+ G955FD
file removed

Could someone give us links to download the CP files for G935FD and G955FD please for Oreo please? (Dual SIM versions).
Or, point to a FW file that may contain these versions?
Many thanks in advance!

Blackheart said:
Could someone give us links to download the CP files for G935FD and G955FD please for Oreo please? (Dual SIM versions).
Or, point to a FW file that may contain these versions?
Many thanks in advance!
Click to expand...
Click to collapse
All files needed are in the firmware zip file.
Down load firmware from sammobile or updato.
Extract files using any zip program ie: wimrar, 7zip, etc. Note zip program must support .lz4 compression.

Will updating the modem alone with the single CP file using Odin remove root and recovery?
My phone S8+ is rooted with Magisk and has TWRP installed.

A.Ahmed79 said:
Will updating the modem alone with the single CP file using Odin remove root and recovery?
My phone S8+ is rooted with Magisk and has TWRP installed.
Click to expand...
Click to collapse
Generally speaking the files needed to uninstall Magisk and TWRP are in the AP section of the firmware.

A.Ahmed79 said:
Will updating the modem alone with the single CP file using Odin remove root and recovery?
My phone S8+ is rooted with Magisk and has TWRP installed.
Click to expand...
Click to collapse
Same question here. To be clear, I am not asking how to remove Magisk and TWRP therefore I do not understand the answer from Spawnlives.

HiQual said:
Same question here. To be clear, I am not asking how to remove Magisk and TWRP therefore I do not understand the answer from Spawnlives.
Click to expand...
Click to collapse
In other words flashing the CP file alone shouldn't remove Magisk and TWRP.
Files to remove Magisk and TWRP are contained in the AP section ( Unless you modify the AP file ).
Always do a backup first.

Related

[ROOT]Root Guide for Huawei MediaPad M5

DISCLAIMER: I'm not responsible for anything that happens to your device. Use the steps below at your own risk . Be mindful of the facts unlocking bootloader voids your warranty and also hard resets your device - ALL YOUR DATA, SETTINGS, FILES AND APPS WILL BE DELETED. Rooting your device voids warranty as well. I own the Chinese SHT-AL09 8.4" LTE device and tested this root procedure ONLY WITH THIS MODEL. However, I believe there is a good chance the steps below will work for all other models of MediaPad M5, including WiFi only variants and 10" models. You MUST unlock your bootloader first. Do NOT use ramdisk image I provide in the steps below for any other model besides SHT-AL09 - doing so is guaranteed to render your device unusable. Ramdisk I provided is ONLY for SHT-AL09. You will need to extract your own ramdisk from stock firmware, specific to your device model
Credits:
@Wirmpolter - this root method largely based on his Magisk guide for Mate 9
@topjohnwu for creating the awesome Magisk Manager, which was used to patch ramdisk image with superuser binary
People, who created HuaweiUpdateExtractor
@magnumlove who pointed me in the right for developing root method in this post
This site, for hosting stock firmware for Huawei MediaPad M5
1. First, you will need to unlock the bootloader of your M5. Follow this guide
2. Transfer this patched ramdisk image to your device
Note for users with version of M5 other than SHT-AL09: Do NOT use the above ramdisk image. Download the full stock rom (update.zip) from the site I linked in the credits. Extract UPDATE.APP file from the zip. Then use HuaweiUpdateExtractor to extract ramdisk.img specific to your device. If you get errors in HuaweiUpdateExtractor - uncheck first 2 checkboxes for checksum verification on Settings tab and try again
3. Once bootloader is unlocked, install latest Magisk Manager from the official Magisk thread
4. Once Magisk Manager gives you a pop-up prompt to either download Magisk zip or patch the boot image file - chose to patch the boot image, but instead of boot.img select ramdisk.img from step 2. Magisk Manager should give you a message the image was successfully patched. It will be saved as patched_boot.img in MagiskManager folder on your sdcard. If it does not say success - do NOT proceed
5. Transfer the newly created patched_boot.img back to your PC
6. If you already have ADB and Fastboot tools installed on your PC you can just use what you've got. If not - get them from here
7. Connect your M5 to PC via USB cable
8. Run command prompt. If your ADB and Fastboot are installed as system app - you can do this from any path in CMD. If not - you need to switch in CMD to your ADB and Fastboot folder. Either way, the patched ramdisk patched_boot.img file must be in the same path, from which you will be running commands below in CMD window
9. Type "adb " in CMD window to start android debug bridge
10. Type "adb reboot-bootloader" and wait until your device restarts in Download mode
11. Once in Download mode, type "fastboot flash ramdisk patched_boot.img" - you should see some output from flash procedure, indicating successful flash
12. Once patched ramdisk is flashed, type "fastboot reboot"
That is it - you're done. Once your device reboots it will be rooted.
Note 1: Magisk Manager has it's own built-in superuser app and uses Systemless root, which works completely differently - you will not see external, standalone app like SuperSU or SU you might be familiar with in your App Drawer. The way to control the superuser app is from Magisk Manager itself: Settings->Superuser section
Note 2: I don't do tech support via PM, so don't PM me for help or with questions. Use the thread instead, and some other XDA members or myself will probably help you. Good luck!
Note 3: You may find some links to Huawei stock firmware in the 2nd post
UPDATE - August 6, 2018
Huawei officially approved 8.0.0.171 firmware with GPU Turbo for installation on SHT-AL09 devices. If you're doing first time root - just follow the original steps above. If you are already rooted and want to upgrade to 8.0.0.171 - follow the steps below:
1. Boot into download mode:
Code:
adb reboot-bootloader
from CMD window
2. Flash stock recovery from 8.0.0.171 to your device in fastboot:
Code:
fastboot flash recovery_ramdisk recovery_ramdis.img
3. Download and install the official OTA through Settings (full or just the update)
4. Boot into download mode again and flash patched ramdisk from 8.0.0.171
Code:
fastboot flash ramdisk patched_boot.img
5. OPTIONAL: If you were using TWRP or any custom recovery - you will need to reflash it back
Code:
fastboot flash recovery_ramdisk twrp.img
or whatever you named your custom recovery image
REMINDER: Do NOT use ramdisk image I provided for any other model besides SHT-AL09 - doing so is guaranteed to render your device unusable. This patched ramdisk is ONLY for SHT-AL09. You will need to extract your own ramdisk from stock firmware, specific to your device model
Needless to say, all the images you are going to flash must reside in the same directory, from which you are going to be running the CMD commands. If your ADB/Fastboot folder is not in your WIndows' PATH environmental variable - the images must be placed in the same folder where ADB/Fastboot binaries are, and CMD commands must be run from that folder.
C5Longhorn said:
Yes, they still work. I have the same model and build as you and I'm rooted.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
I'm considering buying an SHT-W09 with firmware version 8.0.0.200 (C567), but I'd like to know if I can root it first. I do not know if the bootloader has been unlocked. Since you have the same version, can you confirm that it's possible to unlock and root, and if so, sketch out how it's done? I'm confused about whether it's possible with this firmware.
samiller said:
I'm considering buying an SHT-W09 with firmware version 8.0.0.200 (C567), but I'd like to know if I can root it first. I do not know if the bootloader has been unlocked. Since you have the same version, can you confirm that it's possible to unlock and root, and if so, sketch out how it's done? I'm confused about whether it's possible with this firmware.
Click to expand...
Click to collapse
Unlocking is possible *only* if you've gotten already your unlock code. As this service was suspended about 2 years ago there is no easy way to get it unlocked.
Small request to developers, or people with access to reliable file hosting: I don't have a developer account, so all the files I linked or referenced in the OP are hosted on free hosting sites. That file hosting has expiration date and max downloads limit, so the files will become inaccessible sooner rather than later. Please upload these files to reliable hosting and create a post with the links. I will link your post in the OP as a mirror.
In the meantime, mirror for SHT-W09 firmware: https://mega.nz/#!asVjmZrR!bW2OmXgTjnyVN4pqb9fA7OzAJ4bzil7YZxNW14qoCmk
I can confirm that this works on the 10.8" wifi model using the devices relevant ramdisk.img.
Hello, can somebody test sixaxis controller tool with root and magisk? There is a Trial in Google Play Store, that is called sixaxis compatibility checker without purchise the App. Maybe i want to buy the Tablet, but only with Dualshock 4 Support...
Just a heads up, been following threads on this forum for flashing a GSI. Now that you guys can root, you can also make backups of your own stock system image if you can't find one from Firmware Finder. Then you can safely try flashing the GSI.
@MishaalRahman well it's bit like chicken egg dilemma. As we do not have a stock system image for e.g. SHT-W09 we cannot patch the ramdisk.img and so we cannot get the stock system image ...
Thanks Apo11on, great to have root so soon for the M5! Do you know if there's a way to get Xposed working? I tried the Xposed Framework SDK 26 from inside Magisk, but it put me in a boot loop.
Question is, for those of us with the Non Pro version, can this still be done.
@OHP Yes. The OP did it with the 8.4" version which has no pro option.
I'm looking to buy the Chinese 10" wifi version myself but need Google Play Store + Services on it which I'm guessing the Chinese version doesn't have. Is one of the firmwares at the website you link to a global version of the firmware that will work on this model?
OHP said:
Question is, for those of us with the Non Pro version, can this still be done.
Click to expand...
Click to collapse
Doesn't matter what version you have as long as you have access to your device firmware and the ramdisk.img. You really need to reread the guide.
magnumlove said:
Doesn't matter what version you have as long as you have access to your device firmware and the ramdisk.img. You really need to reread the guide.
Click to expand...
Click to collapse
Problem I have is :
CMR-W09C432B123 (8.0.0.123) from download headlines.
notice the Bold letter.
my Firmware on device:
CMR-W09C432123 (8.0.0.123)
obliviously it could be nothing but I wouldn't want to brick my tablet :fingers-crossed:
OHP said:
Problem I have is :
CMR-W09C432B123 (8.0.0.123) from download headlines.
notice the Bold letter.
my Firmware on device:
CMR-W09C432123 (8.0.0.123)
obliviously it could be nothing but I wouldn't want to brick my tablet :fingers-crossed:
Click to expand...
Click to collapse
I have exactly the same tablet/firmware as you and it was fine. The additional letter also threw me a little. But if you are unsure, download Huawei Firmware Finder from Google play and it will automatically detect your tablets firmware (which you can download if you wish).
magnumlove said:
I have exactly the same tablet/firmware as you and it was fine. The additional letter also threw me a little. But if you are unsure, download Huawei Firmware Finder from Google play and it will automatically detect your tablets firmware (which you can download if you wish).
Click to expand...
Click to collapse
I took the plunge, and I am sucessfully rooted now :silly:
struggling with this part
2. Transfer this patched ramdisk image to your device
Note for users with version of M5 other than SHT-AL09: Do NOT use the above ramdisk image. Download the full stock rom (update.zip) from the site I linked in the credits. Extract UPDATE.APP file from the zip. Then use HuaweiUpdateExtractor to extract ramdisk.img specific to your device. If you get errors in HuaweiUpdateExtractor - uncheck first 2 checkboxes for checksum verification on Settings tab and try again
I have a CMR-W09 :s i can got the files downloaded and the huwai software not sure how i make a img
The good news is I followed these instructions yesterday and they worked perfectly (SHT-AL09).
The bad news is, I seem to have lost root overnight.
---------- Post added at 06:41 AM ---------- Previous post was at 06:22 AM ----------
And I figured out why I lost root; I was playing around with Developer options and switched the default GPU renderer from 'default' to 'Skia.' Apparently, this disables root access until you switch back. I regained root access on a reboot, lost it again after switching back to Skia, and then regained it after switching back to default.
I got the right image file from the site and huwai extract. I have googled how to use this app but what files do I extract as there appears to be. Alot ? I extracted all of them ? I don't have a ramdisk.img
Also thanks for writting this up. Without it I would be lost
Thanks for the efforts making this thread. Unfortunately my device is SHT-W09 and I'm still waiting for the right firmware. Is there anything I can help, considering I have the device?
@dkk6 I am in the same boat as you. Unfortunately I installed the update to 8.0.0 123 without having the Firmware Finder installed on the device. Do you have installed already the update to 8.0.0 123?
If not, you could install Firmware Finder and provide us with the ota url ...
This works perfectly no issues. i had some how maanged to download the wrong rom first. AND thankfully it did not have a ramdisk in. it is important that your firmware matches the firmware present on the site as explained. This was easy guide to follow now to flash it with somthing other then andriod
AndDiSa said:
@dkk6 I am in the same boat as you. Unfortunately I installed the update to 8.0.0 123 without having the Firmware Finder installed on the device. Do you have installed already the update to 8.0.0 123?
If not, you could install Firmware Finder and provide us with the ota url ...
Click to expand...
Click to collapse
I'm on 8.0.0.101

[GT-I9505] Flash Stock-Custom Roms & Useful Links

THIS THERAD WILL NO LONGER BE UPDATED. TAKE A LOOK ON MY UNIFIED GUIDES/COLLECTION​
CLEAN & DIRTY FLASH STOCK OR CUSTOM ROM
Note: These guides have mostly specific links for the S4 GT-I9505 Roms TWRP, Modems & Bootloaders but the steps are the same for all other S4 Models - You just need to find specific Roms,TWRP, Modems & Bootloaders for your device model. You can take a look at "Usefull Links" section below.
THIS IS A COMPLETE GUIDE FOR THE BEST CLEAN INSTALL OF A CUSTOM OR STOCK ROM FROM THE SCRATCH:
1*. Download a stock LOLLIPOP Rom from here or here (doesn't really matter which country you will choose, just be sure to download one of the latests firmwares-recommend is QK1 or PK2) and recommend is latest QK1Modem / QK1Bootloader or PK2Modem / PK2Bootloader. For the all others Modems/Bootloaders, you can find them here. Also Download a windows program Odin. Next, move all your personal data such pictures,music etc from your internal storage to your external sd card or to your pc.*
2*. If you are going to flash a Custom Rom, Download the Custom Rom you want (Recommened any JDC Roms of your preference), Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file) be sure you have choosed Platform: ARM and the proper android version of the rom you are going to flash) [If the Rom you want to flash include Gapps, no need to download and flash any Gapps at all] and the latest Magisk for root. After you finished with downloads move your Custom Rom,Magisk,Gapps to one folder in ur external sdcard. *
3. Reboot to Download Mode(power button+vol.down+home button) and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.1-0 via Odin. (You put the .tar file in AP)
4*. Reboot to TWRP Recovery (power button+vol.up+home button) go to Advanced-File Manager-external_sd and delete all folders on ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom Rom/Magisk/Gapps you want to flash. *
5. Now still on TWRP select Wipe-Format Data and type yes-then go back and press-Advanced Wipe-Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe.
6. Now Boot to Download Mode(power button+vol.down+home button) and Flash Stock LOLLIPOP Rom via Odin. (You put the file in AP section)
7*. When Stock Rom is Flashed go to Odin again,
Reboot your device to Download Mode, connect it to PC and put Modem(CP Section) Untick Auto Reboot in options, flash it and reboot your device to system by holding Power Button.
Then Reboot to Download Mode again, put the Bootloader(BL Section) and do the same steps as before.
Check what Modem and BL you have, if Modem and BL didn't changed do the same steps again.
If for some reason Odin fail to flash, try to change USB Port in your PC and don't move the cable during flash. Also if you have Odin and the files on an External hard drive, move Odin and all the files you want to flash to your C: drive.*
8. Now Reboot to Download Mode once again and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.1-0 via Odin. (You put the .tar file in AP)
9. Reboot to TWRP(power button+vol.up+home button) and do the steps 4. and 5. Then flash your Custom Rom--->Magisk--->Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file) (If Rom doesn't include).
10. Let the Rom boot and Install Magisk Manager manually if it's not preinstalled. Enjoy!
1*For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have PK2 Stock Rom then you need to have PK2 Modem/BL.
On Custom Roms doesn't matter. You can have any of the latest Modem/BL you want but recommend is QK1.
If you want to use KitKat Rom custom or Stock you should flash the proper KitKat Modem/Bootloader. It will not work if you have Lollipop.
2*Skip the step 2. if you are going to flash only Stock Rom.
4*Each app on your phone with the WRITE_EXTERNAL_STORAGE permission may create files or folders in ur sdcard. Most of these folders have once been created by one of these apps and many of them may be deleted with a few exceptions (e.g. Android, .data, .android_secure, these contain important system or app data like a game's downloaded content):
.android_secure: apps installed and then moved to sdcard
Android: app data/cache
data: app data
.estrongs: ES file manager
LOST.DIR: sort of trash folder (collects recovered files after phone crashes)
DCIM: phone gallery's photos and previews
OTA-update: Over The Air update service
ppy_cross: an unknown third-party app's data.
So I recommend to delete them so you can put your phone/sdcard in a clean state and is guaranteed to be able to re-create these folders.
7*If you wanted only to flash stock Rom you done on step 7. If you have any problem with Force Close Apps etc go to Settings->Accounts->Backup and reset->Factory data reset.
***** You can follow the same steps for other variants too but you need to find and choose the proper Firmware-Rom/Modem-Bootloader/TWRP for your variant. *****
THIS IS A COMPLETE GUIDE FOR CLEAN INSTALL OF A CUSTOM ROM BUT NOT FROM THE SCRATCH:
1. Download the custom Rom you want (Recommened any JDC Roms of your preference), Magisk for root solution and Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file)[If the Rom you want to flash include Gapps, no need to download and flash any Gapps at all], be sure you have choosed Platform: ARM and the proper android version of the rom you are going to flash. Then move all those files to one folder in ur sdcard.
2*.Reboot to Download Mode(power button+vol.down+home button) and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.0-0 via Odin. (You put the .tar file in AP)*
3.Reboot to TWRP Recovery (power button+vol.up+home button), go to Advanced-File Manager-external_sd and delete all folders on ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom Rom/Magisk/Gapps you want to flash.
4. Now still on TWRP select Wipe-Format Data and type yes-then go back and press-Advanced Wipe-Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe.
5. Flash your Custom Rom--->Magisk--->Gapps.
6. Let the Rom boot and Install Magisk Manager manually if it's not preinstalled. Enjoy!
2*Skip the step 2 if you already have TWRP Recovery installed.
THIS IS A COMPLETE GUIDE FOR DIRTY INSTALL OVER YOUR CUSTOM ROM:
1. [Optional]Make a full nandroid backup., just in case something goes wrong. You can use TWRP to do that. (TWRP-->Backup-->Select everything)
2. Uninstall all Substratum overlays if you have any installed.
3. Remove previous root solution with Magisk Unistaller and optional UnSU to ensure all root remnants are gone. (TWRP-->Flash the unistaller.)
4. Reboot to TWRP and Wipe system, cache and art / dalvik.
5. Flash the Rom-->Magisk-->Gapps.
6. Reboot and Enjoy!
***** I've skipped some explanations, because if you are going to dirty flash, you already know for example how to boot to TWRP . *****
USEFUL LINKS (USB DRIVER, TWRP, ODIN, PIT FILES, ROOT-MAGISK, FIRMWARES, MODEMS AND BOOTLOADERS)
SAMSUNG USB DRIVER
If you have a problem while plug-in the device to your PC and PC can't recognize it, you may miss the Samsung USB DRIVER. To fix follow these steps:
1. Download SAMSUNG USB DRIVER.
2. Unzip it and install it to your PC.
3. Connect your device and done! Now should be ok.
TWRP
Download the TWRP version for your specific model of your device HERE.
Installation Process:
1. Without any custom recovery installed on your device: Download the .tar file of the version you choosed.
Reboot to Download Mode(power button+vol.down+home button) and Flash the TWRP version you choosed via Odin. (You put the .tar file in AP)
Done!
2. With TWRP already installed to your device (UPDATE to latest version): Download the .img file of the version you choosed.
Reboot to TWRP(power button+vol.up+home button) and press Install--->Install Image--->Navigate to .img file you downloaded before---->Flash.
Done!
ODIN
You can download ODIN HERE
PIT FILES
GT-I9505: You can find the link HERE. Flash it in Odin at PIT tab.
ROOT - MAGISK
You can root your device via MAGISK. Just download the .zip from HERE and flash it in TWRP.
SAMSUNG FIRMWARES
You can find all Samsung Firmwares HERE or HERE.
Just search for your device model.
MODEMS & BOOTLOADERS COLLECTION
GT-I9505:
Latest Modem QK1Modem
Latest Bootloader QK1Bootloader
You can find most of the Modems & Bootloaders HERE. Just search for your device model.
Steps:
1. Open Odin
2. Reboot your device to Download Mode, connect it to PC and put Modem(CP Section) Untick Auto Reboot in options, flash it and reboot your device to system by holding Power Button.
3.Then Reboot to Download Mode again, put the Bootloader(BL Section) and do the same steps as before.
4. Done! Check what Modem and BL you have, if Modem and BL didn't changed do the same steps again.
If for some reason Odin failed to flash, try to change USB Port in your PC and don't move the cable during flash. Also if you have Odin and the files on an External hard drive, move Odin and all the files you want to flash to your C: drive.
Some explanation:
- For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have QK1 Stock Rom then you need to have QK1 Modem/BL.
- On Custom Roms doesn't matter. You can have any of the latest Modem/BL you want but recommend is the latest QK1 for GT-I9505 or the latest for your variant.
Great Tutorial, thanks @Retrial!
I wanted to ask if you could add some additional hints, e.g. like you did in response to a question of @InTheY2K here:
https://forum.xda-developers.com/showpost.php?p=78100797&postcount=2175
Then I realized, you've already done so. Thanks again!
But I've got some additional questions:
In step 4 you describe how to clean external sd. In step 5 you advise to clean internal storage. But if you wipe internal storage, all personal data (e.g. downloaded files, music etc) is lost. Wouldn't it be sufficient to delete the same folders as on external sd card and leave the personal folders?
In step 6 you flash an actual lollipop rom, in step 7 modem and bootloader. I thought an actual stock rom comes with modem and bootloader, so that a separate flash of modem and bootloader would not be neccessary. Am I wrong?
As this is a guide for clean flash, one could not expect to find information about a dirty flash . But I think, this is the best place to at least leave a hint to a place where this information can be found. I remember @Buff99 has one for his roms. @Buff99, @Retrial - wouldn't it be a good idea to add this information directly or as a link to this description?
Additional question: When reading the post with my beloved i9505 and XDA Labs I can't see the colour difference in the asterisks, they all look the same. Perhaps you can replace them with additional ones (meaning *, **, ***) or list your remarks with the corresponding number from your main list (meaning 1), 2) etc.)
pocketrule said:
In step 4 you describe how to clean external sd. In step 5 you advise to clean internal storage. But if you wipe internal storage, all personal data (e.g. downloaded files, music etc) is lost. Wouldn't it be sufficient to delete the same folders as on external sd card and leave the personal folders?
We are doing the best clean install from the scratch so the internal storage must be wiped. You should move all your personal data in your sdcard before you wipe. I will add it as clue to the guide.
In step 6 you flash an actual lollipop rom, in step 7 modem and bootloader. I thought an actual stock rom comes with modem and bootloader, so that a separate flash of modem and bootloader would not be neccessary. Am I wrong?
That's not exactly true. If you have an old modem/bootloader and u flash for example PK2 firmware, you will not have same Modem/BL as ur firmware and then ur WiFi etc will not work. Flashing Stock Rom doesn't change them. You need to separate flash them.
As this is a guide for clean flash, one could not expect to find information about a dirty flash . But I think, this is the best place to at least leave a hint to a place where this information can be found. I remember @Buff99 has one for his roms. @Buff99, @Retrial - wouldn't it be a good idea to add this information directly or as a link to this description?
Hmm yeah this guide is for clean flash, but probably I will say something for dirty flash too.
Additional question: When reading the post with my beloved i9505 and XDA Labs I can't see the colour difference in the asterisks, they all look the same. Perhaps you can replace them with additional ones (meaning *, **, ***) or list your remarks with the corresponding number from your main list (meaning 1), 2) etc.)
Maybe the xda app has some issues. I've added numbers near asterisks, I guess it can help. Thanks for feedback.
Click to expand...
Click to collapse
Thanks mate, I've answered with green color under ur questions.
Up
Update:
Added recommendation for JDC Roms
Added JDC Roms Universe Link
Added JDC TWRP 3.3.0-0 Link
Updated Visual Color Titles for each guide
Updated some Links.
Updated some steps in the guide "clean install not from the scratch"
Update:
Added note that other S4 Models can follow the same steps.
Added Usefull Links Section with quick guides.
Visual changes on Titles
Update:
Added PIT Files section with links at "Usefull Links"
Minor general changes at steps.
Update:
Change the recommended Modem/ Bootloader to the latest QK1.
Added links for recommended Modem/Bootloader for GT-I9505 (latest QK1 links) at "Usefull Links" section.
Added steps with explanation how to flash Modems/Bootloaders at "Usefull Links" section.
Update:
Changed the steps of flashing Modem and Bootloader and added an additional tip.
Will this firmware work with T-Mobile Galaxy S4? (SGH-M919)?
varunkp said:
Will this firmware work with T-Mobile Galaxy S4? (SGH-M919)?
Click to expand...
Click to collapse
No, FQA1 should be the latest for your variant.
However, all the steps in my guide are the same for all variants. You just need to find the latest Firmware/Modem/Bootloader/TWRP for your variant.
Retrial said:
No, FQA1 should be the latest for your variant.
However, all the steps in my guide are the same for all variants. You just need to find the latest Firmware/Modem/Bootloader/TWRP for your variant.
Click to expand...
Click to collapse
Where can I find the latest FQA1 firmware other than SamMobile? The firmware from that website is only available for premium members.
EDIT: I couldn't find the FQA1 firmware in SamMobile. Where else can I find it?
varunkp said:
Where can I find the latest FQA1 firmware other than SamMobile? The firmware from that website is only available for premium members.
EDIT: I couldn't find the FQA1 firmware in SamMobile. Where else can I find it?
Click to expand...
Click to collapse
Try from here.
Retrial said:
Try from here.
Click to expand...
Click to collapse
Thanks. It's now downloading ?
Update:
Updated Firmware Links
Updated TWRP Links
Updated PIT File Link for GT-I9505
I am working to reform-rewrite from the scratch the guides these days. I will unified the guides with adding the latest "stuff", links for all variants, change some steps and more
EDIT: NEW UNIFIED THREAD HERE
Mod Edit
Thread closed at the request of the [OP]
malybru
Senior Moderator

19.06.20 - UPDATE DEVICE AND INSTALL TWRP AT THE SAME TIME (T865 BTC7 to BTF2)

Hi All
Noob too the tab scene (paradoxically developing a rom module to "reasonable success" haha)
Found found the time to put a guide together following updating to BTF2 firmware and installing TWRP in one flash.
This has probably been posted before but hopefully its useful nonetheless
Prerequisites
- May security patched TWRP image - its highly advisable to make sure your TWRP and any kernels used match the security patch date of your firmware use This awesome online tool thanks @evdenis - Mentalmuso's TWRP is running perfectly on mydevice patched to may with BTF2 firmware
-VBmeta.img from Mentalmuso's tar
- BL, CP, HOMECSC and Magisk patched AP with the May patched TWRP renamed as "recovery.img" and replacing the stock recovery and the VBmeta.img from Mentalmuso's tar replacing the stock one
- Multidisabler 2.3 linked below thanks @ianmacd
Process
1 - Backup anything you need to keep onto external SD as you will need to format internal storage to get TWRP working.
2 - Reboot to download and open odin - uncheck auto reboot and then load BL, Magisk Patched AP, CP and HOMECSC (from BTF2 firmware)
3 - Flash the files and when done hold vol down and power to exit download and immediately hold power and vol up until in initial TWRP screen (after holding it whilst it reboots you'll end up at the screen where it asks you if you want to allow system modifications) Check the box and swipe right
4 - You'll notice by going into install that your internal storage folders are now nonsense - go to wipe in TWRP then Format data and type yes then enter - your internal storage will be wiped (hence having to backup) but your internal storage will now be usable.
5 - Immediately flash the multidisabler 2.3 zip and then reboot recovery - You are now fully updated and have TWRP installed and working
6 - i have a personal stock debloated rooted base that I use for installing my rom module on - linked here for T865 ONLY - wipe data, system, vendor, cache and dalvik and then flash the base zip (stock rooted based on BTF2 DBT firmware) - FOLLOWED BY MULTIDISABLER ONCE MORE - reboot and set up
Hopeloos ....
Thanks.
It didn"t directly help. But now I know I didn"t do whats needed, for rooting my 865 lol
Any idea where I can find how to root specificaly my tab. Already rooted smartphones but this tablet seems a bit different. Or can you help me?
Downloading and looking at your multidisabler zip, seems you are dutch. So am I
Thanks for reading and hopefully waiting your respos
El
PS: om moedeloos van te wordena
Hi, thank you for the short guide.
Could you post expanded steps please?
I don't want to f' things up.
exocetdj said:
Prerequisites
- May security patched TWRP image - its highly advisable to make sure your TWRP and any kernels used match the security patch date of your firmware use This awesome online tool thanks @evdenis - Mentalmuso's TWRP is running perfectly on mydevice patched to may with BTF2 firmware
Click to expand...
Click to collapse
All clear and done, took 3.4.0-gts6l and patched it to May 2020.
exocetdj said:
-VBmeta.img from Mentalmuso's tar
Click to expand...
Click to collapse
Found that Magisk patched AP also has an empty VBmeta.img inside.
exocetdj said:
- BL, CP, HOMECSC and Magisk patched AP with the May patched TWRP renamed as "recovery.img" and replacing the stock recovery and the VBmeta.img from Mentalmuso's tar replacing the stock one
Click to expand...
Click to collapse
As Magisk on Samsung devices installs into recovery.img instead of boot.img (see https://topjohnwu.github.io/Magisk/install.html#additional-info), won't I kill Magisk if I overwrite the recovery.img inside the Magisk patched tar? Should I first add the recovery to the AP before Magisk patching it?
exocetdj said:
- Multidisabler 2.3 linked below thanks @ianmacd
Process
1 - Backup anything you need to keep onto external SD as you will need to format internal storage to get TWRP working.
2 - Reboot to download and open odin - uncheck auto reboot and then load BL, Magisk Patched AP, CP and HOMECSC (from BTF2 firmware)
3 - Flash the files and when done hold vol down and power to exit download and immediately hold power and vol up until in initial TWRP screen (after holding it whilst it reboots you'll end up at the screen where it asks you if you want to allow system modifications) Check the box and swipe right
4 - You'll notice by going into install that your internal storage folders are now nonsense - go to wipe in TWRP then Format data and type yes then enter - your internal storage will be wiped (hence having to backup) but your internal storage will now be usable.
5 - Immediately flash the multidisabler 2.3 zip and then reboot recovery - You are now fully updated and have TWRP installed and working
Click to expand...
Click to collapse
Should manage to do that
exocetdj said:
6 - i have a personal stock debloated rooted base that I use for installing my rom module on - linked here for T865 ONLY - wipe data, system, vendor, cache and dalvik and then flash the base zip (stock rooted based on BTF2 DBT firmware) - FOLLOWED BY MULTIDISABLER ONCE MORE - reboot and set up
Click to expand...
Click to collapse
If it won't work, I'll give that a try.
Again, thank you very much for this thread.
Regards,
sub
Cool any issues pop into the 420 telegram chat. Im working for next 5 hours but we can help there if you're stuck
Yay, stuck at the Samsung logo (after bootloader warning and "unofficial software" nag).
Followed all steps to the letter.
Created 3 APs:
- Stock magisk patched
- Stock magisk patched with replaced recovery.img
- Unpacked AP, replaced recovery.img with TWRP, repacked, then magisk patched
I managed to boot one variant (can't remember which) into safe mode somehow, but only once.
Trying to restore TWRP backup now.
I hate Samsung
Edit: At least the TWRP restore worked fine and the tablet booted
Edit 2: Played around again. This time flashed full stock BTF2 firmware. Now everything that contains a modded vbmeta fails. Let's see if I can get anything to work again.
Edit 3: Any non original vbmeta now fails to start at all.
I hate Samsung even more.
(partition recovery
Reason recovery: Error verifying vbmeta image: invalid vbmeta header (6)
CUSTOM recovery
VBMETA T865XXU3BTF2, 31809105R)
subworx said:
Yay, stuck at the Samsung logo (after bootloader warning and "unofficial software" nag).
Followed all steps to the letter.
Created 3 APs:
- Stock magisk patched
- Stock magisk patched with replaced recovery.img
- Unpacked AP, replaced recovery.img with TWRP, repacked, then magisk patched
I managed to boot one variant (can't remember which) into safe mode somehow, but only once.
Trying to restore TWRP backup now.
I hate Samsung
Edit: At least the TWRP restore worked fine and the tablet booted
Edit 2: Played around again. This time flashed full stock BTF2 firmware. Now everything that contains a modded vbmeta fails. Let's see if I can get anything to work again.
Edit 3: Any non original vbmeta now fails to start at all.
I hate Samsung even more.
(partition recovery
Reason recovery: Error verifying vbmeta image: invalid vbmeta header (6)
CUSTOM recovery
VBMETA T865XXU3BTF2, 31809105R)
Click to expand...
Click to collapse
If you get stuck at SAMSUNG screen again, try and force a reboot
Why don't I see a CP file in my firmware file?
All that's in there is :
AP
BL
CSC
HOME CSC
************************
T860 wifi
Do I just leave the CP slot blank?
exocetdj said:
If you get stuck at SAMSUNG screen again, try and force a reboot
Click to expand...
Click to collapse
Ok will do. If I can get myself to try that whole thing again, that is: TWRP backup to external SD alone takes more than 1,5 hours
Thank you.
Edit: Another thing I found: after flashing everything, my internal storage is *not* scrambled. Still formatted it last time around, though, but not sure if that would absolutely be necessary. Think the original rooting instructions on here (cannot find them any more) included installing "Disable_Dm-Verity_ForceEncrypt_05.21.2019.zip" which should remove the need for formatting.
jhill110 said:
Why don't I see a CP file in my firmware file?
All that's in there is :
AP
BL
CSC
HOME CSC
************************
T860 wifi
Do I just leave the CP slot blank?
Click to expand...
Click to collapse
Looks like a broken download. Where did you get that from?
Both T865XXU2BTC7_T865OXM2BTC7_DBT and T865XXU3BTF2_T865OXM3BTF2_DBT contain AP, BL, CP, CSC, HOME_CSC.
Possibly try sammobile, they should have complete ROM archives, although they're slow as hell on non-premium.
Regards,
sub
subworx said:
Looks like a broken download. Where did you get that from?
Both T865XXU2BTC7_T865OXM2BTC7_DBT and T865XXU3BTF2_T865OXM3BTF2_DBT contain AP, BL, CP, CSC, HOME_CSC.
Possibly try sammobile, they should have complete ROM archives, although they're slow as hell on non-premium.
Regards,
sub
Click to expand...
Click to collapse
Well that's interesting... I paid the $$ for faster downloads from Samobile. An hour is far better than 12 or 13. It's where I got the file(s) in the first place.
I downloaded the file again just to be sure and it's the same thing. It works so what the heck.
I'm curious as to what that particular (CP) slot/file is...
Oh btw, I'm T860 wifi.
jhill110 said:
Well
I'm curious as to what that particular (CP) slot/file is...
Oh btw, I'm T860 wifi.
Click to expand...
Click to collapse
CP is related to the Modem. Since your T860 doesn't have a 3G modem chip, you don't need the CP file.
I *think* that's correct anyway.

Question I want to root my A12 but it not work for my phone.please send me a latest version for A127FXXU7BVI1 isBaseband version

I want to root my A12 but it not work for my phone.please send me a latest version for A127FXXU7BVI1 isBaseband version
Try make it manual by Magisk manager
Install the firmware like the one in your device extract it in pc or in phone like you want
Then do OEM unlocking enable and make unlock boot loader
So now copy the magisk apk and AP from your phone firmware
Now open magisk ater install and inside app click install choose "select and patch file" then open ap by app
Copy new file ap from your phone to pc firmware folder
flash full firmware by odin bl cp csc and new ap
then the device will ask you to factory reset when end re install Magisk manager and check root apk
imtmiissa said:
Try make it manual by Magisk manager
Install the firmware like the one in your device extract it in pc or in phone like you want
Then do OEM unlocking enable and make unlock boot loader
So now copy the magisk apk and AP from your phone firmware
Now open magisk ater install and inside app click install choose "select and patch file" then open ap by app
Copy new file ap from your phone to pc firmware folder
flash full firmware by odin bl cp csc and new ap
then the device will ask you to factory reset when end re install Magisk manager and check root apk
Click to expand...
Click to collapse
will you always need to wipe? how do you do OS updates if i want to retain files?
djo_5296 said:
will you always need to wipe? how do you do OS updates if i want to retain files?
Click to expand...
Click to collapse
For OS updates it's enough to flash only super.img. It's inside the AP_[...].tar.md5 file. Extract and tar it, and you can flash it with Odin.

Odin have somes problems when i flash patched Samsung Galaxy A03 image

Hello guys! I'm trying to install a patched boot.img file from my Samsung Galaxy A03 for root but I can't. Every time in download mode when I want to flash the magisk_patched file renamed to boot.img and compressed to boot.tar with Odin, I get 3 types of errors:
The first is that during the flash, Odin for no reason suddenly crashes
The second is that I get a message from succeed 0/failed1
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
No ports defect is present in my opinion because the phone is perfectly detected when it is in normal mode and I can freely access its storage on my PC.
I have a phone with version number A035GXXU1AVC1 and I downloaded the correct firmware for my phone here: https://samfw.com/firmware/SM-A035G/AMO/A035GXXU1AVC1
The steps I went through are:
1) Enable developer mode and enable OEM unlock to unlock payload boot
2) Unlock the bootloader in the Download Mode
3) Download the firmware from the given link
4) Installed Magisk latest version on the phone
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
6) Move this isolated copy of boot.img into the phone to patch it with Magisk
7) Once patched, no errors in Magisk
8) Move the patched copy to the PC then rename it to boot.img and create a tar file containing this patched boot.img
9) Open Odin and in Downloade Mode try flashing the patched boot.tar file but that's where it gets stuck and Odin errors show up
Feox said:
Hello guys! I'm trying to install a patched boot.img file from my Samsung Galaxy A03 for root but I can't. Every time in download mode when I want to flash the magisk_patched file renamed to boot.img and compressed to boot.tar with Odin, I get 3 types of errors:
The first is that during the flash, Odin for no reason suddenly crashes
The second is that I get a message from succeed 0/failed1
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
No ports defect is present in my opinion because the phone is perfectly detected when it is in normal mode and I can freely access its storage on my PC.
I have a phone with version number A035GXXU1AVC1 and I downloaded the correct firmware for my phone here: https://samfw.com/firmware/SM-A035G/AMO/A035GXXU1AVC1
The steps I went through are:
1) Enable developer mode and enable OEM unlock to unlock payload boot
2) Unlock the bootloader in the Download Mode
3) Download the firmware from the given link
4) Installed Magisk latest version on the phone
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
6) Move this isolated copy of boot.img into the phone to patch it with Magisk
7) Once patched, no errors in Magisk
8) Move the patched copy to the PC then rename it to boot.img and create a tar file containing this patched boot.img
9) Open Odin and in Downloade Mode try flashing the patched boot.tar file but that's where it gets stuck and Odin errors show up
Click to expand...
Click to collapse
Feox said:
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
Click to expand...
Click to collapse
I had the above issue myself, and after searching I found this answer and it actually worked, even though it seems silly.
ethical_haquer said:
I had the above issue myself, and after searching I found this answer and it actually worked, even though it seems silly.
Click to expand...
Click to collapse
Sorry for the late reply, I was busy with several other things... When I try the steps in the answer you gave me, I now have Odin freezing on File analysis with versions 3.13.1 and 3.14.4. With the version I was using, 3.10.6, Odin suddenly started crashing instantly this time rather than displaying the errors mentioned in my first message in this thread... I don't know what to do... I tried to Root a Samsung Galaxy A02s, an A12 and before that an old Huawei Y6 from 2014 years ago and I had the same problem every time which is that Odin gives me random errors like what I present for this A03...
Feox said:
Sorry for the late reply, I was busy with several other things... When I try the steps in the answer you gave me, I now have Odin freezing on File analysis with versions 3.13.1 and 3.14.4. With the version I was using, 3.10.6, Odin suddenly started crashing instantly this time rather than displaying the errors mentioned in my first message in this thread... I don't know what to do... I tried to Root a Samsung Galaxy A02s, an A12 and before that an old Huawei Y6 from 2014 years ago and I had the same problem every time which is that Odin gives me random errors like what I present for this A03...
Click to expand...
Click to collapse
So you are following the official installation instructions? I'm pretty sure you don't have to:
Feox said:
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
Click to expand...
Click to collapse
as the official installation instructions for a Samsung device running A9 or higher say:
"
Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
Press the Install button in the Magisk card
If your device does NOT have boot ramdisk, check the “Recovery Mode” option
Choose “Select and Patch a File” in method, and select the AP tar file
Start the installation, and copy the patched tar file to your PC using ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].tar
DO NOT USE MTP as it is known to corrupt large files.
"
It doesn't sound like you have to isolate the boot.img.
Oh OK thanks man! I go try tonight to make a patched OS with Magisk with the entire AP file. What I have do is patch only the boot.img IN the AP file.
And last question. How to know if the phone have ramdisk? Ramdisk is the RAM or nothing to see?
Feox said:
Oh OK thanks man! I go try tonight to make a patched OS with Magisk with the entire AP file. What I have do is patch only the boot.img IN the AP file.
And last question. How to know if the phone have ramdisk? Ramdisk is the RAM or nothing to see?
Click to expand...
Click to collapse
Just read the official installation instructions I linked to. I only copied part of it and pasted it here so you could see it.

Categories

Resources