liux | I'm on the wrong direction. the video playback freezes just like video recorder, so it should be nothing to do with camera patches | 04:15 |
---|---|---|
* Danct12 sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/skRhQUauJCdDmTUaCZqEakFR > | 06:27 | |
Danct12 | can anyone help me with this include error? | 06:27 |
Danct12 | i've added it to device.mk but that seems to be nothing happening | 06:27 |
Danct12 | PRODUCT_PACKAGES += \ libhwc2_compat_layer | 06:27 |
T42 | <Harsh18262> clone libhybris to some suitable place, either external/ or hybris/mw/ git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git -b android8-initial | 06:35 |
T42 | <Harsh18262> @Danct12 | 06:35 |
electro5751 | hi all | 06:50 |
electro5751 | i bootloop in the startup | 07:09 |
electro5751 | i'm trying minimal config | 07:09 |
electro5751 | why i always have this error : CONFIG_IKCONFIG_PROC is invalid | 08:00 |
electro5751 | mal, i have this error ERROR: CONFIG_IKCONFIG_PROC is invalid | 08:11 |
electro5751 | but i don't know how it's possible to valid this | 08:12 |
electro5751 | i had already write to my def_conf CONFIG_IKCONFIG_PROC=y | 08:12 |
T42 | <elros34> I am pretty sure you already asked it yesterday... Look at "depends on" in https://cateee.net/lkddb/web-lkddb/IKCONFIG_PROC.html | 08:13 |
T42 | <elros34> electro5751: add this line "repo —name=glibc-kernel-3.0 —baseurl=http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_3.0.3.9/" to your *.ks file otherwise kernel will crash when it reach init-debug. Make sure it is included in image (glibc.armv7hl 2.25+git5+3.0.0-1.8.1.jolla package in Jolla-3.0.3.9-$DEVICE-armv7hl.packages | 08:17 |
T42 | file) | 08:17 |
electro5751 | how can i search this glibc.armv7hl in this file Jolla-3.0.3.9-$DEVICE-armv7hl.packages | 08:18 |
electro5751 | unzip and search ? | 08:18 |
T42 | <elros34> it's just regular text file you dont have to unzip it | 08:19 |
electro5751 | this must be enable : CONFIG_VT=y | 08:19 |
electro5751 | no disable -> with make -> error CONFIG_VT=n | 08:20 |
T42 | <elros34> not at this point, better disable it | 08:20 |
electro5751 | not possible | 08:20 |
T42 | <elros34> use pastebin.com (depaste already expired) and show your yesterday defconfig changes | 08:21 |
electro5751 | ok | 08:23 |
electro5751 | elros34, how do diff with git ? | 08:24 |
electro5751 | i'm not an expert with this | 08:24 |
electro5751 | https://dpaste.de/BCGb | 08:25 |
T42 | <elros34> you forgot some commands before build but anyway I asked about changes so go to kernel dir and type "git diff" | 08:28 |
electro5751 | git diff with ? sdk or HABUILD_SDK | 08:29 |
electro5751 | no output with git diff | 08:30 |
T42 | <elros34> it doesn't matter, you can use even host system | 08:31 |
electro5751 | even host system ? | 08:31 |
electro5751 | i can paste you my defconf | 08:32 |
electro5751 | https://dpaste.de/Wzbq | 08:34 |
electro5751 | i have add this : CONFIG_VT=n | 08:34 |
electro5751 | CONFIG_DEVTMPFS=n | 08:34 |
electro5751 | CONFIG_CGROUP_MEM_RES_CTLR=n | 08:34 |
electro5751 | CONFIG_DEVTMPFS_MOUNT=y | 08:34 |
electro5751 | CONFIG_IKCONFIG_PROC= | 08:34 |
electro5751 | CONFIG_IKCONFIG= | 08:34 |
electro5751 | CONFIG_PROC_FS= | 08:34 |
electro5751 | as you said yesterday elros34 | 08:35 |
T42 | <elros34> so any changes when you flash kernel? | 08:36 |
rudi36 | Anyone working on a port for Xperia 10 ? | 08:39 |
electro5751 | Warning: you may need to install module-init-tools | 08:39 |
electro5751 | again this error : CONFIG_IKCONFIG_PROC is invalid | 08:40 |
electro5751 | no rudi36, no sony mobile for me | 08:40 |
T42 | <elros34> add only this configs: https://pastebin.com/uH6Ew01B. I think I didn't miss anything important but compare it with out/*/.config | 08:42 |
T42 | <Harsh18262> @elros what does " " mean in defconfig | 08:43 |
T42 | <elros34> empty path? | 08:43 |
T42 | <Harsh18262> CONFIG_UEVENT_HELPER_PATH="" | 08:43 |
T42 | <Harsh18262> In this | 08:43 |
electro5751 | this configs for defconfig ? | 08:44 |
T42 | <elros34> yes, only this changes. Then make hybris-boot and flash it via odin. type dmesg -w, reset terminal, power on device and connect it to pc | 08:46 |
T42 | <elros34> @Harsh18262 default value is CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 08:47 |
electro5751 | ok, i try to rebuild all and see | 08:47 |
electro5751 | without your changes | 08:47 |
T42 | <elros34> not all I said hybris-boot | 08:47 |
electro5751 | ok | 08:47 |
T42 | <Harsh18262> So what does making the path empty do? | 08:47 |
T42 | <elros34> I don't know it's explained in mer-kernel-checker: https://github.com/mer-hybris/mer-kernel-check/blob/master/mer_verify_kernel_config#L186 | 08:48 |
T42 | <Harsh18262> Ok | 08:49 |
T42 | <LittleBoy8506> https://paste.ubuntu.com/p/fXrTsM7HDx/ | 08:49 |
T42 | <austenite> anbox started ! how can i simulate android 'back' ? | 08:49 |
electro5751 | flash with twrp it's the same no ? | 08:50 |
T42 | <elros34> I am not sure, better use normal fastboot/odin way | 08:52 |
electro5751 | what is fastboot cmd ? | 08:53 |
electro5751 | when i can use fastboot, in what mode ? | 08:53 |
T42 | <elros34> most devices use fastboot but samsung use odin | 08:54 |
Danct12 | Harsh18262, am I doing this right? | 08:54 |
* Danct12 sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/NAkjRzDJQzHnxGihWHfeFzJU > | 08:54 | |
Danct12 | aka another libhybris folder in external/libhybris | 08:54 |
T42 | <Harsh18262> No got to external and git clone there no inside the libhybris folder | 08:55 |
electro5751 | i'm on linux | 08:55 |
electro5751 | i don't if odin is avaliable on debian | 08:55 |
Danct12 | yes, i did git clone and fetch submodules inside hadk/external | 08:56 |
T42 | <elros34> Danct12: looks good | 08:56 |
T42 | <elros34> Danct12: but instruction is obsolete use master branch like in faq-hadk (channel topic) | 08:59 |
Danct12 | ooooooh | 09:02 |
Danct12 | i didn't know that faq-hadk etherpad was on the topic | 09:02 |
Danct12 | thank you | 09:03 |
electro5751 | i don't remember how to flash with odin, .. | 09:07 |
electro5751 | elros34, don't arrived to flash boot.img | 09:14 |
electro5751 | with odin, failed not pass | 09:14 |
T42 | <elros34> NOT boot.img hybris-boot | 09:15 |
T42 | <elros34> this is the correct kernel image out/target/product/$DEVICE/hybris-boot | 09:16 |
electro5751 | yes | 09:16 |
electro5751 | but what option Odin select for this | 09:16 |
electro5751 | Bootloader or AP ? | 09:16 |
electro5751 | to flash this | 09:16 |
T42 | <elros34> I don't use it so can't help you but for sure you shoudn't touch bootloader | 09:17 |
T42 | <elros34> also format data in twrp until you build sfos image with repo I gave you | 09:17 |
electro5751 | with repo ? | 09:18 |
electro5751 | this | 09:19 |
electro5751 | https://pastebin.com/uH6Ew01B | 09:19 |
T42 | <elros34> http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-07-20.log.html#t2019-07-20T08:17:40 | 09:19 |
electro5751 | yes this | 09:21 |
electro5751 | repo —name=glibc-kernel-3.0 —baseurl=http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_3.0.3.9/ | 09:21 |
Danct12 | btw i also want to move my hadk folder | 09:23 |
Danct12 | it's easy as "mv hadk destination" | 09:23 |
Danct12 | am i right? | 09:23 |
electro5751 | mv yes but | 09:25 |
electro5751 | try with other folder before to be sure | 09:25 |
electro5751 | elros34 : Where i must tape this cmd ? add this line "repo —name=glibc-kernel-3.0 —baseurl=http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_3.0.3.9/" | 09:26 |
T42 | <elros34> add to your Jolla-@RELEASE@-$DEVICE-@ARCH@.ks file | 09:27 |
electro5751 | ok | 09:27 |
electro5751 | /home/sailfish-dev/hadk/sfe-t0lte-3.0.3.10/Jolla-3.0.3.10-t0lte-armv7hl.ks | 09:28 |
electro5751 | this file is not writable | 09:30 |
T42 | <Harsh18262> Try using sudo | 09:31 |
T42 | <austenite> @birdzhang how did you bring keyboard in anbox? | 09:31 |
electro5751 | it's good | 09:32 |
electro5751 | what i must do after this ? | 09:32 |
electro5751 | elros34 | 09:32 |
T42 | <elros34> wrong, path is $ANDROID_ROOT/Jolla-@RELEASE@-t0lte-@ARCH@.ks, then you need to run mic again | 09:37 |
electro5751 | okey | 09:37 |
electro5751 | so i recompile the zip | 09:38 |
electro5751 | and flash lineageOS and sailfish OS ? | 09:38 |
T42 | <austenite> you can remove previously flashed sailfish files by rm -rf /data/.stowaways in adb shell | 09:40 |
electro5751 | you're talking to me ? austenite | 09:41 |
T42 | <austenite> yes | 09:42 |
T42 | <elros34> no you don't have to remove sailfish or flash lineage, just flash sfos image and then also hybris-boot manually (via heimdall or twrp but it might be the reason for your trouble) | 09:42 |
electro5751 | sfos image ? | 09:43 |
electro5751 | what is it | 09:43 |
T42 | <elros34> cmon, what did you flash earlier (zip file with sfos rootfs) | 09:45 |
electro5751 | i'm lost | 09:45 |
electro5751 | what is exactly sfos ? | 09:46 |
T42 | <Harsh18262> @elros is it necessary to make a new rootfs zip after doing changes in defconfig ? | 09:46 |
T42 | <Harsh18262> Sfos= sailfish os | 09:46 |
electro5751 | ok | 09:46 |
T42 | <Harsh18262> Rootfs zip is the zip u flash after lineage os | 09:47 |
T42 | <elros34> @Harsh18262 no, you can just make and flash hybris-boot but he also needs patched glibc so new rootfs is necessary | 09:48 |
T42 | <Harsh18262> Ok | 09:50 |
electro5751 | i must enable in defconfig | 09:50 |
electro5751 | CONFIG_DEVTMPFS=y | 09:50 |
electro5751 | CONFIG_DEVTMPFS_MOUNT=y | 09:50 |
electro5751 | elros34, when you say it might be the reason for your trouble | 09:55 |
electro5751 | it's because i don't arrived to flash the hybris-boot.img with odin ? | 09:56 |
electro5751 | but this part is flash with Sfos no ? | 09:56 |
T42 | <birdzhang> @ @austenite not found the way | 09:58 |
T42 | <elros34> I mean (If I get it right) your yesterday dmesg logs suggest that you didn't flash hybris-boot at all. You never show flash log from twrp so I can only guess | 09:59 |
electro5751 | ok, it's possible to show log with TWRP ? | 09:59 |
electro5751 | when ? or where in TWRP | 10:00 |
T42 | <elros34> after flashing sfos zip there should be something in /tmp/recovery.log or somewhere | 10:01 |
electro5751 | ok, thanks | 10:01 |
electro5751 | but sfos contain hybris-boot no ? | 10:01 |
T42 | <elros34> yes | 10:02 |
electro5751 | ok | 10:03 |
electro5751 | so i recompile all | 10:03 |
electro5751 | and see the log after flashing | 10:03 |
electro5751 | with fastboot, it's not possible to flash hybris-boot ? | 10:04 |
liux | it printed "E/OMX-VDEC-1080P( 5456): startServiceThroughActivityManager() couldn't find activity service!" when i playback video or recode video. that might be the reason why video freezes | 10:28 |
r0kk3rz | liux: you built droidmedia? | 10:30 |
liux | r0kk3rz, yes, i built droidmedia with latest master and same version as my cm-11.0 based sfos. both not work for the issue | 10:32 |
r0kk3rz | interesting, you might want to talk to abranson | 10:35 |
liux | r0kk3rz, yes, seems he is not here these days. what do you think i can check myself before talk to him? | 10:38 |
T42 | <austenite> @birdzhang keyboard and anbox is usable, is it possible to replace the anbox system image with one of custom rom system? | 10:39 |
r0kk3rz | liux: enable some more android services maybe | 10:45 |
liux | r0kk3rz, per droidmedia commit log, it should be Android 9 devices require an activity manager service, and i can find "FakeActivityManager::instantiate();" in droidmedia. but my synced repos should be cm-12.1. no reason need it, except some repos updated to same commit as android9 | 10:49 |
r0kk3rz | ah, its possible it could have broken older adaptations | 10:50 |
r0kk3rz | try downgrading droidmedia | 10:50 |
liux | r0kk3rz, i've tried. it's same | 10:51 |
r0kk3rz | how far back did you go? | 10:51 |
liux | tag 0.20190704.0 for droidmedia, which works fine for my cm-11.0 based sfos | 10:52 |
electro5751 | elros34, failed to extract filesystem | 10:53 |
liux | r0kk3rz, do you know which repo invokes "activity manager service"? it should be updated for android 9 but should downgrade for old version | 10:54 |
T42 | <elros34> electro5751: no wonder kernel does not work .. | 10:56 |
electro5751 | where are the log | 10:56 |
electro5751 | in twrp | 10:56 |
T42 | <elros34> search, I gave you the possible path, it shouldn't be hard to find | 10:57 |
electro5751 | i can give you the log | 10:57 |
electro5751 | tar: out of memory | 10:59 |
electro5751 | tar: short write | 10:59 |
electro5751 | run_program: child exited with status 1 | 10:59 |
electro5751 | script aborted: Failed to extract filesystem! | 10:59 |
electro5751 | Failed to extract filesystem! | 10:59 |
electro5751 | the end of the log file | 10:59 |
electro5751 | https://dpaste.de/b3RO | 10:59 |
electro5751 | out of memory ? | 11:00 |
T42 | <elros34> you need to downgrade twrp because of bug in tar: try 3.0.2 version | 11:00 |
electro5751 | ok | 11:00 |
electro5751 | another way maybe to flash sailfishOS ? | 11:01 |
T42 | <elros34> you could use sfos busybox tar but I never tried it so can't give you detailed instruction. Flashing older twrp should be easy | 11:02 |
electro5751 | yes | 11:02 |
electro5751 | where is locate sfos busybox ? | 11:03 |
electro5751 | fastboot to flash old twrp | 11:04 |
T42 | <elros34> busybox is somwhere in out/. Fastboot is for non samsung devices, use heimdall or odin | 11:05 |
electro5751 | ok | 11:10 |
electro5751 | what busybox do ? | 11:10 |
electro5751 | it's better | 11:14 |
electro5751 | https://dpaste.de/tfRj | 11:14 |
electro5751 | elros34 | 11:14 |
electro5751 | i'm not sure that line is really done : Flashing hybris-boot.img ... | 11:16 |
electro5751 | normally is ext4 no ? | 11:17 |
electro5751 | I:Actual block device: '', current file system: 'vfat' | 11:17 |
electro5751 | bootloop again :/ | 11:20 |
electro5751 | how can i check the start of the device ? | 11:28 |
T42 | <elros34> what dmesg show when it bootloops? does your minimal defconfig is really used (check out/*/.config) | 11:32 |
electro5751 | minimal config yes | 11:35 |
electro5751 | dmesg with ? my computer | 11:36 |
electro5751 | nothing with dmesg | 11:37 |
electro5751 | maybe log at startup ? | 11:37 |
T42 | <elros34> really nothing when it reboots? then hold recovery button | 11:38 |
electro5751 | nothing more | 11:39 |
electro5751 | can i check the log ? | 11:41 |
electro5751 | of the startup | 11:41 |
T42 | <elros34> thats the point I told you to hold recovery button but you like to ignore | 11:42 |
electro5751 | nono | 11:43 |
electro5751 | at is the location of the log | 11:43 |
electro5751 | /proc/ | 11:44 |
T42 | <elros34> same as yesterday but did it actually reboot to recovery or you turn off device and and boot to recovery itself | 11:44 |
T42 | <elros34> ? | 11:44 |
electro5751 | i don't know really if the device turn off | 11:45 |
electro5751 | reboot | 11:45 |
electro5751 | bootloop so don't turn off | 11:45 |
electro5751 | the battery was again in the device | 11:46 |
electro5751 | /proc/last_kmsg : https://dpaste.de/4xtt | 11:47 |
electro5751 | elros34, block in starting kernel ? | 11:48 |
electro5751 | i copy all log | 11:49 |
T42 | <elros34> So kernel probably still crash early or this log is garbage. Show your out/*/.config | 11:50 |
electro5751 | hadk/out | 11:51 |
electro5751 | ok but after no .config | 11:51 |
electro5751 | what file do you want ? | 11:52 |
electro5751 | out/*/.config: Aucun fichier ou dossier de ce type | 11:53 |
electro5751 | https://dpaste.de/niWG | 11:53 |
electro5751 | elros34 ? | 11:55 |
electro5751 | mal, an idea ? | 11:57 |
electro5751 | i'm copying full log | 12:10 |
electro5751 | i send you after | 12:10 |
electro5751 | elros34 : here full log | 12:18 |
electro5751 | https://dpaste.de/Swcc | 12:18 |
electro5751 | EXT2-fs (mmcblk0p16): error: couldn't mount because of unsupported optional features (44) | 12:19 |
electro5751 | [MMC] there are pending interrupts 0x00010000 | 12:20 |
electro5751 | my last def config | 12:26 |
electro5751 | https://dpaste.de/GHNo | 12:26 |
T42 | <elros34> show your generated defconfig, search it in out/ with name .config. ALso go to trwp and check if /data/.stowaways/sailfishos/init.log exists | 12:29 |
electro5751 | ok | 12:30 |
T42 | <elros34> so you didn't paste whole log earlier because in latest sailfish boots | 12:30 |
electro5751 | whole log ? | 12:31 |
electro5751 | no, but earlier i didn't have the time to paste all file | 12:31 |
electro5751 | /home/sailfish-dev/hadk/out/target/product/t0lte/obj/KERNEL_OBJ/.config | 12:32 |
electro5751 | /home/sailfish-dev/hadk/out/target/product/t0lte/obj/busybox/full/.config | 12:32 |
T42 | <elros34> so maybe you learn now to ALWAYS paste whole logs to not waste your and our time | 12:32 |
electro5751 | yes, i know, ... | 12:33 |
electro5751 | tets | 12:34 |
electro5751 | https://dpaste.de/mzKm | 12:34 |
electro5751 | for this : hadk/out/target/product/t0lte/obj/KERNEL_OBJ/.config | 12:34 |
T42 | <Harsh18262> @elros34 is it possible that the .config file has more lines than defconfig | 12:35 |
electro5751 | https://dpaste.de/xauV | 12:36 |
electro5751 | i see twrp log | 12:36 |
electro5751 | https://dpaste.de/tQqu | 12:37 |
T42 | <elros34> @Harsh18262 .config is generated when you build kernel so it may have different options set or unset than your defconfig so you always have to use mer-kernel-checker against .config | 12:38 |
T42 | <elros34> touch /data/.stowaways/sailfishos/init_enter_debug2 in twrp so it will stop rebooting and get host dmesg | 12:39 |
electro5751 | okey | 12:40 |
electro5751 | can i reboot so ? | 12:42 |
electro5751 | i suppose i can connect with telnet | 12:43 |
electro5751 | https://dpaste.de/EhB1 | 12:44 |
mal | liux: we only added activity manager to android 9 base in droidmedia, no older versions ever needed it before | 12:44 |
electro5751 | Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd | 12:45 |
electro5751 | IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u2: link is not ready | 12:45 |
T42 | <elros34> so can you: telnet 192.168.2.15 2323 ? | 12:47 |
electro5751 | i can't | 12:47 |
electro5751 | but the phone not restart | 12:48 |
electro5751 | IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u2: link is not ready | 12:48 |
T42 | <elros34> on some device it might have issues: try with different usb port or cable if it doesn't help then this guide always helps me: http://docs.halium.org/en/latest/porting/debug-build/early-init.html#debugging-via-telnet | 12:50 |
mal | check if the interface exists and if it got an ip, if no ip then set one manually 192.168.2.2 for example | 12:51 |
electro5751 | telnet is okey | 12:53 |
electro5751 | i'm connecting | 12:54 |
T42 | <elros34> ok so make sure you can always telnet to device and start enabling more options to defconfig | 12:55 |
electro5751 | can always telnet ? with what hardware configuration ? | 12:56 |
electro5751 | defconfig on my device by telnet or with my computer ? | 12:56 |
electro5751 | i must go to take a shower | 12:57 |
electro5751 | 15 min | 12:57 |
liux | mal, i see. then the activity manager service could not be the cause of video frozen. perhaps it's codec error? have no idea how to debug it | 13:08 |
asriel[m] | Good evening! | 13:11 |
asriel[m] | Danct12: Have you figured out how to compile it yet? | 13:11 |
asriel[m] | The hybris-hal thing that is failing | 13:11 |
Danct12 | yep, alot of fixes can be found here http://bit.ly/faq-hadk | 13:12 |
Danct12 | which is on the channel topic and didnt even notice that | 13:12 |
mal | liux: in android 9 that broke camera at least, maybe codecs also | 13:13 |
mal | liux: which android base are you using? | 13:13 |
liux | mal, it's cm-12.1, android 5.1.1 | 13:14 |
mal | quite odd why that would require it | 13:14 |
mal | liux: did you find anything related to that in your android base? | 13:15 |
liux | mal, yes, but that repo's last update was in 2015 for cm-12.1. it's "hardware/qcom/media-caf/msm8960/mm-video/vidc/vdec/src/omx_vdec.cpp:255: ALOGE("startServiceThroughActivityManager() couldn't find activity service!\n");" | 13:17 |
liux | mal, so it might be an warning which not casued the video frozen? | 13:18 |
asriel[m] | Hey guys, I have an error about bootanimation requires imagemagick | 13:20 |
mal | so install it? | 13:29 |
electro5751 | elros34, if i active some module, how we can debug the init ? | 13:29 |
electro5751 | you are developers of sailfishOS ? | 13:30 |
mal | liux: the change is very old, so the issue is probably something else | 13:32 |
mal | liux: did you check the media*.xml symlinks in /etc and other things like that | 13:32 |
liux | mal, the logcat log was pasted here: https://paste.ubuntu.com/p/t696RYCyn3/ | 13:32 |
T42 | <elros34> you mean CONFIG_ ? Just make sure you can still telnet. When you enable most of them and you still would have telnet access then you can remove init_enter_debug2 so it will start booting sfos. Then you can use journalctl —no-page to grab usefull log | 13:34 |
liux | mal, is there any correct sample for media*.xml symlinks? I have no idea how to check there | 13:34 |
mal | liux: link all you have in /system/etc to /etc | 13:34 |
T42 | <Harsh18262> @electro5751 can u send your defconfig from which u r able to telnet i want it for reference | 13:36 |
electro5751 | okey if you want | 13:37 |
electro5751 | why ? you don't arrived to do telnet ? | 13:37 |
T42 | <Harsh18262> nope | 13:38 |
T42 | <Harsh18262> plus are u able to telnet through port 23 or 2323 | 13:38 |
electro5751 | 2323 | 13:39 |
electro5751 | minimal def config | 13:39 |
electro5751 | https://dpaste.de/c2GW | 13:39 |
T42 | <Harsh18262> thx | 13:39 |
T42 | <Harsh18262> this is defconfig or .config | 13:40 |
electro5751 | defconfig | 13:41 |
electro5751 | mal, what i must activate in my defconfig to debug my init with telnet ? | 13:41 |
liux | mal, all linked except one by default. After linked that one then rebooted, video issue is still there... | 13:43 |
mal | liux: does dmesg show anything interesting? | 13:46 |
electro5751 | what can i enable interesting module | 13:47 |
mal | liux: what was not linked? | 13:47 |
mal | liux: why are you updating android base? | 13:48 |
liux | mal, it's "/system/etc/media_codecs_xiaomi_extra.xml" not linked by default | 13:50 |
liux | liux, nothing special in dmesg | 13:50 |
mal | liux: you should show full logcat | 13:51 |
mal | liux: do you see those /dev/msm_vidc* devices in filesystem? | 13:52 |
liux | mal, because the offcial cm-11.0 has unmerged partitions. partitions are merged in later official ROM so i want to adapt those devices with official partitions | 13:52 |
mal | are permissions correctly for those | 13:52 |
mal | liux: you can always try to add the fake activity manager to your base also | 13:54 |
liux | mal, yes. /dev/msm_vidc* are there with correct permission. perhaps i missed some xml for codec in device tree repo? it's not huge update from cm-11.0 to cm-12.1, and all strange issues i met until now were come from device tree, like sensors and BT issues i mentioned here days before | 13:57 |
mal | liux: you ported android yourself or what? | 13:58 |
liux | mal, i'll try to add the fake activity manager as you said and compare device tree i used for cm-11.0 and cm-12.1 | 13:58 |
liux | mal, you mean porting android cm rom? I built cm-12.1 rom because there were no official one | 14:00 |
T42 | <DSstill01> In test_nfc.c in libhybris i noticed the use of "nfc_pn544_device_t" which makes me think that only pn544 nfc chips (/dev/pn544) are supported.am i right? | 14:02 |
mal | test_nfc is not very useful anyway | 14:02 |
mal | @DSstill01 what are you trying to do? | 14:03 |
T42 | <DSstill01> To find out why nfc hal isn't loaded | 14:03 |
T42 | <DSstill01> In logcat i don't see anything about nfc, which should be impossible if nfc worked | 14:04 |
T42 | <DSstill01> And ndef-read says "no nfc adapters found" | 14:05 |
mal | @DSstill0 which android base? | 14:10 |
T42 | <DSstill01> 14.1 but my nfc chip is "s3fwrn5" | 14:10 |
mal | in sfos there is only support for nfc for android 8 or above | 14:11 |
T42 | <DSstill01> Ah lol didnt know that | 14:12 |
mal | unless you implement your own backend for the hal you need | 14:12 |
T42 | <DSstill01> That's out of my knowledge :P | 14:12 |
mal | https://github.com/mer-hybris/nfcd-binder-plugin | 14:13 |
mal | that is the plugin for android 8 or above | 14:13 |
mal | in theory there could be a way to use on older bases if your device happens to be supported some how in qt nfc | 14:14 |
T42 | <DSstill01> Ah ok,i heard of it | 14:14 |
mal | qt nfc has some backends so you just need to check if any of those has support for your chip | 14:15 |
T42 | <DSstill01> I installed it, how to try those backends? | 14:16 |
mal | you need to check sources probably to see what those even support | 14:19 |
T42 | <DSstill01> If i install it, reboot and nfc doesn't work, rip? | 14:23 |
mal | no, most likely those need some other packages to be usable | 14:23 |
T42 | <DSstill01> There are not other packages. I installed all the packages that come up after running zypper search nfc | 14:25 |
T42 | <DSstill01> And searching for example for 'nxp' gives no results (in zypper) | 14:26 |
electro5751 | elros34 so i flash the new SailfishOS, but after restart, i must add "init_enter_debug2" ? | 14:31 |
electro5751 | before restart | 14:32 |
electro5751 | sorry | 14:32 |
T42 | <Harsh18262> Is sfos available for Android 9 as base? | 14:50 |
electro5751 | elros34 : i have tried this but bootloop after this -> remove init_enter_debug2 with telnet | 14:52 |
electro5751 | and so it will start booting sfos -> i have reboot and have again bootloop | 14:53 |
T42 | <elros34> have you added missing defconfig changes? | 14:54 |
electro5751 | no, no | 14:55 |
electro5751 | but | 14:55 |
electro5751 | i have reboot after remove the file | 14:56 |
electro5751 | it's not that what i must do | 14:56 |
electro5751 | remove file | 14:56 |
electro5751 | and after journal | 14:56 |
electro5751 | no ? | 14:56 |
electro5751 | the remove let the OS/kernel start | 14:56 |
electro5751 | this is right ? | 14:56 |
T42 | <elros34> your goal is to enable defconfig changes mentioned by mer-kernel-checker. How many times I have to repeat it? | 14:58 |
electro5751 | i have enable defconfig changes | 14:59 |
electro5751 | i have already 7 warning | 14:59 |
electro5751 | 7 fix | 14:59 |
electro5751 | after remove the file init_enter_debug2 -> | 15:00 |
electro5751 | sh-3.2# journalctl | 15:00 |
electro5751 | No journal files were found. | 15:00 |
electro5751 | -- No entries -- | 15:00 |
electro5751 | elros34, if i have some warning, it's not a problem no ? | 15:03 |
electro5751 | but journalctl , ... | 15:03 |
T42 | <elros34> in one terminal window: "journalctl -f" and "echo continue > /init-ctl/stdin" in second. You should get systemd log | 15:04 |
T42 | <elros34> depends on warning | 15:04 |
electro5751 | no log after that | 15:04 |
electro5751 | ok, i go fix warning | 15:05 |
T42 | <elros34> enable "persistent journalctl" from faq-hadk. You can also mask user service in telnet: ln -s /dev/null /etc/system/system/user@100000.service then "echo continue ..." | 15:09 |
electro5751 | thanks | 15:13 |
electro5751 | SE_LINUX | 16:59 |
electro5751 | c'est peut être pas nécessaire non ? | 17:00 |
electro5751 | SE_LINUX is necessary ? | 17:00 |
electro5751 | elros34, have you a defaut file for defconfig ? | 17:12 |
electro5751 | mal, have you a defaut file for defconfig ? | 17:15 |
electro5751 | one persone have the default defconfig file ? | 17:18 |
T42 | <austenite> electro5751, every device has a different defconfig file | 17:19 |
electro5751 | yes but where can i download the defaut defconfig | 17:19 |
electro5751 | t0lte samsung | 17:20 |
T42 | <austenite> you have lineage one in your device tree | 17:20 |
electro5751 | lineage one ? | 17:20 |
T42 | <austenite> lineageos_t0lte_defconfig | 17:23 |
electro5751 | yes, i have find | 17:26 |
T42 | <austenite> did you modify it after mer-kernel-check | 17:26 |
electro5751 | yes | 17:28 |
electro5751 | i don't arrived to fix warnings | 18:37 |
electro5751 | and now i have errors when i compile | 18:37 |
asriel[m] | Hey everyone, I want to ask about Chapter 6 in HADK | 18:40 |
asriel[m] | Warning: To ensure consistency with HADK build scripts, name your tooling SailfishOS-3.0.0 (or whichever release you are building for) instead of wiki’s suggested SailfishOS-latest, and your target as $VENDOR-$DEVICE-$PORT_ARCH (instead of SailfishOS-latest-armv7hl). Ignore the i486 target. | 18:41 |
electro5751 | yes | 18:41 |
asriel[m] | so instead of the wiki telling you to sdk assist create SailfishOS-latest, you name it as SailfishOS-3.0.3.9 (the current version as reported by /.etc/os-release)? | 18:42 |
T42 | <southern_dust> @mal [https://github.com/mer-hybris/droid-hal-device …], Hei, any fix of the problem: systemd-udevd[1258]: Process '/bin/chmod 0660 /sys//devices/virtual/input/input4/event4/pollrate_ms' failed with exit code 1. | 18:42 |
electro5751 | i dont find chapter 6 | 18:42 |
T42 | <southern_dust> I still met that issue. Using 3.0.3.9 | 18:42 |
asriel[m] | the chapter 6 i was referring to was from https://sailfishos.org/content/uploads/2019/03/SailfishOS-HardwareAdaptationDevelopmentKit-3.0.1.0.pdf | 18:43 |
electro5751 | ok | 18:45 |
electro5751 | i have tape this | 18:45 |
electro5751 | sdk-assistant create SailfishOS-3.0.0 | 18:45 |
electro5751 | http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Tooling-i486.tar.7z | 18:46 |
electro5751 | sdk-assistant create $VENDOR-$DEVICE-$PORT_ARCH | 18:46 |
mal | @southern_dust revert https://github.com/mer-hybris/droid-hal-device/commit/a30cdf08201ee5bbc4f8ea3865bf87efb3770173 in rpm/dhd submodule | 18:50 |
mal | @southern_dust although, have checked if the path even exists, that "/sys//devices/virtual/input/input4/event4/pollrate_ms" | 18:50 |
mal | *have you checked | 18:51 |
mal | I think the issue is that the path might not even exist and the error is not a real error | 18:51 |
T42 | <southern_dust> i'm checking. | 18:52 |
T42 | <elros34> @southern_dust: I use this to suppress udev: https://pastebin.com/MWjKB2S5 | 18:54 |
T42 | <southern_dust> @elros34 well. should I use it as a custom script? | 18:56 |
T42 | <elros34> what? you just patch rpm/dhd and then rebuild droid-hal | 18:58 |
T42 | <southern_dust> ok. I just considering not to change scripts directly. | 19:00 |
electro5751 | elros34 : i try to use your command | 19:30 |
electro5751 | ln -s /dev/null /etc/system/system/user@100000.service | 19:30 |
electro5751 | ln: impossible de créer le lien symbolique '/etc/system/system/user@100000.service': Aucun fichier ou dossier de ce type | 19:31 |
electro5751 | sh-3.2# journalctl -f | 19:31 |
electro5751 | No journal files were found. | 19:31 |
electro5751 | echo continue > /init-ctl/stdin | 19:31 |
electro5751 | no log ! | 19:31 |
electro5751 | i'm block | 19:32 |
electro5751 | mal, an idea ? | 19:32 |
electro5751 | i'm loggin on telnet | 19:32 |
electro5751 | all the day i compiled and try to debug, but , ... | 19:33 |
mal | what exactly are you trying to do | 19:33 |
mal | and what have you done so far | 19:33 |
electro5751 | my phone had bootloop after flash sailfishOS | 19:33 |
electro5751 | so, elros34 has said to me : touch /data/.stowaways/sailfishos/init_enter_debug2 | 19:34 |
electro5751 | it's good, my phone don't bootloop | 19:34 |
electro5751 | i can now have telnet access to my phone | 19:34 |
electro5751 | <elros34> enable "persistent journalctl" from faq-hadk | 19:34 |
electro5751 | You can also mask user service in telnet: | 19:35 |
electro5751 | ln -s /dev/null /etc/system/system/user@100000.service | 19:35 |
mal | did you continue boot after that? have you disabled any systemd services? | 19:35 |
mal | you should mask droid-hal-init.service | 19:35 |
electro5751 | the phone stay at the startup image Samsung Galaxy Note II | 19:35 |
electro5751 | i have reset my defconfig, avec make all -> .zip | 19:36 |
electro5751 | and just fix error | 19:36 |
mal | reset defconfig? what does that mean? | 19:36 |
electro5751 | i want debug the startup | 19:36 |
electro5751 | just remove my defconfig and copy all default config | 19:37 |
electro5751 | what i must do to debug my phone | 19:38 |
electro5751 | with telnet | 19:38 |
electro5751 | i can paste to you /proc/last_kmsg | 19:38 |
electro5751 | what i'm supposed to do after telnet ? | 19:44 |
mal | electro5751: what changes do you have left in defconfig, it obviously needs some changes for sfos to be able to boot | 19:44 |
electro5751 | okey but what is the list of changes | 19:44 |
electro5751 | CONFIG_FHANDLE=y | 19:45 |
electro5751 | CONFIG_DEVTMPFS=y | 19:45 |
electro5751 | CONFIG_DEVTMPFS_MOUNT=y | 19:45 |
electro5751 | CONFIG_IKCONFIG_PROC=y | 19:45 |
mal | that is what kernel checker tells | 19:45 |
electro5751 | added this | 19:45 |
electro5751 | ok but i don't arrived to fix all warning | 19:45 |
electro5751 | error it's ok | 19:45 |
mal | I said to you several times that not all warnings cannot be fixed, ever | 19:46 |
mal | some will always remain as some require certain kernel version | 19:46 |
electro5751 | ok | 19:46 |
electro5751 | so, it's good | 19:46 |
electro5751 | i have wipe data, flash LineageOS and SailFishOS with TWRP | 19:47 |
electro5751 | after ? | 19:47 |
mal | debug via telnet | 19:47 |
electro5751 | ok but what can i debug | 19:48 |
electro5751 | what log can i see | 19:48 |
electro5751 | i don't know this linux system : mer | 19:48 |
mal | dmesg, journalctl, depending on how far the boot has gone | 19:48 |
electro5751 | ok, journalctl not available | 19:49 |
mal | like I said already journalctl won't be there if you added init_enter_debug2, unless you manually continue the boot as instructed in telnet | 19:49 |
electro5751 | https://dpaste.de/MCLd | 19:50 |
electro5751 | echo "continue" >/init-ctl/stdin | 19:50 |
electro5751 | echo "ls -l /" >/init-ctl/stdin | 19:51 |
electro5751 | i don't know exactly where can i begin | 19:52 |
mal | what is that latter? that makes no sense at all | 19:53 |
electro5751 | continue the boot | 19:54 |
electro5751 | yes, but no boot OS | 19:54 |
electro5751 | just block on battery picture | 19:54 |
electro5751 | because the device is linked with the computer | 19:54 |
electro5751 | nothing more | 19:54 |
electro5751 | i'm lost to debug a phone | 19:55 |
electro5751 | /proc/last_dkms | 19:56 |
electro5751 | https://dpaste.de/Qs21 | 19:56 |
electro5751 | mal, Starting kernel at 0x40008000... but nothing more | 19:57 |
mal | based on your kernel commandline in that log you didn't do what we said, there should be selinux=0 in kernel commandline | 19:59 |
electro5751 | https://wiki.merproject.org/wiki/Adaptations/faq-hadk#persistent_journalctl: | 19:59 |
electro5751 | humm, it already write | 19:59 |
mal | I really cannot know what you have done and you haven't so helping is quite impossible | 20:01 |
mal | you talked about reseting defconfig which I don't understand, also you don't seem to have done some thing we asked | 20:02 |
T42 | <elros34> electro5751: echo "continue" > /init-ctl/stdin; sleep 5; cat /init.log; journalctl —no-page. I don't believe there is no journal if you said it reboots without init_enter_debug2 | 20:02 |
mal | also that device seems to have a very old kernel, I remember someone saying that 3.0 won't work anymore | 20:03 |
electro5751 | i try selinux=0, sorry | 20:03 |
electro5751 | ok | 20:03 |
T42 | <elros34> mal: I figured out glibc changes for kernel 3.0 | 20:05 |
mal | @elros34 at what point of boot does it fail without those? | 20:06 |
electro5751 | the same | 20:09 |
electro5751 | bootloop | 20:09 |
mal | how soon did it reboot? | 20:09 |
mal | disable droid-hal-init.service and user@100000.service the way you did before | 20:10 |
T42 | <elros34> mal: he already has needed changes otherwise it fail in init-debug because busybox-static needs kernel 3.2 | 20:13 |
mal | ok | 20:13 |
electro5751 | what ? | 20:14 |
electro5751 | it's usefull i try another build ? | 20:15 |
electro5751 | or i must do changes | 20:15 |
T42 | <elros34> electro5751: no, just grab journal log. Did you run commands I gave you 10 minuts ago? | 20:16 |
electro5751 | no, but just compile and try with selinux=0 | 20:17 |
electro5751 | i have save your commands | 20:17 |
electro5751 | elros34 : cmd had to be launched from telnet or adb ? | 20:18 |
T42 | <elros34> there is no adb in sailfish | 20:21 |
electro5751 | ok | 20:21 |
electro5751 | this is telnet | 20:21 |
electro5751 | bootloop again | 20:43 |
electro5751 | 20s and bootloop | 20:43 |
electro5751 | elros34, for journalctl, i must do this changes ? | 20:46 |
electro5751 | vi /etc/systemd/journald.conf | 20:46 |
electro5751 | Storage=volatile --> Storage=automatic | 20:46 |
electro5751 | RateLimitInterval=0 | 20:46 |
T42 | <elros34> of course it bootloop why can't you just post the output of commands I gave you .. | 20:48 |
electro5751 | no output | 20:48 |
electro5751 | the device return to battery picture | 20:49 |
electro5751 | and nothing | 20:49 |
electro5751 | no boot | 20:49 |
T42 | <elros34> not possible there is always at least init.log | 20:49 |
electro5751 | yes, but now don't have anything | 20:50 |
electro5751 | on my terminal | 20:50 |
electro5751 | when i launche this cmd : echo "continue" > /init-ctl/stdin | 20:50 |
electro5751 | i have nothing more than battery picture | 20:50 |
electro5751 | no output | 20:50 |
electro5751 | i can paste to you, /init.log | 20:51 |
electro5751 | and /proc/last_dkms | 20:51 |
electro5751 | what log is necessary to debug at this step ? | 20:51 |
T42 | <elros34> so explain what happen. Did you loose telent as soon as you exe echo continue ? | 20:51 |
electro5751 | yes | 20:51 |
electro5751 | i loose telnet | 20:52 |
electro5751 | no return | 20:52 |
electro5751 | the phone stay block in battery picture | 20:52 |
electro5751 | until i press vol + up for go to recovery | 20:52 |
T42 | <elros34> ln -s /dev/null /etc/systemd/system/droid-hal-init.service and try again to continue | 20:56 |
electro5751 | ok | 20:56 |
electro5751 | i launch all cmd ? | 20:57 |
electro5751 | echo "continue" > /init-ctl/stdin; sleep 5; cat /init.log; journalctl —no-page | 20:57 |
electro5751 | or just : echo "continue" > /init-ctl/stdin | 20:57 |
T42 | <elros34> just continue booting | 20:57 |
electro5751 | ok | 20:57 |
electro5751 | i keep telnet session | 20:59 |
electro5751 | but phone block to battery picture | 20:59 |
electro5751 | i'm lost telnet session sorry | 20:59 |
T42 | <elros34> so maybe charge it? you can grab last_kmsg OR if there is nothing usefull there: while true; do dmesg -c; done in one terminal and continue in another | 21:03 |
electro5751 | charge it ? no charge with this status | 21:03 |
electro5751 | ok | 21:04 |
T42 | <elros34> you can always use trwp | 21:04 |
electro5751 | yes | 21:05 |
electro5751 | but just for reboot system | 21:05 |
electro5751 | https://dpaste.de/SecE | 21:08 |
electro5751 | for last_dkms | 21:08 |
T42 | <elros34> looks like log from android so not useful, try second command | 21:12 |
electro5751 | i have no time to launch dmesg in the same time -> echo "continue" > /init-ctl/stdin | 21:12 |
electro5751 | the phone block telnet connection | 21:14 |
electro5751 | you talk about dmesg ? | 21:14 |
electro5751 | elros34 : https://dpaste.de/bXmK | 21:15 |
electro5751 | dmesg | 21:15 |
electro5751 | the init.log | 21:18 |
electro5751 | https://dpaste.de/HhNJ | 21:18 |
electro5751 | it's time to go sleep -> 23h30 , i keep open a session on this channel | 21:22 |
electro5751 | i read your answer tomorrow | 21:22 |
electro5751 | thank you elros34 | 21:23 |
electro5751 | maybe another person can help for this bootproblem | 21:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!