[Kernel + Boot] Stock Android 6.0 - P8lite General

Guide how to make kernel + boot for android 6.0
This are stock kernels from Huawei.
All sources on GitHub
https://github.com/olrak2/make_boot_image_hi6210sft
Attention! Flashing a kernel or changing a kernel can damage your phone

Related

[Q] [DEV] How to setup development environment?

I want to build a custom kernel and then a native program some sort of daemon.
I want to get original kernel with my modifications.
How to setup build environment?
Which host OS to use for development?
Which compiler?
I found samsung kernel repository in android sources and I've got sources from opensource.samsung.com (froyo + update_JPM + update2)
So which sources to use for my Galaxy S?
Is there are any guides to build kernel and native root level applications (mods, daemons, drivers ...)?

[Q] Can't flash Google Toolchain-compiled kernel

I have an issue with my i9305 as I can't flash Google toolchain-compiled kernel. But it works for me when i flash the same kernel compiled with linaro toolchain. I used Boeffla Kernel 5.1 stable compiled by P$T here http://forum.xda-developers.com/showthread.php?t=2322893&page=54
but failed to flash latest boeffla kernel compiled by lord boeffla (starting 5.1-beta14 reverted back to Google 4.7 toolchain). Does anyone experience the same problem?any ideas?
The Galaxy Project rom v14.03 GT-I9305

[KERNEL][DEV][Z2] Android N Preview 3

.
Hello everyone
Since Sony has supported Xperia Z3 Android N preview and the source code was released I built this kernel starting sources for Z2, so anyone with knowledge that want to carry the rom Android N Preview Xperia Z2 now becomes easy
Status:
Kernel built starting from Android N Preview 3 sources
Disabled DM-Verity in zImage and ramdisk
ramdisk ported the Xperia Z3
Installation mode:
How to install:
flash recovery FOTA partition
Code:
fastboot flash recovery twrp-3.0.2-0-sirius.img
flash my Kernel (rename to boot.img)
Code:
fastboot flash boot boot.img
flash @Chainfire SuperSU-v2.76 via TWRP
github
Notes:
Recommended come the latest firmware stock available (575 or newer)
Only for unlocked bootloaders
Please do not ask me how porting the rom!
Firmware Android N 3 Preview can be downloaded here
.
any screenshots? features?
Is there anyone tried?
Will it work on D6502
shahidaffan said:
Will it work on D6502
Click to expand...
Click to collapse
Look, kernel boot, I believe it is D6503
http://forum.xda-developers.com/showpost.php?p=68232747&postcount=4
Gustavo RD78 said:
.
Hello everyone
Since Sony has supported Xperia Z3 Android N preview and the source code was released I built this kernel starting sources for Z2, so anyone with knowledge that want to carry the rom Android N Preview Xperia Z2 now becomes easy
Status:
Kernel built starting from Android N Preview 3 sources
Disabled DM-Verity in zImage and ramdisk
ramdisk ported the Xperia Z3
Installation mode:
How to install:
flash recovery FOTA partition
Code:
fastboot flash recovery twrp-3.0.2-0-sirius.img
flash my Kernel (rename to boot.img)
Code:
fastboot flash boot boot.img
flash @Chainfire SuperSU-v2.76 via TWRP
github
Notes:
Recommended come the latest firmware stock available (575 or newer)
Only for unlocked bootloaders
Please do not ask me how porting the rom!
Firmware Android N 3 Preview can be downloaded here
.
Click to expand...
Click to collapse
Hey dude! Thanks for doing my request! You rock!
Gustavo RD78 said:
Look, kernel boot, I believe it is D6503
http://forum.xda-developers.com/showpost.php?p=68232747&postcount=4
Click to expand...
Click to collapse
Yes it Boots.. I tried Preview 4 on my D6503..
If you can, please intergrate TWRP recovery to your kernel. .
then after we get root access, we can hopefully fix the bugs..

How to build custom kernel for Lenovo p1ma40, to support MagiskHide?

Lenovo p1ma40 runs on Android 5.1. And I want to use MagiskHide but am unable to do so, as , "Pre 6.0 kernels are very likely to have no mount ns procfs support, which is required for MagiskHide to work properly. This Linux kernel feature is only required to be added in Android 6.0."
So, as stated at xda forums, we need to rebuild the kernel with the required patch (https://lore.kernel.org/patchwork/patch/217023/). And set
CONFIG_NAMESPACES=y. My question is : 1) How do I patch the kernel source code(pls give exact steps)? 2)How do I flash the modified kernel? 3) do I need to unlock bootloader to do so?
Thanks in advance.....
Link: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/amp/

[QUESTION] Can I use a 4.4.2 kernel on 5.1.1 or atleast use it as a kernel source for my own kernel

Thank you!
I ported a 7.1.2 rom from a kitkat kernel (3.4.67) https://forum.xda-developers.com/t/rom-7-1-2-mik-el-android-for-takee-1.3996301

Categories

Resources