Android OS Forum banner
1 - 20 of 341 Posts

·
Premium Member
Joined
·
212 Posts
Mod Type:: Kernel

Difficulty:: Very Easy

Mod Base:: AOSP

Mod Status:: Beta

Apply In:: CWM Recovery

Carrier:: N/A (WiFi)

Optional:: Custom Settings

Requires Root:: Yes

Android Version:: 4.0.4 (ICS)

Source::
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 until 1890Mhz (original by faux123)
Disabled above 1890Mhz for stability reasons

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

Features:
Code:
<br />
* based on the outstanding work of dalingrin and the cm-team<br />
* Kernel base 2.6.35.14<br />
* KSM support<br />
* CIFS<br />
* UTF8 encoding (included for CIFS)<br />
* Overclocking to 1566Mhz default (max. 1914Mhz)<br />
* Min Clock @ 192Mhz default<br />
* basic NTFS support<br />
* Tweaked ondemand settings to react better while letting cpu1 jump in later<br />
* Snapdragon compiler optimization<br />
* Global CPU Voltage table used for adjusting voltage table (by snq-)<br />
...- Using System Tuner (or any other compatible app) you can now change the<br />
.....Voltage @ each frequency.<br />
* ~8% Undervolted till 1566Mhz<br />
* L2 Performance Push @ 1566Mhz (Original by faux123)<br />
* Overclock till 2157Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!<br />
--(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!)<br />
* cleaned code, improved performance<br />
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:
<br />
adb shell rm /boot/uImage.CyanogenMod<br />
From booted CM-Stock kernel do:
Code:
<br />
adb shell<br />
mount -o remount,rw /boot<br />
rm /boot/uImage.CyanogenMod<br />
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:
<br />
adb shell<br />
mount -o remount,rw /boot<br />
echo "CyanogenMod" > /boot/moboot.default<br />
mount -o remount,rw /system<br />
exit<br />
adb push C:\path\to\the\cm9\ar6000.ko /system/lib/modules/ar6000.ko<br />
adb reboot<br />
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:
<br />
adb push C:\path\to\the\cm9\uImage.CyanogenMod /boot<br />
If you want to completely remove bricked, add
Code:
<br />
rm /boot/uImage.CM_Bricked-Kernel<br />
before the 'exit' line above.

Where to complain about errors/bugs?

Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://code.google....ed/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:

 

·
Premium Member
Joined
·
212 Posts
Changelog:

