[CWM Flashable] Kernel Cleaning Script - AT&T Samsung Galaxy S II SGH-I777

what is this and what does it do?​
ensures you have no issues flashing different kernels.
Clears init.d scripts associated with Kernels, removes bln associated files, clears dalvik-cache, cache, and any logcat on/off
Click to expand...
Click to collapse
how to use​
download zip to your sdcard and reboot into cwm
flash kernel cleaning zip
flash new kernel
....that's it
Click to expand...
Click to collapse
when to use​
When flashing from one kernel to another. Right now the only two primary kernels are Entropy's DD and Siyah. Siyah adds etc/init.d/ scripts so this ensures they are removed prior to flashing a different Kernel.​​
Click to expand...
Click to collapse
download
Download Kernel Cleaning Script
Click to expand...
Click to collapse

Your work is great. Much appreciation!
Sent from my SGH-I777 using Tapatalk

So "when" should this be used? Between flashing new roms? Or can it be used to clean a rom you are using?
Btw the link is not working
Sent from my SGH-I777 using xda premium

After flashing Rom.
Sent from my GT-I9100 using xda premium

highaltitude said:
So "when" should this be used? Between flashing new rooms? Or can it be used to clean a rom you are using?
Btw the link is not working
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Not to sound like a prick, but can't you read?
It says right under the first part of the OP titled "what is this and what does it do?"
in the OP it also the title says Kernel Cleaning Script.

@ sgs You mean before flashing a ROM, right? Or before flashing a new kernel.

NJGSII said:
Not to sound like a prick, but can't you read?
It says right under the first part of the OP titled "what is this and what does it do?"
in the OP it also the title says Kernel Cleaning Script.
Click to expand...
Click to collapse
Chill brotha. He's asking for when it should be flashed for proper usage. Not what it is..

I believe it should be used prior to flashing a new kernel. Also when changing ROM's which also contain a different kernel.
Sent from my SAMSUNG-SGH-I777 using Tapatalk

Well you do sound like one, I did read it and didn't say when exactly you were to use it. SO then, use it ONLY when changing kernels. So if you flash a new rom, then you do or dont use it? Only if youre running a rom, but decide to go to another kernel?
Sent from my SGH-I777 using xda premium

highaltitude said:
Well you do sound like one, I did read it and didn't say when exactly you were to use it. SO then, use it ONLY when changing kernels. So if you flash a new rom, then you do or dont use it? Only if youre running a rom, but decide to go to another kernel?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I think you're on the right track:
1) use prior to flashing a new kernel
or
2) use prior to flashing a new ROM if that ROM uses a different kernel than what you are currently using

Jank4AU said:
I think you're on the right track:
1) use prior to flashing a new kernel
or
2) use prior to flashing a new ROM if that ROM uses a different kernel than what you are currently using
Click to expand...
Click to collapse
Exactly how this should be used...
Sent from my Galaxy S II (I777) - 1.4Ghz

Thanks that is what i thought, or at least figured out with your guys help. Just didnt know if it was useful in the middle of running a rom. i.e I just flashed the Siyah kernel to Miui yesterday, would this help me today, that kind of deal. So with that thinking, if I wanted to use this tool right now, I would run it, then flash the Siyah kernel again afterwards. Now, what about, when you restore a rom? I am about to put Shostock back, do I run this tool before restoring?
well, I restored, rebooted, then boot back into cwm, flashed the cleaner, then flashed the kernel I wanted, then rebooted.

After flashing SiyahKernel.
I make a point of not putting persistent cruft anywhere - not even rooting any more.

Entropy512 said:
After flashing SiyahKernel.
I make a point of not putting persistent cruft anywhere - not even rooting any more.
Click to expand...
Click to collapse
Is this something that would need to be done if flashing a different iteration of the same kernel? Siyah 2.6.1 to 2.6.3 for example?
I know you just said we don't need to run these kernel cleaning scripts for your kernels...thanks in advance. Also, is Pika's Bolt script compatible with your kernels or is it unnecessary? Just curious.

NJGSII said:
Not to sound like a prick, but can't you read?
It says right under the first part of the OP titled "what is this and what does it do?"
in the OP it also the title says Kernel Cleaning Script.
Click to expand...
Click to collapse
So quick to jump on someone! Not to sound like a prick, but can't YOU read?!
Sent from my SAMSUNG-SGH-I777 using Tapatalk

