Thursday, 2025-03-20

T42<edp_17> Is it possible to flash a boot image from sfos? (not from recovery but command line in sfos.)08:36
T42<birdzhang> ofc08:49
T42<birdzhang> dd if=boot.img of=/dev/balabla08:50
T42<birdzhang> check it from your fixup mountpoints08:50
Mister_Magisteror just use cp09:45
T42<edp_17> Great, thanks. I wasn't sure the dd would do it. I'll test.10:07
T42<elros34> there is script for this (from hadk-faq) https://github.com/mer-hybris/droid-config-hammerhead/blob/master/sparse/var/lib/platform-updates/flash-bootimg.sh10:20
T42<edp_17> Yeah, I am just checking that. Thanks @elros3410:33
Mister_MagisterAnyone fancy debugging yamui with me?10:41
T42<edp_17> I wonder whether is there a limit how many times I can flash a boot image on device?14:05
Mister_Magister@edp_17 at some point EMMC is gonna degrade but that's like, when emmc in its entirety dies14:05
Mister_Magisterwell its ufs but still14:06
Mister_Magisteryou would have to write petabytes worth to degrate it so much so that it dies14:06
Mister_Magisternot worth worrying over14:06
T42<edp_17> I have to create a hacky solution to switch between Sailfish and its Los. I came up with a script that flashes sfos or android boot image and reboots. It can be executed from Termux (Android side) and Shellex (sailfish side)14:37
T42<edp_17> However, I did concern about flashing the boot so many times.14:38
T42<Lukapanio> oh hi xiaomi-keyboard  my beloved :D i did write that one, id guess you can try to edit it to get it running on sfos (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>mal...)14:58
Mister_MagisterI already had it modified to just enable keyboard and thats it14:59
Mister_Magisterit produces small bug14:59
T42<Lukapanio> at least 2 bugs15:00
Mister_Magisternah only one15:00
T42<Lukapanio> 1 would be a keyboard device that is there all the time15:00
Mister_Magisterthats not a problem15:01
T42<Lukapanio> another would be keyboard that isnt disabled when folded15:01
Mister_Magisterthat might be a problem15:01
Mister_Magisterbut neither of them are the bug15:01
Mister_Magisterafter boot there's cursor visible on screen and onscreen keyboard is disabled but if you turn screen off and on again its fine15:01
T42<Lukapanio> i would guess disabled keyboard is the result of 1st issue i mentioned15:02
Mister_Magisterbut if you turn screen off and on its fine15:02
Ketoyeah, we have been wondering what to do with on-screen keyboard and devices that say they are keyboard but are not really, or are not really connected19:16
Ketolike some unified wireless mouse+keyboard dongles19:17
Mister_MagisterKeto: nah this one is on me, i can disable or enable the keyboard depending on like if its present or stuff but its simpler to just… enable it23:36

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