I have no problem with the proximity sensor
anyway, I changed some configuration about the sensor in the alpha3....you can try with the new version
not ask the root permission but a permission to access to the external sdcard
Visualizzazione stampabile
I have no problem with the proximity sensor
anyway, I changed some configuration about the sensor in the alpha3....you can try with the new version
not ask the root permission but a permission to access to the external sdcard
alpha3 in first page
Alpha3:
Proximity sensor - the same problem.
Camera - after switch to video mode black sceen, need reboot phone.
I will make reflash with full wipe
make: Leaving directory '/home/syai2012/rom/cm14/kernel/nubia/nx505j'
Building DTBs
make: Entering directory '/home/syai2012/rom/cm14/kernel/nubia/nx505j'
/home/syai2012/rom/cm14/kernel/nubia/nx505j/arch/arm/boot/Makefile:31: mhx
make[2]: Nothing to be done for 'arch/arm/boot/dtbs'.
make: Leaving directory '/home/syai2012/rom/cm14/kernel/nubia/nx505j'
Kernel Modules not enabled
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
[ 99% 1296/1308] Construct recovery from boot
FAILED: /bin/bash -c "(mkdir -p /home/syai2012/rom/cm14/out/target/product/nx505j/obj/PACKAGING/recovery_patch_intermediates/ ) && (PATH=/home/syai2012/rom/cm14/out/host/linux-x86/bin:\$PATH /home/syai2012/rom/cm14/out/host/linux-x86/bin/imgdiff /home/syai2012/rom/cm14/out/target/product/nx505j/boot.img /home/syai2012/rom/cm14/out/target/product/nx505j/recovery.img /home/syai2012/rom/cm14/out/target/product/nx505j/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p )"
Error: footer size 967211821 != decompressed size 0
failed to break apart source image
[ 99% 1296/1308] target Package: Syste...PS/SystemUI_intermediates/package.apk)
warning: string 'notifications_off_text' has no default translation.
warning: string 'notifications_off_text' is missing 41 required localizations: ast_ES az_AZ bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: string 'notifications_off_title' has no default translation.
warning: string 'notifications_off_title' is missing 41 required localizations: ast_ES az_AZ bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: no entries written for string/notifications_off_title (0x7f0d0432)
warning: no entries written for string/notifications_off_text (0x7f0d0433)
[ 99% 1296/1308] target Package: Setti...PS/Settings_intermediates/package.apk)
nothing matches overlay file suw_navbar_ic_back.xml, for flavor anydpi-v21
nothing matches overlay file suw_navbar_ic_more.xml, for flavor anydpi-v21
nothing matches overlay file suw_navbar_ic_next.xml, for flavor anydpi-v21
nothing matches overlay file suw_progress_bar.xml, for flavor v21
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Paolo help me,Thanks!
the real error is before this block of text
you have already tried to delete the out directory and do a full compile ?
我现在编译的环境是ubuntu15.04,安装了这些环境软件:
但我编译CM14老是报错,同样编译AICP7.0和suda7.0都没有问题,我想知道你搭建的环境都安 装了哪些?
I now compile the environment is ubuntu15.04, the installation of these environmental software:
apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-8-jdk openjdk-8-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32z1-dev gksu maven maven2 phablet-tools
But I compile CM14 is always wrong, the same compiler AICP7.0 and suda7.0 are no problem, I would like to know what you build the environment are installed?
Now I using Ubuntu 16.10 but I also have used Ubuntu 16.04 and manjaro without any problem
I just installed this package:
from this guide: [GUIDE] How to Setup Ubuntu 16.04 LTS Xenial Xerus for Compiling Android ROMscodice:sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng maven openjdk-8-jdk
link alpha4 in first page
this morning I saw that they started working on CM14.1 (android 7.1)
I'm downloading the source codes
excellent job ! :)
I am compiling AICP7.1, I do not know will not be reported, SUDAROM on the wrong.
Checking build tools versions...
build/core/binary.mk:1230: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1230: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
external/skia/dm/Android.mk:653: frameworks/base/libs/hwui/hwui_static_deps.mk: No such file or directory
build/core/ninja.mk:166: recipe for target '/home/syai2012/rom/suda3/out/build-sm_nx505j.ninja' failed
make: *** [/home/syai2012/rom/suda3/out/build-sm_nx505j.ninja] Error 1
#### make failed to build some targets (01:50 (mm:ss)) ####
WHY?
I don't know
I never tried this rom
I think the error is here
maybe some source codes are missingcodice:external/skia/dm/Android.mk:653: frameworks/base/libs/hwui/hwui_static_deps.mk: No such file or directory
Yes, AICP and SUDA compiled into the back also reported the wrong.
make: Leaving directory '/home/syai2012/rom/suda3/kernel/nubia/nx505j'
Building DTBs
make: Entering directory '/home/syai2012/rom/suda3/kernel/nubia/nx505j'
/home/syai2012/rom/suda3/kernel/nubia/nx505j/arch/arm/boot/Makefile:31: mhx
make[2]: Nothing to be done for 'arch/arm/boot/dtbs'.
make: Leaving directory '/home/syai2012/rom/suda3/kernel/nubia/nx505j'
Kernel Modules not enabled
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
1、out/target/product/nx505j/gen/SHARED_LIBRARIES/librilutils_intermediates/proto/hardware/ril-caf/librilutils/proto/sap-api.pb.h copyto
hardware/ril/librilutils/proto 目录下
然后修改hardware/ril-caf/libril/RilSapSocket.h里面的
#include <hardware/ril/librilutils/proto/sap-api.pb.h>为
#include </home/syai2012/rom/aicp7/hardware/ril/librilutils/proto/sap-api.pb.h>
修改hardware/ril-caf/libril/rilSocketQueue.h里面的
#include <hardware/ril/librilutils/proto/sap-api.pb.h>为
#include </home/syai2012/rom/aicp7/hardware/ril/librilutils/proto/sap-api.pb.h>
2、更改kernel/nubia/nx505j/arch/arm/boot/dts 为dtbs
3、修改:nx505j.mk
PRODUCT_PACKAGES += \
FM2 \
libqcomfm_jni \
#qcom.fmradio
4、修改packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java
增加
private static final String KEY_SYSTEM_UPDATE_SETTINGS = "system_update_settings";
private static final String KEY_UPDATE_SETTING = "additional_system_update_settings";
ERROR: /home/syai2012/rom/aicp7/packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java:198: KEY_SYSTEM_UPDATE_SETTINGS cannot be resolved to a variable
ERROR: /home/syai2012/rom/aicp7/packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java:202: KEY_SYSTEM_UPDATE_SETTINGS cannot be resolved to a variable
ERROR: /home/syai2012/rom/aicp7/packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java:206: KEY_UPDATE_SETTING cannot be resolved to a variable
ERROR: /home/syai2012/rom/aicp7/packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java:366: KEY_SYSTEM_UPDATE_SETTINGS cannot be resolved to a variable
ERROR: /home/syai2012/rom/aicp7/packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java:371: The method ciActionOnSysUpdate(PersistableBundle) is undefined for the type DeviceInfoSettings
[ 3% 161/4518] ----- Making recovery ramdisk ------
Copying baseline ramdisk...
Modifying ramdisk contents...
----- Making uncompressed recovery ramdisk ------
[ 3% 161/4518] target SharedLib: libq...ls_intermediates/LINKED/libqdutils.so)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
AICP7.1 Successfully compiled.
链接:http://pan.baidu.com/s/1cklcey 密码:ifgn
In different applications on CM14 I was faced with such a situation as on the picture. I clicked on the photo icon and is strange window appears. Then I can't do anything. I can only kill the app. Maybe someone knows what it is? Thank you.
Spoiler:
I don't know why but I can't edit the first message -.-
so for now I write here:
CM14.1 (beta1)
Changelog:
- switch to CM14.1 (Android 7.1)
- 29/10/2016 beta1 (MD5: 88cac05a8c329c61dd3e28430de40c3b)
- Android updated to 7.1 (CM14.1)
- added all fix present in old cm14.0
- sync cyanogen source codes (29/10/2016)
Hi Paolo,
I ported your nx505j device code to nx507j(Z7mini) and successfully compiled cm-14.1. The built works pretty well except for the proximity sensor. Sensors test shows the proximity functions correctly. But when making a call, the screen does not turn off. It would be appreciated if you could take a look at this problem. Thanks.
ps: how do I post the log?
These are patches to do in the rom sources
Gerrit Code Review
Gerrit Code Review