Wednesday, 2020-02-19

T42<elros34> hm?00:00
T42<edp_17> Hi. I am not sure the "dual" boot between sailfish and twrp will work.00:01
T42<edp_17> The reason is: on the S2, the kernel and twrp recovery is combined and flashed onto the kernel partition.00:02
T42<edp_17> The recovery partition is not used. Hence is not really easily possible to boot into a twrp from there.00:02
T42<edp_17> I have found a thread on the xda about dual booting on the S2. But that is about booting into two different android kernel (one from recovery partition and another one from the /boot folder on the sdcard), and not between a kernel an a recovery from the recovery partition.00:04
T42<edp_17> Probably this is the reason why the S2 cannot boot with the hybris-boot.img. Or I don't know.00:06
T42<elros34> I thought you are trying isorec way which use same kernel for android/sailfish and twrp. Then init script choose which initramfs use. Your kernel format has nothing to it00:08
T42<edp_17> Well, I tried yesterday then I stuck. Today I have found this dual boot option and I thought could boot between the twrp and sailfish. But this will not work. So I need to go back to the original plan: what you just described.00:09
T42<elros34> stuck at what?00:10
T42<edp_17> I don't know how I can put the sailfish kernel and twrp together into one.00:10
T42<edp_17> I stuck after I split the hybris-boot.img with the abootimg command.00:12
T42<elros34> use split_bootimg instead00:12
T42<edp_17> Yeah. You wrote to install 'android-tools-hadk-5.1.1+git3-1.2.3.jolla.i486' but I am not sure whether I can install this in the PLATFORM_SDK with zypper.00:14
T42<elros34> For sure it's already instaled unless you prepared fresh environment.00:15
T42<elros34> Why didn't you try to install it if it's really missing?00:16
T42<edp_17> I tried to run the command on the host not in Platform.00:16
T42<edp_17> Yes, indeed this exists in platform.00:16
T42<edp_17> Okay, I have split the hybris-boot.img. Now I have hybris-boot.img-kernel and hybris-boot.img-ramdisk.gz00:19
T42<elros34> gunzip it and you should have cpio archive00:21
T42<edp_17> Yes, I have now.00:21
T42<edp_17> I am sorry but I still don't see how I will have a combined kernel (kernel+twrp) from these all. Okay, now I have the kernel and ramdisk separated out from the hybris-boot.img but how will this help in what I would like to achieve?00:26
T42<elros34> Did you set correct initramfs_source in defconfig?00:28
T42<edp_17> I have changed it back to "/home/s2/mer/android/droid/out/target/product/i9100/obj/ROOT/hybris-boot_intermediates/initramfs"00:29
T42<edp_17> So, probably I need to set this to "source/usr/galaxys2_initramfs.list" and rebuild the hybris-boot.img and extract the stuff from there. Right?00:30
T42<elros34> set it to galaxy2_initramfs.list and make sure ramdisk.cpio points to your hybris-boot cpio
T42<elros34> and remove recovery.cpio entry as it will read it from your recovery partition00:33
T42<edp_17> Okay, so in here do I need to change the 'ramdisk.cpio' to 'hybris-boot.img-ramdisk'?00:39
T42<edp_17> Sorry for the delay just my pc is frozen while it is building the hybris-hal.00:40
T42<elros34> yes, in theory this should works00:43
T42<edp_17> Thanks. Guess I need to use the full path to the hybris-boot.img-ramdisk or need to copy the file into the folder where the ramdisk.cpio is located.00:45
T42<edp_17> I copied the hybris-boot.img-ramdisk into the out/target/product/i9100 folder. (That's where the ramdisk.cpio is located.)00:47
T42<edp_17> And now how will I have a flashable image with the kernel and twrp in there?00:49
T42<edp_17> No, this is not the correct location: out/target/product/i910000:50
T42<elros34> looks like relative path to kernel dir00:53
T42<edp_17> Should I keep the ../../hybris-boot.img-ramdisk or change to something else?00:57
T42<elros34> ... keep it and put that file in $ANDROID_ROOT00:58
T42<edp_17> Okay, it is there.00:59
T42<edp_17> And now? Should I rebuild hybris-hal or there is something else I need to do?01:02
T42<elros34> build it and flash finally01:05
T42<edp_17> Okay, but how will I get the twrp in it?01:05
T42<elros34> I don't know, same as in cm. I guess you need to hold some  volume or home key01:07
T42<edp_17> The build nybris-hal failed: 'File ../../hybris-boot.img-ramdisk could not be opened for reading'01:08
T42<edp_17> Probably it isn't the right place.01:08
T42<edp_17> Shouldn't I put it into the kernel root rather than $ANDROID_ROOT?01:09
T42<elros34> it just a path, use absolute path if can't figure out it01:10
T42<edp_17> I entered the full path: /home/s2/mer/android/droid/hybris-boot.img-ramdisk01:13
T42<edp_17> Back to the other question about the twrp. I understand how to start with the button combination but how the twrp will get on to the device? Should I flash that into the recovery partition?01:17
T42<elros34> obviously01:18
T42<edp_17> Okay, I have flashed the fresh hybris-boot.img to the kernel partition.01:19
T42<elros34> why hybris-boot.img? Your device don't use android bootimg01:21
T42<edp_17> Nope, it doesn't boot (stuck on the Samsung logo) I have flashed the file called kernel and it is booting into sailfish.01:22
T42<edp_17> Now I flash the recovery img to the recovery partition.01:23
T42<edp_17> I flashed the hybris-boot.img because I thought it would work.01:23
T42<edp_17> Another question. Which one should I flash to recovery partition, the or the extracted isorec-ramdrive.cpio.lzo from it?01:26
T42<edp_17> The answer is I needed to flash the isorec-ramdrive.cpio.lzo.01:28
T42<edp_17> Now it works. I can boot into twrp or sailfish. Big thank you for your patience and help! 😄01:30
T42<elros34> awesome :001:30
T42<edp_17> Now I can do backup/restore without the need of connecting to a PC and flashing kernel/twrp files.01:32
T42<meierrom> Nice guys! :)01:32
T42<edp_17> I have spotted a warning when was building the hybris-hal:  WARNING: found 2 modules in dependency cycles!01:35
T42<edp_17> ../../system/lib/modules/3.0.64-CM/kernel/drivers/bluetooth/hci_uart.ko in dependency cycle!01:35
T42<edp_17> and01:35
T42<edp_17> ../../system/lib/modules/3.0.64-CM/kernel/net/bluetooth_mgmt/bluetooth.ko in dependency cycle!01:36
T42<edp_17> I guess this is the reason why the bluetooth doesn't work.01:36
T42<edp_17> What is this dependency cycle?01:36
T42<elros34> dunno but it's warning so maybe it's not that important. Do you have those modules in your /lib/modules/`uname -r` and they are loaded (lsmod)?01:39
T42<edp_17> In there I have a lot including: bluetooth.ko and hci_uart.ko01:42
T42<edp_17> none of them are loaded01:42
T42<edp_17> The modprobe doesn't load any of them.01:44
T42<edp_17> When I try any of them with insmod, I get: "Unknown symbol in module"01:45
T42<edp_17> Of course! I flashed a new kernel but didn't transfer the modules.01:46
T42<elros34> dont use insmod01:46
T42<edp_17> Ok.01:46
T42<elros34> it's usually not needed to copy modules unless you change something important in kernel provided your `uname -r` stays same. modprobe has verbose mode, also dmesg should have information why it fails to load module01:48
T42<edp_17> Thank you. I will continue tomorrow. I would like to document what we were doing today then I'll go to bed.01:51
T42<edp_17> Thanks again and good night.01:51
T42<elros34> you can always find logs here:
T42<edp_17> Yeah, thank you. This is where I read conversations between you guys and electro575. 😉01:54
OksanaDoes anybody have an idea how to solve the issue of extremely quiet phone call volume on Fxtec Pro1? Music is fine, ringtone is fine, but interlocutor's voice is very quiet. And attempts to increase or decrease volume during a phone call have no effect whatsoever on loudness or quietness of interlocutor's voice rendered by Fxtec Pro1's speakers.04:11
T42Bella %lastname% was added by: Bella %lastname%04:31
T42<Cyyftidps> (Photo, 799x453) 需要请联系 @Ruunni09:54
T42<Cyyftidps> 1、非小号/mytoken关注惊爆价,5万个电报群/微信群群发推广炸群,电报群/微信群/Patato增粉,指定电报群私聊,twitter/facebook/Linkedin/YouTube加粉、点赞,电报群微信群Patato群水军聊天,中英文客服/KYC资料出售,币圈朋友圈广告,各类投票,机器人脚本定制,出售微信号twitter facebook,交易所国内人脸实名认证09:54
T42<elros34> Oksana: probably it will not help otherwise it would be already included but it's easy to test:
T42<Vvziupodhzh> (Photo, 799x453) 需要请联系 @Ruunni09:59
T42<Vvziupodhzh> 1、非小号/mytoken关注惊爆价,5万个电报群/微信群群发推广炸群,电报群/微信群/Patato增粉,指定电报群私聊,twitter/facebook/Linkedin/YouTube加粉、点赞,电报群微信群Patato群水军聊天,中英文客服/KYC资料出售,币圈朋友圈广告,各类投票,机器人脚本定制,出售微信号twitter facebook,交易所国内人脸实名认证09:59
T42<GrandChien> Hello, I'm trying to port sailfish into nexus 5x (bullhead) (just because dev.*.fi is broken, and doesn't work anymore) - any tips (or maybe location of already ported thing?) :)10:41
r0kk3rzits on porters ci i think10:51
T42<GrandChien> <r0kk3rz> and where can I find install zip and install procedure?10:53
malthe download artifacts links at the end of each line in the link I gave11:01
T42<GrandChien> T42 - thank you very much, I found it - what about installation procedure (I've got currently plasma mobile installed on it) - and another question, is it possible to upgrade it to recent version, via ota procedure (like sony xperia z3 tablet compact?)11:04
r0kk3rznot sure, it might be ok11:27
r0kk3rzyou can try11:27
T42<GrandChien> oh, T42 you're a bot :) sorry11:34
T42<GrandChien> r0kk3rz - do you know which version of lineage should I use, which version of twr etc?11:36
r0kk3rzlos 14.1 it seems11:37
T42<GrandChien> <r0kk3rz> and what about flashing initially to google android (now it's plasma mobile installed)?11:39
T42<GrandChien> (and I haven't got twrp now)11:39
r0kk3rzyeah put lineage 14.1 on first11:39
r0kk3rztwrp version shouldnt matter too much11:39
T42<GrandChien> but firstly I should install twrp or lineage?11:41
T42<GrandChien> (Ok, I know the answer :) ) , does twrp has a possiblity of install of sailfish, like multirom?11:50
T42<GrandChien> another problem, question  - On official los site, there is only 15.1 (for nexus 5x), is it okay or I must search for 14.1?12:19
T42<GrandChien> (ok, I've got 14.1)12:22
T42<edp_17> @GrandChien : if you need multirom you should search around whether that is available for your device. Even if it does, that still does not necessarily mean that will work with the roms you want to install.12:48
T42<GrandChien> no, I dont need multirom, but multirom has a feature "install sailfish easily" (I tried that on nexus 7 flo)12:49
T42<edp_17> Afaik plasma cannot be installed into multirom environment (at least on hammerhead).12:50
T42<GrandChien> I'm trying to replace plasma mobile with sailfish, just one system (sailfish)12:50
T42<edp_17> I would recommend to install twrp first, then los 14.1 and finally sailfish.12:50
T42<GrandChien> yes, I understand that - my question is - is it easy to install sailfish on twrp?12:51
T42<edp_17> Ok, I though you tried to keep that.12:51
T42<GrandChien> no, currently PlaMo doesn't support calls and texting - but when It will be possible, I can do distro hopping :)12:52
T42<edp_17> Yes, with twrp you can flash sailfish the same way (from a zip file) like any other rom.12:52
T42<GrandChien> but my phone doesn't have sd card slot - It will be possible?12:52
T42<GrandChien> and another question, any  special version of twrp (nexus 5x) or just the newest (los 14.1)?12:54
T42<edp_17> I wanted to try an older version plasma that supported multirom on my hammerhead, but couldn't find one file. Even with the wayback machine I couldn't get.12:54
T42<GrandChien> Yes I know, probably ubuntu touch times :)12:54
T42<GrandChien> (when plasma was based of ubuntu touch - with ability to make calls)12:55
T42<edp_17> Nexus 5 (hammerhead) doesn't have external sd. This is not problem for sailfish.12:55
T42<GrandChien> ok, what about twrp version? any, newest or special version?12:55
T42<edp_17> Well, on the twrp version I am not sure. You can try with the newest but what I found in my experience was the latest twrp wasn't always the best choice.12:58
T42<edp_17> What I would do, I'd check the twrp version at the time when los14.1 became available on that device and would use that one.13:00
T42<GrandChien> and twrp must be for my device specifically?13:01
T42<GrandChien> (stupid question, the answer is yes ;) )13:04
T42<edp_17> I'd hope so. :-)13:16
T42<edp_17> That's the big issue in the smartphone world. In terms of hw and drivers there is no standard like on the PC, just different solutions by the manufacturers. Hence almost everything is device specific (kernel, drivers, recovery, etc...)13:20
T42<GrandChien> yes, I know, and this awful android monopoly ;)13:21
T42<GrandChien> okay, I installed lineage, via adb sideload13:26
T42<GrandChien> should I now restart (I've got info "there is no os"13:26
T42<GrandChien> or now click install (this lineage, and then again adb sideload sailfish, and then again install)?13:27
T42<GrandChien> okay, lineage os installed - now it's time for saiflish, adb sideload sailfish (in twrp)?14:14
T42<GrandChien> I've got "Updater process ended with: Error 7"14:23
T42<elros34> probably buggy twrp's tar can't unpack sailfish. Try older version something around TWRP 3.0.0 or older14:27
T42<GrandChien> my version is twrp 3.1.114:28
T42<GrandChien> ok, I'll try14:28
T42<GrandChien> I installed 3.0.2 - but now, after entering the recovery mode, I've got only bootsplash teamwin, grey with blue fonts14:41
T42<GrandChien> twrp 3.1 works (it shows menu)14:59
T42<GrandChien> twrp 3.1 - still error 7, as well as in 3.2,  (3.0.1 and 3.0.2 shows only twrp bootsplash)15:08
T42<elros34> 2.8? check what excatly fails in twrp logs15:33
T42<edp_17> I got this errir 7 when tried to flash sailfish on my s7 with a too new twrp. Find a 2.8.7 version and try with that.15:33
T42<GrandChien> assert failed : get.prop (ro.product device )== bullhead || get prop ("
T42<edp_17> I have quickly checked what I done when I got the error. I was using twrp
T42<edp_17> Once I flashed los 14.1 but _before_ I flashed the sailfish image, rebooted into recovery and re-formatted the /data partition.15:37
T42<GrandChien> oh. should I try first format /data or 2.8.7?15:38
T42<edp_17> This helped me and after I was able to flash the sailfish image.15:38
T42<edp_17> Try with the current one first.15:38
T42<GrandChien> so format data?15:38
T42<edp_17> Yep.15:39
T42<GrandChien> so wipe/format data?15:39
T42<edp_17> Yes.15:39
T42<GrandChien> and then, without restarting adb sideload sailfish?15:39
T42<edp_17> It will/should remove encryption then you should be able to flash sailfish.15:40
T42<edp_17> Yes. I guess there is no difference between side loading and installing in twrp.15:41
T42<elros34> "assert failed : get.prop (ro.product device )" if thats really whole log then it can' t detect your device15:41
chenstHello. I would like to know if droidmedia is working in 64 bit mode for android 9?From my tests I was able to initialize it by disabling cfi for stagefright, but test application still crash lately with corrupted stack.15:41
T42<edp_17> @GrandChien : How is it going? Any luck?15:54
T42<GrandChien> after downgrading to 2.8.7 - stil the same error16:13
T42<GrandChien> assert failed: getprop ( == bullhead, getprop ( system) and (
T42<thegaganmalvi> @GrandChien [assert failed: getprop ( == bu …], what device are you flashing on?16:17
T42<thegaganmalvi> and what codename does the installer file say?16:18
T42<GrandChien> you mean in zip file?16:18
T42<GrandChien> or just filename?16:18
T42<thegaganmalvi> @GrandChien [you mean in zip file?], filename16:19
T42<thegaganmalvi> when you downloaded16:19
T42<GrandChien> bullhead16:19
T42<GrandChien> sailfishos-bullhead-release-
T42<thegaganmalvi> @GrandChien [bullhead], device also bullhead?16:19
T42<GrandChien> yes, nexus 5x16:20
T42<GrandChien> in this zip file, also bullhead16:21
T42<thegaganmalvi> @GrandChien [sailfishos-bullhead-release- …], Hmm, never seen such issues before :/16:22
T42<thegaganmalvi> on android we used to remove the assert part in the updater-script16:23
T42<thegaganmalvi> and then flash :P but I don't think we can risk that on SFOS16:23
T42<GrandChien> when a build is built on CI - it means it is working (for sure?) ?16:24
T42<GrandChien> ( I mean is it installable for sure)16:24
T42<edp_17> I always flashed the zip file not the
T42<GrandChien> yes, I opened it on my pc - I also flashing zip16:31
T42<edp_17> Yeah, I realized when I wrote tge message. 😂16:32
T42<edp_17> Did you flash twrp and booted into it?16:32
T42<GrandChien> yes, 2.8716:32
T42<GrandChien> and flashed los 14.116:32
T42<GrandChien> now it's booting - I'll try again (with sf) after it boot (los)16:33
T42<edp_17> And formatted /data?16:33
T42<GrandChien> I'll do that in a split second16:34
T42<GrandChien> now I've got "decrypt data" Enter password in twrp16:37
T42<GrandChien> (okay)16:38
T42<GrandChien> no, still "assert failed...") and then "unknown command [log], Updater process ended with ERROR=716:39
T42<GrandChien> (after formatting data, twrp 2.8.7, installed LOS 14.1)16:40
T42<GrandChien> (in reverse order ;) )16:40
T42<edp_17> Hmm. What os did you have on device before plasma?16:43
T42<elros34> how about you check what getprop returns so assert fails? BTW you must disable encryption16:46
T42<GrandChien> stock android17:02
T42<GrandChien> yes, I clidked cancel or sth17:02
T42<GrandChien> @elros34 [how about you check what getprop returns so as …], how can I do this?17:06
T42<elros34> type getprop17:13
T42<GrandChien> where?17:13
T42<elros34> in twrp use terminal adb shell to it17:17
T42<GrandChien> I'm in twrp17:18
T42<GrandChien> advanced>terminal?17:19
T42<GrandChien> okay, I've got adb shell17:22
T42<GrandChien> (on my pc), when twrp is running17:22
T42<Harryfisher> I can help you make $1500 on a weekly basis with $200 in your wallet17:22
T42<GrandChien> but "getprop" - not found17:23
T42<elros34> so  you dont have getprop in twrp or you just run it in your host system? Anyway you could just get rid of that assert from sailfish script or unpack sailfish manually17:32
T42<GrandChien> "adb shell getprop
T42<GrandChien> "17:37
T42<GrandChien> or "adb shell getprop"17:37
T42<GrandChien> when phone is connected via usb17:38
T42<elros34> Not sure from where geprop get its value in twrp but I guess from /system/build.prop17:43
T42<GrandChien> okay, now it's working - on android17:43
T42<GrandChien> (I mean getprop command)17:44
T42<GrandChien> but the output is very huge, what do you want to know exactly?17:44
T42<elros34> what did you change so now it works? Check your installation error about missing properties17:46
T42<GrandChien> added usb debugging in android17:48
T42<GrandChien> developer mode17:48
T42<elros34> but it fails in twrp, who cares about android. Why don't you just bypass this check. It would be much faster.17:49
T42<GrandChien> what check?17:51
T42<elros34> that one:  "assert failed: getprop ( == bullhead, getprop ( system) and (" like mentioned by thegaganmalvi17:53
T42<GrandChien> how can I disable it?17:53
T42<GrandChien> and I still have info about decryption twrp17:55
T42<elros34> so you still didn't formated data without encryption?17:55
T42<GrandChien> I didn't chose with encryption17:56
T42<GrandChien> so, twrp version is ok, and now format again?17:56
T42<GrandChien> install los?17:58
T42<thegaganmalvi> @elros34 [that one:  "assert failed: getprop ( …], you could probably kill the assert check by extracting zip, editing the updater-script to remove the assert and rezipping18:01
T42<GrandChien> okay, Is it important (information about decryption twrp)?18:03
T42<GrandChien> ok, what should I delete in updater-script?18:07
T42<edp_17> I would put back the stock android, remove the encryption and start over. It might be quicker and safer than what you are doing now. What do you think?18:08
T42<GrandChien> (
T42<GrandChien> stock los 14.1?18:09
T42<GrandChien> (sure)18:12
piggzmal: spiiroin: on the Pinephone, theupstream devs changed the defconfig to enable CONFIG_PM_AUTOSLEEP ... now, on sfos, i get these long 20 second hangs where it is trying to sleep and eventually gives up.  Apparently not happening on other distros.  What could we be doing? something in mce?18:18
T42<GrandChien> I don't know how encryption was started18:25
T42<GrandChien> ok, encryption is gone (I flashed again LOS 14.1)18:43
DylanVanAsschepiggz: mce uses wakelocks, I saw that issue too on older kernels. I never found the reason why, but with PM_AUTOSLEEP, it takes a long time to wake up indeed18:47
T42<edp_17> @GrandChien : So with one problem factor less. 👍18:54
T42<edp_17> Did the los14.1 boot up?18:55
T42<GrandChien> probably yes, didn't tried yet18:57
T42<GrandChien> should I try?18:57
T42<GrandChien> (I mean this image of 14.1 works on my 5x)18:58
T42<edp_17> You don't need to boot into los. Try to flash sailfish. (format /data before)18:59
T42<GrandChien> via "adb sideload sailfish*"?19:00
T42<edp_17> I would do it in twrp.19:01
T42<GrandChien> how?19:01
T42<GrandChien> (I'm currently in twrp)19:02
T42<edp_17> Tbh I have never installed anything with adb.19:02
T42<GrandChien> yes, but I should transfer into device, right?19:02
T42<edp_17> There should be an Install button on left at the top.19:03
T42<GrandChien> yes, but sailfish image .zip isn't yet on device (5x)19:03
T42<edp_17> Yes, you need to put sailfish*.zip somewhere on the device.19:03
T42<GrandChien> how can I do this in twrp?19:04
T42<edp_17> Okay, then copy over. With adb or connect the phone to pc and with a file manager.19:04
T42<GrandChien> what is the correct comamnd to to this via adb?19:05
T42<edp_17> My devices are mounted as a storage when I connect them to a pc when it is in twrp.19:05
T42<GrandChien> mine is not (KDE)19:05
T42<edp_17> From the pc: adb push _path-of-sfos-on-pc*.zip_   _ path-on-device_19:06
T42<GrandChien> yes, what path_on_device?19:07
T42<edp_17> The location where the zip file is.19:07
T42<edp_17> Sorry, the location where you will put.19:07
T42<GrandChien> yes, can it be "/"?19:08
T42<edp_17> I think yes19:08
T42<GrandChien> ok, it is in fastboot mode, not in adb19:09
T42<GrandChien> adb: error: connect failed : closed19:09
T42<GrandChien> or I mouted it on pc :-/19:10
T42<edp_17> Yes, sorry I forgot there is no adb in twrp.19:11
T42<GrandChien> so I should back to bootloader?19:11
T42<GrandChien> reboot into bootloader?19:11
T42<GrandChien> or boot into android, and then copy this via adb?19:15
T42<edp_17> Better idea. Boot into android, switch on adb debug flag, copy sfos*.zip, boot back to twrp and flas.19:16
T42<GrandChien> ok, what if los startup wizard enables encryption?19:17
T42<GrandChien> it can be possible (encryption)19:17
T42<edp_17> Possible, when you are back in twrp, do a format /data.19:18
T42<GrandChien> so it is encryption only /data?19:18
T42<edp_17> I think so.19:18
T42<GrandChien> (it can be)19:18
T42<edp_17> That's where your data is stored.19:19
T42<GrandChien> yes, I thought it is all, whole partitions - which means sailfish can't use it19:20
T42<edp_17> This is what I figured out when tried to flash an older sailfish on galaxy s7.19:21
T42<GrandChien> wait, if I copy sailfish,zip into /data and then format it - it wil be erased19:24
T42<GrandChien> correct me if I'm wrong19:25
T42<GrandChien> or /data is another partition (than I don't know, something I can see in dolphin)?19:29
T42<GrandChien> yes, but device is encrypted - i saw it on a menu19:33
T42<GrandChien> and it doesn't show on kde19:34
T42<GrandChien> I mean user partition19:34
T42<GrandChien> ok, wait :)19:35
T42<edp_17> What about if you do a factory reset in twrp and reboot into twrp? Can you see it in pc?19:36
T42<GrandChien> I've got something weird - usb is in charging mode19:36
T42<GrandChien> and I can change only transfer files, but on dolphin still "no memory card"19:38
T42<edp_17> Sorry I am off for a while. Later I am back and try to help.19:38
T42<GrandChien> okay :)19:39
T42<GrandChien> thanks for your big help19:39
T42<GrandChien> it is copied, via adb, into /19:44
T42<GrandChien> I think the whole partitions are encrypted :-/19:47
*** OhYash1 is now known as ohyash19:50
T42<GrandChien> now I've got remote couldn't create file: Read-only file system - by using adb push19:57
T42<GrandChien> I can't disable this encryption20:31
spiiroinpiggz: IIRC there was bug in kernel autosleep in some device. there was a fix for it too here, I'll try to recall who/what/where ...21:05
piggzspiiroin: thx ... kernel is stock 5.5 btw21:05
spiiroinpiggz: it was rinigus ->
KALUBEThink I have that bug - phone sometimes just doesn't wake up? And also seems to have pretty high battery drain when asleep21:09
riniguspiggz: that was when it was trying to sleep very frequently. i.e. coming back from sleep and going to sleep in few ms. that was failing as some processes actually started doing something. so, I've got large amount of suspend attempts with high failure rate. if it's the same for you, it may fix it21:11
spiiroinpiggz: discussion around
spiiroinit was something like a spree of failing suspend attempts, with autosleep - sounds kind of similar21:12
riniguscould be then.21:12
KALUBEI've just built a new kernel with CONFIG_PM_AUTOSLEEP=n and I'm going to see if that affects battery drain / if I encounter the phone struggling to wake up.21:14
KALUBEKind of new to this low level debugging - are there any logs I can check that could point to the cause here?21:14
spiirointhat bug/fix for it should not affect wakeup though ... how long delays you guys are seeing?21:17
spiiroinand what you mean by waking up? all the way to display on? or just resume?21:17
T42<edp_17> @GrandChien: I think what you can do is: boot into los14.1. Copy the files to somewhere to the internal storage. Boot back to twrp and use the built in file manager and copy/move those files to somewhere in the / (maybe create a new folder for them). Then do factory reset and try install sailfish.21:18
T42<edp_17> Somehow you need to get rid of encryption.21:19
T42<GrandChien> yes, I know that (about encryption) - what is the location of internal storage under twrp?21:19
T42<GrandChien> (I've got everything empty in file manager in twrp - sailfish*.zip is already on a internal storage21:20
T42<edp_17> I am not sure on that device, it might be /sdcard?21:20
T42<GrandChien> (the whole device is encrypted - I think)21:20
T42<GrandChien> and sdcard is empty, like any directory (twrp)21:21
T42<GrandChien> I can do a password in encryption (android) - but I think it won't work under twrp - and then sailfish21:22
KALUBEspirroin: I've had my phone just refuse to turn the screen back on. The notification LED changes when I press the power button which I suppose would imply that it is waking up just no screen on21:22
T42<edp_17> No, it won't.21:22
KALUBEPerhaps the issue is something else21:22
T42<edp_17> @GrandChien : Do you have Mount button/option in twrp?21:22
spiiroinKALUBE: if display does not wake up at all -> usual suspect kernel/mce/lipstick confusion over how it should be done. but that would be like it does not work at all.21:22
T42<GrandChien> and in android, security, there is encrypted - and I cannot change that21:23
T42<GrandChien> yes21:23
T42<edp_17> Which ones are ticked in there?21:23
T42<edp_17> Cache, System, Data, ...??21:24
KALUBEspirroin: it's only after the phone enters proper sleep mode I think - I haven't found a reliable way to reproduce it21:24
T42<GrandChien> I can select every, but there is no "mount" button21:24
spiiroinKALUBE: if it occasionally works... could be something like mistimed/failing brightness attempt. xperia 10 had stuff like that21:24
KALUBEnothing appears in logcat or journal when it happens though21:25
T42<edp_17> Tick all of them. There is no mount button because twrp mounts when you select.21:25
KALUBEoccasionally spamming buttons /  the tri state switch will cause the screen to turn on, or it just takes 15+ seconds to wake up21:25
spiiroinKALUBE: what device is it? mce version? frame buffer or drm gfx?21:25
KALUBEoneplus 6, not sure on those stats21:26
spiiroinmtk? qc?21:26
KALUBEqc, sdm84521:27
spiiroinKALUBE: one thing you can try if automatic brightness tuning works - cover the sensor/shine light in there -> if the problem is brightness adjustment failure this just might wake up the display21:28
T42<GrandChien> ok, what's next?21:28
T42<edp_17> @GrandChien : Now got to advanced/File manager (it twrp) and check whether you see any of the mounted partitions.21:29
T42<edp_17> By the way, did you have emmc in the Mount menu?21:30
T42<GrandChien> i've got init, initrc files in main directory21:30
KALUBEspiiroin: will check next time, display is amoled which is a shame. I think the more glaring issue is the battery drain with the screen off - it gets quite warm just sitting on my desk with the screen off21:30
T42<GrandChien> i don't have mount menu21:30
T42<edp_17> @GrandChien : Yep, that is the / where those files are.21:31
spiiroinKALUBE: nothing at all in journal sounds odd. the norm being that all devices are way too noisy about suspend/resume ;-)21:31
T42<GrandChien> yes, but where should be located mounted internal storages?21:31
T42<edp_17> @GrandChien : Do you have sdcard or emmc folder somewhere in the /?21:32
T42<GrandChien> no21:32
T42<GrandChien> sdcard - but it is empty21:32
*** Oksana_ is now known as Oksana21:32
T42<GrandChien> all the directories are empty21:32
T42<edp_17> Okay, then go back to twrp main menu and tell me what options you see.21:33
T42<GrandChien> all of them21:33
T42<GrandChien> (I mean main menu)21:33
spiiroinKALUBE: one relatively easy thing to do would be add "-v" to mce.service Exec line -> more info. might require adjusting journal burst logging limits (/etc/systemd/journald.conf or so)21:34
T42<edp_17> @GrandChien : Well, I am not sure you see the same there what I see here in mine, so please type the name of them here.21:34
T42<GrandChien> all of them?21:35
T42<GrandChien> install, wipe, backup, restore, mount, settings, advanced, reboot21:35
KALUBEspiiroin: will add that thanks, mce version is mce v1.104.2.1 by the way21:35
T42<edp_17> @GrandChien : Same here. What do you have in mount?21:36
T42<GrandChien> select partitions to mount, system, vendor, cache, OTG (inactive), mount system partition readonly (checked out) decrypt data, select storge and enable mtp21:36
T42<edp_17> Which one is ticked?21:37
T42<GrandChien> System, Vendor, Cache21:38
T42<edp_17> decrypt data? What's that? What happens if you tick that?21:39
T42<GrandChien> Enter password21:39
T42<GrandChien> but there isn't set any (in android)21:39
T42<edp_17> I see. Then go to main menu and into Wipe.21:39
T42<GrandChien> yes, and then?21:39
T42<edp_17> Then go to Advanced Wipe21:40
T42<GrandChien> okay21:40
T42<edp_17> What do so see?21:40
spiiroinKALUBE: that mce version should be recent enough i.e. not missing anything relevant vs latest21:40
T42<GrandChien> Dalvik Cache, system, data, Internal Storage, Cache21:41
T42<edp_17> Okay, select Internal Storage and Data then swipe to wipe.21:41
T42<GrandChien> are you sure?21:41
KALUBEspiiroin: will test again but it seems like the phone cools down while on charge and slowly warms up when on battery....21:41
T42<GrandChien> ok, what next?21:42
T42<edp_17> @GrandChien : You can re-flash the stock system if something goes wrong. I think this will remove encryption. However you'll lose everything from those storages.21:43
T42<GrandChien> I tried that already, earlier (nokia x something) - no luck21:43
T42<GrandChien> what next?21:43
T42<GrandChien> ( I mean I found this solution on the internet, nokia x, how to disable encryption)21:44
T42<edp_17> How do you mean no luck? What did happen when you selected those partitions and swiped to wipe?21:44
T42<edp_17> Okay, then select Internal Storage and Data then swipe to wipe.21:44
T42<GrandChien> initial setup (LOS) and then "device, encrypted"21:44
T42<GrandChien> what should I do now?21:45
T42<edp_17> You will not boot into LOS. Just reformat (wipe) them. Only those two (Data and Internal Storage)!21:46
spiiroinKALUBE: "standard" stuff to try out if it makes any difference: offline mode; stopping/masking services like sensorfwd (misbehaving sensors), rild21:46
T42<GrandChien> ok :)21:46
T42<GrandChien> but how can I now transfer
spiiroinalso check that it actually manages to suspend at least sometimes21:47
T42<edp_17> Once its done, please reboot into twrp.21:47
T42<GrandChien> okay21:47
T42<GrandChien> done21:48
T42<edp_17> Now go back to Mount and write what you see there.21:48
T42<GrandChien> okay, now the "decrypt" is gone,21:49
T42<GrandChien> Data and Cache is checked21:49
T42<edp_17> Cool! 👍 😃21:49
T42<edp_17> Now connect the phone to the PC.21:49
T42<GrandChien> It is already connected21:49
T42<edp_17> Remove the cable and connect again.21:50
T42<edp_17> Should pop up the storage on PC and you can copy the files.21:50
T42<GrandChien> yes but the Internal Storage is empty21:51
T42<GrandChien> wait, it should be, right?21:51
T42<edp_17> Of course, you just have wiped. 😄21:51
T42<edp_17> Copy the sailfish*.zip to there.21:52
T42<GrandChien> (doing it many hours ;) )21:52
T42<GrandChien> done21:53
T42<edp_17> Trust me I have went through on this about 100 times. Many times I thought I bricked my phone, but finally I always was able to fix.21:53
T42<edp_17> Cool. Now go to Install in TWRP.21:53
T42<GrandChien> I also like doing it, but this is the fist one with encryption21:53
T42<edp_17> Find the sailfish image and install.21:53
T42<GrandChien> great :)21:53
T42<GrandChien> zip file signature verification?21:54
T42<edp_17> Yeah, the encryption was brand new to me as I never used it on any phones.21:54
T42<edp_17> Do you have the verification file?21:54
T42<GrandChien> no21:54
T42<GrandChien> swipe to confirm flash?21:55
T42<edp_17> Then leave it blank, just swipe to install and wait21:55
T42<edp_17> Yep.21:55
T42<GrandChien> still, error 721:55
T42<edp_17> Oh well. Are you sure the sailfish image is correct?21:56
T42<GrandChien> I don't know, downloaded it from CI21:56
T42<edp_17> Can you give me the link where from you downloaded, please?21:56
T42<GrandChien> master passed, first and second one21:58
T42<GrandChien> (6 months ago)21:58
T42<edp_17> There are two from 6 month ago. Is it the one with job number: #273343779?22:01
T42<GrandChien> 99522:04
T42<GrandChien> last three digits22:04
T42<edp_17> Yes, that is the last one, you entered the pipeline number. Try to download the previous version with number #76032978.22:07
T42<GrandChien> 454?22:07
T42<GrandChien> still, error 722:10
T42<GrandChien> - there is no error 722:16
T42<GrandChien> Done!22:19
T42<GrandChien> it works :)22:21
T42<edp_17> Yes. 454.22:21
T42<edp_17> See, this is what I said.22:21
T42<GrandChien> 454 doesn't work, works22:21
T42<edp_17> Now you can try to OTA to a newer version or just use that one.22:22
T42<edp_17> Then, you can try to create your own port. 😉22:22
T42<GrandChien> thank you very much for help22:23
T42<edp_17> No worries. I am glad you finally got that.22:23
T42<GrandChien> I thought that the image is right, and something is wrong with my phone, encryption22:23
T42<GrandChien> (image from CI)22:23
KALUBEspiiroin: found the issue, I think rinigus' autosuspend patch should fix it. Phone repeatedly tries and fails to enter suspend after display off but get's prevented by eventpoll
T42<edp_17> As I said, I only got that error 7 when the /data was encrypted. But formatting that in TWRP has solved the issue. Seemingly in your case there was something with the image itself. Anyway, now you have something to play with.22:26
T42<GrandChien> yes22:26
T42<edp_17> Enjoy. 😄22:26
T42<GrandChien> and on the phone (I've got sailfish on sony xperia tablet too :) )22:27
malKALUBE: reverting the same commit that was reverted in sony x10 hybris kernel should fix eventpoll issue22:28
T42<edp_17> @GrandChien : So Sailfish is not new to you.22:28
T42<GrandChien> yes :)22:29
T42<GrandChien> I had it also on nexus 7 flo, but now there is ubports ;)22:29
KALUBEmal: can I grab a link to that commit?22:29
KALUBEmal: thanks, will test this out22:31
T42<edp_17> @GrandChien : I have tried UT, Firefox, LOS, PMOS and I think almost all available ones but I like Sailfish the most.22:31
T42<GrandChien> Sailfish has good sdk, but there is no design mode - and it's awful22:31
T42<GrandChien> PlaMo has nice apps, for music etc22:31
T42<GrandChien> UT has a good browser - and this in sailfish is awful22:31
T42<GrandChien> and PlaMo has newest QT - but aesthetically, sailfish is the best22:32
T42<edp_17> @GrandChien : Oh, I forgot to mention Repicant that I tried on S2. But I don't want to litter this topic with these. If you are interested we can continue this discussion on a different channel.22:34
T42<GrandChien> sure, sorry about OT22:35
T42<GrandChien> OTA just like on other devices?22:35
T42<GrandChien> (ssu release sth, zypper dup?)22:35
T42<edp_17> I don't mind but I thought we could stop before got warned. 😊22:35
T42<edp_17> Yes, OTA is that. You can try to upgrade if you want (you'll need to know the repos) because if it fails, now you can re-install it any time again. 😃22:37
T42<GrandChien> I don't have bluetooth now, will I have it after upgrade?22:37
T42<GrandChien> yes, by using image22:37
T42<GrandChien> :)22:37
T42<edp_17> Yep.22:37
T42<GrandChien> (Yep. about bluetooth ;) ?)22:38
T42<edp_17> I ma not sure whether that is sailfish related or kernel. Afaik the OTA doesn't update the kernel only apps.22:45
T42<edp_17> You may try to investigate why bt is not there.22:45
malpiggz: just pinging you also about the link I gave earlier for suspend issue22:45
T42<GrandChien> sure :)22:45
T42<GrandChien> sailfish looks amazing on phone :)22:46
T42<edp_17> On this page it says bluetooth doesn't work in sailfish on bullhead:
T42<edp_17> And camera either.22:47
T42<GrandChien> yes, but I read on xda-devel that works22:47
T42<edp_17> Although this info can be outdated.22:47
T42<GrandChien> or info about it on xda - wrong :)22:47
T42<edp_17> It says on 27/01/2017: "edit: latest 14.1 base out with fixed camera and booting" then "edit: alpha6 is out, sensors fixed, but camera is completely broken"22:49
T42<edp_17> You may try to contact m4r0v3r on xda and ask about an image where camera works. 😉22:49
T42<GrandChien> I don't care about camera, I want bluetooth :)22:49
T42<edp_17> Then ask about that. 😄22:50
T42Woodrow %lastname% was added by: Woodrow %lastname%22:51
T42<GrandChien> where is the best place to ask about creating apps in saiflish?22:56
T42<edp_17> I am not sure. Afaik some of the guys here are doing apps too not only ports. (That is also in my future schedule.)22:58
T42<edp_17> And you can ask around on tmo too. (
T42<GrandChien> I cannot understand doing visual things without design mode (in qt creator, Sailfish sdk)22:59
T42<GrandChien> I mean grid of four buttons 2x223:00
T42<GrandChien> (anki like app)23:00
T42<GrandChien> (if it is OT, okay :) )23:00
T42<edp_17> I think this topic is mainly about porting however I have seen some were discussing about their apps too. But I am afraid of with apps I cannot really help you.23:03
T42<GrandChien> sure, I understand that, your help was amazing :)23:03
T42<edp_17> Well, I cannot really help with porting either as I am very rookie in that area too.23:04
T42<GrandChien> I'm waiting for pinephone, without this whole android stuff :)23:04
T42<edp_17> Yeah, thanks but that was nothing about porting. 😉23:05
T42<GrandChien> what language, C++ or python?23:05
T42Lynn %lastname% was added by: Lynn %lastname%23:28

Generated by 2.17.1 by Marius Gedminas - find it at!