MeowDudeCB | mal: https://pastebin.com/6grwSKQC dmesg | https://pastebin.com/7xTR4AGZ logcat -b | https://pastebin.com/c8hcRLdv journalctl | systemctl --no-pager https://pastebin.com/XQFYZYZA | various status https://pastebin.com/WyMLKXg0 | 00:03 |
---|---|---|
MeowDudeCB | those logs are for everyone to see as well | 00:06 |
MeowDudeCB | Unable to hop onto D-Bus: Name already in use | 00:26 |
MeowDudeCB | aaaaaa | 00:26 |
MeowDudeCB | ofono hack is using dbus so now ofono is being a jerk | 00:26 |
*** ubuntu is now known as Guest42496 | 01:59 | |
*** Guest42496 is now known as zhxt | 02:05 | |
lazyguymc | yay finally set up kubuntu | 02:07 |
lazyguymc | https://pastebin.com/4bfSmCRQ Does everything look good so dar? | 02:28 |
*** Nokius_ is now known as Nokius | 03:28 | |
namka | http://releases.merproject.org - error 503. | 07:52 |
T4 | <adampigg> something is wrong with zypper/ssu/ssl on my jtab. i get ssl handshake failed for all repos. any idea what has gone wrong? | 08:05 |
r0kk3rz | ref? | 08:13 |
T4 | <adampigg> ref fails/ for all | 08:14 |
r0kk3rz | nasty | 08:14 |
T4 | <adampigg> ssl handshake failed | 08:15 |
mal | namka: is there even supposed to be anything in that page? | 08:16 |
T4 | <adampigg> gonna have to try openssl debugging | 08:16 |
T4 | <adampigg> apart from openssl isnt installed | 08:16 |
MeowDude | lol funny because you can't install openssl because ssl is broken | 08:31 |
T4 | <adampigg> or not funny.....this seems bad .... any way to pass options to curl to ignore ssl errors? | 08:32 |
MeowDude | manually move the package to your device and use pkcon install-local | 08:34 |
MeowDude | if you can find an openssl package from another device | 08:34 |
MeowDude | or manually build it in your env | 08:35 |
T4 | <adampigg> weird how curl works with the repo path with no /errors | 08:36 |
demonaxsh | Hello! | 09:08 |
demonaxsh | I have a problem. droid-init-hal starts but then crashes with this log (https://pastebin.com/4xmxRTRQ). Apparently the problem is in healted, he dies with the code SIGABRT. But I can not find its dump in any way, in /etc/security/limits.conf I made the necessary changes. And is there an open source source for droid-hal-init? | 09:08 |
r0kk3rz | i dont think healthd is useful to us so you can just stop it | 09:11 |
demonaxsh | Ok, but I also saw that zygote was trying to start, can it disable, too? | 09:17 |
mal | demonaxsh: what device and android base? | 09:22 |
demonaxsh | This is a little-known chinese device, with bar code scanners. Powered by mt6735, aosp android 6.0 | 09:23 |
MeowDude | demonaxsh, what base are you on? | 09:29 |
MeowDude | also beidl: hit me up bruv, I fixed Dbus errors by defining export DBUS_SYSTEM_BUS_ADDRESS=/run/dbus in init.tuna.rc, but now I am getting RILD: connection refused errors in ofono | 09:30 |
demonaxsh | hybris-13.0 for bionics and hybris-sony-aosp-6.0 for everything else | 09:31 |
NotKit | demonaxsh, maybe you can try to disable droid-hal-init and start init manually with gdb | 09:31 |
NotKit | demonaxsh, did you port patches on top of MediaTek aosp tree? | 09:31 |
NotKit | using hybris-sony-aosp-6.0 verbatim is probably not very nice icea | 09:32 |
NotKit | *ide | 09:32 |
demonaxsh | I have an aops tree from the creator of this device | 09:32 |
MeowDude | demnaxsh: pastebin the entire output of "cat /init.project.rc" and "cat /init.mt6735.rc" | 09:33 |
demonaxsh | yes bad, I understand, but I have aosp, not cm | 09:33 |
MeowDude | also link em to your entire local manifest | 09:33 |
MeowDude | aosp? | 09:33 |
MeowDude | wait what? | 09:33 |
MeowDude | no hybris 13 requires cm13 or los13 | 09:33 |
MeowDude | does it hav AOSP 5.0.1? | 09:33 |
NotKit | demonaxsh, I mean, your best bet is to cherry-pick Sailfish changes from hybris and apply them on your tree | 09:33 |
NotKit | that's how I did for Gemini | 09:33 |
MeowDude | dude just make Cyanogenmod 13 for it | 09:34 |
MeowDude | it'll take like a day tops | 09:34 |
NotKit | MeowDude, you have no idea what are you talking about with MediaTek :) | 09:34 |
NotKit | the most important ones are bionic, frameworks_native, frameworks_base and system_core | 09:34 |
MeowDude | he is trying to use an AOSP base with hybris 13 | 09:34 |
MeowDude | that is what I have grasped, and his init files are using commands that the system doesn't know what to do with | 09:35 |
NotKit | I know, but it's possible to cherry-pick hybris 13 changes and port them onto his AOSP tree from device creator | 09:35 |
MeowDude | but doesn't it still rely on the cm specific HAL drivers? | 09:36 |
MeowDude | hybris 13 was made for cm13... | 09:36 |
T4 | <adampigg> mal, one of my users updated from common: anf got a new sensorfw package, which broke all sensors | 09:36 |
MeowDude | it just seems like it'd be easier to make a cm13 image and just start fresh in charted waters | 09:36 |
T4 | <adampigg> i havnt tried yet | 09:36 |
demonaxsh | I used hybris-13 only for bionics, because on other branches there was a build problem. | 09:37 |
NotKit | demonaxsh, did you use repo verbatim or merged with bionic from your AOSP tree? | 09:37 |
NotKit | I would suggest the latter, as in https://github.com/NotKit/android_bionic/commits/hybris-alps-aosp-7.1.1 | 09:38 |
MeowDude | wait you can make sailfish OS off of a 4.4.2 AOSP image??? | 09:39 |
mal | @adampigg you need to update the hybris sensor package in your adaptation repo | 09:40 |
T4 | <adampigg> k | 09:40 |
NotKit | MeowDude, if you have buildable AOSP sources for device and know what are you doing, in theory yes | 09:42 |
mal | @adampigg that will also fix compass, assuming your device has one | 09:42 |
MeowDude | hmm neat. | 09:43 |
demonaxsh | I did not merge my native bionic with the hibris, I realize that this can cause problems, maybe this is exactly what. I did not know that there are changes in bionics for mediatek. | 09:44 |
NotKit | lots of misc changes, which may or may not cause your binaries to be incompatible: https://github.com/NotKit/android_bionic/commit/a62f3d0b2a493a396ea3127b6a65368f8945fbf9 | 09:45 |
mal | demonaxsh: better just cherry pick the hybris changes, there are only few patches | 09:45 |
NotKit | yes, what mal suggested. To make it easier, I first cloned the repo of corresponding AOSP tag, imported MediaTek changes from exiting tree, then git am *.patches, so git could do 3-way merge when possible | 09:46 |
demonaxsh | That is, they are required as usual patches for: /system/core, /frameworks/native, /frameworks/av, /bionic ? | 09:51 |
mal | yes | 09:53 |
mal | and build has some patch also | 09:53 |
demonaxsh | Of course, I would like to simply connect to gdb, but I have problems with telnet so that only logs remain that are not always informative. | 09:57 |
NotKit | is the kernel arm32 or aarch64? | 09:58 |
demonaxsh | aarch64 | 09:58 |
demonaxsh | armv8-neon | 09:59 |
NotKit | I guess getting telnet or ssh is pretty important then for debugging, since you likely won't boot to UI easily on this SoC | 09:59 |
demonaxsh | Yes, but I hope to get at least to wifi. + echo '########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'. It seems to be all right, but it does not come out yet. True, I do not currently have a pure Linux host, only a virtual machine and mac. | 10:04 |
NotKit | is USB network adapter detected on host at all? | 10:07 |
demonaxsh | The driver is installed, but mac does not see even the recovery pure sailfish device)) With Windows opposite everything is fine, but it does not see Mer (192.168.2.15 - not resolved). Need pure linux host, i think. | 10:12 |
MeowDudeCB | lockscreen is back despite modem being broken | 10:31 |
MeowDudeCB | interesting | 10:31 |
r0kk3rz | you really dont understand that link do you :P | 10:32 |
MeowDudeCB | what link, mine? | 10:32 |
MeowDudeCB | ph wait no modem isn't broken | 10:32 |
MeowDudeCB | ofono is | 10:32 |
MeowDudeCB | also r0kk3rz: that /sys/bus/devices/usb1/power/control file is always on auto, and attempts at manually writing the value do nothing. I used beidl's ofono hack to force modem online and the ofono-hack.service is running after I fixed dbus in init. | 10:37 |
MeowDudeCB | I am getting grilio: RILD connection refused errors | 10:37 |
MeowDudeCB | but it's listening in on the right socket, and the socket is being spawned | 10:37 |
MeowDudeCB | I am going to run chown 777 /dev/socket/rild in init and see what happens | 10:39 |
r0kk3rz | one of these days, you might actually know what you're talking about | 10:40 |
MeowDudeCB | eh | 10:42 |
MeowDudeCB | r0kk3rz: [grilio] ERROR! Can't connect to RILD: Connection refused -- wut do? | 10:43 |
r0kk3rz | this was the problem that monich was trying to explain to you :P | 10:45 |
mal | MeowDudeCB: for future reference use /usr/libexec/droid-hybris/system/bin/logcat, not /system/bin/logcat | 10:47 |
MeowDudeCB | wait that was what you guys meant with the logcat? | 10:47 |
MeowDudeCB | well fug | 10:47 |
mal | it does the same thing but you don't need to some hack you did if you use the correct logcat | 10:48 |
mal | *the | 10:48 |
mal | MeowDudeCB: it's normal that there can be one RILD: Connection refused before rild is ready, in your log you see after that ofonod[512]: RIL version 6 which means it was connected | 10:50 |
MeowDudeCB | here is the new logcat: https://pastebin.com/mUL93vfL | 10:51 |
MeowDudeCB | mal: so what do I do from here? I don't know what is broken, ofono,or rild, or the modem, or what. | 10:51 |
MeowDudeCB | loadOpnameFile: Can't open the Opname file: reason No such file or directory. | 10:53 |
MeowDudeCB | could this be it? | 10:53 |
MeowDudeCB | what is the Opname file? why can't it just tell me "attempted to access "$path_to_OpName_file", no such file or directory, why does it hae to be so darned cryptic? | 10:54 |
mal | MeowDudeCB: have you tried any of the options in ril_subscription.conf | 10:55 |
MeowDudeCB | I read through it and they all seem really kosher | 10:56 |
MeowDudeCB | soket is correct, i figured that's all that mattered | 10:56 |
MeowDudeCB | it doesn't seem to be connected to the socket anyway : ( | 10:56 |
mal | I mean there are some options that could be attempted, workarounds for some issues | 10:56 |
MeowDudeCB | like what OwO | 10:57 |
mal | MeowDudeCB: read what I said "ofonod[512]: RIL version 6" means it was connected at some point | 10:57 |
MeowDudeCB | hmm | 10:57 |
MeowDudeCB | thats always the last line of each ofono log | 10:57 |
mal | sub, emptyPinQuery or legacyImeiQuery for example | 11:01 |
MeowDudeCB | mal: SET_UICC_SUBSCRIPTION | 11:02 |
MeowDudeCB | what is that? also what values can I set for those? just false and true I assume? | 11:02 |
MeowDudeCB | defintaley gonna do "legacy" everything | 11:02 |
mal | don't just add all at once, try one at the time and see if there are any changes in logcat | 11:05 |
monich | MeowDudeCB: emptyPinQuery is qualcomm specific, legacyImeiQuery I would turn that on for old ril | 11:05 |
MeowDudeCB | I set emptyPinQuery to false and legacyImeiQuery to true | 11:07 |
MeowDudeCB | system/csc/sales_code.dat is missing | 11:12 |
MeowDudeCB | also logcat -b radio is unchanged | 11:12 |
MeowDudeCB | https://pastebin.com/eEnFbGey - journalctl -u ofono | 11:14 |
MeowDudeCB | I don't get it, rild is healthy as far as I know, but I compare this to the journalctl -u ofono from my Nexus 5 and it just.. stops | 11:15 |
MeowDudeCB | ofono stops at RIL1 Version 6 and doesn't move on I don't get it | 11:15 |
mal | did you try only adding those config options one at a time | 11:16 |
MeowDudeCB | I did, and they made no change | 11:16 |
MeowDudeCB | what about sub? what does that do? | 11:17 |
mal | read the description | 11:17 |
MeowDudeCB | okay basically old rild's say "hey send me some data before I talk to you", but even with sub2 it won't... talk to me | 11:20 |
T4 | <abhishek_0> sledges was last seen a week ago .. | 11:23 |
MeowDudeCB | still nothing | 11:26 |
MeowDudeCB | this is no longer fun but I really want to run Sailfish OS on my galaxy nexus so i guess I have to do this. | 11:27 |
NotKit | Galaxy Nexus? | 11:27 |
MeowDudeCB | yes | 11:27 |
MeowDudeCB | hey wait | 11:28 |
MeowDudeCB | doesn't droid 4 have the same processor? | 11:28 |
MeowDudeCB | OMAP 4460? | 11:28 |
NotKit | I did a build for @Sam once based on same hacks as for Droid 4, but RIL didn't work as well | 11:28 |
MeowDudeCB | tell me these hacks | 11:28 |
NotKit | what works for you now? | 11:28 |
MeowDudeCB | nothing | 11:28 |
MeowDudeCB | well that isn't true | 11:28 |
MeowDudeCB | I honestly don't know what's broken | 11:28 |
NotKit | well, you have graphics? | 11:29 |
MeowDudeCB | ofono is running but just stops at RIL1 Version 6 | 11:29 |
MeowDudeCB | oh yeah wifi, audio, UI, it's basically an iPod | 11:29 |
MeowDudeCB | just no radio | 11:29 |
MeowDudeCB | I've fixed WiFi and audio and I'm working on bluetooth here and there | 11:29 |
NotKit | feels like it was same then | 11:29 |
MeowDudeCB | I just REALLY need that modem/ofono working... you know, since it's a phone. I loev my Nexus 5 and all but I miss my galaxy nexus. so what hacks have you got??? | 11:30 |
NotKit | I mean I didn't get ofono working either, but didn't look much into it since I don't have the device | 11:30 |
MeowDudeCB | what did you do to get the droid 4 up and running ril/ofono wise? | 11:31 |
MeowDudeCB | we are using the same base too | 11:31 |
mal | MeowDudeCB: did you ever have working ril on that? | 11:31 |
MeowDudeCB | galaxy nexus? | 11:32 |
MeowDudeCB | droid 4 and Gnexus have same GPU as well... | 11:32 |
mal | what ever device you use | 11:32 |
NotKit | kernel and RIL implementations are different, on Droid 4 ofono didn't need any quirks except increasing start timeout | 11:32 |
MeowDudeCB | yeah ril is up and working thanks to those udev fixes you and krnlyng gave me. | 11:32 |
MeowDudeCB | >increasing start time out -- should I try this | 11:33 |
MeowDudeCB | nah that did nothing | 11:39 |
MeowDudeCB | *sigh* I'll rebuild an image with my latest changes and release it tommorow night. I am getting burnt out on this, i don't even know what is wrong or how to go about it anymore. I need a break badly. | 11:40 |
MeowDudeCB | [mce] ERROR! Failed to attach to system bus: Exhausted all available authentication mechanisms (tri...ONYMOUS) | 11:46 |
MeowDudeCB | I manually defined it in inti using every variable it tried. this might just work | 11:49 |
MeowDudeCB | see this is what bugs me | 11:53 |
MeowDudeCB | when I run journalctl -u ofono on my Nexus 5, it goes from stating the RIL version to "SIM OKAY", but on Galaxy Nexus, it just sits at the RIL version. it connects... then does nothing. | 11:53 |
MeowDudeCB | monich: any idea what other logs I could get to figure this out? | 12:21 |
MeowDudeCB | I'm telling you guys, this is THE error; E/use-Rlog/RLOG-RIL(s)( 546): /data/misc/radio/kmem fopen error. No such file or directory. | 12:25 |
MeowDudeCB | its so odd, rild is running but it just, stops. like it won't go on I don't get it! | 12:28 |
MeowDudeCB | monich: https://pastebin.com/EuNAHAMz does this look right? it just stops here and won't move on at all | 12:42 |
MeowDudeCB | is there any deeper debug level? | 12:42 |
mal | MeowDudeCB: yesterday you gave me just the cyanogenmod kernel config, not the ones you use | 12:47 |
MeowDude | mal: yeah, I haven't changed them -- oh you mean the defconfig, yeah I can grab you that gimme a sec, I dumped them all on beidl the other day | 12:49 |
MeowDude | mal: here are ALL my changes in one list: https://pastebin.com/tUWe3Bxz | 12:51 |
MeowDude | (hybris changes at the bottom | 12:52 |
MeowDude | _sven how experienced are you at rild and modem debugging my friend? | 12:58 |
T4 | <abhishek_0> MeowDude porting sailfish for galaxy nexus ? | 13:15 |
MeowDude | yup | 13:15 |
MeowDude | it seems that rild is just being... difficult | 13:15 |
T4 | <abhishek_0> which version ? | 13:16 |
MeowDude | Sailfish OS 2.2.0.29, CM11 base | 13:16 |
MeowDude | GUI, Wifi, fully working audio, just want modems working | 13:16 |
T4 | <abhishek_0> why dont you try los 13 base .. it is available for your device . right? | 13:16 |
MeowDude | yes but anything past cm11 gives gpu driver errors | 13:17 |
MeowDude | and frankly, the rild errors aren't base specific | 13:17 |
MeowDude | because I got them on cm12.1 as well | 13:17 |
MeowDude | dissapointing, Sailfish OS 2.2 on this phone beats anything andorid could ever give | 13:17 |
mal | @adampigg you need to add something like this to fix some sensors I think https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/usr/share/csd/settings.d/hw-settings.ini | 13:54 |
T4 | <adampigg> Mal, ta | 14:05 |
mal | @adampigg or better example https://github.com/mer-hybris/droid-config-f5121/blob/master/sparse/usr/share/csd/settings.d/hw-settings.ini | 14:06 |
mal | with some more options | 14:07 |
T4 | <adampigg> Does the dev choose his fav radio station? ;) | 14:07 |
mal | @adampigg I chose one for my configs, although I didn't yet push the latest version of my configs | 14:11 |
mal | @adampigg I didn't connnect that config to missing sensors right away because I have had that config for so long time already | 14:12 |
mal | more than a year, I made my version based on the file on some official device, one of those undocumented things | 14:13 |
mal | I sometimes do though all of the configs of official devices to see there are useful things | 14:14 |
T4 | <adampigg> So, this is now required? Hadk/faq update? | 14:27 |
mal | faq has it already | 14:27 |
mal | line 860 | 14:27 |
T4 | <adampigg> Which, pad or wiki? We should have 1 ideally | 14:28 |
mal | pad | 14:28 |
mal | I think wiki is already falling behing | 14:28 |
mal | *behind | 14:28 |
mal | this was caused by the update I made to fix compass, it would have been probably in next release anyway | 14:29 |
T4 | <adampigg> K | 14:32 |
T4 | <adampigg> Any other secret files we need??? | 14:33 |
mal | nt sure if many porters have configured support for usb audio cards | 14:34 |
T4 | <adampigg> is there much demand for that? | 14:46 |
mal | probably not | 14:46 |
mal | someone asked it for fp2 so I added it | 14:46 |
mal | quite simple thing to do | 14:46 |
mal | PSA: everyone updating from devel or 2.2.0.29 testing OBS target update sensorfw-qt5-hybris and adapt this to for your device https://github.com/mer-hybris/droid-config-f5121/blob/master/sparse/usr/share/csd/settings.d/hw-settings.ini | 14:48 |
r0kk3rz | i thought that was just for csd tests | 15:02 |
mal | r0kk3rz: it used to be | 15:04 |
r0kk3rz | i see, mebbe thats why my sensors also do not work :D | 15:04 |
mal | r0kk3rz: probably | 15:06 |
mal | r0kk3rz: did those break very recently? | 15:07 |
r0kk3rz | yup | 15:07 |
r0kk3rz | after i installed latest sensorfw stuff | 15:07 |
mal | then that config will fix it | 15:08 |
r0kk3rz | woo | 15:08 |
kolobo4ek | Location 'http://releases.merproject.org/releases/latest/builds/i486/packages/repodata/repomd.xml' is temporarily unaccessible. | 15:39 |
kolobo4ek | (kolobo4ek) Location 'http://releases.merproject.org/releases/latest/builds/i486/packages/content' is temporarily unaccessible. | 15:40 |
kolobo4ek | That errors I'm getting from yesterday. | 15:49 |
T4 | <abhishek_0> anbox works!! yay | 15:50 |
T4 | <adampigg> Need to get into anbox...mal,.you accepted my 3.18+ patch yet? | 15:54 |
T4 | <abhishek_0> its too much sluggish ... and crashes often | 15:58 |
T4 | <abhishek_0> i had to downgrade my kernel, apply some crazy patches .. revert some patches | 15:59 |
r0kk3rz | no shit | 15:59 |
T4 | <abhishek_0> it was a pretty good experiment | 15:59 |
T4 | <adampigg> The patches have been in my kernel for some time already in prep | 16:00 |
T4 | <abhishek_0> i have decided not to keep kernel downgraded kernel.. | 16:05 |
mal | @adampigg I forgot again, I'll try to add those today | 16:05 |
mal | @adampigg I have been trying to get upstream anbox working on sailfish, no graphics yet with that | 16:06 |
T4 | <abhishek_0> @adampigg [The patches have been in my kernel for some ti …], can i see those ? | 16:08 |
T4 | <abhishek_0> okay mal i got anbox working the 3.10.108 | 16:49 |
T4 | <abhishek_0> not working.. but systemctl status shows it is up | 16:49 |
T4 | <abhishek_0> let me grab some logs | 16:50 |
duncan^ | anbox++ | 16:55 |
T4 | <abhishek_0> mal https://paste.ubuntu.com/p/scgsm8yCv5/ | 16:57 |
mal | what exactly is the problem? | 17:04 |
T4 | <abhishek_0> i cannot launch anbox for second time, | 17:08 |
mal | oh, that's a known issue | 17:08 |
mal | you just can't close the window | 17:08 |
T4 | <abhishek_0> okay .. so what is launched ... is launched until the next reboot | 17:12 |
mal | if you restart container it will work again | 17:14 |
T4 | <abhishek_0> yeah .. just checked .. | 17:16 |
T4 | <abhishek_0> for now i will just create a script to do all that for me | 17:24 |
demonaxsh | Can anyone tell me how I can get commits only for hybris? These commits are somehow labeled? Tag hybris or something like that? | 17:51 |
mal | demonaxsh: in newer android bases those are tagged with (hybris), older ones didn't have that, you can compare those commit of old and new bases to see what the correct ones are | 17:53 |
AndroUser2_ | I'm going to building the droid-hal-device packages. And received messages "Location 'http://releases.merproject.org/releases/latest/builds/i486/packages/repodata/repomd.xml' is temporarily unaccessible. Location 'http://releases.merproject.org/releases/latest/builds/i486/packages/content' is temporarily unaccessible." | 17:56 |
demonaxsh | git tag return many results, but among them there is not a single hybris | 17:58 |
vknecht | hello | 18:00 |
mal | demonaxsh: not tagged like that, I meant a "tag" at the beginning of the commit message | 18:00 |
vknecht | @abhishek_0: congrats :-) | 18:01 |
demonaxsh | ooooohhhh...ok | 18:01 |
mal | AndroUser2_: there seems to be some issue with those | 18:02 |
r0kk3rz | i wonder what is reading that ini file, adding it certainly fixed the sensors :) | 18:24 |
mal | r0kk3rz: https://git.merproject.org/mer-core/ssu-sysinfo/commit/be7daf53f27f95283554db489d8a7678e030cea4 | 18:26 |
mal | or more accurately https://git.merproject.org/mer-core/ssu-sysinfo/commit/5e6044be25b641c3f79a5f29ece2be0a98e3aa36 | 18:27 |
r0kk3rz | ah i see, yeah that makes sense | 18:30 |
vknecht | I guess managing dualsim variant of a device will require handling this file too, now ? | 18:35 |
vknecht | or it simplifies, so that one just uses multisim packages, and this csd config check if multisim settings are to be shown ? | 18:37 |
mal | maybe, not sure what the plan is | 18:38 |
duncan^ | I'm having a little bit of trouble understanding how to implement fixup-mountpoints correctly. | 18:59 |
duncan^ | My device doesn't create, as an example, /dev/block/platform/.../by-name/p1. | 19:00 |
duncan^ | Instead, I only have instances of by-num. | 19:00 |
duncan^ | I see in the fixup-mountpoints file, there are existing examples without that. Nonetheless, I'm not having success. | 19:00 |
duncan^ | Serial output: https://paste.debian.net/1030362/ | 19:02 |
mal | more information needed, do you use latest droid-config submodule, what paths do you have (ls -lR /dev/block) and what do you expect | 19:02 |
mal | where did you get that output? | 19:03 |
duncan^ | It's the UART debug console | 19:04 |
duncan^ | These are the paths I found: https://paste.debian.net/hidden/a2ad8cff/ | 19:04 |
mal | so you can't use telnet which is the normal debug method? | 19:05 |
duncan^ | Yep, using pretty much the latest - 3539238f113d00b77d67db587c146fb4c3854316 | 19:06 |
duncan^ | Well, the device actually reboots after this output | 19:06 |
duncan^ | As far as I can see, the device is unable to mount Android /system. There's information about the SD card (what I'm booting from) only after this | 19:10 |
mal | are the mount services ok, the fixup should fix the paths in those, the services are in /lib/systemd/system/ | 19:13 |
duncan^ | You mean in the initramfs, right? | 19:17 |
mal | in sailfish rootfs | 19:18 |
mal | the fixup is what you pasted before | 19:18 |
duncan^ | E.g. in system.mount it's just /dev/block/by-name/system, which doesn't exist in the stock Android build | 19:22 |
duncan^ | What I don't understand, I guess, is whether fixup-mountpoints corrects the mountpoints at build-time, or whether it corrects them at runtime | 19:24 |
mal | so your fixup didn't work | 19:32 |
mal | build time | 19:32 |
mal | when you are building hybris-hal i.e. the android side stuff | 19:33 |
duncan^ | When I built hybris-hal, it told me /boot appears to live on /dev/block/by-name/boot. Would it be worth just trying fixups like that? | 19:35 |
mal | it should show that is the fstab file it found | 19:35 |
mal | so that's where you need to look for what you need | 19:35 |
vknecht | hmm, I've created a local kernel branch, wiped out/, made hybris-hal -j1, built packages -d, osc'ed droid-hal-$DEVICE*rpm in OBS devel, then get broken build for no obvious reason (to me) : | 19:44 |
vknecht | https://build.merproject.org/package/live_build_log/nemo:devel:hw:TCL:idol3/droid-hal-idol3/sailfish_latest_armv7hl/armv8el | 19:44 |
vknecht | is a tag bump/update really needed on kernel repo too ? | 19:47 |
vknecht | here's the change to kernel I made : https://github.com/vknecht/android_kernel_alcatel_msm8916/commit/6e434896ef92095ce399abdf5e29950cbf5d1073 | 19:49 |
r0kk3rz | vknecht: whats your actual problem? | 19:49 |
vknecht | well, OBS marks droid-hal-idol3 as broken, but I don't see real error in build log I linked | 19:49 |
r0kk3rz | vknecht: you need a spec file | 19:51 |
r0kk3rz | like this https://build.merproject.org/package/show/nemo:devel:hw:sony:scorpion_windy/droid-hal-scorpion_windy | 19:52 |
vknecht | ah | 19:53 |
vknecht | osc ar | 19:55 |
vknecht | D droid-hal-idol3.spec | 19:55 |
* vknecht missed that | 19:55 | |
vknecht | it means when have to re-upload it each time ? or that I shouldn't have done just "osc ar" after deleting old droid-hal-$DEVICE*rpm and adding new ones from local repo ? | 19:57 |
r0kk3rz | you dont, but you also shouldnt delete the local one either | 19:59 |
vknecht | when I delete, I mean all this is in OBS checkout directory, not in $ANDROID_ROOT/droid-local-repo/$DEVICE/ | 20:01 |
sven_ | MeowDude: beginner, why do you ask for rild/modem debugging? | 20:02 |
r0kk3rz | vknecht: yeah of course | 20:02 |
vknecht | I've re-added the spec file on your example, adapting just the Source0 line and it seems fine for now | 20:07 |
r0kk3rz | yeah theres not much to it | 20:08 |
vknecht | I just don't get why it got removed ; but I reckon I didn't think about the spec before uploading new rpms, will have to pay more attention next time | 20:09 |
r0kk3rz | its like git, if you push your local copy you push everything | 20:11 |
piggz | mal: failing to download file to the watch doesnt seem to have any negative impacts so far | 20:13 |
piggz | mal: dr_gogeta86: oh shit, it worked! | 20:25 |
piggz | just downloaded a watchface, and it works | 20:25 |
vknecht | ok, I made "rm droid-hal-idol3*" thinking only of rpms, not about the spec file | 20:26 |
vknecht | thanks r0kk3rz | 20:27 |
mal | piggz: wow | 20:28 |
piggz | mal: now sporting a star trek watchface ;) | 20:28 |
piggz | now to make a nice gui around it | 20:29 |
vknecht | so what's the most promising choice for a sfos-[future]-compatible watch ? | 20:30 |
piggz | amazfit bip ;) | 20:31 |
steamport | Why isn't ubu-chroot recognized as a command in the platform sdk shell | 20:39 |
r0kk3rz | install android-tools | 20:41 |
mal | steamport: run sudo ssu ar mer-tools | 20:41 |
mal | and then install android-tools | 20:41 |
steamport | thanks | 20:41 |
steamport | Also, when i'm done, is it ok to distribute builds on XDA | 20:48 |
r0kk3rz | sure | 20:48 |
steamport | Also, is hybris-11.0 still supported | 20:49 |
steamport | Since cm-11 is the only version for my device with support for like, bluetooth and LTWE | 20:49 |
steamport | LTE* | 20:49 |
r0kk3rz | really? | 20:58 |
r0kk3rz | it should work | 20:58 |
duncan^ | Will I need to rebuild the SFOS rootfs packages after rebuidling hybris-hal? | 21:31 |
duncan^ | Given I only changed the fixup-mountpoints, one would wonder if it's strictly necessary in this case | 21:32 |
steamport | r0kk3rz: my device is amazon-thor | 21:33 |
steamport | oh hi duncan^ didn't expect to see you here | 21:33 |
duncan^ | o/ | 21:39 |
mal | duncan^: how else would the packages end up on your device, obviously you could manually copy the content of those but wouldn't it be easier to just build, you don't have to rebuild all packages though | 21:57 |
piggz_ | mal: https://twitter.com/adampigg/status/1010280965510451205 | 21:59 |
duncan^ | mal: Well, I was wondering if it would be sufficient to just add hybris-boot.img and hybris-recovery.img to my boot partition, and leave the old rootfs on my userdata partition, if the corrections to the mountpoints only affected the initramfs. | 21:59 |
mal | duncan^: no that's not enough, the systemd services are also modified and thos are in the droid-hal rpms | 22:00 |
mal | those systemd services of course are in the rootfs | 22:00 |
duncan^ | OK, thanks. | 22:00 |
mal | piggz_: nice | 22:01 |
mal | piggz_: that device seems so much more friendly than my device | 22:01 |
piggz_ | mal: this is how friendly it is (nt) https://github.com/piggz/harbour-amazfish/blob/master/src/operations/updatefirmwareoperation.cpp | 22:04 |
steamport | Also | 22:24 |
steamport | I made a regex which can turn the output "ls -la /dev/block/platform/msm_sdcc.1/by-name/ " output into a fixup-mountpoints thing | 22:24 |
MeowDude | sven_: because ofono is having trouble properly connecting to the modem | 23:26 |
steamport | make: *** No rule to make target `/home/cat/hadk/out/target/product/thor/dt.img', needed by `/home/cat/hadk/out/target/product/thor/obj/ROOT/hybris-recovery_intermediates/hybris-recovery.img'. | 23:34 |
steamport | WHAT DO YOU MEAN | 23:34 |
steamport | I HAVE device_qcom_common, WHICH HAS dtbtoolCM | 23:34 |
steamport | oh | 23:45 |
steamport | i need to add dtbtoolCM to product_packages | 23:45 |
steamport | that didn't work?1 | 23:46 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!