Question- Kernel Cleaning scripts? - Samsung Galaxy Nexus

I can't seem to find any kernel cleaning scripts anymore anyone have any links for good scripts?
Sent from my Galaxy Nexus using xda premium

What do you need it for? You can just wipe cache and dalvik. Some kernels place files in /system/etc so you could look at that and delete those files if necessary
Sent from my Galaxy Nexus using Tapatalk 2

Kernel cleaning scripts are nonsense, no need for them.

Seeing as most kernel recovery flashable zips contain a cleaner script, there must be some point to them.
Due to that you generally shouldn't need a standalone cleaner, but here's a good one from the GLaDOS thread anyway:
http://forum.xda-developers.com/showpost.php?p=21232559&postcount=2

osm0sis said:
Seeing as most kernel recovery flashable zips contain a cleaner script, there must be some point to them.
Due to that you generally shouldn't need a standalone cleaner, but here's a good one from the GLaDOS thread anyway:
http://forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Click to expand...
Click to collapse
If you look at the cleaner script included with kernels they format cache and dalvik. You can do this in recovery before flashing zip.
Sent from my Galaxy Nexus using Tapatalk 2

The ONLY thing I do if I'm coming from a kernel that has replaced my ramdisk is to relfash my original kernel, or ROM, before flashing a kernel that doesn't replace the ramdisk. Otherwise, no "cleaning" is done.

Related

Is lippol kernel cleaning script necessary to flash?

Back i'm the old vibrant days we had a script cleaning phones to flash kernels, is that usable on this phone?
Sent from my SGH-T989 using xda premium
you are the first person to ask, or even suggest that
it's a good question, i do not know the answer
it'll be interesting to see
iwasblown said:
Back i'm the old vibrant days we had a script cleaning phones to flash kernels, is that usable on this phone?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I highly highly doubt it would be usable, but you should post it.
Also, you should just be able to flash from kernel to kernel with a few steps.
Wipe cache (this is actually very important for flashing kernels)
Wipe dalvik cache (just in case, never hurts)
Flash Kernel
Reboot!
Sometimes, kernel devs include kernel specific files that will overwrite those of your ROM. If you start noticing funky behavior that wasn't there before it's likely that the files may conflict. At this point the best thing to do is reflash your ROM, then your desired kernel.
Hope that made sense
hmm... interesting
i do it when i flash new/different ROMs, but never though about cleaning the cache for Kernel updates
BRB, flashing kernel 1.8 again + wipe cache
Romanbb said:
I highly highly doubt it would be usable, but you should post it.
Also, you should just be able to flash from kernel to kernel with a few steps.
Wipe cache (this is actually very important for flashing kernels)
Wipe dalvik cache (just in case, never hurts)
Flash Kernel
Reboot!
Sometimes, kernel devs include kernel specific files that will overwrite those of your ROM. If you start noticing funky behavior that wasn't there before it's likely that the files may conflict. At this point the best thing to do is reflash your ROM, then your desired kernel.
Hope that made sense
Click to expand...
Click to collapse
I would post but I don't think anyone should flash it yet, until it's confirmed.
Sent from my SGH-T989 using xda premium

Is flashing a kernel the same as flashing a rom?

Sup everyone. Merry xmas to a
i want to flash franco.Kernel-nightly5. is it the same method as flashing a custom rom? do i just place the zip on the phone and still in bootloader? or is do i have to do it on the computer? if so is it possible to do it on a mac?
thank you
You can do it in different ways. If you have a zip file you can use Recovery Mode (or programs like Kernel Flasher), if you have a .tar file you can use Odin.
Sent from my GT-I9100 using Tapatalk
hostilevader said:
You can do it in different ways. If you have a zip file you can use Recovery Mode (or programs like Kernel Flasher), if you have a .tar file you can use Odin.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
The flash thru cwm is the easiest method. I haven't seen odin with the nexus. If it had odin things would be a lot easier when it comes to switching roms.
Sent from my Galaxy Nexus using XDA App
Does flashing the kernel wipe the device or does it need wiping after flashing a kernel
weedahoe said:
Does flashing the kernel wipe the device or does it need wiping after flashing a kernel
Click to expand...
Click to collapse
No, flashing a kernel won't wipe your device. I know there are scripts to clean the phone when you change kernel but I'm not sure.. because I've a Galaxy S2
THX, been wanting to take it to the next level but really didnt feel like redoing everything
I believe it is recommended to wipe your cache when you flash a new kernel also, as said above cwm is the easiest but you can flash in fastboot as well.
Sent from my Galaxy Nexus using xda premium
Also wipe dalvik cache. You can never be too safe!
well i just looked at the OC kernels and they need 4.0.3 but all those builds are buggy and experimental so i guess ill have to wait. i need a fully functional device
weedahoe said:
well i just looked at the OC kernels and they need 4.0.3 but all those builds are buggy and experimental so i guess ill have to wait. i need a fully functional device
Click to expand...
Click to collapse
No? they aren't buggy or experimental. What are you talking about?
4.0.3 is compiled off AOSP sources. It's stable.
[ROM][CDMA][4.0.3] CM9 Kang *Updated 12/24 3:45pm*
[ROM][AOSP][4.0.3][CDMA] GummyNex 0.2.9 - 12/23/11
I looked at both of these and seems they are both WIP
some devs also recommend to mount system before flash also
weedahoe said:
[ROM][CDMA][4.0.3] CM9 Kang *Updated 12/24 3:45pm*
[ROM][AOSP][4.0.3][CDMA] GummyNex 0.2.9 - 12/23/11
I looked at both of these and seems they are both WIP
Click to expand...
Click to collapse
I've tried almost every ROM available and they are all quite stable. I am on the AOKP build and its flawless paired with the infamous Franco kernel
Sent from my Galaxy Nexus using xda premium

