T42 | <diablo765> in the dot 5.3 Configure Mountpoint Information | 00:00 |
---|---|---|
T42 | <diablo765> how to create the dhd? | 00:00 |
T42 | <diablo765> for device | 00:00 |
Mister_Magister | read hadk | 00:00 |
T42 | <diablo765> sorry for my ignorance | 00:01 |
mal | @hacker12455 it seems usb-moded has trouble finding a power supply on your device, can you show output of "grep -RI 'POWER_SUPPLY_ONLINE\|POWER_SUPPLY_PRESENT' /sys/class/power_supply/*/uevent" | 00:01 |
T42 | <elros34> @rodrisola so looks like nothing crashed. Have you tried to to use lower -jX? How much free memory you have (RAM and storage)? What if you try to build only droidmedia now, do you still get same error as previously or linker_32 error? | 00:02 |
Mister_Magister | @diablo765 7.1 is creating dhd dcd and dhv | 00:02 |
Mister_Magister | you don't need it yet | 00:02 |
T42 | <rodrisola> @elros34 : I am using the azure cloud, with 16 gigs of ram memory, and it has 500 of internal memory | 00:04 |
T42 | <diablo765> sorry Mister_Magister, i dont understand | 00:08 |
T42 | <diablo765> the guide | 00:09 |
T42 | <diablo765> In the previous guides, I guided you how to create the dhd of the device | 00:11 |
T42 | <elros34> 5.3 is not about dhd but mounpoints map, so what excatly do you try to do now | 00:14 |
Mister_Magister | hmm its not booting lineage anymore but neither do i have any rndis nor mtp | 00:25 |
Mister_Magister | oh it rebooted, nice | 00:26 |
Mister_Magister | ha, got rndis | 00:44 |
Mister_Magister | but connection refused | 00:44 |
Mister_Magister | oh port 23 works | 00:44 |
Mister_Magister | ahhhh lineage encrypted the /data | 00:44 |
T42 | <rodrisola> new build/make/core/Makefile:1278: error: real file "out/target/product/courbet/boot.img" depends on PHONY target "mkbootimg" | 03:06 |
T42 | <rodrisola> error https://www.toptal.com/developers/hastebin/perowiciso.makefile | 03:06 |
Mister_Magister | do you have all the sources? | 03:12 |
T42 | <rodrisola> i solve, with hybris-boot is annother repository | 03:41 |
T42 | <rodrisola> https://www.toptal.com/developers/hastebin/isuxobajip.md | 03:41 |
T42 | <rodrisola> not yet built, I have that error | 03:42 |
T42 | <rodrisola> FAILED: ninja: 'linker_32', needed by 'hybris-hal', missing and no known rule to make it | 03:42 |
Mister_Magister | if you didn't have hybris-boot then you are lacking repos | 03:50 |
T42 | <rodrisola> if I had it, just clone the fixmount of an old repository of mine, and that caused me an error, but I already solved it. | 03:59 |
Mister_Magister | @b100dian ping | 04:44 |
Mister_Magister | big issues with selinux | 05:08 |
Mister_Magister | gotta wait for mal | 05:10 |
T42 | <hacker12455> mal: here is the output /sys/class/power_supply/battery/uevent:POWER_SUPPLY_PRESENT=1 | 06:27 |
T42 | <Gloria Flores> It's amazing trading with Mrs Jennifer Andre which has great skills and knowledge about trade marketing. Now I enjoy great profits and stress free withdrawals, start up now with her, you can get to her on | 08:11 |
T42 | <Gloria Flores> https://t.me/joinchat/JW8BX-dSkvA5YjJk | 08:11 |
T42 | <elros34> @hacker12455 so what other props you have in /sys/class/power_supply/* (without battery dir)? Especially those which change when you plug in/out usb | 08:58 |
T42 | <hacker12455> bcl, bms, fg_adc, usb | 09:01 |
T42 | <hacker12455> none of them seem to change after I plug in/out the usb | 09:02 |
T42 | <elros34> what if use run udevadm monitor, do you get any change on plug | 09:05 |
T42 | <hacker12455> should I use it as root? | 09:09 |
T42 | <elros34> I think not | 09:10 |
T42 | <elros34> no | 09:10 |
T42 | <hacker12455> https://bpa.st/MTMQ | 09:11 |
T42 | <elros34> so something changed, use -p to figure out which property | 09:13 |
T42 | <hacker12455> https://bpa.st/WADA | 09:17 |
T42 | <elros34> so POWER_SUPPLY_NAME? from what value? | 09:32 |
T42 | <elros34> or nothing really changed? | 09:33 |
T42 | <hacker12455> think nothing changed | 09:34 |
T42 | <elros34> hard to guess, I do not know when you plug in/out usb. You need to find some reliable event which you can then find in kernel and add POWER_SUPPLY_PRESENT/ONLINE props | 09:35 |
T42 | <elros34> prop | 09:35 |
T42 | <hacker12455> hmm | 09:36 |
T42 | <hacker12455> can I read the properties somehow? | 09:36 |
T42 | <elros34> cat | 09:36 |
T42 | <elros34> but if POWER_SUPPLY_TYPE is also missing then not sure if that will be enough | 09:37 |
T42 | <hacker12455> hm | 09:39 |
T42 | <hacker12455> so find an event that changes when I plug the cable in/out? | 09:39 |
T42 | <elros34> that would be the first thing right? Do you connect usb now or charger? | 09:40 |
T42 | <hacker12455> usb | 09:40 |
T42 | <hacker12455> so POWER_SUPPLY_STATUS changes | 09:41 |
T42 | <hacker12455> let me see what happens if I plug in the charger | 09:41 |
T42 | <hacker12455> power_supply_name does not seem to change | 09:44 |
T42 | <elros34> I hope you do not look at power_supply/battery events when you are talking about status property | 09:45 |
T42 | <hacker12455> well | 09:45 |
T42 | <hacker12455> usb doesn't have a status property | 09:45 |
T42 | <hacker12455> though if I just cat /sys/class/power_supply/usb/present it shows if I plugged it in or not | 09:48 |
T42 | <elros34> so that can be used, just missing some code which also update it in uevent file? | 09:49 |
T42 | <elros34> is there also reliable type property? | 09:49 |
T42 | <hacker12455> well if I cat type in there | 09:51 |
T42 | <hacker12455> it says USB for the USB cable and battery | 09:51 |
T42 | <hacker12455> and USB_DCP for the charge | 09:52 |
T42 | <hacker12455> and USB_DCP for the charger (edited) | 09:52 |
T42 | <elros34> that is all you need | 09:52 |
T42 | <hacker12455> so what do I do now? | 09:53 |
T42 | <elros34> you need add missing code in kernel. I had to add type property so you can look at the commit but you will need probably slightly different changes: https://github.com/elros34/android_kernel_motorola_msm8960-common/commit/1957b0f60f573d3010893143ec98e3bdd4944778 | 09:57 |
Thaodan | Did someone here had issues with IPA suspend? I get kernel panic for pm suspend in ipa. https://paste.opensuse.org/72460034 | 16:18 |
Mister_Magister | Thaodan: the only IPA i know has at least 5% of alcohol in it :D | 16:23 |
Thaodan | Mister_Magister: Polish beer? | 16:37 |
Mister_Magister | Thaodan: not polish but beer ye | 17:37 |
Mister_Magister | Indian Pale Ale | 17:37 |
Mister_Magister | aka IPA | 17:37 |
Mister_Magister | mal: ping | 17:39 |
*** Daaanct12 is now known as Danct12 | 18:31 | |
T42 | <rodrisola> Andy for help (re @rodrisola: https://www.toptal.c...) | 19:54 |
T42 | <rodrisola> Any for help | 19:54 |
T42 | <rodrisola> ?? | 19:54 |
T42 | <rodrisola> My error is linker_32 | 19:54 |
T42 | <hacker12455> quick question | 20:45 |
T42 | <hacker12455> what should the vendor-firmware_mnt mount point to? | 20:45 |
T42 | <elros34> most likely to /vendor/firmware_mnt but check fstab to be sure | 20:53 |
T42 | <hacker12455> for me it seems to mount the modem partition | 20:57 |
T42 | <hacker12455> which is correct | 20:57 |
T42 | <hacker12455> though persist isn't mounted | 20:58 |
T42 | <hacker12455> likely because it isn't in the fixup-mountpoints yet | 20:58 |
T42 | <hacker12455> ah wait it is mounted | 20:59 |
T42 | <hacker12455> still trying to figure out why wifi was working before but now it doesn't | 21:01 |
T42 | <hacker12455> I even checked the kernel config for the options related to it | 21:01 |
T42 | <hacker12455> they are the same as in pmOS | 21:01 |
T42 | <hacker12455> where it works fine | 21:01 |
mal | Mister_Magister: pong | 21:02 |
T42 | <hacker12455> so I decided to throw out the cedric directory in out/target/product | 21:10 |
T42 | <hacker12455> building hybris-hal again | 21:10 |
T42 | <hacker12455> maybe that helps... | 21:10 |
T42 | <hacker12455> it did not | 21:25 |
mal | what is the problem you are trying to solve? | 21:26 |
T42 | <hacker12455> wlan not working | 21:27 |
T42 | <hacker12455> It worked before but now it stopped working completely | 21:27 |
T42 | <hacker12455> all firmware files are in place | 21:27 |
T42 | <hacker12455> unless I need to try the module again? | 21:28 |
T42 | <hacker12455> let me try that | 21:28 |
T42 | <elros34> does it work if you boot to android for a while and then to sfos? | 21:30 |
mal | did you use module when it worked? | 21:30 |
mal | what is the current init method you use for wlan? | 21:31 |
T42 | <hacker12455> it worked on both (re @SailfishFreenodeIRCBridgeBot: <mal>did you use mod...) | 21:31 |
T42 | <hacker12455> currently I init it manually for now | 21:32 |
mal | but exactly what are you trying? | 21:35 |
T42 | <hacker12455> tried to insmod the module | 21:38 |
T42 | <hacker12455> I get the same no nv name in dmesg I was getting with the builtin module | 21:38 |
T42 | <hacker12455> I get the same no nv name in dmesg I was getting with the builtin driver (edited) | 21:39 |
T42 | <hacker12455> as for how I test the builtin driver | 21:39 |
T42 | <hacker12455> echo 1 > /dev/wcnss_wlan | 21:39 |
T42 | <hacker12455> echo sta > /sys/module/wlan/parameters/fwpath | 21:39 |
T42 | <hacker12455> touch /dev/wcnss_wlan | 21:39 |
T42 | <hacker12455> echo sta > /sys/module/wlan/parameters/fwpath (edited) | 21:39 |
T42 | <hacker12455> no idea what is going on | 21:43 |
T42 | <hacker12455> or what I'm changing that causes it | 21:43 |
T42 | <hacker12455> as before the module worked, then the builtin driver worked, now nothing works | 21:43 |
T42 | <hacker12455> it's like the firmware is missing something | 21:44 |
T42 | <hacker12455> but why | 21:44 |
T42 | <hacker12455> or rather the driver | 21:44 |
mal | what was the error in dmesg? | 21:49 |
T42 | <hacker12455> wcnss_get_wlan_nv_name: No NV name | 21:49 |
mal | can you give a link to the kernel sources in github? | 21:49 |
T42 | <hacker12455> https://github.com/LineageOS/android_kernel_motorola_msm8953 | 21:50 |
mal | do you have WCNSS_qcom_wlan_nv.bin somewhere on the device? | 21:53 |
T42 | <hacker12455> yes | 21:54 |
T42 | <hacker12455> in vendor/etc/wifi | 21:55 |
T42 | <hacker12455> and a symlink to it in /vendor/firmware/wlan/prima | 21:55 |
*** Daaanct12 is now known as Danct12 | 21:57 | |
mal | which type of kernel do you have now, with wlan builtin or as module? | 21:58 |
mal | can you reboot the device and then grab a full dmesg, anyway try the usual things to bring it up after that reboot and before you get the log | 21:59 |
mal | havr you disabled any extra android side services? | 22:00 |
T42 | <hacker12455> nope (re @SailfishFreenodeIRCBridgeBot: <mal>havr you disabl...) | 22:03 |
T42 | <hacker12455> currently I have wlan as a module (re @SailfishFreenodeIRCBridgeBot: <mal>which type of k...) | 22:03 |
T42 | <elros34> so have you tried to flash android kernel to see it wlan works in android and after that in sfos? Do you have any wcnss service running? | 22:18 |
T42 | <hacker12455> https://www.pastefile.com/eu5ygf | 22:21 |
T42 | <hacker12455> did not try flashing android kernel yet (re @elros34: so have you tried to...) | 22:21 |
T42 | <hacker12455> as for wcnss services you mean systemd services? | 22:22 |
mal | do you have bluetooth init working? | 22:23 |
mal | do you have anything like this /sys/kernel/boot_wlan/boot_wlan ? | 22:24 |
T42 | <hacker12455> nope | 22:24 |
T42 | <hacker12455> you mean bluebinder? (re @SailfishFreenodeIRCBridgeBot: <mal>do you have blu...) | 22:25 |
T42 | <elros34> not systemd, some android service with wcnss in name | 22:25 |
mal | can you show output of "zcat /proc/config.gz | grep FW_LOADER" | 22:26 |
T42 | <hacker12455> C | 22:28 |
T42 | <hacker12455> [root@MotoG5 ]# zcat /proc/config.gz | grep FW_LOADER | 22:28 |
T42 | <hacker12455> CONFIG_FW_LOADER=y | 22:29 |
T42 | <hacker12455> CONFIG_FW_LOADER_USER_HELPER=y | 22:29 |
T42 | <hacker12455> CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y | 22:29 |
mal | that seems ok | 22:30 |
mal | which android base was that? | 22:32 |
T42 | <hacker12455> 17.1 | 22:34 |
mal | where do you have wcnss.mdt? | 22:38 |
T42 | <hacker12455> /vendor/firmware | 22:39 |
mal | so when you tried loading the module which commands did you run and in which order? | 22:41 |
T42 | <hacker12455> insmod wlan.ko | 22:43 |
T42 | <hacker12455> only that | 22:43 |
mal | so you didn't run "echo 1 > /dev/wcnss_wlan" before that? | 22:44 |
T42 | <hacker12455> yes | 22:45 |
T42 | <hacker12455> should I try that? | 22:45 |
mal | yes | 22:53 |
T42 | <hacker12455> bad address | 23:04 |
mal | and doing that "echo sta > /sys/module/wlan/parameters/fwpath" before that also does help either? | 23:07 |
T42 | <elros34> ignore bad address on echo 1, I think it should be only touch because there is no write function in kernel to handle it but only open | 23:08 |
mal | ah | 23:08 |
mal | some kernels want echo some want touch | 23:09 |
mal | also one thing to try, add the module name to /etc/modules-load.d/modules.conf | 23:10 |
mal | and do not try to insmod it | 23:10 |
mal | I have seen one device which had very strict timing for the wlan module loading | 23:10 |
T42 | <hacker12455> make that config? | 23:23 |
mal | ? | 23:25 |
T42 | <hacker12455> I don't have modules.conf | 23:25 |
mal | so add it and add the module name to it and then reboot | 23:25 |
T42 | <hacker12455> just the name | 23:25 |
T42 | <hacker12455> nothing else? | 23:25 |
T42 | <hacker12455> still nothing | 23:28 |
mal | same error is dmesg? | 23:32 |
T42 | <hacker12455> let me reboot to grab a clean dmesg | 23:33 |
T42 | <hacker12455> hm | 23:37 |
T42 | <hacker12455> ot@MotoG5 defaultuser]# dmesg | grep "wlan" | 23:37 |
T42 | <hacker12455> [ 11.025669] wlan: module is from the staging directory, the quality is un | 23:37 |
T42 | <hacker12455> known, you have been warned. | 23:37 |
T42 | <hacker12455> [ 11.045811] wlan: loading driver v3.0.11.85.9 | 23:37 |
T42 | <hacker12455> [ 19.609521] wcnss_wlan triggered by userspace | 23:37 |
T42 | <hacker12455> [ 20.798608] wcnss_wlan_ctrl_probe: SMD ctrl channel up | 23:37 |
T42 | <hacker12455> [ 20.798999] wcnss: NV file name = wlan/prima/WCNSS_qcom_wlan_nv.bin | 23:37 |
T42 | <hacker12455> though I still can't turn on wlan from the top menu | 23:37 |
T42 | <hacker12455> lsmod returns nothing | 23:38 |
mal | does ifconfig -a show wlan? | 23:38 |
T42 | <hacker12455> nope | 23:39 |
mal | do you have /dev/wcnss_wlan? | 23:40 |
mal | in addition to the wcnss_ctrl? | 23:40 |
T42 | <hacker12455> yes | 23:40 |
mal | try "touch /dev/wcnss_wlan" | 23:40 |
T42 | <hacker12455> nothing changed | 23:41 |
mal | nothing in dmesg? | 23:41 |
mal | is wlan module inserted? | 23:41 |
T42 | <hacker12455> should it show up in lsmod? | 23:41 |
T42 | <hacker12455> dmesg shows nothing | 23:41 |
mal | afaik modules should show in lsmod | 23:42 |
T42 | <hacker12455> it doesn't show in lsmod | 23:42 |
T42 | <hacker12455> maybe try modprobing it again? | 23:42 |
mal | so nothing in dmesg if you run try to load the module? | 23:42 |
T42 | <hacker12455> so try to load the module manually? | 23:43 |
mal | of course, what do you think I have been trying to get you to do | 23:43 |
T42 | <hacker12455> hm | 23:43 |
T42 | <hacker12455> https://bpa.st/LH3Q | 23:44 |
mal | so it's up now? | 23:44 |
T42 | <hacker12455> yep | 23:44 |
T42 | <elros34> did you remember about sta thing because lates log looks good: nv file name is not empty | 23:44 |
T42 | <hacker12455> did not touch sta | 23:44 |
T42 | <hacker12455> at all | 23:45 |
T42 | <elros34> echo sta not touch | 23:45 |
T42 | <hacker12455> I didn't do that | 23:45 |
T42 | <hacker12455> just modprobed the module and ran touch /dev/wcnss_wlan | 23:45 |
T42 | <hacker12455> and it work s | 23:45 |
T42 | <hacker12455> yep just checked | 23:46 |
T42 | <hacker12455> connects to wifi and loads websites fine | 23:46 |
mal | probably something like this should work https://github.com/mlehtima/droid-config-fp3/blob/master/sparse/usr/lib/systemd/system/wlan-module-load.service | 23:46 |
mal | @elros34 not quite sure which devices need the sta and which don't | 23:47 |
T42 | <hacker12455> do I keep the modules.conf? | 23:47 |
mal | no, remove it | 23:47 |
mal | you also need some symlink like in this folder https://github.com/mlehtima/droid-config-fp3/tree/master/sparse/usr/lib/systemd/system/basic.target.wants | 23:48 |
mal | maybe network.target.wants folder might be better even | 23:48 |
T42 | <elros34> mal me neither but IIRC that was needed previously when wlan worked for him | 23:50 |
mal | maybe it's needed when using builtin driver? | 23:50 |
mal | or something | 23:50 |
T42 | <hacker12455> ExecStartPre=/bin/touch /dev/wcnss_wlan | 23:53 |
T42 | <hacker12455> like that? | 23:53 |
mal | should work | 23:54 |
T42 | <hacker12455> let's see if it works after a reboot | 23:54 |
mal | did you add the symlink, show the command you used | 23:54 |
T42 | <elros34> so I do not get, what helped? Isn't thats service excatly the same you have already tried? | 23:55 |
mal | @elros34 previous most of the time touch /dev/wcnss_ctrl was attempted, not wcnss_wlan | 23:56 |
mal | afaik | 23:56 |
T42 | <hacker12455> do I need to symlink that service to somewhere? | 23:57 |
mal | yes, try /usr/lib/systemd/system/network.target.wants | 23:58 |
mal | to that folder | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!