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

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

Shabbypenguin

Extreme Android User
Mar 28, 2011
5,381
5,072
36
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.



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.
biggrin.png


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
biggrin.png
 
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
 
Upvote 0
Upvote 0
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 :/
 
  • Like
Reactions: n4zty
Upvote 0
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 ;) )​


dude when i try to flash this i get a black screen and this isnt my first time flashing.
 
Upvote 0
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???
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
 
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