Do you have the same problem on your rom? I mean after you flashed a build the phone reboots frequentially after about 20 seconds?
yes i do
luckily i have a copy of the old vendor on my HDD so i can manually change sources
Do you have the same problem on your rom? I mean after you flashed a build the phone reboots frequentially after about 20 seconds?
yes i do
luckily i have a copy of the old vendor on my HDD so i can manually change sources
I'm running trough some error after a repo sync on SlimLP also, making me unable to build some other variants (already built D800, D802 and D801 / VS980) it's some commit they had merged in Telephony, I will check that.
Code:make: *** No rule to make target `/home/stryder/slim/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/classes.jar', needed by `/home/stryder/slim/out/target/common/obj/APPS/Telecom_intermediates/classes-full-debug.jar'. Stop.
Not a device specific error, but it's weird the last commit in
packages/services/Telephony on SlimRoms Repo were in Dec 8th.
Code:logtags: /home/stryder/slim/out/target/common/obj/APPS/TeleService_intermediates/src/src/com/android/phone/EventLogTags.java <= packages/services/Telephony/src/com/android/phone/EventLogTags.logtags
Did you sync my repos last night? I added a test commit in g2 common that causes that error. I've already reverted it.
Saw it today Arcardinal, I reverted my fork as well from radio to system and deleted the radio.te sepolicy in the g2-common. The D802 build is running flawlessly, fast and stable, the D800 and D801 I don't know yet because I don't have these variants, waiting for testers. mkbootimg.mk I needed to change the dtbToolCM to dtbTool, it was not compiling without this change, at least for me.
All sources are fine Arcardinal, your work is amazing.
Are you using CAF branch? Would you mind testing mine? All D80x supported.Mhh, strange my built this morning was pretty much unstable with random reboots and heating problems with USB connected.
Are you using CAF branch? Would you mind testing mine? All D80x supported.
adb logcat -v time -b events -b main -b system –b radio > seespot.log
adb shell cat /proc/last_kmsg > kmsg.log
su
cat /proc/last_kmsg > /sdcard/kmsg.log
adb bugreport > buggy.log
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp: In member function 'virtual android::status_t android::CameraClient::sendCommand(int32_t, int32_t, int32_t)':
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:679:23: error: 'CAMERA_MSG_STATS_DATA' was not declared in this scope
enableMsgType(CAMERA_MSG_STATS_DATA);
^
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:681:24: error: 'CAMERA_MSG_STATS_DATA' was not declared in this scope
disableMsgType(CAMERA_MSG_STATS_DATA);
^
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:683:23: error: 'CAMERA_MSG_META_DATA' was not declared in this scope
enableMsgType(CAMERA_MSG_META_DATA);
^
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:685:24: error: 'CAMERA_MSG_META_DATA' was not declared in this scope
disableMsgType(CAMERA_MSG_META_DATA);
Has someone ever faced the following issue?
Code:frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp: In member function 'virtual android::status_t android::CameraClient::sendCommand(int32_t, int32_t, int32_t)': frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:679:23: error: 'CAMERA_MSG_STATS_DATA' was not declared in this scope enableMsgType(CAMERA_MSG_STATS_DATA); ^ frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:681:24: error: 'CAMERA_MSG_STATS_DATA' was not declared in this scope disableMsgType(CAMERA_MSG_STATS_DATA); ^ frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:683:23: error: 'CAMERA_MSG_META_DATA' was not declared in this scope enableMsgType(CAMERA_MSG_META_DATA); ^ frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:685:24: error: 'CAMERA_MSG_META_DATA' was not declared in this scope disableMsgType(CAMERA_MSG_META_DATA);
It just happens because of the OPTS I've done, but I need them so...
#ifdef _ION_HEAP_MASK_COMPATIBILITY_WA
#define ION_HEAP_MASK heap_mask
#else
#define ION_HEAP_MASK [U]heap_id_mask[/U]
#endif
[B]heap_mask[/B]
The precious error was fixed by using C_FLAGS = -Os in camera makefile, for all .cpp. I'll commit all the changes I've done for future people who want to use these OPTS. But first I need to fix all of them :fingers-crossed:
I already had it, I fixed this error today but I got one that regards to this commit, I'll try reverting the commit and reply later, I am compiling my based on Slim and Slim Saber ROM, the straight from the source is fine @arcardinal.
Edit, got an error related to qcom/media/... because of the heap_id_mask commit, I think editing the .h omx_video_base and changing the following line:
Code:#ifdef _ION_HEAP_MASK_COMPATIBILITY_WA #define ION_HEAP_MASK heap_mask #else #define ION_HEAP_MASK [U]heap_id_mask[/U] #endif
tobecause it looks like ifdef _ION_HEAP_MASK_COMPATIBILITY_WA is not defined, so it takes else which is pointed to heap_id_mask. Let's see the next errors and fix them.Code:[B]heap_mask[/B]
Do you know where _ION_HEAP_MASK_COMPATIBILITY_WA is defined? I can't find it anywhere.
Great. Thank you very much.In the kernel. For instance, see this commit
https://github.com/SlimRoms/kernel_lge_msm8974/commit/4696250393c0c1e71da0ea26d45cfb58fe652f17
git clone -b cleanaosp https://github.com/dr87/SimpleKernel.git
git clone https://github.com/dr87/4.4_g2-vendor
git clone https://github.com/dr87/4.4_g2-common.git
<project path="frameworks/wilhelm" name="android_frameworks_wilhelm" remote="cm" />
<project path="hardware/akm" name="android_hardware_akm" groups="pdk" remote="cm" />
<project path="hardware/broadcom/libbt" name="android_hardware_broadcom_libbt" groups="pdk" remote="cm" />
<project path="hardware/broadcom/wlan" name="android_hardware_broadcom_wlan" groups="broadcom_wlan" remote="cm" />
<project path="hardware/cm" name="android_hardware_cm" remote="cm" />
<project path="hardware/invensense" name="android_hardware_invensense" groups="invensense" remote="cm" />
<project path="hardware/libhardware" name="android_hardware_libhardware" groups="pdk" remote="cm" />
<project path="hardware/libhardware_legacy" name="android_hardware_libhardware_legacy" groups="pdk" remote="cm" />
<project path="hardware/qcom/audio" name="android_hardware_qcom_audio" groups="qcom" remote="cm" />
<project path="hardware/qcom/audio-caf" name="android_hardware_qcom_audio-caf" groups="caf" remote="cm" />
<project path="hardware/qcom/bt" name="android_hardware_qcom_bt" groups="qcom" remote="cm" />
<project path="hardware/qcom/camera" name="android_hardware_qcom_camera" groups="qcom" remote="cm" />
<project path="hardware/qcom/display" name="android_hardware_qcom_display" groups="qcom" remote="cm" />
<project path="hardware/qcom/display-caf" name="android_hardware_qcom_display-caf" groups="caf" remote="cm" />
<project path="hardware/qcom/gps" name="android_hardware_qcom_gps" groups="qcom" remote="cm" />
<project path="hardware/qcom/keymaster" name="android_hardware_qcom_keymaster" groups="qcom" remote="cm" />
<project path="hardware/qcom/media" name="android_hardware_qcom_media" groups="qcom" remote="cm" />
<project path="hardware/qcom/media-caf" name="android_hardware_qcom_media-caf" groups="caf" remote="cm" />
<project path="hardware/qcom/msm8960" name="android_hardware_qcom_msm8960" groups="qcom_msm8960" remote="cm" />
<project path="hardware/qcom/msm8x74" name="android_hardware_qcom_msm8x74" groups="qcom_msm8x74" remote="cm" />
<project path="hardware/qcom/power" name="android_hardware_qcom_power" remote="cm" />
<project path="hardware/qcom/sensors" name="android_hardware_qcom_sensors" remote="cm" />
<project path="hardware/qcom/wlan" name="android_hardware_qcom_wlan" remote="cm" />
<project path="hardware/ril" name="android_hardware_ril" groups="pdk" remote="cm" />
<project path="hardware/samsung_slsi/exynos5" name="android_hardware_samsung_slsi_exynos5" remote="cm" />
<project path="hardware/ti/omap3" name="android_hardware_ti_omap3" remote="cm" />
<project path="hardware/ti/omap4xxx" name="android_hardware_ti_omap4xxx" remote="cm" />
<project path="hardware/ti/wlan" name="android_hardware_ti_wlan" remote="cm" />
<project path="hardware/ti/wpan" name="android_hardware_ti_wpan" remote="cm" />
2. Build of not booting ROM: http://d-h.st/7AWp<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/g2-common" name="lg-devs/android_device_lge_g2-common" remote="github" revision="cm-12.0"/>
<project path="kernel/lge/msm8974" name="lg-devs/android_kernel_lge_msm8974" remote="github" revision="cm-12.0"/>
<project path="proprietary/vendor/lge" name="lg-devs/proprietary_vendor_lge" remote="github" revision="cm-12.0"/>
<project path="device/lge/d802" name="lg-devs/android_device_lge_d802" remote="github" revision="cm-12.0"/>
<project path="device/lge/qcom-common" name="lg-devs/android_device_lge_qcom-common" remote="github" revision="cm-12.0"/>
</manifest>
Ok Good to know that you are working on a lollipop edition of Slim roms. I don't to be rube or something else, but Are you planning to release it asap it gets stable?
Thanks in advance
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
# Device Specific part
<project path="device/lge/d802" name="Flo0008/android_device_lge_d802" revision="lp5.0" remote="github" />
<project path="device/lge/g2-common" name="Flo0008/android_device_lge_g2-common" revision="lp5.0" remote="github" />
<project path="kernel/lge/msm8974" name="Flo0008/android_kernel_lge_msm8974" revision="cm-12.0" remote="github" />
<project path="vendor/lge" name="Flo0008/proprietary_vendor_lge" revision="cm-12.0" remote="github" />
</manifest>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
# Device Specific part
<project path="device/lge/d802" name="CyanogenMod/android_device_lge_d802" revision="cm-12.0" remote="github" />
<project path="device/lge/g2-common" name="CyanogenMod/android_device_lge_g2-common" revision="cm-12.0" remote="github" />
<project path="kernel/lge/msm8974" name="CyanogenMod/android_kernel_lge_msm8974" revision="cm-12.0" remote="github" />
<project path="vendor/lge" name="TheMuppets/proprietary_vendor_lge" revision="cm-12.0" remote="github" />
</manifest>
@RenderBroken
Can you or anybody else help me with this build error on AOSP Lollipop?
Target boot image: /data1/Flo0008/aosp_g2/out/target/product/d802/boot.img
usage: mkbootimg
--kernel <filename>
--ramdisk <filename>
[ --second <2ndbootloader-filename> ]
[ --cmdline <kernel-commandline> ]
[ --board <boardname> ]
[ --base <address> ]
[ --pagesize <pagesize> ]
-o|--output <filename>
device/lge/g2-common/releasetools/mkbootimg.mk:47: recipe for target '/data1/Flo0008/aosp_g2/out/target/product/d802/boot.img' failed
make: *** [/data1/Flo0008/aosp_g2/out/target/product/d802/boot.img] Error 1
make: *** Waiting for unfinished jobs....
Thanks in advance.
First:
In root directory of rom: make clean -> this should fix build error.
My proposition:
1. repo init -u https://github.com/SlimRoms/platform_manifest -b lp5.0-caf
2. roomservice.xml need to looks like:
3. repo sync.
4.
. build/envsetup.sh
brunch d802
Try this if you want.
---------- Post added at 11:34 AM ---------- Previous post was at 11:24 AM ----------
When finish building of DU will try SlimLP
---------- Post added at 11:36 AM ---------- Previous post was at 11:34 AM ----------
Size of compiled CM12 is about 240 MB -> something is missing in your build...
---------- Post added at 11:44 AM ---------- Previous post was at 11:36 AM ----------
look here:
https://github.com/TheMuppets/proprietary_vendor_lge/blob/cm-12.0/d802/d802-vendor-blobs.mk
See how much blobs is there...
insteed of using your blobs try TheMuppets's blobs:
https://github.com/TheMuppets/proprietary_vendor_lge
add this to roomservice.xml
---------- Post added at 11:50 AM ---------- Previous post was at 11:44 AM ----------
My last proposition is to try using cm device tree and kernel...
Then make some changes in device/lge/d802 .