[HELP][AOSPA] I need help porting paranoid android 3+ to XS . - Sony Xperia S, Acro S, Ion

Hi ,
I've recently bought a Xperia S so I'm new in this forum , I had a Galaxy Nexus before and Paranoid is my favourite flavour on it , I also liked to try my first porting attempt on this device so I started working on Paranoid Android v3.+ following this guide :
http://forum.xda-developers.com/showthread.php?t=1863547 .
enough talking here are the changes I made to the local_manifests (I wanted to build with OpenSEMC kernel that is used on CM10.1)
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<manifest>
<project name="OpenSEMC/android_device_sony_nozomi" path="device/sony/nozomi" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" revision="msm-mako-jb-mr1.1" />
<project name="OpenSEMC/android_device_sony_qcom-common" path="device/sony/qcom-common" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/android_device_sony_common" path="device/sony/common" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/android_device_sony_fuji-common" path="device/sony/fuji-common" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_display-caf" path="hardware/qcom/display-caf" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_audio-caf" path="hardware/qcom/audio-caf" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_bt" path="hardware/qcom/bt" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_gps" path="hardware/qcom/gps" remote="github" revision="cm-10.1" />
</manifest>
after that , I repo sync'd and extracted the proprietary files needed .Then I added those files to the source :
/vendor/pa/manifest/
Code:
nozomi.adds :
Code:
[
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_av",
"target_path": "frameworks/av",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_native",
"target_path": "frameworks/native",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_opt_telephony",
"target_path": "frameworks/opt/telephony",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_common",
"target_path": "device/sony/common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_fuji-common",
"target_path": "device/sony/fuji-common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_qcom-common",
"target_path": "device/sony/qcom-common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_DASH",
"target_path": "hardware/sony/DASH",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_display-caf",
"target_path": "hardware/sony/display-caf",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_audio-caf",
"target_path": "hardware/sony/audio-caf",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_qcom_bt",
"target_path": "hardware/qcom/bt",
"revision": "cm-10.1"
},
]
/vendor/pa/manifest/nozomi.removes:
Code:
[
{
"name": "platform/frameworks/av",
"path": "frameworks/av"
},
{
"name": "ParanoidAndroid/android_frameworks_native",
"path": "frameworks/native"
},
{
"name": "ParanoidAndroid/android_frameworks_opt_telephony",
"path": "frameworks/opt/telephony"
}
]
/vendor/pa/prebuilt/pa_nozomi.conf :
Code:
I used pa_i9300.conf so I guess no errors made here :p
/vendor/pa/products/pa_nozomi.mk ( here I believe I made more than a single error )
Code:
# Copyright (C) 2012 ParanoidAndroid Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Check for target product
ifeq (pa_nozomi,$(TARGET_PRODUCT))
# Define PA bootanimation size
PARANOID_BOOTANIMATION_NAME := XHDPI
# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_i9300
# Build paprefs from sources
PREFS_FROM_SOURCE ?= false
# Include ParanoidAndroid common configuration
include vendor/pa/config/pa_common.mk
# Inherit AOSP device configuration
$(call inherit-product, device/sony/nozomi/full_nozomi.mk)
# Product Package Extras - Repos can be added manually or via addprojects.py
-include vendor/pa/packages/nozomi.mk
# CM Package Extras
-include vendor/pa/packages/cm.mk
# Override AOSP build properties
PRODUCT_NAME := pa_nozomi
PRODUCT_BRAND := sony
PRODUCT_MODEL := Xperia S
PRODUCT_MANUFACTURER := sony
[COLOR="red"]#down here -v- I copied these from OpenSEMC's ROM build.prop
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=LT26i BUILD_FINGERPRINT=SEMC/LT26i_1257-5499/LT26i:4.0.4/6.1.A.2.50/zfd_zw:user/release-keys PRIVATE_BUILD_DESC=LT26i-user 4.0.4 6.1.A.2.50 zfd_zw test-keys[/COLOR]
# Update local_manifest.xml
GET_VENDOR_PROPS := $(shell vendor/pa/tools/getvendorprops.py $(PRODUCT_NAME))
GET_PROJECT_RMS := $(shell vendor/pa/tools/removeprojects.py $(PRODUCT_NAME))
GET_PROJECT_ADDS := $(shell vendor/pa/tools/addprojects.py $(PRODUCT_NAME))
GET_CM_PROJECT_ADDS := $(shell vendor/pa/tools/addprojects.py cm.adds)
endif
[COLOR="Red"]#I removed TARGET_DEVICE because I didn't know what to put there and that the build won't won't override it [/COLOR]
/vendor/pa/vendorprops/nozomi.prorietaries
i found nothing to add here so I left it blank too
Code:
[
]
so after this little work the build attempt failed with these errors
Code:
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Trying dependencies-only mode on a non-existing device tree?
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
.
.
.
.
.
.
.
.
.
.
.
.
.
.
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE nozomi
make -C kernel/sony/msm8x60 O=/home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/user/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_fuji_nozomi_defconfig
make[1]: Entering directory `/home/user/android/kernel/sony/msm8x60'
Install: /home/user/android/out/host/linux-x86/bin/acp
host Executable: tblgen (/home/user/android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
Target buildinfo: /home/user/android/out/target/product/nozomi/system/build.prop
/bin/bash: 4.0.4: command not found
make: *** [/home/user/android/out/target/product/nozomi/system/build.prop] Error 127
make: *** Deleting file `/home/user/android/out/target/product/nozomi/system/build.prop'
make: *** Waiting for unfinished jobs....
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
GEN /home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/android/kernel/sony/msm8x60'
please help me keeping up with this port as I see a lot of potential in this device , and eveybody loves multiple flavoured roms for his/her device
thanks in advance .
Rock on !

