T42 | <toronb> - Timeout exceeded when accessing 'https://releases.jolla.com/releases/3.0.3.9/jolla/armv7hl/repodata/primary.xml.gz'. | 01:42 |
---|---|---|
T42 | <toronb> Although I tried VPN, It still failed. | 01:43 |
T42 | <toronb> I can download this file with browser. | 01:43 |
liux | still blocked by bt and sensors issue. the qmuxd is not started and QC-time-services in errors loop | 04:27 |
liux | E/QC-time-services( 5077): Daemon:ats_rtc_init: Unable to open RTC device | 04:27 |
r0kk3rz | liux: thats probably not related to bt or sensors | 04:28 |
liux | r0kk3rz, do you know how to find root cause? | 04:29 |
r0kk3rz | which one would you like to focus on? | 04:32 |
r0kk3rz | sensors is usually not that hard to fix | 04:34 |
liux | qmuxd | 04:35 |
liux | sensors work fine on my cm-11.0 based sfos. but not work on my porting cm-12.1 based | 04:36 |
r0kk3rz | ok | 04:36 |
r0kk3rz | what does test_sensors say | 04:37 |
liux | r0kk3rz, i'll paste later, now it's in recovery | 04:38 |
r0kk3rz | ok, but generally the process is check test_sensors, check sensors.qcom is running, check logcat | 04:41 |
liux | Got 0 sensors | 04:42 |
liux | said by test_sensors | 04:42 |
liux | sensorfwd is running | 04:42 |
liux | perhaps all sensors and bt issue is due to some qcom service not started in android side | 04:43 |
T42 | <birdzhang> use strace -f -o sensors.log test_sensors , at the end of sensors.log, will tell you what .so lost | 04:44 |
r0kk3rz | sensorfwd is not sensors.qcom | 04:48 |
liux | r0kk3rz, birdzhang, thanks. i have to offline now. i'll check sensors just as you said | 04:48 |
r0kk3rz | the sensor stack has a few layers in it, and sensorfwd is higher than test_sensors, so get them to show up there | 04:49 |
T42 | <austenite> test_hwcomposer: libc: Access denied finding property "ro.hardware.gralloc" | 05:30 |
T42 | <austenite> is this related to selinux? | 05:31 |
spiiroin | liux: that "Unable to open RTC device" is most likely: only one process can have rtc device open. in sfos that is dsme (which uses it to provide wake up from suspend timers for sfos) -> android blobs that attempt to do something with rtc will fail to gain access | 06:04 |
T42 | <elros34> liux: search for time_daemon in init*rc and disable it | 07:14 |
T42 | <elros34> Martensite: strace it. Could be related to missing ueventd*rc somewhere in out/ dir if you use 15.1 base | 07:27 |
piggz | lbt: ping for pattternisinf fxtec:t5 pls | 07:36 |
T42 | <adampigg> Probably needs Provides: line for config package | 07:38 |
r0kk3rz | @adampigg hows the fx going? | 07:51 |
T42 | <adampigg> R0kk3rz, fine, practically a.daily driver | 07:51 |
T42 | <adampigg> Gps needs work | 07:51 |
r0kk3rz | niiiiice | 07:51 |
T42 | <adampigg> Bt is flaky | 07:51 |
r0kk3rz | sounds standard | 07:52 |
T42 | <adampigg> Needs a keyboard map written | 07:52 |
r0kk3rz | what bt has it got? | 07:52 |
Mister_Magister | r0kk3rz: don't listen to him | 07:53 |
Mister_Magister | not even wifi works | 07:53 |
T42 | <adampigg> Wifi works for me! | 08:18 |
T42 | <adampigg> R0kk3rz, wifi comes up and.can scan/pair, but ihavnt even tried looking for any init scripts to set up the speed etc | 08:19 |
T42 | <adampigg> S/wifi/bt | 08:20 |
r0kk3rz | you'd want bluedroid wouldnt you? | 08:20 |
r0kk3rz | with bluebinder thing | 08:22 |
T42 | <adampigg> I am | 08:23 |
r0kk3rz | oh ok | 08:23 |
T42 | <adampigg> Binder everything! | 08:24 |
T42 | <adampigg> Mal, ping for this weeks job list ;) ! | 09:23 |
Mister_Magister | lbt: u gotta update obs! it got nice new look and ours is like 5yo? | 09:37 |
liux | speactra, elros34, thank you i've already remove rtc error just like you said | 11:18 |
liux | the launch of sensors.qcom and qmuxd depend on .sh in root dir like "init.qcom.sh". my out dir contians these .sh files but the packed sfos zip does not. That's why sensors and bt not work on my device | 11:24 |
liux | what's the proper way to handle these .sh files and make them packged into sfos zip? | 11:25 |
mal | liux: in which folder are those in out/ ? | 11:27 |
mal | liux: did you add anything to straggler_files in droid-hal spec? | 11:27 |
liux | mal, it's hadk/out/target/product/aries/root | 11:28 |
liux | mal, not yet | 11:28 |
liux | mal, I never added straggler_files on my cm-11.0 based sfos so I did not add it for cm-12.1. is it necessary for this problem? | 11:29 |
mal | liux: I meant that when you built droid-hal rpms you didn't get any complains about únpackaged files, check the droid-hal build log | 11:29 |
liux | liux, ok, i'll check the log and try to add straggler_files. i've never checked build log because the build was not teminated by errors | 11:31 |
mal | there should be complaint at the end of the build of those are needed | 11:32 |
mal | the build log should be in ANDROID_ROOT | 11:34 |
liux | it shows "Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/liux/hadk/installroot" | 12:55 |
liux | but i do not have installroot in my hadk | 12:55 |
mal | liux: installroot is probably removed after the build is done, how about you just give the whole build log | 13:03 |
liux | mal, sorry i've just added straggler_files then start building packages. the previos log was overrited. I'll check if straggler_files work for my issue. | 13:05 |
liux | just added straggler_files as you did in https://github.com/mlehtima/droid-hal-fp2-sibon/blob/266c8da4b1db60bc8f240d782dd95abfe52f3160/droid-hal-fp2-sibon.spec | 13:06 |
Mister_Magister | lbt: then could you please patternise https://build.merproject.org/project/show/nemo:devel:hw:fxtec:t5 | 13:13 |
mal | liux: can't you just show what you have done, I really want to guess if you are doing things correctly | 13:44 |
liux | mal, just patched with this: https://paste.ubuntu.com/p/3nPZj5wSMF/ | 13:47 |
liux | mal, the build took so long time.... finally i got the result now, it works for sensors and bluetooth issues. | 13:52 |
mal | liux: so it complained about those in the build log? | 13:58 |
mal | liux: I assume you also added the detritus package to patterns? | 13:59 |
liux | mal, not exactly. i can't see each file name in build log | 13:59 |
liux | mal, not added to detritus package to patterns yet | 14:00 |
mal | liux: what exactly have you done, I'm very confused, you said it works but what? | 14:00 |
mal | there is no way those files end up in image unless you have detritus package in patterns | 14:01 |
liux | mal, just this patch : https://paste.ubuntu.com/p/3nPZj5wSMF/ | 14:01 |
mal | I'm really getting frustrated when you never showed what I asked, I asked for droid-hal build log and you never gave it | 14:01 |
mal | that seems to be a common issue here, people don't give information that is being asked | 14:02 |
liux | mal, the droid-hal log pasted here: https://paste.ubuntu.com/p/9nPNmtxxV2/ | 14:03 |
mal | also you say you only did that change and never told if you verified that detritus package is in patterns or not | 14:03 |
liux | mal, it's the log after i patched in droid-hal-aries. | 14:04 |
mal | the detritus package does nothing unless it's in patterns | 14:04 |
mal | patterns are in config repo | 14:04 |
mal | check chapter 5.2.2 in hadk pdf | 14:05 |
mal | *7.2.2 | 14:05 |
liux | mal, yes, just checked patterns, detritus package is not added in. no idea why it works, but i'm sure the missing .sh now exist in rootdir | 14:05 |
mal | liux: check on device if it's installed or not | 14:08 |
mal | also rpm -qf /somefile will tell what package provides a file | 14:09 |
liux | [root@Sailfish nemo]# rpm -qf /init.qcom.sh | 14:10 |
liux | droid-hal-aries-detritus-0.0.6-201907181229.armv7hl | 14:10 |
liux | the detritus package provides these files indeed | 14:11 |
mal | where are your packages on github? | 14:30 |
mal | I mean the adaptation repos | 14:31 |
T42 | <austenite> property_set | 14:37 |
liux | mal, I've not pushed to github yet. intent to push them after fixing most issues | 14:38 |
electro575 | hi all, i have done this cmd : make -j$(nproc --all) hybris-hal | 17:47 |
electro575 | but i have the following error | 17:47 |
electro575 | https://dpaste.de/e3OW | 17:47 |
electro575 | can you help me ? vknecht, mal maybe | 17:49 |
electro575 | it's not error but, it's when i tape the command : hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config^C | 17:49 |
electro575 | i need some dependencies before do "make" command ? | 17:50 |
vknecht | electro575, what does hadk tells to do about those ? | 17:50 |
electro575 | Once the kernel has built you can check the kernel config | 17:51 |
electro575 | 5.4.1 Kernel config | 17:52 |
vknecht | that's it ; so what does it say about error cases ? | 17:53 |
electro575 | i don't know exactly | 17:54 |
electro575 | i'm reading about | 17:54 |
vknecht | please read before asking ;-) | 17:55 |
electro575 | Apply listed modifications to the defconfig file that CM is using. Which one? It’s different for every device, most | 17:56 |
electro575 | likely first | 17:56 |
vknecht | different for every device, but there's only one relevant for your device | 17:56 |
electro575 | what does the value TARGET_KERNEL_CONFIG | 17:57 |
mal | usually it's the defconfig file that contains your device codename, but not always | 17:57 |
electro575 | $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk not contain this TARGET_KERNEL_CONFIG | 17:57 |
vknecht | electro575, try "grep -r TARGET_KERNEL_CONFIG device/$VENDOR" and one of the entry (if more than one) should match a file's name in your kernel source tree (in arch/arm[64]/configs) | 18:04 |
electro575 | device/samsung/t0lte/BoardCommonConfig.mk:TARGET_KERNEL_CONFIG := lineageos_t0ltecdma_defconfig | 18:05 |
electro575 | device/samsung/t0lte/BoardCommonConfig.mk:TARGET_KERNEL_CONFIG := lineageos_t0lte_defconfig | 18:05 |
vknecht | so, found the file you need to edit to fix errors ? | 18:11 |
electro575 | yes, i added a line in the file | 18:13 |
electro575 | $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk | 18:13 |
electro575 | TARGET_KERNEL_CONFIG := lineageos_t0lte_defconfig | 18:13 |
vknecht | no | 18:13 |
electro575 | but same invalid | 18:13 |
electro575 | Check CM kernel’s commit history of the arch/arm/configs folder, look for defconfig ? | 18:14 |
electro575 | i must do this ? | 18:14 |
vknecht | don't edit the BoardConfig just because hadk tells about that file ; we just found the setting is in another nearby file | 18:15 |
vknecht | so undo your change in mk file, and just go edit lineageos_t0lte_defconfig which is somewhere in the kernel/ subdirectories | 18:16 |
electro575 | ok | 18:17 |
* vknecht swipes the sweat | 18:17 | |
electro575 | device/samsung/t0lte/BoardCommonConfig.mk ? | 18:18 |
electro575 | or a file in kernel/ subdirectories | 18:18 |
vknecht | if you edited any file under device/, undo what you did | 18:18 |
vknecht | then run | 18:18 |
vknecht | find kernel -name lineageos_t0lte_defconfig | 18:19 |
vknecht | and you'll have the path to your defconfig file | 18:19 |
electro575 | kernel/samsung/smdk4412/arch/arm/configs/lineageos_t0lte_defconfig | 18:19 |
electro575 | thanks | 18:19 |
electro575 | no value TARGET_KERNEL_CONFIG | 18:25 |
electro575 | in this file | 18:26 |
electro575 | vi kernel/samsung/smdk4412/arch/arm/configs/lineageos_t0lte_defconfig | 18:26 |
electro575 | E486: Pattern not found: motif TARGET_KERNEL_CONFIG | 18:30 |
vknecht | you're paste the TARGET_KERNEL_CONFIG thing now ; you have to fix the values mer-kernel-check script told you were in error | 18:30 |
vknecht | *you're past | 18:30 |
electro575 | mer-kernel-check script told you were in error ? | 18:31 |
electro575 | okey sorry | 18:31 |
* vknecht is fine :-P | 18:31 | |
electro575 | TARGET_KERNEL_CONFIG must be added in what file ? | 18:32 |
vknecht | read carefuly https://dpaste.de/e3OW#L17,140,426 | 18:32 |
vknecht | or, in fact, rerun the that script, because it seems you interrupted it | 18:33 |
electro575 | i paste my last cmd | 18:35 |
electro575 | https://dpaste.de/kwnP | 18:35 |
electro575 | so, i must fix error but how ? with Comment says: | 18:36 |
vknecht | find out -name .config | 18:36 |
electro575 | the first | 18:36 |
electro575 | Comment says: optional, enables kernel namespaces for systemd-nspawn containers | 18:36 |
electro575 | out -name .config | 18:36 |
electro575 | out/target/product/t0lte/obj/KERNEL_OBJ/.config | 18:36 |
electro575 | out/target/product/t0lte/obj/busybox/full/.config | 18:36 |
vknecht | ok | 18:37 |
electro575 | what i must do to fix error ? | 18:37 |
vknecht | not sure why there ^C and "Can't open ./out/target/product/t0lte/obj/KERNEL_OBJ/.config^C: No such file or directory" | 18:37 |
electro575 | humm, yes what | 18:38 |
electro575 | i relaunch | 18:38 |
electro575 | it's my fault | 18:38 |
electro575 | https://dpaste.de/uXsP | 18:39 |
vknecht | you read what the script says : for example: "ERROR: CONFIG_IKCONFIG_PROC is invalid" ... "Allowed values : y" so you edit your t0lte defconfig so the line reads "CONFIG_IKCONFIG_PROC=y" | 18:40 |
vknecht | simple ? | 18:40 |
electro575 | yes sorry | 18:40 |
vknecht | if the line doesn't exist, you add it | 18:40 |
electro575 | but i prefer to ask it | 18:40 |
electro575 | ok | 18:40 |
electro575 | why this warning ? | 18:42 |
electro575 | perl: warning: Falling back to the standard locale ("C"). | 18:42 |
electro575 | i need dependencies to compile another files ? | 18:42 |
vknecht | no it's something else, annoying but not an error | 18:43 |
vknecht | sudo locale-gen en_US.UTF-8 | 18:44 |
vknecht | sudo dpkg-reconfigure locales | 18:44 |
vknecht | should get rid of it | 18:44 |
electro575 | and this, how can i resolve ? unable to resolve host jopcportable | 18:46 |
electro575 | i have a warning as : CONFIG_BLK_CGROUP | 18:47 |
electro575 | systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html | 18:47 |
vknecht | fix the warnings the same way as errors : edit the line so the setting = recommended value | 18:49 |
electro575 | yes, it's that but | 18:49 |
electro575 | the link | 18:49 |
vknecht | but you can skip them for now and concentrate on errors | 18:49 |
electro575 | <vknecht> but you can skip them for now and concentrate on errors | 18:49 |
electro575 | ok | 18:49 |
vknecht | the link, well, you can read it and learn ;-) | 18:50 |
electro575 | ok | 18:50 |
electro575 | the link what i must do with this comment : Required by hybris-boot init-script | 18:59 |
electro575 | vknecht | 19:00 |
vknecht | the comment explains why the fix is needed, focus on the "how" to fix it, eg. CONFIG_BLAH=<allowed value> | 19:03 |
T42 | <DSstill01> What is config_blah? | 19:10 |
electro575 | ok, it's good | 19:11 |
electro575 | hummm, vknecht, after make hybris-boot | 19:14 |
electro575 | i have again error, i must fix all error and warning again ? | 19:14 |
vknecht | run the kernel check again, to verify the errors you fixed are gone | 19:20 |
vknecht | and show the result | 19:20 |
electro575 | after the first step and verify, no error and warning | 19:22 |
electro575 | and after make hybris-boot, fix error again | 19:22 |
electro575 | i must fix error in the same file ? | 19:23 |
vknecht | show full output of "make hybris-boot" | 19:23 |
electro575 | https://dpaste.de/C1s7 | 19:25 |
vknecht | where do you see an error in that ? especially when it says "make completed successfully" ? | 19:27 |
electro575 | what do you think about ? | 19:27 |
electro575 | no no but after | 19:27 |
electro575 | rechecking with the script | 19:28 |
electro575 | https://dpaste.de/qjmg | 19:28 |
electro575 | again warning and error | 19:29 |
electro575 | re-run make hybris-boot and re-verify. | 19:29 |
electro575 | Lather, rinse, repeat | 19:30 |
electro575 | :) Run also make hybris-recovery in the end when no more errors | 19:30 |
electro575 | it's normal ? | 19:30 |
vknecht | if the config noted as error are already set to the recommended value and you keep getting them, maybe you can proceed (eg. setting doesn't exist in kernel or something) | 19:32 |
vknecht | show your defconfig | 19:32 |
vknecht | and maybe someone else will take the relay, gotta eat and relax :) | 19:33 |
electro575 | don't really understand | 19:35 |
electro575 | my defconfig ? | 19:35 |
electro575 | vknecht, you may need to install module-init-tools | 19:40 |
electro575 | with apt-get install ? | 19:40 |
electro575 | Where can i download sailfish SDK ? | 19:52 |
T42 | <Harsh18262> sailfish sdk is for building apps for sailfish os i guess why do u need that? | 19:54 |
electro575 | i need that because i follow the guide | 19:55 |
electro575 | SETTING UP SCRATCHBOX2 TARGET | 19:55 |
electro575 | p17 | 19:55 |
T42 | <Harsh18262> That is not sailfish sdk | 19:55 |
electro575 | scratch2box | 19:56 |
T42 | <Harsh18262> Platform sdk is installed now u have to install scratch2 box | 19:56 |
electro575 | yes but how ? | 19:56 |
electro575 | it's not explain | 19:57 |
T42 | <Harsh18262> The link is given on p17 | 19:58 |
electro575 | this ? | 19:58 |
electro575 | https://sailfishos.org/wiki/Platform_SDK_Target_Installation | 19:58 |
electro575 | is SDK | 19:58 |
T42 | <Harsh18262> Yes | 19:58 |
electro575 | ??? what | 19:58 |
T42 | <Harsh18262> Open that page you will find everything | 19:58 |
T42 | <Harsh18262> On how to install it and everything | 19:59 |
electro575 | to install the SDK ? | 19:59 |
T42 | <Harsh18262> Keep in mind the box given on p17 | 20:00 |
T42 | <Harsh18262> The sdk is installed | 20:00 |
electro575 | ok so, when i launch this cmd | 20:00 |
electro575 | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test | 20:00 |
T42 | <Harsh18262> Platform_SDK is the sdk u are trying to installed which is installed u enter platform sdk by ssfosdk | 20:01 |
electro575 | yes | 20:01 |
electro575 | sb2: Error: Invalid target specified, aborting. | 20:01 |
T42 | <Harsh18262> No first u have to install scratch2 box | 20:01 |
electro575 | ok | 20:01 |
T42 | <Harsh18262> read this "Installing SDK Target and Tooling Tarballs" part of the webpage | 20:02 |
electro575 | ok | 20:03 |
electro575 | how download and install one file with this repo | 20:04 |
electro575 | http://releases.sailfishos.org/sdk/targets/ | 20:04 |
T42 | <Harsh18262> Click on the file | 20:04 |
electro575 | i must download with this | 20:05 |
electro575 | sdk-version | 20:05 |
electro575 | grep: /etc/zypp/repos.d/mer-core.repo: No such file or directory | 20:05 |
electro575 | grep: /etc/zypp/repos.d/mer-tools.repo: No such file or directory | 20:05 |
electro575 | Core repos point at version: | 20:05 |
electro575 | Tools repos point at version: | 20:05 |
T42 | <Harsh18262> What? | 20:05 |
T42 | <Harsh18262> I would u to use the direct link one just given below if u have gud internet | 20:06 |
electro575 | ok | 20:08 |
electro575 | sdk-assistant create SailfishOS-latest-armv7hl Sailfish_OS-3.0.0.8-Sailfish_SDK_Target-armv7hl.tar.7z | 20:08 |
electro575 | Unpacking target ... | 20:09 |
electro575 | No suitable tooling found for this target | 20:09 |
electro575 | ok, this is it | 20:10 |
electro575 | sdk-assistant create SailfishOS-latest-armv7hl http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Target-armv7hl.tar.7z | 20:10 |
T42 | <Harsh18262> Your are running it where? | 20:10 |
electro575 | PlatformSDK bash-3.2$ | 20:10 |
T42 | <Harsh18262> First run the tooling one then run this | 20:11 |
T42 | <Harsh18262> And replace the part after create and before the link by referring to hadk | 20:12 |
T42 | <Harsh18262> P17 box | 20:12 |
electro575 | run the tooling ? | 20:13 |
T42 | <Harsh18262> Sorry install the tooling first | 20:13 |
electro575 | how ? sorry | 20:13 |
T42 | <Harsh18262> sdk-assistant create SailfishOS-3.0.0 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Tooling-i486.tar.7z | 20:15 |
T42 | <Harsh18262> run this | 20:15 |
electro575 | no, not i486 ! | 20:16 |
electro575 | armv7hl no ? | 20:16 |
T42 | <Harsh18262> it is device arch independent | 20:16 |
electro575 | it's ok | 20:17 |
electro575 | thk | 20:17 |
electro575 | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test | 20:18 |
electro575 | sb2: Error: Invalid target specified, aborting. | 20:18 |
T42 | <Harsh18262> now run the line you sent first | 20:18 |
electro575 | Error | 20:20 |
T42 | <Harsh18262> which | 20:20 |
electro575 | sb2: Error: Invalid target specified, aborting. | 20:20 |
T42 | <Harsh18262> which line u ran | 20:21 |
electro575 | ran ? | 20:21 |
T42 | <Harsh18262> after runnig which command did you get this error | 20:21 |
electro575 | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test | 20:22 |
electro575 | sb2: Error: Invalid target specified, aborting. | 20:22 |
electro575 | $PORT_ARCH = armv7hl | 20:22 |
electro575 | not i486 | 20:22 |
T42 | <Harsh18262> u have not installed target yet | 20:22 |
T42 | <Harsh18262> send output of sdk-assistant linst | 20:23 |
T42 | <Harsh18262> *list | 20:23 |
electro575 | SailfishOS-3.0.0 | 20:23 |
T42 | <Harsh18262> sdk-assistant create $VENDOR-$DEVICE-$PORT_ARCH http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Target-armv7hl.tar.7z | 20:23 |
T42 | <Harsh18262> run this command this will install tooling | 20:24 |
T42 | <Harsh18262> srry target | 20:24 |
electro575 | thk | 20:24 |
electro575 | https://dpaste.de/FvEN | 20:25 |
electro575 | good test | 20:25 |
T42 | <Harsh18262> yes now "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test" this will work | 20:26 |
electro575 | yes | 20:26 |
electro575 | it's good | 20:26 |
electro575 | i stop, i try the next step tomorrow | 20:29 |
electro575 | bye, thanks | 20:29 |
Nokius | anyone of you folks found a way to bypass Samsung mdm? | 21:05 |
Nokius | have a Device wich is locked an yeah just ewaste :( | 21:05 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!