[Kernel/ROM][CM10.2][GRIMLOCK_KERNEL_CM_0.8][GRIMLOCK_CM_3.1]

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
NOTE - This is for the CyanogenMod based version of the KERNEL - it will only work on CyanogenMod based roms. If you are looking for a Kernel based on stock Asus 4.2.1 then please GO HERE


I have removed my old Rom from this thread and turned it into a kernel thread instead as the rom is old and outdated and the old kernels do not work with newer builds of CM anymore.
So apparently there was a mini protest to me removing the rom. As a result, please see post #2 for information on a updated version of it.

FEATURES

-Based off of the newest Kernel source from Asus (10.6.1.27.5)
-Dynamic Fsync
-Modified Ramdisk for insecure kernel and init.d support
-added in smartassV2 governor - more to come
-Overclocking to 1.7GHZ
-Added CIFS support (needs testing)
-Added support for requested USB network card (DUB-E100 revision C)
-Added SIO, Deadline, and VR scheduler
-Voltage control - should be fixed!
-SELinux support
-GPU overclock and ability to adjust


LINK - GRIMLOCK_KERNEL_CM_V0.8
LINK - GRIMLOCK_KERNEL_PAC_V0.7 - note this is not thoroughly tested and very experimental


Let me know how it goes. From my testing it seems that everything works, including the dock.

Confirmed working on:
CyanogenMod 10.2
OmniRom
AOKP

Confirmed not working on:
PAC



Source code is here
 
Last edited:

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Rom - GRIMLOCK_CM_3.1

For those who missed the GRIMLOCK_CM rom. I present you with Version 3.1

GRIMLOCK_CM_3.1

A tidbit of information about this rom:

  • Based on 12/09/2013 Cyanogen mod RC
  • Integrated GRIMLOCK KERNEL V0.7
  • Stripped down to the barebones (small rom size and most apps can be downloaded from play store)
  • Asus stock keyboard
  • Google home launcher (kitkat launcher)
  • Tweaks for more speedy goodness
  • Gapps pre-installed
  • CrossBreeder installed
  • Performance Profiles in Quick Settings
  • Patched Services.jar a la Supercharger

Please note that this rom doesn't even have the setup wizard, it will boot directly into the rom. When it boots, you will have to turn on the wifi, connect, and then add your google account. Once the play store updates the apps when you connect, enable google now for the search functionality.

If there are features/apps you want included in this rom, please let me know and I will do my best.
 
Last edited:

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
CHANGELOG

Dec 09 2013
- Updated base off of CM10.2 RC for TF300T
- Patched services.jar a la Supercharger
- Smali edits to bring performance profiles in Quick Settings
- Bluetooth should be working now

Nov 21 2013
- updates to kernel
- new rom as per user requests.

Oct 24 2013
- Removed rom - too outdated
- changed thread into a kernel thread based on newer nightlies for compatibility.

Sept 23 2013
- Added a new kernel courtesy of _that

Sept 20 2013
- Updated to version 2.2
- Based on the 09-17-2013 nightly build of CM10.2
- Patched Services.jar for better multitasking a la Zepplinrox
- Integrated stock kernel into rom to fix the keyboard dock error

Sept 11 2013
- Updated to Version 2.1
- Based on the 09-09-2013 nightly Build of CM10.2
- Fixed the no keyboard showing up issue
- Updated the Kernel to Version 0.2 - hopefully brings more stability

Sept 05 2013
- Updated to Version 2.0 - Based on Android 4.3 (CM10.2)
- Integrated Hundsbuah's kernel directly into the rom - no need to flash anything separately.

Aug 26 2013
- Added flashable zip for SONY SMALL APPS

Aug 22 2013
- Initial release
 
Last edited:

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
No too much. I mainly combined the ramdisk from the CM10.1 kernel with the zImage from your kernel. Doing this method didn't work on too many kernels though. I could boot with Hundsbuah's kernel, and the performance options said I could OC but no matter what I did the OC didn't work. There was another kernel that I was able to OC with, however its not a GPL-compliant kernel.
 

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
All kernels are GPL compliant - or illegal.

For Hundsbuah's kernel, did you notice that you have to set some "boot complete" flag in sysfs? (he is doing it in the cpu2.sh script that cm doesn't use)
What I mean by not GPL compliant is that the person who compiled it wouldn't release his sources for it.

I did not notice that flag. Thanks for pointing that out. I noticed he only has it on cpu2.sh and cpu3.sh. Very intersting
 
  • Like
Reactions: JudgeDredd67

mister363

Senior Member
Jul 26, 2012
65
6
0
Does it work on tf300tg? Did you patch kernel for 3g?

