Hi there, I'm trying to build from sources as per this guide https://wiki.lineageos.org/devices/klte/build
In the last step it gives me an error:
/media/user/<uuid>/android/lineage-17.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-gcc: No such file or directory
Right thereafter:
Is your PATH set correctly?
I'm a bit puzzled, since the file is definitely existing.
Right before the brunch command I
cd /media/user/<uuid>/android/lineage-17.1
source build/envsetup.sh
Adding /media/user/<uuid>/android/lineage-17.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin to my PATH did not solve the problem either.
As attachment my build script.
Any help appreciated.
Related
Hello,
could anyone who has the necessary tools please compile a driver dll from the source code in this archive http://www.meworks.net/userfile/24247/ce_dm9601.rar it has a readme file inside witj instructions, DM9USB_ReadMe.txt
Or please point me to the proper place to ask.
Thanks.
Imagine that you have this:
/firmware
/include
/keyfiles
/libaudio
/libcopybit
/libgralloc
/liblights
/librpc
/libsensors
/libstagefrighthw
/overlay
/prebuilt
/recovery
/Android.mk
/AndroidBoard.mk
AndroidProducts.mk
BoardConfig.mk
README
...and a bunch of that files..., how can I compile this rom? thanks
Copy them in the folder:
android/device/<your vender>/<device name>
of the android source. Then source the build environment by the command ". build/envsetup.sh", type "lunch", choose your device and finaly type "make". Your images and zip files will be created in the folder
out/target/product/<device name>
If you do not understand anything from what I've just said, then get some info first on how to compile android your own. The wiki of cyanogenmod was a good starting point for me.
Erwin
ok, I ´ll try it
PS: I know what you say
Hi , I get an error when I try to start a build for endeavoru : " can't locate config makefile for product ... "
I read something on the web about this problem and someone says that this comes out when product name in androidproducts.mk isn't corresponding. So I checked and It's ok...
also I can build for every single device on the list in the attached picture, so I really don't understand...
My question is, I'm I missing something in device directory? If someone could help that would be great!
Hello,
im trying to get the config.gz for my ze551ml because im following this tutorial http://forum.xda-developers.com/showthread.php?t=2338179 . The file is not in /proc/, so i downloaded the kernel source from here: www[dot]asus[dot]com/gr/support/Download/39/1/0/12/HRi9R6lem9YbiPVX/8/ but i cant really figure out how to extract the config file.
Also i cant really figure out how to compile the sourcecode from here: http://forum.xda-developers.com/zen...-unofficial-cyanogenmod-12-1-nightly-t3164144
I downloaded the android_device_asus_Z00A from the repo, how do i compile it?
Whenever i try to execute the setup-makefiles.sh it tells me i have missing files.
Please help me!
init-0
Hi guys, I need help.. I am attempting to create a port for PostmarketOS on Zenfone 2 Z00ad
How do you use local kernel source in a tar.gz file with pmbootstrap?
i.e I downloaded the source file from Asus website because the LineageOS branch of the kernel seems lacking in the files I need (I've cloned the git to my hdd aswell because I was trying to find the files needed for editing)
I can make the adjustments stated in the guide to APKBUILD in linux-Asus-z00a folder, but only with the Asus source so I have no idea how to include the official source over/as well as the LineageOS branch
P.s I am new to using Alpine Linux's apkbuild so the documentation on AL's site confuses me, please ask if I missed some info needed this is my first attempt to port something, bought my Zen 2 just to try develop for, call it an obsessive hobby ?
I got the issue solved from elsewhere but I'm gunna post what I did anyway as a reference
Copy the source tar.gz to the 'linux-Asus-z00a' folder inside the aports dir, I named mine z00a.tar.gz
Had to edit the APKBUILD file in linux-Asus-z00a folder:
APKBUILD line 28:
source="
(Delete entire line for the github repo and enter the name of the source).tar.xz
$_config
gcc7-give-up-on-ilog2-const-optimizations.patch
gcc8-fix-put-user.patch
kernel-use-the-gnu89-standard-explicitly2.patch "
That lets me use the local source files for use with porting to the Z00A.. stuck on the step after now lol