mal | Umeaboy: I thought you were only going to build hybris-hal? not the android image | 00:42 |
---|---|---|
Umeaboy | mal: Yeah, I just wanted to make sure I had a AOSP zip built in case I wanted to go through the entire HADK again if the hybris image fails to load/start. | 00:44 |
Umeaboy | I had a look at the AOSP local_manifests repo and I'm not entirely sure exactly which kernel repos to keep as there are many. Do I keep common-kernel? | 00:45 |
mal | no, that common kernel is the prebuilt kernel | 00:53 |
mal | https://github.com/sonyxperiadev/local_manifests/blob/android-8.1.0_r47/LA.UM.6.4.r1.xml | 00:54 |
mal | you take all but the common kernel from that, and then stuff from other local manifest files of course | 00:54 |
mal | let me know when you have built the sfos image and I'll give a link to prebuilt android images | 00:56 |
Umeaboy | mal: Just asking, but isn't it wiser to build kernel 4.9 instead of 4.4? | 01:19 |
mal | use 4.4 | 01:33 |
mal | xa2 port uses 4.4 so better use the same | 01:33 |
Umeaboy | OK. The guide to follow here doesn't really work to get the ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu working. | 02:04 |
Umeaboy | I think I've missed something, but I went through the page row by row. | 02:04 |
Umeaboy | https://sailfishos.org/wiki/Sailfish_X_Build_and_Flash | 02:04 |
Umeaboy | HABUILDSDK and PlatformSDK works though. | 02:05 |
*** ChanServ sets mode: +v T4 | 02:08 | |
Umeaboy | Sorry. My bad. I hadn't done the entire chapter 4. :) | 02:22 |
Umeaboy | Hmmmmmm. Trying to init the hybris-aosp repo for 8.1.0_r47 it fails with couldn't find remote ref refs/heads/hybris-sony-aosp-8.1.0_r47-20181015. | 02:35 |
Umeaboy | fatal: cannot obtain manifest git://github.com/mer-hybris/android.git | 02:35 |
Umeaboy | Anyone who knows of an easy fix? | 02:40 |
Umeaboy | mal: I don't know how to solve this really. | 02:43 |
Umeaboy | I checked that every character in that link is correct. | 02:44 |
Umeaboy | Sorry. My bad again. I thought I checked every character but apparently I didn't. | 02:50 |
Umeaboy | Repo initialised. | 02:50 |
Umeaboy | I see we're behind a couple of branch numberings. | 03:21 |
Umeaboy | Latest official branch for aosp 8.1.0 is 52. | 03:21 |
Umeaboy | I hope that doesn't matter when the hybris image has been built. | 03:21 |
Umeaboy | mal: Bad news! I got to 7% of the make -j4 hybris-hal command | 04:53 |
Umeaboy | An error about wrong mount points. | 04:53 |
Umeaboy | I'd be so happy if someone could merge this PR: https://github.com/mer-hybris/hybris-boot/pull/157 | 05:16 |
Umeaboy | This will prevent me from getting the mount point issue. | 05:17 |
Umeaboy | I'll test and see if it works. | 05:21 |
Umeaboy | Nope. It still fails at 7%. | 05:46 |
Umeaboy | Here's the full output: https://pastebin.com/DFCMQqPV | 05:47 |
Umeaboy | There is an error in the Android.mk file in on line 74, but I'm really not sure how to actually make the fix. | 06:07 |
Umeaboy | I'll come back later today when I've slept. Tired, so tired..... | 06:46 |
T4 | <BirdZhang> line 260-264 | 06:48 |
T4 | <BirdZhang> Fixing mount-points for device maple | 06:48 |
T4 | <BirdZhang> sed: -e expression #9, char 59: unterminated `s' command | 06:49 |
T4 | <BirdZhang> https://github.com/mer-hybris/hybris-boot/pull/157/files#r244271676 | 06:51 |
*** ChanServ sets mode: +v T4 | 08:35 | |
Benclark006 | hi again | 10:09 |
Benclark006 | i'm having some more problems | 10:10 |
Benclark006 | zypper refresh works now but when i try to install some apps from openrepos i get this here error | 10:10 |
Benclark006 | https://imgur.com/a/cm8JWBk | 10:10 |
T4 | <BirdZhang> what's your sfos version ? | 10:11 |
mal | maybe the sailfish version the device has is too old | 10:11 |
Benclark006 | 2 | 10:12 |
Benclark006 | 2.0.5.6 | 10:12 |
T4 | <BirdZhang> use warehouse or older storeman | 10:13 |
Benclark006 | i'm using warehouse | 10:14 |
Benclark006 | is there a later version for nexus 4? | 10:14 |
r0kk3rz | yeah that will be too old for a lot of apps i think | 10:25 |
r0kk3rz | maybe the last release before qt5.6? | 10:26 |
Benclark006 | what release is that? | 10:27 |
r0kk3rz | hmm yeah 2.1 was the qt5.6 upgrade, so all apps compiled on a later sdk wont run for you | 10:29 |
Benclark006 | do you know if there's a build of 2.1 for nexus 4? | 10:30 |
Benclark006 | preferably with a working camera | 10:31 |
r0kk3rz | no idea | 10:32 |
r0kk3rz | i havent heard anything about that device for a long time | 10:32 |
Benclark006 | alright | 10:32 |
Benclark006 | i'll take a look around | 10:32 |
Benclark006 | thanks for the help though | 10:32 |
r0kk3rz | if you want to take a shot at upgrading it, let us know | 10:35 |
Benclark006 | how would you go about that? | 10:39 |
r0kk3rz | mostly run through the HADK again, for a device that old | 10:41 |
r0kk3rz | s/old/outdated | 10:41 |
r0kk3rz | theres bound to be required kernel changes, patterns changes, config changes .etc | 10:42 |
Benclark006 | i'll take a look | 10:42 |
mal | r0kk3rz: probably would be quite simple to build by experienced porters, I think for me it would very simple and quick to make a test | 10:43 |
r0kk3rz | mal: sure, but usual caveats apply eg. time, effort, motivation, access to hardware | 10:44 |
mal | r0kk3rz: I'm pretty sure I could blindly build a working image for that | 10:48 |
r0kk3rz | yeah its not so bad with willing and hopefully competent testers | 10:49 |
kimmoli | smells like a challenge (accepted)? | 10:53 |
mal | r0kk3rz: that is the problem, finding people to test | 11:16 |
Benclark006 | I can test if needs be | 11:34 |
Benclark006 | yeah 2.1 fixes the problem but gsm and camera doesn't work on the build I installed | 11:49 |
Benclark006 | I'll try building one for myself | 11:50 |
T4 | JaKonator was added by: JaKonator | 12:11 |
*** ChanServ sets mode: +v T4 | 14:38 | |
Umeaboy | mal: I still can't build passed 7% when it comes to hybris-hal. My PR hasn't been merged yet. | 17:21 |
mal | so what is the build issue? | 17:22 |
mal | Umeaboy: hybris-boot has quite a backlog of PRs | 17:22 |
Umeaboy | mal: https://pastebin.com/DFCMQqPV | 17:24 |
Umeaboy | I have added the mount points locally, but it still fails with the same error. | 17:24 |
Umeaboy | Is there a workaround? | 17:28 |
Umeaboy | Until the PR at least get merged. | 17:28 |
r0kk3rz | did you do what birdzhang[m] told you? | 17:30 |
r0kk3rz | its failing because you botched the sed syntax | 17:30 |
Umeaboy | Added the missing "$@" in the fixup_mountpoints file, but it still ends up with the same. | 17:40 |
Umeaboy | r0kk3rz: ^^ | 17:40 |
r0kk3rz | something must still be wrong with it then | 17:42 |
Umeaboy | I ran it through shellscheck and there are no errors in it. | 17:44 |
Umeaboy | shellcheck | 17:44 |
r0kk3rz | well its not going to give you a sed error for no reason :P | 17:45 |
Umeaboy | Yeah, but I think it's caused by "FAILED: out/target/product/maple/obj/ROOT/hybris-boot_intermediates/init | 17:45 |
Umeaboy | " | 17:45 |
r0kk3rz | no | 17:46 |
r0kk3rz | i found it | 17:46 |
r0kk3rz | https://github.com/mer-hybris/hybris-boot/pull/157/files#diff-088581b2b95922dfc7a1f12ef8de3ba7R245 | 17:47 |
Umeaboy | I read that line, but I still don't see any problem with it. | 17:49 |
r0kk3rz | keep reading it until you do | 17:50 |
r0kk3rz | btw, when debugging hal build issues, its useful to remote the -j4 | 17:51 |
r0kk3rz | remove | 17:51 |
Umeaboy | It's I see it. I must be tired. | 17:51 |
Umeaboy | Sorry. | 17:51 |
Umeaboy | Yaaaaaaay! | 17:58 |
Umeaboy | Building passed 7%. | 17:58 |
Umeaboy | Gotta go. I'll be back later tonight when the build is done and when I've tested to boot the image. | 18:10 |
*** ChanServ sets mode: +v T4 | 20:02 | |
Umeaboy | mal: The build of hybris-hal was successful. | 23:36 |
Umeaboy | Just boot it from Fastboot? | 23:36 |
Umeaboy | Or do I just install it in TWRP? | 23:39 |
mal | Umeaboy: do you have an aosp image already, of course you can test the kernel like that | 23:39 |
Umeaboy | No AOSP image. I have a zip for Lineage 15.1 though. | 23:40 |
Umeaboy | I only have AOSP 7.1.2 when you told me to build 8.1.0 which failed. | 23:41 |
Umeaboy | mal: ^^ | 23:41 |
mal | I built the aosp image but wondering why there is no vendor image in the build | 23:43 |
mal | maybe that device doesn't need one | 23:43 |
Umeaboy | mal: You have to add osd39 repo. | 23:43 |
Umeaboy | obsd39. | 23:43 |
Umeaboy | Sorry. | 23:43 |
mal | Umeaboy: why would I, afaik aosp build should be self-contained | 23:44 |
mal | pioneer build created vendor.img | 23:44 |
Umeaboy | OK. | 23:45 |
Umeaboy | https://developer.sony.com/file/download/software-binaries-for-aosp-oreo-android-8-1-kernel-4-4-yoshino-v15/ | 23:47 |
Umeaboy | Unpack that. There should be a vendor in it. | 23:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!