Friday, 2019-02-01

*** ChanServ sets mode: +v T402:09
*** OhYash1 is now known as ohyash06:46
HelloPotter_hey there when i am building droid hal, it giving me this error https://paste.ubuntu.com/p/dQVP4JCkfb/08:28
*** ChanServ sets mode: +v T408:48
HelloPotter_its seems like a 64bit error ,and i can't able to figure out08:51
HelloPotter_please help10:43
malHelloPotter_: it says what you need to do, add "%define droid_target_aarch64 1" to droid-hal spec, similarly as is done here https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-pioneer.spec#L1110:44
HelloPotter_@mal now got an other error https://paste.ubuntu.com/p/mPjQkGFfRw/10:55
malHelloPotter_: so now you do what says, the chapter you are doing has some instruction how to solve that, you can see similar fix in the link I gave also, but better read it from hadk pdf10:58
HelloPotter_ok11:00
HelloPotter_@mal hey there i solved that problem, this is just a query https://paste.ubuntu.com/p/zSJdcztVkv/ in here while building libhybris in line 53 to 58, is this normal11:22
HelloPotter_@mal and also get some error https://paste.ubuntu.com/p/PGC4s7Q7ps/11:26
malyes11:34
malgo to hybris/mw/libhybris/rpm and uncomment all lines containing nfc and then run rpm/dhd/helpers/build_packages.sh -b hybris/mw/libhybris11:35
malobviously you go back to $ANDROID_ROOT before that last command11:35
HelloPotter_ok11:35
HelloPotter_@mal there is no directory called libhybris11:47
HelloPotter_@mal there is only community-adaptation directory11:50
malit can also be in external/libhybris11:54
HelloPotter_ok11:55
HelloPotter_yes its there11:56
HelloPotter_@mal should i uncomment both linfc and libnfc-devel or just one of them12:00
malHelloPotter_: uncomment all lines which contain nfc12:04
maland any related lines surrounding those12:04
HelloPotter_yes build succesfull12:09
HelloPotter_@mal did i need middleware now12:09
malobviously12:12
malread the notes about geoclue and sensorfw in faq when doing that, also the part about 15.1 porting12:12
HelloPotter_ok12:13
HelloPotter_@mal hey there just for curiosity i just ran  rpm/dhd/helpers/build_packages.sh without the -b tag and got some error there12:37
HelloPotter_@mal like this pkgconfig(libgbinder-radio) is needed by ofono-ril-binder-plugin-0.0.9-1.armv7hl12:38
HelloPotter_pkgconfig(libgrilio) >= 1.0.26 is needed by ofono-ril-binder-plugin-0.0.9-1.armv7hl12:39
r0kk3rzhmm i wonder why my tabby term stopped tabbing, need to show off productivity enhancements like piggz taskswitcher12:44
r0kk3rzheh, just noticed that taskswitcher doesnt rotate properly12:45
HelloPotter_how can i get pkgconfig(libgbinder-radio12:55
malHelloPotter_: go to hybris/mw/ofono-ril-binder-plugin and run git checkout upgrade-3.0.1 and then go back to $ANDROID_ROOT and run rpm/dhd/helpers/build_packages.sh -b ofono-ril-binder-plugin12:56
HelloPotter_ok13:02
malHelloPotter_: oop last command should be rpm/dhd/helpers/build_packages.sh -b hybris/mw/ofono-ril-binder-plugin13:05
HelloPotter_i know13:05
HelloPotter_so while reading middleware i guess that i need to build sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm ngfd-plugin-native-vibrator13:07
HelloPotter_rpm/dhd/helpers/build_packages.sh --mw=ngfd-plugin-droid-vibrator --spec=rpm/ngfd-plugin-droid-vibrator.spec13:07
HelloPotter_and the qt5 befor  rpm/dhd/helpers/build_packages.sh13:07
HelloPotter_am i right13:17
malHelloPotter_: ignore that13:19
malyou don't have to think about ngfd13:19
HelloPotter_@mal ok so i just do  rpm/dhd/helpers/build_packages.sh only13:20
malbuild it though, but no extra commands needed, normal build_packages.sh will do it13:20
HelloPotter_ok13:20
malnote that if you have built something like geoclue manually you skip those in build_packages.sh run13:20
HelloPotter_@mal you told me to read the notes about geoclue and sensorfw,  did i need to build them manually13:22
malwhat you need to build depends on the version you are building for13:24
HelloPotter_you mean oreo nogut13:24
maland by manual build I mean build_packages.sh -b something13:24
malHelloPotter_: no, sailfish version13:24
HelloPotter_my current version is 3.0.1.11 (Sipoonkorpi)"13:26
HelloPotter_getiing error pkgconfig(connman-qt5) >= 1.0.68 is needed by geoclue-provider-hybris-0.0.1-1.armv7hl13:26
HelloPotter_@mal while building geoclue-provider-hybris13:38
malHelloPotter_: did you build it the way instructed in faq?13:40
HelloPotter_no no it not manual building  i got this error while doing  rpm/dhd/helpers/build_packages.sh13:42
malHelloPotter_: faq clearly says to build it differently for now13:43
HelloPotter_i read and i can't able to understand how to build that13:45
HelloPotter_please tell me how to13:54
malrun the command as mentioned in faq14:01
malit has the exact commands14:01
malthen when you run build_packages.sh without parameters you skip the package there14:02
*** ChanServ sets mode: +v T414:14
HelloPotter_@mal i didn't understand what is the faq or where it is, can you please mention the section number of the doc, like 14.1 or 14.214:54
malHelloPotter_: faq, as linked in topic14:55
malnot part of the pdf14:55
malhttp://bit.ly/faq-hadk14:56
HelloPotter_ok im lokking at now14:57
HelloPotter_so this faq is like some kind of troubleshooting guide15:01
HelloPotter_yes solved the problem15:03
*** OhYash1 is now known as ohyash15:12
HelloPotter_@mal after doing what faq was saild about geo clue i run  rpm/dhd/helpers/build_packages.sh, and then got this https://paste.ubuntu.com/p/B4f5fVtWJH/15:24
malHelloPotter_: I said several times to skip the manually built packages when running build_packages.sh without parameters15:35
HelloPotter_@mal i didn't give any parameteres16:06
malHelloPotter_: what is the problem now? I said if you use build_packages.sh -b for some package then if you run build_packages.sh after that you have to skip the package for which you used -b16:08
HelloPotter_ok i understand now that i have to select n for that package16:25
piggzr0kk3rz: meh ... how often will you task switch and rotate??17:23
piggzuse case is witha  keyboard ... always landscape17:23
HelloPotter_@mal hey there i succesfully created the rootfs , now what should i do now18:08
piggzr0kk3rz: will you be showing off at fosdem?18:12
wdehoogmal: i tried the ideas you gave yesterday (connman and iptables). For bacon it does not help. Still rebooting.18:14
wdehoogmal: also tried to add two commits fairphone has (fpii-2319 and fpii2340). did not help18:15
piggzscenario: i create a project github/piggz/droid-config-latte .... @eugenio_g7 seperately creates github/g7/droid-config-latte, then creates a group and forks that to github/sailfish-on-latte/droid-config-latte .........18:30
piggzhow can i then PR from /piggz/.... to sailfish-on-latte/.... ?18:30
kimmoliafaik you need to merge them first locally, replace one with the combined one18:32
HelloPotter_hey there i succesfully created the rootfs , now what should i do now18:33
piggzkimmoli: ok, i will clone sfos-on-latte, delete my gihib project, then fork it etc .... wondered if there was another way, but, i can see why it would be difficult18:34
malwdehoog: hmm18:35
malHelloPotter_: what do you think you should do? how about installing it? first lineage zip and right after that sailfish zip18:37
T4<elros34> wdehoog: try this: https://github.com/elros34/android_kernel_motorola_msm8960-common/commit/19e8ad0cdcd18d1c91cf3a9cdbce22c651a58cc0 or https://github.com/elros34/android_kernel_semc_msm7x30/commit/25910e89cfdc0967b1e800ee4946e12de500dc8b. Both should prevent leaving stack garbage in offset and avoid crash.18:41
HelloPotter_ok18:41
kimmolipiggz: if you have some common point it could be easier, but on github afaiu you need to be forked to get pr going18:45
kimmolilocally you can use multiple remotes, and cherrypicks whatnot to get your versions in place18:45
HelloPotter_@mal heythere my installation is going now, but one line (output on twrp) make me strange the out put is failed to mount /dev/block/bootdevice/by-name/userdata at /data: Device or resources busy18:56
HelloPotter_@mal is this ok18:57
wdehoogelros34: thanks. the large patch does not apply though. boehoe....18:59
T4<eugenio_g7> piggz, as long as the git commit tree is coherent there shouldn't be issues... I think the easiest way would be to have both remotes locally, create a new branch starting up from sailfish-on-latte's, and then cherry pick your commits from the other branch on top19:01
T4<eugenio_g7> A bit of bash-fu with git log should do the trick19:02
HelloPotter_i was able connect to my device via telnet but when typing devel-su it's requires a password, but i don't know what;s the password is19:02
T4<eugenio_g7> At least I used that approach when I rebased the kernel the other week19:02
HelloPotter_but my uid is root19:02
T4<eugenio_g7> Easier than running git rebase, as the upstream kernel tree is a mess :/19:02
malHelloPotter_: failed to mount is normal message19:03
malHelloPotter_: telnet is root19:03
HelloPotter_but the devel-su needs password19:03
T4<elros34> wdehoog: I have to adapt it little19:03
malHelloPotter_: why would you need devel-su if you already are root?19:03
HelloPotter_that's also my question also but the doc says,19:04
HelloPotter_@mal should i set the RateLimitInterval= to 019:06
malno idea what that is19:09
malhow about you pastebin logs19:10
HelloPotter_u mean the journal logs u want19:10
maldmesg, journalctl and /usr/libexec/droid-hybris/system/bin/logcat19:14
HelloPotter_wait19:14
HelloPotter_@mal journalctl has lot of logs how can i give them to u, dmesg have each time unique out put19:18
HelloPotter_@mal and how can i get the file /usr/libexec/droid-hybris/system/bin/logcat19:20
malall of those are command you run and just copy the output of the command and use pastebin (or some similar service)19:24
HelloPotter_@mal dmesg https://paste.ubuntu.com/p/89Mw64tjVb/19:28
T4<elros34> abranson: maybe I am missing something but how can I have "gstdroidvdec.c:809:gst_droidvdec_configure_state:<droidvdec4> not using droid convert binary" in logs if I don't use this quirk: https://pastebin.com/vDC1cdF019:29
malHelloPotter_: all of the log, it should be obvious that 4 lines is not the whole log19:30
malit should be hundreds of lines19:30
HelloPotter_but the dmesg have only that out ouput19:35
HelloPotter_@mal journactl log https://paste.ubuntu.com/p/5SSYkhbkv7/19:45
malalso useless log, repeating the same error and missing all early messages19:46
HelloPotter_so how can iget the right log19:47
malget more of the log with journalctl -n100000, you can remove the useless repeating errors you see in that log19:48
wdehoogelros34: got it working. no reboot yet. how do you test?19:50
HelloPotter_it's also look like same19:50
T4<elros34> wdehoog: which one? I just play youtube19:53
T4<elros34> HelloPotter: you must be faster, reboot and try again19:53
wdehoogelros34: I mean got your patches applied. I test by starting hutspot a few times19:54
T4<elros34> Imean which one? apply both doesnt make sense19:54
malwdehoog: what patched do you use?19:54
HelloPotter_@mal ok19:55
wdehoogmal: the two that elros34 pointed to19:56
T4<elros34> choose one...19:57
malok19:58
HelloPotter_https://paste.ubuntu.com/p/x4dF5dXZsf/20:00
HelloPotter_is this ok20:00
HelloPotter_please look into this20:06
*** ChanServ sets mode: +v T420:09
T4<elros34> this skb_release_head_state are net related: remove (backup) /etc/connman/firewall*. show mer-kernel-checker output20:10
malHelloPotter_: still not completely useful20:13
HelloPotter_wait20:13
HelloPotter_@mal https://paste.ubuntu.com/p/WH8gkVKPdN/20:21
maluseless again20:22
HelloPotter_can u please give me a clue like wht thigns you want to see in the log20:23
malanything about droid-hal-init or mount20:24
HelloPotter_ok i try to grep them20:24
HelloPotter_@mal droid-hal-init https://paste.ubuntu.com/p/RVqzZcvvHP/20:28
HelloPotter_@mal mount https://paste.ubuntu.com/p/7XNYHvN6BK/20:30
HelloPotter_@mal i got connection on my device20:31
HelloPotter_@mal but its not booted up , it's stuck to boot logo20:33
malHelloPotter_: so you didn't do the 15.1 porting notes from faq20:36
HelloPotter_yes i do20:36
malHelloPotter_: nope20:36
malHelloPotter_: logs don't lie20:37
HelloPotter_cd $ANDROID_ROOT/hybris/mw/geoclue-providers-hybris20:37
HelloPotter_git reset --hard 38ef0f1d8a56b56db5bfe99fdb88b9a0e684ca6d20:37
HelloPotter_cd $ANDROID_ROOT20:37
HelloPotter_    For lineageos 15.1 or android 8.1 run20:37
HelloPotter_rpm/dhd/helpers/build_packages.sh -b hybris/mw/geoclue-providers-hybris -s rpm/geoclue-providers-hybris-binder.spec20:37
HelloPotter_i just did this20:37
HelloPotter_you told me to do this only for  geo clue, i done this only for geo clue20:38
malHelloPotter_: I'm talking about 15.1 porting notes, not about geoclue20:39
malso you search faq for "15.1"20:39
malalso your device is not mounting anything20:39
malHelloPotter_: pastebin for example content of /lib/systemd/system/system.mount20:40
T4<elros34> he probably lacks CONFIG_AUTOFS4_FS20:40
HelloPotter_wait20:41
malor incorrect fixup-mountpoints20:41
HelloPotter_@mal there is nothing called system.mount20:43
malhow is that even possible20:43
malwhat .mount files do you have in that folder20:43
HelloPotter_i am givinng you the paste bin of that path20:43
HelloPotter_@mal the mount files https://paste.ubuntu.com/p/KVTJgZKQBg/20:45
malfor some reason you are missing all of the useful ones20:46
HelloPotter_any solution20:47
malHelloPotter_: check in your build environment where you have file with fstab in its name in out/ folder20:47
malso find out/ -name *fstab*20:47
HelloPotter_@mal like this out/target/product/potter/obj/ROOT/hybris-boot_intermediates/initramfs/etc/fstab20:48
HelloPotter_and this out/target/product/potter/obj/ROOT/hybris-recovery_intermediates/initramfs/etc/fstab20:48
malit has to be somewhere else also20:53
HelloPotter_out/soong/.intermediates/system/core/fs_mgr/libfstab20:53
HelloPotter_out/soong/.intermediates/system/core/fs_mgr/libfstab/android_arm64_armv8-a_cortex-a53_static_core/obj/system/core/fs_mgr/fs_mgr_fstab.o20:53
HelloPotter_out/soong/.intermediates/system/core/fs_mgr/libfstab/android_arm64_armv8-a_cortex-a53_static_core/obj/system/core/fs_mgr/fs_mgr_fstab.o.d20:53
malnope20:53
malsomewhere in out/target/product/potter/20:53
HelloPotter_wait20:54
HelloPotter_https://paste.ubuntu.com/p/FFtTBfwh6x/ these are all ifound20:58
malhmm, how is that possible21:03
HelloPotter_any solution21:03
HelloPotter_i think u want /out/target/product/potter/system/etc21:07
malwell somewhere there, maybe fstab.qcom21:10
HelloPotter_wait21:10
malnot sure in which folder but somewhere under out/target/product/potter/21:11
HelloPotter_i just searched the whole directory but thre is no fstab.qcom21:12
malso no fstab* files?21:12
HelloPotter_yes21:12
malsomething is going wrong in the build but not sure what21:12
HelloPotter_i think the kernel is wrong21:13
malnot related to kernel21:13
malI have one device with a bit similar problem, it also was missing fstab from out21:13
HelloPotter_so how did u get that file21:14
malI ran make fstab.qcom or something like that21:15
malin the environment where you run make hybris-hal21:15
HelloPotter_at  $ANDROID_ROOT21:15
malbut my device doesn't boot yet so not sure if somethis else is broken also21:15
malin HABUILD_SDK environment in folder ANDROID_ROOT21:16
HelloPotter_yes21:16
malthe usual way21:16
HelloPotter_an off topic in arch linux when i trying to run sfossdk it says /srv/mer/sdks/sfossdk/mer-sdk-chroot permission denied21:18
HelloPotter_any solution for that, because i need it to fix, cause i am going out for some days with my laptop(which have arch installed)21:18
malchmod?21:19
HelloPotter_not worked tried chmod +x and chmod 77721:20
HelloPotter_so what about fstab file can i create it manually21:24
riniguskimmoli: I am testing now ip6 fix in connman proposed by mal. the patched version is built at obs, https://build.merproject.org/package/show/home:rinigus:misc/connman . so far, couldn't make it crash when trying to use network. let's see if it works over longer time as well21:24
malHelloPotter_: you should try make fstab.qcom first21:27
HelloPotter_in where and how21:27
malin HABUILD_SDK environment in folder ANDROID_ROOT21:28
HelloPotter_and what content should i put in that fstab file21:29
HelloPotter_can i grab fstab file from my device21:29
malHelloPotter_: come on, use your brain a bit, I said run "make fstab.qcom" in that env and folder like you would run make hybris-hal21:30
HelloPotter_wait21:30
HelloPotter_@mal got error  error: There should be a one and only one device entry for HYBRIS_DATA_PART.21:34
malHelloPotter_: how did you solve that before?21:35
HelloPotter_ error: There should be a one and only one device entry for HYBRIS_DATA_PART.21:35
HelloPotter_git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git -b android8-initial21:35
malshow the whole error and surrounding lines21:35
malHelloPotter_: libhybris has absolutely nothing to do with that error21:35
HelloPotter_i did not get thatt error this is first time i getting this error21:36
malHelloPotter_: did you run the needed setup commands before running make?21:37
HelloPotter_any example21:37
malas in chapter 5.4 of hadk pdf21:37
malyou should learn what each build environment is used for21:38
HelloPotter_oh sorry wait i doing that21:38
malalways if you need to build something in android side you need to be in HABUILD_SDK and run the command from chapter 5.421:39
HelloPotter_yup sorry21:39
HelloPotter_i get this /home/err0r/Desktop/New_Oss/Sailfish_Os/out/target/product/potter/system/vendor/etc/fstab.qcom21:40
HelloPotter_@mal whole fstab.qcom https://paste.ubuntu.com/p/TxDHvmX23r/21:42
HelloPotter_making hybris-hal also completed21:45
malok, so you have the same issue I have, that need changes to other places also21:47
malalso run make ueventd21:47
HelloPotter_wait21:47
malno, run make ueventd.qcom.rc21:47
HelloPotter_wait21:48
HelloPotter_got weeor21:48
HelloPotter_error21:48
mal?21:51
HelloPotter_when i try the first commands its gives a error and tell me is it unevents so i did make unevents, and it got succesfull21:51
malonly run make ueventd.qcom.rc21:51
HelloPotter_when trying to ru this make ueventd.qcom.rc got  ninja: error: unknown target 'ueventd.qcom.rc'21:51
HelloPotter_21:48:29 ninja failed with: exit status 121:51
malforget the earlier command21:51
HelloPotter_21:48:29 ninja failed with: exit status 121:52
HelloPotter_when trying to ru this make ueventd.qcom.rc got  ninja: error: unknown target 'ueventd.qcom.rc'21:52
HelloPotter_its saying unknown target22:01
malI can read, no need to say many times22:01
HelloPotter_sorry22:02
malok, that command is not needed it seems22:04
HelloPotter_yes22:04
malthe file should be in out/target/product/potter/system/vendor/22:04
malas ueventd.rc22:05
HelloPotter_wait22:05
HelloPotter_nope22:06
malany ueventd*rc files in out/22:07
HelloPotter_wait22:07
malyou don't all the time have to say wait22:07
malit's annoying22:07
HelloPotter_ok , there is one file out/target/product/potter/root/ueventd.rc22:08
malhmm, why is the second file missing22:08
HelloPotter_which one22:09
HelloPotter_uneventd.rc.qcom22:09
malout/target/product/potter/system/vendor/ueventd.rc https://github.com/boulzordev/android_device_motorola_potter/blob/lineage-15.1-64/device.mk#L32422:09
HelloPotter_dont know should i look the device.mk22:10
malHelloPotter_: I just gave it as a reference to tell how I figured out there should probably be such file22:13
HelloPotter_ok22:13
malanyway it's quite late already so let's continue some other time22:13
HelloPotter_ok gd n822:13
*** doniks_ is now known as doniks23:09

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!