Install Kernel Via Flashtool
- Dec 15, 2013. Click flash button. Choose “Fastboot Mode“. Click “Reboot into fastboot mode (via ADB)“, and wait until it's done. Click on “Select kernel to flash“, choose the kernel file, and wait until it's done. Click on “Reboot device into system“. Check your phone whether it is restarting or not. That's all guys!
- Kernel Installation: Kernels(boot.img) are the main base for any custom rom you install, kernels are installed using FASTBOOT feature of android ADB. You flash any custom rom make sure you've installed its related kernel (boot.img). 1: Download Flashtool and the kernel you want (for example the alliance kernel).
WARNING: IF YOUR PHONE DOESN'T START(BOOTLOOPING) YOU INSTALLED KERNEL NOT SUITABLE FOR YOUR CURRENT ROM. FIND DIFFERENT KERNEL AND REPEAT AGAIN. Method 2 using FLashtool. Open Flashtool 2. Connect your phone in Fastboot mode. On Flashtool choose the.
Matthieu HarléMatthieu Harlé1 Answer
There are two ways, depending on your firmware version. They work on both locked & unlocked bootloader.
Requirements
- Having adb drivers installed (usually installed with Sony PC Companion)
- Having enabled
Unknown Sources
- Having enabled
USB Debugging
- PC Companion must not be running
(credits for DooMLoRD, guide from this thread)
- Download this archive and extract it.
- Connect your phone to your computer.
- In the extracted folder, double click on the RUNME.bat file.
- Follow the instructions (usually one key to tap).
- Reboot your device if it doesn't do it itself.
Install Kernel Via Flashtool
(credits for DooMLoRD, guide from this thread) Eve tools planetary interaction production.
In these versions, Sony has patched the exploit, so we need to flash an older kernel that has the exploit and then reflash the kernel of our actual firmware version. This requires flashtool.
- Download this archive and extract it.
- Download the kernel file from 1.257 firmware.
- If your actual firmware version is 2.245, download this kernel file. If it is 2.254, download this one.
- Open flashtool, click on flash icon (see image), select flashmode, browse to 1.257 kernel ftf, validate.
- Disconnect your device, shut it down, then while pushing on the volume down button plug your device to your computer. The illumination bar should go green.
- Wait for flashtool to finish, then reboot.
- CLOSE FLASHTOOL
- In the extracted folder, run the runme_ file (exact name depends on your OS).
- Once it is finished, shutdown your device.
- Open Flashtool again, repeat the same steps as before, but select the kernel FTF for your actual version (2.245 or 2.254).
- Plug your device in Flashmode.
- When flashtool has finished, you can reboot and finally enjoy your root!
As for 12.0.A.2.245 and 12.0.A.2.254, the exploit is fixed, so we need to root while being on an older firmware (2.254 preferably), flash the new stock rom zip via recovery and flash the new kernel via Flashtool.(thanks to niaboc79 for this method).
- Downloads:
- 12.1.A.0.266 FTF (Full or Kernel Only)
- Stock ROM deodexed or any stock based ROM of your choice
- Update to 12.0.A.2.254.
- Root using the 2nd method.
- CLOSE FLASHTOOL
- Unzip the recovery archive and run the .bat file.
- Put the ROM and fix zip on your phone.
- Reboot in recovery (Power Off your phone, then power on and press (not maintain) volume up on multiple times until it vibrates).
- Flash the ROM.
- Flash the fix.
- Advanced -> Power Off
- IF IT ASK YOU ABOUT A SU OVERWRITE, SELECT NO
- Open flashtool and flash only the kernel from the .266 ftf. (see screenshot from niaboc79)
- Unplug, power on and enjoy Android 4.3 with root!
Install Thunderzap Kernel Using Flashtool
Matthieu HarléMatthieu Harléprotected by Community♦May 27 '14 at 17:24
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged rootingsony-xperia-sp or ask your own question.
Once you unlock your Android’s Bootloader, changing the kernel is one of the many things that you can do with your Smartphone. The kernel is the piece of software that let’s the Android system to communicate with the hardware. Having a custom kernel has many advantages as follows:
- Overclocking the processor
- Provision for Undervolting the CPU (for battery saving)
- Two way call recording
- Zram script (improves performance)
- Init.d support (boot time tweaks initialization)
- Custom CPU scaling governors
- Custom I/O schedulers
- Support for EXT 2/3/4 file systems
- Pre-Rooted device
- Custom Recovery on Android
Sony Xperia Devices have a locked bootloader by default which prevents users from flashing a custom kernel or a custom ROM. Unlocking the bootloader enables you to flash a kernel in your device.
Usually kernels are ROM specific, hence the user is advised to do enough research regarding the particular kernel the user is about to flash.
Requirements for Flashing Kernel on Xperia devices
- Bootloader Unlocked of your Sony Xperia device (to unlock bootloader refer to Sony Official Unlock method)
- Android SDK (method 1)[refer to this guide: How to install Android SDK]
- Sony PC companion (for device specific drivers)
- Flashtools (Check method 2)
- Kernel to be flashed
Two techniques to flash a kernel in Xperia phones are listed below
Method 1: Using Fastboot (Android SDK)
- Open the folder where you have installed the SDK. Example: C:/Users/XYZ/android-sdks/platform-tools
- Now place the kernel IMG file that you wish to flash in this folder
- Rename it to boot.img
- Now press Shift + Right click and select Open Command Window here
- Now Power Off your phone
- Press and hold the Volume Up button and connect the device to the PC using USB cord.
- A blue led will light up on your phone
- Now type the code: fastboot devices into the CMD window.
- If it returns a numeric value the phone is successfully connected in Fastboot mode.
- Now type the command fastboot flash boot boot.img
- If everything goes right it will show a success message and that’s all you successfully flashed a custom kernel
- Disconnect your device and power it ON to boot into your system with the new kernel
Method 2: Using Flashtools
- Once you install Flashtools, go to the directory where you installed it. Example: C:/Flashtool/drivers
- Install the Flashtool-drivers.exe
- Once finished open Flashtools/Flashtools64 depending on your PC’s processor (32bit or 64bit)
- Now click on the lightening button on the upper left corner.
- select Fastboot mode and press OK.
- A window called as the Fastboot Toolbox will appear.
- Now Power Off your phone.
- Press and hold the Volume Up button and connect the device to the PC using USB cable
- A blue led will light up on your phone
- Now Select the option Select kernel to flash
- Navigate to the folder where you placed the downloaded kernel IMG file and select it
- Flashtools will flash the kernel and show a success message on the main screen
- Press Reboot system
Done! Let us know your experience of Flashing a New Kernel on your Xperia with these methods.