Sunday, 2018-08-26

merbotkimmoli: Error: "hello" is not a valid command.10:29
ghosalmartinmorning :)11:19
ghosalmartinhmm if i build bootimage by it self it breaks, but it completes as part of there a chance hybris-boot is actually failing silently?11:59
ghosalmartinmal: when you disabled selinux in system/core. did that stop the relience on libsepol?12:01
malghosalmartin: are you sure you have the correct busybox, i.e. the prebuilt one used for android 812:05
ghosalmartinis that now required :P12:05
malghosalmartin: check external/busybox to see which one you have12:05
malmanifest has it correctly but not sure if your repo has been synced12:06
ghosalmartinmal: 32bit one. i synced using the hybris-15.1 manifest?12:06
malso that points to mer-hybris/android_external_busybox_prebuilt ?12:06
malI mean the local copy12:06
ghosalmartinmal: yes12:06
ghosalmartinam just trying to build a boot android kernel first12:07
ghosalmartinmal: also theres some weird thing with the pixel phones that the recovery is in the same partition as boot12:10
malghosalmartin: also some older sonys had recovery built into the kernel12:11
malnot sure about newer sonys12:11
ghosalmartinmal: hmm wonder why their moving to this kind of arch. it seemed much cleaner just having a separate partition12:11
ghosalmartincould be that they want 2 boot partitions and 2 systems partitions for completely seamless OTA12:12
malghosalmartin: sorry that I haven't made the test build yet for your device, I have some issues with disk space, I can only have out folder of one build at the time12:15
ghosalmartinmal: its alright, this is a new device :P12:15
maloh, not the same annoying one12:15
ghosalmartinpretty much :P its the Pixel Xl this time12:16
malwondering if I should rebase hybris-15.112:16
ghosalmartinthink its outta date?12:20
malprobably not too much but can't be sure, hybris-15.1 was based on r26 but lineage now uses r43 aosp as base12:21
ghosalmartinmal: ahh i dont mind rebasing it, got some spare time today12:21
ghosalmartinits complaining about some libsepol things when attempting a build, so could be relate12:22
malghosalmartin: need to think how to handle that, a rebase or merge, rebase is cleaner probably12:22
ghosalmartinrebase is always cleaner. i actively avoid merging nowadays unless others12:23
malghosalmartin: for me the rebase is easier as I can just force push the branches :)12:23
ghosalmartinthere is that :P12:24
ghosalmartinmal: what would be the easiest way to get the changes in? make them on a fork and get that taken in?12:31
malthen it would be a merge12:32
ghosalmartinlike this
ghosalmartinbut isnt there a rebase option when selecting the merge?12:33
ghosalmartinalways been curious if that button actually doesnt anything useful12:34
ghosalmartinyeah seems to work okay according to this quick test
r0kk3rzyeah there is, i think i tried it once12:40
ghosalmartinit seems to work well. but am curious how itd work in a large team 8-10 people12:43
ghosalmartinwould we start to get some crazy conflicts coming in from it. am trying convert the team to rebasing...still :P12:43
ghosalmartinalso anyone know what happens if /boot isnt declared inside the fstab? do I just add an entry?12:44
MikaelaT4 is now storing Telegram attachments for 24 hours, but I cannot make any stability or uptime or anything promises, I am not paid for this or anything, and I may not be able to remove confidential accidental uploads immediately, so please refrain from making those.12:47
ghosalmartini have a nice rebasing script that pulls in all the appropriate remotes, and pushes to mine after its done12:56
ghosalmartinthe only limiting factor is now my internet speed :P12:56
echo_salikhi mal12:57
echo_salikhi r0kk3rz12:58
malghosalmartin: nice12:58
echo_salikhow are you...12:58
ghosalmartin boom12:59
ghosalmartinif you have no conflicts its a slam dunk12:59
malnot very well, almost getting a headache today also and now I need to go and complain about a harddisk to a store, it broke down completely yesterday and it still has warranty13:00
ghosalmartinhopefully no data loss13:01
echo_salikaww... good luck...13:01
malghosalmartin: that was part of a raid 5 setup so should be fine13:05
malghosalmartin: if that would have been without raid then all data would have been lost, it doesn't even detect properly anymore13:06
ghosalmartinmal: ahh good good, raid never ceases to amaze me13:07
ghosalmartinmal: before i open the prs, would using githubs rebase be a good way to handle the rebase to latest lineageos? if so all rebased and ready to merge13:18
ghosalmartinor wanna test em first :P13:18
malI'll have a look and discuss with others13:19
ghosalmartinokays :)13:19
ghosalmartinbtw the hybris-boot-part. is that actually required to boot to stage 1?13:21
malwhich one?13:21
ghosalmartinwhen building hybris boot its searching for /boot. is that required to get to telnet. or is that only for systemd?13:23
ghosalmartinthis error ./hybris/hybris-boot/ error: There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART.13:23
ghosalmartinHYBRIS_BOOT_PART doesnt have a /boot in the fstab for whatever reason13:23
malon one device I added /dev/null as /boot in fstab
ghosalmartinthat looks perfect ta :)13:26
ghosalmartinboom am into telnet by disabling dm-verity13:41
ghosalmartinwoop woop :D13:41
ghosalmartinshame hte same didnt work with the mi mix 2, but ah well13:42
ghosalmartinalthough it might be worth a shot, they both use the same hybris-15.1 codebase13:43
ghosalmartinCONFIG_VT strikes again breaking yet another kernel14:39
malghosalmartin: easy warranty change, I got a new disk right away14:43
ghosalmartinmal: thats good. its nice when stores just sort it14:43
r0kk3rzghosalmartin: you have all the luck15:15
ghosalmartinr0kk3rz, who knows it may get better :P15:17
r0kk3rzor worse :)15:19
ghosalmartinwell atleast this device theres something to work with15:22
ghosalmartinmal, is the current method of reaching ui just using the qpa-surfaceflinger plugin?17:04
malghosalmartin: just building the plugin and changing the conf17:05
malghosalmartin: assuming everything else is ok17:05
Mister_Magisterwhatcha doing guys?17:05
ghosalmartinmal: awesome :) thanks. am currently hoping CONFIG_VT isn't all that important17:05
malghosalmartin: for 15.1 you need some things in config repo17:05
ghosalmartini can get to first stage kernel fine now17:06
ghosalmartini guess next battle of rootfs17:06
ghosalmartinMister_Magister, that Pixel XL17:06
Mister_Magisterghosalmartin: oooohh with android8 right?17:06
ghosalmartinMister_Magister, yahh, its to new for cm14 job17:07
Mister_Magisterghosalmartin: you are using cm as a base?17:08
ghosalmartinMister_Magister, nah lineageos17:08
malghosalmartin: to get everything working on 15.1 needs some magic things and unmerged stuff17:08
Mister_Magisteryeah i mean ln xD17:08
Mister_Magistermal: likeā€¦ everything?17:08
ghosalmartinmal: for now think id settle for a pulse...and i dont mean pulseaudio :P17:09
Mister_Magister100% everything?17:09
malwell most things can be done: audio, calls, wifi, gnss and camera are all possible17:09
ghosalmartinmal: oh yeah did you get a chance to try out the bt through bindeR?17:10
malsensors also, depending on which method it uses17:10
malghosalmartin: not yet, I should try that, I did some testing to see I can get nfc working17:10
malno luck with nfc yet though17:10
ghosalmartinwill we need nfc in sfos in the future? :P17:10
malI think it should not be too difficult, just that in android kernel the drivers don't use the linux way for communicating with userspace so we might need some custom middleware/Qt plugin17:12
malother option would be to change the driver in linux17:12
ghosalmartindont we need that for everything :P17:13
malghosalmartin: can you check if your device has old style android hal for sensors or does it use the new hidl interface already?17:14
ghosalmartinmal: how would I do that?17:14
malcheck if it has some sensors*.so in some android lib folder17:14
ghosalmartinhmm according to this no
ghosalmartinbut i need to take a proper look at the device i htink17:15
ghosalmartinah mal is this the one libsensorservicehidl.so17:17
malghosalmartin: you should see something like android.hardware.sensors@1.0-impl.so17:20
Mister_Magistermal: btw how ya feelin today17:20
ghosalmartinif this port works am defo buying a sailfish to put sailfish on it :P17:20
malMister_Magister: not very well, had some small headache most of the day17:21
Mister_Magistermaybe not enough water?17:21
Mister_Magistertry drinking more :P that helps with headache17:24
malit's just bad sleeping17:24
malI had it since I woke up17:25
ghosalmartinanyone figured out an easy way to clone projects on obs?17:27
ghosalmartinor do I just checkout one with osc and then push to another?17:27
malghosalmartin: osc copypac?17:29
malI just have bunch of those for syncing devices17:30
ghosalmartinmal: yeah I remember trying a script with that and a for each but had some weird errors17:30
malghosalmartin: in case your device only has the hidl interface for sensors then I can create a sensorfw version for you, I know now quite well how to use the libgbinder so I can probably add the support in a couple of hours17:49
ghosalmartinmal: ahh I see, for now lemme get it up and running first :P i havent even finished building hybris-hal yet17:50
guhlhi, does somebody have experience with assemble_vintf failing when building hybris-hal on hybris-15 ->
guhlsomehow it does not know where the kernel sources are19:33
ghosalmartinguhl, yooo21:26
ghosalmartinwere you been :P21:26
ghosalmartinhow did you get mi mix 2 to boot21:26
ghosalmartinive been tryna get it working with the latest lineageos but CONFIG_VT seems to corrupt the kernel to bits21:27
ghosalmartinmal: when building libhybris for 15.1 was anything special required? its complaining it cant find sync.h but its in the devel?21:30
ghosalmartinmal: ta :)21:37
malghosalmartin: you'll also need these
malnot related to libhybris but you still need those at some point21:41
ghosalmartinmal: well fingers crossed I make it far that tonight :P21:42
malbetter add those now before you build the first image21:42
malalso don't forget detritus package from patterns21:42
guhlghosalmartin, hi21:49
malghosalmartin: I probably should write the 15.1 porting instructions somewhere so I don't have to tell everyone separately21:49
ghosalmartinguhl, been waiting a while for you :P how did you get he mi mix 2 to boot with a broken config_vt? :P21:50
ghosalmartinmal: guess a piratepad never hurt anyone :P21:50
malghosalmartin: I'm see if I manage to wrtie something this week21:50
guhlhave been totally covered with work, some times i have to abandon everything because of work21:50
ghosalmartinguhl, ah fair enough :)21:51
guhlyou are working on the chiron?21:51
guhlmal that would be very nice21:52
ghosalmartintrying to. ive just managed to drain the battery and get it stuck in a boot loop on a dead kernel bleurgh21:52
ghosalmartini started some work but on the latest kernel CONFIG_VT seemed to just nuke the kernel to the point where I had to do a clean and rebuild21:53
ghosalmartinbut that could of been some issue with dm-verity. device won't boot to test :P21:53
guhli just restarted the work based on LOS 15.121:55
ghosalmartinah it just needed a decent charger21:55
ghosalmartinguhl, can you get to telnet?21:55
guhlcurrently working on the mer friendly kernel21:56
guhlnothing to boot yet21:56
guhlit took me ages to get my old LOS 14 based to build to boot so that i could telnet into it21:58
ghosalmartinwell if it reboots instantly disable CONFIG_VT, if it takes a bit longer...duno :P21:59
malghosalmartin: it seems you need to fix libhybris a bit, the spec needs some small fixes for hybris-15.122:09
ghosalmartinmal: yeah i noticed, shouldnt be too hard but am all excited by the mi mix 2 device now :P22:10
ghosalmartinafter I unplugged and replugged usb it rebooted oops22:11
guhldo you have any function enabled of the config_fs22:13
ghosalmartinguhl, yes, hybris-boot latest master has config_fs. am trying your specific configfs flags now22:15
guhli mean in the kernel config22:17
guhlas it says: Config c/1 of g1 needs at least one function.22:17
guhlconfigfs-gadget a800000.dwc3: failed to start g1: -2222:17
ghosalmartinlike CONFIG_USB_CONFIGFS_UEVENT?22:18
guhllike CONFIG_USB_CONFIGFS_F_FS=y22:21
guhli am currently struggling with the rndis function22:21
ghosalmartinwell all of them were enabled when I attempted that22:22
ghosalmartinguhl, some success22:23
ghosalmartintelnet is up22:23
ghosalmartintoday has been very productive it seems :P22:26
ghosalmartinguhl, CONFIG_USB_CONFIGFS_F_GSI is the one breaking hte rest22:36
malhmm you need such strange usb changes, I only needed some simpler things22:40
ghosalmartinmal: tbh i can disable most of those and it still works fine22:46
ghosalmartinam just tryna be like a bull in a china shop...but not knock too many things over. its been months with this device not booting :P22:47
guhlthats the same i also had in the config for the LOS 14 build22:48
ghosalmartinthanks to this device and the pixel xl both being hybris 15.1 i can try and do both at the same time22:49
guhli am looking forward to seeing the wifi and modem coming up :-)22:49
ghosalmartinam determined now to make this device my daily driver :P22:50
guhli would be more than happy my jolla c is falling apart22:51
ghosalmartinmy X is actually doing pretty well...but i never bothered glueing the back on when I took it off and now it randomly falls off :P22:51
guhli just inherited a Z3C from my wife (where the back also falls of) might also be a nice device22:53
guhlwhen i try to build with the config_usb flags like this the kernel build fails with22:55
ghosalmartinoh another thing, the SELINUX_BOOTPARAM config has been breaking on my Pixel XL when I enable it22:56
ghosalmartinthats fully building and conforms to friendly mer22:56
ghosalmartinand runs22:56
guhli'll grab it22:58
guhlshould we somehow join the effort and not have two separate github repositories?23:01
ghosalmartinguhl, possibly :P23:03
ghosalmartinive added you as collab23:03
ghosalmartinguess ill just have to remember to branch off hybris-15.1 and stop force pushing :P23:04
ghosalmartinhmm i updated my sdk and ubu-chroot has gone :/ everytime I get close to anything porting this happens :P23:06
guhlk, we'll talk about that, today i have to hit the sack.23:07
ghosalmartinnight man23:07

Generated by 2.17.1 by Marius Gedminas - find it at!