yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] Edorewiel:
lunch

build/core/base_rules.mk:135: *** : unhandled install path "HOST_OUT_EXECUTABLES for pack_intel". Durdu.
Device a500cg not found. Attempting to retrieve device repository from CyanogenMod Github
Repository for a500cg not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/base_rules.mk:135: *** : unhandled install path "HOST_OUT_EXECUTABLES for pack_intel". Durdu.

** Don't have a product spec for: 'cm_a500cg'
** Do you have the right repo manifest?

how to fix this ?
[Zenfone 5 Android Development] tank0412:
Which device tree do you use? (You should disable tool for boot packing)
[Zenfone 5 Android Development] Edorewiel:
i used thuttin device tree

how to disable boot packing ?
[Zenfone 5 Android Development] tank0412:
Yeah i had same problem but i can not remember how i fixed it. Try to delete/disable intel boot tools in the device tree.

Also i uploaded my CM device tree. (it working) So you can try it.

https://github.com/tank0412/android_device_asus_a500cg-1
[Zenfone 5 Android Development] Edorewiel:
thank you i am downloading tree

---------- Post added at 03:44 PM ---------- Previous post was at 03:40 PM ----------

the same problem continues
[Zenfone 5 Android Development] LuanHalaiko:
I did like here https://github.com/PAC-ROM/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildLinux.md

device tree is on device/asus/a500cg

vendor is on vendor/asus/a500cg

I did all you said but always end up in this error
[Zenfone 5 Android Development] tank0412:
Try to delete this stirings in Boardconfig:

PRODUCT_OUT ?= out/target/product/$(TARGET_DEVICE)

HOST_OUT ?= out/host/$(HOST_OS)-$(HOST_PREBUILT_ARCH)
[Zenfone 5 Android Development] tank0412:
Which commands did you use to launch building?
[Zenfone 5 Android Development] Edorewiel:
the same problem continues
[Zenfone 5 Android Development] LuanHalaiko:
./build-pac.sh a500cg
[Zenfone 5 Android Development] tank0412:
Guys, sorry i just building AOSP 5.0.2 from zero and i found that if you use my AOSP device tree, you should delete more folders like libstagefrighthw, libmix, wrs_omxil_core from hardware/intel/common.

I hope that this information will be usefull.
[Zenfone 5 Android Development] dgadelha:
So many folders, maybe that's why everything is dead. xD
[Zenfone 5 Android Development] tank0412:
Of course.

But if i do not delete this folders, i will get fatal compilation errors.
[Zenfone 5 Android Development] dgadelha:
Yes but maybe you need to look how to fix it without deleting the original but the conflicting directories.
[Zenfone 5 Android Development] tank0412:
You know, i just found that psb_video is a Poulsbo Media Driver (Baytrail);

So it must not be deleted. It looks like it is avery important thing for media.
[Zenfone 5 Android Development] Edorewiel:
:crying::crying:
[Zenfone 5 Android Development] tank0412:
Stop, It is a CM13!

Use this device tree:

https://github.com/quanganh2627/android_device_asus_a500cg-1/tree/rr6-dev

And delete a string in the devcie.mk:

$(call transform-prebuilt-to-target,device/asus/a500cg/intel-boot-tools/pack_intel,$(HOST_OUT_EXECUTABLES))

Also i recommend you to build CM12.1 first.
[Zenfone 5 Android Development] Edorewiel:
Thank you advice!

---------- Post added at 01:01 PM ---------- Previous post was at 12:30 PM ----------

how to fix this ? and this fatal error ?
[Zenfone 5 Android Development] tank0412:
Try to delete libintelprov fodler in the device tree or libintel-updater file.
[Zenfone 5 Android Development] Edorewiel:
Neeeewww error

this kernel error ?
[Zenfone 5 Android Development] tank0412:
As i said earlier you should build CM12.1 first to get more experience.

To fix error above you should use another external/ffmeg folder.

And you using prebuilt kernel instead of building from source. You must build from source Marshmallow kernel.
[Zenfone 5 Android Development] Edorewiel:
I try cm12.1 build i get error

