Wednesday, 2015-01-21

carepackdWangoAC: Is coming soon00:04
carepack;)00:05
carepackbtw when have you looked last time00:05
dwangoACcarepack: Friday00:05
dwangoACcarepack: I can be patient, just excited. :)00:05
dwangoACOr, perhaps Saturday.00:06
carepackI can understand ;). Saturday is too short. I thought maybe you haven't seen the release from december.00:07
dwangoACcarepack: Ah, unfortunately I have to have Bluetooth support for mandatory hands-free in California.00:07
dwangoACIt's... a bit of a nanny-state in that regard.00:07
*** plfiorini has joined #sailfishos-porters00:08
carepackok. so really needed :-)00:08
dwangoACcarepack: I tested earlier builds from August timeframe and liked what I saw but I couldn't convert to it full-time without hands-free support.  I have a bit more free time now that I'm done with the AGDQ charity fundraiser TASBot block00:09
dwangoACso I hope to get a chance to do some more testing and provide feedback.00:11
carepackPlease pe patient :-) and checkout the thread on xda. New realeases goin to be there first. For switching completely -> switchin' to the jolla phone is a alternative you should think about. I switched and beein not worried about it :-)00:12
dwangoACcarepack: Ah, but I was a staunch N900 user00:13
dwangoACcarepack: I only switched away from N900 because GSM chip desoldered and USB broke00:13
dwangoAC(And, honestly, it had started to bitrot)00:13
carepackdWangoAC: ok. Somtetime we will see you on jolla device :-). going to bed now.00:14
dwangoACcarepack: Heh - night!00:14
carepackbye00:14
*** carepack has quit IRC00:15
*** M4rtinK has quit IRC00:33
*** olafh has quit IRC00:34
*** the_mgt_ has joined #sailfishos-porters00:58
*** the_mgt has quit IRC01:01
*** the_mgt_ is now known as the_mgt01:01
*** vrutkovs|home has quit IRC02:08
*** CorvetteZR1 has joined #sailfishos-porters02:45
glasserc1Hmm, running setup-makefiles didn't change the init_msm_intermediates/export_includes error. The init_msm thing is from a TARGET_INIT_VENDOR_LIB in BoardConfig.mk in device/motorola/falcon. If it's a target, shouldn't it be something that's being built?04:15
*** furikku has joined #sailfishos-porters04:32
glasserc1Oh! I guess I used android_device_qcom.. Android git repos are confusing. Pushing on..04:35
*** the_mgt_ has joined #sailfishos-porters05:01
*** the_mgt has quit IRC05:04
*** the_mgt_ is now known as the_mgt05:04
*** filippz has joined #sailfishos-porters05:48
*** olafh has joined #sailfishos-porters05:49
*** filippz has quit IRC06:05
*** VDVsx has quit IRC06:13
*** filippz has joined #sailfishos-porters06:20
*** plfiorini_ has joined #sailfishos-porters06:30
*** eleroux has joined #sailfishos-porters06:31
*** plfiorini has quit IRC06:34
*** VDVsx has joined #sailfishos-porters06:42
*** plfiorini__ has joined #sailfishos-porters06:50
*** plfiorini_ has quit IRC06:53
*** plfiorini__ has quit IRC07:31
*** cl_ has joined #sailfishos-porters07:32
*** alin has quit IRC08:04
*** carepack has joined #sailfishos-porters08:18
*** plfiorini has joined #sailfishos-porters08:27
*** vrutkovs has joined #sailfishos-porters08:33
*** vrutkovs is now known as vrutkovs|home08:33
*** tanty_off is now known as tanty08:47
*** cxl000 has joined #sailfishos-porters09:07
*** Lipevakala_ has quit IRC09:11
*** VDVsx_ has joined #sailfishos-porters09:13
*** VDVsx has quit IRC09:16
*** krnlyng has quit IRC09:27
*** krnlyng has joined #sailfishos-porters09:28
*** vrutkovs|home has quit IRC09:34
*** filippz has quit IRC09:52
*** filippz has joined #sailfishos-porters09:53
*** vrutkovs has joined #sailfishos-porters09:54
*** harha has joined #sailfishos-porters10:14
*** Tassadar has joined #sailfishos-porters10:29
*** harha has quit IRC10:49
*** VDVsx_ has quit IRC11:02
klopsi-sdkgood $TIMEOFDAY11:03
*** Sfiet_Konstantin has joined #sailfishos-porters11:07
* klopsi-sdk skips11:08
*** VDVsx_ has joined #sailfishos-porters11:14
*** harha has joined #sailfishos-porters11:36
*** VDVsx_ has quit IRC11:50
*** VDVsx__ has joined #sailfishos-porters11:50
*** eleroux1 has joined #sailfishos-porters11:58
*** eleroux has quit IRC11:58
*** deztructor has quit IRC11:58
*** deztructor has joined #sailfishos-porters11:59
*** cybette has quit IRC11:59
*** VDVsx__ has quit IRC11:59
*** alterego has quit IRC12:00
*** giucam has quit IRC12:00
*** VDVsx__ has joined #sailfishos-porters12:00
*** cybette has joined #sailfishos-porters12:01
*** alterego has joined #sailfishos-porters12:01
*** giucam has joined #sailfishos-porters12:02
*** Lipevakala_ has joined #sailfishos-porters12:08
*** Sfiet_Konstantin has quit IRC12:12
*** Sfiet_Konstantin has joined #sailfishos-porters12:27
*** Sfiet_Konstantin has quit IRC12:42
*** vakkov has quit IRC13:04
*** Lipevakala_ has quit IRC13:08
*** vakkov has joined #sailfishos-porters13:17
*** filippz has quit IRC13:37
*** vakkov has quit IRC13:54
*** vrutkovs has quit IRC14:00
*** vrutkovs has joined #sailfishos-porters14:03
klopsi-sdkso much lurking14:06
*** uhhimhere has quit IRC14:08
*** vakkov has joined #sailfishos-porters14:08
*** Lipevakala_ has joined #sailfishos-porters14:08
sledgeswow14:10
klopsi-sdkhi sledges14:16
sledgeso/14:16
klopsi-sdkjust transferred the money for the 2nd droid 414:16
sledgesyou waited ;)14:17
klopsi-sdki backed up my Data and System partitions to SD14:18
klopsi-sdkand i have backups of all my APKs on SD card14:18
*** cl_ has quit IRC14:19
klopsi-sdkso if you feel like it we could use droid#1 as a testbed14:19
*** cl_ has joined #sailfishos-porters14:19
sledgesklopsi-sdk: you'll have to research yourself how to flash kernel on droid, as it's something different14:20
klopsi-sdkok14:20
sledgescm .zip just backups and flashes ROM files, no kernel contained.. means it's re-using stock?14:21
sledgesyou can see kernel info in Settings-About14:21
sledgessomething also complicated about rom-slots in your recovery14:22
sledgesso, lots to learn;)14:22
klopsi-sdkkernel version 3.0.8-gc41b94f build03@cyanogenmod#114:23
locusfhmm even sailfish zips flash the kernel14:23
sledgeslocusf: but we're talking droid14:23
sledgeslooks like cyanogenmod managed to put their kernel somehow14:23
sledgesalso read about kexec bits, maybe they just reside as files?14:23
locusfah, well cm does that too, at least on all my devices14:23
sledgesright, how big is this one klopsi-sdk : ./system/etc/kexec/kernel ?14:24
locusfanyways offtopic sorry14:24
sledgeslocusf: you're the pioneer in sammy's crooked boot.img format, so not offtopic;)14:24
locusftrue :)14:25
*** harha has quit IRC14:26
sledgesklopsi-sdk: you need to find out what format ramdisk.img is in, adb pull it out and do split_bootimg on it (in mersdk)14:27
klopsi-sdk4714268 kernel14:27
klopsi-sdkok am in adb shell14:30
sledgesnot shell, adb pull14:31
klopsi-sdkfind . -name ramdisk.img14:34
klopsi-sdk./system/etc/kexec/ramdisk.img14:34
sledgespull it to your local pc14:35
klopsi-sdkdone14:35
klopsi-sdkMerSDK klopsi@klopsidev:~$ split_bootimg ramdisk.img14:35
klopsi-sdkAndroid Magic not found in ramdisk.img. Giving up.14:35
mal-I was looking at 10.1 build for my device, there is only one nightly build from 2013.11.0814:35
klopsi-sdkgood day mal-14:35
mal-good day14:36
sledgesklopsi-sdk: mv ramdisk.img ramdisk.img.gz; gunzip -l ramdisk.img.gz14:37
sledgeso/ mal-14:37
mal-now I found some release versions also, I just don't know what sources they have used when building those14:37
mal-since I can't find kernel sources14:37
mal-so I'll just continue hacking cm1114:38
mal-hmm, maybe I found the kernel now14:39
klopsi-sdkgunzip  -l ramdisk.img.gz14:40
klopsi-sdk         compressed        uncompressed  ratio uncompressed_name14:40
klopsi-sdk            1126858             1880320  40.1% ramdisk.img14:40
klopsi-sdkwere you expecting a boot.img in there?14:41
sledgesklopsi-sdk: could you uncompress that pls14:42
klopsi-sdksure14:43
klopsi-sdk-rw-r--r--  1 klopsi klopsi   1126858 Jan 21 14:34 ramdisk.img.orig14:43
klopsi-sdk-rw-r--r--  1 klopsi klopsi   1880320 Jan 21 14:39 ramdisk.img14:43
klopsi-sdksplit_bootimg ramdisk.img14:45
klopsi-sdkAndroid Magic not found in ramdisk.img. Giving up14:45
sledgesklopsi-sdk: mount ramdisk.img /mnt -o loop14:46
klopsi-sdksudo mount ramdisk.img /mnt -o loop14:47
klopsi-sdkmount: /dev/loop0 is write-protected, mounting read-only14:47
klopsi-sdkmount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so14:47
klopsi-sdkwant to see dmesg?14:48
*** vrutkovs has quit IRC14:48
sledgesklopsi-sdk: mv ramdisk.img ramdisk.tar; tar -xvf ramdisk.tar14:48
klopsi-sdktar: This does not look like a tar archive14:49
klopsi-sdkthat was from the uncompressed ramdisk.img14:49
*** klopsi-sdk has quit IRC14:49
*** klopsi-sdk has joined #sailfishos-porters14:50
klopsi-sdktar: This does not look like a tar archive14:50
klopsi-sdkjust a minute, need food input14:50
*** vrutkovs has joined #sailfishos-porters14:51
*** arcean has joined #sailfishos-porters14:51
sledgesklopsi-sdk: mkdir ramdisk; cd ramdisk; cat ../ramdisk.img | cpio -idv14:54
klopsi-sdkah now i see many files14:58
klopsi-sdkpastebin them?14:58
klopsi-sdkhttp://pastebin.de/816714:59
sledgesperfect15:01
sledgesmake a backup of those two files: kernel and ramdisk.img15:01
sledgeson your PC15:01
sledgessplit_bootimg hybris-recovery.img15:01
sledgesadb push hybris-recovery.img-kernel /system/etc/kexec/kernel15:02
sledgesadb push hybris-recovery.img-ramdisk.gz /system/etc/kexec/ramdisk.img15:02
sledgesreboot and pray15:02
sledgesthing -will- go wrong, but you can always go back to sanity by restoring the backup of the two15:03
*** dr_gogeta86 has quit IRC15:03
*** VDVsx__ has quit IRC15:08
klopsi-sdkhave a backup of ramdisk.img (the one from phone)15:10
sledgesyes, but make sure it didn't get overwritten by our games above15:10
sledgesor renamed15:10
klopsi-sdkramdisk.img.orig15:10
sledgesyou know what you're doing;)15:11
klopsi-sdkwhere is the kernel file i should backup?15:11
sledges/system/etc/kexec/kernel15:12
klopsi-sdkok pulled15:13
sledgespush times15:13
klopsi-sdkfirst 16:01 < sledges> split_bootimg hybris-recovery.img15:13
sledgesyup15:14
klopsi-sdkWriting hybris-recovery.img-kernel ... complete.15:14
klopsi-sdkWriting hybris-recovery.img-ramdisk.gz ... complete.15:14
klopsi-sdkhmm does phone need to be in recovery mode to adb push /system/etc/kexec/kernel?15:15
sledgespreferably15:15
klopsi-sdkgot a REad-Only filesystem error15:15
sledgesadb remount15:15
sledgesfirst15:15
sledgesfor a laugh15:16
klopsi-sdkremount succeeded15:16
*** vakkov has quit IRC15:16
klopsi-sdkso ill reboot phone to recovery mode15:16
sledgesit's ok, you can push since remount succeeded15:16
klopsi-sdkoops already rebooting15:17
klopsi-sdkoh now i get that black screen with white text: AP Fastboot Flash Mode (S) (Flash Failure)15:18
sledgeson every reboot? yea you might have to live with it for a while as google said15:18
klopsi-sdkyea on every reboot15:18
klopsi-sdkcna i do adb push?15:19
sledgesenter recovery15:19
klopsi-sdkok15:19
klopsi-sdkselected boot recovery: now i see an image of a lying-down robot with a warning sign sticking out of his chest15:20
klopsi-sdkretry?15:21
sledgesyou need SafeStrap15:22
klopsi-sdki have safestrap on fone15:22
klopsi-sdkah now it rebooted to the Fastboot Flash Mode15:23
sledgeswe need adb15:23
sledgeswhich should work inside safestrap15:23
klopsi-sdkok will retry rebooting to recovery (with all three buttons)15:24
klopsi-sdknope again dead robot screen15:24
sledgeshow come?15:25
klopsi-sdkwill try normal reboot and then selecting recovery15:25
klopsi-sdkneed to wait for dead robot to go away15:26
klopsi-sdkneed 15 minutes for girlfriend. bbl15:27
klopsi-sdkok Normal Bootup succeeded and entered Recovery Mode15:33
klopsi-sdkok am in "Safestrap 3.7215:36
klopsi-sdksudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel15:37
klopsi-sdkerror: insufficient permissions for device15:37
klopsi-sdk... huh?15:37
sledgesadb kill-server15:37
sledgessudo adb devices15:37
sledgesor15:37
sledgessudo adb remount15:37
klopsi-sdkList of devices attached15:37
klopsi-sdk015457FE0B01B008recovery15:37
klopsi-sdkwoot! 6012 KB/s (4886704 bytes in 0.793s)15:38
klopsi-sdkadb push hybris-recovery.img-ramdisk.gz /system/etc/kexec/ramdisk.img15:39
klopsi-sdk6112 KB/s (514372 bytes in 0.082s)15:39
klopsi-sdknow we can flash the OS?15:39
sledgesnope, first we'll fire up linux on it15:39
sledgesminimal15:39
*** SK_work has quit IRC15:39
sledgeskeep phone usb cable in15:39
klopsi-sdkok15:40
sledgesopen dmesg on PC host (dmesg -w - or any other way to ensure it's following)15:40
*** uhhimhere has joined #sailfishos-porters15:41
klopsi-sdkok tail -f /var/log/dmesg15:41
sledgesinterwesting15:41
sledgesanyway.15:41
sledgesreboot into cm15:41
sledgesand.. it won't be cm anymore, most probably, mwhahawhaha15:42
klopsi-sdkjawohl!15:42
sledgesich liebe alkohol?15:42
klopsi-sdkhah i come into normal safestrap window15:43
klopsi-sdkthen...15:43
klopsi-sdkvibration vibrated briefly and now i see cyanogenmod come up15:43
klopsi-sdkand i am back to normal android homescreen15:44
klopsi-sdkoh now it asks me Usb-Debugging Zulassen and it gives me Abort / Ok15:44
*** eleroux1 has quit IRC15:44
klopsi-sdki selected OK to usb debugging15:46
sledgesgo to about product15:47
sledgescheck kernel15:47
klopsi-sdkhmm same.. 3.0.8.gc41b94f build03@cyanogenmod #115:48
klopsi-sdkthat shouldnt have happened, right?15:49
sledgesnope15:49
sledgesdoublecheck the file size15:49
sledgesof kernel binary15:49
klopsi-sdk4714268 bytes15:51
klopsi-sdksame as before15:52
sledges16:27 < klopsi-sdk> 4714268 kernel15:52
sledgesso overwriting failed15:52
klopsi-sdkMerSDK klopsi@klopsidev:~$ sudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel15:54
klopsi-sdk6012 KB/s (4886704 bytes in 0.793s)15:54
klopsi-sdkwtf15:54
*** klopsi-sdk has quit IRC15:54
*** klopsi-sdk has joined #sailfishos-porters15:54
klopsi-sdkMerSDK klopsi@klopsidev:~$ sudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel15:54
klopsi-sdk6012 KB/s (4886704 bytes in 0.793s)15:55
klopsi-sdkwas what it told me15:55
sledgesjust do some touch a; sudo adb push a /system/etc/kexec/a15:56
sledgesto verify permissions15:56
klopsi-sdkneed to reboot into recovery, now it is a read only file system. one minute pls15:57
sledgesyes, do everything from recovery, as that's the only thing which will remain after kernel override finally works;)15:57
klopsi-sdkwill take another minute or so15:59
klopsi-sdkMerSDK klopsi@klopsidev:~$ adb shell16:02
klopsi-sdk~ # ls -l /system/etc/kexec/a16:02
klopsi-sdk__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!16:02
klopsi-sdk__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!16:02
klopsi-sdk__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!16:02
klopsi-sdk-rw-rw-rw- root     root            0 2015-01-21 15:56 a16:02
sledgesls -l /system/etc/kexec/16:03
klopsi-sdkonly a found16:03
sledgeseeee16:03
sledges:))16:03
sledgeswhere are the kernelz?16:04
klopsi-sdkhmm doing a ls -l /16:04
sledgesyou mentioned ./system/....16:05
sledgesi cringed at that "./" bit16:05
klopsi-sdkuup my mistake16:05
klopsi-sdk~ # find / -name \*kernel*16:05
klopsi-sdk/sys/devices/system/cpu/kernel_max16:05
klopsi-sdk/sys/kernel16:05
klopsi-sdk/sys/module/kernel16:05
klopsi-sdk/proc/sys/kernel16:05
klopsi-sdkmaybe we try overwriting /sys/kernel?>16:06
klopsi-sdkoh that isnt a file, but a directory16:06
sledgescan be your cm is in a rom-slot - check them inside safestrap menus16:06
sledgesno /sys/ is sysfs, and is volatile, just do a find for kexec16:07
klopsi-sdkonly finds the dir with "a" in it16:07
sledgesbut when you boot cm, it will look different?16:08
klopsi-sdkyea i read something about rom slot being used on maserati cyanogenmod16:08
sledgesprobably it resides in other partition16:08
sledgesyou'll need to find them by mounting them16:08
sledgesmount /dev/mmcblk0pXX /mnt16:08
sledgesetc16:08
sledgesremember fixup-mountpoints - should give you a hint, so you don't need to mount all ~30 of them16:09
* sledges afk16:09
klopsi-sdk /ss # ls -l /ss/safestrap/rom-slot1/16:09
klopsi-sdk-rwxrwxrwx root     root     272629760 2015-01-21 16:01 cache.img16:09
klopsi-sdk-rwxrwxrwx root     root     671088640 2015-01-21 15:56 system.img16:09
klopsi-sdk-rwxrwxrwx root     root     2147483648 2015-01-21 15:56 userdata.img16:09
klopsi-sdkok16:09
sledgesah16:10
sledgesthere it is16:10
sledgessystem.img gets mounted16:10
sledgesbut where are the kernels? does ss mount it, get the kernel out, kexec it, then goes ahead?16:11
sledgestry to mount system.img /mnt -o loop16:11
klopsi-sdkok i can now list /mnt16:12
klopsi-sdkthere is no /mnt/system16:13
sledges /mnt is system itself16:13
klopsi-sdk/etc/kexec: No such file or directory16:13
sledges/mnt/etc...16:13
klopsi-sdkoh duh16:13
klopsi-sdkthere is16:14
klopsi-sdkarm_kexec.ko16:14
klopsi-sdkatags16:14
klopsi-sdkdevtree16:14
klopsi-sdkkernel16:14
klopsi-sdkkexec16:14
klopsi-sdkkexec.ko16:14
klopsi-sdkramdisk.img16:14
klopsi-sdkuart.ko16:14
*** vakkov has joined #sailfishos-porters16:14
klopsi-sdk4714268 2008-08-01 12:00 kernel16:14
*** filippz has joined #sailfishos-porters16:14
klopsi-sdkthis is complicated!16:14
sledgesis it exact same directory that you see under cm?16:14
klopsi-sdkdunno, would need to boot into cm16:15
sledgesboot16:15
klopsi-sdkok16:16
sledgesif it's 1:1 the same, you'll have to backup+replace kernel and ramdisk.img like before, but from recovery. ensure when it's loop-mounted in recovery, it's writeable16:18
klopsi-sdkyes it is the same16:19
klopsi-sdkok i understand16:19
klopsi-sdkafk a bit16:21
sledgessame16:22
*** vakkov has quit IRC16:37
*** harha has joined #sailfishos-porters16:39
*** vrutkovs has quit IRC16:40
*** carepack has quit IRC16:41
lbthttps://together.jolla.com/question/77616/whos-actually-coming-to-the-mersailfish-meal-at-fosdem/16:56
sledgeslbt: thanks, but not got enough karma. care to put me in pls?16:58
sledges(probably it's a good filtering for people anyhow :p016:59
lbtyou!16:59
lbtbwahahaa16:59
sledges;D17:00
sledgesok commented instead :p17:01
*** vakkov has joined #sailfishos-porters17:02
*** keithzg has quit IRC17:02
*** plfiorini has quit IRC17:05
*** alin has joined #sailfishos-porters17:07
*** alin has joined #sailfishos-porters17:07
* sledges wonders if sailfish is on the menu17:12
lbtit's on the wall17:18
*** VDVsx has joined #sailfishos-porters17:22
*** tanty is now known as tanty_off17:23
*** klopsi-sdk has quit IRC17:27
*** keithzg has joined #sailfishos-porters17:28
*** filippz has quit IRC17:34
*** r0kk3rz has joined #sailfishos-porters17:42
*** Nokius__ has joined #sailfishos-porters17:48
*** klopsi-sdk has joined #sailfishos-porters17:50
*** Nokius_ has quit IRC17:51
*** plfiorini has joined #sailfishos-porters17:56
*** gogeta has joined #sailfishos-porters18:08
*** beidl_ has joined #sailfishos-porters18:16
*** beidl has quit IRC18:19
*** gogeta has quit IRC18:24
*** Sfiet_Konstantin has joined #sailfishos-porters18:33
Sfiet_Konstantinl18:35
Stskeepsm0018:35
*** piggz has joined #sailfishos-porters18:41
tbrmöö18:41
piggzbaa18:42
*** faenil has quit IRC18:47
*** furikku has quit IRC19:00
*** cons10tin3 has joined #sailfishos-porters19:05
kimmoli>())*>19:07
*** alin has quit IRC19:08
cons10tin3tried different version of gcc but still getting this error http://pastebin.com/Lxf61RE219:08
*** gogeta has joined #sailfishos-porters19:09
*** vrutkovs has joined #sailfishos-porters19:11
*** vrutkovs is now known as vrutkovs|home19:12
*** beidl_ has quit IRC19:14
*** beidl has joined #sailfishos-porters19:14
*** piggz has quit IRC19:18
*** piggz has joined #sailfishos-porters19:18
*** Nokius__ is now known as Nokius19:20
*** eleroux has joined #sailfishos-porters19:20
mal-syncing 10.1 to see if build based on that behaves any differently19:22
piggzmal-: i was thinking of seing what a 12 build behaves like on the ace19:31
sledgescons10tin3: logs say you are not first with this issue, rummage them. if nothing, then double checking toolchains on your separate cm-only build is also a way. in manifests19:33
sledgesmal-: and backporting?..19:33
mal-sledges: backporting what?19:34
*** klopsi-sdk has quit IRC19:34
sledgesbionic patches if you are sing legacy xperia, or at least kernel/evice19:34
mal-ok, I'll have to look into those19:35
mal-have other people backported those to their devices?19:35
sledgesdidt you do themwith cmww?19:36
sledgesi thougt you took legacyxperia19:36
mal-yes, I took legacyxperia19:36
sledgescan't ever remember 11->10 case19:36
sledgesdid you patch it?19:37
mal-not the 1119:37
mal-that I used as it was19:37
sledgeshadk "Modifications" chapter19:39
sledges;)19:39
sledgessee our cm hybris-11.0 branches in the repo19:40
sledgeswonder what it prevented you of having apart from /dev/alog // log bits19:41
sledgescan't check now, im afk ;)19:41
mal-but I only take the kernel and device from legacyxperia19:43
mal-so I don't quite get why I would need to patch anyting19:44
*** cons10tin3 has left #sailfishos-porters19:44
sledgesok, i didnt know legacy experia offers only that19:44
sledgesand tht everyti g still works19:44
* sledges not studied legacyxperia ingeneral, not talking about its cm compstibility19:45
mal-the idea of that is to support older devices that are no longer supported by cm19:46
mal-they keep patching the kernel and device parts to keep them working with cm19:46
sledgesvery good then, you shall be backporting kernel/dvice only19:46
sledgesfor 10.119:47
mal-they branches ready fot that so I just need to add the correct configs19:47
mal-damn the amount of typos I make19:48
*** klopsi-sdk has joined #sailfishos-porters19:48
klopsi-sdkjust flashed hybris kernel and ramdisk19:49
sledgesyes, just in case you patched device for mer, sometimes happens for disabling jnneeded services19:49
klopsi-sdknow run "adb reboot recovery"?19:50
klopsi-sdkevening sledges19:50
mal-I'll have to see what I have done, don't remember anymore19:50
sledgesamount of typos from garage with jolla phne :p19:50
mal-I believe my keyboard is partially to blame, it seems to react less than it used to19:50
sledgesklopsi-sdk: just reboot19:50
sledgesyou did alrradywhat you were about to do in recvery19:51
klopsi-sdkoh i thought recovery already used the new kernel19:51
klopsi-sdkmy bad19:52
mal-there is also a cm-12 branch in legacyxperia, but no builds based on that yet, at least not for my device19:52
sledgesklopsi-sdk: get used to o everyting through recovery in case you lock yourself out from cm soon19:53
klopsi-sdkalready happened lol but an interesting thing happened19:53
*** klopsi-sdk has quit IRC19:58
*** piggz has quit IRC20:06
*** klopsi-sdk has joined #sailfishos-porters20:07
klopsi-sdkvery strange network problem.20:07
klopsi-sdkusb0 interface was up with the same netmask as my wlan net20:08
klopsi-sdkmaybe the libybris-kernel is somehow set up do do usb-networking and xubuntu automatically set up an interface for it?20:10
sledgesifconfig usb0 192.168.2.220:12
sledgesand those are really good news btw ;p20:13
sledgesjust internal udhcpcd playing up20:13
sledgesno to worry now20:13
klopsi-sdker but my wlan is 192.168.2.*20:13
sledgesoooooh20:13
sledges:D20:13
klopsi-sdkdo i need to change wlan subnet20:13
sledgesyes20:13
sledges:D20:13
klopsi-sdkmmm20:14
sledgesor add a route to 192.168.2.15 via usb0 instead20:14
klopsi-sdkok need to read up on that20:16
klopsi-sdkforgot all my route commands20:16
sledgesum20:17
sledgessudo route add 192.168.2.15 usb020:17
klopsi-sdkwell i never did this before20:17
sledges?20:17
sledges:)20:17
mal-there might be problems later when it changes ip20:18
klopsi-sdkok that worked20:19
*** piggz has joined #sailfishos-porters20:19
klopsi-sdkthere is a problem when i ifconfig usb0 up, it creates a duplicate route entry for destination 192.168.2.020:19
klopsi-sdkso i need to quickly remove that after bringing the interface up20:20
mal-why do you need to bring it up manually?20:20
klopsi-sdkcause i need to ifconfig usb0 down in order to chat here20:23
klopsi-sdkreading...20:23
mal-ok20:23
klopsi-sdkbut this means the kernel on droid 4 is running and issuing a dhcp address to my pc?20:24
sledgesyou've just gotten yourself a linux box! \o/20:24
klopsi-sdkdhcp lease20:24
klopsi-sdkheh 'o'20:25
klopsi-sdkdidnt know usb ethernet could be so automatic20:26
*** klopsi-u3 has quit IRC20:43
*** klopsi-sdk has quit IRC20:43
*** klopsi-u3 has joined #sailfishos-porters20:45
*** klopsi-sdk has joined #sailfishos-porters20:45
klopsi-sdkok routing fixed20:46
klopsi-sdki dont get a ping from 192.168.2.1520:47
klopsi-sdkbut my usb0 interface automatically gets an address 192.168.2.20 when i ifconfig usb0 up20:48
sledgesping .120:48
klopsi-sdkunknown host .120:48
klopsi-sdkoh ping 192.168.2.120:48
klopsi-sdkdestination host unreachable20:49
sledgesadjust route20:49
klopsi-sdk192.168.2.0     0.0.0.0         255.255.255.0   U     1      0        0 usb020:49
klopsi-sdkodd20:50
sledgestelnet 192.168.2.1520:50
klopsi-sdkTrying 192.168.2.15...20:50
sledgestelnet 192.168.2.120:50
klopsi-sdkTrying 192.168.2.1...20:51
klopsi-sdktelnet: Unable to connect to remote host: No route to host20:51
sledgestelnet 192.168.2.15 232320:51
sledgeseliminating the obvious20:51
klopsi-sdktrying...20:51
sledgesanyway, ping should wotk20:51
sledgesdid you change wlan subnet?20:52
klopsi-sdkyes20:52
sledgesdo the things with lsusb from hadk20:52
klopsi-sdkok20:52
klopsi-sdk[121258.450129] usb 4-1: Manufacturer: Mer20:54
klopsi-sdk[121258.450134] usb 4-1: SerialNumber: Mer20:54
klopsi-sdkah lsusb -v |grep iSerial doesnt show what it should20:56
sledgesyou'll need to debug why20:57
sledgeshttps://github.com/mer-hybris/hybris-boot/blob/hybris-10.1/init-script20:58
sledgesextract ramdisk.img (with cpio)20:58
sledgeschange init-script to add debug info (you can add i to where it sets to Mer, to add more info)20:59
sledgesrecompress, reupload (via recovery) to a mounted system.img20:59
sledgesrecompress via: find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz21:00
sledges(rename files apropriately)21:00
sledgesrinse, repeat, have fun!21:00
klopsi-sdkok copying that to notes21:00
* sledges goes back to replacing breakpads21:00
mal-sledges: wasn't it telnet 192.168.2.15 23 first21:01
mal-and later telnet 192.168.2.1 232321:01
sledgesyes21:02
klopsi-sdkso close yet so far21:03
klopsi-sdkat least i found out why i was timing out on my freenode connection all the time! :)21:03
RaYmAnnote that by default (at least if you port a new device), the dhcp server for second is handing out ips in the wrong range (192.168.0.0/24), so you need to fix that or manually set a 192.168.2.x address (check the usb interface what ip it has)21:03
RaYmAnoh I see in backlog, you do get a .2 address21:04
RaYmAnnevermind then.21:04
klopsi-sdkthanks anyway :)21:04
*** klopsi-s1k has joined #sailfishos-porters21:09
*** klopsi-sdk has quit IRC21:09
*** klopsi-s1k is now known as klopsi-sdk21:23
klopsi-sdkhmm i managed to get phone to reboot once with the libhybris kernel21:34
klopsi-sdkbut it doesnt want to reboot now.. long press of power button not doing anything21:34
klopsi-sdkok longer press worked21:36
*** carepack has joined #sailfishos-porters21:40
mal-now building sailfish image for cm-10.1, we'll see what happens21:43
klopsi-sdkcool good luck!21:43
klopsi-sdkdo you think maybe including those CM11 binary blobs is what is causing my kernel to not work?21:44
mal-no, kernel does not use those21:45
klopsi-sdkokay21:45
mal-but your kernel does work, init script just does not21:46
mal-did you change the wlan subnet?21:47
klopsi-sdkyes21:49
klopsi-sdkalso rebooted and tried again, just to be sure it wasnt a one-time glitch21:49
klopsi-sdkbut no response to ping .15 or telent21:49
mal-what does ifconfig -a show?21:50
klopsi-sdkwith the Droid4 booted, it showed eth0, lo, usb0 and wlan021:51
klopsi-sdknow i am in recovery mode trying to extract ramdisk.img to the PC21:51
mal-does it report as the address for usb0?21:52
klopsi-sdk192.168.2.2021:52
*** mispp_ has joined #sailfishos-porters21:53
klopsi-sdkah i can just extract my local hybris-recovery.img-ramdisk.gz21:53
mal-yes21:54
klopsi-sdkthen add this "init-script" thing21:54
vakkovi have a ping 192.168.2.1421:55
vakkovbut cant telnet 192.168.2.15 232321:55
klopsi-sdkcan you telnet to .14?21:55
vakkovi telnet to .15 and can echo continue to the init21:56
klopsi-sdkmal do you know what cpio command to use to extract hybris-recovery.img-ramdisk ?21:56
klopsi-sdkcool21:56
*** Lipevakala has joined #sailfishos-porters21:56
vakkovsledges21:57
vakkovecho "continue" >/init-ctl/stdin21:57
*** mispp has quit IRC21:57
mal-klopsi-sdk: no, but at least on my debian the default graphical archive manager knows how to handle that21:57
klopsi-sdkfound it21:58
klopsi-sdkcpio -idv < hybris-recovery.img-ramdisk21:58
klopsi-sdkcpio -idv < hybris-recovery.img-ramdisk worked21:58
mal-vakkov: so you cannot connect after "continue"?21:59
*** Lipevakala_ has quit IRC21:59
vakkovmhm22:00
*** Lipevakala_ has joined #sailfishos-porters22:00
vakkovbut something with the kernel i broken probably22:00
vakkovit's a sony xperia miro btw22:00
*** Lipevakala has quit IRC22:00
vakkovsledges: are you  here?22:00
*** Lipevakala has joined #sailfishos-porters22:01
mal-I have sometimes problems at that stage and replugging usb cable helps22:01
vakkovthe problem i guess22:02
vakkovis that i cobined some cm code so that it builds against my cm10.1 tree22:02
vakkovand i havent actually tested that code but directly tried to boot sfos ... i dont have recovery btw22:03
mal-ok22:03
klopsi-sdkmal-: i see no init-script in the ramdisk.img22:04
klopsi-sdki can create a new one called "init-script"?22:05
*** Lipevakala_ has quit IRC22:05
*** Lipevakala_ has joined #sailfishos-porters22:05
klopsi-sdkhybris-recovery.img-ramdisk22:06
*** Lipevakala has quit IRC22:06
mal-klopsi-sdk: it called init22:08
klopsi-sdkoh ok!22:08
mal-klopsi-sdk: btw, did you try to replug usb22:08
klopsi-sdkyeah did a reboot and replugged usb22:08
klopsi-sdkhey, i will try a different cable, just to be sure22:09
mal-i don't think that matters22:09
klopsi-sdkok22:09
klopsi-sdkthen nvm22:09
mal-the problem usually happens later on anyway22:09
klopsi-sdkok have created hybris-recovery.img-ramdisk.gz22:13
klopsi-sdksudo adb push hybris-recovery.img-ramdisk.gz /mnt/etc/kexec/ramdisk.img22:13
klopsi-sdk115 KB/s (5908 bytes in 0.049s)22:13
*** gogeta has quit IRC22:14
klopsi-sdkrebooting with new init22:15
klopsi-sdkargh now i dont see usb0 come up22:16
klopsi-sdkoh wait, wrong boot procedure22:17
klopsi-sdkhm no not wrong boot procedure22:18
klopsi-sdkit shows black screen for a while and then reboots to the AP Fastboot Flash Mode22:18
klopsi-sdkmaybe i have a broken hybris-recovery.img-ramdisk.gz22:19
klopsi-sdkyes i did22:20
klopsi-sdkreuploading22:20
*** carepack has quit IRC22:22
*** Tassadar has quit IRC22:25
*** cxl000 has quit IRC22:28
klopsi-sdkhmm trying to boot to my new hybris-recovery.img-ramdisk.gz just reboots to the Fastboot Flash Mode22:28
klopsi-sdki made it worserer22:28
klopsi-sdkoh i didnt chmod uog+x init22:29
klopsi-sdkok that didnt help either22:33
mal-try to put the original back22:34
klopsi-sdkok22:34
*** mispp_ has quit IRC22:35
*** mispp has joined #sailfishos-porters22:35
klopsi-sdkhmm22:36
*** eleroux has quit IRC22:47
*** r0kk3rz has quit IRC22:55
*** piggz has quit IRC22:58
sledgesklopsi-sdk: better to operate on the known working one, ad hoc, like i told you before23:21
sledgesdecompress, modify, compress23:21
*** cl_ has quit IRC23:36
*** phdeswer has quit IRC23:47

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