yashsingh1/xdaforums huggingface dataset:
[Android] DarkFrenzy:
i m now getting a new error plz help me

arch/arm/mach-msm/board-8930-display.c: In function 'mipi_dsi2lvds_cdp_panel_power':
arch/arm/mach-msm/board-8930-display.c:577:3: error: implicit declaration of function 'msm_xo_get' [-Werror=implicit-function-declaration]
arch/arm/mach-msm/board-8930-display.c:577:26: error: 'MSM_XO_TCXO_A1' undeclared (first use in this function)
arch/arm/mach-msm/board-8930-display.c:577:26: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/board-8930-display.c:663:3: error: implicit declaration of function 'msm_xo_mode_vote' [-Werror=implicit-function-declaration]
arch/arm/mach-msm/board-8930-display.c:663:31: error: 'MSM_XO_MODE_ON' undeclared (first use in this function)
arch/arm/mach-msm/board-8930-display.c:671:31: error: 'MSM_XO_MODE_OFF' undeclared (first use in this function)
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-msm/board-8930-display.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
[Android] SlimShady's:
No he didn't[emoji14]

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] neonkat:
can you upload this file "board-8930-display.c" or copy all lines and paste in pastebiin or hastebin?
[Android] DarkFrenzy:
display attached.

EDIT: i get some warning always

Warning 1
=================
CC arch/arm/mm/init.o
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
CC arch/arm/kernel/sched_clock.o

warning 2
========================
CC arch/arm/mach-msm/peripheral-loader.o
TIMEC kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
(Maybe you should just omit the defined()?)
CC arch/arm/mach-msm/scm-pas.o
[Android] hahagu:
So... Just saying, but can I get help with this?

Sent from my E300K, jaltektt - CM 12.1
[Android] neonkat:
i just told you what i read on different pages,you can check this.
[Android] Jeik:
go to Carbon/Cyanogen github and look for the device_qcom_sepolicy
[Android] SlimShady's:
Already did it.. found nothing really interesting for my error...

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] transi1:
i have CM13 bootloop on "Android is starting" "Starting Apps".

adb locgat don`t work.

maybe someone knows how enable adb in clear installed CM13 or other suggestions?

ps BoardConfigCommon.mk

+ADDITIONAL_DEFAULT_PROPERTIES += \

+ ro.secure=0 \

+ ro.allow.mock.location=1 \

+ ro.debuggable=1
[Android] hahagu:
No replies yet...
[Android] Jeik:
Make an eng build,not userdebug

And could anyone help me?

I made a cm13 build,and RIL and audio dont work.

Here is the radio log

http://hastebin.com/ecixanomup.vbs
[Android] fgl27:
you are missing a sepolicy type that is very simple and clear on the error, you can create the missing type or remove the error line, removing there is the cost of sepolicy block that particular service when device is running.

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

do you have M blobs for that device? or a device that is compatible, I have already used RIL files from another device with success to solve that particular problem, the audio blob may work too from another device but they are more related to kernel and changes there is hard to make, the RIL are to related to kernel but not as much.

you can just flash the via zip or manually via root file manager or via adb, don't is need to make a new ROM, this way is easy to test.

But there is the chance that the CM hall for audio and RIL are outdated or wrong config for that device that is hard to make a fix...
[Android] Jeik:
Our device doesn't have Marshmallow yet(latest possible blobs are in the build)

I tried taking*libril-qc-qmi-1.so from Yu Yurekas CM13,and still no signal.

Any other msm8916/8939 device that you might know of?
[Android] fgl27:
check this vendor is the official for CM it is full of MM blobs, I point this vendor just in case you don't know of it:

https://github.com/TheMuppets

and regards msm8916/8939 try to search like this...

https://github.com/CyanogenMod?utf8=✓&query=msm8916

https://github.com/CyanogenMod?utf8=✓&query=8939

I see moto, smartfren, oppo and CM msm8916/8939 kernel tree

then you need to find it device that uses those kernel by just checking dependency file is boring to find device tree, but it may payout. :good:
[Android] Jeik:
Do you maybe know which specific files(except for libril-qc-qmi-1.so) are in charge for RIL?

I know I am asking for too much,but I only need RIL fixed,,and the rom is useable...

EDIT

I tried taking libril-qc-qmi-1.so and libril-qcril-hook-oem.so from tomato and smartfren,but without success...
[Android] fgl27:
there is some different for it device. check "proprietary-files.txt" (depend on the device this file may have a different name but is a TXT) they generally have #radio and or #ril and below are the blobs for that, this files is a reference to the vendor folder, you can check commit on the vendor or device tree too some time there is a RIL or Radio update commit.
[Android] hahagu:
OK, I think the thread you gave me is inactive... Another thread perhaps?

Sent from my E300K, jaltektt - CM 12.1
[Android] Carlyle_f:
Can I get some assistance with this logcat please

http://www.hastebin.com/iqumeguzof.vhdl
[Android] SlimShady's:
Can anyone explain me what I'm doing wrong?

I've got that error "/libxx/export_intermediates" etc.. I created that file, but now it is giving this one instead:
[Android] fgl27:
That type already exist on CM here:

https://github.com/CyanogenMod/android_external_sepolicy/blob/cm-12.1/file.te#L169

When building on CM or CM base source that error don't happens your source is probably messed up.

What you are trying to do? did you clone that sepolicy folder or it comes from the repo?

grep the source for "proc_dirty_ratio" to see what you finds... cross check your manifest with CM one to see what is different and maybe wrong.
[Android] SlimShady's:
I just saw that my external/sepolicy/file.te is missing that line. Maybe adding it will fix this. I'll try tomorrow, thank you man. :)

Oh, I'm building SlimSaber 6.0.1

;)

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] limjh16:
Thanks to [MENTION=5044214]nitin.chobhe[/MENTION] and [MENTION=5305791]KeTuRr74[/MENTION] who helped me (whoever else helped and I missed tell me) but here

I don't know if this is counted as spam, if it is any moderator feel free to delete, just wanted to thank both of them who helped me.
[Android] nitin.chobhe:
[MENTION=7018227]limjh16[/MENTION] Thanks Buddy and happy that I could help you!

One thing I noticed that when you learn something from someone, you have to return it back. And this happens consistently in android community. This I'd what keeps XDA alive :thumbup::thumbup::thumbup:
[Android] fgl27:
Your start the line you use on the terminal I never use like that. CM wiki may make some things complicated.

I make recovery like this.

. build/envsetup.sh

make clean

lunch cm_device-userdebug

mka recoveryimage

device = your device name.

you may use -eng so the ROM or recovery have full adb support so you can debug better.

and you are not building a kernel the log point to a prebuild kernel, or you are using prebuild or you did not config that kernel part right, for recovery and rom make you need to build a kernel if don't have a prebuild one but a prebuild one if not comes from CM may not work.

you can try to make just the kernel by

mka bootimage

kernel and recovery take about 20 to 40 min to make a ROM 5 to 10 h, so is easy to start testing if you can make a recovery or a bootimage, both are produce when you build a ROM, I believed that is way some wiki tell you to do that, if those build ok they will not break the ROM build.

check those and search more...
[Android] pug1:
Some excellent advice here thanks... Will try again later

Again thanks dude
[Android] Men_in_black007:
Do this

$ cd build

$ git revert 68d7c24c327db882d7f56ce13efa6605db1d5eb1

$ git revert f467978d39574951d24dae4b7f1daa1a44307f25

and you are good to go

Regards,

Sanyam Jain aka MiB007
[Android] SlimShady's:
Seems that now that is fixed but then this one came:

When I created the libbatteryservice/export_includes it then asked me for "libbatteryservice.a". I took it from the out/obj/static_libraries/libbatteryservice of another already compiled ROM (SlimROM for my device). Then I added this Android.mk (http://hastebin.com/suquxuxobu.rb) into that folder and now it gives me that error above..
[Android] KeTuRr74:
You are missing a repo but dont know wich one.
[Android] SlimShady's:
Yeah probably I'm missing a repo, but I don't know which one too.

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] hahagu:
OK...

Do I need all the directories set-up before I compile the recovery?

ex) kernel source in /kernel/[vendor]/[codename]

vendor in ... etc

and if I don't have them, can I still compile the recovery with only the right settings on BuildConfig.mk?
[Android] fgl27:
Fix a source is really hard like I told you that source is messed up, that problem is because the header is not be load, because the source is not config to load that header for that device, those things are really hard to config because there very little help about it, in most of those case I just start grep for the missing thing and try to understand how the header is be load on a device that works...

for that one libbatteryservice for ex. the header on my source export like this:

frameworks/native/services/batteryservice/Android.mk -- /home/user/source_folder/out/target/product/device/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/export_includes

I don't know way that is not be load to your device but is because of a config or a missing folder.

You can cross check the repo manifest with the repo manifest of a ROM that can compile for that device and cross check the folders on that working ROM with the folder that are not loading the headers check all the .mk files, in that case you start by checking on:

frameworks/native/services/

is difficult and boring work but if really wanna to build on that source you must, remember to save write every change you are making to the source when you finish fixing it you can update the source via gerrit or pull request via github. And in my pass problem like that one after I fix one lib I get another lib or framework missing and I pass days fixing until I give it up is too much work.

Vendor no, but you can't have a script calling the vendor on the device tree, if you don't have one.

Kernel yes and no...

if you have a prebuild kernel, dt.img and .mk script to build a boot image from that prebuild kernel and dt no.

If you don't have a prebuild one yes, so you must build one because recovery is just like a boot.img inside there is dt.img and kernel maybe some other kernel related files depend on the device but most is that and of course all the file of a recovery.
[Android] gendon:
thank you for this awesome guide.

i'm trying to build cm11 for LG G Pro 2 (D838). as we know that D838 is not supported by CM, so i decided to try to make it/ port it. i dont know which would be right.

but, i see that you (@jackeagle) already made a device tree for D838 at github, with kernel and vendor also.

my question is, is that enough for making CM for D838 ?

or should i add additional source such as lge_qcom-common ??

anyway, i dont know the function for the qcom_common source, i was just lots some reading at G3 forum, which they were included at their CM build.
[Android] neonkat:
you need device tree for D838..no need for "common tree" source.

the common tree contains the data which is common for all the models of the Lg g pro 2.

if there is specific/seperate tree for your model,just use that.
[Android] gendon:
thank you for your reply.

so... i will need just device tree, kernel and vendor.

another question, can i mix like this

<manifest>

<project path="device/lge/d838" name="Jackeagle/android_device_lge_d838" remote="github" revision="cm-11.0" />

<project path="kernel/lge/gpro2" name="Jackeagle/android_kernel_lge_d838" remote="github" revision="kk4.4" />

<project path="vendor/lge" name="Jackeagle/proprietary_vendor_lge_d838" remote="github" revision="cm-11.0" />

</manifest>

where the kernel, was made for/from kk4.4 by jackeagle.

is it oke for me to mix it like that at my local_manifest.xml ?

i thought it was no problem, cause it came from the same KITKAT base.

CMIIW
[Android] neonkat:
if that kernel source is for pure aosp based roms like cm,then it should work.if it is for manufacturers roms like touchwiz bla bla,then it might not work.
[Android] gendon:
any way for me to know, this kernel was build for which rom?? beside asking [MENTION=5216756]jackeagle[/MENTION] directly.
[Android] SlimShady's:
So. I compared Android.mk from SlimRoms (The one that builds) with Android.mk of SlimSaber (They take it from OmniROM as well) and they are the same. Should I copy the whole /services from SlimRom to SlimSaber? And then, in my Android.mk of /services/batteryservice/ there isn't any line like this one:

Would you please post your Android.mk of /services/batteryservice? Thank you :)

EDIT: Nevermind. I managed to get that fixed but LOTS of error came.. I swear they are a lot and I'm too lazy to fix them. Also it is missing a lot of libs because it said at least 6 times to create export_includes file.. It means that it will also ask for .lib .. Anyway thank you man :))

Inviato dal mio LG-D405n utilizzando Tapatalk
[Android] neonkat:
i just checked the branch on his github and i think it should work.
[Android] gendon:
thank you very much bro...

i'll give it a try to build this....

currently syncing repo...

thx again.
[Android] hahagu:
Can I just extract zImage from the recovery.img or boot.img? And if thats the case, where do I put the zImage file?
[Android] gendon:
according to page one, we may delete all Darwin-x86 line in manifest.xml

because it was for Mac system.

"As I mentioned above the command for removing project, you can use that command to remove the unwanted stuff from default.xml

As majority of the people here are using Linux. As dawin tool chains are used by MAC OS, So darwin tool chains and darwin packages are useless for linux users. You can remove the same by using remove project command."

i didnt see any default.xml on my .repo folder. i only have local_manifest.xml and manifest.xml

which one has the meaning "default.xml" ?

i did write remove command on my manifest.xml

but it gives error result.

may i just delete the folder linked to all darwin connected and remove the command on manifest contain "darwin" instead??

sorry if my question are little bit confusing... :silly:
[Android] Arvind7352:
You should not change anything in manifests.XML and default.XML !!

You can remove Darwin projects by adding remove tags in your local manifest

Manifest.XML is in .repo folder

And default.XML is in .repo/manifests folder

You can refer manifest.XML (in .repo folder) to look for projects going to get synced and find the "Darwin" ones
[Android] gendon:
oh damn it,... i already did that...

removing all text containing darwin at manifest.xml...

and its currently syncing... :eek:

what should i do ??
[Android] Arvind7352:
Please try to FOLLOW EACH AND EVERY LINE OF THIS GUIDE ...

Doing this will affect the file in the main repo itself, and that's why the use of local manifests becomes necessary

I guess it will ask you to commit the changes made in default.XML to the main repo, so I assume it hasn't yet got synced

Cancel the Sync, Delete the Folder and Re-Do the instructions "properly"

Re-Initialize the ROM Repository and follow further Instructions, take your time in understanding it :)
[Android] gendon:
Okay. Sorry for my mistakes.

And thank you for your guide.
[Android] Arvind7352:
Mistakes happen. Try to avoid it since this mistake can affect other users in syncing the Repo...

You're welcome [emoji4]
[Android] Jeik:
Can anyone help me with this?

Okay,fixed this one...

Now a new error is occuring : http://hastebin.com/tasoteteri.md
[Android] nitin.chobhe:
Post full log
[Android] pug1:
I have a log I am trying to post but its 750 kB and for pastebin/hastebin and XDA is too big. Can't save it as a docx as its unreadable.

Can you help plz pal
[Android] nitin.chobhe:
paste as much as you can (from bottom) on hastebin
[Android] hdorius:
Hi,How to fix adb offline?...I'm build the ROM without error,but the phone can't booted and the result of adb devices is serialnumber offline, I can't take any logcat of it,just stuck at waiting devices
[Android] Jeik:
You should make a "-eng" build,not "-userdebug".

You will be able to use adb logcat then.

Also,can anyone help me?

I am using the identical files as before,and they worked then,but now the rcovery wont unpack...

http://hastebin.com/ayozemuked.coffee

Okay,silly me,renamed boot.img into recovery.img

So...

68 conflicts with my base rom(stock 5.0,pretty much AOSP)
[Android] Scutariu:
Hello, I'm having a problem that I just can't get rid of

Export includes file: external/dhcpcd/Android.mk -- /home/chris/EOS/out/target/product/idol347/obj/EXECUTABLES/showlease_intermediates/export_includes
Notice file: external/dhcpcd/NOTICE -- /home/chris/EOS/out/target/product/idol347/obj/NOTICE_FILES/src//system/bin/showlease.txt
Symlink: /home/chris/EOS/out/target/product/idol347/system/bin/su -> /system/xbin/su
make: *** No rule to make target `/home/chris/EOS/out/target/product/idol347/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by `/home/chris/EOS/out/target/product/idol347/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: frameworks/native/services/surfaceflinger/Android.mk -- /home/chris/EOS/out/target/product/idol347/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/export_includes
make: Leaving directory `/home/chris/EOS'

My roomservice.xml is ok, I tried to change the toolchain, in hardware/qcom/display I don't have msm8916, neither in display-caf..I don't know..

EDIT: I'm trying to build Euphoria-OS-Legacy
[Android] pug1:
Hi all

I have progressed from my last errors with the help of this thread, was wondering if anyone can help again.

Here is the terminal output http://hastebin.com/hubafivute.vhdl

The problem is the recovery doesn't boot. It takes around 8 mins to build if I use mka recoveryimg, this time tried mka recoveryzip. It builds the recovery.img fine and its 12.3 mb. It doesn't build the zip though or create the location in the out directory. The twrp-recovery.img in the Lenovo forum is around 16.5 mb.

The recovery flashes fine but just sits at the boot logo then reboots. Can flash the working recovery fine in fastboot, it works straight away.

Can anyone help

Thanks
[Android] Syl157:
Hm.. weird error

target SharedLib: libdl (/home/android/eos/out/target/product/hermes/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)

/home/android/eos/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: unrecognized option '--fix-cortex-a53-843419'

/home/android/eos/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: use the --help option for usage information

collect2: error: ld returned 1 exit status

build/core/shared_library_internal.mk:68: recipe for target '/home/android/eos/out/target/product/hermes/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so' failed

make: *** [/home/android/eos/out/target/product/hermes/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1

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

Thanks in advance for help , hope answers.
[Android] pug1:
Hey done a quick Google search of the error and found this if it helps

It's strange to get this error.*

You should check if your source tree is synced complete.*

Check if you have this file*

prebuilt/linux-x86/toolchain/i686-android-linux-4.4.3/lib/gcc/i686-android-linux/4.4.3/libgcc.a*

If no, do these:*

rm -rf prebuilt*

repo sync rebuilt*

2013/4/2 上午1:15 於 "高駿嘉" <steven9.. [MENTION=5499064]gmail.com[/MENTION]> 寫道：*

>*

> $make -j8 iso_img*

> ============================================*

> PLATFORM_VERSION_CODENAME=REL*

> PLATFORM_VERSION=4.0.4*

> TARGET_PRODUCT=eeepc*

> TARGET_BUILD_VARIANT=eng*

> TARGET_BUILD_TYPE=release*

> TARGET_BUILD_APPS=*

> TARGET_ARCH=x86*

> TARGET_ARCH_VARIANT=x86*

> HOST_ARCH=x86*

> HOST_OS=linux*

> HOST_BUILD_TYPE=release*

> BUILD_ID=IMM76L*

> ============================================*

> target SharedLib: libdl (out/target/product/eeepc/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)*

> target Prebuilt: egl.cfg (out/target/product/eeepc/obj/ETC/egl.cfg_intermediates/egl.cfg)*

> target StaticLib: libwebp-decode (out/target/product/eeepc/obj/STATIC_LIBRARIES/libwebp-decode_intermediates/libwebp-decode.a)*

> target StaticLib: libwebp-encode (out/target/product/eeepc/obj/STATIC_LIBRARIES/libwebp-encode_intermediates/libwebp-encode.a)*

> Copy: out/host/linux-x86/usr/icu/icudt46l.dat*

> Install: out/host/linux-x86/lib/libfst.so*

> target Prebuilt: *(out/target/product/eeepc/system/bin/am)*

> host SharedLib: libSR_Recognizer (out/host/linux-x86/obj/lib/libSR_Recognizer.so)*

> i686-android-linux-g++: libgcc.a: No such file or directory*

> make: *** [out/target/product/eeepc/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1*

> make: *** Waiting for unfinished jobs....*
[Android] Syl157:
Errors seems like a unknow command is execute during the process , i don't know how remove this ^^
[Android] pug1:
Can you not find the make file and remove the line and see if it builds? Then if it builds do pull a logcat and see if any things broken.

The copied text says it was missing this file and had to do:-

rm -rf prebuilt*

repo sync rebuilt*

Try and see if that fixes it
[Android] arpit_deshpande:
Hey! thank you for the wonderful thread. While building crdroid for redmi 2, i got this error. Can someone help me ? :)

http://pastebin.com/88751sjw
[Android] fgl27:
learn how to search commit.

the error comes form:

packages/apps/SetupWizard/

so check that tree

then if you do this commit comes

https://github.com/CyanogenMod/andr...mmit/95246f2063cefa2438db90076e10b138c8cd3efc

his the one to blame, but it is ok, the problem is probably your source that is mess up, that "com.android.internal.telephony.MccTable" symbol must come from this file

https://github.com/CyanogenMod/andr.../com/android/internal/telephony/MccTable.java

try to see if your source have those up to date as they are probably outdated... Or they are not be load to out by .mk files how to make they load I don't know.
[Android] pug1:
[MENTION=5747496]baybutcher27[/MENTION] dont suppose you can see any error in my log on last page? I also got the size wrong of the recovery.img in lenovo forum, Its 13.6 mb so can't be that far off.

Thanks
[Android] arpit_deshpande:
oh ty.

yep I did check that tree and found that commit. so shall i remove that commit n add this one?

https://github.com/CyanogenMod/andr.../com/android/internal/telephony/MccTable.java :D