Thaodan | can I replace packages that are on the SDK already when running build packages mw ? I need a newer version of ofono. | 05:55 |
---|---|---|
mgrover | mal: for android8, is it still using the audioflingerglue? | 07:04 |
mgrover | abranson, if you have time, can you look at this please https://github.com/sailfishos/gst-omx/pull/4 | 07:28 |
abranson | mgrover: are you sure you need to use gst-omx? Droidmedia should be better. | 07:51 |
mgrover | abranson, i needed it for my nexus 5x and it worked perfectly :P | 07:51 |
abranson | It doesn't support passing the video buffers around like droidmedia can, so it'll never perform as efficiently as droidmedia, which passes the decoded video stream directly to the renderer. | 07:54 |
mgrover | abranson, yeah but droidmedia didnt work :P | 07:54 |
*** mgrover is now known as ghosalmartin | 07:55 | |
abranson | That should be workable all the way to 8 now I think. | 07:55 |
abranson | But i guess omx is an ok fallback. | 07:56 |
ghosalmartin | abranson, okays ill give it a shot, but that pr still fixes the issue with it not linking | 07:56 |
Thaodan | can I skip a pkg of a pkg when building a pkg with build_packages.sh/mb2? | 07:56 |
abranson | ghosalmartin: yeah I don't see why that shouldn't go in. I just strongly discourage omx use as it won't be maintained. | 07:58 |
ghosalmartin | abranson, thats fine, i think I have the latest droidmedia anyways, so if I remove omx it should just work | 07:58 |
abranson | I was in the middle of playing with allocators for it, the mtk came along and was far too different to qcom to even try :P | 07:59 |
ghosalmartin | abranson, ahhh :P is mtk lost cause atm? | 08:09 |
ghosalmartin | abranson, turns out i didnt even have ti installed anymore on this latest zip, gg :P | 08:22 |
abranson | ghosalmartin: it is on gst-omx. Droidmedia works fine though. | 08:23 |
ghosalmartin | i mean the bullhead image i built recently doesn't have gst-omx for whatever reason, so must be working off just droidmedia | 08:24 |
ghosalmartin | guhl flashing a chiron zip atm | 08:53 |
ghosalmartin | lbt: can I ask for two extra dirs in devaamo please | 08:53 |
ghosalmartin | a marlin and a chiron | 08:54 |
abranson | ghosalmartin: that's good news. I'll merge that.pr anyway - good to keep around as a fallback. For some reason the merge button doesn't work on my phone though, and my plane's about to take off, so I'll try to remember later :D | 09:01 |
ghosalmartin | abranson, awesome, ta :) | 09:06 |
demonaxsh | hello | 09:29 |
demonaxsh | i have a strange behavior, when i add wi-fi connection in wlan (in settings) all works, but after rebooting device saved connection not enabled , disable and enable again wlan not helped, if I delete connection and with create it again, all works... Essence of problem is that after saving connection and restarting, for some reason it does not turn on. | 09:29 |
mal | ghosalmartin: tbr is the one maintaining devaamo | 09:34 |
r0kk3rz | demonaxsh: mac address changing? | 09:34 |
mal | demonaxsh: do you have wlan as built in drivers in kernel or as a module? | 09:34 |
ghosalmartin | mal: ahh thanks :) ever had a weird issue when zip is installing that it fails with error 7? | 09:34 |
ghosalmartin | but when I boot to first stage telnet and extract it mnaually it works fine | 09:35 |
demonaxsh | No I did not change anything. On same device of same type there was no such problem. | 09:35 |
demonaxsh | I have no idea what could happen | 09:37 |
demonaxsh | no, wifi driver build not as module, and wifi works, not worked after reboot | 09:37 |
kimmoli | check mac address now and after reboot. | 09:37 |
demonaxsh | ok | 09:38 |
kimmoli | connections are stored per device mac, so if it changes, they are not enabled. was this your first reboot? or does it do it repeatedly? | 09:38 |
kimmoli | which device? | 09:38 |
mal | ghosalmartin: not sure what error 7 means but some people have had issues using new twrp, the tar unpacking fails due too oom killer being too eager to kill it | 09:41 |
ghosalmartin | mal: hmm could be related i guess | 09:42 |
mal | demonaxsh: I would suggest trying using wlan as module, maybe the driver starts fine otherwise but some firmware related things are missing and it gets a random mac address | 09:42 |
ghosalmartin | hmm when I attempt to boot into real rootfs it reboots. no logs though | 09:43 |
demonaxsh | "wlan0 Link encap:Ethernet HWaddr 00:08:22:54:CE:FB" | 09:44 |
demonaxsh | "wlan0 Link encap:Ethernet HWaddr 00:08:22:D6:CE:FB" | 09:44 |
demonaxsh | ok... i try build as module | 09:44 |
kimmoli | 00:08:22 InproCom InPro Comm | 09:49 |
kimmoli | it should be same what you see on Android side | 09:49 |
ghosalmartin | is there anyway to debug why rootfs is breaking everything? :{ | 10:40 |
demonaxsh | turn off randomization as a centos, can not? | 10:48 |
r0kk3rz | ghosalmartin: whatcha talkin bout willis? | 12:15 |
ghosalmartin | r0kk3rz, i can boot to first stage telnet, ie access on port 23, but when I continue it reboots :/ | 12:16 |
r0kk3rz | mounts ok? | 12:16 |
mal | ghosalmartin: have you tried disabling droid-hal-init etc? | 12:16 |
ghosalmartin | mounts seem fine | 12:16 |
mal | ghosalmartin: and is the rootfs properly mounted | 12:17 |
ghosalmartin | i can access .stowaways | 12:17 |
mal | ok | 12:17 |
r0kk3rz | thats a start | 12:17 |
r0kk3rz | ramoops? | 12:17 |
ghosalmartin | i do actualyl have that | 12:17 |
ghosalmartin | some obsecure error | 12:17 |
ghosalmartin | with swapper | 12:17 |
r0kk3rz | obsecure, nice word | 12:19 |
r0kk3rz | security by obscurity, or obsecure | 12:20 |
mal | ghosalmartin: can you get to real rootfs by adding init_enter_debug2 to sailfish rootfs, it should stop the boot very early | 12:21 |
ghosalmartin | mal: nah tried that with no luck | 12:22 |
ghosalmartin | the only way I can make it stop at telnet 23 is by renaming the sailfishos folder to sailfishosbak | 12:22 |
mal | hmm, can you double check init-debug script in rootfs | 12:25 |
ghosalmartin | the data partition or? | 12:25 |
mal | sailfish roootfs i.e. .stowaways/sailfishos or something like that | 12:26 |
r0kk3rz | ghosalmartin: boot with debug flag? | 12:34 |
ghosalmartin | hmm maybe I should do that :P | 12:36 |
r0kk3rz | that should stop at first telnet without any shenanigans | 12:36 |
ghosalmartin | yeah first telnet is fine | 12:37 |
ghosalmartin | but after that is the issue | 12:37 |
mal | ghosalmartin: did you check init-debug | 12:37 |
mal | and maybe also init.log in rootfs | 12:37 |
ghosalmartin | ah | 12:38 |
ghosalmartin | inside /target is that meant to be rootfs? | 12:38 |
mal | yes | 12:39 |
mal | https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L152 | 12:39 |
ghosalmartin | ah mines mounted the data partition directly | 12:39 |
mal | it's also there | 12:40 |
mal | the mounts are confusing | 12:40 |
ghosalmartin | so through target, my path to the rootfs is | 12:40 |
ghosalmartin | /target/data/.stowaways/sailfishos | 12:40 |
ghosalmartin | is that correct? or should it just be /target/ | 12:41 |
mal | ghosalmartin: check the link I just gave | 12:42 |
ghosalmartin | so yeah its incorrect | 12:42 |
mal | show the output of mount | 12:42 |
ghosalmartin | so if I mount it under /target manually and continue will ti work? | 12:42 |
ghosalmartin | no device | 12:43 |
ghosalmartin | no dice even | 12:43 |
ghosalmartin | lemme recompile kernel with debug flag | 12:43 |
mal | just give the output :) | 12:44 |
ghosalmartin | okays :) | 12:44 |
ghosalmartin | mal: the mount works fine | 12:50 |
ghosalmartin | now /target has the rootfs | 12:50 |
mal | I can't help if I don't know exactly what is happening | 12:51 |
ghosalmartin | okay these are the steps | 12:51 |
ghosalmartin | I reboot to recovery, rename sailfishos to sailfishosbak to gain access to telnet on 23 | 12:51 |
ghosalmartin | then when I reboot into telnet 23 i rename folder back to sailfishos | 12:51 |
ghosalmartin | and then I call echo "mount_stowaways" >/init-ctl/stdin | 12:52 |
ghosalmartin | so sfos rootfs will be under /target | 12:52 |
ghosalmartin | then I run echo "ls -l /" >/init-ctl/stdin | 12:52 |
ghosalmartin | and reboot | 12:52 |
mal | still waiting for the damn output of mount or even better init.log | 12:52 |
ghosalmartin | https://pastebin.com/N47RQ4nD | 12:53 |
ghosalmartin | https://pastebin.com/wC7HUq9c | 12:53 |
mal | based on init.log it cannot find .stowaways/sailfishos in your data partition | 12:54 |
ghosalmartin | yeah, when I fix that, reboots | 12:55 |
mal | so where is .stowaways/sailfishos if it's not in data partition? | 12:56 |
ghosalmartin | https://pastebin.com/x4S7LeKN | 12:56 |
ghosalmartin | thats the latest mount stowaways | 12:56 |
ghosalmartin | is that not finding it and mounting it? | 12:56 |
mal | can you answer the question, run find / -name .stowaways or something and se where in the hell the rootfs is | 12:57 |
ghosalmartin | its there under the name sailfishosbak | 12:57 |
ghosalmartin | otherwise bootloader won't stop | 12:57 |
mal | dammit, then say that clearly when giving the pastes | 12:58 |
mal | I thought you had some issue of wrong partition because it didn't find the rootfs | 12:58 |
ghosalmartin | ive been trying to say that 3 times now if you read up | 12:58 |
ghosalmartin | and for whatever reason bootmode=debug doesnt work. it continues to boot | 12:59 |
mal | how do expect me to debug any issues if the boot is intentionally broken by you | 12:59 |
ghosalmartin | no other way to stop at telnet 23 | 13:00 |
mal | so did you ever check if there is init.log in sailfish rootfs, not the telnet rootfs | 13:01 |
mal | and also the init-debug | 13:01 |
demonaxsh | fucking mediatek, can not be built wi-fi driver as module | 13:02 |
mal | some devices have a /sys path to write MAC address | 13:04 |
ghosalmartin | mal: no init.log, and what do I need to check inside init-debug? it exists | 13:07 |
ghosalmartin | but everything is a variable, not concrete? | 13:07 |
mal | ghosalmartin: did you need any kernel hacks? | 13:08 |
ghosalmartin | mal: not really, i just disabled DM-VERITY and CONFIG_VT | 13:21 |
ghosalmartin | but another device marlin booted into rootfs with the same hacks | 13:21 |
mal | I assume you disabled the kernel config check for CONFIG_VT in init-script? | 13:23 |
ghosalmartin | yep | 13:24 |
r0kk3rz | i wonder if systemd is balking without that | 13:27 |
mal | but init_enter_debug2 should stop before systemd | 13:29 |
ghosalmartin | indeed | 13:30 |
ghosalmartin | systemd manages to start fine without CONFIG_VT on marlin | 13:30 |
Thaodan | when I boot with hybris-intrid recovery image I get no usb telnet connection but with hybris-boot it works. Can I can change hybris-initrd someone to behave like hybris-boot on recovery? | 13:36 |
demonaxsh | or... patch kernel driver, I found where, though it's certainly radically | 13:39 |
demonaxsh | https://pastebin.com/aBzzWpBs | 13:39 |
ghosalmartin | default | 14:07 |
Thaodan | can someoe do ls /sys/class/android_usb/android0 for me on the xperia x? | 14:21 |
Thaodan | it seems that this doesn't work with 4.4.x on sony-nile | 14:21 |
mal | sony nile needs newer usb-moded which is not yet included in latest sailfish release so you need to build it yourself | 14:26 |
mal | same for all devices which use the new configfs based kernel usb drivers | 14:27 |
mal | usually devices which use 4.4 or newer kernel | 14:28 |
Thaodan | ah, good | 14:33 |
Thaodan | hybris-boot supports configfs based usb-gadget would that be enough or is it used elsewhere? | 14:33 |
mal | it might be enough if it works well enough and cable is connected | 14:34 |
mal | but that won't handle things completely | 14:35 |
Thaodan | mtp support and so on needs it or not? | 14:35 |
Thaodan | and hybris-intrid should use usb gadget mode instead when aviable? | 14:36 |
r0kk3rz | hybris-boot probably wants patching for configfs, its not that hard | 14:37 |
r0kk3rz | i wrote a configfs rndis script the other day | 14:37 |
mal | r0kk3rz: hybris-boot already has some configfs support | 14:38 |
r0kk3rz | oh nice | 14:38 |
Thaodan | I made a bug on this | 14:42 |
Thaodan | https://bugs.merproject.org/show_bug.cgi?id=1950 | 14:42 |
merbot | Mer bug 1950 in .Other "Hybris-initrd: support usb-gadget mode" [Normal,New] | 14:42 |
Thaodan | I'll try to add the changes from hybris-boot to hybris-initrd later | 14:43 |
mal | Thaodan: I thought that hybris-initrd doesn't even support telnet like the hybris-boot does | 14:44 |
mal | and it's not even supposed to because official device not need telnet in init | 14:45 |
mal | *don't need | 14:45 |
mal | recovery of course is different | 14:46 |
Thaodan | I was talking about recovery. I was testing why I get a boot loop with the normal image and just found that rndis doesn't work at all | 14:53 |
Thaodan | Can I use logcat or something a like to diagnose the bootloop? | 14:58 |
mal | how soon does it reboot? | 15:09 |
Thaodan | After Sony Logo | 15:23 |
mal | Thaodan: how soon? seconds? tens of seconds or what? | 15:26 |
Thaodan | Some seconds. | 15:27 |
mal | Thaodan: you shouldn't disable audit in kernel, just check what was done to xa2 | 15:29 |
Thaodan | Ok, is it used by some driver's or what? | 15:30 |
mal | Thaodan: your PR has some not so nice things and obsolete stuff | 15:30 |
mal | and some things twice | 15:31 |
mal | how about you try just applying the changes that were done to xa2 and see what happens, without any additional changes | 15:31 |
Thaodan | So the checks from the verify Script are somewhat outdated? | 15:31 |
mal | no, it just has things that not used on all versions, for example audit says that it's needed if you use selinux bootparam | 15:32 |
demonaxsh | to work bluetooth necessarily having rfkill? /dev/rfkill not exists in /dev, but: | 15:41 |
demonaxsh | https://pastebin.com/fqmm3ZBp | 15:41 |
demonaxsh | who controls bluetooth? connman? | 15:41 |
r0kk3rz | bluez | 15:42 |
demonaxsh | yes, i know this, but usually with rfkill can enable/disabling bluetooth, and it's not part bluez | 15:49 |
Thaodan | Mal: ok what should I remove including the duplicates of course? | 16:00 |
Mister_Magister | mal: hii do you have some time? | 16:49 |
mal | I was just about to start doing other things, making certain type of porridge which takes some time | 16:49 |
Mister_Magister | mal: oh okay then | 16:58 |
Mister_Magister | have fun lol | 16:58 |
vknecht | bon apétit :) | 16:58 |
mal | well that is my breakfats for the next couple of days to I'm not going to eat it today, the active making is about 30 minutes or a bit more but I have to cool it at some point so the whole process takes at least 2-3 hours | 17:03 |
mal | *breakfast | 17:03 |
Mister_Magister | lool | 17:18 |
Umeaboy | I'm willing to pay anyone in this room that can help me build a stable enough version of Lineage OS 15.1 (or 16.0 for that matter) that I can install and test on the Sony Xperia XZ Premium Dual G8142 $109,70 to a Paypal account. Who's up for it? I have CarbonROM already running on it, but that's encrypted as standard and I hate encryption on cell phones especially if they can't have the encryption disabled during the | 21:52 |
Umeaboy | installation. The device is officially supported and gets nightlies. | 21:52 |
Umeaboy | You won't get it until I can confirm that it is indeed working and that it gets supported by Lineage. I've read the documention about using their review system to add new repos, but I prefer building the old fashioned way. | 21:54 |
mal | wouldn't building on top of sony aosp be a good idea? | 21:57 |
mal | that device is part of open devices and still maintained | 21:58 |
Umeaboy | mal: Well, I thought CarbonROM is like having AOSP + Lineage in the same ROM. | 21:59 |
Umeaboy | CarbonROM is an aftermarket firmware based on the Android Open Source Project created with the purpose of adding versatility and customization to stock Android. | 21:59 |
Umeaboy | I guess it would be simpler and fast if libhybris could be built with CarbonROM if only I could get a decrypted build of CarbonROM. | 22:01 |
Umeaboy | Having encryption enabled seems to prevent me from installing Busybox to the right path. | 22:02 |
mal | well I have no idea what codebase that rom uses | 22:02 |
Umeaboy | It just won't let me install to /system/xbin/ | 22:02 |
Umeaboy | I could be wrong, but it looks as if it's Android. | 22:04 |
Umeaboy | https://github.com/CarbonROM/android_external_avb | 22:04 |
mal | well considering that device uses the same kernel as xa2 in sony aosp we could reuse the same repos almost completely, just need to do the mimimal patching of device repo and of course the defconfig in kernel | 22:07 |
mal | and adaptation repos could also reuse most of the stuff from xa2 | 22:09 |
Umeaboy | mal: Sorry, missed the last part. | 22:45 |
Umeaboy | The connection died. | 22:45 |
mal | check channel log linked in topic | 22:46 |
Umeaboy | Lineage doesn't have Sony's msm8998 kernel yet. | 22:50 |
Umeaboy | At least not officialy. | 22:50 |
mal | I consider aosp based build easier in this case | 22:52 |
Umeaboy | It's a bit outdated, but here's my git repo for maple to prepare for Sailfish. | 22:52 |
Umeaboy | https://github.com/xperiasailors | 22:52 |
Umeaboy | https://hastebin.com/dikadicuje.xml | 22:55 |
Umeaboy | My Lineage manifest. | 22:55 |
Umeaboy | It won't build, but it's a start. | 22:55 |
Umeaboy | My offer still stands. | 22:56 |
Umeaboy | Anyway, I have to go to sleep. Take care. | 22:59 |
OrokuSaki | $109,700 isn't a bad deal | 23:39 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!