carepack | dWangoAC: Is coming soon | 00:04 |
---|---|---|
carepack | ;) | 00:05 |
carepack | btw when have you looked last time | 00:05 |
dwangoAC | carepack: Friday | 00:05 |
dwangoAC | carepack: I can be patient, just excited. :) | 00:05 |
dwangoAC | Or, perhaps Saturday. | 00:06 |
carepack | I can understand ;). Saturday is too short. I thought maybe you haven't seen the release from december. | 00:07 |
dwangoAC | carepack: Ah, unfortunately I have to have Bluetooth support for mandatory hands-free in California. | 00:07 |
dwangoAC | It's... a bit of a nanny-state in that regard. | 00:07 |
*** plfiorini has joined #sailfishos-porters | 00:08 | |
carepack | ok. so really needed :-) | 00:08 |
dwangoAC | carepack: 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 block | 00:09 |
dwangoAC | so I hope to get a chance to do some more testing and provide feedback. | 00:11 |
carepack | Please 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 |
dwangoAC | carepack: Ah, but I was a staunch N900 user | 00:13 |
dwangoAC | carepack: I only switched away from N900 because GSM chip desoldered and USB broke | 00:13 |
dwangoAC | (And, honestly, it had started to bitrot) | 00:13 |
carepack | dWangoAC: ok. Somtetime we will see you on jolla device :-). going to bed now. | 00:14 |
dwangoAC | carepack: Heh - night! | 00:14 |
carepack | bye | 00:14 |
*** carepack has quit IRC | 00:15 | |
*** M4rtinK has quit IRC | 00:33 | |
*** olafh has quit IRC | 00:34 | |
*** the_mgt_ has joined #sailfishos-porters | 00:58 | |
*** the_mgt has quit IRC | 01:01 | |
*** the_mgt_ is now known as the_mgt | 01:01 | |
*** vrutkovs|home has quit IRC | 02:08 | |
*** CorvetteZR1 has joined #sailfishos-porters | 02:45 | |
glasserc1 | Hmm, 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-porters | 04:32 | |
glasserc1 | Oh! I guess I used android_device_qcom.. Android git repos are confusing. Pushing on.. | 04:35 |
*** the_mgt_ has joined #sailfishos-porters | 05:01 | |
*** the_mgt has quit IRC | 05:04 | |
*** the_mgt_ is now known as the_mgt | 05:04 | |
*** filippz has joined #sailfishos-porters | 05:48 | |
*** olafh has joined #sailfishos-porters | 05:49 | |
*** filippz has quit IRC | 06:05 | |
*** VDVsx has quit IRC | 06:13 | |
*** filippz has joined #sailfishos-porters | 06:20 | |
*** plfiorini_ has joined #sailfishos-porters | 06:30 | |
*** eleroux has joined #sailfishos-porters | 06:31 | |
*** plfiorini has quit IRC | 06:34 | |
*** VDVsx has joined #sailfishos-porters | 06:42 | |
*** plfiorini__ has joined #sailfishos-porters | 06:50 | |
*** plfiorini_ has quit IRC | 06:53 | |
*** plfiorini__ has quit IRC | 07:31 | |
*** cl_ has joined #sailfishos-porters | 07:32 | |
*** alin has quit IRC | 08:04 | |
*** carepack has joined #sailfishos-porters | 08:18 | |
*** plfiorini has joined #sailfishos-porters | 08:27 | |
*** vrutkovs has joined #sailfishos-porters | 08:33 | |
*** vrutkovs is now known as vrutkovs|home | 08:33 | |
*** tanty_off is now known as tanty | 08:47 | |
*** cxl000 has joined #sailfishos-porters | 09:07 | |
*** Lipevakala_ has quit IRC | 09:11 | |
*** VDVsx_ has joined #sailfishos-porters | 09:13 | |
*** VDVsx has quit IRC | 09:16 | |
*** krnlyng has quit IRC | 09:27 | |
*** krnlyng has joined #sailfishos-porters | 09:28 | |
*** vrutkovs|home has quit IRC | 09:34 | |
*** filippz has quit IRC | 09:52 | |
*** filippz has joined #sailfishos-porters | 09:53 | |
*** vrutkovs has joined #sailfishos-porters | 09:54 | |
*** harha has joined #sailfishos-porters | 10:14 | |
*** Tassadar has joined #sailfishos-porters | 10:29 | |
*** harha has quit IRC | 10:49 | |
*** VDVsx_ has quit IRC | 11:02 | |
klopsi-sdk | good $TIMEOFDAY | 11:03 |
*** Sfiet_Konstantin has joined #sailfishos-porters | 11:07 | |
* klopsi-sdk skips | 11:08 | |
*** VDVsx_ has joined #sailfishos-porters | 11:14 | |
*** harha has joined #sailfishos-porters | 11:36 | |
*** VDVsx_ has quit IRC | 11:50 | |
*** VDVsx__ has joined #sailfishos-porters | 11:50 | |
*** eleroux1 has joined #sailfishos-porters | 11:58 | |
*** eleroux has quit IRC | 11:58 | |
*** deztructor has quit IRC | 11:58 | |
*** deztructor has joined #sailfishos-porters | 11:59 | |
*** cybette has quit IRC | 11:59 | |
*** VDVsx__ has quit IRC | 11:59 | |
*** alterego has quit IRC | 12:00 | |
*** giucam has quit IRC | 12:00 | |
*** VDVsx__ has joined #sailfishos-porters | 12:00 | |
*** cybette has joined #sailfishos-porters | 12:01 | |
*** alterego has joined #sailfishos-porters | 12:01 | |
*** giucam has joined #sailfishos-porters | 12:02 | |
*** Lipevakala_ has joined #sailfishos-porters | 12:08 | |
*** Sfiet_Konstantin has quit IRC | 12:12 | |
*** Sfiet_Konstantin has joined #sailfishos-porters | 12:27 | |
*** Sfiet_Konstantin has quit IRC | 12:42 | |
*** vakkov has quit IRC | 13:04 | |
*** Lipevakala_ has quit IRC | 13:08 | |
*** vakkov has joined #sailfishos-porters | 13:17 | |
*** filippz has quit IRC | 13:37 | |
*** vakkov has quit IRC | 13:54 | |
*** vrutkovs has quit IRC | 14:00 | |
*** vrutkovs has joined #sailfishos-porters | 14:03 | |
klopsi-sdk | so much lurking | 14:06 |
*** uhhimhere has quit IRC | 14:08 | |
*** vakkov has joined #sailfishos-porters | 14:08 | |
*** Lipevakala_ has joined #sailfishos-porters | 14:08 | |
sledges | wow | 14:10 |
klopsi-sdk | hi sledges | 14:16 |
sledges | o/ | 14:16 |
klopsi-sdk | just transferred the money for the 2nd droid 4 | 14:16 |
sledges | you waited ;) | 14:17 |
klopsi-sdk | i backed up my Data and System partitions to SD | 14:18 |
klopsi-sdk | and i have backups of all my APKs on SD card | 14:18 |
*** cl_ has quit IRC | 14:19 | |
klopsi-sdk | so if you feel like it we could use droid#1 as a testbed | 14:19 |
*** cl_ has joined #sailfishos-porters | 14:19 | |
sledges | klopsi-sdk: you'll have to research yourself how to flash kernel on droid, as it's something different | 14:20 |
klopsi-sdk | ok | 14:20 |
sledges | cm .zip just backups and flashes ROM files, no kernel contained.. means it's re-using stock? | 14:21 |
sledges | you can see kernel info in Settings-About | 14:21 |
sledges | something also complicated about rom-slots in your recovery | 14:22 |
sledges | so, lots to learn;) | 14:22 |
klopsi-sdk | kernel version 3.0.8-gc41b94f build03@cyanogenmod#1 | 14:23 |
locusf | hmm even sailfish zips flash the kernel | 14:23 |
sledges | locusf: but we're talking droid | 14:23 |
sledges | looks like cyanogenmod managed to put their kernel somehow | 14:23 |
sledges | also read about kexec bits, maybe they just reside as files? | 14:23 |
locusf | ah, well cm does that too, at least on all my devices | 14:23 |
sledges | right, how big is this one klopsi-sdk : ./system/etc/kexec/kernel ? | 14:24 |
locusf | anyways offtopic sorry | 14:24 |
sledges | locusf: you're the pioneer in sammy's crooked boot.img format, so not offtopic;) | 14:24 |
locusf | true :) | 14:25 |
*** harha has quit IRC | 14:26 | |
sledges | klopsi-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-sdk | 4714268 kernel | 14:27 |
klopsi-sdk | ok am in adb shell | 14:30 |
sledges | not shell, adb pull | 14:31 |
klopsi-sdk | find . -name ramdisk.img | 14:34 |
klopsi-sdk | ./system/etc/kexec/ramdisk.img | 14:34 |
sledges | pull it to your local pc | 14:35 |
klopsi-sdk | done | 14:35 |
klopsi-sdk | MerSDK klopsi@klopsidev:~$ split_bootimg ramdisk.img | 14:35 |
klopsi-sdk | Android 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.08 | 14:35 |
klopsi-sdk | good day mal- | 14:35 |
mal- | good day | 14:36 |
sledges | klopsi-sdk: mv ramdisk.img ramdisk.img.gz; gunzip -l ramdisk.img.gz | 14:37 |
sledges | o/ mal- | 14:37 |
mal- | now I found some release versions also, I just don't know what sources they have used when building those | 14:37 |
mal- | since I can't find kernel sources | 14:37 |
mal- | so I'll just continue hacking cm11 | 14:38 |
mal- | hmm, maybe I found the kernel now | 14:39 |
klopsi-sdk | gunzip -l ramdisk.img.gz | 14:40 |
klopsi-sdk | compressed uncompressed ratio uncompressed_name | 14:40 |
klopsi-sdk | 1126858 1880320 40.1% ramdisk.img | 14:40 |
klopsi-sdk | were you expecting a boot.img in there? | 14:41 |
sledges | klopsi-sdk: could you uncompress that pls | 14:42 |
klopsi-sdk | sure | 14:43 |
klopsi-sdk | -rw-r--r-- 1 klopsi klopsi 1126858 Jan 21 14:34 ramdisk.img.orig | 14:43 |
klopsi-sdk | -rw-r--r-- 1 klopsi klopsi 1880320 Jan 21 14:39 ramdisk.img | 14:43 |
klopsi-sdk | split_bootimg ramdisk.img | 14:45 |
klopsi-sdk | Android Magic not found in ramdisk.img. Giving up | 14:45 |
sledges | klopsi-sdk: mount ramdisk.img /mnt -o loop | 14:46 |
klopsi-sdk | sudo mount ramdisk.img /mnt -o loop | 14:47 |
klopsi-sdk | mount: /dev/loop0 is write-protected, mounting read-only | 14:47 |
klopsi-sdk | mount: 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 so | 14:47 |
klopsi-sdk | want to see dmesg? | 14:48 |
*** vrutkovs has quit IRC | 14:48 | |
sledges | klopsi-sdk: mv ramdisk.img ramdisk.tar; tar -xvf ramdisk.tar | 14:48 |
klopsi-sdk | tar: This does not look like a tar archive | 14:49 |
klopsi-sdk | that was from the uncompressed ramdisk.img | 14:49 |
*** klopsi-sdk has quit IRC | 14:49 | |
*** klopsi-sdk has joined #sailfishos-porters | 14:50 | |
klopsi-sdk | tar: This does not look like a tar archive | 14:50 |
klopsi-sdk | just a minute, need food input | 14:50 |
*** vrutkovs has joined #sailfishos-porters | 14:51 | |
*** arcean has joined #sailfishos-porters | 14:51 | |
sledges | klopsi-sdk: mkdir ramdisk; cd ramdisk; cat ../ramdisk.img | cpio -idv | 14:54 |
klopsi-sdk | ah now i see many files | 14:58 |
klopsi-sdk | pastebin them? | 14:58 |
klopsi-sdk | http://pastebin.de/8167 | 14:59 |
sledges | perfect | 15:01 |
sledges | make a backup of those two files: kernel and ramdisk.img | 15:01 |
sledges | on your PC | 15:01 |
sledges | split_bootimg hybris-recovery.img | 15:01 |
sledges | adb push hybris-recovery.img-kernel /system/etc/kexec/kernel | 15:02 |
sledges | adb push hybris-recovery.img-ramdisk.gz /system/etc/kexec/ramdisk.img | 15:02 |
sledges | reboot and pray | 15:02 |
sledges | thing -will- go wrong, but you can always go back to sanity by restoring the backup of the two | 15:03 |
*** dr_gogeta86 has quit IRC | 15:03 | |
*** VDVsx__ has quit IRC | 15:08 | |
klopsi-sdk | have a backup of ramdisk.img (the one from phone) | 15:10 |
sledges | yes, but make sure it didn't get overwritten by our games above | 15:10 |
sledges | or renamed | 15:10 |
klopsi-sdk | ramdisk.img.orig | 15:10 |
sledges | you know what you're doing;) | 15:11 |
klopsi-sdk | where is the kernel file i should backup? | 15:11 |
sledges | /system/etc/kexec/kernel | 15:12 |
klopsi-sdk | ok pulled | 15:13 |
sledges | push times | 15:13 |
klopsi-sdk | first 16:01 < sledges> split_bootimg hybris-recovery.img | 15:13 |
sledges | yup | 15:14 |
klopsi-sdk | Writing hybris-recovery.img-kernel ... complete. | 15:14 |
klopsi-sdk | Writing hybris-recovery.img-ramdisk.gz ... complete. | 15:14 |
klopsi-sdk | hmm does phone need to be in recovery mode to adb push /system/etc/kexec/kernel? | 15:15 |
sledges | preferably | 15:15 |
klopsi-sdk | got a REad-Only filesystem error | 15:15 |
sledges | adb remount | 15:15 |
sledges | first | 15:15 |
sledges | for a laugh | 15:16 |
klopsi-sdk | remount succeeded | 15:16 |
*** vakkov has quit IRC | 15:16 | |
klopsi-sdk | so ill reboot phone to recovery mode | 15:16 |
sledges | it's ok, you can push since remount succeeded | 15:16 |
klopsi-sdk | oops already rebooting | 15:17 |
klopsi-sdk | oh now i get that black screen with white text: AP Fastboot Flash Mode (S) (Flash Failure) | 15:18 |
sledges | on every reboot? yea you might have to live with it for a while as google said | 15:18 |
klopsi-sdk | yea on every reboot | 15:18 |
klopsi-sdk | cna i do adb push? | 15:19 |
sledges | enter recovery | 15:19 |
klopsi-sdk | ok | 15:19 |
klopsi-sdk | selected boot recovery: now i see an image of a lying-down robot with a warning sign sticking out of his chest | 15:20 |
klopsi-sdk | retry? | 15:21 |
sledges | you need SafeStrap | 15:22 |
klopsi-sdk | i have safestrap on fone | 15:22 |
klopsi-sdk | ah now it rebooted to the Fastboot Flash Mode | 15:23 |
sledges | we need adb | 15:23 |
sledges | which should work inside safestrap | 15:23 |
klopsi-sdk | ok will retry rebooting to recovery (with all three buttons) | 15:24 |
klopsi-sdk | nope again dead robot screen | 15:24 |
sledges | how come? | 15:25 |
klopsi-sdk | will try normal reboot and then selecting recovery | 15:25 |
klopsi-sdk | need to wait for dead robot to go away | 15:26 |
klopsi-sdk | need 15 minutes for girlfriend. bbl | 15:27 |
klopsi-sdk | ok Normal Bootup succeeded and entered Recovery Mode | 15:33 |
klopsi-sdk | ok am in "Safestrap 3.72 | 15:36 |
klopsi-sdk | sudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel | 15:37 |
klopsi-sdk | error: insufficient permissions for device | 15:37 |
klopsi-sdk | ... huh? | 15:37 |
sledges | adb kill-server | 15:37 |
sledges | sudo adb devices | 15:37 |
sledges | or | 15:37 |
sledges | sudo adb remount | 15:37 |
klopsi-sdk | List of devices attached | 15:37 |
klopsi-sdk | 015457FE0B01B008recovery | 15:37 |
klopsi-sdk | woot! 6012 KB/s (4886704 bytes in 0.793s) | 15:38 |
klopsi-sdk | adb push hybris-recovery.img-ramdisk.gz /system/etc/kexec/ramdisk.img | 15:39 |
klopsi-sdk | 6112 KB/s (514372 bytes in 0.082s) | 15:39 |
klopsi-sdk | now we can flash the OS? | 15:39 |
sledges | nope, first we'll fire up linux on it | 15:39 |
sledges | minimal | 15:39 |
*** SK_work has quit IRC | 15:39 | |
sledges | keep phone usb cable in | 15:39 |
klopsi-sdk | ok | 15:40 |
sledges | open dmesg on PC host (dmesg -w - or any other way to ensure it's following) | 15:40 |
*** uhhimhere has joined #sailfishos-porters | 15:41 | |
klopsi-sdk | ok tail -f /var/log/dmesg | 15:41 |
sledges | interwesting | 15:41 |
sledges | anyway. | 15:41 |
sledges | reboot into cm | 15:41 |
sledges | and.. it won't be cm anymore, most probably, mwhahawhaha | 15:42 |
klopsi-sdk | jawohl! | 15:42 |
sledges | ich liebe alkohol? | 15:42 |
klopsi-sdk | hah i come into normal safestrap window | 15:43 |
klopsi-sdk | then... | 15:43 |
klopsi-sdk | vibration vibrated briefly and now i see cyanogenmod come up | 15:43 |
klopsi-sdk | and i am back to normal android homescreen | 15:44 |
klopsi-sdk | oh now it asks me Usb-Debugging Zulassen and it gives me Abort / Ok | 15:44 |
*** eleroux1 has quit IRC | 15:44 | |
klopsi-sdk | i selected OK to usb debugging | 15:46 |
sledges | go to about product | 15:47 |
sledges | check kernel | 15:47 |
klopsi-sdk | hmm same.. 3.0.8.gc41b94f build03@cyanogenmod #1 | 15:48 |
klopsi-sdk | that shouldnt have happened, right? | 15:49 |
sledges | nope | 15:49 |
sledges | doublecheck the file size | 15:49 |
sledges | of kernel binary | 15:49 |
klopsi-sdk | 4714268 bytes | 15:51 |
klopsi-sdk | same as before | 15:52 |
sledges | 16:27 < klopsi-sdk> 4714268 kernel | 15:52 |
sledges | so overwriting failed | 15:52 |
klopsi-sdk | MerSDK klopsi@klopsidev:~$ sudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel | 15:54 |
klopsi-sdk | 6012 KB/s (4886704 bytes in 0.793s) | 15:54 |
klopsi-sdk | wtf | 15:54 |
*** klopsi-sdk has quit IRC | 15:54 | |
*** klopsi-sdk has joined #sailfishos-porters | 15:54 | |
klopsi-sdk | MerSDK klopsi@klopsidev:~$ sudo adb push hybris-recovery.img-kernel /system/etc/kexec/kernel | 15:54 |
klopsi-sdk | 6012 KB/s (4886704 bytes in 0.793s) | 15:55 |
klopsi-sdk | was what it told me | 15:55 |
sledges | just do some touch a; sudo adb push a /system/etc/kexec/a | 15:56 |
sledges | to verify permissions | 15:56 |
klopsi-sdk | need to reboot into recovery, now it is a read only file system. one minute pls | 15:57 |
sledges | yes, do everything from recovery, as that's the only thing which will remain after kernel override finally works;) | 15:57 |
klopsi-sdk | will take another minute or so | 15:59 |
klopsi-sdk | MerSDK klopsi@klopsidev:~$ adb shell | 16:02 |
klopsi-sdk | ~ # ls -l /system/etc/kexec/a | 16: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 a | 16:02 |
sledges | ls -l /system/etc/kexec/ | 16:03 |
klopsi-sdk | only a found | 16:03 |
sledges | eeee | 16:03 |
sledges | :)) | 16:03 |
sledges | where are the kernelz? | 16:04 |
klopsi-sdk | hmm doing a ls -l / | 16:04 |
sledges | you mentioned ./system/.... | 16:05 |
sledges | i cringed at that "./" bit | 16:05 |
klopsi-sdk | uup my mistake | 16:05 |
klopsi-sdk | ~ # find / -name \*kernel* | 16:05 |
klopsi-sdk | /sys/devices/system/cpu/kernel_max | 16:05 |
klopsi-sdk | /sys/kernel | 16:05 |
klopsi-sdk | /sys/module/kernel | 16:05 |
klopsi-sdk | /proc/sys/kernel | 16:05 |
klopsi-sdk | maybe we try overwriting /sys/kernel?> | 16:06 |
klopsi-sdk | oh that isnt a file, but a directory | 16:06 |
sledges | can be your cm is in a rom-slot - check them inside safestrap menus | 16:06 |
sledges | no /sys/ is sysfs, and is volatile, just do a find for kexec | 16:07 |
klopsi-sdk | only finds the dir with "a" in it | 16:07 |
sledges | but when you boot cm, it will look different? | 16:08 |
klopsi-sdk | yea i read something about rom slot being used on maserati cyanogenmod | 16:08 |
sledges | probably it resides in other partition | 16:08 |
sledges | you'll need to find them by mounting them | 16:08 |
sledges | mount /dev/mmcblk0pXX /mnt | 16:08 |
sledges | etc | 16:08 |
sledges | remember fixup-mountpoints - should give you a hint, so you don't need to mount all ~30 of them | 16:09 |
* sledges afk | 16:09 | |
klopsi-sdk | /ss # ls -l /ss/safestrap/rom-slot1/ | 16:09 |
klopsi-sdk | -rwxrwxrwx root root 272629760 2015-01-21 16:01 cache.img | 16:09 |
klopsi-sdk | -rwxrwxrwx root root 671088640 2015-01-21 15:56 system.img | 16:09 |
klopsi-sdk | -rwxrwxrwx root root 2147483648 2015-01-21 15:56 userdata.img | 16:09 |
klopsi-sdk | ok | 16:09 |
sledges | ah | 16:10 |
sledges | there it is | 16:10 |
sledges | system.img gets mounted | 16:10 |
sledges | but where are the kernels? does ss mount it, get the kernel out, kexec it, then goes ahead? | 16:11 |
sledges | try to mount system.img /mnt -o loop | 16:11 |
klopsi-sdk | ok i can now list /mnt | 16:12 |
klopsi-sdk | there is no /mnt/system | 16:13 |
sledges | /mnt is system itself | 16:13 |
klopsi-sdk | /etc/kexec: No such file or directory | 16:13 |
sledges | /mnt/etc... | 16:13 |
klopsi-sdk | oh duh | 16:13 |
klopsi-sdk | there is | 16:14 |
klopsi-sdk | arm_kexec.ko | 16:14 |
klopsi-sdk | atags | 16:14 |
klopsi-sdk | devtree | 16:14 |
klopsi-sdk | kernel | 16:14 |
klopsi-sdk | kexec | 16:14 |
klopsi-sdk | kexec.ko | 16:14 |
klopsi-sdk | ramdisk.img | 16:14 |
klopsi-sdk | uart.ko | 16:14 |
*** vakkov has joined #sailfishos-porters | 16:14 | |
klopsi-sdk | 4714268 2008-08-01 12:00 kernel | 16:14 |
*** filippz has joined #sailfishos-porters | 16:14 | |
klopsi-sdk | this is complicated! | 16:14 |
sledges | is it exact same directory that you see under cm? | 16:14 |
klopsi-sdk | dunno, would need to boot into cm | 16:15 |
sledges | boot | 16:15 |
klopsi-sdk | ok | 16:16 |
sledges | if 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 writeable | 16:18 |
klopsi-sdk | yes it is the same | 16:19 |
klopsi-sdk | ok i understand | 16:19 |
klopsi-sdk | afk a bit | 16:21 |
sledges | same | 16:22 |
*** vakkov has quit IRC | 16:37 | |
*** harha has joined #sailfishos-porters | 16:39 | |
*** vrutkovs has quit IRC | 16:40 | |
*** carepack has quit IRC | 16:41 | |
lbt | https://together.jolla.com/question/77616/whos-actually-coming-to-the-mersailfish-meal-at-fosdem/ | 16:56 |
sledges | lbt: thanks, but not got enough karma. care to put me in pls? | 16:58 |
sledges | (probably it's a good filtering for people anyhow :p0 | 16:59 |
lbt | you! | 16:59 |
lbt | bwahahaa | 16:59 |
sledges | ;D | 17:00 |
sledges | ok commented instead :p | 17:01 |
*** vakkov has joined #sailfishos-porters | 17:02 | |
*** keithzg has quit IRC | 17:02 | |
*** plfiorini has quit IRC | 17:05 | |
*** alin has joined #sailfishos-porters | 17:07 | |
*** alin has joined #sailfishos-porters | 17:07 | |
* sledges wonders if sailfish is on the menu | 17:12 | |
lbt | it's on the wall | 17:18 |
*** VDVsx has joined #sailfishos-porters | 17:22 | |
*** tanty is now known as tanty_off | 17:23 | |
*** klopsi-sdk has quit IRC | 17:27 | |
*** keithzg has joined #sailfishos-porters | 17:28 | |
*** filippz has quit IRC | 17:34 | |
*** r0kk3rz has joined #sailfishos-porters | 17:42 | |
*** Nokius__ has joined #sailfishos-porters | 17:48 | |
*** klopsi-sdk has joined #sailfishos-porters | 17:50 | |
*** Nokius_ has quit IRC | 17:51 | |
*** plfiorini has joined #sailfishos-porters | 17:56 | |
*** gogeta has joined #sailfishos-porters | 18:08 | |
*** beidl_ has joined #sailfishos-porters | 18:16 | |
*** beidl has quit IRC | 18:19 | |
*** gogeta has quit IRC | 18:24 | |
*** Sfiet_Konstantin has joined #sailfishos-porters | 18:33 | |
Sfiet_Konstantin | l | 18:35 |
Stskeeps | m00 | 18:35 |
*** piggz has joined #sailfishos-porters | 18:41 | |
tbr | möö | 18:41 |
piggz | baa | 18:42 |
*** faenil has quit IRC | 18:47 | |
*** furikku has quit IRC | 19:00 | |
*** cons10tin3 has joined #sailfishos-porters | 19:05 | |
kimmoli | >())*> | 19:07 |
*** alin has quit IRC | 19:08 | |
cons10tin3 | tried different version of gcc but still getting this error http://pastebin.com/Lxf61RE2 | 19:08 |
*** gogeta has joined #sailfishos-porters | 19:09 | |
*** vrutkovs has joined #sailfishos-porters | 19:11 | |
*** vrutkovs is now known as vrutkovs|home | 19:12 | |
*** beidl_ has quit IRC | 19:14 | |
*** beidl has joined #sailfishos-porters | 19:14 | |
*** piggz has quit IRC | 19:18 | |
*** piggz has joined #sailfishos-porters | 19:18 | |
*** Nokius__ is now known as Nokius | 19:20 | |
*** eleroux has joined #sailfishos-porters | 19:20 | |
mal- | syncing 10.1 to see if build based on that behaves any differently | 19:22 |
piggz | mal-: i was thinking of seing what a 12 build behaves like on the ace | 19:31 |
sledges | cons10tin3: 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 manifests | 19:33 |
sledges | mal-: and backporting?.. | 19:33 |
mal- | sledges: backporting what? | 19:34 |
*** klopsi-sdk has quit IRC | 19:34 | |
sledges | bionic patches if you are sing legacy xperia, or at least kernel/evice | 19:34 |
mal- | ok, I'll have to look into those | 19:35 |
mal- | have other people backported those to their devices? | 19:35 |
sledges | didt you do themwith cmww? | 19:36 |
sledges | i thougt you took legacyxperia | 19:36 |
mal- | yes, I took legacyxperia | 19:36 |
sledges | can't ever remember 11->10 case | 19:36 |
sledges | did you patch it? | 19:37 |
mal- | not the 11 | 19:37 |
mal- | that I used as it was | 19:37 |
sledges | hadk "Modifications" chapter | 19:39 |
sledges | ;) | 19:39 |
sledges | see our cm hybris-11.0 branches in the repo | 19:40 |
sledges | wonder what it prevented you of having apart from /dev/alog // log bits | 19:41 |
sledges | can't check now, im afk ;) | 19:41 |
mal- | but I only take the kernel and device from legacyxperia | 19:43 |
mal- | so I don't quite get why I would need to patch anyting | 19:44 |
*** cons10tin3 has left #sailfishos-porters | 19:44 | |
sledges | ok, i didnt know legacy experia offers only that | 19:44 |
sledges | and tht everyti g still works | 19:44 |
* sledges not studied legacyxperia ingeneral, not talking about its cm compstibility | 19:45 | |
mal- | the idea of that is to support older devices that are no longer supported by cm | 19:46 |
mal- | they keep patching the kernel and device parts to keep them working with cm | 19:46 |
sledges | very good then, you shall be backporting kernel/dvice only | 19:46 |
sledges | for 10.1 | 19:47 |
mal- | they branches ready fot that so I just need to add the correct configs | 19:47 |
mal- | damn the amount of typos I make | 19:48 |
*** klopsi-sdk has joined #sailfishos-porters | 19:48 | |
klopsi-sdk | just flashed hybris kernel and ramdisk | 19:49 |
sledges | yes, just in case you patched device for mer, sometimes happens for disabling jnneeded services | 19:49 |
klopsi-sdk | now run "adb reboot recovery"? | 19:50 |
klopsi-sdk | evening sledges | 19:50 |
mal- | I'll have to see what I have done, don't remember anymore | 19:50 |
sledges | amount of typos from garage with jolla phne :p | 19:50 |
mal- | I believe my keyboard is partially to blame, it seems to react less than it used to | 19:50 |
sledges | klopsi-sdk: just reboot | 19:50 |
sledges | you did alrradywhat you were about to do in recvery | 19:51 |
klopsi-sdk | oh i thought recovery already used the new kernel | 19:51 |
klopsi-sdk | my bad | 19:52 |
mal- | there is also a cm-12 branch in legacyxperia, but no builds based on that yet, at least not for my device | 19:52 |
sledges | klopsi-sdk: get used to o everyting through recovery in case you lock yourself out from cm soon | 19:53 |
klopsi-sdk | already happened lol but an interesting thing happened | 19:53 |
*** klopsi-sdk has quit IRC | 19:58 | |
*** piggz has quit IRC | 20:06 | |
*** klopsi-sdk has joined #sailfishos-porters | 20:07 | |
klopsi-sdk | very strange network problem. | 20:07 |
klopsi-sdk | usb0 interface was up with the same netmask as my wlan net | 20:08 |
klopsi-sdk | maybe the libybris-kernel is somehow set up do do usb-networking and xubuntu automatically set up an interface for it? | 20:10 |
sledges | ifconfig usb0 192.168.2.2 | 20:12 |
sledges | and those are really good news btw ;p | 20:13 |
sledges | just internal udhcpcd playing up | 20:13 |
sledges | no to worry now | 20:13 |
klopsi-sdk | er but my wlan is 192.168.2.* | 20:13 |
sledges | oooooh | 20:13 |
sledges | :D | 20:13 |
klopsi-sdk | do i need to change wlan subnet | 20:13 |
sledges | yes | 20:13 |
sledges | :D | 20:13 |
klopsi-sdk | mmm | 20:14 |
sledges | or add a route to 192.168.2.15 via usb0 instead | 20:14 |
klopsi-sdk | ok need to read up on that | 20:16 |
klopsi-sdk | forgot all my route commands | 20:16 |
sledges | um | 20:17 |
sledges | sudo route add 192.168.2.15 usb0 | 20:17 |
klopsi-sdk | well i never did this before | 20:17 |
sledges | ? | 20:17 |
sledges | :) | 20:17 |
mal- | there might be problems later when it changes ip | 20:18 |
klopsi-sdk | ok that worked | 20:19 |
*** piggz has joined #sailfishos-porters | 20:19 | |
klopsi-sdk | there is a problem when i ifconfig usb0 up, it creates a duplicate route entry for destination 192.168.2.0 | 20:19 |
klopsi-sdk | so i need to quickly remove that after bringing the interface up | 20:20 |
mal- | why do you need to bring it up manually? | 20:20 |
klopsi-sdk | cause i need to ifconfig usb0 down in order to chat here | 20:23 |
klopsi-sdk | reading... | 20:23 |
mal- | ok | 20:23 |
klopsi-sdk | but this means the kernel on droid 4 is running and issuing a dhcp address to my pc? | 20:24 |
sledges | you've just gotten yourself a linux box! \o/ | 20:24 |
klopsi-sdk | dhcp lease | 20:24 |
klopsi-sdk | heh 'o' | 20:25 |
klopsi-sdk | didnt know usb ethernet could be so automatic | 20:26 |
*** klopsi-u3 has quit IRC | 20:43 | |
*** klopsi-sdk has quit IRC | 20:43 | |
*** klopsi-u3 has joined #sailfishos-porters | 20:45 | |
*** klopsi-sdk has joined #sailfishos-porters | 20:45 | |
klopsi-sdk | ok routing fixed | 20:46 |
klopsi-sdk | i dont get a ping from 192.168.2.15 | 20:47 |
klopsi-sdk | but my usb0 interface automatically gets an address 192.168.2.20 when i ifconfig usb0 up | 20:48 |
sledges | ping .1 | 20:48 |
klopsi-sdk | unknown host .1 | 20:48 |
klopsi-sdk | oh ping 192.168.2.1 | 20:48 |
klopsi-sdk | destination host unreachable | 20:49 |
sledges | adjust route | 20:49 |
klopsi-sdk | 192.168.2.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0 | 20:49 |
klopsi-sdk | odd | 20:50 |
sledges | telnet 192.168.2.15 | 20:50 |
klopsi-sdk | Trying 192.168.2.15... | 20:50 |
sledges | telnet 192.168.2.1 | 20:50 |
klopsi-sdk | Trying 192.168.2.1... | 20:51 |
klopsi-sdk | telnet: Unable to connect to remote host: No route to host | 20:51 |
sledges | telnet 192.168.2.15 2323 | 20:51 |
sledges | eliminating the obvious | 20:51 |
klopsi-sdk | trying... | 20:51 |
sledges | anyway, ping should wotk | 20:51 |
sledges | did you change wlan subnet? | 20:52 |
klopsi-sdk | yes | 20:52 |
sledges | do the things with lsusb from hadk | 20:52 |
klopsi-sdk | ok | 20:52 |
klopsi-sdk | [121258.450129] usb 4-1: Manufacturer: Mer | 20:54 |
klopsi-sdk | [121258.450134] usb 4-1: SerialNumber: Mer | 20:54 |
klopsi-sdk | ah lsusb -v |grep iSerial doesnt show what it should | 20:56 |
sledges | you'll need to debug why | 20:57 |
sledges | https://github.com/mer-hybris/hybris-boot/blob/hybris-10.1/init-script | 20:58 |
sledges | extract ramdisk.img (with cpio) | 20:58 |
sledges | change init-script to add debug info (you can add i to where it sets to Mer, to add more info) | 20:59 |
sledges | recompress, reupload (via recovery) to a mounted system.img | 20:59 |
sledges | recompress via: find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz | 21:00 |
sledges | (rename files apropriately) | 21:00 |
sledges | rinse, repeat, have fun! | 21:00 |
klopsi-sdk | ok copying that to notes | 21:00 |
* sledges goes back to replacing breakpads | 21:00 | |
mal- | sledges: wasn't it telnet 192.168.2.15 23 first | 21:01 |
mal- | and later telnet 192.168.2.1 2323 | 21:01 |
sledges | yes | 21:02 |
klopsi-sdk | so close yet so far | 21:03 |
klopsi-sdk | at least i found out why i was timing out on my freenode connection all the time! :) | 21:03 |
RaYmAn | note 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 |
RaYmAn | oh I see in backlog, you do get a .2 address | 21:04 |
RaYmAn | nevermind then. | 21:04 |
klopsi-sdk | thanks anyway :) | 21:04 |
*** klopsi-s1k has joined #sailfishos-porters | 21:09 | |
*** klopsi-sdk has quit IRC | 21:09 | |
*** klopsi-s1k is now known as klopsi-sdk | 21:23 | |
klopsi-sdk | hmm i managed to get phone to reboot once with the libhybris kernel | 21:34 |
klopsi-sdk | but it doesnt want to reboot now.. long press of power button not doing anything | 21:34 |
klopsi-sdk | ok longer press worked | 21:36 |
*** carepack has joined #sailfishos-porters | 21:40 | |
mal- | now building sailfish image for cm-10.1, we'll see what happens | 21:43 |
klopsi-sdk | cool good luck! | 21:43 |
klopsi-sdk | do 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 those | 21:45 |
klopsi-sdk | okay | 21:45 |
mal- | but your kernel does work, init script just does not | 21:46 |
mal- | did you change the wlan subnet? | 21:47 |
klopsi-sdk | yes | 21:49 |
klopsi-sdk | also rebooted and tried again, just to be sure it wasnt a one-time glitch | 21:49 |
klopsi-sdk | but no response to ping .15 or telent | 21:49 |
mal- | what does ifconfig -a show? | 21:50 |
klopsi-sdk | with the Droid4 booted, it showed eth0, lo, usb0 and wlan0 | 21:51 |
klopsi-sdk | now i am in recovery mode trying to extract ramdisk.img to the PC | 21:51 |
mal- | does it report as the address for usb0? | 21:52 |
klopsi-sdk | 192.168.2.20 | 21:52 |
*** mispp_ has joined #sailfishos-porters | 21:53 | |
klopsi-sdk | ah i can just extract my local hybris-recovery.img-ramdisk.gz | 21:53 |
mal- | yes | 21:54 |
klopsi-sdk | then add this "init-script" thing | 21:54 |
vakkov | i have a ping 192.168.2.14 | 21:55 |
vakkov | but cant telnet 192.168.2.15 2323 | 21:55 |
klopsi-sdk | can you telnet to .14? | 21:55 |
vakkov | i telnet to .15 and can echo continue to the init | 21:56 |
klopsi-sdk | mal do you know what cpio command to use to extract hybris-recovery.img-ramdisk ? | 21:56 |
klopsi-sdk | cool | 21:56 |
*** Lipevakala has joined #sailfishos-porters | 21:56 | |
vakkov | sledges | 21:57 |
vakkov | echo "continue" >/init-ctl/stdin | 21:57 |
*** mispp has quit IRC | 21:57 | |
mal- | klopsi-sdk: no, but at least on my debian the default graphical archive manager knows how to handle that | 21:57 |
klopsi-sdk | found it | 21:58 |
klopsi-sdk | cpio -idv < hybris-recovery.img-ramdisk | 21:58 |
klopsi-sdk | cpio -idv < hybris-recovery.img-ramdisk worked | 21:58 |
mal- | vakkov: so you cannot connect after "continue"? | 21:59 |
*** Lipevakala_ has quit IRC | 21:59 | |
vakkov | mhm | 22:00 |
*** Lipevakala_ has joined #sailfishos-porters | 22:00 | |
vakkov | but something with the kernel i broken probably | 22:00 |
vakkov | it's a sony xperia miro btw | 22:00 |
*** Lipevakala has quit IRC | 22:00 | |
vakkov | sledges: are you here? | 22:00 |
*** Lipevakala has joined #sailfishos-porters | 22:01 | |
mal- | I have sometimes problems at that stage and replugging usb cable helps | 22:01 |
vakkov | the problem i guess | 22:02 |
vakkov | is that i cobined some cm code so that it builds against my cm10.1 tree | 22:02 |
vakkov | and i havent actually tested that code but directly tried to boot sfos ... i dont have recovery btw | 22:03 |
mal- | ok | 22:03 |
klopsi-sdk | mal-: i see no init-script in the ramdisk.img | 22:04 |
klopsi-sdk | i can create a new one called "init-script"? | 22:05 |
*** Lipevakala_ has quit IRC | 22:05 | |
*** Lipevakala_ has joined #sailfishos-porters | 22:05 | |
klopsi-sdk | hybris-recovery.img-ramdisk | 22:06 |
*** Lipevakala has quit IRC | 22:06 | |
mal- | klopsi-sdk: it called init | 22:08 |
klopsi-sdk | oh ok! | 22:08 |
mal- | klopsi-sdk: btw, did you try to replug usb | 22:08 |
klopsi-sdk | yeah did a reboot and replugged usb | 22:08 |
klopsi-sdk | hey, i will try a different cable, just to be sure | 22:09 |
mal- | i don't think that matters | 22:09 |
klopsi-sdk | ok | 22:09 |
klopsi-sdk | then nvm | 22:09 |
mal- | the problem usually happens later on anyway | 22:09 |
klopsi-sdk | ok have created hybris-recovery.img-ramdisk.gz | 22:13 |
klopsi-sdk | sudo adb push hybris-recovery.img-ramdisk.gz /mnt/etc/kexec/ramdisk.img | 22:13 |
klopsi-sdk | 115 KB/s (5908 bytes in 0.049s) | 22:13 |
*** gogeta has quit IRC | 22:14 | |
klopsi-sdk | rebooting with new init | 22:15 |
klopsi-sdk | argh now i dont see usb0 come up | 22:16 |
klopsi-sdk | oh wait, wrong boot procedure | 22:17 |
klopsi-sdk | hm no not wrong boot procedure | 22:18 |
klopsi-sdk | it shows black screen for a while and then reboots to the AP Fastboot Flash Mode | 22:18 |
klopsi-sdk | maybe i have a broken hybris-recovery.img-ramdisk.gz | 22:19 |
klopsi-sdk | yes i did | 22:20 |
klopsi-sdk | reuploading | 22:20 |
*** carepack has quit IRC | 22:22 | |
*** Tassadar has quit IRC | 22:25 | |
*** cxl000 has quit IRC | 22:28 | |
klopsi-sdk | hmm trying to boot to my new hybris-recovery.img-ramdisk.gz just reboots to the Fastboot Flash Mode | 22:28 |
klopsi-sdk | i made it worserer | 22:28 |
klopsi-sdk | oh i didnt chmod uog+x init | 22:29 |
klopsi-sdk | ok that didnt help either | 22:33 |
mal- | try to put the original back | 22:34 |
klopsi-sdk | ok | 22:34 |
*** mispp_ has quit IRC | 22:35 | |
*** mispp has joined #sailfishos-porters | 22:35 | |
klopsi-sdk | hmm | 22:36 |
*** eleroux has quit IRC | 22:47 | |
*** r0kk3rz has quit IRC | 22:55 | |
*** piggz has quit IRC | 22:58 | |
sledges | klopsi-sdk: better to operate on the known working one, ad hoc, like i told you before | 23:21 |
sledges | decompress, modify, compress | 23:21 |
*** cl_ has quit IRC | 23:36 | |
*** phdeswer has quit IRC | 23:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!