Friday, 2018-12-28

malUmeaboy: I thought you were only going to build hybris-hal? not the android image00:42
Umeaboymal: 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
UmeaboyI 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
malno, that common kernel is the prebuilt kernel00:53
malyou take all but the common kernel from that, and then stuff from other local manifest files of course00:54
mallet me know when you have built the sfos image and I'll give a link to prebuilt android images00:56
Umeaboymal: Just asking, but isn't it wiser to build kernel 4.9 instead of 4.4?01:19
maluse 4.401:33
malxa2 port uses 4.4 so better use the same01:33
UmeaboyOK. The guide to follow here doesn't really work to get the ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu working.02:04
UmeaboyI think I've missed something, but I went through the page row by row.02:04
UmeaboyHABUILDSDK and PlatformSDK works though.02:05
*** ChanServ sets mode: +v T402:08
UmeaboySorry. My bad. I hadn't done the entire chapter 4. :)02:22
UmeaboyHmmmmmm. 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
Umeaboyfatal: cannot obtain manifest git://
UmeaboyAnyone who knows of an easy fix?02:40
Umeaboymal: I don't know how to solve this really.02:43
UmeaboyI checked that every character in that link is correct.02:44
UmeaboySorry. My bad again. I thought I checked every character but apparently I didn't.02:50
UmeaboyRepo initialised.02:50
UmeaboyI see we're behind a couple of branch numberings.03:21
UmeaboyLatest official branch for aosp 8.1.0 is 52.03:21
UmeaboyI hope that doesn't matter when the hybris image has been built.03:21
Umeaboymal: Bad news! I got to 7% of the make -j4 hybris-hal command04:53
UmeaboyAn error about wrong mount points.04:53
UmeaboyI'd be so happy if someone could merge this PR:
UmeaboyThis will prevent me from getting the mount point issue.05:17
UmeaboyI'll test and see if it works.05:21
UmeaboyNope. It still fails at 7%.05:46
UmeaboyHere's the full output:
UmeaboyThere is an error in the file in on line 74, but I'm really not sure how to actually make the fix.06:07
UmeaboyI'll come back later today when I've slept. Tired, so tired.....06:46
T4<BirdZhang> line 260-26406:48
T4<BirdZhang> Fixing mount-points for device maple06:48
T4<BirdZhang> sed: -e expression #9, char 59: unterminated `s' command06:49
*** ChanServ sets mode: +v T408:35
Benclark006hi again10:09
Benclark006i'm having some more problems10:10
Benclark006zypper refresh works now but when i try to install some apps from openrepos i get this here error10:10
T4<BirdZhang> what's your sfos version ?10:11
malmaybe the sailfish version the device has is too old10:11
T4<BirdZhang> use warehouse or older storeman10:13
Benclark006i'm using warehouse10:14
Benclark006is there a later version for nexus 4?10:14
r0kk3rzyeah that will be too old for a lot of apps i think10:25
r0kk3rzmaybe the last release before qt5.6?10:26
Benclark006what release is that?10:27
r0kk3rzhmm yeah 2.1 was the qt5.6 upgrade, so all apps compiled on a later sdk wont run for you10:29
Benclark006do you know if there's a build of 2.1 for nexus 4?10:30
Benclark006preferably with a working camera10:31
r0kk3rzno idea10:32
r0kk3rzi havent heard anything about that device for a long time10:32
Benclark006i'll take a look around10:32
Benclark006thanks for the help though10:32
r0kk3rzif you want to take a shot at upgrading it, let us know10:35
Benclark006how would you go about that?10:39
r0kk3rzmostly run through the HADK again, for a device that old10:41
r0kk3rztheres bound to be required kernel changes, patterns changes, config changes .etc10:42
Benclark006i'll take a look10:42
malr0kk3rz: probably would be quite simple to build by experienced porters, I think for me it would very simple and quick to make a test10:43
r0kk3rzmal: sure, but usual caveats apply eg. time, effort, motivation, access to hardware10:44
malr0kk3rz: I'm pretty sure I could blindly build a working image for that10:48
r0kk3rzyeah its not so bad with willing and hopefully competent testers10:49
kimmolismells like a challenge (accepted)?10:53
malr0kk3rz: that is the problem, finding people to test11:16
Benclark006I can test if needs be11:34
Benclark006yeah 2.1 fixes the problem but gsm and camera doesn't work on the build I installed11:49
Benclark006I'll try building one for myself11:50
T4JaKonator was added by: JaKonator12:11
*** ChanServ sets mode: +v T414:38
Umeaboymal: I still can't build passed 7% when it comes to hybris-hal. My PR hasn't been merged yet.17:21
malso what is the build issue?17:22
malUmeaboy: hybris-boot has quite a backlog of PRs17:22
UmeaboyI have added the mount points locally, but it still fails with the same error.17:24
UmeaboyIs there a workaround?17:28
UmeaboyUntil the PR at least get merged.17:28
r0kk3rzdid you do what birdzhang[m] told you?17:30
r0kk3rzits failing because you botched the sed syntax17:30
UmeaboyAdded the missing "$@" in the fixup_mountpoints file, but it still ends up with the same.17:40
Umeaboyr0kk3rz: ^^17:40
r0kk3rzsomething must still be wrong with it then17:42
UmeaboyI ran it through shellscheck and there are no errors in it.17:44
r0kk3rzwell its not going to give you a sed error for no reason :P17:45
UmeaboyYeah, but I think it's caused by "FAILED: out/target/product/maple/obj/ROOT/hybris-boot_intermediates/init17:45
r0kk3rzi found it17:46
UmeaboyI read that line, but I still don't see any problem with it.17:49
r0kk3rzkeep reading it until you do17:50
r0kk3rzbtw, when debugging hal build issues, its useful to remote the -j417:51
UmeaboyIt's I see it. I must be tired.17:51
UmeaboyBuilding passed 7%.17:58
UmeaboyGotta 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 T420:02
Umeaboymal: The build of hybris-hal was successful.23:36
UmeaboyJust boot it from Fastboot?23:36
UmeaboyOr do I just install it in TWRP?23:39
malUmeaboy: do you have an aosp image already, of course you can test the kernel like that23:39
UmeaboyNo AOSP image. I have a zip for Lineage 15.1 though.23:40
UmeaboyI only have AOSP 7.1.2 when you told me to build 8.1.0 which failed.23:41
Umeaboymal: ^^23:41
malI built the aosp image but wondering why there is no vendor image in the build23:43
malmaybe that device doesn't need one23:43
Umeaboymal: You have to add osd39 repo.23:43
malUmeaboy: why would I, afaik aosp build should be self-contained23:44
malpioneer build created vendor.img23:44
UmeaboyUnpack that. There should be a vendor in it.23:47

Generated by 2.17.1 by Marius Gedminas - find it at!