• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[UNSUPPORTED] [KERNEL] ON-OR Kernel for STOCK H7 (GCC Linaro 4.9.3) [PLK-L01]

Search This thread

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
Development and support ceased.
For further explaination, see this post.

Proudly announcing the first custom kernel for the Huawei Honor 7 PLK-L01! :D
ON-OR H7 Kernel

(yeah, terrible name!)
attachment.php


Features:
CPU Governor
TCP Congestion Algorithms
  • enabled westwood, bic, hybla, vegas, veno, yeah, illinois
I/O Schedulers
  • added bfq and fiops

Built for use with STOCK ROMS - it's all we have right now :p
Built with gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu

Instructions:
you need an unlocked bootloader!
you need TWRP recovery!
you need to be running B140*
you need to know how to get back to a stock boot image, should you need to! - stock B140 boot attached.
if you don't know what all that means, find out, there's plenty of threads on it!
  1. download UPDATE-ON-OR-Kernel.zip
  2. install via TWRP
  3. reboot

Kernel features can be enabled by apps such as Kernel Adiutor (ROOT)
If you want to enable settings on boot, you'll have to add the app to the protected apps and startup manager in system setting.

Notes:
please do not post elsewhere, link to this post.
i did not break your device, i never touched it!
this is my first publicly released kernel (i built some sony ones back in 2012 for my own usage) - i am not a dev, i am a linux admin by trade :p
a number of other governors were tried, none would compile "out of the box"
* tested on B140 only by me - if you want to test it on another system version just make sure you have a stock boot.img and know how to get back via fastboot!
edit: added attachment - stock B170 boot as someone will probably need it.
edit: the install method is not what i wanted. it's a crude hack, just like our twrp! it turns out the twrp version we are using is for the GRACE handset, so i've had to fudge the installer script to verify that device name. Please do not run this on a GRACE, it will break it!

GNU GPL Compliance:
Original Source
My GIT

enjoy.. :fingers-crossed:

All stock recovery and boot images for PLK-L01 can be found here: http://forum.xda-developers.com/honor-7/general/stock-plk-l01-boot-recovery-images-t3290348

Added the [EXPERIMENTAL] tag - woke this morning and phone was in unwake-able sleep! - seems to be related to bluactive, so avoid using that governor!
 

Attachments

  • Screenshot_2016-01-03-19-27-10.png
    Screenshot_2016-01-03-19-27-10.png
    46.1 KB · Views: 13,541
  • UPDATE-ON-OR-Kernel.zip
    9.2 MB · Views: 541
Last edited:

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
Development ceased.
For those who are not aware of my troubles over the last month, I had to get a warranty replacement phone. Since receiving it, I have been completely let down by huawei who are unable to supply a bootloader unlock code by any means, or for that matter any genuine customer service. Due to this I can no longer continue to work on this device :(

My humble apologies to all you on this sub-forum. I was really enjoying learning and posting stuff for you guys to mess around with, although ultimately it's the manufacturer that has really let us down.
 
Last edited:

vobiscum

Senior Member
Jun 27, 2014
231
133
Great works!!

Can you post screenshot of dailyuse deepsleep with bluactive governor?

Seems that in stock kernel freq 400 mhz is slow to go on sleep.

Kernel set default cpu freq like mpdecision on qualcomm or there is a hotplug?

last question with kernel setting apk can you see core to 2200 mhz?

Sorry for question list.

Many thanks.
 
Last edited:

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
Tried without luck.
It says: unsupported device

Usin' the chinese twrp linked somewhere on xda honor7.
and my fw is b170

On my H7 B170 when I install this kernel TWRP says "unsupported device"

OK, thanks.
One more favour then ;)
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device

~ # getprop ro.build.product

must be from within TWRP
thank you :eek:
 

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
OK, thanks.
One more favour then ;)
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device

~ # getprop ro.build.product

must be from within TWRP
thank you :eek:

Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.

I think what we really need is a proper recovery, get everyone standard instead of trying to work around inconsistent hacks!
 
Last edited:
  • Like
Reactions: N!KE26

samcro94

