MeowDude | this is so weird, all my kindle kernels aren't recognised as images by the tools I use | 00:24 |
---|---|---|
MeowDude | and I can't 100% figure out what format they are in | 00:24 |
T42 | samwellho was added by: samwellho | 08:48 |
T42 | <Janice %lastname%> (Photo, 786x878) https://irc.thaodan.de/.imgstore/V5CQLnlJu7.png 🌟🌟6万个电报群、微信、土豆、推特增粉推广,非小号关注,kyc出售,facebook增粉,实名微信号,中英文活跃 客服管理,交易所投票,实名账号更多业务欢迎咨询 @ttlta | 09:04 |
T42 | <samwellho> https://pastebin.com/dH8harVT | 11: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 OK | 11:05 |
T42 | <samwellho> https://pastebin.com/fr2Cw4SD | 11:05 |
T42 | <NotKit> continue along HADK then | 11:05 |
T42 | <samwellho> But cannot build_all_packages | 11: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 anymore | 11:17 |
T42 | <samwellho> I used this repo. https://github.com/SailfishOS-Whyred-sdm660 | 11:18 |
T42 | <samwellho> With this repo init -u https://github.com/SailfishOS-Whyred-sdm660/SailfishOS_manifest.git -b hybris-15.1 | 11:19 |
T42 | <samwellho> And I've tryed repo init -u https://github.com/SailfishOS-Whyred-sdm660/SailfishOS_manifest.git -b hybris-15.1-bak | 11:19 |
T42 | <samwellho> No luck | 11:20 |
T42 | <samwellho> This is my local manifest file https://pastebin.com/3bE0pa6M | 11:22 |
T42 | <NotKit> I suggest to start over with droid-hal-device/droid-config device packages | 12:02 |
T42 | <NotKit> the ones in that repo are not entirely correct and were made for older 14.1 based port | 12:02 |
T42 | 曹茂惠 %lastname% was added by: 曹茂惠 %lastname% | 12:03 |
*** olesalscheider_ is now known as olesalscheider | 12:04 | |
T42 | <胡卡筐 %lastname%> (Photo, 1280x718) https://irc.thaodan.de/.imgstore/4Uua4ladCa.png 💥非小号mytoken关注排名.微信群.电报群 群发推广炸群,电报群.微信群.Patato增粉,twitter.facebook.Linkedin关注.电报群微信群Patato活跃聊天,中英文群管理客服,KYC出售,币圈朋友圈广告,各类投票,私聊指定电报群成员.出售微信号脸书推特号,出售支付宝,交易所用户资料,交易所代实名 | 12:29 |
MeowDude | is hybris 11 suitable for sfos 3.x? I can use hybris 13 but the base android rom is finnicky | 18:25 |
T42 | <NotKit> @MeowDude [is hybris 11 suitable for sfos 3.x? I can use …], yes | 18:27 |
MeowDude | oh good | 18:27 |
MeowDude | hey @notkit you did work with an old omap device, droid 4 right? did it use vmlinux kernel images? | 18:27 |
MeowDude | my 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 zimage | 18:28 |
T42 | <NotKit> @MeowDude [hey @notkit you did work with an old omap devi …], Droid 4 is special as it uses SafeStrap and kexec | 18:30 |
T42 | <NotKit> no boot.img there, but zImage and ramdisk | 18:31 |
MeowDude | everytime I try to boot a hybris image on my kindle it just goes straight to fastboot, I don't get a last_kmsg or anything | 18:31 |
MeowDude | does that sound familiar to you? | 18:31 |
T42 | <NotKit> @MeowDude [my kindle fire does, when I run "file <boot.im …], you found your problem already | 18:31 |
T42 | <NotKit> investigate how LOS boot.img is built and replicate it for hybris-boot | 18:32 |
MeowDude | I'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 it | 18:32 |
MeowDude | what make file is responsible for building hybris-boot.img? | 18:38 |
MeowDude | I'm looking at hybris/hybris-boot/makefile and hoping it isn't that one | 18: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 |
MeowDude | thanks | 18:59 |
MeowDude | omg this pstore thing might be a life saver, thank you so much. I hope it works | 19:02 |
MeowDude | and it would appear logs aside from last_kmsg are stored in | 19:05 |
T42 | <Akatsu39> and remember to use hybris-boot because boot.img might not have initramfs in it | 19:05 |
MeowDude | "/sys/fs/pstore/" assuming CONFIG_PSTORE_CONSOLE and CONFIG_PSTORE_RAM are both y | 19:05 |
MeowDude | I have been, boot.img is just the prebuilt android kernel iirc. | 19:06 |
MeowDude | I might only mess with absolutely necessary configs, just in case any kernel configs are preventing a smooth boot to at least telnet | 19: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 check | 19:18 |
MeowDude | that one says it addresses a 2019 kernel security patch, which wouldn't apply to my 2012 3.0 kernel | 19:18 |
T42 | <Akatsu39> uh, 3.0 kernel, thats dated, not sure if you need kernel patches. | 19:19 |
MeowDude | what do you mean? | 19:19 |
MeowDude | I know it needs selinux off, and things like VT and fanatify | 19: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 systemd | 19:20 |
MeowDude | it does have systemd | 19:20 |
MeowDude | what kind of patches OwO? | 19:21 |
MeowDude | oh yikes I thought the 2012 Nexus 7 had 3.0 kernel but even that uses the 3.0 kernel | 19:21 |
MeowDude | 3.1* | 19:21 |
T42 | <Akatsu39> if your kernel compiled fine then you might not need patches | 19:23 |
MeowDude | I had to comment out the IP_xxx_RPFILTER config checks | 19:23 |
MeowDude | but other than that, all was well | 19: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-created | 19: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 |
MeowDude | elros has it working on 3.0 | 19:27 |
MeowDude | this 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 roms | 19:28 |
T42 | 魏鹏婷 %lastname% was added by: 魏鹏婷 %lastname% | 21:31 |
MeowDude | I did it, I editted the makefile and it's a vmlinux image with the kindle uboot info applied | 21:50 |
MeowDude | I 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 works | 21:50 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!