T42 | <Lewis %lastname%> Fwd from Lewis Day: T.me/marklucasbtc | 02:39 |
---|---|---|
T42 | <Andy %lastname%> @wdehoog [Andy: logo.bin and 1-logo.png must be in the c …], Ok | 07:47 |
T42 | <允棕号 %lastname%> (Photo, 728x542) https://irc.thaodan.de/.imgstore/7eZ8RV1rEH.png TG飞机群发,私聊,在线,增粉;三万优质中文群全网监听服务限时特价;需要请咨询 | 08:28 |
Lamisedaxeh | Hello everyone, i'am new in porting. I would try to port sfos to my phone :P. The HADK doc say we can use LineageOS 15.1 or 16.0. I suppose i can use LineageOS 17.1 to or not ? | 08:55 |
T42 | <Herrie1982> @Lamisedaxeh [Hello everyone, i'am new in porting. I would t …], No | 09:07 |
T42 | <Herrie1982> There are currently no patches for that Android base yet that would be required | 09:08 |
Lamisedaxeh | ok thanks my phone was also compatible with 15.1 i will try with this ^^ | 09:11 |
T42 | <Herrie1982> What is done with porting is basically taking Android build, patching it and only using what's needed to talk to hardware. This is the same for all alternative OS-es really. | 09:14 |
T42 | <ankaos> mal: some bugs remained. It will be available if I can solve them as well. | 15:44 |
T42 | <ankaos> bluetooth volte and sensör | 15:44 |
xmn | guys is it possible to just change the kernel in sailfish on the pinephone? | 15:46 |
T42 | <peperjohnny> xmn you could build it yourself and put it there instead of the installed one | 15:46 |
xmn | true | 15:47 |
xmn | never did that before | 15:47 |
xmn | I was trying to figure out a way to get the battery life of one vers and keep my current setup | 15:48 |
T42 | <peperjohnny> https://wiki.merproject.org/wiki/Adaptations/PinePhone64#Installation | 15:48 |
xmn | I wish I could do some type of backup like the n900. | 15:48 |
T42 | <peperjohnny> Well you can always just clone your sd card | 15:48 |
xmn | I guess rsync it for now | 15:48 |
xmn | yeah, true | 15:49 |
xmn | thanks for the link | 15:49 |
T42 | Těléаgrаm ♀ members Рrivаte and group Рromotio♀ %lastname% was added by: Těléаgrаm ♀ members Рrivаte and group Рromotio♀ %lastname% | 15:49 |
T42 | <peperjohnny> You're welcome | 15:49 |
xmn | I guess cloning is a good fallback | 15:49 |
MTRNord | Hi I started to try to work on a Samsung Galaxy Note 2 international lte (t0lte) port. I am having trouble with a) bootloops (no telnet as soon as the mounts are correct) b) It seems CONFIG_IKCONFIG_PROC either is not supported due to kernel being 3.0.101 without any backports (I used the cm14.1 one as thats the latest lineageos for it) or I am having some compile bug. It does have a kernel/configs.c file which | 15:50 |
MTRNord | seems to do what I need but it does not seem to actually get built. The config options CONFIG_IKCONFIG_PROC and CONFIG_IKCONFIG are set to y in the generated .config. So I am since now 3 days trying everything and having no luck with it to get beyond bootloop. Also only sseing randomly the usb Mer device on my host. An advice would be appreciated. It is my first time doing this but I have some linux knowledge and | 15:50 |
MTRNord | am up to learning this :) | 15:50 |
MTRNord | If it matters I made these changes to the relevant device config https://github.com/MTRNord/android_kernel_samsung_smdk4412/commit/3bad668dc18956fc9bffc2e3ba7c258a76f84588 | 15:50 |
MTRNord | (I started using the pdf) | 15:51 |
T42 | <elros34> kernel 3.0.101 is not supported by current glibc used on sfos. As jolla phone 1 is dropped now, there might be more such a issues in future. You need this in your sparse: https://github.com/elros34/droid-config-moto_msm8960_jbbl/blob/master/sparse/usr/share/ssu/features.d/glibc2.ini | 15:52 |
T42 | <elros34> this will add repo also to ks file but make sure modified glibc and busybox-static is installed on your image | 15:53 |
MTRNord | ahhh ok I could have searched forever and probably would not have found that :) I will have a look and try that | 15:54 |
T42 | <elros34> for sure you can find something about t0lte in irclogs.sailfishos.org | 15:56 |
T42 | <edp_17> MTRNord: smdk4412? You can take a look into my repo (i9100) it might help with your port. https://github.com/edp17?tab=repositories&q=i9100 | 15:57 |
T42 | Leonardo %lastname% was added by: Leonardo %lastname% | 15:59 |
T42 | <Andy %lastname%> @peperjohnny [https://wiki.merproject.org/wiki/Adaptations/P …], Thanks for providing this. Must have taken ages to write | 16:00 |
T42 | <Andy %lastname%> Very thorough | 16:00 |
MTRNord | edp_17: yeah smdk4412. I will take a look :) | 16:01 |
T42 | <Andy %lastname%> @xmn [I guess cloning is a good fallback], Think I need to remember to do this when my SFOS build is working just write on my Pinetab and I am about to do something risky. Good call...a straightforward dd would work? | 16:02 |
xmn | yeah that is my goal as well | 16:03 |
xmn | yeah learning DD as I'm getting more used to do such thing with my Pinephone | 16:04 |
T42 | <peperjohnny> Yup dd works. That's what I used to create the alpha imgs | 16:05 |
xmn | yeah, for me the partion part of it is something I need to learn | 16:05 |
T42 | <Andy %lastname%> @peperjohnny [Yup dd works. That's what I used to create the …], I will make a mental note - before stupidity - shut down-remove and clone sd card 😊 | 16:09 |
T42 | <Andy %lastname%> then start with stupidity again | 16:10 |
xmn | lol | 16:10 |
xmn | couldn't I just backup and replace the home folder? | 16:11 |
xmn | well I guess not since the apps might be in var and other places too | 16:11 |
T42 | <Andy %lastname%> I just wish I could make it boot from my emmc - will wait until that works then have a clone - working sd card to reclone | 16:11 |
T42 | <Andy %lastname%> @xmn [well I guess not since the apps might be in va …], yes | 16:11 |
T42 | <Andy %lastname%> There is a back up function for some things in SFOS | 16:11 |
xmn | yeah used it, but really mostly for settings | 16:12 |
T42 | <Andy %lastname%> Although except for phones messages accounts - not a lot of point. Accounts always need resetting | 16:12 |
xmn | not horrible, but does nothing for apps from storeman | 16:12 |
T42 | <Andy %lastname%> Used to be able to save those too | 16:13 |
T42 | <Andy %lastname%> with a log in I thought | 16:13 |
xmn | I guess you need a jolla account and use the official store maybe? | 16:13 |
T42 | <peperjohnny> Storeman has its own backup feature | 16:14 |
T42 | <Andy %lastname%> no with the storeman there is a back up | 16:14 |
T42 | <Andy %lastname%> yes...as @peperjohnny says | 16:14 |
T42 | <Andy %lastname%> worth exploring | 16:14 |
T42 | <Andy %lastname%> if my b uild ever lasts that long! | 16:14 |
T42 | <peperjohnny> That's why I use two cards :D one stable and one to mess around | 16:15 |
xmn | yeah I did used the storeman backup, but just points to a small text file of what you installed. Maybe I used it wrong | 16:16 |
xmn | peperjohnny, yeah I playing with 4 OS and a multi boot card :P | 16:16 |
xmn | I'm hoping to settle on sailfish, mobian ... but also manjaro, maemo-leste | 16:17 |
T42 | <ot_kurva> Hi! I have a trouble with calls. Xiaomi ido, los-14.1 (Android 7) port. In csd tool it's all good. All speakers and microphones are working. But when I'm calling I don't hear anything and the interlocutor doesnt hear me. | 16:54 |
T42 | <ot_kurva> SMS, USSD, mobile data, dual SIM - it's all works | 16:59 |
xmn | mms too? | 16:59 |
T42 | <ot_kurva> I don't know because MMS service is not provided by my mobile operator | 17:01 |
T42 | <ot_kurva> MMS in 2020... It's very cool))) | 17:02 |
xmn | ic | 17:02 |
MTRNord | I am most likely doing something stupid but I just added some packages from the i1900 config and now I get "repo problem: nothing provides patterns-sailfish-device-porter-tools needed by pattern:sailfish-porter-tools-1-202012021656.noarch," Any hints to resolve this or where I missed a command maybe? | 17:21 |
T42 | <elros34> so remove those changes, i9100 use old patterns. You should only have patterns-sailfish-device-configuration-t0lte in your yaml file. All other packages you want to have installed you need to add to patterns/*.inc | 17:30 |
MTRNord | ah ok :) | 17:30 |
MTRNord | So the changes got me uhhh somewhere fun. It now boots and goes into the batter loading screeensaver thingy thats broken by itself? xD | 18:16 |
MTRNord | it bootloops now on that :D | 18:16 |
MTRNord | *battery | 18:18 |
T42 | <elros34> did you confirm that modified glibc is installed? Check whether you have /data/.stowaways/sailfishos/init.log. I remember battery screen on some old samsung was due to watchdog manipulation in /sbin/preinit but I don't remember which device was that | 18:19 |
MTRNord | I will check. That battery sceen was stock broken anyway on this device (never worked :D) So that looping might be it being broken. But the main systems seems to just crash after boot | 18:20 |
MTRNord | If I am reading it correct some parts of the kernel are wrong configured (looking at those mount calls) https://paste.ubuntu.com/p/wCxzVvj56k/ | 18:23 |
MTRNord | hm not getting that telnet on 2323 or a usb network device | 18:24 |
T42 | <elros34> after touch /data/.stowaways/sailfishos/init_enter_debug2 it should stop booting and you should be able to telnet. Then you can enable persistent journal logging (hadk-faq) | 18:27 |
MTRNord | ok I will do that :) | 18:27 |
MTRNord | nice got a shell :3 thanks for all your help! | 18:34 |
MTRNord | sh-3.2# reboot | 18:38 |
MTRNord | Failed to talk to init daemon. | 18:38 |
MTRNord | This seems wrong. or is that normal? | 18:38 |
T42 | <elros34> use reboot -f | 18:39 |
MTRNord | ah ok | 18:39 |
T42 | <elros34> remember it stays now in /init-debug script until you explicitly tell it to continue booting | 18:40 |
MTRNord | yeah just did that. It immediately crashed. journal logs are totally empty | 18:42 |
T42 | <elros34> you can still get dmesg or try to comment out that magic close from /sbin/preinit | 18:43 |
MTRNord | So except for this I dont see any obvious error messages https://paste.ubuntu.com/p/F5pgjYPbjM/ . But I dont think thats really an issue? | 18:49 |
T42 | <elros34> not an issue, partition is mounted after all | 18:51 |
piggz | mal: \o/ less than 2 years https://github.com/mer-hybris/droid-hal-version/pull/14 | 18:55 |
MTRNord | Just for reference this is the full dmesg -> https://paste.ubuntu.com/p/KZtDYsSzF4/ but nothing was like screaming that it wont boot. I now will try disabling the watchdog thing in the preinit | 18:55 |
piggz | mal: now, if i could get my hybris-boot pr merged! | 18:55 |
T42 | <elros34> @MTRNord: this is wrong: SELinux: Starting in permissive mode, add selinux=0 to kernel bootparams | 18:59 |
MTRNord | oh I have that but I guess it didnt like it. Let me fix that :) | 19:00 |
MTRNord | My device has like 3 places to set the bootparams and I just took 1 of them | 19:00 |
piggz | cat /proc/cmdline to see what actually got set | 19:01 |
MTRNord | yeah it is missing. Gonna try some other places where they get set. The BoardCommonConfig.mk is apparently not the right place :D | 19:02 |
T42 | <elros34> try in defconfig directly: https://github.com/mer-hybris/mer-kernel-check/pull/27/files# | 19:02 |
MTRNord | yeah I was going to do that :) | 19:03 |
MTRNord | is reflashing the boot image enough or is kernel part of the rootfs? | 19:06 |
T42 | <elros34> flashing kernel is enough | 19:08 |
mal | piggz: did I forget that dhv PR again | 19:08 |
MTRNord | So now audit=0 and selinux=0 are present in the bootcmd. It now shows the charger icon but for some reason I can telnet into it? :D | 19:15 |
MTRNord | Did it land into some weird boot mode? | 19:15 |
MTRNord | dmesg also confirms selinux disabled | 19:17 |
MTRNord | "[ 62.560525] c0 failed to copy MFC F/W during init" this sounds like something that causes crashes. AM I right and if so what does this mean? | 19:22 |
MTRNord | *Am | 19:22 |
MTRNord | It is right at the bottom https://paste.ubuntu.com/p/xcBTpSTrnK/ | 19:23 |
T42 | <elros34> try to get dmesg while it starts booting. So either /proc/last_kmsg or dmesg -w and the continue booting. | 19:26 |
T42 | <elros34> -w switch will probably not working on your kernel so use: while true; do dmesg -c; done | 19:27 |
MTRNord | doesnt the telnet die while doing that? | 19:31 |
T42 | <elros34> sure but maybe you will catch error. Also I don't see that c0 error in your latest log | 19:32 |
MTRNord | yeah it does :D | 19:32 |
MTRNord | <T42 "<elros34> sure but maybe you wil"> that might be because alicritty or wayland seem to cut of stuff. just realised that while coyping the last_kmsg | 19:33 |
MTRNord | "[ 1080.924742] c3 EXT4-fs (mmcblk0p16): re-mounted. Opts: (null)" thats the only message before telnet dies. that seems normal | 19:34 |
MTRNord | last_kmsg -> https://paste.ubuntu.com/p/gjnB3ZKFRW/ current dmesg -> https://paste.ubuntu.com/p/twSkBJ6xyz/ | 19:40 |
MTRNord | those are full this time with some bash netcat magic :) | 19:40 |
MTRNord | So it crashes after "<4>[ 1080.975305] c1 preinit: (1080.97) Welcome to Sailfish OS 3.4.0.24 (Pallas-Yllstunturi)" | 19:41 |
MTRNord | I will try that watchdog thing again | 19:42 |
T42 | <elros34> then it's clearly watchdog issue | 19:42 |
T42 | <elros34> Welcome msg is right before magic close | 19:43 |
MTRNord | yeah just disabled it now. Still not in the system but lets see what the error now is | 19:43 |
MTRNord | Now it seems to go beyond systemd but has some errors but crashes on a missing fstab https://paste.ubuntu.com/p/5P3pyTP9Bk/ | 19:47 |
T42 | <elros34> fstab is used only during droid-hal rpm build (droid-hal-$DEVICE.log) and yes looks like it's missing because your /system is not mounted | 19:54 |
T42 | <elros34> fstab is used to generate mount units for systemd | 19:54 |
MTRNord | where do I set that one? | 19:55 |
T42 | <elros34> fstab* (and uevent*) should be copied to out directory during hybris-hal. Sometime it doesn't work | 19:56 |
MTRNord | at top level of out? I am not seeing either in that case | 19:58 |
T42 | <elros34> no, check droid-hal-$device.log to figure out exact place. Alos read about hybris 14 specifi changes needed in hadk-faq | 19:59 |
MTRNord | ok | 19:59 |
MTRNord | So that one is as fstab.smdk4x12 in the out folder https://paste.ubuntu.com/p/dJWXHDr2xt/ | 20:04 |
T42 | <elros34> so do you have /usr/lib/systemd/system/system.mount? | 20:08 |
MTRNord | Yes "# /dev/mmcblk0p13 /system ext4 ro wait" | 20:09 |
MTRNord | eh https://paste.ubuntu.com/p/DKrwkcJyGb/ | 20:10 |
MTRNord | partition is correct too | 20:10 |
T42 | <elros34> strane there is no sign of that in your journal | 20:10 |
T42 | <elros34> strange* | 20:11 |
MTRNord | the journal loggin by the way does not like Storage automatic as told in the faq :) | 20:11 |
MTRNord | *logging | 20:11 |
MTRNord | so thats why it is empty | 20:11 |
MTRNord | *Storage=automatic | 20:12 |
T42 | <elros34> automatic should be fine but you can try volatile | 20:12 |
MTRNord | It says "systemd-journald[13853]: [/etc/systemd/journald.conf:11] Failed to parse storage setting, ignoring: automatic" so automatic seems invalid? | 20:14 |
MTRNord | oh nvm | 20:14 |
MTRNord | that error is missleading | 20:14 |
MTRNord | but it is useless as it contains less than dmesg | 20:17 |
T42 | <elros34> ah I mix up, you only posted dmesg no journal so forget about that /system not mounted | 20:20 |
MTRNord | So it still prints "droid-hal-init: fs_mgr_mount_all returned an error" and "droid-hal-init: fs_mgr_mount_all returned unexpected error 255". Maybe it is the sdcard. Let me remove that. | 20:24 |
T42 | <elros34> it's irrelevant | 20:25 |
MTRNord | hm ok | 20:27 |
T42 | <elros34> did you add hybris-14.1 symlinks from hadk-faq? | 20:27 |
MTRNord | not in the build on the phone | 20:27 |
MTRNord | rebuilding it now and doing a clean flash | 20:28 |
Umeaboy | mal: Are you awake and here? | 23:20 |
Umeaboy | I was wondering, until you have pushed hybris-17.1, how does the HADK then? | 23:21 |
Umeaboy | work | 23:22 |
MTRNord | elros34: With the symlinks nothing seems to have changed. (Sorry first the sd card partition broke and then I had to do other stuff first). Anyway here are the dmesg -> https://paste.ubuntu.com/p/8RKPGfnbns/ and /proc/last_kmsg -> https://paste.ubuntu.com/p/ny3jj494Np/ | 23:27 |
T42 | <elros34> if systemd starts now then journalctl --no-page is more useful | 23:29 |
MTRNord | ah yeah right. Need to set the settings for that again as I wiped the device clean :D | 23:30 |
MTRNord | elros34: https://paste.ubuntu.com/p/TqTYQJTtMH/ thats the systemd log | 23:35 |
T42 | <elros34> is that all or you forgot --no-page? | 23:36 |
MTRNord | that is all with the --no-page flag | 23:36 |
T42 | <elros34> just to be sure, you removed /init_enter_debug2 and you run journalctl when systemd is running not in init-debug script? | 23:39 |
MTRNord | no it was with the init_enter_debug2 present -> did continue -> did journalctl | 23:39 |
T42 | <elros34> does it still reboot itself or it's normal that last_kmsg contains bootloader messages? | 23:40 |
MTRNord | It did crash and boot back into that recovery mode with telnet on port 2323. (nicely visible as it than shows the battery icon instead of the samsung boot logo) | 23:42 |
MTRNord | so yes it still did reboot | 23:42 |
MTRNord | is it normal that without init_enter_debug2 it starts telnet on 2323 but no shell= | 23:43 |
MTRNord | * is it normal that without init_enter_debug2 it starts telnet on 2323 but no shell? | 23:43 |
T42 | <elros34> no shell? | 23:44 |
T42 | <elros34> maybe it's still watchdog. What options do you have enabled: zcat /proc/config.gz | grep -i watchdog | 23:44 |
MTRNord | It had no shell but it came apparently after a bit but in that time it already crashed | 23:44 |
MTRNord | one sec. bootlooping :D | 23:45 |
T42 | <elros34> not sure, maybe usb-moded or some of /init*rc reconfigure usb | 23:46 |
MTRNord | https://paste.ubuntu.com/p/DkCTmWBvgR/ <-- grep for watchdog | 23:46 |
T42 | <elros34> I will definitely try without NOWAYOUT | 23:48 |
MTRNord | This is systemd without that debug2 file https://paste.ubuntu.com/p/nSC9bKjvJf/ | 23:49 |
MTRNord | sure will recompile without NOWAYOUT | 23:49 |
MTRNord | So with NOWAYOUT unset it doesnt make it any better. No change visible in the logs | 23:55 |
T42 | <elros34> Does it still reboot? If yes then maybe sec_watchdog.sec_pet=5 > to 0 will disable watchdog or you could do it in defconfig. | 23:57 |
MTRNord | yeah still reboots. So just unsetting the WATCHDOG config in the defconfig or explicit n? | 23:58 |
T42 | <elros34> probably CONFIG_S3C2410_WATCHDOG=n | 23:59 |
MTRNord | ok | 23:59 |
T42 | <elros34> there is no crash in your last_kmsg so I see no reason for it to reboot | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!