Jank4AU said:
Is this something that would need to be done if flashing a different iteration of the same kernel? Siyah 2.6.1 to 2.6.3 for example?
I know you just said we don't need to run these kernel cleaning scripts for your kernels...thanks in advance. Also, is Pika's Bolt script compatible with your kernels or is it unnecessary? Just curious.
Click to expand...
Click to collapse
Depends on the kernel... If it puts crap in init.d or elsewhere on the system, then yes.
Note that it may also clobber stuff your firmware dev intentionally put into init.d - I believe gtg has a zipalign script along with a script to set the CPU governor to ondemand in Unnamed.

Awesome dude thank you for this! I had it on my captivate it worked wonders
Sent from my SAMSUNG-SGH-I777 using xda premium

I gather you just edited the script form the I9100 forums this thread samsung ultimate kernel cleaning script posted by buster041284... yes?
The scripts are very similar. Yours recursively deletes everything in the init.d folder and script posted by buster041284's version deletes specific files in the init.d folder.
I believe cleaning up scripts from Siyah's kernel prior to (re)installing Entropy's kernel is the only reason for us I777 folks to use the scripts.. . right?
Wouldn't you want to only kill those files vice every script in the entire folder?

Peaster111 said:
I gather you just edited the script form the I9100 forums this thread samsung ultimate kernel cleaning script posted by buster041284... yes?
The scripts are very similar. Yours recursively deletes everything in the init.d folder and script posted by buster041284's version deletes specific files in the init.d folder.
I believe cleaning up scripts from Siyah's kernel prior to (re)installing Entropy's kernel is the only reason for us I777 folks to use the scripts.. . right?
Wouldn't you want to only kill those files vice every script in the entire folder?
Click to expand...
Click to collapse
Most cleaning scripts are about the same. I actually got the idea from the captivate forums back when it was my primary phone. Also updated the script to just remove siyah init's since that is the only kernel we have right now that installs them.

jivy26 said:
Most cleaning scripts are about the same. I actually got the idea from the captivate forums back when it was my primary phone. Also updated the script to just remove siyah init's since that is the only kernel we have right now that installs them.
Click to expand...
Click to collapse
Gotcha... no surprise that the scripts would be similar. Good call on adjusting the updaterscript... folks might get a little concerned if you wiped their other init.d scripts too.

Related

[Q] What should I do once I have bought my SGS2 I9100 (non-G)