Senior Member
Aug 16, 2014
256
92
PARIS
Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.

I think what we really need is a proper recovery, get everyone standard instead of trying work work around inconsistent hacks!
Hi , i tried but device not found in recovery mode
here is the twrp i use, no bootloop
https://www.dropbox.com/s/n50okepdvljglk2/TWRP_Honor7_EN.img?dl=1%22
 
  • Like
Reactions: FearFac

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
Ok thank you , will try tomorow

sorry, I wasn't really clear.
download the STOCK_B140_BOOT.zip from the first post. extract it, plug the phone in
then run:

Code:
fastboot flash boot boot_140.img
fastboot reboot

as for the battery drain, what are the high users of battery?
mine has been mostly idle (using the G4 as my main), but it's still at 45% after 2 days 11 hrs
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    Development and support ceased.
    For further explaination, see this post.

    Proudly announcing the first custom kernel for the Huawei Honor 7 PLK-L01! :D
    ON-OR H7 Kernel

    (yeah, terrible name!)
    attachment.php


    Features:
    CPU Governor
    TCP Congestion Algorithms
    • enabled westwood, bic, hybla, vegas, veno, yeah, illinois
    I/O Schedulers
    • added bfq and fiops

    Built for use with STOCK ROMS - it's all we have right now :p
    Built with gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu

    Instructions:
    you need an unlocked bootloader!
    you need TWRP recovery!
    you need to be running B140*
    you need to know how to get back to a stock boot image, should you need to! - stock B140 boot attached.
    if you don't know what all that means, find out, there's plenty of threads on it!
    1. download UPDATE-ON-OR-Kernel.zip
    2. install via TWRP
    3. reboot

    Kernel features can be enabled by apps such as Kernel Adiutor (ROOT)
    If you want to enable settings on boot, you'll have to add the app to the protected apps and startup manager in system setting.

    Notes:
    please do not post elsewhere, link to this post.
    i did not break your device, i never touched it!
    this is my first publicly released kernel (i built some sony ones back in 2012 for my own usage) - i am not a dev, i am a linux admin by trade :p
    a number of other governors were tried, none would compile "out of the box"
    * tested on B140 only by me - if you want to test it on another system version just make sure you have a stock boot.img and know how to get back via fastboot!
    edit: added attachment - stock B170 boot as someone will probably need it.
    edit: the install method is not what i wanted. it's a crude hack, just like our twrp! it turns out the twrp version we are using is for the GRACE handset, so i've had to fudge the installer script to verify that device name. Please do not run this on a GRACE, it will break it!

    GNU GPL Compliance:
    Original Source
    My GIT

    enjoy.. :fingers-crossed:

    All stock recovery and boot images for PLK-L01 can be found here: http://forum.xda-developers.com/honor-7/general/stock-plk-l01-boot-recovery-images-t3290348

    Added the [EXPERIMENTAL] tag - woke this morning and phone was in unwake-able sleep! - seems to be related to bluactive, so avoid using that governor!
    7
    Development ceased.
    For those who are not aware of my troubles over the last month, I had to get a warranty replacement phone. Since receiving it, I have been completely let down by huawei who are unable to supply a bootloader unlock code by any means, or for that matter any genuine customer service. Due to this I can no longer continue to work on this device :(

    My humble apologies to all you on this sub-forum. I was really enjoying learning and posting stuff for you guys to mess around with, although ultimately it's the manufacturer that has really let us down.
    5
    workin' on a proper TWRP and tryin' to build a device tree for L01-Version in my little freetime ... it's a lot left feh sure ... maybe someday :) will report when it's time to load on github

    Sent from my PLK-L01 using XDA Premium HD app
    2
    workin' on a proper TWRP and tryin' to build a device tree for L01-Version in my little freetime ... it's a lot left feh sure ... maybe someday :) will report when it's time to load on github

    same here, compiled one yesterday, boots to recovery twrp splash screen, then it seems to keep restarting recovery, by which i mean the splash appears again, then again, forever :p (init ?)
    2
    sorry, no. time for someone else to take over.
    Try it for unlock and root. I have info, that works for Honor 7