Hi All,
I just cloned on my PC the Official Source Kernel taken from:
https://github.com/OnePlusOSS/android_kernel_oneplus_msm8994
Now I want to build kernel.
Is there an official .config file that I can use as reference for build?
Can I take it from my smartphone?
Thanks,
Flavio
From
Code:
android_kernel_oneplus_msm8994-5.1.1/arch/arm64/configs
I see the following files...
3083 Oct 2 10:50 defconfig
15603 Oct 2 10:50 msm8994_defconfig
17521 Oct 2 10:50 msm8994-OnePlus2_defconfig
15794 Oct 2 10:50 msm8994-OnePlus2-perf_defconfig
13636 Oct 2 10:50 msm8994-perf_defconfig
13919 Oct 2 10:50 msm_defconfig
12556 Oct 2 10:50 msm-perf_defconfig
Which I should use for build kernel like the original one?
Flavio
I just followed this steps:
1) git clone git://github.com/OnePlusOSS/android_kernel_oneplus_msm8994.git
2) git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/
3) from 'android_kernel_oneplus_msm8994'
export ARCH=arm64
export SUBRCH=arm64
export CROSS_COMPILER=/root/android/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export CROSS_COMPILE=/root/android/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export PLATFORM=msm8994-OnePlus2
and then i run "make"
This is the error message:
[email protected]:~/android/android_kernel_oneplus_msm8994# make
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
arm-linux-androideabi-gcc: error: unrecognized command line option '-mgeneral-regs-only'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Someone can help me to build Official OnePlusTwo kernel?
Thanks
Related
Hi All,
My Kernel version is: 3.4.5-868190 [email protected] #1, Mon Jul 1 20:14:37 KST 2013
How can I check if there is SetUID restriction on the kernel?
Many thanks
Hi can somebody help me
i am trying to compile my kernel but i always get this error, i tried it with different toolchains and kernel source code. it says that msm_rtb.h is missing,
the file is really not there in every kernel source code
Thanks in advance
Code:
[email protected]:~/kernel$ make -j2
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/scatterlist.h:10:0,
from include/linux/dma-mapping.h:9,
from arch/arm/kernel/asm-offsets.c:15:
/home/merwin/kernel/arch/arm/include/asm/io.h:30:26: fatal error: mach/msm_rtb.h: No such file or directory
#include <mach/msm_rtb.h>
^
compilation terminated.
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
[email protected]:~/kernel$
Gesendet von meinem GT-I9505 mit Tapatalk
I am looking for android libraries that can help me create a nice walkthrough for first-time users. Something that will help them use the app better. I did some research and came up with a few candidates which I have added at the end of this post. I am trying to create a master list of these libraries that can be used by other devs as well.
It would be nice if you guys could
1. Add any libraries that you are aware of or recommend
2. Comment on any libraries already listed.
I will try to update this post based on your comments.
Libraries
Note: I have included only libraries that have had significant activity in 2017 (readme updates and other minor updates don't count). 'Last Updated' reflects date of last major update.
Material Intro View
Last Update: Oct 2017
License: Apache
MinSDK: 16
Example: https://play.google.com/store/apps/details?id=co.thefabulous.app
Tap Target View
Last Update: Oct 2017
License: Apache
Remarks: Implements tap targets from Google's Material Design Guidelines on feature discovery
Material Tap Target Prompt
Last Update: Nov 2017
License: Apache 2.0
Min SDK: 7
Remarks: Implements tap targets from Google's Material Design Guidelines on feature discovery
Sample App: https://play.google.com/store/apps/details?id=uk.co.samuelwall.materialtaptargetprompt.sample
Material Showcase View
Last Update: June 2017
License: Apache 2.0
MinSDK:14
Tour Guide
Last Update: Aug 2017
License: MIT
TutoShowCase
Last Update: Feb 2017
License: Apache 2.0
Min SDK: 14
Spotlight
Last Update: Mar 2017
License: Apache 2.0
tutorial-view
Last Update: May 2017
License: MIT
show-case-card-view
Last Update: Sep 2017
License: Apache 2.0
Min SDK: 16
Material Intro
Last Update: Jul 2017
License: MIT
Min SDK: 15
Ahoy Onboarding
Last Update: May 2017
License: Apache 2.0
Min SDK: 15
Sliding Tutorial
Last Update: Apr 2017
License: MIT
Min SDK: 14
Android Onboarder
Last Update: Mar 2017
License: MIT
Min SDK: 12
Fancy Showcase View
Last Update: Oct 2017
License: Apache 2.0
Min SDK: 10
Paper Onboarding
Last Update: Jun 2017
License: MIT
Min SDK: 21
Vertical Intro
Last Update: Jun 2017
License: Apache 2.0
Min SDK: 14
Remark: Slider Moves Up
Network signal keeps dropping as does bluetooth connections.
Galaxy S5 G900V
LOS based 15.1
Logcat:
11-08 21:08:14.424 I/chatty ( 9414): uid=1000(system) CallAudioModeSt expire 1 line
11-08 21:08:14.730 I/TelecomFramework( 9782): TtyManager: updateUiTtyMode -1 -> 0
--------- beginning of crash
11-08 21:08:14.750 F/libc ( 418): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7 in tid 1074 (rild), pid 418 (rild)
11-08 21:08:14.810 F/DEBUG ( 9876): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-08 21:08:14.811 F/DEBUG ( 9876): AospExtended Version: 'v5.8'
11-08 21:08:14.811 F/DEBUG ( 9876): Build fingerprint: 'Verizon/kltevzw/kltevzw:6.0.1/MMB29M/G900VVRU2DQL1:user/release-keys'
11-08 21:08:14.811 F/DEBUG ( 9876): Revision: '14'
11-08 21:08:14.811 F/DEBUG ( 9876): ABI: 'arm'
11-08 21:08:14.811 F/DEBUG ( 9876): pid: 418, tid: 1074, name: rild >>> /vendor/bin/hw/rild <<<
You're using Verizon S5 LineageOS?
Have you tried different modems?
Check:
https://forum.xda-developers.com/verizon-galaxy-s5/development/modem-modems-t3926673
Mohamedkam000 said:
You're using Verizon S5 LineageOS?
Have you tried different modems?
Check:
https://forum.xda-developers.com/verizon-galaxy-s5/development/modem-modems-t3926673
Click to expand...
Click to collapse
Yes i'm on the latest QL1
first of all I would like to thank you for your help in solving this problem.
i am trying to porting postmarketos to huawei p9 lite vns-l31 hi6250 kernel 4.1.18 a week ago. I've had other problems but I solved it. these Im stuck in here. thanks and sorry for my english.
from ../include/linux/proportions.h:12,
from ../include/linux/sched.h:43,
from ../arch/arm64/kernel/asm-offsets.c:21:
../include/linux/gfp.h: In function 'gfpflags_to_migratetype':
../include/linux/gfp.h:156:10: error: 'MIGRATE_CMA' undeclared (first use in this function); did you mean 'MIGRATE_TYPES'?
156 | return MIGRATE_CMA;
| ^~~~~~~~~~~
| MIGRATE_TYPES
../include/linux/gfp.h:156:10: note: each undeclared identifier is reported only once for each function it appears in
In file included from ../arch/arm64/include/asm/kvm_asm.h:21,
from ../arch/arm64/include/asm/kvm_host.h:28,
from ../include/linux/kvm_host.h:34,
from ../arch/arm64/kernel/asm-offsets.c:24:
../arch/arm64/include/asm/virt.h: At top level:
../arch/arm64/include/asm/virt.h:77: warning: "HVC_GET_VECTORS" redefined
77 | #define HVC_GET_VECTORS 0
|
../arch/arm64/include/asm/virt.h:38: note: this is the location of the previous definition
38 | #define HVC_GET_VECTORS 1
|
../arch/arm64/include/asm/virt.h:84: warning: "HVC_SET_VECTORS" redefined
84 | #define HVC_SET_VECTORS 1
|
../arch/arm64/include/asm/virt.h:46: note: this is the location of the previous definition
46 | #define HVC_SET_VECTORS 2
|
make[2]: *** [.././Kbuild:62: arch/arm64/kernel/asm-offsets.s] Error 1
full log here http://pastebin.com/RfNpGUmp
Did you ever manage to get it working , im also trying to port postmarketos to the p9 lite