FORUMS
Remove All Ads from XDA

[n00bs][How-to] Flash Custom Kernels and Roms

777 posts
Thanks Meter: 623
 
Post Reply Email Thread
Hello my friends.

I think its a good idea to offer this simple guide and explanation for new Xperia and Android users about how to play with their new toys.

I will add new stuff to the content when needed.

First I want to start with the kernels and recovery.

Kernels

WTF is a kernel?
The kernel is the communication bridge between software and hardware, is the most important part of any OS.

All OS have a kernel, even windows and iOS but since android its based on linux the kernel must be a GPL. So manufacturer must be public the source code of the kernel and third party devs can compile and modify it.

Now since SE decided to open the bootloader of certain devices (and the_laser find the way to do it to the rest ) we can use those nice kernels we are talking about. And this is how to do it.

You will need:

1. Unpack the Fastboot.7z on C:/. There are 6 files and 1 folder. Folder contain fastboot driver.

2. Make sure the drivers are running. Check this thread to see how to install it. Jump to "2. Install S1 Boot Fasboot Drivers..."

3. Inside the pack are 2 batch files (.bat)

Quote:

1. Drop_here_to_boot_kernel.bat
2. Drop_here_to_flash_kernel.bat

The first one (1.) can be used to start the phone with the custom kernel to test. The kernel will get back to original after reboot the device.

The second (2.) its used to flash the kernel on the proper partition. This will persist after reboot (You can flash any other kernel in the same way to overwrite it)

To use this files you just need to drag and DROP the kernel in .img format on selected .bat file.

There will appear a window like this:



Sometimes the window blinks and dissapear, in that case copy the .img file inside the fastboot folder and repeat the process.

Now attach the phone in fastboot mode.

Quote:

Fastboot Mode: Turn off your phone, then press and hold menu key (Arc/Neo) or Search key (Play) and attach USB cable to phone. You will get a beauty Blue Light.

The black window will show how the kernel its flashed or loaded and it will close itself.

Now all its done, you have a custom kernel.
The Following 55 Users Say Thank You to Alejandrissimo For This Useful Post: [ View ] Gift Alejandrissimo Ad-Free
 
 
21st February 2012, 05:38 AM |#2  
Alejandrissimo's Avatar
OP Senior Member
Thanks Meter: 623
 
Donate to Me
More
Custom ROMs
WTF is a ROM?

The rom is the software of our devices, the Android OS.

There are 3 kind of roms, Stock or Stock Based, AOSP and CyanogenMod roms.

Stock or Stock Based:

Are the official ROMs or the ones based on the original, with tweaks and stuff added. Normally this kind of ROM (Stock Based) are the most stable choices.

AOSP - Android Open Source Project

Vanilla android, like the nexus devices, its a native android interface and its the base of the next.

CyanogenMod & MiUI

The best custom roms out there. Great support and continuously improved, has unique features to enhance the customization experience. Both support themes.

How to install a custom ROM:

You will need:

1. Copy the .zip ROM in the sdcard. Its better to put inside a folder (start called with A or Z to easy access.)

2. Flash the proper baseband with flashtool.

3. Now flash the custom kernel recommended for the rom. Check the first post to check how to.

4. Start the phone and boot into recovery. To do this you need a custom kernel with built in ClockWorkMod (CWM). In the arc you need to press several times volume down button to enter into recovery for example.

5. On recovery you should see something like this (maybe different):



To move use Volume buttons, to select use Home button
  • Select "Wipe data/factory reset". Confirm operation.
  • Select "Wipe cache partition". Confirm operation.
  • Go to "advanced" menu
  • Select "Wipe Dalvik Cache". Confirm operation.
  • Select "Wipe Battery Stats". Confirm operation.
  • Go back and select "Install zip from sdcard"
  • Select "Choose zip from sdcard"
  • Search and install the ROM in .zip format that you copy to sdcard in step 1.

That's all, you have the ROM flashed and ready to start.
The Following 34 Users Say Thank You to Alejandrissimo For This Useful Post: [ View ] Gift Alejandrissimo Ad-Free
21st February 2012, 05:38 AM |#3  
Alejandrissimo's Avatar
OP Senior Member
Thanks Meter: 623
 
Donate to Me
More
reserved too....
The Following 3 Users Say Thank You to Alejandrissimo For This Useful Post: [ View ] Gift Alejandrissimo Ad-Free
9th April 2012, 08:13 PM |#4  
PANCHOMATASANO's Avatar
Member
Flag MONTEVIDEO
Thanks Meter: 8
 
More
THANKS
Thanks
i am testing cm 7.2 rc1 iyokan
in mk16
9th April 2012, 09:41 PM |#5  
Member
Thanks Meter: 1
 
More
nice one thanks
10th April 2012, 01:53 AM |#6  
guza88's Avatar
Member
Flag Novi Sad
Thanks Meter: 1
 
More
I'm still new to all this, is this method any better or the same as using Flashtool (for installing kernel)?


Edit: nwm, its the same...
14th April 2012, 02:07 PM |#7  
Member
Thanks Meter: 8
 
More
Sometimes the window blinks and dissapear, in that case copy the .img file inside the fastboot folder and repeat the process.

i can't do this.whatever i do,the window dissapears
14th April 2012, 04:00 PM |#8  
ArcMan09's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 350
 
More
But we have to format system also in mounts and storage..!! Before installing a rom.."

Sent from my LT15i using xda premium
15th April 2012, 02:47 AM |#9  
ataraxy's Avatar
Member
Thanks Meter: 2
 
More
Great! I'm subscribing to this thread.
Can you also explain baseband too?

By the way the images are not showing - no bandwidth?

Sent from my LT18i using XDA App
27th April 2012, 11:12 PM |#10  
Daniel_.'s Avatar
Member
Flag Elburg
Thanks Meter: 9
 
More
Thank u very much!
I've succesfully installed a kernel (Doomkernel v04) for the first time.
1st May 2012, 06:56 PM |#11  
Junior Member
Flag Serdang
Thanks Meter: 0
 
More
Followed the steps with neo V to try CM9 and I'm stuck at step 4 of installing custom ROM. The phone simply won't boot.

I have
-rooted and unlocked the bootloader
-installed CWM
-flashed recommended baseband
-flashed the supplied kernel

Any help, please?
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