OnePlus 5T / dumpling vendor blobs and build.prop - OnePlus 5T Guides, News, & Discussion

OnePlus 5T / dumpling blobs
https://github.com/hkoivuneva/proprietary_vendor_oneplus_5t
no /sbin/dashd
Code:
adb: error: failed to copy '/sbin/dashd' to 'vendor/oneplus/sbin/dashd': remote open failed: Permission denied
OnePlus 5T / dumpling build.prop
https://gist.github.com/hkoivuneva/c99dda2e812f76817710ca1c6bbd458e

Updated to OOS 4.7.2 https://github.com/hkoivuneva/proprietary_vendor_oneplus_5t

Related

[ Guide ] [ Tutorial ] Compiling 64 bit Android Kernel [ Yureka ] [ NOOB Friendly ]

This is My first post on XDA
From the day I owned YUreka I always wished to compile my own kernel. I searched on the web for compiling 64bit android kernel but didn't get satisfying results. So I did some research and asked some android developers, I got help from some developers but some of the developer refused may be due to their attitude or may be they didn't want to share their ideas / knowledge. Anyways here's a guide for compiling 64 bit kernel. I have also made a video tutorial check that out [ status == uploaded ].
What will YU need :
1. Ubuntu 64 Bit OS
2. Good Internet Connection.
3. Usable Brain.
4. Basic Knowledge of Linux.
Lets Start
First we need to get some important stuff / tools / software .
1. Open Ubuntu Software center and install JDK 7 or JDK 8
2. Open terminal and run the following command
Code:
sudo apt-get install libncurses5-dev
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Code:
sudo apt-get install -y ccache &&echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc &&source ~/.bashrc && echo $PATH
Code:
export USE_CCACHE=1
Code:
mkdir ~/bin
Code:
export PATH=~/bin:$PATH
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Code:
chmod a+x ~/bin/repo
Now YU'r Linux machine is all set to compile kernel.
3. Now YU need to download a toolchain. I have uploaded the toolchain that i used for compiling the kernel. Click from here > h t t p s ://drive.google.com/open?id=0B9D4jOdpRzZHOURMTS1VaXplc0U
4. Time to download Kernel sources. For this tutorial I am using Varun Chitre's Thunderzap kernel. Here is the link for thunderzap's sources > h t t p s ://github.com/varunchitre15/thunderzap_tomato
.Select branch as cm 12.1 from left and press download on the right.
5. Make a directory "android-kernel" under "/Home" and place both the zips in "android-kernel" directory.
6. Extract both the zips. Now YU will have two folders one of toolchain and other of kernel source.
7. YU no more need the zip files just delete both the zips.
8. Open the kernel source folder and type the following code.
9. Run the following command to point the variable to toolchains path :
Code:
export CROSS_COMPILE=/home/r0h4n/android-kernel/aarch64-linux-android-4.9-uber-master/bin/aarch64-linux-android-
If YU followed along with me YU will just have to change the name of the user ( replace <r0h4n> with <YU'r username> )
10. Time to Compile your kernel :
Code:
export ARCH=arm64
Code:
export SUBARCH=arm64
Code:
export USE_CCACHE=1
Code:
make cyanogenmod_tomato-64_defconfig
The name of defconfig file may be different check it in "kernel_source/arch/arm64/defconfig/"
Code:
make menuconfig
Here YU can explore various options. I'll not explain everything in detail here.
Now the final command make. It takes a parameter -jn. Where ( n = # of threads per core + 1 )
I have a Dual core processor with 2 thread per processor so for me it is " make -j3 ".
Code:
make -j3
Now sit back and relax.......let the kernel compile
Got a compilation error ?
Post it here.
Now we need to create a flashable zip. Download this kernel flash zip from here > h t t p s : //drive.google.com/open?id=0B9D4jOdpRzZHdTJibndqQzhVdFk
1. Extract kernel.zip.
2. Navigate to tools in "/kernel".
3. Open "kernel_source/arch/arm64/boot/".
4. Copy "Image".
5. Replace it with the "Image" in "/kernel/tools/Image".
6. Copy "kernel_source/driver/stagging/prima/wlan.ko" and replace it with "kernel/system/lib/modules/wlan.ko".
7. Goto "/kernel" select all the three folders "META-INF", "system", "tools" and rezip it.
8. Flash the zip via recovery and now YU'r Phone rocks YU'r own compile kernel.
Rohan459 said:
This is My first post on XDA
Click to expand...
Click to collapse
Life saver for the 64bit part, thank you very much! :good::good::good:
some issues
Hello, i'm trying to compile this kernel (for xiaomi redmi note 3 "kenzo") https://github.com/cyanogenmod/android_kernel_xiaomi_msm8956/tree/stable/cm-13.0-ZNH5Y, and get the flashable zip.
I made a few tries and i can't do it, i going to tell you my problems and how i could fix some of them.
Error 1:
when i try to compile i get this error:
scripts/Makefile.build:455: recipe for target 'drivers/video/msm' failed
make[2]: *** [drivers/video/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
make[1]: *** Waiting for unfinished jobs....
I solved it changing a line in /home/user/Desktop/android_kernel_xiaomi_msm8956-stable-cm-13.0-ZNH5Y/drivers/video/msm/msm_dba/msm_dba.c
I changed #include <msm_dba_internal.h> for rhis #include "msm_dba_internal.h"
After that i get another error.
Error 2:
After solve Error 1, when i try to compile i get this error:
make[1]: *** No rule to make target 'arch/arm64/boot/dts/msm8956-mtp.dtb', needed by 'arch/arm64/boot/Image.gz-dtb'. Stop.
make[1]: *** Waiting for unfinished jobs....
OBJCOPY arch/arm64/boot/Image
/home/guille/Desktop/android_kernel_xiaomi_msm8956-stable-cm-13.0-ZNH5Y/arch/arm64/Makefile:84: recipe for target 'Image.gz-dtb' failed
make: *** [Image.gz-dtb] Error 2
make: *** Waiting for unfinished jobs....
This error i solved disabling this line #CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE=y in cyanogenmod_kenzo_defconfig, but i don't know if this is the correct way.
After that changes i get finally the image (used in the tutorial) and image.gz, then i proced to put the image and wlan.ko in in kernel.zip, but when i flash it the phone don't boot.
What can i do?
P.S.: Sorry my bad english.
Hello the friend really super guide and especially the only one or with whom I managed to compile my own kernel.
Is especially as said in the OP I contact a lot of kernel dev and nobody answered so I will have only one person to thank lol.
omega691 said:
Hello, i'm trying to compile this kernel (for xiaomi redmi note 3 "kenzo") https://github.com/cyanogenmod/android_kernel_xiaomi_msm8956/tree/stable/cm-13.0-ZNH5Y, and get the flashable zip.
I made a few tries and i can't do it, i going to tell you my problems and how i could fix some of them.
Error 1:
when i try to compile i get this error:
scripts/Makefile.build:455: recipe for target 'drivers/video/msm' failed
make[2]: *** [drivers/video/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
make[1]: *** Waiting for unfinished jobs....
I solved it changing a line in /home/user/Desktop/android_kernel_xiaomi_msm8956-stable-cm-13.0-ZNH5Y/drivers/video/msm/msm_dba/msm_dba.c
I changed #include <msm_dba_internal.h> for rhis #include "msm_dba_internal.h"
After that i get another error.
Error 2:
After solve Error 1, when i try to compile i get this error:
make[1]: *** No rule to make target 'arch/arm64/boot/dts/msm8956-mtp.dtb', needed by 'arch/arm64/boot/Image.gz-dtb'. Stop.
make[1]: *** Waiting for unfinished jobs....
OBJCOPY arch/arm64/boot/Image
/home/guille/Desktop/android_kernel_xiaomi_msm8956-stable-cm-13.0-ZNH5Y/arch/arm64/Makefile:84: recipe for target 'Image.gz-dtb' failed
make: *** [Image.gz-dtb] Error 2
make: *** Waiting for unfinished jobs....
This error i solved disabling this line #CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE=y in cyanogenmod_kenzo_defconfig, but i don't know if this is the correct way.
After that changes i get finally the image (used in the tutorial) and image.gz, then i proced to put the image and wlan.ko in in kernel.zip, but when i flash it the phone don't boot.
What can i do?
P.S.: Sorry my bad english.
Click to expand...
Click to collapse
Change directory and try again
Sent from my Redmi 3S using Tapatalk
i have this error:
sound/soc/msm/msm8996.c:34:26: fatal error: device_event.h: No such file or directory
#include <device_event.h>
^
compilation terminated.
i'm on ubuntu 16.04.02 x64
i think the problem is the library "libevent-dev" but i don't understand how to fix it because libevent-dev is installed
problem in yureka
i rooted my phone long back.. but i didnt used it...lots of problems in it it is in boot loop amd when ever it is luckily on wifi is not working ...it is not even displaying near by wifi and not even data connection ,i thought of new cm12 rom and flashed it stiill same issue. and more over after flashing stock cm12 and it is still in boot loop..please help
Hello there,
i am having this said problem when i follow your tutorial on how to build a 64bit kernel.
Code:
In file included from include/linux/compiler.h:54:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /home/protox/android/berlin_kernel/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/mod_devicetable.h:11,
from scripts/mod/devicetable-offsets.c:2:
include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
/home/protox/android/berlin_kernel/scripts/mod/Makefile:34: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
scripts/Makefile.build:468: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/util.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
Makefile:559: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
Can you please help me out mate
Thanks
hello sir can you help me please??
my device is redmi note 4x ( mido ) snapdragon 625 64 bit i build kernel without error but when i want to flash it on my device
device not boot to system but to fastboot mod and need to flash other kernel to make it boot ?? any idea about that ?
Compiling kernrl
I need some help if any body is out there .after months of trying and trying i am finally able to compli my kernel .after is completes with no error i go to arch/arm64/boot and all i have is am image.gz and and image no ziamge or nothing ive goigle it but i cant figure out whats the next step
akino553 said:
hello sir can you help me please??
my device is redmi note 4x ( mido ) snapdragon 625 64 bit i build kernel without error but when i want to flash it on my device
device not boot to system but to fastboot mod and need to flash other kernel to make it boot ?? any idea about that ?
Click to expand...
Click to collapse
The kernel has not compiled properly...
fowler82 said:
I need some help if any body is out there .after months of trying and trying i am finally able to compli my kernel .after is completes with no error i go to arch/arm64/boot and all i have is am image.gz and and image no ziamge or nothing ive goigle it but i cant figure out whats the next step
Click to expand...
Click to collapse
Find a zip with the image.gz and image file and replace the files with ur compiled files.
Rohan459 said:
Find a zip with the image.gz and image file and replace the files with ur compiled files.
Click to expand...
Click to collapse
Once I build the kernel and I build the modules how do i find them to load them does anybody no
Toolchains
fowler82 said:
Once I build the kernel and I build the modules how do i find them to load them does anybody no
Click to expand...
Click to collapse
go in kernel root directory and within search box look for .ko files. It will give you a list of modules from where you can copy them and paste in your new ROM system/lib/modules directory.
can any device use the kernel.zip to flash the boot.img after replacing wlan.ko ?
Rohan459 said:
This is My first post on XDA
From the day I owned YUreka I always wished to compile my own kernel. I searched on the web for compiling 64bit android kernel but didn't get satisfying results. So I did some research and asked some android developers, I got help from some developers but some of the developer refused may be due to their attitude or may be they didn't want to share their ideas / knowledge. Anyways here's a guide for compiling 64 bit kernel. I have also made a video tutorial check that out [ status == uploaded ].
What will YU need :
1. Ubuntu 64 Bit OS
2. Good Internet Connection.
3. Usable Brain.
4. Basic Knowledge of Linux.
Lets Start
First we need to get some important stuff / tools / software .
1. Open Ubuntu Software center and install JDK 7 or JDK 8
2. Open terminal and run the following command
Code:
sudo apt-get install libncurses5-dev
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Code:
sudo apt-get install -y ccache &&echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc &&source ~/.bashrc && echo $PATH
Code:
export USE_CCACHE=1
Code:
mkdir ~/bin
Code:
export PATH=~/bin:$PATH
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Code:
chmod a+x ~/bin/repo
Now YU'r Linux machine is all set to compile kernel.
3. Now YU need to download a toolchain. I have uploaded the toolchain that i used for compiling the kernel. Click from here > h t t p s ://drive.google.com/open?id=0B9D4jOdpRzZHOURMTS1VaXplc0U
4. Time to download Kernel sources. For this tutorial I am using Varun Chitre's Thunderzap kernel. Here is the link for thunderzap's sources > h t t p s ://github.com/varunchitre15/thunderzap_tomato
.Select branch as cm 12.1 from left and press download on the right.
5. Make a directory "android-kernel" under "/Home" and place both the zips in "android-kernel" directory.
6. Extract both the zips. Now YU will have two folders one of toolchain and other of kernel source.
7. YU no more need the zip files just delete both the zips.
8. Open the kernel source folder and type the following code.
9. Run the following command to point the variable to toolchains path :
Code:
export CROSS_COMPILE=/home/r0h4n/android-kernel/aarch64-linux-android-4.9-uber-master/bin/aarch64-linux-android-
If YU followed along with me YU will just have to change the name of the user ( replace <r0h4n> with <YU'r username> )
10. Time to Compile your kernel :
Code:
export ARCH=arm64
Code:
export SUBARCH=arm64
Code:
export USE_CCACHE=1
Code:
make cyanogenmod_tomato-64_defconfig
The name of defconfig file may be different check it in "kernel_source/arch/arm64/defconfig/"
Code:
make menuconfig
Here YU can explore various options. I'll not explain everything in detail here.
Now the final command make. It takes a parameter -jn. Where ( n = # of threads per core + 1 )
I have a Dual core processor with 2 thread per processor so for me it is " make -j3 ".
Code:
make -j3
Now sit back and relax.......let the kernel compile
Got a compilation error ?
Post it here.
Now we need to create a flashable zip. Download this kernel flash zip from here > h t t p s : //drive.google.com/open?id=0B9D4jOdpRzZHdTJibndqQzhVdFk
1. Extract kernel.zip.
2. Navigate to tools in "/kernel".
3. Open "kernel_source/arch/arm64/boot/".
4. Copy "Image".
5. Replace it with the "Image" in "/kernel/tools/Image".
6. Copy "kernel_source/driver/stagging/prima/wlan.ko" and replace it with "kernel/system/lib/modules/wlan.ko".
7. Goto "/kernel" select all the three folders "META-INF", "system", "tools" and rezip it.
8. Flash the zip via recovery and now YU'r Phone rocks YU'r own compile kernel.
Click to expand...
Click to collapse
created kernel using tutorial,,,but this kernel boots in fastboot mode only..
dont know why..
device is lenovo k6 note(sd430 msm8937)
please help
i am facing this error and can not resolve the problem.
property '#gpio-cells' in node /soc/msm_cdc_pinctrl_us_euro_sw or bad phandle (referred from /soc/sound:qcom,cdc-us-eu-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (gpios_property): Missing property '#gpio-cells' in node /soc/cdc_comp_pinctrl or bad phandle (referred from /soc/sound:qcom,cdc-comp-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (gpios_property): Missing property '#gpio-cells' in node /soc/msm_cdc_pinctrl_pri or bad phandle (referred from /soc/sound:qcom,pri-mi2s-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (gpios_property): Missing property '#gpio-cells' in node /soc/msm_cdc_pinctrl_quin or bad phandle (referred from /soc/sound:qcom,quin-mi2s-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (gpios_property): Missing property '#gpio-cells' in node /soc/msm_cdc_pinctrl_us_euro_sw or bad phandle (referred from /soc/sound-9335:qcom,cdc-us-eu-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (gpios_property): Missing property '#gpio-cells' in node /soc/msm_cdc_pinctrl_quin or bad phandle (referred from /soc/sound-9335:qcom,quin-mi2s-gpios[0])
arch/arm64/boot/dts/qcom/msm8953-pmi8937.dtb: Warning (interrupts_property): interrupts size is (12), expected multiple of 8 in /soc/[email protected]
CC lib/mpi/generic_mpih-lshift.o
DTC arch/arm64/boot/dts/qcom/msm8953-ext-codec-rcm-overlay.dtbo
Error: ../arch/arm64/boot/dts/qcom/msm8953-audio-cdp.dtsi:14.1-11 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.dtbo:24: recipe for target 'arch/arm64/boot/dts/qcom/msm8953-ext-codec-rcm-overlay.dtbo' failed
make[3]: *** [arch/arm64/boot/dts/qcom/msm8953-ext-codec-rcm-overlay.dtbo] Error 1
../scripts/Makefile.build:653: recipe for target 'arch/arm64/boot/dts/qcom' failed
make[2]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:194: recipe for target 'dtbs' failed
make[1]: *** [dtbs] Error 2
make[1]: *** Waiting for unfinished jobs..

[Build Error] Porting Nougat to Kenzo

Hi,
I am working on building nougat AOSP as well as CyanogenMod 14.0 for Kenzo. Facing some errors while building. I request the users as well as devs to help in ironing out errors so that a working build may be done soon.
This is the error I am getting while building AOSP.
Code:
ninja: error: 'out/target/product/kenzo/obj/KERNEL_OBJ/usr', needed by 'out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/IPACM_Main.o', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
I have added few changes to CM device tree to work with AOSP . AndroidBoard.mk reads as
Code:
LOCAL_PATH := device/xiaomi/kenzo/
#
# Boot files
#
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
file := $(INSTALLED_KERNEL_TARGET)
ALL_PREBUILT += $(file)
$(file): $(TARGET_PREBUILT_KERNEL) | $(ACP)
$(transform-prebuilt-to-target)
And BoardConfig.mk reads as
Code:
# Kernel
TARGET_PREBUILT_KERNEL := device/xiaomi/kenzo/kernel
I am attaching .mk files so that interested devs can see and id the errors/mistake.
Error in CM-14.0
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
review.cyanogenmod.org/#/c/159646 and 159642
@arunmcops
---------- Post added at 11:35 AM ---------- Previous post was at 11:33 AM ----------
Look around cm gerrit you'll find tons of fixes
Update :
Already merged all these changes... still getting error
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
arunmcops said:
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
Click to expand...
Click to collapse
I'm not sure, but I think the device/xiaomi/kenzo/kernel file should be the zImage, not the whole boot.img. Maybe try extracting the zImage and building with that?
arunmcops said:
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
adityaupreti said:
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
Click to expand...
Click to collapse
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
arunmcops said:
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
adityaupreti said:
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
Click to expand...
Click to collapse
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]arun:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Figured it out...
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Click to expand...
Click to collapse
i thought it may be in packages/apps
do
Code:
rm -rf packages/screensavers/Basic
adityaupreti said:
can u show me ur device.mk
Click to expand...
Click to collapse
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
yes rm -rf packages/screensavers/Basic
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Please help build error
ninja: error: '/home/ost268/Omni/out/target/product/kenzo/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/export_includes', needed by '/home/ost268/Omni/out/target/product/kenzo/obj/EXECUTABLES/healthd_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
BoardConfig.mk
ninja off - USE_NINJA := false
ninja on - USE_NINJA := true
Did you build it successfully??
arunmcops said:
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops @adityaupreti Stuck at same error - Carbon for Athene though. I changed the
Code:
BOARD_HAVE_BLUETOOTH_QCOM := true
to
Code:
BOARD_HAVE_BLUETOOTH_QCOM := false
Still getting the same thing. Any help?
If you have
Code:
ANDROID_COMPILE_WITH_JACK := false
in your BoardConfig.mk then remove that line.
Then you have to enter this command for disabling Jack for one build:
Code:
export USE_NINJA=false
or adding that line into bottom of ~/.bashrc to disable Jack on every build
That worked for me
ninja: Entering directory `.'
ninja: error: '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/libts_face_beautify_hal_intermediates/export_
includes', needed by '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/camera.msm8952_intermediates/import_in
cludes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
plzz help me with these

Error export_includes when compiling TWRP

for android 10.0
FAILED: ninja: '/home/scarlet-glass/omnirom10/out/target/product/instantnoodle/obj/SHARED_LIBRARIES/libinit_intermediates/export_includes', needed by '/home/scarlet-glass/omnirom10/out/target/product/instantnoodle/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
00:26:19 ninja failed with: exit status 1
failed to build some targets (04:39 (mm:ss))

Help Install Official LineageOS 17.1 on Mata

Hello,
Flashed lineage-17.1-20210125-recovery-mata
Wipe data
start ADB
If i try to sideload the lineage-17.1-20210125-nightly-mata-signed.zip
i get the following error on the phone:
E: Failed to bind mount /mnt/stagging/emulated/media/0 to /storage/emulated: No such file or directory
E: emulated failed to bind mount /mnt/stagging/emulated/media/0 on /storage/emulated: No such file or directory
Linux-Terminal:
$ sudo adb sideload lineage-17.1-20210125-nightly-mata-signed.zip
loading: 'lineage-17.1-20210125-nightly-mata-signed.zip'* failed to read command: Success
It starts, reload short, with blank screen and failed
Same without adb via usb-stick
I already installed lineage os 17.1 with gapps, but i want to reinstall without gapps...
Someone can help me ?
Thank you

cannot find dreamlte in lunch menu

i cant see any samsung devices in lunch
my device that i want to build for is dreamlte
and i want to build my own ROM based on Havoc (cus it seems stable)
Bash:
$ mkdir HavocOS
$ cd HavocOS
HavocOS$ repo init -u https://github.com/Havoc-OS/android_manifest.git -b eleven
HavocOS$ mkdir .repo/local_manifests
HavocOS$ curl https://raw.githubusercontent.com/diepquynh/local_manifests/lineage-17.1-8895/default.xml > .repo/local_manifests/default.xml
HavocOS$ repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
HavocOS$ patches/apply_patches patches
Bash:
HavocOS$ . build/envsetup
HavocOS$ add_lunch_combo havoc-dreamlte-userdebug
:14: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.
HavocOS$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_x86-eng
4. aosp_x86_64-eng
5. arm_krait-eng
6. arm_v7_v8-eng
7. armv8-eng
8. armv8_kryo385-eng
9. silvermont-eng
Which would you like? [aosp_arm-eng]
have i done something wrong?
i tried adding
Code:
COMMON_LUNCH_CHOICES := \
lineage_dreamlte-eng \
lineage_dreamlte-user \
lineage_dreamlte-userdebug \
to
Code:
device/samsung/dreamlte/AndroidProducts.mk
but i get
Code:
HavocOS$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_x86-eng
4. aosp_x86_64-eng
5. arm_krait-eng
6. arm_v7_v8-eng
7. armv8-eng
8. armv8_kryo385-eng
9. lineage_dreamlte-eng
10. lineage_dreamlte-user
11. lineage_dreamlte-userdebug
12. silvermont-eng
Which would you like? [aosp_arm-eng] 9
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
vendor/samsung/dreamlte/dreamlte-vendor.mk:20: error: _nic.PRODUCTS.[[device/samsung/dreamlte/lineage_dreamlte.mk]]: "vendor/lineage/config/common_full_phone.mk" does not exist.
13:28:50 dumpvars failed with: exit status 1
Device dreamlte not found. Attempting to retrieve device repository from Havoc-OS Github (http://github.com/Havoc-Devices).
Repository for dreamlte not found in the Havoc-Devices Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
vendor/samsung/dreamlte/dreamlte-vendor.mk:20: error: _nic.PRODUCTS.[[device/samsung/dreamlte/lineage_dreamlte.mk]]: "vendor/lineage/config/common_full_phone.mk" does not exist.
13:28:52 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
vendor/samsung/dreamlte/dreamlte-vendor.mk:20: error: _nic.PRODUCTS.[[device/samsung/dreamlte/lineage_dreamlte.mk]]: "vendor/lineage/config/common_full_phone.mk" does not exist.
13:28:53 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_dreamlte'
** Do you have the right repo manifest?
Code:
HavocOS$ ls vendor
codeaurora gapps havoc nxp qcom samsung support

Categories

Resources