Cannot get stock kernel to compile - OnePlus 8T Questions & Answers

Hi.
I am trying to compile stock kernel for OnePlus 8T and cannot get it to build.
What I am doing wrong? Wrong clang version? (Tried 2 of em) Wrong defconfig? Wrong gcc?
I have clang r383902b and AOSP 4.9 gcc toolchain.
This is what I have tried so far:
1. git clone https://github.com/OnePlusOSS/android_kernel_oneplus_sm8250
3. cd android_kernel_oneplus_sm8250
2. git checkout oneplus/SM8250_R_11.0
3. run these exports:
export ARCH=arm64
export SUBARCH=arm64
export DTC_EXT=dtc
4. mkdir out
5. make O=out ARCH=arm64 defconfig (what is ringh config for the device? there is 3 of em:
cuttlefish_defconfig
defconfig
ranchu64_defconfig
What should I use? (Tried even grab one from phones /proc/config.gz without luck)
6. PATH=/home/user/android/clang-r383902b/bin:/home/user/android/toolchain/bin:${PATH} make -j$(nproc --all) O=out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-android-
This asks few questions:
Clang Shadow Call Stack (SHADOW_CALL_STACK) [N/y/?] (NEW)
I answered no.
> 1. no automatic initialization (weakest) (INIT_STACK_NONE)
2. 0xAA-init everything on the stack (strongest) (INIT_STACK_ALL) (NEW)
choice[1-2?]:
Just pressed enter.
It starts compiling (few minutes) until it fails:
In file included from ../arch/arm64/kernel/machine_kexec.c:27:
../arch/arm64/kernel/cpu-reset.h:19:31: error: static declaration of 'cpu_soft_restart' follows non-static declaration
static inline void __noreturn cpu_soft_restart(unsigned long entry, ^
../arch/arm64/include/asm/proc-fns.h:35:6: note: previous declaration is here
void cpu_soft_restart(phys_addr_t cpu_reset,
^
../arch/arm64/kernel/machine_kexec.c:217:58: error: too many arguments to function call, expected 2, have 4
cpu_soft_restart(reboot_code_buffer_phys, kimage->head, kimage->start, 0);
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
../arch/arm64/include/asm/proc-fns.h:35:1: note: 'cpu_soft_restart' declared here
void cpu_soft_restart(phys_addr_t cpu_reset,
^
2 errors generated.
make[2]: *** [../scripts/Makefile.build:339: arch/arm64/kernel/machine_kexec.o] Error 1
make[1]: *** [/storage/android/android_kernel_oneplus_sm8250/Makefile:1181: arch/arm64/kernel] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/arm64/xen/../../arm/xen/grant-table.o
CC arch/arm64/xen/../../arm/xen/p2m.o
CC arch/arm64/xen/../../arm/xen/mm.o
AS arch/arm64/xen/hypercall.o
CC arch/arm64/xen/../../arm/xen/efi.o
AR arch/arm64/xen/built-in.a
make[1]: Leaving directory '/storage/android/android_kernel_oneplus_sm8250/out'
make: *** [Makefile:146: sub-make] Error 2
Thanks for advance if you have a small moment for my problem

There are multiple regional versions of the Oneplus 8T
Which one are you referring to exactly?

I think my phone model is not important at this point. I cannot get the kernel compiled at my PC. I should be able to do it even without owning the phone at all.
But my phone is EU variant.

Found few commits from other people forks for the kernel (like engstk bluspark kernel) which leads me bit further but still cannot compile.
My goal is to have full stock kernel only equipped with wireguard.

Now I have tried like EVERYTHING:
And stuck with this:
make[3]: *** No rule to make target 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtb', needed by '__build'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts/qcom] Error 2
make[1]: *** [arch/arm64/Makefile:172: dtbs] Error 2
make[1]: *** Waiting for unfinished jobs....

I think you should use kona_defconfig or kona-perf_defconfig that locate in /arch/arm64/config/vendor/ directory
ex:
make vendor/kona_defconfig
instead of:
make defconfig
I successfully build from the official source but the device won't boot with my kernel

Managed to compile and even add few features. Now its just like I wanted.
Release Handelinkernel for OnePlus 8T v1.1 · drgreenth/android_kernel_oneplus_sm8250
My goal was to have pretty close to stock kernel with few optimizations and wireguard support. I made the kernel pretty much for myself. But feel free to download it. Its a kernel without any bling...
github.com

tohtorin said:
Managed to compile and even add few features. Now its just like I wanted.
Release Handelinkernel for OnePlus 8T v1.1 · drgreenth/android_kernel_oneplus_sm8250
My goal was to have pretty close to stock kernel with few optimizations and wireguard support. I made the kernel pretty much for myself. But feel free to download it. Its a kernel without any bling...
github.com
Click to expand...
Click to collapse
Just installed and will let you know after a few days my thoughts. Thanks for it

Awaiting the latest 7.10BA kernel with wireguard

Steve0007 said:
Awaiting the latest 7.10BA kernel with wireguard
Click to expand...
Click to collapse
My device still 6.9. But soon!
EDIT: Actually OnePlus did not change the kernel at all (nor they did not yet update the kernel source tree) so you can happily keep using v1.1 with 7.10
I am thinking of releasing this kernel for bigger audience but my time is very limited.

Released v1.2
Making dedicated thread soon.
Release Handelinkernel for OnePlus 8T v1.2 · drgreenth/android_kernel_oneplus_sm8250
Introducing Handelinkernel for OnePlus 8T! My goal was to have a pretty close to stock kernel with only minor optimizations (like reduce logging) and only wireguard support. I made the kernel prett...
github.com

Released
[KERNEL]Handelinkernel for OnePlus 8T v3.1 [OOS][11][OP8T][Wireguard]
Introducing Handelinkernel for OnePlus 8T! My goal was to have a pretty close to stock kernel with only minor optimizations (like reduce logging) and only wireguard support. I made the kernel pretty much for myself but feel free to download it...
forum.xda-developers.com

tohtorin said:
Now I have tried like EVERYTHING:
And stuck with this:
make[3]: *** No rule to make target 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtb', needed by '__build'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts/qcom] Error 2
make[1]: *** [arch/arm64/Makefile:172: dtbs] Error 2
make[1]: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Sir, I meet the same problem, could you tell me how did you solved this?

w00jay said:
Sir, I meet the same problem, could you tell me how did you solved this?
Click to expand...
Click to collapse
try the kona-perf_defconfig

azoller1 said:
try the kona-perf_defconfig
Click to expand...
Click to collapse
yes, I had try that, it give me this.annoying
Code:
CHK kernel/kheaders_data.tar.xz
make[3]: *** No rule to make target 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtb', needed by '__build'. Stop.
make[3]: *** Waiting for unfinished jobs....
../scripts/Makefile.build:642: recipe for target 'arch/arm64/boot/dts/qcom' failed
make[2]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:172: recipe for target 'dtbs' failed
make[1]: *** [dtbs] Error 2
make[1]: *** Waiting for unfinished jobs....

J
tohtorin said:
Now I have tried like EVERYTHING:
And stuck with this:
make[3]: *** No rule to make target 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtb', needed by '__build'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts/qcom] Error 2
make[1]: *** [arch/arm64/Makefile:172: dtbs] Error 2
make[1]: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Remove DTC_EXT=dtc then compile

Related

AOSP Build Error D2VZW

Import includes file: out/target/product/d2vzw/obj/SHARED_LIBRARIES/power.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/power/Android.mk -- out/target/product/d2vzw/obj/SHARED_LIBRARIES/power.default_intermediates/export_includes
Import includes file: out/target/product/d2vzw/obj/SHARED_LIBRARIES/sensors.goldfish_intermediates/import_includes
Export includes file: development/tools/emulator/system/sensors/Android.mk -- out/target/product/d2vzw/obj/SHARED_LIBRARIES/sensors.goldfish_intermediates/export_includes
Import includes file: out/target/product/d2vzw/obj/SHARED_LIBRARIES/libFFTEm_intermediates/import_includes
Export includes file: external/neven/Android.mk -- out/target/product/d2vzw/obj/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes
Notice file: external/neven/NOTICE -- out/target/product/d2vzw/obj/NOTICE_FILES/src//system/lib/libFFTEm.so.txt
Import includes file: out/target/product/d2vzw/obj/SHARED_LIBRARIES/libOmxCore_intermediates/import_includes
make: *** No rule to make target `out/target/product/d2vzw/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes', needed by `out/target/product/d2vzw/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: hardware/qcom/media/mm-core/Android.mk -- out/target/product/d2vzw/obj/SHARED_LIBRARIES/libOmxCore_intermediates/export_includes
anyone got any ideas?
also is this the appropriate place to post this mods?
i assume i need to edit this : hardware/qcom/media/mm-core/Android.mk just not sure what to do with it
fixed by editing hardware/qcom/media/Android.mk
adding
include hardware/qcom/display/libgenlock/Android.mk
edit.....fixed by adding
https://github.com/CyanogenMod/android_build/commit/cf64930542853b39931c2b44a85856bc64f9c1b0
https://github.com/CyanogenMod/android_build/commit/6a54871149211354ed9da74cee7376604236f65f
from cm.....now it actually boots =)
Kindly help me to find the exact line solve this error
make[1]: Entering directory `/home/mukul/android/system/kernel/samsung/ms013g'
make: *** No rule to make target `/home/mukul/android/system/out/target/product/ms013g/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by `/home/mukul/android/system/out/target/product/ms013g/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
My Repo Sources:
Kernel:
https://github.com/mukulsoni/android_kernel_samsung_ms013g
Device:
https://github.com/mukulsoni/android_device_samsung_ms013g
https://github.com/mukulsoni/android_device_samsung_msm8226-common
https://github.com/mukulsoni/android_device_samsung_msm8226-common
Vendor:
https://github.com/mukulsoni/android_vendor_samsung_ms013g
https://github.com/mukulsoni/android_vendor_samsung_msm8226-common
TIA
I'm getting this build error. I know it's a issue with copying in regards to the kernel but I just don't know how to fix it *http://pastebin.com/MS6G7R4E
Slimegod said:
I'm getting this build error. I know it's a issue with copying in regards to the kernel but I just don't know how to fix it *http://pastebin.com/MS6G7R4E
Click to expand...
Click to collapse
did you get similar error ? i am getting this error http://pastebin.com/PezaAVuX

Makefile error during CM10.1 Build: libmkyaffs2image_intermediates

Hi,
I'm trying to build CM10.1 for huashan : Xperia SP.
I have based my build on tsubasa: Xperia V.
But I'm not able to get past this error
make: * No rule to make target `/home/aniket/android/android/system/out/target/product/huashan/obj/STATIC_LIBRARIES/libmkyaffs2image_intermediates/export_includes', needed by `/home/aniket/android/android/system/out/target/product/huashan/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
I guess it is some kind of makefile issue and a tweak here or there might fix this ...
Any help ?
New error
I donno how I got past that error. But now I have a new error:
make: *** No rule to make target `android/android/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `android/android/system/out/target/product/huashan/obj/EXECUTABLES/rild_intermediates/import_includes'
Any one ?

help kernel compiling

i was trying to compile kernel every thing was going well like this.
Code:
LD drivers/platform/msm/sps/built-in.o
CC drivers/platform/msm/qpnp-pwm.o
CC drivers/platform/msm/qpnp-power-on.o
CC drivers/platform/msm/qpnp-vibrator.o
CC drivers/platform/msm/qpnp-revid.o
LD drivers/platform/msm/built-in.o
LD drivers/platform/built-in.o
CC drivers/power/power_supply_core.o
CC drivers/power/power_supply_sysfs.o
CC drivers/power/power_supply_leds.o
LD drivers/power/power_supply.o
CC drivers/power/qpnp-bms.o
CC drivers/power/qpnp-charger.o
but after some time i got this error
Code:
drivers/power/qpnp-charger.c: In function 'qpnp_chg_tchg_max_set':
drivers/power/qpnp-charger.c:3504:10: error: 'struct qpnp_chg_chip' has no member named 'bat_is_cold'
drivers/power/qpnp-charger.c:3504:52: error: 'struct qpnp_chg_chip' has no member named 'bat_is_hot'
drivers/power/qpnp-charger.c:3506:15: error: 'struct qpnp_chg_chip' has no member named 'is_during_call'
make[2]: *** [drivers/power/qpnp-charger.o] Error 1
make[1]: *** [drivers/power] Error 2
make: *** [drivers] Error 2
i was making kernel from source without modding anything.
and this was my first attempt so i don,t know why i got this error.
From which source are you compiling?
Vynikal said:
From which source are you compiling?
Click to expand...
Click to collapse
this source 18.5.A.0.26&18.5.B.0.26 using gcc-linaro-4.6-2013.05
Try to replace the file with this one in zip, let me know if it compiles (I'm learning too).
By the way you can also use a newer toolchain, 4.7, 4.8, 4.9, Linaro or GCC. Not necessary, but Android 5.0 is now compiled with 4.8 by default.
Vynikal said:
Try to replace the file with this one in zip, let me know if it compiles (I'm learning too).
By the way you can also use a newer toolchain, 4.7, 4.8, 4.9, Linaro or GCC. Not necessary, but Android 5.0 is now compiled with 4.8 by default.
Click to expand...
Click to collapse
now i am using arm-cortex_a7-linux-gnueabihf-linaro_4.9.3-2015.01-build_2015_01_18 and replaced file my problem solved but new one came in.
see
Code:
CC drivers/video/fbsysfs.o
CC drivers/video/modedb.o
CC drivers/video/fbcvt.o
LD drivers/video/fb.o
CC drivers/video/backlight/backlight.o
LD drivers/video/backlight/built-in.o
CC drivers/video/console/dummycon.o
LD drivers/video/console/built-in.o
CC drivers/video/msm/mdss/mdss_dsi.o
CC drivers/video/msm/mdss/mdss_dsi_host.o
CC drivers/video/msm/mdss/mdss_dsi_cmd.o
CC drivers/video/msm/mdss/mdss_dsi_panel.o
drivers/video/msm/mdss/mdss_dsi_panel.c: In function ‘mdss_dsi_panel_reset’:
drivers/video/msm/mdss/mdss_dsi_panel.c:291:3: error: implicit declaration of function ‘mdss_dsi_request_gpios’ [-Werror=implicit-function-declaration]
rc = mdss_dsi_request_gpios(ctrl_pdata);
^
cc1: some warnings being treated as errors
make[4]: *** [drivers/video/msm/mdss/mdss_dsi_panel.o] Error 1
make[3]: *** [drivers/video/msm/mdss] Error 2
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
how did you fixed charger and i am compiling msm8226_defconfig
Oh! Well, this error looks like the consequence of newer toolchain XD
Either revert back to older (4.6 or 4.7), OR you can modify Makefile in the root of kernel source. Like this:
Code:
CFLAGS_KERNEL = -w
This ensures that warnings won't be treated like errors. It is not a clean solution, it would be better to fix it in the file, where the warning is, but I don't know much code-related stuff.
The first fix wasn't hard, looks like Sony people forgot to ifdef something.
Vynikal said:
Oh! Well, this error looks like the consequence of newer toolchain XD
Either revert back to older (4.6 or 4.7), OR you can modify Makefile in the root of kernel source. Like this:
Code:
CFLAGS_KERNEL = -w
This ensures that warnings won't be treated like errors. It is not a clean solution, it would be better to fix it in the file, where the warning is, but I don't know much code-related stuff.
The first fix wasn't hard, looks like Sony people forgot to ifdef something.
Click to expand...
Click to collapse
your code solved it.
is this source bad build by sony cause i am getting another error
Code:
LD init/built-in.o
LD .tmp_vmlinux1
arch/arm/mach-msm/built-in.o: In function `msm_init_last_radio_log':
/home/linux-ubuntu/android/kernel/arch/arm/mach-msm/last_radio_log.c:180: undefined reference to `smem_item'
drivers/built-in.o: In function `mdss_dsi_panel_reset':
/home/linux-ubuntu/android/kernel/drivers/video/msm/mdss/mdss_dsi_panel.c:291: undefined reference to `mdss_dsi_request_gpios'
make: *** [.tmp_vmlinux1] Error 1
This is with 4.9?
Vynikal said:
This is with 4.9?
Click to expand...
Click to collapse
yeah i was using 4.9 toolchain.
is this happening due to 64bit hardware.
vinay said:
yeah i was using 4.9 toolchain.
is this happening due to 64bit hardware.
Click to expand...
Click to collapse
Try those, but I'm really not sure. If it won't work, revert back to 4.6/4.7
Vynikal said:
Try those, but I'm really not sure. If it won't work, revert back to 4.6/4.7
Click to expand...
Click to collapse
replaced files still error is there then used old toolchain then still got the error
but now error changed.
Code:
CC kernel/futex.o
CC arch/arm/mach-msm/ramdump_proc_files.o
CC arch/arm/mach-msm/last_radio_log.o
arch/arm/mach-msm/last_radio_log.c: In function 'msm_init_last_radio_log':
arch/arm/mach-msm/last_radio_log.c:180:17: error: void value not ignored as it ought to be
make[1]: *** [arch/arm/mach-msm/last_radio_log.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
CC kernel/rtmutex.o
Cause your file. I removed * and got same old error. What that * does.
vinay said:
replaced files still error is there then used old toolchain then still got the error
but now error changed.
Cause your file. I removed * and got same old error. What that * does.
Click to expand...
Click to collapse
The * "dereferences". Don't ask me about details, I used it once to fix warnings.
Well, looks like a true C problem. I'm sorry, but this is beyond my level of knowledge.
Vynikal said:
The * "dereferences". Don't ask me about details, I used it once to fix warnings.
Well, looks like a true C problem. I'm sorry, but this is beyond my level of knowledge.
Click to expand...
Click to collapse
did you compiled kernel from this source.
vinay said:
did you compiled kernel from this source.
Click to expand...
Click to collapse
No, I don't have space for another source in Ubuntu partition
Do you know how to modify the partition layout on a PC without wiping data? It would be useful.
Vynikal said:
No, I don't have space for another source in Ubuntu partition
Do you know how to modify the partition layout on a PC without wiping data? It would be useful.
Click to expand...
Click to collapse
I did it. It was a bit hard and may brick grub. But in my time when i make a new partation and made it my /home i didn,t had any problem but when i deleted my old home partation then i got bricked grub. Later i fixed it.
You need an live cd for it.
steps on next post.
Sent From My Sony Xperia E3 D2212 using XDA app.
Here are steps => http://www.maketecheasier.com/move-home-folder-ubuntu/
That i used.
Sent From My Sony Xperia E3 D2212 using XDA app.
in this guide => http://developer.sonymobile.com/kno...h-a-linux-kernel-from-sony-copyleft-archives/
sony says e3 has yukon_flamingo_defconfig
but in kernel/arch/arm/configs there is no any yukon_flamingo_defconfig
vinay said:
in this guide => http://developer.sonymobile.com/kno...h-a-linux-kernel-from-sony-copyleft-archives/
sony says e3 has yukon_flamingo_defconfig
but in kernel/arch/arm/configs there is no any yukon_flamingo_defconfig
Click to expand...
Click to collapse
This guide presumes you will download source from Sony's Github, but there's no branch for flamingo. So yeah, this is weird.
Vynikal said:
This guide presumes you will download source from Sony's Github, but there's no branch for flamingo. So yeah, this is weird.
Click to expand...
Click to collapse
is it possible they forgot to make branch for flamingo in kernel-copyleft cause in aosp kernel there is aosp_yukon_flamingo_defconfig
vinay said:
is it possible they forgot to make branch for flamingo in kernel-copyleft cause in aosp kernel there is aosp_yukon_flamingo_defconfig
Click to expand...
Click to collapse
Yes, flamingo is supported in the unified kernel, but without camera
Sent from my D2203 using XDA Free mobile app

[dev] cm12.1 t230/nu development thread

Hey Devs!
I am looking to work together with you guys to get cm12.1 on the tab 4. Because I am not yet very experienced with ROMs and porting, any help is appreciated. I will list several errors here. I am also looking for people to flash some of my images since I can only get the tab into my hand a few times.
Github : https://github.com/GalaxyTab4
Localmanifest : https://www.androidfilehost.com/?fid=24052804347814200
Any help is widely apriciated
CTXz
CTXz,
I can help where I can to get more know how on ROM porting. In first way I can test things on my two tabs T230. Flashing and testing. I hope that helps.
Alright so far the compiling goes surprisingly well. I have managed to fix most errors by porting from different sources. Taking what works. Even things from the tab 3. Other errors had to be solved the hard way by excluding. I am expecting that I should be able to get this ROM up considering that the sources for this tab are like heaven compared to what I had for my now bricked mk802iv
I might be able to lend a hand......let me know what you need.
Great!
really cool! I'm waiting long to see something like the T230! I can contribute, would love to be part of this project! They recognized that I am not nor have xda messages but still xda5 years, the world android also learned a lot! please! possible!
I have redone the build so I log all errors here and be more sure about a good solution.
Alright 1st error
When making recoveryimage
Code:
/home/patrick/android/CM/cm12.1/kernel/samsung/degaswifi/drivers/marvell/graphics/galcore_4x/hal/kernel/gc_hal_kernel_db.c:1730:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
FIX:
https://github.com/CTXz/android_ker...mmit/6ff7a10367b3043756b7829ed3f991564ad1e8ae
ERROR 2
Code:
make: *** No rule to make target '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/obj/SHARED_LIBRARIES/libMarvellWireless_intermediates/export_includes', needed by '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/obj/SHARED_LIBRARIES/libbt-vendor_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
FIXED: https://github.com/CTXz/android_dev...mmit/57e1abfd69740ec24680518f8071eed65281060d
Thanks @sub77
Great work! Thanks sub77!
I hope you can do it without problems you will be the hero of the t230
Error 3
Code:
make: *** No rule to make target 'vendor/samsung/degaswifi/proprietary/bin/MarvellWirelessDaemon', needed by '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/system/bin/MarvellWirelessDaemon'. Stop.
make: *** Waiting for unfinished jobs....
Fixed by porting the missing file from the tab 3 lite
https://github.com/CTXz/android_vendor_samsung/commit/91b5d468b0ba972cd834830bc86767c886ac81c6
So far all goes good guys!
Error 4
Code:
make: *** No rule to make target 'vendor/samsung/degaswifi/proprietary/bin/fsck.exfat', needed by '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/system/bin/fsck.exfat'. Stop.
make: *** Waiting for unfinished jobs....
Fixed by porting the file from the tab 3 lite
https://github.com/CTXz/android_vendor_samsung/commit/10e3f7795b5e3835aadf31a5812fce38a15ab4c5
Sorry if this post will be full of similar errors but this is the dev thread and so I will log all errors here in case anyone will need to fix similar if not the same errors
Error 5
This one was a bit more nasty
Code:
frameworks/native/libs/gui/CpuConsumer.cpp: In function 'bool android::isPossiblyYUV(android::PixelFormat)':
frameworks/native/libs/gui/CpuConsumer.cpp:82:14: error: 'HAL_PIXEL_FORMAT_RAW16' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW16: // same as HAL_PIXEL_FORMAT_RAW_SENSOR
^
frameworks/native/libs/gui/CpuConsumer.cpp:83:14: error: 'HAL_PIXEL_FORMAT_RAW10' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW10:
^
frameworks/native/libs/gui/CpuConsumer.cpp:84:14: error: 'HAL_PIXEL_FORMAT_RAW_OPAQUE' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW_OPAQUE:
FIX (at least I think):
Excluded
Code:
HAL_PIXEL_FORMAT_RAW16
HAL_PIXEL_FORMAT_RAW10
HAL_PIXEL_FORMAT_RAW_OPAQUE
and added
Code:
HAL_PIXEL_FORMAT_RAW_SENSOR
Error 6
Code:
make: *** No rule to make target 'vendor/samsung/degaswifi/proprietary/lib/hw/consumerir.mrvl.so', needed by '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/system/lib/hw/consumerir.mrvl.so'. Stop.
FIX : Ported missing file from tab 3 lite
https://github.com/CTXz/android_vendor_samsung/commit/e2e2bb640fc5e9cd1914692d762878f788565872
ERROR 7
Alright this one is blocking me!
Code:
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:81:18: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
***** mPowerMode(HWC_POWER_MODE_OFF),
**************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:125:19: error: use of undeclared identifier 'HWC_POWER_MODE_NORMAL'
***************** HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF;
***************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:125:43: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
***************** HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF;
***************************************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:370:27: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
*** return (mPowerMode != HWC_POWER_MODE_OFF);
************************* ^
Any ideas?
Maybe this will help. At least in the right direction.
http://forum.xda-developers.com/galaxy-tab-2/help/cyanogenmod12-galaxy-tab-2-t2944129
please port it to a SM-T231 too please!. TIA and Regards
Dark_Cristian said:
please port it to a SM-T231 too please!. TIA and Regards
Click to expand...
Click to collapse
Once its running on the t230 it should be easy to port over to the t231
g_ding84 said:
Maybe this will help. At least in the right direction.
http://forum.xda-developers.com/galaxy-tab-2/help/cyanogenmod12-galaxy-tab-2-t2944129
Click to expand...
Click to collapse
I got in contact with android-andi and he send me some commits. I will apply then once I have time! :victory:
CTXz said:
Error 6
Code:
make: *** No rule to make target 'vendor/samsung/degaswifi/proprietary/lib/hw/consumerir.mrvl.so', needed by '/home/patrick/android/CM/cm12.1/out/target/product/degaswifi/system/lib/hw/consumerir.mrvl.so'. Stop.
FIX : Ported missing file from tab 3 lite
https://github.com/CTXz/android_vendor_samsung/commit/e2e2bb640fc5e9cd1914692d762878f788565872
Click to expand...
Click to collapse
check if there is a matching file in etc/permissions - the t530 bootlooped without it.
CTXz said:
Once its running on the t230 it should be easy to port over to the t231
Click to expand...
Click to collapse
Thanks I'm glad and i wish sucess with your proyect. You can do it!! :good::highfive:
CTXz said:
ERROR 7
Alright this one is blocking me!
Code:
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:81:18: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
***** mPowerMode(HWC_POWER_MODE_OFF),
**************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:125:19: error: use of undeclared identifier 'HWC_POWER_MODE_NORMAL'
***************** HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF;
***************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:125:43: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
***************** HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF;
***************************************** ^
frameworks/native/services/surfaceflinger/DisplayDevice.cpp:370:27: error: use of undeclared identifier 'HWC_POWER_MODE_OFF'
*** return (mPowerMode != HWC_POWER_MODE_OFF);
************************* ^
Any ideas?
Click to expand...
Click to collapse
this will unblock you: https://github.com/CTXz/android_device_samsung_degaswifi/pull/1
---------- Post added at 03:12 PM ---------- Previous post was at 03:02 PM ----------
CTXz said:
Error 5
This one was a bit more nasty
Code:
frameworks/native/libs/gui/CpuConsumer.cpp: In function 'bool android::isPossiblyYUV(android::PixelFormat)':
frameworks/native/libs/gui/CpuConsumer.cpp:82:14: error: 'HAL_PIXEL_FORMAT_RAW16' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW16: // same as HAL_PIXEL_FORMAT_RAW_SENSOR
^
frameworks/native/libs/gui/CpuConsumer.cpp:83:14: error: 'HAL_PIXEL_FORMAT_RAW10' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW10:
^
frameworks/native/libs/gui/CpuConsumer.cpp:84:14: error: 'HAL_PIXEL_FORMAT_RAW_OPAQUE' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW_OPAQUE:
FIX (at least I think):
Excluded
Code:
HAL_PIXEL_FORMAT_RAW16
HAL_PIXEL_FORMAT_RAW10
HAL_PIXEL_FORMAT_RAW_OPAQUE
and added
Code:
HAL_PIXEL_FORMAT_RAW_SENSOR
Click to expand...
Click to collapse
revert it and put definitions in graphics.h -> https://github.com/CTXz/android_device_samsung_degaswifi/pull/2

Android building errors - N5 Nougat

Hello everyone, i've some problems with building Nougat (AOSP) for Nexus 5.
I've modified manifest (that's how it look like) to have everything downloaded but it hangs on this error:
Code:
make: *** No rule to make target 'frameworks/base/services/core/../../../../system/netd/server/binder/android/net/metrics/IDnsEventListener.aidl', needed by '/home/edi194/AOSP/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/src/../../../../system/netd/server/binder/android/net/metrics/IDnsEventListener.java'. Stop.
make: *** Waiting for unfinished jobs....
logtags: /home/edi194/AOSP/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/src/core/java/com/android/server/EventLogTags.java <= frameworks/base/services/core/java/com/android/server/EventLogTags.logtags
I've thought that disabling ninja will make any difference but sadly not.
I'll be grateful for help.
If i've posted it in wrong section, please move it to correct
Edit: Yes, there is ThemeIntarfacer on manifest, but i need to have working build to do anything with it

Categories

Resources