| *** n2klb_ is now known as n2klb | 01:21 | |
| jmerono_ | hi! i'm trying to do my first sfos port and i'm stuck building the droid-hal-device packages: mb2 isn't even seeing the spec file ($ANDROID_ROOT/.mb2/spec, failing with an ENOENT right at the start), even though it exists and with proper rights. i am using an external disk setup (two drives with a btrfs RAID as my $ANDROID_ROOT), but i don't see how that'd be the problem. would love some guidance to know what to chec | 11:55 |
|---|---|---|
| sharks[m] | I have done all my porting on external disks over USB3. It causes very long android-side build times and chews up all my memory and swap space in the process. 0/10 would not reccommend, although it does not sound like that is the problem in your case at this stage. | 12:04 |
| jmerono_ | sharks[m]: i mean, it for sure wasn't optimal but it wasn't terrible in my case :/ | 12:21 |
| T42 | <elros34> @jmerono_ definitely the problem is external drive, you need to mount it correctly | 12:21 |
| T42 | <elros34> I do not remember commands but you should be able to find it in channel logs search | 12:25 |
| mal | jmerono_: I have this kind of thing in .hadk file: sudo mount --bind /parentroot/path_to_external_storage/ "$HOME/some_path" | 13:13 |
| T42 | <TeodorBGStanilov> /notes | 13:55 |
| T42 | <TeodorBGStanilov> Can someone help me find dfe neo | 13:56 |
| jmerono_ | mal: i'll try that out, thanks! not knowing how to do it initially, i did something similar but by editing sdk-chroot and ubu-chroot to mount it to the same external storage path on the chroot, but i'll change it to that and see how it goes | 14:00 |
| jmerono_ | what confuses me though is that i was able to do every step prior to this with that patch i mentioned (and i can stat the file on the platform SDK shell) :/ | 14:01 |
| T42 | <the_hiktor> what iam supposed to do if some kernel module doesnt get built ? | 14:38 |
| T42 | <the_hiktor> im trying to fix fm radio | 14:39 |
| T42 | <the_hiktor> followed the faq | 14:39 |
| T42 | <Mister_Magister> does your phone even have fm radio | 14:40 |
| T42 | <the_hiktor> yea | 14:40 |
| T42 | <Mister_Magister> and you verified that it does? | 14:41 |
| T42 | <the_hiktor> on sfos ? | 14:41 |
| T42 | <the_hiktor> or android | 14:41 |
| T42 | <Mister_Magister> on android | 14:41 |
| T42 | <the_hiktor> yeah on android it does | 14:42 |
| T42 | <Mister_Magister> and it worked for you i take it? | 14:42 |
| T42 | <the_hiktor> wdym | 14:44 |
| T42 | <the_hiktor> it was working on android | 14:44 |
| T42 | <Mister_Magister> when you had the android base installed that you use for porting, did you plug in the headphones and verified yourself that it is in fact working or you just read somewhere that it works on android and acting off of that? | 14:44 |
| mal | @the_hiktor try starting jolla-mediaplayer app as defaultuser from terminal to make sure one sandboxing issue doesn't cause the failure | 14:52 |
| jmerono_ | hi again! after getting further by changing how my storage is mounted to the chroots, i just realized the HAL build i did before lacks a /root directory at out/target/product/kugo/root and i'm confused. is there any step enabling that that i missed or did i do something terribly wrong? (i'm quite new to this, i'm sorry...) | 15:55 |
| T42 | <elros34> IIRC it can be empty on some android versions | 17:02 |
| T42 | <the_hiktor> @Mister_Magister yeah i tested it before and i double checked when you asked | 18:40 |
| T42 | <the_hiktor> mal: https://paste.opensuse.org/pastes/a02a6a3f9100 | 18:41 |
| T42 | <Mister_Magister> Okay so you enabled IRIS_RADIO i assume and the stuff and now kernel doesn't build? | 18:41 |
| T42 | <the_hiktor> it does build normally | 18:42 |
| T42 | <the_hiktor> it doesn't show errors when building | 18:43 |
| T42 | <the_hiktor> but i can't find newly build kernel modules | 18:43 |
| T42 | <Mister_Magister> and you built them as module and stuff? | 18:43 |
| T42 | <the_hiktor> even if included within kernel | 18:43 |
| T42 | <the_hiktor> yea | 18:43 |
| T42 | <Mister_Magister> find out -iname \*iris\* | 18:43 |
| T42 | <the_hiktor> nothing | 18:44 |
| T42 | <Mister_Magister> dang | 18:44 |
| T42 | <Mister_Magister> kernel sauce? | 18:45 |
| T42 | <Mister_Magister> did you actually check those flags exist? zgrep IRIS /proc/config.gz on da phon | 18:45 |
| T42 | <the_hiktor> https://github.com/GloboPatro/android_kernel_xiaomi_surya/tree/hybris-18.1 | 18:47 |
| T42 | <the_hiktor> nothing on phone | 18:47 |
| T42 | <Mister_Magister> so you don't have IRIS available so no wonder it doesn't build :) | 18:48 |
| T42 | <the_hiktor> i didnt push em yet | 18:48 |
| T42 | <the_hiktor> i can show you local | 18:48 |
| T42 | <Mister_Magister> wait do you have link to the instructions? | 18:49 |
| T42 | <the_hiktor> you mean faq ? | 18:49 |
| T42 | <Mister_Magister> sure | 18:50 |
| T42 | <the_hiktor> https://github.com/mer-hybris/hadk-faq#fm-radio | 18:50 |
| Mister_Magister | https://github.com/search?q=repo%3AGloboPatro%2Fandroid_kernel_xiaomi_surya+CONFIG_RADIO_IRIS&type=code | 18:50 |
| Mister_Magister | it literally doesn't exist in kernel xd | 18:50 |
| T42 | <the_hiktor> fuck | 18:50 |
| Mister_Magister | so mal probably has better idea | 18:51 |
| Mister_Magister | so you have radio option in sfos mediaplayer right? | 18:51 |
| T42 | <the_hiktor> yeah | 18:52 |
| Mister_Magister | did you do this? https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/pulse/xpolicy.conf.d/fmradio.conf | 18:52 |
| Mister_Magister | liek the symlink | 18:52 |
| mal | but what driver is the device using? | 18:52 |
| mal | grep FM from kernel config | 18:53 |
| T42 | <Mister_Magister> in github search i didn't see much but we both know how reliable that is | 18:54 |
| mal | yeah, nothing in https://github.com/GloboPatro/android_kernel_xiaomi_surya/blob/lineage-18.1/arch/arm64/configs/surya_defconfig | 18:54 |
| mal | does the device have some hal library or binder interface for it | 18:55 |
| T42 | <the_hiktor> yea tried fmradio.conf symlink | 18:59 |
| T42 | <the_hiktor> regarding driver i think its wcnss | 18:59 |
| T42 | <the_hiktor> not sure i read it somewhere | 18:59 |
| T42 | <the_hiktor> is binder-list output good ? | 19:01 |
| T42 | <the_hiktor> nvm here | 19:05 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/21751ee581ca | 19:05 |
| T42 | <Mister_Magister> there's no fm xd | 19:10 |
| T42 | <elros34> maybe on hwbinder | 19:10 |
| T42 | <elros34> ah it's default so on /dev/binder | 19:12 |
| T42 | <elros34> I seams to have vendor.qti.hardware.fm@1.0::IFmHci/default on hwbinder but I guess there is no plugin for it | 19:14 |
| T42 | <the_hiktor> what options do i have :) | 19:19 |
| T42 | <the_hiktor> nice luck i have i guess | 19:21 |
| T42 | <elros34> find / -name *fm* | 19:22 |
| T42 | <the_hiktor> here https://paste.opensuse.org/pastes/db854465ff18 | 19:23 |
| mal | is there something about broadcast radio in binder-list, either in hwbinder or binder | 19:27 |
| mal | ah, you have it | 19:27 |
| mal | sorry, missed the earlier message | 19:27 |
| T42 | <elros34> he doesn't. at least I do not see it | 19:28 |
| mal | but check if you have android.hardware.broadcastradio in hwbinder or binder? | 19:28 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/f46e05940563 | 19:28 |
| mal | not in binder either? | 19:28 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/bdadeaa09e6e | 19:29 |
| mal | does this return anything : find /*/lib64/hw -name '*radio*' | 19:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!