yashsingh1/xdaforums huggingface dataset:
[Android] gendon:
its been 3 days syncing repo,... and then suddenly....

error: packfile /home/dhani19/cm11/.repo/projects/packages/apps/Trebuchet.git/objects/pack/pack-01d552a05ab6fc812f3429f0df398079a13c12d6.pack does not match index

warning: packfile /home/dhani19/cm11/.repo/projects/packages/apps/Trebuchet.git/objects/pack/pack-01d552a05ab6fc812f3429f0df398079a13c12d6.pack cannot be accessed

error: packfile /home/dhani19/cm11/.repo/projects/packages/apps/Trebuchet.git/objects/pack/pack-01d552a05ab6fc812f3429f0df398079a13c12d6.pack does not match index

warning: packfile /home/dhani19/cm11/.repo/projects/packages/apps/Trebuchet.git/objects/pack/pack-01d552a05ab6fc812f3429f0df398079a13c12d6.pack cannot be accessed

thats just a part of the error... they still currently running "receiving objects.."....

and then another sentence come out...another error...

any help??

should i let it continue running?

by the way, sometimes i stopped running "repo sync" when i dont have time, and restarting "repo sync" when i have a time.

is that could be the cause?

oh its been downloaded 26GB files.... is that normal?? how much more it will be?
[Android] nitin.chobhe:
These are warnings... Let it continue...

The size depends on ROM but it will be around 30-35 GBs
[Android] SlimShady's:
Guys I have this error:

In my vendor/lge/w7/w7-vendor-blobs.mk there is a line like this:

So it means that there is a rule to make that .. What's wrong with it?
[Android] KeTuRr74:
There is not the needed file, so this error appear.

Add the file from your phone to your vendor and try again.
[Android] SlimShady's:
What do you mean by my phone?

There isn't any lib like that in my phone..

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Scutariu:
EDIT
[Android] Jeik:
So...

Trying to build Omni 5.1 for my Alcatel Idol 3 5.5

Usually,taking device/qcom/common folder from CM build directory would do the trick,but it didnt.

Then,I tried the device/qcom/common folder from Omnis repositories,also a no-go.

Can anyone help me?
[Android] KeTuRr74:
In your phone in system/bin search the needed file. You should find it, if not try to use an up to date vendor.
[Android] SlimShady's:
Okay I found it. Where should I place it? Into proprietary/bin?

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Frostyagent:
Trying to compile AOSP for Galaxy S3 i9300, but unfortunately gets an error. I want your help guys please help me to get rid of this problem.

Header: out/target/product/i9300/obj/include/libsecmm/color_space_convertor.h

Header: out/target/product/i9300/obj/include/libsecmm/csc_fimc.h

Header: out/target/product/i9300/obj/include/libsecmm/mfc_errno.h

Header: out/target/product/i9300/obj/include/libsecmm/mfc_interface.h

Header: out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h

host C: liblog <= system/core/liblog/logd_write_kern.c

system/core/liblog/logd_write_kern.c:29:10: fatal error: 'android/set_abort_message.h' file not found

#include <android/set_abort_message.h>

^

1 error generated.

build/core/binary.mk:801: recipe for target 'out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/logd_write_kern.o' failed

make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/logd_write_kern.o] Error 1

#### make failed to build some targets (02:19 (mm:ss)) ####

The file exists in the location but it always gives me this error
[Android] KeTuRr74:
Yes
[Android] Scutariu:
Hello, can somebody help me regarding this problem ? :-s

http://hastebin.com/vumenumuwu.rb

I'm trying to build EuphoriaOS 5.1.1
[Android] Frostyagent:
I think you have missing the file libmediaplayerservice.so, find that file and place it under /home/chris/EOS/out/target/product/idol347/obj/lib/ and give it a try
[Android] Scutariu:
I don't have that file, nowhere..:-s

Now, I'm thinking to switch frameworks from EuphoriaOS with CyanogenMod ones :-s
[Android] SlimShady's:
It's no-sense because every ROM has its own framework package. If you switch it to CyanogenMod one, then just build a CM[emoji14]

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Scutariu:
Ahaam..so, switching back??
[Android] Jeik:
Take this:

https://drive.google.com/file/d/0ByAb4dWX-WLtNFUzTC1wV2w3RmM/view?usp=sharing

and place it inside out/target/product/idol347/obj/lib
[Android] SlimShady's:
New error :/

In my "kernel/lge/msm8226/include/linux/" there is that msm_mdp.h but the build cannot find it.

What's the problem?
[Android] Jeik:
mdp_version.cpp has a faulty line.

