[Q] About Kernels - One (M7) Q&A, Help & Troubleshooting

I've been experiments a lot with different ROMs and updated my Kernel a few times and everything has been going fine; no real issues. My question being what would I need to do if I want to return to the stock kernel without restoring a Nandroid back up? Also, forgive this noob question, but when I flash a new Custom ROM will it override the kernel I have in place?

Chronos300 said:
I've been experiments a lot with different ROMs and updated my Kernel a few times and everything has been going fine; no real issues. My question being what would I need to do if I want to return to the stock kernel without restoring a Nandroid back up? Also, forgive this noob question, but when I flash a new Custom ROM will it override the kernel I have in place?
Click to expand...
Click to collapse
yup some roms override your current kernel.

Related

Noob root question

after rooting and flashing ROMS, im confused on somethings. When flashing a new ROM do you ALWAYS have to wipe? Also, when you make a Nandroid back up, wipe and flash a new ROM, can you restore from that backup so you dont have to download all your apps//set up your screens all over again? Please help.
If you are switching to a completely new rom, then yes, you have to do a complete wipe. If you are upgrading a rom, adding mods or something similar then you don't need to do a data wipe. If you are switching from a rom that uses apps2sd from one that uses it you should probably wipe your ext partition as well.
To answer your second question, a nandroid backup backs up EVERYTHING on your phone, so using a nandroid restore will knock out your new rom and put everything back the way it was, including apps and settings. If you nandroid back from your new rom (lets say your phone gets stuck in a boot-loop or something...) you should do a data wipe and wipe ext partition, then nandroid.
one-of-four said:
If you are switching to a completely new rom, then yes, you have to do a complete wipe. If you are upgrading a rom, adding mods or something similar then you don't need to do a data wipe. If you are switching from a rom that uses apps2sd from one that uses it you should probably wipe your ext partition as well.
To answer your second question, a nandroid backup backs up EVERYTHING on your phone, so using a nandroid restore will knock out your new rom and put everything back the way it was, including apps and settings. If you nandroid back from your new rom (lets say your phone gets stuck in a boot-loop or something...) you should do a data wipe and wipe ext partition, then nandroid.
Click to expand...
Click to collapse
what does wipe ext partition wipe
also...
I want to use stock Android 2.1 ROM but want to use SetCPU to overclock. I tried flashing this kernel: http://forum.xda-developers.com/showthread.php?t=690238 but was stuck on the white/green HTC Screen. I then tried this kernel: http://forum.androidcentral.com/162759-post49.html and it got rid of super user permission so I couldnt use SetCPU. Is there another kernel I can use? If so can you PLEASE provide download link? One more thing, how do I compile this: http://forum.xda-developers.com/show...ghlight=kernel
shamrock11 said:
what does wipe ext partition wipe
Click to expand...
Click to collapse
It has your apps2sd info in it, hence wiping before changing roms because most use different versions of a2sd.
one-of-four said:
It has your apps2sd info in it, hence wiping before changing roms because most use different versions of a2sd.
Click to expand...
Click to collapse
I want to use stock Android 2.1 ROM but want to use SetCPU to overclock. I tried flashing this kernel: http://forum.xda-developers.com/showthread.php?t=690238 but was stuck on the white/green HTC Screen. I then tried this kernel: http://forum.androidcentral.com/162759-post49.html and it got rid of super user permission so I couldnt use SetCPU. Is there another kernel I can use? If so can you PLEASE provide download link? One more thing, how do I compile this: http://forum.xda-developers.com/show...ghlight=kernel ?
shamrock11 said:
I want to use stock Android 2.1 ROM but want to use SetCPU to overclock. I tried flashing this kernel: http://forum.xda-developers.com/showthread.php?t=690238 but was stuck on the white/green HTC Screen. I then tried this kernel: http://forum.androidcentral.com/162759-post49.html and it got rid of super user permission so I couldnt use SetCPU. Is there another kernel I can use? If so can you PLEASE provide download link? One more thing, how do I compile this: http://forum.xda-developers.com/show...ghlight=kernel
Click to expand...
Click to collapse
Ok... I'll give you what info I can, but I'm somewhat new to this myself... the first kernel you tried to flash has to be used in tandem with the rom listed at the top of the thread (darchdroid...) the second needs to be used with damage control's rom. I don't understand why you lost su permissions by flashing the second one, but again I'm new to this.
I hope you made a nandroid backup (always do this, otherwise some people around here will flame you...) I would restore, try installing the rom for the kernel you want to use and then re-flash it.
Something you might like is freshtoast (check: http://geekfor.me/new-release/fresh-toast-v21/) it has a stable rom (fresh 2.1.x) and all the overclocking goodies you're looking for. That way you won't break your phone / lose root in the process.
P.S. your link is broken for your last question, so I can't answer it
one-of-four said:
Ok... I'll give you what info I can, but I'm somewhat new to this myself... the first kernel you tried to flash has to be used in tandem with the rom listed at the top of the thread (darchdroid...) the second needs to be used with damage control's rom. I don't understand why you lost su permissions by flashing the second one, but again I'm new to this.
I hope you made a nandroid backup (always do this, otherwise some people around here will flame you...) I would restore, try installing the rom for the kernel you want to use and then re-flash it.
Something you might like is freshtoast (check: http://geekfor.me/new-release/fresh-toast-v21/) it has a stable rom (fresh 2.1.x) and all the overclocking goodies you're looking for. That way you won't break your phone / lose root in the process.
P.S. your link is broken for your last question, so I can't answer it
Click to expand...
Click to collapse
I don't want to use a rom. I was told I can overclock if I use a custom kernel. Which kernel should I download from the second link and heres the last link: http://forum.xda-developers.com/showthread.php?t=684838&highlight=kernel
Sorry for the delay... long day(s) at work!
For your kernel problems, please read this guide: http://forum.xda-developers.com/showthread.php?t=622916
It gives you step by step instructions on how to compile and install (probably the wrong term, but whatever...) the kernel you want.
In order to use setCPU you'll need a custom kernel, the CDMA Hero doesn't support it straight out of root.
This thread seems like it may contain your answer: http://forum.xda-developers.com/showthread.php?t=699792
I also highly recommend heading to following link, it has tons of guides and will answer most of your questions: http://forum.xda-developers.com/showpost.php?p=6738713&postcount=1
Hope this helps, but as far as more in-depth kernel questions, you'll need to find someone else to ask, I'm all out of ideas

How to install Kernel elegantly>

Hi Guys!
I had my first experience installing a Kernel the other night. It was a HAVS kernel to go with my CM6 install.
Well, the Kernel didn't work out too well, and it was a learning process to get things back the way they were.
Right now I am back with Cyanogen 6 RC1 and its stock kernel, which appears to be 2.6.35.7-cyanogenmod [email protected]#1
My first question is, where can I download the above kernel raw, in case I want to revert back to it? (Last time I had to do a full wipe to be sure the old kernel was gone, with a stock boot.img, then a cm6 install, and a nandroid backup of my previous CM6 install, to get my original kernel back and make things non "stuttery" again)
Big thanks if you can link me to that!
My second question is...how do you guys install and overwrite kernels elegantly, without having to go through noobish drama like i did? you know..try new ones and such?
I'm not very sure if there is individual CM Kernel download, but I know at least Pershot's kernel should always work with CM:
http://droidbasement.com/db-blog/
Sometimes a kernel may contain a new Wifi driver, so my suggestion is to disable Wifi before flashing any new kernel. Also making a Nandroid backup may be necessary cause if something goes wrong, you can Nandroid restore back
Thanks houzuoguo! I like the link!
So is it safe to say that a nandroid backup restores the kernel too? (I heard that the kernel is what tells the hardware how to react to the software...so my thinking was that a nandroid backup would just be the software above say, a bios hardwritten..?)
Kernel is a part of operating system Nandroid backs up everything including kernel~
The kernel is a part of the boot.img and is backed up by nandroid, yes. You could just fastboot flash boot boot.img from your nandroid if you don't feel like restoring the entire backup.
You also need to replace your wlan kernel module with the one matching your kernel. Basically, every time you recompile the kernel after any changes you need to recompile the wlan module too since they are tightly linked.

[Q] custom rom after applying the "easily update to 5.7.893 and keep webtop"

[Q] custom rom after applying the "easily update to 5.7.893 and keep webtop"
Hey guys new to the bionic and have already done lots of flashing and changing to it. I read the easily update thread so I reverted back to stock using the For3v3r root and applied the update and the webtop mod. After searching through the entire thread all pages no one asked or said anything about whether or not that mod will work if you flash a custom rom.
So my question is...Can I flash a custom rom after and it still work? I specifically like liberty so any help would be fantastic.
Thanks in advanced and I promise I searched and searched for this answer. Please help
I dont really know what you are asking. If you are asking if you can install a custom ROM after updating to 5.7.893, then I would say yes. If you are asking if you had a custom ROM on there first and then tried to upgrade, I would say, yes that should work too, so I guess the answer is "yes".
Thank you for your response. I guess to be more clear is if I am on the stock rom with this webtop mod applied can I go ahead and flash a custom rom without loosing the ability to have the webtop mod?
rkuhldude77 said:
Thank you for your response. I guess to be more clear is if I am on the stock rom with this webtop mod applied can I go ahead and flash a custom rom without loosing the ability to have the webtop mod?
Click to expand...
Click to collapse
Generally any restrictions regarding mods and custom ROMs are contained in the post for the ROM or mod. The 5.7.xxx update is a system update. Think of it as firmware....the under layer. It may come in a Stock package, but if you Flash or mod in any way, you would be impacting only that stock package.....unless the OP posts in the thread.
Many people on other devices, may revert to Stock implementations....to do the OTA....then continue with other flashes like before. Things that are flashed, kernel, baseband, system, radio etc.....all work together with the hardware to deliver your Bionic experience.
That actually makes a lot of sense. I can obviously follow instructions to flash especially when the devs make one click roots and other tools to make it easy for noobs like me, but what you just said made my understanding much better.
Thanks again.
would restoring a nandroid from a 5.893 system be a bad idea?
I actually updated mine with forever root to 5.7.893 then flashed Liberty 1.0 ROM on my phone and its worked great so the answer is definitely yes.

[Q] Newcomer to the P1000 Galaxy Tab. Put a 'cube out of his confusion.

Okay. So, I've just acquired a Galaxy Tab off eBay. It's on it's way to me, so I thought I'd burn up a few cycles and go download some goods for flashing as soon as I get it.
The setup: ROM version is Gingerbread. Assume Stock ROM. Model is P1000 (Unlocked GSM).
The question is this. I am completely confused as to what I need to do, and I'd like someone to point me in the right direction. With other devices, I would just root, install custom recovery and voila. Non-stock device. Does this same rule apply with the Galaxy Tab, or is it a new ball game?
Basically, what is the easiest way of getting a custom ROM onto my Galaxy Tab? Do I need to use ODIN and co? Or can I do it all via recovery? Is there any n00b guides that explain installing your first ROM?
I don't want to jump through hurdles that I could have avoided. So, that's why I'm asking you for help. Put me out of my confusion, get a +1 thanks in return. Sounds good, no?
Thanks again. Your help is appreciated.
good day sir.
basically is the same with otherdevices,
root it, install clockworkmod, download and install roms
you will need to flash via odin first because stock rom of gtp1000 have limited options in the recovery mode.
after that, all flashings can be done vie clockworkmod recevery... for your convenience search for these ff. keywords:
overcome kernel
overcome rom
zergrush
cm9 rom
humberos.
no need for thanks buton, i just want to ask you to refrain posting posts in the development forums if you think your post will not contribute to the development, too many assholes there beating each other up and flooding the forum of bullshits.
thanks.
Alright, thanks for the explanation, I appreciate it! Seems to be making sense now...
So, basically, with any ROM I flash, I must use ODIN to flash the kernel? Or will the ROM take care of that? I heard the kernel is mixed in with the recovery system, so I'm a little unsure as to what the go is.
no u just need o flash a kernel with clockworkmod recovery and all succeding flashings be it rom, kernel or anything else canbe done using clockworkmod recovery. of course there are exceptions if the developer specifically requires u to flash via odin
You should follow the Overcome Guide for your first flash, it is comprehensive and easy peasy, lemon squeezy
There are some pics missing in the linked page, I have a cached copy from google that you can refer to also.
GL.
Make back up or the original or current rom
I would like to flash my tab with a custom rom, but I also want to be able to revert or go back to the original rom. My question is how you back up your current or original rom so you could restore it back to its original condition? CMIIW but Titanium back up only back up the apps and stuffs but not the rom, or is it?
ChevanLemon said:
I would like to flash my tab with a custom rom, but I also want to be able to revert or go back to the original rom. My question is how you back up your current or original rom so you could restore it back to its original condition? CMIIW but Titanium back up only back up the apps and stuffs but not the rom, or is it?
Click to expand...
Click to collapse
Please do not hijack my thread. You should make another thread for that - and that's what CWM is used for - making backups!

question about kernel

Sorry for asking this , but just yesterday i made it to install my 1st custom rom.
Now im on vanir rom and at my settings sais that my kernel is: 3.1.10-cm+ . i dont seem to have any problem. everything is fine. battery is fine too. So my question is , can i install whatever kernel i want ? and if i have any issues i can just install another one ? No need for for wipings all cache and data right ?
thing is , i dont seem to understand what kernel to choose. for example i see kernel for stock rom, kernel for cm and kernel for miui. vanir rom sais in settings its jellybean 4.3. so that means i choose stock kernel ?
Search before posting! All these things you ask for are basic knowledge,
which you should have if you flash a custom rom/kernel or you probably
end up posting a "please help me"-thread here.
So take your time and search/read everything about android.
Don't expect anyone to give you a step by step tutorial on
every single thing you could do, as XDA is a development forum.
Omario-242 said:
Mod Edit: Personal attacks will not be tolerated. If you have a problem with another member, report them, ignore them, or respond to them in a mature and respectful manner. Negative responses like these serve no purpose other than to stir up trouble and start arguments.
Click to expand...
Click to collapse
????????
kessaras said:
????????
Click to expand...
Click to collapse
you don't need to understand this part, just ignore it
about the vanir kernel, it's the "safest" way to use the stock kernel. I've made a vanir version of my kernel, but it has some GPU issues which i am trying to resolve ATM.
Some people reported CM10.2 kernel would also boot/work, but i am not sure about this one.
So make a nandroid backup, flash another kernel, wipe /cache and dalvik cache, reboot and see if it boots
if it does, congrats, if it doesn't, just restore your boot image via recovery
laufersteppenwolf said:
you don't need to understand this part, just ignore it
about the vanir kernel, it's the "safest" way to use the stock kernel. I've made a vanir version of my kernel, but it has some GPU issues which i am trying to resolve ATM.
Some people reported CM10.2 kernel would also boot/work, but i am not sure about this one.
So make a nandroid backup, flash another kernel, wipe /cache and dalvik cache, reboot and see if it boots
if it does, congrats, if it doesn't, just restore your boot image via recovery
Click to expand...
Click to collapse
well.... the only vanir rom i found around was one of werewolf but the phone didnt get passed the boot logo.
The only rom that worked ( tested every single rom out of curiosity since im new to android ) , was the iodak cm 10.2. wierd ? maybe... others here were surprised a little. maybe ! i dont know. anyway now im on that kernel and i dont like it too and i dont know how to extract the kernel out of the vanir rom to put it back like it was. the iodak hasnt got the feature to customize the hardware buttons. those buttons now never go off unless i stop touching the phone.
and by the way +thanks from this post for the vanir rom. is my favorite )) i was 5 years on ios , android is new to me. hope i find a way to get the vanir stock kernel without i need to do a whole downgrade to the full rom and then update back. ( it would be faster though since im a noob but i like to kill my time "destroying" my phone and then have to restore it )

Categories

Resources