osum4est | hello everyone! still trying to get the android services to stop crashing. i looked for missing rc files, but the only ones i could find where the init.zygote ones, which i copied over. there is not an odm mount in android. lineage's init.rc also looks for init.marlin.rc, but that doesn't exist in android. here's a list of all my rc files, while booted into android: https://pastebin.com/KyqxP2jk system and vendor are | 00:57 |
---|---|---|
osum4est | mounted in sailfish with those rc files. here's the journalctl: https://pastebin.com/EhiyM7FA | 00:57 |
r0kk3rz | which services are crashing? | 01:00 |
osum4est | servicemanager, vndservicemanager, hwservicemanager, hwcomposer, boot-hal, and bunch of others | 01:02 |
T4 | southern_dust was added by: southern_dust | 01:10 |
mal | osum4est_: have you tried the selinux_stubs patch I linked there a few days ago | 08:51 |
mal | osum4est_: apply this patch to $ANDROID_ROOT/external/selinux_stubs https://pastebin.com/HQMcU0SW and then rebuild hybris-hal and of course repackage it with "build_packages.sh -d" | 08:52 |
ghosalmartin | osum4est_, i still have my pixel with the sfos rootfs on it, ill fire it up and see what i did with the rcs | 09:24 |
ghosalmartin | although mac and telnet seems to be shite | 09:25 |
mal | the issue is probably not .rc files | 09:26 |
ghosalmartin | i was looking at the services he had failing and I think successfully started | 09:28 |
ghosalmartin | although am not 100% sure, its been a whiel | 09:28 |
mal | ghosalmartin: most likely that selinux stubs issue, at least one other use had the same issue and that fixed it | 09:51 |
ghosalmartin | mal: hopefully it does, cause am on a shitty mac i cant seem to do anything useful. ill have to wait till i get home to see what state this rootfs is in | 09:55 |
mal | the error is quite obvious from backtrace in logs | 10:02 |
ghosalmartin | ahh, hows has the new bluebinder been running? ive been out of the loop for a whileee | 10:05 |
ghosalmartin | also hows anbox, was anymore progress made or isnt it just there as a poc | 10:06 |
mal | ghosalmartin: bluebinder works quite ok | 10:38 |
Mister_Magister | mal: so i should update android_system_core in older adaptations? something else? | 11:03 |
Mister_Magister | mal: well android_system_core didn't change since ages | 11:05 |
mal | Mister_Magister: ? | 11:08 |
Mister_Magister | mal: ealier you said something about updating old adaptation (rebuilding dhd) and i'm wondering which repos i should update | 11:13 |
Mister_Magister | nothing changed so no need to rebuild hal | 11:21 |
mal | Mister_Magister: no idea what you are talking about | 11:29 |
Mister_Magister | mal: nevermind then | 11:34 |
Mister_Magister | mal: btw have you seen wlan log? anything caught your eye? | 11:37 |
mal | nothing obvious reason, need to check more some other time | 11:38 |
Mister_Magister | k | 11:43 |
Mister_Magister | mal: latest gstreamer is supposed to fail to build | 11:45 |
Mister_Magister | ? | 11:45 |
mal | Mister_Magister: no, can you give a link | 11:49 |
Mister_Magister | one second | 11:50 |
Mister_Magister | mal: http://paste.opensuse.org/view//4640074 | 11:50 |
mal | maybe reinstall target | 11:52 |
Mister_Magister | i just installed it | 11:52 |
Mister_Magister | it's fresh target | 11:52 |
mal | Mister_Magister: did you also update sdk? | 11:52 |
mal | platform sdk | 11:52 |
Mister_Magister | i thought it's up to date enough | 11:52 |
mal | no, it should be also updated occasionally | 11:53 |
mal | sdk-assistant update or something like that | 11:53 |
Mister_Magister | but it's for updating targets it seems | 11:53 |
mal | other option is to run just sudo zypper ref and sudo zypper dup in platform sdk | 11:55 |
Mister_Magister | my sdk is 3.0.1.11 | 11:55 |
Mister_Magister | mal: ye that's what wiki says | 11:55 |
Mister_Magister | mal: nope updating didn't help | 12:09 |
mal | not sure what is wrong, how did you update your target? manually or sdk-assistant? | 12:20 |
mal | did tooling get updated properly? | 12:20 |
Mister_Magister | i removed tooling and target and reinstalled | 12:24 |
Mister_Magister | just for sake of eliminating update errors | 12:25 |
Mister_Magister | mal: you said i need lineage 15 for roma bt? | 13:53 |
ghosalmartin | Mister_Magister, yeah guessing its to use the bluebinder instead of attempt to init it directly | 13:55 |
Mister_Magister | ghosalmartin: okay, mission: port lineage 15 using lineage14 | 13:55 |
ghosalmartin | Mister_Magister, ah dayumm, what device? | 13:55 |
Mister_Magister | ghosalmartin: moto x force my beloved one | 13:56 |
* Mister_Magister alternative mission: port mainline (doable) | 13:56 | |
ghosalmartin | yeah I need to do bullhead next, thankfully that already has lineageos 15.1 | 13:56 |
mal | Mister_Magister: 15.1 is easier for rome chips, nothing really prevents it from working in older based but requires quite much work | 13:57 |
mal | Mister_Magister: I have bluetooth working in mainline kernel for a qcom device | 13:57 |
mal | :D | 13:57 |
Mister_Magister | ghosalmartin: im kinda fed up with making ports for no people (without reward u loose motivation) but i love my x force | 13:58 |
Mister_Magister | mal: there is mainline for some nokia phone that one guy is porting to oneplus 2 that i could adapt to x force (screen should be working and stuff) | 13:59 |
Mister_Magister | mal: but mainline will come when i buy more x forces. Wanna buy a lot of them and live with them forever | 13:59 |
mal | oneplus one i.e. bacon has quite ok-ish mainline support | 13:59 |
mal | so does nexus 5 | 14:00 |
ghosalmartin | mal: do you have rome chipsets working with mainline? | 14:00 |
mal | no | 14:00 |
mal | but mainline does have the driver for those | 14:00 |
Mister_Magister | mal: my target is to have some os running on mainline on my x force <3 | 14:01 |
mal | the issue is more in bluez than kernel | 14:01 |
mal | Mister_Magister: prepare to spend quite many days or weeks to get it running reasonably | 14:01 |
mal | although now it's easier because there are example for few devices | 14:01 |
mal | Mister_Magister: which platform does that device have? | 14:02 |
mal | like msm8974 or something | 14:02 |
Mister_Magister | mal: im prepared to wait months to get it working | 14:04 |
Mister_Magister | but as i said when i get multiple devices | 14:04 |
Mister_Magister | mal: 8994 | 14:04 |
Mister_Magister | mal: https://github.com/WOA-Project/Lumia950XLPkg | 14:04 |
mal | Mister_Magister: at leats msm8994 has some support in mainline | 14:06 |
Mister_Magister | mal: ye from this project looks like screen works so | 14:07 |
rinigus | kimmoli & mal: I am rebuilding OTA with libhybris .25. If it works, I'll walk along the versions to determine which broke the boot | 15:30 |
T4 | <adampigg> Rinigus,.are _better_ maps available in osm scout server? | 15:35 |
rinigus | adampigg: what in particular better? | 15:35 |
T4 | <adampigg> Rinigus, well, for fell walking/mountain biking, the tiles from opencyclemap are far far better, with height maps and footpaths etc.... | 15:39 |
rinigus | adampigg: while you specify: these maps are combination of several parts: import scripts, styles to show them, and libraries used for showing/searching/routing. while libs for routing and showing are done by others, search, import and styling is done by me. routing needs to be updated, same with mapbox gl - this is planned in short term. import/style - as feedback from users comes, I'll try to adjust. search is | 15:39 |
rinigus | planned to | 15:39 |
T4 | <adampigg> The osm maps are only good for roads | 15:39 |
rinigus | adampigg: opencyclemap is using osm, as far as I know. so, question is then in terms of import and style | 15:40 |
rinigus | adampigg: height map is separate dataset, but can be added | 15:40 |
T4 | <adampigg> Its the detail such as footpaths / bridleways etc in the country id really like, when you are most likely offline too with no signal | 15:41 |
rinigus | adampigg: to proceed with it, let's bring up an issue at osm scout server. its actually there https://github.com/rinigus/osmscout-server/issues/297 | 15:41 |
rinigus | adampigg: so, please provide with some examples. ideally, using openstreetmap.org url, so its easy to examine | 15:42 |
T4 | <adampigg> Rinigus, screenshots of different detail level? | 15:43 |
rinigus | then I can find missing data and target it | 15:43 |
rinigus | adampigg: you could do screenshot, but please also add corresponding location url at osm. this you could get as "share location" in pure maps | 15:44 |
rinigus | adampigg: to avoid confusion, please open new issue at server's project | 15:45 |
T4 | <adampigg> Ok | 15:46 |
rinigus | adampigg: in general, I wanted to improve it, just have too many other aspects to look after | 15:47 |
T4 | <adampigg> Rinigus, as.we all! | 16:32 |
rinigus | kimmoli & mal: plan failed - I cannot boot with .25 either :( . looks similar to .31, except there is no green blinking. couldn't get any connection to it either... | 17:00 |
mal | rinigus: ssh didn't work? | 17:06 |
rinigus | mal: nope - linux didn't managed to make any device with it, as far as I could see. as a result, no net for it. | 17:12 |
rinigus | but never used it like that, restored phone to 3.0.1 and will look inyo how to get ssh into it via usb | 17:13 |
T4 | <adampigg> Mal, what is droid system device? | 17:13 |
mal | @adampigg that is used when packaging system partition in rpm | 17:14 |
rinigus | mal: how I am expected to ssh into device? is there something' that I should do on PC? | 17:14 |
mal | rinigus: so nothing in host dmesg? | 17:15 |
rinigus | ^mal - on linux pc | 17:15 |
mal | rinigus: yes, do you see anything in the dmesg of you computer about usb device | 17:16 |
rinigus | mal: not much good. this is after insertion of 3.0.1 (same for 3.0.2): https://pastebin.com/hAf5UxQM | 17:19 |
mal | odd | 17:23 |
rinigus | mal: that's testing from OBS, if it matters. | 17:25 |
rinigus | mal: also its possible that my linux pc kernel is missing some drivers. its gentoo and kernel options are selected on install | 17:27 |
mal | rinigus: only difference between devel and testing is telnet | 17:27 |
mal | rinigus: could be | 17:27 |
rinigus | mal: let me check with ubuntu vm | 17:28 |
rinigus | mal: gotcha! since I have one of these magnetic charger connectors, I can insert it 2 ways. as expected, I did it wrong. now it detects it as a storage. how do I get it to some net mode? | 17:35 |
T4 | <DSstill01> does 4.4 base work with sailfishos 3.0? | 17:40 |
mal | yes | 17:54 |
mal | although occasionally kernel might need some small patching if it's very old kernel | 17:54 |
mal | which device? | 17:54 |
mal | rinigus: are you sure the device didn't reboot to recovery or something | 17:55 |
T4 | <DSstill01> no, i was joking ahah | 18:00 |
rinigus | mal: here is pc dmesg when I boot onyx - https://pastebin.com/bp3rdHE1 . I can use it as normal on SFOS. on pc, that mer boot device is not seen via lsusb, only google device | 18:00 |
T4 | <DSstill01> i dont have time to port android+sailfishos | 18:00 |
rinigus | mal: so, its not recovery. this is on 3.0.1 | 18:00 |
mal | rinigus: are you sure, the dmesg had a disconnect and then the product name changed | 18:02 |
mal | it might not be recovery but some other mode if the device failed to boot | 18:02 |
rinigus | mal: appart from that disconnect, I don't see any indication that I am in recovery. its "normal" mode where we are on onyx, at least on my device. is there a way I can distinguish? in recovery, I would expect twrp (that I get if I boot into it), not sfos | 18:09 |
T4 | <DSstill01> since all versions of aliendalvik are for 64 bit devices...anyone has a 32bit device with aliendalvik and an android base higher than 6.0 or equal, that can...you know :D | 18:28 |
wdehoog | mal: I updated my libhbris from .25 to .31 and after reboot no UI anymore. see log http://susepaste.org/view/25461665 | 19:10 |
wdehoog | mal: any idea what I can do next to investigate this? | 19:10 |
mal | check also logcat, and is lipstick running? | 19:12 |
wdehoog | at 384 Apr 29 21:02:11 Sailfish lipstick[1758]: [W] unknown:0 - EGLImage allocation error | 19:13 |
mal | ah | 19:13 |
mal | wdehoog: and that is android 5 base (hybris-12.1)? | 19:15 |
wdehoog | mal: yes it is | 19:15 |
T4 | <adampigg> s/ah/fuck i know whats wrong | 19:16 |
mal | @adampigg where? | 19:16 |
T4 | <adampigg> mal: no, it was a joke | 19:16 |
mal | heh | 19:16 |
mal | wdehoog: does test_hwcomposer also fail? | 19:18 |
mal | or minimer? | 19:18 |
wdehoog | mal: lipstick runs, should I kill it before trying test_hwcomposer? | 19:19 |
mal | yes | 19:19 |
mal | systemctl-user stop lipstick | 19:20 |
wdehoog | test_hwcomposer starts and stops. no frightning messages. don't know what to expect | 19:21 |
wdehoog | where can I find minimer? | 19:25 |
rinigus | mal: tested update to 3.0.2 with libhybris .25 again and it worked for some reason. don't think anything was significantly different. I just enabled wifi to be able to login on local net and used shutdown instead of restart after OTA. go figure... | 19:33 |
typeof | Hello everybody, does the old porting way can be used instead of halium? | 19:39 |
mal | wdehoog: did you run test_hwcomposer correctly with EGL_PLATFORM=hwcomposer test_hwcomposer? | 19:42 |
mal | rinigus: worked completely or what? | 19:42 |
mal | typeof: what do you mean? as far as I know nobody has used halium with sailfish | 19:43 |
wdehoog | mal: yes, found minimer, seems to run ok, nothing on display | 19:43 |
rinigus | mal: yes, completely with gui and everything. now I am rebuilding .31 and will update to that. I wonder if I'll see the same lipstic error as wdehoog does. | 19:43 |
rinigus | mal: ... assuming that wifi holds | 19:44 |
mal | wdehoog: anything in log? | 19:44 |
typeof | Ah wrong group LOL sorry | 19:44 |
typeof | I though...nvm. Anyway sailfish is great | 19:44 |
mal | wdehoog: also check logcat after you run that | 19:45 |
wdehoog | rinigus: wifi remains working for me | 19:45 |
wdehoog | mal: no traces of minimer in journal | 19:46 |
wdehoog | mal: logcat is full of those repeating qmi errors: http://susepaste.org/88026980 | 19:48 |
mal | wdehoog: but nothin related to hwcomposer in logcat | 19:48 |
mal | so the issue has to be in lower level in android side | 19:49 |
mal | wdehoog: check also dmesg | 19:53 |
T4 | <elros34> iirc test_hwcomposer worked for only minimer/lipstick fails for libhybris >0.25. | 19:54 |
wdehoog | mal: I think dmesg is full of stuff due to missing sim card: http://susepaste.org/73857252 | 19:55 |
T4 | <elros34> best is to mask user@100000.service otherwise lipstick will try to restart constantly | 19:55 |
mal | wdehoog: missing card doesn't cause those | 19:58 |
mal | wdehoog: that mean modem is restarting all the time because android side in bad state | 19:59 |
mal | @elros34 that sounds odd | 20:00 |
T4 | <elros34> I will try again later to make sure | 20:01 |
mal | @elros34 and none of the versions between .25 and .31 worked? | 20:01 |
T4 | <elros34> I just tried 5 or 6 version between .25 and master and nothing really worked | 20:02 |
mal | ok | 20:03 |
mal | so then it has to be something in .26? | 20:03 |
rinigus | mal: I can reproduce issues with .31. boots without gui / ssh is possible from wifi. from journal - https://pastebin.com/ufcKV9DN | 20:04 |
T4 | <elros34> like I said few days ago, this one cause it https://github.com/mer-hybris/libhybris/commit/28d67998dc47a84a95630401932eea1a8d1b87c0 | 20:04 |
piggz | rinigus: what further detail would be useful for https://github.com/rinigus/osmscout-server/issues/304 ? | 20:05 |
rinigus | mal: logcat with lipstic sig=11: https://pastebin.com/vbfPhBP7 | 20:07 |
mal | @elros34 yes, but have you checked how much changes submodule had in that, not easy to find the cause | 20:07 |
mal | rinigus: run it in gdb if you can | 20:07 |
T4 | <elros34> no, I will try | 20:08 |
mal | @elros34 https://github.com/libhybris/libhybris/compare/07b547e90db625685050bdfd00c92ccafc64aa09...2df7eee85c950a9eda182f46e281c7c872a6143a | 20:09 |
rinigus | mal: how? its complaining 'bout "XDG_RUNTIME_DIR not set in the environment" | 20:11 |
mal | rinigus: run as nemo | 20:11 |
rinigus | mal: as nemo - Failed to create display (Connection refused) | 20:12 |
rinigus | piggz: looks good, will see what can I do | 20:12 |
mal | show the whole command you use | 20:12 |
rinigus | mal: /usr/bin/lipstick | 20:13 |
rinigus | (same with 'gdb /usr/bin/lipstick') as nemo | 20:13 |
mal | copy the whole command from service file | 20:15 |
mal | and the env vars etc | 20:16 |
wdehoog | mal: if I do that strace gives: connect(3, {sa_family=AF_UNIX, sun_path="/run/user/100000/../../display/wayland-0"}, 43) = -1 ENOENT (No such file or directory) | 20:20 |
mal | wdehoog: how did you run it? | 20:20 |
wdehoog | strace -f /usr/bin/lipstick -plugin evdevtouch:/dev/input/event0 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap --systemd > ls.log 2>&1 | 20:21 |
wdehoog | mal: but it exits immediately while when starting as the service it kept running | 20:21 |
rinigus | mal: backtrace at https://pastebin.com/dewWzhN3 | 20:22 |
rinigus | I have to go now, sorry. will be able to continue tomorrow night | 20:22 |
rinigus | mal: thank you for the help! | 20:23 |
osum4est_ | mal, thanks! that worked, the servicemanagers are no longer crashing. there are a few more processes getting killed, but much, much less than before. still no ui, though. here's the new log: https://pastebin.com/8iastNGr | 20:27 |
mal | osum4est_: show output of "mount" on the device, also output of "systemctl" | 20:37 |
mal | osum4est_: the log looks like it doesn't find some firmware files | 20:38 |
osum4est_ | mount: https://pastebin.com/fr7zJnjn systemctl: https://pastebin.com/ULnCJKAt | 20:39 |
mal | osum4est_: do you have a folder /vendor/firmware | 20:40 |
osum4est_ | mal, yes, and it has a bunch of stuff in it | 20:41 |
mal | try running "ln -s /vendor/firmware /lib/firmware" and then reboot | 20:41 |
osum4est_ | mal, didn't seem to help. new log: https://pastebin.com/q7XZ7mt6 | 20:46 |
mal | osum4est_: well you can see that the firmware loading errors are gone | 20:47 |
mal | open you droid-hal devel rpm in droid-local-repo and check the android-config.h file in there | 20:48 |
osum4est_ | mal, how do i do that? i tried tar xvf ~/hadk/droid-local-repo/marlin/droid-hal-marlin/droid-hal-marlin-devel-0.0.6-201904292005.armv7hl.rpm but i get "This does not look like a tar archive" | 20:57 |
mal | if you don't want to a normal gui way for uncompressing that (in ubuntu it's simple) then you can use rpm2cpio some.rpm | cpio -idmv | 20:59 |
osum4est_ | mal, thanks. there's not much in the file. just some comments and an include https://pastebin.com/wCgGp87p | 21:06 |
*** pketo_ is now known as pketo | 21:11 | |
mal | osum4est_: that is the problem, assuming your device is qualcomm, check faq lines 886-893 (linked in topic) | 21:12 |
mal | osum4est_: before running build_packages.sh I suggest you add the symlink I mentioned earlier to your config repo | 21:16 |
osum4est_ | mal, how do i add it to my config repo? just add it directly to rpm/droid-hal-marlin.spec or somewhere else? | 21:23 |
wdehoog | mal: just tried .26 this one also does not work for me, also with EGLImage allocation error | 21:26 |
mal | osum4est_: go to hybris/droid-configs folder and mkdir -p sparse/lib and then cd sparse/lib/ and then ln -s /vendor/firmware firmware | 21:33 |
mal | osum4est_: never confuse droid-hal and droid-config repos | 21:34 |
mal | osum4est_: so basically in config repo anything you add to sparse folder will end up on device | 21:34 |
osum4est_ | got it. that makes sense, thanks! | 21:35 |
mal | did you understand the other thing you need to do based on faq? | 21:35 |
osum4est_ | yep i added the android_config line to my .spec file in the rpm folder | 21:36 |
mal | osum4est_: hopefully it knows to rebuild enough after adding that define | 21:43 |
osum4est_ | male, can i just delete the droid-local-repo and rebuild the packages to make sure? | 21:44 |
mal | osum4est_: no, deleting that won't help, if you want to be sure, remove folders libhybris and qt5-qpa-hwcomposer-plugin from hybris/mw/ | 21:45 |
mal | after that run build_packages.sh | 21:45 |
T4 | <elros34> sorry I was wrong test_hwcomposer with master libhybris also cause device reboot, continue testing | 21:49 |
osum4est_ | mal, i don't have a libhybris folder in hybris/mw. i do have the qt5 one and a bunch of others though. is this a part of the problem? | 22:01 |
mal | osum4est_: ah, then it's in external/ | 22:15 |
mal | osum4est_: so remove external/libhybris and then run build_packages.sh | 22:16 |
osum4est_ | mal, sorry, took awhile to rebuild and flash and everything. here's the new log after adding those lines to my spec file: https://pastebin.com/74TCLwtt | 22:51 |
mal | ok, needs some more debugging but it's quite late here so some other time | 22:57 |
osum4est_ | alright, thanks for all your help. is it going to do with libminisf.so not being found or am i not to that stage yet | 22:58 |
osum4est_ | also btw checked the rpm and yes those two defines got added | 22:58 |
T4 | <elros34> mal: this commit: https://github.com/libhybris/libhybris/commit/35976c201741cfc21c114615b8524db5367e034a cause kmap2qmap in sdk segfault and test_hwcomposer segfault in device (upstream cause device reboot) | 23:00 |
T4 | <elros34> osum4est: you could at least try test_hwcomposer (faq). I don't think libminisf.so is so important | 23:01 |
osum4est_ | elros34, segfaults, and says that libraries libsdmextension.so, libsdm-color.so, and libsdm-diag.so are not found | 23:02 |
r0kk3rz | services look happier now, i see progress | 23:03 |
T4 | <elros34> mask user@100000.service so it will lipstick will not restart and you can strace/gdb test_hwcomposer and so on | 23:04 |
r0kk3rz | does it use hwc2? | 23:05 |
T4 | <elros34> krnlyng: upstream libhybris cause lipstick fail and device reboots for cm11 base, http://www.merproject.org/logs/%23sailfishos-porters/latest.log.html#t2019-04-29T23:00:04 | 23:07 |
T4 | <elros34> do you have any ideas? | 23:07 |
osum4est_ | r0kk3rz, not sure how to tell | 23:08 |
T4 | <elros34> mal, krnlyng: HYBRIS_LINKER_DEBUG test_hwcomposer https://gist.githubusercontent.com/elros34/a00fb33ade04077cb46d074481e9aa8b/raw/fd27dae6b361855a572c027192b5ae3ec0625019/test_hwcomposer | 23:12 |
mal | osum4est_: libminisf.so probably has nothing to do with your issue | 23:17 |
osum4est_ | here's the hwcomposer strace https://pastebin.com/sV6fYi15 doesn't seem to get the trace_marker thing | 23:32 |
T4 | <elros34> even getprop segfault. Anyway here are the HYBRIS_TRACE and HYBRIS_LINKER_DEBUG: https://gist.github.com/elros34/a00fb33ade04077cb46d074481e9aa8b | 23:42 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!