*** jrayhawk_ is now known as jrayhawk | 02:06 | |
rinigus | piggz: libhybris main can be used, they merged the patches | 06:30 |
---|---|---|
piggz | rinigus: ta | 07:58 |
T42 | <adampigg> mal: how can i disable rpmlint errors that id rather ignore https://build.merproject.org/package/live_build_log/nemo:devel:hw:fxtec:qx1000/droid-hal-qx1000/sailfish_latest_armv7hl/armv8el | 09:15 |
T42 | <adampigg> and dont say the solution is not to install the vendor stuff :) | 09:20 |
mal | @adampigg did you minimize the build or is that supposed to be the whole android side build? | 16:03 |
mal | @adampigg that droid-hal rpm is huge | 16:05 |
mal | if you are going package the whole system/vendor stuff the go with the "official" way, not like that | 16:06 |
T42 | <adampigg> Its included for some patched lib...could be minimized more, but i byoassed the rpmlint error for now | 16:07 |
T42 | <adampigg> Its fine :) | 16:07 |
mal | @adampigg which lib? | 16:11 |
mal | you know you can just build that, not all | 16:11 |
T42 | <adampigg> Yeah, ill fix it later...i may also remove the qx1000 repo | 16:40 |
piggz | mal: so, is there a way to specify additional files to be included in the install? | 17:29 |
piggz | atm, I hacked the inc file to install whole of /vendor | 17:29 |
piggz | bug/improvement for dhd.inc ..... the mer kernel check command should use habuild_device if set, not device | 17:36 |
piggz | hang on, it does, im just using the wrong spec | 17:37 |
piggz | :D | 17:38 |
mal | piggz: you need to be a bit more specific so we can fix it properly | 17:55 |
piggz | mal: so, i need to patch a vendor library ... im happy to install the files into /usr/libexec/droidhybris/vendor/....... and then bind mount over the system file.... | 17:56 |
piggz | i just need to know how to include just that lib in the rpm and not copy the whole of vendor/ | 17:57 |
mal | piggz: I meant that if you have the minimized build but then just run "make foo" for the lib foo you patch, does it work? | 17:57 |
piggz | ill have to check ... i aready removed a lot from the build, but obviously not enough! | 17:59 |
piggz | i might make clean and see if its much smaller | 17:59 |
piggz | as it is bigger than the last build i made | 17:59 |
mal | I would do normal minimizing and then try that, I used it on some devices to build extra patched libs | 17:59 |
mal | like patched hwcomposer on 2011 xperias | 18:00 |
mal | just "make hybris-hal some_lib" | 18:00 |
piggz | mal: ok....additionally, the dhd inc file doest copy stuff from vendor at all so i modified that | 18:02 |
mal | piggz: just curious, what kind of thing do you need to patch in vendor? | 18:13 |
piggz | lib msm recovery for bootctl | 18:14 |
piggz | like rinigus did | 18:14 |
piggz | i think there is also another way using udev | 18:14 |
piggz | but, in the future i may also need to patch and install some camera libs | 18:15 |
piggz | so, it would be nice if there was a way to install stuff from vendor | 18:15 |
T42 | <NotKit> piggz, also some RIL-related libs | 18:16 |
T42 | <NotKit> to fix data | 18:16 |
mal | isn't there some other way to fix those than to patch the libs | 18:17 |
T42 | <NotKit> maybe, but that is the easiest compared to say doing fake netd | 18:18 |
T42 | <NotKit> (since we can recompile them) | 18:18 |
mal | like https://github.com/mer-hybris/dummy_netd ? | 18:19 |
piggz | lol maybe ... thats a new one to me | 18:21 |
mal | well mentioning problems to me might help sometimes :) | 18:22 |
piggz | well, its taken me until now to get a phone that will go on the network, so i have a revived interest | 18:24 |
piggz | my build seems relatively minimal, 5500 targets instead of the 81000 it started with! | 18:32 |
piggz | my build seems relatively minimal, 5500 targets instead of the 81000 it started with! | 19:24 |
piggz | mal: what is a safe version of ofono ril binder plugin? | 19:24 |
mal | piggz: 3.2.1 has 1.0.10 | 19:26 |
mal | piggz: although I see no new dependency changes after that | 19:29 |
piggz | mal: ok, ill try master .... what is the full version of 3.2.1? | 19:29 |
mal | piggz: full version? | 19:30 |
piggz | the 4th number | 19:31 |
mal | 3.2.1.20 | 19:31 |
*** Simdol is now known as DeltoidDelta | 19:36 | |
DevelLevel | Hi, I am new to working with Sailfish OS so sorry for my inexperience. I have successfully built Sailfish OS for my the device, the SONY xperia z5 compact/suzuran. But the issue I am facing is that my zip image are unable to boot. I am stuck at the SONY splash screen. I’ve tried taking a pmsg-ramoops, but the file only shows one character which is unreadable: []. I am building with Lineage os 14.1 as a base and th | 20:32 |
DevelLevel | e official lineage os device trees. And here is the output of a kernel check: https://pastebin.com/EabA9EJ5. I’ve tried to fix as many ERRORs and WARNINGS as possible but these WARNINGS are left. I don't know how to proceed hence why I am reaching out here. Is there any way for me to get another sort of logfile or solve this issue? Where should I start looking? | 20:32 |
mal | based on those you have done some not so good configuration options, you should use CONFIG_SECURITY_SELINUX_BOOTPARAM and keep CONFIG_AUDIT=y, as mentioned in hadk pdf chapter 9.3.1 | 20:37 |
DevelLevel | I will try... The only problem I had with SECURITY_SELINUX_BOOTPARAM is that i have it enabled. But it does not show as enabled in the kernel check. Here are my defconfig addons: https://pastebin.com/mNnV3PaB | 20:44 |
DevelLevel | I should also add that when I am flashing the Sailfish OS zip am i getting this: mount: failed to mount /dev/block/bootdevice/by-name/userdata at /data: device or resource busy. But the instalation completes with no errors... | 20:46 |
mal | DevelLevel: note that those are all in capital letters | 21:01 |
mal | you added those new ones not like that | 21:01 |
mal | show what changes you made to fixup-mountpoints | 21:01 |
DevelLevel | ops I will recompile the kernel with CAPITAL letters... | 21:04 |
mal | just look how the other ones in the file look like and do it like those | 21:04 |
DevelLevel | Here you go: https://pastebin.com/0BShNCHr | 21:07 |
mal | can you give me a link to your device repo, of lineageos for example | 21:09 |
DevelLevel | https://github.com/LineageOS/android_device_sony_suzuran, https://github.com/LineageOS/android_device_sony_kitakami-common | 21:10 |
mal | how did you determine the values for fixup-mountpoints? | 21:12 |
DevelLevel | From chapter 5.3 in HADK | 21:13 |
mal | based on this https://github.com/LineageOS/android_device_sony_kitakami-common/blob/cm-14.1/rootdir/fstab.qcom you should be using block/bootdevice/by-name/ instead of block/platform/soc.0/f9824900.sdhci/by-name/ | 21:13 |
mal | so you need to run make hybris-hal again in the correct environment like you did before and after that "build_packages.sh -d" and then build new image | 21:15 |
DevelLevel | Ok, thank you verry much for the help. I will see what I can do. BTW I added some more configs related to selinux and change them to CAPITAL letters. The BOOTPARAM warning is gone. But i were unable to activate AUDITY | 21:16 |
mal | you already had audit there | 21:17 |
DevelLevel | I know but i added some dependencies but it did not work... | 21:18 |
DevelLevel | I got the same: mount: failed to mount /dev/block/bootdevice/by-name/userdata at /data: device or resource busy. Issue but this time i got a white light when booting. I think i took a step forward getting this to work!!! Thank you verry much mal | 21:55 |
T42 | <edp_17> Good evening. | 22:26 |
T42 | <edp_17> I know it looks annoying but I don't know what am doing wrong with the bluetooth. It still doesn't work only if I manually run the brcm_patchram_plus command. | 22:28 |
T42 | <edp_17> The config inf /etc/firmware/ and bluetooth-rfkill-event.service and journalctl is here: https://pastebin.com/V92Wp9dX | 22:29 |
T42 | <edp_17> When I click on the bluetooth, there is a bluetooth_rfkill_event but the bt is not turning on. | 22:29 |
T42 | <edp_17> The parameters in the /etc/firmware/bcm4330b1.conf are correct, so I am puzzled. | 22:30 |
T42 | <edp_17> I have tried to add the brcm_patchram_plus command into the bluetooth-rfkill-event.service as ExecStartPre, then as ExecStartPost but none of them worked. | 22:32 |
T42 | <elros34> Have you tried to run bluetooth-rfkill-event in debug mode (-d option)? | 22:33 |
mal | what does command rfkill show in terminal | 22:33 |
mal | debug is also a good idea | 22:34 |
T42 | <edp_17> rfkill output: https://pastebin.com/NnP6GvaK | 22:34 |
T42 | <edp_17> I'll try the debug. | 22:34 |
T42 | <edp_17> I have changed the 'ExecStart' to '/usr/sbin/bluetooth_rfkill_event -d $DEBUG $BTMODULE $CONFIGFILE' in 'bluetooth-rfkill-event.service' but didn't give me more in the journalctl. | 22:40 |
T42 | <edp_17> I have tried to run the 'bluetooth_rfkill_event -d -c /etc/firmware/bcm4330b1.conf' but that didn't show anything. Then I checked the journalctl again: https://pastebin.com/BKd7cNjC | 22:44 |
T42 | <edp_17> Still nothing, it only shows that I switched on/off the bluetooth in Settings. | 22:44 |
T42 | <edp_17> the content of '/etc/sysconfig/bluetooth-rfkill-event-hciattach' : https://pastebin.com/T7WWw9Xm | 22:46 |
T42 | <edp_17> I went through 10.5 in hadq-faq but except the symlinks in /etc/firmware, I have everything else. | 22:49 |
mal | that log had more than before | 22:50 |
mal | the rfkill event: idx 0 type BLUETOOTH(2) op CHANGE(2) soft 0 hard 0 | 22:50 |
T42 | <edp_17> I don't really know what this is. I guess it shows when I switch the bt off or on in Settings. | 22:52 |
T42 | <elros34> for me it doesn't looks like a full log, so reboot and grab full log again | 22:52 |
mal | the message looks like it doesn't find the switch because rfkill add wasn't seen | 22:54 |
mal | before it sees rfkill change | 22:54 |
T42 | <edp_17> Yes, it is not a full log. I'll reboot and give a full log. | 22:55 |
T42 | <edp_17> I have found this too: 'rfkill_switch_add(bluetooth_rfkill_event.c:1076): Skipping over unsupported rfkill switch 'bcm4330 Bluetooth' | 22:56 |
mal | https://github.com/mer-hybris/bluetooth-rfkill-event/blob/master/bluetooth-rfkill-event/bluetooth_rfkill_event.c#L78 | 22:59 |
mal | change that string to "bcm4330 Bluetooth\n" and build the bluetooth-rfkill-event rpm again and install it on device | 23:01 |
T42 | <edp_17> I cannot upload the full journalctl because it is too large. 😔 | 23:01 |
mal | no need | 23:01 |
mal | just do what I just told | 23:01 |
T42 | <edp_17> @mal : thanks, I try. | 23:02 |
T42 | <edp_17> Should I rebuild the broadcom-bluetooth too? | 23:04 |
T42 | <edp_17> Okay, here it is what I have done. I changed that line as advised then rebuilt and installed bluetooth-rfkill-event. (First I needed to remove bluetooth-rfkill-event-configs-mer) | 23:15 |
T42 | <edp_17> Then I did a systemctl daemon-reload and went to Settings and tried to turn bt on then off (or vice verse) | 23:16 |
T42 | <edp_17> Then I ran 'bluetooth_rfkill_event -d -c /etc/firmware/bcm4330b1.conf' and also went to Settings and tried on/off the bt (or vice verse) | 23:17 |
T42 | <edp_17> Now there is more in the log: https://pastebin.com/iWtJy3AP | 23:18 |
T42 | <edp_17> I see, there are some invalid parameters in the conf. | 23:19 |
mal | did you reboot | 23:24 |
T42 | <edp_17> Not yet. I am doing. | 23:24 |
mal | you have some mistakes in the config file | 23:26 |
T42 | <edp_17> What I also did was: commented out the no2bytes and patchram keywords in the .conf and recreated the symlink into /etc/firmware. | 23:26 |
mal | replace word patchram dl_patch | 23:27 |
mal | replace word patchram with dl_patch | 23:27 |
T42 | <edp_17> I replaced the word and rebooted. When I try to switch the bt on in settings: https://pastebin.com/Ux1gCnfg | 23:33 |
mal | did it work? based on log it did something | 23:37 |
T42 | <edp_17> No, it didn't. Based on the log it turned the bt on then off again. | 23:38 |
mal | does the line 16 in that log look like the command you used manually? | 23:39 |
mal | it shows the command it runs | 23:40 |
T42 | <edp_17> No, I only rebooted and tried to switch the bt on/off in Settings. | 23:41 |
mal | read what I wrote | 23:42 |
mal | you said earlier that you can get bluetooth working manually by running some command, is the command on line 16 of that last log the same as the manual command | 23:43 |
T42 | <edp_17> Yes, except the '--bd_addr 6a:1a:8a:ca:2d:a6' bit because that was not in the manual command when I ran that. | 23:45 |
mal | so why doesn't that work then | 23:46 |
mal | if it's the same command | 23:46 |
T42 | <edp_17> I have repeated the test. | 23:49 |
T42 | <edp_17> Rebooted. | 23:49 |
T42 | <edp_17> Started journalctl. | 23:49 |
T42 | <edp_17> In Settings turned bt on. | 23:50 |
T42 | <edp_17> It has turned of for a second, then off again. | 23:50 |
T42 | <edp_17> Journal: https://pastebin.com/nM3022QA | 23:50 |
T42 | <edp_17> Is it possible that a pulseaudio setting does prevent the bt to stay on? | 23:51 |
mal | you need to compare that log to what you see if you disable the bluetooth-rfkill-event service and instead run the manual command | 23:53 |
mal | but it's getting late now, more debugging some other time | 23:54 |
T42 | <edp_17> Okay, thanks for your time again. | 23:55 |
T42 | <edp_17> When I disabled the bluetooth-rfkill-event service and ran the command manually, the bt turned on and stayed on. No I check logs. | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!