*** ChanServ sets mode: +v T4 | 02:45 | |
entil | my fp2 is acting up again :( it's always been prone to reboot itself, esp. when I use the browser, but now it doesn't find its sim cards again at all... and to top that off, there are unsynced calendar events | 07:50 |
---|---|---|
*** ChanServ sets mode: +v T4 | 08:22 | |
T4 | <srmane4444> Hi everyone. I also port with @MarcoDS_bit and @karan5chaos SFOS for wyred. Build Hybris-hal. Will post the log on pastebin: https://pastebin.com/3BhrVH2T Why so many warning s and how to fix them? | 09:09 |
T4 | <It_sMike> Hey sailors :) | 09:43 |
T4 | <It_sMike> Tried and checked everything that I could, but the sensor problem is still present... | 09:45 |
T4 | <It_sMike> Could this problem relates to 50-ffmemless.ini? because I make a bit change to those.... | 09:47 |
T4 | <It_sMike> Just deleted 50-ffmemless.ini and done something like this : … https://github.com/mer-hybris/droid-config-onyx/commit/dac479716a6b4300be3c5875982265f6914bb498 | 09:50 |
r0kk3rz | do you use ffmemless driver? | 10:01 |
r0kk3rz | thats also vibra stuff, not really anything to do with sensors | 10:01 |
T4 | <It_sMike> Yes..., So... Any idea?! About this weird problem? | 10:05 |
r0kk3rz | whats the actual problem? | 10:06 |
T4 | <It_sMike> Sensors are not working.... | 10:06 |
r0kk3rz | in detail? | 10:06 |
T4 | <It_sMike> In action ... Actually | 10:07 |
T4 | <srmane4444> @srmane4444 [Hi everyone. I also port with @MarcoDS_bit and …], No answer? | 13:50 |
T4 | <srmane4444> @srmane4444 [Hi everyone. I also port with @MarcoDS_bit and …], [Edit] Quote: No answer? | 13:50 |
T4 | <srmane4444> @srmane4444 [Hi everyone. I also port with @MarcoDS_bit and …], [Edit] @M1kaela_freenode_relaybot Quote: No answer? | 13:51 |
mal | first of all do use reply in telegram, it looks terrible in IRC side | 13:54 |
mal | *do not use | 13:54 |
T4 | <It_sMike> :) | 13:54 |
mal | @srmane4444 did the other porters build hybris-hal successfully yet? do they get the same error? | 14:01 |
r0kk3rz | edit also spams us | 14:01 |
mal | yes, that too | 14:01 |
*** liar is now known as krnlyng | 14:20 | |
T4 | <It_sMike> mal? Just find out this: on sailfish 2.2, sensors working fine with the current config, but on 3.0 non of them works... Any idea!? | 14:22 |
mal | the question is whether the issue is in android side or sailfish side | 14:22 |
mal | I did ask for logs | 14:23 |
T4 | <It_sMike> I'll send them to you once I got home :) | 14:24 |
*** ChanServ sets mode: +v T4 | 14:41 | |
portager | Connection check. Previously, it did not work register. | 14:44 |
T4 | <srmane4444> @mal [first of all do use reply in telegram, it look …], mal, I did it like you said. | 14:47 |
T4 | <MarcoDS_bit> I got a new error! https://pastebin.com/hSh4HZYZ | 14:50 |
portager | So, I port SFOS for whyred, like MarcoDS_bit, it went a little further, but we can’t properly organize the work to work together. What should I do and what should he do. | 14:51 |
portager | ?* | 14:52 |
T4 | <srmane4444> I'm just not used to talking in a group where bot sends all this garbage to another resource. Excuse me. I'll keep it on mind. | 15:03 |
T4 | <It_sMike> @srmane4444 So use IRC then :) | 15:15 |
T4 | <It_sMike> mal which logs should I send for you ? | 15:16 |
T4 | <It_sMike> only journald.conf? | 15:17 |
mal | @It_sMike output of commands journalctl and /usr/libexec/droid-hybris/system/bin/logcat | 15:30 |
T4 | <It_sMike> on the way ... | 15:31 |
T4 | <MarcoDS_bit> https://pastebin.com/e96LAHdS | 15:41 |
T4 | <MarcoDS_bit> mhh any help? | 15:41 |
mal | that says error is because compatibility_matrix.xml fails | 15:45 |
T4 | <It_sMike> Output of journalctl: … paste.ubuntu.com/p/WhpzwYSQVZ/ | 15:45 |
T4 | <MarcoDS_bit> mal, I don't actually have a … compatibility_matrix.xml in the said directory, wasn't it supposed to be created automatically? :P | 15:47 |
mal | @It_sMike could you please stop skipping the http:// from beginning of links, it's annoying that I have to copy the link and not open it directly | 15:49 |
T4 | <It_sMike> Output of /usr/libexec/droid-hybris/system/bin/logcat : … paste.ubuntu.com/p/D5vP5rVQKC | 15:49 |
mal | @It_sMike ah you have the usual problem, too new sensorfw hybris build | 15:50 |
T4 | <It_sMike> Oh sorry mal..... didn't know that.... so sorry... | 15:50 |
T4 | <It_sMike> https://paste.ubuntu.com/p/WhpzwYSQVZ/ … https://paste.ubuntu.com/p/D5vP5rVQKC/ … Here you are :) | 15:51 |
T4 | <It_sMike> ah you have the usual problem, too new sensorfw hybris build … Hmmmm.... What's this problem then? | 15:51 |
T4 | <It_sMike> Could you explain more about it? | 15:53 |
mal | go to hybris/mw/sensorfw, run git reset --hard 7af22d7d77a8c9aca2bd8029a5337e4428ab5239 and then back to $ANDROID_ROOT and then rpm/dhd/helpers/build_packages.sh -b hybris/mw/sensorfw -s rpm/sensorfw-qt5-hybris.spec | 15:53 |
T4 | <It_sMike> on the way :) THANKS a lot mal :) | 15:54 |
T4 | <MarcoDS_bit> @MarcoDS_bit [https://pastebin.com/e96LAHdS], I get this, "No android-base.cfg is found in these paths:' '", do anyone know in which file I have to put the right directory gor the android-base.cfg file? | 15:58 |
T4 | <It_sMike> Everything's working fine but flash light :/ | 16:23 |
T4 | <It_sMike> But let me build a new zip with mic.... | 16:24 |
mal | maybe you need something like this https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/udev/rules.d/999-torch.rules | 16:24 |
T4 | <It_sMike> Should try it! Thanks again mal :) | 16:24 |
mal | assuming you meant the flashlight shortcut | 16:24 |
T4 | <It_sMike> Yes | 16:25 |
T4 | <It_sMike> Stucked on " on " toggle :/ and nothing happens | 16:25 |
entil | mal: 01-03 16:44:55.872 9497 12155 E qdhwcomposer: isValidDimension: layer handle is NULL | 16:45 |
entil | mal: is that to be worried about? | 16:45 |
entil | I did `grep -v` on that to see if there's anything about the modem not being found, but there isn't | 16:49 |
entil | but I need my phone to work as a phone :( | 16:51 |
entil | I still have that japanese sim card, I removed it and now csd told me it found one modem out of two | 17:00 |
entil | gonna see what I get with no sim cards | 17:00 |
entil | looking at settings, there's this brief view of the sim card selection that told me no sim1 was inserted but then replaced by a text saying no sim cards are | 17:00 |
entil | and with no sim cards, no modems found either | 17:02 |
mal | entil: "isValidDimension: layer handle is NULL" is normal | 17:07 |
entil | mal: ok, and the weird thing is, now that I inserted only the one sim into slot1 (last time was slot2) it worked... and I'm not excluding hardware problems because all hardware seems to be shit, but it would be nice to know how to verify... | 17:09 |
entil | I have all this other weirdness, like usually when I power down the phone, it boots back up immediately, like 4/5 times, and these *constant* reboots when reading the web | 17:10 |
mal | entil: browser is quite bad, some websites cause out of memory issues | 17:12 |
entil | mal: like lobste.rs apparently :P | 17:13 |
entil | anyway, I guessed it might be oom, because apart from hardware, all websites are shit too | 17:14 |
mal | entil: need to check why oom is killing the device and not just browser | 17:14 |
entil | mal: is there a persistent log across reboots? | 17:14 |
entil | now I'm just worried I'll 1) read the web 2) have the phone reboot 3) lose the modems again | 17:16 |
entil | journalctl does not mention oom | 17:17 |
mal | entil: yes, if you enable Storage=persistent in /etc/systemd/journald.conf | 17:17 |
entil | mal: ok, thanks, I did that and restarted journald :) let's see what happens next time it dies... | 17:19 |
mal | I need to dig out one website that caused reproducable oom | 17:19 |
entil | Jan 03 19:19:33 Sailfish [18515]: [D] unknown:0 - connection-manager.cpp 107 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/100000/signond/socket: No such fil | 17:20 |
entil | mal: pretty much anything :P but I tend to read lobste.rs and its linked articles (many of which on medium.com) on my commutes | 17:21 |
entil | Jan 03 19:19:33 Sailfish [18519]: signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be available. | 17:21 |
entil | what's with all of this now | 17:21 |
entil | Jan 03 19:19:56 Sailfish kernel: [17:19:56.986458] [00000003F0E9AD81] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init! | 17:22 |
T4 | <MarcoDS_bit> Is that normal that my hybris-boot.img is only 25.8MB? | 17:28 |
T4 | <It_sMike> mal, I still have the problem with flash light, even clean install ( creating new system with mic ) and adding 999-torch.rules under the rules.d directory not fixed that... So what should I do now :) ? | 17:33 |
T4 | <It_sMike> Is the problem refers to sensorfw again or it's from somewhere else? | 17:35 |
T4 | <It_sMike> Oh and forgot to say, I've already defined flashlight in hw-settings.ini | 17:36 |
mal | @MarcoDS_bit hybris-boot.img is the kernel, not the rootfs | 17:39 |
T4 | <MarcoDS_bit> oh right | 17:40 |
mal | @It_sMike logs, journalctl at least, you can also try to enable flashlight manually via /sys, you just need to find the correct path | 17:40 |
mal | @It_sMike did you make sure the path in 999-torch.rules is correct for your device? | 17:40 |
entil | mal: are those errors acceptable? I usually freak out when I see errors I can't understand but sound scary ;P | 17:59 |
T4 | <eugenio_g7> \o/ got audio somewhat working, a bit distorted but at least something comes out from the speakers! | 18:00 |
mal | entil: probably fine | 18:06 |
T4 | <It_sMike> did you make sure the path in 999-torch.rules is correct for your device? … Oh yes :) didn't attention to path, should take a look at it again. Sorry for being noob :D | 18:06 |
entil | mal: wlan works, but what's that suid one? | 18:07 |
mal | entil: not sure, need to check if I get that also | 18:31 |
mal | entil: so what really is broken in your device now? | 18:31 |
entil | mal: calendar syncing as well | 18:36 |
entil | mal: I have the msyncd debug magics somewhere in my irc logs, but probably won't get to debug tonight | 18:37 |
entil | mal: and then I'll look at journalctl after the next uncontrolled reboot | 18:37 |
entil | I did have time to find this: | 18:47 |
entil | [W] unknown:0 - Profile file not found: "/home/nemo/.cache/msyncd/sync/caldav-sync-28.xml" | 18:47 |
entil | [W] unknown:0 - Failed to load profile: "caldav-sync-28" | 18:47 |
entil | "something's broken" | 18:47 |
mal | entil: ok, I have never used calendar sync | 19:11 |
piggz | @eugenio_g7 im starting to understand how this driver works wrt suspend/PM | 20:26 |
piggz | i can now get the system into a suspend state, and have the work | 20:26 |
piggz | im just trying some more configurations to see what options are available | 20:27 |
piggz | @eugenio_g7 how does this look? https://bpaste.net/show/96db50c359f9 | 20:40 |
piggz | mal, r0kk3rz: ^^ finally | 20:40 |
piggz | lost days on a fscking wlan droiver! | 20:41 |
r0kk3rz | woo | 20:41 |
r0kk3rz | how did you fix it? | 20:41 |
piggz | so..... | 20:41 |
piggz | the driver has a config option for supporting runtime power management | 20:41 |
mal | piggz: ah, so a bit like the mess in xperia x bt | 20:42 |
piggz | the runtime PM rarely (never?) goes into a sleep state becuase of a wakelock | 20:42 |
piggz | the wakelock also prevents mem sleep | 20:42 |
piggz | there is a also a config option for wakelocks | 20:42 |
piggz | so, turning off wakelocks and runtime PM allows sleeping | 20:42 |
piggz | which all seems a little backwards! | 20:43 |
r0kk3rz | slightly counter intuitive | 20:43 |
mal | indeed | 20:43 |
piggz | with runtime PM and wakelocks enabled, I commented out the one wakelock (event lock) that prevented sleeping generally ..... | 20:45 |
piggz | this resulted in a system that couldnt connect to networks becuase the runtime PM kicks in after 100ms.... | 20:45 |
mal | piggz: maybe you should write some notes to faq | 20:45 |
piggz | i extended the runtime PM timer to 5000, which worked, but i sense this was a bit hacky! | 20:45 |
piggz | and probably only worked becuase it associated before the timer expored! | 20:47 |
T4 | <eugenio_g7> piggz: awesome! | 20:50 |
*** ChanServ sets mode: +v T4 | 20:54 | |
piggz | @eugenio_g7 feel free to confirm ... just comment those 2 lines in the Makefile | 20:58 |
piggz | just tring now with and without the deep_sleep config option | 21:03 |
piggz | i dont think it doesn anything on linux anyway, its an android thing, and seems can only be triggered from an android command interface | 21:03 |
T4 | <eugenio_g7> Will try | 21:09 |
piggz | @eugenio_g7 https://github.com/piggz/android_kernel_xiaomi_latte/tree/hybris-13.0-latte-bcmdhd | 21:12 |
piggz | so, if you could get audio working.......! | 21:12 |
piggz | @eugenio_g7, with the device unplugged, wifi on, and screen off ... im getting approx 50% suspend state | 21:14 |
T4 | <eugenio_g7> working on it! :) Made some progress, audio now plays although it's pretty distorted | 21:14 |
T4 | <eugenio_g7> but ok | 21:14 |
piggz | nice | 21:14 |
piggz | what is involved with that | 21:14 |
piggz | alsa or PA configs? | 21:14 |
T4 | <eugenio_g7> alsa, it sounds bad even while using aplay | 21:15 |
T4 | <eugenio_g7> but I guess it's a matter of getting the correct controls right | 21:15 |
piggz | @eugenio_g7 not sure how to automate fixing BT ... we need to change the filename of a file on /system so that it is loaded ... i hackyish systemd script ought to do it, but not ideal, and only needsd done the once | 21:21 |
piggz | mal^ thoughts? | 21:21 |
piggz | or, modify bluez5-tools to loaded it, but that seems OTT! | 21:21 |
T4 | <eugenio_g7> hmm, could we ship the file directly? I don't think we need the android rom anymore | 21:22 |
mal | piggz: which file? | 21:23 |
piggz | mal: that BT firmware blob | 21:23 |
mal | piggz: can't you make a symlink in /usr/libexec ... | 21:24 |
mal | depends on how it's loaded | 21:24 |
piggz | loaded by hciattach | 21:24 |
mal | piggz: which exact folder? | 21:24 |
piggz | hciattach loads from /etc/firmeware | 21:25 |
piggz | which, I have symlinked to /system/vendor/firmeware | 21:25 |
piggz | in there is bt/ | 21:25 |
piggz | the system ships with BCM4356A2_001.003.015.0084.0268_ORC.hcd | 21:25 |
mal | piggz: instead of symlinking the folder symlink needed files and make sure the symlink has the correct name? | 21:25 |
piggz | but needs to be called BCM4354A2.hcd | 21:25 |
piggz | yes, maybe could do that | 21:26 |
mal | piggz: my way doesn't require renaming anything in /system | 21:26 |
mal | piggz: sometimes the solution is simple :) | 21:26 |
piggz | i need to check if hciattah will load from a symlink ... i think i tried, but will try again | 21:27 |
T4 | <eugenio_g7> piggz: we could ship firmwares in a separate package and use whatever name we want | 21:27 |
mal | that is not preferred | 21:27 |
T4 | <eugenio_g7> I'd like to avoid requiring the base LOS ROM | 21:28 |
piggz | heh | 21:28 |
piggz | full on port! | 21:28 |
piggz | well .. we have options | 21:28 |
T4 | <It_sMike> mal the problem was from droidmedia :) | 21:29 |
T4 | <eugenio_g7> we don't use the android bits anymore after all (excluding the kernel) | 21:29 |
T4 | <It_sMike> should fix droidmedia.... | 21:29 |
mal | @It_sMike what was the problem there? | 21:30 |
T4 | <It_sMike> flashlight, camera and video playback | 21:30 |
T4 | <It_sMike> all of them gone when I installed the old droidmedia package | 21:31 |
piggz | @eugenio_g7 wonder if we can use v4l for the camera? | 21:31 |
mal | @It_sMike not sure if I understand, so those work with old one but not with new? | 21:32 |
T4 | <It_sMike> this one : … http://repo.merproject.org/obs/nemo:/devel:/hw:/xiaomi:/cancro/sailfish_latest_armv7hl/armv7hl/droidmedia-0.20180315.1+3+g6a66fb4-1.armv7hl.rpm | 21:32 |
T4 | <It_sMike> yeah! | 21:32 |
mal | so what is the difference in that, that looks like it has some patch | 21:33 |
T4 | <It_sMike> but when I build the droidmedia using its old source face with those problems ag ain.... any idea!? | 21:33 |
mal | based on the version | 21:33 |
T4 | <eugenio_g7> piggz: not sure, but getting the cameras to work would be pretty nice, given that they work only on miui and windows | 21:33 |
T4 | <eugenio_g7> there is also the funky battery reads to fix | 21:34 |
T4 | <It_sMike> maybe !? | 21:34 |
mal | @It_sMike anything in logcat? | 21:34 |
T4 | <It_sMike> didn't checked it yet.... | 21:34 |
T4 | <eugenio_g7> I don't think it's Sailfish related though, I flashed Lineage the other day to tinker with a working audio stack and it experienced the same issue | 21:35 |
T4 | <eugenio_g7> so there is something pretty wrong on the kernel side | 21:35 |
T4 | <eugenio_g7> that, or both our batteries aren't healthy | 21:35 |
T4 | <It_sMike> mal, did other porters apply patchs on droidmedia to make it working on them devices? | 21:36 |
piggz | ah yes, it works on windows, i wonder what interface it used | 21:37 |
piggz | yeah, my battery is all over the place! | 21:38 |
mal | @It_sMike I use one patch myself | 21:38 |
T4 | <It_sMike> Hmmm.... is it too hard to be done !? | 21:38 |
mal | check logcat like I said | 21:39 |
mal | or pastebin the output | 21:39 |
T4 | <It_sMike> with broken droidmedia? or with working droidmedia? | 21:39 |
mal | broken of course | 21:41 |
mal | why would I want look at logs from working one? | 21:41 |
T4 | <It_sMike> :) sorry for being noob one again | 21:41 |
T4 | <It_sMike> once* | 21:41 |
T4 | <It_sMike> Here's the logcat dear mal :) … https://paste.ubuntu.com/p/JMDB8w5Kbd/ | 22:01 |
mal | @It_sMike as I suspected you need to apply this to your for droidmedia https://github.com/kimmoli/droidmedia/commit/95aec707be50ed8cb0acec806cf81e763a41fdf3 | 22:06 |
T4 | <It_sMike> Let me try it mal | 22:07 |
T4 | <It_sMike> And THANKS again :) … You helped me a lot :) | 22:07 |
mal | I assume you know how to get the raw patch from github? or add git remote and cherry-pick the commit | 22:08 |
T4 | <It_sMike> I know it... it's ok mal :) | 22:10 |
mal | do you remember what you need to rebuild after that? | 22:12 |
mal | you don't have to rebuild everything | 22:12 |
T4 | <It_sMike> gst-droid ? | 22:12 |
mal | no | 22:12 |
mal | you do the chapter 13.2 but you can skip gst-droid, just do the droidmedia parts | 22:13 |
T4 | <It_sMike> :) OK then | 22:13 |
T4 | <It_sMike> it would be take a while for me.... | 22:13 |
piggz | cancaro is a xiaomi isnt it? | 22:15 |
piggz | i too use that patch | 22:15 |
T4 | <It_sMike> Yes :) Xiaomi Mi 4 / Mi 3 | 22:15 |
Umeaboy | Guys, I still can't build hybris-hal with the r47 branch. | 22:42 |
Umeaboy | I know I've followed every instruction correctly from the HADK PDF. | 22:43 |
mal | what is the error now? | 22:43 |
Umeaboy | Still the same: https://pastebin.com/z3J2p0XY | 22:44 |
mal | show your local manifest | 22:51 |
T4 | <linusdan> People, I was able to compile the zip of the sailfish for the i9100! Installed via TWRP but not normal out of the samsung logo when restarting :( | 22:57 |
Umeaboy | There is no local_manifests in $HOME/hadk/.repo/ as the HADK doesn't tell you to create one manually. The only manifest is the one for the hybris aosp branch that I initiated. | 22:59 |
mal | Umeaboy: how about chapter 5.2? | 23:02 |
mal | Umeaboy: how in the hell did you even get it to build without local manifest? | 23:02 |
Umeaboy | I don't know to be honest. | 23:03 |
mal | grep .repo for the device repo | 23:03 |
Umeaboy | ps aux | grep maple ? | 23:05 |
Umeaboy | Nope. | 23:06 |
Umeaboy | Uuuuuuhm... | 23:06 |
mal | ps aux, wtf, wy don't you think a little | 23:06 |
Umeaboy | /home/kristoffer/hadk/device/sony/maple | 23:06 |
mal | you are missing completely what I'm asking | 23:07 |
Umeaboy | OK. What ARE you asking for? | 23:07 |
mal | WHAT DAMN MANIFEST IS THAT REPO DEFINED??????????????????????? | 23:07 |
Umeaboy | I haven't got the slightest idea of which manifest it uses. | 23:16 |
mal | Umeaboy: so you don't understand at all how android build works? | 23:17 |
r0kk3rz | well its pulled in by something, it doesnt get there by magic | 23:17 |
Umeaboy | mal: Not down to the very core. | 23:17 |
mal | this is like the simplest part of android build | 23:17 |
r0kk3rz | this isnt the very core, this is the basics | 23:17 |
r0kk3rz | looks like the default.xml has device items | 23:21 |
Umeaboy | Yeah, but shouldn't that create a manifest from sonyxperiadev after you've done the lunch command? | 23:23 |
mal | Umeaboy: since you don't even try to solve anything I solved it for you, check that device/qomc/common repo history and you will see that you need older revision, you'll see the commit that brought in json-c | 23:24 |
mal | it was quite obvious that if there is conflict with two repo then git log should be checked | 23:25 |
mal | the reason is probably that we use r47 where as sony already uses r52 | 23:25 |
Umeaboy | mal: That would be good to add to the HADK. | 23:25 |
mal | hadk is not that specific | 23:27 |
mal | and sony manifest is special | 23:27 |
Umeaboy | So I just switch branch to a lower revision and repo --fetch-submodules and then try again? | 23:28 |
mal | sony common doesn't have older revision, it has just o-mr1 branch | 23:29 |
mal | just go to the damn folder, check git log for suitable commit and then git reset --hard some_hash | 23:29 |
mal | sorry for being a bit rude, I'm way too tired and get annoyed easily when I don't sleep enough | 23:36 |
Umeaboy | No problem. Understandable. | 23:49 |
Umeaboy | I think the main difference between this build of hybris-hal is that the build guide for Xperia X (that DID build the image) and following the equivalent instructions in the HADK PDF is that it uses an older AOSP version: repo init -u git://github.com/mer-hybris/android.git -b hybris-sony-aosp-6.0.1_r80-20170902 -m tagged-manifest.xml | 23:52 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!