Post Reply

[KERNEL][Afaneh Kernel V1.0] I9100 kernel with ATT 4 touchkeys enabled

3rd June 2014, 02:02 PM   |  #1  
mohammad.afaneh's Avatar
OP Senior Member
Flag amman
Thanks Meter: 772
 
542 posts
Join Date:Joined: Jul 2012
Donate to Me
More
If you have a i777 or S959G but with a i9100 motherboard.
If you have problems with the touch buttons and need to remap.
If your mic doesnt work and the other person hear a very noisy sound.
I had recompiled Jeboo kernel for you.


Tested on NeatRom v5.1.1 XWMS1.

Githubs:
kernel -- https://github.com/jeboo/kernel_JB_I9100official
initramfs -- https://github.com/jeboo/initramfs_XWLSS

patch it take me more than 2 hours to figure it out
 

in "kernel_JB_I9100official/include/linux/i2c/touchkey_i2c.h"
change the blue lines
Code:
#if defined(CONFIG_TARGET_LOCALE_NAATT) \
	|| defined(CONFIG_TARGET_LOCALE_NAATT_TEMP)
#define TK_USE_4KEY_TYPE_ATT
#elif defined(CONFIG_MACH_LOCALE_NA) \
	|| defined(CONFIG_MACH_U1_NA_SPR) \
	|| defined(CONFIG_MACH_U1_NA_USCC)
#define TK_USE_4KEY_TYPE_NA
#elif defined(CONFIG_MACH_M0) \
	|| defined(CONFIG_MACH_C1) \
	|| defined(CONFIG_MACH_M3)\
	|| defined(CONFIG_MACH_T0)
#define TK_USE_2KEY_TYPE_M0
#else
#define TK_USE_2KEY_TYPE_U1
#endif
with this red lines
Code:
#if defined(CONFIG_TARGET_LOCALE_NAATT) \
	|| defined(CONFIG_TARGET_LOCALE_NAATT_TEMP)
#define TK_USE_4KEY_TYPE_ATT
#elif defined(CONFIG_MACH_LOCALE_NA) \
	|| defined(CONFIG_MACH_U1_NA_SPR) \
	|| defined(CONFIG_MACH_U1_NA_USCC)
#define TK_USE_4KEY_TYPE_NA
#elif defined(CONFIG_MACH_M0) \
	|| defined(CONFIG_MACH_C1) \
	|| defined(CONFIG_MACH_M3)\
	|| defined(CONFIG_MACH_T0)
#define TK_USE_4KEY_TYPE_ATT
#else
#define TK_USE_4KEY_TYPE_ATT
#endif


rate this thread to be always shown.

thanks to
Jeboo
Entropy512
PhilZ
me
Attached Files
File Type: zip Afaneh_Kernel_v1.0_i9100_for_i777.zip - [Click for QR Code] (7.76 MB, 92 views)
Last edited by mohammad.afaneh; 3rd June 2014 at 10:04 PM.
The Following 7 Users Say Thank You to mohammad.afaneh For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes