[KERNEL][LP]hKernel v.5

Status
Not open for further replies.

fitsuli

Member
Nov 7, 2015
48
24
0
Yekaterinburg
Mini disclaimer:
Your warranty is now void.

hKernel v.5

This kernel compatible with Honor 4C, 4X, P8 Lite (maybe) with Kirin 620 chipset.

Works on Android 5.1.
Compiled with Linaro 4.9 (or UBERTC, I don't remember :) )
This kernel trying to save some energy without a noticeable loss of performance :p

Features/changes:

- Init.d support.
- SELinux Permissive.
- Disable logging in ramdisk.
- Ramdisk tweaks.
- Hotplugs (ASMP, Mako, intelli-plug (set by default, balanced profile))
- Patch for 3D performance (~1.5-2x increase of performance)
- Shedulers: zen, fiops, noop (noop by default (from v.5)).
- Governors: ondemand (by default), interactive, conservative.
- GPU governors: simple_ondemand, mali_ondemand, pm_qos (by default (to change this you need to write one of this govs into file /sys/devices/gpufreq/devfreq/gpufreq/governor)).
- FS mount option barrier=0.
- Disabled CRC for EMMC (up to 30% +).
- Disabled ZRAM and KSM (unnesesary with 2GB of RAM).
- Many other tweaks.


For changing kernel's settings you may use Kernel Adiutor and 3C Toolbox.

Testers and creator of 3D performance patch: here, on mod edit

How to install:
They are ~3 ways to flash it.
1. Fastboot (you need to restart your device to fastboot mode and type in command line/terminal
fastboot flash boot *name-of-file*.img
2. You can use Rashr of something like that to flash kernel directly from system.
3. You also can flash it via TWRP:
Install - Install image (or something like this) - choose my kernel - boot partition.
 
Last edited:

eyevol

Member
Oct 12, 2013
40
5
0
cool , thanks for your great works ,
and what's the differences between the 3 version ?
can i flash it on the 4c CHM-UL00 ?
thanks again
 

Arsaz

Member
Mar 30, 2016
36
2
0
It's very simple :)
v.5 - standart version
v.5 Kangvip - works with Kangvip modification
v.4 - old version.

If you have Android 5.1 on your device, everything must be OK.
It must work on all modifications of 4C, except CHM-CL00
isnt there one for android 6.0?
 

oralover2006

Senior Member
Nov 20, 2012
133
2
0
Karachi
hi, i had this device (CHM-U01) and upgraded to Lollipop 5.1.1, how i know about the Chipset, in Settings -> About i can't see this information, can you please guide me to know my device chipset ?
thanks for all workings for honor 4C.
regards
 

oralover2006

Senior Member
Nov 20, 2012
133
2
0
Karachi
If model of your device - CHM-U01 , you ~99% have Kirin 620 chipset.

;)
can you please help, I have unlocked my device and rooted also, now if i wants to update/upgrade my honor 4C downloading any UPDATE.APP and copy it on my phone's SD Card folder dload, every time it is showing that updating but in the end it showing an error message like " update failed " etc. is there any other way or i have to Lock and Un-Root first but how? how to Lock and Un-Root again ?
regards.
 

fitsuli

Member
Nov 7, 2015
48
24
0
Yekaterinburg
can you please help, I have unlocked my device and rooted also, now if i wants to update/upgrade my honor 4C downloading any UPDATE.APP and copy it on my phone's SD Card folder dload, every time it is showing that updating but in the end it showing an error message like " update failed " etc. is there any other way or i have to Lock and Un-Root first but how? how to Lock and Un-Root again ?
regards.
There are many specific things about flashing, that's why I suggest you to go to right topic/forum (!).
Now I can't say anything need.
Only some of 'truths'':
If you are trying to flash OTA package, you need to have firmware without changes in system files, root, for example.
If you are trying to flash full package, at first make sure that you have necessary region.
You don't need to relock your bootloader, btw)
 

fitsuli

Member
Nov 7, 2015
48
24
0
Yekaterinburg
i see i see ...thanks a bunch bro........oh and could u tell me what changes i need to make for it to be more prformance oriented especially the gpu
Gpu already optimized, you can only changed it's governor.
For processor: you can disable hotplug or set it to performance mode; change your governor; maybe use some init.d scripts.
 

GWRon

Member
Mar 5, 2016
8
1
0
I am having sudden restarts with variants v.4 and v.5. After flashing them I also wiped caches etc (just to make sure).
Then - some time later on that day (always <24hrs until it happens): the device restarts out of the sudden.

It does not matter if the device is used at that moment or not - it just restarts (not a quick restart but a cold boot).

I do not know if there is some kind of "crash log" available somewhere, so I am unsure how to help.

Is there a simple download for a "stock 5.1 boot.img" (I am talking about an "huawei 4c"-device)? I am on linux and the extractors of the various image files of the update.app are for Windows only.
With the stock-boot.img I did not have any unwanted reboots.

bye
Ron
 
Last edited:

GWRon

Member
Mar 5, 2016
8
1
0
Where to do this? I installed "Kernel Adiutor" but some points in the app lead to a stalled application, so I prefer to get a helpful answer here before doing the wrong thing.


bye
Ron
 
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone