Linux kernel code snippets

only

Discussion

N00b if you don't have patches to build than how you aspected to compile with clang?
If I'm right than you're part of that kanged project

Pitch Black TWRP

Discussion

Really a shame without asking owner of

Redwolf Recovery
you kanged lot of things!

Discussion

Ask owner of

REDWOLF recovery

atgdroid

Discussion

find . -name 'binfmt_misc.ko' -exec cp {} ak2/modules/system/lib/modules/ \;

Discussion

ccache: error: Could not find compiler "arm-eabi-gcc" in PATH

Discussion

You can search test by placing

/
in texttosearch

Discussion

I keep getting -Wformat-truncation= warning while compiling, is it okay to ignore?

Discussion

git rm --cached arch/arm64/boot/dts/qcom

Discussion

git reset --hard HEAD

Discussion

Or just git checkout arch/arm64/boot/dts/qcom

Discussion

If still bare, just fetch to your current tag CAF, then checkout FETCH_HEAD

Discussion

Hi people i was using moto's dtbTool to merge all the dtbs into one , after compilation but i get this error:
./dtbTool: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libc++.so: file too short
I am running Ubuntu 16.04 LTS .
kernel source: https://github.com/TeamButter/android_kernel_motorola_msm8952/tree/lineage-15.1
dtbTool: https://github.com/MotorolaMobilityLLC/readme/blob/master/dtbtool_MMI-NPJ25.93-11/dtbTool

Discussion

./dtbTool -s 2048 -o out/arch/arm/boot/dt.img -p scripts/dtc/ out/arch/arm/boot/dts

Discussion

dtbTool --force-v3 --motorola 1 -o out/arch/arm/boot/dt.img -s 2048 -p scripts/dtc/ out/arch/arm/boot/

Discussion

Google: Result for "zaw zaw rom" :

https://forum.xda-developers.com/member.php?u=7581611

Discussion

Error:



In file included from drivers/net/ethernet/msm/rndis_ipa_trace.h:81:0,
from drivers/net/ethernet/msm/rndis_ipa.c:32:
include/trace/define_trace.h:83:43: fatal error: ./rndis_ipa_trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.

Discussion


Using .. as source for kernel
.. is not clean, please run 'make mrproper'
in the '..' directory.

Discussion

make zest_defconfig O=out/;

Discussion


export ARCH=arm64
googletool
make mrproper; make clean O=out/; make zest_defconfig O=out/; make -j6 O=out/

Discussion


commit da21f337d509e8445a2928f870ee6615cc414e03 (HEAD -> latest, origin/latest)
Author: Laster K <officiallazerl0rdgmail.com>
Date: Thu Jun 7 05:02:18 2018 +0100

include: trace: include ethernet in trace_path

Thanks celtare21 for the fix.
Signed-off-by: Laster K. <officiallazerl0rdgmail.com>

Discussion

* Port to Nexus 5 : flar2 <asegaertgmail.com>

Discussion

git rebase -i <tag_name> will send you into an interactive rebase

Discussion