[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Status
Not open for further replies.
Search This thread

corsicanu

Recognized Developer
Code:
Disclaimer
#include 
*
* [B]Your warranty is now void.[/B]
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Welcome to hadesKernel

Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.

Features:
  • Aroma Installer with root options
  • SuperSU 2.79 SR3
  • Magisk v12.0
  • OTG support enabled
  • Private mode (for roms that support that feature)
  • knox 0x0 - borrowed some things from magisk and from @Bulgaricus
  • CPU overclock to 1.5Ghz
  • GPU overclock to 720Mhz
  • J500HXXU2BPK4 update - December security patches
  • Adreno Idler
  • intelli_thermal
  • nvidia relaxation patch
  • undervolt
  • Color calibration
  • prima wlan driver
  • fast, stable and cool
  • Latest ramdisk
  • Permissive kernel
  • init.d support
  • maybe more - will update when remember...


Devices:

  • J500F
  • J500FN
  • J500G
  • J500M
  • J500H

Bugs:
  • None (see FAQ on #3 post for any issues)

Instructions:
  • make sure you have TWRP from here installed (or any other with Aroma Installer support)
  • download zip and put it into phone's storage
  • enter TWRP recovery
  • flash zip
  • reboot and enjoy

Downloads

Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add


XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5

Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel

Kernel Special Features:

Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26

Created 2017-02-21
Last Updated 2017-07-03
 

corsicanu

Recognized Developer
Reserved

Changelog:
v2.5R - 06.06.2017
  • fixed private mode for roms that support this feature
v2.5 - 26.04.2017
  • fixed heating on A500G
  • fixed wifi
  • re-fixed camera for J5 family
  • added i/o schedulers back
v2.4 - 25.04.2017
  • kernel built permissive to avoid some issues
  • updated ramdisk to latest official fw
  • added root options in Aroma
  • added Magisk as root option
  • removed charging limit for some devices
  • disabled modules unload
  • reworked modules implementation,
    *now you can switch to any other kernel without wifi or FM Radio issues
  • reworked knox 0x0 script
  • revert update to linux 3.10.60 for now
  • revert add more governors for now
  • revert add hotplugs for now
  • revert add i/o schedulers for now
v2.3 - 05.04.2017
  • fixed camera focus for J series
  • added support for A500W and A500K
  • updated to linux 3.10.60
  • added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
  • added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
  • added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
  • knox 0x0 - borrowed some things from magisk and from @Bulgaricus
  • updated powersuspend
  • ramdisk tune-ups
  • cpufreq tune-ups
  • memory/cache tune-ups
v2.2 - 20.02.2017
  • added support for J5 2015 (J500xx)
  • added usb fast charge
  • made cubic tcp default for better net speeds
  • disabled software CRC for better performance
  • optimized framebuffer for better performance
  • added regulator for overclock
  • undervolted for better battery
  • lowered safe frequency from 400 to 200mhz
  • A5S deepsleep fix
  • added nvidia relaxation patch for better battery
  • enhance power efficiency
  • implement fast idling of CPU
  • reduced high-load and average-load for better battery
  • enabled arch_power
  • lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
  • Fix FM Radio
  • Fix OTG for all versions
  • Fix overheating issues for G
  • Add support for A3FU
  • Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
  • J500HXXU2BPK4 update - December security patches
  • Add support for A500H/A500S versions
  • Add builtin wlan module
  • Add westwood tcp and make cubic default again
  • Adreno Idler 1.1, fixed msm_adreno_tz
  • Add powersuspend
  • More msm-thermal tweaks
  • kernel: reduce overheat
  • Enable multi-core power savings
  • Add SuperSU SR5 back
  • Fix Deepsleep for F/G/M
  • Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
  • Add dynamic sync 2.0
  • Add lcd notify
  • xz: Optimize Sfck Compression
  • Added Aroma Installer
v1.4 - 22.12.2016
  • Fixed wifi again for each version
  • Multitask and battery optimisations + permissive mode enabled
  • Fix for frequencies not sticking at boot
  • ramdisk cpu / io / battery tune-ups
  • Add specific ramdisk for each supported variants
  • Separate SU from ramdisk
  • Fixed Kcal (color calibration)
V1.3 - 15.12.2016
  • add KCAL driver
  • 4sysctl: favor filesystem
  • GPU OC to 720Mhz
  • Reverted CPU OC to 1.5Ghz
  • Fixed wifi for A500G
V1.2 - 11.11.2016
  • A500FU SuperSU SR3 patch + init.d support
  • SuperSU SR3 patch + init.d support
  • Experimental wifi fix
  • A500FU support
  • Switch to CUBIC TCP congestion control
  • arch/arm : compile with hardfloat + neon-vfpv4"
  • Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
  • A500GXXU1CPH4 update
  • OTG and permissive enabling
  • free-mem optimisations
  • added SU patched ramdisk
  • 2.07Ghz CPU OC
  • Enable neon and VFPv3
  • enable xz compression
 
Last edited:

corsicanu

Recognized Developer
Reserved

FAQ:

Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.

Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.

Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.

Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.

Q: loading
A: loading
 

abhijeet1331

Senior Member
Oct 17, 2013
228
62
Thanks @corsicanu .. :):)

I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..

Thank You So Much.. :):)

---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------

Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)


My new rom with your kernel is amazing.
Cheers! :highfive:

Hi @By Zonik ..

Waiting for your rom (v2) bro.. :):)
 

YuZaGa

Senior Member
Sep 10, 2016
75
32
Some q's

Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??:D
 

Demicro

Senior Member
Aug 10, 2015
659
319
Madrid
One more just in case of need :D
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
 

paulo boë

Senior Member
Dec 30, 2015
1,348
257
Enschede
Huawei Nexus 6P
Xiaomi Mi Mix 3
For me the link doesnt work i just get this:
 

Attachments

  • Screenshot_20170221-144646.png
    Screenshot_20170221-144646.png
    38.6 KB · Views: 1,823

corsicanu

Recognized Developer
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??:D
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
does it support skies rom beta ??
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
For me the link doesnt work i just get this:
Just wait more or refresh the page.
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!

Sent from my SM-N930F using Tapatalk
 
Last edited:

#Henkate

Senior Member
Feb 1, 2012
3,484
3,124
28
フェアリーテイル
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5

About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).


Sent from my SM-N930F using Tapatalk


You can see the GPU frequency in real time by using these commands in Terminal (PC):

Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done

1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.


Try these commands to confirm that the GPU frequency is stuck at 720.
 
  • Like
Reactions: Demicro

Bulgaricus

Senior Member
May 12, 2013
1,191
1,738
27
Pleven
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
 

Demicro

Senior Member
Aug 10, 2015
659
319
Madrid
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.

From what i know Skies Rom is based on touchwiz so it will work. Test and report.

Just wait more or refresh the page.

I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
I know, that you have cherry pick from me?
I also found something interesting in your code

Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone

I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
 

corsicanu

Recognized Developer
I know, that you have cherry pick from me?
I also found something interesting in your code

Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone

I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go

