• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [KERNEL] PopcornKernel v0.1

jdkoreclipse

Well-Known Member
Jul 31, 2010
199
29
jdkoreclipse.net
Hello, I'm jdkoreclipse, co dev of PopcornKernel with Sonicxml. Please note that the following is a repost from our Rootz thread that can be found HERE.

Just a few shoutouts:
Neph for testing
Any people whose patches we may've used (Sandeen Moire, Desnoyers, Kadlecsik)
Donators and users

Me and Sonicxml are blindly developing for this. That means neither of us have a Spectrum. Therefore, updates will come out slower (since they have to be sent to testers), and what we do with the kernel might be a little more conservative than what we might normally do with it. If you really want to see more development, either donate to us so we can get the phone, or if you're really nice, you can send a phone to either one of us.

Kernel Philosophy: The philosophy of this kernel is to combine a stable, snappy (real-use wise, not benchmarks) kernel with great battery life. We (me and sonicxml) feel we have achieved the best balance of these in PopcornKernel.

We are not responsible for anything that happens to your device.
And, unfortunately, your device will not start making popcorn now - though it may be as buttery smooth as popcorn :).

Now onto the kernel!

Download: http://goo.gl/RabMh

Changelog:

v0.1 -
patched kernel up to 2.6.35.14
added an ext4 performance patch
added FAIR_SLEEPERS
added JHASH3
some performance tweaks
increased max_readahead to 4096
tweaked ksm
changed it to use optimal load distribution

About our naming scheme:
0.x releases will be our initial releases, as we make sure that everything is working properly
x.0 releases will be major increments
x.x releases will be minor increments

DIRECTIONS:
Note: This has only been tested on v4 based ROM's. It will probably work on v5, but it has not been confirmed working yet.
1. Download kernel zip and place on sdcard
2. Boot into recovery by either using a software button (rom manager, rom toolbox, etc.) or adb (adb reboot recovery)
3. Go to Install zip from sdcard > Choose zip > navigate to zip > press ok
4. There is no need to wipe cache or dalvik as the updater script does it automatically
5. Reboot your phone
6. Your first boot might take a little longer than usual since the phone is rebuilding its caches - so don't freak out immediately


ON REPORTING BUGS:
Please provide me with:
a detailed description of the bug
when the bug occured
a way of reproducing it, if possible
Your ROM and ROM version
Kernel version, frequencies and governor
dmesg or /proc/last_kmsg, whichever is applicable
To do #6,
1. Start terminal emulator session
2. > su
3. # dmesg > /sdcard/dmesg.txt
For reboot/freeze problem, replace Step 3 above with
3. # cat /proc/last_kmsg > /sdcard/last_kmsg.txt
4. Paste contents of resultant txt files to pastebin.com
5. Post pastebin URLs here in this thread for diagnosis
NOTE: I will not reply to bugs if they do not include the above, you must also be on a stable version of your rom (no alphas or betas) and you must not have any SetCPU profiles active.

As always, our kernels are GPL compliant, and you can find the source here: https://github.com/sonicxml/Spectrum

We put a lot of time and effort into this, so we encourage you to leave a comment, hit the thanks button, and/or donate:

jdkoreclipse: CLICK HERE TO DONATE
Sonicxml: CLICK HERE TO DONATE
 
so far im loving this kernel.... on stock 10% battery would last maybe 5-10 minutes with pretty steady texting... now from 10% itll last about 30-45 minutes.... been away from a charger most of the day so i havent had a chance to test out a full charge... no random reboots yet.. fingers crossed...

should i run it at 1.5ghz ondemand? or has anyone else found the best setting for this kernel?
 
Upvote 0
Thanks for working on this! Just donated...JDK's paypal links on both sites were dead, i sent msg asking if u can give half of my donation to him. Sorry its not more though.

Yup, I got both the donation and the message and I will send half to jdk as soon as its done processing.

And thats quite all right - any donation amount is appreciated.

Thanks!
 
Upvote 0
Sorry this took a while, but here is v2! (finally)
Also, shockaholic donated me a spectrum so you should all say thanks to him! (jdk still doesn't have one, so if someone is feeling nice, I'm sure he'll really appreciate it)

Download: goo.gl/PBkN8

v2.0
Reverted FAIR_SLEEPERS, as this may improve UI responsiveness
Use SLQB memory allocator
Use Fast_NO_Hz
Better memory management for lowmemorykiller
Added our special Aggressive and Gallimaufry governors from our GNex kernel
Aggressive: This is a modified conservative governor, tweaked for speed while still having excellent battery life. It should also have better screen-on battery life
Gallimaufry: This is a modified ondemand governor, tweaked for speed while still having excellent battery life. It features a two-phase algorithm which should improve battery life
Added CPU overclock to 1.836GHz
Added GPU overclock - 2d module to 266MHz, 3d to 300Mhz
Added L2 Cache overclock
Added Bus overclock
Increased the rate of usb charging from miscellaneous cables to 650mA from 450mA. I don't want to increase it any higher as faster charging gives a lower battery life, and some GNex users using a patch that allowed for higher rates of usb charging experienced issues with their usb ports (granted, that was pulling 1A)
Added VMAP_AREA_CACHE (see here for explanation: http://git.kernel.or...61cb6cbf179b10a )
Added some codeaurora patches for better and more stable hotplugging
Added SVS (voltage control interface). This allows you to undervolt each frequency slot of the cpu. To use this, you have to be using an app that can properly read and control the voltages. Chad0989's IncrediControl (https://play.google....WRpY29udHJvbCJd ) is the only one I've found so far that can do this properly.
Some other miscellaneous speed tweaks
 
  • Like
Reactions: hungryzombie
Upvote 0
Just flashed all good so far. one question tho.... do you guys plan on taking the overclock higher then 1.8? I would be down to test on some test kernels if you want to see if it can go higher then what its at now maybe 2.0 or higher. as of right now i can run my max a min at 1.8 with no worry of reboots and no problems what so ever.

Sure I can look into doing that
 
  • Like
Reactions: brianmaedche
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones