Short: I encrypted my SD-card and didn't think of decrypting it before I flashed a custom rom. Can I get my files back?
2. Do you flash a kernel before or after installing a ROM? I flashed the kernel b4, seems to work but is there any possible issues?
---
Story:
Encryped SD-card, flashed kernel and installed [ROM]LiquidSmooth-JellyBean v2.0 RC3.
Seems to work just fine but of course I can not access my files.
If you flash the kernel before the Rom it will be replaced by the rom's one. ...
Damien74 said:
2. Do you flash a kernel before or after installing a ROM? I flashed the kernel b4, seems to work but is there any possible issues?
---
You do not flash a kernel unless you want to change a kernel .
Flash a firmware over a kernel wipes that kernel .
jje
Click to expand...
Click to collapse
Ah I see.
Well. I would want to if there is one better of course.
But perhaps there are features in the kernel that the ROM depends upon? But that question is better put in the thread of the particular ROM of course.
I'll look into that, thanks.
Any takes on the encryption problem?
Damien74 said:
Ah I see.
Well. I would want to if there is one better of course.
But perhaps there are features in the kernel that the ROM depends upon? But that question is better put in the thread of the particular ROM of course.
I'll look into that, thanks.
Click to expand...
Click to collapse
Again no the the rom developer will pick what they think is the best kernel . You are at liberty to try other kernels .
jje
Related
I've been doing this whole "reading" thing about flashing and all that, but some confusion is still there.
I have rooted my newly got SGS2 (i9100, UK).
Now what ? I'm looking at Darky's rom, but there are two files to flash separately: kernel (darkcore1.7) and ROM itself.
1. I was just wondering what is kernel in this situation ? Can i keep my current kernel, which was flashed by superoneclick(2.1.1) or do i absolutely need to flash darkcore ?
2. Same question applies to any other rom out there - can i use different kernel to the rom i may want to flash ? A lot of them come in sets (rom+kernel)
3. Another question - if i mess up kernel flash somehow, does that kill "download mode" of the phone (voldn+pwr)?
I have SGS1 flashed just another day, due to it being "expendable" now that i have SGS2, so jumped in and flashed it following instructions, but without solid understanding. Either stuff gets too complicated or i'm getting too old for this **** (I do have a background of messing with PCs, videogame consoles (ps1 era to ps3/360), winmo6 phones, gadgetry in general...engineer at heart )
You can use any kernel with any ROM. And no I don't think your Download Mode will be gone if you mess up a Kernel.
Kernel don't come in sets. You can choose your favorite there. See Dev section for more details.
Regards.
Correction: SuperCore, not darkcore...
Can i use cwm app (v2.0)to flash any kernels ? Or does it have to be odin ?
sliex said:
Correction: SuperCore, not darkcore...
Can i use cwm app (v2.0)to flash any kernels ? Or does it have to be odin ?
Click to expand...
Click to collapse
Rom>>That depends upon the instructions as always in the rom you choose for a custom rom .
Kernel is flashed via Odin Via CWM app or via CWM recovery .
Kernel is the core of the system between hardware and operating .
jje
Ok, so saying that, What stock Kernel can I use for Cyanogenmod7 ROM?
I was using "XWKE7" previously.
The ZIP file that i downloaded actually replaced my kernel with its own.
I'm asking this as I wanna use Tegrak overclock which is only compatible with stock kernels.
Rjmcgauley said:
Ok, so saying that, What stock Kernel can I use for Cyanogenmod7 ROM?
I was using "XWKE7" previously.
The ZIP file that i downloaded actually replaced my kernel with its own.
I'm asking this as I wanna use Tegrak overclock which is only compatible with stock kernels.
Click to expand...
Click to collapse
Stock kernels will not work with cyanogenmod. There are no overclockable kernels available for it yet.
Sent from my GT-I9100M
I just got the sgs2 from amazon, I checked the baseband and kernel, which says that I have UHKG7 (firmware) and UHKG4 (baseband).
I know this corresponds to the UH_MUL_KG7 version when I do the CF-Root. However, I was looking through the custom rom's section and most of the ROM's seem to be built off of "KI3"
Does this mean I should flash the KI3 version of CF-Root instead of the KG7 one? I want to be able to play around and try a bunch of custom rom's later. does it matter which CF-Root I flash at this point or do I HAVE to have the KI3 CF-Root to be able to flash the KI3-based custom roms?
Also, would flashing the KI3-based stuff mess up my phone?
Not new to flashing custom roms but I've never had a phone with this many kernel options/versions. Any help is appreciated guys, thanks.
zeotrope said:
I just got the sgs2 from amazon, I checked the baseband and kernel, which says that I have UHKG7 (firmware) and UHKG4 (baseband).
I know this corresponds to the UH_MUL_KG7 version when I do the CF-Root. However, I was looking through the custom rom's section and most of the ROM's seem to be built off of "KI3"
Does this mean I should flash the KI3 version of CF-Root instead of the KG7 one? I want to be able to play around and try a bunch of custom rom's later. does it matter which CF-Root I flash at this point or do I HAVE to have the KI3 CF-Root to be able to flash the KI3-based custom roms?
Also, would flashing the KI3-based stuff mess up my phone?
Not new to flashing custom roms but I've never had a phone with this many kernel options/versions. Any help is appreciated guys, thanks.
Click to expand...
Click to collapse
It would make more sense to flash KI3 stock firmware root with KI3 followed by custom rom of choice .
jje
JJEgan said:
It would make more sense to flash KI3 stock firmware root with KI3 followed by custom rom of choice .
jje
Click to expand...
Click to collapse
thanks for the reply. if i switch to ki3 stock firmware should everything (theoretically) work properly?
zeotrope said:
thanks for the reply. if i switch to ki3 stock firmware should everything (theoretically) work properly?
Click to expand...
Click to collapse
Yes all should work .
jje
JJEgan said:
Yes all should work .
jje
Click to expand...
Click to collapse
OK, sorry for being so dense but one more question.
Say I go that way and flash KI3 stock then CF-Root for KI3....
then i flash a custom ROM, am I limited to custom roms that only work with KI3 kernel?
in other words, do i have to keep switching to different stock kernels as I try different custom roms?
zeotrope said:
OK, sorry for being so dense but one more question.
Say I go that way and flash KI3 stock then CF-Root for KI3....
then i flash a custom ROM, am I limited to custom roms that only work with KI3 kernel?
in other words, do i have to keep switching to different stock kernels as I try different custom roms?
Click to expand...
Click to collapse
Usually when you flahs a custom rom it comes with it´s own kernel so you dont have to worry. If the rom doesn´t come with it´s own kernel you may be able to use it with any kernel (few exceptions)
rj.camargo said:
Usually when you flahs a custom rom it comes with it´s own kernel so you dont have to worry. If the rom doesn´t come with it´s own kernel you may be able to use it with any kernel (few exceptions)
Click to expand...
Click to collapse
awesome, do i have to worry about the custom rom overwriting the CWM from cf-root?
Cwm is built into the kernel in samsung land, and most custom roms come with a kernel with Cwm.
Kernel version should be the same as rom version for stock roms/cf root. Custom roms often come with a recommended kernel.
You can move between newer and older stock roms via odin or restoring cwm backup, generally without wipe.
Sent from my GT-I9100 using xda premium
Hey guys,
I want to flash a kernel over my custom rom should I just flash it with cwm?
Is it going to brick my phone?
Please help
xReal said:
Hey guys,
I want to flash a kernel over my custom rom should I just flash it with cwm?
Follow the instructions flash is either via Odin or CWM .
Is it going to brick my phone?
Not if its the correct kernel .
jje
Click to expand...
Click to collapse
what does correct kernel mean? some kernel that has that same KG2 / kg3/ etc stuff with your stock kernel?
JJEgan said:
xReal said:
Hey guys,
I want to flash a kernel over my custom rom should I just flash it with cwm?
Follow the instructions flash is either via Odin or CWM .
Is it going to brick my phone?
Not if its the correct kernel .
jje
Click to expand...
Click to collapse
How to know which kernel is correct?
As of now I am using Sensation rom which has Siyah kernel 2.5.2 and I want to flash speedmod kernel or N.E.A.K. Kernel,
N.E.A.K. Kernel only supports sammy roms
I tried to search but I could not find out if Sensation rom is aosp or sammy do you have any idea of it?
also does speedmod kernel support both as nothing it written about it on its thread
Thanks
Click to expand...
Click to collapse
xReal said:
How to know which kernel is correct?
As of now I am using Sensation rom which has Siyah kernel 2.5.2 and I want to flash speedmod kernel or N.E.A.K. Kernel,
N.E.A.K. Kernel only supports sammy roms
I tried to search but I could not find out if Sensation rom is aosp or sammy do you have any idea of it?
also does speedmod kernel support both as nothing it written about it on its thread
Thanks
Click to expand...
Click to collapse
Normally on the first page of a rom thread you will get a description what is the rom. For example MIUI is well MIUI. Hyperdroid is sammy deodex rom with of course modifications and tweaks in the build to make it better than stock.
Sensation rom is sammy deodex no aosp nothing like that. And when you normally look for an AOSP rom it normally would say it in the heading of the thread anyway.
On the kernel thread it has a guide of what roms the kernel works on and which ones it does not. Siyah works basically with any rom. CM7 to AOSP to sammy deodex. Regarding Simone's kernel which is the NEAK version or something like that it is based on only sammy stock deodex roms and that is mainly the ones in original development and android..just look out for deodex, sammy and stock rom
AS above its all a question of reading the info on the first page of the kernel post .
Plus if it does not work flash another one .
the Neak kernel should be ok been on mine for a few days .
Speedmod likewise ok have used it before .
jje
Thanks everyone for their wonderful help!
I have got one last question
Speedmod kernel says "it is only for Samsung Gingerbread ROMs. It will not work with CyanogenMod or MIUI ROMS!"
does this means it will not work with sensation rom?
Edit: ok looks like the different versions are just the updated ones
But still the question is if it supports sensation rom?
xReal said:
Thanks everyone for their wonderful help!
I have got one last question
Speedmod kernel says "it is only for Samsung Gingerbread ROMs. It will not work with CyanogenMod or MIUI ROMS!"
does this means it will not work with sensation rom?
Edit: ok looks like the different versions are just the updated ones
But still the question is if it supports sensation rom?
Click to expand...
Click to collapse
DroidTrix said:
Normally on the first page of a rom thread you will get a description what is the rom. For example MIUI is well MIUI. Hyperdroid is sammy deodex rom with of course modifications and tweaks in the build to make it better than stock.
Sensation rom is sammy deodex no aosp nothing like that. And when you normally look for an AOSP rom it normally would say it in the heading of the thread anyway.
On the kernel thread it has a guide of what roms the kernel works on and which ones it does not. Siyah works basically with any rom. CM7 to AOSP to sammy deodex. Regarding Simone's kernel which is the NEAK version or something like that it is based on only sammy stock deodex roms and that is mainly the ones in original development and android..just look out for deodex, sammy and stock rom
Click to expand...
Click to collapse
JJEgan said:
AS above its all a question of reading the info on the first page of the kernel post .
Plus if it does not work flash another one .
the Neak kernel should be ok been on mine for a few days .
Speedmod likewise ok have used it before .
jje
Click to expand...
Click to collapse
Dude. Did you even read these two responses from DroidTrix and JJEgan?
ctomgee said:
Dude. Did you even read these two responses from DroidTrix and JJEgan?
Click to expand...
Click to collapse
Yes indeed I have.
Am I missing anything?
Please elaborate your reply
Also please keep in mind that I have no experience of this so It might be a bit difficult for me to understand
xReal said:
Yes indeed I have.
Am I missing anything?
Please elaborate your reply
Also please keep in mind that I have no experience of this so It might be a bit difficult for me to understand
Click to expand...
Click to collapse
*sigh*
Ok.
DroidTrix said:
DroidTrix said:
Sensation rom is sammy deodex no aosp nothing like that. And when you normally look for an AOSP rom it normally would say it in the heading of the thread anyway.
On the kernel thread it has a guide of what roms the kernel works on and which ones it does not.
Click to expand...
Click to collapse
"Sammy deodex" means that the the ROM is based on Samsung stock.
DroidTrix ALSO said:
DroidTrix said:
On the kernel thread it has a guide of what roms the kernel works on and which ones it does not.
Click to expand...
Click to collapse
AND, JJEgan said:
JJEgan said:
AS above its all a question of reading the info on the first page of the kernel post.
Click to expand...
Click to collapse
You yourself said:
xReal said:
Speedmod kernel says "it is only for Samsung Gingerbread ROMs. It will not work with CyanogenMod or MIUI ROMS!"
Click to expand...
Click to collapse
Now, if you look at the VERY FIRST page for SensatioN ROM,, it says:
SensatioN ROM Features:
-Based on Samsung Firmware XWKK5 Android 2.3.6
With all of this information, you should be able to deduce that the Speedmod kernel WILL work with your ROM. If you still don't understand, I'm going to suggest you don't flash anything to your phone, for fear of ending up with a paperweight.
Ok this time I understand everything
I didn't knew that Sammy roms means that the ROM is based on Samsung's stock ROM
Also I thought that speedmod only works on stock ROM so all this things got me confused
But anyways now its all clear
xReal said:
Ok this time I understand everything
I didn't knew that Sammy roms means that the ROM is based on Samsung's stock ROM
Also I thought that speedmod only works on stock ROM so all this things got me confused
But anyways now its all clear
Click to expand...
Click to collapse
Sammy is short for Samsung.
Can I change my kernel while using the stock rom, or i need first to use custom rom?
I want to use this kernel - http://forum.xda-developers.com/showthread.php?t=1709686
But i cant find instructions on how to install this to my device...
And most important question - if i want to restore to stock kernel how do I do it?
ohad156 said:
Can I change my kernel while using the stock rom, or i need first to use custom rom?
I want to use this kernel - http://forum.xda-developers.com/showthread.php?t=1709686
But i cant find instructions on how to install this to my device...
And most important question - if i want to restore to stock kernel how do I do it?
Click to expand...
Click to collapse
Yes you can and you simply flash via Odin restore is by flashing a stock rom via Odin .
But as you fail to see the instructions in the kernel post you linked read the thread before breaking your phone .
jje
JJEgan said:
Yes you can and you simply flash via Odin restore is by flashing a stock rom via Odin .
But as you fail to see the instructions in the kernel post you linked read the thread before breaking your phone .
jje
Click to expand...
Click to collapse
Lets say i flash siyah kernel now... and tomorrow i want to flash Omega rom - i will lose the siyah kernel to the stock kernel?
You get whatever kernel is in the rom you flash .
Repeat i don't advise flashing for those that fail to understand the very basics and have not even bothered to read the guides and FAQS stickied .
#Its a very very expensive brick you may end up with #
jje
ok i got another question...
lets say i rooted the device then installed a few mods on my stock rom
then if i install a custom rom will all the mods be removed?
ohad156 said:
ok i got another question...
lets say i rooted the device then installed a few mods on my stock rom
then if i install a custom rom will all the mods be removed?
Click to expand...
Click to collapse
Obviously..whatever mods you have installed will be overwritten by the files you will flash...
Let us say for example..you are a dude wearing very colorful clothes and are sitting on a chair..now your elder brother comes in the room and wants to have the chair..so he kicks your a** and sits on the chair...see...now replace the chair with the Phone...yourself with the MOD and your elder brother with the new ROM....
Wasn't this easy!!!!
that means when i flash stock rom to my device i will also remove all mods, set the original kernel and original rom?
ohad156 said:
that means when i flash stock rom to my device i will also remove all mods, set the original kernel and original rom?
Click to expand...
Click to collapse
Yes
installing this kernel on stock rom should improve battery life?
ohad156 said:
installing this kernel on stock rom should improve battery life?
Click to expand...
Click to collapse
Now that is a question I can't answer..so try it out yourselves and enjoy if it help otherwise revert back using nandroid..
usually people who install this kernel enjoy better battery life?
So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.
I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
Thanks ahead of time for any insight anyone can provide.
michaellasalle said:
So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.
I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
Thanks ahead of time for any insight anyone can provide.
Click to expand...
Click to collapse
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
Yes. Usually every version of android that gets updated.. the kernel does as well
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
Yes you can flash kernels through a custom recovery. Most of the time they are included with the Rom that you flash. A lot of the custom ones out have flashable zip for you to flash them through a recovery.
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
No this will NOT work with a AOSP rom.. The kernel will be specific to that ROM and every other TW 4.3 ROM, but NOT AOSP
lacoursiere18 said:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting
Click to expand...
Click to collapse
Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/showthread.php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?
michaellasalle said:
Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/showthread.php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?
Click to expand...
Click to collapse
Yea the one that flashes with AOKP.. loll
lacoursiere18 said:
Yea the one that flashes with AOKP.. loll
Click to expand...
Click to collapse
Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?
michaellasalle said:
Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?
Click to expand...
Click to collapse
Maybe he uses that kernel.. AOSP kernels, I believe are pretty similar.. I may be wrong, I am by NO MEANS a kernel guru..I would open you zip of your ROM (AOKP) and take a peak.. if there is a boot.img than it flashes a kernel.. and if your says OMNI then thats the kernel the dev has used..
Stock
If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?
nealman said:
If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?
Click to expand...
Click to collapse
Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP
lacoursiere18 said:
Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP
Click to expand...
Click to collapse
Thank you sir. It worked just fine.
I have a noob question, I'm currently using n3bula 3.9 custom rom and it's been running fine for a while. I noticed that users chose the agni kernel whereas I chose the stock one. So my question is, is it possible to flash just the kernel from recovery without losing my data? I've spent so much time and effort customizing my phone, therefore, I just want to change the kernel. Any help will be appreciated. Thanks.
yazalsaidi said:
I have a noob question, I'm currently using n3bula 3.9 custom rom and it's been running fine for a while. I noticed that users chose the agni kernel whereas I chose the stock one. So my question is, is it possible to flash just the kernel from recovery without losing my data? I've spent so much time and effort customizing my phone, therefore, I just want to change the kernel. Any help will be appreciated. Thanks.
Click to expand...
Click to collapse
I would think that as long as it doesn't break anything you should be fine. Probably do a backup first if you're worried about it.
Thanks for the response Michael, however, that was the response I was dreading! I'm actually worried I'll lose my WhatsApp and Viber accounts because even if I backed up my data, I'd still have to register my old WhatsApp and Viber numbers all over again which I don't have anymore.. ??