Sunday, 2019-10-06

T42<DylanVanAssche> Okay :) also the pixel ratio can be set as well in the rpm for testing. The covers are 1/4 of the screen :p The keyboard is like 1/2 of the screen :p06:23
T42<DylanVanAssche> @adampigg I was wrong, the pixel ratio is fine, the icons are too big :P06:57
T42<DylanVanAssche> However, for some reason, I can't force the orientation to landscape. I added the `default_allowed_orientations=15` though07:01
T42<DylanVanAssche> Works from Settings, but not from the quick actions thing07:01
T42<DylanVanAssche> * you can set it in Settings, but it's ignored07:02
T42<adampigg> Does the sensor work?07:11
T42<adampigg> Mine is booting but screen stays off07:12
T42<DylanVanAssche> No, there's something wrong with the sensor driver. It seems missing, even when compiled, needs further investigation. In the Qt5 Components app, orientation forced works. So it's probably the sensor that's doing difficult07:13
T42<DylanVanAssche> For the PineTab: pixel ratio = 1.0 and icons = z1.25 seems to be nice. z1.0 seems to be blurred and too small for the status bar. @adampigg can you verify this a bit? You ported more device than I :P07:15
T42<adampigg> Yes, sensor is needed iirc07:16
T42<adampigg> Do u know why my screen wont be turning on?07:16
T42<adampigg> Correct kernel boots i think07:17
T42<DylanVanAssche> Well did you compiled the right kernel? The pine64-kernel branch with pine64-defconfig.07:18
T42<DylanVanAssche> Also, make sure that you have the modules copied over. They are different than our previous kernel, especially display.07:18
T42<DylanVanAssche> If you done all that, a log would be nice07:18
T42<adampigg> Thats what i thought i did, i will denug more later, it was after midnight when i last tried :)07:22
T42<DylanVanAssche> Okay ;) After I did those things, it worked out of the box :)07:29
T42<adampigg> Typical :D07:31
T42<DylanVanAssche> Hahah :P07:32
T42<DylanVanAssche> Well, the PineTab has a battery drain issue due to the WiFi. Powersaving is broken atm in the driver :/07:32
T42<DylanVanAssche> Also charing is broken, the charger keeps turning on/off in SFOS. Works fine in Android07:33
T42<DylanVanAssche> However, that's broken as well in the PinePhone07:34
T42<adampigg> @dylanvanassche when your tab arrived,  what os was on it, and in what state?07:53
T42<adampigg> When mine booted on the serial console, it was a linux kernel, but you get a login prompt, but there was nothing on the screen07:54
T42<adampigg> @DylanVanAssche  journalonly says this about lipstick08:27
T42<adampigg> Jul 26 02:43:23 Sailfish systemd[4272]: Starting The lipstick UI...08:27
T42<adampigg> Jul 26 02:43:23 Sailfish lipstick[4426]: [W] unknown:0 - drmModeGetResources failed08:27
T42<adampigg> Jul 26 02:43:23 Sailfish systemd[4272]: lipstick.service: Main process exited, code=killed, status=11/SEGV08:27
T42<adampigg> @DylanVanAssche this looks important
vknechtpiggz, glad you like the share button :-) but why are you cutting your supercing ?08:37
piggzvknecht: its a french car it has holes!08:38
vknechtah, fixing rust damages ?08:38
vknechthow old is it ? 30, 35 years old ?08:40
piggzvknecht: 3008:41
vknechtimpressive, not sure when I last saw one here... but... does it run sfos ? :-)08:46
piggzvknecht: well, maybe it could witha  new head unit, but im torn between keeping it original, and upgrades!08:48
piggzinfact, it doesnt even have an ecu08:48
vknechtgo cyberpunk :-)08:48
piggzi did read that some models did have injectors ... i think they musy have been european only, never heard of them over here08:49
vknechtI hope finding parts is not too difficult08:56
piggzvknecht: no, seems fine so far, its in good condition...i had to make a new radiator fan brancket and fan though09:01
piggzwaseasier than buying a real one ... motor technology had improved in 30 years,its much smaller09:01
piggzmal: vknecht: does one on the X devices display portrait selfie pictures in the wrong orientation, in the gallery or viewer ?10:22
piggzworks fine on mido10:23
T42<DylanVanAssche> piggz: failed to bound message isn't happening on mine. Mine has Android on it and boots fine into that when no SDcard with SFOS is available10:26
T42<DylanVanAssche> I have also 2GB RAM :p10:26
T42<DylanVanAssche> The Android image is fine to run FB for example. Everything is working there10:27
T42<adampigg> i wonder if mine is faulty10:29
piggzmal: what enables the tablet-ui ?11:32
rinigusis there any order in filling up fixup-mountpoints?11:37
piggzi dont think so11:39
riniguspiggz: thanks!11:39
rinigusone more question (still have to check on aosp): if `ls -l /dev/block/bootdevice/by-name/` returns system_b -> /dev/block/sda52, do I fill sda52 or block/sda52 in the fixup-mountpoints?11:41
piggzrinigus: not sure, does this help
piggzthat is an a/b device11:43
riniguspiggz: I presume sony xz2 is also a/b device. do you have sdaXX in /dev or under /dev/block?11:49
vknechtpiggz, not tried on X yet, but on idol3 selfies seems flipped horizontally, both for portrait and landscape11:49
rinigus... when reading comment in the header of fixup-mountpoints, it sounds like map pointer should correspond to device under /dev11:52
vknechtstrange, bt worked on aosp8-based X after boot (tho file transfer failed), and failed again when stop-restarting it12:00
vknechton X it seems selfies in the viewfinder are flipped horizontally (unlike on idol3), and indeed in gallery there's a vertical flip12:08
vknechthas to do with the way the sensor is physically mounted/rotated, I guess ?12:15
T42<adampigg> Damn different phones!!!!12:45
T42<adampigg> Maybe we should use the page rotation,  and kill 2 birds with one stone by properly supporting portrait12:45
*** electro is now known as Guest764314:00
T42<DylanVanAssche> If you have only an accelerometer, you have only to set `GSensor=1` in the `hw-settings.ini` file of the CSD tool? Or any other switches in their?14:24
vknechthmm, is it up to the cam app to fill metadata ? seems pics/vid taken with jolla-cam have a bit more than those taken with pov16:28
vknechtat least for focuslength and flash16:31
mal@adampigg usually tablet ui is enable based on display size, not completely sure16:32
jellyponyHello everyone! Having problem then building android core. One of the problem is that "/boot (/data also) appears to live on...blablabla". I used fixup-mountpoints but it didn't help. What can cause it?17:54
vknechtjellypony, to clarify you could tell which device, what and how you're building, and which mod you made to fixup-mountpoints18:11
jellyponyXiaomi nitrogen (mi max 3). Following official hadk. Im using community's LineageOS 16. Device tree is here: . Building of an android base. Log: . fixup-mountpoints : . There is a problem with missing dependencies too, but i want to fix mounting first.18:36
maljellypony: btw, hybris-16.0 requires one extra step to build, official hakd pdf doesn't have it18:46
maljellypony: you need to run "hybris-patches/ --mb" before you run make hybris-hal18:46
malthe fixup probably wasn't the problem but that missing command18:49
*** jellypony1 is now known as jellypony19:36
T42<BusterBg_18> mal: I successfully built hybris16 for Xiaomi-Sirius and already fixed the config errors thrown by kernel checker19:37
T42<BusterBg_18> Is there another extra step before running build-packages?19:38
malyou might want to add these to your config repo, make sure you use the ones from that commit, newer versions have some changes which probably might not work without some other changes19:41
maljellypony: did you see my message about your build issue?19:44
T42<BusterBg_18> mal: build-packages fails at Middleware
malcd hybris/mw/ofono-ril-binder-plugin/ and then git reset --hard 1.0.6 and then rpm/dhd/helpers/ -b hybris/mw/ofono-ril-binder-plugin21:30
deathmist@BusterBg_18 cd hybris/mw/ofono-ril-binder-plugin/ && git reset --hard 1.0.7 && cd -21:30
deathmistxD that was quick, 1.0.7 works for me as well21:31
malok, probably works, 1.0.6 is in 3.1.0 release I think21:31
T42<BusterBg_18> Cool, that did it21:36
T42<BusterBg_18> Now nfcd-binder-plugin also failed21:36
deathmistsame thing, except reset to 1.0.421:37
T42<BusterBg_18> Another git reset I presume21:37
malin similar case a good way is to check the latest official changelog on tjc and check which version is listed there and do git reset using that21:38
maland if the package is not listed in the latest changelog the check earlier versions21:38
malof course channel logs often might be a quicker way to check those versions21:42
deathmist@BusterBg_18 you may want to bookmark if you don't want to setup a full local copy of the log archive ;)21:44
T42<BusterBg_18> deathmist: cool, thanks for the link, I used to do the lazy way of just searching on Telegram21:47
T42<BusterBg_18> One more thing, according to logs I should skip qt5-qpa-surfaceflinger-plugin, right?21:48
deathmistyep, most (if not all) new devices use hwcomposer21:48
T42<BusterBg_18> building packages was successful after reset --hard and skipping surfaceflinger-plugin now it's time for building the rootfs21:54
T42<BusterBg_18> But I have one question21:55
T42<BusterBg_18> Why didn't it asked me for straggler files?21:56
T42<BusterBg_18> I remember them being needed for xiaomi-kenzo/kate21:57
mal@BusterBg_18 there is something wrong now in droid-hal build, it doesn't seem to complain about straggler files anymore, need to investigate why22:06
malyou probably have to manually check the root folder somewhere under out/ for *_context files and add those to straggler files manually22:07
T42<BusterBg_18> Ok I'm going to try that, and after that I suppose I have to rebuild droid-hal22:09
jellyponyOh, mal, thanks a lot. Now it compiles but i still got a warning about improper boot and data mounting. Also a bunch of new ones. Cant figure out whats wrong :C Log:
jellyponyAs I said, I already used fixup-mountpoints script22:10
malhmm, wondering if the incorrect indentation in the line before "nitrogen" in fixup-mountpoint could cause issues22:24
*** juiceme is now known as Guest3875722:43
T42<BusterBg_18> mal: ok im at a loss, I cant find anything related to _context22:49
T42<BusterBg_18> everything thats under out/*/root
mal@BusterBg_18 ok, then you don't need those, you will probably need these: bt_firmware, dsp, firmware, persist23:07
T42<BusterBg_18> What happens if I add more like vendor for example?23:13
malI assume you have /vendor as a mount point already23:13
malin which case it shouldn't be in straggler files23:14
malsome of those are automatically ignored23:14
T42<BusterBg_18> Oh ok, it's just that on kenzo all of these were needed:23:16
T42<BusterBg_18> /bugreports\/d\/file_contexts.bin\/\/property_contexts\/sdcard\/selinux_version\/service_contexts\/vendor\23:16
T42<BusterBg_18> So that's where my doubts come from23:16
T42<BusterBg_18> But I will give it a shot23:16
malwell I think it might not be a problem if it's there, not completely sure23:17
malwhich device is that+23:18
T42<BusterBg_18> Kenzo? Or the one I'm currently working on?23:21
T42<BusterBg_18> Kenzo=Xiaomi redmi note 323:21
T42<BusterBg_18> Sirius=Xiaomi mi 8 SE23:21
maljust had a look at the fstab, /vendor is a mount point so probably you can skip it from that list for sirius but as the folder is empty it should be fine also the have it23:30
T42<BusterBg_18> Ok so I added the ones you said plus bugreports and d just to be safe23:40
T42<BusterBg_18> Currently redoing build_packages23:41
malyou only need to run " -d" if you do that kind of changes23:46
T42<BusterBg_18> Oh, I thought everything needed to be rebuilt23:46
T42<BusterBg_18> BTW what does -v builds exactly?23:47
T42<BusterBg_18> I don't remember tbh23:47
mal-v builds droid-hal-version rpms23:48
T42<BusterBg_18> I just know it's needed after -m23:48
malit depends on what you have changed to know what is needed to be built again23:48
malthose straggler files changes are just packaging things and won't affect anything else, if you edit config repo then you need to do -c23:49
malif you rebuild hybris-hal or do any other bigger changes to android side then you should build also middleware23:50
malI did once make a flowchart for those which would give some idea when to use what but I never made that public23:51
T42<BusterBg_18> That would have been useful for when I was doing kenzo, I just rebuilded everything whenever I changed something23:52

Generated by 2.17.1 by Marius Gedminas - find it at!