Wednesday, 2022-10-05

budrztrying to install SFOS on Google Pixel 3a XL and I still can't boot into SFOS00:33
budrzI unzipped the zip file; booted into LOS 18.1; did adb push sailfishos-bonito-release-4.4.0.68-my1.tar.bz2 /sdcard/; adb shell; su; mkdir -p /data/.stowaways/sailfishos; tar --numeric-owner -xvf /sdcard/sailfish*bz2 -C /data/.stowaways/sailfishos; exit; exit; adb reboot bootloader; fastboot flash boot hybris-boot.img; "Start" <power button>00:33
maldo you see the usb interface up when you try to boot it? does the device stay on or does it reboot after some time?00:41
malI'll check your reply tomorrow00:51
piggz_mal: video playback seems fixed on my pro1x :)08:39
budrzmal: the device reboots into fastboot and it gives a reason: no suitable slot available10:33
budrzthere was one time where, after the google boot logo, a google "G" showed up with a loading bar underneath10:36
budrzit was seemingly indefinite and I have no idea how I got there10:37
voidanix[m]@mal would `rpm/dhd/helpers/build_packages.sh --build external/droidmedia --spec=$ANDROID_ROOT/external/droidmedia/rpm/droidmedia-devel.spec` and `rpm/dhd/helpers/build_packages.sh --mw=https://github.com/sailfishos/gst-droid` work?18:04
voidanix[m]to build gst-droid against the newer droidmedia-devel, that is18:05
malI think it might, assuming that droidmedia-devel gets installed after build18:09
malvoidanix[m]: wondering which one is easier, that or build older droidmedia18:09
voidanix[m]i just tried using the above commands but it still wont play videos with this18:11
voidanix[m]according to the device, the correct package versions are installed18:11
malmaybe it didn't install droidmedia-devel before building gst-droid18:11
voidanix[m]the local droidmedia-devel is marked with `i+` according to `zypper pa -i`18:12
voidanix[m]the other one with a `v`18:12
*** mint[m] is now known as mint[nowtheymintlgbt][m]18:19
budrzmal: I did the installation of the stock rom and LOS 18.1, and now I get the google "G" logo again this time after following the steps I've mentioned18:27
budrzbefore the "G" logo, after the fastboot, the normal Google bootup would show up on the screen but reboots after a while in which a charging battery logo would appear18:31
budrzturning the phone, the Google bootup screen would appear as normal but then it would change into a "G" logo with a loading bar underneath it18:35
budrzOk I think I might know what's happening. My LOS installation is in slot b and after flashing the hybris-boot with fastboot, it tries to load the OS but couldn't so it switches to slot a but slot a has no OS on it18:56
budrzhence the bootloop "G" logo18:57
budrzlet me try to install using the steps in 10.3 (again) using TWRP18:59
budrzInstalling LOS 18.1 was fine, of course, but after trying to install sfos zip, I get "Updater process ended with signal: 7"19:20
T42<elros34> you need to really watch host dmesg after first fastboot flashing hybris-boot instead debugging by  display logo19:33
budrzelros34: I tried that and I don't see any words containing Mer in the output of either dmesg or lsusb20:31
T42<elros34> this is also useful, way more then watching screen. Did you read cpio related point in hadk-hot or generating logs section especially "bootloop" point?20:34
budrzelros34: I did not see that point on cpio or bootloops and it looks like I didn't have cpio installed in the HABUILD environment so I installed it20:41
T42<elros34> yeah hadk is missing this little step to not make porting too easy20:42
budrzI guess that means I have to rebuild the kernel20:42
malhadk pdf is a bit of a compromise, having all possible quirks etc there would make it quite difficult to use20:42
T42<elros34> yeah no, this step is not really quirk, it is required to get anything working and it's quite hard to notice by new porters. I remember when new habuild was released some porters had strange issues and can' figure out what is wrong for quite a time until it becomes clear that ubuntu is missing cpiop20:45
malwhich step was that again?20:47
malI'll see if I can get it fixed somehow to next version20:48
T42<elros34> would be great to have it. Just 'apt-get install cpio' in ubuntu-focal20:49
malyeah, or mention of it in hadk pdf, of course having the binary in chroot would be easier20:50
budrzI recreated the kernel and the os zip file, and  I redid the manual installation but still no luck22:55
budrzI have no log files as mentioned: https://etherpad.wikimedia.org/p/hadk-hot line 183 and 18522:55
budrzso here is the output of abootimg: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/abootimg.log22:56
T42<elros34> ramdisk is there ~1MB so what excatly happen when you flash hybris-boot.img now: dmesg, reboot time23:07
budrzelros34: dmesg log at the time was this: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/dmesg.log23:24
budrzit would sit for a while on the Google boot screen and then reboot twice until the charging battery icon appeared23:25
budrzreboot time I'd say maybe 10 - 20 seconds or so23:26
T42<elros34> in that case initramfs is not reached or it fails at some point. About these dmesg log: which line is first boot after flasing and first reboot23:28
budrzthat I don't recall exactly23:29
budrzI can try reflashing it and reupload it if you want23:30
T42<elros34> so this log doesn't tell much. Still no idea what is happening at first boot.23:31
T42<elros34> you can flash hybris-recovery.img instead hybris-boot (make sure you have build it after installing cpio). It will not try to switch to real rootfs23:34
T42<elros34> This is lineage-18 right so there is no skip_initramfs added by botloader to kernel?23:35
T42<elros34> but anyway please show your kernel sources23:36
T42<elros34> btw do you flash kernel using fastboot or via twrp?23:39
budrzit is lineage os 18.1 and I flashed using fastboot. I even tried dd23:41
budrzwhat sources do you want to see?23:41
T42<elros34> kernel23:41
T42<elros34> better use fastboot instead dd to make sure you have right slot active23:42
T42<elros34> there should be boot.im next to hybris-boot.img. IIRC it contains android initramfs, you can flash and see if there is any difference in host dmesg. As alst resort you just rever your defconfig changes and flash boot.img ( so basically same as lineage)23:50
budrzok23:52
budrzit is taking a while to upload the kernel sources, so I may have to do this in the morning23:55
T42<elros34> no, not like that. Fork existing sources then just add your commits. For know just show lineage sources url23:57

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