Tuesday, 2019-10-22

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 instead06:10
rinigusas 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 boot09:42
rinigusor even better - how do I disable lvm and use ext4 for data?09:54
rinigus... to simplify porting09:54
malrinigus: aren't the x10 build instructions quite simple for lvm usage09:56
malif you want to use ext4 then just build like hadk pdf says09:56
rinigusmal: instructions are simple, indeed. I'll check few details and then, hopefully, ask more appropriate question...10:07
vknechtrinigus, first you could try getting logs on sdcard, eg. https://pastebin.com/PFrVJKeg (replace 0403-0201)10:15
vknechtto 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
rinigusok, 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
rinigusin 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#L15110:27
vknechtthink 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-pie10:28
rinigusvknecht: 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 well10:36
vknechtiirc 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-mount10:41
vknechtanother might-be-needed trick, specify androidboot.bootdevice in spec, like in https://github.com/vknecht/droid-hal-img-boot-sony-loire/commit/d154ff5864d97b723999a5f32056dbc3fc9c83d010:43
vknechtthat was THE thing that made it boot for me10:44
rinigusvknecht: 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
vknechtfor boodevice, prolly device repo (or see in aosp boot log I guess)10:50
vknechtfor base/pagesize not sure, those seems specified later in the spec mkbootimg_cmd so maybe no need to add them here10:53
vknechtah well, it's just the order that's different, I guess don't touch those unless really needed ;-)10:54
vknechtrinigus, probably https://github.com/sonyxperiadev/device-sony-tama/blob/fd3f3386124ca9b8c121b9c9950b87e2cb793018/PlatformConfig.mk#L3910:56
rinigusvknecht: thank you, looks like it10:57
electro575hi all12:25
electro575mal, what is the correct link to have access fixing issues of sailfishos ?12:49
electro575this ? http://bit.ly/hot-hadk12:49
malelectro575: what issues?12:49
electro575list of problem12:52
electro575it's faq ?12:53
electro575it was not pastebin before12:54
electro575hot-hadk ask complete identification with github12:55
electro575i have tried to disable time_daemon without success12:58
electro575maybe someone have an idea ?12:58
electro575or another source/example12:58
electro575@elros34 maybe13:00
electro575or vknecht, hi13:00
malthose are gone, the pastebin is the backup13:01
malwe need to think what to use for those now that mozilla etherpad went wway13:02
vknechthi electro13:02
T42<DylanVanAssche> mal: What about a mer-hybris repo? Markdown files or even the wiki thing from Github/Gitlab/...13:03
vknechtI have a html backup of hot-hadk from 2 february, no so useful tho13:03
electro575vknecht : the website is dead ?13:07
electro575O :/13:08
mal@DylanVanAssche maybe, need to talk with others13:08
electro575a project use time_daemon.rc to disable the spam13:08
electro575i have tried 15 time13:10
electro575with no success13:10
malhow did you try13:11
Mister_Magister!seen masha513:12
merbotMister_Magister: I have not seen masha5.13:12
Mister_Magister!seen masha13:12
merbotMister_Magister: I have not seen masha.13:12
Mister_Magister!seen masha1113:16
merbotMister_Magister: masha11 was last seen in #sailfishos-porters 4 days, 23 hours, 25 minutes, and 6 seconds ago: <masha11> mal: ok13:16
Mister_Magisterhmm can't catch him13:16
electro575mal, this script -> https://dpaste.de/zNfB13:18
electro575with keystore example13:18
electro575but if it's in droid-hal-init process, ...13:19
electro575it's maybe not the good maner13:19
electro575my journalctl -> https://dpaste.de/YYjN13:20
electro575Sailfish droid-hal-init: starting service 'time_daemon'...13:20
electro575droid-hal-init: property_set("ro.boottime.time_daemon", "108394901753") failed: property already set13:20
malelectro575: you did it wrong, look again at your .rc file, you added _HYBRIS_DISABLED to the parameter, not to the program name13:21
electro575O, okey13:27
electro575what is the correct file so ? https://dpaste.de/s5C713:27
malthat looks better13:30
electro575ok, i will try it this evening13:32
electro575mal, what is the link to search an example for search htc device pattern ?13:37
electro575github mer ?13:37
electro575It exist an example for htc sailfish os ?13:42
electro575it was maybe this i am thinking about https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/patterns/jolla-configuration-i3113.yaml13:45
electro575i'm the only one for jolla-hw-configuration-m8 i think13:47
electro575be appear13:47
malso what exactly is your problem, what are you trying to fix13:47
electro575now, nothing, but just to prepare my evening job13:49
electro575about sailfishos13:50
electro575for htc one m813:50
electro575to waste no more time13:50
electro575i have no 3G/4G13:51
*** electro is now known as Guest4896717:38
electrooi have again the spam17:40
electroodroid-hal-init: property_set("ro.boottime.time_daemon", "95925603353") failed: property already set17:40
electroomal, i have write this -> https://dpaste.de/8RGV17:45
T42<Akatsu %lastname%> Do i need rmt_storage if i have modem communicate via qmi?17:45
electrooon this file /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc17:45
piggzmal: PRs ? :)17:46
malelectroo: does droid-hal-init show that it uses that17:49
electrooofonod -> https://dpaste.de/fK2M#L183017:52
electrooRIL binder transport plugin -> i have no bluebinder , ... i suppose no binder17:53
malso what is the problem in that?17:55
malI see no critical errors from ofono17:55
electroomal, i have tap my SIM password and i have no connection, just the SIM gray picture18:03
electroono GSM, no 3G/4G18:03
electroodroid-hal-init: Unable to write to '/sys/bus/platform/drivers/msm_hsic_host/unbind': No such device18:03
malfocus on fixing one thing at a time18:04
electroookey -> droid-hal-init: starting service 'time_daemon'...18:04
electroowhere is located this string "starting service 'time_daemon'..."18:05
electroohow can i search ? with "find ~/ -iname "time_daemon'..." | grep ...18:05
electroohow can i search ? with "find ~/ -iname "*.sh" | grep "starting service 'time_daemon'"18:06
malcheck logs, dmesg will tell what it uses18:09
electrooit's inside this -> droid-hal-init.service18:10
electroowhat is the correct command with dmesg ?18:19
electroodroid-hal-init: /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc: 1: ignored duplicate definition of service 'time_daemon'18:22
maltry adding a new line with correct indentation with text: override18:25
electroomal, first time -> droid-hal-init: starting service 'time_daemon'...18:25
electroothis after -> droid-hal-init: Service 'time_daemon' (pid 1333) killed by signal 10618:25
electroodroid-hal-init: Sending signal 9 to service 'time_daemon' (pid 1333) process group... HYBRIS: killing PID instead of process group.18:26
maldo what I just said18:26
malelectroo: you are focusing on completely wrong things18:26
malwe know what the issue is, no need to give same damn output all the time18:26
piggzelectroo: https://github.com/sailfish-on-fxtecpro1/droid-config-t5/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/time_daemon.rc18:29
electroothanks piggz18:30
electrooagain time daemon18:32
electrootry to see this : https://dpaste.de/Ma9U18:35
malyou missing the relevant part of the log18:36
malwhich you should have known already18:36
malI was just about the relevant part a bit earlier18:37
rinigusvknecht: 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
riniguswhen using hybris-boot from the package built by mic, I get stuck on SONY logo, no feedback on dmesg and none on lsusb18:37
riniguswill try with selinux=0 as well (building now)18:38
malrinigus: what issue are you trying to fix?18:38
rinigusmal: trying to get xperia xz2 to boot18:38
rinigusmal: its on lvm still18:38
rinigus... doesn't get passed sony logo18:39
malare you sure it's lvm?18:40
malrinigus: is that aosp9?18:41
malrinigus: are you using the same kernel branch from mer-hybris18:41
rinigusmal: yes, its lvm. I took apart userdata image and file identifies it as PV of LVM18:41
malthe instructions should be quite simple18:42
rinigusit is aosp9, based on xperia 10. my logged build (hadk) is at https://github.com/sailfishos-sony-tama/main/blob/master/hadk-sony-xz2.md18:42
rinigusmal: I build it for another device - xz218:43
electroomal : droid-hal-init: processing action (droid.late_start=trigger_late_start) from (/init.rc:663) ?18:43
rinigusmal: let me check kernel branch once again ...18:45
rinigusmal: I am using hybris-sony-aosp-9.0.0_r37_20190620 with tama mods.18:46
rinigusmal: kernel synced 5 days ago, so should the same18:47
malelectroo: why do you ask about that18:47
electroobecause i'm looking for where is launched time_daemon18:47
malelectroo: you were already told what you need to do SHOW THE DAMN WHOLE DMESG!!!!!!!!!!!!118:48
malif the next message you send is not the logs I give up18:48
electrooi don't understand, you just said -> see a bit earlier18:50
electroowhat is the good lien in this log ? https://dpaste.de/Ma9U18:51
electroo# Mer needs to set this property when fs units are mounted18:52
electrooon property:droid.late_start=trigger_late_start18:52
electrooclass_start late_start18:52
malso you didn't do what I said, don't bother asking me anything today18:52
electrooi have already tried this18:53
electroomal, i have already paste the whole log of dmesg -> https://dpaste.de/W8Yh18:57
electroosee logs sailfishos18:57
malso you didn't modify /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc18:58
piggzwhat android base is it?18:58
electrooi have done override18:59
malshow the file18:59
piggzoverride was added in android 8 iirc18:59
piggzyou could check your inid daemon code to see if override is supported19:00
piggzif it isnt supported, you will have to disable the service that is existing...19:01
piggzin any case, a faulting time_daemon isnt fatal i think, just untidy19:01
electroomy last dmesg -> https://dpaste.de/i1vx19:03
electroohow can i check if it support , on init.rc file ?19:03
piggzyou need to look at the C code for init19:07
piggzgrep the folder for override19:07
piggzwhat abdroid base is it?19:07
electroo15.1 lineage os19: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 create19:10
electrooidk mean ?19:10
T42<Martensite %lastname%> i dont know19:10
electroopiggz : # Load persist properties and override properties (if enabled) from /data.19:17
electroono way, ...19:21
electrootime_daemon is in this file : /system/vendor/etc/init/hw/init.qcom.rc19:27
piggzelectroo: my mistake19:29
piggzoverride was added in los 1619:29
piggzso, you have to edit the file containing time_daemon directly19:29
piggzand disable it there19:30
malwhy are you even focusing on fixing that, there are probably much more critical issues to fix19:31
electroobecause it was no cool to debug with journalctl with this19:31
electrooi have sms and 3G already19:33
electroohow can i scp a file with telnet ?19:34
electroonot possible to edit this file -> /system/vendor/etc/init/hw/init.qcom.rc19:35
malelectroo: a little hint "journalctl | grep -v time_daemon"19:38
malgrep -v can be used to ignore some lines19:39
electroopiggz : mms-engine[4756]: [mms-ofono] ERROR! GDBus.Error:org.ofono.Error.Failed: Operation failed19:50
electroowhat do you use to send file ? scp ?19:57
piggzyes, scp after getting sshd running19:59
electroowhat is the password of nemo ?20:37
T42<adampigg> yuo need to set it20:37
T42<adampigg> either in developer tools, or, telnet, passwd nemo20:38
electrooi use scp cmd20:38
electroohow update the password20:39
electrooscp -> permission denied20:41
electroowith just telnet connect (RNDIS)20:41
malSettings->Developer mode21: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 binary23: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 guide23:37
T42<NotKit> but when in TWRP, you should be able to use adb shell and then it is normal Linux shell more or less23:37
T42<NotKit> busybox binary can be taken e. g. from out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/bin/busybox23:39
xreactx[m]__I'm a novice at this... Can you specify exactly how to use it for this workaround?23:42
TheKitadb push busybox /tmp23:44
TheKitadb push sfe*.tar.bz2 /data23:44
TheKitadb shell23:44
TheKitmkdir /data/.stowaways/sailfishos23:44
TheKitcd /data/.stowaways/sailfishos23:45
TheKit /tmp/busybox tar xpvjf /data/sfe*.tar.bz223:45
TheKitand flash hybris-boot.img onto boot somehow23:46
xreactx[m]__boot_a or boot_b... Or, how do I determine that23:49
TheKitcurrent slot23:49

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!