[KERNEL][JUN.24]Bricked-3.0-AOSP|3.0.36|v1.31|cmdline|Sweep2Wake|mpdecision|ba dass

show-p1984

Inactive Recognized Developer
Jul 30, 2011
3,701
11,814
0



AOSP Bricked-Kernel-3.0 Sensation (pyramid)

The first kernel with kernel mpdecision & 3-phase kernel thermal control
no need for those binaries anymore :p


Highlights:

Default clocks: 1566Mhz max / 192Mhz min
OverClockable till 1944Mhz !NOT ALL DEVICES CAN HANDLE THIS!
3D GPU Overclock @ 320Mhz (if selected during install)
2D GPU Overclock @ 266.667Mhz (if selected during install)
5 Stages 3D GPU scaling, variable io_fraction
3 Stages 2D GPU scaling, io_fraction 100
Increased bus bandwidth
L2 Performance Boost
cmdline options!
maximum screen off frequency
(configurable through cmdline options)
Sweep2Wake! (if selected during install)
>badass governor<
3-phase kernel cpu thermal control
>100% kernel based mpdecision<
The first kernel with interactive install using Aroma Installer by amarullz!
and more customizations than you can dream of on any other kernel!


Features:

Code:
* 3.0.36
* based on HTCs-3.0.16-Sources
* Command Line Options - innovative!
__ Rename the zip to change your settings!
* Sweep2Wake
* badass governor
* phase kernel cpu thermal control
* 100% kernel based mpdecision
* KSM support
* Optimized
* Built with highest Optimization Level (O3)
* Strongly improved UI-performance
* KGSL Early Suspend GPU slumber
* Increased 3D/2D-Performance (GPUOC)
* CAF Bluetooth stack (newer) - faux123
* CIFS
* UTF8 encoding (included for CIFS)
* wifi pm=fast
* Tweaked ondemand governor
* Undervoltage
* Overclocking to 1566Mhz default
* Min Clock @ 192Mhz default
* Boot time optimization. CPU will have 1566Mhz clocks during boot to ensure a fast bootup
* Flashlight and Camera-Flash will now be useable until battery reaches 5%
* Tree-based preemptible RCU
* Fast scheduler for CPU hotplug
* optimized preemptive settings
* basic NTFS support
* Userspace driven configuration filesystem
* Allow CPU-supported unaligned accesses
* Global CPU Voltage table used for adjusting voltage table for SnapDragon Dual Core. Inspired by Snq- modified by faux123 for SnapDragon fixed by show-p1984
* Improved Mobile Connection (fixed possible freezes introduced by HTC)
* ~8% Undervolted till 1566Mhz
* L2 Performance Push
* 3D GPU Overclock @ 320Mhz
* 2D GPU Overclock @ 266.667Mhz
* 6 Stages 3D GPU scaling, variable io_fraction
* 3 Stages 2D GPU scaling, io_fraction 100
* Tweaked ondemand to raise frequencies with higher load only (should contribute to battery life)
* Increased writing performance (lowers that annoying lag when updating 2 apps at the same time)
* Git's Sha1 implementation significantly decreases boot time
* CRC-optimizations
* ZRAM
* Fudgeswap 
* [URL="http://dl.dropbox.com/u/44206202/CallRecorder_v.1.0.20_alpha_2.apk"]Two-Way-Call-Recording[/URL]
* basic NTFS support
* increased bus frequency
* Improved WIFI - WLAN detection
* Automatic process group scheduling
* Lowered wifi-voltage
* cleaned code, improved performance
* Dropped debug code, was slowing things down

Changelog @ bricked.dehttp://bricked.de/compat.php?action=changelogs&device=pyramid&type=aosp

What is sweep2wake?


How to change your frequency/governor before flashing?


!!!! READ THIS :) !!!!

That's new. Sounds strange, but it works. I am proud to present a truly innovative concept:
cmdline_khz / cmdline_gov / cmdline_maxscroff
What does this do for you?

Have you ever wished you could set the default min/max/gov/scroff frequency on your own?
Without having to rely on the dev to recompile?
Or doing it yourself?
Or even bothering to learn how to do that?
Or using OC apps that are just in the way?

(governor set able in setup from version 1.0)

Well, your prayers have been heard!

It simplifies any kernel install to the bare minimum. You download the zip, and just change the values to your liking. The kernel will obey you, it's magic!
you will download this file for example:
Bricked-3.0-v0.61-ics-maxkhz=1566000-minkhz=192000-maxscroff=432000.zip
now it is possible that you don't want to oc to 1566Mhz, or your preferred min freq is higher, or or or...
Just rename the file!
Bricked-3.0-v0.61-ics-maxkhz=1188000-minkhz=384000-maxscroff=540000.zip
The kernel will now boot from second 0 with this settings:
Max freq: 1188Mhz
Min freq: 384Mhz
maxscroff: 540Mhz
Cool, isn't it?

Now one could say, hell that's too dangerous, what if I write something wrong in there? No problem, your show-p1984 thought of everything. I have built in that much security measures that it is not even remotely imaginable that something could go wrong. I am serious. Whoever manages to break it gets a golden pile of **** from me.
Now what does it "autocorrect" exactly?
It corrects mhz instead of khz values for you, so you can actually flash this:
Code:
Bricked-3.0-v0.61-ics-maxkhz=1188-minkhz=384-maxscroff=540.zip
and it will still work.
Or it corrects wrong acpu frequencies. You can find a table @ the second post, but if you mistype sth, no fear, it will still work!
Code:
Bricked-3.0-v0.61-ics-maxkhz=1190-minkhz=390-maxscroff=545.zip
for example will let the kernel boot with 1188Mhz max and 384Mhz min (maximum screen off frequency 540Mhz). It always falls back to the next lower step. Actually you won't need to bother for the acpu table anymore, just type anything in there, it will automatically correct it for you! If you still want to enter the correct values, just look in the second post ;)
Now what if you write a letter in there? Like this:
Code:
Bricked-3.0-v0.61-ics-maxkhz=II88000-minkhz=38A000-maxscroff=5A0O00.zip
Well, the kernel will detect that and fall back to default settings read out of my .config. Which means the kernel will boot @ 1566Mhz max and 192Mhz min and maxscroff will be set to 1566Mhz (=disabled).