Hi I've bought myself the SGS2 (non-G version).
now, to root, do I use the method here? http://forum.xda-developers.com/showthread.php?t=1103399
and let's say i have rooted it using CF-root 5.2, do I just pick a ROM and start flashing them? Or do I proceed to flash a Custom Kernel first before the ROM?
Anyway, I noticed that there are 2 sections for the SGS2G and the SGS2 (non-G). Which ROMS do I select from and are the ROMS variant dependent? means if I have the non-G version, I cannot install a ROM from the SGS2 Original section? A little help please! So sorry for being a noob.
Yes follow those rooting instructions, after the phone is rooted download a rom and copy it to your phone then flash it via cmw or manually via recovery mode, reboot while holding power, home and volume up.
Personally I recommend bezke UltraIcs, using it without issue
http://forum.xda-developers.com/showthread.php?t=1393569
Sent from my GT-I9100 using Tapatalk
adrianj said:
Hi I've bought myself the SGS2 (non-G version).
now, to root, do I use the method here? http://forum.xda-developers.com/showthread.php?t=1103399
Click to expand...
Click to collapse
1st thing you do: read, read, read.
You can use whatever root method you feel comfortable with. I've used CF-Root, Odia's insecure kernels, SuperOneClick, and flashing Siyah kernel. They all work fine.
adrianj said:
and let's say i have rooted it using CF-root 5.2, do I just pick a ROM and start flashing them? Or do I proceed to flash a Custom Kernel first before the ROM?
Click to expand...
Click to collapse
Most ROMs come with their own kernels, so if you flash a custom kernel, then a ROM, then the kernel that came with the ROM will overwrite whatever custom kernel you flashed first.
adrianj said:
Anyway, I noticed that there are 2 sections for the SGS2G and the SGS2 (non-G). Which ROMS do I select from and are the ROMS variant dependent? means if I have the non-G version, I cannot install a ROM from the SGS2 Original section? A little help please! So sorry for being a noob.
Click to expand...
Click to collapse
What 2 sections do you mean? The Galaxy S II Original Android Development, and the Galaxy S II Android Development forums?
It's important to note that these are not G and non-G. Original means developed from the ground up. (think CyanogenMod) The non-original generally means derivative from another ROM - usually stock.
I9100G ROMs are scattered throughout the I9100 forums, because there is currently no separate forum for the I9100G. The post title for these ROMs should always note that they are for the I9100G instead of the I9100 though. As long as you follow my suggestion for 1st of all above, you should be fine.
If you have the i9100g choose the roms that clearly indicates i9100G only in title, otherwise it should work just fine for i9100. Roms in original development indicate roms built completely by the developer hence the original. The Android development roms are roms that could be based off of someone else' rom or similar. You can flash roms from either section.
Just make sure to properly flash them and never forget to make a backup.
Edit: ctomgee answered.
Kaze105 said:
If you have the i9100g choose the roms that clearly indicates i9100G only in title, otherwise it should work just fine for i9100. Roms in original development indicate roms built completely by the developer hence the original. The Android development roms are roms that could be based off of someone else' rom or similar. You can flash roms from either section.
Just make sure to properly flash them and never forget to make a backup.
Edit: ctomgee answered.
Click to expand...
Click to collapse
Beat you by 2 min. It was a long post though, so it took me a while.
simbesh said:
Yes follow those rooting instructions, after the phone is rooted download a rom and copy it to your phone then flash it via cmw or manually via recovery mode, reboot while holding power, home and volume up.
Personally I recommend bezke UltraIcs, using it without issue
http://forum.xda-developers.com/showthread.php?t=1393569
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I'm downloading as we speak! Seems good! Love the ICS theme though. Are u using a custom kernel?
ctomgee said:
1st thing you do: read, read, read.
You can use whatever root method you feel comfortable with. I've used CF-Root, Odia's insecure kernels, SuperOneClick, and flashing Siyah kernel. They all work fine.
Most ROMs come with their own kernels, so if you flash a custom kernel, then a ROM, then the kernel that came with the ROM will overwrite whatever custom kernel you flashed first.
What 2 sections do you mean? The Galaxy S II Original Android Development, and the Galaxy S II Android Development forums?
It's important to note that these are not G and non-G. Original means developed from the ground up. (think CyanogenMod) The non-original generally means derivative from another ROM - usually stock.
I9100G ROMs are scattered throughout the I9100 forums, because there is currently no separate forum for the I9100G. The post title for these ROMs should always note that they are for the I9100G instead of the I9100 though. As long as you follow my suggestion for 1st of all above, you should be fine.
Click to expand...
Click to collapse
Thank you so much for the prompt reply! Finally I've got the answers to my questions! Btw, what ROM are you currently using? What I'm particularly concerned about is the custom Kernel that can help me optimize my battery.
adrianj said:
I'm downloading as we speak! Seems good! Love the ICS theme though. Are u using a custom kernel?
Click to expand...
Click to collapse
Please be aware that though simbesh said he is using it without issues, ICS is NOT officially released. Some users have issues with ICS ROMs that others use with absolutely no problems.
As Kaze105 said, ALWAYS make sure you make a backup before you flash. (in case you need to go back)
adrianj said:
I'm downloading as we speak! Seems good! Love the ICS theme though. Are u using a custom kernel?
Click to expand...
Click to collapse
Nice, yea the ics theme is very slick. It was updated this morning to v2.1 with the latest i9100 kernal XXLPB
Sent from my GT-I9100 using Tapatalk
simbesh said:
Nice, yea the ics theme is very slick. It was updated this morning to v2.1 with the latest i9100 kernal XXLPB
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
nice! this will be my first ever custom rom! this rom is for the i9100 (non-G) right? cuz it didn't say 'G' in the title. just making sure.
ctomgee said:
As Kaze105 said, ALWAYS make sure you make a backup before you flash. (in case you need to go back)
Click to expand...
Click to collapse
This this this
Yes standard i9100, it will be very clear if its i9100G or i9100 at&t etc if its a special rom
Sent from my GT-I9100 using Tapatalk
ctomgee said:
Please be aware that though simbesh said he is using it without issues, ICS is NOT officially released. Some users have issues with ICS ROMs that others use with absolutely no problems.
As Kaze105 said, ALWAYS make sure you make a backup before you flash. (in case you need to go back)
Click to expand...
Click to collapse
and by making a backup, i use the CWM nandroid backup? to restore from back up is through the same CWM?
adrianj said:
Thank you so much for the prompt reply! Finally I've got the answers to my questions! Btw, what ROM are you currently using? What I'm particularly concerned about is the custom Kernel that can help me optimize my battery.
Click to expand...
Click to collapse
I am on stock XXKI3, which is 2.3.5, with Siyah Kernel 2.6.4. There are newer firmwares, and newer versions of Siyah, but I feel no need to upgrade as of now. I've modded my firmware myself pretty heavily, and prefer to do all the tweaks myself. Helps me understand how my phone works better.
If you're interested in a kernel that will help with battery, look at SpeedMod, then maybe Siyah. SpeedMod users swear by their battery life. I use Siyah because it has more features, and has more customization. But it's a preference thing.
adrianj said:
and by making a backup, i use the CWM nandroid backup? to restore from back up is through the same CWM?
Click to expand...
Click to collapse
Correct
Sent from my GT-I9100 using Tapatalk
adrianj said:
and by making a backup, i use the CWM nandroid backup? to restore from back up is through the same CWM?
Click to expand...
Click to collapse
Yes, should be. Though be careful - flashing some kernels automatically installs certain versions of CWM. If your backup is made in a different version of CWM than what you are trying to restore from, it may not work.
ctomgee said:
I am on stock XXKI3, which is 2.3.5, with Siyah Kernel 2.6.4. There are newer firmwares, and newer versions of Siyah, but I feel no need to upgrade as of now. I've modded my firmware myself pretty heavily, and prefer to do all the tweaks myself. Helps me understand how my phone works better.
If you're interested in a kernel that will help with battery, look at SpeedMod, then maybe Siyah. SpeedMod users swear by their battery life. I use Siyah because it has more features, and has more customization. But it's a preference thing.
Click to expand...
Click to collapse
seems pretty interesting the way you mod your phone! and by modding the phone yourself, you mean you take apart tweaks from different ROMs and install them in your phone? I hope im not imposing but do you mind sharing with me the tweaks that you have done to your stock rom? i might do the same if the ICS rom doesn't work the way i want it to.
adrianj said:
seems pretty interesting the way you mod your phone! and by modding the phone yourself, you mean you take apart tweaks from different ROMs and install them in your phone? I hope im not imposing but do you mind sharing with me the tweaks that you have done to your stock rom? i might do the same if the ICS rom doesn't work the way i want it to.
Click to expand...
Click to collapse
The more involved mods I have are:
Phone.apk tweaked to have Noise Reduction off by default in phone calls
Battery icon with % in status bar
CRT-off animation on screen off
Rotation animation in UI
The first three involved decompiling the files involved, editing the files, and recompiling. The rotation animation involved downloading some files that another kind soul posted that were from the Galaxy Note and installing them on my phone in place of the files that were already there. All require root. You can find all of these in the forums with a search...
Wow. I just hit 500 posts. Crazy.
ctomgee said:
The more involved mods I have are:
Phone.apk tweaked to have Noise Reduction off by default in phone calls
Battery icon with % in status bar
CRT-off animation on screen off
Rotation animation in UI
The first three involved decompiling the files involved, editing the files, and recompiling. The rotation animation involved downloading some files that another kind soul posted that were from the Galaxy Note and installing them on my phone in place of the files that were already there. All require root. You can find all of these in the forums with a search...
Wow. I just hit 500 posts. Crazy.
Click to expand...
Click to collapse
congrats on your posts! anyway, those mods are build dependent? or universal?
adrianj said:
congrats on your posts! anyway, those mods are build dependent? or universal?
Click to expand...
Click to collapse
The first three I think are build dependent. Some people have tried different versions on other firmwares and had some success, but others, not so much.
The rotation animation one, I'm not sure about.

