Related
Thanks to Leshak , AndSecTest, mimocan, Unhelpful, xan, Supercurio and husq510 for the help.
This project started based on information found here:
http://forum.xda-developers.com/showthread.php?t=740514
But is has soon revolved into more fixes, patches and hacks. Thanks to all the developers involved and do buy them beers so they can continue to work on the fixes.
I've tested it to work on my phone but i cannot guarantee it will work on yours or if it will damage your phone so use it at your own risk. See known issues below if the problems have been resolved
Primary Features
- ext2/3/4
- Support I/O Scheduling for CFQ (stock), Noop, Deadline and Anticipatory
- Overclock and Undervolt support
- Overclocking for better performance. If you do not want to OC, use SetCPU to set Max at 1Ghz and enable checkbox Set on boot
- User defined Undervolt to save battery especially at lower frequencies. Use Xan's app for easy GUI control - here
- Also use Xan's app to change IO scheduling
- Rooted ADB shell for Android commander compatibility
Requirement
- i9000
- For Eclair 2.1 Only (Will not work on Froyo firmware)
My setup for cross compile without wakeup lag
- Use ct-ng crosstool
- Copy config file from arm-unknown-linux-gnueabi
Download
See attachment
Stock Kernels for reverting
Stock JM3 v3 kernel
Stock JM2 kernel
Stock XWJM5 kernel
Instructions:
- Extract the tar file from .7z
- Load tar file in PDA using ODIN and flash
- Do not check repartition and do not use pit file
- Use SetCPU to adjust frequencies
Reporting Problems
Please provide information below to help me understand:
kernel version: (eg oc120uv2-ctng)
UVLF setting (if kernel supports): (eg 50)
UVHF setting (if kernel supports): (eg 25)
descriptions:
Known Issues
- ondemand setting is unstable (need more verifications)
TO DO LIST
- BFS scheduling
- kernel modules (submit request)
Changelog
oc120_voodoo_b4.2
- enable CWM support even with voodoo ext4. Caveats: CWM will unmount /data after nandroid backup, you will not be able to remount /data in ext4 until you reboot back to recovery. Also, restore does not work when trying to restore /data.
- fixed check for debug_mode (it used to create logs in /sdcard/Voodoo/logs regardless if you enable*debug in /sdcard/Voodoo/)
oc120_voodoo_b4.1
- BLN patch v4 from neldar (http://forum.xda-developers.com/showthread.php?t=772672)
- All credit goes to author
- Signed update.zip format so rename file to update.zip and copy to /sdcard
- use recovery to flash
oc120_voodoo_b4
- updated to voodoo b4 (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120_voodoo_b3.1
- fixed init.d not working
oc120_voodoo_b3
- remove performance governor from startup cos i9000 dont need that
- added init.d support
oc120_voodoo_b2
- Use stock GPU ~200mhz table
- Voodoo2 lagfix (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120uv2
- Unhelpful patch for GPU table (http://github.com/Unhelpful/linux-galaxy/commit/5a729d3e2189159a20b00e0c331f0b112490e075)
- Interactive governor (http://github.com/Unhelpful/linux-galaxy/commit/aea72a98a2f261901d6f28f2d1deae3921d35948)
- user configurable UV settings (default value = 0 for UVLF and UVHF) for conservative governor only
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (for 100-800mhz)
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (above 800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (will UV by 50mV for 100-800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (will UV by 50mV for 1-1.2ghz)
- Setting increment of 25 (eg 25,50,75,100). Anything out range may hang
- Anything above 100 will be set to 100 (but I doubt you can get 100mV without crashing)
- After setting, do ur benchmarks and if everything is stable, you can add the command above into your init script depending which lagfix you have, add into your script.
Thanks!
Some questions:
1) the first thread about oc mentioned 1.2ghz, was this unstable for you?
2) Is this over-volted, under-volted, or no changes in voltage?
3) I'm guessing if I update to this kernal, I will loose any features of other kernals, like the lag-fix kernal?
I hope you can persuade the other devs to include this in their roms.
It this just for the unbranded SGS or does it work for TMO vibrant too?
Novek said:
It this just for the unbranded SGS or does it work for TMO vibrant too?
Click to expand...
Click to collapse
the kernel is just for the international version
it is just a test, i hv not test the limit yet.. this is a new phone so want to take it easy
i kept the voltage stock so just overclock a little and if its stable, will do more . More testing and reading is needed before i touch on the voltage.
it does not include mimocan's mod, i will work on it next release
Not Work
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Sir-ay said:
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Click to expand...
Click to collapse
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Nice job cant wait to see how high the new hummingbird cpu can go. The galaxy s 2 has same cpu and is running at 2 ghz (if the leaked info is correct). I hope we can push it up to 2ghz with out to much voltage/heat increase.
[[ Cold ]] said:
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Click to expand...
Click to collapse
upps
I will OC!!!!!!!!!!
Do you notice the postive effects of the overclock in any way? What does it do with benchmarks? Also do you test for (temperature) stability with some games as well, as they use the graphics card a lot which is on the same chip. Even when not overclocked the SGS can get prettty warm.
Installs nicely, oc ok to, but dont see that much increase in linpack.
Nice work tho.
Any chance to have ext 4 support in next update?
Thanks :
updated to v2
raspdeep said:
updated to v2
Click to expand...
Click to collapse
you're fast, lol. Thanks.
INeedYourHelp said:
your fast, lol. Thanks.
Click to expand...
Click to collapse
update before i go to bed
Guys, how do I use SetCpu?
Was 1.2ghz unstable?
Sent from my SGH-T959 using XDA App
interested in this... Allthough the phone does seem to get hot during heavy use, it doesn't get 'too' hot.
I have seen about 47 degrees celcius max read from battery temp (which seems to be cpu temp on our phones as my battery was stone cold)
Hi any possibility get v1 without mimocan.
Got samset including it nd sgs wnt boot cause of mimocan included.
thanks
I am using JM2. Does this make my phone any faster? Does it maked it lag free?
After tested this oc.. i am bit unsure: i get no performance increase... Is it confirmed that its functional?
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.
Hi, would you recommend me kernel manager,i try trickstermod ,but its doesnt work.I want to set the system in "eko mode" UC,set to multicore power saving ...etc.
I doubt anything will work, UC and UV has to be enabled in the Kernel. Stock kernels dont have it.
Disclaimer: I am not responsible for your broken phone , broken memory card, etc. All my kernels I test first on my own phones , and then upload here
If you like my works please do not forget donate to me(PayPal account you may find in my profile)
Very often people not read full description(then write me to email "device not start, help me" even in the middle of the night) therefore write here with giant words:
UNLOCKED BOOTLOADER REQUIRED OTHERWISE DEVICE CAN'T START WITH CUSTOM KERNEL (YOU GET USB LOGO PICTURE OR TO YOU THROW INTO RECOVERY OR BOOTLOADER)
I never add fake overclock and overclock, because for now(or forever) no method for real overclock and underclock
Random reboots for most users probably fixed in 16.04.2016 and higher
For max stability I recommend to use Interactive governor
Kernel features:
1) USB Mass Storage Support
2)
3) DT2W support (to activate it, you should install Zenmotion)
4) KVM support (Kernel Virtual machine for Intel)
5) Added support of init.d. scripts
6) Added support of exFAT file system for external sd card.
7) ZRAM is disabled for old versions, on version of December 6 and higher- ENABLED.
8) Added CD emulating feature
9) Added SWAP support(need create swap partition on sdcard)
10)
12) Add more governors and I/O schedulers
13) USB-HID mouse & keyboard function(required USB Keyboard app from GPhttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
14) Support joysticks (DragonRise, Inc ang others)
15) Add more TCP IPv4 congestion algorithms (May change via TricksterMod or Kernel Auditor apps)
16) Reduce min display backlight for autobrightness. For use min backlight level you should to use autobrightness and set it to the left
Deprecated features:
1. Overclock to 2000 Mhz (for A501CG only) and Overclock to 2400 Mhz (for A500CG only). Idea and work by @TheSSJ (it have been removed since 26.12.2015)
2. Based on Asus Zenfone 2 ZE551ML 2.20.40.44(more than 50%) + Asus Zenfone 6 3.24.40 sources
3. Underclock to 667 Mhz. Idea and work by @TheSSJ
4.Hotplug for all governors
5. Frandom Linux kernel generator
Note: This kernel will work on stock Lollipop firmware only like 3.24.40.87, 3.24.40.78 or 3.23.40.60 or 3.23.40.52
This kernel was created by BORETS24 So if you need more information you can pm to him.
How to flash this kernel:Method 1(via PC)Step 0:
Bootloader unlock is required for every custom rom. You can use this tool for unlock:
https://drive.google.com/file/d/0B-Fin8UxrD6PRU9MM1lQZkV0SG8/view
Step 1:
You should download files for flashing:
ADB v1.0.32: Download from Google Drive
Step2:
You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot new_bootXX.XX.img
,where XX.XX- numbers after words "new_boot"
Step3:
Reboot to Android.
Method 2(through CWM/TWRP, without PC)1. Download Flashable ZIP archive on phone
2. Go to recovery mode
3. Click Install ZIP and choose this archive
4. Then reboot
Archieves You make take from this post http://forum.xda-developers.com/showpost.php?p=64640638&postcount=364(Thanks to @Don No 1)
How to install Zenmotion:(it needed for DT2W)1) Download this file (asus.hardware.touchgesture.double_tap.xml) :
https://drive.google.com/file/d/0B-Fin8UxrD6PWWRBT1gwak16Tnc/view?usp=sharing
2) Put this file into system/etc/permissions
Set file permissions. It is a 0644 rw- r-- r--
3) Reboot the phone
4) Find Zenmotion in the Settings and activate it.
(It will work if you flash this kernel)
Changelog:
25.10.2016
I not remember that I removed, let's start that I changed and added
USB Mass Storage mode
Removed few unstable governors
I started to compile with use Zenfone 2 source code for Marshmallow
Existed governors from 6.0.1 source
Removed lz4- caused bugs, drain battery, very slow interface
Added bootboost feature into ramdisk such as Zenfone 2
Now drain battery less and interface speed is high
12.06.2016
Reduce min display backlight brightness to 5(no need to set to 2, no difference between 5 and 2- I checked).For use min backlight level you should to use autobrightness and set it to the left
ZRAM now turn on automatically only for 1 Gb RAM devices, for 2 Gb it disabled by default
Return to "1 core per modules" CPU mode
Return Interactive Pro and Intel governors
Remove InteractiveX and Hotplug governors(sometime caused problems)
Replace WI-FI from module into kernel
03.06.2016
Full NTFS support for SD card
NTFS OTG full support by sibling Asus File Manager(read/write), from others file managers you can to see OTG NTFS devices, may see OTG NTFS devices from file chooser but you can't edit data. But you can edit platform.xml via NextAPP SDfix and can write on NTFS OTG devices with any apps
14.05.2016
Full ExFAT SDcard support such as stock kernel(Now you can see ExFAT sdcard in file chooser, can modified data even without Next APP SDfix)
Remove UKSM and disable KSM
16.04.2016
Fixed: restore signal after long dissapear
Fixed: random reboots in phone calls
Standart processor mode "2 cpus per module"
Remove Intel, Lagfree governors and FIFO scheduler(caused reboots)
Compile with standart GCC 4.9, remove -O3 optimization(unuseless, placebo effect)
Add idle from Linux 4.6
17.03.2016
LZ4 kernel compress
LZ4 zram compress/decompress
Remove Hotplug(caused reboots, overheats) driver and return Hotplug governor
Speed-up interface
More less battery drain
Compile with SaberMod 4.9.3
Others optimizations
05.03.2016
Added again hotplug driver but modified, cores not jumping, not dancing, strongly CPU0+CPU1 always online
Approximately 90% sibling source 3.24.40
Hybrid ramdisk from 87+60 firmware
Some changes in dt2w code
Fixed CD emulation
14.02.2016
Based on Asus Zenfone 2 ZE551ML 2.20.40(more than 50%) + Asus Zenfone 6 3.24.40 sources, remove hotplug driver, return Hotplug governor
06.02.2016
Hotpluging for all governors via MSM hotplug driver(I set 2 cores always online by default, you may tuning this driver via Kernel Auditor, point CPU Hotplug), possible fix the impossibility of restoring the network signal after a long stay outside the network, remove Hotplug governor(is no longer needed)
31.01.2016
Add Hotplug governor and set it by default, without load on CPU 1,2 or 3 cores will go to offline https://www.youtube.com/watch?v=WBbCBahSgrM&feature=youtu.be
30.01.2016
Remove hotplugging from Interactive governor again, add InteractiveX V2 governor with adaptation for Quad core devices( 1 phisical core= 2 threads CPU go to offline, when screen off)
27.01.2016
Interactive governor from Asus ZenPad S 8.0 with adding hotplugging(2 threads=1 core go to offline, when screen off), underclock to 533 MHz, many code and drivers from source Asus Zenfone 2 ZE500CL, Ofast optimization
19.01.2016
Add and turn on Ultra kernel samepage merging(UKSM) technology a place of KSM, underclock to 450 MHz, may be fixed all random reboots besides during long phone calls, when dt2w is on(or fix? I don't know)
16.01.2016
Use new source code 3.24.40
Tweak Interactive governor: hispeed_freq and touchboost_freq down to 1333 Mhz
09.01.2016
May be, fix all random reboots
04.01.2016
Fixed freezes and reboots on third-party governors, when connection speed faster than 20 Mbit/s, return hotplugging to Interactive governor, return Intel and Yankactive governors, some bug fixes
02.01/2016
Compile without Ofast optimization, removed Hotplugging from Interactive governor, removed Yankactive governor, may be, this actions fix random reboots.
31.12.2015
Compile without Ofast optimization, processor works now in '1 core per modules' mode, now disable 3 core(3 threads), when screen off, on Interactive governors, try at random fix reboots on all version of devices
28.12.2015
Try to fix reboots on 1 Gb RAM modifications(return stock process drivers)
28.12.2015
a)Change toolchan from stock GCC to SaberMod 4.8.5
b) Add Hotpluging to Interactive governor, when screen off
c) Add F2FS support
d) Fix some warnings during compilations
25.12.2015
Attempt to fix screen freeze or reboots during long phone calls: change process.c driver on modifity driver from Zenfone 2. Read about it here https://github.com/kirananto/ZENFONE2/commit/044ad3da5263ba256a59b517e96a272b4e3f19f6, Fix almost all warnings in proximiry/lightsensor driver "ISO C90 forbids mixed declarations and code" during compiling, remove "fake" overclock
23.12.2015
Fix freeze and reboots of device, when chaging governors and/or schedulers, add more TCP IPv4 congestion algorithms and set Westwood by defauls in place of stock Cubic
Add some joysticks support, now may use device as keyboard and mouse for PC, move KVM from kernel to modules
15.12.2015
Underclock to 316 MHz, add Adaptive, Yankactive(with Hotplugging implementation by @TheSSJ] ) and conservativeX governors
12.12.2015
Add if.bin into kernel, to attempt fix screen freezing, push also if.bin to system/etc/firmware and reboot phone.
if.bin
11.12.2015
1. Add frandom Linux kernel generator
2. Add Bioshock, Lagfree, lionheart, Wheatley governors
3. Add BFQ, SIO, SIOplus, FIFO, FIOPS, VR I/O schedulers
06.12.15
Add ZRam support
10.11.15
1. Add SWAP support
2. Kernel build with Ofast optimization.
Now I will upload new versions on Yandex Disk
https://yadi.sk/d/tBN8eYlVr3mVZ
XDA:DevDB Information
Custom Lollipop kernel for Zenfone 5 & Zenfone 6 by BORETS24(Intel only), Kernel for all devices (see above for details)
Contributors
tank0412, BORETS24
Source Code: https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Kernel Special Features:
Version Information
Status: Stable
Current Beta Version: 1.0
Created 2015-11-02
Last Updated 2016-10-25
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Sent from my ASUS_T00J using Tapatalk
no_name said:
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Click to expand...
Click to collapse
Yeah. I drop him a line on 4PDA. It looks like he stoped developing because he do not have device and he can not fix freezes after call + random reboots.
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom ?
Sent from my ASUS_T00J using Tapatalk
no_name said:
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom
Sent from my ASUS_T00J using Tapatalk
Click to expand...
Click to collapse
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Wow great ?
Sent from my ASUS_T00J using Tapatalk
What apps can i use to underclock overclock this kernel?
geepee410 said:
What apps can i use to underclock overclock this kernel?
Click to expand...
Click to collapse
Kernel auditor.
But this kernel has a default underclock/overclock. (400mhz/2000Mhz)
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
tank0412 said:
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Click to expand...
Click to collapse
U should share this to Quanqanh
kunalshah912 said:
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
mshazrul82 said:
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
Click to expand...
Click to collapse
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
@quanganh2627 if you interested in sources of borets kernel then you can see sources are released by him and one thing to tell you that in his kernel "no freeze after call" or any such type of bug,his kernel is supper smooth so maybe you can do something to make it work on our rr rom ?
Sent from my ASUS_T00J using Tapatalk
hey @tank0412 what new on update 2/11 ,sir ?
ChungVan said:
hey @tank0412 what new on update 2/11 ,sir ?
Click to expand...
Click to collapse
Nothing. i just created own topic for it on XDA.
Is this the same kernel that you post in the rr thread? @tank0412
myrul said:
Is this the same kernel that you post in the rr thread? @tank0412
Click to expand...
Click to collapse
Yeah, it is a same.
kunalshah912 said:
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
R u using stock .78 with dt2w kernel, if yes then what type of settings r u using as my battery is draining very fast and r u also using power saver? Please reply.
Thanks
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
with this kernel , no random reboots or screen freezes after call.
i think it have only one problem was limited 3 minutes when call . after 3 minutes , the call will auto end
Don't ask for gsi ROMs working or fully working twrp unless someone develops a custom kernel for mi 8 se só lets help each other and make a custom kernel for mi 8 se
asking someone to build something "As Soon As Possible" ???
Xiaomi just released kernel for Android P:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/grus-p-oss/
I've tried to compile that source and everything working good now (unlike previous Android O kernel which 2nd camera not working in Portrait mode and sound is broken when turn off display). Here is my compile kernel with a lot tweaks now can be change in EX Kernel Manager (KCAL, fsync, iosched, block wakelocks...) to gain more battery and performance, I've only tested with MiuiPro 9.3.1 and EU 9.3.1 but this kernel should work with all MIUI roms based on Android 9.0.
Kernel features:
Compiled with GCC 8.2.1, mtune=cortex-a75.cortex-a55 (best for Kyro 385 arch.)
KCAL Advanced Color Control
KLAPSE
Min Backlight Control
Fsync Control
Vibration Control
CRC Check Disabled
Reduced latency 6ms to 5ms
Disabled Gentle Fair Sleepers
Power Efficient Workqueues
LZ4 Compression Algorithm (default)
Westwood TCP Algorithm (default)
Boeffla wakelock blocker
More I/O scheduler: fiops, sio, mapple, zen, tripndroid, anxiety (default).
kgsl: Removed POPP / Wake GPU upon receiving an ioctl rather than upon touch input.
Added devfreq boost driver and cpu input boost driver.
Added more buffer to enhance EIS.
CONFIG_HZ=300
Workqueue powersaving.
Enable deepest state for CPU cluster.
Boost to the max for 1s whenever the top app changes (improves app launch speeds).
Zipped up with AnyKernel2.
Download link v1.15 (last update 04/03/2019):
https://drive.google.com/open?id=1lQrpQqgs4Z6v-_SqlKFlttFLkrd951DA
longnt2007 said:
Xiaomi just released kernel for Android P:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/grus-p-oss/
I've tried to compile that source and everything working good now (unlike previous Android O kernel which 2nd camera not working in Portrait mode and sound is broken when turn off display). Here is my compile kernel with a lot tweaks now can be change in EX Kernel Manager (KCAL, fsync, iosched, block wakelocks...) to gain more battery and performance, I've only tested with MiuiPro 9.3.1 and EU 9.3.1 but this kernel should work with all MIUI roms based on Android 9.0.
https://drive.google.com/open?id=1SOeCNa8KT38bP5Qg-OO8ncMEQOm9Xgas
Click to expand...
Click to collapse
Thanks for Your effort keep updating the kernel everything works in 9.3.7 you can add features to kernel
Sorry for asking , this kernel is for Mi 8 se or Mi 9 se?
soreldc said:
Sorry for asking , this kernel is for Mi 8 se or Mi 9 se?
Click to expand...
Click to collapse
For Mi8 SE. Xiaomi use same source for both Mi8 SE and Mi9 SE but this kernel use Mi8 SE config to build source.
Manhas said:
Thanks for Your effort keep updating the kernel everything works in 9.3.7 you can add features to kernel
Click to expand...
Click to collapse
It's already have a lot features like other custom kernel, tell me if you need another features that useful
Compiled with GCC 7.2.1
KCAL Advanced Color Control
Fsync Control
CRC Check Disabled
Reduced Latency
Disabled Gentle Fair Sleepers
Power Efficient Workqueues
LZ4 Compression Algorithm
Westwood TCP Algorithm (default)
Boeffla wakelock blocker
More I/O scheduler: Add fiops, sio, mapple, zen, tripndroid.
Zipped up with AnyKernel2
longnt2007 said:
It's already have a lot features like other custom kernel, tell me if you need another features that useful
Compiled with GCC 7.2.1
KCAL Advanced Color Control
Fsync Control
CRC Check Disabled
Reduced Latency
Disabled Gentle Fair Sleepers
Power Efficient Workqueues
LZ4 Compression Algorithm
Westwood TCP Algorithm (default)
Boeffla wakelock blocker
More I/O scheduler: Add fiops, sio, mapple, zen, tripndroid.
Zipped up with AnyKernel2
Click to expand...
Click to collapse
Thanks for your awesome work for our device.
I tried it on Xiaomi.eu 10.2.2 stable version, it didn't boot. After restoring boot partition phone boots but your kernel is gone.
Tried with magisk 18.2 installed, after that I uninstalled magisk and tried again but no luck
TacoNikky said:
Thanks for your awesome work for our device.
I tried it on Xiaomi.eu 10.2.2 stable version, it didn't boot. After restoring boot partition phone boots but your kernel is gone.
Tried with magisk 18.2 installed, after that I uninstalled magisk and tried again but no luck
Click to expand...
Click to collapse
You can try with MiuiPro 9.3.1 in this link (it's based on Miui China developer version with a lot tweak, enhancement... more than Xiaomi.eu, also it's paid version).
https://drive.google.com/open?id=1ZjhLU6Sj7D83g7q2P86r34hek-j3gW2N
I'm using MiuiPro as my daily driver atm so I can't switch to other rom to test my kernel.
Tried with miui eu 9.3.1 booted fine
You can add performance tweaks like overclock CPU and GPU update to 4.9.161 or later battery tweaks and make it compatible with aosp ROMs thanks
Installed on masik 2.6 (9.2.28) didn't try any tweaks on ex kernel. Kcal is not working with savoca.apk but phone is working smoothly so far
Manhas said:
You can add performance tweaks like overclock CPU and GPU update to 4.9.161 or later battery tweaks and make it compatible with aosp ROMs thanks
Click to expand...
Click to collapse
I've tried overclock GPU from 504Mhz to 610Mhz but phone insta freeze after boot completed, I think overclock not available for SDM710 (maybe they use efuse lock to prevent clock going higher than default, as SDM710 actually a downclock version of SDM845). For kernel upstream, 95% changes will not affect any performance or bring new feature for Qualcomm ARM64 cpu.
mysa50 said:
Installed on masik 2.6 (9.2.28) didn't try any tweaks on ex kernel. Kcal is not working with savoca.apk but phone is working smoothly so far
Click to expand...
Click to collapse
savoca is too old (last update from 2015), you must use EX kernel manager to change KCAL (in Graphics -> Advanced color control).
Will this work on gsi treble img thanks
You should do a group on telegram where anyone can contribute with ideas to the kernel and show updates on the group
longnt2007 said:
You can try with MiuiPro 9.3.1 in this link (it's based on Miui China developer version with a lot tweak, enhancement... more than Xiaomi.eu, also it's paid version).
https://drive.google.com/open?id=1ZjhLU6Sj7D83g7q2P86r34hek-j3gW2N
I'm using MiuiPro as my daily driver atm so I can't switch to other rom to test my kernel.
Click to expand...
Click to collapse
I just let you know. Last time when i tried miui pro 9.3.1, wifi didn't work on my device. Does it work with your kernel?
Thanks
TacoNikky said:
I just let you know. Last time when i tried miui pro 9.3.1, wifi didn't work on my device. Does it work with your kernel?
Thanks
Click to expand...
Click to collapse
Maybe you downloaded a corrupt zip file of MiuiPro 9.3.1 rom (which cause Error 7 when flashing rom in TWRP), that will make wifi doesn't work. I got that corrupt file too and I've fixed that corrupt file and reuploaded again to GDrive in above link.
I downloaded from your link.
It works like a charm, thanks :good:
good ! When is the complete AOSP package?
does it works for pe?
Updated new kernel date 03/13 with KLAPSE live display module added, you can use EX Kernel Manager 4.08 to control KLAPSE settings,