since I heard many questions lately concerning flashing a boot.img onto the One S I decided to give you a small tutorial! (which should also work on any other device with bootloadermode)
If you have fastboot already installed on your PC it's very quick & easy!
Pls be aware that this could damage your phone & I'm not responsible for this. so only do this if you really feel comfortable with it & you know about the risks!
First of all you need to have fastboot & adb installed, as well as the drivers for the One S. If you haven't, move on to the second post in this thread!
If you are on a Sense-based ROM make sure you haven't ticked the fast boot option in the settings!
What is the boot.img?
-> basically it contains the kernel & the ramdisk. But let's hear what the pros have to say:
"The boot.img is a small(ish) file that contains 2 main parts, the kernel (the brain of the Android system) and the ramdisk (a core set of instructions and binaries that begins the boot process and controls base aspects of the system, such as mountpoints, memory management and startup services)" Source
Do I need to flash the boot.img manually in fastboot?:
- No, if you're using TWRP and are on a Hboot-version lower than 1.13
- Yes, if you're using any other recovery (like CWM)
- Yes, if you're using TWRP and your ville has the Hboot-version 1.13 or higher
reboot your Phone into the bootloader.
This can either be done via
- powering off and keeping volume up & the power-button pressed
- the extended power-menu (If your ROM has it, just select "reboot" & then "bootloader")
- via adb, connect your phone with the pc, make sure it says "USB debugging connected", go to Android/platform-tools/ & then press shift while you perform a right click with the mouse, then choose "open prompt here", type
I personally prefer one of the last two methods, depending which way occurs faster to me at that specific moment.
make sure it says "Fastboot USB" like in the following picture
(Source = Google)
Test if it your device has been detected with the following command:
copy the boot.img you want to flash into the folder C:\android\platform-tools\ & then execute the command
fastboot flash boot boot.img
wait for it to succeed.
if it says okay two times & the prompt reappears everything should be fine
reboot your device with
If you want check
Settings -> About phone -> Kernel
The whole process should look something like this in your CMD:
Quick & easy!
When I helped please press the thanks button!
If you have any suggestions to make it even easier of found a mistake, please tell me, it's already very late in Germany
BE AWARE THAT I'M NOT RESPONSIBLE IF IT DOESN'T WORK OR BREAKS YOUR PHONE! THIS IS JUST THE WAY I UPDATE THE BOOT.IMG ON MY PHONE!