how to fix this ?
[Zenfone 5 Android Development] tank0412:
Open device.mk and comment this strings;

libtinycompress \

libtinyalsa \
[Zenfone 5 Android Development] waulliano:
Zenfone 6

Good afternoon. This tutorial applies to zenfone 6 1.6GHz? Sorry for bad English. Thank you!
[Zenfone 5 Android Development] waulliano:
Wonder!

Wonder! :D Who knows after compiling CM can do the port of MIUI for Asus devices :o. Sorry for bad English. Thank you! ;)
[Zenfone 5 Android Development] shobint7:
Can you make it [MENTION=5875920]tank0412[/MENTION] miui7 i got a link http://xdaforums.com/android/software/guide-build-port-miui-rom-to-device-t3250984
[Zenfone 5 Android Development] tank0412:
I think that MIUI does not support x86 chips.

Unfortunatly, i can not ever download MIUI sources to test it. If you know how to download MIUI Lollipop sources in zip archive i will try it.
[Zenfone 5 Android Development] Edorewiel:
i used another ffmpeg libs but not fix
[Zenfone 5 Android Development] dgadelha:
You should do what [MENTION=5875920]tank0412[/MENTION] said.

Stop trying to build a CM13 and build a CM12.1 to get experience.

All the CM13 builds failed to boot and you as an inexperienced user will not even be able to build it without some experience.

Ps to fix your error, create the directory mentioned as needed.

And remember this guide is for lollipop, not for marshmallow.
[Zenfone 5 Android Development] Edorewiel:
i used cm12.1 sources but not fix error
[Zenfone 5 Android Development] tank0412:
It looks like your CM sources is broken. (try to use another frameworks folder)

I had same problem during Omni or SlimLP building. So i think that oit happened due to rom sources.
[Zenfone 5 Android Development] Edorewiel:
hmm i used your sources

i try using thuttin sources
[Zenfone 5 Android Development] tank0412:
I mean CM sources is broken. I did not talk about device tree.

Devcie tree and ROM sources are different things. It is not fault of device tree.
[Zenfone 5 Android Development] tank0412:
Yeah i have already read this.

You used a bit strange method to launch building. Try this:

. build/envsetup.sh

lunch

*choose a500cg*

make -j6
[Zenfone 5 Android Development] LuanHalaiko:
there is no pac_a500cg, only cm_a500cg and aosp_a500cg

if I do make-j6 I need to change -j6 to my processor cores, that is 4 so it will be -j4 right?

---------- Post added at 15:50 ---------- Previous post was at 15:48 ----------

I tried with your aosp and cm, the two don't work, it gives A LOT of errors
[Zenfone 5 Android Development] Edorewiel:
http://xdaforums.com/android/software/sources-android-sources-highly-t3231109

i used this sources

i use the repo sync github verrryyy slow and download speed 1400kpbs

---------- Post added at 09:03 PM ---------- Previous post was at 09:01 PM ----------

yeap -j"processorcores" try to cm_a500cg ? but you're more likely to get errors
[Zenfone 5 Android Development] LuanHalaiko:
I did something wrong in the installation of ubuntu and my hard drive is fkd , I think I will build this rom next month or even later, becouse I will wait my new pc to be here, thank you for helping me, and it gives an error in crtbrand.s file [error 1]
[Zenfone 5 Android Development] eragon21:
My build log is full of 'warning: ignoring old recipe for target'. What's wrong? Build fails. Btw, how long does it take to build fully?

last few lines of log:

build/core/tasks/kernel.mk:106: ***************************************************************

build/core/tasks/kernel.mk:107: * Using prebuilt kernel binary instead of source *

build/core/tasks/kernel.mk:108: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *

build/core/tasks/kernel.mk:109: * Please configure your device to download the kernel *

build/core/tasks/kernel.mk:110: * source repository to kernel/asus/a500cg

build/core/tasks/kernel.mk:111: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building

build/core/tasks/kernel.mk:112: * for more information *

