sledges | situ: i9305 (and other sammys) don't have fastboot, they go through odin/heimdall | 01:02 |
---|---|---|
sledges | hence that section | 01:02 |
*** ernesti has joined #sailfishos-porters | 06:16 | |
*** furikku has joined #sailfishos-porters | 07:13 | |
*** alin has quit IRC | 07:23 | |
*** lbt_ has joined #sailfishos-porters | 08:07 | |
*** lbt has quit IRC | 08:07 | |
*** alin has joined #sailfishos-porters | 08:13 | |
*** alin has quit IRC | 08:13 | |
*** alin has joined #sailfishos-porters | 08:13 | |
*** lbt_away has joined #sailfishos-porters | 08:59 | |
*** lbt_away has quit IRC | 08:59 | |
*** lbt_away has joined #sailfishos-porters | 08:59 | |
*** lbt_ has quit IRC | 09:03 | |
Stskeeps | Hardware Adaptation Dev Kit 1.0 - http://releases.sailfishos.org/sfa-ea/2014-07-18_SailfishOSHardwareAdaptationDevelopmentKit.pdf | 09:04 |
*** lbt_away is now known as lbt | 09:05 | |
lbt | at last !! :D | 09:06 |
Stskeeps | please put it in #jollamobile and #sailfishos too, not there due to holiday reasons.. | 09:06 |
lbt | ok | 09:06 |
lbt | is this chan wide open now ? | 09:06 |
Stskeeps | yes | 09:06 |
*** ChanServ sets mode: +o Stskeeps | 09:06 | |
*** Stskeeps changes topic to "Official SailfishOS porters channel, see https://together.jolla.com/question/39552/what-is-the-participation-and-contribution-policy-for-jollas-open-source-contributors-in-open-source-projects/ - HADK 1.0: http://releases.sailfishos.org/sfa-ea/2014-07-18_SailfishOSHardwareAdaptationDevelopmentKit.pdf" | 09:07 | |
*** ChanServ sets mode: -o Stskeeps | 09:07 | |
*** Sailor2765 has joined #sailfishos-porters | 09:11 | |
situ | Awesome ! | 09:14 |
*** Anarky has joined #sailfishos-porters | 09:15 | |
*** ryukafalz has joined #sailfishos-porters | 09:15 | |
*** kimmoli has joined #sailfishos-porters | 09:16 | |
Anarky | lbt: page 16 the commands got eat | 09:20 |
lbt | Anarky: ? | 09:20 |
sledges | eaten ;) | 09:21 |
sledges | is his intended comms about error :)) | 09:21 |
lbt | yeah - what do you think should be commented Anarky ? | 09:21 |
sledges | i found more, fixing now | 09:22 |
Anarky | yeah, sorry for my english, I mean the commands exceed the page width so latex cut it | 09:22 |
lbt | noooo | 09:22 |
lbt | well - you can cut'n'paste it :/ | 09:23 |
Anarky | nope, I tried a triple-click without success | 09:24 |
lbt | click/drag-down worked for me | 09:24 |
lbt | I think we'll need to republish | 09:24 |
Anarky | maybe it's my pdf reader but the click/drag-down doesn't work for me | 09:26 |
*** lainwir3d has joined #sailfishos-porters | 09:31 | |
ryukafalz | That... would be your PDF reader, yeah :P | 09:32 |
Anarky | for the record, it's evince | 09:37 |
Anarky | (same problem with epdfview) | 09:40 |
Anarky | ok, with Firefox it works fine :) | 09:45 |
sledges | ^_^ glad you found a quick workaround | 09:45 |
sledges | fix is under way | 09:46 |
*** locusf has joined #sailfishos-porters | 09:50 | |
* lbt uses okular and it wfm there | 10:02 | |
*** Flyser has joined #sailfishos-porters | 10:02 | |
*** zuh has joined #sailfishos-porters | 10:10 | |
situ | sledges: Do you see RTC_SET_TIME being used anywhere in our build tree ? | 10:17 |
*** SK_work has joined #sailfishos-porters | 10:18 | |
locusf | is there supposed to be a contents page on HADK 1.0? | 10:23 |
locusf | I can just see "Contents" on the page but nothing more | 10:23 |
sledges | locusf: will be fixed in next ver | 10:23 |
sledges | situ: sec, need to boot up server | 10:24 |
locusf | problem in repo init in page 11 | 10:29 |
locusf | gpg: Signature made Thu May 1 20:34:18 2014 UTC using RSA key ID 692B382C | 10:29 |
locusf | gpg: Can't check signature: public key not found | 10:29 |
locusf | error: could not verify the tag 'v1.12.16' | 10:29 |
sledges | locusf: checking | 10:32 |
locusf | ah, ancient repo command in my ~/bin | 10:33 |
sledges | ^_^ | 10:33 |
locusf | I played around with android in 2011 or something | 10:34 |
Flyser | is it normal that I get "bash: no job control in this shell" when entering the mer sdk? | 10:57 |
*** lbt has quit IRC | 10:58 | |
sledges | Flyser: probably some env variables | 10:58 |
sledges | as long as you enter sdk, all good | 10:58 |
*** lbt has joined #sailfishos-porters | 11:03 | |
*** lbt has quit IRC | 11:03 | |
*** lbt has joined #sailfishos-porters | 11:03 | |
*** alin has quit IRC | 11:04 | |
locusf | some pages have overflow on the sides | 11:11 |
locusf | page 19 for example | 11:11 |
locusf | and 16 | 11:11 |
sledges | locusf: thanks, fixed in next releease | 11:13 |
sledges | can you cope paste? | 11:13 |
sledges | (hehe interesting typo) | 11:13 |
locusf | cannot copy-paste | 11:14 |
locusf | is the guide done in latex? | 11:15 |
Anarky | locusf: I had the same problem, you can use Firefox's pdf.js to copy | 11:16 |
Anarky | with evince or epdfview it doesn't work | 11:16 |
ryukafalz | Works with okular | 11:18 |
ryukafalz | ah, already been mentioned | 11:18 |
locusf | I use okular too | 11:19 |
* ryukafalz uses mostly KDE stuff so yeah | 11:19 | |
Flyser | the variables on page 9 should probably be escaped, so that $MER_ROOT in $ANDROID_ROOT gets evaluated at runtime | 11:21 |
sledges | Flyser: ' instead of " ? i disagree, as you might want to change MER_ROOT on the fly (been there done that :) | 11:22 |
Flyser | yeah, but ANDROID_ROOT is relative to MER_ROOT, so it should also change when you change MER_ROOT, right? | 11:23 |
sledges | nope | 11:24 |
sledges | android root can be (and should be) not within čer_root | 11:24 |
sledges | *m | 11:24 |
Flyser | huh? page 9 says: ANDROID_ROOT="$MER_ROOT/android/droid" | 11:24 |
sledges | mer_root should be left homogeneous | 11:24 |
sledges | touche` ;D | 11:25 |
Flyser | ^^ | 11:25 |
sledges | but it's not like that on my setup :)) | 11:25 |
sledges | so ok, it's fine to place it within mer_root, but escapes shouldn't be there, as mer_root can be relocated (if you run out of space), together with its android_root if it's in | 11:26 |
sledges | so it evaluates on every startup | 11:26 |
sledges | and there are less places to change, if path changes | 11:26 |
Flyser | that's exactly my argument :P | 11:27 |
Flyser | currently it gets evaluated right within the cat << EOF part | 11:27 |
situ | sledges: Is this a good format for build instructions for Nexus 5 ? https://wiki.merproject.org/wiki/Building_Sailfish_OS_for_Nexus_5 | 11:29 |
situ | vgrade_: ^ | 11:29 |
ryukafalz | merproject wiki cert expired D: | 11:29 |
sledges | Flyser: double quotes " should't get evaluated, as opposed to ' | 11:30 |
ryukafalz | who manages that? | 11:30 |
sledges | ryukafalz: cheers, known issue | 11:30 |
sledges | lbt | 11:30 |
Stskeeps | lbt: ^ | 11:30 |
ryukafalz | Ahh, okay | 11:30 |
Flyser | sledges: uhm ... echo '$HOME' gives "$HOME"; echo "$HOME" gives "/home/flyser" | 11:32 |
Flyser | this is on a gentoo system running bash | 11:32 |
sledges | ok, same here, it's been a long night ;) | 11:32 |
Flyser | :) | 11:32 |
sledges | yes, you're right, i didn't remember what i did myself few weeks back: https://wiki.merproject.org/wiki/Platform_SDK#tl.3Bdr :)) | 11:33 |
sledges | changing to single quotes for next hadk rel, ta! | 11:33 |
lbt | I renewed the wiki cert a while ago - it seems it needs to be 'aged' before I can deploy it | 11:39 |
ryukafalz | O.o | 11:41 |
Flyser | page 11 could use some quotation: e.g. sudo mkdir -p "$ANDROID_ROOT" | 11:42 |
Flyser | in case ANDROID_ROOT contains spaces | 11:42 |
Flyser | UBUNTU_CHROOT on page 10 as well I guess | 11:43 |
sledges | ooooh spaces, in linux? | 11:45 |
sledges | ;) | 11:46 |
sledges | i guess that's diggin your own hole | 11:46 |
ryukafalz | ugly ugly :P | 11:46 |
sledges | as android sdk would also go bananas | 11:46 |
Flyser | I don't have spaces in the path, but others might | 11:46 |
*** nodevel has joined #sailfishos-porters | 11:51 | |
* Flyser wishes for more information on "unsupported devices" | 12:10 | |
sledges | there are many more unofficial cm devices | 12:11 |
sledges | which have not 100% QA`d kernel/rootfs | 12:11 |
sledges | the principle is the same, but expect dragons :) | 12:12 |
Flyser | ah ... I thought the italic phrase "List of Supported Devices" refers to the devices supported by sailfish (=the nexus devices) and not all cm-supported devices? | 12:13 |
*** vrutkovs has joined #sailfishos-porters | 12:14 | |
sledges | Flyser: in that case, more information is in chapter 14 | 12:15 |
Flyser | I hope that is correct behaviour? https://gist.githubusercontent.com/flyser/42ad0872f961f4ce474f/raw/a9c6cf1753bacbab7107a44163f3b34e6bd42712/gistfile1.txt | 12:16 |
Flyser | this is page 12 ↑ | 12:16 |
sledges | Flyser: if breakfast does not end with fatal error, you should continue | 12:17 |
Flyser | great :) | 12:17 |
Flyser | "make -j4 hybris-hal" on page 12 fails, because gcc is not found only /usr/bin/gcc-4.7 is there | 12:20 |
Flyser | I can fix this locally, but I thought I should mention it nevertheless | 12:21 |
sledges | sudo apt-get install gcc ? | 12:21 |
sledges | or anything extra | 12:22 |
situ | sledges: Isn't he cross compiling and needs gcc for arm ? | 12:22 |
Flyser | i just symlinked gcc-4.7 to gcc | 12:22 |
sledges | which gcc does it require? | 12:22 |
Flyser | oh ... good point | 12:22 |
sledges | cross compilers are within android sdk | 12:22 |
situ | gcc --version ? | 12:23 |
sledges | probably some gcc for housekeeping | 12:23 |
sledges | i mean, which gcc does make -j4 hybris-hal require ? | 12:23 |
sledges | ( Flyser has/usr/bin/gcc-4.7 on board) | 12:23 |
sledges | strange why there's no /usr/bin/gcc | 12:24 |
sledges | did you try apt-get ? | 12:24 |
Flyser | https://gist.github.com/flyser/a944245e9fadf0c6cd37 | 12:24 |
Flyser | this is gcc-4.7 ↑ | 12:24 |
* sledges nods | 12:24 | |
sledges | expected | 12:24 |
Flyser | should I try apt-get? | 12:25 |
sledges | rm symlink | 12:25 |
sledges | and see if apt-get fixes | 12:25 |
sledges | ooi | 12:25 |
Flyser | yeah ... name resolution is broken :P | 12:26 |
sledges | o.O | 12:26 |
Flyser | oh wait it isn't. it just fails to fetch gcc | 12:26 |
sledges | yeap, get some internet :) | 12:26 |
sledges | apt-get update ? | 12:26 |
sledges | (i forgot ubuntu already :)) | 12:26 |
Flyser | https://gist.github.com/flyser/afd9f870f5a1572354e3 | 12:27 |
sledges | E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? | 12:27 |
Flyser | eh .. yeah. I was just reading the --fix-missing part :P | 12:27 |
Flyser | srsy | 12:27 |
Flyser | sry | 12:27 |
sledges | np :) | 12:27 |
Flyser | W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages 404 Not Found | 12:28 |
sledges | ping yahoo.com ;) | 12:28 |
Flyser | works. otherwise it would not be 404 | 12:28 |
sledges | sec | 12:29 |
sledges | wfm - DNS problems? | 12:29 |
sledges | hang on | 12:30 |
Flyser | can you access http://archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages ? | 12:30 |
Flyser | it does not work in my browser either | 12:30 |
sledges | it refreshed enough | 12:30 |
Stskeeps | /etc/resolv.conf problem | 12:30 |
Stskeeps | ? | 12:30 |
sledges | nope, it updated most imporatant ones | 12:30 |
vgrade_ | situ: looks good to me | 12:30 |
sledges | the other repos fail, but should be fine | 12:30 |
situ | vgrade_: ok, thanks. | 12:30 |
sledges | sudo apt-get install gcc | 12:31 |
sledges | Flyser: try ^ | 12:31 |
sledges | now | 12:31 |
vgrade_ | Stskeeps: what's the status on distribution of images? | 12:31 |
sledges | (i had 404 on last ~55% of multiverse etc repos) | 12:31 |
Flyser | Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/gcc_4.7.2-1ubuntu2_amd64.deb 404 Not Found | 12:31 |
sledges | Flyser: which ubuntu chroot img did you dl ? | 12:33 |
Stskeeps | vgrade_: not really a legal person but i wouldn't terribly worry | 12:33 |
Stskeeps | usual constraints apply, no 3rd party bits | 12:33 |
tbr | vgrade_: if you need folders for images, let me know | 12:34 |
Flyser | http://img.merproject.org/images/mer-hybris/ubu/ubuntu-quantal-android-rootfs.tar.bz2 as the guide suggested | 12:35 |
vgrade_ | Flyser: sledges host gcc was missing at one point | 12:36 |
vgrade_ | tbr: understood | 12:36 |
sledges | vgrade_: Flyser: ouch, i think they removed 4.7 recently, as i stll have it for when i did apt-get install: gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 | 12:37 |
Flyser | maybe a LTS release of ubuntu would have been a better choice | 12:38 |
Flyser | should I just symlink it again or do you want me to test some other workaround? | 12:39 |
sledges | RE LTS: absolutely, we'll still be able to switch to it | 12:39 |
sledges | Flyser: thanks, that's more than enough of info for now | 12:39 |
Flyser | okay, lets see if symlinking works | 12:40 |
sledges | Flyser: so gcc-4.7 was already pre-installed, only symlink missing? | 12:46 |
Flyser | yes | 12:47 |
Flyser | lets see if gcc is enough. maybe it requires more binaries like ar or nm | 12:47 |
* sledges nods | 12:48 | |
Sazpaimon | Hey guys, thanks for releasing the HADK. I have a quick question. I want to do a Sailfish port to the Oneplus one, which comes with CyanogenMod 11. Should I use the hybris-11 branch? | 12:53 |
*** lbt_ has joined #sailfishos-porters | 12:53 | |
*** lbt has quit IRC | 12:57 | |
vrutkovs | argh, I keep getting "sudo: effective uid is not 0, is sudo installed setuid root?" when I'm running and sudo command in SDK | 12:58 |
vrutkovs | any ideas how to fix it? | 12:58 |
Flyser | I suppose you didn't use sudo to extract the sdk | 12:59 |
vrutkovs | Flyser: oops, my fault - messed up some ownership, thanks | 13:00 |
sledges | Sazpaimon: yes | 13:01 |
vgrade_ | Sazpaimon: yes, I'm using repo init -u git://github.com/CyanogenMod/android.git -b refs/tags/cm-11.0-XNPH22R-bacon-03d77315ea | 13:01 |
vgrade_ | Sazpaimon: as a base | 13:02 |
Sazpaimon | oh, you've already done some work on a oneplus port? | 13:02 |
vgrade_ | Sazpaimon: WIP | 13:02 |
Flyser | btw. which SoC does the Jolla use? | 13:02 |
Sazpaimon | great, I'll see what comes of that considering that I don't actually physically have a device yet | 13:03 |
Stskeeps | 8930aa | 13:03 |
Stskeeps | well, msm8930aa | 13:03 |
Flyser | great. I am porting to a 8960, so sailfish should run fine | 13:04 |
Stskeeps | yeah, n4 is a 8960 too | 13:04 |
Flyser | I thought n4 is APQ8064? | 13:06 |
Stskeeps | hmm | 13:07 |
Stskeeps | yeah, okay, but practically it's same thing :P apq just has modem seperate | 13:07 |
Stskeeps | ie the MDM attached over USB | 13:08 |
Flyser | ah. didn't know that | 13:08 |
Flyser | how long does the make hybris-hal take on a current average PC? | 13:13 |
sledges | much less than full android build | 13:13 |
Flyser | never done a full android build :) | 13:13 |
Stskeeps | be glad. | 13:13 |
Stskeeps | :P | 13:13 |
Flyser | :D | 13:13 |
*** ernesti has quit IRC | 13:13 | |
Flyser | it fails after "Fixing mount-points for device xt897" ... no specific error message :-/ | 13:16 |
sledges | lbt_: ^ | 13:17 |
sledges | debugy times ;) | 13:17 |
Flyser | seems intended. "exit 1" in droid/hybris/hybris-boot/fixup-mountpoints | 13:19 |
lbt_ | ah | 13:19 |
*** lbt_ is now known as lbt | 13:20 | |
sledges | Flyser: you need to provide your device there | 13:21 |
sledges | and it's mountpoint maps | 13:21 |
lbt | Flyser: does it not print a big banner? | 13:21 |
Flyser | no https://gist.github.com/flyser/8fff6d5088bc3dc7e55f | 13:22 |
lbt | no | 13:22 |
lbt | https://github.com/lbt/hybris-boot/blob/hybris-10.1/fixup-mountpoints :/ | 13:23 |
Flyser | wouldn't it be possible to write a script that extracts the mount points from the CM source? | 13:24 |
lbt | sledges: https://github.com/mer-hybris/hybris-boot/pull/22 *cough* | 13:25 |
locusf | /android/droid/external/busybox/scripts/gcc-version.sh: line 11: cc: command not found | 13:26 |
locusf | I get this error in make -j4 hybris-hal | 13:26 |
locusf | https://gist.github.com/locusf/1283e902b83fe53c5bd3 | 13:27 |
locusf | full output | 13:27 |
Flyser | locusf: yeah ... the same problem | 13:27 |
locusf | trying to do samsung galaxy note build (n7000) | 13:27 |
Flyser | locusf: it fails in fixup-mountpoints | 13:28 |
Flyser | and it *should* print "ERROR: $DEVICE does not have mountpoint fixup data - see SailfishOS HADK for details on how to fix this. Check: device/$VENDOR/$DEVICE/recovery.fstab" | 13:28 |
locusf | Flyser: okay | 13:28 |
lbt | that cc problem ... I thought it was resolved - we had a tarball which had gcc missing iirc | 13:30 |
Flyser | mhhhh ... no recovery.fstab for my device | 13:31 |
Flyser | weird | 13:31 |
lbt | yeah - the fstab stuff is super annoyingly inconsistent | 13:31 |
locusf | I do have it though | 13:32 |
sledges | lbt: *cough* *cough* my pardons :) | 13:32 |
lbt | np - it's been easy to overlook these things | 13:32 |
lbt | also I think we've missed something gcc-ish in the ubu tarball | 13:33 |
sledges | gcc case is odd , as gcc-4.7 binary -is- there | 13:35 |
sledges | so only symlink away? | 13:36 |
sledges | apt-get install gcc fails though as they removed 4.7 from repos | 13:36 |
lbt | multiarch ? | 13:36 |
lbt | oh balls | 13:36 |
lbt | anyhow .. gotta go to physio ... bbiab | 13:36 |
sledges | lbt: i want to merge that PR | 13:37 |
sledges | feeling very confident since last comment | 13:37 |
sledges | if that kick Flyser ahead | 13:37 |
sledges | with progress | 13:37 |
sledges | *kicks | 13:37 |
sledges | Flyser: you could as well cherry-pick that ;) | 13:44 |
Flyser | unless I understand the commit wrong, it does not fix the error, right? | 13:46 |
Flyser | it just prints a better error message | 13:46 |
locusf | hmm so my device is currently completely unsupported by fixup-mountpoints? | 13:50 |
*** phdeswer has quit IRC | 13:50 | |
sledges | locusf: Flyser: sub-section 14.3.2 | 13:51 |
sledges | Flyser: commit should do a better autodetection | 13:54 |
sledges | lots of stuff changed: https://github.com/mer-hybris/hybris-boot/pull/22/files | 13:54 |
locusf | sledges: ok | 13:55 |
Flyser | okay ... I cherry-picked it | 13:57 |
Flyser | now the build process hangs due to perl | 13:58 |
locusf | how do I cherry-pick it? | 13:58 |
locusf | from lbt's repo? | 13:58 |
Flyser | locusf: apply https://github.com/mer-hybris/hybris-boot/pull/22.patch | 13:59 |
*** ParkerR has joined #sailfishos-porters | 13:59 | |
ParkerR | sledges, :) | 13:59 |
Flyser | I think the awesome perl oneliner hangs if device/*/$(TARGET_DEVICE)/recovery.fstab does not exist | 13:59 |
locusf | Flyser: cool | 14:01 |
locusf | /bin/bash: fork: retry: Resource temporarily unavailable | 14:01 |
locusf | /bin/bash: fork: retry: No child processes | 14:01 |
locusf | lol | 14:01 |
sledges | ParkerR: o7 | 14:01 |
locusf | fail | 14:01 |
Stskeeps | .. did you forkbomb your system? | 14:02 |
Flyser | :D | 14:02 |
Flyser | sweet | 14:02 |
ParkerR | sledges, How's it been? | 14:02 |
*** energycsdx has joined #sailfishos-porters | 14:02 | |
locusf | hmm I was as hosts root in android sources | 14:02 |
sledges | ParkerR: busy ;) | 14:04 |
sledges | you? | 14:04 |
ParkerR | sledges, pretty good | 14:06 |
locusf | I forgot that breakfast fails too https://gist.github.com/locusf/71bcd62f13f62e7e1f5c | 14:06 |
sledges | so, happy times have come ParkerR ;) | 14:06 |
locusf | new device is probably quite a messy thing to do with this HADK? | 14:07 |
sledges | locusf: 5.3 ;) | 14:07 |
locusf | I already did remove it ! | 14:08 |
locusf | I don't know how it got back | 14:08 |
locusf | it gets recreated | 14:09 |
Flyser | on page 13 ... where are the sb2-init and sb2 binaries supposed to come from? | 14:11 |
sledges | locusf: yes | 14:11 |
locusf | sledges: https://gist.github.com/locusf/71bcd62f13f62e7e1f5c | 14:11 |
sledges | Flyser: mer sdk | 14:11 |
sledges | exit android chroot | 14:12 |
sledges | locusf: most likely needs investigating where that forbidden comes from | 14:12 |
sledges | Flyser: *ubuntu chroot | 14:13 |
Flyser | thx | 14:14 |
energycsdx | btw any succes on running sailfish os on other devices? | 14:14 |
sledges | energycsdx: all that had success before today: https://wiki.merproject.org/wiki/Adaptations/libhybris | 14:15 |
sledges | expect the list to grow and greenify :) | 14:15 |
energycsdx | sledges: certificate expired few days ago :( | 14:16 |
Flyser | (ERROR) zypper[8143/-147499264] connect: Mapped AF_UNIX address (/parentroot/home/flyser/playground/sailfish-hadk/mer/targets/motorola-xt897-armv7hl/run/dbus/system_bus_socket) is too long | 14:17 |
Flyser | sounds bad ... :( | 14:17 |
locusf | sledges: API rate limit exceeded | 14:18 |
sledges | energycsdx: working on that ta | 14:18 |
sledges | Flyser: max path or? | 14:18 |
Flyser | guess so | 14:18 |
sledges | Flyser: which command | 14:18 |
sledges | locusf: ? | 14:19 |
Flyser | page 13, sb2 -t $VENDOR-$DEVICE-armv7hl -m sdk-install -R zypper ref --force | 14:19 |
locusf | sledges: github api rate limit | 14:19 |
locusf | sledges: cyanogenmod's scripts use it | 14:20 |
sledges | got over abused? :) | 14:20 |
locusf | yeah | 14:20 |
locusf | gotta wait ~hour | 14:20 |
energycsdx | ok i have Sailfish OS partialy running on Sony Xperia L | 14:20 |
sledges | energycsdx: sounds good | 14:20 |
locusf | sledges: had to do curl -u "username" https://api.github.com before relaunching breakfast | 14:22 |
locusf | roomservice.xml keeps regenerating | 14:24 |
sledges | yes, it does | 14:24 |
locusf | when is the right time to remove it? | 14:24 |
sledges | when you get the error | 14:24 |
locusf | I did and reran breakfast to come up with the same error | 14:24 |
sledges | Flyser: any other output on that command? | 14:25 |
sledges | try lunch | 14:25 |
energycsdx | sledges: i started before HADK was published, i have running lipstick in chroot on android, and also phone boots from hybris boot but something wrong with lipstick, i guess it because i`m not installed droid-hal-$device.rpm, yesterday i managed to compile it, i`ll continue my fun with it on weekends | 14:25 |
* sledges nods energycsdx | 14:25 | |
energycsdx | i`m using AOSP | 14:25 |
sledges | also hwc will need to link against | 14:25 |
sledges | qpa | 14:25 |
sledges | energycsdx: patches welcome ;) | 14:26 |
Flyser | sledges: https://gist.github.com/flyser/9fe03e83c38b7293a552 | 14:26 |
energycsdx | i know, lipstick works i chroot but still have problem when starting native, my guess it because missing udev rules and other configs | 14:27 |
sledges | could be yep | 14:28 |
sledges | aosp patches, i meant | 14:28 |
locusf | total used free shared buffers cached | 14:28 |
locusf | Mem: 32133 31835 298 134 2137 10115 | 14:28 |
locusf | lol I wondered why fork() doesn't work | 14:28 |
sledges | o.O | 14:28 |
locusf | out of 32GB | 14:28 |
sledges | lul | 14:28 |
sledges | looks pretty forked | 14:29 |
* sledges hides | 14:29 | |
energycsdx | sledges, i didn`t patch ASOP too match | 14:29 |
sledges | energycsdx: we have lbt's effort | 14:30 |
sledges | you could sync up | 14:30 |
sledges | which aosp btw? | 14:30 |
energycsdx | 4.4.4 | 14:31 |
sledges | energycsdx: https://github.com/lbt/android/blob/hybris-aosp-4.4.2_r2/local_manifest.xml.template | 14:31 |
sledges | so it differs | 14:32 |
sledges | Flyser: any chance of moving MER_ROOT to $HOME (deja vu of our previous convo ;P ) | 14:32 |
sledges | and retrying | 14:32 |
Flyser | I am currently trying to ingnore the errors | 14:33 |
Flyser | do you think it might work? | 14:33 |
*** vrutkovs has quit IRC | 14:33 | |
sledges | a | 14:34 |
sledges | then carry on with another sb2 command | 14:34 |
sledges | see if it succeeds at all | 14:34 |
sledges | (involving zypper/ssu) | 14:34 |
sledges | Flyser: struct sockaddr_un { unsigned short sun_family; /* AF_UNIX */ char sun_path[108]; | 14:35 |
sledges | and your path is 111 chars | 14:36 |
sledges | crazy :) | 14:36 |
*** vrutkovs has joined #sailfishos-porters | 14:36 | |
energycsdx | sledges: i checked, i patched only frameworks/base/Android.mk and cherypicked bionic hybris patch, i think maybe possible to not patch Android.mk | 14:37 |
* sledges nods | 14:37 | |
sledges | it would just be nice to finally have it mer-hybris upstream wing | 14:37 |
sledges | but more tests i guess ;) | 14:38 |
sledges | when we get your xperia up | 14:38 |
sledges | you can start properly now with hadk | 14:38 |
Flyser | sledges: the second zypper ref fails as well, the other commands work | 14:38 |
sledges | Flyser: ^ | 14:38 |
Flyser | creating and running the hello world works as well | 14:38 |
sledges | that doesn't require repos | 14:38 |
sledges | wait till you bump the wall | 14:38 |
sledges | though i wish you wouldn't ;) | 14:38 |
sledges | maybe in sb2 those dbus socks aren't critical | 14:39 |
sledges | so yeap, go ahead | 14:39 |
Flyser | *bump* :D | 14:39 |
Flyser | building the spec file does not work | 14:39 |
Flyser | https://gist.github.com/flyser/5bef6e3e3fbea09dc063 | 14:40 |
Flyser | I presume I need kernel 3.4? :( | 14:40 |
locusf | sledges: put somewhere that one might need to create ~/.netrc in order to avoid the rate-limit things in github api | 14:41 |
sledges | locusf: and what's inside that netrc? | 14:50 |
locusf | https://gist.github.com/locusf/9f91a614398c59f5188b <- now su is needed | 14:50 |
sledges | your account? | 14:50 |
locusf | sledges: yes | 14:50 |
locusf | for api.github.com | 14:50 |
locusf | sledges: https://confluence.atlassian.com/display/STASH/Permanently+authenticating+with+Git+repositories#PermanentlyauthenticatingwithGitrepositories-Usingthe.netrcfile | 14:50 |
sledges | locusf: check if we didn't remove su as redundant by chance first | 14:53 |
locusf | sledges: how do I check your mistakes :) ? | 14:53 |
sledges | lol, i'd rather call it intentional cleanup of manifest ;) | 14:54 |
sledges | see mako as most worked-on reference | 14:54 |
sledges | mer-hybris/android hybris-10.1 branch | 14:54 |
sledges | default.xml | 14:54 |
sledges | compare with originals | 14:54 |
sledges | look for "su" | 14:54 |
Flyser | sledges: what is the minimum kernel version requirement of sailfish os? | 14:57 |
locusf | where is mer-hybris/android in the tree? | 14:57 |
sledges | Flyser: 2.6.32 ? | 14:57 |
Flyser | okay, good | 14:57 |
sledges | but with later sailfish os it might have gone up | 14:58 |
sledges | :/ | 14:58 |
energycsdx | Flyser: usually android kernel have some config turned off, this configs is critical for Sailfish OS (systemd), you should recompile kernel for you device but with proper configs | 14:58 |
sledges | because of sustemd | 14:58 |
sledges | locusf: it's on github | 14:58 |
Flyser | energycsdx: yeah, I already figured that out :) I just asked, so I don't waste my time | 14:58 |
Flyser | which kernel version is the jolla running on? | 14:58 |
locusf | sledges: there's no su in that default.xml? | 14:59 |
energycsdx | i guess jolla run version that is in BSP, it is fork from CAF and there is version 3.4 | 15:00 |
Flyser | ok. lets hope my 3.0 is current enough | 15:00 |
locusf | sledges: https://github.com/mer-hybris/android/blob/hybris-10.1/cm-10.1.3.xml <- it is here | 15:00 |
sledges | locusf: means can be gone | 15:00 |
locusf | sledges: CM_VERSION=10.1-20140718-UNOFFICIAL-n7000 | 15:02 |
locusf | thats the version I'm trying to create, do I need to have a corresponding .xml? | 15:02 |
sledges | locusf: you are at testing phase of your CM | 15:02 |
sledges | wrt hadk | 15:02 |
sledges | for sfos you won't need su | 15:03 |
sledges | it will tell you how to create manifests (i hope :D ) | 15:03 |
sledges | but if you want to be sure to be sure | 15:03 |
sledges | put that kosch's su in and compile cm and deploy it | 15:03 |
sledges | so you have confidence you haven't missed anything | 15:03 |
sledges | or go happy-go-lucky ;) | 15:04 |
locusf | in the manifest file? | 15:04 |
sledges | yes | 15:04 |
locusf | ok | 15:04 |
locusf | /bin/sh: 1: gcc: not found | 15:05 |
Flyser | :) | 15:05 |
locusf | I prolly need that symlink now Flyser ? | 15:05 |
Flyser | locusf: yes | 15:05 |
Flyser | ln -s /usr/bin/gcc-4.7 /usr/bin/gcc | 15:06 |
sledges | locusf: hang on | 15:06 |
sledges | try | 15:06 |
sledges | sudo apt-get install build-essentials | 15:07 |
locusf | sledges: https://gist.github.com/locusf/070f0857364c7cd921b1 | 15:08 |
sledges | locusf: symlink | 15:09 |
sledges | thanks for that btw | 15:09 |
locusf | sledges: yeah symlinked but the build only lasts about 5 seconds after the symlink | 15:10 |
locusf | sledges: https://gist.github.com/locusf/b001e0d29c68765e5eef | 15:10 |
sledges | locusf: pull in su | 15:11 |
sledges | repo sync | 15:11 |
locusf | sledges: ok | 15:12 |
Flyser | where is the kernel config stored and is it possible to edit it with make menuconfig? if so how? (would be cool to have this in the HADK) | 15:12 |
Flyser | HADK guide* | 15:13 |
locusf | su needs again sqlite | 15:13 |
locusf | adding as I go | 15:14 |
sledges | locusf: story of my life :) | 15:15 |
sledges | Flyser: check commits to mako (lge_mako_kernel repo) | 15:16 |
locusf | ok another fixup error | 15:16 |
sledges | cmdline mer kernel checker is all you need | 15:16 |
sledges | don't try to touch other parts that cyanogenmod/aosp has decided for you before | 15:16 |
Flyser | found it thx | 15:16 |
Flyser | kernel checker is all I need? but if it fails, I do have to modify the config, no? | 15:17 |
sledges | yes, by using VIM | 15:18 |
sledges | ;) | 15:18 |
Flyser | okay :) | 15:18 |
sledges | it would take ages to go through all those oldconfigs/gens etc | 15:18 |
Flyser | how to regenerate droid/out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 15:21 |
sledges | darn i did that once; does it not pickup? | 15:23 |
Flyser | no. deleting doesn't work either | 15:24 |
sledges | Flyser: make -j16 hybris-boot | 15:24 |
sledges | gets the kernel going | 15:24 |
Flyser | thx | 15:25 |
sledges | helped? | 15:25 |
Flyser | second ... | 15:25 |
sledges | ^^ | 15:25 |
Flyser | -j4 for me. -j8 box is on its way :P | 15:26 |
sledges | ;) | 15:26 |
sledges | lucky to have a rack over here :) | 15:26 |
*** lbt has quit IRC | 15:28 | |
Flyser | perl hangs again | 15:29 |
*** GranPC_ has joined #sailfishos-porters | 15:29 | |
*** alterego_ has joined #sailfishos-porters | 15:33 | |
locusf | sigh, llvm compiling now :/ | 15:34 |
sledges | o.O | 15:35 |
sledges | is normal or you still get shivers? :) | 15:36 |
locusf | I have no idea why its compiling | 15:36 |
*** lbt has joined #sailfishos-porters | 15:38 | |
*** lbt has quit IRC | 15:38 | |
*** lbt has joined #sailfishos-porters | 15:38 | |
sledges | locusf: full cm build? | 15:39 |
sledges | i get llvm compiled too for hadk-hal | 15:39 |
locusf | sledges: no, just for hybris-hal | 15:40 |
sledges | yes that ;p | 15:40 |
sledges | i mean, it's not mesa, so don't fret at it :)) | 15:41 |
locusf | okay | 15:42 |
*** lbt has quit IRC | 15:43 | |
*** lbt has joined #sailfishos-porters | 15:44 | |
*** tbr has quit IRC | 15:44 | |
locusf | I see that make -j4 misses out on stuff so gonna build with -j1 instead | 15:44 |
*** alterego_ has quit IRC | 15:46 | |
*** Sailor2765 has quit IRC | 15:48 | |
*** Sailor2765 has joined #sailfishos-porters | 15:48 | |
locusf | Flyser: did you do the fixup-mountpoints manually? | 15:51 |
locusf | sledges: https://gist.github.com/locusf/096dd78befe6cc8f1d26 | 15:52 |
Flyser | locusf: yes | 15:52 |
locusf | Flyser: how? | 15:53 |
locusf | just modified that script with your fstab? | 15:53 |
Flyser | exactly | 15:53 |
*** Sailor2765 has quit IRC | 15:56 | |
locusf | Flyser: did you need to have anything replaced in the sed? | 15:57 |
Flyser | yes http://bpaste.net/show/475397/ | 15:58 |
Flyser | I doubt that all lines are neccessary, but it wont hurt :) | 15:59 |
locusf | how did you figure them out? | 15:59 |
Flyser | ls -l /dev/block/platform/*/by-name | 16:00 |
Flyser | on the device | 16:00 |
Flyser | somehow my kernel config changes do not take effect ... | 16:02 |
Flyser | I wonder why | 16:02 |
sledges | Flyser: you do modify *_defconfig equivalent right? | 16:03 |
Flyser | yes | 16:03 |
Flyser | msm8960_defconfig | 16:03 |
sledges | are you sure it's the one cm picks up? | 16:03 |
sledges | (o think there's BOARD_*CONFIG value somewhere in .mk) | 16:04 |
locusf | so the fstab is going to be wrong if I don't add the substitutions to the fixup-mountpoints? | 16:06 |
sledges | .zip installation will certainly fail | 16:08 |
sledges | (good measure to see where else fixup-mountpoints is referenced) | 16:08 |
*** tbr has joined #sailfishos-porters | 16:13 | |
Flyser | I don't know if its the right one | 16:14 |
Flyser | cant seem to find out ... | 16:14 |
locusf | reran with new fstab | 16:14 |
locusf | is it bad that there is only dw_mmc in cyanogenmod console? | 16:14 |
locusf | the other block device didn't list anything by-name | 16:15 |
Flyser | maybe your device is like the i9305? | 16:15 |
Flyser | and you only need to 's /block/ / ' \ | 16:16 |
locusf | that just replaces every /block/ with nothing, right ? | 16:17 |
Flyser | yes | 16:17 |
locusf | where should I see the result of that fixup? | 16:17 |
Flyser | dont know sorry | 16:18 |
locusf | well fingers crossed then :D | 16:18 |
Flyser | same here :P | 16:18 |
locusf | I have both kernel and recovery images now <3 | 16:19 |
Flyser | me too *highfive* :D | 16:20 |
locusf | Jolla boys don't even have to bother having other toolchains, eg. for other armv8 arches | 16:20 |
locusf | we just use the one for Jolla and n9 etc | 16:20 |
sledges | they're all armv7hl thankfully | 16:22 |
sledges | for now ;P | 16:22 |
locusf | yeah and note is too | 16:22 |
locusf | Flyser is your cpu armv7hl too? | 16:22 |
sledges | locusf: you need to see if an mmc partition is under same path in cwm and in fully booted droid | 16:22 |
Flyser | locusf: yes. I guess almost all android devices run on armv7 | 16:23 |
locusf | sledges: ok | 16:23 |
locusf | sledges: which one of them btw? | 16:24 |
*** tbr has quit IRC | 16:24 | |
locusf | sionce you said an, I guess that means that there is more than one | 16:24 |
Flyser | sledges: do you have any idea how I can figure out which defconfig is selected? | 16:24 |
Flyser | I can't find a config file or anything ... | 16:25 |
sledges | locusf: userdata and boot | 16:26 |
sledges | any will do really, you just need to see path naming consistency | 16:26 |
sledges | Flyser: find -maxdepth 6 -name "*.mk" -exec grep -H defconfig {} \; | 16:26 |
locusf | MerSDK locusf@locusf-desktop:~$ cd $ANDROID_ROOT | 16:27 |
locusf | bash: cd: /android/droid: No such file or directory | 16:27 |
locusf | whoops | 16:28 |
sledges | locusf: check $MER_ROOT in ~/.*.env | 16:28 |
sledges | also running hadk [DEVICE] helps | 16:28 |
locusf | export MER_ROOT="/srv/mer" | 16:29 |
sledges | and ANDROID_ROOT ? | 16:29 |
locusf | export ANDROID_ROOT="/android/droid" | 16:29 |
sledges | ;P | 16:29 |
sledges | first, use ' quotes | 16:29 |
Flyser | thanks its msm8960_mmi_defconfig | 16:30 |
sledges | Flyser: you can also see it being picked up if you analyse cm kernel build log | 16:30 |
locusf | aah | 16:30 |
locusf | I need $MER_ROOT/android/droid | 16:31 |
locusf | and $MER_ROOT needs to be something else | 16:31 |
Flyser | for the record: it was defined in $MER_SDK/android/droid/device/$VENDOR/*-common/BoardConfigCommon.mk | 16:31 |
sledges | Flyser: that :") | 16:31 |
Flyser | I was searching through the kernel directory ^^ | 16:32 |
sledges | :) | 16:32 |
sledges | if Torvalds finds an .mk there.... x) | 16:32 |
locusf | sledges: so single quotes? | 16:32 |
Flyser | sledges: :D | 16:33 |
locusf | I'm at page 15 btwe | 16:33 |
Flyser | actually you need double quotes there | 16:33 |
sledges | locusf: where is your android root physically? point android_root there (it doesn't have to be under mer_root, it was just an instance) | 16:33 |
sledges | wha? :DD | 16:34 |
Flyser | single quotes are required on page 9 | 16:34 |
locusf | /parentroot/srv/mer/sdks/ubuntu/android/droid | 16:34 |
Flyser | but if you edit the file manually you need double quotes | 16:34 |
sledges | locusf: ah it's the case of /parentroot | 16:35 |
sledges | "/parentroot/$MER_ROOT/android/droid" | 16:35 |
sledges | will do | 16:35 |
sledges | "/parentroot/$MER_ROOT/skds/ubuntu/android/droid" | 16:36 |
sledges | :P | 16:36 |
sledges | don't know why you put it under ubuntu, but as i say, it can be virtually anywhere | 16:36 |
sledges | *sdks not skds (sounds like skidmarks :))) | 16:36 |
locusf | sledges: https://gist.github.com/locusf/62c7304a51a1050cbcbd | 16:36 |
sledges | locusf: adjust kernel flags | 16:37 |
locusf | Can't open ./out/target/product/%{device}/obj/KERNEL_OBJ/.config: No such file or directory at /usr/bin/mer_verify_kernel_config line 58. | 16:37 |
sledges | sec 14.3.5 | 16:37 |
sledges | command used? | 16:38 |
locusf | sledges: in the rpm postinst? | 16:38 |
locusf | as can be seen in the gist | 16:38 |
sledges | run manually in section 14.3.5 for now | 16:38 |
sledges | thanks for that | 16:38 |
locusf | ok | 16:38 |
* Flyser cries while compiling the kernel a fifth time | 16:39 | |
*** vakkov has joined #sailfishos-porters | 16:41 | |
sledges | only fifth? ;P | 16:41 |
Flyser | :P | 16:41 |
sledges | vakkov: o/ | 16:41 |
Flyser | I should have done this on my quadcore desktop pc and not on my dualcore notebook .. | 16:42 |
vakkov | hi there! :) | 16:42 |
*** pat_o has joined #sailfishos-porters | 16:43 | |
sledges | locusf: sec 7.1.1: # THE COMMAND BELOW WILL FAIL. It's normal, carry on with the next one. | 16:44 |
sledges | ;) | 16:44 |
sledges | explanation right below :) | 16:44 |
locusf | sledges: yeah but then I don't have the droid-hal-$DEVICE.spec | 16:45 |
sledges | vakkov: how you've been? | 16:45 |
Flyser | locusf: copy the mako one | 16:45 |
Flyser | and adjust | 16:45 |
sledges | locusf: 14.4.1 | 16:45 |
locusf | Flyser: okay | 16:47 |
sledges | simply, you follow chapter 14, and then where apropriate, it swings you back to needed route (like in 14.4.3 ) | 16:47 |
sledges | as you're adding a new device | 16:48 |
Flyser | its a bit weird to have this split between multiple chapters tbo | 16:48 |
locusf | sledges: where is the kernel config to modify? | 16:48 |
sledges | Flyser: proposals welcome :) | 16:49 |
sledges | locusf: 19:31 < Flyser> for the record: it was defined in $MER_SDK/android/droid/device/$VENDOR/*-common/BoardConfigCommon.mk | 16:49 |
locusf | sledges: ok | 16:49 |
Flyser | sledges: proposal: create a reference in 7.1.1 saying "If you are adding a device also see 14.4.3" or something | 16:50 |
sledges | hadk is existing-device-centric, as we aim to improve current HAs | 16:50 |
sledges | otherwise ch 7 would be called "add a new device" :) | 16:51 |
locusf | sigh, text overflow on page 44 | 16:51 |
*** lainwir3d has quit IRC | 16:51 | |
locusf | sledges: it wasn't there | 16:52 |
locusf | sledges: the kernel config | 16:52 |
locusf | that was simply a makefile | 16:52 |
Flyser | I understand that, but it's difficult to know if I should look for a solution in chapter 14 or if there is some other problem | 16:52 |
Flyser | locusf: the makefile tells you the filename of the config | 16:53 |
Flyser | something_defconfig | 16:53 |
sledges | locusf: aware of overflow, don't know what to do about that, just use a smarter pdf reader for now.. soz | 16:53 |
sledges | Flyser: probably table of contents could help ;) | 16:53 |
Flyser | sledges: :P | 16:54 |
sledges | totally my fault | 16:54 |
sledges | (goes to buy everyone beer) | 16:54 |
*** SK_work has quit IRC | 16:54 | |
Flyser | its over 30° here, so a cold beer would be appreciated :) | 16:55 |
vrutkovs | halp! http://pastebin.com/USXZrjL4 | 16:55 |
sledges | it's 24 here and that's at least 4 deg above summer average :)) | 16:55 |
locusf | Flyser: no defconfig found :/ | 16:57 |
sledges | vrutkovs: on hybris/hybris-boot cherry-pick .... (wait a min) | 16:57 |
locusf | or any *defconfig* | 16:57 |
sledges | vrutkovs: https://github.com/mer-hybris/hybris-boot/pull/22.patch (thanks to Flyser ) | 16:57 |
vrutkovs | sledges: ah, thanks | 16:57 |
sledges | if that gets rid of your error (pls tell), i'll merge PR | 16:57 |
locusf | hmm everyone is trying to create new device and it seems that it is quite difficult :p | 16:58 |
Flyser | locusf: maybe n7000_defconfig? | 16:58 |
sledges | locusf: and you thought creating new device will be easy? | 16:58 |
* sledges thinks about months we brought mako & co to where they are | 16:58 | |
Flyser | sledges: but as I said this pullrequest contains an endless loop in the perl magic | 16:59 |
sledges | Flyser: oh? | 16:59 |
locusf | sledges: nope :p | 16:59 |
sledges | did you fix it locally? | 16:59 |
Flyser | it happens at least when the recovery.fstab is non-existant | 16:59 |
Flyser | maybe other cases too | 16:59 |
sledges | ohk | 16:59 |
Flyser | I don't know much perl, so I am not of much help here | 16:59 |
sledges | lbt: ^ | 16:59 |
sledges | Flyser: so how do you solve it? Ctrl+C? ;) | 17:00 |
Flyser | yes and then creating the recovery.fstab | 17:00 |
sledges | blank? | 17:00 |
Flyser | no, I picked one from github | 17:00 |
Flyser | for my device | 17:00 |
sledges | from where? | 17:00 |
sledges | why is it not shipped together? | 17:00 |
Flyser | https://raw.githubusercontent.com/SkrilaxCZ/android_device_moto_asanti_c/jellybean/recovery.fstab | 17:01 |
sledges | (locusf: welcome to the world of android devices reading ^ ;)) | 17:01 |
Flyser | I don't know | 17:01 |
sledges | hmmmmm | 17:01 |
Flyser | its not here https://github.com/cyanogenmod/android_device_motorola_xt897/tree/cm-10.1 | 17:01 |
sledges | and does it contain any crucial info? | 17:01 |
sledges | or just a placeholder | 17:01 |
locusf | sledges: lol | 17:01 |
locusf | sledges: I'm already like "I have no idea what I'm doing but I'm doing it anyways" | 17:02 |
sledges | ;) you'll get around once past initial androidy hurdles (if you have .img files, the worst of device bringup phase is in the past) | 17:02 |
sledges | Flyser: and where is fstab in https://github.com/cyanogenmod/android_device_motorola_xt897/tree/cm-10.1 ? | 17:03 |
sledges | or there's nothing at all? o.O | 17:03 |
Flyser | that's what I am wondering as well | 17:03 |
locusf | bloody hell, now my HABUILD_SDK no longer points to my device | 17:04 |
sledges | lol, no wonder script halts | 17:04 |
sledges | locusf: hadk DEVICE | 17:04 |
sledges | ? | 17:04 |
vrutkovs | sledges: yep, that one worked (had to also add my device u8815 along with "encore") | 17:04 |
locusf | sledges: I just run hadk, it gives it correctly | 17:04 |
Flyser | maybe the fstab gets pulled from the device? like the binary blobs? | 17:05 |
sledges | locusf: HABUILD_SDK is a prompt, not an env var | 17:05 |
locusf | sledges: I know | 17:05 |
locusf | its the ubuntu-chroot one? | 17:05 |
sledges | vrutkovs: yep, fixup-mountpoints has dedicated paragraph in hadk ;) | 17:05 |
sledges | locusf: yes, i do ubu-chroot -r /parentroot/$MER_ROOT/sdks/ubuntu | 17:06 |
locusf | I'm just going to say screw the kernel config and head to target installation for my device | 17:06 |
sledges | on my build env | 17:06 |
locusf | yes | 17:06 |
Flyser | sledges: When I say "Error: Pattern dir './rpm/patterns/xt897' doesn't exist.", will you respond with a chapter number? :P | 17:06 |
sledges | locusf: analyse output of cm kernel compile | 17:06 |
sledges | look out for defconfig | 17:07 |
sledges | (first lines before actual compilation) | 17:07 |
sledges | Flyser: yes | 17:07 |
sledges | :D | 17:07 |
sledges | but, tell me which one are you coming from? ;) | 17:07 |
Flyser | 7.1.1: mb2 -t $VENDOR-$DEVICE-armv7hl -s rpm/droid-hal-$DEVICE.spec build | 17:08 |
*** tbr has joined #sailfishos-porters | 17:08 | |
sledges | aha! thanks, i overlooked that ;) | 17:09 |
sledges | a proper bug in doc you found :P | 17:09 |
Flyser | yay | 17:09 |
sledges | Flyser: for now, refer to bottom of 8.3 | 17:09 |
sledges | i'll put up a fix, cheers again | 17:09 |
sledges | i see Flyser is winning the porting race atm ;) | 17:11 |
Flyser | :P | 17:11 |
vakkov | export MER_ROOT should be the path where my sdk is installed, right? | 17:11 |
locusf | I'm too at 7.1.1 | 17:11 |
sledges | vakkov: yes, top level like /srv/mer (see https://wiki.merproject.org/wiki/Platform_SDK#tl.3Bdr ) | 17:12 |
sledges | locusf: are you building RPMs already ;) | 17:12 |
locusf | sledges: https://gist.github.com/locusf/8dc4cfe2b33a3f888328 | 17:12 |
locusf | that probably fails because of my git config has pager as most and its not available in the mer repos | 17:12 |
sledges | ah | 17:13 |
sledges | yap | 17:13 |
Flyser | okay, it created some patterns/xt897/*.yaml what do I need to modify there? | 17:13 |
sledges | nothing | 17:14 |
sledges | :D | 17:14 |
Flyser | best answer! | 17:14 |
Flyser | sledges: I think there is a typo in 14.4.2 | 17:17 |
Flyser | COMPOSITOR_CONFIGS_DIR == COMPOSITOR_CONFIGS, right= | 17:17 |
Flyser | ? | 17:17 |
locusf | error: File not found: /parentroot/srv/mer/sdks/ubuntu/android/droid/installroot/var/lib/environment/compositor/droid-hal-device.conf | 17:18 |
sledges | locusf: copy from mako | 17:18 |
sledges | under rpm/device-YOURVENDOR-YOURDEVICE-configs | 17:19 |
Flyser | copy from mako? 14.4.2 says something different? | 17:19 |
sledges | Flyser: is the same file | 17:20 |
sledges | and yes, thanks for finding another bug ;) | 17:20 |
sledges | you get another start | 17:20 |
sledges | and first porter gets a badge(r) | 17:20 |
sledges | (i just made it all up) | 17:20 |
locusf | https://gist.github.com/locusf/bc9bbf35a88adc2a76e4 | 17:20 |
Flyser | sledges: "gets a Jolla" would be much more encouraging :P | 17:21 |
sledges | bbbbut why porting then? :DD | 17:21 |
locusf | problems with processing patterns-rpm | 17:21 |
vrutkovs | reference device, to compare! | 17:22 |
Flyser | sledges: for fun :) | 17:22 |
vrutkovs | (10 Jolla's, to be sure) | 17:22 |
sledges | to enable world to experience sailfish | 17:22 |
sledges | is the answer ;) | 17:22 |
Flyser | :D | 17:22 |
sledges | if you like fish meat that is | 17:22 |
sledges | :D | 17:22 |
sledges | locusf: 20:09 < sledges> Flyser: for now, refer to bottom of 8.3 | 17:23 |
locusf | sledges: thx | 17:24 |
sledges | we :) | 17:24 |
locusf | whee rpms | 17:25 |
Flyser | actually I get a similar error even after reading chapter 8.3: https://gist.github.com/flyser/c9a449294855ac1b3d02 | 17:26 |
Flyser | locusf: really? what did you do? | 17:26 |
locusf | sledges: http://pastie.org/9403074 | 17:26 |
locusf | Flyser: rpm/helpers/add_new_device.sh. | 17:27 |
Flyser | did that as well | 17:27 |
locusf | still no rpms? | 17:27 |
Flyser | nope | 17:28 |
Flyser | see the gist link | 17:28 |
locusf | hmm | 17:29 |
sledges | locusf: do 7.1.3 first, then come back to 712 and see if it fixed | 17:35 |
sledges | order might be wrong | 17:35 |
Flyser | sledges: any idea regarding my error? | 17:36 |
sledges | Flyser: yes | 17:37 |
sledges | you have duplicates like ./device-$VENDOR-$DEVICE-configs/lib/udev/platform-device and ./device-configs-all/lib/udev/platform-device | 17:37 |
sledges | remove the device-specific ones | 17:37 |
locusf | sledges: is page 16 rest supposed to be "build" ? | 17:39 |
sledges | vgrade_: situ: why is this failing? they copied from hammerhead | 17:39 |
Flyser | sledges: I have one ./device-lge-hammerhead-configs/lib/udev/platform-device and ./device-configs-all/lib/udev/platform-device | 17:39 |
Flyser | the hammerhead file should not be relevant, right? | 17:39 |
sledges | Flyser: hammerhead should be ignored | 17:39 |
locusf | so close ... fork: Resource temporarily unavailable | 17:39 |
sledges | locusf: still no decent pdfreader ? ;) | 17:40 |
situ | May I know the exact error ? | 17:40 |
locusf | sledges: which one do you recommend? | 17:40 |
Flyser | pdf.js works fine | 17:40 |
sledges | situ: https://gist.github.com/flyser/c9a449294855ac1b3d02 | 17:40 |
sledges | locusf: how did you get rid of "File listed twice"? | 17:41 |
locusf | sledges: yes | 17:41 |
sledges | situ: apparently they didn't copy it from hammerhaed :o | 17:41 |
locusf | sledges: http://pastie.org/private/7gevoo5soyoggo8ohwb5qq | 17:41 |
locusf | why do I get these forking errors ... | 17:41 |
sledges | locusf: okular, Firefox PDF reader | 17:42 |
Flyser | https://gist.github.com/flyser/86acea511d84126b22f6 is correct, right? | 17:42 |
situ | sledges: We should check from where these files are getting picked up and are they really required | 17:42 |
sledges | Flyser: sure there's no 3rd platform-device under your device -configs/ dir? | 17:42 |
locusf | sledges: I am using okular ... | 17:42 |
sledges | locusf: free ? | 17:43 |
sledges | locusf: then you can tripleclick, or click-drag-down to select-> the invisible | 17:43 |
Flyser | https://gist.github.com/flyser/d727579f9b2fc39b0e88 | 17:43 |
sledges | hummmmmm | 17:43 |
sledges | locusf: how did you get rid of "File listed twice"? | 17:43 |
locusf | sledges: I didn't even have it | 17:43 |
sledges | yes you did: https://gist.github.com/locusf/bc9bbf35a88adc2a76e4 | 17:43 |
sledges | :) | 17:43 |
locusf | hmm I don't know actually | 17:44 |
sledges | (argument clinic? :)) http://www.youtube.com/watch?v=kQFKtI6gn9Y ) | 17:44 |
sledges | Flyser: try mv`ing ./device-configs-all/lib/udev/platform-device away for a laugh first | 17:47 |
Flyser | File not found: /home/flyser/playground/sailfish-hadk/mer/android/droid/installroot/lib/udev/platform-device | 17:48 |
locusf | rebootig | 17:48 |
energycsdx | what should be at /system ? | 17:49 |
sledges | Flyser: and putting it under your device -configs/ now instead? | 17:49 |
sledges | energycsdx: CM's system from its .zup | 17:49 |
sledges | untouched | 17:49 |
sledges | it gets mounted by systemd lib/systemd/system/system.mount | 17:50 |
energycsdx | and under /usr/libexec/droid-hybris/system? only patched bionic? | 17:51 |
sledges | yes, things locally built like logcat | 17:52 |
sledges | by hybris-hal | 17:52 |
sledges | they are collected by dhd main rpm | 17:52 |
sledges | and get installed there through it | 17:52 |
Flyser | sledges: same error | 17:52 |
energycsdx | and blobs like libEGL.so are under /system? | 17:53 |
sledges | energycsdx: ./usr/libexec/droid-hybris/system/lib/libEGL.so | 17:54 |
energycsdx | sorry libEGL.so is not vendor blob | 17:56 |
sledges | energycsdx: best if you follow hadk.. | 17:56 |
locusf | sledges: Error <creator>: URLGrabber error: https://releases.jollamobile.com/releases/1.0.8.19/jolla-hw/adaptation-samsung-n7000/armv7hl/repodata/repomd.xml | 17:56 |
locusf | oh I can already see the error lo | 17:57 |
energycsdx | sledges: i reviewed it | 17:57 |
sledges | locusf: ok ;) | 17:58 |
energycsdx | it is not clear what is difference between /system and /usr/libexec/droid-hybris | 17:58 |
locusf | the sed fails | 17:58 |
vgrade_ | files listed twice is benign I think | 17:58 |
sledges | locusf: you shouldn't have that repo in | 17:58 |
sledges | vgrade_: tru! | 17:59 |
sledges | Flyser: vgrade_: then we need to get rid of these: /init.qcom.class_core.sh | 17:59 |
sledges | i guess some perls pulled them in ;) | 17:59 |
sledges | locusf: yes, sed fail, but why? | 17:59 |
vgrade_ | sledges: or package them | 17:59 |
locusf | sledges: newline in copypaste | 18:01 |
sledges | a | 18:01 |
energycsdx | sledges: forexample this http://code.metager.de/source/xref/android/4.4/frameworks/native/opengl/libs/EGL/Loader.cpp#264 ignores HYBRIS_LD_LIBRARY_PATH and require to have /system/lib/egl/* things but actual libs will be loaded from another location | 18:01 |
sledges | i wonder when those *.sh are executed, Flyser ? | 18:01 |
sledges | Flyser: patch droid-hal-device.inc , add after # Droid config droppings | 18:01 |
sledges | /init*.sh | 18:02 |
locusf | sledges: http://pastie.org/9403143 | 18:02 |
vgrade_ | energycsdx: /system is original CM libs, /usr/libexec/droid-hybris contains hybris stub libs to allow calls to bionic drivers from linux side | 18:02 |
sledges | locusf: your .ks is not sedded enough | 18:02 |
locusf | sledges: which sed to apply? | 18:04 |
energycsdx | so /usr/libexec/droid-hybris may not contain vendor specific libs and can be same for same android version? | 18:04 |
locusf | I haven't run ssuks | 18:04 |
sledges | locusf: 82 first one | 18:05 |
sledges | with proper copypaste ;) | 18:05 |
sledges | locusf: i wanted to ask about outcome of order of sections mixed earlier | 18:05 |
locusf | sledges: could you please paste it somewhere? | 18:05 |
locusf | that first sed | 18:06 |
vgrade_ | energycsdx: the libs in libexec need to be built with the same android tree the /system libs were | 18:06 |
locusf | sledges: http://pastie.org/private/f2bkakptkysuovplubdwiq <- this is after the first sed unmodified | 18:08 |
locusf | sledges: second sed I modified: sed -e "s|^$HA_REPO.*$|$HA_REPO --baseurl=file://$ANDROID_ROOT/droid-local-repo/$DEVICE|" $ANDROID_ROOT/installroot/usr/share/kickstarts/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks > tmp/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks | 18:08 |
sledges | locusf: 2nd set should not be run | 18:08 |
sledges | as there's no obs repo for your device | 18:08 |
Flyser | got to go. be back in an hour or so | 18:09 |
sledges | Flyser: o/ | 18:09 |
locusf | I mean second sed == my modified sed | 18:09 |
sledges | locusf: not having hadk here | 18:09 |
sledges | locusf: first sed is needed only | 18:09 |
locusf | yes | 18:09 |
sledges | and no mods | 18:09 |
locusf | as I have done | 18:09 |
sledges | ;p | 18:09 |
locusf | no second sed as I can read :p | 18:09 |
sledges | so your repo jollamobile.com should be gon | 18:09 |
locusf | at least hopefully | 18:09 |
locusf | I did forget to run process_patterns | 18:11 |
locusf | as mentioned in 8.3 | 18:12 |
locusf | Warning: repo problem: nothing provides jolla-rnd-device needed by pattern:jolla-hw-adaptation-n7000-0.0.6-201407181724.noarch, | 18:14 |
sledges | locusf: progress! | 18:15 |
sledges | remove that from patterns | 18:15 |
sledges | and follow all steps to regenerate them | 18:15 |
locusf | I commented out the repos in .ks | 18:15 |
sledges | repos? | 18:15 |
sledges | no just that pkg | 18:15 |
sledges | you could try -jolla-rnd-device | 18:15 |
sledges | in %packages | 18:15 |
locusf | hmm nope | 18:17 |
sledges | 21:15 < sledges> remove that from patterns | 18:17 |
sledges | 21:15 < sledges> and follow all steps to regenerate them | 18:17 |
locusf | I edited patterns and then ran process_patterns | 18:18 |
sledges | one of last 8.x sections say the sequence you have to go through | 18:18 |
sledges | just regen patts is not enough iirc | 18:18 |
locusf | which one? | 18:20 |
sledges | with loads of symlinks | 18:20 |
locusf | which section? | 18:20 |
locusf | in HADK manual | 18:20 |
sledges | 8x | 18:21 |
sledges | dont' have at hand | 18:21 |
sledges | dineer now ;P | 18:22 |
*** Nokius has joined #sailfishos-porters | 18:25 | |
sledges | welcome new porters :) | 18:26 |
locusf | it was the mb2 build | 18:27 |
Nokius | Thanks for the Adaptation Development Kit Jolla | 18:30 |
sledges | we :) | 18:30 |
locusf | sledges: in 13.8 now | 18:34 |
sledges | what will you hack Nokius ? :) | 18:36 |
sledges | locusf: the race is on ;) | 18:36 |
Nokius | Will try the find5 (hope i have the skills ;-/ and the time ) | 18:37 |
sledges | Nokius: looks like there's stable 10.1.3 cm build for it, so will ease your efforts; we're here to help | 18:39 |
Nokius | sledges: yeah its a HADK device | 18:40 |
sledges | well, we have cm-11 work ongoing too (as well as aosp), not far from well tested | 18:41 |
locusf | sledges: http://pastie.org/private/6re8uzdmakzjxapf2e8wg | 18:41 |
sledges | broaden the horizons, namely nexus5 | 18:41 |
locusf | a bunch of those rpmdb things too, had to cut to the few remaining ones | 18:42 |
sledges | locusf: sb2 .... --sdk-install .... zypper in libtool | 18:43 |
sledges | to isolate the case | 18:43 |
locusf | lots of these error: rpmdbNextIterator: skipping h# 47 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD | 18:44 |
locusf | and then fails in (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: /var/cache/zypp/packages/jolla/core/armv7hl/libtool-2.4.2-1.1.1.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD | 18:44 |
locusf | error: /var/cache/zypp/packages/jolla/core/armv7hl/libtool-2.4.2-1.1.1.armv7hl.rpm cannot be installed | 18:44 |
locusf | probably something screwed in the rpmdb | 18:44 |
sledges | try wayland-devel | 18:45 |
locusf | (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: /var/cache/zypp/packages/jolla/core/armv7hl/wayland-devel-1.1.0+git2-1.2.1.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD | 18:45 |
locusf | error: /var/cache/zypp/packages/jolla/core/armv7hl/wayland-devel-1.1.0+git2-1.2.1.armv7hl.rpm cannot be installed | 18:45 |
locusf | had to do sb2 -t $VENDOR-$DEVICE-armv7hl -m sdk-install -R rpm --rebuilddb | 18:46 |
locusf | but still failing | 18:47 |
locusf | http://pastie.org/9403283 | 18:48 |
sledges | hmmmm | 18:48 |
*** vrutkovs has quit IRC | 18:49 | |
sledges | suggest recreating target | 18:50 |
locusf | missing zypper ref fixed it | 18:51 |
locusf | nope | 18:51 |
sledges | locusf: | 18:52 |
sledges | rm -f /var/lib/rpm/__db* | 18:52 |
sledges | then | 18:52 |
sledges | rpm --rebuilddb | 18:52 |
sledges | on target ofc | 18:52 |
Nokius | sledges: is anyone else working on a find5 build? | 18:52 |
locusf | sledges: nope | 18:52 |
locusf | sledges: how to uninstall target? | 18:53 |
sledges | locusf: examing what sb* commands you have | 18:56 |
Flyser | sledges: adding the /init*.sh worked \o/ | 18:56 |
sledges | \o/ | 18:56 |
sledges | Nokius: nope, which chipset is it? | 18:56 |
locusf | sledges: which should I have? | 18:56 |
sledges | Nokius: also strengthen your crew by creating xda find5 sailfishos thread | 18:57 |
locusf | sledges: http://pastie.org/9403302 | 18:57 |
sledges | locusf: many | 18:57 |
sledges | x) | 18:57 |
Nokius | sledges: Snapdragon S4 APQ8064 | 18:59 |
Nokius | sledges: soource wikipedia | 18:59 |
*** furikku has quit IRC | 19:00 | |
sledges | Nokius: same as n4 - best supported hadk device to date ;) | 19:04 |
situ | Nokius: Isn't it Qualcomm APQ8064 Quad Core 1.5GHz ? | 19:04 |
situ | Nokius: http://global.oppo.com/products/find5/specs/ | 19:04 |
situ | are they both same ? | 19:05 |
sledges | locusf: mv`ing existing target and recreating->sb2-init`ing new one should suffice | 19:05 |
Nokius | sledges: ture the same cpu as the n4 | 19:07 |
*** alin has joined #sailfishos-porters | 19:09 | |
sledges | alin: hi, the "soon" day has come ;) | 19:10 |
alin | sledges: yes | 19:10 |
sledges | always keeping promises :) | 19:10 |
alin | sledges: I got it... just been pretty busy... now I was reading... and I already have a question | 19:10 |
sledges | fire away ;) | 19:10 |
alin | sledges: the guide says you like cyanogem 10.x only... but if I go to mer-hybris I see repos for hammerhead | 19:11 |
alin | sledges: there is some kind of contradiction... | 19:11 |
sledges | 11.0 is not ready as it has been undertested | 19:11 |
sledges | but last days changed a lot | 19:11 |
sledges | and we already have nexus5 instructions following 11 branch: | 19:11 |
sledges | https://wiki.merproject.org/wiki/Building_Sailfish_OS_for_Nexus_5 | 19:12 |
sledges | by situ ^ | 19:12 |
alin | sledges: good... next week I am on holiday... | 19:13 |
alin | sledges: so I can tinker | 19:13 |
sledges | bril, also less-headachy next hadk version with fixes will be out by then | 19:15 |
Flyser | any idea? https://gist.github.com/flyser/4abb50c2c02daa943c69 | 19:16 |
alin | sledges: in the https://wiki.merproject.org/wiki/Adaptations/libhybris seems camera is listed as not working... | 19:16 |
Flyser | I already did 7.1.3 before | 19:16 |
Flyser | and used zypper ar -G instead of zypper ar | 19:16 |
alin | sledges: I have abused my phone and but ubuntu on it... and there the camera was workign | 19:16 |
alin | can't we borrow their fix? | 19:16 |
locusf | sledges: back in business | 19:17 |
sledges | alin: but hadk is ;) so now enabling camera and other tinkering is in the hands of the whole community | 19:17 |
sledges | locusf: me too, dinner was good :) | 19:17 |
sledges | locusf: you can help Flyser with his last paste ;P as you've been there today | 19:18 |
locusf | sledges: ok | 19:21 |
sledges | Flyser: b2 -t $VENDOR-$DEVICE-armv7hl -R -m sdk-install zypper lr -u | 19:21 |
sledges | *sb2 | 19:21 |
sledges | looks like something not done till the end.. | 19:21 |
locusf | sledges: the pdf produces newlines when there is a * and . character | 19:21 |
sledges | huh? | 19:21 |
locusf | at least for me it is | 19:23 |
Flyser | https://gist.github.com/flyser/95187ef5ffa15492b0ff | 19:23 |
Flyser | locusf: same here | 19:23 |
sledges | Flyser: sb2 -t $VENDOR-$DEVICE-armv7hl -R -m sdk-install ssu lr | 19:23 |
sledges | guys what do you mean . * newlines? | 19:24 |
sledges | page? | 19:24 |
sledges | hlp me reproduce :) | 19:24 |
Flyser | try to copy the rm -f $ANDROID_ROOT/droid-local-repo/$DEVICE/droid-hal-*rpm on page 16 | 19:24 |
Flyser | or the line below that one | 19:25 |
sledges | rm -f $ANDROID_ROOT/droid-local-repo/$DEVICE/droid-hal-*rpm | 19:25 |
sledges | (using evince :") | 19:25 |
Flyser | sledges: seems like I am bumping the said wall | 19:25 |
sledges | Flyser: ssu lr pls ;) | 19:25 |
Flyser | connect: Mapped AF_UNIX address (/parentroot/home/flyser/playground/sailfish-hadk/mer/targets/motorola-xt897-armv7hl/run/dbus/system_bus_socket) is too long | 19:25 |
sledges | Flyser: hopefully those are benign | 19:26 |
sledges | we'll see | 19:26 |
locusf | sledges: http://pastie.org/private/h6rdbwee5pplnbr1fcvxg | 19:27 |
Flyser | https://gist.github.com/flyser/89b2a3952cfac41873ec | 19:27 |
sledges | ga! | 19:27 |
locusf | yeah no local repo enabled | 19:27 |
sledges | Flyser: local repo should be there (and yes, enabled) | 19:28 |
sledges | why did you use -G ? | 19:28 |
Flyser | otherwise it would spit out an error saying that something wasn't signed | 19:28 |
locusf | sb2 -t $VENDOR-$DEVICE-armv7hl -R -m sdk-install zypper ar $ANDROID_ROOT/droid-local-repo/$DEVICE local-$DEVICE-hal | 19:28 |
sledges | signage is also not critical | 19:28 |
sledges | if it can't find it | 19:29 |
sledges | sign into target | 19:29 |
sledges | and look for it first | 19:29 |
sledges | mounts / parentroot might be bonkers | 19:29 |
locusf | also zypper ref afterwards | 19:29 |
sledges | (target shell: `sb2 -t $VENDOR-$DEVICE-armv7hl -R -m sdk-install`) | 19:29 |
sledges | see if $ANDROID_ROOT is reachable from within target | 19:30 |
locusf | sledges: any comments on the pastie or should we help Flyser first :) ? | 19:32 |
sledges | coming ;) | 19:32 |
locusf | ah | 19:32 |
Flyser | ANDROID_ROOT is reachable | 19:32 |
sledges | locusf: you should have this in your .ks: repo --name=jolla-@RELEASE@ --baseurl=https://releases.jolla.com/releases/@RELEASE@/jolla/@ARCH@/ | 19:32 |
sledges | also this is not good: Unknown command: -jolla-rnd-device | 19:32 |
sledges | locusf: ^ (it should be in %packages ) | 19:32 |
sledges | Flyser: then just do within shell: zypper ar $ANDROID_ROOT/droid-local-repo/$DEVICE local-$DEVICE-ha2 | 19:33 |
sledges | *hal | 19:33 |
sledges | and subst DEVICE ofc | 19:33 |
locusf | Error <creator>: URLGrabber error: https://releases.jollamobile.com/releases/1.0.8.19/jolla/armv7hl/repodata/repomd.xml | 19:33 |
Flyser | why is zypper showing it and ssu not? https://gist.github.com/flyser/f0f2af3d0fccf6cefe4c | 19:34 |
sledges | locusf: only jolla.com domains should be in your ks | 19:34 |
*** vrutkovs has joined #sailfishos-porters | 19:34 | |
locusf | sledges: http://pastie.org/9403379 | 19:34 |
locusf | thats my .ks | 19:35 |
sledges | Flyser: i don't like that dir | 19:35 |
sledges | zypper dr local-xt897-hal | 19:35 |
sledges | and re-add withotu -G | 19:35 |
vgrade_ | locusf: try https://releases.jolla.com/releases/1.0.8.19/jolla/armv7hl/repodata/repomd.xml | 19:35 |
sledges | it should say 3 | local | local | Yes | No | plugin:ssu?repo=local | 19:35 |
sledges | locusf: you're on a wrong domain :/ | 19:36 |
locusf | sledges: yes | 19:36 |
sledges | vgrade_: he needs all repos renamed | 19:36 |
sledges | i.e not good atm | 19:36 |
sledges | sec | 19:36 |
Flyser | sledges: I already readded without the -G | 19:37 |
Flyser | zypper dr does not exist. do you mean rr? | 19:37 |
sledges | yes | 19:37 |
Flyser | yeah ... did that | 19:37 |
sledges | locusf: did you generate .ks via hybris/droid-hal-configs/rpm/droid-hal-configs.spec ? | 19:38 |
locusf | sledges: nope, with 8.2 | 19:38 |
sledges | locusf: well $ANDROID_ROOT/installroot/usr/share/kickstarts/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks had to already be there | 19:39 |
sledges | from prev steps | 19:39 |
sledges | soz guys, all text in hadk italia should be hyperlink | 19:39 |
sledges | new version will be a sip of fresh air ;) | 19:40 |
locusf | nice | 19:40 |
Flyser | I think I should fix the dbus error first | 19:41 |
sledges | locusf: ks should come from 712 | 19:41 |
sledges | Flyser: hold on, i see some naming changes that i might have not retesteed | 19:41 |
sledges | let me git log/blame first ;P :)) | 19:42 |
locusf | sledges: I have run it | 19:42 |
sledges | locusf: and resulting ks has jollamobile all over the place? | 19:42 |
sledges | in that case, you'll need to test me a hack ^_^ | 19:42 |
locusf | sledges: yes | 19:43 |
sledges | open rpm/droid-hal-configs.spec | 19:43 |
sledges | comment out # %{!?ssu_override: %define ssu_override domain=sales} | 19:43 |
sledges | and under it add | 19:43 |
sledges | %define ssu_override domain=sales | 19:43 |
sledges | then re-run | 19:43 |
sledges | and check guts of .ks again | 19:44 |
locusf | no such file rpm/droid-hal-configs.spec | 19:45 |
energycsdx | do i need /usr/libexec/droid if i can fully compile AOSP and place to system? | 19:45 |
energycsdx | to /system | 19:45 |
sledges | locusf: hybris/droid-hal-configs/rpm/droid-hal-configs.spec | 19:46 |
sledges | energycsdx: yes 'cause they're stubs (thanks vgrade_ ) | 19:46 |
sledges | libhybris will look under libexec/droid | 19:46 |
locusf | sledges: worked | 19:47 |
sledges | not good | 19:47 |
sledges | :D | 19:47 |
sledges | ssu_override should not be already defined in a local env | 19:48 |
locusf | http://pastie.org/9403401 | 19:48 |
locusf | now that error | 19:48 |
sledges | locusf: 13.8.3 ;) | 19:49 |
locusf | ye | 19:49 |
sledges | (from 14.4.4 don't say we didn't tell ;P) | 19:49 |
sledges | locusf: the end is nigh nw ;) | 19:49 |
sledges | Flyser: you're genious, -G -is- needed :D | 19:50 |
sledges | the patch got reverted and someone forgot -G ;) | 19:50 |
sledges | oups | 19:50 |
sledges | hmmm | 19:51 |
sledges | wait that's for mer-tools-testing | 19:51 |
sledges | investigation still on ;P | 19:51 |
Flyser | ^^ | 19:51 |
sledges | ah ok | 19:51 |
sledges | ssu ar is needed | 19:51 |
sledges | not zypper | 19:51 |
* sledges takes out a whip ;) | 19:51 | |
sledges | but we won't mention names :)) | 19:51 |
energycsdx | by doing that sailfish os is not depend on android version flashed on phone, because now i do it with AOSP and there is unmodified stock on phone | 19:52 |
sledges | vgrade_: ^ ? | 19:52 |
locusf | sledges: nice | 19:53 |
vgrade_ | energycsdx: do you have full source for all libs in /system | 19:53 |
vgrade_ | stock system | 19:53 |
locusf | Warning: repo problem: nothing provides qt5-feedback-haptics-droid-vibrator needed by pattern:jolla-hw-adaptation-hybris-droid-vibrator-0.0.6-201407181827.noarch, | 19:54 |
locusf | ngfd-plugin-droid-vibrator is installed into repos | 19:54 |
*** lbt has quit IRC | 19:55 | |
*** ParkerR has quit IRC | 19:55 | |
vrutkovs | folks, got moar problems: http://pastebin.com/6gx6ZuNw | 19:55 |
energycsdx | vgrade_: no, and i know that it is different from AOSP, but i can build AOSP, it is officialy available | 19:55 |
*** ParkerR has joined #sailfishos-porters | 19:55 | |
*** lbt has joined #sailfishos-porters | 19:55 | |
*** lbt has quit IRC | 19:55 | |
*** lbt has joined #sailfishos-porters | 19:55 | |
energycsdx | vrutkovs: had simular problem, patched out this | 19:56 |
sledges | Flyser: rr that repo and add it like it says in 13.8.1 | 19:57 |
sledges | i will sort out the zypper ar mess | 19:57 |
vrutkovs | energycsdx: removing those dvb entries? | 19:58 |
vgrade_ | energycsdx: so you plan to build an ASOP versiosn of /system libs and install. Then use the same ASOP version to build the hybris libs? | 19:58 |
locusf | building image | 19:59 |
sledges | locusf: qt5-feedback-haptics-droid-vibrator is also needed | 19:59 |
sledges | to be built | 19:59 |
locusf | sledges: did so | 20:00 |
locusf | but its not documented | 20:00 |
locusf | afaik | 20:00 |
sledges | locusf: yes, good job; added to todo | 20:00 |
energycsdx | vgrade: i already build ASOP version of /system and usualy just copy it to jolla root /system, but now i started to pack it to dhd.rpm and only part of this system goes to /usr/libexec/droid/ and that puzled me | 20:01 |
Nokius | sledges: sorry for bothering but on page 9 (HADK) does mean Host the Bulid engine or the chroot | 20:03 |
sledges | Nokius: your build host | 20:04 |
sledges | physical | 20:04 |
sledges | Linux ;) | 20:04 |
locusf | eww I'm sweaty and sticky -> shower | 20:04 |
Nokius | sledges: okay so i was right :) | 20:04 |
sledges | locusf: is this what hadk+weather do to you ;) | 20:05 |
sledges | mic's busy dl'ing rpms? ;) | 20:05 |
vgrade_ | energycsdx: the libs and bins in libexec are the ones used by the linux part of sailfish (ie built) against libc and they call into the ones in /system which are built against bionic using libhybris. So as long as the version of CM / ASOP you use to build libexec libs is the same as the ones in /system (even those you don't have source code for) as the interfaces are matched | 20:08 |
vgrade_ | energycsdx: maybe its just that dhd only packs the libs/bins it needs to provide the functionality for sailfishos | 20:12 |
Flyser | sledges: works :) | 20:12 |
sledges | Flyser: ;) | 20:13 |
Flyser | wait ... it doesn't | 20:16 |
alin | sledges: few comments on guide... there are some sentences like install repo command... or as seen in mer wiki... can you add a footnote with the links | 20:16 |
alin | sledges: some stupid pdf viewers do not follow link | 20:16 |
alin | also maybe in the hadk commands for mersk and ubuntu chroot add ~/bin in path | 20:17 |
sledges | alin: which page? | 20:17 |
alin | as may be needed if one follows without thinking the repo install guide | 20:17 |
Flyser | sledges: mb2 -t $VENDOR-$DEVICE-armv7hl -s hybris/droid-hal-configs/rpm/droid-hal-configs.spec build is still needed, right? (7.1.2) | 20:17 |
alin | sledges: page 11 for repo | 20:17 |
alin | sledges: pake 9 for mer wiki | 20:18 |
alin | sledges: the PATH on page 9 | 20:18 |
sledges | alin: sorry you need to source a better pdf reader. we also have linewrap problems on page 16 and 19 and until next version of hadk is out with them fixed, we ask people to use pdf readers where still can copy-paste oob | 20:19 |
sledges | but would like to keep the document clean wrt to hyperlinks | 20:19 |
sledges | and set some minimal pdf reader requirements :) | 20:19 |
alin | sledges: I use okular | 20:20 |
sledges | and okular does not follow hyperlink, not even with ctrl? nor shows tooltip when hovered? | 20:20 |
sledges | hmmm | 20:20 |
sledges | Flyser: yes | 20:20 |
alin | sledges: only if I am in browse mode | 20:20 |
Flyser | sledges: it still fails :( | 20:21 |
sledges | Flyser: and i guess it works only after 713 (or in your case 13.8.1; i'll change order, thanks) | 20:21 |
Nokius | sledges: just saw that is written before |-) | 20:21 |
sledges | Flyser: same? | 20:21 |
sledges | alin: you see sometimes (not always) it's about when there is will there is way ;) | 20:21 |
sledges | Nokius: o.O | 20:22 |
alin | sledges: is just annoting to change modes... that is all... | 20:22 |
Nokius | sledges: that is to do on the physical engine | 20:22 |
Flyser | sledges: https://gist.github.com/flyser/64259263918617c80396 | 20:23 |
sledges | alin: there will be many hyperlinks in the document (also soon i will add internal ref hyperlinks to jump to sections), i can't footnote each one and simply reduce the cleanliness of the doc | 20:23 |
Flyser | I did all of 13.8.1 | 20:23 |
sledges | Flyser: did you do createrepo? | 20:24 |
locusf | pushed to device and now installing :) | 20:24 |
sledges | and did you do zupper ref? | 20:24 |
sledges | locusf: wow! | 20:24 |
locusf | without the stock image | 20:24 |
locusf | btw | 20:24 |
sledges | erm? | 20:24 |
sledges | ;P | 20:24 |
sledges | but wit hunderlying cm? | 20:24 |
locusf | the stock is 4.1.2 | 20:24 |
locusf | yes | 20:24 |
sledges | so, what was before cm? | 20:24 |
sledges | did you try if cm works)? | 20:24 |
sledges | which cm? ;P | 20:24 |
locusf | that 4.1.2 | 20:24 |
locusf | yes I tried that it worked | 20:24 |
Flyser | sledges: yes | 20:24 |
locusf | 10.1.3 | 20:24 |
locusf | CM | 20:24 |
sledges | locusf: ok | 20:25 |
sledges | Flyser: zypper ref inside target again? | 20:25 |
alin | also a way to checkout only some nice repos rather than all will be useful | 20:25 |
locusf | installation script apparently takes a while | 20:25 |
sledges | also, check `zypper se droid-hal` in target | 20:25 |
sledges | locusf: yes, big compression rate (bz2) | 20:25 |
sledges | but congrats you passed first phase on .zip finding boot and data partitions ;) | 20:25 |
Flyser | https://gist.github.com/flyser/fa2a0b0c07f0453e2eb3 | 20:26 |
sledges | you can see their values being written now now in recovery | 20:26 |
sledges | Flyser: and se ? | 20:26 |
sledges | alin: which device? | 20:26 |
Flyser | https://gist.github.com/flyser/7ea2db75a77e028d38c8 | 20:26 |
alin | sledges: nexus5 | 20:27 |
alin | sledges: also a -depth 0 may help to reduce the size | 20:27 |
alin | in the git clone | 20:27 |
sledges | alin: they already been cleaned up (quite) a bit https://github.com/mer-hybris/android/commit/54060f5faa8b9e0414a80ede476b1cee19dbe4ec | 20:27 |
sledges | alin: more plans to clean-up are in situ and lbt heads ;) | 20:28 |
sledges | mako has been trimmed the most | 20:28 |
sledges | to the bone hehe | 20:28 |
sledges | (nexus4) | 20:29 |
alin | sledges: yap I know make | 20:29 |
alin | sledges: I missed it by a day | 20:29 |
sledges | just for those who read us ;) | 20:29 |
alin | sledges: i was trying to make my mind... and by the time i decided bloody google released nexus 5 | 20:29 |
sledges | Flyser: inside target, try `zypper in droid-hal` | 20:29 |
sledges | ;) | 20:30 |
Flyser | https://gist.github.com/flyser/d08efc1c6b4323e7e39d | 20:30 |
locusf | galaxy note stuck on device screen | 20:31 |
sledges | locusf: usb cable time | 20:31 |
alin | sledges: 7GiB cloned... let us hope I will finish by time I have have to go | 20:31 |
sledges | and `dmesg -w` on host | 20:31 |
sledges | alin: a porter's life ;) | 20:32 |
sledges | Flyser: hang on | 20:32 |
alin | sledges: exactly a real porter... I need to go to airport... and collect my gf | 20:32 |
locusf | sledges: ? | 20:32 |
sledges | Flyser: sb2 -t $VENDOR-$DEVICE-armv7hl -R -msdk-install \ | 20:33 |
sledges | zypper install droid-hal-$DEVICE-devel | 20:33 |
sledges | locusf: plug usb cable to your host and note | 20:33 |
sledges | and watch dmesg on host as you do | 20:33 |
sledges | locusf: you're lucky it doesn't bootloop ;) | 20:33 |
Flyser | 'droid-hal-xt897-devel' is already installed. O_o | 20:34 |
sledges | Flyser: moment | 20:34 |
sledges | Flyser: is all because of those .sh files | 20:35 |
sledges | lol | 20:35 |
locusf | sledges: dmesg is silent, nothing happens on the screen either | 20:35 |
sledges | locusf: fastboot boot hybris-recovery.img | 20:36 |
vgrade_ | locusf: what deveice are you on? | 20:36 |
locusf | vgrade_: Samsung Galaxy Note | 20:36 |
locusf | sledges: is there such a command in Mer SDK? | 20:37 |
sledges | locusf: yes | 20:37 |
*** teotwaki has joined #sailfishos-porters | 20:37 | |
locusf | sledges: where is hybris-recovery? | 20:37 |
sledges | locusf: $ANDROID_ROOT/out/..... | 20:37 |
situ | sledges: We have removed all the apps from repo, still it's taking so long to clone. | 20:38 |
sledges | Flyser: you need to gut those .sh file out for a moment (or do you have a clue why they start asking for /system/sh vgrade_ ? ) | 20:38 |
sledges | situ: you mean packages? well there's more | 20:38 |
sledges | see lbt's filtered branch | 20:38 |
locusf | I don't think this is fastboot capable | 20:38 |
sledges | locusf: sudo fastboot devices | 20:38 |
sledges | locusf: how did you install cwm? | 20:39 |
sledges | sammy yes, it might be odin/heimdall thing | 20:39 |
sledges | locusf: | 20:39 |
sledges | can you access rootfs in cwm? | 20:39 |
locusf | sledges: http://wiki.cyanogenmod.org/w/Install_CM_for_n7000 | 20:39 |
sledges | do `touch /data/.stowaways/sailfishos/init_enter_debug` | 20:40 |
locusf | sledges: how can I try? | 20:40 |
sledges | boot cwm | 20:40 |
sledges | choose install zip from sd card | 20:40 |
sledges | (it will then mount) | 20:40 |
sledges | and then do adb shell | 20:40 |
sledges | into it | 20:40 |
*** jahof has joined #sailfishos-porters | 20:42 | |
locusf | cwm doesn't work anymore :/ | 20:42 |
sledges | Flyser: or do in target `mkdir -p /system/bin/; cp /bin/sh /system/bin/` :DD | 20:42 |
*** nodevel has quit IRC | 20:42 | |
sledges | it must have gotten overwritten by hybris-boot if you got the boot/recovery partition numbers wrong | 20:43 |
sledges | just reinstate cwm then | 20:43 |
locusf | o | 20:43 |
locusf | ok | 20:43 |
sledges | jahof welcome :) | 20:43 |
sledges | teotwaki: too ^ :) | 20:44 |
jahof | hello :) | 20:44 |
Flyser | sledges: and then? | 20:44 |
sledges | got some crazy devices ready fellows? :) | 20:44 |
sledges | Flyser: zypper in droid-hal | 20:44 |
locusf | back on cwm | 20:45 |
Flyser | nothing provides /system/bin/sh needed by droid-hal-xt897-0.0.6-201407181911.armv7hl | 20:45 |
sledges | but it's there now? /system/bin/sh | 20:45 |
Flyser | yes | 20:46 |
sledges | meh | 20:46 |
vgrade_ | but zypper / rpm database does not have a record | 20:46 |
sledges | yeahp... got you vgrade_ | 20:46 |
sledges | was a cheeky attempt anyway :) | 20:46 |
* vgrade_ looks at backlog for those .sh files | 20:47 | |
teotwaki | sledges: ta | 20:47 |
locusf | ~ $ touch /data/.stowaways/sailfishos/init_enter_debug | 20:47 |
locusf | touch: /data/.stowaways/sailfishos/init_enter_debug: Permission denied | 20:47 |
teotwaki | looking through the pdf | 20:47 |
teotwaki | sounds like my phone isn't officially supported by CM just yet (Moto G 4G) | 20:48 |
sledges | locusf: su | 20:49 |
vgrade_ | Flyser: what device you on? | 20:49 |
Flyser | motorola photon q (xt897) | 20:49 |
sledges | vgrade_: https://gist.github.com/flyser/c9a449294855ac1b3d02 | 20:49 |
locusf | ~ $ su | 20:49 |
locusf | /system/bin/sh: su: not found | 20:49 |
vgrade_ | sledges: thanks | 20:49 |
teotwaki | good to see a mobile-foss channel so active again, haven't seen that in a few years since the good days of maemo. I'll just idle in here for a while, take care. | 20:50 |
sledges | locusf: you'll need to master odin/heimdall | 20:50 |
sledges | teotwaki: cheers, feel free to lurk about :) | 20:51 |
locusf | heimdall only here :/ | 20:51 |
vgrade_ | teotwaki: I thought 4g moto was supported | 20:51 |
sledges | locusf: way to go Linux ;) | 20:51 |
vgrade_ | was looking at it before I cam about my one+1's | 20:51 |
vgrade_ | came | 20:51 |
locusf | sledges: so access /data via heimdall? | 20:52 |
teotwaki | vgrade_: only the regular moto g, 4g version (XT1039) not just yet (only been out for a couple of weeks, so to be expected really) | 20:52 |
vgrade_ | Flyser: do you have a link to your android device tree github repo | 20:52 |
sledges | locusf: that or try to boot an .img (flash hybris-recovery.img instead of hybris-boot.img to boot partition, by means you can find with heimdall) | 20:53 |
Flyser | https://github.com/cyanogenmod/android_device_motorola_xt897/tree/cm-10.1 | 20:53 |
locusf | sledges: booted now | 20:53 |
locusf | black screen | 20:53 |
vgrade_ | locusf: \o | 20:54 |
sledges | locusf: dmesg? | 20:54 |
locusf | vgrade_: \o? | 20:54 |
sledges | ( vgrade_ is half \o/ :)) | 20:54 |
locusf | http://pastie.org/9403505 | 20:54 |
vgrade_ | locusf: means something is running to clear screen from recovery | 20:54 |
locusf | vgrade_: ok | 20:55 |
sledges | lsusb -v | grep iSerial | 20:56 |
sledges | iSerial | 20:56 |
sledges | locusf: ^ | 20:56 |
locusf | iSerial 0 | 20:56 |
locusf | iSerial 4 0019da475a6c3f | 20:56 |
locusf | iSerial 0 | 20:56 |
locusf | iSerial 1 0000:00:1d.0 | 20:56 |
locusf | iSerial 1 0000:0b:00.0 | 20:56 |
locusf | iSerial 1 0000:0b:00.0 | 20:56 |
locusf | iSerial 1 0000:0a:00.0 | 20:56 |
Nokius | sledges: are you in charge of the HADK because the wiki set an entry in the .mersdk.profile that user can see in CLI that a MER SDK pointer but in the KIT removes it / does not help the user to have an easier overview where he is :-/ | 20:57 |
sledges | Nokius: thanks will add to todo | 20:57 |
sledges | Nokius: the whole team is in charge of modifying hadk | 20:58 |
sledges | locusf: i expect iSerial | 20:58 |
sledges | 3 Mer Debug telnet on port 23 on rnd ... | 20:58 |
sledges | means hybris*.img not booted | 20:58 |
sledges | just like with sony xperia z, one needs to flash for booting to happen | 20:59 |
sledges | volatile doesn't work | 20:59 |
Nokius | sledges: not sure if its me but after editing the mersdk.profile as shown in hadk is gone …. | 20:59 |
Nokius | realy love the hadk Thanks | 20:59 |
sledges | Nokius: just add PS1 setting to the bottom /;) | 20:59 |
sledges | also make sure you >> into profile | 21:00 |
Nokius | sledges: was also my guess ^^ repo sync is running | 21:01 |
sledges | cool | 21:01 |
vrutkovs | argh, got stuck at 7.1.2: http://pastebin.com/6MwQgjn2 - no droid-hal-config.spec there | 21:01 |
vrutkovs | sledges: ^ ? | 21:01 |
sledges | vrutkovs: `cd hybris/droid-hal-configs; git status` | 21:03 |
vgrade_ | Flyser: sledges those scripts come from https://github.com/CyanogenMod/android_device_motorola_msm8960-common/tree/cm-10.2/rootdir/etc | 21:03 |
Flyser | vgrade_: are you still having a look? | 21:03 |
vgrade_ | https://github.com/CyanogenMod/android_device_motorola_msm8960-common/blob/cm-10.2/rootdir/etc/init.qcom.sh#L1 | 21:03 |
Flyser | oops | 21:03 |
sledges | ^_^ | 21:03 |
vrutkovs | sledges: weird, it says its not a git repo... | 21:03 |
sledges | vrutkovs: repo sync went wrong | 21:04 |
sledges | is it in manifest ? | 21:04 |
sledges | (should be, if not, means you checked out before today ;)) | 21:04 |
Flyser | vgrade_: so what should I do? just delete them? | 21:04 |
sledges | (repo synced) | 21:04 |
vgrade_ | Flyser: sec, thinking | 21:04 |
vgrade_ | looking where they are run from | 21:07 |
locusf | sledges: I'll continue tomorrow, now some sleep :) | 21:07 |
vgrade_ | locusf: nn | 21:07 |
vgrade_ | Flyser: so they are run from https://github.com/CyanogenMod/android_device_motorola_msm8960-common/blob/cm-10.2/rootdir/etc/init.qcom.rc | 21:08 |
sledges | locusf: o/ | 21:08 |
sledges | vgrade_: sed /system/bin -> /bin ? | 21:08 |
sledges | in the place which scavenges them (droid-hal-device.inc ) | 21:09 |
vgrade_ | could do, just wondering if there are any instructions in HADK about adapting your .rc files | 21:10 |
sledges | hmm, for now they have just been pulled in no questions asked | 21:10 |
vgrade_ | yes | 21:11 |
sledges | lbt's script crawls .rc files and comments out # mount lines by externalising those into /systemd/ | 21:13 |
vgrade_ | sledges: ok good | 21:13 |
vgrade_ | if we look at where the scripts are called https://github.com/CyanogenMod/android_device_motorola_msm8960-common/blob/cm-10.2/rootdir/etc/init.qcom.rc | 21:13 |
vgrade_ | then driod-init specifically calls /system/bin/sh <script> | 21:14 |
alin | sledges: ok.. went in trouble but I need to go too | 21:14 |
alin | sledges: see you later | 21:14 |
sledges | alin: laters!ciao | 21:14 |
vgrade_ | alin: nn | 21:14 |
*** alin has quit IRC | 21:14 | |
vgrade_ | sledges: so we may just be able to remove the #!/system/bin/sh altogether | 21:15 |
vgrade_ | so rpmbuild won't catch the dependenxy | 21:16 |
vrutkovs | sledges: weird, had to check it out manually - can't find it in any manifest | 21:17 |
* vgrade_ thinks that every device he's looked at so far is differrnt | 21:17 | |
sledges | vrutkovs: did you repo sync recently? | 21:17 |
sledges | ah, it's in manifest, but probably other branch | 21:17 |
sledges | vgrade_: so what would we need to replace with what? | 21:18 |
sledges | vgrade_: you think rpmdb catches it from `exec /system/bin/sh ...` line ? | 21:20 |
sledges | i think it's L1 (#!/system/bin/sh) | 21:20 |
sledges | of the script | 21:20 |
vgrade_ | sledges: yea catches the dep from #! | 21:20 |
sledges | yep | 21:20 |
sledges | as it was fine as long as we didn't have .sh files in | 21:21 |
sledges | ah | 21:22 |
sledges | 00:15 < vgrade_> sledges: so we may just be able to remove the #!/system/bin/sh altogether | 21:22 |
sledges | missed that | 21:22 |
sledges | :D | 21:22 |
vgrade_ | busy channel tonight, | 21:22 |
sledges | well, i was /lastlogging quite a bit ^_^ | 21:22 |
sledges | why not system/bin->bin ? | 21:23 |
sledges | at any rate | 21:23 |
sledges | Flyser is our guinea pig ^_^ | 21:23 |
Flyser | :-) | 21:23 |
sledges | Flyser: pick one method, modify those files and re-run mb2 of dhd | 21:23 |
Flyser | L1 is not evaluated at all. so it doesn't matter if it's removed or #!/bin/sh | 21:24 |
vgrade_ | that would work for installing in target, would it work when called from droid-init | 21:24 |
sledges | Flyser: rpmbuild evaluates it.... | 21:24 |
sledges | is where can of worms starts | 21:24 |
sledges | vgrade_: droid-init would exec /system/bin/sh regardless | 21:24 |
sledges | and there is one | 21:24 |
Flyser | I know, I meant its not evaluated when the scripts are executed | 21:24 |
sledges | Flyser: yes | 21:25 |
vgrade_ | ok happy for /bin.sh | 21:25 |
vgrade_ | ok happy for /bin/sh | 21:25 |
sledges | Flyser: the stage is yours :)) | 21:26 |
Flyser | I am on it | 21:26 |
Flyser | its way too warm here and its getting late, give me a minute ;) | 21:27 |
sledges | well i'll need to make a thermal shutdown soon | 21:29 |
sledges | as russians say, morning is wiser than the evening;) | 21:29 |
Flyser | ^^ | 21:30 |
Flyser | so which steps do I need to repeat? | 21:31 |
sledges | Flyser: mb2 ... rpm/droid-hal-$DEVICE.spec | 21:32 |
Flyser | *sigh* Problem: nothing provides /system/bin/sh needed by droid-hal-xt897-0.0.6-201407182132.armv7hl | 21:35 |
sledges | this is old timestamp droid-hal-xt897-0.0.6-201407182132.armv7hl | 21:36 |
Flyser | oh ... good catch | 21:36 |
sledges | rm *rpms | 21:36 |
sledges | them mv RPMS/* droid-local.... | 21:36 |
sledges | then zypper ref | 21:36 |
Flyser | wait ... it is the current timestamp | 21:38 |
Flyser | thats 21:32 UTC | 21:38 |
sledges | oh | 21:38 |
sledges | :P | 21:38 |
sledges | are you from east coast? ;) | 21:38 |
Flyser | germany | 21:39 |
sledges | 201407182132 ? | 21:39 |
sledges | noway ;P | 21:39 |
Flyser | thats UTC | 21:39 |
sledges | it's 23:39 in germany now | 21:39 |
sledges | and 21:39 utc | 21:39 |
Flyser | the chroot has different timezone settings | 21:39 |
sledges | oh lol | 21:40 |
sledges | x)))) | 21:40 |
Flyser | ^^ | 21:40 |
sledges | what does date say? | 21:40 |
vgrade_ | 1970 | 21:40 |
Flyser | 21:39:46 | 21:40 |
sledges | so | 21:41 |
sledges | -201407182132 | 21:41 |
sledges | hmph | 21:41 |
sledges | at any rate, i believe you had rm`d old rpms ;) | 21:41 |
sledges | (date on target ;) | 21:41 |
sledges | Flyser: yeap, i mean full date on target, with TZ | 21:41 |
Flyser | do I need to rerun make hybris-hal? | 21:42 |
sledges | Flyser: did you remove/rename #!/system/bin in all those .sh files? | 21:42 |
sledges | ah | 21:42 |
sledges | yes | 21:42 |
sledges | and no | 21:42 |
sledges | yea but no but yea but no :D | 21:42 |
sledges | (is some local thing here, little britain i think) | 21:42 |
vgrade_ | :) | 21:42 |
Flyser | Fri Jul 18 21:42:26 UTC 2014 | 21:42 |
sledges | o.O | 21:42 |
sledges | anyway | 21:42 |
sledges | find those file under out/ | 21:42 |
sledges | *files | 21:42 |
sledges | and re-run mb2 | 21:43 |
Flyser | btw ... have look at L1 of droid/device/lge/mako/init.mako.bt.sh: | 21:43 |
Nokius | sledges: :-/ "make -j4 hybris-hal" returns errors | 21:44 |
Nokius | http://goo.gl/CePXAs | 21:44 |
sledges | Nokius: symlink /usr/bin/gcc-4.7 to /usr/bin/gcc | 21:46 |
vgrade_ | Flyser: so that .sh can't be being picked | 21:46 |
sledges | fix is on its way | 21:46 |
* vgrade_ looks for line in https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-device.inc which copies those sh files | 21:49 | |
sledges | vgrade_: https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-device.inc#L527 | 21:50 |
sledges | droppings ^_^ | 21:50 |
sledges | they appear there after lbt's mount smart script does its job iirc | 21:51 |
Nokius | sledges: out/ looks still empty | 21:51 |
Nokius | http://goo.gl/8dMLTx | 21:51 |
vgrade_ | but in mako case the sh script does not get copied | 21:52 |
sledges | Nokius: what's output of make? | 21:53 |
sledges | vgrade_: is there a .sh script? o.O | 21:53 |
vgrade_ | Flyser: I assume you created a device-motorola-xt897-configs dir and copied the scripts from etc into it | 21:53 |
sledges | i put money on, he didn't | 21:53 |
sledges | :D | 21:53 |
vgrade_ | 00:43 < Flyser> btw ... have look at L1 of droid/device/lge/mako/init.mako.bt.sh: | 21:53 |
Nokius | sledges: http://goo.gl/ODkZBq | 21:54 |
sledges | ah | 21:54 |
sledges | Nokius: so gcc fix didn't work? | 21:54 |
sledges | Nokius: you need to add your find5 mountpoints to fixup-mountpoints ile | 21:55 |
sledges | Nokius: see 14.3.2 | 21:55 |
Flyser | vgrade_: no | 21:56 |
sledges | (ka-ching!) | 21:56 |
sledges | ok guys, thermal shutown imminent, see you in the morning light! | 21:57 |
Flyser | ^^ | 21:57 |
Flyser | sledges: good night | 21:57 |
sledges | nn | 21:57 |
vgrade_ | nn sledges | 21:57 |
situ | Good night | 21:58 |
* vgrade_ wonders how the qcom scripts get into the droid hal rpm | 21:58 | |
Nokius | sledges: thanks gn | 21:59 |
situ | vgrade_: same here | 21:59 |
vgrade_ | Flyser: can you pastie your rpm build log | 21:59 |
vgrade_ | situ: seen announcements about jolla for IND today | 22:00 |
situ | vgrade_: Yep, I hope they do well here. | 22:00 |
Flyser | vgrade_: this? https://gist.github.com/flyser/1b43bf2fae7710a4377c | 22:00 |
vgrade_ | Flyser: yup , tanks | 22:01 |
vgrade_ | situ: I'm sure you will be marketing | 22:01 |
situ | vgrade_: heh.. I am bad at it but will try ;) | 22:01 |
vgrade_ | https://gist.github.com/flyser/1b43bf2fae7710a4377c#file-gistfile1-txt-L263 still has /system/bin/sh | 22:12 |
vgrade_ | as required | 22:12 |
Flyser | yes I am currently grepping to find out why | 22:13 |
vgrade_ | grep in out/target/product... | 22:14 |
vgrade_ | Flyser: did you make hybros-hal in the end? | 22:15 |
vgrade_ | before reruning rpm build | 22:16 |
Flyser | not since I replaced /system/bin/sh | 22:16 |
Nokius | one question about 14.3.2 Configure mountpoint information in HADK | 22:17 |
Nokius | make -j4 hybris-hal returns | 22:17 |
Nokius | hybris/hybris-boot/Android.mk:48: ********************* /boot should live on /dev/block/platform/msm_sdcc.1/by-name/boot | 22:17 |
Nokius | hybris/hybris-boot/Android.mk:49: ********************* /data should live on /dev/block/platform/msm_sdcc.1/by-name/userdata | 22:17 |
Nokius | now is the way to go to patch the hybris/hybris-boot/fixup-mountpoints | 22:17 |
Nokius | the patch has to look like this right? | 22:17 |
Nokius | "find5") | 22:17 |
Nokius | sed -i \ | 22:17 |
Nokius | -e 's block/platform/msm_sdcc.1/by-name/boot mmcblkXXXX ' \ | 22:17 |
Nokius | -e 's block/platform/msm_sdcc.1/by-name/userdata mmcblkXXX ' \ | 22:17 |
Nokius | "$@" | 22:17 |
Nokius | ;; | 22:17 |
Nokius | but how i can find the exect location? | 22:17 |
Flyser | I used ls -l /dev/block/platform/*/by-name/ on the device | 22:17 |
Flyser | Nokius: ↑ | 22:17 |
vgrade_ | Flyser: that might be the issue, as those scripts might get copied to another location and then picked up from there by repm build | 22:18 |
Nokius | Flyser: okay thanks | 22:18 |
Nokius | is some one taking track about the patch for hybris/hybris-boot/fixup-mountpoints | 22:24 |
vgrade_ | Nokius: how do you mean "taking track" | 22:27 |
Nokius | is some one interested in the patch like takeing it into the hybris master ? | 22:29 |
vgrade_ | Nokius: oh yes, sure, pull requestes very welcom | 22:31 |
vgrade_ | situ and I have been working on N5 any now have most of that upstream now | 22:32 |
*** jahof has quit IRC | 22:33 | |
Nokius | cat find hybris/hybris-boot/fixup-mountpoints here https://github.com/libhybris/libhybris/tree/master/hybris | 22:34 |
Nokius | but adding it here https://github.com/libhybris/libhybris/pulls is correct? | 22:34 |
Nokius | sorry not familiar with git :-( | 22:34 |
vgrade_ | Nokius: sec | 22:35 |
vgrade_ | from https://github.com/mer-hybris/hybris-boot click fork to get your own copy | 22:36 |
Nokius | vgrade_: okay will try it … newby | 22:36 |
vgrade_ | then you can work on your version then once you've tested etc you can do a pull request | 22:37 |
vgrade_ | Nokius: no probs, I'm not the best on git, situ helps me out lots | 22:37 |
Nokius | ^^thanks | 22:37 |
vgrade_ | just shout if you get stuck | 22:38 |
vgrade_ | night guys | 22:40 |
Flyser | *finally* | 22:42 |
Flyser | building hybris/droid-hal-configs/rpm/droid-hal-configs.spec worked | 22:42 |
Flyser | gn8 | 22:42 |
vgrade_ | Flyser: nn | 22:42 |
vgrade_ | Flyser: just needed a rebuild of droid-hal ? | 22:43 |
vgrade_ | hybris-hal | 22:43 |
Nokius | vgrade_: gn8 | 22:44 |
Flyser | vgrade_: grepped through $ANDROID_ROOT and replaced the path in all copies of the shell scripts | 22:54 |
Nokius | see us tomorrow gn8 Thanks | 22:57 |
*** teotwaki has quit IRC | 22:58 | |
*** vrutkovs has quit IRC | 23:17 | |
*** Bulder has joined #sailfishos-porters | 23:21 | |
*** Bulder has quit IRC | 23:22 | |
*** Flyser has quit IRC | 23:29 | |
*** Flyser has joined #sailfishos-porters | 23:35 | |
*** Flyser has joined #sailfishos-porters | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!