lp35 | Hi all! I'm the author of https://together.jolla.com/question/210732/porting-sailfishos-on-the-best-smartphone/. I would like to discuss a bit about opportunities for a new device for the community with android support. | 11:25 |
---|---|---|
* Mister_Magister there is no such thing as best smartphone | 11:26 | |
* Mister_Magister there is always a bigger fish | 11:26 | |
lp35 | yes of course, but I mean a device that is suitable for a large community such as Jolla's one. | 11:27 |
Mister_Magister | "Unfortunately I now that driving this project alone is not possible today because this requires too much spare time" | 11:27 |
* Mister_Magister cries in me | 11:27 | |
lp35 | ? | 11:27 |
Mister_Magister | 5 projects like those at the same time are totally doable | 11:27 |
Mister_Magister | for single person | 11:27 |
lp35 | What about the bus factor? | 11:28 |
Mister_Magister | there are git and obs repos | 11:29 |
Mister_Magister | and i didn't died yet so | 11:29 |
lp35 | ok, so I guess you already ported some devices ? | 11:30 |
Mister_Magister | suuure | 11:31 |
lp35 | which ones? | 11:31 |
Mister_Magister | does it matter. i just wanted to complain | 11:32 |
lp35 | k. What about something more constructive? You've got someone motivated here. | 11:33 |
r0kk3rz | ok, what do you want to do? | 11:34 |
Mister_Magister | lp35: just wanted to say that "requires too much spare time" and i'm doing 5x this so my free time is porting *cires in me* | 11:34 |
Mister_Magister | CAN SOMEONE DEBUG KEYMASTER | 11:35 |
r0kk3rz | the 'with android support' sounds tough | 11:35 |
Mister_Magister | r0kk3rz: anbox was working, why | 11:35 |
r0kk3rz | workingTM | 11:35 |
lp35 | I want to poll the community for their need, and a device that could be "balanced" between different usages | 11:35 |
Mister_Magister | untill mal left xd | 11:35 |
r0kk3rz | i know workinf for you means not crashing | 11:36 |
Mister_Magister | lp35: doubt that will work | 11:36 |
r0kk3rz | but tbh it does crash a lot, so... | 11:36 |
lp35 | yes, anbox sound really promising, but I guess a big layer will miss between Sailfish & anbox, isn't it? | 11:36 |
Mister_Magister | r0kk3rz: it crashed on start for me | 11:36 |
Mister_Magister | let's bring back sfdroid | 11:36 |
Mister_Magister | sfdroid was working at least :P not great, tons of problems, but working :P | 11:37 |
lp35 | ok, I wasn't aware about sfdroid. It's not supported anymore? | 11:37 |
Mister_Magister | ofcourse not | 11:38 |
Mister_Magister | just proof of concept | 11:38 |
Mister_Magister | inb4 bring bacc apkenv xd | 11:38 |
lp35 | ok so the goal is to move from POC to daily usable bits. | 11:39 |
r0kk3rz | for android? | 11:39 |
Mister_Magister | not with sfdroid or anobx | 11:39 |
lp35 | yep | 11:39 |
Mister_Magister | that is whole big project on its own | 11:39 |
lp35 | my guess it's the strongest dependency with jolla dev team | 11:39 |
Mister_Magister | to get somewhat stable android support on ports | 11:40 |
lp35 | so that's why it couldn't be the project of 1 person :) | 11:40 |
Mister_Magister | i mean the android support on ports isn't there since yesterday it's since beginning i believe and no solution yet | 11:40 |
Mister_Magister | if only qualcomm allowed kvm | 11:41 |
lp35 | yes but efforts & poc has been made. What are the technical reason for stopping? | 11:41 |
Mister_Magister | not stopping | 11:41 |
r0kk3rz | technical reason? none | 11:42 |
r0kk3rz | just peoples interest | 11:42 |
Mister_Magister | yee | 11:42 |
Mister_Magister | it was there and it will be there | 11:42 |
r0kk3rz | this stuff just doesnt magically happen if its technically possible | 11:42 |
Mister_Magister | ^ +1 | 11:42 |
lp35 | r0kk3rz, what do u mean exactly? spending time on dev? | 11:43 |
r0kk3rz | yes, someone needs to actually work on it | 11:43 |
r0kk3rz | mal was, but he gets busy with other things | 11:44 |
Mister_Magister | r0kk3rz: reason is different | 11:44 |
Mister_Magister | conflict of interest | 11:44 |
lp35 | ok so was talking 'bout the bus factor, it's not really far from the reality :D | 11:44 |
Mister_Magister | not lack of time | 11:44 |
r0kk3rz | the reason why doesnt really matter, just he stopped for his own reasons :P | 11:44 |
lp35 | ha? | 11:44 |
Mister_Magister | r0kk3rz: but we konw reason xd | 11:45 |
lp35 | conflict of interest? what are they? | 11:45 |
Mister_Magister | lp35: mal became jolla employee | 11:45 |
r0kk3rz | lp35: well if you want to pay someone to make this for us and run it as a real project then go for it | 11:45 |
Mister_Magister | that should explain | 11:45 |
r0kk3rz | otherwise its just people doing things for interest and fun | 11:45 |
r0kk3rz | which change often | 11:46 |
Mister_Magister | yee | 11:46 |
* Mister_Magister sad Mister_Magister noises | 11:46 | |
lp35 | ok so shall we think that jolla will do everything in their power to prevent anyone of adding android support on community port? | 11:47 |
r0kk3rz | no | 11:47 |
r0kk3rz | certainly not | 11:47 |
lp35 | ok. Do you think it's doable to start the dev again? | 11:48 |
mal | nobody is trying to prevent that, it's obvious that employees cannot help with that either | 11:48 |
lp35 | do you know anyone motivated? | 11:48 |
lp35 | mal: thanks for the precision | 11:49 |
Mister_Magister | "do you know anyone motivated?" see now you got to the point | 11:49 |
mal | many people seem to want anbox but nobody is willing to spend time doing it | 11:49 |
lp35 | I do. But not alone. | 11:49 |
Mister_Magister | lp35: i wish life was this easy | 11:50 |
r0kk3rz | well, its a cross section of desire, skill, and time | 11:50 |
lp35 | Mister_Magister, it's incredible how pessimistic you are about life! Go get some time off the kb! | 11:51 |
r0kk3rz | if you have these things, then start doing, if you need help then you can ask here | 11:51 |
Mister_Magister | lp35: if i wanted to do my ports with "i don't wanna do it alone" there would be no ports from me | 11:51 |
lp35 | my motivation come from teamwork :D | 11:51 |
r0kk3rz | then go play fortnite | 11:51 |
Mister_Magister | destroyed xd | 11:52 |
r0kk3rz | or like, soccer or something :) | 11:52 |
r0kk3rz | you wont be alone, we can help you understand stuff if you want to try with anbox | 11:52 |
Mister_Magister | see thats what i was talking about :P | 11:53 |
Mister_Magister | i for example don't care about android at all | 11:54 |
Mister_Magister | even more after debugging keymaster | 11:54 |
Mister_Magister | fucken keymaster | 11:54 |
lp35 | ok so for you developing code/open source project is just a matter of 1 person. I don't know how is the reality of open source project around sailfish, but you clearly don't spread the desire to help -_- | 11:54 |
mal | also related to anbox, question is that do we want to use the custom way or try to make upstream anbox work in sailfish | 11:54 |
lp35 | mal: I think it's a political issue of Jolla | 11:55 |
Mister_Magister | lp35: preventing busfactor is pushing source to github | 11:56 |
Mister_Magister | side/opensource projects in small community don't work they way you think they do | 11:56 |
Mister_Magister | i think every port you see is work of single person asking others for help | 11:57 |
r0kk3rz | lp35: what stops you from just starting work on it? | 11:57 |
Mister_Magister | ^ +10 | 11:57 |
r0kk3rz | if its a thing you want, then you need to make the thing :) | 11:57 |
Mister_Magister | that's how life works | 11:57 |
r0kk3rz | if you want a quick tour, or help getting started, then we can help you with that | 11:58 |
Mister_Magister | with attitude "it takes too much time so i don't wanna spend my personal time but instead i want other people to spend their personal time to do thing i want" it won't work | 11:58 |
lp35 | r0kk3rz, k deal. But I have a longterm vision of this. I don't want spending my time developing something that will not get any support from any dev. Want to be sure to bet on the right horse. | 11:58 |
r0kk3rz | so you want to be a manager? | 11:58 |
lp35 | why not. | 11:59 |
r0kk3rz | long term goals is fine, but they start short term | 11:59 |
r0kk3rz | it sounds like you want to find someone and convince them to work for you for free | 11:59 |
r0kk3rz | if so, good luck with that | 11:59 |
Mister_Magister | exactly | 12:00 |
lp35 | ok, wasn't my goal | 12:00 |
Mister_Magister | lp35: well everything you said says otherwise :P | 12:01 |
r0kk3rz | people with time and skill tend to have their own pet projects | 12:01 |
r0kk3rz | so, if you have time and skill, then get stuck in | 12:01 |
lp35 | ok got it. | 12:01 |
r0kk3rz | the list of 'wouldnt it be nice if someone did this' is quite long | 12:02 |
lp35 | So I think the starting point of previous work is there? https://github.com/sfdroid/anbox/commits/anbox | 12:03 |
r0kk3rz | there are some instructions for running anbox on a ported sailfish device | 12:03 |
r0kk3rz | you have a ported device? | 12:03 |
lp35 | not yet | 12:04 |
lp35 | not possible with a officialy supported device? | 12:04 |
lp35 | like JollaC? | 12:05 |
Mister_Magister | you need to recompile kernel | 12:05 |
Mister_Magister | not saying it's not possible | 12:05 |
lp35 | I have the basics on kernel compilation. I have done this many time, but for x86 platforms. I'm a daily developer using buildroot, and already integrated some custom drivers in it | 12:07 |
r0kk3rz | yeah, but this is not that simple for sailfish devices | 12:08 |
lp35 | what are the caveats? | 12:10 |
lp35 | drivers? blob? kernel version restrictions? | 12:10 |
Mister_Magister | "kernel version restrictions?" here | 12:11 |
lp35 | is this restriction due to device vendor or sailfish os HAL? | 12:23 |
lp35 | (or both?) | 12:23 |
r0kk3rz | well, you need the exact code and build environment and pack the boot.img | 12:24 |
r0kk3rz | stuff we do all the time when porting devices | 12:24 |
lp35 | r0kk3rz, what do you mean by exact code? Same code as vendor used to pack its android img? | 12:28 |
r0kk3rz | yes | 12:28 |
lp35 | and they doesn't provide this I guess... ^^ | 12:29 |
lp35 | *they don't | 12:29 |
r0kk3rz | jolla does, but getting the blobs and environment stuff may not be so easy | 12:30 |
r0kk3rz | i think there is a guide on tjc about kernel compiling for jolla phone | 12:30 |
lp35 | ok so what would be the easiest way to kickstart? Try to do on my jollaC or try with a community ported device? | 12:36 |
r0kk3rz | imo a community ported device | 12:37 |
r0kk3rz | some devices have all the required things done for anbox already, so you just flash the image | 12:37 |
lp35 | any suggestion? | 12:44 |
mal | just mentioning that the sfdroid github has very old version of anbox, more recent versions are available in some other places | 12:49 |
masha11 | mal: Hello! Can I show you my logs? My device (griffin with cm 14.1) does not show GUI. How do I start debugging? | 12:58 |
Mister_Magister | let me quote hadk-faq | 12:59 |
Mister_Magister | So you booted your Sailfish OS? Congrats! No GUI? Oh dear :) | 12:59 |
masha11 | dmesg: https://pastebin.com/j66Jyiea, journalctl: https://paste.ubuntu.com/p/5bTzXjfMGK/, lipstick: https://paste.ubuntu.com/p/Q4qjXcJcCS/, test_hwcomposer: https://paste.ubuntu.com/p/CXZ3dgh75F/ | 13:02 |
mal | masha11: logcat missing | 13:12 |
Mister_Magister | mal: in test_hwc | 13:13 |
lp35 | mal, of course I will cerry-pick/rebase on top of the latest version ;) | 13:15 |
masha11 | mal: logcat-https://paste.ubuntu.com/p/v3RTHMYxZg/ ,lipstick-https://paste.ubuntu.com/p/gpS8WP25r4/ | 13:19 |
masha11 | test_hwcomposer+logcat: https://paste.ubuntu.com/p/CXZ3dgh75F/ | 13:20 |
lp35 | r0kk3rz, any device/doc resources for such community port? | 13:21 |
r0kk3rz | lp35: https://wiki.merproject.org/wiki/Adaptations/libhybris | 13:28 |
lp35 | r0kk3rz, I was refering to "some devices have all the required things done for anbox already, so you just flash the image" any suggestion in mind? | 13:32 |
r0kk3rz | umm lets see, fp2, mido, scorpion | 13:34 |
r0kk3rz | probably a bunch of Mister_Magister's motos | 13:34 |
Mister_Magister | nah i didn't port anbox | 13:35 |
r0kk3rz | vince | 13:35 |
r0kk3rz | but even if it didnt, you could probably ask the porter to enable the required flags and add the code commits | 13:35 |
r0kk3rz | or of course do it yourself | 13:36 |
Mister_Magister | >my motos are 3.4 or 3.10 | 13:36 |
r0kk3rz | 3.10 can work | 13:36 |
r0kk3rz | i think | 13:36 |
Mister_Magister | 3.4 too | 13:37 |
Mister_Magister | if you try hard enough | 13:37 |
Mister_Magister | i had problems with anbox on osprry | 13:37 |
Mister_Magister | osprey* | 13:37 |
albertus1 | mal: do you happen to have any new idea or suggestion for me to try with my issue of MIC failing with "repo problem: pattern:jolla-configuration-h3113-1-1.noarch requires droid-config-h3113-bluez5, but this requirement cannot be provided" [...], where editing the .ks file with only the one package didn't produce an error? | 13:41 |
Mister_Magister | albertus1: show dcd | 13:42 |
albertus1 | what's that? | 13:44 |
Mister_Magister | configs | 13:44 |
albertus1 | I hope these are what you're looking for, because I don't know `dcd` and don't know what particular config (and from where) I should pull otherwise: http://dpaste.com/3WDHZ8H (Jolla-@RELEASE@-h3113-@ARCH@.ks), http://dpaste.com/1GK5SNV (hybris/droid-configs/patterns/jolla-hw-adaptation-pioneer.yaml), http://dpaste.com/2WPPZMM (hybris/droid-configs/ | 13:50 |
albertus1 | patterns/jolla-configuration-h3113.yaml) | 13:50 |
Mister_Magister | droid-configs repo | 13:51 |
albertus1 | sorry, I think I need a bit more verbose instructions. I'm new to this practice and followed this guide without understanding or looking into every detail https://sailfishos.org/wiki/DRAFT-Sailfish_X_Xperia_XA2_Build_and_Flash | 13:55 |
Mister_Magister | xddd | 13:55 |
r0kk3rz | then you probably missed a build step | 13:58 |
r0kk3rz | rebuild the configs and mw | 13:59 |
albertus1 | i.e., chapter 7 of HADK pdf? | 14:01 |
albertus1 | (or rather the corresponding "do instead" portion from the build guide) | 14:04 |
albertus1 | again, running into "cannot remove mesa to build libhybris", which seemed to be related to an old submodule in the git repository: https://github.com/mer-hybris/droid-hal-device/commit/69f67a7dd508249ed7f4167ed232bdb7488f6d33 (as pointed out by @elros34 on Aug 11: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2019-08-11.txt#line83 ) | 14:13 |
albertus1 | I will build that manually again and then skip it | 14:13 |
r0kk3rz | the last two lines of the 'do instead' in chapter 7 is probably enough to start with | 14:13 |
r0kk3rz | and make sure it all builds properly of course | 14:14 |
albertus1 | or should I try to update the git submodule manually? | 14:17 |
r0kk3rz | why? | 14:17 |
r0kk3rz | id leave the code as is | 14:17 |
r0kk3rz | until you're sure you're doing the build process correctly | 14:18 |
albertus1 | but it always produces that error after building libhybris | 14:18 |
r0kk3rz | maybe bump it then, i would hope these repos would be maintained though | 14:19 |
mal | channel logs have instruction how to remove mesa manually, or more correctly how to install libhybris manually | 14:21 |
albertus1 | this is the repo that wasn't updated after the commit in droid-hal-device, mentioned above: https://github.com/mer-hybris/droid-hal-sony-nile | 14:28 |
albertus1 | otherwise, I couldn't be getting that particular error anyway, because it was removed and had a "new way" for "mesa >= 19" | 14:29 |
mal | albertus1: try running "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in libhybris" which then should ask you to remove mesa | 14:35 |
mal | but indeed the submodule in the droid-hal repo should be updated at some point | 14:36 |
mal | albertus1: if you want you can update the submodule and make a pull request to the https://github.com/mer-hybris/droid-hal-sony-nile repo | 14:50 |
albertus1 | maybe tonight when I'm home, my mobile connection is quite slow here | 14:56 |
vknecht | albertus1, it could be that you have to comment out these two lines which obsolete encsfa stuff: https://github.com/mer-hybris/droid-config-sony-nile/blob/e83f50b4ea64c203e81d4a1b0a11f304da6f8431/droid-config-common.inc#L15 | 15:16 |
mal | that's a good idea | 15:22 |
lp35 | Mister_Magister, motoG4 is the most recent device that has been ported? | 16:33 |
lp35 | looking for buying one of those to start porting anbox. | 16:33 |
vknecht | lp35, vince/redmi note 5+ is probably a good bet, since its maintainer (birdzhang) also maintains the most advanced (afaik) anbox fork https://github.com/Sailfish-On-Vince/ | 16:47 |
vknecht | *anbox fork for sfos | 16:47 |
vknecht | although it should work on any device with required defconfig mods, overlay fs support and a few other patches | 16:49 |
vknecht | and here's his OBS repo to install: https://build.merproject.org/project/show/home:birdzhang:anbox | 16:53 |
Mister_Magister | lp35: most recent is pro1 | 17:01 |
Mister_Magister | it's not even out xd | 17:01 |
lp35 | pro1 is nice but screen is too big ^^ | 17:03 |
lp35 | and too expensive | 17:03 |
r0kk3rz | anything with a recentish version of android should be fine | 17:14 |
vknecht | would be nice if tapping the 4 corners also disabled the tips ;-) | 18:23 |
Unbegriff | hello, i am attempting to build an image for my zl1 device. Reading the pdf I notice it strongly suggest to flash the stock rom to the device. I got rid of it long ago for LOS and i never loocked back. Is there a way i could start from a LOS base? what dificulties would i encounter compared to the suggested method. | 18:37 |
r0kk3rz | flashing LOS is fine | 18:39 |
r0kk3rz | its mostly about making sure you have a well working device | 18:39 |
Unbegriff | nice, it means i have green light to try. Thanks my dude. | 18:40 |
albertus1 | when building audioflingerglue (make -j$(nproc --all) $(external/droidmedia/detect_build_targets.sh $PORT_ARCH $(gettargetarch)) $(external/audioflingerglue/detect_build_targets.sh $PORT_ARCH $(gettargetarch))). is it correct that I receive lots of messages indicating "VNDK Abi broken"? it still says "build completed successfully" in the end... but it's quite a lot of these ABI warnings | 18:44 |
mal | those should not be a problem | 18:50 |
mal | as long as build was successful | 18:50 |
albertus1 | okay. I'm not exactly a systems programmer, so I can't tell, but it just sounds a bit scary. let's see if the rebuilding from config and mw gets me to a more successful `mic` eventually | 18:53 |
electro575 | hi all | 19:02 |
albertus1 | is it a sign of anomaly that `rpm/dhd/helpers/build_packages.sh --configs` does not "fail with a non-critical Exception AttributeError: "'NoneType... error." like HADK pdf chapter 8.4 says? | 19:37 |
albertus1 | and bumped into the same problem again: Warning[08/19 19:41:07] : repo problem: pattern:jolla-configuration-h3113-1-1.noarch requires droid-config-h3113-bluez5, but this requirement cannot be provided, not installable providers: droid-config-h3113-bluez5-1-1.armv7hl[adaptation-community-h3113-3.1.0.12] | 19:41 |
albertus1 | so no use in re-doing everything from building config and mw | 19:42 |
vknecht | albertus1, did you comment the Obsolete lines mentioned previously ? | 19:48 |
albertus1 | I'm not sure what you mean by obsolete lines | 19:50 |
vknecht | these two lines in droid-config-common.inc : https://github.com/mer-hybris/droid-config-sony-nile/blob/e83f50b4ea64c203e81d4a1b0a11f304da6f8431/droid-config-common.inc#L15 | 19:50 |
albertus1 | no, I must have missed that discussion | 19:51 |
albertus1 | ah, thanks | 19:52 |
albertus1 | I read it on the public log that you were addressing me while I was away, sorry | 19:52 |
vknecht | after commenting them, resume with build_packages.sh --configs | 19:52 |
vknecht | no problem | 19:52 |
albertus1 | indeed I had to skip building the qt-qpa-surfaceflinger because it failed | 19:53 |
albertus1 | do I have to re-build the ks file after that? | 19:57 |
albertus1 | or is process_patterns.sh enough? | 19:57 |
vknecht | generally, better get newer ks when changing droid-config | 19:58 |
vknecht | (still generally) and always process pattern before a new local build | 19:59 |
vknecht | those don't cost much | 19:59 |
albertus1 | to be honest, I asked too late, went with the "old" .ks file and now it already looks different | 20:00 |
albertus1 | the stdout, I mean | 20:00 |
vknecht | it's probably ok | 20:00 |
albertus1 | seems it didn't run into the error any more, so maybe you're on to something here :) | 20:00 |
vknecht | if it ends without error, you're good :-) | 20:00 |
albertus1 | getting excited again to be close to having a flashable image | 20:00 |
albertus1 | will still have to go through backflashing my xperia xa2 from android 9.0 to 8.1 or something, via windows, but first things first | 20:03 |
albertus1 | damn | 20:03 |
albertus1 | https://pastebin.com/R1P4FLN1 | 20:04 |
albertus1 | Error <repo>[08/19 20:03:17] : Could not run transaction. | 20:04 |
albertus1 | whatever that means | 20:04 |
albertus1 | it doesn't say what transaction | 20:04 |
vknecht | afaik the backflashing from 9 to 8 is not needed anymore | 20:06 |
vknecht | for the transaction issue, this doesn't look familiar to me, but maybe try getting new KS and regenerate patterns | 20:07 |
albertus1 | to no avail, unfortunately | 20:13 |
vknecht | hmm, dbus changes make me think about recent secure lock-down changes in sfos, but dunno how that relates to a local build ; maybe some submodule upgrade or downgrade is needed | 20:16 |
mal | those look very strange | 20:18 |
vknecht | maybe need some mic cache clearing ? | 20:24 |
albertus1 | I'll happily try out any command sequence you tell me... | 20:36 |
vknecht | I can't say, just testing OTA'ing to 3.1.0.12 on my dear idol3 daily driver, and didn't see anything like that ; when I try it for loire, maybe I'll get that too but saying more atm would be pure speculation | 20:40 |
vknecht | and I guess Mal is on it ;-) | 20:40 |
vknecht | my precious booted this OTA \o/ | 20:44 |
* vknecht hopes it will work to wake him tomorrow in the morning | 20:45 | |
mal | vknecht: very odd, I just built an image using 3.1.0.12 platform sdk (well just updated to it) and it worked fine | 20:58 |
vknecht | so, maybe some submodule revision thing ? for idol3 I updated both dhd and dhc to master/HEAD | 21:00 |
vknecht | or maybe his pfsdk is not as up-to-date | 21:05 |
vknecht | I'll try it with loire soon™ | 21:08 |
vknecht | good night :-) | 21:08 |
mal | vknecht: very strange, I do see the same folder provided by both packages that cause the conflict but it still builds fine | 21:09 |
mal | so what is different in our installations | 21:09 |
albertus1 | if only I knew.... going to bed now, too | 21:46 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!