*** ChanServ sets mode: +v T4 | 02:04 | |
T4 | <It_sMike> mal : fmradio just playing back the microphone, even restarting the pulseaudio doesn't help. any idea about this | 07:47 |
---|---|---|
T4 | <It_sMike> ? | 07:47 |
*** ChanServ sets mode: +v T4 | 08:45 | |
T4 | <adampigg> tracing through the wlan driver is _loads_ of fun to fgure out why a random mac is assiged on startup! | 10:59 |
T4 | <It_sMike> Nevermind mal :), just fixed it ( Finally ! ) | 11:58 |
mal | @It_sMike I assume the fix was adding the needed symlink to /etc/pulse/xpolicy.conf.d ? | 12:29 |
T4 | <It_sMike> nope, it was already added on that time | 12:30 |
T4 | <It_sMike> Made some changes on fmradio.conf | 12:31 |
T4 | <It_sMike> Will upload them for you once I finished building new system :) | 12:31 |
mal | so then the input device? | 12:31 |
T4 | <It_sMike> Hmm... can't get your meaning? | 12:33 |
mal | what did you change? | 12:34 |
T4 | <It_sMike> Made some changes to fmradio.conf under the /etc/pulse/xpolicy.conf.d directory: … https://paste.ubuntu.com/p/c5j8JDQhFt/ | 12:37 |
mal | which lines? | 12:40 |
T4 | <It_sMike> I add every single line that I sent for you to that file :) | 12:41 |
mal | what lines did you change from the original file? | 12:41 |
T4 | <It_sMike> Let me see mal.... | 12:42 |
T4 | <It_sMike> :D The original one were empty | 12:45 |
mal | so where did you get the content then? | 12:46 |
mal | come on, the original was a symlink so you obviously compare it to the file it pointed to | 12:47 |
T4 | <It_sMike> Get them from github xD | 12:47 |
mal | unless you really had a empty file instead of symlink | 12:47 |
T4 | <It_sMike> maybe... | 12:47 |
mal | where are your repos | 12:47 |
T4 | <It_sMike> https://github.com/CancroSailors | 12:48 |
r0kk3rz | are you trying to update the cancro port? | 12:48 |
T4 | <It_sMike> Yep | 12:49 |
r0kk3rz | maybe talk to Nokius then :) | 12:49 |
mal | that has no such file | 12:49 |
r0kk3rz | and maybe saidinesh5 | 12:49 |
T4 | <It_sMike> Where can I find them !? | 12:49 |
mal | the other branch has a file | 12:49 |
mal | but maybe you should try adding the symlink | 12:50 |
T4 | <It_sMike> mal : It was deleted in the last commit I guess | 12:50 |
mal | fmradio.conf pointing to fmradio.conf.disabled | 12:50 |
T4 | <It_sMike> mal : symlink was just like this... | 12:50 |
T4 | <It_sMike> I have to run pactl set-source-port source.primary input-fm_rx everyt ime to fix the radio | 12:51 |
mal | so you didn't read what it says in the beginning of the file where it pointed | 12:54 |
mal | you probably should use the symlink and add this to the same folder https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/etc/pulse/xpolicy.conf.d/xvars.conf | 12:54 |
T4 | <It_sMike> Maybe :D | 12:55 |
mal | https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/etc/pulse/xpolicy.conf.d/fmradio.conf.disabled#L1 | 12:55 |
T4 | <It_sMike> just get confused o-o | 12:56 |
mal | add the symlink and https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/etc/pulse/xpolicy.conf.d/xvars.conf | 12:57 |
mal | nothing else | 12:57 |
T4 | <It_sMike> give me a moment to check everything from the first mal! | 12:57 |
T4 | <It_sMike> Something is really wrong :/ | 12:58 |
T4 | <It_sMike> Guess I find it out :D | 13:00 |
T4 | <It_sMike> Let me test the broken config again... | 13:01 |
Benclark006 | I'm getting somewhat confused when it comes to chapter 5.3 | 13:18 |
Benclark006 | do I just run ls -l /dev/ | 13:18 |
Benclark006 | block/platform/*/by-name/? | 13:18 |
Benclark006 | (on adb shell) | 13:18 |
mal | yes | 13:21 |
mal | you check what you have in the fstab file and then find the actual device nodes for those | 13:22 |
Benclark006 | ok, thanks | 13:22 |
mal | better add all just in case | 13:22 |
Benclark006 | ah ok | 13:23 |
Benclark006 | thank you | 13:23 |
mal | so check the base path you are looking for in fstaB | 13:24 |
mal | sometimes it block/platform/*/by-name/ but sometimes block/bootdevice/by-name | 13:25 |
mal | then make fixup-mountpoints based on that | 13:25 |
Benclark006 | wait so how do you make fixup-mountpoints | 13:25 |
mal | check the existing entries in fixup | 13:26 |
mal | it should be quite simple | 13:26 |
Benclark006 | so you just run ls -l /dev/ | 13:28 |
Benclark006 | block/platform/*/by-name/? | 13:28 |
Benclark006 | and that's it? | 13:28 |
Benclark006 | or is there a step i'm missing here | 13:28 |
abranson | adampigg: with the sonys the wlan and bt mac had to be read from the ta with a special tool. macaddrsetup i think it's called. if that wasn't run it'd use a random one. | 13:35 |
mal | Benclark006: did you check fstab what path you are supposed to find? | 13:36 |
Benclark006 | i don't think so | 13:36 |
Benclark006 | should i do that first? | 13:36 |
r0kk3rz | abranson: sounds like a sony specific thing | 13:42 |
mal | Benclark006: HOW MANY TIMES DO I HAVE TO SAY THE SAME THING? | 13:46 |
Benclark006 | ok sorry | 13:46 |
r0kk3rz | Benclark006: you notice how in the fixup-mountpoints its a sed command that is run | 13:47 |
r0kk3rz | that sed runs on the fstab, so it kinda needs to match whats in there | 13:48 |
Benclark006 | ok | 13:48 |
T4 | <It_sMike> Mal thanks a loooot :) , and sorry for being much noob today, putting xvars.conf file under the xpolicy.conf.d fixed the problem. | 13:51 |
Benclark006 | ok i think it's working now | 13:52 |
Benclark006 | thanks | 13:52 |
*** ChanServ sets mode: +v T4 | 14:04 | |
mal | @It_sMike so now you have that file and the symlink also | 15:07 |
Benclark006 | sorry for all the questions but google isn't producing many good answers | 16:49 |
Benclark006 | when i run repo sync it returns error: in `sync --fetch-submodules`: revision stable/lineage-15.1 in LineageOS/android_kernel_lge_mako not found | 16:49 |
Benclark006 | ** repo sync --fetch-submodules | 16:49 |
Benclark006 | regular repo sync doesn't work either | 16:50 |
Benclark006 | here's my mainfest file | 16:52 |
Benclark006 | https://gist.github.com/benclarkk/02ae486cc45de7ffe000a5e035aa2014 | 16:53 |
T4 | <elros34> as you can see there is no stable/lineage-15.1 branch: https://github.com/LineageOS/android_kernel_lge_mako/branches | 16:55 |
T4 | <elros34> use lineage-15.1 instead | 16:55 |
Benclark006 | i still get the same error D: error: in `sync --fetch-submodules`: revision lineage-15.1 in LineageOS/android_kernel_lge_mako not found | 16:55 |
mal | Benclark006: try without --fetch-submodules | 17:04 |
Benclark006 | will do | 17:05 |
Benclark006 | that worked, thanks | 17:20 |
Benclark006 | ok great i've got more problems | 17:30 |
Benclark006 | when i run breakfast $DEVICE it returns all this https://gist.github.com/benclarkk/f9a262cd750424f84a403164c69b859b | 17:31 |
Benclark006 | so then i googled it and i found an xda post (https://forum.xda-developers.com/showthread.php?t=2060017&page=37) which said to add TheMuppets/proprietary_vendor_lge to my manifest so then i did and now i get a different error which is in the above gist | 17:32 |
Benclark006 | and it's giving me a huge headache so i was wondering if anyone knew a solution | 17:33 |
Benclark006 | thanks | 17:33 |
mal | which android base are you using? | 17:35 |
mal | are you sure you used correct base when doing repo init? | 17:35 |
Benclark006 | oh whoops | 17:36 |
Benclark006 | that would explain it | 17:36 |
Benclark006 | i'll try try again | 17:36 |
mal | just do repo init again using correct branch and the repo sync | 17:37 |
mal | no need to remove anything | 17:37 |
Benclark006 | thanks | 17:38 |
mal | Benclark006: maybe we need a very big note in hadk that people will make sure they use correct branch | 17:42 |
mal | although it says that | 17:42 |
mal | but it's quite rarely anyone uses wrong branch | 17:42 |
Benclark006 | yeah i'm just terrible at reading | 17:59 |
Benclark006 | among other things | 17:59 |
Benclark006 | extra headaches: https://gist.github.com/benclarkk/a39bfaf14e4da540a16391b5057fea34 i still get basically the same error after correcting the branch thing | 18:12 |
mal | Benclark006: what exactly did you do before that? did you run repo init with correct parameters and then repo sync? and both were successful? | 18:30 |
mal | Benclark006: show your local manifest | 18:31 |
mal | in .repo/local_manifests folder | 18:31 |
T4 | Andreu (MISSING @USERNAME! telegram.org/faq#usernames-and-t-me) was added by: Andreu (MISSING @USERNAME! telegram.org/faq#usernames-and-t-me) | 18:37 |
Benclark006 | mal: yes, both were successful | 18:38 |
Benclark006 | i ran repo init -u git://github.com/mer-hybris/android.git -b hybris-15.1 | 18:38 |
mal | Benclark006: show your local manifest from .repo/local_manifests | 18:39 |
Benclark006 | nevermind, i found out what i've done wrong | 18:40 |
mal | also make sure there is no .repo/local_manifests/roomservice.xml | 18:41 |
Benclark006 | ok, thanks | 18:41 |
T4 | <linusdan> mal - hi mal! … Today compiled the sailfish by changing some parameters in the kernel. Recognize the device, but with the command 'lsusb-v | grep iSerial' does not return. … There were some compilation errors, but I think it's not important. Can you take a look when you can? Links of pastebin: … build test 5 log: https://pastebin.com/zfp | 19:22 |
T4 | RWbMc … dmesg: https://pastebin.com/pdENcMi6 | 19:22 |
T4 | <linusdan> * does not give the desired return | 19:23 |
r0kk3rz | what do you mean compilation errors? | 19:25 |
mal | still no sign of the sailfish kernel init in the dmesg | 19:26 |
T4 | <linusdan> r0kk3rz: in line 382 for example … There is other, I don't know if influences | 19:29 |
T4 | <linusdan> mal: What do you suggest I do? | 19:30 |
r0kk3rz | yeah ignore those, thats just mic spewing garbage like usual | 19:31 |
mal | yes, mic is not the problem here | 19:31 |
r0kk3rz | what device is this? | 19:32 |
T4 | <linusdan> Hahahahaha ok | 19:33 |
T4 | <linusdan> the device is i9100 | 19:33 |
r0kk3rz | drop the grep, and just print lsusb -v | 19:34 |
r0kk3rz | with the phone connected and on of course | 19:34 |
T4 | <linusdan> appears the things of laptop | 19:37 |
r0kk3rz | there should be some entry there for the phone | 19:41 |
r0kk3rz | if not, something is very wrong | 19:41 |
r0kk3rz | apparently you can get uart from the usb on that device, that could also be quite useful | 19:43 |
r0kk3rz | https://wiki.mozilla.org/DHylands_SGS2_SerialAdapter | 19:43 |
T4 | <linusdan> Thank you! I will try to look for and make one … Here where I live it is complicated to find specific things of electronics … Too expensive too … I hope this is not | 19:55 |
T4 | <linusdan> Is it because you do not mount the default fstab? … https://github.com/sailfish-i9100/android_device_samsung_galaxys2-common/commits/hybris-14.1 | 19:56 |
T4 | <linusdan> init, in the case | 19:57 |
T4 | <elros34> you can also enable one by one configs for kernel, most reported by kernel-checker are needed by sailfish, initramfs needs only few | 19:57 |
r0kk3rz | yeah thats a fair point | 20:00 |
T4 | <linusdan> Enable everything recommended by mer-kerkel-check and follow your tip by disabling CONFIG_CGROUP_MEM_RES_CTLR … Still the same thing | 20:00 |
r0kk3rz | does it have a notification led? | 20:02 |
T4 | <elros34> kernel might have broken configs, for example for cm-13 I I had broken CONFIG_VT and CONFIG_DEVTMPFS | 20:02 |
T4 | <elros34> so its better to start with clean android kernel | 20:02 |
T4 | <linusdan> rokk3rz: not have, only sensor | 20:03 |
r0kk3rz | lame, thats another trick, to try and turn on the LED at a specific point | 20:04 |
T4 | <elros34> maybe vibra instead LED :P | 20:05 |
r0kk3rz | hooray the bot is dead | 20:06 |
Benclark006 | when i try to run repo sync again it returns fatal: duplicate path device/lge/mako in /home/ben/hadk/.repo/manifest.xml | 20:07 |
Benclark006 | is there a fix for that? | 20:07 |
*** ChanServ sets mode: +v T4 | 20:07 | |
Benclark006 | here's the manifest.xml file in question https://gist.github.com/benclarkk/77b66e6ec0ce72fac5d83adbc6954156 | 20:07 |
r0kk3rz | yes, remove the duplicate path in your manifest | 20:07 |
T4 | <linusdan> I'll activate the usb again in the tree and test :) | 20:08 |
T4 | <It_sMike> mal : yes, both of them are present in that directory :) | 20:08 |
T4 | <It_sMike> @linusdan Did you get boot Dan ? | 20:08 |
r0kk3rz | @linusdan btw just rebuild and flash the boot.img, no need to go through the rest of it | 20:09 |
T4 | <elros34> if you mean init*rc then it's not the issue. You are not even in initramfs. | 20:09 |
T4 | <It_sMike> mal : the problem just caused by that xvars.conf file. when I put it in there everything fixed :D | 20:10 |
T4 | <linusdan> mike: Now it's easier to eat 1 kg ice cream than seeing boot sailfish 😅 | 20:11 |
T4 | <It_sMike> lol 😄 | 20:11 |
T4 | <linusdan> r0kk3rz: I'm going to do this! … I'll be back in a little while | 20:13 |
kimmoli | omnom icecream... | 20:19 |
T4 | <It_sMike> kimmoli : lol xD | 20:19 |
T4 | <NotKit> @linusdan just to confirm, do you know if your device has normal boot.img format? I remember someone porting to i9100g and that device had initramfs stored inside kernel during compilation and abootimg format completely unused | 20:35 |
T4 | <NotKit> could you give link to any working boot.img for your device? | 20:36 |
T4 | <linusdan> TheKit: no have idea … link of boot.img: https://drive.google.com/open?id=1ZqxoPqS_7fanlK1wDxYI5qGdIGgq95nG | 20:52 |
T4 | <NotKit> @linusdan you have same with that device. boot-lineage.img is actually zImage, not abootimg | 20:56 |
T4 | <NotKit> you would need some workarounds to include hybris-boot initramfs into kernel and then flash kernel onto boot partition, not hybris-boot.img | 20:57 |
mal | oh, there are such odd devices | 20:59 |
Benclark006 | is CONFIG_SCHEDSTATS usually needed? | 21:02 |
mal | focus on the errors, not warnings | 21:10 |
r0kk3rz | i would not have thought to check that | 21:12 |
T4 | <adampigg> @eugenio_g7 , mal: fixed random mac issue with 2 line patch \o/ | 21:32 |
T4 | <eugenio_g7> \o/ awesome | 21:33 |
mal | cool | 21:33 |
r0kk3rz | gogo superpiggz | 21:33 |
mal | what was needed? | 21:33 |
T4 | <adampigg> mal, https://github.com/piggz/android_kernel_xiaomi_latte/commit/c5b24942bd5c5c22511dcde8dc6ea1876960be31 | 21:41 |
T4 | <adampigg> after much tracing and printing, i found that it reads the mac, then overwrites it with a random one! | 21:41 |
T4 | <It_sMike> Thanks Adam for sharing :) | 21:43 |
mal | @adampigg so that driver doesn't support writing mac later? | 21:43 |
*** kimmoli is now known as Guest4494 | 21:49 | |
*** kimmoli__ is now known as kimmoli | 21:49 | |
kimmoli | is that ifdef correctly placed? | 21:49 |
kimmoli | else branches to DHD_TRACE ? | 21:50 |
mal | good point | 21:55 |
mal | @adampigg ^ | 21:55 |
r0kk3rz | it must get set again later though, since you said the adapter had it right | 21:55 |
T4 | <adampigg> There is a driver info struct, and an instance struct.... | 22:17 |
T4 | <adampigg> The instance one gets the correct mac when connman attaches, but that seems too late.... | 22:18 |
T4 | <adampigg> The driver info struct loads the mac then overwrites it | 22:18 |
T4 | <adampigg> Yrs, should be line above! | 22:19 |
T4 | <adampigg> I did that when cleaning up all my other stuff!! | 22:20 |
r0kk3rz | hmm, your driver looks a lot different to mine | 22:22 |
r0kk3rz | oh you stoles it from sony kernel? | 22:23 |
T4 | <adampigg> Yes | 22:25 |
T4 | <adampigg> With added features like acpi! | 22:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!