T42_ | <b100dian> mal: hadk-faq perf :) section should still work? I get Failed build dependencies: binutils-devel bison elfutils-devel flex python-devel | 00:05 |
---|---|---|
T42_ | <b100dian> and `sdk-assistant target maintain asus-sake-aarch64` while trying to zypper in those: `downgrade of elfutils-libs-0.177+git2-1.7.2.jolla.aarch64 to elfutils-libs-0.177+git2-1.6.5.jolla.aarch64` | 00:06 |
T42_ | <b100dian> and mostly the same for the others | 00:06 |
mal | not sure, need to test | 01:18 |
T42_ | <Endrju176> has nobody ported anything for samsung note 10+? | 02:46 |
*** Danct12 is now known as brrrrrrrrrrrrrrrrrrrrrrrrrrrrr | 03:38 | |
genericv3 | @b100dian i'll check. didin't checked it yesterday. Maybe i can today. | 05:07 |
*** rainemak__ is now known as rainemak | 11:50 | |
genericv2 | mal: I BOOTED TO GUI | 15:42 |
genericv2 | AAAA | 15:42 |
genericv2 | oneshot-root.service this dude was blocking the boot, stopping it immediiatly booted to gui | 15:43 |
genericv2 | I AM SO HAPPY | 15:43 |
genericv2 | i can't believe it just booted. | 15:47 |
genericv2 | i wasn't expecting it too boot while trying these, i just got shocked | 15:47 |
Mister_Magister | now that is correct response | 15:47 |
Mister_Magister | nowadays people be getting ui easily and be like "meh no wifi wtf is this garbage", back in my day it took me half a year to get ui and i was happy with it | 15:48 |
mal | genericv2: didn't I say about that in the past, the gmp-droid issue | 15:48 |
genericv2 | Mister_Magister: i have no wifi right now too, but debugging is a thing people can't understand. | 15:48 |
Mister_Magister | im just saying people should be happy with what they have | 15:49 |
mal | Mister_Magister: yeah, we don't even need to patch hwcomposer anymore :D | 15:49 |
genericv2 | i was a fan of sfos for years, and i'll make this thing usable on my phone (maybe it is, still on setup) | 15:49 |
Mister_Magister | mal: :P | 15:49 |
Mister_Magister | mal: i still have your hack for my ui and nobody fixed it past 6 years, just improved. | 15:49 |
mal | hehe | 15:50 |
mal | which hack was that again? | 15:50 |
Mister_Magister | for some reason you need to launch surfaceflinger before hwc and nobody bothered to fix that | 15:50 |
mal | ok | 15:50 |
Mister_Magister | surfaceflinger just has to init the screen | 15:50 |
genericv2 | mal: thank you very much, i can't thanks enough to you, also @elros34 | 15:50 |
Mister_Magister | sometimes it simply just doesn't boot to ui but other than that its perfect | 15:50 |
genericv2 | gui is a bit small too, hehe. but i know how to fix this | 15:51 |
mal | genericv2: afaik fixing minimediaservice (and minisfservice if needed) might help with oneshot-root, if it is because of gmp-droid | 15:51 |
mal | usually minimediaservice might need couple of symlinks in /odm | 15:52 |
mal | you'll see the libs it can't find if you try to start the process manually | 15:52 |
genericv2 | Okaay, i'll try to fix it by myself first | 15:53 |
mal | https://github.com/mlehtima/droid-config-fp3/tree/master/sparse/odm you can see some example here, might depend on the device if those need to be in lib64 or lib, you'll see when testing | 15:56 |
genericv2 | unrelated to these i have a question. You know my power button is broken, can i wake up the device with dt2w or volume buttons? | 16:16 |
genericv2 | wifi magically fixed itself, and it's working now | 16:21 |
genericv2 | bt is still dead, i'll work on that | 16:23 |
mal | do you see bluetooth related things in binder-list? | 16:26 |
genericv2 | yup, i see 2 of them | 16:26 |
mal | which ones? | 16:27 |
genericv2 | android.hardware.bluetooth@1.0::IBluetoothHci/default | 16:27 |
genericv2 | vendor.qti.hardware.bluetooth_sar@1.0::IBluetoothSar/default | 16:27 |
mal | do you have bluebinder installed? | 16:28 |
genericv2 | oh no | 16:28 |
genericv2 | probably no | 16:28 |
genericv2 | let me check | 16:28 |
genericv2 | nope | 16:28 |
mal | also check if you have the needed defconfig options https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.9.12.r1/arch/arm64/configs/aosp_lena_pdx213_defconfig#L921 | 16:29 |
genericv2 | oh these are missing, rebuilding kernel now | 16:32 |
genericv2 | I'll also create a proper /odm | 16:33 |
genericv2 | Also corrected pixel_ratio, included bluebinder etc. | 16:40 |
T42_ | <elros34> if you are going to build new image then build for latest sailfish release to avoid any gst-droid/droidmedia-devel mismatch | 16:49 |
genericv2 | v4.5.0.24 right? | 16:50 |
T42_ | <elros34> yes | 16:51 |
genericv2 | Booted, gui is way better now. Gotta check other things | 17:18 |
genericv2 | tried encryption but "Could not encrypt userdata :fire:" | 17:19 |
genericv2 | oh it's because of usb-moded okay | 17:21 |
genericv2 | time to risk | 17:22 |
genericv2 | spoiler: it died | 17:24 |
genericv2 | luckily it's on low battery | 17:28 |
akatsuki | Hello. I trying to port SailfishOS 4.5.0.18 using HADK. How to solve problem while adding tooling for target (samsung-klte): https://bsd.ac/ms2gfvy ? SDK and tooling version matches. Thanks for advance. | 18:49 |
mal | which tooling did you install? | 18:51 |
mal | the instructions mention setting up tooling before setting up target | 18:51 |
T42_ | <elros34> you can also use this command instead: https://sailfishos.wiki/link/20#bkmrk-%C2%A0%C2%A0%C2%A0-sdk-manage-targe | 18:51 |
genericv2 | dt2w is not working in system, not a big deal for now | 18:57 |
genericv2 | About bluetooth: bluebinder is failing to start | 18:57 |
genericv2 | Status: "Exiting." | 18:57 |
genericv2 | Error: 19 (No such device) | 18:57 |
akatsuki | Thanks, installed tooling and target. | 18:58 |
genericv2 | mal: do i need to specify a bt adapter from somewhere? | 19:02 |
genericv2 | huh, executing bluebinder manually fixed it. I'll fix service file then | 19:02 |
mal | genericv2: probably the bt address script is failing | 19:03 |
mal | no need to do anything to spec file just fix the script | 19:03 |
genericv2 | yeah probably, i'll try | 19:04 |
genericv2 | niceee. "Failed to get bluetooth address!" | 19:04 |
genericv2 | shell script debugging time | 19:04 |
mal | here is one example of such custom script https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/usr/bin/droid/droid-get-bt-address.sh | 19:04 |
mal | you need to find which getprop command gives correct address | 19:05 |
genericv2 | ro.bt.bdaddr_path dont exist, it's trying to pull it | 19:05 |
genericv2 | ah yeah i figured it out, i'll find the right one | 19:05 |
mal | grep getprop output for bt or addr or something | 19:05 |
genericv2 | I am searching for a path, nothing related to bluetooth here (/usr/bin/getprop | grep /) | 19:07 |
genericv2 | maybe a missing defconfig flag? I added those in that commit | 19:13 |
genericv2 | (kernel config, not script) | 19:14 |
genericv2 | also droid-bootctl is failing because of a library file. Must i link that lib to odm or is it okay? | 19:23 |
attah | So... i found that this is getting quite old: https://github.com/sailfishos/android-tools-hadk | 19:40 |
mal | genericv2: since your device is older? maybe bootctl is not even supported | 19:41 |
attah | I just happen to have a "liberated" fastboot... and mkbootimg seems to be a python script nowadays | 19:41 |
genericv2 | mal: maybe, so it's okay to mask it i guess | 19:41 |
mal | could be | 19:41 |
genericv2 | Also, /vendor/bin/hw/rild seems fine but rc file from vendor is not getting executed | 19:41 |
mal | if you don't have issues that every 6th boot you need to reflash kernel then you can mask it | 19:41 |
mal | genericv2: maybe show the output of getprop? | 19:42 |
genericv2 | https://paste.opensuse.org/pastes/0101184880e7 | 19:43 |
mal | does your device have /persist partition? | 19:47 |
genericv2 | yup, it has | 19:47 |
mal | anything bt or bluetooth or mac related in there? | 19:47 |
genericv2 | cool things: https://paste.opensuse.org/pastes/65b8d87ca994 | 19:48 |
genericv2 | we got bt.mac | 19:48 |
mal | so make a script like the one linked above but instead make it read that file and store it to proper place, should not be too difficult | 19:51 |
mal | make sure the order the parts in mac address are correct | 19:51 |
mal | usually wlan and bt mac look quite similar and only different in last numbers (not sure if always the case) | 19:52 |
mal | so check what settings app shows for wlan mac now (since you said wlan works then mac is probably ok, compare to the wlan mac file in that path) | 19:52 |
genericv2 | wlan mac is there. | 19:53 |
genericv2 | bt.mac file has some strance characters | 19:53 |
mal | ? | 19:53 |
genericv2 | oh okay nevermind | 19:54 |
genericv2 | it seems okay | 19:54 |
genericv2 | wlan mac file is the exact same one with the settings app | 19:58 |
mal | ok, so then it should be easy to make script to provide the bt mac to correct place | 19:58 |
mal | just copy the script above and edit the part in the "if" https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/usr/bin/droid/droid-get-bt-address.sh#L11 | 19:59 |
genericv2 | yeah bt mac file is okay too. I can get my bt mac with checking wlan_bt/bt.mac with a hex editor | 20:00 |
genericv2 | mal: yeah yeah i know. | 20:00 |
mal | is bt mac file some binary file? | 20:02 |
genericv2 | yeah it is | 20:02 |
genericv2 | xxd -p wlan_bt/bt.mac gives the mac address | 20:02 |
genericv2 | but no seperators (:) | 20:02 |
mal | ok, hopefully ou can read it somehow in the script as string | 20:02 |
genericv2 | okaay, did it. | 20:05 |
genericv2 | adapted it to the shell file, it's working perfectly | 20:10 |
genericv2 | lets reboot | 20:10 |
genericv2 | YAY. bluebinder didin't fail this time. and it's working. we fixed bluetooth | 20:11 |
genericv2 | now, we gotta fix radio | 20:13 |
mal | remember to add to config repo | 20:13 |
genericv2 | added now | 20:15 |
genericv2 | next issue is radio. ofono is starting without problems but /vendor/bin/hw/rild is not starting on boot, so ofono basically does nothing. | 20:17 |
genericv2 | system parses the rild.rc file tho, i'll check that | 20:18 |
genericv2 | mal: https://paste.opensuse.org/pastes/ba0c81deb4e8 nothing looks wrong to | 20:21 |
genericv2 | nothing related to radio in logcat | 20:21 |
genericv2 | tried a fix, lets see | 20:23 |
genericv2 | nope, will continue tomorrow. no time now | 20:29 |
genericv2 | thank you very much mal, bye | 20:29 |
T42_ | <b100dian> genericv2: since you're using a xiaomi device you might want to try this d2tw commit, maybe you have the same fts_521 driver? https://github.com/sailfishos-on-tucana/droid-config-tucana/commit/1bca470ee34c520a5f97e2500bba7aaefed77f92 | 21:19 |
T42_ | <b100dian> attah: what are you using android-tools-hadk, first time I hear about that repo | 21:21 |
T42_ | <b100dian> genericv2: also: time to make you repos public, I don't know what your kernel is like :) | 21:22 |
attah | b100dian: no, i'm not... but apparently people are | 21:22 |
T42_ | <b100dian> I see, so sfos people would use that and nowadays might fail | 21:23 |
attah | It seems to be part of some hadk chroot environment | 21:24 |
attah | Thaodan is poking at the repo as we speak | 21:25 |
T42_ | <b100dian> oh, so people who build under ubu-chroot would use that to flash.. again, first time I hear this :D | 21:26 |
attah | Well... i am just guessing that it has some use since it is kept around | 21:26 |
attah | I once built half an image of some officially supported device - that's all the hadk-ing i have ever done | 21:27 |
T42_ | <b100dian> But I guess I am just ingorant, better to have Thaodan take care of it, he surely knows better | 21:27 |
attah | For completeness/easy access: https://github.com/attah/my_fastboot | 21:28 |
akatsuki | Hm, when I trying to build droid-hal-version-klte.spec I have package conflicts, but how I can solve them or make "force" package install? Logs: https://bsd.ac/lgp943j . Thanks for advance. | 23:22 |
T42_ | <elros34> check hadk-hot, it should have some tips for both binder and bluez configs | 23:28 |
akatsuki | Thanks! | 23:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!