*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Quit: Leaving) | 00:32 | |
*** NeKit <NeKit!~nekit@87-119-247-131.saransk.ru> has quit IRC (Ping timeout: 240 seconds) | 02:11 | |
*** jooncheol <jooncheol!~jooncheol@2.49.173.40> has quit IRC (Quit: This computer has gone to sleep) | 04:43 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-250-248.as13285.net> has quit IRC (Read error: Connection timed out) | 06:08 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-250-248.as13285.net> has joined #sfdroid | 06:09 | |
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (Quit: Leaving) | 06:20 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-250-248.as13285.net> has quit IRC (Read error: Connection timed out) | 06:25 | |
*** NeKit <NeKit!~nekit@188.162.203.89> has joined #sfdroid | 08:12 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sfdroid | 08:36 | |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Ping timeout: 256 seconds) | 09:00 | |
*** ruhrmolch <ruhrmolch!25c9c026@gateway/web/freenode/ip.37.201.192.38> has joined #sfdroid | 09:10 | |
*** krnlyng_ <krnlyng_!~liar@77.117.20.21.wireless.dyn.drei.com> has joined #sfdroid | 09:17 | |
*** krnlyng__ <krnlyng__!~liar@77.116.70.51.wireless.dyn.drei.com> has quit IRC (Ping timeout: 245 seconds) | 09:19 | |
*** neerad <neerad!~neerad@112.133.229.170> has joined #sfdroid | 09:24 | |
*** ruhrmolch <ruhrmolch!25c9c026@gateway/web/freenode/ip.37.201.192.38> has quit IRC (Ping timeout: 260 seconds) | 09:39 | |
*** neerad <neerad!~neerad@112.133.229.170> has quit IRC (Quit: Leaving) | 09:41 | |
*** neerad <neerad!~neerad@112.133.229.170> has joined #sfdroid | 09:42 | |
*** NeKit <NeKit!~nekit@188.162.203.89> has quit IRC (Ping timeout: 240 seconds) | 09:42 | |
neerad | I am just feeling that space might be the issue, one-plus onyx and nexus5 have 16GB of internal storage | 09:42 |
---|---|---|
neerad | mine has 8GB | 09:42 |
neerad | so I disabled dex_preopt=flase | 09:43 |
neerad | false* | 09:43 |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sfdroid | 09:55 | |
*** neerad <neerad!~neerad@112.133.229.170> has quit IRC (Ping timeout: 276 seconds) | 11:38 | |
*** neerad <neerad!~neerad@112.133.229.170> has joined #sfdroid | 11:54 | |
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has quit IRC (Remote host closed the connection) | 12:55 | |
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has joined #sfdroid | 12:55 | |
*** neerad <neerad!~neerad@112.133.229.170> has quit IRC (Ping timeout: 276 seconds) | 13:02 | |
*** cvp[Mobile] <cvp[Mobile]!~sailfish@x59cc8beb.dyn.telefonica.de> has joined #sfdroid | 13:20 | |
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 13:20 | |
*** neerad <neerad!~neerad@112.133.229.170> has joined #sfdroid | 13:28 | |
neerad | now it is showing error was that only zygote is allowed to create image | 13:28 |
neerad | anybody can help with this error | 13:33 |
neerad | also saidinesh your build script uses mm which build only the module and not it's dependencies | 13:39 |
neerad | mma should be the correct command for that | 13:40 |
saidinesh5 | neerad: module dependencies are fetched from /system in that version of build script | 13:40 |
neerad | I tried it failed to make those module so instead used make and mma command | 13:41 |
saidinesh5 | so only patched versions were built and placed in /usr/libexec/sfdroid | 13:41 |
neerad | yep | 13:41 |
neerad | only patched ones | 13:41 |
neerad | do i require all? | 13:41 |
saidinesh5 | dunno. that version didnt work for many reasons for me | 13:41 |
saidinesh5 | that's why i wanted to try it using LXC/chroot because debugging could be easier that way | 13:42 |
neerad | Send me your rpm package which is latest and working | 13:42 |
neerad | Let me see that | 13:42 |
saidinesh5 | there is no working sfdroid yet remember? | 13:42 |
neerad | also does your system/bin contains zygote service? | 13:42 |
neerad | "zygote" | 13:42 |
saidinesh5 | now i am just packing the whole rootfs (sans vendor) into an rpm | 13:42 |
saidinesh5 | umm.. | 13:43 |
neerad | whole? | 13:43 |
saidinesh5 | yes | 13:43 |
saidinesh5 | whole rootfs | 13:43 |
neerad | Do I also need to do the same? | 13:43 |
saidinesh5 | well so far nobody else does it that way | 13:43 |
neerad | and not pack only patched ones | 13:43 |
neerad | hmmm okay | 13:43 |
saidinesh5 | but i believe that way it could be easier to debug and distribute too | 13:44 |
neerad | Well tell me atleast do you have "zygote" in your system/bin folder | 13:44 |
saidinesh5 | init.zygote32.rc:service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server | 13:44 |
saidinesh5 | that's how zygote is started | 13:44 |
neerad | no not init.zygote32.rc | 13:45 |
saidinesh5 | no i mean zygote is started that way | 13:45 |
saidinesh5 | using app_process | 13:45 |
neerad | where can I see if zygote service is started? | 13:45 |
saidinesh5 | ps aux | grep zygote? | 13:45 |
neerad | logcat or ps aux? | 13:45 |
neerad | okay | 13:45 |
saidinesh5 | ps aux only tells you if zygote is currently running, while logcat may show you if it ever was started | 13:45 |
neerad | okay it is there but | 13:46 |
neerad | now error is "only zygote should be allowed to create the boot image" | 13:46 |
neerad | what does this mean? | 13:46 |
neerad | and image_space.cc in art folder also tells that if runtime is not zygote abort the process | 13:47 |
neerad | so if zygote is up and running why is it failing to start it? | 13:48 |
saidinesh5 | what does logcat say? | 13:48 |
saidinesh5 | zygote is just one part of the whole puzzle | 13:48 |
saidinesh5 | there are a lot of other services that need to be running | 13:48 |
neerad | same thing | 13:48 |
neerad | I just told | 13:48 |
neerad | one at a time | 13:49 |
neerad | well strace sfdroid returns a whole lot of error damn | 13:49 |
saidinesh5 | strace sfdroid renderer is not much | 13:49 |
neerad | and mainly no such file or dir error | 13:50 |
neerad | okay | 13:50 |
saidinesh5 | you can simply run sfdroid_renderer from command line to see if it is able to get any content to render | 13:50 |
saidinesh5 | am is needed iirc | 13:50 |
saidinesh5 | look into logcat to see what all services are failing | 13:50 |
neerad | well logcat is returning that "Error was that only zygote is allowed to create boot image" | 13:50 |
neerad | XDG_RUNTIME_DIR is not set in the environment? | 13:53 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sfdroid | 13:53 | |
saidinesh5 | that happens if you run it as root | 13:54 |
saidinesh5 | it needs to be run as nemo | 13:54 |
saidinesh5 | sfdroid_renderer that is | 13:54 |
neerad | okay | 13:54 |
saidinesh5 | nh1402: btw. you might be interested in this: https://www.youtube.com/watch?v=a4ZaaYy-DbM | 13:54 |
neerad | Can't find service display | 13:54 |
saidinesh5 | nh1402: shashlik seems just what you were looking for .. they tinkered with android emulator | 13:54 |
nh1402 | I know of shashlik, and what they've done | 13:55 |
saidinesh5 | look into /usr/bin/sfdroid.sh to know how to start sfdroid_renderer | 13:55 |
saidinesh5 | thats what you were trying to accomplish too right? | 13:55 |
nh1402 | I'm so close now, at failed at 91% with an out of memory error | 13:55 |
nh1402 | it* | 13:56 |
saidinesh5 | build? | 13:56 |
nh1402 | yh | 13:56 |
saidinesh5 | hmm... i had to add in swap just because of that | 13:56 |
saidinesh5 | it probably was trying to build chromium and all sorts of junk | 13:56 |
saidinesh5 | it was eating around 6GB of swap (i have 6GB of ram out of which 2GB usually goes to firefox) | 13:57 |
saidinesh5 | so add in at least 8GB of swap | 13:57 |
saidinesh5 | if you're compiling CM with all bells and whistles | 13:57 |
nh1402 | standard AOSP Nougat | 13:57 |
saidinesh5 | it will probably slow down yyour build a little though, but at least build wont fail | 13:57 |
nh1402 | and I've watched that video before | 13:57 |
saidinesh5 | not sure what the build requirements for Nougat are.. | 13:58 |
neerad | what is this service display I am not able to find in ps aux? | 13:59 |
nh1402 | was running chrome with numerous tabs open, which probably didn't help. | 13:59 |
neerad | that sfdroid.sh seems to be needing? | 13:59 |
saidinesh5 | look into that sfdroid_renderer.sh file to see how sfdroid is started | 14:07 |
nh1402 | saidinesh5: IT'S ALIVE | 14:12 |
saidinesh5 | nh1402: oh? build done? | 14:12 |
nh1402 | built, and booted | 14:12 |
saidinesh5 | O_O | 14:12 |
saidinesh5 | just to be sure, this is on the device? | 14:13 |
nh1402 | only on my laptop though | 14:13 |
saidinesh5 | Ahh | 14:13 |
nh1402 | with emulation enabled | 14:13 |
saidinesh5 | just the android emulator? | 14:13 |
nh1402 | nougat running on android emulator | 14:13 |
saidinesh5 | ahh | 14:14 |
saidinesh5 | now the hard parts begin? :P | 14:14 |
neerad | display service also not working | 14:15 |
saidinesh5 | nh1402: out of curiosity, how different is the init.rc of the emulator image with that of standard cm? | 14:15 |
saidinesh5 | neerad: am is needed too iirc that was failing too | 14:16 |
neerad | yeah isn't am included in the rpm file i installed? | 14:16 |
saidinesh5 | nah it is pulled in from system iirc | 14:16 |
neerad | where is it located exactly? | 14:17 |
saidinesh5 | umm.. cant remember | 14:18 |
neerad | why are all these services fail to load? | 14:19 |
saidinesh5 | system/bin/am | 14:19 |
neerad | incorrect permission or somehing else | 14:19 |
saidinesh5 | thats what you need to figure out and fix :p | 14:19 |
neerad | am is there | 14:20 |
neerad | the problem is something with display ... in device node | 14:20 |
neerad | Or is it because i have to make my sfdroid_renderer on my own and not use other repos | 14:25 |
neerad | there is no zygote service too ? | 14:28 |
*** mp107 <mp107!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has joined #sfdroid | 14:46 | |
neerad | how to build sfdroid_renderer ? | 15:03 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid | 15:04 | |
neerad | nhl402 can you provide me with your .tgz or .rpm file | 15:06 |
nh1402 | i don't have one | 15:08 |
neerad | how did you install your patched system? | 15:09 |
nh1402 | the old fashion way, flashing a zip in recovery | 15:10 |
neerad | give me your zip file | 15:10 |
nh1402 | I don't have a copy | 15:11 |
nh1402 | krnlyng_: ^ | 15:11 |
neerad | krynlyng_: do you have a copy? | 15:11 |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-78-144-154-115.as13285.net> has joined #sfdroid | 15:44 | |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer) | 16:02 | |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid | 16:03 | |
*** mp107 <mp107!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has quit IRC () | 16:15 | |
*** neerad <neerad!~neerad@112.133.229.170> has quit IRC (Quit: Leaving) | 16:22 | |
*** neerad <neerad!~neerad@112.133.229.170> has joined #sfdroid | 16:35 | |
saidinesh5 | neerad: build it in scratchbox manually | 16:36 |
saidinesh5 | iirc there was some issue with gcc version while building sfdroid_rendrer | 16:37 |
neerad | I tried it fails with DEP error | 16:37 |
saidinesh5 | whut? | 16:37 |
neerad | it fails to build | 16:37 |
saidinesh5 | what exactly is the error? | 16:37 |
neerad | no rule to make main.o | 16:38 |
saidinesh5 | make clean and start over | 16:38 |
neerad | saidiensh5 does it matter if I install it from obs? | 16:39 |
neerad | Is it device specific? | 16:39 |
saidinesh5 | it does use headers from your libhybris.. but not sure how different they are between onyx and your device | 16:39 |
neerad | So make clean and build | 16:40 |
saidinesh5 | yes, inside scratchbox | 16:40 |
neerad | inside sb2? | 16:40 |
neerad | or MER_SDK? | 16:40 |
saidinesh5 | sb2 | 16:41 |
saidinesh5 | sb2 represents your target architecture.. | 16:41 |
neerad | DEP error | 16:46 |
saidinesh5 | full log | 16:48 |
krnlyng_ | nh1402, on dropbox there should be one | 17:10 |
neerad | krnlyng_: Can you please send me the link for .tgz file or .zip file | 17:22 |
krnlyng_ | neerad, i can invite you to the dropbox folder | 17:26 |
neerad | do it | 17:27 |
neerad | also krnlyng_ have you seen this error : "Error was No place to put generate image" | 17:27 |
krnlyng_ | do you have enough space or do you have a data partition? | 17:28 |
krnlyng_ | slash folder | 17:28 |
neerad | how much do you need? | 17:28 |
neerad | Available Space : 4.7G | 17:28 |
krnlyng_ | neerad, maybe there is a folder missing | 17:28 |
krnlyng_ | neerad, i need your email for the dropbox folder | 17:29 |
neerad | yep /data/dalvik-cache/arm is missing | 17:29 |
neerad | nrdnandan@gmail.com | 17:29 |
mal | neerad: are you building it using mb2 build? | 17:29 |
neerad | I tried mal it failed giving DEP errors | 17:30 |
neerad | http://paste.ubuntu.com/23926807/ | 17:30 |
mal | neerad: ok, then you have the usual issue with gcc version, it's picky to build locally | 17:31 |
neerad | gcc? | 17:31 |
neerad | how to update gcc | 17:31 |
neerad | gcc version 4.6.4 | 17:32 |
neerad | in MERS_SDK | 17:33 |
neerad | and gcc 4.8.3 in sb2 | 17:33 |
neerad | both failed | 17:33 |
saidinesh5 | neerad: btw. the error is actually "cc1plus: error: unrecognized command line option '-std=c++11'" | 17:35 |
neerad | yep | 17:35 |
saidinesh5 | try changing that to c++0x in the make file | 17:35 |
neerad | okay | 17:35 |
saidinesh5 | iirc it was only building in scratchbox for me btw. | 17:36 |
neerad | http://paste.ubuntu.com/23926844/ | 17:37 |
neerad | where to change in that. Link above | 17:37 |
saidinesh5 | CXXFLAGS := -Wall -Werror -std=c++11 | 17:37 |
neerad | http://paste.ubuntu.com/23926855/ | 17:39 |
neerad | still other errors are popping | 17:39 |
saidinesh5 | still errors related to an old g++ | 17:40 |
neerad | is that so? | 17:40 |
saidinesh5 | yes | 17:40 |
neerad | so what to do> | 17:40 |
saidinesh5 | install clang | 17:41 |
neerad | *? | 17:41 |
saidinesh5 | and use that to build | 17:41 |
neerad | clang in MER_SDK? | 17:41 |
neerad | how to do that? | 17:41 |
saidinesh5 | inside sb2 | 17:41 |
neerad | sb2 okay | 17:41 |
saidinesh5 | ummm looks like there is no clang in the repos | 17:41 |
saidinesh5 | odd.. | 17:44 |
saidinesh5 | -CXXFLAGS := -Wall -Werror -std=c++11 | 17:44 |
saidinesh5 | +CXXFLAGS := -Wall -Werror -std=c++0x | 17:44 |
saidinesh5 | this is the only change i had to make | 17:44 |
saidinesh5 | neerad: do a make clean and start over | 17:44 |
neerad | why is it failing | 17:44 |
neerad | inside sb2 or MER_SDK? | 17:44 |
saidinesh5 | sb2 | 17:44 |
neerad | still errors | 17:45 |
saidinesh5 | same errors? | 17:45 |
neerad | http://paste.ubuntu.com/23926899/ | 17:45 |
saidinesh5 | what does g++ -v show in sb2? | 17:47 |
neerad | 4.6.4 | 17:47 |
saidinesh5 | that's sb2 | 17:47 |
saidinesh5 | i mean that's MER_SDK | 17:47 |
saidinesh5 | not sb2 | 17:47 |
saidinesh5 | inside sb2 it is 4.8.4 | 17:47 |
*** jooncheol <jooncheol!~jooncheol@2.49.173.40> has joined #sfdroid | 17:47 | |
neerad | nope that is for sb2 only | 17:47 |
neerad | both are same???? | 17:48 |
saidinesh5 | nope | 17:48 |
saidinesh5 | inside sb2 i have 4.8.3 | 17:48 |
neerad | when I am using zypper it shows 4.8.3 but when i use g++ -v it shows 4.6.4 | 17:50 |
saidinesh5 | something is wrong with your scratchbox | 17:51 |
neerad | ? | 17:51 |
saidinesh5 | look where your gcc is coming from | 17:51 |
neerad | http://paste.ubuntu.com/23926946/ | 17:52 |
saidinesh5 | you're inside MER_SDK when that commmand executed it seems | 17:54 |
neerad | yeah I think so | 17:54 |
saidinesh5 | inside my sb2, there is no /opt/cross | 17:54 |
neerad | why is that happening ? | 18:03 |
saidinesh5 | you didnt enter scratchbox properly? | 18:05 |
neerad | error: unpacking of archive failed on file /usr/bin/cc: cpio: rename failed - Invalid cross-device link | 18:06 |
neerad | I removed gcc from sb2 but I can't reinstall it?? | 18:06 |
saidinesh5 | what? | 18:07 |
saidinesh5 | dont mess with sb2 like that | 18:07 |
saidinesh5 | you'd end up damaging other bits too | 18:08 |
neerad | I think i need to reinstall sb2 again from the guide | 18:11 |
saidinesh5 | What target did you specify when switching to sfdroid? | 18:13 |
neerad | same | 18:14 |
neerad | wt88047 | 18:14 |
neerad | the default target | 18:14 |
saidinesh5 | Hmm.. | 18:14 |
saidinesh5 | Well reinstall sb2 and see | 18:15 |
neerad | still no luck showing the same version | 18:27 |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Ping timeout: 276 seconds) | 18:37 | |
saidinesh5 | how are you entering sb2? | 18:45 |
saidinesh5 | what command are you using? | 18:45 |
neerad | sb2 | 18:45 |
saidinesh5 | that's it? | 18:46 |
neerad | yep | 18:47 |
saidinesh5 | afaik you need to manually specify the target | 18:47 |
neerad | target is automatically specified | 18:47 |
jooncheol | hi ! | 18:47 |
saidinesh5 | alias enter_scratchbox="sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R" | 18:47 |
saidinesh5 | hi jooncheol | 18:47 |
jooncheol | I'm trying to ubuntu touch on hammerhead :-) | 18:48 |
saidinesh5 | Ah | 18:48 |
jooncheol | sfdroid on sfos 1.1.9.x on hammerhead... was failed. | 18:48 |
jooncheol | sfos not booted | 18:48 |
saidinesh5 | does anyone still use sfos 1.1.9.x? | 18:48 |
saidinesh5 | current version is 2.0.5.6 or something | 18:49 |
jooncheol | yeap... but sfdroid on 2.0.5.6 was not work | 18:49 |
saidinesh5 | Ahh | 18:49 |
jooncheol | ah.. yesterday night.. i've tried to compare init.rc on sfdroid.tar.gz in https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_hammerhead and the sfos 2.0.x's init.rc | 18:50 |
jooncheol | looks no need to init.rc on sfos 2.0.x | 18:50 |
jooncheol | so I've updated except of init.rc from https://www.dropbox.com/s/hwt3tjceomsfqbx/sfdroid-hammerhead.zip?dl=0 | 18:51 |
jooncheol | then I was able to see the android icon on the sfos... but it didn't work | 18:51 |
saidinesh5 | the android icon in sfos is just sfdroid renderer | 18:53 |
saidinesh5 | you still need to make sure zygote etc.. are started by droid-hal-init | 18:53 |
jooncheol | ah ha.. | 18:53 |
saidinesh5 | thats why the init.sfdroid.rc | 18:55 |
jooncheol | umm init.sfdroid.rc was not in the https://www.dropbox.com/s/hwt3tjceomsfqbx/sfdroid-hammerhead.zip?dl=0 | 18:56 |
jooncheol | maybe I need to build the sfdroid pacakge from scratch for latest sfos ? | 18:56 |
saidinesh5 | ,probably | 18:57 |
saidinesh5 | you got the link to my trello card? | 18:57 |
saidinesh5 | that contains the link to the build instructions | 18:57 |
neerad | well that gave me more errors than before | 18:59 |
jooncheol | umm I'm searching on that trello | 19:00 |
jooncheol | https://gist.github.com/mjtorn/6cf8ed8b33fd91b3ffa05e7981b8f769 ?? | 19:02 |
*** neerad <neerad!~neerad@112.133.229.170> has quit IRC (Ping timeout: 245 seconds) | 19:04 | |
saidinesh5 | yeah that should do too | 19:04 |
saidinesh5 | jooncheol: you may find this useful:: https://gist.github.com/saidinesh5/3262c31c88776445544c8b2804ee02df | 19:32 |
jooncheol | oh...thanks | 19:39 |
jooncheol | before do this... where's android repo url for sfdroid ? | 19:39 |
saidinesh5 | http://github.com/sfdroid | 19:41 |
saidinesh5 | you mean the the "repo init url" ? | 19:41 |
saidinesh5 | just use the CM 12.1 YOG7D url for that and add the local manifest i pointed you to | 19:42 |
saidinesh5 | i think it should be updated to point to sfdroid-12.1-YOG7D branch | 19:43 |
jooncheol | repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1 ?? | 19:43 |
jooncheol | what is YOG7D ? | 19:43 |
saidinesh5 | stable revision | 19:43 |
saidinesh5 | 12.1 has multiple releases | 19:44 |
saidinesh5 | one of them is YOG7D | 19:44 |
saidinesh5 | so brancch is probably something like stable/cm-12.1-YOG7D | 19:45 |
saidinesh5 | -b stable/cm-12.1-YOG7D | 19:45 |
jooncheol | oh.. thanks. repo init -u git://github.com/CyanogenMod/android.git -b stable/cm-12.1-YOG7D | 19:47 |
saidinesh5 | jooncheol: although before you repo sync | 19:48 |
saidinesh5 | you may want to cut some fat off the manifest.xml | 19:48 |
jooncheol | +_+ | 19:48 |
jooncheol | yes I want... how to cut some fat ? | 19:49 |
saidinesh5 | umm... | 19:50 |
saidinesh5 | jooncheol: https://paste.kde.org/pa3xoxpyo | 19:51 |
saidinesh5 | my manifest.xml | 19:51 |
jooncheol | changed .repo/manifests/default.xml to your one then now doing 'repo sync' | 19:54 |
jooncheol | is it right ? | 19:54 |
saidinesh5 | sure | 19:55 |
jooncheol | after repo sync, how to use that build script on it ? | 19:55 |
jooncheol | looks there 1 more manifest for sfdroid.xml | 19:56 |
jooncheol | s/sfdroid.xml/sfdroid | 19:56 |
saidinesh5 | that is the local manifest you need to pput in place | 19:57 |
saidinesh5 | to make sure the sfdroid patched repos are built | 19:57 |
saidinesh5 | jooncheol: how good is your lxc knowledge? | 19:57 |
jooncheol | umm I know what is lxc, what is cgroup... I've created wayland compositor on lxc before | 19:58 |
jooncheol | I know qt / drm / wayland / virtual terminal ... | 19:58 |
jooncheol | just like this little | 19:58 |
saidinesh5 | well in that case you could try to build the whole CyanogenMod (with the sfdroid patches and try to run it in lxc?) | 19:59 |
jooncheol | I don't know about the CyanogenMod and the relationship of it with the sfos | 20:00 |
saidinesh5 | you mean sfdroid? | 20:01 |
jooncheol | umm maybe it also | 20:01 |
saidinesh5 | well.... | 20:02 |
jooncheol | I saw that the sfos contains many android f/w other than libhybris stuff | 20:02 |
saidinesh5 | in that case just build the needed bits as in my script | 20:02 |
saidinesh5 | and then install the rpm to the device and edit your init.rc to import init.sfdroid.rc | 20:02 |
saidinesh5 | and of course pray it works :P | 20:02 |
jooncheol | is it also used by sfdrod ? what was the purpose of it originally in the SFOS? | 20:02 |
saidinesh5 | purpose of? | 20:03 |
jooncheol | the android system in the SFOS rootfs | 20:03 |
saidinesh5 | there is not much of "android system" in SFOS rootfs | 20:04 |
saidinesh5 | just some patched bits for libhybris | 20:04 |
saidinesh5 | and the patched init.rc | 20:04 |
saidinesh5 | all other android bits it uses comes from /system | 20:04 |
jooncheol | yes... that dire /system... is also used for sfdroid ? | 20:05 |
saidinesh5 | yes | 20:05 |
saidinesh5 | the patched bits of sfdroid stays in /usr/libexec/sfdroid | 20:05 |
jooncheol | is there no confliction between SFOS and sfdroid ? | 20:05 |
saidinesh5 | the rest are pulled in from /system | 20:05 |
saidinesh5 | if you look in sfdroid's init.rc it just adds the services disabled in SFOS's init.rc | 20:06 |
jooncheol | if we would like to move sfdroid stuff into 1 lxc container... maybe neeed to copy those /system to lxc dir for sfdroid... right ? | 20:06 |
saidinesh5 | and technically speaking, there could be a conflict. | 20:06 |
saidinesh5 | copy/ bind mount | 20:07 |
saidinesh5 | or mount using something like overlayfs | 20:07 |
jooncheol | that part (some disabled services in init.rc) is the one that I'm curious in the SFOS... why it didn't remove it in its rootfs if it is not used in the SFOS? | 20:08 |
jooncheol | is it also used for some of libhybris's dependencies?? | 20:08 |
saidinesh5 | hmm? for eg. zygote. is a service disabled in SFOS's init.rc , simply because sailfish os doesnt need it | 20:09 |
jooncheol | yeap. but it is included in the sfos root | 20:09 |
jooncheol | i mean the file of zygote | 20:09 |
saidinesh5 | not quite. it is present in /system | 20:09 |
saidinesh5 | SFOS doesn't provide /system. it only provides boot.img and /data/.stowaways/sailfishos | 20:10 |
jooncheol | I mean... SFOS uses android init... if I see the filesystem of SFOS by accessing from ssh.. | 20:12 |
jooncheol | I was able to see the /system without installing sfdroid | 20:12 |
saidinesh5 | that /system is there even before Sailfish OS was installed | 20:12 |
jooncheol | umm | 20:12 |
saidinesh5 | thats why Sailfish OS installation instructions = first flash CM 12.1 zip then install the sailfish os zip on top of it | 20:12 |
jooncheol | so those android directory like /system was from CM 12.1... | 20:13 |
saidinesh5 | yes | 20:13 |
jooncheol | now I can understand little about the relationship between sfos and CM | 20:13 |
jooncheol | so after repo sync of CM 12.01 | 20:15 |
jooncheol | I need to build all for hammerhead by lunch && m | 20:16 |
saidinesh5 | that depends on how you want to launch sfdroid | 20:16 |
jooncheol | then how to apply build-sfdroidl.sh & sfdroid.xml on that dir ? | 20:16 |
saidinesh5 | if you want to do it via. LXC, you have to do the lunch | 20:16 |
saidinesh5 | hmm? | 20:16 |
saidinesh5 | the sfdroid.xml is to be put inside .repo/local_manifests/sfdroid.xml | 20:17 |
saidinesh5 | and then repo sync | 20:17 |
jooncheol | ah... (I didn't know that about the local manifests under .repo... I need to review repo again :-) ) | 20:18 |
jooncheol | then what is the lunch option for current sfdroid and lxc based sfdroid? | 20:24 |
saidinesh5 | hmm? | 20:26 |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid | 20:27 | |
jooncheol | for the lunch command before do 'm', there's probably device option for it.. | 20:28 |
saidinesh5 | not sure. i just use lunch | 20:31 |
saidinesh5 | or just breakfast and make -j8 | 20:32 |
jooncheol | umm okay :-) | 20:32 |
jooncheol | what about thre revision in the sfdroid.xml.. I see the neplus-onyx now.. | 20:32 |
jooncheol | can I specifiy the "hammerhead" instead of it ? | 20:32 |
saidinesh5 | update it too | 20:32 |
jooncheol | hammerhead_12 | 20:33 |
jooncheol | after make -j8.... rpmbuild bb sfdroid_core-cancro.spec ? | 20:34 |
saidinesh5 | sure | 20:34 |
saidinesh5 | that spec is not for lxc btw. | 20:34 |
jooncheol | I know, but I still couldn't see the normal sfdroid on the hammerhead yet :-) I want to follow the current instruction for it :-) | 20:36 |
jooncheol | then maybe I can try to some digging for lxc based sfdroid | 20:36 |
mal | just a thought, maybe I should add a local_manifests repo to sfdroid which would contain the patched repos | 20:36 |
saidinesh5 | mal: and another local_manifests file to cut off the fat | 20:37 |
mal | saidinesh5: like what? | 20:37 |
saidinesh5 | something like https://paste.kde.org/pkajgs00t ? | 20:37 |
mal | might work, have you built using that and it works? | 20:38 |
saidinesh5 | not yet. i have had to edit sources to make that build as something was needing libpac and libpac was pulling in half the chromium | 20:39 |
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Quit: Leaving) | 21:48 | |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has quit IRC (Ping timeout: 240 seconds) | 23:49 | |
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sfdroid | 23:50 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!