[Kernel] Bricked-Kernel Ville - Sense JB - HTC One S

Welcome to the most customizable 1S on xda
Bricked-Kernel 1S (ville)​
Features:
* Based upon HTCs source
* Various other fixes (look @ github)
* Compiled with linaro toolchain
* -O3 optimized
* Snapdragon S4 & CortexA15 optimizations
* Sweep2wake
* 192Mhz min clock
* replaced qcoms hotplug binary with msm_mpdecision (IN-KERNEL, better battery life + performance)
* Extensive sysfs interface for mpdecision with all the tuneables you want (/sys/kernel/msm_mpdecision/)
* replaced the thermald binary with my IN-KERNEL solution. (/sys/kernel/msm_thermal/)
* export krait version to: /sys/kernel/debug/krait_variant
* modified ondemand governor
* Allow OC up to 1,836 Ghz
* Undervolting (faux123)
* Default clocks: 384min & 1512max
Zip features:
* Aroma Installer by amarullz (yes I know, it has a blue tint. I don't care, there are more important things )
* removes governor overrides from the ramdisk
* adds init.d support to your ramdisk (if not already supported)
Check the compare links for the rest ​
Where is tha Changelog???
There will be no more changelogs.
Instead the download pages were outfitted with compare links to github for each download.​
What is sweep2wake?
How to install?
Flash through recovery. #done.​
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 <<<​
Donor List:​
> Hall of fame <
Thank you very much!​
Source:
​

What is msm_thermal?
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bck.
It will throttle your cpu speed to keep it cool and unleash it if the cpu has cooled down enough. (3 phases: low, mid and high)
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
Default: 100ms (=0.1sec)
shutdown_temp = if we reach this shut down the device!
Default: 80°C
If you want to see msm_thermal doing it's job:
Code:
adb shell
cat /proc/kmsg | grep 'thermal'
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_bck.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (70)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 2. (if you set it to 1 and min_cpus to 1 you will basically have a singlecore) Default: 2
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)
Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.
nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)
Example:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.
Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value (The 1S doesn't have a cpu2, so that is irrelevant)
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...
Where the position and function of the number equals the result of the above explained formula.
(all times are in ms)
If you want to see the mpdecision magic happening:
Code:
adb shell
cat /proc/kmsg | grep 'MPDEC'
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value (look below) on every online cpu. This boosts overall reaction times and smoothness a lot.
Configuration files:
[email protected]:/sys/kernel/msm_mpdecision/conf # ls
boost_enabled
boost_freqs
boost_time
All of them work like the usual sysfs files, except one special case:
boost_freqs will list all frequencies from cpu 0 to cpu x. Cpu 3 and any following cpu will share one frequency.
To change those frequencies echo the cpu number + the frequency in khz. To change the boost freq of cpu3 (and 4,5,6,7,8, etc) the echo would look as follows:
Code:
echo "3 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
for cpu0:
Code:
echo "0 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
Defaults:
Code:
cat /sys/kernel/msm_mpdecision/conf/boost_freqs
918000
918000
702000
594000
How does sweep2wake work? Does it keep my phone awake?
Short answer: No.
Long answer:
Sweep2wake works with IRQs (Interrupts).
An interrupt can be best imagined as you doing something, like shopping at the local super market, when someone jumps in front of you and punches you into your family jewels. You will most certainly not just continue shopping.
In technical terms: An Interrupt interrupts the normal operation of a program and executes "special" code instead.
So if you touch your screen, an interrupt is send on which the touch driver reacts. That's it.
Since we have a capacitive touchscreen you also do not need to worry about any pressure onto the screen.
If you want to disable sweep2wake execute this command on your phone (adb shell or directly), you can also add it to an init.d script.
Code:
echo "0" > /sys/android_key/sweep2wake
(echoing "1" activates it, which is the default setting if chosen in aroma)​Recommended governor?
Ondemand.​

Bryans old stuff (ics):
Beastmode Bricked Ville Edition RC5
With 100% real working S2W on the soft keys now with speed improvements thanks again Show!
Mpdecision is now enabled by default and the vsync will need to be toggled manually if you would like it off
http://www.androidfilehost.com/?fid=9390214368362234218
Beastmode Bricked Ville Edition RC5.1
http://www.androidfilehost.com/?fid=9390214368362234425
the above is modded with my stuff mentioned in the changelog
if you want plain jane with just s2w showp's is compiled with linaro 4.7.3 and -O3 as well
and just has s2w currently
show-p1984 said:
Not any more:
https://github.com/showp1984/bricked_ville/commit/737727eb7660cb3bbc0eda93d48a2a8204ff4349
New zImage @ https://github.com/showp1984/bricked_ville/downloads
This will probably be the final version
Bryan likes it.
Click to expand...
Click to collapse

Awesome news.. As of late, the One S is getting good traction.

Nice to see new kernel, great feature list. Looking forward to sweep2wake. Any plans on AOSP jb kernel?
Sent from my HTC One S using xda premium

Zarboz said:
Ville-Z Kernel. BLACKOUT Edition ​
I am here to present the Ville-Z modded kernel source from HTC. I used KLIN1344's base commit (that means before he touched it) With his permission this way it is compatible with your sense 4.1 based roms.
You can find the source here http://github.com/zarboz/Ville-Z.git . If you fix something or feel you improve on my hack please make a pull request.
Here are a few features of the kernel.
​
New I/O schedulers : CFQ, NOOP, Deadline, SIO, VR
New Governors: BrazillianWax, Intellidemand, SavagedZen, InteractiveX, Smartass, SmartassV2, Lagfree, Interactive, Conservative, Userspace, Powersave, Lionheart, Ondemand, Performance,
GPU Overclock 400mhz/500mhz (selectable in installer)
Selectable min freq in installer
Multiple tweaks and modifications to the multitasking and file structuring
Selectable Max Clock: 1.5ghz. 1.7ghz, 1.89ghz, 2.1ghz (it gets kinda warm and high voltages)
Adjustable undervolt in system 800mah-1350mah
S-On Kernel installer THANKS HausX!
KNOWN ISSUES
Using system tuner causes kernel panic please use SetCPU its free on xda
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here are a few teaser shots
​
Special Thanks to: HausX, ToastCFH, Klin1344, Sbryan12144, Ca1ne, TwistedUmbrella, Mdeejay, Thicklizard, Haykuro
Click to expand...
Click to collapse
Nice work. Good to see more devs here now.
Also, I think maybe we could work on getting a cm/aosp version of this kernel? I compiled a kernel using the 2.31 base a while ago with the cm ramdisk and it booted up fine, only WiFi was broken. The cm kernel still uses the 1.84 base old kernel sources.
Sent from my HTC One S using Tapatalk 2

encho said:
Nice to see new kernel, great feature list. Looking forward to sweep2wake. Any plans on AOSP jb kernel?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
That's next after i get sweep2wake mapped out properly
its about 50-60% implimented. I need to figure out the LED control for our new PM8XXX LED and figure out the screen mapping coordinates so that the "sweep" is read from the right spot and also have one more file to implement in the cypress touchscreen driver as well
that's all in the works
the AOSP kernel is coming in the next week or 2 will have the same feature list and should work on ICS and JB AOSP roms
klin1344 said:
Nice work. Good to see more devs here now.
Also, I think maybe we could work on getting a cm/aosp version of this kernel? I compiled a kernel using the 2.31 base a while ago with the cm ramdisk and it booted up fine, only WiFi was broken. The cm kernel still uses the 1.84 base old kernel sources.
Sent from my HTC One S using Tapatalk 2
Click to expand...
Click to collapse
I will look into their source and put my mods in i see from the LTE forums the KGSL driver folder has been updated so I think it shall work just fine
I wanted to get Sweep2Wake working before then but the individual helping me lives in sweden so it's hard to talk to the guy at a decent hour here in colorado
I would say one to two weeks

Really nice to see someone new on these forums
I really hope you stay here and keep working on your Kernel.

How to install this kernel? Over fastboot or with TWRP + dumlock?

Zarboz said:
SOON!!![/COLOR]
Sweep2wake
you tell me
[/size]
[/b]​
Click to expand...
Click to collapse
Because you're taking requests, here's mine : I hope you can fix soft buttons not to register swipe when moving finger from the screen. IMO soft buttons are too close to the screen and in some apps like games and file managers when you scroll all the way down you can press home or back button by accident which will kick you out of the app. Very annoying. Soft buttons should register the touch only if your finger was not on the screen previously.
Sent from my HTC One S using xda premium​

I was just about to install this and I noticed that it says it is for HTC Evo LTE in the aroma installer!
Is this right?? Or, did I download the wrong file?
Also, the on-screen softbuttons do not register touches.
Thanks!

saprydion said:
I was just about to install this and I noticed that it says it is for HTC Evo LTE in the aroma installer!
Is this right?? Or, did I download the wrong file?
Also, the on-screen softbuttons do not register touches.
Thanks!
Click to expand...
Click to collapse
He probably used a Package for an older Project.
Till OP fix this, just use the Volume+/- to navigate thru the Menu

I've jus flash this kernel over fusión rom and stay in 192 and don't switch to 384 like fusión. Drains less battery too.
My request is add 720p to hdmi playback
Enviado desde mi HTC One S usando Tapatalk 2

How to install this kernel?

I could not flash the kernel using the aroma zip installer.
I think xhausx exploit do not work!

Just a suggestion. Wouldn't it be better if you labeled it for Android 4.0.4 instead of Sense 4.1? I, for one, got confused at first and thought you were talking about Jelly Bean (4.1) and hence I edited my first post here.

a description about flashing this kernel with a locked hboot (>xxx.12) would be nice. Should this work with Android 4.0.3?

how to flash this kernel??

The 2 cores works all the time with this kernel, why?

Guys...to flash a kernel flash the zip in TWRP then fastboot it.
Sent from my HTC One S running ViperOneS!

Related

[KERNEL][AOSP][2.6.35.10] ZenDroid 1.1.0 - 12/30 (BFS/CFS/HAVS/SBC) - New Splash1!

COOL SPLASH1 IMAGE IN 2nd POST
Use at your own risk, overclock at your own risk - I'm not responsible for damage to your device
ZenDroid Kernel for EVO 4g (AOSP ROMS)
Preliminary Thanks
- Thanks to all the makers/maintainers of some code included
- Thanks to toastcfh/cyanogen for the 2.6.35 kernel base
- Thanks to erasmux for smarta$$ governor
- Thanks to Intersectraven for some things plucked out of ir-kernel.git.
- Thanks to ms79723 for the battery tweak
- I give everyone credit, if i forget or insufficient let me know!
What's inside:
- HAVS
- BFS 360
- 2.6.35-ck1
- Smartass cpu frequency governor
- Classic RCU
- Simple I/O scheduler
- SLQB slab allocator
- Tweaks from me and others (misc. tunables, etc.)
- oom rewrite code
- many a more, see the gitweb for complete logs:
http://git.zen-kernel.org/zendroid/
HAVS
- As of 1.0.0 there are builds with avs and with svs. AVS (adaptive voltage scaling) works fine on my phone now and scales effectively. SVS scales based on the voltages that are statically implemented into the frequency table.
- If you have an issue with the AVS build, try the SVS build (issue such as random reboots, etc.)
Smartass
- Smartass is the default cpu frequency governor since 1.0.0.
- However ^ it is tuned very aggressively and it will adjust frequencies very quickly. Therefore, it is not the best choice for benchmarks
- The tweaks may cause choppiness (if so test another governor and report it), but so far I haven't noticed anything and it seems pretty smooth - just benchmarks may be a bit lower than expected. (but for real life applications, I'm attempting to retain quickness and get outstanding battery life by making the tweaks and making it default)
1.0.2 -> 1.1.0
- Pulled latest CM tree (includes htc updates and new camera drivers)
- Smartass adjustments
- Updated BFS
- Adjusted havs voltages
- v7_coherent_user_range function from galaxy s source, this should fix woes with psx4droid, gameboid and other emulators
- One tweak to conservative governor
- havs updates
- ADB works perfectly fine now, not sure which build it started working but definitely works in this one. So all the stuff that didnt work in the betas is working in the 1.0 series
1.0.1 -> 1.0.2
- Updated to 2.6.35.10
- Reverted to v4.219.248.6 of the bcm4329 driver. Skipped back 2 versions as the ones after it seem to have issues. (someone also said this one worked on GB, someone will have to confirm)
- LOADS of cpu scheduler changes
- All of CFS LL features
- Zen tunable profiles
- BFS sched_batch/sched_normal switching for non privileged tasks
- Fixed several unlikely()'s in the kernel
- Several misc. things (too much to go into one by one, look on misc. branch)
- SBC v7
1.0.0 -> 1.0.1
- Tweaks to conservative governor
- Set swappiness back to 0
- Fix smartass so it scales below 527 mhz
- Revert the CFS features as they dramatically slow it down, now we have a faster cfs build (vroom)
- Compiler vanillalization optimizations (less optimizations = smaller kernel = happier everyone )
0.91b -> 1.0.0
- Rebased on latest cm-kernel 2.6.35.9
- AVS+BFS, AVS+CFS, SVS+BFS, and SVS+CFS variations
- Updated smartass governor
- Updated to BFS 360
- Newer HAVS
- Set swappiness to 15
- Added SBC (superior battery charging) v5
- Undervolted* Overvolted above 1.03 ghz
- SIO, SLQB, smartass, and classic rcu are defaults in this build
- Many of the bugs should be fixed including 5 point multitouch, possibly the headset woes and white screen stuckness.
- ADB still not working (am slightly clueless as to why, something must fsck it up) - not serious enough for me to postpone release as usb storage works fine still
0.90b -> 0.91b
- Updated to 2.6.35.9
- HAVS and non-HAVS builds
- added writeback code
- updated bfs
- undervolted
- custom cflags option built into the Kconfig (no other cflags were used to build the kernel though)
- built with different build of gcc 4.4
0.5a -> 0.90b
- Rebased the entire kernel to fix minor bugs
- Changed min/max voltages
- No undervolting in this build, will be in next build (i simply forgot to change it)
- Overvolting of the higher frequencies. 1.3 mV above 998 mhz, 1.325 mV for 1.15 and 1.19 ghz
- 1960 Quadrant score on miui 0.11.5 with bfs build at 1.15 ghz scaling performance (results may vary) - Linpack close to 40 (before it was about 30-33)
- Riced CFLAGS entirely eliminated (i have no idea why i implemented them in the first place) I'm not a fan of implementing things like that as there's no way to prove that it improves performance
- Several tweaks to CFS
0.4a -> 0.5a
- No CFS build this time (will be back at 0.6, but this is just a short test release to see if we solve issues)
- More overvolting of higher overclocked frequencies (seeking stability overclocking)
- Removed all forms of undervolting (they may have been too hardcore, and may return just testing to see if they caused reboot problems)
- fixed cpufreq errors with smartass, don't let it try to scale to 128mhz anymore
- Updated to latest cm/supersonic-2.6.35 tree
- Quick test release, want to fix the errors for some - others have no issues
0.3.1a -> 0.4a
- Added V(R) i/o scheduler
- Improved CFS version (faster)
- Added the oom rewrite code
- Used different compiler (quicker)
- Less riced out CFLAGS, perhaps more stability as a result
0.2a -> 0.3.1a
- CFS and BFS build
- Adjusted some memory tunables and BFS tunables
- CFS has a bunch of additional features for low latency (see zen-stable cfs branch for details, i was lazy and had no wifi at the time to merge it :\)
- Fixed wimax module compilation, other fixes
- Updated to 2.6.35.8
- Added and enabled zram (new ramzswap version)
- Overclocking to 1.19 ghz, underclock to 128mhz
- I/O Scheduler default is SIO for now
- Fixed BT
Code:
[b]All zips flashable through recovery[/b]
[b]1.1.0 AVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.1.0-BFS-avs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.1.0-CFS-avs-signed.zip[/url]
[b]1.1.0 SVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.1.0-BFS-svs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.1.0-CFS-svs-signed.zip[/url]
[b]1.0.2 AVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.2-BFS-avs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.2-CFS-avs-signed.zip[/url]
[b]1.0.2 SVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.2-BFS-svs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.2-CFS-svs-signed.zip[/url]
[b]1.0.1 AVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.1-BFS-avs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.1-CFS-avs-signed.zip[/url]
[b]1.0.1 SVS[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.1-BFS-svs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.1-CFS-svs-signed.zip[/url]
[b]1.0.0 AVS[/b]
[b]BFS[/b]: [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.0-BFS-avs-signed.zip[/url]
[b]CFS[/b]: [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.0-CFS-avs-signed.zip[/url]
[b]1.0.0 SVS[/b]
[b]BFS[/b]: [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.0-BFS-svs-signed.zip[/url]
[b]CFS[/b]: [url]http://downloads.zen-kernel.org/zendroid/ZenDroid-1.0.0-CFS-svs-signed.zip[/url]
[b]0.91 non-HAVS[/b]
[b]BFS[/b]: [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.91-beta-bfs-signed.zip[/url]
[b]CFS[/b]: CANCELLED
[b]0.91 HAVS[/b]
CANCELLED
[b]0.90[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.90-beta-bfs-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.90-beta-cfs-signed.zip[/url]
[b]0.5 (BFS only)[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.5-bfs-alpha-signed.zip[/url]
[b]0.4[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.4-bfs_alpha-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.4-cfs_alpha-signed.zip[/url]
[b]0.3.1[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.3.1-bfs-alpha-signed.zip[/url]
[b]CFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.3.1-cfs-alpha-signed.zip[/url]
[b]0.3[/b]
[b]BFS:[/b] [url]http://downloads.zen-kernel.org/zendroid/zendroid-0.3-bfs_alpha-signed.zip[/url]
[b]CFS:[/b] coming soon
[b]0.2_alpha (first release[/b]
[url]http://downloads.zen-kernel.org/zendroid/zendroid-0.2_alpha-signed.zip[/url]
SMARTASS GOVERNOR NOTE
- With the smartass governor your device should sleep at around ~384 mhz and wake at ~245 mhz (this is simply what I set it to do in my builds and smartass has this functionality built-in)
- Setcpu profiles are largely unnecessary if you are using smartass, especially one for screen off
GRAPHICS
Custom ZenDroid Splash1 Image
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Flash by putting the phone in fastboot mode (need eng bootloader) -> do this by holding vol down to turn the phone on and selecting fastboot
Code:
tools/fastboot flash splash1 /path/to/splash1.nb
Code:
[b]ZEN Splash[/b][url]http://downloads.zen-kernel.org/zendroid/zendroid_splash1.zip[/url]
Patiently waiting for the awesomeness
ok this is kind of exciting. i'd be happy to check this out. let me know if u need any testers
Sexy time. Looking forward to it, even though my phone has traditionally favored CFS kernels.
Phone takes a long time waking up when hitting the power button on "Smartass".
going to nandroid & then test this badboy out. will post results soon.
i have not noticed a slower wake up time like previously mentioned, however:
highest quadrant scores with overclock 1113mhz
smartass - 1509 (most tests were around 1300)
interactive - 586 (lol)
conservative - 530 (yikes)
i realize this is in alpha stage, just trying to help by posting results. the device doesnt seem slow, launcher pro scrolls thru app drawer without a hitch, & things seem to be responding ok.
really looking forward to following the progression of this kernel. thanks so much for posting it up!
krazyflipj said:
Phone takes a long time waking up when hitting the power button on "Smartass".
Click to expand...
Click to collapse
Same here. Everything else is going well so far.
EDIT: Actually, I just have to hold my power button down longer than normal, but once it's up it's normal speed.
EDIT2: After a reboot no delay on turning on!
i need to test it ASAP since the once from toastch is providing an amazin battery life
I wonder if the mentioned tweaks to this kernel actually make it better than toastcfh's 2.6.35 test kernel.... has anyone tried both? And maybe noticed a difference in performance?
This kernel is really smooth and pretty snappy. Testing batt life but nice job so far man!!
Sent from my PC36100 using XDA App
xhazyx said:
I wonder if the mentioned tweaks to this kernel actually make it better than toastcfh's 2.6.35 test kernel.... has anyone tried both? And maybe noticed a difference in performance?
Click to expand...
Click to collapse
yes i'm running toasts test1. i've tried both of them. i cannot comment on longterm usage for this one. right now i'm very interested to see how this one is going to progress.
Flashed this and am enjoying it so far. Is 100% stable for me, along with being smooth, and fast.
Liking this kernel so far. No problems. After flashing apps2sd recognized my Ext partition.
Sent from my PC36100 using XDA App
drdrewdown said:
yes i'm running toasts test1. i've tried both of them. i cannot comment on longterm usage for this one. right now i'm very interested to see how this one is going to progress.
Click to expand...
Click to collapse
im was using the toast test1, i dont know about you but at least for me is amazing because got that we need performance and battery life, the only problem that i found is that after some reboot the phones does not pass to boot animation just stuck at splash screen
drdrewdown said:
yes i'm running toasts test1. i've tried both of them. i cannot comment on longterm usage for this one. right now i'm very interested to see how this one is going to progress.
Click to expand...
Click to collapse
So far these .35 kernels look promising...
I'm running test1 and, as far as real life performance goes, it's pretty great: smooth and snappy.
Haven't really tested battery life, but seems good so far
I'm gonna test this one out and see how it goes, I wanna see where the devs go with this
Testing this kernel right now.
I just got second reboot after unlock. I am on baked goods beta.
thanks for the input guys, for me it's pretty snappy. My best results are with the performance and tweaked (more aggressive for bfs) ondemand governor
I get quadrant around 1500-1600 with ondemand un-overclocked. It seems more laggy with smartass or interactive (not sure why)
I'm going to work on other things and get a new build out soon, hopefully addressing some issues. I'll probably do a cfs build too for comparison.

[Kernel] [2/3/2012] BD-Ace Kernel [1.1.7] [Inspire-Based]

BD-Ace Kernel​
This kernel is my daily driver on my Inspire. This is also my first development effort on any device/platform. If it doesn't work on my device, you will never see it available here. I plan on having something that works smoothly, but is hopefully universal and appealing to a wide audience
This kernel originated from HTC released GB 2.6.35 source code for the Inspire4G -(Ace). It was initially build for use with ClearDroid Rom, but in the interest of FOSS its now for everyone
From 1.1.4 on you will notice two versions
"Safe" Version is to be used on release builds, the Maximum Overclock is capped at 1.3GHz to stifle hot CPU issues
"I'm a BigBoy, I'll do what I want" Version is exactly like "Safe", EXCEPT max overclock is set to 1.8GHz
Starting with 1.1.7 there will now be 3 versions
Safe (capped at 1.3Ghz O/C), BigBoy (capped at 1.8Ghz O/C), and WCH Rage (2.2Ghz O/C)
Install
Download, flash zip in CWM (Clear Dalvik), wait for first boot (sometimes takes a while), enjoy!!!!
Thanks to:
ClearDroid - Initial Encouragement, ClearDroid Rom
Erasmux - Smartass2 implementation
Koush - AnyKernel
Inspired By:
Those before me who were nice enough to make how-to's or show their work for me to learn from
LeeDroid
LorD ClockaN
Erasmux
RichardTrip
Cyanogen Team
and more
Warranty:
Yeah right. Consider any form of warranty Voided from here on out.
Sourcecode
Changelogs and Downloads
V 1.1.7 - Built 2/3/12 ----Safe ---- BigBoy ---- WCHRage
Iron out bugs
Create WCH Rage -- O/C to 2.2Ghz <Not for normal use , but still neat>
Prox Sensor Permission Fix
Lower wifi connect min to -108
Allow flash to work at lower battery level
"200" Magic lines" linux patch
Add Interactivex Governor
Decrease Idle time before sleep
Decrease Idle time before cpu rampdown
Boost BT Audio Max Output
Remove 2 way Call Record - It burns battery
CIFS Support
v 1.1.6 - Testing, had random reboot issues - Dead, not for release
v 1.1.5 - Built 11/15/11 - "Safe"
v 1.1.5 - Built 11/15/11 - "BigBoy"
Add call Recoring Support - From Here
Make 1.3GHz be the breaking point from "Safe" to "BigBoy"
v 1.1.4 - Built 11/09/11 - "Safe"
v 1.1.4 - "BigBoy"
Remove Conservative and userspace Governors
Add 'CPU VDD levels Sysfs interface'
ARM: 6989/1: perf: do not start the PMU when no events are present
Implement easy ways to cap OC at 1420800KHz while easy to add back
Remove 200000 MHz Freq (never would set)
v 1.1.31 - Built 10/31/11
GPU Tweaks
Allocate More Memory to GPU
Boost Battery Charged Info
Boost Dalavik VM Readahead Memory size to 4096MB Max From 128 MB
Removed latest Undervoltage tweak
v 1.1.3 - Built 10/31/11 -Too Undervolted - Fail
GPU Tweaks
Allocate More Memory to GPU
Boost Audio
Boost Battery Charged Info
Boost Dalavik VM Memmory size to 4096MB Max From 128 MB
Tweaked Undervoltage by -25 more
v 1.1.2 - Built 10/30/11 - included in ClearDroid 1.3.1
Reduced Min Clock Speed to 200Mhz
v1.1.1 - Built 10/16/11 - included in ClearDroid 1.3.0
Overclocked to 1.8GHz and undervolt
CPU Scale up on system input
v1.0.7 - Built 10/16/11
GPU+ Patch
v 1.0.6 -Built 10/15/11
Add SmartassV2
v 1.0.51 - Built 10/13/11
CPU Min Max set to 1036800/245760
Default Govenor set to ‘Interactive’
ext4 file system support - built in
v 1.0.5 - Fail
Overclock
v 1.0.4 - Included in ClearDroid 1.2.4
added Tun Driver - Module
set Conservative Governor as default
added Interactive Governor
v 1.0.3
Change Version Naming
Bumped Up max CPU Frequency - Failed - But still there
v0.0.2
CPU Power Management - powersave, and conservative enabled
v0.0.1 - Released Cleardroid 1.2.3 - Called Version 1.00
Initial Working Build
Only thing changed from HTC stock is perflock removal
Questions
[Q] Is this a sense kernel?
[A] It is my daily driver on my Inspire using Cleardroid (A stock based sense ROM)
[Q] Will this work on XYZ super duper awesome rom?
[A] Maybe, try it and please post if it does or doesn't work
[Q] My battery life isnt as awsome as everyone else makes it out to be
[A] I personally have found that preforming a battery stats wipe in cwm and then a few dead/fully charged cycles seems to help mine out on reporting correctly.
[Q] Why do you really need 2 versions, with just the Overclock changed?
[A] I and some other users have had some random reboot issues while running at higher speeds. So, "Safe" is to help stop that for stable builds. See Here
[Q] But I dont like not having the maximum capability, let me have 1.8GHz
[A] Then download the current BigBoy version an have at it.
[Q] While trying to set my speed above a high 1.4GHz, my phone locks up......WTF
[A] To use 1.4GHz and up: 1st set your govenor to "Performance", the move the slider higher
[Q] What if I dont want call recording
[A] Dont install any app that records calls
What Roms does this kernel work with?
Confirmed to work -
ClearDroid 1.2.4 and above
CoreDroid
Doesn't work -
Any AOSP Based (non-sense)
Has complications with - /
BinDroid - Mic doesnt work on speaker phone
Energy ROM w/Sense 3.5 - Mic doesnt work on speaker phone
GB Sense 3.0i / Stock GB 2.3.5 - Video playback and usb settings
RCMix3D Runny v3.3. - No Sound out
Funzy ROM - No Sound Out
Any ROM based on DHD instead of Inspire. ~ There is just enough of a difference to cause issues
Score! Well done bro! This is my favorite kernel to date. Everything just... Works!
ClearD said:
Score! Well done bro! This is my favorite kernel to date. Everything just... Works!
Click to expand...
Click to collapse
I agree I'm Loving this Big Boy...Nice!
I've been making some Headline Banners to Post to Threads 1st Page, would you like a BD-Ace?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yeah, Ill hit you up on talk
Has anybody from other ROM's tried this? Any feedback is great.
It's Saturday, I'm bored, so I downloaded a new kernel and tried it.
I used this on RCMix3D Runny v3.3. It works fine as far as I can tell, haven't done extensive testing yet because I have to make some dinner. However, the first thing I noticed is that the rear speaker doesn't work. No music, no ringtone, etc. Earpiece works fine.
Other than that, it seems nice and snappy.
Do you know if that is Inspire Based or DHD?
<warning>**** I Void Warranties ****</warning>
bdaman80 said:
Do you know if that is Inspire Based or DHD?
<warning>**** I Void Warranties ****</warning>
Click to expand...
Click to collapse
Don't know. Model is listed as Inspire under settings. How would I find out?
If you wouldn't mind sending me a copy of your /proc/config.gz I'll see if its compatible at all
<warning>**** I Void Warranties ****</warning>
Sorry, I backed up to my previous rom. It seems that the microphone didn't work either. Couldn't use it.
If I have time tomorrow, I'll get the info for you if you still want it.
Ephemeralness said:
Sorry, I backed up to my previous rom. It seems that the microphone didn't work either. Couldn't use it.
If I have time tomorrow, I'll get the info for you if you still want it.
Click to expand...
Click to collapse
Yes that would be great, thank you
Working on Some fresh baked newness.
call recording here we go. Its in testting now
Out of curiosity does this Rom support 3way calling. I tried it the other day and couldn't figure it out.
Sent from my CLEARDROID Inspire thanks to AT&T's string and a cup method.
Should be all good on the kernel side
Make call to first person > tap menu - select add call > pick second number - dial > tap menu - select merge calls > enjoy
http://www.multiupload.com/PUOD4FJ3UC
Sweet. I'm excited about the recording.
Sent from my CLEARDROID Inspire thanks to AT&T's string and a cup method.
See that teaser did ya?
<warning>**** I Void Warranties ****</warning>

[KERNEL] Overclocked kernel v1.5.2

Based on the newest HTC source code.
100% compatible with 3.33.401.6 based ROMs and with ICS with HTC Sense 4.0 based ROMs.
For both HTC Sensation and HTC Sensation XE.
Overclocked CPU, added optimized CPU frequency tables with CPU frequencies up to 1836 MHz (1512 MHz by default) and L2 cache frequencies up to 1566 MHz.
Increased CPU voltage limits (700 mV - 1400 mV).
Added CPU Voltage Table interface that allows voltage adjustment.
Fixed CPUFreq.
Overclocked GPU, increased maximum GPU frequency in 3D mode from 267 MHz to 320 MHz (300 MHz by default), increased bus bandwidth.
Camera flash: low battery limit decreased to 10%.
Added USB OTG.
Enabled USB Host.
Added support for different types of USB peripherals: USB Hub, USB mass storage devices (e. g. USB HDD, USB Stick, MP3 player), USB HID devices (e. g. USB mouse, USB keyboard, Wireless mouse or keyboard with USB receiver).
v1.5.2
Added USB HID.
Added drivers for USB HID devices.
v1.5.1
Enabled USB OTG.
Added NTFS support.
Added SCSI.
Added USB Host.
Added USB storage and USB storage drivers.
Fixed /system/etc/vold.fstab.
v1.5.0
Implemented all updates from newest HTC kernel source code for 3.33.401.6 based ROMs.
Included newest mpdecision binary, hex edited to prevent from changing minimum and maximum CPU frequency.
v1.4.1
Default maximum GPU 2D frequency set to 200 MHz.
Increased GPU bus bandwidth in 3D mode.
Added few fixes from HTC Vivid kernel.
Added Wi-Fi module for ICS with HTC Sense 4.0 based ROMs.
Fixed haptic feedback.
v1.4.0
Fixed ACPU and perflock to allow setting different maximum CPU frequency than highest available.
Fixed issue with changing minimum and maximum CPU frequencies by the system daemons. Replaced thermald.
Extended CPU voltage limits.
v1.30.4
Added CPU Voltage Table - interface that allows adjustment of the CPU voltage (thanks to snq-, faux123 and show-p1984).
Updated touchscreen driver with multi-touch issue fixed by HTC.
Override refresh rate for Sense 4 (thanks to virtuous).
Changed low battery limit for camera flash.
v1.30.3
Overclocked GPU in 2D mode to 229 MHz.
Added 300 MHz GPU clock settings.
Modified Adreno220 drivers.
Overclocked GPU in 3D mode to 300 MHz by default, maximum 320 MHz.
v1.30.2
Touchscreen drivers fixed.
v1.30.1
First release built from source code. Thanks to HTC!
Optimized.
Touchscreen drivers partially fixed.
Added higher values to L2 cache frequency tables.
Updated CPU frequency tables.
Added support for zRam swap.
CIFS, SquashFS.
Enabled CPUFreq stat.
v1.20
Based on new kernel 3.0.16-gda3fdfc.
v1.11
Five kernel versions with different maximum CPU frequency.
Finally fixed CPUFreq, mfreq related bug (only one instruction changed in kernel code).
v1.10
First release based on kernel 3.0.16-gcfa14fc.
Modified CPU frequency tables, CPU speed limits and voltage limits.
Temporarily fixed CPUFreq related bug in HTC kernel.
Modified information about CPU frequency displayed in Hardware information.
CPU Temperature daemon:
thermald v1.0.0 (SebastianFM)
The thermald daemon is a system service which monitors CPU temperature. It turns on the thermal sensor and sets thresholds to the thermal driver. Threshold are defined in file /system/etc/thermald.conf. If temperature reaches threshold, kernel sends notification to userspace. When thermald receives notification, it decreases CPU frequency to avoid CPU overheat.
The stock thermald doesn't work properly because when the CPU temperature drops below threshold, or when mpdecision turns on the second core, it always sets maximum CPU frequency to the highest available frequency.
I wrote my own thermald daemon which works very similiar, but when the CPU temperature is too high, it saves the current maximum CPU frequency and restores it later.
My thermald doesn't parse external config file, it uses predefined thresholds.
Downloads:
v1.5.2, link, md5: 0b73bf76439fe002200d30717c8b931a
Installation:
This is flashable zip intended for install from recovery.
I used koush AnyKernel installer, so you can flash this kernel on any ROM.
Remember to do backup before flashing.
OC:
The CPU frequency 1782 MHz is stable for me but every phone is different.
To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
zram:
To enable zram (these commands enables 100 MB compressed swap stored in RAM):
echo 104857600 > /sys/devices/virtual/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
To disable zram:
busybox swapoff /dev/block/zram0
echo 1 > /sys/devices/virtual/block/zram0/reset
To view zram usage (size displayed in kB):
cat /proc/swaps
Source code:
GitHub
look very nice i will try it
Awesome! now we dont need to Force Second CPU any more to gain more speed, do we? (testing now)!
http://forum.xda-developers.com/showthread.php?t=1372649
not the same ?
would this work on sensation GB? i would like to try this on ARHD 4.1.11
Now we are talking...
Sent from my HTC Sensation XE with Beats Audio
Thanks, booted and working fine
Now my Sensation is running like a charm
nice
seems to be working juste fine for me
thx
Holy ****! Amazing how fast ics is now great job mate!
Sent from my HTC Sensation using Tapatalk
Nice work )))
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my S-OFF'd Sensation
there will b some happy devs n user know
Ps I would edit title so people know this is a kernal for Ics buddy
daddyspud said:
there will b some happy devs n user know
Ps I would edit title so people know this is a kernal for Ics buddy
Click to expand...
Click to collapse
I updated the title and OP, now everything should be clear.
My ics lag is gone! Even I turned off force cpu 1 n still super...just need to see battery life now: ) thxx
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Yh was a heads up that's all buddy before people start saying that it don't work on gingerbread
SebastianFM said:
I updated the title and OP, now everything should be clear.
Click to expand...
Click to collapse
SebastianFM said:
I updated the title and OP, now everything should be clear.
Click to expand...
Click to collapse
yes now it is
SebastianFM said:
HTC Sensation 3.0.13 kernel 1.5 GHz​
HTC ICS ROMs for Sensation and Sensation XE contains new kernel, the same for both devices. There is no source code available for this kernel because HTC didn’t oficially release their new ROM, 3.06.401.1 and 3.06.401.101 are leaked test builds. I edited kernel binary a little to enable 1.5 GHz CPU frequency on Sensation.
Click to expand...
Click to collapse
Have there been any improvements made to the bluetooth?
Sent from my HTC Sensation Z710e using Tapatalk
Whoa, how did you do this?
I will try this on my XE too.
how can i restore my stock kernel? sorry for nooby question :/

[KERNEL] 3.0.21 (V1.0-10.01.) ICS (NEW V28B support) and (V1.0-07.01.) CM10

LG ICS firmwares kernel:
How to use:
1) You have to be on ICS
2) Root
3) Recovery
http://forum.xda-developers.com/showthread.php?t=1978543
4) Wkparks bootloaders
http://forum.xda-developers.com/showthread.php?t=1971014
Download and flash with recovery.
ICS kernels
Changelog:
Beta 1:
Added userspace voltage control by (from SetCpu or similar app) by creator of SetCpu mr coolbho3000 and Smart reflex recalibration part by Mr Imoseyon
OC to 1300MHz
RAM to 466Mhz
cpu topology from linaro
Disabled Smart reflex for CPU
SIO iosched
VR iosched
ZRAM
KSM
init.d
screen off max feature
optimized mount points
ICS V1
added CPU freq interactive with boost freq
(it boost CPU to higest freq when you touch screen so no more lags for us)
interactive is set on boot)
kernel HZ to 1000
Ezekeel FSync control
VM readahead to 256
Reverted stock voltages
SmartReflex is enabled
Added one more step to GPU (384000) we now have 153600 307200 384000
Added control so you can see current GPU freq (FranciscoFranco)
Added BFQV5 iosched
disabled KSM (wasnt working)
ICS V1
Add support for V28b leak firmware (kernelICSV28b.zip)
to revert to stock use (kernelV28Bstock.zip)
ICS V1.1
Add fastcharge patch from ibleumind
Added 2 more freq steps now we have 200,300,600,800,1008,1200,1300
Reworked voltages
Reverted LMK driver to LGs
Lowered swapines to 20
some ramdisk changes
To enable ZRAM write script like this
and made it stick on reboot:
Code:
echo $((64*1024*1024)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
or modify /system/bin/swap_enable.sh
CM10 kernel
Changelog:
BETA 1
Only OC CPU and RAM
BETA 1.1
VR, SIO
cpu topology from linaro
BETA 2
Added userspace voltage control by (from SetCpu or similar app) by creator of SetCpu mr coolbho3000 and Smart reflex recalibration part by Mr Imoseyon
undervolted
OC to 1300
speed at boot set to 1008 (rise it from setcpu or settings)
optimized mount points for some IO
added CPU freq interactive with boost freq
(it boost CPU to higest freq when you touch screen so no more lags for us)
interactive is set on boot)
kernel HZ to 1000
KERNEL V1.0
Add synchronization framework
Ezekeel FSync control
VM readahead to 1024
Reverted stock voltages
SmartReflex is enabled
Added one more step to GPU (384000) we now have 153600 307200 384000
Added control so you can see current GPU freq (FranciscoFranco)
Added BFQV5 iosched
cpufreq interactive: lowered hispeed_freq to 800MHz to save some power
.
.
FAQ
Governors on schedulers??:
Read this: http://forum.xda-developers.com/showthread.php?t=1369817
What is SmartReflex and what is with this kernel?
SR is OMAP driver that performs continuous dynamic voltage scaling around the nominal operating point voltage according to silicon characteristics and operating conditions.
SR is ON for all freq except 1300. It undervolts to much so device cant be stable on 1300.
So what with userspace voltage control?
For other calibrated freqs you can set lower voltage and SR will recalibrate based on new voltage that you entered. If it can anyway.
If you dissable manualy SR then you can set exact voltages by yourself for all OPPs.
You can dissable it like this:
For CORE:
echo 0 > /sys/kernel/debug/smartreflex/sr_core/autocomp
For GPU:
echo 0 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
For MPU:
echo 0 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
Or use:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
How to set off screen freq?
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
600000 is 600Mhz
Or use:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
What is fsync control?
fsync syscalls are used by kernel modules and user space programs to flush an I/O buffer (which is in RAM) to disk to make sure that this data is actually savely stored on the disk before executing the next step. Disabling fsync can result in data loss on a crash/freeze since the data is still in the I/O buffer and has not been saved to disk as it should be and can also lead to problems due to race conditions if two or more processes access the same file. On the other hand disabling fsync reduces the number of I/O operations which potentially could reduce the battery drain and also improve I/O performance. (by Ezeekel)
So if you dissable fsync you will get great IO boost
How to dissable/enable fsync:
/sys/class/misc/fsynccontrol/fsync_enabled
enable = 1, disable = 0
Or use:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
How to see on what freq GPU runs now?
adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_clock
How to enable fastcharge?
/sys/kernel/fast_charge/force_fast_charge
0 dissabled
1 enabled
Or use:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
If anything hapen to your device using these files it is not my problem.
Use at your own risk.
Thanks to:
Ricardo Cerqueira
Wkpark
Xbsall
coolbho3000
Samno
Imoseyon
FranciscoFranco
Ezekeel
ibluemind
and others that helped, and all XDA.
You can give thanks!
Github:
ICS: https://github.com/iodak/p920-ICS-kernel
CM10:https://github.com/iodak/lge-kernel-omap4

			
				
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@Kyanox
I didn't OC GPU becouse I dont see any speed up in that. I think bus is to slow to deal with that large amount's of data.
Edit:
i didn't get the time to answer.
Sent from my LG-SU760 using xda app-developers app
You are kralj Thanks for all your work.
I had problems with samno's kernel with overclocked ram, i hope this one will work.
Might be a dumb question but can this be used with your modified CM10?
Sent from my LG-P920 using xda app-developers app
Thanks iodak . Every time you make a surprise . The forum was dead .
Good work :thumbup: :thumbup:
Just a stupid question , make the commands in init.d script right ??
Sent From My P920 (ICS ported)
Hit Thanks Button If I Helped
This is only for ICS.
Yes use init.d script.
Sent from my LG-SU760 using xda app-developers app
Battery life is amazing, only 2% for 3 hours, no calls, just checking email few times on wifi (no mobile data, i don't have it) and little playing. Also phone seems smoother. Excellent work and it is still beta.
video streaming is playing or not whit this kernel?
I did not try it. NTFS is included.
Edit: stream is working i tried with VLC player.
Sent from my LG-SU760 using xda app-developers app
Great kernel! I was using Acura Destructor V2 and it was amazing but i try your kernel and Antutu gives to me 8590 points vs the 7835 of Acura...and on Acura i had some small crash!
I have a noob question! What i need to do in order to enable the script of zram? Sorry for noob question but i tried gscript and it doesn't work!
Use root explorer and modify /system/bin/swap_enable.sh
Like this:
#Initialize /dev/block/zram0 with 30MB disksize
echo $((72*1024*1024)) > /sys/block/zram0/disksize
#Activate
#RAM swap
mkswap /dev/block/zram0
/system/bin/swapon /dev/block/zram0
#eMMC swap
#busybox mkswap /dev/block/mmcblk0p17
#busybox swapon /dev/block/mmcblk0p17
This will enable zram and disable emmc swap.
Sent from my LG-SU760 using xda app-developers app
Sorry for the noobish question, but what are the performance benefits of enabling zram?
---------- Post added at 03:31 AM ---------- Previous post was at 02:48 AM ----------
Holy crap! What a performance the phone has!
Smooth like butter, like I've never seen.
Man, what a great job!
iodak said:
Use root explorer and modify /system/bin/swap_enable.sh
Like this:
#Initialize /dev/block/zram0 with 30MB disksize
echo $((72*1024*1024)) > /sys/block/zram0/disksize
#Activate
#RAM swap
mkswap /dev/block/zram0
/system/bin/swapon /dev/block/zram0
#eMMC swap
#busybox mkswap /dev/block/mmcblk0p17
#busybox swapon /dev/block/mmcblk0p17
This will enable zram and disable emmc swap.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
thanks zram enabled!
I have another small question...then your kernel is amazing...today morning with 15 minutes of gaming i lost only 3% of battery...the problem is that i have the governor powersave and in standby sometimes i lost 1% or 2% of battery! What kind of problem can be?
Just leave it on hotplug or interactive and lower voltages with setcpu or voltage control. Test to see what are lowest voltage setting that you can set. Kernel is set to screen off max to 600MHz.
Sent from my LG-SU760 using xda app-developers app
iodak said:
Just leave it on hotplug or interactive and lower voltages with setcpu or voltage control. Test to see what are lowest voltage setting that you can set. Kernel is set to screen off max to 600MHz.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the answer..well i checked the voltages with SetCPU and the lower are 600 mV...i need to try all the voltages or i can directly set to 600? Thanks and sorry for the noobs questions
Here are mine:
You can set from 830 to 1400.
Sent from my LG-SU760 using Tapatalk 2
Thanks! I will try your settings...i set all your voltages and the governor to interactive...i wish that the battery life now can have a boost! However great work with your kernel...it gives to the phone a relevant boost! I have some problems with heavy applications that sometimes are too slow when i try to pass from the app to the homescreen...but this is a problem of RAM i think!
Hi iodak .
How to change the screen off frequency ?? I can change it through apps like system tuner or any other . But are there any scripts can do that ?? .
Thanks .
Sent From My P920 (ICS ported)
Hit Thanks Button If I Helped

[DEV][WIP][KERNEL-PATCH][MSM7x30/8x55 GPU OVERCLOCKING][2d-core done][3d-core][v0.7]

Finally after someone pm'd me I looked back into GPU Overclocking.
New thread created issues with old thread OP permissions (people seem to be asking the same questions over and over again all information will be kept in OP & DO READ THE THREAD, repetitive questions will now be ignored)
Benefits:
Smoother UI
Handle 2d & 3d core GPU intensive applications & games
Currently only 2D core has been overclocked working on 3D core OC
2D-core original value - 192mhz OC to 245mhz DONE achieved 25% performance boost grp_2d_clk outputs 245760000hz
3D-core original value - 245mhz OC to 300+mhz WIP hoping to achieve 40-50% performance boost
2D-core OC only Download: http://d-h.st/woG
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Note: Don't have internet on PC so providing 3 main files that need replaced for 2D-core OC to work
Download link to source code: http://d-h.st/wbH
3D-CORE OC TESTS Download: http://d-h.st/IbC
Do check under sys/kernel/debug/htc_clock/clks/ look for file with all clocks & look for GRP_clks (Graphics clock)
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/showthread.php?t=2368497
Diff Patch:
diff --git a/arch/arm/mach-msm/clock-7x30.c b/arch/arm/mach-msm/clock-7x30.c
index 8e97664..5e9bc2e 100644
--- a/arch/arm/mach-msm/clock-7x30.c
+++ b/arch/arm/mach-msm/clock-7x30.c
@@ -2992,8 +2992,8 @@ static void __init msm7x30_clock_init(void)
clk_set_rate(&mdc_clk.c, 1);
/* Sync the LPA_CODEC clock to MI2S_CODEC_RX */
clk_set_rate(&lpa_codec_clk.c, 1);
- /* Sync the GRP2D clock to AXI */
- clk_set_rate(&grp_2d_clk.c, 1);
+ /* Set rate of 2D-core GPU Clock @245Mhz (OC of 53Mhz 25% perf boost by Shaky156) */
+ clk_set_rate(&grp_2d_clk.c, 245760000);
}
struct clock_init_data msm7x30_clock_init_data __initdata = {
diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c
index d52db55..f428e57 100644
--- a/arch/arm/mach-msm/devices-msm7x30.c
+++ b/arch/arm/mach-msm/devices-msm7x30.c
@@ -1319,11 +1319,7 @@ struct resource kgsl_3d0_resources[] = {
static struct kgsl_device_platform_data kgsl_3d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 364800000,
- .bus_freq = 249600000,
- },
- {
- .gpu_freq = 245760000,
+ .gpu_freq = 245760000, /*Restore correct GPU frequency and bus frequency (Shaky156)*/
.bus_freq = 192000000,
},
{
@@ -1336,7 +1332,7 @@ static struct kgsl_device_platform_data kgsl_3d0_pdata = {
},
},
.init_level = 0,
- .num_levels = 4,
+ .num_levels = 3,
.set_grp_async = set_grp3d_async,
.idle_timeout = HZ/20,
.nap_allowed = true,
@@ -1372,14 +1368,13 @@ static struct resource kgsl_2d0_resources[] = {
static struct kgsl_device_platform_data kgsl_2d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 0,
+ .gpu_freq = 245760000, //Set 2D-core GPU Frequency @245mhz (Shaky156)
.bus_freq = 192000000,
},
},
.init_level = 0,
.num_levels = 1,
- /* HW workaround, run Z180 SYNC @ 192 MHZ */
- .set_grp_async = NULL,
+ .set_grp_async = set_grp2d_async, //Set the 2D-core Graphics Clock Asynchronous to the AXI clock (Shaky156)
.idle_timeout = HZ/10,
.nap_allowed = true,
.clk_map = KGSL_CLK_CORE | KGSL_CLK_IFACE,
diff --git a/drivers/gpu/msm_adreno205/kgsl_pwrctrl.c b/drivers/gpu/msm_adreno205/kgsl_pwrctrl.c
index e81b025..b8686c0 100644
--- a/drivers/gpu/msm_adreno205/kgsl_pwrctrl.c
+++ b/drivers/gpu/msm_adreno205/kgsl_pwrctrl.c
@@ -488,10 +488,8 @@ int kgsl_pwrctrl_init(struct kgsl_device *device)
pwr->pwrlevels.io_fraction =
pdata->pwrlevel.io_fraction;
}
- /* Do not set_rate for targets in sync with AXI */
- if (pwr->pwrlevels[0].gpu_freq > 0)
- clk_set_rate(pwr->grp_clks[0], pwr->
- pwrlevels[pwr->num_pwrlevels - 1].gpu_freq);
+
+ /*Removed AXI Sync code (Shaky156)*/
pwr->gpu_reg = regulator_get(NULL, pwr->regulator_name);
if (IS_ERR(pwr->gpu_reg))
Please anyone can benchmark it?
cant wait for your commit!
Here is Benchmark from AnTuTu Benchmark v3.3.2
Rom: SVHD v1.7.3
With Shaky Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With PachaRS v2.9 Kernel
mygamers said:
Here is Benchmark from AnTuTu Benchmark v3.3.2
Rom: SVHD v1.7.3
With Shaky Kernel
With PachaRS v2.9 Kernel
Click to expand...
Click to collapse
I get 509 (2d) and 1774(3d) stock cpu, stock gpu (with SmartASSv2 governor) and SIO as I/O scheduler(performance get a bit better when CFQ is in use).
We are talking about Sense rom? ..I'm wondering why the "Overclocked" versions get lower score than me
P.S. I can provide pictures if someone want some proof(I'm just lazy that's why I didn't to it already hahaahhaah)
XxXPachaXxX said:
Please anyone can benchmark it?
cant wait for your commit!
Click to expand...
Click to collapse
please see below...
mygamers said:
Here is Benchmark from AnTuTu Benchmark v3.3.2
Rom: SVHD v1.7.3
With Shaky Kernel
With PachaRS v2.9 Kernel
Click to expand...
Click to collapse
Hi, if you have used the last few kernel releases they shouldnt be benchmarked as I am working on 3d-core GPUOC, which fails to set above 245mhz resulting in both 2d/3d core running @192mhz which is underclocked afaik, once 3d-core gpu is achieved then you can benchmark.
Previous kernel where a user benchmarked in previous gpu thread only 2d-core was overclocked benchmark went from 400 range to 500 range, consider I overclocked by 50mhz thats roughly 1/4 of 192mhz, benchmark score is accurate as its performance improved by 1/4 of total previous 2d-core gpu score
and 2d core clk outputs 245mhz which is basically saying its overclocked
so with 2d-core OC results will be higher, working on 3d-core overclock which will make benchmark go even more higher
now onto 3d-core gpu
OP updated with correct link for 2D-CORE GPU ONLY
current 3d-core gpu states this within log:
<3>[ 404.075866] [CLK] clk_set_rate: failed to set clk: GRP_3D_CLK, rate=256000000, flags=0x200, rc=-22
<3>[ 404.379058] [CLK] clk_set_rate: failed to set clk: GRP_3D_CLK, rate=256000000, flags=0x200, rc=-22
<3>[ 404.527404] [CLK] clk_set_rate: failed to set clk: GRP_3D_CLK, rate=256000000, flags=0x200, rc=-22
<3>[ 404.910766] [CLK] clk_set_rate: failed to set clk: GRP_3D_CLK, rate=256000000, flags=0x200, rc=-22
I have a fix soon
evronetwork said:
I get 509 (2d) and 1774(3d) stock cpu, stock gpu (with SmartASSv2 governor) and SIO as I/O scheduler(performance get a bit better when CFQ is in use).
We are talking about Sense rom? ..I'm wondering why the "Overclocked" versions get lower score than me
P.S. I can provide pictures if someone want some proof(I'm just lazy that's why I didn't to it already hahaahhaah)
Click to expand...
Click to collapse
see my answer above
to double check flash 2d-core GPUOC then benchmark & check under sys/kernel/debug/clks/grp_2d_clk
My result
Rom: SVHD v1.7.3
Pacha-Kernel 2.9
2D-core OC only
before I can continue any further I need someone to get me the value of grp_3d_src_clk from 3dgpuoc test I can then drop a fixed 3d GPUOC
if someone cannot provide that value then I cannot OC 3dcore gpu
i can't find nor grp_3d_src_clk nor the file with all clks listed
Going to flash your kernel to help out. Do you want both Logcat and DSMG?
Is the main problem that 3d OC can't be set on boot?I used to flash it and after rebooting the benchmark fell from 18xx to 17xx(but still higher than that before flashing).I guess if it can be applied by init.d scripts .Thanks a lot for your aaaaaaaaaamazing work!
forzaferrari0 said:
i can't find nor grp_3d_src_clk nor the file with all clks listed
Click to expand...
Click to collapse
I'll see if I can temporarily get my hands on a Desire HD for this
EDIT: no access to device
hacktrix2006 said:
Going to flash your kernel to help out. Do you want both Logcat and DSMG?
Click to expand...
Click to collapse
no log or dmesg just the value under the grp_3d_src_clk (should be a folder with values in there)
sys/kernel/debug/clk/grp_3d_src_clk/
i found this:ebi_grp_3d_clk,
his value switch continuously from 0 to 192000000
with pacha kernel is firmly 0
forzaferrari0 said:
i found this:ebi_grp_3d_clk,
his value switch continuously from 0 to 192000000
with pacha kernel is firmly 0
Click to expand...
Click to collapse
nope only grp_3d_src_clk
OK Shaky156 will do just thought i ask first before hand as sometimes logcat and dmsg can be handy to have.
hacktrix2006 said:
Going to flash your kernel to help out. Do you want both Logcat and DSMG?
Click to expand...
Click to collapse
edit: He replied.Deleted.

Categories

Resources