Friday, 2019-01-04

T4<It_sMike> Thanks a lot mal for your helps and your time :) … Hope that I can pay them one day … droidmedia just has been fixed with those lines00:04
T4<It_sMike> Goodnight everyone....00:04
malUmeaboy: did you use tagged manifest for hybris 8.1 build?00:13
malbecause that manifest would have worked00:13
Umeaboymal: No I didn't.00:14
malUmeaboy: there is tagged manifest also for 8.1 r4700:14
T4<linusdan> What is the most stable branch to build the sailfish: 12.1, 13.0 or 14.1? … 15.1 does not appear to be complete01:22
Umeaboy<linusdan>: Whatever branch your phone uses.02:45
UmeaboyYou can build using AOSP as I do as well if there's not any official release of Lineage out for your device.02:46
UmeaboyIn general I'd say that 7.1.2 of AOSP is pretty stable. At least for my Sony phone.02:47
UmeaboyWhich device is it?02:48
T4<linusdan> Is the Galaxy SII (i9100) … I tried with the branch official (14.1) but the boot didn't work, is on the samsung. I will try with an older branch (hybris-12.1).02:50
Umeaboymal: Maybe we should add the part about using the tagged manifest when syncing the hybris-aosp repo?02:52
UmeaboyIt builds fine now.02:52
Umeaboy<linusdan> I used to have that phone.02:52
UmeaboyPretty OK for being way to old.02:53
*** ChanServ sets mode: +v T402:53
UmeaboyWow! This time it fixed the mount points. I'm glad I remembered to edit the fixup-mountpoints file in time :)02:55
T4<linusdan> :)02:57
T4<linusdan> Might that be? I'm going to see. … I'm using the tag instead of the r36 AOSP r29 to take advantage of security updates.02:59
mal@linusdan if te device does't boot o first attempt, that is not a reason to change android base, you probably didn't read the 14.1 porting notes from faq03:10
T4<linusdan> Had read before, but forgot the link after compiling! Thanks for the warning!03:20
Umeaboymal: Why are there so many messages about the VNDK Abi being broken?03:51
UmeaboyBuild completed successfully.03:54
UmeaboyCan I get the link to your system.img for 8.1.0 again? I checked the logs for this chat, but can't find it.04:01
UmeaboyI checked over a week back.04:01
UmeaboyBtw...... Check the value of TARGET_KERNEL_CONFIG under $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk yeilds no row about TARGET_KERNEL_CONFIG AFAICS.04:16
UmeaboyIt seems to be missing from BoardConfig.mk04:16
UmeaboyYes, it is in fact missing.04:24
UmeaboyI compared the BoardConfig that sonyxperiadev has and the one that CarbonROM has and in the there's a line for the defconfig.04:25
UmeaboyI just made a PR to add it:
*** ChanServ sets mode: +v T408:09
piggz_mal: added some info to the FAQ re BCMDHD sleep/suspend09:39
T4<MarcoDS_bit> Btw, I'd like to know, is there anyone that has successfully built hybris-15.1 without being mad? Because I followed exactly the guide but hey I'm having tons of errors and none knows how to solve them10:03
r0kk3rzthe errors are usually in the device specific bits10:06
Umeaboyr0kk3rz: Which file should I look in to the maple defconfig for the kernel I can find that a certain value is unset.10:26
UmeaboyThe kernel check line told me that it's unset.10:26
piggz_the config is specified in the bourdconfig.mk10:26
Umeaboyinclude device/sony/yoshino/PlatformConfig.mk10:29
piggz_look there then10:31
r0kk3rzit should be fairly obviously named in the usual defconfig place in kernel10:32
Umeaboyr0kk3rz: I checked in that an it's set to be used.10:33
r0kk3rzwhich option is it?10:34
r0kk3rznot all kernels have all the options10:34
UmeaboyThat's just a WARNING, but it says underneath: Comment says: Mer uses ext4 as rootfs by default10:39
malUmeaboy: I originally sent the system.img link to you in private message10:41
UmeaboyOooooh, yeah. Sorry, forgot.10:41
UmeaboyAnd the history is cleaned. ;(10:42
r0kk3rzhmm those ones should be set already10:43
r0kk3rzcheck the out config10:44
Umeaboyr0kk3rz: Sorry. The Out config? Checking in /home/kristoffer/hadk/out/ and there's no config.10:52
UmeaboyAaaaaah. It was hidden....10:52
malUmeaboy: did you get the link now?10:53
UmeaboyCan't open  ./out/target/product/g8142/obj/KERNEL_OBJ/.config: No such file or directory at hybris/mer-kernel-check/mer_verify_kernel_config line 58.10:54
UmeaboyI think I need to start over because there's no g8142 directory in /home/kristoffer/hadk/out/target/10:57
UmeaboyOnly the directory called maple.10:57
UmeaboyThe codename is maple so I thought I should use it when creating the hadk.env..10:57
malUmeaboy: it should be maple in that folder11:01
malthe lunch codename and out codename are different in sonys11:02
malso you use maple in hadk.env11:02
UmeaboyWhere should I find the config file that r0kk3rz was talking about then?11:03
maland if you check droid-hal spec for pioneer in mer-hybris (in nile repos) it has lunch_device (which is used in jolla OBS builds)11:03
malobviously kernel/sony/msm-4.4/kernel/arch/arm64/configs/aosp_yoshino_maple_defconfig11:05
mala simple check of config folder in kernel would have told you that11:06
UmeaboyI did check there.11:06
UmeaboyCONFIG_EXT4_FS still says y though.11:07
UmeaboyEven though the kernel check line says it isn't.11:08
malsome flags have extra dependencies11:08
UmeaboyCONFIG_DEVTMPFS is missing completely from the defconfig.11:14
UmeaboyI used the search function in Pluma.11:14
UmeaboyIs it OK to add the missing lines and rebuild?11:19
UmeaboyOr will that ruin anything?11:20
malUmeaboy: how about you just look at the changes done to pioneer defconfig and basically copy those11:21
malUmeaboy: if you still haven't understood that if something is missing from defconfig you add it11:22
T4<adampigg> umeaboy: remember, you make changes to teh defconfig, the checked checks the 'compiled' version in the out/ folder tree, and you can look for dependencies by looking in the Kconfig files12:46
T4<linusdan> Umeaboy: Certainly there is a lack of dependence. Check and enable for compilation to work.12:53
T4<linusdan> Search here:
T4<adampigg> mal, other than random mac address, what else would cause the need to re-enter password each time connecting to a network after reboot13:22
T4<eugenio_g7> connman at least assigns a different id at every boot13:26
T4<eugenio_g7> (I have /var/lib/connman full of directories every one containing details of my AP)13:26
T4<eugenio_g7> the mac address seems right though, even if I'm not sure I remember it correctly13:27
T4<eugenio_g7> I wonder what would happen if we made the module built-in (as it was before)13:29
r0kk3rzwhen is the module loaded?13:31
T4<eugenio_g7> not sure, I could try adding it in /etc/modules-load.d and instruct systemd to connman after systemd-modules-load.service13:35
T4<eugenio_g7> systemd to start connman*13:37
mal@adampigg usually it's because of random mac, not sure what else could cause the problem, except mayube file permissions where it stores the aps14:12
*** ChanServ sets mode: +v T414:43
kimmolicheck whats in /var/lib/connman ? files should be wifi_$yourmac$_...15:55
T4<adampigg> i tried adding Before=connamn.servce to the wlan module load service, but no change16:28
T4<adampigg> kimmoli, mal, the files there dont match my mac ... so, i guess its chaning the mac at some point16:31
T4<adampigg> ah, hang on, the wlan module load service fails....16:33
T4<adampigg> interesting.....18:27
T4<adampigg> if i mask connman, the wlan device has the wrong mac address on startup18:27
T4<adampigg> after unmasking and starting connam, it has the correct one18:28
T4<adampigg> so, I need to fix that on its own, it is random18:28
T4<adampigg> right, so wifi_platform_get_mac_addr is only called on attach, not on module load18:39
T4<adampigg> ie, whenever connma starts18:39
T4<adampigg> oh, it also calls that function earlier18:44
T4<adampigg> @eugenio_g7 on the plus side, im finding the suspend stats pretty good19:30
T4<eugenio_g7> Cool! Haven't tried yet, but will probably later in the night19:45
*** ChanServ sets mode: +v T420:08
T4<adampigg> i guess /config is nout mounted yet22:07
T4<adampigg> [    7.753861] wifi_get_external_mac_addr reading /config/wifi/mac.txt … [    7.753921] wifi_get_external_mac_addr: unable to open /config/wifi/mac.txt22:07
T4<adampigg> hmmmm, i start the wlan module load after droid-hal-init, but fs_mgs has still not mounted /config22:50
T4<adampigg> even if i stick sleeps in the execstartpre22:50
T4<adampigg> does fs_mgs mount on access?22:50
T4<adampigg> mal ^^ ?22:51
T4<adampigg> i guess i could change those mounts to systemd ones22:51
mal@adampigg which mounts fail, you can probably ignore some23:01
T4<adampigg> Mal, the mounts work fine, its /config which contains the mac address23:02
T4<adampigg> Always mount after needed23:02
T4<adampigg> But it is mounted by android fs_mgr, not systemd23:03
T4<eugenio_g7> uh, that's why I don't have /config mounted!23:05
mal@adampigg why is there no mount service for it, is it fstab or some .rc file?23:07
T4<adampigg> Mal, an rc23:33
T4<adampigg> mal, no, im wrong, fstab23:47
T4<adampigg> mal, also, it looks like android tries to load the module too
T4<adampigg> after waiting for /config to be available23:48
T4<adampigg> but,this will likley fail as ro.modules.location is not correct for our kernel modules23:49
UmeaboyAll jokes aside, what can I do if I got a brand new Xperia XA2 and the Service Menu says that unlocking the bootloader is set to Yes, but in the Developer Options I can't swipe to unlock it.23:51
mal@adampigg check that dhd build is not skipping the config mount and therefore not creating the mount service23:51
UmeaboyIt came with
UmeaboyDo I update if there is one?23:52

Generated by 2.17.1 by Marius Gedminas - find it at!