Friday, 2020-03-06

MeowDudethis is so weird, all my kindle kernels aren't recognised as images by the tools I use00:24
MeowDudeand I can't 100% figure out what format they are in00:24
T42samwellho was added by: samwellho08:48
T42<Janice %lastname%> (Photo, 786x878) https://irc.thaodan.de/.imgstore/V5CQLnlJu7.png 🌟🌟6万个电报群、微信、土豆、推特增粉推广,非小号关注,kyc出售,facebook增粉,实名微信号,中英文活跃 客服管理,交易所投票,实名账号更多业务欢迎咨询 @ttlta09:04
T42<samwellho> https://pastebin.com/dH8harVT11:01
T42<samwellho> Please help me, build SailfishOS for Redmi Note 5 (whyred)11:03
T42<samwellho> mka hybris-hal and mka droidmedia audioflingerglue and mka hybris-boot are OK11:05
T42<samwellho> https://pastebin.com/fr2Cw4SD11:05
T42<NotKit> continue along HADK then11:05
T42<samwellho> But cannot build_all_packages11:06
T42<NotKit> did you base on some other repo for droid-hal-device?11:17
T42<NotKit> it seems rpm spec references files which are not built anymore11:17
T42<samwellho> I used this repo. https://github.com/SailfishOS-Whyred-sdm66011:18
T42<samwellho> With this repo init -u https://github.com/SailfishOS-Whyred-sdm660/SailfishOS_manifest.git -b hybris-15.111:19
T42<samwellho> And I've tryed repo init -u https://github.com/SailfishOS-Whyred-sdm660/SailfishOS_manifest.git -b hybris-15.1-bak11:19
T42<samwellho> No luck11:20
T42<samwellho> This is my local manifest file https://pastebin.com/3bE0pa6M11:22
T42<NotKit> I suggest to start over with droid-hal-device/droid-config device packages12:02
T42<NotKit> the ones in that repo are not entirely correct and were made for older 14.1 based port12:02
T42曹茂惠 %lastname% was added by: 曹茂惠 %lastname%12:03
*** olesalscheider_ is now known as olesalscheider12:04
T42<胡卡筐 %lastname%> (Photo, 1280x718) https://irc.thaodan.de/.imgstore/4Uua4ladCa.png 💥非小号mytoken关注排名.微信群.电报群 群发推广炸群,电报群.微信群.Patato增粉,twitter.facebook.Linkedin关注.电报群微信群Patato活跃聊天,中英文群管理客服,KYC出售,币圈朋友圈广告,各类投票,私聊指定电报群成员.出售微信号脸书推特号,出售支付宝,交易所用户资料,交易所代实名12:29
MeowDudeis hybris 11 suitable for sfos 3.x? I can use hybris 13 but the base android rom is finnicky18:25
T42<NotKit> @MeowDude [is hybris 11 suitable for sfos 3.x? I can use …], yes18:27
MeowDudeoh good18:27
MeowDudehey @notkit you did work with an old omap device, droid 4 right? did it use vmlinux kernel images?18:27
MeowDudemy kindle fire does, when I run "file <boot.img>" on it's base rom image it returns just "data" but when I run "file <hybris-boot.img" I get a Lot of info, including the fact that it's a zimage18:28
T42<NotKit> @MeowDude [hey @notkit you did work with an old omap devi …], Droid 4 is special as it uses SafeStrap and kexec18:30
T42<NotKit> no boot.img there, but zImage and ramdisk18:31
MeowDudeeverytime I try to boot a hybris image on my kindle it just goes straight to fastboot, I don't get a last_kmsg or anything18:31
MeowDudedoes that sound familiar to you?18:31
T42<NotKit> @MeowDude [my kindle fire does, when I run "file <boot.im …], you found your problem already18:31
T42<NotKit> investigate how LOS boot.img is built and replicate it for hybris-boot18:32
MeowDudeI'm not sure it has anything to do with the kernel image format though, and I haven't had any luck manually trying to convert it18:32
MeowDudewhat make file is responsible for building hybris-boot.img?18:38
MeowDudeI'm looking at hybris/hybris-boot/makefile and hoping it isn't that one18:38
T42<Akatsu39> Exclaimer:Im not experienced with all these things, don;t take it as it is i might be wrong. Kernel is build by android makefile later hybris-boot makefile just takes prebuilt kernel and adds initramfs and cmdline parameter and maybe append dtb(not sure if its packaged at this stage).18:55
T42<Akatsu39> if your device goes fastboot there might be problems with kernel image alone or something goes wrong with android initialization and it throws to fastboot(can happen if SELINUX is broken(should be disabled but noone knows what will happen))18:58
T42<Akatsu39> To get last_kmsg you have to build your kernel with pstore if im not wrong.18:59
MeowDudethanks18:59
MeowDudeomg this pstore thing might be a life saver, thank you so much. I hope it works19:02
MeowDudeand it would appear logs aside from last_kmsg are stored in19:05
T42<Akatsu39> and remember to use hybris-boot because boot.img might not have initramfs in it19:05
MeowDude"/sys/fs/pstore/" assuming CONFIG_PSTORE_CONSOLE and CONFIG_PSTORE_RAM are both y19:05
MeowDudeI have been, boot.img is just the prebuilt android kernel iirc.19:06
MeowDudeI might only mess with absolutely necessary configs, just in case any kernel configs are preventing a smooth boot to at least telnet19:06
T42<edp_17> @MeowDude: it might be a useless question but, did you run the mer-kernel-check and checked for any error?19:07
T42<edp_17> I thought switched off the selinux but it was still on and the mer-kernel-check showed that.19:08
MeowDude@edp_17 yes, the only error I get is for IP_NF_MATCH_RPFILTER which shouldn't apply to my kernel, and isn't related since I was having this issue since before that was even a part of the kernel check19:18
MeowDudethat one says it addresses a 2019 kernel security patch, which wouldn't apply to my 2012 3.0 kernel19:18
T42<Akatsu39> uh, 3.0 kernel, thats dated, not sure if you need kernel patches.19:19
MeowDudewhat do you mean?19:19
MeowDudeI know it needs selinux off, and things like VT and fanatify19:20
T42<Akatsu39> not sure if sfos uses systemd, ubuntu touch and halium which is fork of mer-hybris require to have patches on kernels lower than 3.10 to be able to run systemd19:20
MeowDudeit does have systemd19:20
MeowDudewhat kind of patches OwO?19:21
MeowDudeoh yikes I thought the 2012 Nexus 7 had 3.0 kernel but even that uses the 3.0 kernel19:21
MeowDude3.1*19:21
T42<Akatsu39> if your kernel compiled fine then you might not need patches19:23
MeowDudeI had to comment out the IP_xxx_RPFILTER config checks19:23
MeowDudebut other than that, all was well19:23
T42<Akatsu39> http://docs.halium.org/en/latest/porting/build-sources.html#as-of-systemd-233-the-3-4-kernel-needs-to-have-a-patch-in-order-to-boot-tmpmnt-not-being-created19:24
T42<Akatsu39> not sure if this does apply to hybris tho.19:24
T42<Akatsu39> from docs https://sailfishos.org/wiki/Architecture  ``Currently lowest supported kernel is 3.4``19:27
MeowDudeelros has it working on 3.019:27
MeowDudethis tablet sucks to develop for, and the dev who pimped it out so much has barely documented most of what he did to get it to boot custom roms19:28
T42魏鹏婷 %lastname% was added by: 魏鹏婷 %lastname%21:31
MeowDudeI did it, I editted the makefile and it's a vmlinux image with the kindle uboot info applied21:50
MeowDudeI set the default parameters to vmlinux, and pasted the baked in script for packaging from the kernel makefile to the hybris boot makefile. file "hybris-boot.img" is returning "data" just like every other kfhd image. praying this works21:50

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