| T42 | <nightishaman> Im back, tomorrow I will continue my Pixel 7 port | 00:50 |
|---|---|---|
| *** n2klb_ is now known as n2klb | 01:57 | |
| sharks | Still making progress, I added all modules in `out/target/product/pdx225/vendor_dlkm/lib/modules/modules.load` to `/etc/modules-load.d/pdx225.conf`, plus also `wlan`, and added wifisetup.service same as fp5. Now I have vibration, LED and wifi working. Still no sound, ofono or bluetooth. But getting a little bit closer all the time... | 07:07 |
| sharks | Oh also no battery or charging status | 07:14 |
| sharks | If I can get those couple of things fixed I'll be back to daily driving this thing! | 07:14 |
| sharks | Charging appears fine in `udevadm monitor -p`, but csd can't spot it. Usb sucessfully asks for developer mode or MTP or charging only but no response on the computer end for either of the first two options. | 07:27 |
| sharks | (I have unmasked usb-moded btw now that I have ssh over wifi) | 07:27 |
| sharks | Anyway reading hadk-hot etc. to see what else I can try | 07:28 |
| sharks | "sm5038_usbpd_get_property PRESENT" is changing on usb connect/disconnect in dmesg, amongst many other messages. Also I remember MTP and developer mode never worked on stock SFOS by Jolla so mayyybe charging is working? But I have no battery icon in status bar... | 07:31 |
| sharks | `/sys/class/power_supply/battery/status` changes from "discharging" to "not charging" when plugged in, huh | 07:44 |
| sharks | `/sys/class/power_supply/battery/input_current_limit` is 0 and idk how to change it, that's probably not helping | 08:05 |
| T42 | <TheVancedGamer> mal: have you ever tried using gbinder with response functions in a QThread? | 10:28 |
| T42 | <TheVancedGamer> I'm trying to get gbinder working in a Qt app, but for some reason I can never have callbacks working if I move everything related to gbinder into a separate thread | 10:28 |
| T42 | <TheVancedGamer> servicemanager is created from a slot which is invoked by a signal, so by that point event loop should already be running | 10:28 |
| T42 | <elros34> @sharks did you add hw-settings.ini file? | 10:39 |
| sharks | Jeez, @elros34, right as I'm about to go to bed I spot that. Hangon, have just added it now. Gah I miss the most obvious things! | 10:55 |
| sharks | Haha! Now we have charging. Thanks! | 10:55 |
| sharks | Audio and Ofono are my biggest hurdles now, still really struggling to work out how to attack them. Was hoping to rely on whatever Mister_Magister did to make miami work but reading the logs it seems like everything just fell into place right out of the box for him! Maybe just my lack of experience | 10:57 |
| sharks | Hmm nevermind I have a battery indicator and the notification says we're charging but `/sys/class/power_supply/battery/status` still only says "Not Charging" when USB is connected | 11:06 |
| sharks | and also cameras still work in csd-tool but now the camera app is a black screen and not responding | 11:10 |
| sharks | I need to find out what service `iddd` is and fix that, and I need to fix `android.hardware.sensors` which I only just realised is a problem. I will work on that and fixing the camera again tomorrow. Meanwhile, if anyone has any suggestions regarding audio, ofono and bluetooth, please point me in the right direction if you can. | 11:26 |
| sharks | Current logcat -> https://paste.opensuse.org/pastes/b7589a6cd7bf Journal -> https://paste.opensuse.org/pastes/41818aade5a7 and dmesg -> https://paste.opensuse.org/pastes/62aea1b73678 | 11:26 |
| T42 | <elros34> @sharks: do you have /vendor/firmware_mnt? Where are you repositories droid-config and device repo? | 15:11 |
| T42 | <Mattia990> Hello, i have a doubt regarding odm partition. | 15:40 |
| T42 | <Mattia990> My device has this line in fstab: | 15:40 |
| T42 | <Mattia990> odm /odm ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount | 15:40 |
| T42 | <Mattia990> How should i manage its mount? | 15:41 |
| T42 | <elros34> isn't it in logical partitions section? | 15:42 |
| T42 | <elros34> probably it's on super partition | 15:43 |
| T42 | <Mattia990> In my case also system_ext is in logical partition, but it gets mounted, odm no | 15:44 |
| T42 | <elros34> parse-android-dynparts doesn't return odm? | 15:46 |
| T42 | <Mattia990> Where is that? It's the first time i hear it | 15:47 |
| T42 | <elros34> so how do you mount system and other partitions from super? Show your droid-config and android device repo repo | 15:48 |
| mal | https://github.com/mer-hybris/droid-hal-device/pull/350 just something that will simplify porting once that is merged | 16:24 |
| T42 | <nikita_kraev> FMI - that still requires the parse-android-dynparts though, right? | 16:26 |
| mal | yes, doesn't affect that but removed most need for fixup-mountpoints | 16:27 |
| mal | I still need to make hybris-boot init script to handle mounting differently so it doesn't need to know the device node of userdata | 16:27 |
| mal | after that fixup-mountpoint is probably not needed anymore | 16:28 |
| mal | unless device uses something else than by-name paths | 16:28 |
| T42 | <nikita_kraev> Since i am a complete noob - why we can't rely on the by-name? Because it mounts late, with android layer? | 16:29 |
| mal | systemd didn't like by-name things | 16:29 |
| mal | because udev creates those it somehow gets confused | 16:29 |
| T42 | <nikita_kraev> ah okay, the answer is always simpler :D | 16:29 |
| T42 | <elros34> so systemd didn't like by-name but can handle by-partlabel? | 16:31 |
| T42 | <nikita_kraev> @Mattia990 example for configuring the parse-android-dynparts: 1) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/bin/droid/dmsetup.sh | 16:31 |
| mal | @elros34 partlabel things are created somehow differently which works, maybe by-name could be fixes also but partlabel is easier | 16:33 |
| T42 | <nikita_kraev> 2) https://github.com/nikita-kraev/droid-config-redfin/blob/master/patterns/patterns-sailfish-device-adaptation-redfin.inc#L81 + build_packages.sh —mw=https://github.com/mlehtima/parse-android-dynparts | 16:33 |
| T42 | <nikita_kraev> 3) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/lib/systemd/system/dmsetup.service | 16:33 |
| T42 | <nikita_kraev> 3) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/lib/systemd/system/dmsetup.service (edited) | 16:34 |
| T42 | <nikita_kraev> (oh, no editing messages, i forgot) | 16:34 |
| T42 | <Mattia990> Elros here you can find all i did: https://github.com/orgs/sailfishos-cepheus/repositories | 17:15 |
| T42 | <Mattia990> Thank you Nikita, i will check! | 17:15 |
| T42 | <elros34> so you have both legacy and dynamic: inandroid_device_xiaomi_sm8150-common/rootdir/etc | 17:17 |
| T42 | <elros34> so which one do you flash with lineageos? | 17:18 |
| T42 | <Mattia990> Checking the device tree if I'm not wrong it is using the dynamic one | 17:19 |
| T42 | <elros34> probably it's safe to asume that but do you see super in partition list? | 17:22 |
| T42 | <Mattia990> Under /dev/mapper I just see control when sailfish ui and droid hal are running, if you are referring to that | 17:24 |
| T42 | <elros34> what do you mean you have ui working? | 17:25 |
| T42 | <elros34> When you were preparing fixup-mountpoints you have gather list of partitions. You should see there super instead system | 17:28 |
| T42 | <elros34> you have added android_version_major 10 but don't you use android 11 (lineage-18)? | 17:30 |
| T42 | <Mattia990> Yes, i have ui working and touch functioning but I loose the usb connection and wifi isn't working | 17:41 |
| T42 | <Mattia990> All the commands I execute are with telnet with the enter_debug file or by writing commands with touchscreen and saving logs (re @elros34: what do you mean you...) | 17:41 |
| T42 | <Mattia990> So when droid hal starts i don't have WiFi, usb, camera and a lot of errors in logcat and dmesg | 17:41 |
| T42 | <Mattia990> Should I put 11 there? (re @elros34: you have added andro...) | 17:42 |
| T42 | <elros34> if you use android 11 the for sure | 17:42 |
| T42 | <elros34> if you mask usb-moded you shouldn't loose usb | 17:43 |
| T42 | <Mattia990> This is the fixup mounpoints: https://paste.opensuse.org/pastes/82e550ce998e (re @elros34: When you were prepar...) | 17:44 |
| T42 | <elros34> ok so if this is correct then you dont use dynamic partitions so you should ignore fstab_dynamic.qcom. | 17:46 |
| T42 | <elros34> odm also doesn't exist in your partition list | 17:47 |
| T42 | <Mattia990> So the problem is another, good to know. | 18:44 |
| T42 | <Mattia990> This is logcat: https://paste.opensuse.org/pastes/f8d09aa3103c | 18:44 |
| T42 | <Mattia990> dmesg: https://paste.opensuse.org/pastes/f2cef549fd60 | 18:44 |
| T42 | <Mattia990> | 18:44 |
| T42 | <Mattia990> There is a big crash in dmesg | 18:44 |
| T42 | <elros34> just wondering from where did you get these thousands lines of changes? https://github.com/sailfishos-cepheus/android_kernel_xiaomi_sm8150/commit/7b410d182db0f06983ed1f2da5ec49d98a0a00cb#diff-d8ab18c7fe4aecdebc357cc3821e8f92cd7a82669f8e1091013e2ab751fe9c42 | 18:50 |
| T42 | <Mattia990> I got working dtsi from another kernel which android 11 rom was working (re @elros34: just wondering from ...) | 18:52 |
| T42 | <elros34> frankly it's a mess but anyway: first error should be rather easy to fix: library "libandroidicu.so" not found | 18:56 |
| T42 | <system> file file_9522.mp4 too big to download (7452366 > allowed size: 2000000) | 19:06 |
| T42 | <دسـتان> Forwarded from وال استریت ایران: | 19:06 |
| T42 | <elros34> I can see this lovely "WARNING: CPU: 7 PID: 6883 at mm/vmscan.c:1685 isolate_lru_page" is quiet common for xiaomi | 19:26 |
| T42 | <nikita_kraev> Is that expected that we need to add the /etc/cgroups.json ourselves? | 19:37 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!