T42 | <BusterBg_18> DHI does finish, gets killed tho | 00:01 |
---|---|---|
r0kk3rz | show journal | 00:03 |
T42 | <BusterBg_18> https://del.dog/liculelycu.txt | 00:14 |
T42 | <BusterBg_18> And my strace of hwcomposer | 00:16 |
T42 | <BusterBg_18> I notice enter in a loop of nanosleep | 00:16 |
T42 | <BusterBg_18> https://del.dog/cickeninge.txt | 00:18 |
r0kk3rz | sort through those init errors before going anywhere near hwcomposer | 00:20 |
T42 | <BusterBg_18> I hate to be that kind of guy but can you help me? This is proving to be a lot harder than hybris-14.1 | 00:44 |
T42 | <edp_17> Just in case somebody would like to check. Here is my 'systemctl list-units -t service --all': https://pastebin.com/1ffwAzq3 | 00:48 |
T42 | <edp_17> It is interesting because I did the 'systemctl list-unit-files' and it says system.mount state is disabled. | 00:49 |
T42 | <edp_17> How can I change this to enabled? | 00:49 |
r0kk3rz | systemctl enable system | 00:52 |
r0kk3rz | but thats fairly weird | 00:52 |
T42 | <edp_17> I have loads of them disabled. | 00:53 |
r0kk3rz | double check your fixup mountpoints then | 00:53 |
T42 | <edp_17> And the 'systemctl enable system' doesn't return the prompt. Seemingly it cannot enable the system service. | 00:54 |
T42 | <edp_17> yeah, the droid-hal-init.service is also disabled. | 00:55 |
T42 | <edp_17> The previous output of systemctl list-units -t service --all was not the final because I deleted all *.mount files and only kept the system.mount. (As Elros suggested.) As it didn't make any difference and /system is not mounted I put all .mount files back. Here is the systemctl list-units -t service --all: https://pastebin.com/7t7Rqmc | 01:07 |
T42 | f | 01:07 |
T42 | <edp_17> and the systemctl list-unit-files: https://pastebin.com/4h0Pi2iA | 01:07 |
T42 | <edp_17> dbus.service is failed. When I do a 'systemctl status sshd.service', I get: https://pastebin.com/y9bMSuhH | 01:24 |
r0kk3rz | i think you should rebuild your image and go from there | 01:41 |
r0kk3rz | make sure you're using the right env vars, since you also did some nexus5 stuff | 01:42 |
T42 | <edp_17> You are probably right. I have just deleted and created from scratch the rpm, hybris/droid-configs and hybris/droid-hal-version-herolte sub modules. | 01:51 |
T42 | <edp_17> Hope this will be enough to rebuild an image that boots up. | 01:51 |
r0kk3rz | it wont, but with any luck it might break somewhere else | 01:52 |
r0kk3rz | for good measure take note of all the steps you do | 01:52 |
T42 | <edp_17> I pushed these new sub modules into github. As the hadk suggested. This also fixed the broken dhd url there that I mentioned to Elros yesterday. | 01:54 |
r0kk3rz | yes double check those things | 01:54 |
r0kk3rz | whats your git repo? | 01:54 |
T42 | <edp_17> Now, there is no copied over blobs from hammerhead. Only the pure code that hadk added. So, fingers crossed. | 01:55 |
T42 | <edp_17> These are the repos: | 01:56 |
T42 | <edp_17> https://github.com/edp17/droid-hal-herolte | 01:56 |
T42 | <edp_17> https://github.com/edp17/droid-config-herolte | 01:56 |
T42 | <edp_17> https://github.com/edp17/droid-hal-version-herolte | 01:56 |
T42 | <edp_17> The new stuff I have done are in the master. (There is an edp17 branch but ignore that!) | 01:56 |
r0kk3rz | i would make new repos using the method in the hadk rather than forking old ones | 01:57 |
T42 | <edp_17> I tried but when I wanted to push, git was moaning about the repo didn't exist. So I decided to fork an existing one and push my stuff into it. (I had to start learning git too, that is too kind of new to me.) | 01:59 |
T42 | <edp_17> Yeah, so many things I have already learnt so far during my hammerhead build and much-much-much more still to learn to complete this S7 then my planned next one. :) | 02:01 |
r0kk3rz | yeah git has its own learning curve | 02:02 |
T42 | <edp_17> :) I feel it on my own skin, if you know how I mean. :) | 02:03 |
T42 | <edp_17> To avoid confusion, I have deleted the edp17 branches from those repos. | 02:04 |
r0kk3rz | good | 02:05 |
T42 | <edp_17> The packaging is running... Fingers crossed. | 02:10 |
T42 | <edp_17> Do you know whether the S7 is a Broadcomm device? | 02:11 |
r0kk3rz | for bluetooth? no idea | 02:23 |
T42 | <edp_17> The reason I am asking is the hadk-faq. https://github.com/mer-hybris/hadk-faq/blob/master/README.rst#broadcomm-devices-android-7-lineage-14-1-or-older | 02:24 |
T42 | <edp_17> I am not sure whether I need to apply these or not. | 02:24 |
r0kk3rz | ignore that for now | 02:24 |
T42 | <edp_17> Well, currently I am far from this, but hopefully I'll get there. | 02:25 |
T42 | <edp_17> Yeah, I know. I am just forward thinking. | 02:25 |
T42 | <edp_17> You know the hope dies out the last. :) | 02:25 |
T42 | <edp_17> The build has finished without error. Now I am pushing to the device, flashing and trying to boot. | 02:27 |
r0kk3rz | looks like it does indeed have a broadcomm bt interface | 02:28 |
T42 | <edp_17> Thank you for checking. How did you look for that? I googled it but didn't find. :( | 02:29 |
r0kk3rz | things like that will be part of the android device repos | 02:31 |
r0kk3rz | theres configs and make files and all kinds of clues in there as to what the device actually has | 02:32 |
T42 | <edp_17> I see. Thanks. | 02:32 |
T42 | <edp_17> Now I flashed this new one to my S7 and it is doing the same thing. Stuck on Samsung logo, no mac, no IP, no /system. | 02:33 |
T42 | <edp_17> 😭 | 02:33 |
T42 | <birdzhang> you really shoule check fixup mountpoint | 02:34 |
T42 | <birdzhang> ^should | 02:34 |
T42 | <edp_17> Hi Bird Zhang. | 02:34 |
T42 | <birdzhang> boot to android, and do HADK 5.3 part | 02:36 |
T42 | <edp_17> I have added the necessary mount points into hybrys-boot/fixup-mountpoints but I agree, it is time to double check those. 👍 | 02:41 |
T42 | <edp_17> Thanks. | 02:41 |
r0kk3rz | show us what you got | 02:41 |
T42 | <edp_17> This is what I have for herolte in fuxup-mountpoints: https://pastebin.com/Jj7fVTnc | 02:43 |
T42 | <edp_17> It seems right to me. The /system is on sda14 indeed. | 02:43 |
r0kk3rz | check the first part as well | 02:45 |
T42 | <edp_17> first part? | 02:45 |
r0kk3rz | do you know what this script does? | 02:46 |
T42 | <edp_17> No, not really. | 02:46 |
r0kk3rz | its a sed command, that replaces the first string with the second one | 02:46 |
r0kk3rz | in a target file | 02:47 |
r0kk3rz | so the block/platform/whatsit .etc needs to match | 02:47 |
T42 | <edp_17> I see. | 02:50 |
T42 | <birdzhang> can you manually mount /system ? | 02:51 |
T42 | <edp_17> Now I booted into the android base and tried all 3 commands in the hadk 5.3 part to get the list, but none of them works. | 02:51 |
T42 | <edp_17> I get permission denied for ls /dev/ | 02:52 |
T42 | <edp_17> Yes I could manually mount the /system. I tried. | 02:54 |
T42 | <edp_17> f... that command from hadk I need to run on the DEVICE not on host. Aaaaa | 02:55 |
r0kk3rz | yes that helps | 02:56 |
T42 | <birdzhang> so, add /lib/systemd/system/system.mount | 02:56 |
T42 | <birdzhang> https://pastebin.com/PkQmrMYu | 02:57 |
T42 | <birdzhang> maybe need a symbolink to /lib/systemd/system/local-fs.target.wants/system.mount | 02:59 |
T42 | <edp_17> I tried those on the device. All of them say No such file or directory. The 'ls -l /dev/' gives me permission denied. On the device too. Stupid android. 😡 | 03:00 |
T42 | <nitin_3> enter su before doing it | 03:01 |
T42 | <edp_17> when I enter su: '/system/bin/sh: si: not found' | 03:01 |
T42 | <edp_17> In the developer options for the root access I only have 'Disabled' and 'ADB only' options. | 03:02 |
T42 | <birdzhang> 'su - ' will switch to root | 03:02 |
T42 | <edp_17> I know, it will, if I have su on the device. | 03:03 |
T42 | <birdzhang> so mount /system first | 03:03 |
T42 | <edp_17> on android? | 03:03 |
T42 | <birdzhang> no, on sailfish | 03:04 |
T42 | <nitin_3> did you try ls -l command in twrp recovery termina it should be working in it | 03:05 |
T42 | <edp_17> Now I am doing hadk 5.3. Checking the mount points. For this, I needed to flash the android base on the device. | 03:05 |
T42 | <birdzhang> if you can manually mount /system, do what i told you should auto mount /system after reboot | 03:05 |
T42 | <edp_17> @nitin03 Thanks! | 03:05 |
T42 | <edp_17> Okay, I got the list of the block devices. | 03:08 |
T42 | <edp_17> Here they are: https://pastebin.com/ZmEcdtLq | 03:10 |
r0kk3rz | thats interesting | 03:11 |
T42 | <edp_17> What is interesting? It seems the same that I have in the fixup-mountpoints. | 03:12 |
r0kk3rz | not quite | 03:12 |
T42 | <edp_17> What is the difference? | 03:13 |
T42 | <edp_17> This: 155a0000.ufs | 03:13 |
T42 | <edp_17> ? | 03:13 |
r0kk3rz | you're replacing it with /dev/sdaX not dev/block/sdaX | 03:13 |
r0kk3rz | which is probably equivalent anyway, but its a change | 03:14 |
T42 | <edp_17> I got those fixup values from here: https://github.com/edp17/hybris-boot/commit/2102b491c8cdc0e37cc8dfa44bcf750e03e9fcd1 | 03:17 |
T42 | <edp_17> If the current is wrong, what should be the correct fixup-mountpoints? | 03:21 |
r0kk3rz | remove block/ from the start | 03:22 |
T42 | <edp_17> Thank you. Do I need to create a new build or somehow I can transfer this change to the device? | 03:23 |
T42 | <edp_17> Do I need to re-build packages or I can just run the MIC? | 03:24 |
T42 | <birdzhang> just rebuild hybris-boot, and flash it | 03:25 |
T42 | <edp_17> How can I rebuild hybris-boot? | 03:25 |
T42 | <birdzhang> make hybris-boot | 03:26 |
T42 | <edp_17> While I am in Platform $ANDROID_ROOT? | 03:26 |
T42 | <birdzhang> no, not in Platform SDK | 03:27 |
T42 | <edp_17> No, in ubuntu chroot. I guess. | 03:28 |
T42 | <edp_17> Yes, I just found it out. Thank you. | 03:28 |
T42 | <edp_17> Error: *fstab* not found. | 03:29 |
T42 | <edp_17> hybris/hybris-boot/Android.mk:70: ***************** /boot appears to live on ERROR: *fstab* not found | 03:29 |
T42 | <edp_17> hybris/hybris-boot/Android.mk:71: ***************** /data appears to live on ERROR: *fstab* not found | 03:29 |
T42 | <edp_17> hybris/hybris-boot/Android.mk:74: *** There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART. | 03:29 |
T42 | <edp_17> make: *** [/home/s7/mer/android/droid/out/build-aosp_arm.ninja] Error 1 | 03:29 |
T42 | <edp_17> I think need that block/ at the beginning. | 03:31 |
T42 | <edp_17> Sorry guys, now I need to sleep some. Thank you very much for your help so far! Have a good night. | 03:32 |
artur_0000000 | Came to ask what's the current status of SFOS support on Fairphone and/or Shiftphone? | 07:31 |
Mister_Magister | mal: ^ | 07:32 |
Mister_Magister | okay guys serious problem we got codename conflict moto z and xperia 1 | 08:03 |
Mister_Magister | both are griffin | 08:03 |
Mister_Magister | also mal https://github.com/mer-hybris/hybris-boot/pull/181 | 08:27 |
deathmist | @BusterBg_18 from your log "gatekeeper" droid service dying constantly is a big issue, I think you may be missing some udev rules as was the case recently on the OnePlus 6 | 09:11 |
T42 | <elros34> (Document) https://irc.thaodan.de/.imgstore/RKpRcSKz1z.null | 09:13 |
T42 | <elros34> @edp_17: if you want to confirm your fixup without android, here is busybox with fdisk gpt partitions name support enabled. Just put it in sfos rootfs and run: ./busybox fdisk -l | 09:14 |
Mister_Magister | mal: mkdir is missing here https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L539 should i make PR? | 09:23 |
Mister_Magister | what is this new package droid-hal-device-user? should i install it? | 09:39 |
mal | artur_0000000: what do you want to know about Fairphone support? | 09:51 |
mal | Mister_Magister: move the mkdir out of this then https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L530 ? | 09:53 |
Mister_Magister | okay i can | 09:53 |
Mister_Magister | shoudl i make pr? | 09:53 |
artur_0000000 | Hi, mal! I'd like to know if everything will work out of the box on either of the phones, once SFOS is installed. Specifically, if and how android apps are working -- are there any issues? | 09:54 |
mal | no android app support in fairphone | 09:56 |
Mister_Magister | mal: should i make pr? | 09:59 |
mal | Mister_Magister: if you want | 10:00 |
Mister_Magister | okay | 10:00 |
Mister_Magister | can you have a look at my pr above mal? | 10:00 |
mal | Mister_Magister: or add mkdir also to https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L538 that way it won't create a useless folder | 10:01 |
Mister_Magister | ye that's what i wanted to do in the first place | 10:03 |
artur_0000000 | Thanks for clarifying, mal! I'm guessing there won't be any plans to include Android support in the SFOS port due to licensing issues? | 10:09 |
Mister_Magister | mal: in free time could you merge that fixup-mountpoints pr? ^^ thanks | 10:10 |
mal | artur_0000000: it's only available on devices officially supported by jolla so not going to be added for fp2 | 10:12 |
artur_0000000 | Gotcha. Thank you for your time, mal! | 10:13 |
Mister_Magister | (not that it's not working i guess :P) | 10:14 |
T42 | <elros34> @edp_17 do you have some errors when running mic? I think about: /dev/null: Permission denied | 10:33 |
T42 | <elros34> I think that will explain your dbus errors | 10:33 |
Mister_Magister | mal: my lipstick is segfaulting :/ https://paste.opensuse.org/50459978 | 10:59 |
Mister_Magister | more info, device osprey, base 12.1 freshly built, other packages recently updated, latest submodules | 11:00 |
mal | Mister_Magister: do you have latest libhybris, it's known to break on some 11.0 and 12.1 devices | 11:01 |
Mister_Magister | yep | 11:01 |
Mister_Magister | mal: can you give me commit i should use? | 11:02 |
mal | probably 20bcd5be11fcd82aa9e2e995c4bb37af9c94cbad | 11:04 |
Mister_Magister | mal: yay everything seems to be working | 12:13 |
mal | need to debug why that happens | 12:13 |
Mister_Magister | except for this messages https://paste.opensuse.org/33841641 | 12:14 |
Mister_Magister | it's 12.1 base so i think i know how to fix audiopolicy | 12:14 |
mal | Mister_Magister: you do know that you can enable audio policy easily now, it's in droidmedia | 12:14 |
Mister_Magister | it's in droidmedia? | 12:15 |
Mister_Magister | i didn't know | 12:15 |
mal | cat env.mk | 12:15 |
mal | MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE := 1 | 12:15 |
Mister_Magister | thanks | 12:15 |
mal | so add that one line to env.mk and rebuild | 12:15 |
Mister_Magister | mhm i get it | 12:16 |
vknecht | fingertips away from gui it seems... strange ngfd and invoker errors about gstdroid, and lipstick/wizard crash... https://pastebin.com/CvssdSDH | 15:04 |
vknecht | what does one have to rebuild exactly after changing/updating libhybris ? | 15:08 |
mal | vknecht: does "EGL_PLATFORM=hwcomposer test_hwc2" work? | 15:20 |
vknecht | can't test, didn't solve the usb problem yet | 15:21 |
mal | maybe you just need some usb-moded config as mentioned in channel logs earlier | 15:22 |
T42 | <edp_17> Hi @Elros, thanks for the busybox. Finally I managed to check the partitions in recovery. | 15:24 |
T42 | <edp_17> I don't remember that error during the Mic but today I will run it to double check and will report. Thank you. | 15:24 |
vknecht | hmm, gotta check if firewall is in the way, getting an ip but no open port on device after adding usb-moded configfs config like on tama... | 15:44 |
vknecht | does official-style init even run telnet ? | 16:29 |
* vknecht tries masking dhi and user@100000, hoping ssh will run and device won't reboot | 16:33 | |
vknecht | :-/ | 16:40 |
T42 | <BusterBg_18> deathmist: hi, can I see your udev commit? That explains why I saw that gatekeeper-3 spam | 17:37 |
KALUBE | mal: Deathmist and I have been working on a better dual boot solution, especially on treble devices where the only common partitions between Android and SFOS are /persist and /data. Currently on a clean system booting into SFOS breaks wifi on LOS completely, we looked at logcat (https://paste.opensuse.org/43249518) but couldn't find the cause. I've | 17:43 |
KALUBE | just patched SF to use it's own copied of /persist and /data and that let wifi work on LOS again! | 17:43 |
KALUBE | I think it makes sense to separate these partitions as well - it would mean Android on Slot B and SFOS on Slot A would be completely independent so you could effectively dual boot with any ROM | 17:44 |
KALUBE | Would be good to know why SFOS breaks wifi though | 17:45 |
T42 | <edp_17> @Elros, I have checked the MIC (fortunately I kept open the console so all lines were still available there). | 18:28 |
T42 | <edp_17> You are right, it is full of that permission denied errors. I have uploaded here: https://pastebin.com/4BH8a2za | 18:28 |
T42 | <edp_17> I have put back the remove block/ part into the fixup-mountpoints file. | 18:28 |
T42 | <elros34> ok so you need to remove nodev (maybe also nosuid) from partition you use dor android sources | 18:29 |
T42 | <elros34> for* | 18:30 |
T42 | <elros34> btw take a look at build_package.sh --help, it has option to create image. Be aware it recreates ks file everytime | 18:34 |
T42 | 谭渊轸 %lastname% was added by: 谭渊轸 %lastname% | 19:23 |
T42 | <edp_17> @Elros, you were right. The partition I used for building the S7 image had the nodev parameter. The other partition, used for the hammerhead project, hadn't have that. I remove and retry. Is it enough to re-run the mic or I need to do re-build packages too? Thanks. | 19:27 |
T42 | <elros34> I think running mic again is enough | 19:32 |
mal | @adampigg I'm not as good as I thought, I updated fp2 to android 7 base and it only booted to UI on 3rd boot because I had missed small things and had to reboot it twice to test some fixes, I was hoping it would have booted to UI directly but no :( | 20:10 |
Mister_Magister | mal: so can you help me with those symlinks? | 20:11 |
Mister_Magister | oh my mal used emote :o | 20:11 |
Mister_Magister | mal: if you got it to gui you are already super good :D | 20:11 |
mal | those mistakes were stupid, missed property_contexts file from straggler_files and then forgot to add symlinks to libexec | 20:12 |
Mister_Magister | :P | 20:13 |
Mister_Magister | happens to best of us i guess | 20:13 |
mal | wlan and bt won't work, I knew wlan wouldn't work because for some yet unknown reason the driver won't build as module | 20:15 |
Mister_Magister | mal: lol in my 5z like nothing works but wlan works ootb :P | 20:16 |
mal | the wlan driver in fp2 android7 sources is strange, it has two ways to build either via android build or kernel build | 20:17 |
Mister_Magister | mal: do you have time now by any chance? | 20:18 |
mal | I was just about to eat something | 20:18 |
Mister_Magister | oh sad | 20:18 |
masya_ | Hi. Trying to port for Xiaomi Mi A2 (jasmine_sprout) with LOS-16.0. After "make hybris-hal" get this error: FindEmulator: find: `tools/metalava/manual': No such file or directory | 20:44 |
T42 | <adampigg> Mal: good to know you are a fallible as the rest of us | 20:49 |
Mister_Magister | @adampigg mal is a god he never fails | 20:52 |
Mister_Magister | except for one bug with gui from 2014 | 20:52 |
Mister_Magister | mal: i'm back to myself. Now supporting 6 phones and one more incomming + 4 apps | 21:44 |
Mister_Magister | I/ServiceManager( 2859): Waiting for service AtCmdFwd... any idea what is that | 21:45 |
mal | now building new image, hopefully everything works now | 22:42 |
Mister_Magister | :) | 22:42 |
Mister_Magister | mal: found problem in fixing mountpoints | 22:59 |
Mister_Magister | if fstab is in -common directory then it's detected but it also gets fstab from any other device | 22:59 |
mal | oh | 23:06 |
mal | fstab finding is not perfect | 23:06 |
mal | yay, bt and wlan works | 23:06 |
Mister_Magister | mal: good job! Can i count on you tomorrow with helping with udev? | 23:07 |
Mister_Magister | mal: quickly workarounded it with copying it to device directory so it's selected first and doesn't search for more | 23:08 |
Mister_Magister | device i'm building now has some sick random reboot (that even reverts saved data) so… debugging is waiting for me | 23:08 |
mal | does last_kmsg or pstore tell anything | 23:11 |
Mister_Magister | leave that for me for now as i can't provide anything yet :P barely built initial zip | 23:11 |
Mister_Magister | i'm more interested in udev :P | 23:11 |
Mister_Magister | mal: will you have time tomorrow? | 23:14 |
mal | maybe | 23:15 |
Mister_Magister | i will ping you tomorrow then okay? | 23:15 |
mal | sure | 23:15 |
Mister_Magister | thanks! | 23:15 |
mal | looks like everything works in this image, well one small bug which is trivial to fix | 23:15 |
mal | forgot the audio policy | 23:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!