Thursday, 2020-03-05

*** birdzhang1 is now known as birdzhang01:20
T42<燕茂淮 %lastname%> (Photo, 1252x706) https://irc.thaodan.de/.imgstore/C1xOi1nAwD.png 承接各大电报业务,增粉,售号,炸群,水军活跃度提升,币所上币实名,非小号排名提升,新出10个高质量微信号(特价出),更多业务咨询   @MM2002902:23
T42<马幽淦 %lastname%> (Photo, 1252x706) https://irc.thaodan.de/.imgstore/xQk62yZO4F.png 承接各大电报业务,增粉,售号,炸群,水军活跃度提升,币所上币实名,非小号排名提升,新出10个高质量微信号(特价出),更多业务咨询   @MM2002902:24
T42霍雅塔 %lastname% was added by: 霍雅塔 %lastname%02:40
T42Donald %lastname% was added by: Donald %lastname%03:24
T42邹琳磊 %lastname% was added by: 邹琳磊 %lastname%05:05
T42Augustine %lastname% was added by: Augustine %lastname%05:09
T42胡卡筐 %lastname% was added by: 胡卡筐 %lastname%05:14
T42Janice %lastname% was added by: Janice %lastname%05:38
MeowDudedoes sailfish OS support 3.0.7 kernel? I'm building for 2012 Kindle Fire HD and I keep getting "CONFIG_IP6_NF_MATCH_RPFILTER is invalid" despite having it set in all 3 configs that it uses to build the kernel05:49
MeowDudeI just removed them from the kernel verify. It seems to reference a kernel thing that I doubt applies to my ancient kernel, seeing as it wasn't in the check 2 years ago05:53
MeowDudeis there any way to speed up build packages by skipping files that are already built?06:03
T42<edp_17> @MeoDude: for that old kernel you probably need the glibc patch from elros34. Add this file into your droid-config-$DEVICE: https://github.com/edp17/droid-config-i9100/blob/master/sparse/usr/share/ssu/features.d/glibc.ini06:45
MeowDudeyou sir, are a g06:47
MeowDudeas for the missing "service something.rc" file, I just commented it out06:48
T42<edp_17> For my kernel 3.0.64 I needed that to be able to build sailfish.06:52
MeowDudeI was able to build everything, including a first build of rootfs06:52
MeowDudebut I added that anyway, it can't hurt, and I doubt I'll even get to telnet with this build06:53
MeowDudethanks again man06:53
T42<edp_17> Np, I hope will work.06:54
MeowDudeit immediately goes to fastboot mode06:58
MeowDudethere's no /proc/last_kmsg... does that mean it never even got to the kernel?07:00
T42<edp_17> You need to check the fixup-mountpoints. I am not familiar with that device I am affraid.07:01
MeowDudeheck that's a pain07:02
MeowDudeI'll double check, I did grab them on cm11 rather than my proper cm12.1 base... In the file, it shows /platform/name/*/*/by-name - can I replace those stars with the actual proper file path to ensure no mixups?07:03
MeowDudeis it at all necessary?07:03
MeowDudeI also set selinux=0 in boardconfig.mk. fixup mountpoints would definitely make sense though in this case so that will be my first go to07:04
MeowDudestraight to fastboot again07:44
MeowDudeI checked the mount points, selinux is fully disabled, and the 3.0 elros patch was applied, what could I be doing wrong?07:44
T42<edp_17> In my case I could not use the hybris-boot.img because my device couldn't boot with it. In the same folder (out/...) there is a file called kernel. I needed to flash that into the boot partition (called KERNEL in my case) then my device booted.08:07
T42<Donald %lastname%> (Photo, 1060x573) https://irc.thaodan.de/.imgstore/TGZaus0ZmW.png 🤡🤡新一年以上微信号20个,要的速度   @s103281530009:01
T42<edp_17> @MeowDude: I think I used fixup-mountpoints from here (I added my device to the section where the i9300 was):09:38
T42<edp_17> https://github.com/mer-hybris/hybris-boot/blob/master/fixup-mountpoints09:38
MeowDudeT42 flashed "kernel" (not an img?) to boot via fastboot, still booting straight into fastboot. I'll try that file, but how is it different?20:30
MeowDudeit's also still not creating a "last_kmsg" file for me to work with20:31
MeowDudemaybe I could switch bases? but I'm really not sure if I want to sync hybris 11. I might try in another folder, not sure20:38
MeowDudeI also tried manually booting the hybris-boot.img from fastboot, and it reports booting in 0.004 seconds with no change20:52
MeowDudethe sailfishos stuff is in .stowaways on the root of my /data partition. Mountpoints match up, I've tried the kernel file and hybris-boot both via flashing manually and running fastboot boot. I can't imagine what's wrong.21:37
malwhat do you mean you flashed kernel and not img?21:41
MeowDudeT42 said on his device, he had to flash a file named "kernel" in out/target/product/...21:43
MeowDudeI have no way of figuring out the problem because there are no logs to work with. It just goes to fastboot, like it doesn't even bother21:43
malMeowDude: T42 is a telegram tunel bot, use the nick after that (and add @ before it) in case you want to highlight the person21:45
MeowDudeoh, @edp_17 then21:45
malyes21:45
MeowDudedo you have any idea what this could be or what I could do?21:45
malMeowDude: hybris-boot.img is the one to use, if there is just a file called kernel that is probably just the pure kernel without init ramdisk which won't boot21:46
MeowDudeI'm tempted to try switching bases, but I'm not optimistic21:46
malwhich device?21:46
MeowDudeit hasn't made any difference which one I use : (21:46
MeowDudeKindle FIre HD 721:46
MeowDudetate21:46
maldo you see anything in host dmesg if you use hybris-boot.img?21:46
MeowDudehow would I access that log?21:47
MeowDudeI don't get telnet or anything, it's just straight to fastboot every time I flash hybris-boot or install my fully built package21:47
malwhich OS do you have on you computer, some linux I assume?21:47
MeowDudeyes21:47
MeowDudeUbuntu 18.0421:48
MeowDudeI had this same issue last time I tried, a couple years ago on 16.04 though.21:48
malI meant that if you anything usb related on your computer dmesg when you try to boot the new kernel on your phone21:48
MeowDudeoh! okay. I kept getting mtp errors I'll give that a shot21:49
malnot sure if related to this issue but for example a samsung tablet was very picky how you rebooted the device after flashing the kernel21:49
malalso one option is that make sure the kernel init ramdisk is compressed with supported format, but that should not be an issue anymore as the kernel checker should complain about that21:50
T42<NotKit> some devices used to have non-standard bootimg format21:51
MeowDudemal https://paste.ee/p/EH9Qz - here is the dmessage21:51
T42<NotKit> like pure kernel with ramdisk embedded inside21:51
MeowDudeit begins with USB disconnect, when I entered "fastboot reboot"21:51
T42<adampigg> Los source should show how it works21:52
MeowDudedoesn't seem to have anything interesting21:52
malyes, some devices indeed use some custom bootimg formats21:52
MeowDudeI might switch over to cm12.1 sources rather than los12.1, as I'm having a lot of trouble building the base image21:52
MeowDudewhere in the source would I find that? i'll look at it real quick in the mean time21:53
malusually the android base is not the issue in these kinds of boot troubles21:54
MeowDudeI have the kernel source open on github, but don't know where to start21:55
malyou need to first figure out if the kernel image format is correct21:55
MeowDudeI have my android base's boot image, I'll open that and look around21:56
MeowDudewhat type does hybris build by default?21:57
MeowDudemal I'm poking around the makefiles of my kernels source, and the one for hybris boot, is vmlinux a type of image type? I now know that hybris uses zimage by default22:05
T42<edp_17> How I figured out the kernel image format was: file kernel.img22:23
MeowDude@edp_17 I think my tablet wants a vmlinux image, but hybris-boot is generated as a zimage image by default22:24
MeowDude*I think*22:24
T42<edp_17> I could not use hybris-boot.img because its format was different what the device could accept. That's why I flashed the kernel file itself.22:24
MeowDudesurely there is a variable that determines what format hybris-boot is made as22:25
MeowDudeand you're saying that your device could boot to gui with just that kernel file?22:25
T42<edp_17> Yes.22:25
MeowDudemine doesn't have .img at the end though22:25
MeowDudeit's just "kernel" and then "ramdisk.img"22:26
T42<edp_17> I didn't know this until somebody from this forum helped me.22:26
T42<edp_17> I think TheKit was who helped but I might remember wrong.22:26
T42<adampigg> Samsung is similar, it has a kernel partition22:27
T42<edp_17> The kernel image file doesn't have .img extension.22:27
MeowDudeis there a fastboot command to list partitions?22:28
T42<edp_17> @adampigg : yes, my device is a galaxy s222:28
T42<edp_17> I am not familiar with fastboot.22:29
MeowDudesomeone has gotten arch to boot on it's sister device, I never even knew this. They say it has no initram and it boots straight from second bootloader22:30
T42<edp_17> By the way when I renamed the file kernel to kernel.img, I was able to flash with twrp.22:30
MeowDudeit doesn't seem to have a seperate kernel partition22:33
MeowDudeit's just boot, a couple hidden factory partitions, and the usual stuff.22:34
T42<edp_17> Is the boot and kernel partition not the same?22:36
MeowDudethey are the same22:36
MeowDudekernels are flashed to boot22:36
MeowDudeand yet my device is acting as though there is nothing there22:36
MeowDudelet me erase boot and see if it acts the same. oh no nevermind22:36
T42<edp_17> Did you flash the kernel or hybris-boot.img to boot partition?22:37
MeowDudeI've tried both. It seems that the images for this kindle have something baked in that hijacks the boot process. *sigh* this device is confusing22:37
T42<edp_17> Do you have an android kernel or boot image what boots up?22:38
MeowDudeof course22:39
T42<edp_17> Do a file on it and see what it says.22:40
MeowDudedo a file on it?22:40
T42<edp_17> Just enter 'file imagename.img'22:41
T42<edp_17> Replace the imagename.img with the name of the boot image file name.22:41
MeowDudemaybe it has something to do with the stack file...22:59
MeowDudeis it possible to boot sailfish os from the base rom?23:07
MeowDudeI'm at a loss, and hashcode hasn't really documented how his stack file works, what it does, and how the kernel interacts with it. I also can't figure out how to mount the stack.img file either to see what's in it23:23
T42<edp_17> Is the stack.img the one you flashed onto boot partition?23:24
MeowDudeno, it's a file that seems to make booting stuff work in android roms on this kindle23:25
MeowDudethe developer doesn't offer any easily available source or explanation for it, and I can't get it to mount23:25
MeowDudethus, I don't know how or what to do to get hybris to work with it, or if it even has to/if that's the issue23:25
T42<edp_17> I see. What is the name of android boot image?23:27
MeowDudeboot.img, as always23:27
MeowDudethe name of the image doesn't effect anything though, I'm pretty sure at least23:27
T42<edp_17> Okay. If you run this command: file boot.img23:28
T42<edp_17> what do you get?23:28
MeowDudeit says data23:28
MeowDude@edp_17 https://pastebin.com/Ebep42Wk - this is odd23:30
MeowDudewhat does this mean?23:30
T42<edp_17> That is the format of the sailfish hybris-boot.img23:32
MeowDudethe cm12.1 boot.img just says data, but the hybris boot.img is tagged to the extreme.23:32
MeowDudeare they supposed to be the same?23:32
T42<edp_17> No.23:32
MeowDudeoh. so nothing visibly wrong?23:32
T42<edp_17> Nope23:33
MeowDudeI don't understand why this tablet won't just play nice23:33
MeowDudeand why I can't at least get a log to work with. I have nothing, I have no idea what's wrong or what to do. It could be almost anything23:33
T42<edp_17> It means your device cannot use hybris-boot.img because its format is different what the device expects23:33
MeowDudeoh! so how do I change the format?23:34
T42<edp_17> I don't know. Try google it what is the kernel format of your device is and how to create.23:35
MeowDudeI23:35
MeowDudeI know my kindle expects a vmlinux image, and that hybris does it zimage style23:35
MeowDudebut I have no idea what part of the makefile decides what format to use23:35
T42<edp_17> For my S2 the correct kernel format is: Linux kernel ARM boot executable zImage (little-indian). The same what the fornat of the kernel file in $ANDROID_ROOT/out/...23:37
MeowDudelet me decompress my cm12.1 image and check the format of the "kernel" file, I was basing my assumption off the makefiles for my kernel source23:38
T42<edp_17> If your device need vmlinux, you need to find out how to convert the zImage to vmlinux. I guess.23:38
T42<edp_17> How can you decompress if that is a data file?23:39
MeowDudeit's an image file is the thing...23:39
MeowDudeI don't know what's up with it23:39
T42<edp_17> Okay, try to decompress.23:40
MeowDudeokay, I blindly just replaced the "zimage" text in the makefile with "vmlinux"23:44
MeowDudequite sure all it does is name anyway, but it's worth a try23:44
MeowDudeomg duh, I have the kernel and ramdisk, I'll just mkbootimg myself23:45
MeowDudedidn't work : (23:49
T42<edp_17> Try to find out how to convert your zImage into vmlinux.23:51

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