*** birdzhang1 is now known as birdzhang | 01:20 | |
T42 | <燕茂淮 %lastname%> (Photo, 1252x706) https://irc.thaodan.de/.imgstore/C1xOi1nAwD.png 承接各大电报业务,增粉,售号,炸群,水军活跃度提升,币所上币实名,非小号排名提升,新出10个高质量微信号(特价出),更多业务咨询 @MM20029 | 02:23 |
---|---|---|
T42 | <马幽淦 %lastname%> (Photo, 1252x706) https://irc.thaodan.de/.imgstore/xQk62yZO4F.png 承接各大电报业务,增粉,售号,炸群,水军活跃度提升,币所上币实名,非小号排名提升,新出10个高质量微信号(特价出),更多业务咨询 @MM20029 | 02:24 |
T42 | 霍雅塔 %lastname% was added by: 霍雅塔 %lastname% | 02:40 |
T42 | Donald %lastname% was added by: Donald %lastname% | 03:24 |
T42 | 邹琳磊 %lastname% was added by: 邹琳磊 %lastname% | 05:05 |
T42 | Augustine %lastname% was added by: Augustine %lastname% | 05:09 |
T42 | 胡卡筐 %lastname% was added by: 胡卡筐 %lastname% | 05:14 |
T42 | Janice %lastname% was added by: Janice %lastname% | 05:38 |
MeowDude | does 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 kernel | 05:49 |
MeowDude | I 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 ago | 05:53 |
MeowDude | is 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.ini | 06:45 |
MeowDude | you sir, are a g | 06:47 |
MeowDude | as for the missing "service something.rc" file, I just commented it out | 06:48 |
T42 | <edp_17> For my kernel 3.0.64 I needed that to be able to build sailfish. | 06:52 |
MeowDude | I was able to build everything, including a first build of rootfs | 06:52 |
MeowDude | but I added that anyway, it can't hurt, and I doubt I'll even get to telnet with this build | 06:53 |
MeowDude | thanks again man | 06:53 |
T42 | <edp_17> Np, I hope will work. | 06:54 |
MeowDude | it immediately goes to fastboot mode | 06:58 |
MeowDude | there'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 |
MeowDude | heck that's a pain | 07:02 |
MeowDude | I'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 |
MeowDude | is it at all necessary? | 07:03 |
MeowDude | I also set selinux=0 in boardconfig.mk. fixup mountpoints would definitely make sense though in this case so that will be my first go to | 07:04 |
MeowDude | straight to fastboot again | 07:44 |
MeowDude | I 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个,要的速度 @s1032815300 | 09: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-mountpoints | 09:38 |
MeowDude | T42 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 |
MeowDude | it's also still not creating a "last_kmsg" file for me to work with | 20:31 |
MeowDude | maybe I could switch bases? but I'm really not sure if I want to sync hybris 11. I might try in another folder, not sure | 20:38 |
MeowDude | I also tried manually booting the hybris-boot.img from fastboot, and it reports booting in 0.004 seconds with no change | 20:52 |
MeowDude | the 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 |
mal | what do you mean you flashed kernel and not img? | 21:41 |
MeowDude | T42 said on his device, he had to flash a file named "kernel" in out/target/product/... | 21:43 |
MeowDude | I 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 bother | 21:43 |
mal | MeowDude: T42 is a telegram tunel bot, use the nick after that (and add @ before it) in case you want to highlight the person | 21:45 |
MeowDude | oh, @edp_17 then | 21:45 |
mal | yes | 21:45 |
MeowDude | do you have any idea what this could be or what I could do? | 21:45 |
mal | MeowDude: 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 boot | 21:46 |
MeowDude | I'm tempted to try switching bases, but I'm not optimistic | 21:46 |
mal | which device? | 21:46 |
MeowDude | it hasn't made any difference which one I use : ( | 21:46 |
MeowDude | Kindle FIre HD 7 | 21:46 |
MeowDude | tate | 21:46 |
mal | do you see anything in host dmesg if you use hybris-boot.img? | 21:46 |
MeowDude | how would I access that log? | 21:47 |
MeowDude | I don't get telnet or anything, it's just straight to fastboot every time I flash hybris-boot or install my fully built package | 21:47 |
mal | which OS do you have on you computer, some linux I assume? | 21:47 |
MeowDude | yes | 21:47 |
MeowDude | Ubuntu 18.04 | 21:48 |
MeowDude | I had this same issue last time I tried, a couple years ago on 16.04 though. | 21:48 |
mal | I meant that if you anything usb related on your computer dmesg when you try to boot the new kernel on your phone | 21:48 |
MeowDude | oh! okay. I kept getting mtp errors I'll give that a shot | 21:49 |
mal | not sure if related to this issue but for example a samsung tablet was very picky how you rebooted the device after flashing the kernel | 21:49 |
mal | also 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 that | 21:50 |
T42 | <NotKit> some devices used to have non-standard bootimg format | 21:51 |
MeowDude | mal https://paste.ee/p/EH9Qz - here is the dmessage | 21:51 |
T42 | <NotKit> like pure kernel with ramdisk embedded inside | 21:51 |
MeowDude | it begins with USB disconnect, when I entered "fastboot reboot" | 21:51 |
T42 | <adampigg> Los source should show how it works | 21:52 |
MeowDude | doesn't seem to have anything interesting | 21:52 |
mal | yes, some devices indeed use some custom bootimg formats | 21:52 |
MeowDude | I might switch over to cm12.1 sources rather than los12.1, as I'm having a lot of trouble building the base image | 21:52 |
MeowDude | where in the source would I find that? i'll look at it real quick in the mean time | 21:53 |
mal | usually the android base is not the issue in these kinds of boot troubles | 21:54 |
MeowDude | I have the kernel source open on github, but don't know where to start | 21:55 |
mal | you need to first figure out if the kernel image format is correct | 21:55 |
MeowDude | I have my android base's boot image, I'll open that and look around | 21:56 |
MeowDude | what type does hybris build by default? | 21:57 |
MeowDude | mal 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 default | 22:05 |
T42 | <edp_17> How I figured out the kernel image format was: file kernel.img | 22:23 |
MeowDude | @edp_17 I think my tablet wants a vmlinux image, but hybris-boot is generated as a zimage image by default | 22: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 |
MeowDude | surely there is a variable that determines what format hybris-boot is made as | 22:25 |
MeowDude | and you're saying that your device could boot to gui with just that kernel file? | 22:25 |
T42 | <edp_17> Yes. | 22:25 |
MeowDude | mine doesn't have .img at the end though | 22:25 |
MeowDude | it'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 partition | 22:27 |
T42 | <edp_17> The kernel image file doesn't have .img extension. | 22:27 |
MeowDude | is there a fastboot command to list partitions? | 22:28 |
T42 | <edp_17> @adampigg : yes, my device is a galaxy s2 | 22:28 |
T42 | <edp_17> I am not familiar with fastboot. | 22:29 |
MeowDude | someone 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 bootloader | 22: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 |
MeowDude | it doesn't seem to have a seperate kernel partition | 22:33 |
MeowDude | it'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 |
MeowDude | they are the same | 22:36 |
MeowDude | kernels are flashed to boot | 22:36 |
MeowDude | and yet my device is acting as though there is nothing there | 22:36 |
MeowDude | let me erase boot and see if it acts the same. oh no nevermind | 22:36 |
T42 | <edp_17> Did you flash the kernel or hybris-boot.img to boot partition? | 22:37 |
MeowDude | I've tried both. It seems that the images for this kindle have something baked in that hijacks the boot process. *sigh* this device is confusing | 22:37 |
T42 | <edp_17> Do you have an android kernel or boot image what boots up? | 22:38 |
MeowDude | of course | 22:39 |
T42 | <edp_17> Do a file on it and see what it says. | 22:40 |
MeowDude | do 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 |
MeowDude | maybe it has something to do with the stack file... | 22:59 |
MeowDude | is it possible to boot sailfish os from the base rom? | 23:07 |
MeowDude | I'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 it | 23:23 |
T42 | <edp_17> Is the stack.img the one you flashed onto boot partition? | 23:24 |
MeowDude | no, it's a file that seems to make booting stuff work in android roms on this kindle | 23:25 |
MeowDude | the developer doesn't offer any easily available source or explanation for it, and I can't get it to mount | 23:25 |
MeowDude | thus, 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 issue | 23:25 |
T42 | <edp_17> I see. What is the name of android boot image? | 23:27 |
MeowDude | boot.img, as always | 23:27 |
MeowDude | the name of the image doesn't effect anything though, I'm pretty sure at least | 23:27 |
T42 | <edp_17> Okay. If you run this command: file boot.img | 23:28 |
T42 | <edp_17> what do you get? | 23:28 |
MeowDude | it says data | 23:28 |
MeowDude | @edp_17 https://pastebin.com/Ebep42Wk - this is odd | 23:30 |
MeowDude | what does this mean? | 23:30 |
T42 | <edp_17> That is the format of the sailfish hybris-boot.img | 23:32 |
MeowDude | the cm12.1 boot.img just says data, but the hybris boot.img is tagged to the extreme. | 23:32 |
MeowDude | are they supposed to be the same? | 23:32 |
T42 | <edp_17> No. | 23:32 |
MeowDude | oh. so nothing visibly wrong? | 23:32 |
T42 | <edp_17> Nope | 23:33 |
MeowDude | I don't understand why this tablet won't just play nice | 23:33 |
MeowDude | and 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 anything | 23:33 |
T42 | <edp_17> It means your device cannot use hybris-boot.img because its format is different what the device expects | 23:33 |
MeowDude | oh! 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 |
MeowDude | I | 23:35 |
MeowDude | I know my kindle expects a vmlinux image, and that hybris does it zimage style | 23:35 |
MeowDude | but I have no idea what part of the makefile decides what format to use | 23: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 |
MeowDude | let 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 source | 23: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 |
MeowDude | it's an image file is the thing... | 23:39 |
MeowDude | I don't know what's up with it | 23:39 |
T42 | <edp_17> Okay, try to decompress. | 23:40 |
MeowDude | okay, I blindly just replaced the "zimage" text in the makefile with "vmlinux" | 23:44 |
MeowDude | quite sure all it does is name anyway, but it's worth a try | 23:44 |
MeowDude | omg duh, I have the kernel and ramdisk, I'll just mkbootimg myself | 23:45 |
MeowDude | didn'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/!