[HELP]Kernel building - Xperia Z3 Q&A, Help & Troubleshooting

Showing me this when i type
Code:
make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
include/config/auto.conf:189:warning: symbol value 'elf32-i386' invalid for OUTPUT_FORMAT
include/config/auto.conf:271:warning: symbol value 'arch/x86/configs/i386_defconfig' invalid for ARCH_DEFCONFIG
include/config/auto.conf:617:warning: symbol value '-fcall-saved-ecx -fcall-saved-edx' invalid for ARCH_HWEIGHT_CFLAGS
*** Error during update of the configuration.
/home/pranav/android2/kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/home/pranav/android2/kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
Click to expand...
Click to collapse
Trying to build it for Z3 MM Stock from Sony Copyright Archives

you have already configured toolchain?
if so, what are you using?
Then you must select defconfig, in case, shinano_leo_defconfig

Gustavo RD78 said:
you have already configured toolchain?
if so, what are you using?
Then you must select defconfig, in case, shinano_leo_defconfig
Click to expand...
Click to collapse
I have doomlord's toolchain..
This error only comes when i type that command at the end..
Following this Guide
http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276

pranavmali said:
I have doomlord's toolchain..
This error only comes when i type that command at the end..
Following this Guide
http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
Click to expand...
Click to collapse
Which kernel are you trying to build also is your build machine 64-bit?

HerroYou said:
Which kernel are you trying to build also is your build machine 64-bit?
Click to expand...
Click to collapse
Its a 32bit machine
Building MM Stock based kernel

pranavmali said:
Its a 32bit machine
Building MM Stock based kernel
Click to expand...
Click to collapse
There is the problem, you need a 64 bit machine.

First you need to configure the kernel by making the defconfig.
Then you need to specify architecture you're building for using ARCH command.
See here:
http://developer.sonymobile.com/kno...h-a-linux-kernel-from-sony-copyleft-archives/
Also I don't see a branch for 23.5.A.0.575 which is the latest public MM firmware for Z3, so you need to grab the source code for this version off http://developer.sonymobile.com/downloads/xperia-open-source-archives/

Related

[Q] Having trouble building CM7 from source using OS X

So I've been trying to build CM7 from source following this guide. I follow it exactly (apart from replacing "Vision" with "Glacier" and "-froyo" with "-gingerbread") and it gives me an error when I enter in the command "make -j`sysctl -an hw.logicalcpu` bacon"
"make: *** No rule to make target `vendor/htc/glacier/proprietary/MS-HTCVISION-KNT20-02.apk', needed by `out/target/product/glacier/system/app/MS-HTCVISION-KNT20-02.apk'. Stop.
make: *** Waiting for unfinished jobs...."
And countless other ones during the process.
Any idea why this is happening? I'm on OS X if it helps.
I think I've waiting long enough to warrant a bump.
Anyone?
ELBdelorean said:
So I've been trying to build CM7 from source following this guide. I follow it exactly (apart from replacing "Vision" with "Glacier" and "-froyo" with "-gingerbread") and it gives me an error when I enter in the command "make -j`sysctl -an hw.logicalcpu` bacon"
"make: *** No rule to make target `vendor/htc/glacier/proprietary/MS-HTCVISION-KNT20-02.apk', needed by `out/target/product/glacier/system/app/MS-HTCVISION-KNT20-02.apk'. Stop.
make: *** Waiting for unfinished jobs...."
And countless other ones during the process.
Any idea why this is happening? I'm on OS X if it helps.
Click to expand...
Click to collapse
My first thought for what's wrong is that you have the latest version of gmake(3.82) which has a bug that prevents android from building. If you haven't already done so, downgrade to gmake 3.81 and see if that solves your problem. You can do that following the step-by-step from the AOSP build guide or the instructions in this post.
Yes, I have downgraded gmake.
Ok, I think I figured out why you're getting the error which sounds like it gets thrown when the proprietary files are not pulled from your phone through adb when you run extract-files.sh as they should. From here:
make: *** No rule to make target `.../[something]', needed by `.../[something]'. Stop.
You need to copy the proprietary files off your phone. Make sure you have ADB set up and plug your device to your computer via USB. Then run:
Code:
cd /Volumes/CyanogenModWorkspace/android/system/device/htc/glacier/
./extract-files.sh
Click to expand...
Click to collapse
Hopefully that will get you up and running.