I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    Code:
    Disclaimer
    #include 
    *
    * [B]Your warranty is now void.[/B]
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this kernel
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
    */
    Welcome to hadesKernel

    Some personal thoughts:
    - this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
    - v2.3 for J5 already includes all the previous things from A5 releases.
    - if you take any of my work without my permission i'll report you, and you'll probably get banned.
    - you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
    - bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
    - press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
    - feel free to donate to me if you want to support my work.

    Features:
    • Aroma Installer with root options
    • SuperSU 2.79 SR3
    • Magisk v12.0
    • OTG support enabled
    • Private mode (for roms that support that feature)
    • knox 0x0 - borrowed some things from magisk and from @Bulgaricus
    • CPU overclock to 1.5Ghz
    • GPU overclock to 720Mhz
    • J500HXXU2BPK4 update - December security patches
    • Adreno Idler
    • intelli_thermal
    • nvidia relaxation patch
    • undervolt
    • Color calibration
    • prima wlan driver
    • fast, stable and cool
    • Latest ramdisk
    • Permissive kernel
    • init.d support
    • maybe more - will update when remember...


    Devices:

    • J500F
    • J500FN
    • J500G
    • J500M
    • J500H

    Bugs:
    • None (see FAQ on #3 post for any issues)

    Instructions:
    • make sure you have TWRP from here installed (or any other with Aroma Installer support)
    • download zip and put it into phone's storage
    • enter TWRP recovery
    • flash zip
    • reboot and enjoy

    Downloads

    Credits:
    *DjSteve
    *Lord Boeffla
    *psndna88
    *Bulgaricus
    *SuperR
    *Faux123
    *duki994
    *kernel testers
    *if i missed someone PM me and i`ll add


    XDA:DevDB Information
    hadesKernel v2.5, Kernel for the Samsung Galaxy J5

    Contributors
    corsicanu
    Source Code: https://github.com/corsicanu/hadesKernel

    Kernel Special Features:

    Version Information
    Status: Beta
    Current Beta Version: v2.5
    Beta Release Date: 2017-04-26

    Created 2017-02-21
    Last Updated 2017-07-03
    17
    Reserved

    Changelog:
    v2.5R - 06.06.2017
    • fixed private mode for roms that support this feature
    v2.5 - 26.04.2017
    • fixed heating on A500G
    • fixed wifi
    • re-fixed camera for J5 family
    • added i/o schedulers back
    v2.4 - 25.04.2017
    • kernel built permissive to avoid some issues
    • updated ramdisk to latest official fw
    • added root options in Aroma
    • added Magisk as root option
    • removed charging limit for some devices
    • disabled modules unload
    • reworked modules implementation,
      *now you can switch to any other kernel without wifi or FM Radio issues
    • reworked knox 0x0 script
    • revert update to linux 3.10.60 for now
    • revert add more governors for now
    • revert add hotplugs for now
    • revert add i/o schedulers for now
    v2.3 - 05.04.2017
    • fixed camera focus for J series
    • added support for A500W and A500K
    • updated to linux 3.10.60
    • added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
    • added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
    • added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
    • knox 0x0 - borrowed some things from magisk and from @Bulgaricus
    • updated powersuspend
    • ramdisk tune-ups
    • cpufreq tune-ups
    • memory/cache tune-ups
    v2.2 - 20.02.2017
    • added support for J5 2015 (J500xx)
    • added usb fast charge
    • made cubic tcp default for better net speeds
    • disabled software CRC for better performance
    • optimized framebuffer for better performance
    • added regulator for overclock
    • undervolted for better battery
    • lowered safe frequency from 400 to 200mhz
    • A5S deepsleep fix
    • added nvidia relaxation patch for better battery
    • enhance power efficiency
    • implement fast idling of CPU
    • reduced high-load and average-load for better battery
    • enabled arch_power
    • lowered throttle threeshold and enable it by default
    v2.1 - 10.02.2017
    • Fix FM Radio
    • Fix OTG for all versions
    • Fix overheating issues for G
    • Add support for A3FU
    • Add SuperSU-v2.79-SR3
    v2.0 - 25.01.2017
    • J500HXXU2BPK4 update - December security patches
    • Add support for A500H/A500S versions
    • Add builtin wlan module
    • Add westwood tcp and make cubic default again
    • Adreno Idler 1.1, fixed msm_adreno_tz
    • Add powersuspend
    • More msm-thermal tweaks
    • kernel: reduce overheat
    • Enable multi-core power savings
    • Add SuperSU SR5 back
    • Fix Deepsleep for F/G/M
    • Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
    • Add dynamic sync 2.0
    • Add lcd notify
    • xz: Optimize Sfck Compression
    • Added Aroma Installer
    v1.4 - 22.12.2016
    • Fixed wifi again for each version
    • Multitask and battery optimisations + permissive mode enabled
    • Fix for frequencies not sticking at boot
    • ramdisk cpu / io / battery tune-ups
    • Add specific ramdisk for each supported variants
    • Separate SU from ramdisk
    • Fixed Kcal (color calibration)
    V1.3 - 15.12.2016
    • add KCAL driver
    • 4sysctl: favor filesystem
    • GPU OC to 720Mhz
    • Reverted CPU OC to 1.5Ghz
    • Fixed wifi for A500G
    V1.2 - 11.11.2016
    • A500FU SuperSU SR3 patch + init.d support
    • SuperSU SR3 patch + init.d support
    • Experimental wifi fix
    • A500FU support
    • Switch to CUBIC TCP congestion control
    • arch/arm : compile with hardfloat + neon-vfpv4"
    • Tune-up for Cortex A53/ARMv8 architecture
    V1.0 - 08.11.2016 - initial release
    • A500GXXU1CPH4 update
    • OTG and permissive enabling
    • free-mem optimisations
    • added SU patched ramdisk
    • 2.07Ghz CPU OC
    • Enable neon and VFPv3
    • enable xz compression
    10
    Reserved

    FAQ:

    Q: My wifi is broken after flash. What to do?
    A: Flash latest modem available for your device.

    Q: Can`t connect to wifi network. What to do?
    A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.

    Q: MAC adress has changed. What to do?
    A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.

    Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
    A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.

    Q: loading
    A: loading
    10
    v2.3 is out :)
    Special thanks to @Demicro and @Bulgaricus for most of the changes on v2.3

    Changelog
    • fixed camera focus for J series
    • updated to linux 3.10.60
    • added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
    • added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
    • added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
    • knox 0x0 - borrowed some things from magisk and from @Bulgaricus
    • updated powersuspend
    • ramdisk tune-ups
    • cpufreq tune-ups
    • memory/cache tune-ups
    6
    One more just in case of need :D