[Q] rom n bootloader/kernal confusion - Nexus S Q&A, Help & Troubleshooting

hey i'm coming from using moto milestone n i'm really confused abt something
since there was no custom kernal for milestone
1) when i root my phone do i unlock the bootloader also ?
2) when i install a rom which says it has a kernal so tht means when i flash it the custom kernal flashes as well on its own ?
3) if i install a rom n then i want another kernal, do i flash it the same way ?

1. Bootloader need to be unlocked in order to root and install custom roms.
2. Each rom comes with a kernel but you can flash other kernels on it.
3. Flashing a new rom will wipe your kernel to a stock one which comes with the rom. But you can reflash any kernel on it.
So basically unlock bootloader> root> install clockworkmod> make backup> install rom> flash kernel> install different rom> reflash favorite kernel again.

Related

Query before unlocing bootloader

what is the difference between rom & kernel flashing ? Are they interdependent (eg flashing a custom rom requires custom kernel beforehand or vice versa) ? what difference do they make by flasing custom rom & kernel ? Do they depend on odexed or deodexed rom ?
Flashing kernel requires cwm/ flashtool with unlocked bootloader.Do flashing rom also requires same ?
I need to clarify these things befre flashing rom * kernel.Also which is the best one till date for custom rm & kernel?
XL C2104, 15.3.A.1.14, Odexed stock rom with locked bootloader & full root.
should i flash a custom kernel before any custom rom ?
should i get ubl & deodexed rom 1st ... ?
ROM's are majorly Deadened.. They consist of some moded features from different phone or version of Android.. They can be modified as required..
Kernel's consist of CPU & GPU governors, schedulers, CPU linking, CPU & GPU overclocking, etc..
You can flash a rom without unlocking your bootloader, but you cannot flash a kernel without unlocking the bootloader..
Sent from my LT26i using xda app-developers app
JOYGR said:
should i flash a custom kernel before any custom rom ?
should i get ubl & deodexed rom 1st ... ?
Click to expand...
Click to collapse
if u unlocked ur bootloader u will lose ur warranty......so u must make TA backup before unlocking ur bootloaders....after that u can flash kernel with CWM or TWRP RECOVERY from where u can easily flash custom rom .zip files.......HOPE THIS INFO HELPS...

[Q] Kernal related Doubt

1 lets say if I m on kitkat kernal and kitkat rom! Then I wanna revert back to jellybean do I need to flash jb kernal first from recovery then rom ?
2 if I flash Custom kernal and rom some hardware issue arrise obviously I need to be on stock rom and stock kernal and locked bootloader! So I tried finding stock kernal for Xperia L but I failed? How to get stock kernal? Or I don't need it I can fool Sony by installing stock rom only?
Grab the ftf from the link
If you want to revert back to JB:
1. Flash the kernel using flashtool.
2. From the recovery, you can install custom Rom.
OR
If you want go back to stock, just the flash the recquired FTF
http://forum.xda-developers.com/xperia-l/general/sony-xperia-l-flashable-ftfs-locked-t2560642
Press thanks if I helped you...

[Q] Troubleshooting while updating to 4.4.4

Hi all,
Since a few days I'm trying to update my Nexus 5 to Android 4.4.4 but everything I've tryed has failed !
Today I'm running stock ROM 4.4.2 + root + TWRP recovery + Xposed
What I've tryed :
_ OTA : device reboot on recovery and does nothing
_ Flash stock using the latest Nexus Rom Toolkit from Wug Refresh : device reboot on bootloader and get stuck on a "downloading..." message while PC get stuck on "downloading bootloader"
_ Flash zip from TWRP : tryed several zip, all of them has failed
I don't know what to do next, so now I'm asking your help...
Also I hope this post is in the right section !
Download vomer's stock rooted 4.4.4 rom from the development section and dirty flash it from custom recovery. This should do the job.
You can find the mentioned rooted stock in my signature, section 6.6
Sent from my Nexus 5 using Tapatalk
Before trying this custom ROM could you explain me the difference with the stock ROM and why I cannot flash the stock one ?
Is it because I have Xposed or something ?
And also after flashing the custom by vomer, can I try to flash again the stock one ?
3RR0R404 said:
Before trying this custom ROM could you explain me the difference with the stock ROM and why I cannot flash the stock one ?
Is it because I have Xposed or something ?
And also after flashing the custom by vomer, can I try to flash again the stock one ?
Click to expand...
Click to collapse
The One which we are telling you to flash is the stock rom. Yes, it's because you have Xposed and other modules installed.. God knows what changes it has made to system.
There's no need to flash the factory images again as vomer's thread contains the stock itself.
- Sent from an IceCold Hammerhead!
3RR0R404 said:
Before trying this custom ROM could you explain me the difference with the stock ROM and why I cannot flash the stock one ?
Is it because I have Xposed or something ?
And also after flashing the custom by vomer, can I try to flash again the stock one ?
Click to expand...
Click to collapse
All of your questions have already been answered, except the Vomer ROM one. While technically a custom ROM, it is only stock ROM with root. So going back to pure stock would be pointless.
Edit: ninja by @vin4yak

[Q] about kernels of moto g [CM12]

i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
gearguy365 said:
i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
Click to expand...
Click to collapse
1. The kernel is first flashed when you install a ROM. You are supposed to flash a custom kernel after flashing a ROM otherwise the rom zip will overwrite it. It doesn't matter if you install it in the recovery or the boot loader.
2. To go back to the stock kernel just take it from the zip of the ROM and flash in the bootloader
where can i find the kernel inside the rom zip?
and if i want the stock motorola kernel that comes with factory firmwares
how can i collect that?
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
mistercheese said:
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
Click to expand...
Click to collapse
flashing only the boot.img of a rom wont bring back the default kernel?
and is there any way to make a flashable zip of a kernel from that particualr boot.img?cause all the kernels i see (like donkey kang/customized cm12 kernel) there are all distributed in .zip format.....

Mi4C Flashing From Stock

hei there, i just bought a new mi4c. and it has been a week.
So i want to share my step on installing custom rom right away from stock.
the step is :
1. Install kingiroot
2. Root your phone using kingiroot
3. Install flashify from playstore
4. grant root for flashify and flash twrp custom recovery to mi4c
5. install reboot recovery from playstore and use the app to enter recovery mode
6. Flash custom recovery from your desired ROM. (in my case, i install custom recovery from xiaomi.eu
7. Install your ROM through the custom recovery
Done.
I've already installed Custom Rom 8.2.1.0 miui.eu Everything work well excepet edge tap (edge control).
do i miss something on my flashing step?
or do i need some later ROM as baseband before installing my desired custom ROM?
For anyone following this, if you want to flash a not miui based custom rom you have to unlock the bootloader with the official tool, otherwise you will brick the device.
If you brick the device flash the oldest firmware you can find(I already had this problem before).
I used Kingo to root my Mi4c and it worked well.
Does not work anymore if you run with Android 7.0
Note: my AV detected Kingo Link as trojan...

Categories

Resources