T42 | <edp_17> I need a little support. I have boot loop, however I have all partition mounted: https://paste.ubuntu.com/p/rZQg4KnpNK/ | 00:10 |
---|---|---|
T42 | <edp_17> I have tried: 'ln -s /dev/null /etc/systemd/system/ofono.service' but didn't help | 00:11 |
T42 | <edp_17> I have CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 and CONFIG_SECURITY_SELINUX_BOOTPARAM=y in defconfig. | 00:11 |
T42 | <edp_17> and I have BOARD_KERNEL_CMDLINE := console=ttySAC2,115200 consoleblank=0 selinux=0 in boardcommonconfig.mk | 00:13 |
T42 | <edp_17> The device is Galaxy S2 (i9100) and the base is CM-14.1. | 00:14 |
T42 | <edp_17> Can the reason of this behaviour be that I used Cyanogenmod kernel but LOS android image? | 00:26 |
r0kk3rz | why arent you using the kernel associated with your image? | 00:33 |
T42 | <edp_17> A long story in short. I already had a LOS14.1 image and when I started to work on the new port with 14.1 base, I realized that used cm kernel only after that I made the hybris-hal and the image. | 00:41 |
r0kk3rz | LOS used to be cm, so as long as its the kernel for the image thats fine | 00:41 |
T42 | <edp_17> Ok, thanks. | 00:42 |
T42 | <edp_17> I have found a cm-14.1 android image and will try this one. | 00:46 |
r0kk3rz | why? | 01:02 |
r0kk3rz | i assume the image you had booted and worked | 01:03 |
T42 | <edp_17> Yes, it did. I had been used it on my device for years. | 01:04 |
r0kk3rz | so you want to build sailfish with the closest matching source to that | 01:04 |
r0kk3rz | that is all | 01:04 |
T42 | <edp_17> Yeah, I guess need to use the los kernel for that image. | 01:05 |
T42 | <edp_17> I have tried with the downloaded cm-14.1 image, and the result was the same. Tomorrow I will re-try. | 01:06 |
T42 | <birdzhang> cm and los are same | 01:06 |
r0kk3rz | you're probably barking up the wrong tree | 01:06 |
T42 | <edp_17> I know the los is the successor of cm, but I was not sure whether I can mix the kernel (hybris-hal) and the android image that is under SFOS. | 01:08 |
T42 | <edp_17> That's all. | 01:08 |
T42 | <edp_17> The problem is probably somewhere else. | 01:09 |
T42 | <edp_17> By the way. Can I try building 3.3.0.16 image or it is still not 'officially' out in the repos? | 01:11 |
r0kk3rz | you can | 01:12 |
T42 | <edp_17> Thanks. | 01:12 |
r0kk3rz | for early stage stuff it wont really matter | 01:13 |
r0kk3rz | and like i said, you use the kernel that the base image uses | 01:13 |
r0kk3rz | it doesnt matter whether its los or cm or whatever, so long as its what the base image uses | 01:14 |
T42 | <edp_17> Thanks. I think push aside the 14.1 attempt for a while and go back to my 12.1 port and try to upgrade that image to 3.3.0.16. | 01:15 |
r0kk3rz | so you had a working port? why change the base | 01:16 |
* Oksana , in the end, upgraded to devel 3.3.0.16 - Videos from Gallery play fine, Camera takes photographs fine (not black, focus works, no problems whatsoever), SIM card slots are fine, patch for Notes timestamps applies fine (it didn't work in 3.2.1.20 testing?)... | 02:01 | |
Oksana | Volume control buttons are fine. Desktop/lipstick/mainScreen/whatever prefers to stay in portrait all the time, while terminal auto-rotates to landscape or portrait easily depending on orientation - in short, weird, but merely a cosmetic glitch. | 02:02 |
* Oksana has moved over Notes from old Sailfish to new Sailfish - now should figure out how to move over history of phone calls and SMS and MMS | 02:03 | |
Umeaboy | Please merge my PR on hybris-boot. I just added the mountpoints for maple. | 03:41 |
Umeaboy | https://github.com/mer-hybris/hybris-boot/pull/187 | 03:43 |
Umeaboy | My bad! Forgot I had already added a PR to get the mountpoints added. | 03:50 |
spiiroin | DylanVanAssche: sort of like that but not at all like that ;-) | 04:11 |
Umeaboy | Building hybris for maple as we speak. :) | 04:57 |
DylanVanAssche | spiiroin (IRC): It's trash code, but it does the job π Now we can discuss a bit how we want it: configuration, splitting up code, ... What do you think? | 06:16 |
T42 | <edp_17> @r0kk3rz: Yes, I have got a working port with cm12.1 base. Yesterday I tried to make another one with cm14.1 because hoped the camera recording issue would work. | 06:59 |
T42 | <edp_17> Ehh, not the 'camera recording issue' but the 'camera recording'. π | 07:00 |
T42 | <edp_17> I would like to build a new image for the latest SFOS. Do I need to upgrade the Platform SDK to 3.3.0.16 or leave it as it is currently 3.1.0.12? | 08:14 |
T42 | <edp_17> This is for my working S2 port with cm12.1 base. | 08:14 |
T42 | <birdzhang> rinigus: https://pastebin.com/BAFB59ng | 09:03 |
T42 | <birdzhang> json-glib is on jolla repo | 09:03 |
T42 | <edp_17> When I am trying to update the tooling to the latest with command 'sdk-assistant update SailfishOS-3.2.1', I am getting: 'mount: /srv/mer/toolings/SailfishOS-3.2.1/etc/resolv.conf: special device /run/connman/resolv.conf does not exist.' What am I doing wrong? | 09:24 |
deathmist | @edp_17 I've always just straight up removed and re-added latest tooling, but that could maybe also be something to look into | 09:37 |
T42 | <edp_17> Thanks. I think last time somehow I managed to update tooling and target (for another environment) but it didn't work when I started building. Finally I ended up with delete and recreate them, but thought it would work this time. | 09:47 |
T42 | <edp_17> A silly question, if I keep the current 3.2 tooling and create a new one for 3.3, how will the process know which one to use? | 09:50 |
T42 | <edp_17> Ops, now I know why the update didn't work. For the same reason why the download failed: 'Could not resolve host: releases.sailfishos.org' | 10:02 |
T42 | <edp_17> It was just my PC. Looks like time to time I need to reboot. | 10:09 |
rinigus | birdzhang: I am going through all my projects to make them sfos 3.3 compatible and trying to keep support for older SFOS versions. haven't made it to flatpak yet, will take some days, I think | 10:50 |
T42 | <birdzhang> itβs okay, just info you | 11:34 |
T42 | <RealDanct12> i'd like to bring 3.3 to my lavender, though i still have to create an tjc account | 11:35 |
rinigus | birdzhang: thanks - wrote down into todo :) | 11:35 |
Umeaboy | Hmmmmmmm. Did I miss to do something to make this work? https://pastebin.com/7v4NpKQV | 11:53 |
Umeaboy | The creations look fine for me. | 11:54 |
Umeaboy | Besides line 33. | 11:54 |
T42 | <elros34> what about line 14? | 11:56 |
T42 | <elros34> Has anyone which use libhybris-0.0.5.25 tried latest in 3.3.0? It seems now it's even worse (even --enabled-trace doesn't help) unless I mess something up | 11:58 |
T42 | <edp_17> @Umeaboy: I am not sure it does make any difference but I only use the '$VENDOR-$DEVICE-$PORT_ARCH' rather than 'SailfishOS-$VENDOR-$DEVICE-$PORT_ARCH' when creating target. Try to re-create with removing the 'SailfishOS-' tag. | 12:13 |
T42 | <edp_17> Or just try to build the image and you'll see if anything is missing. π | 12:14 |
T42 | <elros34> obviously it make a difference: $VENDOR-$DEVICE-$PORT_ARCH is default target name used in all instructions and scripts | 12:15 |
T42 | <edp_17> Thanks. | 12:16 |
Umeaboy | That did the trick. Thanks. Removing SailfishOS from the sdk-assistant create line..... | 12:18 |
Umeaboy | Is the error Repository 'adaptation0' is invalid. going to be solved in the near future? | 12:21 |
Umeaboy | I also need to solve this: fatal: No url found for submodule path 'kernel/sony/msm-4.9/kernel/drivers/staging/wlan-qc/fw-api' in .gitmodules | 12:28 |
Umeaboy | It also says: fatal: run_command returned non-zero status while recursing in the nested submodules of kernel/sony/msm-4.9/kernel | 12:28 |
Umeaboy | And Fatal: Cannot save state of Git submodules: git-stash failed for some. | 12:28 |
mal | did you follow the instructions? meaning the part about ./setup-sources.sh --mb ? | 12:30 |
Umeaboy | mal: Isn't this the right way to do it? | 12:31 |
Umeaboy | https://pastebin.com/KvGBvH5K | 12:31 |
Umeaboy | Everything has been working quite OK until now. | 12:32 |
Umeaboy | hybris-hal and droidmedia built. | 12:32 |
mal | what are you doing after that to get the error? | 12:34 |
Umeaboy | https://pastebin.com/u2bruUu0 | 12:36 |
Umeaboy | Yes, I did create the spec file. | 12:36 |
mal | so what command gives the error? | 12:36 |
mal | you never told that | 12:36 |
Umeaboy | rpm/dhd/helpers/build_packages.sh --droid-hal | 12:37 |
mal | so does the $ANDROID_ROOT/fw-api have content? did you correct pull submodules when you cloned the droid-hal repo | 12:41 |
Umeaboy | Here's a picture of the fw-api directory content: https://ibb.co/G7X3Kxf | 12:54 |
Umeaboy | mal: Any workaround? | 13:08 |
mal | not sure what you did wrong | 13:09 |
vknecht | iirc, also had problems with wlan-qc stuff until at least git add'ed them | 13:10 |
mal | ok | 13:10 |
Umeaboy | Uhu, so this is not MY error this time. Wooohoooo! | 13:15 |
Umeaboy | :) | 13:15 |
spiiroin | DylanVanAssche: I cooked up something -> https://git.sailfishos.org/spiiroin/mce/commits/pinephone_battery_wip | 13:39 |
spiiroin | one thing to check: are the ac/usb charger devices always present? or are they dynamically added/removed depending on what is connected | 13:40 |
spiiroin | (adding should be ok, but removal is not handled atm at all) | 13:41 |
DylanVanAssche | spiiroin (IRC): They are always present in sysfs. They have some 'connected' state to see which one is plugged inused and which not | 13:42 |
DylanVanAssche | in/used* | 13:42 |
Mister_Magister | mal: how to fix dhv on 3.3 without rebuilding dhd? | 13:43 |
mal | how is it broken? | 13:44 |
T42 | <edp_17> Guys, on sfos 3.3.0.16 when I am trying to install a kodi from openrepos, I get: 'Nothing provides libgcrypt.so.11 needed by kodi-16.1-1.armv7hl'. I didn't get this error on the 3.2.1.20. | 13:48 |
DylanVanAssche | spiiroin (IRC): So much better than my demo C code π which was so efficiently horrible :D | 13:48 |
DylanVanAssche | I will test it out later today | 13:48 |
T42 | <birdzhang> mal: logs https://build.merproject.org/package/live_build_log/nemo:devel:hw:xiaomi:vince/droid-hal-version-vince/sailfish_latest_armv7hl/armv8el | 13:48 |
T42 | <edp_17> The libgcrypt package is installed. | 13:49 |
T42 | <edp_17> 'No update candidate for 'libgcrypt-1.8.5+git1-1.4.1.jolla.armv7hl'. The highest available version is already installed.' | 13:49 |
T42 | <birdzhang> I thought you knew | 13:49 |
mal | @birdzhang yeah, no idea why that fails | 13:51 |
mal | I was just confused why droid-hal was mentioned | 13:52 |
T42 | <elros34> @birdzhang you can find workaround here: http://collabedit.com/kr9xx | 13:52 |
T42 | <birdzhang> @elros34 yeah, i used that way fix dhv on obs. Mister_Magister asked how to fix without rebuilding dhd | 13:55 |
T42 | <elros34> ah ok. It sane to rebuild dhd because of changes in user/groups handling | 13:56 |
mal | although some fixes are still missing from system/core | 13:57 |
Mister_Magister | welp, no update for my users then | 13:57 |
mal | Mister_Magister: why can't you rebuild dhd? | 13:57 |
Mister_Magister | it's too much to bother and i don't have whole hadk locally | 13:57 |
mal | it doesn't really take long to rebuild | 13:58 |
Mister_Magister | the issue is with using custom droid-hal-device instead of hybris one | 13:59 |
mal | what is the difference? | 13:59 |
Mister_Magister | mal: https://github.com/sailfish-on-fxtecpro1/droid-hal-device/commit/df0e02701fd9f1e144c23e7f7865949bdd1ad0be | 13:59 |
Mister_Magister | and later on i will have to rebuild again to switch to master again eh | 14:03 |
Mister_Magister | and syncing whole repo is not quicc | 14:03 |
mal | I keep copy of all hybris-* source trees locally | 14:05 |
T42 | <elros34> reverting this can also potentially help: https://git.sailfishos.org/mer-core/filesystem/commit/e1ab8c94327a19f4bb39e4ff81732192ee28941c | 14:05 |
Mister_Magister | mal: ye i know i don't have that much space | 14:09 |
mal | I think the real reason could be installation order, filesystem is installed after droid-hal kernel | 14:14 |
T42 | <elros34> same issue is in fresh 3.3.0 target | 14:15 |
DylanVanAssche | spiiroin (IRC): Charging gauge works now π Only when you unplug the cable, it says 'charging' instead of 'charger removed' | 14:16 |
spiiroin | DylanVanAssche: nice, eh ;-) might be some interplay from charger node emitting notification and battery not | 14:18 |
DylanVanAssche | spiiroin (IRC): Really nice work! | 14:18 |
spiiroin | doing a forced update when udev reports anything might solve that, but ... ugly | 14:18 |
T42 | <adampigg> its all ugly :D | 14:19 |
DylanVanAssche | It should support udev notifications out of the box like other hardware, but yeah, that's life | 14:19 |
spiiroin | I'll add it just to see if it makes any difference | 14:20 |
spiiroin | added a commit | 14:28 |
spiiroin | probably would make sense to delay such operation if it is needed. to avoid unnecessary repeating & improve changes of getting relevant info | 14:29 |
DylanVanAssche | Building now :) | 14:30 |
DylanVanAssche | spiiroin (IRC): That works! Unplugging is now properly shown in the UI. Another thing I noticed: developer mode or any other USB mode works when plugged in, but when you plug it into a normal charger, it thinks that it's plugged into an USB port instead of a charger :D | 14:42 |
mal | @elros34 I have a cleaner way to fix the /boot issue | 14:48 |
T42 | <elros34> great, I don't fully understand why this fail | 14:49 |
mal | I do | 14:50 |
mal | well I think I understand | 14:50 |
T42 | <adampigg> if you could also understand why harbour-storeman cannot be install with a kickstart, that would be great :D | 14:55 |
T42 | <elros34> @adampigg I remember I had to rebuild it by myself, that one from openrepos coudn't be installed | 14:56 |
mal | @elros34 this seems to work but need to do some more testing https://github.com/mer-hybris/droid-hal-device/commit/d75a605795895988a0543385ba4aca6bf50c0db7 | 14:56 |
T42 | <adampigg> @elros34 oh, is it some weird package problem? i added a hack to install it to the end of out kickstart | 14:56 |
T42 | <elros34> Some dependency, which prevents it's from installing, can't remember it now | 14:58 |
T42 | <elros34> mal: not sure this will help for local sdk target | 14:58 |
T42 | <elros34> @adampigg IIRC storeman rpm was build with short-circuit option | 15:01 |
mal | @elros34 why not? | 15:01 |
mal | @adampigg why this https://github.com/sailfish-on-fxtecpro1/droid-hal-device/commit/0de3e2aa01c77fce213ba436296c9f7b8614418e ? | 15:02 |
T42 | <elros34> I can't see how this could, filesystem is already installed in target but I will test your solution later | 15:03 |
ThatComputerKid | I have sailfish os on my galaxy tab. So far so good except for the touchscreen appears to be rotated at a different angle than the screen itself, is there any documentation on how to rotate the touch screen? | 15:05 |
spiiroin | DylanVanAssche: do you have separate "xxx-ac" and "xxx-usb" power supply devices (as I thought there would be)? Was discussing with abranson earlier and he had only "usb" one. | 15:07 |
spiiroin | if there is only one charger device, it probably should indicate whether pc or charger is connected | 15:08 |
spiiroin | which is how all qc devices work, but maybe props/whatnot are different with pinephone | 15:09 |
mal | @elros34 is the problem also on local build? | 15:09 |
T42 | <elros34> mal: yes, on fresh target | 15:10 |
T42 | <elros34> ThatComputerKid: try to add ':rotate=90' to evdevtouch plugin in /var/lib/environment/compositor/droid-hal-device.conf | 15:12 |
spiiroin | DylanVanAssche: i.e. now it probably ends up using "mtk style" detection logic (separate ac/usb/wireless/... device nodes) and having "usb" in name -> triggers "is pc" | 15:13 |
ThatComputerKid | T42 When I created the files in TWRP and rebooted they deleted themselves. Any idea what's going on there? | 15:30 |
T42 | <adampigg> mal: because I dont know why i reverted it originally ... it was summer last year, and con only think it was a mistake! | 15:30 |
T42 | <adampigg> mal: so, this makes the branch closer to master | 15:32 |
T42 | <elros34> ThatComputerKid: you don't create any file, it's is already there: /data/.stowaways/sailfishos/ is / root path for sailfish in twrp | 15:33 |
meowdude | is hybris-11 worth it for sfos 3 | 15:42 |
meowdude | just in terms of hardware support, I know the different bases aren't very epic | 15:42 |
DylanVanAssche | spiiroin (IRC): I have those indeed... https://bin.dylanvanassche.be/t/psu | 15:54 |
DylanVanAssche | spiiroin (IRC): Do I need to configure it somehow to activate this commit? | 16:10 |
DylanVanAssche | https://git.sailfishos.org/spiiroin/mce/commit/cb31b8ea4317d9920686b88d09aaff441b606d4c | 16:11 |
ThatComputerKid | T42 Thank you that helped. I am into the sailfish os now but cannot connect to wifi for some reason. I go into the WLAN settings but there are no wifi networks | 16:27 |
T42 | <elros34> Did you build wlan as a module? | 16:33 |
ThatComputerKid | I am using a build from someone else, how can I check. please excuse my noobieness | 16:35 |
T42 | <elros34> Ah so you just install image? I would suggest to ask porter how he made wifi work. Usually it's enough to build wlan as module and then 'modprobe wlan' in systemd service | 16:38 |
ThatComputerKid | The problem is that I am actually 3 builds behind but the next 3 build won't install on my tablet. a modprobe wlan brings up the message couldn't find module so I guess it isn't there. | 16:43 |
ThatComputerKid | Is there a way to build it in now? post install? | 16:44 |
T42 | <elros34> Why you you can't install latest build? | 16:47 |
ThatComputerKid | I get a " Failed to extract filesystem " Error | 16:47 |
T42 | <elros34> Which twrp version did you try? | 16:48 |
ThatComputerKid | twrp 3.3.0-2 | 16:50 |
ThatComputerKid | Do I need to update it? | 16:50 |
T42 | <elros34> you could downgrade it | 16:51 |
T42 | <elros34> try something around 3.0 | 16:51 |
ThatComputerKid | okay | 16:53 |
ThatComputerKid | Actually I just found that Sailfish os can apperantyl see my mac address... | 17:10 |
ThatComputerKid | I can't figure ou t how to reflash TWRP | 17:23 |
T42 | <elros34> has anyone experienced more browser crashes in 3.3.0? Could be related to gst-droid | 19:07 |
piggz | mal: any idea why this fails in testing but works in devel: ? https://build.merproject.org/package/live_build_log/nemo:testing:hw:fxtec:t5/nfcd/sailfishos_3.3.0.16/armv8el | 19:55 |
deathmist | piggz: https://build.sailfishos.org/package/show/nemo:testing:hw:oneplus:cheeseburger/nfcd worked for me, maybe try upgrading it to version 1.0.30? | 20:05 |
rinigus | birdzhang: flatpak is recompiled using sfos-provided json-glib and libseccomp. hopefully, this will resolve the conflicts | 20:10 |
piggz | deathmist: hmm, nfcd still wont build :/ | 21:03 |
piggz | deathmist: ah, failures are random, it worked after a re-trigger! | 21:16 |
T42 | <birdzhang> rinigus: thank you | 23:07 |
T42 | <birdzhang> @elros34 i have, both on xa2 and my port devices | 23:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!