CROSS COMPILE path not found ?!

I've set up a VM build environment using Ubuntu with the aim of building kernel modules for my Samsung S3. Particularly interested in the asix
ethernet module so I can use this USB Ethernet adapter. Kevinf28 has very kindly assisted to provide initial builds of the module and prove that
it works. ( see http://forum.xda-developers.com/showthread.php?t=2131825) However, it needs to be rebuilt when a new ROM is released, and I
therefore want to create my own build environment. I have everything setup using git, have cloned the tool chains etc from git and have the kernel source ready to go from samsung. I can create the config file for the make, but then the build fails with the following. This seems very odd as the file its saying it cant find is clearly there! Any ideas ? I'm new to building kernels in linux. The output below was an attempt to build a CM10 version, but the same error occurs when building a samsung one.
export CROSS_COMPILE=/root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
[email protected]:~/kernel/android_kernel_samsung_smdk4412-43aaedbcde478c8e032771d62a1956133b29b1d4#
make cyanogenmod_i9300_defconfig#
# configuration written to .config
#
[email protected]:~/kernel/android_kernel_samsung_smdk4412-43aaedbcde478c8e032771d62a1956133b29b1d4#make make: /root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-gcc: Commandnot found scripts/kconfig/conf --silentoldconfig Kconfig make: /root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-gcc: Commandnot found CHK include/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CC kernel/bounds.s /bin/sh: 1: /root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-gcc:not found make[1]: *** [kernel/bounds.s] Error 127 make: *** [prepare0] Error 2----
-Saying its not found - but here is the directory showing the file is there:
[email protected]:~/git/Android_Toolchains/arm-eabi-4.4.3/bin# ls
arm-eabi-addr2line
arm-eabi-gcc
arm-eabi-ld
arm-eabi-readelf
arm-eabi-ar
arm-eabi-gcc-4.4.3
arm-eabi-ld.bfd
arm-eabi-run
arm-eabi-as
arm-eabi-gccbug
arm-eabi-ld.gold
arm-eabi-size
arm-eabi-c++
arm-eabi-gcov
arm-eabi-nm
arm-eabi-strings
arm-eabi-c++filt
arm-eabi-gdb
arm-eabi-objcopy
arm-eabi-strip
arm-eabi-cpp
arm-eabi-gdbtui
arm-eabi-objdump
arm-eabi-g++
arm-eabi-gprof
arm-eabi-ranlib
Code:
[SIZE=4][COLOR=Red]~[/COLOR][/SIZE]/git/Android_Toolchains/arm-eabi-4.4.3/bin
and
Code:
/root/git/Android_Toolchains/arm-eabi-4.4.3/bin/
are not the same directories.
~ = is your home directory, which is like /home/[username]/
You have to use this
Code:
export CROSS_COMPILE=~/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
Thanks - but still no joy....
set the CROSS_COMPILE, confirmed its set, confirmed the contents of the dir, then make...
trying to set it using ~ gets replaced with /root/...
Code:
[email protected]:~/git/Android_Toolchains/arm-eabi-4.4.3/bin# export CROSS_COMPILE=~/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
[email protected]:~/git/Android_Toolchains/arm-eabi-4.4.3/bin# echo $CROSS_COMPILE
/root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
[email protected]:~/git/Android_Toolchains/arm-eabi-4.4.3/bin# ls
arm-eabi-addr2line arm-eabi-gcc arm-eabi-ld arm-eabi-readelf
arm-eabi-ar arm-eabi-gcc-4.4.3 arm-eabi-ld.bfd arm-eabi-run
arm-eabi-as arm-eabi-gccbug arm-eabi-ld.gold arm-eabi-size
arm-eabi-c++ arm-eabi-gcov arm-eabi-nm arm-eabi-strings
arm-eabi-c++filt arm-eabi-gdb arm-eabi-objcopy arm-eabi-strip
arm-eabi-cpp arm-eabi-gdbtui arm-eabi-objdump
arm-eabi-g++ arm-eabi-gprof arm-eabi-ranlib
[email protected]:~/git/Android_Toolchains/arm-eabi-4.4.3/bin# cd /root/kernel/
[email protected]:~/kernel# make
make: /root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /root/git/Android_Toolchains/arm-eabi-4.4.3/bin/arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
Wait, you said ~ gets replaced with /root ?
Why your home_dir is root? That's odd...
However, do this
Code:
cd ~/git/Android_Toolchains/arm-eabi-4.4.3/bin
pwd
After "pwd" you will get a full path of the directory where you in
Use that path for
Code:
export CROSS_COMPILE=<path you got>/arm-eabi-
Are you logged in as root?
Sent from my SCH-R950 using Tapatalk 2
thewadegeek said:
Are you logged in as root?
Sent from my SCH-R950 using Tapatalk 2
Click to expand...
Click to collapse
Yes he is logged in as root. That's why his home directory is /root.
Sent from my GT-I9300 using xda app-developers app
I know, I was getting him to think of that though. Sorry missed the post answering his question, but he still hasn't responded. @op Why are you logged in as root? You can build as a standard user.
Sent from my SCH-R950 using Tapatalk 2
thewadegeek said:
I know, I was getting him to think of that though. Sorry missed the post answering his question, but he still hasn't responded. @op Why are you logged in as root? You can build as a standard user.
Sent from my SCH-R950 using Tapatalk 2
Click to expand...
Click to collapse
I actually have the exact same problem. I can't build as root or as a standard user. No matter what I do, it won't compile ( running a VM just like the OP).
The virtual machine environment causing the problem?
Sent from my GT-I9300 using xda app-developers app
Well what is the error? I've built on multiple VMs without a problem.
Sent from my SCH-R950 using Tapatalk 2
thewadegeek said:
Well what is the error? I've built on multiple VMs without a problem.
Sent from my SCH-R950 using Tapatalk 2
Click to expand...
Click to collapse
Make can't find gcc compiler in the path given through CROSS_COMPILE
123shree said:
I actually have the exact same problem. I can't build as root or as a standard user. No matter what I do, it won't compile ( running a VM just like the OP).
The virtual machine environment causing the problem?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I don't think so, I've built a kernel several times on a virtual machine (virtualbox)
Well the fix for the OP is to use the toolchains fixed path instead of the relative path. I was curious as to what the other gentleman's error was.
Sent from my SCH-R950 using Tapatalk 2
I still cant get this to run - even following the instructions above.
I am using "sudo -i"
I could try as a user and shift everything across from the root home, but not sure that this will make a difference.... ?
gingerneil said:
I still cant get this to run - even following the instructions above.
I am using "sudo -i"
I could try as a user and shift everything across from the root home, but not sure that this will make a difference.... ?
Click to expand...
Click to collapse
Can you answer my question about why you were running as root in the first place? It is not needed so I want to know what circumstances lead up to this. Also now why is it failing? Same error? If so you got the path to the toolchain wrong.
No real reason to run as root - just that the instructions that I was following had it as root.
As far as the path being wrong - have a look back through my code snippets - I'm sure it isnt unless you can spot something I cant.....
gingerneil said:
No real reason to run as root - just that the instructions that I was following had it as root.
As far as the path being wrong - have a look back through my code snippets - I'm sure it isnt unless you can spot something I cant.....
Click to expand...
Click to collapse
64-bit VM by any chance?
thewadegeek said:
64-bit VM by any chance?
Click to expand...
Click to collapse
Yes - the vm is 64bit. Could that be why? Does the kernel only compile on 32bit?
Nope it will build, but do you have ia32-libs install? Any other toolchains on the machine?
Sent from my SCH-R950 using Tapatalk 2
thewadegeek said:
Nope it will build, but do you have ia32-libs install? Any other toolchains on the machine?
Sent from my SCH-R950 using Tapatalk 2
Click to expand...
Click to collapse
I've tried to install ia32-libs but I get lots of dependancy errors that Ive not been able to fix. As its a VM and easy to rebuild, I'm downloading the 32bit version and will see if I have any better results.
I've swapped my S3 for a Note2 - so will have a go at building the modules for that once I have the VM up again.
gingerneil said:
I've swapped my S3 for a Note2 - so will have a go at building the modules for that once I have the VM up again.
Click to expand...
Click to collapse
Looks like I may havce sorted this - i added in the CROSS_COMPILE= statement statement to the make command - like in (4) here: http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
Seems to be building ok now - but will see if it completes ok.
I reinstalled the VM with everything in a user home area rather than using /root/ - but the user is admin anyway so I dont suppose this will have made a difference.

[Completed] Help compiling SGH Hercules kernel for porting kali nethunter

Hi everyone!
I own the Samsung Galaxy S2 T989 A.K.A. Hercules
running cm 12.1 unofficial Sultan Hercules based on android 5.1.1 (Lollipop)
which has sultan-kernel-celox.
I am actually trying to port kali nethunter, a set of tools for pentesting (Awesome)
Running Kali linux 2.0 32 bits in my notebook. I have installed all the dependencies described in:
https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
I am using the next rom:
http://forum.xda-developers.com/galaxy-s2-tmobile/development/rom-aosp-lollipop-preview-t2931716
I also read the Develop Now guide to understand a bit better.
So the problem is when I run the " make" command in the sultan-kernel-celox kernel source directory and using " make Sultan_hercules_defconfig" which is inside /arch/arm/configs .
the error I am getting is:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
/root/arm-stuff/kali-nethunter/sultan-herc/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:989: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
So with my very limited knowledge about development and scripting check the Kbuild file at line 35 but I can't understand, I have also "googled" about the error I am getting but without luck, I also have tried with other sources kernel I have found but it seems to be the same message.
So please help me to figure what am I doing wrong or which kernel source should I use. I hope someone with so much more experience than me would help me with this issue to finally getting the nethunter tools.
Thanks in advance
v4lh4ll4 said:
Hi everyone!
I own the Samsung Galaxy S2 T989 A.K.A. Hercules
running cm 12.1 unofficial Sultan Hercules based on android 5.1.1 (Lollipop)
which has sultan-kernel-celox.
I am actually trying to port kali nethunter, a set of tools for pentesting (Awesome)
Running Kali linux 2.0 32 bits in my notebook. I have installed all the dependencies described in:
https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
I am using the next rom:
http://forum.xda-developers.com/galaxy-s2-tmobile/development/rom-aosp-lollipop-preview-t2931716
I also read the Develop Now guide to understand a bit better.
So the problem is when I run the " make" command in the sultan-kernel-celox kernel source directory and using " make Sultan_hercules_defconfig" which is inside /arch/arm/configs .
the error I am getting is:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
/root/arm-stuff/kali-nethunter/sultan-herc/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:989: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
So with my very limited knowledge about development and scripting check the Kbuild file at line 35 but I can't understand, I have also "googled" about the error I am getting but without luck, I also have tried with other sources kernel I have found but it seems to be the same message.
So please help me to figure what am I doing wrong or which kernel source should I use. I hope someone with so much more experience than me would help me with this issue to finally getting the nethunter tools.
Thanks in advance
Click to expand...
Click to collapse
Hi and thank you for using XDA Assist
I think you should ask over here about your problem. I'm sure you will get an answer soon
Good luck !

Kernel-Source_Nokia_1

Kernel Source of Nokia 1
(TA-1047/TA-1060/TA-1056/TA-1079/TA-1066)
LINK > https://github.com/DhirajSurvase/Kernel_Nokia_1_MT6737​
Instructions >
clone the source code
go to kernel dir
run "bash build.sh" command
ur compiled kernel will be under out/arch/arm/*
Official release of Nokia 1 Kernel sources available at https://www.nokia.com/en_int/phones/opensource
Hi,
We tried the official kernel and built it. After flashing the kernel, phone boot and it asked for a password. We gave password "1234" and it reboots and went in recovery.
Its always rebooting in recovery. We flashed the original boot image. Behavior did not change.
Is there any other recovery image we can use and flash the original boot image and bring the phone to working condition?
Thank You!
Mayur
DhirajMS said:
Kernel Source of Nokia 1
(TA-1047/TA-1060/TA-1056/TA-1079/TA-1066)
LINK > https://github.com/DhirajSurvase/Kernel_Nokia_1_MT6737​
Instructions >
clone the source code
go to kernel dir
run "bash build.sh" command
ur compiled kernel will be under out/arch/arm/*
Click to expand...
Click to collapse
Everyone, help me compile kernel from this source please. I can't do it, because i'm noobie for compile any sources.
ntnamkg said:
Everyone, help me compile kernel from this source please. I can't do it, because i'm noobie for compile any sources.
Click to expand...
Click to collapse
just clone it..
and hit "bash build.sh"
Thanks for respond. But, it is fail, below (some text):
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/home/namnt/Nokia1/Kernel_Nokia_1_MT6737-master/out'
make: *** [sub-make] Error 2
make: Leaving directory `/home/namnt/Nokia1/Kernel_Nokia_1_MT6737-master'
Click to expand...
Click to collapse
I try build on Ubuntu 14.04, 16.04 and Manjaro linux, all get this notice.
Ok
build.sh: line 35: make: command not found
build.sh: line 39: make: command not found
Click to expand...
Click to collapse
After run bash build get above notice. How to fix it? Thanks
ntnamkg said:
After run bash build get above notice. How to fix it? Thanks
Click to expand...
Click to collapse
apt-get install build-essential
would install make, gcc and other required tools.

Help!!! Building AOSP

Hey guys I was tryna build aex 7.1.2 using my lineage sources
I get this error Everytime I lunch and mka aex
Code:
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/khannz7/aex/out/target/product/f1f/system/vendor/etc/audio_effects.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/khannz7/aex/out/target/product/f1f/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/khannz7/aex/out/target/product/f1f/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/khannz7/aex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/khannz7/aex/out/target/common/obj/JAVA_LIBRARIES/com.cyanogenmod.keyhandler_intermediates/with-local/classes.dex', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Sources I use
Device
https://github.com/LineageOS/android_device_oppo_f1f.git
Kernel
https://github.com/LineageOS/android_kernel_oppo_msm8939.git
Device common tree
https://github.com/LineageOS/android_device_oppo_common.git
Device common msm8939 tree
https://github.com/LineageOS/android_device_oppo_msm8939-common.git
khannz7 said:
Hey guys I was tryna build aex 7.1.2 using my lineage sources
I get this error Everytime I lunch and mka aex
Code:
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/khannz7/aex/out/target/product/f1f/system/vendor/etc/audio_effects.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/khannz7/aex/out/target/product/f1f/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/khannz7/aex/out/target/product/f1f/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/khannz7/aex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/khannz7/aex/out/target/common/obj/JAVA_LIBRARIES/com.cyanogenmod.keyhandler_intermediates/with-local/classes.dex', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Sources I use
Device
https://github.com/LineageOS/android_device_oppo_f1f.git
Kernel
https://github.com/LineageOS/android_kernel_oppo_msm8939.git
Device common tree
https://github.com/LineageOS/android_device_oppo_common.git
Device common msm8939 tree
https://github.com/LineageOS/android_device_oppo_msm8939-common.git
Click to expand...
Click to collapse
That's probably caused by the oppo common repo found here
https://github.com/LineageOS/android_device_oppo_common/tree/cm-14.1
Also make sure you are using cm-14.1 branch to build and not lineage-15.1
messi2050 said:
That's probably caused by the oppo common repo found here
https://github.com/LineageOS/android_device_oppo_common/tree/cm-14.1
Also make sure you are using cm-14.1 branch to build and not lineage-15.1
Click to expand...
Click to collapse
I do use the 14.1 branch..
+ Is there a particular thing in this repo making this error
khannz7 said:
I do use the 14.1 branch..
+ Is there a particular thing in this repo making this error
Click to expand...
Click to collapse
Yes it's that line
https://github.com/LineageOS/android_device_oppo_common/blob/cm-14.1/configpanel/Android.mk#L26
messi2050 said:
Yes it's that file
https://github.com/LineageOS/android_device_oppo_common/blob/cm-14.1/configpanel/Android.mk#L26
Click to expand...
Click to collapse
Should I remove this or what?
khannz7 said:
Should I remove this or what? Please
Click to expand...
Click to collapse
Yea try to comment out those 2 lines:
LOCAL_STATIC_JAVA_LIBRARIES := \
org.cyanogenmod.platform.internal
messi2050 said:
Yea try to comment out those 2 lines:
LOCAL_STATIC_JAVA_LIBRARIES := \
org.cyanogenmod.platform.internal
Click to expand...
Click to collapse
Thnx will try and report it to you
khannz7 said:
Thnx will try and report it to you
Click to expand...
Click to collapse
You are welcome
messi2050 said:
Yea try to comment out those 2 lines:
LOCAL_STATIC_JAVA_LIBRARIES := \
org.cyanogenmod.platform.internal
Click to expand...
Click to collapse
Same error again
khannz7 said:
Same error again
Click to expand...
Click to collapse
Hmm.. try to comment out all lines that contain
org.cyanogenmod.platform.internal
And make sure to make clean then start building again or just remove the whole oppo common folder xD
messi2050 said:
Hmm.. try to comment out all lines that contain
org.cyanogenmod.platform.internal
And make sure to make clean then start building again or just remove the whole oppo common folder xD
Click to expand...
Click to collapse
It may contain some dependencies
khannz7 said:
It may contain some dependencies
Click to expand...
Click to collapse
If it still give error i will try to check it later on pc and make sure what should be removed for a smooth build.
messi2050 said:
If it still give error i will try to check it later on pc and make sure what should be removed for a smooth build.
Click to expand...
Click to collapse
Ok ..
So this time I try removing the whole common folder
@messi2050
Removed oppo/common new error
** Don't have a product spec for: 'aosp_f1f'
** Do you have the right repo manifest?
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/oppo/f1f/aosp_f1f.mk]]: "device/oppo/common/common.mk" does not exist. Stop.
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/oppo/f1f/aosp_f1f.mk]]: "device/oppo/common/common.mk" does not exist. Stop.
messi2050 said:
If it still give error i will try to check it later on pc and make sure what should be removed for a smooth build.
Click to expand...
Click to collapse
Still errors
khannz7 said:
Still errors
Click to expand...
Click to collapse
I will check the repos later and report back to you
messi2050 said:
I will check the repos later and report back to you
Click to expand...
Click to collapse
Ok
khannz7 said:
Ok
Click to expand...
Click to collapse
ok delete oppo-common folder and clone this one instead [it already have all required changes]
https://github.com/AospExtended-Devices/android_device_oppo_common
that should fix your problem. good luck.
messi2050 said:
ok delete oppo-common folder and clone this one instead [it already have all required changes]
https://github.com/AospExtended-Devices/android_device_oppo_common
that should fix your problem. good luck.
Click to expand...
Click to collapse
Thanks heaps buddy :good:
khannz7 said:
Thanks heaps buddy :good:
Click to expand...
Click to collapse
Let me know how it goes
messi2050 said:
Let me know how it goes
Click to expand...
Click to collapse
It gives me this new error

Categories

Resources