Sunday, 2024-12-15

sharksCripes, now I can't get `build_packages.sh --version` to work: https://pastebin.com/uLZrtAKN00:16
sharksGot to fix a clutch and / or gearbox, so will try to come back to the computer and solve this problem in a few hours.00:17
maladd the 3 lines after this to droid-config spec https://github.com/mlehtima/droid-config-fp4/blob/devel/rpm/droid-config-fp4.spec#L20 and then run build_packages.sh -c00:20
maland then build_packages.sh --version again00:20
sharksToo hot to take the gearbox out, back to sailfish. Mal - those three lines changed the result, but not by much, still stuck at a similar point: https://pastebin.com/VXQM4tdh01:17
malrun this sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm ofono-configs-binder02:57
maland then try build_packages.sh --version again02:58
sharksPackage 'ofono-configs-binder' not found.03:42
sharksDoesn't sound like that's the issue...03:43
sharksSolved it - found in the irc logs a suggestion to run `sdk-assistant maintain $VENDOR-$DEVICE-$PORT_ARCH zypper -n --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE install --allow-unsigned-rpm hybris-libsensorfw-qt5 mce-plugin-libhybris ngfd-plugin-native-vibrator pulseaudio-modules-droid qtscenegraph-adaptation`03:52
sharksNow I can (hopefully) create rootfs03:52
sharksThanks for all your help so far03:54
sharksOkay, I've got rootfs zip built, struggling to flash it. Using TWRP (should I not be?) it manages to mount the filesystems, copy the archive, copy and run the installation script, but fails to extract the filesystem and ends with Error 7.04:50
sharksStupid question, but should I be flashing the hybris-boot or hybris-recovery images first?04:50
T42<birdzhang> sharks: use the tar from https://github.com/sailfish-on-ginkgo/hybris-installer/blob/master/hybris-installer/tar06:39
sharksbridzhang, just to confirm - I need to clone sailfish-on-ginkgo/hybris-installer and set it up as per README.md, correct? From what I can tell, it appears to be a workaround to use an alternate version of tar as TWRP's does not work properly?07:14
T42<birdzhang> Yes you can, or just download this tar file, push to /sdcard/, and use it to decompress rootfs07:22
T42<birdzhang> take a look of updater-unpack.sh, replace FS_ARC and tar to correct one07:25
sharksWhy do you say to replace FS_ARC?07:28
T42<birdzhang> FS_ARC="/data/sailfishos-rootfs.tar.bz2"07:40
T42<birdzhang> My FS_ARC is not sailfishos-rootfs.tar.bz207:40
T42<birdzhang> And you need flash hybris-boot.img manually07:41
sharksOkay, my FS_ARC is sailfishos-rootfs.tar.bz2, according to META-INF/com/google/android/updater-script. So I won't change that.08:37
sharksDoes it matter what order I flash SFOS & hybris-boot.img?08:37
sharksOkay - current order of events: Boot to TWRP, wipe, flash LineageOS, unmount data, flash SFOS, flash hybris-boot, reboot - will let you know what happens, if anything!09:02
sharksDevice seems dead - Not booting. I've got "KERNEL IS NOT SEANDROID ENFORCING" on the screen, nothing coming out through dmesg :(09:09
sharksFrom what I understand, it seems like the most likely point of failure is my fixup-mountpoints? If I had that right, I should have something in dmesg. The fact that there is no output in dmesg means /system isn't mounted, correct?09:19
sharksHere's my working for fixup-mountpoints. Could someone please double-check it and let me know if I've made a mistake? Thanks a ton. https://pastebin.com/R62UEE4P09:26
T42<elros34> Does your device reboots, do you have init.log? https://sailfishos.wiki/link/20#bkmrk-%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0-%2A-if-your-de-111:43
sharks@elros34, the device does not reboot by itself, but I can kill it by holding volDown+home+power. I can then reboot to recovery. Just reflashing SFOS now and trying to boot again to see if init.log will appear after a reboot in TWRP, hold on.11:58
T42<elros34> btw make sure you format /data before flashing sfos12:00
T42<elros34> don't bother too much about fixup-mountpoints now. Do you have your changes uploaded somwhere yet?12:02
sharksAh bugger, too late - will have to start again! It's already flashing.12:02
sharksI don't think I have all of them uploaded? There is some stuff here, as per the HADK, but I don't think that's everything and frankly I'm a bit lost as to how I'12:03
sharksm supposed to upload it all...12:03
sharkshttps://github.com/sharks-dev?tab=repositories12:03
sharksOkay, got everything flashed again, attempted boot, killed device, rebooted to TWRP, but there's no init.log :(12:16
T42<elros34> so its hybris-17, did you follow this advice: https://sailfishos.wiki/link/20#bkmrk-%2A-for-android-8-10-d?12:25
sharksThat could be the issue, thanks elros. I followed the Android base specific fixes in the HADK-faq, but missed the ones in the hot HADK.12:29
sharksIt's half an hour to midnight now, so I'm signing off for the night, but I'll have another crack tomorrow. Thanks again for the help12:29
T42<elros34> such a nice commitless kernel sources:) this is probably different issue, see ya12:33
ecrnsamsung provides kernels as a working tree archive12:37
ecrnah, ok, he used some lineage one which has the commit history restored12:41
T42<elros34> but not all12:42

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