[ROM][KERNEL][LINARO]AOKP Hybrid Daily Builds (KANG)

Search This thread

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
These are AOKP builds built using the Linaro 4.6 daily toolchain builds. There might be bugs but so far everything is working really smoothly. I will be working more on the kernel. I will also be updating these as github repo changes come in.

Known bugs:

*
Camera is "flaky". It works but if you switch to different qualities it'll most likely crash.This is a bug with the Gallery ( I know sounds strange and it is) because the Gallery needs to connect with the camera to store pictures on the sdcard.

You can track all the most recent jellybean changes on AOKP's gerrit for status "merged" on the "jb" branch:
http://gerrit.sudoservers.com/#/q/status:merged+branch:jb,n,z

ADB
adb remount will not work on these roms. You can use adb root adb remount. If adb root doesn't work well for you for whatever reason use the scripts instead. For adb you'll need to make sure it has root access under development settings in the main settings menu. I have included two scripts to change the state of your system being mounted as either rw or ro. So before you push something with adb to your system you'll need to run the mount-rw script. Usage is as follows:

Type the following in terminal emulator or adb shell. I prefer terminal emulator.
Code:
For read/write access (this is the one you want for adb access)
$ su
# sh /etc/mount-rw
Code:
For read/only access (only need to do this after modifying your system partition, makes it stay secure ;))
$ su
# sh /etc/mount-ro
AOKP is a free, community built, aftermarket firmware distribution of Android 4.1.1 (Jellybean), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
AOKP is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. AOKP does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for AOKP is available in the AOKP Github repo. And if you would like to contribute to AOKP, please visit the Gerrit Code Review.

Instructions:

First time flashing AOKP to the Google Nexus 7, or coming from another ROM?
  1. Root the device and install ClockworkMod Recovery.
  2. Perform a NANDroid backup of your current ROM.
  3. Format the system, data & cache partitions of your device.
  4. Perform a factory reset.
  5. Flash AOKP.
  6. Optional: Install the Google Apps addon package.
Upgrading from earlier version of AOKP?
  1. Perform a NANDroid backup of your current ROM.
  2. Flash AOKP
  3. Optional: Install the Google Apps addon package.

A precautionary note about flashing other kernels
I do not support other kernels! If are having issues with this rom and are using some other type of kernel (aka some type of experimental kernel) I will not support
bug issues that you may encounter!

General Credits:

* Google of course for most of the source

* Of course the AOKP team for their source

* drewis for various ROM fixes

* And lastly me for various other tweaks
  • Linaro toolchain optimizes the ROMs and Kernels
  • Power hal to control the kernel frequencies
  • Stock Launcher rotation enabled by default
  • The kernel hybrid that is in these ROMs
  • AOSP Tablet Mode (no DPI mods or launcher tablet ui). Includes full AOSP browser in tablet mode.
  • Initd.d kernel module script to load kernel modules on boot
  • Kernel optimization's:
    • A lot of kernel debugging disabled
    • Most of the governors are modules so will not clutter up the kernel (side loading governors as modules)
  • Screen will not turn on when unplugging from power usb/ac.
  • Other things I probably can't remember right now ;)
  • Wallpaperz app for extra wallpapers, thread is here http://android-den.com/index.php?topic=1415.0

If I'm forgetting anyone let me know and I'll add you to the list!

About The Kernel:

Cherry-picked changes from faux123's github

  • User voltage control (For frequency control use SystemTuner by 3C)
  • CPU Overclocking to 1.7Ghz (1.3Ghz default)
  • cherry picked select NOHz optimizations from Linux 3.3+
  • back ported select Linux 3.3+ cgroup (cpu control groups), threadgroup optimizations
  • SLAB completed updated to Linux 3.5+
  • RCU completely updated to latest preemptive tree RCU to Linux 3.3+
  • row i/o scheduler
  • Safe LZO decompression
  • LZO updated to latest version
  • zcache optimizations
  • Optimized SHA1 algorithm