Three Musketers group (the same that built PAC for us) has been trying to build PA 3+ for ages and no luck... Tried a hell lot of ways, but no luck. The best we got was show lockscreen for a second then bootloop.

Oh so there's no way I can get this to work by myself . but why wouldn't it boot like the other AOSP ROMs ?
Sent from my Xperia S using xda app-developers app

You could ask here, maybe they can help.
http://forum.xda-developers.com/showthread.php?t=1863547

Thanks androidlover007 , I'll definetly check this out .
Sent from my Xperia S using xda app-developers app

sa30udi said:
so after this little work the build attempt failed with these errors
Code:
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Trying dependencies-only mode on a non-existing device tree?
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
.
.
.
.
.
.
.
.
.
.
.
.
.
.
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE nozomi
make -C kernel/sony/msm8x60 O=/home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/user/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_fuji_nozomi_defconfig
make[1]: Entering directory `/home/user/android/kernel/sony/msm8x60'
Install: /home/user/android/out/host/linux-x86/bin/acp
host Executable: tblgen (/home/user/android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
Target buildinfo: /home/user/android/out/target/product/nozomi/system/build.prop
/bin/bash: 4.0.4: command not found
make: *** [/home/user/android/out/target/product/nozomi/system/build.prop] Error 127
make: *** Deleting file `/home/user/android/out/target/product/nozomi/system/build.prop'
make: *** Waiting for unfinished jobs....
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
GEN /home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/android/kernel/sony/msm8x60'
please help me keeping up with this port as I see a lot of potential in this device , and eveybody loves multiple flavoured roms for his/her device
thanks in advance .
Rock on !
Click to expand...
Click to collapse
It looks like something in your .adds or .removes files are imporperly formatted, I had the same issue building for razr hd. So I just made both of my devices .adds and .removes files:
Code:
[]
and added the repos I wanted manually to a forked copy of their manifests.

Well I think I need a couple of courses in git and repo .. Anyway thanks ! I'll keep the forum up to day with my progress
Sent from my LT26i using xda app-developers app

Related

[SOLVED] need some help compiling...

two things:
1. recovery compiling
i am trying to compile the recovery binary for the recovery image. so i go to the root of the android source, which i downloaded with the instructions from here: http://source.android.com/download
when i run "make recovery" i get the following error:
Code:
[email protected]:/media/data/mydroid$ make recovery
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.1-update1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ECLAIR
============================================
make: *** No rule to make target `out/target/product/generic/obj/PACKAGING/ota_keys_inc_intermediates/keys.inc', needed by `out/target/product/generic/obj/EXECUTABLES/recovery_intermediates/install.o'. Stop.
having read somewhere about the recovery needing a compiled android first, i tried to run "make", which ran into the same error after about one hour of compiling (tons of other messages of course). any help is appreciated, i believe it is not a big problem...
2. c code cross compiling
i am trying to compile some (very basic) c code with the help of the cross compiler. the code contains the following includes:
Code:
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
the code compiles flawless with gcc, but when i try to compile it for android i get the following:
Code:
[email protected]:~/Desktop$ arm-eabi-gcc test.c -o armtest
test.sh.x.c:89:22: error: sys/stat.h: No such file or directory
test.sh.x.c:90:23: error: sys/types.h: No such file or directory
test.sh.x.c:92:19: error: errno.h: No such file or directory
test.sh.x.c:93:19: error: stdio.h: No such file or directory
test.sh.x.c:94:20: error: stdlib.h: No such file or directory
test.sh.x.c:95:20: error: string.h: No such file or directory
test.sh.x.c:96:18: error: time.h: No such file or directory
test.sh.x.c:97:20: error: unistd.h: No such file or directory
test.sh.x.c: In function 'key_with_file':
test.sh.x.c:159: error: array type has incomplete element type
test.sh.x.c:160: error: array type has incomplete element type
test.sh.x.c:166: warning: incompatible implicit declaration of built-in function 'memset'
test.sh.x.c: In function 'chkenv':
test.sh.x.c:211: warning: incompatible implicit declaration of built-in function 'sprintf'
test.sh.x.c:212: warning: assignment makes pointer from integer without a cast
test.sh.x.c:216: warning: incompatible implicit declaration of built-in function 'strlen'
test.sh.x.c:220: warning: incompatible implicit declaration of built-in function 'strdup'
test.sh.x.c:223: warning: incompatible implicit declaration of built-in function 'sscanf'
test.sh.x.c:235:24: error: sys/ptrace.h: No such file or directory
test.sh.x.c:237:22: error: sys/wait.h: No such file or directory
test.sh.x.c:238:19: error: fcntl.h: No such file or directory
test.sh.x.c:239:20: error: signal.h: No such file or directory
test.sh.x.c: In function 'untraceable':
test.sh.x.c:258: warning: incompatible implicit declaration of built-in function 'sprintf'
test.sh.x.c:261: error: 'O_RDWR' undeclared (first use in this function)
test.sh.x.c:261: error: (Each undeclared identifier is reported only once
test.sh.x.c:261: error: for each function it appears in.)
test.sh.x.c:261: error: 'O_EXCL' undeclared (first use in this function)
test.sh.x.c:262: error: 'errno' undeclared (first use in this function)
test.sh.x.c:262: error: 'EBUSY' undeclared (first use in this function)
test.sh.x.c:263: error: 'PTRACE_ATTACH' undeclared (first use in this function)
test.sh.x.c:265: error: 'SIGCONT' undeclared (first use in this function)
test.sh.x.c:268: error: 'SIGKILL' undeclared (first use in this function)
test.sh.x.c:270: warning: incompatible implicit declaration of built-in function '_exit'
test.sh.x.c:278: warning: incompatible implicit declaration of built-in function '_exit'
test.sh.x.c: In function 'xsh':
test.sh.x.c:291: error: 'time_t' undeclared (first use in this function)
test.sh.x.c:291: error: expected expression before ')' token
test.sh.x.c:292: error: expected expression before ')' token
test.sh.x.c:307: warning: incompatible implicit declaration of built-in function 'calloc'
test.sh.x.c:323: warning: incompatible implicit declaration of built-in function 'malloc'
test.sh.x.c:326: warning: incompatible implicit declaration of built-in function 'memset'
test.sh.x.c:327: warning: incompatible implicit declaration of built-in function 'memcpy'
test.sh.x.c:333: warning: incompatible implicit declaration of built-in function 'malloc'
test.sh.x.c:336: warning: incompatible implicit declaration of built-in function 'sprintf'
test.sh.x.c: In function 'main':
test.sh.x.c:370: warning: incompatible implicit declaration of built-in function 'fprintf'
test.sh.x.c:370: error: 'stderr' undeclared (first use in this function)
test.sh.x.c:371: error: 'errno' undeclared (first use in this function)
from my noob point of view that means the compiler cannot find the includes. so where can i find them (i asssume in the android source tree in bionic/libc/include/), and how do i get the compiler to find them? i tried "--sysroot=", but i am not sure what part of the path is expected exactly...
second problem is solved. fwiw this is the solution:
Code:
arm-eabi-gcc -o test test.c -Wl,-rpath-link=/media/data/mydroid/development/ndk/build/platforms/android-5/arch-arm/usr/lib/,-dynamic-linker=/system/bin/linker -L/media/data/mydroid/development/ndk/build/platforms/android-5/arch-arm/usr/lib/ /media/data/mydroid/development/ndk/build/platforms/android-5/arch-arm/usr/lib/crtbegin_dynamic.o -I/media/data/mydroid/development/ndk/build/platforms/android-5/arch-arm/usr/include -nostdlib -lc
where /media/data/mydroid is the directory in which i initialized the git. don't ask me what the options mean, i don't know exactly either.
problem1 still persists, so if anybody has any ideas...
solved. needed to download cupcake sources. thx amon ra.
kendong2 said:
solved. needed to download cupcake sources. thx amon ra.
Click to expand...
Click to collapse
Can you be a little more specific on how to fix the error? What detailed steps to take or do you just compile it with cupcake as my target device is an eclair build
make: *** No rule to make target `out/target/product/generic/obj/PACKAGING/ota_keys_inc_intermediates/keys.inc', needed by `out/target/product/generic/obj/EXECUTABLES/recovery_intermediates/install.o'. Stop
Can you detail what you are trying to do and how you are reaching this error?
Generally, from my experience, if you follow the detailed instructions from here:
http://source.android.com/source/download.html
The code compiles with no problems. Note that if you want eclair, initialize the repo using the command:
repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
Hello verybody i have a similar error when porting cwm for my pantech im-a650s. i've googled, i found nothing...Anyone can help me?
Code:
[email protected]:~/android/system$ sudo make -j4 recoveryImage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
make: *** No rule to make target `recoveryImage'. Stop.
nguyenhonganh said:
Hello verybody i have a similar error when porting cwm for my pantech im-a650s. i've googled, i found nothing...Anyone can help me?
[email protected]:~/android/system$ sudo make -j4 recoveryImage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
make: *** No rule to make target `recoveryImage'. Stop.
Click to expand...
Click to collapse
Please post a new thread in Android General for this.

[GUIDE] ICS HOLO SPINNERS! For GB - ACE[5830/5830i]/ACE DUOS/ Y / Y DUOS

WELCOME HERE!!!
I PRESENT YOU ALL - HOLO ICS Spinner for ACE/ACE DUOS/Y/Y DUOS And any one with gingerbread.
I am sure 90% This will work on all devices that are running below 4.0.[ICS] , as ics have , but we dont.
credits- i have learned the codes from hyperdroid team for makin the animation smooth for the ginger bread devices.
but then i discovered that why HOLO cant be implemented on our deivces??
i went through the "whatsapp" that had ics holo spinner [ as u have noticed and u loved it!]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
READ THE PROCEDURE PROPERLY, Failing to this will cause boot loop. Dont try if are a noob. You should know about compiling process properly.
PRE- REQUIREMENT :​-rooted
-notepad++
-some knowledge of xml editing to tweak urself
-knowledge of decompile/recompile
-backup current framework-res.apk in case u pushed unproperly compiled apk
-dont forget to copy metainf folder / android manifiest.xml from orignal framework to modded [ using 7.zip ]
-permissions set to rw-r--r-- after pushing
-copy icons to / framework-res/res/drawable-mdpi
--------------------------------------------------------------------------------------------------------------
codes:
open / framework-res/res/drawable/*******_****.xml : [name as below]
--------------------------------------------------------------------------------------------------------------
After opening XML replace whole code with this one . follow in all XMLs.
You have to edit 6 xmls.
progress_large.xml AND progress_large_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
progress_medium_xml AND progress_meduim_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_48_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_48_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
progress_small.xml AND progress_small_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_16_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_16_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
Now , Copy the icons attached below to framework-res/res/drawable-mdpi
Now Recompile, AFTER THAT OPEN ORIGNAL AND MODDED [UNSIGNEDXXX.APK] IN 7ZIP AND COPY METAINF FOLDER AND ANDROID MANIFIEST.XML FROM ORIGNAL TO MODDED. Rename the modded.
Push to system / framework/ "here"
Set permissions to rw-r--r-- after pushing
Restart....
----------------------------------------------------------------------------------------------------------------
here ="@drawable/spinner_xx_xxxxx_holo represents :
xx= icon which is to be used ; u can change icons of ur choice and put it here and change the name.
<rotate .../> - tells the icon to be rotated from which degree to which.
This is very simple , and u can change it as according to you.
---------------------------------------------------------------------------------------------------------------
--------------FUTURE UPDATE MAY INCLUDE SMOOTH ANIMATION----------------
I am currently using:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="25" android:framesCount="48"
xmlns:android="http://schemas.android.com/apk/res/android" />
Here -
android:frameDuration="25" android:framesCount="48" - gives smooth animation to ur icons.
for this i will attach the ready made xmls. [NON -HOLO]
This are not holo ; this are the modded for smooth animation and this will not give holo look.
to get holo look u have to use the above codes.
About Attachment - non-holo Those who just want to change icons and smooth animation use xml provided. THOSE WHO WANT REAL ICS SPINNERS , FOLLOW ABOVE PROCESS
If u like my work , share ur click on THANKS ..:fingers-crossed::fingers-crossed::laugh:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<animated-rotate android:drawable="@drawable/spinner_16_outer_holo" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="25" android:framesCount="48"
xmlns:android="http://schemas.android.com/apk/res/android" />
I implemented the
Code:
android:frameDuration="25" android:framesCount="48"
in
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_16_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_16_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
But not effective , i will update once i get that work too.
Try looking into build.prop tweaks for animation?
Sent from my SPH-M580BST using Tapatalk 2
ciscogee said:
Try looking into build.prop tweaks for animation?
Sent from my SPH-M580BST using Tapatalk 2
Click to expand...
Click to collapse
no , its in this xmls only.
when I use 'animate-rotation', it works .
but when I use same in <layer>
it dont
www.dadabhagwan.org
nice guide mate !! :good:
Tell here , if its working in lower end phones too..!! do more people get ics look.
www.dadabhagwan.org
Would it work just by renaming your files after the old files and replacing them?
mathm2013 said:
Would it work just by renaming your files after the old files and replacing them?
Click to expand...
Click to collapse
the files which I have attached are not for dual circle , they are for single circle.
if u just want animation smooth, replace d files and recompile.
if u want ics , file d process.
dont forget to hit thanks!
www.dadabhagwan.org
i can't recompail the apk...
icspanneer said:
i can't recompail the apk...
Click to expand...
Click to collapse
you must have done some editing error..
www.dadabhagwan.org
mjp93 said:
you must have done some editing error..
www.dadabhagwan.org
Click to expand...
Click to collapse
no.. dude..
my editing is correctly ....
my "progress_large.xml"is
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
icspanneer said:
no.. dude..
my editing is correctly ....
my "progress_large.xml"is
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
Click to expand...
Click to collapse
Please give your log of multi tool
www.dadabhagwan.org
mjp93 said:
Please give your log of multi tool
www.dadabhagwan.org
Click to expand...
Click to collapse
here this error....
Code:
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework>apktool b fram
ework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_large.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_76_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_large_white.xml:2: error: Error: No resource found that ma
tches the given name (at 'drawable' with value '@drawable/spinner_76_inner_holo'
).
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_medium.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_48_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_medium_white.xml:2: error: Error: No resource found that m
atches the given name (at 'drawable' with value '@drawable/spinner_48_inner_holo
').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_16_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small_titlebar.xml:2: error: Error: No resource found that
matches the given name (at 'drawable' with value '@drawable/spinner_16_inner_ho
lo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small_white.xml:2: error: Error: No resource found that ma
tches the given name (at 'drawable' with value '@drawable/spinner_16_inner_holo'
).
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Panneer\AppData\Local\Te
mp\APKTOOL2541621921937326722.tmp, -x, -S, C:\Users\Panneer\Downloads\Compressed
\VET_v4.2_NTP_14MB\framework\framework-res\res, -M, C:\Users\Panneer\Downloads\C
ompressed\VET_v4.2_NTP_14MB\framework\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:
\Users\Panneer\AppData\Local\Temp\APKTOOL2541621921937326722.tmp, -x, -S, C:\Use
rs\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\res, -
M, C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-r
es\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 10, --target-sdk-version, 10, -F, C:\Users\Panneer\AppData\Local\Temp
\APKTOOL2541621921937326722.tmp, -x, -S, C:\Users\Panneer\Downloads\Compressed\V
ET_v4.2_NTP_14MB\framework\framework-res\res, -M, C:\Users\Panneer\Downloads\Com
pressed\VET_v4.2_NTP_14MB\framework\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework>
There is no problem in recompiling .. I'll be there is a problem in the framework you are not correctly installed..
www.dadabhagwan.org
mjp93 said:
There is no problem in recompiling .. I'll be there is a problem in the framework you are not correctly installed..
www.dadabhagwan.org
Click to expand...
Click to collapse
okay got it...
Error
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'choose_sim' has no default translation in B:\apktool\fram
ework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
B:\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in B:\apktool\
framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in B:\apktool\fr
amework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
Exception in thread "main" B:\apktool\framework-res\res\drawable\progress_large.
xml:5: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large.xml:8: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/spi
nner_72_inner_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:5: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:8: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_inner_holo').
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590
.tmp, -x, -S, B:\apktool\framework-res\res, -M, B:\apktool\framework-res\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590.tmp, -x, -S, B:\apkto
ol\framework-res\res, -M, B:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??
ardelsan said:
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has chat.... brut.util.OS.exec(OS.java:83)
at
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??
Click to expand...
Click to collapse
I can't do it, but can hint you that - you have not copied the icons on the required folder - error says that given resources are missing, if you don't know then copy icons in all resources folder.
I can't help you because I have no tools to do as I have corrupted my hard drive and I am at great loss
ParanoidAndroid | i9300
www.dadabhagwan.org
ardelsan said:
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'choose_sim' has no default translation in B:\apktool\fram
ework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
B:\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in B:\apktool\
framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in B:\apktool\fr
amework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
Exception in thread "main" B:\apktool\framework-res\res\drawable\progress_large.
xml:5: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large.xml:8: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/spi
nner_72_inner_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:5: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:8: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_inner_holo').
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590
.tmp, -x, -S, B:\apktool\framework-res\res, -M, B:\apktool\framework-res\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590.tmp, -x, -S, B:\apkto
ol\framework-res\res, -M, B:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??
Click to expand...
Click to collapse
Firstly have you installed the framework before continuing decompiling it?
I suggest you to use APK Multi Tool as its eaiser and has much more features.
good app

[Q]build cm14.1 error

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="CyanogenMod/android_kernel_oneplus_msm8996" path="kernel/oneplus/msm8996" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-14.1" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
</manifest>
Code:
brunch oneplus3
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
make: Entering directory '/home/android/cyanogenmod/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
Running kati to generate build-cm_oneplus3.ninja...
Environment variable BUILD_NUMBER was modified (fd1178d4b1 => 00ef3f6dc6), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/android/cyanogenmod/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Atria.ogg:system/media/audio/ringtones/Atria.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Pyxis.ogg:system/media/audio/ringtones/Pyxis.ogg ignored.
No private recovery resources for TARGET_DEVICE oneplus3
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 22/50619] host C++: libaidl-common <= /home/android...IBRARIES/libaidl-common_intermediates/aidl_language_l.cpp
FAILED: /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o
/bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/gtest/include -I system/tools/aidl -I /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates -I /home/android/cyanogenmod/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaidl-common_intermediates -I libnativehelper/include/nativehelper \$(cat /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /home/android/cyanogenmod/system/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -Wsign-promo -Wno-inconsistent-missing-override --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu -fPIC -D_USING_LIBCXX -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unneeded-internal-declaration -Wno-deprecated-register -Wno-writable-strings -std=gnu++14 -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d -o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp ) && (cp /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d >> /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; rm -f /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d )"
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:904:23: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
~~~ ^ ~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1395:3: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:731:18: note: expanded from macro 'YY_INPUT'
for ( n = 0; n < max_size && \
~ ^ ~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1966:17: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( i = 0; i < _yybytes_len; ++i )
~ ^ ~~~~~~~~~~~~
3 errors generated.
[ 0% 22/50619] target Java: libprotobuf-java-nano (/home...VA_LIBRARIES/libprotobuf-java-nano_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 22/50619] host Java: doclava (/home/android/cyanoge.../common/obj/JAVA_LIBRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/android/cyanogenmod/system'
#### make failed to build some targets (48 seconds) ####
What version of JDK are you using?
daleski75 said:
What version of JDK are you using?
Click to expand...
Click to collapse
openjdk1.8_112 or Oracle jdk1.8
Try my roomservice file first
http://hastebin.com/juqahexune.xml
daleski75 said:
Try my roomservice file first
http://hastebin.com/juqahexune.xml
Click to expand...
Click to collapse
Same error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ahh your using archlinux is it bbq linux by some chance?
daleski75 said:
Ahh your using archlinux is it bbq linux by some chance?
Click to expand...
Click to collapse
What is the difference with the original arch?Reinstalling the operating system is a painful process?
fiepi said:
What is the difference with the original arch?Reinstalling the operating system is a painful process
Click to expand...
Click to collapse
bbq linux is based on it and i always had build errors when using arch and swapped to ubuntu and zero problems.
daleski75 said:
bbq linux is based on it and i always had build errors when using arch and swapped to ubuntu and zero problems.
Click to expand...
Click to collapse
Thank you, I will install a ubuntu?
fiepi said:
Thank you, I will install a ubuntu
Click to expand...
Click to collapse
If it's a vm you can create a ubuntu vm, mount the arch linux vmdk within the ubuntu vm, mount it when it's installed and then copy across your build directory, will speed things up massively for you.

[Q] Repo/Manifest errors for HTC M9 Himaul?

I am trying to build LineageOS for the HTC M9 Himaul following these directions CyanogenMod Wiki: How to build himaul using "git://github.com/LineageOS/android.git -b cm-14.1" for the repo.
The repo syncs successfully and I don't get any errors when I run "source build/envsetup.sh", but when I run "breakfast himaul" I get this
Code:
~/android/system $ breakfast himaul
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/htc/himaul/lineage.mk]]: "vendor/qcom/binaries/msm8994/graphics/graphics-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/htc/himaul/lineage.mk]]: "vendor/qcom/binaries/msm8994/graphics/graphics-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/htc/himaul/lineage.mk]]: "vendor/qcom/binaries/msm8994/graphics/graphics-vendor.mk" does not exist. Stop.
Device himaul not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_htc_himaul
Default revision: cm-14.1
Checking branch info
Checking if device/htc/himaul is fetched from android_device_htc_himaul
LineageOS/android_device_htc_himaul already fetched to device/htc/himaul
Syncing repository to retrieve project.
Fetching project LineageOS/android_device_htc_himaul
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies in device/htc/himaul
Looking for dependencies in device/htc/hima-common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/htc/himaul/lineage.mk]]: "vendor/qcom/binaries/msm8994/graphics/graphics-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/htc/himaul/lineage.mk]]: "vendor/qcom/binaries/msm8994/graphics/graphics-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'lineage_himaul'
** Do you have the right repo manifest?
I attached my manifest.xml and roomservice.xml
add this project on your roomservice.xml
Code:
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
Then repo sync again
Thanks, I tried your suggestion and every other one I could find but unfortunately couldn't ever get version 14 to work.
I was successful with version 13.
I appreciate the help.
i get the same , if somebody findes out please PM me ..
Hey!
You additionally have to add the device specific binaries, so please also add this to your roomservice.xml :
Code:
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-14.1" />
Then do a
Code:
repo sync
and try again. Maybe a make clean is necessary.
If you don't have a good internet connection AND an already running M9 you can also extract the proprietary blobs with
Code:
~/android/system/device/htc/himaul/extract-files.sh
That's also mentioned in your link CyanogenMod Wiki: How to build himaul. Sorry - I can't post links.
A third method is extracting the binary blobs from an already built zip image (maybe cm 13)...
Happy compiling
For me it worked - but I still haven't flashed it
---------- Post added at 07:07 PM ---------- Previous post was at 06:40 PM ----------
Yeeha!
It successfully booted
Wifi is working, but there are a lot of buggy things around... e.g. the camera
Actually I wanted to post a screenshot, but I can't find the upload button
115ek said:
Hey!
You additionally have to add the device specific binaries, so please also add this to your roomservice.xml :
Then do a and try again. Maybe a make clean is necessary.
If you don't have a good internet connection AND an already running M9 you can also extract the proprietary blobs with
That's also mentioned in your link CyanogenMod Wiki: How to build himaul. Sorry - I can't post links.
A third method is extracting the binary blobs from an already built zip image (maybe cm 13)...
Happy compiling
For me it worked - but I still haven't flashed it
---------- Post added at 07:07 PM ---------- Previous post was at 06:40 PM ----------
Yeeha!
It successfully booted
Wifi is working, but there are a lot of buggy things around... e.g. the camera
Actually I wanted to post a screenshot, but I can't find the upload button
Click to expand...
Click to collapse
I'll give this a shot this weekend.
Thank you
I added the two things above to my roomservice.xml so it looks like this now
Roomservice.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_htc_himaul" path="device/htc/himaul" remote="github" />
<project name="LineageOS/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />
<project name="LineageOS/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-14.1" />
</manifest>
I did a 'repo sync' and a 'make clean' before attempting to build. I still get numerous errors so I must be doing something wrong still.
Here is the output from my brunch command
brunch himaul
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/htc/himaul
Looking for dependencies in device/htc/hima-common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170205-UNOFFICIAL-himaul
TARGET_PRODUCT=lineage_himaul
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-62-generic-x86_64-with-LinuxMint-18.1-serena
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/home/shelby/android/system/out
============================================
make: Entering directory '/home/shelby/android/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170205-UNOFFICIAL-himaul
TARGET_PRODUCT=lineage_himaul
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-62-generic-x86_64-with-LinuxMint-18.1-serena
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/home/shelby/android/system/out
============================================
***TEXT HERE REMOVED TO MEET CHARACTER LIMIT***
Running kati to generate build-lineage_himaul.ninja...
/home/shelby/android/system/out/build-lineage_himaul.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170205-UNOFFICIAL-himaul
TARGET_PRODUCT=lineage_himaul
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-62-generic-x86_64-with-LinuxMint-18.1-serena
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/home/shelby/android/system/out
============================================
Checking build tools versions...
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/shelby/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES vendor/qcom/binaries/msm8994/graphics/proprietary/vendor/lib64/libmm-qdcm.so:system/vendor/lib64/libmm-qdcm.so ignored.
build/core/Makefile:53: Duplicate header copy: /home/shelby/android/system/out/target/product/himaul/obj/include/qcom/display/copybit.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
build/core/Makefile:53: Duplicate header copy: /home/shelby/android/system/out/target/product/himaul/obj/include/qcom/display/copybit_priv.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
build/core/Makefile:53: Duplicate header copy: /home/shelby/android/system/out/target/product/himaul/obj/include/qcom/display/c2d2.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
No private recovery resources for TARGET_DEVICE himaul
build/core/java.mk:334: warning: overriding commands for target `/home/shelby/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/shelby/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/shelby/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/shelby/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/shelby/android/system/out/target/product/himaul/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/shelby/android/system/out/target/product/himaul/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/shelby/android/system/out/target/product/himaul/system/lib64/hw/consumerir.default.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/shelby/android/system/out/target/product/himaul/system/lib64/hw/consumerir.default.so'
build/core/Makefile:34: warning: overriding commands for target `/home/shelby/android/system/out/target/product/himaul/system/lib/hw/consumerir.default.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/shelby/android/system/out/target/product/himaul/system/lib/hw/consumerir.default.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/htc/hima-common/proprietary/etc/firmware/BCM4354A2_001.003.015.0100.0102.hcd', needed by '/home/shelby/android/system/out/target/product/himaul/system/etc/firmware/BCM4354A2_001.003.015.0100.0102.hcd', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/shelby/android/system'
#### make failed to build some targets (23 seconds) ####
Very interesting...
Please find out what your directory /home/shelby/android/system/vendor/htc/hima-common/proprietary/etc/firmware/ contains. Or if it actually exists.
Do you find BCM4354A2_001.003.015.0100.0102.hcd or BCM4356A2_001.003.015.0100.0102.hcd there?
If not: please do a 'repo --force-sync' (if you don't have local changes in your sourcetree...)
BCM4354A2_001.003.015.0100.0102.hcd was replaced by a newer bluetooth firmware version BCM4356A2_001.003.015.0100.0102.hcd
But it's still copied under the old name into the output.
So, your problem is that a makefile might be outdated and looks for the old version (and can't find it) or your repo isn't synced correctly.
I looked in that directory and did not find either of those files.
I ran the repo --force-sync as suggested but no changes were made to the directory as far as I could see.
I did a search for BCM435* in android/system and it returned one file with a .hcd extension.
BCM4359C0_003.001.006.0065.0111.hcd in android/system/vendor/htc/pme/proprietary/etc/firmware
Dunno what that means...
I'm not opposed to deleting the directory and starting over if need be
I'm not opposed to deleting the directory and starting over if need be
Click to expand...
Click to collapse
Yes.
Try removing the htc directory under system/vendor and re-sync. It shouldn't take too much time. Your directory should look like h ttps://github.com/TheMuppets/proprietary_vendor_htc (had to insert a space, because I can't post links here )
If that doesn't work you can also download the repo as zip and unpack it in the right place.
Give it a try :good:
115ek said:
Yes.
Try removing the htc directory under system/vendor and re-sync. It shouldn't take too much time. Your directory should look like h ttps://github.com/TheMuppets/proprietary_vendor_htc (had to insert a space, because I can't post links here )
If that doesn't work you can also download the repo as zip and unpack it in the right place.
Give it a try :good:
Click to expand...
Click to collapse
I didn't get the chance to try any of this until this morning.
I deleted the whole directory and started over with the new lines in my roomservice.xml and I was able to build and flash the image successfully!
Thanks for the help! :good:

			
				
I know this tread is very old but as our device has been removed from the official builds, I wanted to try to build on my own to get the latest security patches.
I followed the instructions at htt ps://wiki.lineageos.org/devices/himaul/build and added both links to my roomservice.xml, did several re-syncs and extracted the proprietary blobs a second time but the build still fails and i still have the "Dependencies file not found, bailing out." message at breakfast / brunch.
Code:
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-14.1" />
os: ubuntu 17.10 x64 on virtual machine, assigned 1 core, 4.5GB of ram

[DEVS NEEDED] Building Pixel Experience

Hi, this is the first time I try to build a custom ROM. I'm interested in building Pixel Experience for addison. I set up build environment, ran repo sync, . build/envsetup.sh, breakfast addison and got this error:
Code:
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
Device addison not found. Attempting to retrieve device repository from PixelExperience-Devices Github ([url]http://github.com/PixelExperience-Devices[/url]).
Repository for addison not found in the PixelExperience-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/pixel.xml
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
** Don't have a product spec for: 'addison'
** Do you have the right repo manifest?
So I renamed my roomservice.xml to pixel.xml but nothing changed. It contains this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Alberto97/android_device_motorola_addison" path="device/motorola/addison" remote="github" revision="oreo-mr1" />
<project name="Alberto97/android_kernel_motorola_msm8953" path="kernel/motorola/msm8953" remote="github" revision="oreo-mr1" />
<project name="Alberto97/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="oreo-mr1-addison" />
</manifest>
I found out that . build/envsetup.sh looks for a file called vendorsetup.sh which is not present in @Alberto97 's device tree, so I manually created it, placed it in device/motorola/addison and put this:
Code:
add_lunch_combo aosp_addison-userdebug
add_lunch_combo aosp_addison-user
Now, . build/envsetup.sh gives (before it gave nothing):
Code:
including device/motorola/addison/vendorsetup.sh
including vendor/aosp/vendorsetup.sh
And lunch aosp_addison-userdebug gives:
Code:
Looking for dependencies
============================================
CUSTOM_VERSION=
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=OPM1.171019.013
============================================
But breakfast addison and brunch addison give the same error mentioned above
Code:
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
Device addison not found. Attempting to retrieve device repository from PixelExperience-Devices Github ([url]http://github.com/PixelExperience-Devices[/url]).
Repository for addison not found in the PixelExperience-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/pixel.xml
build/core/product_config.mk:236: *** Can not locate config makefile for product "addison". Stop.
** Don't have a product spec for: 'addison'
** Do you have the right repo manifest?
Any ideas?
I tried running brunch aosp_addison-userdebug instead of brunch addison and got this:
Code:
including vendor/aosp/vendorsetup.sh
Looking for dependencies
============================================
CUSTOM_VERSION=
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=OPM1.171019.013
============================================
============================================
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=OPM1.171019.013
============================================
environment variables changed value:
CC_WRAPPER ("" -> "/usr/bin/ccache")
forcing build manifest regeneration
[2/2] bootstrap /home/ignacio/pixel/out/soong/.minibootstrap/build.ninja.in
[1/1] /home/ignacio/pixel/out/soong/.b...pixel/out/soong/.bootstrap/build.ninja
[52/53] glob vendor/*/*/*/*/*/*/Android.bp
[12/12] /home/ignacio/pixel/out/soong/...me/ignacio/pixel/out/soong/build.ninja
/home/ignacio/pixel/out/build-aosp_addison.ninja is missing, regenerating...
Clean step: rm -rf /home/ignacio/pixel/out/target/product/addison/system/etc/audio_policy.conf
Clean step: rm -rf /home/ignacio/pixel/out/target/product/addison/system/etc/audio_policy.conf
build/core/base_rules.mk:238: error: vendor/qcom/opensource/dataservices/rmnetctl/src: MODULE.TARGET.SHARED_LIBRARIES.librmnetctl already defined by device/motorola/addison/rmnetctl/src.
23:10:23 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
real 8m45.232s
user 1m57.032s
sys 0m13.408s
I wonder why CUSTOM_VERSION= is empty
Did you make the ROM?
Sorry it's been over a year, but I just found this thread here. I'm not working on the Z, but from what PixelExperience shows you won't need to run brunch or anything else.
Once you run lunch and it builds successfully run:
Code:
make -jx
where x is the amount of cpu threads you want to devote the make process to.
So if you have 4 cpu cores, but 8 threads, you can run:
make -j10 to speed up the process.
Usually the general amount to use is:
make -j4 so it doesn't bog down your computer if you have an i7/i5 equivalent processor.

Categories

Resources