Confusion about recovery

So I'm kinda new to Samsung community. Just came over from the shift. Basically I installed ROM manager and now I have 2 recoveries. If I turn the phone off then hold volume up and power I get this rogue recovery. If I reboot in to recovery from room manager I have the standard clock work mod recovery. Is this normal? Thanks ahead of time for any answers!
Sent from my SPH-D710 using xda premium
Only portions of ROM manager work on this phone. Recovery is only "fake-flashed" so it isn't permanent.
I would actually suggest you don't use it on this phone due to issues people have had, but it is up to you.
The kernel included with whatever ROM you're running was repacked with Rogue recovery. Rogue is a modified version of CWM. It has all the same tools, but has modified the menus and made other changes. In a nutshell, Rogue is basically CWM, as it's built from the same source.
As sfhub said, it's probably best to avoid ROM Manager on this phone. It's unnecessary and it has the potential to cause problems.
Regarding the kernel, Samsung phones don't use a recovery partition, but rather some kind of RAMDISK on the kernel partition (or something along those lines). As a result, recovery is packed into the intramfs in the kernel. So whenever you flash a kernel, you will also be flashing whatever recovery is included with it. Keep this in mind in your future flashing.
makes perfect sense! Thanks! One more thing...since clock work is temporary can I just uninstall ROM manager and that recovery will go away? I'm using blazer ROM 4.1 if it matters
Sent from my SPH-D710 using xda premium
Yes. I would uninstall it anyway. It doesn't work well for this phone
Sent from my SPH-D710 using Tapatalk 2

Is there a safe superwipe script??

Just wondering if anyone has one? Best tool to flash between roms
Sent from a complete [email protected]
It's called CWM
Sent from my SGH-I747 using xda premium
I understand that you can wipe with CWm, but with my S2 there was a superwipe script that went deeper into the system, some can even wipe for a clean Kernel install.
There is one I just can't remember where I seen it...somewhere in the dev section I believe. Search for it...I think I downloaded it but I can't find it atm lol.
Found it lol http://forum.xda-developers.com/showthread.php?p=32066089
[SCRIPT]Wipe All Zip

Any Script to clean kernels in Nexux 5X?

Hi, in my old Samsung S3, we had a script to load with a Custom Recovery to clean the current kernel before install a new one. Is there any other script like this for our Nexus 5x?
Thanks
Clean the kernel how? Usually people just dirty flash the ROM they're using (which replaces the previously installed kernel anyway) and then flash the new kernel they want to use.
This is an example:
http://forum.xda-developers.com/galaxy-s3/themes-apps/live-samsung-galaxy-s3-ultimate-kernel-t1695162
Another:
http://forum.xda-developers.com/nexus-4/development/mod-kernel-cleaner-script-superwipe-t2121701
But I don't know if I can use one of this.
rumbitas said:
This is an example:
http://forum.xda-developers.com/gal...ve-samsung-galaxy-s3-ultimate-kernel-t1695162
Another:
http://forum.xda-developers.com/nexus-4/development/mod-kernel-cleaner-script-superwipe-t2121701
But I don't know if I can use one of this.
Click to expand...
Click to collapse
Do not use any of those. There is no need to use a kernel cleaner.
Sent from my Nexus 9 using XDA Free mobile app
Those scripts are basically for lazy people that don't want to format cache and wipe dalvik themselves. Just flash the ROM you're currently running and then flash the new kernel over it and reboot.
Are you sure that those scripts formats only Cache and Dalvik? They don't do anything else?
rumbitas said:
Are you sure that those scripts formats only Cache and Dalvik? They don't do anything else?
Click to expand...
Click to collapse
Yeah. It does both of those operations twice and then claims to clean "modules" and "old files" when they just get overwritten when you flash the ROM or new kernel anyway. They're useless.

Categories

Resources