1. Download our Official Android App: Forums for Android!

Root [KERNEL] PopcornKernel v0.1

Discussion in 'Android Devices' started by jdkoreclipse, Apr 15, 2012.

  1. jdkoreclipse

    jdkoreclipse Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    199
    Joined:
    Jul 31, 2010

    Jul 31, 2010
    199
    29
    43
    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
     

    Advertisement

  2. jdkoreclipse

    jdkoreclipse Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    199
    Joined:
    Jul 31, 2010

    Jul 31, 2010
    199
    29
    43
  3. sonicxml

    sonicxml Newbie
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Apr 14, 2012

    Apr 14, 2012
    12
    4
    16
    And just to clear anything up, when rebooting into cwm, don't use the vol-down + power unless you are going to flash Neph's bootloop fix on top of the kernel, because we aren't (yet) including the misc.img in the zip.


    BTW, thanks to Neph for testing this for us!
     
  4. Neph81

    Neph81 Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,399
    Joined:
    Mar 3, 2012

    Mar 3, 2012
    1,399
    823
    213
    Male
    Wisconsin
    NP guys. Just let me know if you need any more help. Even the aggressive stuff can be fixed as long as we don't bork partition 7.
     
  5. bones420la

    bones420la Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    518
    Joined:
    Mar 29, 2012

    Mar 29, 2012
    518
    82
    78
    leland NC
    just flashed it.. it flashed fine.. no issues so far... took maybe a minute longer than normal on first boot... ill report back in tomorrow on how good it does for me.. so far seems a little snappier
     
  6. admn81

    admn81 Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    641
    Joined:
    Nov 20, 2010

    Nov 20, 2010
    641
    150
    93
    MN
    Will having this installed prevent an ota update from working?
     
  7. Dcaugust

    Dcaugust Member
    Rank:
    None
    Points:
    18
    Posts:
    59
    Joined:
    Mar 29, 2012

    Mar 29, 2012
    59
    10
    18
    Pennsylvania
    I'm relatively new to all of this and have been running the broken ROM for a little while and I really like it. Is this another ROM, or is it something different. If I flash this, will I still be on the broken out ROM or not? Thanks
     
  8. MrB206

    MrB206 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,879
    Joined:
    Mar 4, 2012

    This is not another rom, it's a kernel, which is what the os uses to 'talk' to the hardware. Some kernels are designed for speed, others battery life.

    If you have BrokenOutRom installed, you can installbthis kernel. I don't know if you can flash kernels over stock with this phone, but you might.
     
  9. hollywoods14

    hollywoods14 Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    889
    Joined:
    Jan 20, 2012

    Jan 20, 2012
    889
    121
    113
    Salvage Yard
    Florida
    installed no issues running Broken Out
     
  10. Neph81

    Neph81 Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,399
    Joined:
    Mar 3, 2012

    Mar 3, 2012
    1,399
    823
    213
    Male
    Wisconsin
    Yes, flashing this would stop ota updates, but not for why you think. Flashing this means you have cwm recovery installed and I made sure my version blocks official ota updates.
     
    cac2us, atomilluminati and admn81 like this.
  11. atomilluminati

    atomilluminati Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    148
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    148
    27
    43
    Male
    Well I do alot of things.... but professionally ..
    Detroit, MI
    Flashing in a bit to check this out hopefully it's Orville... :D


    It's there a way to restore stock kernel if any issues do arise?
     
  12. Egofury

    Egofury Member
    Rank:
    None
    Points:
    16
    Posts:
    30
    Joined:
    Apr 3, 2012

    Apr 3, 2012
    30
    1
    16
    Make a backup of your rom before flashing the kernel
     
  13. bones420la

    bones420la Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    518
    Joined:
    Mar 29, 2012

    Mar 29, 2012
    518
    82
    78
    leland NC
    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?
     
  14. sonicxml

    sonicxml Newbie
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Apr 14, 2012

    Apr 14, 2012
    12
    4
    16
    hollywoods14 and admn81 like this.
  15. admn81

    admn81 Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    641
    Joined:
    Nov 20, 2010

    Nov 20, 2010
    641
    150
    93
    MN
  16. sonicxml

    sonicxml Newbie
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Apr 14, 2012

    Apr 14, 2012
    12
    4
    16
    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!
     
  17. atomilluminati

    atomilluminati Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    148
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    148
    27
    43
    Male
    Well I do alot of things.... but professionally ..
    Detroit, MI
    Seemingly solid...no issues so far will update tomorrow after a full nights charge and tomorrows use... Going to 1.0 before I sleep though...
     
  18. jdkoreclipse

    jdkoreclipse Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    199
    Joined:
    Jul 31, 2010

    Jul 31, 2010
    199
    29
    43
    I'll put up a fresh link tomorrow, just because a dead PayPal link is just bad....

    Thanks for the donation.
     
  19. hollywoods14

    hollywoods14 Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    889
    Joined:
    Jan 20, 2012

    Jan 20, 2012
    889
    121
    113
    Salvage Yard
    Florida
    installed with Broken Out update, phone seems exceptionally snappy and smooth. Excellent work guys.
     
  20. jdkoreclipse

    jdkoreclipse Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    199
    Joined:
    Jul 31, 2010

    Jul 31, 2010
    199
    29
    43
    Some good news:
    We have added in our signature governors into the next release, as well as over clock code.

    Also, someone (I forget the name) donated sonic a spectrum, so you will most likely see quicker updates (feel free to donate a spectrum to me, too :p)
     
    Markinter likes this.
  21. sonicxml

    sonicxml Newbie
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Apr 14, 2012

    Apr 14, 2012
    12
    4
    16
    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
     
    hungryzombie likes this.
  22. brianmaedche

    brianmaedche Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    230
    Joined:
    Jan 7, 2011

    Jan 7, 2011
    230
    119
    68
    Building Maintenanc
    Missoula, MT
    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.
     
  23. sonicxml

    sonicxml Newbie
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Apr 14, 2012

    Apr 14, 2012
    12
    4
    16
    Sure I can look into doing that
     
    brianmaedche likes this.
  24. hungryzombie

    hungryzombie Newbie
    Rank:
    None
    Points:
    16
    Posts:
    17
    Joined:
    Apr 29, 2012

    Apr 29, 2012
    17
    2
    16
    Athens, GA
    Running Broken Out rom, flashed V2 last night. So far, everything looks good. Thanks for the effort guys!!!
     
  25. mrmooney

    mrmooney Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    108
    Joined:
    Apr 19, 2012

    Apr 19, 2012
    108
    4
    36
    Can I use this on stock rooted room v4. I was on Broke out but battery life was to bad for me.
     
Tags:

Share This Page

Loading...