OTG and charge simultaneously? - Nexus 5X Q&A, Help & Troubleshooting

Hello, as i understood it need to be something modified in the kernel to allow that...
Anybody knows how to do it...
Some guy did it to a kernel on nexus 7 as this example:
https://forum.xda-developers.com/showthread.php?t=2558717
*Tested with smoothrom 5.3, android 4.3.1, should work with 4.4, will be updated for 4.4.
*multirom kexec code.....credits to tassadeur.
*CPU OC to 1.6, GPU OC to 484, set during install or with trickstermod
*OTG+fastcharge simultaneously, requires otg y cable for power

Related

[OC/UV][11th Jun][Kernel] koxudaxi kernel [GSM][2.2&2.3][KernelPatch]

Looking for developers!!
Would you please help me to apply this kernel patch ?
I wish that the zImage will be uploaded.
Features:
<Gingerbread>
add frequencies -> 1.4GHz, 1.2GHz, 600MHz
CF-Root & ClockWorkMod (thanks to Chainfire)
Voodoo Sound Version 9 (thanks to supercurio & richardtrip)
can mount ext4
BFQ
update.zip to flash this kernel(alterbridge86)
under voltage by under voltage app. you can download "Voltage Control" on the Market(thanks to xan)
Smartass & Interactive CPU Gov(thanks to -Mr. X-)
LCD is unvder voltage to 2.4v [default :3.3v]
cwm zip have a BLN library.(thanks to bartito)
BLN[BackLightNotification] (thanks to Michael Richter 'alias neldar' and akent)
BLN need to replace a library for lights.
new cwm kernel zip have a BLN library.(thanks to bartito)
this cwm zip is installer for only the library.
ttp://koxudaxi.sakura.ne.jp/android/cwmzip/bln_lib_installer.zip
and you should use BLN Control app which you can get in android market.
What is BackLightNotification?
The BackLightNotification mod converts the touchkey backlights into a notification led.
Click to expand...
Click to collapse
the original thread: http://forum.xda-developers.com/showthread.php?t=813389
<Froyo>
add frequencies -> 1.4GHz, 1.2GHz, 600MHz
Voodoo Sound Version 8 (thanks to supercurio & richardtrip)
update ext4 (thanks to richardtrip)
under voltage -> RAM(1.8v to 1.6v) and LCD(3.3v to 2.4v)
fix LED Flash for flash light apps
ClockWorkMod (thank to richardtrip and Paul Obrien)
enable usb mass storage(int-sd&ext-sd) in recovery mode
convert to ext4 over auto
change compiler options for Cortex-A8
Kernel HZ is 400, User HZ is 200
Tiny_RCU & BFQ (thanks to richardtrip)
under voltage app (thanks to xan)
tun support as kernel module
Increase Read Cache for all block device(thanks to brainmaster and alterbridge86)
Kernel:
<Gingerbread>
heimdall:zImage_euro_3_0_7
cwm:zImage_eur_3_0_7_cwm.zip
There is New Kernel!!
ATTENTION!!
NEED A LOT OF TEST
heimdall:zImage_euro_3_0_8NEW!!
cwm:zImage_eur_3_0_8_cwm.zipNEW!!
add:
support docomo boot screen (may support other asia rom)
show Kernel version name on "About device"(settings app -> About device)
update linux kernel version to 2.6.35.13(stock:2.6.35.7 thank to netarchy . i got the patches from his github for nexus-s )
add simple IO schedule and set as default
adjust LCD voltage 2.4v->2.6v for stability(default is 3.3v).
support 10 point multitouch
use TinyRCU
HZ=400,USER HZ=200
automated per tty task groups(thanks to Mike Galbraith https://lkml.org/lkml/2010/10/19/123)
Click to expand...
Click to collapse
<Froyo>
EURO:heimdall:zImage_euro_2_9_4mirror
HKTW:heimdall:zImage_hktw_2_9_3mirror if you get a high temperature error when using euro kernel. you should flash this kernel.
convert to ext4:
<Only Gingerbread>
i recommend chainfire tools to convert to ext4.
http://forum.xda-developers.com/showpost.php?p=12651371&postcount=7
my UV setting
frequency(MHz),voltage(mV)
1400 , -25
1200, -50
1000,-50
800,-50
600,-50
400,-50
200,-75
100,-75
app:
<Only Froyo>
VoltageControl-gt-600.apk mirror this app can decrease voltage in OC_kernel(add 600MHz& 1.4GHz)
CHANGE LOG:
8th Jun
eur_3_0_7 fix LED brightness on BLN,LCD is unvder voltage to 2.4v [default :3.3v],use user max frequency settings,fix few bug on oc/uv. (thanks to techomancer),cwm zip have a BLN library.(thanks to bartito)
7th Jun
eur_3_0_6 update BLN as a common driver,support blink mode by apps(only BLN pro) and sysfs ,fix CPU control method (thanks to Technomancer)
5th Jun
eur_3_0_5 add BLN(BacklightNotification) (thanks to Michael Richter 'alias neldar' and akent)
3th Jun
eur_3_0_4 add Voodoo Sound version 9 (thanks to supercurio & richardtrip),fix little typo
30th May
eur_3_0_3 support UV as sysfs and apps
29th May
eur_3_0_2 add 600MHz,BFQ
28th May
eur_3_0_1 add smartass-interactive gov(thanks -Mr. X-)
eur_3_0_0 baed gingerbread soucecode with 1.4&1.2GHz OC
2th May
eur_2_9_4 updated Voodoo Sound v8,LCD(2.6v to 2.4v) UV,Increase Read Cache for all block device(thanks to brainmaster and alterbridge86)
23th March
eur_2_9_3 updated Voodoo Sound v6(thanks to supercurio) and ext4(thanks to richardtrip),RAM(1.8v to 1.6v) and LCD(3.3v to 2.6v) UV,fixed LED Flash for flash light apps
25th February
region_2_8_9=Voodoo Sound(thanks to richardtrip),fixed cwm,enable usb mass storage(int-sd&ext-sd) in recovery mode.
region_2_8_5=add 600MHz,decrease internal voltage by "voltage control app"
region_2_6_1=region_2_6 + fix battery temperature.
17th February
region_2_6 = with CWM,work camera and all sensors include battery temperature.we don't need to replace sensors.default.so
11th February
region_1_5= source of update1 (without CWM).can work camera and sensors on newer roms
8th February
region_2 = with CWM :convert to ext4 over auto.we can't use rfs and ext2.
region_1_2= see update notice.
6th February
region_1 = 1.2GHz & 1.4GHz OCkernel
if you use previous version sensors.default.so with later version rom then you may replace new sensors.default.so to work sensor .
it is new sensor.default.so
http://koxudaxi.sakura.ne.jp/android/sensors.default.so
Code:
adb remount
adb push sensor.default.so /system/lib/hw
adb reboot
Thanks:
thanks to richardtrip
[Kernel] [EURO] [1.2ghz OC/UV] RFS + EXT4 V6 27/01(give me 1.2GHzUV patch)
https://github.com/richardtrip/galaxytab_kernel (The oc kernel need 'use 1.2Ghz 'patch)
thanks to Paul Obrien
i got initramfs on richardtrip's github.thanks richardtrip and Paul Obrien.
[APP+SOURCES!] (09Jan) Voltage Control - control OC/UV for OC kernels (for UV)
thanks to Bauxite
[Kernel] [Sprint/VZW] [1.2 OC/OV] Bauxite Kernel - 1.2 ghz - 1/22/11 - v1.2 (give me hints)
thanks to supercurio
https://github.com/project-voodoo/linux_sch-i800 (thank to supercurio for Voodoo Sound v6 patch)
thanks to xan
thanks to ytt3r
https://github.com/ytt3r
thanks to netarchy
https://github.com/netarchy
thanks to akent
https://github.com/akent/
thanks to neldar
https://github.com/neldar/
Why?:
I have a Galaxy Tab which provided by NTT Docomo.
NTT Docomo is a cell phone carrier in Japan.
I don't have a euro galaxy tab and others. I have a only japan model.
I have build 1.4GHz OC kernel (include 1.2GHz) for docomo's Galaxy tab .
The OC kernel is faster than default kernel. and it is very stable.
Quadrant score is 3018 (with OCLF).Linpack socre is 19.58.
I hope a lot of people want to use it.
The Quadrant Score is the best record.
usual benchmarks are not very good.
but,anyone can feel quick response,smooth scrolling.
Do you want to set custom voltage values while boot process?
ok, you install busybox to /system/bin/busybox
Boot script uses run-parts command on busybox.
For Developers
Where are patches and .config and initramfs?
main tree:http://koxudaxi.sakura.ne.jp/android
patches:http://koxudaxi.sakura.ne.jp/android/patch/
patch list:http://koxudaxi.sakura.ne.jp/android/patch_list/
initramfs:http://koxudaxi.sakura.ne.jp/android/initramfs/
zImage:http://koxudaxi.sakura.ne.jp/android/zImage/
cwmzip:http://koxudaxi.sakura.ne.jp/android/cwmzip/
config:http://koxudaxi.sakura.ne.jp/android/config/
WTF, you are explode quadrant !!!
ok,could you post the OC kernel?
I could test it on an Euro GT...
koxudaxi said:
Looking for developers!!
Would you please help me to apply this kernel patch ?
I wish that the zImage will be uploaded.
The Kernel patch has 1.2GHz and 1.4GHz clocks tables.
I made The Kernel patch from a few kernel patches(see list).
list:
[Kernel] [EURO] [1.2ghz OC/UV] RFS + EXT4 V6 27/01(give me 1.2GHzUV patch)
ttps://github.com/richardtrip/galaxytab_kernel (The oc kernel need 'use 1.2Ghz 'patch)
[APP+SOURCES!] (09Jan) Voltage Control - control OC/UV for OC kernels (for UV)
[Kernel] [Sprint/VZW] [1.2 OC/OV] Bauxite Kernel - 1.2 ghz - 1/22/11 - v1.2 (give me hints)
Thank wizards!!
Why?
I have a Galaxy Tab which provided by NTT Docomo.
NTT Docomo is a cell phone carrier in Japan.
I don't have a euro galaxy tab and others. I have a only japan model.
I have build 1.4GHz OC kernel (include 1.2GHz) for docomo's Galaxy tab .
The OC kernel is faster than default kernel. and it is very stable.
Quadrant score is 3018 (with OCLF).Linpack socre is 19.58.
twitter account: koxudaxi_en
I hope a lot of people want to use it.
My kernel is include Famous Patches .but the OC_patch does not have other patches.
HZ=300,USER_HZ=150
Build_for_Cortex-a8
Tiny_RCU
BFQ_disk_scheduler
Update_touchscreen
source of EURO OC KERNEL.
The Quadrant Score is the best record.
usual benchmarks are not very good.
but,anyone can feel quick response,smooth scrolling.
Click to expand...
Click to collapse
i dont know what u want to be done, but i think that u want a developer to build a kernel with these patches to get a european zImage?
ill try and report!
thank triplex76
i upload zImage.
i trierd ...euro kernel don't run on my Galaxy Tab.
i guess euro kernel doesn't match a roms.
I haven't gone deep looking into the kernel clock table cause thanks to richardtrip he did an awesome job patching an euro one for 1200 mhz and it works without issues on the older roms (JK familiy firmware) that's what I'm using cause till now I've not found the need to update.everything is absolutely smooth and working as it should and I personally think there is no need to fix something that's not broken...till now I saw that the most of custom roms are somewhat bugged...even the stock newer firmware got some issues ...so I will stay with my modded JK5 until something fully tested will come out.
but i got no problem testing newer stuff I can always go back to my own and that's what I did/do if I don't like it.
thanks Landroid
oh,i think....i'm grateful to many hackers.
And i want to repayment of a kindness.
i will be expecting your work !!
is the zImage u posted for EURO tab?
Thanks for the patch, I was waiting for someone to take a deeper look into the frequency tables as I don't have much skill doing it.
I'll work on one for CDMA at the very least.
i usually use this zImage on japan model.
and many geeks use this zImage in japan.
i don't know that run on euro tab.
koxudaxi said:
i usually use this zImage on japan model.
and many geeks use this zImage in japan.
i don't know that run on euro tab.
Click to expand...
Click to collapse
i have try it on my asia tab , but not working .. orz...
@koxudaxi
works fine on euro Galaxy Tab!
GOOD WORK MAN!
oh, Bauxite.
you look like you good.
you gave me a lot of hint.
you said that about voltage control is very important.
it is very truth. but low voltage can run high clocks.
Important fact is that we have to up 'dvs_arm_voltage_set_1DOT2GHZ tables' to very high voltage.
Landroid said:
@koxudaxi
works fine on euro Galaxy Tab!
GOOD WORK MAN!
Click to expand...
Click to collapse
@Landroid
did you flash this w/ heimdall or odin? What kernel were you running before you flashed this? I have the US T-mobile tab w/ Modaco Kernel and overcome rom. I might give this a try, but I want to see what you are running first before I flash this kernel.
jkurl said:
@Landroid
did you flash this w/ heimdall or odin? What kernel were you running before you flashed this? I have the US T-mobile tab w/ Modaco Kernel and overcome rom. I might give this a try, but I want to see what you are running first before I flash this kernel.
Click to expand...
Click to collapse
u propably cant use this with overcome cause i dont think that this kernel supports EXT4...
i flashed with heimdall from JK5 (still the best rom, in my opinion )
>@koxudaxi
>works fine on euro Galaxy Tab!
>GOOD WORK MAN!
Good job Landroid!!and thank you!!
i will edit the post message.
thanks rayldf!!
oh,sorry i don't understand that can't run on asia tab.
but, roms versions is very importance...
you will run when change to other roms.
koxudaxi said:
>@koxudaxi
>works fine on euro Galaxy Tab!
>GOOD WORK MAN!
Good job Landroid!!and thank you!!
i will edit the post message.
thanks rayldf!!
oh,sorry i don't understand that can't run on asia tab.
but, roms versions is very importance...
you will run when change to other roms.
Click to expand...
Click to collapse
@koxudaxi
Do you know if this supports EXT4? Great job I am hoping to take advantage of you work. I used Bauxite kernel when I had the sprint tab and it worked great for me.
@Landroid
this kernel is include ext3,ext4.
but,I guess I'll have to edit boot init script?!when i want to mount ext3,ext4 Partitions.
sorry, I'm a android beginner.
i bought galaxy tab Last month.
sweet I will be putting this on when it fully confirmed it will work on a EXT4.
@jkurl
i have finished building a zimage.
it can mount ext4 on boot init.rc script.
Please check!!

[Kernel]Cm7/AOSP[2.6.32.40](v2.6.6)MaxOC~1.84GHz,Smartass/UV/BFS/BFQ/SLQB[May-26]

THIS KERNEL IS NOW OBSOLETE. CM7 Nightly 90+ and my Nexus 1.2.5+ require TRUE 2.6.35+ Kernel​
All GB Sense ROMs should use my GB Sense Kernel
All Froyo AOSP ROMs should use my Froyo AOSP Kernel
All Froyo Sense ROMs should use my Froyo Sense Kernel[/b]
Hi XDA members and fellow MT4G users:
This is my SECOND kernel hack. I want to thank Gr8Gorilla, Erasmux, dumfuq and several others I cannot recall for inspiring me to venture into this unfamiliar territory for me.
What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.
​
THIS KERNEL is BASED ON AOSP/CM7 Source Code. So it is COMPATIBLE ONLY WITH AOSP/CM7 Builds.
Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).
MinMax Governor (Battery Saver)
This governor will try to minimize the frequency jumps/changes which cause voltage spikes/changes which supposedly drains more battery life... Supposedly designed to work with SetCPU... so give it a whirl...
SmartAss Governor (Balanced)
This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
Interactive Governor (Performance)
This governor is designed to put more priority to User Interface (UI aka Apps) tasks, therefore appears more responsive then the traditional OnDemand governor. So if you want the smoothest UI interaction, this governor is for you...
Brain F*ck Scheduler - (BFS)
This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).
SLQB - (SLAB allocator with Queue)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...
Fair Budget Queue (BFQ I/O scheduler)
This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.
Installation Instructions:
Here's a step by step instruction to install this kernel:
Warning Version 2.6.3+ is COMPATIBLE ONLY with Android 2.3.4 ROMs such as latest CM7 nightlies, MIUI, RoyalGinger.
All Android version 2.3.3 ROMs such as older versions of CM7 including RC1, RC2, RC3, CM 7.0.1~7.0.3 should use version 2.5.2!
[ FINAL VERSION ]
[ CFS-Smartass ] (Mainline)
The File ==> CM Kernel 2.6.6 CFS Low Voltage #162 <==
The File ==> CM Kernel 2.6.6 CFS Stock Voltage #163 <==
[ BFS-Interactive ] (Enthusiast Edition)
The File ==> CM Kernel 2.6.6 BFS Low Voltage #164 <==
The File ==> CM Kernel 2.6.6 BFS Stock Voltage #165 <==
Low Voltage - Under Volt the processor, therefore uses Less Battery, but NOT ALL CHIPS can handle Under Volt.. If you experience instability, try the Stock Voltage Version.
Stock Voltage - Uses the voltage values from ORIGINAL HTC Kernel Source.
There are NO PERFORMANCE DIFFERENCE between the 2 versions!
[Optional CFS kernel ONLY]
If this is first time you FLASH my kernel or you just recently FLASHED any ROM,
To use my CFS-Tweaks from version xxx, you must FLASH xxx first, then FLASH the latest version.
1. download the above file (via phone directly or to a PC)
2. copy the downloaded zip file to /sdcard/download/
3. Open ROM Manager and select "Reboot into Recovery" and select "OK"
4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
5. Once the script is done, select "reboot system now"
Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth...
NEWS BULLETIN:
Version 2.6.6 is OUT!!!!
This is most likely the FINAL VERSION for this kernel. CM7 is moving to a real 2.6.35+ kernel from very soon. Once that happens, this 2.6.32 kernel will be made obsolete!!!
Please don't hesitate to talk among yourselves and help each other out... The MT4G/XDA community is what inspired me to hack kernels for everyone since everyone here is nice and helpful to each other... Keep helping each other.... Famous proverb: It's better to give than to receive...
BUGS:
[ Android 2.3.4 ROM ]
If you experienced WiFi issue, it means the bcm4329.ko modules was NOT installed properly.
Extract the bcm4329.ko from the same zip file, then
[ with ADB ]
adb push bcm4329.ko /system/lib/modules
[ with Root Exploror ]
1. touch Mount R/W
2. copy bcm4329.ko to /system/lib/modules
3. long press on the bcm4329.ko and select Permissions then check read, write for owner, read for group and read for others, click ok
4. long press again on the bcm4329.ko and select Change Owner, then pick 0-root for owner and pick 0-root for group, click ok
I will investigate to see if I can fix the updater script so this would be done automatically with 2.3.4 ROMs
Not All CHIPS ARE CREATED EQUAL
[NOT REALLY A BUG, when OC'ed, everything is questionable]
Interactive and OnDemand Governors will freeze the phone when the delta / difference between the Max and Min frequency is too large..
Ie, Max 1843MHz~Min 245MHz -- will lock up, but Max 1840MHz and Min 1000MHz will NOT...
TO DO:
version 2.x.x -- Haven't thought about it yet...
History:
See Post below...
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
My Github Complying with GPL
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below
Version History
History:
Version 1.0: (deprecated)
Baseline from CM7 kernel source code
Added OC all the way to 1.8 GHz (drawing Max VDD @ 1400)
Added SmartAss, MinMax Governors
Applied Cache clear routine from HTC Incredible line (better emulator performance)
Under volt (battery savings) frequencies below 902400 Hz (up to -100 mVolts)
Added more intermediate Overclock frequencies (all the way to 1.84 GHz for you brave souls )
Increased Bluetooth Volume Gains and Handset Volume Gains
Added BFS and SLQB technology (see above)
Tweaked SmartAss governor slightly
Made built-in BFQ I/O scheduler as default I/O scheduler (see above)
Version 1.1.0: (deprecated)
Adjusted SmartAss to use the same adjustments as my Sense Kernel (This will further help prolonging battery life)
Updated CM7 CPU freq table to be the same as my Sense Kernel (added 1 more low CPU frequency @ 537600 KHz, to help battery life)
Version 1.2.0: (deprecated)
Adjusted SmartAss to use the same adjustments as my Sense Kernel (reduced Sampling time to 33ms for super smooth response)
Version 1.3.0: (deprecated)
Added my Sense Interactive and OnDemand Governors to CM line
Version 2.0.0: (deprecated)
Updated CPU Frequency/Voltage Table from my Sense ROM (includes the new 536 MHz clock for use with "SmarterAss Governor")
Updated Touch Panel Driver from my Sense ROM (Touch of Silk feeling, aka, Finger Porn)
Updated Sound Driver from my Sense ROM
Updated Bluetooth Driver from my Sense ROM
Updated Camera Driver from my Sense ROM
Updated Keyboard Driver from my Sense ROM
Updated Optical Joystick Driver from my Sense ROM
Updated Battery Driver from my Sense ROM
Version 2.0.2: (deprecated)
Updated WiFi driver
Updated General TCP/IP networking stack
Updated USB driver (not easy)
Compiler optimized for Neon FPU and ARM7 architecture
Version 2.0.3: (deprecated)
Updated Video Driver from EVO Shift 4G
Adjusted DMA Engine to work with CFS
Version 2.0.4: (deprecated)
Updated core Kernel version from 2.6.32.28 to 2.6.32.31 (some bug fixes and performances boost)
Added CIFS (read bulletin for details)
Version 2.0.5: (deprecated)
Corrected Kernel Version to indicate 2.6.32.31
Updated File System Components including Core, NFS and EXT3
Updated Crypto Kernel Component
Added UTF-8 support to show special characters to work with CIFS
Version 2.0.6: (deprecated)
Fixed WiFi error related to county code due to coding error (late night coding is bad )
Version 2.1.0: (deprecated)
Updated core Kernel version from 2.6.32.31 to 2.6.32.32 (Speedy Edition)
Version 2.1.2: (deprecated)
Maintenance release: Fixed minor errors in power management driver and video driver
Revert back from RWSEM_XCHGADD_ALGORITHM to GENERIC_SPIN_LOCK
Version 2.1.2.1: (deprecated)
Fixed screen tearing issue (coding error in private memory flush routine leads to screen tearing)
Version 2.1.4: (deprecated)
Updated Core Linux Kernel from 2.6.32.32 to 26.6.32.33
Fixed few issues in CFS
Updated WiFi driver
Updated I2C driver
Revert back to CM7 OnDemand and Interactive Governors
Updated SmartAss Governor
Added CGroup Freeze/Unfreeze control
Fixed potential stack overflow in BunZip2
Updated with latest base CM7 kernel changes
Version 2.1.5: (deprecated)
Cleaned up all remaining issues in CFS
Updated OnDemand Governor
Updated bunzip2 again
Updated G-Sensor Driver
Updated Compass Driver
Updated KeyReset Code for Inputs
Updated SDCard Driver
Version 2.1.6: (deprecated)
Fixed bugs in Speaker Amp and G-Sensor drivers which prevents screen rotation under certain conditions found by user [MadWolf27] MAJOR PROPS to him!!!
Version 2.2.0: (deprecated)
Updated Video Driver (openVG) per CM7 Changes (Now compatible with Nightly Build 29+)
Version 2.3.0: (deprecated)
Updated Core Linux Kernel from 2.6.32.33 to 2.6.32.34
Updated GPU code from latest HTC Incredible S Kernel (same as CM7 GPU updates)
Added native FUSE (file system in user space) per CM7 changes
Adjusted kernel compile configurations per CM7 changes
Version 2.4.2: (deprecated)
Updated Core Linux Kernel from 2.6.32.34 to 2.6.32.36
Updated kernel to latest HTC WiFi Driver from HTC Incredible S Kernel Source
Included the latest HTC WiFi Firmware from HTC Desire Z (leaked)
Added native CIFS+UTF-8 directly into kernel (CM7 kernel added CIFS+UTF-8 just 5 days ago, we had it for weeks). No more need for .ko files.
Fixed a minor mismatch bug in MMC driver
Revert back to my Old Interactive and OnDemand Governors
Adjusted CPU Voltage Tables again ONLY for LOW VOLTAGE versions.
Version 2.4.3: (deprecated)
Reverted Back to CM7 WiFi Driver to fix WiFi AP issue
Version 2.4.4: (deprecated)
Fixed bugs in Speaker Amp and G-Sensor drivers which prevents screen rotation under certain conditions found by user [MadWolf27] MAJOR PROPS to him!!!
Version 2.4.8: (deprecated)
Updated Headphone driver from HTC Thunderbolt kernel
Updated GPIO driver from HTC Thunderbolt kernel
Updated Battery Driver from HTC Thunderbolt kernel
Updated LED Driver from HTC Thunderbolt kernel
Updated Power Driver from HTC Thunderbolt kernel
Updated SPI Master Driver from HTC Thunderbolt kernel
Updated MMC/SD Driver from HTC Thunderbolt kernel
Updated USB Dock Driver from HTC Thunderbolt kernel
Applied CodeAuroraForum (CAF) Wake_Lock patches to new 2D/3D drivers to improve power management when Video is waiting for I/O to complete (save more JUICE!!!!)
Adjusted CPU Freq Table changed 536 MHz to 576 Mhz from using PLL_2 to PLL_3 (PLL2 reserved exclusively for OC)
Adjusted Smartass Governor's Max_Sleep_Freq to reflect CPU Freq Table change 536->576MHz
Fixed a couple issues in WiFi driver
Removed All Debugging code [boost performance]
BFS scheduler is BACK! [Enthusiast Versions]
Compiled with newer toolchain from 4.4.0 to 4.4.3 [more optimizations = better performance]
Version 2.5.0: (deprecated)
Patched Core Linux Version from .36 to .38
Patched BFS version from 3.3.0 to 3.6.3 (latest stable release of BFS)
Fixed minor Bluetooth driver error
Fixed minor Touch Screen driver error related to wireless charging update from before
Fixed minor issues in Camera Drivers (front and back)
Fixed minor issues in LED drivers
Fixed minor issue in Voice Processor Driver
Removed unnecessary / unused drivers
Version 2.5.1: (deprecated)
Updated PPP network driver (used by VPN)
Updated WiFi driver related to Address Resolution Protocol (ARP) offloading
Updated with Zinx's latest Video Frame Buffer Fix specifically for Glacier (should fix video playing while screen is off, hard lockup issue)
Version 2.5.2: (Long Term Stable Release For GB 2.3.3 ROMs)
The File ==> CM Kernel 2.5.2 CFS Low Voltage #137 <==
The File ==> CM Kernel 2.5.2 CFS Stock Voltage #138 <==
The File ==> CM Kernel 2.5.2 BFS Low Voltage #135 <==
The File ==> CM Kernel 2.5.2 BFS Stock Voltage #136 <==
Updated Core Kernel from .38 to .39
Updated the Light Sensor Value from Zinx
Version 2.6.1: (deprecated, AOSP 2.3.4)
Updated WiFi Driver with latest CM7 patches
Updated USB Driver with latest CM7 patches
Updated MDP (video) Driver with latest CM7 patches
Added USB Accessories Support for AOSP 2.3.4_r1
Version 2.6.3: (deprecated, AOSP 2.3.4)
Added Native GB HTC Kineto_Gan Support directly via kineto_gan.ko
Removed CM7's gan_eth Froyo WiFi Calling Hack
Version 2.6.5: (deprecated, AOSP 2.3.4)
Patched core kernel to .40 from .39
Re-adjusted Voltage table based on HTC's 2.6.35 kernel source for LV and SV
Adjusted SmartAss Governor Ramp Up/Down steps
Default Speed now set at 1.2 GHz
Applied USB Battery Drain patch
Removed more unnecessary drivers
Version 2.6.6: (Current, AOSP 2.3.4)
Revert SmartAss Tweaks back to 2.6.3
Revert AudioDSP drivers back to 2.6.3
Default Speed now set at 1.1 GHz
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below
Reserved 2 Just in case
Downloading...
Sent from my HTC Glacier using XDA App
163 kb???
Sent from my HTC Glacier using XDA App
verysick said:
163 kb???
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Your download is corrupt re dl it the file should be over 3 MB
Sent from my HTC Glacier using XDA App
verysick said:
163 kb???
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
The file is 3.4 MB. Try downloading again.
Everything looking good, thanks.
will try now
Wow is seem more faster than before and Apps works fine.
Sent from my HTC Glacier using XDA App
Had to try bout 6 times to get the 3.44mb \m/ just hit 4th place on linpack
Sent from my HTC Glacier using XDA App
feliciepr7 said:
Wow is seem more faster than before and Apps works fine.
Cool! I put lots of new technologies into this kernel from my Sense Kernels and I was afraid of it not working at all since I was unable to test it myself... I am happy that you guys like it. Please test the heck out of it and report any errors on my thread... now try your best to beat my Sense Kernel Users high scores in synthetic benchmarks..
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Sent from my HTC Glacier using XDA App
Faux123 is this the same version (1.0b) that you posted in the cm7 rc thread? (with a promise of NO SUPPORT) thanks for this, it's fun to play with. Only really stable on my silicon to 1700 with smartass gov. Keep up the good work!
Sent from my HTC Glacier using XDA App
I have a??? If I update from my current version of rom v. 2.0 to the new one, do i have to flash it again the kernel?
Sent from my HTC Glacier using Nexus S 2.0 and XDA App.
feliciepr7 said:
I have a??? If I update from my current version of rom v. 2.0 to the new one, do i have to flash it again the kernel?
Sent from my HTC Glacier using Nexus S 2.0 and XDA App.
Click to expand...
Click to collapse
Yes, if you are running jaywans new release, that should be compatable since it's basically a modified cm7. Nandroid flash and find out.
Sent from my HTC Glacier using XDA App
After flashing this kernel I noticed GPS doesn't lock anymore..anyone else have this problem?
Sent from my HTC Glacier using XDA App
I'm having problems getting the (H) signal
Sent from my HTC Glacier using XDA App
verysick said:
I'm having problems getting the (H) signal
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
I'm getting H ..did you wipe cache before flashing?
Sent from my HTC Glacier using XDA App
I am getting H too, no problem yet.
Sent from my HTC Glacier using Nexus S 2.0 and XDA App.
feliciepr7 said:
I am getting H too, no problem yet.
Sent from my HTC Glacier using Nexus S 2.0 and XDA App.
Click to expand...
Click to collapse
¿ y en Barceloneta hay H ? No pense que llegara hasta aya.
I did not know that H got to his location.

[05-Nov-2011][Kernel][GB][P1000L/N] Ronan's Gingerbread Kernel

Hi fellows!
As some of you have seen in Humberto's P1000L/N Gingerbread thread, I'm building a Gingerbread kernel for these devices.
At the beginning, I thought that I'll just port the Overcome kernel to ours devices and I'll never touch on these files again.
But it turns out that it shouldn't be like that. So, to avoid mess with Humberto's thread, I decided to begin a new one.
Here are the current features of my Kernel, which was initially based on Overcome v3.3.1 kernel:
Main Features of latest stable version (20111029)
Kernel 2.6.35.14
Lagfree governor
Smoothass governor
SmartassV2 governor
BFQ IO scheduler version 2 (revision 1)
Conservative, Ondemand, Performance, Powersave, and Userspace governors from 3.1 kernel tree
Built with 2011.03 toolchain
TV SUPPORT (P1000L only)! (it is available if you flash the recently leaked P1000L gingerbread version: http://forum.xda-developers.com/showpost.php?p=17993125&postcount=355)
10-points multitouch driver
File Systems support: RFS/EXT{2,3,4}
Overclock (@1.6GHz) with these steps: 1.6ghz, 1.5ghz, 1.4ghz, 1.3ghz, 1.2ghz, 1ghz, 800mhz, 600mhz, 400mhz, 200mhz, 100mhz
Undervoltage
Touchscreen Undervolted (from 3.3V to 2.1V)
RAM Undervolted (1.8V to 1.7V)
ADC Unvervolted (3.3V to 3.0V)
Voodoo Sound v10
Built in CIFS/TUN/SlowWork support
Stochastic Fair Blue (SFB) Network Scheduler
V(R) Schedule, but SIO set as default.
Autogroup Scheduler
Asynchronous I/O Enabled (AIO)
Backlight Notifications
Humberos' Initramfs 20111102
Features that needed to be test (I'll appreciate any help):
BLN has problems
I'll appreciate any help or feedback!!
Link for download the latest stable version:
http://www.mediafire.com/?9ug8n71vgc5ik7u
md5sum zImage
0fce8943c0b950c05e0d5163cf662460 zImage
Source code:
https://github.com/ronisbr/GT-P1000LN-GB-Kernel
I would like to thanks:
The Overcome project
jdkoreclipse
koxudaxi
Humberos
Thanks,
Ronan
Changelog
20111105 UNSTABLE (http://www.mediafire.com/?13g5330zs209qn1)
md5sum zImage
21248e6f24a54a99947b248c33cad7b2 zImage
This is an UNSTABLE kernel, and we are expecting some functionality breakage! Again, some patches that I applied hasn't been tested in any other GT kernel yet...
Use tiny-shmem instead of full shmem implementation
Tiny shmem is an alternative implementation of shmem filesystem that uses RAMFS code instead TMPFS. It should be suitable for small system which doesn't have swap and doesn't need the advanced features that the full implementation has, e.g. the size limit control. By removing these unnecessary features, tiny-shmem should increase the performance.
For Galaxy TAB, swap isn't used and size limit isn't a necessary feature, so tiny-shmem should work well.
But it is just my guess! I really need help to test it...
Many performance tweaks in low killer memory
It should make memory manager better.
Enable CPU-supported unaligned access
Enable the option CONFIG_ALLOW_CPU_ALIGNMENT, since the Galaxy Tab P1000 has a Cortex-A8 based CPU.
Advanced ARM processors, such as the Cortex series and ARMv7-based CPUS are capable of performing unaligned accesses for many types of memory accesses. Typically, using a cpu-based alignment fixup is faster than doing such a fixup in software. For best performance on advanced CPUs.​
20111029 STABLE (http://www.mediafire.com/?9ug8n71vgc5ik7u)
This version was made stable on 05-Nov-2011, since there weren't any bug reports.
md5sum zImage
0fce8943c0b950c05e0d5163cf662460 zImage
At this point, I decided to add more aggressive updates in my kernel.
I have searched the others gingerbread kernels for devices like GT to verify if there is anything that can be used here.
Conclusion: I found tons of things that can make our experience and overall stability better.
For this first time, I just added some of them and I'm willing you to test it and report anything weird that you find.
Update initramfs from Humberto's kernel
Update initramfs from Humberto's kernel. It now has:
- CwM recovery v5.1.2.6
- New su binary v3.0
Thanks to Humberos
Erase memory pages when they are freed
Should improve memory handle.
Thanks to renaudallard.
net: wireless: bcm4329: compile wifi driver with Os flag
Add -Os GCC optimization flag to compile wifi driver.
This approach was used in Galaxy S kernel, so it should be fine
in GT-P1000 also.
Thanks to zachariasmaladroit.
ashmem improvements
ashmem: fix deadlock when system is low on memory
ashmem: Add cache flush routines to ashmem (zachariasmaladroit)
cpuidle: menu: fixed wrapping timers at 4.294 seconds
If everything goes fine, I'm planning to add more and more patches at each update.
This way, it would be much easier to track possible regressions.​
20111026 (http://www.mediafire.com/?7fv630kp5bu15ev)
Using 2011.03 toolchain again
It turns out that the problems regarding random reboots with 2011.03 toolchain is being caused by samsung modemctl driver. For some reason, it isn't compatible with the newer toolchain, so the solution was avoid the driver building and use a binary version that was built with 2009q03 toolchain.
After this, the new kernel built with 2011.03 toolchain doesn't appear to have the random reboots and problems of the old version.
Thanks to alterbridge86 and chib_cr!​
20111025 (http://www.mediafire.com/?931h2ev795faztf)
Revert to 2009q3 toolchain
When the kernel was built with 2011.03 toolchain, some users are having random reboots, e.g. when the USB was plugged the TAB rebooted.
Thanks chib_cr!​
20111024 (http://www.mediafire.com/?o8be3gs8dfb609u)
I want to thanks alterbridge86 and the Overcome project. Basically, every change was taken from his tree.
Tweak IO schedulers for flash based devices
Should bring some improvements.
ARM: dma-mapping: free allocated page if unable to map (Russell King)
Should kill some process getting stuck and holding the CPU from entering deep sleep, which result in battery drain.
Update smartass governor to version 2 (erasmux)
New version of smartass governor.
Tweak touchscreen sensitivity
Touchscreen sensitivity is improved.
Add compatibility for 2011.03 toolchain
This kernel is being built with 2011.03 toolchain, which should bring some improvements.
Update BFQ IO scheduler to version 2 (revision 1)
Thanks to koxudaxi​
20111006 (http://www.mediafire.com/?ahqucc9h5vwgo8j)
Don't check module magic (by Koxudaxi)
This fix some boot loop issues after build the kernel under certain conditions.
Set Kernel version to 2.6.35.14
It turns out that Overcome kernel has already applied all kernel's patches up to 2.6.35.14, so the correct version was set in Makefile.​
20111005 (http://www.mediafire.com/?zm5t2w82feqtjuy)
Change RAM voltage from 1.8V to 1.7V
Fix BLN
Although, it still has issues.
Change ADC voltage from 3.3V to 3.0V
Change LCD voltage from 3.3V to 2.1V
10-points multitouch driver
samsung_modemctl is being built now
Overcome kernel is using a pre-built samsung_modemctl driver, because it is avoiding kernel to be built correctly. Here, this issue doesn't happen, so this change was reverted.​
20110923 (http://www.mediafire.com/?2e0565sc1sgqmqr)
Update governors set from 3.1 kernel tree
The following governors were updated using Linux 3.1 kernel
tree:
Conservative
Ondemand
Performance
Powersave
Userspace
​
20110916 (http://www.mediafire.com/?98y1xe2hhu1mrtr)
Added lagfree governor
Thanks to jdkoreclipse.
Added smoothass governor
Thanks to jdkoreclipse.​
20110909 (http://www.mediafire.com/?92d7sz9e7niuz2z)
Initial commit
Overcome Gingerbread Kernel v3.3.1 with Samsung's
P1000L/N Gingerbread Kernel patches.​
Reserved......
Downloading...
I'll give it a try!
chib_cr said:
Downloading...
I'll give it a try!
Click to expand...
Click to collapse
Thanks
Tell me what do you think (remember it is a Gingerbread kernel for P1000L/N devices!).
I'm looking for feedback, specially about the new governors...
Works great!
Can't set clock to 1600 Mhz (freezes), but at 1500Mhz it scores 2505 on Quadrant!!
So far smoothass working well...
Tested for about 10 min, so can't tell you much...
BTW: I',m running stock 2.3.3
Install
How to install this file to tab?
Spyma said:
How to install this file to tab?
Click to expand...
Click to collapse
If you have a P1000L/N tab with Gingerbread, you just need to restart it in download mode, unzip the file, and flash with heimdall:
heimdall flash --kernel zImage
But BE CAREFUL, if you don't know what you are doing, you can brick your tab!
ok thanks.
Just for your information, I have just build a kernel with swap support.
To test it, I created a swap partition on my sdcard.
It is working. Although, I haven't seen any improvements...
When I open too many programs (like 8), android memory manager still force-kill the apps, while I'm expecting that the programs should be transfer to swap memory and, just when it is full, that a program should be force killed.
Well, if anyone wants, I can upload a kernel with swap support, but, at this time, I think it is useless...
Ronis_BR said:
If you have a P1000L/N tab
Click to expand...
Click to collapse
I tried to find out the different models and how they equate to one another but Google sends me to everything but which is which model. I have according to my devices "about" a GT-P1000. But, how do I know which model is the L or N? Just to give you more info, I am using the T-Mobile flavor with the modem swap program with Kratos currently flashed.
Hi fellow,
P1000L/N are latin model, if you are using Overcome Kratos with default kernel, you probably have a P1000 device and my kernel isn't compatible.
But you can check it under configurations / about ... (the last menu option), it should have as model number GT-P1000.
Thanks,
Ronan
Hi fellows!!
I have just tested the recently leaked gingerbread version with my kernel and everything is working flawlessly, including TV!
I'll post more details...
Ronan
Ronis_BR said:
Hi fellows!!
I have just tested the recently leaked gingerbread version with my kernel and everything is working flawlessly, including TV!
I'll post more details...
Ronan
Click to expand...
Click to collapse
A leaked GB version for L/N or just L?
If it has TV support I think it is for the L version. But which is the GB version? 2.3.3, 2.3.4 or 2.3.5?
If ti is something better than 2.3.4 I'll try it on my P1000N.
hi could you post de tv app?
davioxx said:
hi could you post de tv app?
Click to expand...
Click to collapse
Just the TV app won't work. You will need the entire ROM and P1000L model.
santroph said:
A leaked GB version for L/N or just L?
If it has TV support I think it is for the L version. But which is the GB version? 2.3.3, 2.3.4 or 2.3.5?
If ti is something better than 2.3.4 I'll try it on my P1000N.
Click to expand...
Click to collapse
No, it is 2.3.3. Basically, it is P1000N version with TV support Nothing more...
Which voltage settings are you guys using ?
Sent from my GT-P1000L using xda premium
Tks, Ronis. Running your kernel for a few days now, all good. Using smoothass, smartass and lagfree, up to 1300 stable, -50mV on 1300 and -25 on the rest.
Cheers.
- Tapatalk - SGT-P1000N - Overcome Kratos -
Running this kernel as well, no issues so far! Thanks!
Sent from my GT-P1000L using Tapatalk

[KERNEL] [GCC4.8] ThunderKat Kernel | Android 4.4.4 | Nexus 10 | 2014/08/24

Donning a new name in favour of the new delicious version of Android... Welcome to the ThunderKat Project!!
Heavily based of my Flaming Monkey kernel configurations and the stock AOSP kernel source, here's my standalone kernel for the Nexus 10. I will maintain this independently.
It will always remain close to the AOSP exynos kernel for manta (Nexus 10) with a few useful tweaks and additions, but will not have any OC/UV, colour controls and any advanced customisation options. It is a stable kernel and will not have frequent updates.
This kernel uses the AnyKernel method and is ROM independent. I have tested this on 4.4 (Stock & AOSP) based ROMs.
Features:
1. Linux Kernel 3.4.39.
2. Based on AOSP KitKat MR1 kernel source for exynos/manta.
3. Built using the Google ARM GCC 4.8 toolchain with -O3 CFLAGS & AFLAGS optimisations & ARM Cortex A15 build optimisations.
4. Enabled Conservative & Powersave CPU frequency governors (in addition to Interactive, Performance & Userspace). Interactive set as default.
5. Preserve correct sysfs permissions on governor change.
6. KSM (Kernel Samepage Merging) support.
7. NTFS, F2FS, EXT4 xattr (extended attributes) support.
8. Networked file systems support (NFS V3, NFS V4 & CIFS).
9. HIDRAW support (supports non-conformant HID devices).
10. Support for more input devices (keyboards, mice & joysticks) including Logitech Unifying devices.
11. Support for USB serial modems (PPPOE).
12. Support for multi-card readers (multi-lun devices). This allows you to mount multiple cards using a multi-card reader. May need an app like StickMount. (Credit @nvertigo67)
13. Removed SWAP support.
14. Removed some un-needed debugging.
15. Increased thermal throttle limits
16. Scalable CPU frequencies
Changelog [2014/08/24]:
1. Built using Graphite optimized GCC4.8 toolchain
2. Added ROW & SIO I/O schedulers
3. Set ROW as default I/O scheduler
4. Upstream F2FS changes
5. Miscellaneous I/O improvements
Changelog [2014/06/05]:
1. Update to AOSP 4.4.3 kernel source (kitkat-mr2)
2. Added F2FS filesystem support
Changelog [2013/12/15]:
1. Update to AOSP 4.4.1/4.4.2 kernel source (kitkat-mr1)
Changelog [2013/11/21]:
1. Initial release
Information:
1. Flash using a custom recovery (TWRP/CWM).
2. This kernel is ROM independent and uses the AnyKernel method. Hence it uses the current ramdisk. You may have issues if this is flashed after a kernel with a custom ramdisk. If so, reflash your ROM and then flash this kernel.
3. Needs an unlocked bootloader.
4. Make sure you have at least 50% battery charge before flashing this.
Download:
ThunderKatKernel-4.4.4-20140824 (AndroidFileHost)
ThunderKatKernel-4.4.4-20140824 (Goo.im)
Archive (4.4.x) - (AndroidFileHost)
Archive (4.4.x) - (Goo.im)
Archive (4.3.x) - Unsupported
Archive (4.2.x) - Unsupported
Source:
GitHub
Disclaimer:
While I have extensively tested this and even though it is heavily based on the AOSP kernel, you may encounter issues. I will try to help you, but I will not take any responsibility if anything goes wrong. Please exercise caution.
Credits:
Google, Samsung, CM, AOKP, PA, ktoonsez, morfic, franciscofranco, Goo.im, AndroidFileHost
Reserved. Just in case
craigacgomez said:
Reserved. Just in case
Click to expand...
Click to collapse
Very cool! I will be trying this tomorrow, will have time to play with it. Nice to see KSM in it.
Nicely done. I'm running your kernel as we speak--snappy, snappy! No issues so far. :good:
Only thing left to do now is give it a catchy name like: "The CRAIGINATOR"
Wow, great news, thanks craig!
brGabriel said:
Nicely done. I'm running your kernel as we speak--snappy, snappy! No issues so far. :good:
Only thing left to do now is give it a catchy name like: "The CRAIGINATOR"
Click to expand...
Click to collapse
Thanks...and yes, I will be renaming my ROM and kernel to something more... well, appealing... when I restart the ROM project...
Once I'm at 50% I'll be all over this like a rash
Sent from my Nexus 10 using xda premium
Great job, runs great! Only issue is it defaults to cfq scheduler on boot even when I have it set to run deadline.
More of a preference than an issue.
This kernel is really good, I was very impressed by your previous Rom and look forward to the new Rom you said will be released later in the year (hopefully!). Your hard work is much appreciated. Using your kernel with Carbon Rom right now and it seems very stable.
Sent from my Nexus 10 using XDA Premium HD app
Yep, snappy, snappy!
Sent from my Nexus 10 using Tapatalk HD
this kernel works best on my N10. no reboot, no SOD and no battery drain.
my tablet is 10 days up without a single problem or recharge! :good:
i hope it will be continued in the future!
Yes, I will continue supporting this kernel... though there will not be many updates... the aim to to remain close to AOSP, yet provide some useful tweaks and additions... I will be building a newer version soon (having problems with the cross compiler on my work laptop, else I would have done it today)...
Hi!
Can I flash this kernel to the stock ROM?
And revert back when new android version comes out to OTA update?
Thank you
teodor_ch said:
Hi!
Can I flash this kernel to the stock ROM?
And revert back when new android version comes out to OTA update?
Thank you
Click to expand...
Click to collapse
Yes, this will work fine on stock...and you can easily revert back using the boot.img from the factory images provided by Google...
Updated release in OP...
Does this have the latest wifi and or gpu drivers? I know wifi drivers are kernel level, not sure about the gpu though. Anyways, its a very nice and smooth kernel. It's been a baron wasteland in mantaland. I guess Google didn't sell many of these.
I just installed the kernel, very smooth, I was having shutdowns on Trinity latest and RootBox. Hopefully is not a ROM problem and this kernel fixes it, I really like RootBox.
Thanks for the awesome work and support.
Erik
situman said:
Does this have the latest wifi and or gpu drivers? I know wifi drivers are kernel level, not sure about the gpu though. Anyways, its a very nice and smooth kernel. It's been a baron wasteland in mantaland. I guess Google didn't sell many of these.
Click to expand...
Click to collapse
I have yet to incorporate the updated wifi and gpu kernel level drivers... I will be working on these soon...
Anyone here with sufficient kernel knowledge to merge the updated mali graphics drivers (http://malideveloper.arm.com/develo...n-source-mali-t6xx-gpu-kernel-device-drivers/)... There are a few updates that are beyond my kernel & C/C++ capabilities... like osk has been replaced by kbase... Please PM me if you can help!! Thanks!
Great work on this kernel! First time reaching 9 hours on screen time. Paired with Mr Robinson AOKP.

[Kernel][TW][AOSP][KK][JB]MaxFour GT-I9500 (5410)[v14]

The first time I made AdaMax was for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
This week, i successed compiling for the s4 with 5410 cpu. As we know GT-I9500, GT-I9502 and SCH-I959. They share almost same compiling configure and their own ramdisk. So I compile them together with almost same features.
At last, I have to make following declarations, AGAIN:
Take your own risk and responsibility on flashing this kernel. I am not responsibale for any loss of your hardware, software, data or warranty.
Read this OP from start to finish before flashing the packages or asking any questions. There is a Q&A section. Any questions already answered will be ignored by me and may be insulted by other members. So save your your keyboard, your time and your data traffic.
No ETAs.
Don't ask me to make this kernel for a specific rom. There are basically only two kinds of roms, AOSP and TouchWiz. So I compile for these two kinds with differnet SDK levels. If it dose not work on some rom, don't blame me and ask me to adapt the rom for it.
If you found a new version, but its download link is not directly showed in this OP, that means it is a version I don't think good enough to be a release. So take your own risk to use it. I will remember your feedback, try to make changes, but not respond with posts.
Thanks to a lot of people, I will add their names here... @wanam, [email protected], @Dees_Troy and Team Win, @AndreiLux
As my habit, I always put the download link first:
v15: https://github.com/maxfu/android_kernel_samsung_exynos5410/releases/tag/v15-9500
File name instruction:
touchwiz: for most used international GT-I9500 with exynos5410 cpu.
aosp: for AOSP KitKat 4.4 roms like CM, ramdisk comes from CM 11
kk442: kernel for KitKat 4.4.2
jb43: kernel for Jelly Bean 4.3
jb442: kernel for Jelly Bean 4.2.2
lite: live version is built with stock zImage and maxfour initrd. It has limited maxfour features. And sometimes selinux f**ks up the STweaks.
boot: system kernel package
recovery: recovery kernel package
kernel: system + recovery combined kernel package
*.tar/*.tar.md5: Odin package
*.zip: CWM/TWRP recovery package
example.1: boot-i9500-aosp kk442-v10f1tc.zip means a system kernel image CWM/TWRP flashable package for international I9500 with TouchWiz KitKat 4.4.2 roms.
example.2: kernel-i9500-aosp-kk442-v10f1tc.tar.md5 means a system recovery combined odin package for international I9500 with AOSP roms like CM.
Old versions:
v14: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v14/GT-I9500/
v13: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v13/GT-I9500/
v12: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v12/GT-I9500/
v11: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v11/GT-I9500/
v10f1: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v10f1/GT-I9500/
You can always go to the following addresses to see whether there is a new version:
https://github.com/maxfu/android_kernel_samsung_exynos5410/wiki
https://github.com/maxfu/android_kernel_samsung_exynos5410/releases
I open the issue section for the source code, you can report problems here. Please provide at least version aosp/touchwiz jb/kk.
https://github.com/maxfu/android_kernel_samsung_exynos5410/issues/new
The source code:
You can
git clone https://github.com/maxfu/android_kernel_samsung_exynos5410.git
git clone https://github.com/maxfu/initramfs_samsung_galaxy_s4.git
git clone https://github.com/maxfu/toolchains.git
use the build.sh for exynos in toolchains/script ro build the kernel.
you need to su before build the kernel cause the ramdisk belongs to root.
Since this is a side product of my kernel for GT-I9502 which is the phone I am currently using. I don't actually test this build for GT-I9500, so I really need feedback. And please backup your rom before using this.
Features:
Built with OSRC KK 4.4 source and ramdisk, now it should work on many 4.4 roms.
Contains most features from Adam kernel including Wolfson Audio Control. For I9502 which uses yamaha sound chip, Wolfson Audio Control will be hidden automatically since it does not work.
From v10, the kernel is renamed to MaxFour due to wamam's request.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format to make smaller images.
Native exfat support based on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores. Frequencies over stock like 1.7GHz for big cores and 1.3G for little cores are implemented in tc*/overclock version.
Added more STweaks settings which are not included in Adam kernel, including CPU power management, Tools with reboot options, GPU settings, CPU governor.
Android logger is compiled as standanlone module, so user can disable it completely to save power.
Tc/overclock version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Built-in Seeder entropy generator to provide lag reduction although it is not significant as it was on Gingerbread.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Built-in Asynchronous Fsync
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting, selinux will be set to permissive with the boot command line.
init.d support.
A lot of changes and fixes.
Disabled a lot of rarely used devices support.
PS:
*1. TC means turbocharged, so it is overclock
Change Log:
v15:
Rebuild with GT-I9502 CHN KK Opensource from OSRC.
Upgrade KSM (Kernel Samepage Merging) to uksm (Ultra KSM) which has Super quiet CPU usage, Ultra scan speed and High CPU efficiency.
Support init.d.
Lower CPU frequencies presented in previous versions, voltage options coming soon.
GPU tweak presented in previous versions.
STweaks cueerntly unsupported, coming soon.
mDNIe and Sound Control coming soon.
AOSP support coming soon.
v14:
Upgrade kernel to 3.4.10
Implement AES-ARM and SHA1-ARM crypto algorithm
Rollback selinux related script to v11
v13:
Rebuilt source tree from HNC6 source.
Most features kept
INT, MIF, MEMIO settings removed, these should not be touched
Should be much better than v12
Fixed video bug for AOSP, I think it is fixed
Upgraded AOSP initramfs, may fix the modem/signal problem
Set ro.secure and ro.adb.secure to 0
Camera lag? Less.
Upgraded busybox
v12:
I don't want to talk about it, this version is totally a rubbish
v11:
STweaks: Added Chinese UI, works on Chinese system, when the language is set to other ones, English UI will show. An templete is provided for more translations.
STweaks: Added boost mode in the Misc tab. The boost mode is found when the news of Samsung cheating on benchmark softwares came out. When a benchmark software is detacted running, the boost mode will be on to allow higher temprature and faster CPU scaling. Simply turn on this mode will not provide any visable change, it should be used with CPU, GPU, INT, MIF clock operations.
STweaks: Added control for Internal, Memory Interface and Memory I/O.
STweaks: Added a button to switch the USB mode to Mass Storage Mode, which is classical mode before GingerBread got out dated.
STweaks: Added a CPU wake lock switch.
STweaks: Added instructiuon of Sound Control being not available on models other than I9500.
STweaks: Added instruction of GPU voltage control being not available on non-tc versions.
Kernel: Added a odin mode. Now we can reboot to download mode with "adb reboot odin". The original commands still work.
v10f1:
initial build for XDA users.
Q&A:
I did not reserve a post for this section, so I will put the Q&A here in the OP.
Q: Which package should I use? A: boot is what you need. recovery is just a side product.
Q: Which version I should use? A: Please the "File name instruction" section in the OP, you will find the answer.
Q: Do I need to wipe the data after I flash? A: Well I don't think you need, but due to some report, wiping data can solve certain problems after flashing this kernel. So whatever you like, please backup data before you flash or wipe.
Q: Which rom does this kernel support? A: I can't tell, please refer to the File name instruction section, if you rom is not mentioned there, it is not supported?
Q: Does this support MIUI? A: Official MIUI is based on touchwiz 4.2.2. So please refer to Q2,3,4.
Q: There is no OC in tc version. A: In the init.rc there is a script limiting the CPU frequency to 1.6GHz, so you should use STweaks to unlock it. Please open /sys/devices/system/cpu/cpu0/cpufreq/UV_uV_table, if there is 2000 1900 1800 and 1700, then there is OC, just unlock it.
Q: Some app FC? A: Usually FCs are not due to the kernel, check the rom first, and settings etc, the kernel should be the last reason, cause it just provide the bridge between the system hal and hardware. Report the fc, I will take a look, but I can not say I can fix it.
Q: Battery life? A: It is due to your habit, just like driving a car, a Toyota Prius can use 10L gas if driven by somebody like Michael Schumacher. As my test, due to my habit with non tc version, it is better than stock.
Q: Do I need STweaks to run the kernel? A: The kernel can run without it, but with it you can have more options.
Q: STweaks shows "unextected error"? A: This situation usually happens at the first time STweaks starts, it is OK. Just go on using STweaks.
Q: STweaks FCs. A: Well this sometimes is due to the kernel, sometimes. Here is something you can do: Wipe the STweaks' data, remove /data/.maxfour and /data/.adamax, check the superuser software and give STweaks root access. And yes you need root access. At last, use normal version.
Q: Auto root? A: Use the CWM zip package. And I would take it out soon. Sometimes it breaks root.
Q: Not actually auto-root with v13? A: Yes, v13 will put a wizard like app which will lead you download SuperSU, only when your rom is not rooted.
Q: Conservative governor stock at certain frequency? A: Don't use it, only ondemand governor is optimized for 5410 with big.little cores.
Q: Can you add something? You must do something? Please do something? A: I take advice, but not demand. The reason is simple: I make this kernel due to my interests, not purchase orders. I am not funded for doing this. If the advice is good, I'd take it. If it is just a personal preference, I have to consider it.
Q: Got very low volume of sound? A: Use stweaks, I9500 has wolfson sound control.
Q: Video color is not correct, got blur faces. A: v13 should have this issue fixed.
Q: No internal storage access permission. A: I will make a workaroung later. For now, remount it with rw option through adb.
Q: Random reboot. A: Well, it exists, I admit. I don't know why. I will look for the reason.
Q: After flashing, the phone won't boot. A: Well, I can't guarantee that this kernel works everywhere. And please check if you are using the correct version.
Q: When is your next release? A: I don't know either.
Q: I flashed, it doesn't work. A: Well, it does not work. I don't know why cause it just don't work. I only answer information-rich questions. Questions like this is only a waster of your keyboard, your time and your data traffic. Please at least tell me which version and what rom you are using.
Q: Anything asked above. A: I will keep silence. Other people may insult for this.
Q: Why don't you answer/respond our questions? A: I am a employee, husband, father and son of someone other than XDA and you.
maxfu said:
The first time I make AdaMax is for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
Thanks to a lot of people, I will add their names here...
As my habit, I always put the download link first:
https://github.com/maxfu/android_kernel_samsung_galaxy_s4/releases/tag/9500v8
The uploading is still on going...
Features:
Based on OSRC GT-I9500 JB Opensource Update4 source tree.
Contains most features from Adam kernel, so this kernel is called Adam + Max.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format, smaller images.
Native exfat supportbased on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores.
Frequencies over stock are implemented in overclock (tc/turbocharged) version.
Added more STweaks settings from Adam kernel, including CPU power management, Tools, CPU settings, CPU governor.
Logger module is compiled as standanlone module, so user can disable it completely to save powew.
Overclock (tc/turbocharged) version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Disabled a lot of rarely used devices support.
Built-in Seeder.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting
init.d support.
A lot of changes and fixes.
Click to expand...
Click to collapse
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Paolonicus said:
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Click to expand...
Click to collapse
I kept the feature, so it should show up in STweaks on I9500. I am using 9502 which does not have the feature so I can not test it. When I compile for 9500, sound control is enabled.
@maxfu Is this kernel for the 4.3 or 4.4.2?
a2441918 said:
@maxfu Is this kernel for the 4.3 or 4.4.2?
Click to expand...
Click to collapse
Sorry I did not directly mention. It is for 4.3 JellyBean.
maxfu said:
Sorry I did not directly mention. It is for 4.3 JellyBean.
Click to expand...
Click to collapse
Can you please mention it in the op please it's very confusing.
Thanks.
Sent from my GT-I9500 using Tapatalk
Will there be version for Kitkat?
This is something that prevents me from flashing the newer version of Android.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
If Samsung releases the source code for 4.4, I will.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
snxxxxx said:
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
maxfu said:
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
Click to expand...
Click to collapse
If you can Make it AOSP support also
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Yesss at last some hope for 4.4 custom kernel!! Thank you Maxfu for continuing Wanam's legacy.
Wow!
maxfu said:
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
Click to expand...
Click to collapse
Sweet! Can't wait to try you kernel! Thanks a bunch!
For AOSP, I will try.
Sent from my GT-I9502 using xda app-developers app
great to see another addition to kennels for gt -9500. please also add support fir miui.
Sent from my GT-I9500 using Tapatalk
Some Proposals
1. Auto Install Stweaks
2. Clearly describe CPU Options which one for big cores and which for little cores
3. Don't lock GPU Frequency at 532MHz as i see by default ... maybe more relaxed 177-532 settings?
4. SELinux is set to Permissive by default ... maybe set as Disabled?
and maybe some very useful Insecure version please?
ro.secure=0
ro.adb.secure=0
(computer translation)
Hi, I already flashed Adam Kernel on my S4. Can I simply flash this Kernel on recovery or do I need to do something else?
Dnssuffix said:
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Click to expand...
Click to collapse
If it is in Adam kernel, then it is here. There is a screen tab in STweaks.

Categories

Resources