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> ofc | 08:49 |
T42 | <birdzhang> dd if=boot.img of=/dev/balabla | 08:50 |
T42 | <birdzhang> check it from your fixup mountpoints | 08:50 |
Mister_Magister | or just use cp | 09: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.sh | 10:20 |
T42 | <edp_17> Yeah, I am just checking that. Thanks @elros34 | 10:33 |
Mister_Magister | Anyone 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 dies | 14:05 |
Mister_Magister | well its ufs but still | 14:06 |
Mister_Magister | you would have to write petabytes worth to degrate it so much so that it dies | 14:06 |
Mister_Magister | not worth worrying over | 14: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_Magister | I already had it modified to just enable keyboard and thats it | 14:59 |
Mister_Magister | it produces small bug | 14:59 |
T42 | <Lukapanio> at least 2 bugs | 15:00 |
Mister_Magister | nah only one | 15:00 |
T42 | <Lukapanio> 1 would be a keyboard device that is there all the time | 15:00 |
Mister_Magister | thats not a problem | 15:01 |
T42 | <Lukapanio> another would be keyboard that isnt disabled when folded | 15:01 |
Mister_Magister | that might be a problem | 15:01 |
Mister_Magister | but neither of them are the bug | 15:01 |
Mister_Magister | after boot there's cursor visible on screen and onscreen keyboard is disabled but if you turn screen off and on again its fine | 15:01 |
T42 | <Lukapanio> i would guess disabled keyboard is the result of 1st issue i mentioned | 15:02 |
Mister_Magister | but if you turn screen off and on its fine | 15:02 |
Keto | yeah, 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 connected | 19:16 |
Keto | like some unified wireless mouse+keyboard dongles | 19:17 |
Mister_Magister | Keto: 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 it | 23:36 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!