What to do if you just want to change your clocks?
Rename the zip file, boot into recovery, flash, and enjoy ;)
There is also a sysfs interface for the maxscroff frequency, for simplicity I kept the common name for it.
/sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

Currently there is only one limitation:
You can't have two files with the same base on your scard. that means:
Code:
Bricked-3.0-v0.61-ics-maxkhz=1566000-minkhz=192000-maxscroff=432000.zip
Bricked-3.0-v0.61-ics-maxkhz=1188000-minkhz=384000-maxscroff=540000.zip
are not allowed to be on the sdcard at the same time, the kernel would boot with defaults: 1566/192 if you flash either one of those files.
The "base" of the filename is this: Bricked-3.0-v0.61-ics-
So you can have 2 files (or more) on the sdcard with names like this:
Bricked-3.0-v0.55-b4-ics-****
Bricked-3.0-v0.7-ics-****
Bricked-3.0-v0.8-ics-****
(****=etc etc etc etc)
Furthermore it must be followed by maxkhz=VALUE-minkhz=VALUE-maxscroff=VALUE.zip It is not possible to switch the positions of the options. But you can leave them out of there completely, the kernel will then boot with 1566/192/1566.


Ah btw: We now see our set max mhz under Settings->About Phone->HW->Cpu ;) (it actually changes when you change your maxkhz)

And since 0.6 comes with the awesome Aroma installer you can now choose from 3 gpuoc versions!
GPU OC disabled, [email protected] & [email protected]
GPU low overclock, [email protected] & [email protected]
GPU high overclock, [email protected] & [email protected] + Bandwidth push


The source for this is split into two parts, Kernel & bash script. The script finds the zip on your sdcard, parses the filename and modifies the kernels cmdline inside the boot.img. The Kernel is parsing the cmdline, checking if everything is valid and setting your options.

How to install?

Just flash from recovery. Because it creates a boot.img out of the one on your phone while flashing, it should work with the majority of ROMs out there.
Interactive install, enjoy the ride! ;)

Where to complain about errors/bugs?

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

[email protected]
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!)

>>> DOWNLOAD <<<


Old Downloads (gcode): Click Me



Use System Tuner to undervolt!
Setting min/max frequencies should be done over the zips name instead.




Source:




Some more information @ http://forum.xda-developers.com/showpost.php?p=17430308&postcount=2
 
Last edited:

Catpoule

Senior Member
Aug 19, 2011
1,555
551
143
Saint Claude
Show, i don't really know about all :( and i think i mght be a "noob" user compared to you or lot of members here but well i'm not blonde ;)
Could you please explain the difference beetween CM7 kernel and the V0.86 ? i don't get what CM7 is and if it's better than the V 0.86 v on our other post ? ;)
 
  • Like
Reactions: medion.

M3nti0n

Inactive Recognized Developer
Feb 27, 2010
306
329
0
Zoetermeer
www.otaupdatecenter.pro
Show, i don't really know about all :( and i think i mght be a "noob" user compared to you or lot of members here but well i'm not blonde ;)
Could you please explain the difference beetween CM7 kernel and the V0.86 ? i don't get what CM7 is and if it's better than the V 0.86 v on our other post ? ;)
CM7 is CayanogenMod 7 = AOSP kind of Android.
You can download it here: Sensation CM7 SelfKang Alphafied
 

cmart4

Senior Member
Nov 21, 2007
1,982
417
0
Prosper, TX
man, sounds awesome! i'll give it a go... thanks


edit:

very very nice! super smooth man... great job!

edit 2:

BT no workie for me at least, can't even get it to turn on.
 
Last edited:

neuralboy

Member
Jan 13, 2011
37
10
0
Los Angeles
May be alpha but it flies - no glitches so far.

Thanks, WORKS AWESOME!
Good job!
+1 to that.

I've done the run of the ROMS last 6 weeks and it's been fun so I decided to try CM7 again (MyTouch4G) and boy am I reminded of what smooth and simple feels like!

and that was before flashing shows kernel.

Now? Wow! :)

Yup it flies! and the scores below were taken without using a daemon or app to overclock - only the Alpha V0.1 kernel doing its thing.
 

Attachments

skyhigh2004

Senior Member
Oct 10, 2010
1,116
65
0
Saint Cloud MN
Nice work. One thing I notice right off the bat is BT is totally killed with this kernel.

Sent from my Sensation using XDA App
Can you pair with bt and there is just no audio or can you not pair and its completely non functional? The only reason I ask is my bt has always worked with cm7 even though there are reports it doesn't. I guess I have a lucky bt headset.

Sent from my Sensation 4G
 

Lakeshow423

Senior Member
Nov 14, 2010
2,383
275
0
SoCal
You are the man show! If this is anything like your sense kernels we are all in for a treat. You def. are great adittion to our Sensation Community! Thank you again, bro!
 

farfromovin

Senior Member
Aug 15, 2011
2,105
459
0
Oxnard, CA
Nice work. Ever since I've started running OC'd kernels I just can't stand going back to normal.Even just at your default speeds the whole UI experience just feels snappier. Thanks!

--edit-- I can verify that bt will not power up anymore. With the oe kernel it used to start (hands free calling didn't work with my car), but it started lol. Now I got zip...
 
Last edited: