[KERNEL] vta2-kernel for Nexus S Jelly Bean #130

Search This thread

zsparrow

Senior Member
Jul 17, 2012
65
2
Re: [KERNEL] vta2-kernel for Nexus S Jelly Bean #105

This kernel is SWAP enabled?

Sent from my Nexus S using xda premium
 

kpyhere

Senior Member
Jul 26, 2009
330
106
What app can i use to controll the kernel functions ?
I want to activate the swipetounlock and BLN :)
 

krfoy

Senior Member
Feb 11, 2010
120
91
Comparing your source to the kernel I used to use, this is the only important change I see. https://github.com/abev66/linux-kernel-vta2-ns/commit/e0fcf24f1937c4105a8eaa916390dda22aedc014

Does this help your SLCD panel? It looks like this is why the colours bug me.

Code:
--- herring-panel.c.vte	2013-01-12 11:12:53.008586928 -0500
+++ herring-panel.c.ink	2013-01-12 11:13:02.432012414 -0500
@@ -357,6 +357,7 @@
 		0x0b8,
 		0x0fc,
 	},
+#ifdef CONFIG_TL2796_CONVERT_COLORS_RES
 	.color_adj = {
 		/* Convert from 8500K to D65, assuming:
 		 * Rx 0.66950, Ry 0.33100
@@ -364,19 +365,20 @@
 		 * Bx 0.14142, By 0.04258
 		 */
 		.mult = {
-			2013265920U,
-			1619001344U,
-			1996488704U,
+			2318372099U,
+			2117262806U,
+			1729744557U,
 		},
 		.rshift = 31,
 	},
+#endif
 
 	.gamma_adj_points = &gamma_adj_points,
 	.gamma_table = gamma_table,
 	.gamma_table_size = ARRAY_SIZE(gamma_table),
 };
 
-static u16 brightness_setting_table[] = {
+static const u16 brightness_setting_table[] = {
 	0x051, 0x17f,
 	ENDDEF, 0x0000
 };
@@ -997,7 +999,7 @@
 	ENDDEF, 0x0000
 };
 
-static u16 R61408_brightness_setting_table[] = {
+static const u16 R61408_brightness_setting_table[] = {
 	0xB0, 0x102,
 	0xB9, 0x100,
 	0x1F7, 0x102,
Thank you, I'll try to revert this.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    I built this kernel for my daily use, now i decided to share it here! :)

    Work with Nexus World Wide Version (i9023/i9020t).

    ※ Basically it is made for Official Stock ROM (JRO03E/JZO54K). it may NOT work with other ROMs.

    Not working with CyanogenMod!

    Main features of this kernel:
    • 1.25GHz
    • Based on Linux Kernel 3.0.73
    • Based on AOSP
    • Touchwake ADVANCED (allowing you wake up your phone by touching screen when you got a notification ) (based on Ezekeel's work)
    • 10-point multitouch
    • Force AC charging by chad0989
    • UKSM (Ultra Kernel Samepage Merging)
    • MTP (thanks to bedalus and Krarvind!)
    • High Bigmem
    • BLN by Ezekeel
    • BLD by Ezekeel
    • Powerkey Presses Counter
    • init.d support
    • Optimized CRC32 algorithm
    • SLUB
    • Custom Voltage by Ezekeel
    • mount dalvik-cache to /cache
    • undervolted
    • RCU Boost
    • Voodoo by supercurio
    • included busybox
    • USB OTG v5 by sztupy Read this. (not sure if this work on Jelly Bean)
    • CRT-off animation fix from CyanogenMod team.
    • PM_FAST
    • ...

    Default: interactive / sio

    Thanks to all contributors of this kernel! :)
    And welcome to fork it on my github.

    Download vta2-kernel / Changelog

    TODO:
    • Bluetooth battery drain fix.
    • ROW I/O scheduler ( kernel module )
    • ...

    Any Suggestion? Tell me here :)
    5
    #58 is here.

    Changelog:
    • Touchwake Advanced: Now you can wake up your phone with touchwake after a sound play back or vibrating (e.g. when you've got a notification)
    • Add powerkey presses counter

    About powerkey presses counter usage:
    cat /sys/class/misc/touchwake/counter

    And reset counter by:
    echo reset > /sys/class/misc/touchwake/counter

    vta2-kernel #58 main post
    4
    Wow, this Kernel is perfect on Slim ROM! Thanks!
    => Can you include a 1000Mhz step for saving battery in the future?

    Including 1000MHz step should not save more battery. If there are both 1248 and 1000, smartassV2 will prefer to use 1248 to do things faster (when busy), and prefer to use 800 or below to save more power (when idle). It's inspired by SAMSUNG Infuse 4G which use the same SoC (Hummingbird) and also don't have 1000MHz step. :)