Look on line 30,there should be something like "include msm_mdp.h".

Remove that line,save and try again.
[Android] SlimShady's:
Now the same happens with copybit_c2d.cpp

Should I also delete this one?
[Android] Jeik:
Yep
[Android] SlimShady's:
Now I'm facing some error of undeclared identifier...

http://hastebin.com/hofidanobo.vhdl

Do I need some specific repos? Building AOSP 6.0.1 ..
[Android] Jeik:
Well...

I dont know about those errors...
[Android] SlimShady's:
Ops, just saw I hadn't /hardware/audio directory (Wtf) and after I added it now it is looking also for the same files as before..

http://hastebin.com/bahisuzebo.vhdl

Sorry for all these question man, thank you :)
[Android] Jeik:
Delete the two troublesome lines from those two files
[Android] KeTuRr74:
Change your kernel. Your missing this 2 files in your kernel tree so it wont build.
[Android] SlimShady's:
I'm not missing this 2 files because they are in the kernel source. They are in "kernel/lge/msm8226/include/sound" (As for voice_params.h) and in "kernel/lge/msm8226/include/linux" (As for msm_audio.h) And there is no other Kernel Tree.
[Android] Scutariu:
That #include, is a file-location reference..make sure the specified file"msm_mdp.h" is in that specific location
[Android] SlimShady's:
Where should I look for this location? It's written somewhere?

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Scutariu:
hardware/qcom/display/msm8226/libqdutils/mdp_version.cpp:30:10: fatal error: 'linux/msm_mdp.h' file not found
#include <linux/msm_mdp.h>

Go to hardware/qcom/display/msm8226/libqdutils/mdp_version.cpp:30:10, and somewhere, in the beggining you should have an #include <linux/msm_mdp.h>

from that line, the <linux/msm_mdp.h>..."linux" is a folder, and in that folder, you should have that file "msm_mdp.h", if you don't have, do a search in your build directory, you should find it somewhere, and copy it to that linux folder

Hope you understood :))
[Android] Adromir:
If a Rom compiles without an Error, but just doesnt boot (stuck at Vendor Logo.. Either not going ahead or constant reboot), how can I identify what is going wrong?
[Android] neonkat:
get a logcat for bootloop and read to check what's creating the issue.
[Android] kjinx01:
Is thr any command for picking cherrits.. Like repopick ********???
[Android] arpit_deshpande:
I wanted to make an eng build. So I used the command

breakfast wt88047 (device for which im building) n then mka bacon-eng

i get this. :D http://pastebin.com/F1tWP17E

PS-im a able to make a normal build, but it bootloops, n while taking a logcat, it says "waiting for device"

Am I doing something wrong here? :D
[Android] Jeik:
Dear gawd...

Which rom are you building?
[Android] arpit_deshpande:
Crdroid
[Android] jgcaap:
Anyone here successfull to put f2fs on system partition? Every time I flash changes back to ext4 and I cannot find where is that on source.
[Android] SlimShady's:
There are milions of linux folders...Should it be under /hardware/qcom/display/msm8226/libqdutils/?
[Android] Jeik:
This should be right:

. build/envsetup.sh

lunch "your device codename"-eng

brunch " your device codename" or mka bacon
[Android] Scutariu:
Yes, try to search there :-s
[Android] SlimShady's:
If it is not there, I must create /linux folder and add the file, right?

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] akhilnarang:
breakfast wt88047 eng or lunch crdroid_wt88047-eng && mka bacon

Or simply

brucnh wt88047 eng
[Android] sh A ne:
Okay I have succeeded in making a ROM and flashing it but when the boot logo appears in the top corner it says fast boot init which means that it booted in fastboot mode so I continued the boot process then it says device tree not found ,anybody can help
[Android] Kapiljhajhria:
hey were you able to solve this error? getting same error.
[Android] rakesh.xda:
Failed to build asus zenfone 5 rom

Hey i downoaded the device tree by tank from git, unzipped it and pasted it in the device folder of the aosp source dounloaded, can anyone tell me how and where to get vendor tree for the same?
[Android] SlimShady's:
Anyone knows how to fix this? D:
[Android] Arvind7352:
(If not solved..)

Yes, at the directory you mentioned
[Android] Arvind7352:
Please try to mention your device name and/or Codename so that people could help you...

Searching Google will benefit you... [emoji4]

---------- Post added at 11:21 PM ---------- Previous post was at 11:17 PM ----------

[MENTION=4048340]Kapiljhajhria[/MENTION]

Try this

mka update-api

If completed successfully, then you can continue your build process
[Android] Frostyagent:
No one here? :(

Trying to compile AOSP for Galaxy S3 i9300, but unfortunately gets an error. I want your help guys please help me to get rid of this problem.

Header: out/target/product/i9300/obj/include/libsecmm/color_space_convertor.h

Header: out/target/product/i9300/obj/include/libsecmm/csc_fimc.h

Header: out/target/product/i9300/obj/include/libsecmm/mfc_errno.h

Header: out/target/product/i9300/obj/include/libsecmm/mfc_interface.h

Header: out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h

host C: liblog <= system/core/liblog/logd_write_kern.c

system/core/liblog/logd_write_kern.c:29:10: fatal error: 'android/set_abort_message.h' file not found

#include <android/set_abort_message.h>

^

1 error generated.

build/core/binary.mk:801: recipe for target 'out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/logd_write_kern.o' failed

make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/logd_write_kern.o] Error 1

#### make failed to build some targets (02:19 (mm:ss)) ####

The file exists in the location but it always gives me this error
[Android] KeTuRr74:
Sources for device tree and system/core ?
[Android] Frostyagent:
https://github.com/AICP/device_samsung_i9300 device tree

and i am confused about system/core. it is a folder in source code
[Android] SlimShady's:
Yes. It is in /home/your-name/project-name/system/core...

I had similar errors but with other files.. I fixed it by downloading caf-repos instead of non-caf.

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Frostyagent:
Can you guide me how to download caf-repos
[Android] rakesh.xda:
Need help to create the device tree for asus zenfone 5

Hey i own a zenfone 5 from asus, i want to develop android m for this device for learning purpose. for the i need device tree, and vendor tree. can someone tell me how can i create them from scratch, also can i use the kernel of lollipop in marshmellow ?

Thanks in advance :)

---------- Post added at 03:52 AM ---------- Previous post was at 03:49 AM ----------

I am using asus zenfone 5, i used the device tree for lollipop, can u tell me if it is possible to create the device tree and vendor tree from scratch.?
[Android] Arvind7352:
Asus Vendor

https://github.com/TheMuppets/proprietary_vendor_asus

Generally you will get all vendor files for all devices from 'TheMuppets' at GitHub

There are a lot of variants of ZenFone 5 (AFAIK) so search for it according to your variant (The Device Tree)
[Android] rakesh.xda:
I wasnt able to find the vendor there, only the most popular versions are listed there, my device is zenfone 5 a501cg, t00f and i think the code name of the processor is clovertrail,
[Android] Arvind7352:
https://github.com/quanganh2627/android_vendor_asus_a500cg

https://github.com/tank0412/aosp_device_asus_a500cg

See this

A suggestion, please try to search the source files yourself to get much more accurate ones

The Device source can be used to build lollipop AOSP, still you can search to get more good ones...

Best of Luck, Happy Compiling [emoji2]

EDIT:- looks like you already have the device tree provided by tank0412, use the above vendor tree then, you can use others too...
[Android] KeTuRr74:
Try to use Haxynox sources as your building AOSP and AICP is based on CM.
[Android] Frostyagent:
Ok man thanks for it, I will give it a try tonight. I successfully compiled D802 AOSP lollipop using CM tree, well is there is any method on how to make a tree compatible with AOSP?
[Android] rakesh.xda:
Thanks , Can i simply download them as zip and paste them in the required directory?? or do i need to use git sync only??
[Android] neonkat:
yes you can.
[Android] rakesh.xda:
build/core/base_rules.mk:158: *** : unhandled install path "HOST_OUT_EXECUTABLES for pack_intel". Stop.

** Don't have a product spec for: 'aosp_a500cg'

** Do you have the right repo manifest?

I am getting the above error. i used the device tree from tank and the vendor files from the above link.

further i downloaded the zip in the device folder and renamed it as a500cg in since the path was this mentioned in various files. where am i going wrong??
[Android] Tanuj97:
while launching the build i get this :confused:

I am building dirty unicorns 5.1

build/core/cleanbuild.mk:228: *** both HOST_OUT and PRODUCT_OUT should be set at this point.. Stop.

Any help [MENTION=698346]teemo[/MENTION] :confused:?
[Android] Arvind7352:
Rename full_a500cg.mk to aosp_a500cg.mk

And change the same inside this file
[Android] SlimShady's:
Or maybe he is just missing aosp_a500cg.mk in AndroidProducts.mk ..

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Arvind7352:
Both files are there in the device tree

Aosp make file is called in AndroidProducts

And full_a500cg.mk is called in the aosp_a500cg.mk file
[Android] SlimShady's:
Oh, didn't see the device tree sorry[emoji14]

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] hdorius:
Any help with this error? http://pastebin.com/jXmdkmmv

Libcamera error 1,is it kernel tree error?
[Android] KeTuRr74:
Try to change your toolchain.
[Android] Arvind7352:
[MENTION=7254916]rakesh.xda[/MENTION]

Try downloading necessary files which are called by your device tree

For Example, the CM Vendor
[Android] Frostyagent:
Tried with haxynox sources, now getting this

hardware/samsung/ril/libril/ril.cpp:4293:17: warning: unused parameter 'param' [-Wunused-parameter]

eventLoop(void *param) {

^

hardware/samsung/ril/libril/ril.cpp: In function 'void android::RIL_register(const RIL_RadioFunctions*)':

hardware/samsung/ril/libril/ril.cpp:4448:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

s_ril_param_socket = {

^

hardware/samsung/ril/libril/ril.cpp:4448:24: warning: missing initializer for member 'SocketListenParam::type' [-Wmissing-field-initializers]

hardware/samsung/ril/libril/ril.cpp: In function 'void android::RIL_register_socket(RIL_RadioFunctions* (*)(const RIL_Env*, int, char**), RIL_SOCKET_TYPE, int, char**)':

hardware/samsung/ril/libril/ril.cpp:4591:15: warning: enumeration value 'RIL_TELEPHONY_SOCKET' not handled in switch [-Wswitch]

switch(socketType) {

^

hardware/samsung/ril/libril/ril.cpp: At global scope:

hardware/samsung/ril/libril/ril.cpp:4845:63: warning: unused parameter 'socket_id' [-Wunused-parameter]

processRadioState(RIL_RadioState newRadioState, RIL_SOCKET_ID socket_id) {

^

hardware/samsung/ril/libril/ril.cpp: In function 'const char* android::requestToString(int)':

hardware/samsung/ril/libril/ril.cpp:5148:14: error: 'RIL_REQUEST_DIAL_EMERGENCY' was not declared in this scope

case RIL_REQUEST_DIAL_EMERGENCY: return "DIAL";

^

build/core/binary.mk:706: recipe for target 'out/target/product/i9300/obj/SHARED_LIBRARIES/libril_intermediates/ril.o' failed

make: *** [out/target/product/i9300/obj/SHARED_LIBRARIES/libril_intermediates/ril.o] Error 1

#### make failed to build some targets (15:04 (mm:ss)) ####
[Android] sh A ne:
Any help please ?can't seem to find this issue anywhere
[Android] rakesh.xda:
any help how can i find that? it requires some files related to intel which were supposed to be in device/intel, but i checked there is only one file in that folder, i.e common/android.mk, kind of stucked on how and where to find the required file....

can i use lollipop's device tree for marshmallow??
[Android] Arvind7352:
You just start the build

If something wrong happens, fix it...

Likely it will be due to missing files (60-70% of the cases)... Google will help you out

If the build completes, then you will have a fixed device tree..
[Android] rakesh.xda:
thanks, i am trying it out. is there a more detailed information on the device trees? and vendor tree??

also can i hard brick my device due to wrong build config??
[Android] KeTuRr74:
Use all Haxynox sources for hardware, vendor , device tree and kernel tree.
[Android] Arvind7352:
By building any ROM, you should know that these things may happen to your phone. (In which ways it gets Hard Bricked)

I'm not Discouraging you in any manner, but currently I don't have adequate knowledge about Intel Powered devices. According to me, its not possible since you are using PREBUILT kernel which may ( <-- very less chances) bring up a soft brick (solvable by flashing stock ROM).

Let other Devs answer this question to you. Make Precautionary ways such as backups to prevent soft bricks. That will help you
[Android] hahagu:
Guys? Can I get a detailed instructions for building Cyanogenmod for unsupported device from scratch anywhere?
[Android] nitin.chobhe:
This thread has all the needed information :p
[Android] neonkat:
this
[Android] Jeik:
Hey guys.

I am trying to build AOSP 5.1 for my device(Alcatel Idol 3 5.5).

I looked at the AOSP device repo for Yu Yureka(since the mentioned two phones are most similar),and I renamed the cm.mk,edited it to match the aosp_tomato.mk(rename cm.mk to aosp_idol3.mk and change the lines)

I also edited the vendorsetup.sh in the device folder from "add_lunch_combo cm_idol3-eng" to "add_lunch_combo aosp_idol3-eng",and I still am getting this error:

Did I miss anything? o.O
[Android] SlimShady's:
Added it in AndroidProducts.mk? :)

Anyone has this problem?

.

I have it into Path. I've added it and also I set up it into envsetup.sh and it didn't work, then in BoardConfig.mk but still nothing :((

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] rakesh.xda:
can i use the older kernel for new android?? like lollipop kernel for marshmallow ??
[Android] akhilnarang:
Set the full path to TC in your PATH

example

export PATH=$PWD/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:$PATH
[Android] hahagu:
Thats the first thing I saw when I searched for it, but then I couldn't really understand anything on there, so... yeah

Sent from my E300K, jaltektt - CM 12.1
[Android] Frostyagent:
Yes, tried with all sources, but errors keeps showing
[Android] Jeik:
http://hastebin.com/ebicotanar.md

.-_____-.

EDIT

Fixed it,new error:

http://hastebin.com/tisigaxiqa.pl

I am using the device/qcom/common and /sepolicy,hardware/qcom/display-caf,media-caf and audio-caf from CyanogenMod.

Should I be using something else for AOSP? I also tried switching the media folder with the msm8916 caf folder
[Android] SlimShady's:
Should I change PWD with /home/xxx/dir?

EDIT: Nevermind, fixed it. Thanks :)

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] Jeik:
In the end,I am stuck at this error:

Full log:

http://hastebin.com/wemeqixeze.hs
[Android] JBCDroid:
someone could help me with this error from already thank

ERROR: /media/jbcdroid/Backup/CyanPop/vendor/cmsdk/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java:311: The method isSelfManaged() is undefined for the type SunlightEnhancement

full log: http://hastebin.com/iyotixifox.vhdl
[Android] Arvind7352:
I guess this line is present in your idol3.mk file

PRODUCT_BOOT_JARS += \

qcmediaplayer

Add the following lines to your [YourDeviceName].mk (idol3.mk in your case)

PRODUCT_PACKAGES += \

qcmediaplayer

Add these lines above the PRODUCT_BOOT_JARS line,

Your File should contain these lines as shown below

PRODUCT_PACKAGES += \
qcmediaplayer

PRODUCT_BOOT_JARS += \
qcmediaplayer

Continue your build now
[Android] SlimShady's:
I had the exact problem yesterday.

Look at your device_xx.mk file.

You should find something like this or so...:

# OMX
PRODUCT_PACKAGES += \
libc2dcolorconvert \
libdashplayer \
libdivxdrmdecrypt \
libextmedia_jni \
libOmxAacEnc \
libOmxAmrEnc \
libOmxCore \
[B]libqcmediaplayer[/B]

Personally, I've deleted every qcmediaplayer lines related, because as I saw into another repo of my device, it wasn't needed. Then it successfully compiled AOSP.

:)

I had these lines too, but even if I have

PRODUCT_PACKAGES += \
qcmediaplayer
PRODUCT_BOOT_JARS += \
qcmediaplayer

it was still giving error...Don't know if he has them or not :P
[Android] Jeik:
I have both lines already inside,so I guess I actually need to remove both of them?
[Android] SlimShady's:
I personally resolved this way :)
[Android] Jeik:
Yeah,deleted them both.

There is no AOSP for my device,so I am trying,since the dev of the source is making all the blobs open-source,so it theoretically shouldnt be too hard to make things work on AOSP.

Also,The Idol 3 has an almost intact AOSP 5.0 as a stock rom(except for custom icons and JBL,and maybe RIL which they professionally messed up =...=) so I am now making an -eng build(for ADB logcat) if it refuses to boot.
[Android] hahagu:
So... Am I gonna get help on building cm for unsupported device??
[Android] neonkat:
you need to build device tree first.i already gave you a link which guides to build device tree,idk if there is any other site which explains building device tree in that much of detail.

if you are thinking like you will just make a few click,replace a few files and get a working device tree,then this place is not for you.
[Android] hahagu:
I already read, and tried that, but its too much confusing.

That's also why I actually came across this thread.

And no, I don't think this will be easy as a few clicks, but I can't get a slightest idea of making the device tree!

I think I need a 'walk-through' kind of a guide rather than 'u-know-what-I'm-saying' guide.

I am able to compile models with ready-made device tree, since there are so many instructions on doing so, but this; It's too complicated...

And no, I am not going to just give up! I am going to make a ROM for my device!

Also, the guide HERE is not easy for me to understand, and it doesn't explain completely either; and I can't seem to find any other guides that explains this better for me.

I am trying to build a ROM for E300K, It has the same specs as I9500, except the audio drivers, Network ( 2G, 3G, 4G, LTE, Max network speed & etc ), and DMB support.

So do I modify the device tree for I9500 and see if that helps?

And if so, what are the specific instructions, and where can I find them?

Thanks in advance :D