New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Nexus 6P (angler) #37
Conversation
Adds a manifest for Nexus 6P (huawei_angler).
Placed in incorrect directory
Adds manifest for Nexus 6P (huawei_angler)
You'll have to comment out the apk targets in the vendor repository locally. We don't want to fork these repositories, so currently there is no way to fix this. But we're planning to add patches in this repository, that will be applied using the setup script. If this is the only issue, then we can merge it. |
With the apk targets commented out,
|
I think you forgot to run lunch / breakfast |
UPDATE: Running |
Before you can do breakfast, you always have to setup your build environment:
|
So far, |
Did you update the kernel config as described in the guide? |
Yes, I have. Here's the kernel config:
|
I have now been able to successfully execute Other than that, Halium builds fine. |
manifests/huawei_angler.xml
Outdated
@@ -0,0 +1,5 @@ | |||
<manifest> | |||
<project path="device/huawei/angler" name="android_device_huawei_angler" remote="los" revision="cm-14.1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please omit the revision
manifests/huawei_angler.xml
Outdated
<manifest> | ||
<project path="device/huawei/angler" name="android_device_huawei_angler" remote="los" revision="cm-14.1" /> | ||
<project path="kernel/huawei/angler" name="android_kernel_huawei_angler" remote="los" /> | ||
<project path="vendor/huawei" name="proprietary_vendor_huawei" remote="them" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the hal remote and the halium-7.1 branch in all repositories you have made modifications to.
Repo references changed to Halium-appropriate repositories
I changed the repository references to those that were modified for Halium. However, I don't think that I can use the |
You can use the hal remote, it doesn't include a organization name. |
Changes remote repo references to `hal`.
@jbbgameich, I've made the changes to the manifest that you and @LNJ2 suggested. |
manifests/huawei_angler.xml
Outdated
<manifest> | ||
<project path="device/huawei/angler" name="android_device_huawei_angler" remote="los" /> | ||
<project path="kernel/huawei/angler" name="android_kernel_huawei_angler" remote="hal" revision="halium-7.1" /> | ||
<project path="vendor/huawei" name="proprietary_vendor_huawei" remote="hal" revision="halium-7.1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
halium-7.1
revision attribute is not needed on the hal remote.
Please omit the revision attribute
And the vendor repository shouldn't be forked? Did you made any changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The vendor and kernel repos were forked from TheMuppets and LineageOS respectively because of Halium-specific changes; do I need to merge the changes to Halium?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kernel repository is fine! I know that there are currently problems with the vendor repository, halium doesn't want these forks (it's partly not allowed to redistribute the proprietary drivers). But we could apply patches to them from the muppets.
So please use the them
remote for the vendor repo and omit the revision attributes in both repositories, kernel and vendor (halium-7.1 is the default branch of the hal remote and cm-14.1 of them).
Remote repository references for the kernel and vendor were reverted to `hal` and `them` respectively. Additionally, the branch reference `halium-7.1` was removed from both since it was unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should hopefully be good enough after multiple suggestions and changes based on those.
manifests/huawei_angler.xml
Outdated
@@ -0,0 +1,5 @@ | |||
<manifest> | |||
<project path="device/huawei/angler" name="android_device_huawei_angler" remote="los" /> | |||
<project path="kernel/huawei/angler" name="android_kernel_huawei_angler" remote="hal" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for another commet, but have you tested it? I don't think this can work, the hal remote expects an github-username/repository
, instead of just the repository
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like:
path="win8linux/kernel/huawei/angler"
or
path="win8linux/android_kernel_huawei_angler"
?
Also, I can't test this yet myself since my main machine is in the computer shop at the moment; I'm having the hard disk swapped out for one with twice the capacity and the data migration is going to take a while.
Until then, I'll be using a spare netbook; it's way too slow for building Halium in a reasonable timeframe.
Thanks! |
halium does not build apks, reference : Halium/halium-devices#37 (comment)
halium does not build apks, reference : Halium/halium-devices#37 (comment)
As of the time of posting this, the system image fails to build.
Here's the output from
mka systemimage
:However, building
hybris-boot
and the boot image are both successful.