[Q] CM Kernel

I was going to flash CM9, but while reading through the page in the general section I came across this at the bottom:
Don't expect help if...
are not running stock cm-kernel
I searched for a CM kernel and didn't find anything. Doing my search, I noticed some mentioned that the kernel is built into the flash.
A: is that correct? If so, why would the specify you need to be running a CM-Kernel (Unless CM means Clockwork Mod?)
B: If not, where can I download this kernel at?
Thanks!
stalked_r/t said:
I was going to flash CM9, but while reading through the page in the general section I came across this at the bottom:
Don't expect help if...
are not running stock cm-kernel
I searched for a CM kernel and didn't find anything. Doing my search, I noticed some mentioned that the kernel is built into the flash.
A: is that correct? If so, why would the specify you need to be running a CM-Kernel (Unless CM means Clockwork Mod?)
B: If not, where can I download this kernel at?
Thanks!
Click to expand...
Click to collapse
Because there are other kernels out there that's why. They'll only give you support if you're running the kernel that comes with the rom
Sent from my SGH-I777 using Tapatalk 2 Beta-5
Nick281051 said:
Because there are other kernels out there that's why. They'll only give you support if you're running the kernel that comes with the rom
Sent from my SGH-I777 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
Ok. so option "A" is correct then. Since I'm running Entropy's daily, by flashing the zip, it will automatically replace the kernel I'm running. They just don't want people going in behind their install and throwin in their kernel of choice. Correct?
stalked_r/t said:
Ok. so option "A" is correct then. Since I'm running Entropy's daily, by flashing the zip, it will automatically replace the kernel I'm running. They just don't want people going in behind their install and throwin in their kernel of choice. Correct?
Click to expand...
Click to collapse
No they just won't support it if someone flashes another kernel afterwards because that can create other problems that they can't troubleshoot if you aren't running their kernel. This is because the kernel might have caused said issue
Sent from my SGH-I777 using Tapatalk 2 Beta-5
Think about what yer asking. If a ROM didn't come with a kernel built into it could it run? No. What kind of kernel would a CM (cyanogenmod) ROM come with? Ehhh? A....CM kernel perhaps? Is this not common sense?
Sent from my SGH-I777 using xda premium
Phalanx7621 said:
Think about what yer asking. If a ROM didn't come with a kernel built into it could it run? No. What kind of kernel would a CM (cyanogenmod) ROM come with? Ehhh? A....CM kernel perhaps? Is this not common sense?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I'm not sure what you're saying is true. When installing UnNamed Rom, I needed to first install a kernel with CWM in it (Entropy's). I'm not sure why the install instructions for the ROM would say "Install the Kernel" unless it needed it. Would be kind of redundant don't you think?
That's why when I read the warning about running a different kernel, I wanted to make sure that there wasn't a step I was missing before installing it.
stalked_r/t said:
I'm not sure what you're saying is true. When installing UnNamed Rom, I needed to first install a kernel with CWM in it (Entropy's).
Click to expand...
Click to collapse
You're completely wrong. This only when you're rooting. UnNamed already comes with a kernel
Sent from my SGH-I777 using Tapatalk 2 Beta-5
stalked_r/t said:
I'm not sure what you're saying is true. When installing UnNamed Rom, I needed to first install a kernel with CWM in it (Entropy's). I'm not sure why the install instructions for the ROM would say "Install the Kernel" unless it needed it. Would be kind of redundant don't you think?
That's why when I read the warning about running a different kernel, I wanted to make sure that there wasn't a step I was missing before installing it.
Click to expand...
Click to collapse
Asked, discussed but don't say such "I'm not sure what you're saying is true", it is an insult. Phalanx is right and I think you maybe still confuse about the process.
Q: why would I (we) need to install custom kernel such Entropy DD before flashing custom ROM?
That question leads to another question
Q1: how do I flash custom ROM, what is the requirement?
A: In order to flash ROM, you MUST have CwMR installed
Then next question Q2: how do I get CwMR installed on my device?
That lead to the answer for the first question, you get CwMR by installing custom kernel.
Still confuse?
Now back to your discussion, yes, every ROM (I should say every firmware image) MUST contain the kernel (along with the OS).
In your first post, CM9 ROM will have CM9 kernel called "CM stock kernel"
Why don't they support anything else but their own kernel?
Put it this way, you sell me a PC, running Windows 7, I bring it home, rip it apart, install Linux on it, when I have issue, I call you and say "I bought the PC from you, I decide to install my own OS, and now something doesn't work right". Do you think you will provide me any kind of support?
Another note from your post, CM9 is ICS, make sure you get Entropy's ICS kernel called FAQUD (spelling), not his Daily Driver for GB.
votinh said:
Asked, discussed but don't say such "I'm not sure what you're saying is true", it is an insult. Phalanx is right and I think you maybe still confuse about the process.
Q: why would I (we) need to install custom kernel such Entropy DD before flashing custom ROM?
That question leads to another question
Q1: how do I flash custom ROM, what is the requirement?
A: In order to flash ROM, you MUST have CwMR installed
Then next question Q2: how do I get CwMR installed on my device?
That lead to the answer for the first question, you get CwMR by installing custom kernel.
Still confuse?
Now back to your discussion, yes, every ROM (I should say every firmware image) MUST contain the kernel (along with the OS).
In your first post, CM9 ROM will have CM9 kernel called "CM stock kernel"
Why don't they support anything else but their own kernel?
Put it this way, you sell me a PC, running Windows 7, I bring it home, rip it apart, install Linux on it, when I have issue, I call you and say "I bought the PC from you, I decide to install my own OS, and now something doesn't work right". Do you think you will provide me any kind of support?
Another note from your post, CM9 is ICS, make sure you get Entropy's ICS kernel called FAQUD (spelling), not his Daily Driver for GB.
Click to expand...
Click to collapse
Thanks. I wasn't insulting anyone. I was saying that I don't know, but I didn't think it was true. Not saying YOU'RE WRONG!

How to install ROMS on UCLE5 Stock ICS Root w/ Siyah v4.3.3 w/o mic swap

After reading over lots and lots of threads, I finally got up the courage to root my phone.
I followed these instructions: http://forum.xda-developers.com/showthread.php?t=1746181
I flashed the "Kernel + Modem + Cache + Rooted UCLE5 System Package" using Odin, downloaded Mobile Odin, and then flashed the safe Siyah 4.3.3 kernel w/o mic swap to avoid bricking due to the eMMc bug. Everything seems to be working fine. I have Superuser, Mobile Odin, and CWM Recovery.
My question is what are my ROM choices and how do I go about installing them?
I'f I'm reading the instructions correctly in the thread with the rooting instructions, I only have the three options for kernels in that thread and I MUST use a w/o mic swap version.
On the Siyah thread: http://forum.xda-developers.com/showthread.php?t=1592228, the only ROMs listed that work with w/o mic swap Siyah are Criskelo and UCLD3. Are these my only choices for ROM?
Are these the proper files for Criskelo?
Criskelo: http://forum.xda-developers.com/showthread.php?t=1500891&highlight=criskelo
I can't seem to find the files for UCLD3.
To be clear, I was coming from a stock i777 with stock ICS and UCLE5. I'm now running 4.0.3, I777UCLE5, 3.1.0-rc8-Siyah-v4.3.3-nomswap ([email protected]).
Thanks for any help. I've searched and read a ton, but I just can't make sense of it all.
You can use any rom you want. It will come with its own kernel and overwrite the one you have
Sent from my Galaxy Nexus
eerssco action-ev
Pirateghost said:
You can use any rom you want. It will come with its own kernel and overwrite the one you have
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
So this from the the first thread isn't true?
"You must use an ICS kernel, and it must work with Samsung firmware, and be the no-mic-swap version. If you install a Gingerbread kernel the phone will not boot."
Sorry, it's all a bit confusing to me.
dillon_b12 said:
So this from the the first thread isn't true?
"You must use an ICS kernel, and it must work with Samsung firmware, and be the no-mic-swap version. If you install a Gingerbread kernel the phone will not boot."
Sorry, it's all a bit confusing to me.
Click to expand...
Click to collapse
Then don't go and mess with your phone if you don't understand what you're doing. The information is not that complicated.
dillon_b12 said:
So this from the the first thread isn't true?
"You must use an ICS kernel, and it must work with Samsung firmware, and be the no-mic-swap version. If you install a Gingerbread kernel the phone will not boot."
Sorry, it's all a bit confusing to me.
Click to expand...
Click to collapse
Just do as Pirate says and you will be fine. Dont worry about the kernel because the rom you want will have the appropriate kernel packaged in
dillon_b12 said:
So this from the the first thread isn't true?
"You must use an ICS kernel, and it must work with Samsung firmware, and be the no-mic-swap version. If you install a Gingerbread kernel the phone will not boot."
Sorry, it's all a bit confusing to me.
Click to expand...
Click to collapse
it means that if you use an ALTERNATE kernel, which a lot of people like to do, then you must abide by those guidelines. all roms come packaged with a 'recommended' kernel....just flash one and you will see.
Pirateghost said:
it means that if you use an ALTERNATE kernel, which a lot of people like to do, then you must abide by those guidelines. all roms come packaged with a 'recommended' kernel....just flash one and you will see.
Click to expand...
Click to collapse
Thanks, that makes much more sense.
Ok, so for this ROM: http://forum.xda-developers.com/showthread.php?t=2005266
How do I do an EFS backup? I have searched this, but haven't found anything specific to this phone. Just want to make sure I am doing it correctly.
The next step is to do a FULL BACKUP. I did a backup in CWM Recovery. Does that work?
When I move the ROM to my phone, do I take the whole zip file? Is there any particular file(zImage?) I point to when flashing through CWM or is it the whole zip file?
Thanks again for all the help.
I successfully flashed SHOStock2.
Thanks for the help guys.
dillon_b12 said:
Thanks, that makes much more sense.
Ok, so for this ROM: http://forum.xda-developers.com/showthread.php?t=2005266
How do I do an EFS backup? I have searched this, but haven't found anything specific to this phone. Just want to make sure I am doing it correctly.
Use any EFS Backup App
The next step is to do a FULL BACKUP. I did a backup in CWM Recovery. Does that work?
Yepp that is a Nandroid backup
When I move the ROM to my phone, do I take the whole zip file? Is there any particular file(zImage?) I point to when flashing through CWM or is it the whole zip file?
Nope just keep the whole zip and select it in CWM
Thanks again for all the help.
Click to expand...
Click to collapse
See my replies in bold
dillon_b12 said:
I successfully flashed SHOStock2.
Thanks for the help guys.
Click to expand...
Click to collapse
Good choice for a first ROM. When you get bored with that Shostock3 is really nice but wait until 1.5 comes out. It has some fixes that will polish it up nicely.
Sent from my SGH-I777 using xda app-developers app
attsw said:
Good choice for a first ROM. When you get bored with that Shostock3 is really nice but wait until 1.5 comes out. It has some fixes that will polish it up nicely.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Would going to SHOStock3 require a wipe? I understand that upgrading to new versions of an existing ROM usually does not, but since this is a different ROM it seems like it would require the full wipe.
What is the easiest way to retain as many of my settings, etc... as possible when doing full wipes? I have Titanium Backup already. Is there another program that will help me retain more?
dillon_b12 said:
Would going to SHOStock3 require a wipe? I understand that upgrading to new versions of an existing ROM usually does not, but since this is a different ROM it seems like it would require the full wipe.
What is the easiest way to retain as many of my settings, etc... as possible when doing full wipes? I have Titanium Backup already. Is there another program that will help me retain more?
Click to expand...
Click to collapse
Yes on the full wipe before flashing the new ROM.
What else are u trying to retain besides apps and their data? If that's all TiBu is fine
brandonarev said:
Yes on the full wipe before flashing the new ROM.
What else are u trying to retain besides apps and their data? If that's all TiBu is fine
Click to expand...
Click to collapse
It would be nice if I didn't have setup e-mail everytime, but if I can keep my apps and their data with TiBu, that should be fine.
dillon_b12 said:
It would be nice if I didn't have setup e-mail everytime, but if I can keep my apps and their data with TiBu, that should be fine.
Click to expand...
Click to collapse
Once you get accustomed to it, flashing with a full wipe isn't too bad. Make a nandroid backup in case you decide to go back. And I would recommend you buy the full version of titanium back up to get the batch features, and support the developer. It is probably the most important app for those that flash regularly.
I can fully wipe and flash and have everything back up and running the exact same way it was in like 10 minutes. But I like the chance to start fresh

[Q] Cubed Kernel

What is a Cubed Kernel? Is it the one that came with Droid DNA? I see version 2.4.2 floating around. Mine is 3.4.10.
What is the main advantage of flashing a new version of kernel?
arun1151 said:
What is a Cubed Kernel? Is it the one that came with Droid DNA? I see version 2.4.2 floating around. Mine is 3.4.10.
What is the main advantage of flashing a new version of kernel?
Click to expand...
Click to collapse
You have to have a rooted phone to flash kernels. The Cubed kernel is a modified kernel for root users that gives you the ability to overclock your phone, better battery life and such. It is not the one that came with the DNA, the DNA is the stock kernel from the factory. Don't go by the numbers you see because they are 2 totally different kernels for totally different reasons...
Kernel restarting the phone
Jrocker23 said:
You have to have a rooted phone to flash kernels. The Cubed kernel is a modified kernel for root users that gives you the ability to overclock your phone, better battery life and such. It is not the one that came with the DNA, the DNA is the stock kernel from the factory. Don't go by the numbers you see because they are 2 totally different kernels for totally different reasons...
Click to expand...
Click to collapse
I did root my phone through a very convoluted method involving imei numbers etc. I flashed the boot.ini and the cubed kernel yesterday and was able to verify it. I did not reset factory or anything when I flashed the kernel. Now it has restarted by itself for more than 50 times in 12 hours. I am trying to find the stock kernel.
Have anyone faced the same issue?:crying:
arun1151 said:
I did root my phone through a very convoluted method involving imei numbers etc. I flashed the boot.ini and the cubed kernel yesterday and was able to verify it. I did not reset factory or anything when I flashed the kernel. Now it has restarted by itself for more than 50 times in 12 hours. I am trying to find the stock kernel.
Have anyone faced the same issue?:crying:
Click to expand...
Click to collapse
I get random restarts as well on Cubed Kernel - untouched, didnt even change the governors. I guess a lot more optimizing needs to be done to it to support the variations in our devices.
yevgenydev said:
I get random restarts as well on Cubed Kernel - untouched, didnt even change the governors. I guess a lot more optimizing needs to be done to it to support the variations in our devices.
Click to expand...
Click to collapse
it does, and I request on behalf of the Dev, to post in the kernel thread, with logs, and kmsg. this is the only way we can figure out the bugs,
more people who post, the quicker issues are found.
Kernel errors
dr_drache said:
it does, and I request on behalf of the Dev, to post in the kernel thread, with logs, and kmsg. this is the only way we can figure out the bugs,
more people who post, the quicker issues are found.
Click to expand...
Click to collapse
Can you point me to that thread ? Also any info about how to retrieve logs/kmsg from my phone would help me a lot.:good:
arun1151 said:
Can you point me to that thread ? Also any info about how to retrieve logs/kmsg from my phone would help me a lot.:good:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2024776
Sent from my HTC6435LVW using xda app-developers app
I was able to flash cubed kernel, but the phone keeps restarting often. Also it shuts down and when I try to start, all keys keep blinking for a while and then starts. I can provide loss and kmsgs of someone points me to how to do it and if I can share my Dropbox link.
Please help, also I am on the kang bang rom.
Sent from my HTC6435LVW using XDA Premium HD app
Problem with cubed kernel
klarson said:
http://forum.xda-developers.com/showthread.php?t=2024776
Not able to post to the kernel thread as I don't have 10 posts. Not sure how to submit kmsgs and logs to the developer. The restarts are killing my phone. If someone knows how to go back to the stock kernel please help.
Sent from my HTC6435LVW using XDA Premium HD app
Click to expand...
Click to collapse
arun1151 said:
klarson said:
http://forum.xda-developers.com/showthread.php?t=2024776
Not able to post to the kernel thread as I don't have 10 posts. Not sure how to submit kmsgs and logs to the developer. The restarts are killing my phone. If someone knows how to go back to the stock kernel please help.
Sent from my HTC6435LVW using XDA Premium HD app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=35845214
This is the stock kernel but just modified to be able to write to the system while booted. It basically is the stock kernel and will work exactly like the stock kernel does. To switch kernels, just do what you did before when you installed the kernel you're on now. Just make sure you flash the correct module zip in recovery after you flash it.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Kasab said:
arun1151 said:
http://forum.xda-developers.com/showthread.php?p=35845214
This is the stock kernel but just modified to be able to write to the system while booted. It basically is the stock kernel and will work exactly like the stock kernel does. To switch kernels, just do what you did before when you installed the kernel you're on now. Just make sure you flash the correct module zip in recovery after you flash it.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Does that mean that if we don't flash a cubed Kernel, we won't be able to flash for example a modefied or themed apk or framework.apk to our DNA ?
Click to expand...
Click to collapse

[Q] Kernel not flashing help

I have flashed paranoidandroid 3.15 on my galaxy s3 a couple weeks ago, aside the occasional screen that win't turn on I haven't had any problem, but I set my mind on flashing a new kernel in order to be able to change thez governor. I tried to flash air kernel on, I did exactly what I was told: Boot into recovery, clear cache/delvik, installed kernel from sd card, and rebooted. But after the phone being rebooted, I still had the stock kernel.
My question is, why did this happen, and how do I fix it?
All help is appreciated
what recovery? link to the kernel?
Glebun said:
what recovery? link to the kernel?
Click to expand...
Click to collapse
I'm running TWRP ( Team Win Recovery Project)
http://forum.xda-developers.com/showthread.php?t=1469842 link to the kernel, although if you know any kernels that work better/ more appropriate for ParanoidAndroid, I am more than open to suggestions
vonniel said:
I'm running TWRP ( Team Win Recovery Project)
http://forum.xda-developers.com/showthread.php?t=1469842 link to the kernel, although if you know any kernels that work better/ more appropriate for ParanoidAndroid, I am more than open to suggestions
Click to expand...
Click to collapse
Kernel is for nexus s not galaxy s3
Sent from my GT-I9300 using xda premium
wow, you're lucky the updater-script saved your phone. Flashing wrong firmware will kill it
Glenbun. Only mismatched, corrupted, or missing boot loaders can kill a phone.
yeah-yeah, but we should scare the noobs away from flashing the wrong firmware that potentially includes a bootloader
Glebun said:
yeah-yeah, but we should scare the noobs away from flashing the wrong firmware that potentially includes a bootloader
Click to expand...
Click to collapse
Glebun u have a point, even other incompatible components of recovery zip packages can brick the phone.
Sent from my Supercharged V12 Samsung Galaxy S3 using Tapatalk
Glebun said:
wow, you're lucky the updater-script saved your phone. Flashing wrong firmware will kill it
Click to expand...
Click to collapse
Wow, I feel so dumb ^^' I'll be more careful next time around.
What kernel would you recommend for me?
I recommed stock mb5 or speedmod k2-12 kernels for you
Bahadirafro said:
I recommed stock mb5 or speedmod k2-12 kernels for you
Click to expand...
Click to collapse
Well, I don't really know either of them, I don't mind stock, but I want to change things, sometimes it just isn't up for the task, or uses up battery when I would rather it didn't, without even knowing what they do, and looking around, I found the perseus kernel, I would like some opinions on the kernel, I would be very grateful if you told me if it fits me, if it's compatible with ParanoidAndroid, and finally if you have a better suggestion for a kernel.
http://forum.xda-developers.com/showthread.php?t=1691401
read the first post of the thread to find out if it's compatible with your ROM.
and try it to see if it suits you
If I'm running TWRP can I still download kernels that say they are meant for CWM?
yes

Categories

Resources