Other kernel features added by me

  • Lots of kernel merges/fixes from the mainline linux kernel, too many to list
  • Zram enabled by default in these roms to 250mb block size (only 10 swappiness)
  • BFQ v5-3.1 http://algo.ing.unimo.it/people/paolo/disk_sched/description.php
  • Deadline, No-op, CFQ (default), BFQ, SIO
  • -O3 optimizations and built with the latest monthly 4.6 linaro gcc releases (I build my own toolchains)
  • Ramp up CPU frequency on input events which improves responsiveness for the following governors:
    • SmartassV2, Lagfree, Minmax, Lulzactive and Lazy
  • Performance improvements on Minmax governor (it really needed it)

Config tweaks (stuff that is already in the kernel but not enabled)

  • Cpuquiet framework
    • Cpuquiet implements pluggable policies for forcing cpu cores into a
    • quiescent state. Appropriate policies will save power without hurting
    • performance.
  • CIFS module
  • ARM Berkeley Network Packet Filter Just-in-Time (JIT) compiler support
  • CleanCache Enabled
  • DOS VFAT (read/write), NTFS (read/write), CDROM/UDF FS, CIFS+UTF-8 (windows share)
  • Zcache
  • kernel compression GZIP
  • SHA1 algorithm

Enjoy!

Rom Downloads

Latest gapps 20120923

My Github
 

Attachments

  • sparksco_10-08-12_linaro.zip
    8.7 MB · Views: 30
Last edited:

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
Screenshots

puredyqy.jpg

arevesa4.jpg

deryjery.jpg

jetyqe6e.jpg
 
Last edited:

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
Hmm, I'm in the process of doing another build right now I'll test the new build out on a fresh wipe. Did you guys all wipe since this is the first time flashing these ROMs?

Sent from my Nexus 7 using Tapatalk 2
 

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
Alright guys I've attached my Linaro -O3 optimized kernel to the OP with the power hal fix in it to control the frequencies. This kernel is highly optimized unlike the current kernels in the roms. They will however be added to future rom builds and I will update the attachments as I update the kernel. I'll also attach it here for convenience :)
 

Attachments

  • sparksco_10-08-12_linaro.zip
    9.8 MB · Views: 13
Last edited:
  • Like