Code:
<br />
***** v0.6 *****<br />
<br />
Simple:<br />
* Blackscreens fixed (gigantic PM changes from caf)<br />
* Use max L2 Frequency from 1728000Hz to 1890000Hz too (disabled over 1890Mhz for stability reasons)<br />
* fix pmem for HD playback on cm9 A2<br />
* fix boot hang when USB is connected (apparently 64GB Touchpads only)<br />
* see below for the rest <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/android/tongue3.png' class='bbc_emoticon' alt=':P' /><br />
* GPU OC @ 320Mhz 3D / 266,67Mhz 2D<br />
* pushed max OC to !2,16Ghz! (2157Mhz) - !!use with caution!!<br />
** I suggest you don't play with it<br />
** unless you know EXACTLY what you are doing.<br />
** This may very well brick a touchpad that cannot handle it. (but 2 of my 3 can <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/android/tongue3.png' class='bbc_emoticon' alt=':P' />)<br />
** Default max remains 1566Mhz, during bootup: 1188Mhz.<br />
** If you have no clue: Leave it to the defaults! <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/android/tongue3.png' class='bbc_emoticon' alt=':P' /><br />
<br />
Detailed:<br />
* bd73231 : max8903b: fix warning: function declaration isn't a prototype [-Wstrict-prototypes]<br />
* 6560d8a : max8903b: print out an error if the device is not set up<br />
* 0da4555 : max8903b: avoid crash in _current_setup if device not setup<br />
* 18aef20 : board: Initialize max8903b_charger_device before USB This should fix some problems occuring while booti<br />
* 1600ebb : PMEM changes required for MSM gralloc to work correctly.<br />
* e4cd4e7 : acpu: Use max L2 Frequency from 1728000Hz to 1890000Hz<br />
* 81f0951 : acpu: Raise max OC up to 2157Mhz +minor comment cleanup<br />
* bc6c08e : change INIT_CONNECTED_PS_DELAY: 30 to 60<br />
* 4b66792 : klog: copy logbuf on init<br />
* 9d6e569 : PM / Core: Introduce struct syscore_ops for core subsystems PM<br />
* f7bbacd : PM: Fix printing IRQ names for pending wakeup IRQs<br />
* c5f2cbb : PM: Wait for completion of the parent resume before resuming<br />
* 9f6ace8 : PM: Introduce library for device-specific OPPs (v7)<br />
* ac959f3 : PM: Prototype the pm_generic_ operations<br />
* 31b5c99 : PM: Remove redundant checks from core device resume routines<br />
* e7f7366 : PM: Use a different list of devices for each stage of device suspend<br />
* 14a931d : PM: Use proper ccflag flag in kernel/power/Makefile<br />
* dd36b42 : PM: Lock PM device list mutex in show_dev_hash()<br />
* abc8f02 : PM: Fix signed/unsigned warning in dpm_show_time()<br />
* 5c29b42 : PM / Suspend: Fix ordering of calls in suspend error paths<br />
* e04c902 : PM / Hibernate: Make default image size depend on total RAM size<br />
* e0a2974 : PM / Hibernate: Improve comments in hibernate_preallocate_memory()<br />
* d2dc39e : PM / Hibernate: Return error code when alloc_image_page() fails<br />
* cda6734 : PM / Runtime: Fix pm_runtime_suspended()<br />
* b4de71f : PM / Hibernate: Fix PM_POST_* notification with user-space suspend<br />
* 02f03c7 : PM / Suspend: Fix bug in suspend statistics update<br />
* 4068f99 : PM / Sleep: Remove pm_runtime_suspended() from __pm_generic_call()<br />
<br />
***** v0.5 *****<br />
Removed three 2D/3D scaling steps<br />
Raised 3D GPU OC to 320Mhz (was 300 before, stock 266.67Mhz)<br />
Fixed screen/sleep of death<br />
Fixed a coding derp<br />
<br />
***** v0.4 *****<br />
ksm update from bricked-pyra source<br />
Lowered min voltage once again (now: 700mV)<br />
Updated KGSL driver with bricked-pyramid:<br />
msm: kgsl: 8Stages 3D scaling, highest @ 300Mhz (fraction 33)<br />
msm: kgsl: 6stages 2D scaling, highest @ 266,7Mhz, 33,35% Overclocked (fraction 100)<br />
msm: kgsl: GPU off while screen off!<br />
msm: kgsl: improved KGSL suspend<br />
msm: kgsl: Use the correct virtual address for pmem regions<br />
msm: kgsl: Delay 30ms to make sure GPU is ready during resume time<br />
msm: kgsl: Update pwrlevel_change<br />
msm: kgsl: Add sysfs attribute to turn GPU DCVS off/on<br />
msm: kgsl: Early Suspend drivers<br />
msm: kgsl: Turbo Mode<br />
msm: kgsl: Do not check for idle while suspended<br />
msm: kgsl: Make kgsl_idle_check check if a nap is allowed<br />
msm: kgsl: fix parameter checking in adreno_ringbuffer_issueibcmds<br />
msm: kgsl: Abort kgsl_pwrctrl_wake() when in KGSL_STATE_INIT<br />
msm: kgsl: create singlethread wq instead of per-cpu wq<br />
msm: kgsl: Fixing earlysuspend/lateresume for multiple devices.<br />
msm: kgsl: run kgsl_idle_check after resuming a device<br />
msm: kgsl: fix coding derp for init pwrctrl<br />
<br />
***** v0.35 *****<br />
init.rc: New /data dalvik cache<br />
init.rc: Fix permissions for new dalvik cache<br />
KSM updates.<br />
Works with CM9 Alpha 0.6<br />
<br />
***** v0.34 *****<br />
init.rc: Fix init.d script execution @ boot-time by Turl<br />
acpu: Change min/max limits to provide a wider scale range for the enduser<br />
- Increased default voltage @ 1914Mhz (+25mV)<br />
- You can now undervolt until 750mV and overvolt up until 1,425V.<br />
- Do not cook eggs. Please.<br />
msm8960: qdsp6v2: include the HW audio decoder and encoder<br />
msm: audio: qdsp6v2: Acquire wakelocks during record.<br />
msm: 8660: audio: Fix check for out of bound exception<br />
Kernel Samepage Merging (KSM) for ROMs with support for it<br />
<br />
***** v0.31 *****<br />
Fixed KGSL page faults (Titanium Backup, etc...)<br />
Thanks to dalingrin for finding the missing commit from CAF!<br />
<br />
***** v0.3 *****<br />
Too much to list here.<br />
Changelog: [URL=http://pastebin.com/raw.php]http://pastebin.com/raw.php[/URL]?i=cPS5d3p4<br />
Change statistics: [URL=http://pastebin.com/raw.php]http://pastebin.com/raw.php[/URL]?i=DQsfsSwd<br />
<br />
Summary:<br />
Improves UI reaction.<br />
Improves overall performance.<br />
Fixed a few bugs.<br />
Decreased kernel file-size, we only got 30megs on /boot =/<br />
Optimization Level 3<br />
Addressed total stop of playback when device is going to sleep.<br />
Increased CRC performance, this should speed up everything.<br />
Decreased boot-time.<br />
Increased read/write on disk.<br />
<br />
***** v0.21 *****<br />
* Bluetooth fixed<br />
<br />
***** v0.2 *****<br />
ar6000:<br />
* switched to an older android driver version<br />
This is a test for the Wifi issues<br />
<br />
Kernel:<br />
* Updated Kernel base to 2.6.35.14, no more palm <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/android/tongue3.png' class='bbc_emoticon' alt=':P' /><br />
* Tweaked ondemand settings to react better while letting cpu1 jump in later<br />
* added Snapdragon compiler optimization<br />
* added Global CPU Voltage table used for adjusting voltage table (by snq-)<br />
...- Using System Tuner (or any other compatible app) you can now change the<br />
.....Voltage @ each frequency.<br />
* Let MMFPB drop to 27MHz when processor power-collapsed (by Matt Wagantall)<br />
* cpufreq: adding mfreq override sysfs value<br />
...- Using this will override any governor to the max frequency currently set<br />
* cpufreq: exposing scaling_available_frequencies to sysfs<br />
<br />
***** v0.1 *****<br />
This is a very early build.<br />
<br />
* 2.6.35.palm<br />
* based on the outstanding work of dalingrin and the cm-team<br />
* CIFS<br />
* UTF8 encoding (included for CIFS)<br />
* Overclocking to 1566Mhz default (max. 1914Mhz)<br />
* Min Clock @ 192Mhz default<br />
* basic NTFS support<br />
* Userspace driven configuration filesystem<br />
* ~8% Undervolted till 1566Mhz<br />
* L2 Performance Push @ 1566Mhz (Original by faux123)<br />
* Overclock till 1914Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!<br />
--(I do not want to increase Voltage any further, this will increase the risk of burning your cpu. So if it is unstable, choose a lower clock!)<br />
* cleaned code, improved performance<br />
 

·
Android Apprentice
Joined
·
55 Posts
ok... I don't know if this is chance or effect of the kernel - just installed v0.21 - now I don't have the noise/distortion bug (on screen off while listening to music). I mean it is still there at high volume - but if I reduce the volume to about 50% or lesser, there is no distortion - actually makes my tp useful now to listen to music without charging it continuously. Thank you for that
 

·
Premium Member
Joined
·
212 Posts
ok.. after install - this kernel needs the systemui fix - not baked in -in v0.21
Ofc you will need the Systemui.apk fix Oo
What does that file have to do with the kernel?
However the chargefix that is part of the Chargefix+Systemuifix update zip from CM is included here, since it is kernel side. The Systemui fix is rom side.
 

·
Android Beginner
Joined
·
64 Posts
I did some benchmarking, and the performance is better...... when using interactive.
Dal's new interactive Gov is perfroming better than the ondemand.

PLease keep up the good work though - i am loving the tweaks so far!
 

·
Premium Member
Joined
·
212 Posts
Discussion Starter · #11 ·
I did some benchmarking, and the performance is better...... when using interactive.
Dal's new interactive Gov is perfroming better than the ondemand.

PLease keep up the good work though - i am loving the tweaks so far!
There are a few tweaks left for ondemand which should give it the advantage again.
Glad you like it
 

·
Registered
Joined
·
271 Posts
Just a few questions, new to kernel thing. I am still using a Droid X for my phone&#8230;


You mentioned ADB and deleting the kernel if you get an error. Does that mean running ADB while the tablet is booted on CWM, then installing the kernel through CWM? Does CWM still work without a kernel installed?
If I do delete the CM kernel, I can restore it by reinstalling the CM installer.zip right?

Thanks!
 

·
Premium Member
Joined
·
212 Posts
Just a few questions, new to kernel thing. I am still using a Droid X for my phone&#8230;


You mentioned ADB and deleting the kernel if you get an error. Does that mean running ADB while the tablet is booted on CWM, then installing the kernel through CWM? Does CWM still work without a kernel installed?
If I do delete the CM kernel, I can restore it by reinstalling the CM installer.zip right?

Thanks!
Yes.
Yes.
Yes.
 

·
Registered
Joined
·
271 Posts
Yes.
Yes.
Yes.
I'm such a genius


But how can CWM work without a kernel? I always assumed a kernel was necessary to run anything on a device.
Is it even possible to brick a device then? Everyone warns me but I don't even know if I could do so intentionally
Never could brick my DX

Oh and last one! If my touchpad is bootlooping, stuck somewhere, etc. will holding home+power still reboot my device? Miss those removable batteries
 

·
Android Beginner
Joined
·
18 Posts
I'm such a genius

But how can CWM work without a kernel? I always assumed a kernel was necessary to run anything on a device.
Is it even possible to brick a device then? Everyone warns me but I don't even know if I could do so intentionally Never could brick my DX

Oh and last one! If my touchpad is bootlooping, stuck somewhere, etc. will holding home+power still reboot my device? Miss those removable batteries
CM & CWM each have their own kernel.

Sent from my PC36100 using Tapatalk
 

·
Registered
Joined
·
271 Posts
I am installing this for the first time, I get the invalid kernel thing, so I reboot into clockwork mod and run "adb shell rm /boot/uImage.Cyanogenmod" from terminal, however it gives me an error saying "can't remove '/boot/uImage.Cyanogenmod': No such file or directory". Tried to reinstall and reboot and it still doesn't boot. Did I miss something?
 

·
Premium Member
Joined
·
212 Posts
Discussion Starter · #20 ·
I am installing this for the first time, I get the invalid kernel thing, so I reboot into clockwork mod and run "adb shell rm /boot/uImage.Cyanogenmod" from terminal, however it gives me an error saying "can't remove '/boot/uImage.Cyanogenmod': No such file or directory". Tried to reinstall and reboot and it still doesn't boot. Did I miss something?
In recovery you have to mount /boot first. (see->"Mounts & storage")
 
1 - 20 of 341 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top