liux | Still can not make microphone work. silenct in voicecall and sound recorder. The pulseaudio logcat pasted here: https://paste.ubuntu.com/p/pDmvfzpCN6/ and logcat log here: https://paste.ubuntu.com/p/9KHNS9tRCg/ | 04:40 |
---|---|---|
liux | sorry, it's pulseaudio journal log but not "pulseaudio logcat" https://paste.ubuntu.com/p/pDmvfzpCN6/. The log contains the boot of pulseaudio and recoding sound in recorder | 04:43 |
electro5751 | mal, i don't arrived to disable selinux | 05:21 |
electro5751 | elros34, where can i write selinux=0 | 05:22 |
electro5751 | usually in | 05:22 |
electro5751 | BOARD_KERNEL_CMDLINE under $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk | 05:22 |
electro5751 | where exactly | 05:22 |
Danct12 | good afternoon | 08:03 |
Danct12 | right, so how do i get rid of time_daemon service? | 08:03 |
Danct12 | it's spamming logcat with rtc errors | 08:03 |
r0kk3rz | disable it in the *.rc files | 08:07 |
T42 | <adampigg> and if you cant, create a new service to disable it with the override directive | 09:33 |
mal | @adampigg I again forgot about that override option | 09:39 |
T42 | <adampigg> yep, its useful to remembr, and i think should be set in all our rc files | 09:41 |
Danct12 | mal: i found something interesting in journalctl | 09:47 |
Danct12 | Jul 22 16:42:12 Sailfish rmt_storage:INFO:rmt_storage_rw_iovec_cb: Write iovec request received for /boot/modem_fs2 | 09:47 |
Danct12 | Jul 22 16:42:12 Sailfish rmt_storage:INFO:rmt_storage_client_thread: Calling Write [offset=0, size=1572864]for /boot/modem_fs2! | 09:47 |
Danct12 | Jul 22 16:42:12 Sailfish rmt_storage:INFO:rmt_storage_client_thread: Done Write (bytes = 1572864) for /boot/modem_fs2! | 09:47 |
mal | looks normal | 09:47 |
Danct12 | and modem isn't still working :( | 09:53 |
Danct12 | at least i got the camera working, which is nice | 09:53 |
Danct12 | about time_daemon.. commenting it out for me doesn't seem to do anything | 09:56 |
Danct12 | the thing here is that time_daemon is defined in /vendor/etc/init/hw/init.qcom.rc which isn't a part of the sailfishos rootfs im sure | 10:21 |
T42 | <adampigg> so, like i said, create a new time_daemon.rc stored in usr-libexec....... that contains the same time_daemon service definition..... | 10:23 |
T42 | <adampigg> set it to overrde, and append someting to the end of the executable name like the other services, to make it invalid | 10:24 |
mal | Danct12: get new logcat and journalctl | 10:28 |
Danct12 | @adampigg, i've added it to libexec, but it ignored it | 12:17 |
Danct12 | https://pastebin.com/KRMSnq6G | 12:17 |
Danct12 | i checked dmesg, and it shows this /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc: 1: ignored duplicate definition of service 'time_daemon' | 12:17 |
T42 | <adampigg> What android base? | 12:18 |
T42 | <adampigg> I wonder if override was added in 9 | 12:19 |
Danct12 | 15.1 | 12:19 |
*** ahjolinna_ is now known as ahjolinna | 12:23 | |
T42 | <adampigg> Override was added nov 13 2017, | 12:25 |
T42 | <adampigg> And isnt in 15.1 unfortunately | 12:26 |
T42 | <adampigg> Could cherry pick it maybe | 12:26 |
Danct12 | https://android.googlesource.com/platform/system/core/+/6f5333a4a94becb7ef74a5b54d0c28a3738881fd | 12:28 |
Danct12 | found that | 12:28 |
T42 | <adampigg> Thats the one | 12:29 |
Danct12 | right, so you patch it to hadk/system/core/init and rebuild hybris-hal? | 12:36 |
T42 | <elros34> isn't time_daemon usually first defined in /init*.rc so it can be disabled there? | 12:38 |
Danct12 | mal: regarding to logcat and journalctl, i've uploaded them | 12:39 |
Danct12 | logcat: https://paste.ubuntu.com/p/wPvb5dfvqB/ | 12:39 |
Danct12 | and journalctl: https://paste.ubuntu.com/p/c8y4d5ct5j/ | 12:39 |
mal | Danct12: did you add proper ofono config?7 | 12:42 |
mal | Danct12: https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/etc/ofono/ril_subscription.conf | 12:43 |
T42 | <elros34> add oneshot to it and it should stop restarting | 12:50 |
T42 | <Zosenko> One question: If i dont have in my XA2 Plus recovery partition and instead of i have two partitions A / B, actualy there are in SFOS 3 some proces of restore or recovery or juste boot safe mode in the case of damage primary OS on to partition A? | 12:57 |
T42 | <Zosenko> Something like switch to boot and run OS from partitions B? | 13:00 |
T42 | <Zosenko> If not what is a advantage of partion B in XA2 Plus with SFOS? | 13:02 |
mal | currently sfos uses both a and b variants of both boot and vendor partitions, also system_b | 13:11 |
mal | https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/boot/flash.sh#L148 | 13:11 |
mal | I think system_b is for the factory reset feature | 13:12 |
T42 | <Zosenko> @mal [I think system_b is for the factory reset feat …], I dont think so | 13:12 |
T42 | <Zosenko> factory reset for android may be but for SFOS nope | 13:13 |
T42 | <Zosenko> @mal [currently sfos uses both a and b variants of b …], Yes, but how is function? | 13:14 |
T42 | <Zosenko> Dependencies A with B how and when, which case of? | 13:14 |
mal | @Zosenko sfos has factory reset | 13:17 |
mal | it's own thingy | 13:17 |
mal | @Zosenko for boot partition both a and b have same content, both are flashed only because there were issues that some devices used b and couldn't easily be made to use a | 13:19 |
mal | so basically a/b partition layout doesn't have any benefit for sfos | 13:21 |
T42 | <adampigg> Danct12: yes | 13:33 |
Danct12 | i'll submit the patch once it's working | 13:49 |
mal | Danct12: did you check the ofono config? | 13:53 |
Danct12 | i'll check it later, will have to upstream the override patch to hybris-15.1 first | 14:00 |
Danct12 | got the init to compile | 16:19 |
Danct12 | and now it's stuck :( | 16:19 |
Danct12 | no telnet | 16:19 |
Danct12 | i also saw most of sailfishos distributions uses unofficial lineageos rom images | 16:27 |
Danct12 | here's that failed init patch anyway, if anyone's willing to get it working feel free to https://pastebin.com/UZrTE4yR | 16:32 |
electro | hi all | 16:50 |
electro | mal, can you say to me where exactly disable selinux ? | 16:51 |
electro | i done this but no effect | 16:51 |
mal | give link to your device repo | 16:55 |
electro | ok | 16:56 |
electro | it's private | 16:57 |
electro | https://github.com/electro575?tab=repositories | 16:57 |
electro | you don't can see it | 16:57 |
mal | I mean the lineage repo | 16:57 |
electro | o okey | 16:57 |
electro | do you know why i have this error | 16:57 |
mal | you mixes adaptation repo and device repo | 16:57 |
electro | build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/t0lte/lineage.mk]]: "vendor/samsung/smdk4412-common/smdk4412-common-vendor.mk" does not exist. Stop. | 16:57 |
electro | https://dpaste.de/8dWh | 16:58 |
electro | on ym other PC | 16:58 |
mal | you didn't add vendor repo to local manifest | 16:58 |
electro | ok | 16:58 |
electro | repo is it on manifets | 16:58 |
mal | you mean this https://github.com/TheMuppets/proprietary_vendor_samsung | 16:58 |
electro | https://dpaste.de/uBK3 | 16:58 |
electro | mean ? | 16:59 |
electro | how can i fix it ? you didn't add vendor repo to local manifest | 17:00 |
mal | well according to that local manifest you have it but then the only option is that your didn't run repo sync correctly after that, run "repo sync vendor/samsung" in $ANDROID_ROOT | 17:01 |
electro | thanks | 17:02 |
T42 | <Harsh18262> @electro have u added manifest opening and closing tags? | 17:02 |
mal | that is a good question | 17:02 |
electro | with what ? repo or sync | 17:02 |
mal | that manifest is missing those if that is correct | 17:02 |
mal | electro: show the whole local manifest file | 17:03 |
electro | ok | 17:03 |
electro | https://dpaste.de/3oAt | 17:03 |
mal | that seems ok, so if you don't see anything in $ANDROID_ROOT/vendor/samsung then you didn't run repo sync completely | 17:05 |
electro | ok, with PlatformSDK env or HA | 17:05 |
electro | i don't have all files | 17:06 |
electro | https://dpaste.de/7BMZ | 17:06 |
mal | how is it possible you got the error you claim to get if the files are there | 17:07 |
T42 | <Harsh18262> Check files in t0lte folder that is the one u need | 17:07 |
electro | Android.mk BoardConfigVendor.mk proprietary t0lte-vendor.mk | 17:08 |
electro | it is that file i don't have | 17:10 |
electro | smdk4412-common/smdk4412-common-vendor.mk | 17:10 |
mal | https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-14.1/smdk4412-common | 17:11 |
mal | the file is there | 17:11 |
mal | run the command I told you to run | 17:11 |
deathmist | how would I add more than one line in dhd spec file under additional_post_scripts? this format is really weird https://git.io/fjMN6 | 17:11 |
mal | deathmist: what are you trying to do? | 17:12 |
electro | bash: repo: command not found | 17:12 |
mal | electro: in HABUILD_SDK | 17:13 |
electro | it's in HA env we use | 17:13 |
electro | ok | 17:13 |
mal | then try not in there | 17:13 |
deathmist | mal: I need another script for now to handle display off gestures (so need to chmod +x it) and I'd also just like to know for future reference :) | 17:13 |
mal | deathmist: why would you need to chmod something like that? can't you just set the file permissions correctly | 17:13 |
deathmist | iirc the permissions didn't transfer over to the rootfs from sparse files script file which is weird, I can try again tho | 17:14 |
electro | https://dpaste.de/D65a | 17:14 |
electro | humm, error by me | 17:15 |
mal | electro: those /-- should not be in the last few lines | 17:16 |
electro | yes | 17:17 |
electro | forget comment | 17:17 |
electro | have you an idea to disable selinux ? | 17:17 |
electro | i just have to recompile hybris-boot.img, it's that ? | 17:18 |
mal | this line should work https://github.com/LineageOS/android_device_samsung_smdk4412-common/blob/cm-14.1/BoardCommonConfig.mk#L54 | 17:22 |
electro | ok, i will try, recompile only hybris-boot.img ? | 17:22 |
mal | it should be enough but I doubt that will fix the current issue, assuming the information you gave earlier is correct | 17:23 |
electro | mal , what is the issue for this error | 17:28 |
electro | https://dpaste.de/TRe0 | 17:28 |
electro | Fatal: samsung-t0lte-armv7hl is an invalid sb2 target | 17:28 |
mal | what does "sdk-assistant list" tell | 17:29 |
electro | SailfishOS-3.0.0 | 17:29 |
electro | └─samsung-t0lte-armv7l | 17:29 |
electro | erf | 17:29 |
electro | hl | 17:29 |
mal | so you used wrong PORT_ARCH | 17:30 |
mal | check that PORT_ARCH is correct | 17:30 |
electro | ok | 17:30 |
electro | armv7hl | 17:31 |
mal | then you need to add the target again as told in hadk pdf | 17:31 |
electro | i have done all guide with armv7l :/ | 17:31 |
mal | how is that possible, if PORT_ARCH is correct then most things should be correct if you follow instructions | 17:32 |
electro | do you know what chapter | 17:32 |
mal | creating target | 17:32 |
electro | PlatformSDK bash-3.2$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test | 17:33 |
electro | sb2: Error: Invalid target specified, aborting. | 17:33 |
mal | did you do that instructions said, note the naming difference between hadk pdf and the wiki page with the actual instructions | 17:34 |
electro | hadk pdf | 17:35 |
electro | but before with armv7l | 17:35 |
mal | could you please focus a bit more, I really have better things to that fix things because you didn't read instructions | 17:35 |
electro | and i do all cmd for armv7hl | 17:35 |
mal | I really don't understand what you mean by that, all commands use PORT_ARCH so you don't have do manually set that elsewhere | 17:36 |
electro | at the beginning | 17:37 |
electro | cat <<'EOF' > $HOME/.hadk.env | 17:37 |
electro | export PLATFORM_SDK_ROOT="/srv/mer" | 17:37 |
electro | export ANDROID_ROOT="$HOME/hadk" | 17:37 |
electro | export VENDOR="samsung" | 17:37 |
electro | export DEVICE="t0lte" | 17:37 |
electro | # Set arch to armv7hl even if you are porting a 64bit device | 17:37 |
electro | export PORT_ARCH="armv7hl" | 17:37 |
electro | EOF | 17:37 |
electro | mal, grrr bash: rpm/dhd/helpers/build_packages.sh: No such file or directory | 17:54 |
mal | come on, that should be obvious, you didn't use repo sync --fetch-submodules | 17:56 |
electro | it's possible to do assistant-sdk remove armv7l ? | 17:58 |
mal | go to rpm $ANDROID_ROOT/rpm folder and run "git submodule update --init", you might need to do that also for hybris/droid-configs and hybris/droid-hal-version-$DEVICE | 17:58 |
mal | electro: how about you learn how to the built-in help in sdk-assistant, like "sdk-assistant --help" | 17:59 |
electro | thk | 17:59 |
electro | how do update a repositories, because i have already done cmd push | 18:01 |
electro | https://dpaste.de/n9j0 | 18:02 |
electro | i don't know exactly how use git | 18:03 |
electro | i have already done this cmd | 18:03 |
electro | as example : https://dpaste.de/McvY | 18:03 |
electro | but how to update a repo | 18:04 |
electro | after a push | 18:04 |
electro | why this output : rpm/dhd/helpers/add_new_device.sh: launch this script from the /home/sailfish-dev/hadk directory | 18:10 |
electro | i'm in this /home/sailfish-dev/hadk directory | 18:10 |
vknecht | electro, read carefuly... did you skip the part setting up hybris/droid-configs ? | 18:19 |
electro | all is confused, i'm seeing | 18:20 |
piggz | mal: https://paste.gnome.org/ppvejh4dx | 18:21 |
electro | vknecht : cd hybris/droid-configs | 18:26 |
electro | not have droid-configs directory | 18:26 |
electro | but i'm making this part yes | 18:26 |
mal | piggz: what is that supposed to tell? | 18:28 |
piggz | mal: u wanted a full log! | 18:28 |
piggz | :D | 18:29 |
piggz | its kernel and jouranl, what more do you want? | 18:29 |
mal | piggz: did you try to ofono config? | 18:29 |
mal | *the | 18:29 |
piggz | yes.... | 18:30 |
piggz | oh, im in | 18:30 |
mal | piggz: based on that log it wasn't used | 18:31 |
piggz | mal: yeah, i did the config change just after that log | 18:32 |
electro | what is the $PATTERNS_TEMPLATES_DIR | 18:33 |
piggz | mal: its def a lock screen issue..... | 18:37 |
piggz | if i pull up the camera, i can swip it away to get to the home! | 18:37 |
vknecht | piggz, tried building image using testing instead of latest/devel ? that's what I found to get past the language selection fail and locked at lockscreen issue | 18:44 |
piggz | vknecht: on what device? | 18:46 |
vknecht | had this both on idol3 and suzu | 18:46 |
vknecht | one sign is "Locale '0' is not set, defaulting to C locale" like at line 2507 | 18:47 |
vknecht | (or that the license screen is skipped) | 18:49 |
mal | piggz: so which part is causing the issue, you had issues with both ofono and usb-moded | 18:56 |
piggz | mal: currently .... device boots to lock screen, and cant swipe | 18:56 |
piggz | if, i open the camera, I can swipe it away and access the home and use phone as normal | 18:56 |
piggz | ish | 18:56 |
piggz | i have a video | 18:56 |
piggz | its slow, but i put that down to the lima driver | 18:57 |
mal | piggz: so try fixing usb and ofono first | 18:57 |
mal | piggz: I assume that uses configfs based usb? | 18:57 |
piggz | mal: what needs fixed in ofono? | 18:57 |
piggz | im not connected via usb | 18:57 |
mal | piggz: the config like I told, it should silence ofono issues | 18:57 |
piggz | i did that already | 18:57 |
mal | so are ofono errors gone? | 18:58 |
piggz | if i paste journalctl | grep ofono will you complain about not getting full logs? | 18:59 |
mal | piggz: I don't need the log, you can check it | 18:59 |
piggz | it looks ok, worst is | 19:00 |
piggz | May 06 16:10:42 Sailfish ofonod[2942]: Failed to parse default D-Bus policy "1; * = deny; group(sailfish-radio) | group(privileged) = allow" (missing group?) | 19:00 |
mal | piggz: too new ofono probably | 19:02 |
mal | but shouldn't matter, hopefully | 19:02 |
piggz | mal: only failed services are https://paste.gnome.org/p66uixdjm | 19:02 |
mal | piggz: why does droid-late-start fail | 19:03 |
mal | policies setup doesn't seem good | 19:03 |
monich | create sailfish-radio group | 19:03 |
piggz | mal: missing android | 19:04 |
piggz | May 06 16:10:41 Sailfish systemd[2930]: droid-late-start.service: Failed at step EXEC spawning /usr/bin/setprop: No such file or directory | 19:04 |
mal | piggz: oh, forgot which device that was | 19:04 |
mal | piggz: how does policies-setup fail? | 19:05 |
piggz | mal: | 19:06 |
piggz | [root@Sailfish ~]# /usr/libexec/policy-updater | 19:06 |
piggz | This device doesn't have camera policy file for MDM: "/usr/share/sailfish-policy/camera_devices.conf" | 19:06 |
piggz | Failed to update USB mode whitelist "org.freedesktop.DBus.Error.ServiceUnknown" | 19:06 |
mal | ok | 19:06 |
mal | piggz: so probably caused by usb-moded failure, should usb be supported on that device? | 19:07 |
piggz | mal: im not sure...probably, but i guess its not compiled in yet | 19:07 |
piggz | mal: do i need to build configfs? | 19:08 |
piggz | mal: though ... how does any of that relate to the lock-screen swipe issue? | 19:09 |
piggz | mal: see, when not in lockscreen, it operatoes 'ok' https://twitter.com/adampigg/status/1153381955343474688 | 19:11 |
electro5751 | mal, i have write selinux=0 | 19:35 |
electro5751 | BOARD_KERNEL_CMDLINE := console=ttySAC1,115200 selinux=0 | 19:35 |
electro5751 | on this path : hadk/device/samsung/smdk4412-common/BoardCommonConfig.mk | 19:35 |
electro5751 | i must just do : make hybris-boot ? | 19:35 |
deathmist | electro5751: sounds about right | 19:36 |
electro5751 | do, flash hybris-boot.img ? | 19:37 |
electro5751 | and check /proc/cmdline | 19:37 |
deathmist | yes, that is the only boot image you care about when working with Sailfish OS | 19:37 |
piggz | mal: the meaemo devs use CONFIGFS, so that must be what i need ... what kernel options are needed? | 19:38 |
piggz | # CONFIG_USB_CONFIGFS is not set | 19:38 |
piggz | CONFIG_CONFIGFS_FS=y | 19:38 |
piggz | first one eh | 19:38 |
electro5751 | but i must enter in telnet debug to check /proc/cmdline | 19:40 |
electro5751 | because of bootloop deathmist | 19:40 |
mal | piggz: yes, not sure if you need something else also | 19:41 |
electro5751 | mal, deathmist : https://dpaste.de/WXkA | 19:50 |
electro5751 | no selinux=0 appear ! | 19:50 |
mal | electro5751: no idea what is wrong then, unless bootloader removes the option | 19:53 |
electro5751 | maybe | 19:53 |
electro5751 | i have add this file init_enter_debug2 to enter in telnet session | 19:54 |
mal | the real thing to debug is why it reboots, based on what you told you had disabled droid-hal-init | 19:58 |
mal | electro5751: how soon after continuing boot does it reboot? | 19:58 |
electro5751 | bootloop 20s | 19:59 |
electro5751 | disable droid-hal-init and continue ? | 19:59 |
electro5751 | and count time after reboot for session telnet ? | 19:59 |
mal | it tells something | 20:02 |
electro | you just want the time to reboot of my device ? | 20:06 |
mal | does /proc/last_kmsg contain anything? | 20:07 |
electro5751 | yes | 20:08 |
electro5751 | https://dpaste.de/9RN0 | 20:09 |
electro5751 | mal, /proc/last_kmsg | 20:10 |
electro | what do you think about this problem mal ? The kernel is booting or not ? | 20:19 |
*** superprower is now known as Guest34925 | 20:21 | |
electro5751 | mal, an idea with this log ? | 20:32 |
mal | electro5751: that still seems to mention selinux, but you said droid-hal-init is disabled, also there is a mention of modem which should even be up if droid-hal-init is disabled | 20:36 |
electro5751 | nono droid-hal-init | 20:37 |
electro5751 | can i check if it is disable | 20:37 |
mal | it's quite late now, I think I'll go offline | 20:37 |
electro5751 | ok | 20:37 |
electro5751 | thanks a lot mal | 20:37 |
electro5751 | have a nice night | 20:37 |
electro | deathmist, repo problem: nothing provides pulseaudio-modules-droid needed by pattern:jolla-hw-adaptation-t0lte-1-1.noarch | 20:40 |
electro | do you know where can i get this ? | 20:40 |
mal | you didn't run build_packages.sh completely | 20:41 |
electro | thk | 20:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!