xreactx[m]__ | well the guys over on TWRP telegram chat tell me to come back here... | 01:43 |
---|---|---|
T42 | <NotKit> xreactx, by using busybox binary to unpack tar instead | 06:10 |
rinigus | as I have based xperia xz2 port on xperia10, sailfish.img001 has lvm pv. any idea if it needs some extra handling in init scripts? I suspect that this is what fails on boot | 09:42 |
rinigus | or even better - how do I disable lvm and use ext4 for data? | 09:54 |
rinigus | ... to simplify porting | 09:54 |
mal | rinigus: aren't the x10 build instructions quite simple for lvm usage | 09:56 |
mal | if you want to use ext4 then just build like hadk pdf says | 09:56 |
rinigus | mal: instructions are simple, indeed. I'll check few details and then, hopefully, ask more appropriate question... | 10:07 |
vknecht | rinigus, first you could try getting logs on sdcard, eg. https://pastebin.com/PFrVJKeg (replace 0403-0201) | 10:15 |
vknecht | to build without lvm, you could just rename droid-config/kickstart/ to something else, so the submodule's kickstart/ is used (might need some adjustment, maybe in out-of-image.files, don't remember exactly) | 10:16 |
rinigus | ok, maybe better question: yesterday I observed "Failed to boot init in real rootfs" in host's dmesg. from https://github.com/sailfishos-sony-tama/hybris-boot/blob/tama-akari/init-script it looks like mount_stowaways is called during init. is that expected? | 10:26 |
rinigus | in particular, I don't think we are expected to mount PV in LVM as in https://github.com/sailfishos-sony-tama/hybris-boot/blob/tama-akari/init-script#L151 | 10:27 |
vknecht | think you have to look at initrd submodule in there for the actual init used in this kind of port https://github.com/sailfishos-sony-tama/droid-hal-img-boot-sony-tama-pie | 10:28 |
rinigus | vknecht: but isn't init from hybris-boot used anyway? as it looks to have the same messages which I see. as you referred, I do have this repo as well | 10:36 |
vknecht | iirc it's jolla-init, but I might be confused, it's not so fresh in my memory ; see this for lvm mount: https://github.com/mer-hybris/hybris-initrd/blob/da48632e00646840fd7e20a26c4ff647758a147a/sbin/root-mount | 10:41 |
vknecht | another might-be-needed trick, specify androidboot.bootdevice in spec, like in https://github.com/vknecht/droid-hal-img-boot-sony-loire/commit/d154ff5864d97b723999a5f32056dbc3fc9c83d0 | 10:43 |
vknecht | that was THE thing that made it boot for me | 10:44 |
rinigus | vknecht: I can see that I haven't adjusted anything on that line https://github.com/sailfishos-sony-tama/droid-hal-img-boot-sony-tama-pie/blob/master/rpm/droid-hal-akari-img-boot.spec . I wonder where I should get all the offsets and that magical number of yours (7824900.sdhci)... | 10:49 |
vknecht | for boodevice, prolly device repo (or see in aosp boot log I guess) | 10:50 |
vknecht | for base/pagesize not sure, those seems specified later in the spec mkbootimg_cmd so maybe no need to add them here | 10:53 |
vknecht | ah well, it's just the order that's different, I guess don't touch those unless really needed ;-) | 10:54 |
vknecht | rinigus, probably https://github.com/sonyxperiadev/device-sony-tama/blob/fd3f3386124ca9b8c121b9c9950b87e2cb793018/PlatformConfig.mk#L39 | 10:56 |
rinigus | vknecht: thank you, looks like it | 10:57 |
electro575 | hi all | 12:25 |
electro575 | mal, what is the correct link to have access fixing issues of sailfishos ? | 12:49 |
electro575 | this ? http://bit.ly/hot-hadk | 12:49 |
mal | electro575: what issues? | 12:49 |
electro575 | list of problem | 12:52 |
electro575 | resolved | 12:53 |
electro575 | it's faq ? | 12:53 |
electro575 | http://bit.ly/faq-hadk | 12:54 |
electro575 | it was not pastebin before | 12:54 |
electro575 | hot-hadk ask complete identification with github | 12:55 |
electro575 | i have tried to disable time_daemon without success | 12:58 |
electro575 | maybe someone have an idea ? | 12:58 |
electro575 | or another source/example | 12:58 |
electro575 | @elros34 maybe | 13:00 |
electro575 | or vknecht, hi | 13:00 |
mal | those are gone, the pastebin is the backup | 13:01 |
mal | we need to think what to use for those now that mozilla etherpad went wway | 13:02 |
mal | *away | 13:02 |
vknecht | hi electro | 13:02 |
T42 | <DylanVanAssche> mal: What about a mer-hybris repo? Markdown files or even the wiki thing from Github/Gitlab/... | 13:03 |
vknecht | I have a html backup of hot-hadk from 2 february, no so useful tho | 13:03 |
vknecht | ? | 13:03 |
vknecht | https://framadrop.org/r/rEp3MoXzDJ#dUv/69KObER8OJ6x/JiH4BwWtQSDW1lrsV6bIfdxHwQ= | 13:07 |
electro575 | vknecht : the website is dead ? | 13:07 |
vknecht | yes | 13:08 |
electro575 | O :/ | 13:08 |
mal | @DylanVanAssche maybe, need to talk with others | 13:08 |
electro575 | a project use time_daemon.rc to disable the spam | 13:08 |
electro575 | i have tried 15 time | 13:10 |
electro575 | with no success | 13:10 |
mal | how did you try | 13:11 |
Mister_Magister | !seen masha5 | 13:12 |
merbot | Mister_Magister: I have not seen masha5. | 13:12 |
Mister_Magister | !seen masha | 13:12 |
merbot | Mister_Magister: I have not seen masha. | 13:12 |
Mister_Magister | huh | 13:12 |
Mister_Magister | !seen masha11 | 13:16 |
merbot | Mister_Magister: masha11 was last seen in #sailfishos-porters 4 days, 23 hours, 25 minutes, and 6 seconds ago: <masha11> mal: ok | 13:16 |
Mister_Magister | hmm can't catch him | 13:16 |
electro575 | mal, this script -> https://dpaste.de/zNfB | 13:18 |
electro575 | with keystore example | 13:18 |
electro575 | https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/keystore.rc | 13:18 |
electro575 | but if it's in droid-hal-init process, ... | 13:19 |
electro575 | it's maybe not the good maner | 13:19 |
electro575 | my journalctl -> https://dpaste.de/YYjN | 13:20 |
electro575 | Sailfish droid-hal-init: starting service 'time_daemon'... | 13:20 |
electro575 | droid-hal-init: property_set("ro.boottime.time_daemon", "108394901753") failed: property already set | 13:20 |
mal | electro575: you did it wrong, look again at your .rc file, you added _HYBRIS_DISABLED to the parameter, not to the program name | 13:21 |
electro575 | O, okey | 13:27 |
electro575 | what is the correct file so ? https://dpaste.de/s5C7 | 13:27 |
mal | that looks better | 13:30 |
electro575 | ok, i will try it this evening | 13:32 |
electro575 | mal, what is the link to search an example for search htc device pattern ? | 13:37 |
electro575 | github mer ? | 13:37 |
mal | what? | 13:38 |
electro575 | It exist an example for htc sailfish os ? | 13:42 |
electro575 | it was maybe this i am thinking about https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/patterns/jolla-configuration-i3113.yaml | 13:45 |
electro575 | i'm the only one for jolla-hw-configuration-m8 i think | 13:47 |
electro575 | be appear | 13:47 |
mal | so what exactly is your problem, what are you trying to fix | 13:47 |
electro575 | now, nothing, but just to prepare my evening job | 13:49 |
electro575 | about sailfishos | 13:50 |
electro575 | for htc one m8 | 13:50 |
electro575 | to waste no more time | 13:50 |
electro575 | i have no 3G/4G | 13:51 |
*** electro is now known as Guest48967 | 17:38 | |
electroo | hi | 17:40 |
electroo | i have again the spam | 17:40 |
electroo | droid-hal-init: property_set("ro.boottime.time_daemon", "95925603353") failed: property already set | 17:40 |
electroo | mal, i have write this -> https://dpaste.de/8RGV | 17:45 |
T42 | <Akatsu %lastname%> Do i need rmt_storage if i have modem communicate via qmi? | 17:45 |
electroo | on this file /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc | 17:45 |
piggz | mal: PRs ? :) | 17:46 |
mal | electroo: does droid-hal-init show that it uses that | 17:49 |
electroo | ofonod -> https://dpaste.de/fK2M#L1830 | 17:52 |
electroo | RIL binder transport plugin -> i have no bluebinder , ... i suppose no binder | 17:53 |
mal | so what is the problem in that? | 17:55 |
mal | I see no critical errors from ofono | 17:55 |
electroo | mal, i have tap my SIM password and i have no connection, just the SIM gray picture | 18:03 |
electroo | no GSM, no 3G/4G | 18:03 |
electroo | droid-hal-init: Unable to write to '/sys/bus/platform/drivers/msm_hsic_host/unbind': No such device | 18:03 |
mal | focus on fixing one thing at a time | 18:04 |
electroo | okey -> droid-hal-init: starting service 'time_daemon'... | 18:04 |
electroo | where is located this string "starting service 'time_daemon'..." | 18:05 |
electroo | how can i search ? with "find ~/ -iname "time_daemon'..." | grep ... | 18:05 |
electroo | how can i search ? with "find ~/ -iname "*.sh" | grep "starting service 'time_daemon'" | 18:06 |
mal | check logs, dmesg will tell what it uses | 18:09 |
electroo | it's inside this -> droid-hal-init.service | 18:10 |
electroo | yes | 18:10 |
electroo | what is the correct command with dmesg ? | 18:19 |
electroo | droid-hal-init: /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc: 1: ignored duplicate definition of service 'time_daemon' | 18:22 |
mal | try adding a new line with correct indentation with text: override | 18:25 |
electroo | mal, first time -> droid-hal-init: starting service 'time_daemon'... | 18:25 |
electroo | this after -> droid-hal-init: Service 'time_daemon' (pid 1333) killed by signal 106 | 18:25 |
electroo | droid-hal-init: Sending signal 9 to service 'time_daemon' (pid 1333) process group... HYBRIS: killing PID instead of process group. | 18:26 |
mal | do what I just said | 18:26 |
electroo | okey | 18:26 |
mal | electroo: you are focusing on completely wrong things | 18:26 |
electroo | ok | 18:26 |
mal | we know what the issue is, no need to give same damn output all the time | 18:26 |
electroo | sorry | 18:28 |
piggz | electroo: https://github.com/sailfish-on-fxtecpro1/droid-config-t5/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/time_daemon.rc | 18:29 |
electroo | thanks piggz | 18:30 |
electroo | again time daemon | 18:32 |
electroo | try to see this : https://dpaste.de/Ma9U | 18:35 |
electroo | https://dpaste.de/Ma9U#L49 | 18:35 |
mal | you missing the relevant part of the log | 18:36 |
mal | which you should have known already | 18:36 |
mal | I was just about the relevant part a bit earlier | 18:37 |
electroo | ok | 18:37 |
rinigus | vknecht: tried with androidboot.bootdevice, but still no luck. I probably used in the last tests wrong boot image - hence appearance of debug messages in dmesg. (got used to it while testing what appears to be bootloader bug) | 18:37 |
rinigus | when using hybris-boot from the package built by mic, I get stuck on SONY logo, no feedback on dmesg and none on lsusb | 18:37 |
rinigus | will try with selinux=0 as well (building now) | 18:38 |
mal | rinigus: what issue are you trying to fix? | 18:38 |
rinigus | mal: trying to get xperia xz2 to boot | 18:38 |
electroo | https://dpaste.de/W8Yh | 18:38 |
rinigus | mal: its on lvm still | 18:38 |
rinigus | ... doesn't get passed sony logo | 18:39 |
mal | are you sure it's lvm? | 18:40 |
mal | rinigus: is that aosp9? | 18:41 |
mal | rinigus: are you using the same kernel branch from mer-hybris | 18:41 |
rinigus | mal: yes, its lvm. I took apart userdata image and file identifies it as PV of LVM | 18:41 |
mal | the instructions should be quite simple | 18:42 |
rinigus | it is aosp9, based on xperia 10. my logged build (hadk) is at https://github.com/sailfishos-sony-tama/main/blob/master/hadk-sony-xz2.md | 18:42 |
rinigus | mal: I build it for another device - xz2 | 18:43 |
electroo | mal : droid-hal-init: processing action (droid.late_start=trigger_late_start) from (/init.rc:663) ? | 18:43 |
rinigus | mal: let me check kernel branch once again ... | 18:45 |
rinigus | mal: I am using hybris-sony-aosp-9.0.0_r37_20190620 with tama mods. | 18:46 |
rinigus | mal: kernel synced 5 days ago, so should the same | 18:47 |
mal | electroo: why do you ask about that | 18:47 |
electroo | because i'm looking for where is launched time_daemon | 18:47 |
mal | electroo: you were already told what you need to do SHOW THE DAMN WHOLE DMESG!!!!!!!!!!!!1 | 18:48 |
mal | if the next message you send is not the logs I give up | 18:48 |
electroo | i don't understand, you just said -> see a bit earlier | 18:50 |
electroo | okey | 18:50 |
electroo | what is the good lien in this log ? https://dpaste.de/Ma9U | 18:51 |
electroo | # Mer needs to set this property when fs units are mounted | 18:52 |
electroo | on property:droid.late_start=trigger_late_start | 18:52 |
electroo | class_start late_start | 18:52 |
mal | so you didn't do what I said, don't bother asking me anything today | 18:52 |
electroo | override | 18:52 |
electroo | i have already tried this | 18:53 |
mal | SHOW THE DAMN DMESG LOG, THE WHOLE LOG, DO NOT REMOVE ANYTHING, HOW DIFFICULT IS IT TO UNDERSTAND A SIMPLE QUESTION? | 18:53 |
electroo | mal, i have already paste the whole log of dmesg -> https://dpaste.de/W8Yh | 18:57 |
electroo | see logs sailfishos | 18:57 |
mal | so you didn't modify /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc | 18:58 |
piggz | what android base is it? | 18:58 |
electroo | i have done override | 18:59 |
mal | show the file | 18:59 |
electroo | https://dpaste.de/rY5U | 18:59 |
piggz | override was added in android 8 iirc | 18:59 |
piggz | you could check your inid daemon code to see if override is supported | 19:00 |
piggz | if it isnt supported, you will have to disable the service that is existing... | 19:01 |
piggz | in any case, a faulting time_daemon isnt fatal i think, just untidy | 19:01 |
electroo | my last dmesg -> https://dpaste.de/i1vx | 19:03 |
electroo | how can i check if it support , on init.rc file ? | 19:03 |
electroo | piggz | 19:05 |
piggz | you need to look at the C code for init | 19:07 |
piggz | grep the folder for override | 19:07 |
piggz | what abdroid base is it? | 19:07 |
electroo | 15.1 lineage os | 19:09 |
T42 | <Martensite %lastname%> @electroo you can comment it out in /rootdir/init.rc if you dont want it spam logs, but idk what problems it might create | 19:10 |
electroo | idk mean ? | 19:10 |
T42 | <Martensite %lastname%> i dont know | 19:10 |
electroo | piggz : # Load persist properties and override properties (if enabled) from /data. | 19:17 |
electroo | no way, ... | 19:21 |
electroo | time_daemon is in this file : /system/vendor/etc/init/hw/init.qcom.rc | 19:27 |
piggz | electroo: my mistake | 19:29 |
piggz | override was added in los 16 | 19:29 |
piggz | so, you have to edit the file containing time_daemon directly | 19:29 |
electroo | okey | 19:29 |
piggz | and disable it there | 19:30 |
electroo | okey | 19:30 |
mal | why are you even focusing on fixing that, there are probably much more critical issues to fix | 19:31 |
electroo | because it was no cool to debug with journalctl with this | 19:31 |
electroo | i have sms and 3G already | 19:33 |
electroo | how can i scp a file with telnet ? | 19:34 |
electroo | not possible to edit this file -> /system/vendor/etc/init/hw/init.qcom.rc | 19:35 |
mal | electroo: a little hint "journalctl | grep -v time_daemon" | 19:38 |
mal | grep -v can be used to ignore some lines | 19:39 |
electroo | okey | 19:40 |
electroo | thanks | 19:40 |
piggz | brb | 19:47 |
electroo | piggz : mms-engine[4756]: [mms-ofono] ERROR! GDBus.Error:org.ofono.Error.Failed: Operation failed | 19:50 |
electroo | what do you use to send file ? scp ? | 19:57 |
piggz | yes, scp after getting sshd running | 19:59 |
electroo | okey | 20:00 |
electroo | what is the password of nemo ? | 20:37 |
T42 | <adampigg> yuo need to set it | 20:37 |
T42 | <adampigg> either in developer tools, or, telnet, passwd nemo | 20:38 |
electroo | i use scp cmd | 20:38 |
electroo | ok | 20:38 |
electroo | how update the password | 20:39 |
electroo | scp -> permission denied | 20:41 |
electroo | with just telnet connect (RNDIS) | 20:41 |
mal | Settings->Developer mode | 21:10 |
xreactx[m]__ | Is there any other workaround with test SFOS rootfs without using tar? | 23:29 |
T42 | <NotKit> @xreactx[m]__ [Is there any other workaround with test SFOS r …], use static busybox binary | 23:34 |
xreactx[m]__ | Can you send me a link to a guide to use it? | 23:36 |
T42 | <NotKit> I don't think there is a guide | 23:37 |
T42 | <NotKit> but when in TWRP, you should be able to use adb shell and then it is normal Linux shell more or less | 23:37 |
T42 | <NotKit> busybox binary can be taken e. g. from out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/bin/busybox | 23:39 |
xreactx[m]__ | I'm a novice at this... Can you specify exactly how to use it for this workaround? | 23:42 |
TheKit | adb push busybox /tmp | 23:44 |
TheKit | adb push sfe*.tar.bz2 /data | 23:44 |
TheKit | adb shell | 23:44 |
TheKit | mkdir /data/.stowaways/sailfishos | 23:44 |
TheKit | cd /data/.stowaways/sailfishos | 23:45 |
TheKit | /tmp/busybox tar xpvjf /data/sfe*.tar.bz2 | 23:45 |
TheKit | and flash hybris-boot.img onto boot somehow | 23:46 |
xreactx[m]__ | boot_a or boot_b... Or, how do I determine that | 23:49 |
TheKit | current slot | 23:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!