Hello fellow forum users I am trying to build NitrogenOS Pie for Sailfish. I have the LineageOS kernel and TheMuppets vendor image.
The build script gives the following error: "Cannot have overlay in vendor tree"
I can attach any of the files from my build folder if needed, once my post count is high enough. I tried the solution from Github actually for OpenGApps for this error. It did not work. I can't post any links as I don't have a high enough post count.
Any help would be appreciated.
Thanks.
Related
Hello Moto G community!
I am a newbie to Android development but I have a will to learn and work hard. I would like to obtain help from developers while I embark on a mission to build a Android ROM for our beloved Moto G falcon.
What I already did:
1. Setup AOSP build environment from Android official tutorial and had a successful build of nougat 7.1.1
2. Currently, I have setup the build environment for lineage-os using this guide:
https://forum.xda-developers.com/chef-central/android/how-to-build-lineageos-14-1-t3551484
A Lineage 14.1 build is in progress as I write this and hopefully there will be no errors. I plan to flash it on my device and try it out personally to see for myself how well it turns out to be. *Done
Plan:
1. I wish to build an Android 8.x ROM eventually. Lineage is not ready yet, so I was thinking of going ahead with AOSP. Correct me if I am wrong.
2. If I do that, I will first have to build the falcon device tree. I will follow some tutorials for that but will need help here.
3. When I am done with that, I will start the building process and that is when the real work starts.
I will start building the device tree in 2-3 days and will post for help wherever required. I will keep this thread updated with my progress and resources as well.
Anybody who is willing to work with me on this project is welcome to do so. Send me a PM and we can be a team.
To moderators:
1. This is my first time creating a thread on XDA Forums. If I made a mistake, please let me know.
2. This is not just another Android Oreo thread. I plan to learn Android device development and coincidentally the time matches with Android O release. Possibly a good time to learn
My Devices:
Moto G (falcon) XT1033 India
Moto G4 Plus (athene) XT1644 US
this is great, good luck bro, i am waiting for android O :laugh::fingers-crossed:
Here comes the first one:
Lineage 14.1 arm-eng
Code:
[ 39% 13388/33953] Building with Jack: /media/viraj/Work/Android/Dev/android_lineage_14.1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex
FAILED: /bin/bash /media/viraj/Work/Android/Dev/android_lineage_14.1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp
java.lang.AssertionError: java.util.zip.ZipException: duplicate entry: jayce/com/android/internal/inputmethod/InputMethodSubtypeSwitchingController$ImeSubtypeListItem.jayce
at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.writeEntryIfNeeded(WriteZipFS.java:350)
at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.close(WriteZipFS.java:320)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:127)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
at com.android.sched.vfs.VFSToVFSWrapper.close(VFSToVFSWrapper.java:99)
at com.android.sched.vfs.ReadWriteZipFS.close(ReadWriteZipFS.java:87)
at com.android.sched.vfs.GenericOutputVFS.close(GenericOutputVFS.java:56)
at com.android.jack.library.v0002.OutputJackLibraryImpl.close(OutputJackLibraryImpl.java:218)
at com.android.jack.Jack.run(Jack.java:742)
at com.android.jack.Jack.checkAndRun(Jack.java:412)
at com.android.jack.CommandLine.runJack(CommandLine.java:79)
at com.android.jack.api.v01.impl.Cli01CompilationTaskImpl.run(Cli01CompilationTaskImpl.java:85)
at com.android.jack.server.tasks.JackTask.handle(JackTask.java:188)
at com.android.jack.server.tasks.SynchronousServiceTask.handle(SynchronousServiceTask.java:49)
at com.android.jack.server.tasks.JackTaskRawOut.handle(JackTaskRawOut.java:34)
at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:86)
at com.android.jack.server.router.PartParserRouter.handle(PartParserRouter.java:95)
at com.android.jack.server.router.PathRouter.handle(PathRouter.java:68)
at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:88)
at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:86)
at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:86)
at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:86)
at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:88)
at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:86)
at com.android.jack.server.router.MethodRouter.handle(MethodRouter.java:69)
at com.android.jack.server.router.RootContainer.handle(RootContainer.java:51)
at org.simpleframework.http.core.RequestDispatcher.dispatch(RequestDispatcher.java:121)
at org.simpleframework.http.core.RequestDispatcher.run(RequestDispatcher.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.zip.ZipException: duplicate entry: jayce/com/android/internal/inputmethod/InputMethodSubtypeSwitchingController$ImeSubtypeListItem.jayce
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232)
at com.android.sched.util.file.OutputZipFile$CustomZipOutputStream.putNextEntry(OutputZipFile.java:150)
at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.writeEntryIfNeeded(WriteZipFS.java:346)
... 34 more
Internal compiler error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by [email protected])).
java.util.zip.ZipException: duplicate entry: jayce/com/android/internal/inputmethod/InputMethodSubtypeSwitchingController$ImeSubtypeListItem.jayce.
Warning: This may have produced partial or corrupted output.
Couldn't find a solution to this not-so-rare problem.
I just re-ran
Code:
brunch falcon
and did not see that error again. It is not reproducible.
Now I am stuck at Out of Memory error for the same file. I tried reducing max-services for jack server in config file to 1.
I tried multiple heap sizes (2,4,6,8 GB) using -Xmx flag. No luck.
I am curious as to why AOSP built successfully and LOS is showing these errors. They both use jack-server right?
I will search for a solution for a few hours now. If anyone has any, please let me know.
Edit: Alright! I made a build without using ninja.
Code:
export USE_NINJA=false
brunch falcon
Took longer, but succeeded. It boots but SetupWizard stops after setting up Google account. Cannot bypass it to home. Deleting LineageSetupWizard in /system/priv-app using adb works.
See screenshot below.
This completes 1 task. I can start building the device tree tomorrow.
great still like this
Can you tell me size of source code ?? How long it will take to download source code
Trying to build aosp O today. Still syncing
FortoszoneID said:
Trying to build aosp O today. Still syncing
Click to expand...
Click to collapse
That is something! I'd like to test this build if you are successful.
Me too
Sent from my Moto G4 Plus using XDA-Developers Legacy app
Good step dude...
Just one request "Please focus to build Stable one rather then frequent unstable update"
I hope they do not abandon this project is very good
SunilSuni said:
Can you tell me size of source code ?? How long it will take to download source code
Click to expand...
Click to collapse
Source code should be somewhere between 20-40 GB
virajmalia said:
Source code should be somewhere between 20-40 GB
Click to expand...
Click to collapse
40 GB more likely
Hello all,
When building without any changes to the local manifests, the build errors out. These are partly resolved by adding the samsung and ti vendors from the muppets, but then new errors pop up. If anyone has managed to build this image could you post the manifest?
Thanks in advance!
Late but: how about posting the error? Sources on LineageOS git should work fine to compile.
On Ubuntu 18 you might run into an error depending on flex which can be solved by Cherry-Picking https://review.lineageos.org/c/LineageOS/android_prebuilts_misc/+/229452
I found this on youtube not sure if its real or not
https://www.youtube.com/watch?v=-SRqxkMpeMc
Poco F1, running a GKI kernel, and device specific modules loaded separately.
Video by Sumit Semwal
Additional Details:
* Xiaomi Pocof1 (beryllium) device config is hosted at:
https://github.com/pundiramit/device-...
* GKI (android-5.4.17) Image.gz and kernel modules are copied from
device/linaro/dragonboard-kernel project, built as part of the Android
CI.
* Kernel source for prebuilt vendor kernel modules (panel, labibb
regulator) and DTB is hosted at:
https://github.com/pundiramit/linux/t...
* Adreno firmware binaries are copied from stock PocoF1 images.
Yes, it's real. Don't be fooled by the Android R in About Phone - that's just what it says when you're running an AOSP master build. That's not what's important. What's more important is what they've done with the kernel.
https://www.google.com/amp/s/arstec...inline-linux-kernel-support-in-android/?amp=1
Tom Gall, the director of the Linaro Consumer Group, showed off a Xiaomi Poco F1 actually running the mainline Linux kernel under the usual Android OS. Gall told the audience, "There are major, major props to be given to the Google Kernel Team in particular for getting their code upstream so that we can boot devices with a mainline kernel
---------- Post added at 09:20 AM ---------- Previous post was at 09:19 AM ----------
good job brother for for trying to bring it to masses.
Repo's are gone :'(
Anybody get a clone of the second repo at least? PM or post, please!
This is well documented now on AOSP but the work done here would save a lot of time.
CosmicDan said:
Repo's are gone :'(
Anybody get a clone of the second repo at least? PM or post, please!
This is well documented now on AOSP but the work done here would save a lot of time.
Click to expand...
Click to collapse
GitHub - pundiramit/linux
Contribute to pundiramit/linux development by creating an account on GitHub.
github.com
D1stRU3T0R said:
GitHub - pundiramit/linux
Contribute to pundiramit/linux development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Ah thank you, there was only an extra t on the second URL - typo.
This is awesome. Hopefully more 845 devices get the GKI treatment so we can experiment with different modules from other devices that get more love/attention from OEM's
Hey guys, I'm trying to build aosp for Xiaomi 8 [codename: dipper].
These are the device sources I found on github, from LineageOS, all used the latest branch 'lineage-18.1'.
aosp/device/xiaomi/dipper https://github.com/LineageOS/android_device_xiaomi_dipper.git
aosp/device/xiaomi/sdm845-common https://github.com/LineageOS/android_device_xiaomi_sdm845-common.git
aosp/kernel/xiaomi/sdm845 https://github.com/LineageOS/android_kernel_xiaomi_sdm845.git
aosp/hardware/xiaomi https://github.com/LineageOS/android_hardware_xiaomi.git
aosp//vendor/lineage https://github.com/LineageOS/android_vendor_lineage.git
aosp/device/qcom/sepolicy_vndr https://github.com/LineageOS/android_device_qcom_sepolicy.git
But when I pressed the building command `m`, after selecting the building target `lineage_dipper-eng`,
there appearred such an error:
dogbin - yupalephov
[W][2021-05-29T07:37:58+0000][13282] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/
del.dog
Anyone get any clue? Many thx.
Hello everyone,
I wonder if I could ask for someone's help here since my knowledge is not sufficient.
Or advice on where I can get such help, I don't even have friends who are into coding etc.
Thanks in advance!!!
So, I have a LineageOS 14.1 build for my device but I want OMS added to it. After some investigation, I found about LineageOMS Reloaded, which is LineageOMS with newer security patches from Lineage itself. Can you build it for my device with the following sources? As you might know, there are additional dependencies you need to clone by following lineage.dependencies in each repo and the repos you clone through it.
https://github.com/kyasu/android_kernel_samsung_msm8974
https://github.com/kyasu/android_device_samsung_hltedcm
https://github.com/kyasu/android_vendor_samsung_hltedcm