Reactions: YoungCorruptionV2.0

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    These are AOKP builds built using the Linaro 4.6 daily toolchain builds. There might be bugs but so far everything is working really smoothly. I will be working more on the kernel. I will also be updating these as github repo changes come in.

    Known bugs:

    *
    Camera is "flaky". It works but if you switch to different qualities it'll most likely crash.This is a bug with the Gallery ( I know sounds strange and it is) because the Gallery needs to connect with the camera to store pictures on the sdcard.

    You can track all the most recent jellybean changes on AOKP's gerrit for status "merged" on the "jb" branch:
    http://gerrit.sudoservers.com/#/q/status:merged+branch:jb,n,z

    ADB
    adb remount will not work on these roms. You can use adb root adb remount. If adb root doesn't work well for you for whatever reason use the scripts instead. For adb you'll need to make sure it has root access under development settings in the main settings menu. I have included two scripts to change the state of your system being mounted as either rw or ro. So before you push something with adb to your system you'll need to run the mount-rw script. Usage is as follows:

    Type the following in terminal emulator or adb shell. I prefer terminal emulator.
    Code:
    For read/write access (this is the one you want for adb access)
    $ su
    # sh /etc/mount-rw
    Code:
    For read/only access (only need to do this after modifying your system partition, makes it stay secure ;))
    $ su
    # sh /etc/mount-ro
    AOKP is a free, community built, aftermarket firmware distribution of Android 4.1.1 (Jellybean), which is designed to increase performance and reliability over stock Android for your device.
    Code:
    #include 
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */
    AOKP is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. AOKP does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for AOKP is available in the AOKP Github repo. And if you would like to contribute to AOKP, please visit the Gerrit Code Review.

    Instructions:

    First time flashing AOKP to the Google Nexus 7, or coming from another ROM?
    1. Root the device and install ClockworkMod Recovery.
    2. Perform a NANDroid backup of your current ROM.
    3. Format the system, data & cache partitions of your device.
    4. Perform a factory reset.
    5. Flash AOKP.
    6. Optional: Install the Google Apps addon package.
    Upgrading from earlier version of AOKP?
    1. Perform a NANDroid backup of your current ROM.
    2. Flash AOKP
    3. Optional: Install the Google Apps addon package.

    A precautionary note about flashing other kernels
    I do not support other kernels! If are having issues with this rom and are using some other type of kernel (aka some type of experimental kernel) I will not support
    bug issues that you may encounter!

    General Credits:

    * Google of course for most of the source

    * Of course the AOKP team for their source

    * drewis for various ROM fixes

    * And lastly me for various other tweaks
    • Linaro toolchain optimizes the ROMs and Kernels
    • Power hal to control the kernel frequencies
    • Stock Launcher rotation enabled by default
    • The kernel hybrid that is in these ROMs
    • AOSP Tablet Mode (no DPI mods or launcher tablet ui). Includes full AOSP browser in tablet mode.
    • Initd.d kernel module script to load kernel modules on boot
    • Kernel optimization's:
      • A lot of kernel debugging disabled
      • Most of the governors are modules so will not clutter up the kernel (side loading governors as modules)
    • Screen will not turn on when unplugging from power usb/ac.
    • Other things I probably can't remember right now ;)
    • Wallpaperz app for extra wallpapers, thread is here http://android-den.com/index.php?topic=1415.0

    If I'm forgetting anyone let me know and I'll add you to the list!

    About The Kernel:

    Cherry-picked changes from faux123's github

    • User voltage control (For frequency control use SystemTuner by 3C)
    • CPU Overclocking to 1.7Ghz (1.3Ghz default)
    • cherry picked select NOHz optimizations from Linux 3.3+
    • back ported select Linux 3.3+ cgroup (cpu control groups), threadgroup optimizations
    • SLAB completed updated to Linux 3.5+
    • RCU completely updated to latest preemptive tree RCU to Linux 3.3+
    • row i/o scheduler
    • Safe LZO decompression
    • LZO updated to latest version
    • zcache optimizations
    • Optimized SHA1 algorithm

    Other kernel features added by me

    • Lots of kernel merges/fixes from the mainline linux kernel, too many to list
    • Zram enabled by default in these roms to 250mb block size (only 10 swappiness)
    • BFQ v5-3.1 http://algo.ing.unimo.it/people/paolo/disk_sched/description.php
    • Deadline, No-op, CFQ (default), BFQ, SIO
    • -O3 optimizations and built with the latest monthly 4.6 linaro gcc releases (I build my own toolchains)
    • Ramp up CPU frequency on input events which improves responsiveness for the following governors:
      • SmartassV2, Lagfree, Minmax, Lulzactive and Lazy
    • Performance improvements on Minmax governor (it really needed it)

    Config tweaks (stuff that is already in the kernel but not enabled)

    • Cpuquiet framework
      • Cpuquiet implements pluggable policies for forcing cpu cores into a
      • quiescent state. Appropriate policies will save power without hurting
      • performance.
    • CIFS module
    • ARM Berkeley Network Packet Filter Just-in-Time (JIT) compiler support
    • CleanCache Enabled
    • DOS VFAT (read/write), NTFS (read/write), CDROM/UDF FS, CIFS+UTF-8 (windows share)
    • Zcache
    • kernel compression GZIP
    • SHA1 algorithm

    Enjoy!

    Rom Downloads

    Latest gapps 20120923

    My Github
    3
    2
    Boots perfectly for me via TWRP. I wiped all partitions and everything is fine.


    Sent from my Nexus 7 using Tapatalk 2
    1
    Just in case
    1
    Can we also have a flashable kernel please. The kernel looks interesting :)

    Sent from my Nexus 7 using Tapatalk 2

    Yeah when I get home later I'll zip it up and post a separate link to it.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone