*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 240 seconds) | 00:44 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 00:57 | |
*** nk1 is now known as nkf1 | 04:16 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Remote host closed the connection) | 04:58 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid | 05:05 | |
*** cvp <cvp!~cvp@pD9EE3311.dip0.t-ipconnect.de> has joined #sfdroid | 07:55 | |
*** cvp <cvp!~cvp@pD9EE3311.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 08:20 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sfdroid | 08:40 | |
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has joined #sfdroid | 09:00 | |
*** krnlyng_ <krnlyng_!~liar@77.116.30.14.wireless.dyn.drei.com> has joined #sfdroid | 09:17 | |
*** krnlyng__ <krnlyng__!~liar@77.116.92.179.wireless.dyn.drei.com> has quit IRC (Ping timeout: 258 seconds) | 09:19 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 09:26 | |
*** cvp_ <cvp_!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has joined #sfdroid | 09:28 | |
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has quit IRC (Ping timeout: 240 seconds) | 09:30 | |
*** miau__ <miau__!~miau@55d4230c.access.ecotel.net> has joined #sfdroid | 09:49 | |
nh1402 | miau__: well well well, if you look who it is. | 09:50 |
---|---|---|
miau__ | nh1402: :-D | 09:50 |
miau__ | nh1402: Tired of camera issues :-D | 09:50 |
miau__ | nh1402: Already dreaming about camera logcats... | 09:52 |
miau__ | nh1402: So, what do you need to know to get sfdroid working on cm13 or where can i help? | 09:53 |
nh1402 | miau__: you need the sfdroid renderer, and you need to patch surfaceflinger to use the sharebuffer. You also need to patch netd. | 09:58 |
nh1402 | https://github.com/sfdroid/android_frameworks_native/commit/ba080eab8e841646a2e9c7167c5ce04fea07d9ff | 09:58 |
nh1402 | https://github.com/sfdroid/android_frameworks_opt_net_wifi/commit/b6a6ccc8a592f5ab5fef45447995ad7bb612fd0d | 09:59 |
nh1402 | I suspect there will be more work needed than those patches for Marshmallow though. | 10:00 |
miau__ | Ok, but how do i compile this stuff? | 10:01 |
nh1402 | urm, I never actually found out how to compile modules specifically. I ended up compiling the whole base, which isn't really ideal. | 10:03 |
nh1402 | someone else is bound to know though, surely. | 10:04 |
miau__ | Ok, i have to checkout the cm13 source first, get the needed build tools made the changes and keep the fingers crossed, that'll work? | 10:05 |
saidinesh5 | nh1402: miau__ you just make MODULE_NAME at the root of your android | 10:13 |
saidinesh5 | you can find the name of each individual module name in their make file btw. | 10:13 |
miau__ | Android.mk? | 10:14 |
saidinesh5 | yes | 10:14 |
miau__ | Is it possible to copy the source out of the ubuntu sdk? | 10:14 |
saidinesh5 | whut? what source? | 10:15 |
saidinesh5 | you can use ubuntu sdk (the ha build sdk) to compile the android sources | 10:15 |
nh1402 | chocolate sauce | 10:15 |
saidinesh5 | but you do need to clone the cyanogenmod sources | 10:16 |
saidinesh5 | which device are you trying to compile for miau__? | 10:16 |
miau__ | Nexus5 cm13 | 10:16 |
saidinesh5 | Ah interesting | 10:18 |
saidinesh5 | you need to patch the sfdroid repos yourself I think | 10:18 |
miau__ | Mhh, i see..much to learn. | 10:20 |
saidinesh5 | not that difficult imho | 10:21 |
saidinesh5 | before you sync the sources, my little tip is to cut down their weight | 10:21 |
saidinesh5 | remove off all the things you dont need from the cm13 manifest and then start the sync | 10:21 |
saidinesh5 | tthat should easilysave you like 20ish GB of disk spacce | 10:21 |
saidinesh5 | and some compile time | 10:21 |
miau__ | Thanks, that was my next question. | 10:22 |
saidinesh5 | which repos to trim? | 10:22 |
miau__ | Let me first take a look in the manifest. | 10:23 |
saidinesh5 | you can start off by deleting anything with darwin in the name.. as yyou're compiling on linux | 10:23 |
saidinesh5 | then a bunch of hardware related ones that are not related to your device, like nvidia, intel, broadcom etc.. | 10:24 |
saidinesh5 | reference manifest.xml btw. | 10:33 |
miau__ | So, i cloned android.git cm13 branch. Now i edit the manifest and then sync? | 10:38 |
*** smurfynet <smurfynet!~smurfynet@ppp-93-104-111-82.dynamic.mnet-online.de> has quit IRC (Ping timeout: 240 seconds) | 10:38 | |
*** zz_smurfynet <zz_smurfynet!~smurfynet@ppp-93-104-105-248.dynamic.mnet-online.de> has joined #sfdroid | 10:41 | |
*** zz_smurfynet is now known as smurfynet | 10:41 | |
nh1402 | miau__: I believe so | 10:41 |
miau__ | https://dpaste.de/Yjat Is that enough? | 10:50 |
nh1402 | miau__: think so | 11:20 |
saidinesh5 | miau__: you can only know once you start the compilation :P | 11:21 |
miau__ | We'll see, syncing atm. | 11:46 |
nh1402 | how is the syncing going? | 12:10 |
nh1402 | miau__: ^ | 12:14 |
nh1402 | feels like the emulator renders with Qt or SDL | 13:21 |
nh1402 | https://github.com/android/platform_external_qemu/blob/master/android/emulator-window.c#L290 | 13:21 |
*** nh1402_ <nh1402_!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 13:38 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Ping timeout: 240 seconds) | 13:41 | |
miau__ | It didn't finish in my Ubuntu VM, maybe i ran out of space in the VM. I'm looking into the necesary build tools to build it on my host linux(arch linux). | 13:55 |
nh1402_ | miau__: how much space did it have | 14:05 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Read error: Connection reset by peer) | 14:28 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 14:30 | |
*** nh1402__ <nh1402__!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 14:50 | |
*** nh1402_ <nh1402_!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Ping timeout: 255 seconds) | 14:53 | |
saidinesh5 | miau__: it needs a lot of space. like easily 70GB once the build is done | 15:42 |
saidinesh5 | miau__: you can simply reuse your habuild chroot instead of a separate Ubunut VM | 15:42 |
saidinesh5 | one nice thing is that SFDROID_ROOT doesn't necessarily have to be inside your /home | 15:43 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 248 seconds) | 15:49 | |
nh1402__ | saidinesh5: I thought it was about half that | 15:50 |
saidinesh5 | nh1402__: not for CM12.1 raw build at least | 15:51 |
saidinesh5 | nh1402__: my out/ without even the chromium build itself weighs like 25-30GB | 15:52 |
saidinesh5 | then there is the space needed for ccache... | 15:53 |
nh1402__ | yh I suppose it builds up | 15:53 |
saidinesh5 | yup. when i was building in a very small VM on azure, i had to move my .repo to home so that the build partition of 70GB would stay free and my build wouldnt fail after 4hours lol | 15:55 |
saidinesh5 | okay .repo 30.2 GB, out/ 27.5GB | 15:57 |
nh1402__ | I stupidly made my home folder use a seperate small partition, and then when I tried getting the source, naturally I ran out of space. | 16:10 |
nh1402__ | ended up having to put the source somewhere else | 16:11 |
*** nh1402__ <nh1402__!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Read error: Connection reset by peer) | 16:30 | |
*** krnlyng_ is now known as krnlyng | 17:05 | |
*** cvp_ <cvp_!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection) | 18:02 | |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sfdroid | 18:43 | |
nh1402 | yo yo yo | 18:43 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Client Quit) | 18:44 | |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sfdroid | 18:44 | |
miau__ | Sync is done, 23GB. | 19:42 |
mal | hey, should this line have privilegedAppDirSFDROID https://github.com/sfdroid/android_frameworks_base/commit/e9380b44f94463002da06beca5320d184c1db30b#diff-cb589fb4d249734569e11adf2d1c645aR11124 | 19:54 |
*** cvp <cvp!~cvp@pD9E9AE42.dip0.t-ipconnect.de> has joined #sfdroid | 20:16 | |
mal | that mistake seems to be in many of the branches | 20:17 |
saidinesh5 | more reason to run sfdroid in chroot :P | 20:43 |
mal | anyone seen this art/runtime/jni_internal.cc:769] JNI FatalError called: Native registration unable to find class 'android/net/Helpers'; aborting... | 20:59 |
nh1402 | never seen that before, looks quite serious | 20:59 |
mal | indeed | 21:00 |
nh1402 | ScopedObjectAccess soa(env) | 21:07 |
nh1402 | or some code in that vicinity | 21:09 |
mal | that class is actually part of the sfdroid changes | 21:15 |
nh1402 | ok I did not know that. | 21:40 |
mal | no idea why it's not found, that seems to be the problem now | 21:41 |
mal | it's failing to start because of that | 21:41 |
mal | the files are there | 21:42 |
nh1402 | is it looking in the wrong place? since we moved stuff into what was it droid/hybris/system/ ? | 21:42 |
mal | nh1402: java.lang.ClassNotFoundException: Didn't find class "android.net.Helpers" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/usr/libexec/sfdroid/system/lib, /usr/libexec/droid-hybris/lib-dev-alog, /vendor/lib, /system/lib]] | 21:45 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 21:47 | |
mal | I'll try to rebuild | 21:49 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Remote host closed the connection) | 22:10 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving) | 22:29 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sfdroid | 22:32 | |
*** cvp <cvp!~cvp@pD9E9AE42.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 22:57 | |
*** miau__ <miau__!~miau@55d4230c.access.ecotel.net> has quit IRC (Ping timeout: 258 seconds) | 23:08 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Quit: Leaving) | 23:46 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!