Inviato dal mio ASUS Transformer Pad TF300TG con Tapatalk 2
 
Last edited:

_that

Recognized Developer / Recognized Contributor
Oct 2, 2012
4,817
4,205
243
What I mean by not GPL compliant is that the person who compiled it wouldn't release his sources for it.
That's a GPL violation. If that person is on XDA, please report the issue to the moderators. http://forum.xda-developers.com/showthread.php?t=1650721

btw, to comply with these rules, here is the link to my kernel thread with all source patches: http://forum.xda-developers.com/showthread.php?t=2230059

I did not notice that flag. Thanks for pointing that out. I noticed he only has it on cpu2.sh and cpu3.sh. Very intersting
I think it doesn't matter, you just need to set it after booting has finished - AFAIK this was introduced because some devices could not run with the maximum overclock, so Hundsbuah limited the maximum frequency until you unlock it.
 
  • Like
Reactions: hardslog

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Does it work on tf300tg? Did you patch kernel for 3g?
I have not, but I might be able to, the question is if the rom itself is 3g capable or not. If I get time to get around to it I will need testers for it though.

That's a GPL violation. If that person is on XDA, please report the issue to the moderators. http://forum.xda-developers.com/showthread.php?t=1650721
Mods already know and I believe it was dealt with a few months ago.


I think it doesn't matter, you just need to set it after booting has finished - AFAIK this was introduced because some devices could not run with the maximum overclock, so Hundsbuah limited the maximum frequency until you unlock it.
I'll look into it, I still have a bootable kernel based on Hund's for my private use I will mess around further, but I really like your kernel because it's just so bloody stable. I commend anybody who does kernel work. It took me forever just to compile a stock kernel for the tf300tg until I found out that I didn't need to because the zImage could just be snatched from the system blobs that Asus posted on their website.

Well would you look at that. I edited a line in cpu3.sh and executed it with a scripter and boom! Overclock!
The line I edited it was this: echo 0 > /sys/devices/platform/tegra_grhost/enable_3d_scaling - I deleted it because it was killing the script because it couldn't find that particular location.

Screenshot_2013-08-23-10-43-49.jpg

By changing a few numbers and re-executing the sript, you can change the max frequency that can be run. Anything that I tried over 1.5GHZ was causing reboots though.
 
Last edited:
  • Like
Reactions: temudshin

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Update - Sony Small Apps!

I have updated with a patch to install the Sony Small apps. Please see the OP and Post #2 for more details.
 

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Update - Hundsbuah's Kernel for OC!

GRIMLOCK_CM_HUNDSBUAH'S_KERNEL

Instructions for downloading Hundsbuah's Kerne:
-Download Zip
-flash in recovery
-profit!

If you try this kernel and flash it and like it, Be sure to thank Hundsbuah or shoot him a donation. This is his kernel and deserves all the credit for it. All I did was modify the ramdisk to make it compatible with CM10.1

Right now there is an init.d script in this kernel package that I created that caps the OC at 1.5GHZ. 1.6GHZ can be achieved but the voltages will need to be modified to make it stable. If anybody wants some more info on this let me know :)
 

andrewnelson23

Senior Member
May 25, 2012
902
283
0
Shawnee, OK
GRIMLOCK_CM_HUNDSBUAH'S_KERNEL

Instructions for downloading Hundsbuah's Kerne:
-Download Zip
-flash in recovery
-profit!

If you try this kernel and flash it and like it, Be sure to thank Hundsbuah or shoot him a donation. This is his kernel and deserves all the credit for it. All I did was modify the ramdisk to make it compatible with CM10.1

Right now there is an init.d script in this kernel package that I created that caps the OC at 1.5GHZ. 1.6GHZ can be achieved but the voltages will need to be modified to make it stable. If anybody wants some more info on this let me know :)

Thanks so much man! Can you link the source? Wonder if it could be easily modified to run on 4.3 roms as well.



Sent from my TF300T using xda app-developers app
 

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Similar things that i tried to get it to work on CM10.1. Mainly using hunds zimage with the cm ramdisk. But I did change a few init scripts that I haven't tried yet.

Sent from my HTC One using xda app-developers app
 

hardslog

Recognized Contributor
Nov 17, 2009
1,724
2,102
0
Update - Version 2.0 - now based on CM10.2!

Changelog:
- Updated to Version 2.0 - Based on Android 4.3 (CM10.2)
- Integrated Hundsbuah's kernel directly into the rom - no need to flash anything separately.

Upon boot, the kernel will overclock to 1.5GHZ by default. Anything higher than that I would consider unstable and may lead to rebooting unless voltages are adjusted.

Please let me know how it runs for you. I have used it for a few days and haven't found any major issues.