ohyash | Hey, so I saw sfdroid videos on youtube. It seems like a great way to have android apps when alien-dalvik is not present. (and anbox patches are missing). | 15:18 |
---|---|---|
ohyash | what I was wondering is if full android is present and sailfish doesn't delete anything then is it possible to multiboot LOS and SFOS? | 15:19 |
ohyash | Not the standard multiboot way where I'd have to have separate copies of LOS+SFOS and LOS | 15:20 |
ohyash | and is it not possible to use sfdroid over LOS14.1? | 15:26 |
mal | sfdroid is quite obsolete, we are working on using anbox in sailfish | 15:31 |
ohyash | mal: and any possibility to have a bootloader asking me where to boot? If there is whole LOS sitting there, I might as well use that for android things and not worry about android apps on sailfish. | 15:41 |
ohyash | question seems to be offtopic for this channel but was just wondering. | 15:42 |
mal | in theory yes but android and sailfish use a different kernel, sailfish one has some patches which might not be wanted in android | 15:43 |
mal | not sure about bootloader level | 15:43 |
ohyash | sure, so how I see it is SFOS 290MB zip contains kernel, device drivers and all other required stuff and doesn't delete anything of LOS but sits silently in the /data drive. If thats true, I wonder why does it sit on LOS then. Might as well be standalone and have all space directly, like a boss | 16:00 |
mal | because it uses other android side libraries, from system, vendor and so on | 16:01 |
ohyash | But if that means LOS is there present with its files, data and kernel. I think dual boot should be possible. Might look into bootloader stuff. later. :D (I have no idea of how low level things I'm targetting xD) | 16:01 |
ohyash | mal: Oh, I thought its all compiled from the $ADNROIRD_ROOT because those directories exist there and have there modifications as required. But yes I guess there's more than what I see and modify. | 16:02 |
mal | sailfish only builds a minimal set of modified android side libraries | 16:03 |
mal | rest of the android libraries are used from android installation, at least in community ports | 16:04 |
ohyash | oh, ohk | 16:04 |
mal | this topic is more suitable for porter channel | 16:04 |
ohyash | yep. Deviated from the android topic | 16:05 |
ohyash | hehe | 16:05 |
saidinesh5 | ohyash: there was already multirom .. which lets you choose the OS. | 17:59 |
saidinesh5 | back when i was using sailfish on my primary phone, if i needed a quick boot to android, i used to do fastboot boot android-boot.img | 18:01 |
ohyash | saidinesh5, I am aware of that. But That would require separate installations of LOS+SFOS and LOS. So, that basically wastes space because there are two copies of LOS. | 18:02 |
ohyash | saidinesh5, fastboot boot android-boot.img works really? That would solve a lot of problems. Aha | 18:02 |
saidinesh5 | yeah fastboot boot works, assuming that you have the boot.img backed up from the working android base... | 18:03 |
ohyash | saidinesh5, the working one or extracting it from the LOS.zip would work? | 18:05 |
saidinesh5 | both are same thing. boot partition is usually untouched after you flash it | 18:06 |
ohyash | thats what I thought. So I have that always. Cool imma try that. | 18:07 |
Mister_Magister | saidinesh5: oh hi | 18:11 |
saidinesh5 | hi.. what's up Mister_Magister | 18:12 |
Mister_Magister | mal: can you help me with segfaulting surfaceflinger in anbox? | 18:12 |
Mister_Magister | saidinesh5: i want to create another app but i have very big urge to play some gamez xD | 18:12 |
mal | Mister_Magister: not now, I need to some pull requests ready | 18:12 |
Mister_Magister | mal: oh okay sure ill ask some other day :) | 18:13 |
saidinesh5 | Ahh | 18:13 |
Mister_Magister | saidinesh5: this time a file manager | 18:14 |
saidinesh5 | Mister_Magister: https://source.android.com/devices/tech/debug/valgrind | 18:14 |
saidinesh5 | use a gdb wrapper like that | 18:14 |
saidinesh5 | tells you why it crashes | 18:14 |
Mister_Magister | how do you adb into anbox? hmmm | 18:14 |
saidinesh5 | whut | 18:15 |
saidinesh5 | no i mean edit the init.rc file | 18:15 |
saidinesh5 | the overlayfs patch will let you do that | 18:15 |
Mister_Magister | does anbox have valgrind? | 18:16 |
saidinesh5 | you need gdb to debug segfaults | 18:18 |
saidinesh5 | not valgrind | 18:18 |
saidinesh5 | there was a gdbserver you can use on android.. | 18:18 |
saidinesh5 | if it isn't present in the anbox build already | 18:18 |
Mister_Magister | saidinesh5: i dont see any of what you are talking about on that website | 18:36 |
Mister_Magister | saidinesh5: do you mean something like service gdbserver :5039 surfaceflinger /system/bin/surfaceflinger | 18:40 |
saidinesh5 | yep | 18:40 |
Mister_Magister | service surfaceflinger gdbserver :5039 /system/bin/surfaceflinger | 18:40 |
Mister_Magister | okay | 18:40 |
Mister_Magister | saidinesh5: where do i get gdbclient | 18:42 |
saidinesh5 | compile one yourself? | 18:42 |
Mister_Magister | shieeet | 18:42 |
saidinesh5 | https://trello.com/c/JvkxnGMr/4-port-sf-droid-anbox | 18:43 |
saidinesh5 | some of the comments on that card have a lot of info on this | 18:43 |
Mister_Magister | saidinesh5: can't really see them xD | 18:47 |
saidinesh5 | https://trello.com/c/JvkxnGMr/4-port-sf-droid-anbox#comment-58aafdb664aed4eebd396cfd | 18:48 |
Mister_Magister | saidinesh5: still dunno how to compile gdbclient | 19:27 |
saidinesh5 | Don't be lazy. google | 19:27 |
Mister_Magister | kay mom | 19:28 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!