Saturday, 2020-01-25

T42<edp_17> I have not found anything. πŸ˜”00:20
T42<NotKit> @edp_17 [I don't know how to link to LOS boot.img.], send to me in Telegram in private if you have00:22
T42<NotKit> or send output of file command on it00:22
T42<edp_17> Then I have added definition of MALI_QUIRKS, straggler files and an additional post script from my hammerhead spec file to the droid-hal-i9100.spec and I got this:
T42<NotKit> if device does not display any signs on life, it is usually related to early boot process00:23
T42<edp_17> @TheKit: Ok, so I should remove all that I recently added, right?00:24
T42<NotKit> so did it boot before?00:24
T42<edp_17> I thought the issue could be related to the mali_quirks.00:25
T42<edp_17> How do you mean? Did it boot before into android? Yes. When I flashed the cm12.1 android, I booted into it for grabbing the mount points.00:26
T42<edp_17> Plus, since I flahsed back the android I used before the sailfish attempt (los 14.1) and it is on and working.00:27
T42<NotKit> no, I mean, did you ever boot Sailfish on it00:27
T42<edp_17> I see, sorry. No, this was the first time I tried.00:28
T42<edp_17> I don't think anybody else (as I am aware at least) made any sfos build for this device.00:28
T42<NotKit> then first check which format does LineageOS boot.img have00:28
T42<edp_17> Okay. How can I do that?00:29
T42<NotKit> `file boot.img`00:29
T42<edp_17> I have done this on the boot.img from the cm12.1 zip.00:30
T42<edp_17> boot.img: Linux kernel ARM boot executable zImage (little-endian)00:30
T42<NotKit> ok, that's what I thought00:31
T42<NotKit> basically mer-hybris will produce hybris-boot.img in wrong format compared to what you need for your device00:31
T42<edp_17> I see. The file hybris-boot.img gives me:00:33
T42<edp_17> hybris-boot.img: Android bootimg, kernel (0x40008000), ramdisk (0x41000000), page size: 4096, cmdline (console=ttySAC2,115200 consoleblank=0 selinux=0)00:33
T42<edp_17> How can I get the hybris-boot.img generated in the correct format then?00:33
T42<NotKit> the format you need is just kernel zImage, but you need to embed hybris-boot ramdisk inside kernel00:34
T42<NotKit> I do not have any ready solutions for that00:34
T42<edp_17> This sounds Greek to me to be honest. 😳00:34
T42<edp_17> And any non-ready?00:34
T42<NotKit> - this may give at least hints on where to look00:35
T42<edp_17> Do I need initramfs embedded into the kernel image?00:36
T42<NotKit> yes00:37
T42<edp_17> So I need to add the location of initramfs to the CONFIG_INITRAMFS_SOURCE in defconfig?00:38
T42<edp_17> The current CONFIG_INITRAMFS_SOURCE value is:00:38
T42<edp_17> "source/usr/galaxys2_initramfs.list"00:38
T42<NotKit> investigate how current initramfs is setup00:39
T42<NotKit> hybris-boot initramfs files are at out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/00:39
T42<edp_17> In that folder there are /bin, /etc, /sbin, /usr, bootsplash.gz and init00:41
T42<edp_17> I am not sure what to set at CONFIG_INITRAMFS_SOURCE00:42
T42<NotKit> you can set a dir to that00:45
T42<edp_17> How I meant was, I am not sure what dir to set there. πŸ˜„00:46
T42<NotKit> @edp_17 [In that folder there are /bin, /etc, /sbin, /u …], full path to that folder00:46
T42<edp_17> To this?00:47
T42<edp_17> out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/00:47
T42<NotKit> yes00:47
T42<edp_17> Okay, this doesn't seem complicated. So far. Then I need to do a make hybris-hal, then -i?00:48
T42<edp_17> Do I need to run the or enough with the -i?00:49
T42<NotKit> make hybris-boot00:50
T42<NotKit> ignore and rebuilding rootfs for now00:50
T42<NotKit> flash out/target/product/$DEVICE/kernel to boot partition manually00:50
T42<edp_17> Okay, I'll try that.00:51
T42<edp_17> So in defconfig the new CONFIG_INITRAMFS_SOURCE is00:51
T42<edp_17> out/target/product/i9100/obj/ROOT/hybris-boot_intermediates/initramfs/00:52
T42<edp_17> Do I need the / at the and?00:52
T42<edp_17> Do I need to set the full path like /home/s2/mer/android/droid/out/target/product/i9100/obj/ROOT/hybris-boot_intermediates/initramfs/00:53
T42<NotKit> I would prefer to set /home/s2/mer/android/droid/out/target/product/i9100/obj/ROOT/hybris-boot_intermediates/initramfs00:53
T42<edp_17> Okay. thanks.00:55
T42<edp_17> The make hybris-hal has finished. It generated the hybris-recovery.img and hybris-boot.img00:58
T42<NotKit> both  hybris-recovery.img and hybris-boot.img are wrong format for you00:59
T42<NotKit> you need to try flashing kernel itself00:59
T42<edp_17> Oh, and where can I find that?00:59
T42<NotKit> @NotKit [flash out/target/product/$DEVICE/kernel to boo …], ^00:59
T42<edp_17> Yes, there is and the 'file kernel' says:01:00
T42<edp_17> kernel: Linux kernel ARM boot executable zImage (little-endian)01:00
T42<edp_17> Okay. So now I have a los7.1.2 up and running on the device.01:01
T42<edp_17> What do I need to do?01:01
T42<edp_17> 1. Flash a twrp that I use for flashing the cm12.1 and sfos.01:02
T42<edp_17> 2. flash cm12.1 and sfos01:02
T42<edp_17> 3. flash kernel01:02
T42<NotKit> looks correct01:02
T42<edp_17> Thanks.01:02
T42<edp_17> Only question is how can I flash the kernel fro the pc?01:03
T42<edp_17> I guess with adb or heimdall but I am not sure what partition and what command.01:04
T42<edp_17> I am not sure = I don't know01:04
T42<edp_17> The kernel partition is mmcblk0p5 (based on the mount points I discovered)01:27
T42<edp_17> so in theory do the following command flash the kernel?:01:27
T42<edp_17> heimdall flash --kernel /path/to/the/kernel01:28
T42<edp_17> Nope, I got: "ERROR: Partition "kernel" does not exist in the specified PIT."01:29
T42<edp_17> Aaaaa, it was: heimdall flash --KERNEL /path/to/the/kernel01:34
T42<edp_17> the kernel is uppercase01:34
T42<NotKit> you can flash raw image through TWRP as well01:34
T42<edp_17> Well, now it constantly reboots. (After a minute or so.)01:37
T42<NotKit> getting some logs would be helpful01:37
T42<edp_17> In the old twrp version I could use for flashing the cm12.1 image and sfos, I didn't find how to install a raw image.01:38
T42<Taufik %lastname%> Fwd from page: I can't believe that up till now some still think that Binary Options,Trading is not profitable.All you want is just a reliable account manager and a trusted broker.I know of a trusted account manager with experience and I can direct you to him,and he will manage your account for you and help you generate01:38
T42good profit.and you will always have access to monitor your account balance,he is Mr Douglas_Almeida1 you can,contact him on his01:38
T42<Taufik %lastname%>
T42<edp_17> Yeah, I am trying but first I need to get in. tere is no telnet so need to bring up the usb network first, then do the rest before it reboots. Give me a few minutes.01:39
T42<edp_17> Well, I could get in to run the 'ln -s /dev/null /etc/systemd/system/ofono.service' command what the hadk suggested but it restarted right after.01:42
T42<edp_17> It is restarting to quickly01:43
T42<NotKit> so you're able to connect?01:44
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%> Fwd from grace: At first when I first met Mr Douglas_Almeida1 I never had single trust in him, but  he caught my heart with just one thing, he granted me access and logins to my trading account, I was able to check on my trade on regular basis! Now I’m earning well with Mr Douglas_Almeida1, with just $200 I got $3,000.9001:45
T42in 5 working days! He’s got good trading skills and techniques.01:45
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%> Thank you very much sir, I appreciate all your good works.01:45
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%> If you’re looking for a reliable account manager I encourage you to get in touch with Mr Douglas_Almeida1and see all this for yourself.01:45
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%> Click on the link below to join and see his wonderful Performance01:45
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%> πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡01:45
T42<Ω…ΩˆΨ³ΩˆΫŒ %lastname%>
T42<edp_17> I have managed to collect this:01:47
T42<edp_17> Yes, I can connect but need to bring up the network and what I can do is a quick command before it reboots.01:48
T42<edp_17> I have tried to stop the reboot what the hadk suggestet (ln -s /dev/null /etc/systemd/system/ofono.service) but didn't work01:48
T42<NotKit> attempt to do dmesg -w before it reboots01:49
T42<NotKit> this may give more info on cause01:49
T42<NotKit> also cat /proc/last_ksmg after reboot01:49
T42<edp_17> dmesg -w:
T42<edp_17> cat: /proc/last_ksmg: No such file or directory01:53
T42<edp_17> here is the output of the mount:
T42<NotKit> @edp_17 [dmesg -w:], did you exit manually?01:55
T42<edp_17> There is no /system01:55
T42<edp_17> yes, because I wanted to reuse my local termial.01:56
T42<NotKit> @edp_17 [There is no /system], check /lib/systemd/system/system.mount01:57
T42<edp_17> the 'cat /lib/systemd/system/system.mount' gives me:
T42<edp_17> the 'systemctl status mnt-\x2elfs.mount' gives me:
T42<edp_17> I think I know why don't have the /system.02:13
T42<edp_17> In the system.mount it says: "What=/dev/block/mmcblk0p9"02:14
T42<edp_17> in the fixup-mountpoints script I set: "block/bootdevice/by-name/FACTORYFS mmcblk0p9"02:15
T42<edp_17> Is this right?02:15
T42<edp_17> This is what I set in the fixup-mountpoints for the S2:
T42<edp_17> Any ideas? Should I remove the mmcblk0p9 from fixup-moutpoints?02:26
T42<edp_17> If so, how can I transfer this to the device?02:27
T42<edp_17> I used the 'touch /init_enter_debug2' to stop the continuous reboot. (Obviously this way systemd is not started) but at least I can stroll around on the device.02:36
T42<edp_17> Here is the init.log once restarted after the 'touch /init_enter_debug2':
T42<polanobi> @polanobi [ …], I Already Updated All submode And The Error That Still Appears04:03
T42<polanobi> @NotKit [so you're able to connect?], please Check Inbox04:04
T42<polanobi> (Sticker, 512x512)
T42<polanobi> hello04:47
T42<Huang %lastname%> Fwd from Huang Lucy: Bitcoin has changed my life for good i'm so speechless now because dont know what to say now i am really happy for the good work of Mr Financial  am thank full sir for  making me get my profit you are such a good man.. And anyone who whants to earn more can contact him at telegram πŸ†—πŸ‘‡πŸ‘‡07:15
T42<Huang %lastname%>
T42<polanobi> (Sticker, 512x512)
T42<polanobi> No Bot ???07:59
T42<polanobi> (Sticker, 512x429)
T42<polanobi> @polanobi [ …], New Erros Log / Please Help Me08:37
T42<polanobi> <MDTech-us_MAN> also, when I just run `ssu-kickstart-configuration` which I suppose should be a program  I get "bash: ssu-kickstart-configuration: command not found"09:38
T42<elros34> @edp_17: check fixup-mountpoints file for i9300. You have /dev/block/mmcblk* so you only need to remove "block" part so all mount units will use /dev/mmcblk*10:03
T42<edp_17> @elros34 : Thanks. Once I done that, how can I transfer this change to the device? Should I rebuild the kernel and flash that or there is something else too?10:18
T42<elros34> you only need to rebuild droid-hal but for now just edit  /lib/systemd/system/*.mount directly on device10:22
T42<edp_17> πŸ‘10:25
T42<edp_17> Thank you.10:25
T42<polanobi> hello11:00
asrielHello, hope you have a wonderful new year.11:01
T42<RealDanct12> @asriel [Hello, hope you have a wonderful new year.], hey my boi asriel :)11:03
T42<RealDanct12> just returned to ubports so i can do a few things in order to get santoni to official ports11:04
T42<RealDanct12> probably the first thing to do in new year :)11:05
T42<RealDanct12> may as well pushing the device tree to sailfish so that it could be a part of approved community ports11:06
T42<polanobi> (Photo, 1280x607)
T42<polanobi> How To Get Flash Files ???11:17
T42<polanobi> @RealDanct12 [may as well pushing the device tree to sailfis …], hello11:28
*** OhYash1 is now known as ohyash11:41
T42<elros34> @polanobi: you need to revert following commit first Then make hybris-hal in HABUILD and --droid-hal. To build image use --mic11:41
T42<polanobi> @elros34 [@polanobi: you need to revert following commit …], yes11:42
T42<polanobi> @elros34 [@polanobi: you need to revert following commit …], all in habuild11:43
T42<polanobi> or make -j16 hybris-hal in habuild11:44
T42<elros34> no, in HABUILD you only execute make11:44
T42<polanobi> @elros34 [no, in HABUILD you only execute make], okay11:44
T42<polanobi> Okay11:44
T42<elros34> @polanobi please don't use reply, this is irc channel11:51
T42<polanobi> @elros34 [@polanobi please don't use reply, this is irc …], yes11:51
T42<polanobi> sorry . thanks u11:51
T42<polanobi> (Photo, 1280x815)
T42<RealDanct12> one thing to keep in mind that build_packages only runs on one thread14:07
T42<RealDanct12> probably to avoid linking problems, not sure14:07
T42<elros34> @rinigus shouldn't collectd.spec have Requires: rsync? I just notice fails because of missing rsync15:57
riniguselros34: looks like it.15:58
riniguscan you submit issue or even better PR?15:58
T42<elros34> sure15:59
asrielDylan Van Assche: You haven't logged in to freenode17:41
asrielAnd now people from the other side are gonna get confused and thinking I have mental health issues17:46
rinigus@elros34: just stumbled on your sailfishos-launcher-multi-instances-patch patch. seems like X-Nemo-Single-Instance=no is not sufficient to start multiple instances of an app. or do I use it wrong?18:01
rinigussomewhat an issue when you want to start several flatpak apps with the same wrapper18:03
kimmoliworks for me with fingerterm...18:03
riniguskimmoli: its like I can start 2, but then not more. rather odd, most probably I do something wrong18:04
kimmolijust tested 6. usually just 2...18:08
riniguskimmoli: would you mind to pastebin example .desktop and tell which sfos do you run these days18:10
kimmolithis is on the oooold. but that excact line is there18:10
T42<elros34> I just checked it in regular gui app and works good in release18:11
rinigus@elros34: without your patch?18:13
T42<elros34> of course with patch18:13
T42<elros34> it's just 2 lines patch but maybe something changed in 3.2.1 (I assume you use latest)18:15
rinigus@elros34: but why doesn't it work without patch?18:16
riniguskimmoli: do you use that patch?18:16
T42<elros34> that is a question to jolla why they removed support for it18:16
rinigus@elros34: thank you very much!18:20
rinigus@elros34: filed an issue at
T42<elros34> I expect faq update :)18:34
rinigus@elros34: hmm... let's hope it will not happen18:37
DylanVanAsscheI have a sensorfw question...I have a magnetometer (IIO) which return Gauss values for X,Y,Z. It's not showing up in Messwerk while sensorfw reads the values properly.I saw that qtsensors expects nano Teslas as input? I18:44
DylanVanAsschesuppose that I must convert the Gauss values to nano Tesla to get the magnetometer working in Qt?18:44
T42<edp_17> What is flatpak?18:54
rinigusedp_17: . for us, a path to qt5.12, today18:57
T42<edp_17> Thank you.18:58
T42<edp_17> How can I use flatpak apps on Sailfish?19:00
T42<meierrom> @edp_17: you may not want to use it just yet. :)19:03
T42<edp_17> Why, is it so dangerous or I am too rookie? πŸ˜„19:05
rinigus@edp_17: in short, not ready for public. it requires libhybris that may come out with the next sfos release (unless you use a port with it already). there are few things missing, but you can search for a project and see the issues19:10
DylanVanAsschemal: Adam and I discovered that the screen is completely dark when setting the brightness slider to the middle or lower. Is there a way to configure the minimum brightness?19:11
T42<edp_17> I see, thank you for explaining.19:11
T42<adampigg> mal: on the pinephone, when setting the screen brightness slider to max, it isnt actuall near the max according to files in /sys19:13
T42<adampigg> max is 10, slider can set it to 2 or 319:13
*** DylanVanAssche is now known as DylanVanAssche__19:21
malpiggz known issue, let's talk tomorrow19:22
T42<adampigg> ah, it is the adaptive brightness19:22
T42<elros34> I played today with brightness on mainline and have to set min pwm to 28 in dts. Lower values disable backlight at all. Also I have no als sensor so I had to disable als filter in mce19:23
malthe default ranges are a problem19:23
T42<adampigg> mal: when i turn off auto brightness, it works fine .... what is happening, is when the brightness is too low, the screen turns off!19:23
malI had the same issue on fp2 originally19:23
malI'm at a pub now so can't help tonight19:24
T42<adampigg> mal: thx, np :)19:25
T42<adampigg> enjoy19:25
DylanVanAssche__mal: enjoy!19:25
T42<adampigg> i will tell you about my fun tomorrow with a jolla-related acquisition19:26
T42<adampigg> when i mean jolla-releted, its a tenuous link!19:27
T42<adampigg> i wonder if we can override the min brighness to be 1 not 019:30
T42<adampigg> searching the logs :)19:31
T42<adampigg> i see similar discussions19:31
T42<edp_17> @mal: Drink a beer for me. 😎20:29
T42<edp_17> @elros34 : I have removed the block part from /dev/block/mmcblk* in 3 files in /lib/systemd/system/ (efs.mount, preload.mount and system.mount)22:20
T42<edp_17> Plus I deleted the /init_enter_debug2 file.22:20
T42<edp_17> Now the phone reboots continuesly and I cannot get in because I don't have time to bring up the usb network before it reboots.22:20
T42<edp_17> I think the only way to go back is flashing the recovery, the rom then the kernel again.22:21
T42<elros34> so you shoudn't remove init_enter_debug2, you can still boot systemd22:22
T42<edp_17> Seemingly removing the block part didn't solve the issue but made it worse. 😒22:22
T42<elros34> enable persistent journal and grab full log22:23
T42<edp_17> Yeah, now I now that removing the init_enter_debug2 was a bad idea.22:24
T42<edp_17> So you still reccommed to remove the block part from those files?22:24
T42<elros34> yes. There is instruction when you telnet how to contiue booting  without removing it. I don't understand why you want to flash everything again. Can't just flash recovery, create init_enter_debug2 and flash hybris-boot?22:26
T42<edp_17> I don't want to flash everything. I try to flash recovery only then create init_enter_debug2.22:28
T42<elros34> ok, so I misunderstand22:29
T42<edp_17> I cannot flash hybris-boot because its format is different what the S2 kernel. That's why I flashed the kernel file to the KERNEL partition. (I am not shouting, this is the name of the partition.)22:29
T42<elros34> so if you dont use usuall hybris-boot then I guess you didn't disable selinux and that is the reason it fails. Disable it via CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=022:32
T42<edp_17> Ok, so I need to rebuild the kernel file, then flash that one. I got it.22:33
T42<edp_17> Do I need the CONFIG_SECURITY_SELINUX_BOOTPARAM=y?22:34
T42<edp_17> Currently that is not set.22:35
T42<edp_17> @elros34 : You said to check fixup-mountpoints file for i9300. In my current fixup-mountpoints file there is one line for the i9300: -e 's /block/ / '\22:39
T42<elros34> how can you still don't know how to properly disable selinux and still set  bootparam=n22:43
T42<edp_17> I didn't touch those in defconfig because I added the selinux=0 in the board file. Afaik that should be sufficient or not?22:44
T42<edp_17> Then it turned out this device coudn't boot with hybris-boot.img, but since I didn't compile a new kernel just removed the block part in the suggested files.22:46
T42<edp_17> Okay, I have been thinking and realized didn't need to flash the recovery either. I rebuilt hybris-hal (added ...selinux_bootparam=y and ..._value=0) and only flashed the kernel file.22:51
T42<edp_17> Now, after the reboot, I have usb network, the device doesn't reboot and I can ssh in. πŸ˜ƒ22:52
T42<edp_17> I get some logs.22:52
T42<edp_17> mount:
T42<edp_17> journalctl:
T42<edp_17> The 'cat /proc/last_ksmg' is still giving me 'cat: /proc/last_ksmg: No such file or directory'22:58
T42<edp_17> Well, it seems sailfish has found the external sd card and read all its content including my music files.23:00
T42<elros34> it's old hwcomposer so try EGL_PLATFORM=fbdev in droid-hal-device.conf23:19
T42<edp_17> And what about the QT_QPA_PLATFORM? (In the same file.) That is also set to hwcomposer23:22
T42<edp_17> In the meantime I ran the 'EGL_PLATFORM=hwcomposer lipstick --platform hwcomposer' on the device and got this:
T42<edp_17> Plus how can I change the hwcomposer to fbdev on the device?23:24
T42<edp_17> Ok, it was a stupid question. I know how. Thanks.23:25
T42<elros34> edit file I mentioned? you can't run lipstick as root and without stoping it first23:25
T42<edp_17> I have changed that in the file on device, then as root I entered 'systemctl --user restart lipstick'.23:36
T42<edp_17> A blue circle appeared on the phone, then few seconds later it disappeared. Now the screen is blank (black)23:36
T42<edp_17> Should I reboot or do something else?23:36
T42<edp_17> Yeah, the blue circle is there just the screen went off. When I press the home button I see the circle animating. 😊23:38
T42<edp_17> Oh my, I read your post as "... you CAN run lipstick as root and without stopping it first."23:43
T42<edp_17> I rebooted the device and the initial setup started!!!!!!! WOOOOOOOOOOOHOOOOOOOOO! πŸ˜„23:44
T42<edp_17> The pixel ratio is not right as too big (Unfortunately I set 2 but should have left it on 1.) Now I am trying to go through the initial setup.23:45
T42<edp_17> First issue, the screen doesn't do anything when I touch it.23:46
T42<edp_17> Can this down to the QT_QPA_PLATFORM which is also currently set to hwcomposer?23:47
T42<elros34> no, you just set wrong touchscreen node. Remove :/dev/input/eventX from droid-hal-device.conf. If it doesn't work then just cat /dev/input/eventX and touch screen untill you find out correct one23:49
T42<edp_17> I removed and it worked! 😁23:56
T42<edp_17> Everything is too large on the screen. I cannot skip/or set up the 'Select Internet connection' because I cannot scroll down to the wifi networks (or maybe because there is no list) or to the skip button because the text is too large on the screen. Can I change this somehow?23:59

Generated by 2.17.1 by Marius Gedminas - find it at!