#sfdroid log for Thursday, 2018-08-16

ohyashHey, 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
ohyashwhat 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
ohyashNot the standard multiboot way where I'd have to have separate copies of LOS+SFOS and LOS15:20
ohyashand is it not possible to use sfdroid over LOS14.1?15:26
malsfdroid is quite obsolete, we are working on using anbox in sailfish15:31
ohyashmal: 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
ohyashquestion seems to be offtopic for this channel but was just wondering.15:42
malin theory yes but android and sailfish use a different kernel, sailfish one has some patches which might not be wanted in android15:43
malnot sure about bootloader level15:43
ohyashsure, 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 boss16:00
malbecause it uses other android side libraries, from system, vendor and so on16:01
ohyashBut 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
ohyashmal: 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
malsailfish only builds a minimal set of modified android side libraries16:03
malrest of the android libraries are used from android installation, at least in community ports16:04
ohyashoh, ohk16:04
malthis topic is more suitable for porter channel16:04
ohyashyep. Deviated from the android topic16:05
ohyashhehe16:05
saidinesh5ohyash: there was already multirom .. which lets you choose the OS.17:59
saidinesh5back 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.img18:01
ohyashsaidinesh5, 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
ohyashsaidinesh5, fastboot boot android-boot.img works really? That would solve a lot of problems. Aha18:02
saidinesh5yeah fastboot boot works, assuming that you have the boot.img backed up from the working android base...18:03
ohyashsaidinesh5, the working one or extracting it from the LOS.zip would work?18:05
saidinesh5both are same thing. boot partition is usually untouched after you flash it18:06
ohyashthats what I thought. So I have that always. Cool imma try that.18:07
Mister_Magistersaidinesh5: oh hi18:11
saidinesh5hi.. what's up Mister_Magister18:12
Mister_Magistermal: can you help me with segfaulting surfaceflinger in anbox?18:12
Mister_Magistersaidinesh5: i want to create another app but i have very big urge to play some gamez xD18:12
malMister_Magister: not now, I need to some pull requests ready18:12
Mister_Magistermal: oh okay sure ill ask some other day :)18:13
saidinesh5Ahh18:13
Mister_Magistersaidinesh5: this time a file manager18:14
saidinesh5Mister_Magister: https://source.android.com/devices/tech/debug/valgrind18:14
saidinesh5use a gdb wrapper like that18:14
saidinesh5tells you why it crashes18:14
Mister_Magisterhow do you adb into anbox? hmmm18:14
saidinesh5whut18:15
saidinesh5no i mean edit the init.rc file18:15
saidinesh5the overlayfs patch will let you do that18:15
Mister_Magisterdoes anbox have valgrind?18:16
saidinesh5you need gdb to debug segfaults18:18
saidinesh5not valgrind18:18
saidinesh5there was a gdbserver you can use on android..18:18
saidinesh5if it isn't present in the anbox build already18:18
Mister_Magistersaidinesh5: i dont see any of what you are talking about on that website18:36
Mister_Magistersaidinesh5: do you mean something like service gdbserver :5039 surfaceflinger /system/bin/surfaceflinger18:40
saidinesh5yep18:40
Mister_Magisterservice surfaceflinger gdbserver :5039 /system/bin/surfaceflinger18:40
Mister_Magisterokay18:40
Mister_Magistersaidinesh5: where do i get gdbclient18:42
saidinesh5compile one yourself?18:42
Mister_Magistershieeet18:42
saidinesh5https://trello.com/c/JvkxnGMr/4-port-sf-droid-anbox18:43
saidinesh5some of the comments on that card have a lot of info on this18:43
Mister_Magistersaidinesh5: can't really see them xD18:47
saidinesh5https://trello.com/c/JvkxnGMr/4-port-sf-droid-anbox#comment-58aafdb664aed4eebd396cfd18:48
Mister_Magistersaidinesh5: still dunno how to compile gdbclient19:27
saidinesh5Don't be lazy. google19:27
Mister_Magisterkay mom19:28

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