Friday, 2018-09-07

OrokuSakicool00:10
OrokuSakiMal: sensors are now working! except the axis is off.. should I edit primaryuse.conf? Or.. change the sensors in the kernel?01:19
OrokuSakiyay! "0,1,0,-1,0,0,0,0,1" for accelerometer01:25
*** ubuntu is now known as Guest9746701:30
OrokuSakimk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf gets Failed to start pipeline.. logcat says E/DroidMediaCamera( 4019): Failed to connect to camera service01:55
OrokuSakiWhich... I have to manually start minisf and minimedia in a service I have with systemd.. which.. is odd.. codecs work.. but not the camera.. not sure what to do01:56
OrokuSakiOh a couple of weeks ago I asked about a weird image.. https://ibb.co/naYTAK looked like 4 surfaces.. or a quad image.. it was the kernel. 565 framebuffer colors...03:33
OrokuSakiOh and anyone trying to install their roms with TWRP... did tar work for you? It didn't me.. had to use busybox binary and use tar04:11
OrokuSakiCan't WAIT to see sfos 304:24
OrokuSakiEspecially since my device has native framebuffer. Still wish there was a way to run android apps, even if you had to pay for it04:41
OrokuSakiI mean landscape framebuffer... bourbon kickin in. =)04:42
OrokuSakisledges: where have you been dude?04:43
*** ChanServ sets mode: +v T405:56
T4l0cal0st was added by: l0cal0st06:38
mgroveris there any reason why adding bootmode=debug wouldn't stop the bootloader at first telent07:29
Mister_Magistermgrover: why should it (also kernel is not bootloader)07:32
mgroverMister_Magister, because https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L36207:34
mgroverif ive understood the script correctly07:34
Mister_Magistermgrover: here is what you want https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L40707:35
mgroverMister_Magister, I wanna stop at first telnet on port 23 before rootfs is mounted07:35
mgroveri can achieve the same just by disabling one of the kernel flags07:36
mgroverbut am curious why the kernel arg doesnt work because it should07:36
Mister_Magisterwhy not this then https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L36407:36
mgroverMister_Magister, can I just apply that in recovery?07:37
Mister_Magisterwho knows07:37
Mister_Magisterguess07:37
mgroverwell it seems that sailfishos will get bound to /target so lets hope so07:37
mgroverneed to wait for this puppy to charge and ill give it a test07:38
* Mister_Magister flashes roms with 5% battery07:39
mgroverbrave man :P but this device gets stuck in a bootloop if i dont make sure it has atleast some charge07:49
Mister_Magistermgrover: https://i0.kym-cdn.com/entries/icons/facebook/000/022/017/thumb.jpg07:54
*** ambernight is now known as qtwyeuritoiy08:06
guhlMister_Magister, as I have to analyze the boot process of the chiron again (it does not seam to use configfs while it should, ...) I documented the way I am using pstore for this here https://thinkthinkdo.com/trac/project1/wiki/SF_Ch_pstore . Maybe you can have a short look and comment.08:52
* Mister_Magister just destroyed somebody on reddit with sailfishos thats excited that he chrooted to debian from android which i did years ago08:55
Mister_Magisterguhl: should be in /sys/fs/pstore/pmsg-ramoops-X  not console-ramoops?08:56
mgroverguhl, is that why it reboots?08:57
mgroverguhl, also mgrover == ghosalmartin :P08:57
Mister_Magistermgrover: oh really?08:57
mgroveryeahh08:58
Mister_Magisterwhy different nickname then08:58
guhlmgrover, well that's not fair08:58
mgrovermy machine switches network while connected, so hexchat instantly signs out my main nic08:58
Mister_Magisterguhl: and except that everything is fine untill you dont shutdown it08:58
guhlMister_Magister, where "should be in /sys/fs/pstore/pmsg-ramoops-X  not console-ramoops?"08:59
Mister_Magisterguhl: ?08:59
Mister_Magisterlike usually in 3.10 kernel i have it in /sys/fs/pstore/console-ramoops09:00
guhlwhere in my documentation?09:00
Mister_Magisterdocumentation is tl;dr im just making sure09:00
mgroverguhl, did you get to flash zip?09:00
guhlmgrover, no09:01
Mister_Magisterguhl: whatcha mean09:01
guhlthe recovery can not flash the zip because tar runs out of memory when extracting the root fs09:01
Mister_Magisterguhl: i mean i have it in console-ramoops is it different for you?09:02
guhlso i manually installed the rootfs while booted to LOS09:02
Mister_Magisterguhl: ?09:03
guhlMister_Magister, the console-ramoops for me contains the kernel messages including the panic09:03
Mister_Magisterguhl: isn't that what you want?09:04
guhlwhat i want is the init.log from the mer boot that i cat to /dev/pmsg009:04
guhland that will than be in pmsg-ramoops09:05
Mister_Magisterdunno y u want this but ok09:05
Mister_Magisterthen whats the problem09:05
guhlnothing09:05
guhli want this because i want to be able to analyze the init.log if it is not written to the filesystem yet09:06
guhlor how would you analyze the boot process if you can not telnet into it (because usb setup fails) and it does not reach DONE_SWITCH09:08
mgroverguhl, why dont you do it mnaually?09:08
mgroverflash hybris-boot09:08
mgroverits how I flashed your realllyyy old cm14 zip09:08
mgroverthen boot in and extract it09:08
Mister_Magisterguhl: then what did you want from me09:10
mgroverguhl, also pstore works fine atm?09:11
guhlpeer review?09:11
*** mgrover is now known as ghosalmartin09:11
Mister_Magisterguhl: ???09:12
guhlMister_Magister, I just wanted you to read it and comment if there is something wrong, what you did. Thanks!09:14
Mister_Magisterjust dont shutdown09:15
Mister_Magisterand it should be ok i think09:15
Mister_Magister(i usually want kernel log lol)09:16
Thaodanguhl:  sounds interresting, maybe you could add such thing to hybris-boot09:16
guhlWell Thaodan I am using this in hybris-boot to debug it but I would not think it makes sense in the standard hybris-boot09:18
ghosalmartinpstore is in hybris boot if the kernel is configured?09:18
guhlghosalmartin, yes09:18
Thaodanyes, maybe hybris-initrd too if lvm is used.09:19
ghosalmartinguhl, did you get a chance extract zip? or twrp a blocking issue atm?09:19
guhlghosalmartin, i do have the rootfs intalled in /data/.stowaways/sailfishos09:20
ghosalmartinguhl, does kernel panic? or can you get to telnet 2323?09:21
guhldid it manually using the tar.bz2 while booted to LOS09:21
guhlghosalmartin, no the kernel does not panic boot i also can not telnet09:22
guhlusb network interface is up but does not get an ip. probably a dhcpd issue09:23
Thaodandid you booted by fastboot or by flashing?09:23
guhlfastboot09:23
Thaodanhm. you can to boot hybris-recovery09:23
ghosalmartinguhl, as a test can you rename the sailfishos folder to sailfishosbak09:23
Thaodanthat boots straight into recovery09:23
Thaodansledges: can you make a repo for my port? sony-h3213?09:24
guhlghosalmartin, well that was the state before, then it will enter run_debug_session and i can telnet into it09:25
Mister_MagisterThaodan: i would better ask lbt09:26
Thaodanin irc?09:27
Mister_Magisteryeah09:27
guhlghosalmartin, this is the init.log https://pastebin.com/KW4pJWz0 from a boot where it can not boot into real rootfs09:32
guhland i don't like the09:32
guhl+ write /sys/class/android_usb/android0/enable 0 ... lines09:32
Mister_Magisterguhl: but you need to disable android usb dont ya09:33
Mister_Magistersfos should handle usb09:33
guhlbecause it should not write to that if using configfs09:33
Mister_Magisterguhl: DBG_REASON=Refusing to boot. See /diagnosis.log (in initrd only)09:34
Mister_Magisterdid ya check that file?09:34
guhlMister_Magister, thanks09:36
guhlyes it contains CONFIG_VT=y not found in /proc/config.gz09:36
guhlwhich is one of our problems with the kernel atm09:37
Mister_Magisterfix et?09:37
guhlnah i don't like CONFIG_VT anyway. should have been removed from the kernel years ago09:38
Mister_Magisterbut it wont boot otherwise09:38
guhli'll remove the check :-)09:38
Mister_Magisterwhy cant you just enable it09:38
guhlbecause the kernel will not boot then09:39
Mister_Magisterwhy09:39
T4minlexx was removed by: minlexx09:39
guhlbut maybe i can get a pstore output from that09:39
Mister_Magisterwdym09:40
Mister_Magisterit panics when you have it enabled?09:40
guhlif we enable that in kernel config it immediately reboots09:40
Mister_Magisteraka panics09:41
guhlyes09:41
ghosalmartinguhl, yeah I cant get to that state as well09:41
ghosalmartinwell doesnt panic09:42
ghosalmartinthe kernel is corrupt, doesnt even call init09:42
ghosalmartinguhl, after that for me it reboots09:42
ghosalmartinive gotta go, be back on 20-3mins09:42
Mister_Magisterwell dunno if its needed but kernel ceck has it as needed09:43
ghosalmartin30mins09:43
guhli'll give it another try to enable it and find something. If that does not work i'll disable the check in the init-script09:44
Mister_Magisterwell i had huawei devs that forwarded 32bit calls to 64bit function and motoorola devs having flag hat changes code to broken code so…09:44
Mister_Magisterguhl: kernels are magic09:48
ThaodanMister_Magister:  that's to enable usb gadget mode and enable rndis afterwards09:51
Mister_MagisterThaodan: VT?09:53
T4GiaSen was removed by: GiaSen09:54
ghosalmartinguhl, i dont think config_vt mattes, because my pixel xl could boot to rootfs without it10:34
guhlwell enabling VT panics (or reboots however) without any message anywhere10:35
Mister_Magisterguhl: then try throwing that flag away it can be worse from there10:35
ghosalmartinguhl, i mean its not required to boot to rootfs, am curious why your device doesnt reboot10:36
ghosalmartinif you can access telnet at port 23 then telnet at 2323 should work fine?10:36
T4akaWolf was added by: akaWolf10:44
guhlghosalmartin, i think that for CONFIG_VT we need to set the kernel command line parameter console10:52
ghosalmartinisnt it already set?10:53
guhlnope, if you check the init log i pasted10:53
guhlhttps://pastebin.com/KW4pJWz010:53
guhlonly androidboot.console=ttyMSM0 is set10:54
ghosalmartinguhl, this? console=ttyHSL0,115200,n810:54
guhlin my old build i had something like this yes10:54
ghosalmartini think i remember adding it with no luck10:54
ghosalmartinbut ill give it another shot10:54
guhli had this in the old BoardConfigCommon.mk10:55
Mister_Magisterguhl: did u try disabling VT or what are you doing now?10:55
ghosalmartinMister_Magister, it is disabled atm10:55
Mister_Magisterk and?10:55
Mister_Magisterwhats happenin10:55
guhlBOARD_KERNEL_CMDLINE := console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc1b0000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 androidboot.selinux=permissive10:55
ghosalmartincant get into rootfs10:55
Mister_Magisterwhy10:56
ghosalmartinbut i also think its a red herring, since my other device marlin gets to rootfs fine with it disabled10:56
guhlstarting all over?10:56
ghosalmartinbut it doesnt use configfs10:56
guhlghosalmartin, and either we set androidboot.configfs=true again (and check for this in init-script)10:57
guhlor disable usb_gadget10:57
ghosalmartinguhl, thing is, if we can boot to telnet 23, doesnt that prove telnet is working?10:57
ghosalmartinwhat does sfos do differently when it goes to rootfs?10:57
guhlghosalmartin, it is a difference if it works in run_debug_session or in real boot10:58
Mister_Magisterguhl: i mean you have seen it? mount: mounting /data//.stowaways/sailfishos on /target failed: No such file or directory10:58
ghosalmartinguhl, actually do you have this <guhl> ghosalmartin, it is a difference if it works in run_debug_session or in real boot10:58
ghosalmartinnot that :P10:58
ghosalmartinthis https://github.com/mer-hybris/droid-config-sony-nile/commit/a4152781498a83cada0241a4fdb9016d7ddf562a10:59
Mister_Magisteroh it mounts later10:59
guhlMister_Magister, i renamed it on purpose so that it stays in debug session10:59
ghosalmartinMister_Magister, that because he renamed it to saifishosbak to force it to wait at that stage10:59
guhl(that was just a test that ghosalmartin wanted me to do)10:59
ghosalmartinthats the only way i can get to telnet10:59
guhli told him what will happen but tested it anyway11:00
Mister_Magisteri dont get what you are both doing11:00
ghosalmartinmy issue is after I continue, mine reboots11:00
ghosalmartinmal: didnt you have a similar issue that phone wasnt rebooting, but link was up?11:00
guhli will fist of all fix the configfs_usb_setup vs android_usb_setup issue11:01
ghosalmartinwhat issue is that?11:01
guhlsee my log from line 304 it does usb_setup_configfs11:02
guhlbut from line 416 it does usb_setup_android_usb11:03
ghosalmartinguhl, ahhhh. hmmm weird, lemme get ya mine to compare11:03
guhland i think this is because we have CONFIG_USB_GADGET=y11:04
guhland in the current init-script the test is11:05
guhlusb_setup() {11:05
guhl    if [ -d $ANDROID_USB ]; then11:05
guhl        usb_setup_android_usb $111:05
guhl    elif [ -d $GADGET_DIR ]; then11:05
guhl        usb_setup_configfs $111:05
guhl    fi11:05
guhl}11:05
Mister_Magisterguhl: never do that again11:05
guhlsorry11:05
Mister_Magister:)11:05
Mister_Magister5 lines is always max :P11:06
ghosalmartinguhl, this is my init.log https://pastebin.com/gFRQgPcJ11:06
ghosalmartinguessing same issue11:06
guhlOK then i will paste it 5 lines a time11:07
guhlyou have the same /sys/class/android_usb/android0 stuff there11:10
Mister_Magisterguhl: did you compare with working phone?11:11
Mister_Magisterlike… how it should be?11:11
guhlin my version (for LOS 14.1) i did the test based on11:11
guhl    if [ ! "$(get_opt androidboot.configfs)" = "true" ]; then11:11
guhlMister_Magister, where would I have a working phone11:12
Mister_Magisteru don't have any sfos working?11:12
guhlwith a 4.4 kernel and LOS 15.1 based11:12
Mister_Magisterbut somebody else can have11:13
guhlso I added some cmd_line paramters back and changed the test in init-script lets see what happens, ...11:17
Mister_Magisterguhl: i have even bigger problem lol11:22
ghosalmartinguhl, any luck with the diff cmd_line params?11:34
guhlnot yet11:35
Thaodanlbt: can you add a repo for my port sony discovery on mer buildservice?11:43
malThaodan: do you really want it names discovery since discovery can be two different devices11:47
mal*named11:47
ThaodanThe Codename is now as used in the too, so yes. But better with vendor as a prefix in front11:51
sledgeswiktorek140: pong11:51
sledgesThaodan: please first see through the rename we're doing: https://github.com/mer-hybris/droid-hal-sony-nile/pull/311:51
sledgesand rename accodringly11:51
sledgesalso your droid-config PR will need some corrections, please stand by11:54
sledgesall Sailfish X devices are built according to https://sailfishos.org/wiki/Sailfish_X_Build_and_Flash (not only HADK)11:55
malsledges: we probably want to make a common .inc file for the different variants11:56
sledgesmal: we'll push h3113 out first, cc mkosola11:56
malok11:57
Thaodansledges: yes ill change accoraccording to that11:57
Mister_Magisteroh hi sledges very long time no see11:58
Thaodanplease comment  on my pr about whats wrong11:58
sledgesohai11:59
sledgesThaodan: we'll comment on your PR after pushing h3113 out first11:59
sledgescurrently it will mess up the ssu11:59
malthe repo will probably look quite like the f5121 repo11:59
sledgesthe repo on mer obs will be qualcomm:sony-nile12:00
Thaodanabout the  sailfish x built,  i built it accoraccording to it but had to use  aosp for /system12:00
sledgesyou can already see that in https://github.com/mer-hybris/droid-config-sony-nile/tree/master/sparse/usr/share/ssu/board-mappings.d12:00
malsledges: really? how does that work for non-xa2 devices12:00
sledgesmal: non sony-nile family will have to have separate repo12:01
malsledges: are all nile really so close that they can use the same android side?12:01
sledgesstill better than hardcoding to f5121 only12:01
malsledges: i.e. are pioneer and discovery devices close enough12:02
sledgesThaodan: sailfish x built uses aosp12:02
sledgesmal: only way to find ouy :P[D[D[Dt12:02
sledgesmal: only way to find out :P12:02
sledgesyou have device repos checked out for all respective devices in one tree12:03
* Mister_Magister sfosx instructions are unclear for non official devices imo12:03
sledgeskernel config will be selected correctly as per dhd12:03
malsledges: we should run a diff on discovery and pioneet device repos and defconfig files12:04
sledgeswe will have droid-hal-pioneer.spec and droid-hal-discovery.spec12:04
sledgeswhere lunch combos etc will be diversified12:05
malsledges: so the same OBS repo would be used for two several devices? I'm confused12:05
malis that even possible12:05
sledgesyes, because ssu will point to common repo, and device descriptor will make it distinct12:06
malstill wondering how the build dependencies will work12:06
sledges-$DEVICE12:06
malbut how does middleware know which one to use12:06
malwhen building12:07
sledgesask mkosola :D12:07
malor maybe I'm misunderstanding something12:07
mkosolamal: sledges: We don't know yet either 100% sure  if it is working, let see12:11
sledgesif it doesn't, it would resort to qualcomm:sony-nile-pioneer/sony-nile-discovery, but definitely not to per-variant (e.g. h1234)12:14
malyes, we'll see12:14
r0kk3rz sledges o/12:15
Mister_MagisterMikaela: been there done that12:18
Mister_Magistersorry i mean mal12:18
Mister_Magisterhad same obs repo for titan and thea untill it got too problematic12:18
ghosalmartinsledges, while your still about, do you know what CONFIG_VT kernel flag is for? :P12:27
Mister_Magisterghosalmartin: check documentation :P12:29
ghosalmartinMister_Magister, I have done, but other devices have reached rootfs without it. so am curious if its a legacy thing12:30
Mister_Magisterwell iirc couiple of flags needed in merkernelcheck arent really needed12:31
ghosalmartinso just wanna make sure thats its not a red herring12:32
Mister_Magistersure12:33
Mister_Magistermal: dont know?12:33
Mister_Magisterdoesn't*12:34
malnot sure what that is used for12:35
ghosalmartini honestly think its doesnt matter do much, my marlin device got to telnet easily from rootfs.12:45
Mister_Magisterand im wondering how to port phone without twrp or lineage12:45
malit's not really that difficult to make a fastboot flashable sailfish image, I have done it myself for fp2 before12:49
Mister_Magistermal: but i dont have lineage12:50
maldo you have aosp?12:50
Mister_Magistermal: only sources from vendor12:50
Mister_Magisterand GSI12:50
malonly kernel or some more?12:50
Mister_Magisterwill have to check12:51
Mister_Magisterabout GSI we were talking before that it could probably be possible12:51
Mister_Magisterku12:51
Mister_Magistermal: https://www.asus.com/Phone/ZenFone-5-ZE620KL/HelpDesk_Download/12:53
Mister_Magistermal: looks like kernel only12:55
Mister_Magistermal: but GSI is like AOSP isn't it12:57
malno idea, not sure if I have heard of that before12:58
Mister_Magisterprobably naht13:01
Mister_Magisterill look into GSI13:01
Mister_Magister(Generic System Image)13:01
Thaodansledges: can we put things like simconfig into a package? like ofono-config-sony-hx113?13:23
guhlghosalmartin, still no luck but i found out that we do not have a ttyMSM0 probably because CONFIG_SERIAL_MSM is not set13:23
guhlso using this in the console parameter might not help13:23
guhli enabled it and rebuild or otherwise we could try ttyHS0 that is created by SERIAL_MSM_HS13:26
Mister_Magistermal: fancy looking at this? https://github.com/phhusson/treble_experimentations/wiki/How-to-build-a-GSI%3F13:49
Mister_Magisterlooks lot like simple aosp building13:50
Mister_Magistermaybe i can use that13:50
mgroverguhl, we could but am not sure what ti would yield14:13
*** mgrover is now known as ghosalmartin14:15
Thaodansledges: are there any docs on sailfish-fpd-slave?14:30
ThaodanI saw its based on vendor-sonys-oss-fingeprint, is there a chance that it goes oss?14:31
guhlghosalmartin, well i disabled the check for CONFIG_VT in init-script and i changed the test if to use configfs as described before renamed the sailfishos folder again and booted untl "init-debug in real rootfs"14:40
ghosalmartinguhl, can you access telnet?14:40
guhlbecause i created init_enter_debug2 in / of the real rootfs14:41
guhlyes on 232314:41
guhlbut if i do - echo "continue" >/init-ctl/stdin14:43
ghosalmartinguhl, ahh did you add the usb-moded.ini config?14:44
ghosalmartinit could be usb-moded freaking out, i had a similar issue with marlin, after adding that file it stopped segfaulting14:44
guhlto startup it crashed (reboots). just now i did it again and got this ksmg14:45
guhlhttps://pastebin.com/8bjKP7qU14:45
ghosalmartinguhl, mask droid-hal-init?14:46
ghosalmartinohh it could be the usb import in one of the .rc files14:46
guhli did not do anything with the inits yet - this is the first try14:47
guhldo you want me to paste my init-script or is it clear how i made it work?14:47
ghosalmartinguhl, please14:48
ghosalmartinalso i guess disable this? https://github.com/LineageOS/android_device_xiaomi_msm8998-common/blob/lineage-15.1/rootdir/etc/init.qcom.rc#L2814:48
guhlghosalmartin, https://github.com/guhl/hybris-boot_chiron/commit/3bf1ffb3425b64793145db25948d20895c6d833914:54
guhlyou need to add androidboot.configfs=true to the kernel cmd_line to make this work14:55
ghosalmartinguhl, ahh i see, odd that it works in first telnet and not 2nd then14:55
malguhl: wouldn't it be easier to just disable the old android gadget driver from kernel and not patch hybris-boot for that14:59
guhlmal, yes it would15:00
guhlit would also be easier if hybris-boot would check the kernel config (as it does anyway for other stuff) instead of checking the existence of files15:01
malstill a bit odd why the kernel has some remnants of the old driver enabled if those are not used15:02
malguhl: that would also be possible, just wondering what would your device report in that case15:02
guhlwell for example it would report CONFIG_USB_CONFIGFS=y and CONFIG_USB_CONFIGFS_RNDIS=y and i think that would be a sufficient test15:07
guhlbut that is a kind of academic discussion15:09
guhlnow i rather focus on the further init process15:10
malguhl: earlier the check was the other way and it caused issues on some device15:10
ghosalmartinis the gadget driver CONFIG_USB_GADGET15:11
guhlthat is one reason why i like my way. I set the parameter in BoardConfig and can be sure what will happen15:11
malthat would require new porters to first figure out which driver their device uses and not sure if that is good15:12
ghosalmartina warning wouldnt hurt in the mer kernel spec15:13
guhlthis https://pastebin.com/CSnxgL2G is the output of logcat before the reboot15:19
malguhl: which android base?15:20
malguhl: show your config repo15:20
guhlit is LOS 15.115:21
mallooks like you might be missing some things from config repo but need to see what you have there to be sure15:23
* guhl is not sure if he want to show the config repo as he fears mal is going to laugh at him15:24
guhlhttps://github.com/guhl/droid-config-chiron/tree/hybris-15.115:24
malthese https://github.com/mer-hybris/droid-config-sony-nile/tree/master/sparse/usr/libexec/droid-hybris/system/etc/init15:24
malyes, missing the ones I linked15:24
malwithout those the device can't work15:24
guhlk thanks15:26
guhlmal, btw did you ever see this on a device that the rootfs can not be installed via recovery (TWRP) because tar was killed (out of memory)15:34
malguhl: several reports from some porters of that issue, downgrading twrp seems to have worked for some, it's because of too strict oom killer or something15:37
guhlk will try15:38
guhlno luck, every available twrp fails -> manual install in LOS15:52
malok15:53
ghosalmartinguhl, mine still reboots, possibly just a bad zip or extract?15:54
guhlghosalmartin, did you touch in /data/.stowaways/sailfishos/init_enter_debug2 to make it stop before init15:56
guhlbtw. topic 11.1 Extracting the rootfs via adb could be updated as the rootfs file is not created as gz but bz215:59
ghosalmartinguhl, yeahh i did, just reboots, ive a feeling somethings broken from my side16:07
ghosalmartinwhen I enter /target the rootfs is there though16:08
ghosalmartinguhl, do you know how to clear outpstore16:09
guhldid you check that the kernel really built without CONFIG_VT (Check in out/target/product/chiron/obj/KERNEL_OBJ/.config16:12
guhli had problems with that too until i completely rebuilt the kernel by deleting out/target/product/chiron/obj/KERNEL_OBJ/16:13
guhlOK thats better, not rebooting anymore but stuck at LOS animation :-)16:25
ghosalmartinguhl, i havent built with CONFIG_VT in a while16:28
ghosalmartini get to telnet 1 atm16:29
malguhl: logs logs logs16:29
guhlmal, I am flooded by logs16:31
guhlmal https://pastebin.com/GMZ0ZXst (dmesg)16:34
guhljournalctl https://pastebin.com/pWPG37zc (where it loops atm)16:36
malguhl: is that dmesg incomplete16:37
malguhl: does any mount service fail?16:38
ghosalmartinguhl, try to su in as nemo and start a service16:40
ghosalmartinit might complain of permissions16:40
ghosalmartinthen its an issue in libbinder16:40
guhllogcat https://pastebin.com/vb4y0J8Q16:41
guhlmal, yes the dmesg paste is very incomplete16:42
malguhl: check the mount services first16:43
guhlmal, https://pastebin.com/A4UEWYz716:45
vknechtcould it be a case of disabling qseecomd ?16:50
guhlthis https://pastebin.com/MdELYuNg is a journalctl more from the beginning16:51
malguhl: a lot of permission issues16:53
malfor example  Failed to create generator directory /run/user/100000/systemd/generator: Permission denied16:53
T4NoMeat (MISSING @USERNAME! telegram.org/faq#usernames-and-t-me) was added by: NoMeat (MISSING @USERNAME! telegram.org/faq#usernames-and-t-me)17:02
T4dreamofdeath_xl was added by: dreamofdeath_xl17:02
guhlmal, well i have no idea how to handle that17:16
guhlthese services keep crashing/restarting17:16
guhl 6588 ?        Sl     0:00 /vendor/bin/imsdatadaemon17:16
guhl 6592 ?        Sl     0:00 /vendor/bin/ims_rtp_daemon17:16
guhl 6602 ?        Sl     0:00 /vendor/bin/imsrcsd17:16
guhl 6635 ?        S      0:00 /system/bin/tombstoned17:16
guhl 6641 ?        S      0:00 /vendor/bin/qti17:16
guhl(that was only 5 lines :-)17:17
T4dreamofdeath_xl was removed by: dreamofdeath_xl17:17
Mister_Magistermal: gotta time?17:22
malstill at work17:24
malI probably should leave already17:24
Mister_Magistermal: will you have energy today to help me?17:24
T4holmes465 was added by: holmes46517:26
malprobably not much, I have felt terrible today17:26
T4holmes465 was removed by: holmes46517:27
malI did rebase my local anbox again a couple of days ago but didn't build it yet17:27
vknechtabout variant handling : how could it be handled at runtime, eg. depending on properties ? iiuc for SailfishX it's handled at build time (distinct spec files) ?17:29
Mister_Magistermal: ah sad17:29
malvknecht: depends on what you want to detect at runtime17:31
Mister_Magistermal: i got my zenfone 5z and i puke looking at android. Need to slap sfos on it :P I have to look into GSI stuff17:32
malvknecht: in case of single-sim vs dual-sim you can even use the same android image for both but then you can't detect it at runtime because the codename might not be correct17:32
malMister_Magister: I thought you were looking for anbox help17:32
Mister_Magisteryeah thats just offtopic17:33
Mister_Magisterwe were talking bout that today :P17:33
malyes, but you ask about anbox so often it's the default topic I assume17:33
Mister_Magisterits not an easy task slapping sfos there more longer term so there is no much you can do about it rn other than sending ideas17:33
Mister_Magistermal: yes it is17:34
Mister_Magisterim just talking :)17:34
Mister_Magistermain is anbox17:34
*** ChanServ sets mode: +v T417:34
vknechtbasically persist.radio.multisim.config ? or rm.cm.curef which is 6045K for multisim, and 6045Y for EU, other letters for other regions...17:35
malMister_Magister: based on the link you gave earlier the build in that is lineage based17:35
malvknecht: as an example in xa2 the difference in properties is this https://github.com/sonyxperiadev/device-sony-pioneer/blob/master/aosp_h4113.mk#L1617:36
maland we can use h4113 image also for h311317:36
Mister_Magistermal: but the question is can i build sfos using that?17:37
malMister_Magister: maybe17:37
Mister_Magistermal: what do you mean by maybe?17:38
vknechtthe source tree is the same, the LOS port uses the properties to handle multisim case17:38
Mister_Magisterlike you dont know if it will actually work but it is probably possible to use those sources?17:38
malMister_Magister: not sure how much changes we need, at least that has some extra changes to android repos so we would need separate branches17:40
Mister_Magistermal: hmmm okay but is it possibly doable?17:41
vknechthttps://github.com/vknecht/android_device_alcatel_idol3/blob/2b0f7d0911d6a0b76143aec5439fe6250c2d21f0/init/init_idol3.cpp#L12017:41
T4and0kr was added by: and0kr17:43
Mister_Magistermal: like… is it worthy giving a shot?17:43
kimmoliMister_Magister: just do it17:44
kimmolithen we all know17:44
vknechtXD17:44
Mister_Magisterkimmoli: seems like a way to live life xD17:44
Mister_Magisterfirst of all lets get this baby open17:45
vknechtofftopic : would anyone have experience with android CTS ? trying to sort the safetynet mess for "my" LOS base... looking for narrowing down to pertinent test, the full one has been running for 20+ hours now and only 7202/81464 tests in current set...17:52
vknecht(there's #idol3 to spare this channel :)17:55
kimmoliMister_Magister: https://pm1.narvii.com/6057/feeb55f7005e481c25e65664ff82918f470986c5_hq.jpg17:56
Mister_Magisterkimmoli: yes, my master17:56
kimmolivknecht: why that reminds me always about this? https://www.ido.fi/tuotteet/wct-urinaalit-ja-pesuistuimet/lattialle-asennettavat/ido-seven-d-13-peruskorjaus-wc-kiinnitysreiilla-s-lukko/7201/17:57
* kimmoli stops spamming. 17:57
kimmoliwell, one to go https://www.youtube.com/watch?v=kfVsfOSbJY0 specially for sledges17:57
vknechtbecause once it's in, it cannot get out :)17:58
Mister_Magisterkimmoli: are you from finnland?18:01
kimmolilucky guess sherlock18:02
Mister_Magisterkimmoli: android is paska18:02
Mister_Magisteru'll get that then18:02
kimmolidas ist mir Wurscht18:04
Mister_Magisteri don't get deutsch18:06
* Mister_Magister google translates18:06
Mister_Magisteroh18:06
Mister_Magistermal: how does sfos handle Bluetooth 5.0 xD (itz ze joke)18:21
guhlvknecht, regarding disabling qseecomd how would you do that?18:33
guhli tried it similar to https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/netd.rc18:33
guhlbut this leads to18:37
guhldroid-hal-init: /usr/libexec/droid-hybris/system/etc/init/qseecomd.rc: 1: ignored duplicate definition of service 'qseecomd'18:37
malMister_Magister: I don't know what features BT 5.0 brings, it should depend on device support and bluez518:43
vknechtguhl, just adding "disabled" in the existing service definition, in init.qcom.rc I think18:43
Mister_Magistermal: i was just joking bt doesnt work on newer devices anyways18:43
malMister_Magister: bluez5 seems to support 5.0, at least btmon can decode the hci commands18:44
Mister_Magisterkk18:45
Mister_Magisterbut nothing >snap810 has bt working right18:45
Mister_Magister?18:45
malnot sure if that is the defining factor, some devices could use different bt chip18:47
guhlvknecht, the original is in /vendor/etc/init/hw/init.target.rc18:47
Mister_Magistersuure :P18:47
guhlwell ghosalmartin, mal I think now we know why we need CONFIG_VT18:57
guhlMay 29 14:29:13 Sailfish systemd[3018]: pam_systemd(autologin:session): Failed to create session: Seat has no VTs but VT number not 018:57
* Mister_Magister feels sad that guhl didnt mention him as he was trying his best helping :(18:58
guhlMister_Magister, well I am sorry about that but I was just referring to question from ghosalmartin to mal if and for what we need CONFIG_VT19:00
ghosalmartinguhl, ah...damn19:00
Mister_Magisterguhl: i dont know if we need too :P19:00
vknechtguhl, ah, maybe a worthy addition to https://public.etherpad-mozilla.org/p/faq-hadk line 697, it's init.qcom.rc in my 14.1 base19:00
Mister_Magisterwhatev :P19:00
ghosalmartinvknecht, i wrote that, glad someone found it useful :P19:01
vknechtindeed it was, for calls and maybe cam iirc, thanks ghosalmartin :)19:03
ghosalmartinit stumped me for a while as well. it never used to be an issue on cm1319:03
ghosalmartinam off for a few pints, night and guhl good lucl19:04
Mister_Magistermal: they did lineage and ressurection remix using GSI19:12
Mister_Magisteri think we can make SailfishOS GSI19:12
Mister_Magisterand slap sfos on every GSI enabled device xD19:12
Mister_Magister(forget last part)19:13
Mister_Magistermal: what if i just sync hybris-15.1 sources and add this https://github.com/phhusson/treble_manifest19:30
Mister_Magisterlike… yolo it19:31
malMister_Magister: if you read the instructions from earlier link you see that you need to patch hybris branch19:42
Mister_Magistermal: somebody from this project told me that drivers are "treblized" and hybris doesnt support that19:47
Mister_Magistermal: or do you actually mean patching libhybris for treble support19:47
malwe use treble (or hidl whatever is the correct term) already in some parts of android 8 support19:51
Mister_Magisteroh but what about drivers?19:52
Mister_Magisterand blobs on vendor partition19:52
mal?19:52
Mister_Magisterwell i can't really explain it as i dont understand it myself19:52
Mister_Magisterjust somebody said they dont work with libhybris19:52
malgive me some example19:54
Mister_Magistermaybe if i get his nick on this channel he'll explain19:54
malMister_Magister: we communicate directly with the android binder using the new APIs from a glib based library19:59
malwith these interfaces https://github.com/LineageOS/android_hardware_interfaces20:00
Mister_Magistermal: how much is sfos ready for 8.0 based port?20:00
maldepends on how much the devices uses the new interfaces and how many old hal API implementations it still has available20:01
Mister_Magisterwell its 2018 device so you can guess :)20:02
Mister_Magisterwhat if not many? :P20:02
malalmost everything20:02
Mister_Magisteri mean if there is not many old hal api20:03
malnot sure how many areas can be affected20:06
malsensors might be broken for example, not sure if they have moved audio stuff to new interfaces20:07
Mister_Magisterwe'll see then20:07
Mister_Magistertoo many variables :C20:07
Mister_Magisteroakay first i want to get lineage using treble20:07
Mister_Magisterlets focus on that for now20:07
Mister_Magisterwe'll yolo rest xD20:07
b0n0It'd be better to stay on 7.120:09
Mister_Magisterthere is no 7.1 in 201820:09
b0n0What?20:09
Mister_Magisterdevice came out with 8.020:09
Mister_Magisterand has no custom rom20:09
b0n0Ah20:10
T4<benzands> also some devices in late 2018 will come with 9.0 :)20:10
b0n0At least it has treble20:10
Mister_Magisterb0n0: thats what this whole talk is about20:10
Mister_Magisterif its possible to get sfos on treble20:11
b0n0I dont know20:11
b0n0I dont think so20:11
b0n0The sailfish device port has to be done i think20:12
Mister_Magisteryou just ignore whole talk lol20:12
b0n0Yeah :P20:12
b0n0You can always port android 7.120:13
b0n0But if youre noob it will be difficult because there are many changes from 7.1 to 8.120:13
b0n0Probably the hardest android upgrade to port ever20:14
malMister_Magister: HIDL is part of treble, we use the new HAL interfaces directly via binder so I think that was the whole point of treble, not sure if there was any other things in treble than that20:22
Mister_Magistermal: okay gotcha20:22
Mister_Magisternow i need to try lineage but i dont have twrp or anything to backup stock system.img20:23
Mister_Magisterand without backup its risky20:23
malbut there is only some support implemented so far, ril and gnss, sensors is trivial but I know no devices which use the new API yet20:24
b0n0Treble needs a special twrp iirc20:24
Mister_Magisterb0n0: i have no twrp20:24
b0n0Install it20:25
Mister_Magisteri have no twrp?20:25
Mister_Magisterlike available lol20:25
b0n0Port it20:25
Mister_Magisterfunny20:25
b0n0Hack it20:25
Mister_Magisteryou can flash GSI images without twrp20:26
b0n0I dont know, i dont have treble20:33
b0n0My device is too hold, i have to port every single rom20:33
T4Dinolek was added by: Dinolek21:19
T4Dinolek was removed by: Dinolek21:20

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