1. Are you ready for the Galaxy S20? Here is everything we know so far!

[MetroPCS/CDMA] Faux-Penguin-Kernels-d2-mtr/cri/usc-JB[Linux 3.0.46]kernel for AOSP/AOKP/CM10 ROMs

Discussion in 'Android Devices' started by Shabbypenguin, Dec 28, 2012.

  1. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    NOTICE: This is COMPATIBLE with ALL Cyanogenmod-based ROMs

    For frequency control use fauxclock from Google Play

    Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you!

    Hi Androidforums members and fellow Samsung users:

    What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
    [Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.

    [​IMG]


    THIS KERNEL is BASED ON Samsung/Cyanogenmod Source Code. So it is COMPATIBLE ONLY WITH Samsung Jellybean Cyanogenmod 10 -based Builds.

    Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).


    CleanCache/FrontSwap (via ZCache backend - ULTIMATE Edition ONLY)

    [font=Roboto, Helvetica, arial, sans-serif]Cleancache provides a place where the kernel can put pages which it can afford to lose, but which it would like to keep around if possible. A classic example is file-backed pages which are clean, so they can be recovered from disk if need be. The kernel can drop such pages with no data loss, but things will get slower if the page is needed in the near future and must be read back from disk. Like Cleancache, Frontswap can play tricks with the stored pages to stretch its memory resources. The real purpose behind this mechanism, though, appears to be to enable a hypervisor to respond quickly to memory usage spikes in virtualized guests. Dan put it this way:[/font]
    [font=Roboto, Helvetica, arial, sans-serif]Frontswap serves nicely as an emergency safety valve when a guest has given up (too) much of its memory via ballooning but unexpectedly has an urgent need that can't be serviced quickly enough by the balloon driver.[/font]


    ZRAM (aka CompCache aka RAMZSwap - Not Implemented)

    ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible. [​IMG]

    Joe's RCU (Optimized for Small SMP systems)

    Joe Korty has created an RCU for small SMP systems (> 32 cores). His approach is to isolate all the Garbage Collection (GC, a slow time consuming but necessary processing) to a single core, thus allowing other cores to ONLY work on real required processing. This will allow the additional cores to complete their assigned tasks as fast as possible (not bogged down by GC) then immediately go back to a suspended state (saving battery).

    Fast No Hz RCU (Optimized for SMP operations)

    Fast NoHz is an optimized version of the traditional Tree RCU. Many new kernels are using the Tickless NoHz design. This RCU is tailored and designed to work with the new NoHz kernel system.


    SmartAssV2 Governor (Balanced - NOT Implemented for Qualcomm Dual Cores (not optimal)!)

    This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).

    Interactive Governor (Performance -NOT Implemented)

    This governor is designed to put more priority to User Interface (UI aka Apps) tasks, therefore appears more responsive then the traditional OnDemand governor. So if you want the smoothest UI interaction, this governor is for you...

    Brain F*ck Scheduler - (BFS - NOT Implemented (Not Compatible))

    This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).

    SLQB - (SLAB allocator with Queue)

    This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...

    Fair Budget Queue (BFQ I/O scheduler)

    This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.


    Installation Instructions:

    Here's a step by step instruction to install this kernel:


    1. download the kernel from the correct post (via phone directly or to a PC)
    2. copy the downloaded zip file to /sdcard/download/
    3. Open ROM Manager/Goomanager and select "Reboot into Recovery" and select "OK"
    4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
    5. Once the script is done, select "reboot system now"

    Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth...


    Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!

    My github Complying with GPL and Forum rules [​IMG]
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    A note from Shabby:

    This kernel is thanks to many long hard hours faux123 has poured into it, i have merely adapted it to work on the d2mtr/d2usc/d2cri for you guys. as time goes on ill be adding in some of my own twist and tweaks and hoping to improve on his great work (i doubt i can do much faux123 is a kernel genius).

    anyways if you want to show your support make sure to thank him, and buy his app so he knows people are interested :) (especially cuz he has a new awesome feature sweep2wake ;) )

    Fauxclock
     
  3. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    mrpnut, The Capo, n4zty and 1 other person like this.
  4. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    History:

    Initial release:
    Make it boot! :p


    TO DO:

    Haven't thought about it yet...

    BUGS:

    Not All CHIPS ARE CREATED EQUAL
     
    mike28, mrpnut and n4zty like this.
  5. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    OK OP is all set up, these arent anything new in terms of kernels (they have been posted here for a while). i was expecting faux123 to merge in my requested changes and post a thread.. he hasnt so im not gunna make yall wait any longer.

    the first post is mostly a copy and paste from his usual kernel threads, hopefully you guys find it informative and learn something new today :). when i get a chance im gunna track down why on earth his newest stuff isnt booting anymore :/
     
    n4zty likes this.
  6. jtw1216

    jtw1216 Android Expert

    ok shabby, I know this is gonna be a stupid question. Will this work on bakedbeans? the op says it's for ics builds. I thought these roms were jb builds.
     
  7. mike28

    mike28 Android Expert

    Another quick question I kind of know the answer lol will it work on stock rooted?
     
  8. airtioteclint

    airtioteclint Android Expert

    It will work on all our 4.1 roms so far. (blackbeans, kingking, aokp, and cm10, not to be confused with cm10.1)
     
    Twin Prime, confed and jtw1216 like this.
  9. airtioteclint

    airtioteclint Android Expert

    Nah, I don't think so. Gotta wait for ups for that one. Lol
     
    mike28 likes this.
  10. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    whoops fixed the ICS stuff. but yes these kernels have been working just fine on BB6/aokp/Kingkang etc for a good bit.. since i posted them here :p
     
  11. jtw1216

    jtw1216 Android Expert

    LOL aaaahhh ok, I remember this one now. Why the repost? You make improvements? Gonna have to recheck it out again.
     
  12. confed

    confed Android Expert

    It worked great on bb6. Great performance and battery life. In the other thread I posted a benchmark I ran on first boot. I didn't disable anything nor tweak the kernel. His app is worth it if you are into tweaking
     
  13. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    as i do plan on making some changes here shortly. ill be getting the device so ill be a bit more hands on with it all. as i said in the original post i was gunna make a thread when i could. :)
     
  14. mike28

    mike28 Android Expert

    Thanks bud ups it's taking their sweet time :banghead:
     
  15. airtioteclint

    airtioteclint Android Expert

    Haha, I know huh.
     
  16. nuttmeg

    nuttmeg Extreme Android User

    Dayum A+ work Shab ;)
     
  17. iown

    iown Well-Known Member

    weird shab after i boot cm10 i got to try and flash this then it gives me a black screen with a orange notifiaction light\
     
  18. haxmethod

    haxmethod Well-Known Member

    This a proper kernel man, running great. Do we need to download a third party app or can do everything in rom control.
     
  19. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    ideally you would use faux's app, the majority of the stuff can be used in any of teh other apps. but t here are some settings that are handled only by his app afaik.
     
  20. confed

    confed Android Expert


    His app is very useful and gives a lot more options. I recommend it to anyone who wants full control
     
  21. The Capo

    The Capo Android Enthusiast

    Is it in the play store
     
  22. confed

    confed Android Expert

    The Capo likes this.
  23. iown

    iown Well-Known Member

    dude when i try to flash this i get a black screen and this isnt my first time flashing.
     
  24. Shabbypenguin

    Shabbypenguin Extreme Android User
    Thread Starter

    what are you doing to flash? what rom are you on? what recovery are you using to flash? what do you mean a black screen? do you get to teh boot animation?

    without info like this all i can say is idk???
     
  25. iown

    iown Well-Known Member

    im using twrp... i tryed flashing on blackbean.. i got the samsung gs3 logo and stuff but i dont get the roms boot img after that. i also tryed aokp to. ill try again later . to flash i wipe cache/dalvik then instal the zip. i just tryed cm10 to boots past eh gs3 logo word thing then black screen with orange notification light because im pluged into comp
     

Samsung Galaxy S3 Forum

The Samsung Galaxy S3 release date was May 2012. Features and Specs include a 4.8" inch screen, 8MP camera, 1GB RAM, Exynos 4412 Quad processor, and 2100mAh battery.

May 2012
Release Date
0
Reviews
Loading...

Share This Page

Loading...