Advertisement
krasCGQ

KudKernel old thread template

Jun 17th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. Thread title: [KERNEL][ido][AOSP-CAF][v1.2] KudKernel [11-04-2017]
  2.  
  3. [B]/* Disclaimer */[/B]
  4. [LIST]
  5. [*]First of all, by any means, this is my personal build.
  6. [*]Everything included in this kernel isn't 100% my work. There are many features that I picked from others' work. Credits for these used works are available on the near-end of the OP.
  7. [*]I'm not responsible for any damage occurred with this kernel, either software/hardware damage, yourself, your cat, your home, [STRIKE]your waifu[/STRIKE], etc. You're at your own discretion.
  8. [*]I'm not accepting any feature requests, but any suggestions and feedbacks are welcome.
  9. [*]Please read the last part of OP if you want to share my works elsewhere.
  10. [/LIST]
  11.  
  12. [B]/* Kernel Features */[/B]
  13. [HIDE][LIST]
  14. [*]Based on CAF LA.BR.1.2.9_rb1.14 (msm8916_64) kernel source with patches and updates from LineageOS
  15. [*]Linux kernel base updated to 3.10.105
  16. [*]Prima driver updated to LA.BR.1.2.9_rb1.12
  17. [*]Compiled using Linaro GCC 6.3.1
  18. [*]Compiled with -O2 flag and some optimizations
  19. [*]Unnecessary and debugging stuffs disabled
  20. [*]CPU boost removed (any benefits?)
  21. [*]ARM-v8a and Cortex-A53 optimizations
  22. [*]Using modified AnyKernel2 to ensure compatibility across LineageOS 14.1 based ROMs
  23. [*]Thermal Limit increased from 45°C to 60°C
  24. [*]CPU minimum frequency reduced to 400MHz on both clusters
  25. [*]CPU maximum frequency unlocked to 1497MHz (performance/big) and 1209MHz (powersave/LITTLE)
  26. [*]CPU maximum frequency defaults are set to 960MHz (performance/big) and 800MHz (powersave/LITTLE)
  27. [*]Software CRC check disabled (could be enabled at anytime)
  28. [*]Add Random and I/O stats disabled by default
  29. [*]RQ Affinity default to 2 (Aggressive)
  30. [*]Power efficient workqueues for power saving
  31. [*]KCAL post-processing control
  32. [*]MSM Core Control for CPU hotplug
  33. [*]Adreno Idler for msm-adreno-tz overhead workaround
  34. [*]Ultra Kernel Samepage Merging 0.1.2.3 (ported for usage on Linux 3.10.105 by me)
  35. [*]Power Suspend v1.5
  36. [*]Fsync
  37. [*]exFAT and SDcardFS support
  38. [*]F2FS driver updated to v4.11-rc1
  39. [*]Random driver backported from Linux 4.2
  40. [*]CPU governors: performance, interactive, ondemand, conservative, zzmoove, nebula, smartmax
  41. [*]GPU governors: msm-adreno-tz (default), simple_ondemand, cpufreq
  42. [*]I/O schedulers: bfq (default), noop, deadline, fiops (during boot), zen
  43. [*]TCP congestion controls: westwood (default), cubic, vegas, reno, cdg
  44. [*]NetFilter TTL target support enabled (I'm hearing you, Russians! xD)
  45. [*]Other standard features from stock LineageOS kernel
  46. [*]And more patches and improvements to ensure you're given the best out of the kernel
  47. [/LIST][/HIDE]
  48.  
  49. [B]/* Supported Environment */[/B]
  50. [LIST]
  51. [*]This kernel supports both Redmi 3 (2GB variant) and Redmi 3 Pro (3GB variant; FPC1020 fingerprint driver only).
  52. [*]This kernel DOESN'T and WON'T support Redmi 3S/3X (land). Go and search for similar kernel on [URL="https://forum.xda-developers.com/xiaomi-redmi-3s/development"]the dedicated subforum[/URL].
  53. [*]If you're unsure about your phone model, feel free to run this command below via Terminal or ADB shell:
  54. [CODE]$ getprop ro.product.device[/CODE]
  55. [*]This kernel is ONLY tested against LineageOS 14.1 and ResurrectionRemix-N, but it should work on all ROMs that based on AOSP-CAF sources.
  56. [/LIST]
  57.  
  58. [B]/* Downloads */[/B]
  59. Downloads are hosted on [URL="https://www.androidfilehost.com/?w=files&flid=159164"]AndroidFileHost folder[/URL].
  60. [COLOR=Red]Please don't mirror any files. I'm already choosing the best for you. It has multiple mirrors, too.[/COLOR]
  61.  
  62. [B]/* Installation Instructions */
  63. [COLOR=Red]IMPORTANT![/COLOR][/B]
  64. This kernel zip isn't compatible with Chinese-branded TWRP recovery due to how my modified AnyKernel2 template works. You're endorsed to use [URL="https://forum.xda-developers.com/showpost.php?p=71476518&postcount=191"]this compatible TWRP recovery[/URL] instead (with bug-free F2FS support).
  65. [HIDE][LIST]
  66. [*][B]REQUIRED:[/B] Restore your stock boot.img if you're on another custom kernel to prevent any issues. You can dirty flash the current ROM via TWRP, or extract the boot.img from ROM zip and flash manually via TWRP's "Flash image" option.
  67. [COLOR=Blue]If you're using previous version of KudKernel, unless explicitly mentioned, it's not required to restore stock boot.img.[/COLOR]
  68. [*]Download KudKernel zip.
  69. [*]Reboot to recovery.
  70. [*]Flash KudKernel zip.
  71. [*]Optional: Enable zip signature verification to verify the package before flashing.
  72. [*]Profit. Enjoy the release.
  73. [/LIST][/HIDE]
  74.  
  75. [B]/* Special Thanks & Credits */[/B]
  76. NOTE: Still WIP at this point.
  77. The OP won't be complete without giving my grateful thanks and credits; and here's the list:
  78. [HIDE][LIST]
  79. [*]Code Aurora Forum
  80. [*]@Anik_khan & The LineageOS Project
  81. [*]@WinKarbik & HighwayStar from 4PDA
  82. [*]@anupritaisno1 - Help, advice, and warnings for me during kernel patching, also his work on his Optimized ROM (just search it) :p
  83. [*]@osm0sis - AnyKernel2 template, modified by me to support Redmi 3
  84. [*]@DespairFactor
  85. [*]@arter97
  86. [*]@franciscofranco
  87. [*]@flar2
  88. [*]@faux123
  89. [*]@Yank555
  90. [*]@savoca
  91. [*]@jcadduono
  92. [*]Everyone else who has commits cherry-picked by me on GitHub
  93. [*]And other Qualcomm developers who're working hard on making development awesome!
  94. [*]Also not forgetting the fellow i9500 and j2lte KudKernel users!
  95. [/LIST][/HIDE]
  96.  
  97. [B][COLOR=Red]/* End Notes */[/COLOR][/B]
  98. For those who want share my works elsewhere, like to regional/local forum, personal blog, etc:
  99. [LIST]
  100. [*]Please ONLY use all resources from this thread and provide this thread as the source link. However, exception may be given if the regional/local forum has certain rules that forbid linking to another similar forum (please tell me if there's such one).
  101. [*]Any alterations to links in order to get financial advantages or redirecting people to certain XYZ websites like usage of pay-per-click links are strictly prohibited. I might contact the administrator (if it's shared to regional/local forum) or request for DMCA takedown or website suspension (if it's shared to personal blog). Your safety won't be guaranteed. [B]I'm looking on you, some Indonesians...[/B]
  102. [/LIST]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement