* Nebrassy[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/CTvxsuQQJYMjhnAxNVBCQvSh > | 02:11 | |
Nebrassy[m] | what do I actually change? | 02:11 |
---|---|---|
T4 | <birdzhang> like tihs https://github.com/mer-hybris/droid-hal-f5121/blob/master/droid-hal-f5121.spec#L13 | 02:16 |
Nebrassy[m] | missed the 1 | 02:17 |
Nebrassy[m] | https://paste.ubuntu.com/p/2pVrNjNkWV/ | 02:57 |
Nebrassy[m] | I never use sfos, I'm really new to all of this | 02:57 |
mal | Nebrassy[m]: you need to downgrade config submodule, go to submodule folder (i.e. hybris/droid-configs/droid-configs-device) and run git reset --hard 746de04dd318127044d163a4f4f69b1867789eb8 | 09:56 |
mal | Nebrassy[m]: then run build_packages.sh -c and try to redo what ever you were trying to do before | 09:57 |
*** vup2 is now known as vup | 10:49 | |
T4 | <Harsh18262> i am getting some kind of error https://paste.ubuntu.com/p/HscmKrNrpd/ | 15:11 |
mal | @Harsh18262 check what that /home/harsh/hadk/out/target/product/X00TD/kernel contains | 15:36 |
T4 | <Harsh18262> contains files related to kernel what should i do with them? | 15:38 |
mal | can you pastebin your local manifest? | 15:44 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/yWJPbCfRPW/ | 16:24 |
mal | why did you use the other kernel? | 16:34 |
mal | what is wrong with the kernel from lineageos? | 16:34 |
T4 | <Harsh18262> it did not compile correctly it had some compilation error i asked one of the kernel devloper for my device then he suggested me the other kernel | 16:37 |
mal | what exactly did you mean by this "after repo sync i have manually cloned and paste another kernel" paste what and where? | 16:40 |
T4 | <Harsh18262> means at the time of repo sync the kernel mentioned in the manifest was cloned but it did't compile so after that i cloned the other kernel one by kudproject for lineage 15.1 and pasted the files in hadk/kernel/asus folder | 16:43 |
mal | I assume you cleaned up the kernel folder before copying the files? | 16:45 |
T4 | <Harsh18262> by cleaned up you mean deleting all the files in the kernel folder before pasting right | 16:46 |
mal | yes | 16:46 |
T4 | <Harsh18262> yes | 16:47 |
mal | still a bit confused about the different kernel versions, your manifest has one (which didn't work according to you), then you say also lineageos kernel failed and only that third kernel worked? | 16:48 |
mal | anyway try removing that /home/harsh/hadk/out/target/product/X00TD/kernel folder and try building again after that | 16:50 |
T4 | <Harsh18262> @mal [still a bit confused about the different kerne …], the first kernel i tried failed due to compilation error and i cant remember what was the problem with the lineage kernel (i think i should try this one again) and the third kernel from the kudproject worked a bit | 16:58 |
T4 | <Harsh18262> deleting that folder worked the build completed thanks | 16:58 |
mal | I think the folder could have been remnant from one of the previous kernel builds | 17:05 |
T4 | <Harsh18262> yes | 17:26 |
piggz | just re-capped the power board in our tv, and it fixed it i think! | 19:26 |
wdehoog | mal: sorry to bother you again. it looks like the service that calls /usr/bin/droid/droid-init-done.sh is not started | 19:49 |
wdehoog | if I call ' exec /usr/bin/droid/droid-init-done.sh' in on ready it works | 19:50 |
wdehoog | so service droid_init_done itself is not started, not even if I use 'start droid_init_done' | 19:51 |
wdehoog | and the service is started if I replace '/bin/sh' with '/system/bin/sh' in /init.rc as well as the droid-init-done.sh script | 20:03 |
T4 | <Harsh18262> i am getting this error https://paste.ubuntu.com/p/gWgQPRVMtw/ the HAL devlopment kit says to run the .buildpackages.sh (pg21) from platform sdk but it is not working the terminal says to run through hadk and when i run it from there it cannot find scratchbox and zypper | 20:05 |
wdehoog | Harsh18262: $DEVICE must have a value | 20:08 |
T4 | <Harsh18262> how should i provide it? | 20:08 |
wdehoog | what is inside ~/.hadk.env ? | 20:09 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/8gYQdJYThk/ | 20:10 |
wdehoog | so you did chapter four of the HADK? | 20:11 |
T4 | <Harsh18262> yes | 20:12 |
wdehoog | source the file should work. but it should happen automatically when you enter the platformsdk | 20:13 |
wdehoog | how do you do that? | 20:13 |
T4 | <Harsh18262> how do i do what ? | 20:14 |
wdehoog | enter the platformsdk | 20:14 |
T4 | <Harsh18262> using sfossdk command | 20:15 |
wdehoog | and what is the content of your $HOME/.mersdk.profile. see page 10 | 20:15 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/f7qgVsNTtd/ | 20:21 |
mal | wdehoog: hmm, that sounds like something is freezing init | 20:21 |
wdehoog | mal: I think /bin/sh is just not working as a service started from init, /system/bin/init is | 20:22 |
mal | wdehoog: do you see any sig 11 in dmesg from sh? | 20:23 |
wdehoog | Harsh18262: see the top of page 10, you need to add some stuff | 20:23 |
wdehoog | mal: I don't think so http://susepaste.org/52871018 | 20:25 |
mal | wdehoog: based on that there are very few messages from android init | 20:26 |
wdehoog | mal: it seems #!/system/bin/sh is not needed in the script being used, #!/bin/sh works as well, but in /init.rc I really must use /system/bin/sh | 20:35 |
mal | wdehoog: after the change the .rc how does dmesg look like | 20:36 |
wdehoog | sorry my dmesg is terrible | 20:36 |
wdehoog | it quickly loads full of other errors due to missing sim card | 20:36 |
mal | just interested in the init: messages | 20:37 |
mal | wdehoog: how can missing sim card cause errors? | 20:38 |
wdehoog | mal: http://susepaste.org/view//69406646 | 20:39 |
wdehoog | mal: I don't know. but the errors do not show up in the other phone so that is why I think it is due to the missing sim | 20:40 |
mal | wdehoog: so after the change to .rc everything seems to work? | 20:45 |
mal | wdehoog: can you show the changes you made | 20:45 |
wdehoog | mal: sensors and camera are working | 20:45 |
wdehoog | mal: my current trial-and-error mess http://susepaste.org/view//91629537 | 20:46 |
mal | wdehoog: so in the end you only need to change the system/bin/sh to bin/sh? | 20:49 |
wdehoog | mal: yes | 20:50 |
mal | that is very odd, what if you replace the shell script with some other script that will make some debug file or message | 20:50 |
wdehoog | I'll try | 20:51 |
mal | using the system/bin/sh | 20:52 |
wdehoog | mal: http://susepaste.org/view//85610594 | 21:00 |
mal | wdehoog: so strange | 21:04 |
wdehoog | mal: maybe bionic or init from 12.1 is old and uses other api to start a service | 21:09 |
mal | but why would it break now | 21:10 |
wdehoog | new libc | 21:11 |
mal | so that would mean libhybris is broken | 21:12 |
wdehoog | I was just suggesting, this is all out of my league | 21:13 |
wdehoog | btw I am using libhybris 0.0.5.25 | 21:17 |
mal | wdehoog: I get 56 sig 11 messages in dmesg from some or several shell scripts | 21:25 |
wdehoog | mal: what scripts? | 21:27 |
mal | wdehoog: no idea | 21:28 |
mal | wdehoog: dmesg only reports: type=1701 audit(1557782549.802:718): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=16600 comm="sh" reason="memory violation" sig=11 | 21:29 |
wdehoog | and what is working / not working? | 21:30 |
wdehoog | on 3.0.2 I can do: ldd /system/bin/sh, on 3.0.3 that hangs | 21:30 |
wdehoog | mal: do you have 15.1? it's init is way different from 12.1 | 21:37 |
wdehoog | anyway. goodnight. | 21:38 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!