Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL][FEB.28] Bricked-Kernel|2.6.35.14|v0.6|cm9|maxOC@2157/192|CIFS|L2PUSH|UV|KSM

OP show-p1984

20th January 2012, 07:20 AM   |  #1  
show-p1984's Avatar
OP Recognized Developer
Thanks Meter: 11,695
 
3,383 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Bricked-Kernel v0.6 for CM9-ICS

ENJOY!

Default clocks: 1566Mhz max / 192Mhz min

OverClockable till 2.16Ghz (2157Mhz) !NOT ALL DEVICES CAN HANDLE THIS!
​Be EXTREMELY careful when setting something ABOVE 1914Mhz!

L2 Performance Boost @ 1566Mhz (original by faux123)
Disabled above 1890Mhz for stability reasons

GPU 3D Overclock @ 320Mhz
GPU 2D Overclock @ 266Mhz


Features:
Code:
* based on the outstanding work of dalingrin and the cm-team
* Kernel base 2.6.35.14
* KSM support
* CIFS
* UTF8 encoding (included for CIFS)
* Overclocking to 1566Mhz default (max. 1914Mhz)
* Min Clock @ 192Mhz default
* basic NTFS support
* Tweaked ondemand settings to react better while letting cpu1 jump in later
* Snapdragon compiler optimization
* Global CPU Voltage table used for adjusting voltage table (by snq-)
...- Using System Tuner (or any other compatible app) you can now change the
.....Voltage @ each frequency.
* ~8% Undervolted till 1566Mhz
* L2 Performance Push @ 1566Mhz (Original by faux123)
* Overclock till 2157Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!
--(I don't want to increase Voltage any further, this will increase the risk of burning your cpu. So if it is unstable, choose a lower clock!)
* cleaned code, improved performance
Changelog @ 2nd Post

How to install/unistall?
Just flash from recovery. If you can't boot the kernel (invalid size) you probably have installed some other stuff that put kernels in /boot. Currently we are limited to 30MB on that partition, so the kernel could not be written completely. From recovery, mount /boot and just do:
Code:
adb shell rm /boot/uImage.CyanogenMod
From booted CM-Stock kernel do:
Code:
adb shell
mount -o remount,rw /boot
rm /boot/uImage.CyanogenMod
Then flash the kernel again from recovery.
This will delete the original stock cm9 kernel and make room for Bricked.

This is, per default, installed as an additional kernel, so your cm9 default kernel will still be there as a fallback.
However it will automatically be set as the default boot option.
If you want to boot into the cm9 kernel for just one time, just choose it. Though wifi will be broken because the modules differ. (pushing the cm9 modules will fix that but break Bricked wifi , how that is done is written a few lines down)

If you want to permanently fallback to the CM9 Kernel for whatever reasons, just extract the ar6000.ko from the cm9 install zip (/system/lib/modules) and do this:
Code:
adb shell
mount -o remount,rw /boot
echo "CyanogenMod" > /boot/moboot.default
mount -o remount,rw /system
exit
adb push C:\path\to\the\cm9\ar6000.ko /system/lib/modules/ar6000.ko
adb reboot
This should set the default kernel as default bootoption, as well as replace the Bricked-Wifi-Module with the original cm9 one.

If you had previously removed the CM Stock kernel, extract it from the latest cm update and add this line before adb reboot in the above list:
Code:
adb push C:\path\to\the\cm9\uImage.CyanogenMod /boot
If you want to completely remove bricked, add
Code:
rm /boot/uImage.CM_Bricked-Kernel
before the 'exit' line above.


Where to complain about errors/bugs?

Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://code.google.com/p/bricked/issues/entry

IRC Chat: Freenode IRC #bricked

Download:
No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
(If you download, please hit Thanks below my post! Thank you!)

*v0.6* [ondemand, PREEMPTIBLE] Click me

Current Downloads: Click Me
All Downloads: Click Me


Use System Tuner or SetCPU to overclock!




Source:

Last edited by show-p1984; 28th February 2012 at 06:13 AM.
The Following 46 Users Say Thank You to show-p1984 For This Useful Post: [ View ]
20th January 2012, 07:24 AM   |  #2  
show-p1984's Avatar
OP Recognized Developer
Thanks Meter: 11,695
 
3,383 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Changelog:

Code:
***** v0.6 *****
Simple:
* Blackscreens fixed (gigantic PM changes from caf)
* Use max L2 Frequency from 1728000Hz to 1890000Hz too (disabled over 1890Mhz for stability reasons)
* fix pmem for HD playback on cm9 A2
* fix boot hang when USB is connected (apparently 64GB Touchpads only)
* see below for the rest :P
* GPU OC @ 320Mhz 3D / 266,67Mhz 2D
* pushed max OC to !2,16Ghz! (2157Mhz) - !!use with caution!!
** I suggest you don't play with it
** unless you know EXACTLY what you are doing.
** This may very well brick a touchpad that cannot handle it. (but 2 of my 3 can :P)
** Default max remains 1566Mhz, during bootup: 1188Mhz.
** If you have no clue: Leave it to the defaults! :P

Detailed:
* bd73231 : max8903b: fix warning: function declaration isn't a prototype [-Wstrict-prototypes]
* 6560d8a : max8903b: print out an error if the device is not set up
* 0da4555 : max8903b: avoid crash in _current_setup if device not setup
* 18aef20 : board: Initialize max8903b_charger_device before USB This should fix some problems occuring while booti
* 1600ebb : PMEM changes required for MSM gralloc to work correctly.
* e4cd4e7 : acpu: Use max L2 Frequency from 1728000Hz to 1890000Hz
* 81f0951 : acpu: Raise max OC up to 2157Mhz +minor comment cleanup
* bc6c08e : change INIT_CONNECTED_PS_DELAY: 30 to 60
* 4b66792 : klog: copy logbuf on init
* 9d6e569 : PM / Core: Introduce struct syscore_ops for core subsystems PM
* f7bbacd : PM: Fix printing IRQ names for pending wakeup IRQs
* c5f2cbb : PM: Wait for completion of the parent resume before resuming
* 9f6ace8 : PM: Introduce library for device-specific OPPs (v7)
* ac959f3 : PM: Prototype the pm_generic_ operations
* 31b5c99 : PM: Remove redundant checks from core device resume routines
* e7f7366 : PM: Use a different list of devices for each stage of device suspend
* 14a931d : PM: Use proper ccflag flag in kernel/power/Makefile
* dd36b42 : PM: Lock PM device list mutex in show_dev_hash()
* abc8f02 : PM: Fix signed/unsigned warning in dpm_show_time()
* 5c29b42 : PM / Suspend: Fix ordering of calls in suspend error paths
* e04c902 : PM / Hibernate: Make default image size depend on total RAM size
* e0a2974 : PM / Hibernate: Improve comments in hibernate_preallocate_memory()
* d2dc39e : PM / Hibernate: Return error code when alloc_image_page() fails
* cda6734 : PM / Runtime: Fix pm_runtime_suspended()
* b4de71f : PM / Hibernate: Fix PM_POST_* notification with user-space suspend
* 02f03c7 : PM / Suspend: Fix bug in suspend statistics update
* 4068f99 : PM / Sleep: Remove pm_runtime_suspended() from __pm_generic_call()
***** v0.5 *****
Removed three 2D/3D scaling steps
Raised 3D GPU OC to 320Mhz (was 300 before, stock 266.67Mhz)
Fixed screen/sleep of death
Fixed a coding derp

***** v0.4 *****
ksm update from bricked-pyra source
Lowered min voltage once again (now: 700mV)
Updated KGSL driver with bricked-pyramid:
msm: kgsl: 8Stages 3D scaling, highest @ 300Mhz (fraction 33)
msm: kgsl: 6stages 2D scaling, highest @ 266,7Mhz, 33,35% Overclocked (fraction 100)
msm: kgsl: GPU off while screen off!
msm: kgsl: improved KGSL suspend
msm: kgsl: Use the correct virtual address for pmem regions
msm: kgsl: Delay 30ms to make sure GPU is ready during resume time
msm: kgsl: Update pwrlevel_change
msm: kgsl: Add sysfs attribute to turn GPU DCVS off/on
msm: kgsl: Early Suspend drivers
msm: kgsl: Turbo Mode
msm: kgsl: Do not check for idle while suspended
msm: kgsl: Make kgsl_idle_check check if a nap is allowed
msm: kgsl: fix parameter checking in adreno_ringbuffer_issueibcmds
msm: kgsl: Abort kgsl_pwrctrl_wake() when in KGSL_STATE_INIT
msm: kgsl: create singlethread wq instead of per-cpu wq
msm: kgsl: Fixing earlysuspend/lateresume for multiple devices.
msm: kgsl: run kgsl_idle_check after resuming a device
msm: kgsl: fix coding derp for init pwrctrl

***** v0.35 *****
init.rc: New /data dalvik cache
init.rc: Fix permissions for new dalvik cache
KSM updates.
Works with CM9 Alpha 0.6

***** v0.34 *****
init.rc: Fix init.d script execution @ boot-time by Turl
acpu: Change min/max limits to provide a wider scale range for the enduser
 - Increased default voltage @ 1914Mhz (+25mV)
 - You can now undervolt until 750mV and overvolt up until 1,425V.
 - Don't cook eggs. Please.
msm8960: qdsp6v2: include the HW audio decoder and encoder 
msm: audio: qdsp6v2: Acquire wakelocks during record.
msm: 8660: audio: Fix check for out of bound exception 
Kernel Samepage Merging (KSM) for ROMs with support for it

***** v0.31 *****
Fixed KGSL page faults (Titanium Backup, etc...)
Thanks to dalingrin for finding the missing commit from CAF!

***** v0.3 *****
Too much to list here.
Changelog: http://pastebin.com/raw.php?i=cPS5d3p4
Change statistics: http://pastebin.com/raw.php?i=DQsfsSwd

Summary:
Improves UI reaction.
Improves overall performance.
Fixed a few bugs.
Decreased kernel file-size, we only got 30megs on /boot =/
Optimization Level 3
Addressed total stop of playback when device is going to sleep.
Increased CRC performance, this should speed up everything.
Decreased boot-time.
Increased read/write on disk.

***** v0.21 *****
* Bluetooth fixed

***** v0.2 *****
ar6000:
* switched to an older android driver version
This is a test for the Wifi issues

Kernel:
* Updated Kernel base to 2.6.35.14, no more palm :P
* Tweaked ondemand settings to react better while letting cpu1 jump in later
* added Snapdragon compiler optimization
* added Global CPU Voltage table used for adjusting voltage table (by snq-)
...- Using System Tuner (or any other compatible app) you can now change the
.....Voltage @ each frequency.
* Let MMFPB drop to 27MHz when processor power-collapsed (by Matt Wagantall)
* cpufreq: adding mfreq override sysfs value
...- Using this will override any governor to the max frequency currently set
* cpufreq: exposing scaling_available_frequencies to sysfs

***** v0.1 *****
This is a very early build.

* 2.6.35.palm
* based on the outstanding work of dalingrin and the cm-team
* CIFS
* UTF8 encoding (included for CIFS)
* Overclocking to 1566Mhz default (max. 1914Mhz)
* Min Clock @ 192Mhz default
* basic NTFS support
* Userspace driven configuration filesystem
* ~8% Undervolted till 1566Mhz
* L2 Performance Push @ 1566Mhz (Original by faux123)
* Overclock till 1914Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!
--(I don't want to increase Voltage any further, this will increase the risk of burning your cpu. So if it is unstable, choose a lower clock!)
* cleaned code, improved performance
Last edited by show-p1984; 28th February 2012 at 06:16 AM.
The Following 11 Users Say Thank You to show-p1984 For This Useful Post: [ View ]
20th January 2012, 07:26 AM   |  #3  
show-p1984's Avatar
OP Recognized Developer
Thanks Meter: 11,695
 
3,383 posts
Join Date:Joined: Jul 2011
Donate to Me
More
ReservedReservedReservedReservedReserved
The Following 6 Users Say Thank You to show-p1984 For This Useful Post: [ View ]
20th January 2012, 07:27 AM   |  #4  
smac7's Avatar
Senior Member
Flag Chicago
Thanks Meter: 159
 
1,247 posts
Join Date:Joined: Feb 2009
More
is this for cm7 or cm9?
The Following 2 Users Say Thank You to smac7 For This Useful Post: [ View ]
20th January 2012, 07:42 AM   |  #5  
Senior Member
Thanks Meter: 63
 
180 posts
Join Date:Joined: Jul 2010
Its for cm9/ics..
The Following User Says Thank You to lovleshgarg For This Useful Post: [ View ]
20th January 2012, 07:45 AM   |  #6  
show-p1984's Avatar
OP Recognized Developer
Thanks Meter: 11,695
 
3,383 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by hockey4life0099

is this for cm7 or cm9?

For cm9-ics
Thank you, good catch! it's 7:45am here and I was awake all night doing stuff for the tp and for the sensation so I guess this mistake can be forgiven
The Following 6 Users Say Thank You to show-p1984 For This Useful Post: [ View ]
20th January 2012, 07:45 AM   |  #7  
smac7's Avatar
Senior Member
Flag Chicago
Thanks Meter: 159
 
1,247 posts
Join Date:Joined: Feb 2009
More
remove post.
Last edited by smac7; 20th January 2012 at 08:13 AM.
The Following User Says Thank You to smac7 For This Useful Post: [ View ]
20th January 2012, 07:47 AM   |  #8  
Senior Member
Thanks Meter: 33
 
287 posts
Join Date:Joined: Mar 2006
Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.
20th January 2012, 07:49 AM   |  #9  
smac7's Avatar
Senior Member
Flag Chicago
Thanks Meter: 159
 
1,247 posts
Join Date:Joined: Feb 2009
More
Quote:
Originally Posted by vinscuzzy

Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.

yes it is
----------
20th January 2012, 07:49 AM   |  #10  
show-p1984's Avatar
OP Recognized Developer
Thanks Meter: 11,695
 
3,383 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by vinscuzzy

Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.

I think nandroid does a backup of /boot.
But even if not it is installed as an additional kernel and set as default, should you run into any problem, just choose the default Cynogenmod kernel from moboot and push the ar6000.ko from cyanogenmod9 (zip file) to /system/lib/modules

The Following User Says Thank You to show-p1984 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes