Can you please give me a hand with building my CM for the Nexus 7 GSM?
I have a number of problems.
When running "brunch tilapia" as specified in the CM tutorial for building for the Nexus 7 GSM, I get the following errors:
I don't get a zip file output in the "out" Directory
I am getting the following errors:
/bin/bash: flex: command not found
Warning: assignment from incompatible pointer type [enabled by deafult]
13: warning: extra tokens at end of #ifdef directive [enabled by default]
warning: 'fin' may be used uninitialized in this function [-Wmaybe-uninitialized
warning: implicit declaration of function 'read_all' [-Wimplicit-funtion-declaration]
You are attemtping to build with an unsupported version of java.
find: 'src' : no such file or directory
No private recovery resources for TARGET_DEVICE tilapia
Please help!
I tried wiping and re-installing, wiping the repo and re-initializing that.
I followed all the steps I believe, must just be unlucky.
Peace,
shandy1996
Perhaps you know this, but there is a thread for building cm10.1 for the n7 here: http://forum.xda-developers.com/showthread.php?t=1846651.
Some of the warnings you have listed are normal and are nothing to worry about. However, it looks like you are missing the package flex, so try 'sudo apt-get install flex', depending on what Linux distro you are using, then try again.
Thanks, but still one quiestion...
Why do I not get any .zip file output?
I am not sure as to why this is, but an answer would be much appreciated.
Thanks for you help, hopefully i can sort it out
Peace and thanks again,
shandy1996
It's because the build aborts as soon as it realizes that a required build package is missing. In a way it's kind of an all or nothing thing... you don't get a zip package until you have everything in place and set up properly.
Did you try installing the package 'flex' as suggested? I'm not positive, but that might be the issue, unless there are other errors or missing packages.
Also, have you posted in the thread on building cm10.1? You would probably get more help there!
I installed flex and it solved that error, but still no zip output.....
Ok ,what did it say at the end when it stopped? Also, what version of Linux are you using and what guide are you following? The guide linked in the other thread works great.
I used the guide on the CyanogenMod wiki for building for the Nexus 7 GSM.
I am running Ubuntu 12.10 64-bit.
The error i get at the end of the build process is:
Code:
make: *** No rule to make target 'vendor/asus/tilapia/proprietary/tf_daemone', needed by '/home/jacob/androis/system/out/target/product/tilapia/obj/EXECUTABLES/tf_daemon_intermediates/tf_daemon'. Stop.
ah ok, i had this exact same issue, i think it might be an internal thing, not your fault. for some reason the file tf_daemon seems to be missing, so someone suggested manually placing it in the proper place. i was directed to find the file here: https://github.com/AOKP/vendor_asus_grouper/tree/jb/proprietary/bin. so i downloaded it and put it in the folder /vendor/asus/tilapia/proprietary, and this problem was solved
Related
I'm trying to port firefox os(B2G) to my device (HTC Desire HD). While building it stops because of error at libgui in SurfaceTextureClient.cpp
last few lines of build log
Code:
target thumb C++: libgui <= frameworks/base/libs/gui/SurfaceTextureClient.cpp
frameworks/base/libs/gui/SurfaceTextureClient.cpp: In member function 'virtual int android::SurfaceTextureClient::setUsage(uint32_t)':
frameworks/base/libs/gui/SurfaceTextureClient.cpp:500: error: 'GRALLOC_USAGE_EXTERNAL_ONLY' was not declared in this scope
frameworks/base/libs/gui/SurfaceTextureClient.cpp:505: error: 'GRALLOC_USAGE_EXTERNAL_BLOCK' was not declared in this scope
make: *** [out/target/product/ace/obj/SHARED_LIBRARIES/libgui_intermediates/SurfaceTextureClient.o] Error 1
and the full build log is here
I think this happens because of the build system doesn't build
Code:
hardware/qcom/display/libgralloc/
before building
Code:
frameworks/base/libs/gui/
How can I tell the B2G build system to do that? Or is there any other way to get around this without breaking(like can't see anything) the build?
Here is my B2G manifest file.
I know this belongs in the developer forum but I still can't post in it
In your device blobs you are telling it to make hardware/com/display or display_legacy or the like correct? One way to at least get past this error and possibly get either further clues or have it compile would be to just add the header to this file or reference it as a dependency in your frameworks/base makefiles. These are just some ideas. Its hard without knowing where you are pulling these from (cm repo, Google, linaro, b2g, or whatever) so I can look at the code and makefiles. But normally this sort of thing will be an adjustment needed to your makefiles. Its just finding which, or if its simply a missing statement like this in your device makefiles TARGET_QCOM_DISPLAY_VARIANT := legacy
Pacman for the 3vo CDMA
I know, I know. I'm probably gonna get a lot of "it can't be done and this is why" if what I've googled is any indication. However, difficult does not equate to impossible.
Firstly, one of the big messages I encountered online was that windows is not case sensitive, thus it can't be done even if you had a toolchain. However, it's entirely possible to turn windows 100% case sensitive (i've got cygwin mkdir Abc and aBc to prove it)
So to do this, go to control panel / programs / turn windows features on or off.
When opened, check the box that says "subsystem for UNIX-based applications" and hit okay.
Now open a browser window. Download This.
Install it, and on options near the beginning of the install check EVERYTHING.
Reboot at the end of the installation. Windows is now fully case-sensitive.
So now, after repo sync and running through the motions (get-prebuilts, breakfast, extract-files, etc)
I now encounter problem number two. Javac: command not found.
So to get around this, download an unofficial build of openjdk-1.7.0 and manually drop it in cygwin.
So after this, I type brunch d2lte
I now encounter problem number three. Build info comes up but ends abruptly at
bash: schedtool: command not found
or something like that anyway. Googling schedtool reveals information about what it does. So, to get rid of the error message, I create a dummy schedtool binary and drop it in cygwin's bin folder. Doesn't fix the build, but makes that nasty error go away.
So now, both brunch and mka will display build info then return you promptly to the command line with no error. However, what does work is the "make" command.
So, I type make bootimage.
Here comes problem number 4.
I get an error message for build/core/java.mk on line 23, saying my target SDK is invalid (here's my version), (here's available)
or something like that.
So to fix, open build/core/java.mk in notepad++, navigate to line 23, and remove the following
Code:
$(error $(LOCAL_PATH): Invalid LOCAL_SDK_VERSION '$(LOCAL_SDK_VERSION)' \
Choices are: $(TARGET_AVAILABLE_SDK_VERSIONS))
else
After which, your build will move forward to..... error number 5
Code:
make: *** No rule to make target '/home/Swisgaar/android/system/out/host/windows-x86/bin/mkbootimg.exe', needed by '/home/Swisgaar/android/system/out/target/product/d2lte/boot.img'. Stop.
Which i fixed, by downloading a .exe version of mkbootimg and dropping it in system/out/host/windows-x86/bin manually, which you can get from here.
After which, moving on to the next error, and the one i'm currently stuck on,
Code:
make[1]: Entering directory '/home/Swisgaar/android/system/kernel/samsung/d2'
/home/Swisgaar/android/system/kernel/samsung/d2/Makefile:327: /home/Swisgaar/android/system/kernel/samsung/d2/scripts/Kbuild.include: No such file or directory
make: *** empty variable name. Stop.
/home/Swisgaar/android/system/kernel/samsung/d2/Makefile:416: recipe for target 'scripts_basic' failed
make[2]: *** [scripts_basic] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/Swisgaar/android/system/kernel/samsung/d2'
build/core/tasks/kernel.mk:169: recipe for target '/home/Swisgaar/android/system/out/target/product/d2lte/obj/KERNEL_OBJ/.config' failed
make: *** [/home/Swisgaar/android/system/out/target/product/d2lte/obj/KERNEL_OBJ/.config] Error 2
Currently working on a fix. Any help is appreciated.
This experiment really isn't necessary, but it's just that, an experiment. I figure, this is my hobby, so why not.
Restl3ss said:
I know, I know. I'm probably gonna get a lot of "it can't be done and this is why" if what I've googled is any indication. However, difficult does not equate to impossible.
Firstly, one of the big messages I encountered online was that windows is not case sensitive, thus it can't be done even if you had a toolchain. However, it's entirely possible to turn windows 100% case sensitive (i've got cygwin mkdir Abc and aBc to prove it)
So to do this, go to control panel / programs / turn windows features on or off.
When opened, check the box that says "subsystem for UNIX-based applications" and hit okay.
Now open a browser window. Download This.
Install it, and on options near the beginning of the install check EVERYTHING.
Reboot at the end of the installation. Windows is now fully case-sensitive.
So now, after repo sync and running through the motions (get-prebuilts, breakfast, extract-files, etc)
I now encounter problem number two. Javac: command not found.
So to get around this, download an unofficial build of openjdk-1.7.0 and manually drop it in cygwin.
So after this, I type brunch d2lte
I now encounter problem number three. Build info comes up but ends abruptly at
bash: schedtool: command not found
or something like that anyway. Googling schedtool reveals information about what it does. So, to get rid of the error message, I create a dummy schedtool binary and drop it in cygwin's bin folder. Doesn't fix the build, but makes that nasty error go away.
So now, both brunch and mka will display build info then return you promptly to the command line with no error. However, what does work is the "make" command.
So, I type make bootimage.
Here comes problem number 4.
I get an error message for build/core/java.mk on line 23, saying my target SDK is invalid (here's my version), (here's available)
or something like that.
So to fix, open build/core/java.mk in notepad++, navigate to line 23, and remove the following
Code:
$(error $(LOCAL_PATH): Invalid LOCAL_SDK_VERSION '$(LOCAL_SDK_VERSION)' \
Choices are: $(TARGET_AVAILABLE_SDK_VERSIONS))
else
After which, your build will move forward to..... error number 5
Code:
make: *** No rule to make target '/home/Swisgaar/android/system/out/host/windows-x86/bin/mkbootimg.exe', needed by '/home/Swisgaar/android/system/out/target/product/d2lte/boot.img'. Stop.
Which i fixed, by downloading a .exe version of mkbootimg and dropping it in system/out/host/windows-x86/bin manually, which you can get from here.
After which, moving on to the next error, and the one i'm currently stuck on,
Code:
make[1]: Entering directory '/home/Swisgaar/android/system/kernel/samsung/d2'
/home/Swisgaar/android/system/kernel/samsung/d2/Makefile:327: /home/Swisgaar/android/system/kernel/samsung/d2/scripts/Kbuild.include: No such file or directory
make: *** empty variable name. Stop.
/home/Swisgaar/android/system/kernel/samsung/d2/Makefile:416: recipe for target 'scripts_basic' failed
make[2]: *** [scripts_basic] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/Swisgaar/android/system/kernel/samsung/d2'
build/core/tasks/kernel.mk:169: recipe for target '/home/Swisgaar/android/system/out/target/product/d2lte/obj/KERNEL_OBJ/.config' failed
make: *** [/home/Swisgaar/android/system/out/target/product/d2lte/obj/KERNEL_OBJ/.config] Error 2
Currently working on a fix. Any help is appreciated.
This experiment really isn't necessary, but it's just that, an experiment. I figure, this is my hobby, so why not.
Click to expand...
Click to collapse
Hey bro you are doing such a good thing for developers so please continue this thread and make some thing new
All the best :good:
hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
Wohooo! Finally! [emoji106] [emoji2] [emoji3]
Excellent! An AOSP ROM is the only thing I can think is missing from an otherwise perfect device.
GCC here we come..
Andoroid L (5.0) code, binaries and guides are published
No working camera or modem, looks like we've still got awhile guys...
great news,thankss
nice
I'm syncing it now. I'm going to do a blind build (not changing anything just going with what's already there) because I have yet to unlock my bootloader and won't until they can figure out a way so at least the camera and noise cancellation don't get messed up when unlocking (if I go back to a sony stock rom I know it won't matter on AOSP)
graffixnyc said:
I'm syncing it now.
Click to expand...
Click to collapse
Preparing to build as well. Like you, I haven't BL unlocked and won't until the DRM issues are resolved.
jerpelea said:
Andoroid L (5.0) code, binaries and guides are published
Click to expand...
Click to collapse
Your work is really appreciated. FYI, I convinced a friend to buy a Z3C in large part due to your AOSP commitment. [emoji106]
Guessing we'll need to reverse engineer the camera and modem binaries? Is that right?
illogic6 said:
Guessing we'll need to reverse engineer the camera and modem binaries? Is that right?
Click to expand...
Click to collapse
no
Reverse Engeneering
In other words - SONY will deliver the required drivers or better all required driver will be there in a while...
I get compile error:
Code:
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
make: *** [out/target/product/aries/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
help appreciated
m0d said:
I get compile error:
Code:
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
make: *** [out/target/product/aries/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
help appreciated
Click to expand...
Click to collapse
just re sync your tree and fix is there
That inform you in: <insert the cpu thread number of your computer> ??? Please
I got a build to finish. I'll post the boot and system img for someone to try.. I'm not going to go through the trouble yet to make a flashable zip until we at least know it boots. I'll upload the images now
Posted the images: http://forum.xda-developers.com/z3-compact/development/img-aosp-5-0-boot-imgs-t2940499
So @NisseGurra flashed the build I made yesterday here is what he found to be broken:
no wifi, no network, some reboots, no usb storage, no external sd, no sound or camera
But its very snappy, looking forward to a functional aosp
Thank you for the guides,
I was able to compile AOSP for D5803 successfully.
A couple of issues,
First,
Has the Cherry-Pick for external/libnfc-nci/ that is provided in the guide been merged?
As I get the following error,
Code:
/external/libnfc-nci $ git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
fatal: bad object 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
(Updated on blog to correspond with Shinano Issue.)
Second,
I get the following error when I try to output zipped package,
Code:
[B]No private recovery resources for TARGET_DEVICE aries
No recovery.fstab for TARGET_DEVICE aries[/B]
make: *** no rule to make target `otapackage'. stop.
Does this have anything to do with: TARGET_BOOTLOADER_BOARD_NAME := D5803
or that it is called aosp_d5803 (aosp_d5803.mk)
UPDATE: otatools seems to work, [" . build/envsetup.sh && time lunch aosp_d5803-userdebug && make otatools "].
But I can not find the output / output directory for package
Oh,
Is there supposed to be a userdata.img too?
Looking around a different sources mention it, however there is no userdata.img when I compiled it.
Thank you for your time
LOLLIPOP!
This is a project thread to help out with getting Lollipop on our HDs !
this is the default manifest that you can put into your repo to make things more smooth for you:
https://www.androidfilehost.com/?fid=95784891001611544
Download Repo:
Code:
repo init -u [url]https://android.googlesource.com/platform/manifest.git[/url] -b android-5.0.0_r7
Then Run:
Code:
repo sync -j#
(#=6,8,16,32) depends on how well your pc can handle muliple projects at once
After sources have downloaded Run:
Code:
lunch
then choose device which is tate
then Run:
Code:
make -j8 otapackage
and itll start compiling
Sources have been bumped up to LRX21T 5.0.0_r7
CURRENT ERRORS AND TEMPORARY FIXES
ERROR #1
So it builds and then stops at netlink/genl/genl.h no such file...
to fix this error run:
Code:
cd external
then:
Code:
git clone https://android.googlesource.com/platform/external/libnl-headers
and then:
Code:
make -j8 otapackage
ERROR #2
Code:
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::configureOutputBuffersFromNativeWindow(OMX_U32*, OMX_U32*, OMX_U32*)':
frameworks/av/media/libstagefright/ACodec.cpp:627:11: warning: 'int native_window_set_buffers_geometry(ANativeWindow*, int, int, int)' is deprecated (declared at system/core/include/system/window.h:734) [-Wdeprecated-declarations]
err = native_window_set_buffers_geometry(
^
frameworks/av/media/libstagefright/ACodec.cpp:631:42: warning: 'int native_window_set_buffers_geometry(ANativeWindow*, int, int, int)' is deprecated (declared at system/core/include/system/window.h:734) [-Wdeprecated-declarations]
def.format.video.eColorFormat);
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::allocateOutputBuffersFromNativeWindow()':
frameworks/av/media/libstagefright/ACodec.cpp:779:5: error: 'mNumUndequeuedBuffers' was not declared in this scope
mNumUndequeuedBuffers = minUndequeuedBuffers;
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::allocateOutputMetaDataBuffers()':
frameworks/av/media/libstagefright/ACodec.cpp:848:5: error: 'mNumUndequeuedBuffers' was not declared in this scope
mNumUndequeuedBuffers = minUndequeuedBuffers;
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'void android::ACodec::waitUntilAllPossibleNativeWindowBuffersAreReturnedToUs()':
frameworks/av/media/libstagefright/ACodec.cpp:2969:48: error: 'mNumUndequeuedBuffers' was not declared in this scope
while (countBuffersOwnedByNativeWindow() > mNumUndequeuedBuffers
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::pushBlankBuffersToNativeWindow()':
frameworks/av/media/libstagefright/ACodec.cpp:3591:11: warning: 'int native_window_set_buffers_geometry(ANativeWindow*, int, int, int)' is deprecated (declared at system/core/include/system/window.h:734) [-Wdeprecated-declarations]
err = native_window_set_buffers_geometry(mNativeWindow.get(), 1, 1,
^
frameworks/av/media/libstagefright/ACodec.cpp:3592:39: warning: 'int native_window_set_buffers_geometry(ANativeWindow*, int, int, int)' is deprecated (declared at system/core/include/system/window.h:734) [-Wdeprecated-declarations]
HAL_PIXEL_FORMAT_RGBX_8888);
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'bool android::ACodec::BaseState::onOMXMessage(const android::sp<android::AMessage>&)':
frameworks/av/media/libstagefright/ACodec.cpp:3813:26: warning: NULL used in arithmetic [-Wpointer-arith]
if (mCodec->mNode == NULL) {
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'virtual void android::ACodec::UninitializedState::stateEntered()':
frameworks/av/media/libstagefright/ACodec.cpp:4406:19: warning: converting to non-pointer type 'android::IOMX::node_id {aka unsigned int}' from NULL [-Wconversion-null]
mCodec->mNode = NULL;
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'bool android::ACodec::UninitializedState::onAllocateComponent(const android::sp<android::AMessage>&)':
frameworks/av/media/libstagefright/ACodec.cpp:4477:5: warning: NULL used in arithmetic [-Wpointer-arith]
CHECK(mCodec->mNode == NULL);
^
frameworks/av/media/libstagefright/ACodec.cpp:4525:26: warning: converting to non-pointer type 'android::IOMX::node_id {aka unsigned int}' from NULL [-Wconversion-null]
IOMX::node_id node = NULL;
^
frameworks/av/media/libstagefright/ACodec.cpp:4544:14: warning: converting to non-pointer type 'android::IOMX::node_id {aka unsigned int}' from NULL [-Wconversion-null]
node = NULL;
^
frameworks/av/media/libstagefright/ACodec.cpp:4547:17: warning: NULL used in arithmetic [-Wpointer-arith]
if (node == NULL) {
^
frameworks/av/media/libstagefright/ACodec.cpp: In member function 'bool android::ACodec::LoadedState::onConfigureComponent(const android::sp<android::AMessage>&)':
frameworks/av/media/libstagefright/ACodec.cpp:4693:5: warning: NULL used in arithmetic [-Wpointer-arith]
CHECK(mCodec->mNode != NULL);
^
make: *** [/home/android/lol/out/target/product/tate/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1
make: *** Waiting for unfinished jobs....
Note: frameworks/base/cmds/am/src/com/android/commands/am/Am.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
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.
#### make failed to build some targets (04:22 (mm:ss)) ####
to fix this error: download this ACodec.cpp and replace it with the one thats in frameworks/av/media/libstagefright
ERROR #3
Code:
bcmdhd-wifi/wpa_supplicant_8_lib/driver_cmd_nl80211.c:65: error: undefined reference to 'os_strncpy'
collect2: error: ld returned 1 exit status
to fix this error: download this driver_cmd_nl80211.c and replace it with the one thats in device/amazon/bowser-common/bcmdhd-wifi/wpa_supplicant_8_lib
NOTE: I got it to compile completely but just so your aware this is in no way good enough to flash as of yet!! Some things still need to be worked out before you can flash away!! YOUVE BEEN WARNED!!
Lollipop Compiled files
WARNINGHEREWARNING
Any Questions, Solutions, or Ideas post them here...
Did you already get past the camera and HardwareComposer issues?
r3pwn said:
Did you already get past the camera and HardwareComposer issues?
Click to expand...
Click to collapse
Yea I got past it using that default.xml. it compiled 95% but got stuck with the error in the op.
Sent from my Nexus 5 using Tapatalk
BuQQzz said:
Yea I got past it using that default.xml. it compiled 95% but got stuck with the error in the op.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Have you tried compiling CM12 yet? A lot of issues I was having with AOSP weren't there in CM.
I only had the CM12 sources downloaded, never got to compile it because my external hard drive gave out on me so I lost everything including the changes I made when compiling aosp! I'm waiting on a new hard drive to come in and then try again
Sent from my Nexus 5 using Tapatalk
Did you setup the device tree for CM12?
Sent from my Nexus 5 using Tapatalk
BuQQzz said:
Did you setup the device tree for CM12?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did, but it never compiled all the way. I forget which error it's stuck on now...
Cleaned and updated op with latest repo, errors and temp fixes!
BuQQzz said:
Cleaned and updated op with latest repo, errors and temp fixes!
Click to expand...
Click to collapse
Glad you fixed the error! Will it compile all the way now? Im syncing the sources now
faZevoLv said:
Glad you fixed the error! Will it compile all the way now? Im syncing the sources now
Click to expand...
Click to collapse
It threw out another error with ACodec.cpp but what I did was delete some folders 1.kernel 2.build 3.out 4.vendor 5.device ... Repo sync, and it's been compiling good so far, I'd say about 2 hours in!
No go . stuck on ACodec.cpp errors, think it might have something to do with new 64bit support, need to do more research on this.
BuQQzz said:
No go . stuck on ACodec.cpp errors, think it might have something to do with new 64bit support, need to do more research on this.
Click to expand...
Click to collapse
Could you copy ajd paste the exact error you are getting please
I think this guy might have it fixed
https://github.com/mstorsjo/platform_frameworks_av/tree/master/media/libstagefright
faZevoLv said:
Could you copy ajd paste the exact error you are getting please
I think this guy might have it fixed
https://github.com/mstorsjo/platform_frameworks_av/tree/master/media/libstagefright
Click to expand...
Click to collapse
Nice find I'll take a look at it after work and edit the op with the error
faZevoLv said:
Could you copy ajd paste the exact error you are getting please
I think this guy might have it fixed
https://github.com/mstorsjo/platform_frameworks_av/tree/master/media/libstagefright
Click to expand...
Click to collapse
I looked at it but I see no workaround for our error, i posted it in the op so everyone can take a look at it, hope we can get around this soon!
Just fixed the ACodec.cpp, used a line of code from 4.4.4_r2.0.1
Caught another error with a WiFi driver, took care of that, I'll post everything in the op . got a successful build now!! Tried flashing the zip with system unmounted and flashed successfully...buttttt.... Screwed the hell out of the bootloader ! Haha. Note to self: check zip files before flashing ?. I'll be uploading the zip so we can debug this thing..
Good News!!
OP Updated with fixes for a complete build and compiled files to mess around with!
Uploads are hot and ready to go! ive been working on a flashable zip all night, i might have something to flash by tmm night, im exausted!
Again... a warning for those who dont know what theyre doing pleeeeease do not download and try flashing and end up with a pretty bad brick
:good:
BuQQzz said:
OP Updated with fixes for a complete build and compiled files to mess around with!
Uploads are hot and ready to go! ive been working on a flashable zip all night, i might have something to flash by tmm night, im exausted!
Again... a warning for those who dont know what theyre doing pleeeeease do not download and try flashing and end up with a pretty bad brick
:good:
Click to expand...
Click to collapse
So does the build flash and boot? or is it completely messed up? im trying to build omnirom and see if they have any fixes, im syncing te sources now so ill report back once ive started te build and if there are the same errors you have experienced!
And good job bro for getting the first build up for te Kindle!
faZevoLv said:
So does the build flash and boot? or is it completely messed up? im trying to build omnirom and see if they have any fixes, im syncing te sources now so ill report back once ive started te build and if there are the same errors you have experienced!
And good job bro for getting the first build up for te Kindle!
Click to expand...
Click to collapse
itll flash but not boot, instead itll bootloop on the orange kindle fire logo turning on and off. youd have to fastboot everything back. ive tried flashing the imgs aswell with same results... not sure what it is yet but im sure well get there!
BuQQzz said:
itll flash but not boot, instead itll bootloop on the orange kindle fire logo turning on and off. youd have to fastboot everything back. ive tried flashing the imgs aswell with same results... not sure what it is yet but im sure well get there!
Click to expand...
Click to collapse
hmmm i wonder wy that is, ill compile tis omnirom and see if i get the same results, i modified te manifest.xml with the missing repos from your manifest so it should work, sources are at 31% now so it sould be done in a couple of hours
i cant download your rom file, it says i dont have permission...
Kernel compilation error '"aarch64-linux-android-gcc" is not allowed to be used.'
I'm building the kernel with LineageOS 17.1 / Android 10 r31 however the build process errors out during kernel compilation.
Specifically with:
Code:
"aarch64-linux-android-gcc" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
make[3]: *** [/home/saltoin/android/lineageos-17.1/kernel/samsung/universal8895/scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 1
Following the link says that any host tools in PATH won't be allowed to be used during compilation. However, `aarch64-linux-android-gcc` is not from my path but supplied by the build tools. Unless I'm mistaken in that assumption.
Regardless, exporting TEMPORARY_DISABLE_PATH_RESTRICTIONS=true allows aarch64-linux-android-gcc.
Unless I'm missing something, I don't believe I should be getting this error.
Thoughts?
Hello there, have you found any solution?
TEMPORARY_DISABLE_PATH_RESTRICTIONS=true doesn't work in the config file. What do you mean by export? Thanks in advance for help.
Build System Changes for Android.mk Writers
As a temporary measure, you can set TEMPORARY_DISABLE_PATH_RESTRICTIONS=true in your environment to temporarily turn off the error checks and allow any tool to be used (with logging).