build/core/tasks/kernel.mk:113: ***************************************************************

build/core/tasks/kernel.mk:282: warning: overriding recipe for target '/root/Documents/cm12_1sources/cm12.1/out/target/product/a500cg/kernel'

build/core/Makefile:46: warning: ignoring old recipe for target '/root/Documents/cm12_1sources/cm12.1/out/target/product/a500cg/kernel'

host Executable: validatekeymaps (/root/Documents/cm12_1sources/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/validatekeymaps_intermediates/validatekeymaps)

host Executable: acp (/root/Documents/cm12_1sources/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/acp)

Yacc: aidl <= frameworks/base/tools/aidl/aidl_language_y.y

prebuilts/misc/linux-x86/bison/bison -d -o /root/Documents/cm12_1sources/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp frameworks/base/tools/aidl/aidl_language_y.y

/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory

build/core/binary.mk:538: recipe for target '/root/Documents/cm12_1sources/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp' failed

make: *** [/root/Documents/cm12_1sources/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Error 127

make: *** Waiting for unfinished jobs....

#### make failed to build some targets (04:31 (mm:ss)) ####
[Zenfone 5 Android Development] tank0412:
You should put sources at the root of the home directory.

In my case path to rom sources is:

/home/tank0412/*Folder-with-sources*

Time of building depends on power of your PC. (My PC has AMD FX-6300 processor which has 6 cores so in this case building time is ~2 hours.)
[Zenfone 5 Android Development] eragon21:
Same error.
[Zenfone 5 Android Development] tank0412:
Publish it again. I must look at new paths.
[Zenfone 5 Android Development] tank0412:
Yeah. Do not use root.
[Zenfone 5 Android Development] LuanHalaiko:
I can't send private messages so...:

yes i can test it
[Zenfone 5 Android Development] Edorewiel:
target Strip: libgiftranscode (/home/rha/android6/out/target/product/a500cg/obj/lib/libgiftranscode.so)
Symlink: /home/rha/android6/out/target/product/a500cg/system/bin/app_process -> app_process32
Export includes file: external/libvpx/libvpx.mk -- /home/rha/android6/out/target/product/a500cg/obj/STATIC_LIBRARIES/libvpx_intermediates/export_includes
make: *** No rule to make target 'external/libvpx/libvpx/vp8/common/x86/copy_sse2.asm', needed by '/home/rha/android6/out/target/product/a500cg/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx/vp8/common/x86/copy_sse2.o'. Durdu.
make: *** Bitmemiş işler için bekliyor....

#### make failed to build some targets (05:18 (mm:ss)) ####

Hmm İf fix this error build a rom
[Zenfone 5 Android Development] Edorewiel:
i get error 2 days

i use another libvpx folder s
[Zenfone 5 Android Development] tank0412:
I recommended you to build CM12.1 so....
[Zenfone 5 Android Development] Edorewiel:
i not download cm12.1 sources my internet speed 300kbps

Do you have information about this error ?
[Zenfone 5 Android Development] tank0412:
Of course. But you must not ignore my recomendation.

Anyway, you can download compressed android source.

Here:

https://mega.nz/#F!xd8y3LAA!iL_HwDBJKx8rX0YUS6vqrA

Size of archive with CM12.1 is 3.29 GB
[Zenfone 5 Android Development] Edorewiel:
thank you tank0412 i downloading sources
[Zenfone 5 Android Development] Edorewiel:
packages/apps/Camera2/src/com/android/camera/CameraActivity.java:80: error: cannot find symbol
import com.android.camera.app.DevicePluginImpl;
^
symbol: class DevicePluginImpl
location: package com.android.camera.app
packages/apps/Camera2/src/com/android/camera/CameraActivity.java:240: error: cannot find symbol
private DevicePluginImpl mDevicePlugin;
^
symbol: class DevicePluginImpl
location: class CameraActivity
packages/apps/Camera2/src/com/android/camera/CameraActivity.java:1531: error: cannot find symbol
mDevicePlugin = new DevicePluginImpl();
^
symbol: class DevicePluginImpl
location: class CameraActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors

i get same problem on cm12.1
[Zenfone 5 Android Development] tank0412:
Just delete Camera2 fodler from packages/apps/ + delete Camera2 trash from out/*blablabla/a500cg/obj/*bla_blaCamera2
[Zenfone 5 Android Development] Edorewiel:
same problem contiunes
[Zenfone 5 Android Development] tank0412:
Maybe you did something wrong. My method above always help me in this situation.

Try to make clean && make -j6

It will start full re-build. I hope that you really deleted Camera2 fodler and provided full log with error.
[Zenfone 5 Android Development] dgadelha:
Theorically it shouldn't as you deleted the sources.

Check if you really deleted it.
[Zenfone 5 Android Development] Edorewiel:
cp: `/home/rha/android5.1/out/target/product/a500cg/ota_temp/SYSTEM/bin/install-recovery.sh' durumlanamadı: Böyle bir dosya ya da dizin yok
build/core/Makefile:1047: recipe for target '/home/rha/android5.1/out/target/product/a500cg/system/bin/install-recovery.sh' failed
make: *** [/home/rha/android5.1/out/target/product/a500cg/system/bin/install-recovery.sh] Error 1

:(
[Zenfone 5 Android Development] dgadelha:
Can you please translate this error?
[Zenfone 5 Android Development] Edorewiel:
no translate this, i fix the error the next step flash :D
[Zenfone 5 Android Development] Edorewiel:
[MENTION=5875920]tank0412[/MENTION] i created rom but stay the starting apps screen.

My Logcat
[Zenfone 5 Android Development] tank0412:
I think that kernel is conflict with Selinux.

Try to change SElinux type in the ramdisk.
[Zenfone 5 Android Development] Edorewiel:
how to change ramdisk type ?
[Zenfone 5 Android Development] tank0412:
Try boot.img from this rom:

http://gadeco.com.br/cmdl/
[Zenfone 5 Android Development] Edorewiel:
I'm already using it
[Zenfone 5 Android Development] tank0412:
I have a solution. Use kernel by Tran Huu tin:

https://yadi.sk/d/ccE2jdOOhwmvN
[Zenfone 5 Android Development] Edorewiel:
Not fixed.
[Zenfone 5 Android Development] tank0412:
I am really puzzled because i have same problem and this kernel helped me.
[Zenfone 5 Android Development] quanganh2627:
[MENTION=7180974]Edorewiel[/MENTION], your troubles is not due by Selinux, as far as i see on your very short log here, but i guess u r missing one or several libs of media. Make sure you have 2 mirror of libxditk.... at /system/lib. I mean there's 4 files named libxditk.... at /system/lib.

---------- Post added at 08:23 AM ---------- Previous post was at 08:01 AM ----------

This error display when u have 2 projects provide one same name target, in ur case is libcgpt....has been built from libcgpt & libintel-updater. To fix , delete neither one of them, or make a trick, replace all words "error" by "warning" in build/core/base_rules.mk at line 132, 147.....

It's ffmpeg fault, not ours, resync your src to lastest or rename config_x86-atom.mk to config_atom.mk at external/ffmepg, follow your pic to get extract path

---------- Post added at 08:32 AM ---------- Previous post was at 08:23 AM ----------

Make that dir by yourself. It's will appear when u build kernel inline, but if dont, then "mkdir -p $OUT/obj/KERNEL_OBJ/usr" before you start "mka bacon", but recommend again u should building kernel inline for best results.
[Zenfone 5 Android Development] tank0412:
OK, but i had same logcat when i used permissive kernel on rom with enforcing SElinux.
[Zenfone 5 Android Development] dgadelha:
He meant that you gotta copy the files from /system/lib/ditlib_a500cg/*.so to /system/lib/

I had to do that too.

Thanks.
[Zenfone 5 Android Development] quanganh2627:
Yes, [MENTION=6292495]dgadelha[/MENTION] explain correct what i meaning. Tks u.
[Zenfone 5 Android Development] leonardohenrique10:
I'm getting this error when trying to build AOSP 5.0.2: https://s31.postimg.org/4tqyt91pn/Captura_de_tela_de_2016_07_07_20_17_15.png
[Zenfone 5 Android Development] argon9898:
Marshmellow compatibility....
[Zenfone 5 Android Development] tech_x:
help please

thanks for tutorial tank0412

i installed ubuntu 16.04 then switched to ubuntu 14.04 due to openjdk 7

downloaded compressed cm 12.1 and trying to build with your device and vendor sources but that is my first experience with compiling so i am noob

. build/envsetup.sh

lunch cm_a500cg-userdebug

I am taking that type errors at make -j6

after that, build failing

why i am failing
[HTC Oxygen] prlPT:
Hello!

I was wondering if there is a way to disable the low battery notification/warning that windows pops up when the battery reaches the very low level. I searched for some registry hack that allowed me to do this, but only found a way to do this in the Windows Mobile Pocket PC version.

I'm developing an application for Windows Mobile 5.0 and unfortunately the low battery notification is too intrusive, so I'd like to simply disable it (I warn the user of the battery level on my application).

Thanks in advance,

Paulo
[HTC Oxygen] kukingkong:
Just go to Today-Settings-Personal-Sound & Notification.

Select Notification tab, choose Low Battery from drop-down list, you can disable sound and/or warning message.
[HTC Oxygen] Deafstarr:
If the low battery warning option does not appear in the drop down list, you will need to edit the following registry entry first;

HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\

Open the String value with the name "Default" and add the value "Low Batt Warning".
[HTC Oxygen] chetters:
Deafstarr

Thanks! That worked for me.
[HTC Oxygen] mskip:
thanks for the post i have been wondering how to do this.
[HTC Oxygen] Eer:
How to change battery noification levels?

This also worked on my phone DX900 but I don't want to switch off the notification levels but change the levels.

Does anybody know how to change the 30% level to 5% and 10% level to 2%?

I did check Internet but can't find a registry change.

Thanks :)
[HTC Oxygen] zackob:
OK im new to this. I just got my 910 today. Can someone give me a walkthrough on how to turn this low battery beep off? Its amazingly annoying. Thanks
[HTC Oxygen] Eer:
Just found it somewere, can't remember where but it works :D

Customize 'Low Battery' alerts

HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408

Create a String value named "Default"

Set its value to "Low battery warning"

Now go to Start > Settings > Personal tab > Sounds & Notifications applet > Notifications tab, select "Low battery warning" in the "Select an event" drop-down list and you can customize it
[HTC Oxygen] zackob:
Ok i read that earlier, but where do i do that at, where do i edit that registry entry at? Thanks
[HTC Oxygen] eselle:
Facing the same problem! Anyone knows how to set this?
[HTC Oxygen] klwk2001:
Yes, I am using DX900 also & has this problem too. When I used LG KS-20, it warns first at 10% and then at 5%.
[HTC Oxygen] Voltron8Myhat:
I don't see a string called default. Only duration, options, and wave.

I created the default option and it worked fine. I'd really rather know how to disable the 40% warning and leave the 20% one though.
[HTC Oxygen] Eer:
Guys, I think we must be able to solve it our selves...

We have now three phones with six different levels:

Phone, Level 1, Level 2

Voltrons phone, 40%, 20%

DX900, 30%, 10%

LG KS-20, 10%, 5%

It must be a registry value or a value stored in a settings file.

What kind of value is most likely to be stored in the registry? DWORD? Value?

What kind of files has settings of the phone stored in?
[HTC Oxygen] jayson.toong@gmail.com:
low battery notification

how to turn off notification on low batt on samsung galaxy y s5360 its annoying
[XDA Assist] Kimrosa:
Can anyone give xposed framework for symphony v80.My processors is ARMv7.
[XDA Assist] Art Vanderlay:
Hi and welcome to XDA.

To find out if your device is compatible read through the xposed FAQ http://xdaforums.com/xposed/official-xposed-lollipop-t3030118

If your still having trouble then you can ask there or in General discussion Questions and Answers. Experts there may be able to help you.

Good luck :)
[XDA Assist] iqbalqazi:
Plz help me .. I have formatted the Operating System of my Ascend Mate 7 using TWRP
[XDA Assist] Art Vanderlay:
Hi

Thanks for using XDA Assist.

Try posting your query in Ascend Mate 7 Q&A, Help & Troubleshooting http://xdaforums.com/mate-7/help

Please be as descriptive as you can to make it easier for people to help.

Good luck :)
[Honor 7 General] medtun:
I think that the configurable physical button is a nice feature on Honor 7. you can launch any app you want.

At another hand there is a strange thing in Android : most of the time, you cannot close an application directly. You have to switch screen and then drop the icon's app out. Not very fast nor that practical in everyday's life ...

So my idea is to find and app killer that would instantly exit or kill the displayed app when i press on the button.

What do you think about this idea ?

Do you think that such app exists ?

Thanks.
[Honor 7 General] majkyke:
Hi, I tried the app Hold back to kill app, but it did not work, and I have found no way to do it. :(

Some brands have the opportunity right in the menu settings. :p
[Honor 7 General] Raven78uk:
Any news about that ?
[Honor 7 General] medtun:
Nope
[Honor 7 General] Ghostpiracy:
What about developer options - > don't keep activities? That should kill every app you exit.
[Honor 7 General] medtun:
the question is how to exit quickly. Most of the time there are no exit buttons in the apps.
[Honor 7 General] krisu253:
But.. You just have to press the home button?

Wysłane z mojego PLK-L01 przy użyciu Tapatalka
[Honor 7 General] medtun:
sure but then the app remains open, consumes RAM and battery.
[Honor 7 General] Sebster97:
Use Greenify and configure it so be launched if you hold the homebutton.

Instead of google you can lock your screen und kill all unused apps with one touch ;)

Greets

Sebster
[Honor 7 General] medtun:
looks interesting. I will try this.

Thank you.
[Honor 7 General] majkyke:
This feature works in Xposed example in YodaRom :D
[Honor 7 General] medtun:
Any other details please ? i'm interested.
[Honor 7 General] majkyke:
Yoda V4D Rom contains Xposed.

Then you need to download the module Gravity Box and settings buttons set long press back to kill the app :good:
[Honor 7 General] medtun:
finally, i understood your meaning. i tried it. but doesn't seem to work unfortunately : when i press on the circle or the tirangle, the open app desappears. But when i press on the square, i find the app still open :(
[Honor 7 General] medtun:
Unfortunately, till now i couldn't configure Greenify. It says i have to disable secure-keyguard.

I posted a new thread about it : http://xdaforums.com/honor-7/themes-apps/greenify-disabling-secure-keyguard-t3353079
[Galaxy S 4 Q&A, Help & Troubleshooting] kamran845:
I Have samsung galaxy s4 i9505. i have recently updated it using I9505XXUHOB7_I9505YXYHOB5_BTU firmware with Odin. My Wifi Wont Turn On. I Have Tried Wifi Fix Modems But I Cant Solved My Problem. Can Any One Help Me?? Thankx In Advance.
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
Did your phone come with btu firmware? If not, try flashing the stock rom that came with your phone. If it works with the original firmware, then you know it is a software issue.
[Galaxy S 4 Q&A, Help & Troubleshooting] kamran845:
Is It Possible That Phone Contain Wifi Adapter Of i9500 in i9505???
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
I don't know but I do know that the 9500 is based on an Exynos processor and the 9505 has a Qualcomm.
[Galaxy S 4 Q&A, Help & Troubleshooting] Joku1981:
Install this APP and add screenshots (IMEI not necessary atm).
[Galaxy S 4 Q&A, Help & Troubleshooting] BraianV:
I read on another forum that installing cm roms (based on aosp) the WiFi works
[Galaxy S 4 Q&A, Help & Troubleshooting] kamran845:
no option for attaching image file