Wednesday, 2018-06-27

MeowDudeI have successfully built hybris-hal on hybris-10.1 branch of sailfish OS for Galaxy Nexus00:03
MeowDudebut rpm is giving error: ./system/core/mkbootimg/mkbootimg /home/sailfish/installroot/something no such file or directory (paraphrased obviously, I am not at my computer at the moment)00:05
MeowDudewow not a single samsung device has a working camera in it's port : (00:17
TAMplus39Hi people, Im having trouble enabling kernel modules: Do I need to enable more kernel flags?00:35
*** ubuntu is now known as Guest9659501:55
*** ubuntu_ is now known as zhxt02:40
shark1so here Iam trying to debug hybris-15.1 based port :p06:35
shark1This is my dmesg systemctl and journalctl
shark1Someone help please if you have seen similar instances before ^^06:38
shark1and test hw composer returns test_hwcomposer: test_hwcomposer.cpp:171: int main(int, char**): Assertion `err == 0' failed.06:40
shark1and I get this when I try to run logcat06:42
shark1bash: /usr/libexec/droid-hybris/system/bin/logcat: /system/bin/linker64: bad ELF interpreter: No such file or directory06:43
shark1so I see "couldnt find opengl ES implementation" in  journalctl, that seems to be the problem07:02
shark1but there is libEGL in usr/libexec/droid-hybris/system/lib/libEGL.so07:09
sledges@abhishek_0, Mr_Doge: done:
sledgesvknecht: done:
sledgesUpdated HADK draft for your review: Diff with 2.0.1:
sledgesSailfish X porting aligned with 2.2.0: Diff with previous:
sledgesupdate your dhd and configs submodules! ^^ :)07:22
Mister_Magistersledges: are there some instructions on using sfos x for differrent device than xperia x?07:31
shark1hi Mister_Magister : did you try hybris-15.1 based port?07:35
shark1ohk Iam doing now. No gui yet07:36
Mister_Magisterdoes it concern me in any way?07:37
shark1I dont know if it does07:38
r0kk3rzwow sledges peeks out of the batcave07:38
Mister_Magistershark1: why are you telling me that then?07:39
Mister_Magisterr0kk3rz: kinda xD07:39
Mister_Magisterback in the day he was there07:39
shark1Mister_Magister : Coz I dont know if does, if it does. Its a 50-50 chance so07:40
r0kk3rzMister_Magister: ffs shark1 is just asking for help :P07:41
shark1r0kk3rz : got me :p07:41
Mister_Magisterr0kk3rz: huh07:44
Mister_Magisterwanted to say "why do i care" but wanted to be nice for once07:44
r0kk3rzso nice07:45
Mister_Magisterr0kk3rz: right? *angel*07:46
r0kk3rzshark1: you need to wait for mal most likely, nobody else has done a 15 based port yet07:48
shark1yes waiting for him :p07:48
shark1but it seemed simple, I see in history logs also that Opengl Implemention not found so thought if someone knew07:49
shark1but couldnt see a clear resolution in old channel logs07:50
r0kk3rzthat one i fixed by nuking my libhybris folder07:50
r0kk3rzwhich is why i told you do that07:50
r0kk3rzcheck it builds without that PR07:51
shark1I mean07:51
shark1On device07:51
shark1while booting07:51
shark1It has been built succesfully07:51
r0kk3rzoh right, thats probably fine then07:51
r0kk3rzshark1: you are in first telnet?07:53
shark1if you mean by pre init07:54
shark1Iam in telnet, everything seems to be fine07:54
shark1 journalctl07:54
shark1except that  "couldn't find an OpenGL ES implementation"07:55
r0kk3rzare you serious? that log looks really really unhappy07:55
r0kk3rzbut which telnet, 23 or 2323?07:56
shark1r0kk3rz : well lots of kernel stuff which relly doesnt seem to tell much07:56
shark1and dmesg looks fine07:57
shark1dmesg systemctl
KsenZHi all!07:58
shark1KsenZ hi07:59
r0kk3rzshark1: your DHI is throwing lots of errors07:59
piggzsledges: busy morning catching up on twitter?08:03
KsenZif I have a blocked bootloader, and custom kernels are installed via kexec. how can i flash hybris-boot?08:03
piggzmal: ugh, must remember to 'make backports' after a make08:05
r0kk3rzKsenZ: im not sure you can08:05
shark1KsenZ: y dont you unlock the bootloader?08:07
shark1r0kk3rz : yes but droid-hal-init looks fine08:07
shark1untill the beginning of lipstick08:08
KsenZUnfortunately this is not possible08:08
shark1or that Opengl08:08
r0kk3rzit doesnt look that fine to me08:08
r0kk3rzunless that device regularly spits garbage :)08:08
shark1oh, you know more about this, you should be right then :p08:08
shark1KsenZ probably you can flash using kexec and then reboot o_O08:10
shark1coz kexec means flashing kernel without reboot08:10
shark1and to get UI of sailfish you would have to reboot08:10
r0kk3rzyeah but you need to flash more than just the kernel08:10
r0kk3rzyou need to flash the initramfs08:10
shark1KsenZ : Which device is that, I always thought every bootloader is unlockable08:12
shark1except those of encrypted which are difficult08:12
KsenZMotorola RAZR (XT910)08:13
KsenZif I replace kernel and ramdisk.img in CM firmware? after flash this CM and sailfish08:16
r0kk3rzwhat? theres plenty of unlockable bootloaders :P08:17
r0kk3rzparticularly on older devices08:17
shark1KsenZ did you check on XDA?08:17
malpiggz: yep, that's easy to forget08:18
piggzmal: wondering this morning why my phone rebooted when making a call from the car, then remembered08:19
malshark1: you need to use the surfaceflinger method in hybris-15.108:21
malshark1: also check the nile config repo on mer-hybris for some hints what you need08:21
r0kk3rzmal: oh? do we need a hybris fix?08:21
shark1mal : ok08:21
malr0kk3rz: no hwcomposer2 support in sailfish yet08:22
r0kk3rzah hwcomposer208:22
pseudodevPlatformSDK bash-3.2$ ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu08:36
pseudodevbash: ubu-chroot: command not found08:36
mkosolapseudodev: if you have 2.2.0 sdk please install android-tools-hadk08:36
piggzmal: what osc commands do you use to replace a package rpm?08:45
piggzeg, droid-hal-...08:45
piggzi always resort to the gui, but it must be faster with osc!08:45
malpiggz: first osc up to download the rpms, then replace the rpms with correct ones and remove old, then osc ar and finally osc ci08:49
piggzmal: ah, ar is the key08:50
pseudodevsudo: unable to resolve host pseudodev-Inspiron-557708:53
pseudodevbash: /u01/app/oracle/product/11.2.0/xe/bin/ No such file or directory08:53
pseudodevbash: warning: here-document at line 1 delimited by end-of-file (wanted `EOF')08:53
pseudodevwhy this now?08:54
malwhat are you trying to run08:55
T4<abhishek_0> pseudodev ignore that hosts error... but if you still want to get rid of it add pseudodev-Inspiron-5577 as localhost in your hosts file08:55
pseudodev ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu08:55
pseudodevit doesnt go into chroot08:56
pseudodevthats the issue08:56
pseudodevit shows that message08:56
pseudodevand then exits sdk environment08:56
malare you sure the files you created in chapter 4.1 are ok?08:58
branekAs one who recently started work on porting, I saw one issue with manual. On in Quick start section, there are two lines:09:05
branekecho 'PS1="PlatformSDK $PS1"' > ~/.mersdk.profile ;09:06
branekecho '[ -d /etc/bash_completion.d ] && for i in /etc/bash_completion.d/*;do . $i;done'  >> ~/.mersdk.profile ;09:06
branekbut first line will overwrite .mersdk.profile created in chapter 4.1 of HADK.09:06
branekecho 'PS1="PlatformSDK $PS1"' > ~/.mersdk.profile ; (watch for double >>)09:07
malsledges: ^09:10
pseudodevbranek: That thing existed since a very long time09:11
pseudodevmal: yes09:12
malpseudodev: show those just in case09:14
T4<abhishek_0> it requires community-adaptation09:29
malyou are missing common repo from OBS dependencies in here check for example
T4<abhishek_0> ah! thanks09:36
shark1mal : So I have to follow "surfaceflinger-hack" and not " Alternative to lipstick-hack (aka surfaceflinger-hack)" right?09:39
shark1coz I got things from "Nile" but Iam confused which one of those two it is09:39
maljust follow that09:41
shark1just follow everything in Nile09:42
shark1and not required to do anything to "frameworks"09:42
shark1Like in "line 159" of faq-hadk09:42
malno idea what you are talking about09:43
shark1ok I will just follow Nile09:43
T4<abhishek_0> lbt , lbt- please patterise nemo:testing:hw:wingtech:wt8804709:44
malI don't understand, you can't just follow that, there is no instructions09:44
shark1I meant if I need to follow procedure mentioned in
malI think that is not the same thing09:45
malthat is something completely different09:46
shark1ok, that was my doubt.09:47
shark1Now i got it.09:47
malthere were some instructions somwwhere but can't remember where09:47
malthere should not be any need to patch android side, only proper configs and patterns09:48
shark1ok I will make those following Nile then09:48
KsenZI found port sailfishos on the phone which also blocked the bootloader10:00
KsenZthere simply changes the kernel and ramdisk in kexec folder10:02
r0kk3rzKsenZ: then talk to NeKit about whatever magic he conjured10:02
KsenZpackage_extract_file("kernel", "/system/etc/kexec/kernel") package_extract_file("ramdisk.img", "/system/etc/kexec/ramdisk.img");10:02
r0kk3rz"SailfishOS install/init scripts were modified to allow booting from secondary slots and safe rom slot. "10:03
KsenZI tried to do the same, but get black screen10:03
r0kk3rzdo you get telnet?10:14
lbtnemo:testing:hw:wingtech:wt88047 is patternised10:20
*** nit| is now known as nit10:22
T4<abhishek_0> lbt it is not :') .. last time you patternised was devel not testing :P10:45
* lbt clarifies: nemo:testing:hw:wingtech:wt88047 is *now* patternised :)10:45
*** kenzo_ is now known as n00b10:59
*** n00b is now known as Guest21511:00
ph0n3Hi guys what is currentl the best phone  to isntall sailsfish?11:08
T4<abhishek_0> ph0n3 sony xperia x11:10
piggzxiaomi rn4 ;)11:16
T4<abhishek_0> maybe  redmi 5 or redmi 2 :P11:17
ph0n3is sailfish stripped of google services?11:23
r0kk3rzsailfish is not android, so yes11:23
ph0n3oh good :] hmm what abput apps for example would banking app work allright on it?11:24
r0kk3rzsome do, some dont11:25
r0kk3rzbut you need the android runtime installed11:25
T4<abhishek_0> i dont see _pattern in nemo:testing:hw:wingtech:wt8804711:25
ph0n3i use apps like signal wire tutanota here maps do they work well11:25
mal@abhishek_0 trigger rebuild of config package11:27
ph0n3I use a standard android phone now but im trying to switch away from google11:27
kolobo4ekI'm trying to get sources. Type "repo sync --fetch-submodules". At 99% I get this error11:57
kolobo4ekfatal: read error: Connection reset by peer11:57
kolobo4ekfatal: early EOF11:57
kolobo4ekfatal: index-pack failed11:57
kolobo4ekerror: Cannot fetch mer-hybris/android_frameworks_base11:57
kolobo4ekerror: Exited sync due to fetch errors11:57
T4<abhishek_0> kolobo4ek try without --fetch-submodules ..12:01
kolobo4ekI tried. Got same errors.12:03
Guest215Can someone tell me what modifications are done to ubuntu base to get that ubuntu trusty rootfs? I want to compile sfos based on lineage 15.112:18
ph0n3does anyone use lineage os without google services?12:21
shark1Guest215 : No need to use it12:21
shark1if you have Ubuntu 1612:21
shark1It builds fine on it12:21
Guest215shark1: i have ubuntu 18.04, what steps do i need to change in hadk?12:22
shark1Guest215 : You probably dont need to change anything, chroot into rootfs is done to eliminate errors due to differences between different OS12:23
shark1Since Ubuntu is pretty standard, I think you wouldnt need.12:24
shark1Anyway what is the issue with just using the one given in hadk?12:24
shark1Guest215 : use sdkman to install jdk812:25
shark1and remember to pull latest PR's which are currently unmerged. And also lineage15.1 needs surfaceflinger12:25
Guest215thank you12:26
shark1Guest215 : No problem. Which device btw?12:27
Guest215Shark1: kenzo12:28
Guest215Redmi Note 312:29
shark1okay cool12:46
branekAh... still no luck to get 4.4 to boot on oneplus 5T...13:12
branekdepmod: WARNING: could not open /home/branek/hadk/out/target/product/dumpling/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.order: No such file or directory13:14
branekdepmod: WARNING: could not open /home/branek/hadk/out/target/product/dumpling/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.builtin: No such file or directory13:14
branekis it safe to ignore two lines above? ^13:14
*** rez is now known as Guest5576013:17
Guest55760Hi everyone, has anyone tried to port Sailfish to LG G5?13:18
shark1mal : I added surfaceflinger, journalctl shows "msurfaceflinger.service: Failed with result 'exit-code'"13:24
shark1Is there anyway I can find out what is failing?13:25
shark1dmesg journalctl
shark1one thing is dmesg is very short13:25
shark1i dont know why13:25
r0kk3rzshark1: run it manually? strace?13:31
shark1strace surfaceflinger?13:32
shark1bash: /system/bin/surfaceflinger: No such file or directory13:32
shark1when I run /system/bin/surfaceflinger13:33
malare mounts ok13:35
shark1yes mounts are fine13:35
r0kk3rz^^/usr/bin/droid/ line 6: /system/bin/start: No such file or directory13:35
r0kk3rzthats your problem :P13:35
shark1r0kk3rz there seems to be no /system13:37
malwhat the hell is
shark1mal: That is there in droid-config-Nile13:37
r0kk3rzno /system sounds like mount issues doesnt it :P13:38
malare you sure you used correct version on dhd submodule?13:38
malbecause there is some funny stuff with /system in android 8, do you have /system_root?13:39
shark1no I dont have /system_root13:39
shark1let me check once anyway13:40
malwhat device is that?13:41
shark1Le Max213:41
malshark1: check /lib/systemd/system for system.mount service or other mount stuff13:41
malpeople should stop using actual device names, it's annoying trying to find the codename13:42
shark1ok I will always mention codename13:43
shark1actually there is no system.mount service in /lib/systemd/system13:45
shark1and this is systemctl
malbecause there was no /system or / mount in fstab13:46
malwondering which fstab it was using13:47
shark1how can I find that?13:48
shark1ohk so my lineage os fstab doesnt have /system :p13:49
maldid you have any issues with fstab when you were building13:49
malwondering how it only found one fstab when there are more than one13:53
shark1mal : yes, in recovery and in root13:57
shark1Should I add /system to the one in root then?13:58
malanyway it's trivial to fix that just add back the mount point
malbut first check the content of the /system on your device13:58
shark1actually there is no system.mount for nile also13:58
malshark1: mount services are autogenerated13:58
malfrom fstab and other places13:59
malso first mount the /system manually and check if it has folder system in it with the actual system libs stuff13:59
shark1mal: yes it does have14:00
shark1I checked through twrp14:00
shark1so I will add mountpoint and rebuild14:02
malshark1: that affect what mount point you should add14:04
malif system partition is really supposed to be the root then adding it as /system won't work14:05
malbetter test on device first14:05
shark1mal : how to mount manually?14:05
shark1mount command?14:06
shark1or something different for sfos?14:06
malso create a system.mount service based on some other mount service (don't forget to enable it)14:06
malor mount it manually, that is also one way14:06
malbut anyway you need to find out if that should be /system or /, latter is specially handled in build14:08
malfor example here you see an example of a device which has /
shark1mal : I tried to "mount dev/sde19 /system , it says "mount point does not exist"14:19
malhow about creating the target folder?14:19
malit should have been obvious from that error14:20
maland you know such error are easily solvable with a simple web search14:20
shark1oh sorry.14:20
shark1I kind of missed that I dont have target folder14:21
branekmal: I'm stil nowhere close to boot linux on dumpling (oneplus 5T), based on 15.114:43
branekthis is my first touch with android ever, lot more exerienced in embedded linux, buildroot, etc...14:43
branekSo, could you just confirm my steps:14:43
branekfollow HADK to chapter 5.2 - no problem14:43
branekadded dumpling to fixup-mountpoin (chapter 5.3) no problem14:43
branekadded PR you suggested yesterday to hybris-boot14:43
branekbuilt hybris-boot (chapter 5.4) no problem14:43
branekfix kernel .config after checking and applying changes to local git14:44
branekrebuild hybris-boot, at this point I have hybris-boot.img, and hybris-recovery.img14:44
branektried to boot both hybris-boot, or hybris-recovery (fastboot boot hybris-*.img)14:44
branekneither image gives me USB Mer Boat Loader device... just get OnePlus logo, and after 90 seconds device reboot...14:44
branekAre this steps correct? Any suggestion what to check?14:44
maldoes you device use CONFIG_USB_CONFIGFS_QCRNDIS14:47
maldoes it have CONFIG_USB_CONFIGFS_RNDIS14:49
branekno, that is also unset14:50
malthen what rndis does it have14:53
branekhmm.. just CONFIG_RNDIS_IPA=y14:55
malset CONFIG_RNDIS_IPA=n and CONFIG_USB_CONFIGFS_RNDIS=y and see if that helps14:56
branekok.. let me try14:56
shark1mal : where to activate the system.mount service?14:57
shark1I created system.mount14:57
shark1in lib/systemd/system14:57
shark1like other service14:57
mal/etc/systemd/system/local-fs.wants or something like that14:58
malyou do know there is a command called find which can be used to find things, like in this case .mount services14:58
shark1yes I use that14:58
shark1find -name *.mount14:59
vknechtsledges, thank you :-)15:00
vknechtshouldn't packages already be there when asking for patternization ? or it doesn't matter ? I see for devel it was at then end, and for testing it's in the beginning of the set up15:20
vknechtoh well... lbt : please patternize nemo:testing:hw:TCL:idol3 :-)15:26
lbtit doesn't matter - the pattern thing is a lookup table entry15:28
lbtalso - done15:28
vknechtok, thank you a lot :-)15:28
vknechtare we still able to cross-check for webhooks on testing ? the URL brings to which doesn't seem intended for "end users"15:35
branekmal: thanks... it's working... my assumption was that needed gadget driver was already added in android .conf... +1 beer for you16:13
malbranek: it's a matter of having the correct things in init script, it seems there at least 2 or 3 types on configfs configurations and not all seem to work yet in that script16:46
shark1mal: success :p Thank you. Got UI17:05
malshark1: really?17:28
malshark1: that was fast17:29
malshark1: did you use / or /system?17:29
malfor the mount point17:29
shark1I used /system17:31
malso you didn't have system folder in the system partition17:31
shark1and rebuilt and now its fine. Now trying to fix other things. But Iam not getting ssh or telnet17:31
shark1yes didnt have system folder. I have no idea why the dev of linege moved the /system from fstab :p17:32
shark1btw test_sensors returns test_sensors.c:74: main: Assertation 'hwmod!=((void*)0)'17:35
shark1mal : any idea about that? ^^ Iam yet to build gst droid and stuff17:36
maldroidmedia changes for android 8 base have not been merged yet17:37
shark1yes I have seen your PR17:37
malshark1: it depends on whether sensors still have legacy API in use or are only using hidl17:37
malthe error looks like it might have only hidl17:38
shark1ok so is that bad?17:38
malwell we don't have support for hidl stuff yet17:38
shark1oh lol its bad at the moment then. :p17:39
malshark1: can you see any sensors*.so file in some lib or lib64 folders, in /system or /vendor or /odm17:41
shark1mal: is present but dont know if that is used or not17:44
shark1also sensor.ssc.so17:45
malshark1: but in which folder17:51
malshark1: strace test_sensors17:51
shark1ok will strace17:51
malit's a bit of a problem if you only have 64-bit libs for sensors17:52
malor could be17:52
shark1yes it was the problem in 14.1 base17:53

Generated by 2.17.1 by Marius Gedminas - find it at!