-
Notifications
You must be signed in to change notification settings - Fork 32
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
[device-port] [angler] Huawei/Google Nexus 6P #56
Comments
It looks like |
Unfortunately I don't seem to be able to build the system image: https://gist.github.com/jrb/ed7c767a433ce01d2f7e1dee0c36c3f0 |
That error seems to be a general problem introduced when updating Halium to the latest AOSP / LOS 7 revision. |
and... that issue is fixed in android and android_build repo. So if you repo sync it will work again. |
after fumling around a bit,
has a kernel that builds and boots to rootfs:
android container comes up:
Working tests:
|
Now the failures:
|
For test_hwcomposer correct environment variable is EGL_PLATFORM and not GL_PLATFORM |
Identical result, so I've updated the original comment. |
Can you tell me which version of android you had installed earlier? |
The latest (8.0?). I've now downgraded to 7.1.2 (n2g48c), and the following tests fail differently:
|
Right, halium, as branch name suggests have a build for only android 7, Since wifi is working, can you add Steps:
And then retry the test_hwcomposer? Thanks |
Should have mentioned in the previous post; already tested that and saw the same result both before/after dist-upgrade and reboot. |
Can you provide the strace of test_hwcomposer with above steps followed? (Please use pastebin/gist) |
Are you guys still working on this? I really want to get Ubuntu touch on my device. I'm not very experienced with this stuff but maybe I can help out. |
Hi, does we have any working Nexus 6p port ? plz |
I have reached the exact same point as jrb above, and achieved the same results for the libhybris tests. My next step was to add the halium debian repository and apt update/upgrade. Once I do this (I've tried a few times for consistency) the device will bootloop and I am only able to pull any logs by immediately rebooting into TWRP. Any help would be greatly appreciated, here is the gist of /sys/fs/pstore: https://gist.github.com/drgroovestarr/e313be0265d18eed94eae7711ff5f97c |
Ok me and another guy from the porting group on Telegram strongly think about joining you here. Basically I got an 6P in front of me, and I will try to follow the steps you have taken so far. |
Great news. Plz keep us update..
…On Sat, Mar 9, 2019, 12:00 AM Florian Leeber ***@***.***> wrote:
Ok me and another guy from the porting group on Telegram strongly think
about joining you here. Basically I got an 6P in front of me, and I will
try to follow the steps you have taken so far.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcmGHa8STJlksqn54xJPtamW__jSN46Oks5vUqw1gaJpZM4R6yca>
.
|
Pinging @liamolua into the conversation... |
@Flohack74 my 6p took a ride in a taxi without me, so I haven't done anything on this since shortly after my last comment. I believe I was using whatever the current Halium reference rootfs was at the time. I recall it was either ubuntu or debian based, and was severely out of date -- an apt-get dist-upgrade would pull down a ton of updated packages. |
@jrb @Flohack74 happy to help out with whatever I can, I have a 6p here... test_lights worked for me I just get stuck when trying to update the rootfs |
hmm can you paste a dmesg part, I get 99% CPU load with being unable to initialize hardware RNG. And ofc those floating point excepts. @drgroovestarr can you send me you manifest plz |
@Flohack74 here is my manifest https://github.com/drgroovestarr/local_manifests/blob/halium/device.xml I have essentially just follwed the docs and and info found in this thread, all of the device/kernel changes I used are on my github. Glad to have another set of eyes to have a look at it! |
@drgroovestarr Can you please submit your manifest to https://github.com/halium/halium-devices? |
@jbbgameich done, I also have some updated udev rules submitted for pull to https://github.com/Halium/lxc-android |
@drgroovestarr I requested one change to your PR, it's otherwise fine and can be merged. |
I'm having some difficulty getting halium running on the 6p. I used @drgroovestarr's repos for the kernel and device directories, but I'm getting a boot loop. I checked the kernel log, and there's a kernel panic: Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 This is followed by a dump of some data from each CPU core. Full logs here. Any suggestions? |
@phillipwalters wish I could help out more. I was able to get it booting using the rootfs listed in the docs, however if I try to update by adding the newer halium repos (listed above) I too get a bootloop. It's great to see more people getting involved, maybe between your dump and mine (above) we can find the answer. |
@phillipwalters @drgroovestarr can you plz try my manifest, it should actually boot well:
|
@Flohack74 are you using the rootfs listed in the docs? Just making sure. Im not in front of my PC, but will check this out later. I didn't have a problem booting with my repos, just updating to try and see if that would help to pass more of the tests as described. |
@drgroovestarr I am using the Halium reference rootfs, yes. |
@Flohack74 That worked for me. I wiped userdata on the phone and used fastboot and adb from Android Studio rather than the Ubuntu repos. None of the tests seem to be working for me, though. Most of them throw a floating point exception. test_egl doesn't, but it seg faults. |
@phillipwalters yes thats clear if it is a mismatch between 32 and 64 bits. The Halium reference rootfs is only 32 bit capable it seems. You would have to use arm64 build of UT for example. |
We should be able to recompile the tests to 32 bits, right? |
Its not the tests alone, its the whole libhybris thingie. I have little insights whats missing, please bring this up in the Halium channel. |
I have now somewhat started to try Ubuntu Touch rootfs. However, currently I cannot get out of Halium rescue boot due to the following error probably:
This is new for me on Halium. @bhush9 whats the thing with the console= again? My bootloader forces console=NULL |
@ALL: whoever is trying to port Nexus 6P should keep in mind that it was affected by a sever hardware bug with the second set of CPUs on the SoC. It is advisable to set boot_cpus=0-3 maxcpus=4 in the kernel command line to switch off potential faulty cores. |
@ALL: There is a bug in lxc which prevents container start with systemd and disabled CPUs. So this prevents Halium reference rootfs to start properly, while Ubunt Touch with upstart would work probably. This needs probably lxc later than 3.2.1, or a backport of lxc/lxc@36f7018 and lxc/lxc#3109 |
Update: Due to crashing kernel with lxc startup (Note: lxc is fine, just some Android service kills the kernel) I decided to compile LineageOS from scratch, just with my added CPU disable cmdline. LineageOS works fine, so I am thinking about taking again LineageOS sources instead the ones from @win8linux as I did so far before, to rule out any tainting. |
Yes, I would recommend pulling sources from LOS since mine are quite old already. |
Nice! Any special steps you had to take? How is it? |
A lot of special steps. But now its snappy, boot time is awesome, sound works, vibrator, rotation and wifi works. Modem does not load firmware, and lot of other stuff not working now. But its a start. |
Its fantastic work sir.
…On Mon, Jan 13, 2020, 2:53 PM Florian Leeber ***@***.***> wrote:
A lot of special steps. But now its snappy, boot time is awesome, sound
works, vibrator, rotation and wifi works. Modem does not load firmware, and
lot of other stuff not working now. But its a start.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#56?email_source=notifications&email_token=AHEYMHM2UE37SZVA2QFP7R3Q5QXJNA5CNFSM4EPLE4NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIYAPJQ#issuecomment-573573030>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHEYMHNKS3LWFG7Q26NY7CDQ5QXJNANCNFSM4EPLE4NA>
.
|
Thanks, you are welcome. Any alpha testers here who can spare the device for testing it a bit? |
I have a device to spare that I can load onto for testing |
I can test as well |
@Jaeder42 Ok, just follow the link above. If you wait until tomorrow afternoon you also get the new kernel with Bluetooth enabled :) |
Tree: halium-7.1
usb: Manufacturer: GNU/Linux Device
appears indmesg
on host.CONFIG_VT
must not be set in the kernel config, otherwisemka hybris-boot
fails with this.The file
Android.mk
must be modified as such since Halium doesn't use any .apk or .jar files. It is not enough to only comment out the source file lines, but all relevant module lines.The text was updated successfully, but these errors were encountered: