Sunday, 2019-07-28

electrohi all07:33
electro@elros34 : hi, i have added modification for droid-hal-init -> my log ;
T42<elros34> you don't have to use this dmesg while if you do not lose connection just make sure important messages are included. dmesg missing some parts but I think is good now. Time to read faq-hadk, you are probably missing LOS14.1 specific  symlinks07:42
electroi will try this07:43
electro@elros34 : At what do you think to read faq-hadk ? bluetooth, ...07:45
electroAt this step, it's possible to start GUI ?07:46
electroI think i will have again bootloop no ?07:46
electrothe watchdog must be disable at sbin/preinit ?07:46
T42<elros34> Didn't you disabled watchdog in defconfig? Use ctrl+f "LOS14.1" if you can't find it in faq07:48
electroi see07:50
electro5751@elros34 : yes, watchdog disable -> so i can uncomment line in sbin/preinit07:52
T42<elros34> Why do you care about? Try yourself if you really need to. At some point if you get gui it would be good to fix watchdog issue maybe in kernel driver.07:56
electro5751@elros34 : it's write, run this script07:57
electro5751i must create .sh ? to write the paste07:58
electro5751or just copy and paste into terminal07:58
electro5751@elros34 : i have no bootloop now but the GUI don't start, what is the available connection on this mode ?08:32
electro5751i just have the Text Samsung GALAXY Note II GT-N710508:33
Danct12_Good afternoon, regarding Anbox patches08:40
Danct12_I couldn't patch the second patch:
Danct12_Because drivers/android doesn't exist in this kernel, rather in drivers/staging/android, and that one is different08:41
electro5751@elros34 : i have done the script and flash the -> i loose telnet when continue -> after the LED turn on blue light -> after 2 or 3 second the LED change color quickly blue to green and green to blue , ... -> and that's all, the text is the same on the display09:18
electro5751my logs : ;
T42<elros34> these logs miss all important informations09:25
electro5751i have paste all logs09:26
electro5751in what ? journalctl ?09:26
T42<elros34> both09:26
electro5751this is since i have launched the script LOS14.109:27
electro5751when you run this09:27
electro5751rpm/dhd/helpers/ --configs09:27
electro5751do you must rebuild all packages ?09:28
T42<elros34> you could just copy generated files to device. If you built new image then make sure symlinks are in device09:30
T42<elros34> you never have to rebuild all packages, usually droid-hal and droid configs are enough09:31
electro5751i rebuild all to make sure09:31
T42<elros34> sure09:31
T42<elros34> or just grab proper log instead09:32
electro@elros34 : can i copy all data about sailfish on another computer ?10:14
electroi'm on a laptop and i want to copy all project on my desktop computer10:15
T42<elros34> I never tired, if you fix all paths and env variables and keep same permissions.10:17
electrook, because when i do all command of the pdf10:17
electroi have version on my desktop computer rathen than my laptop have
electrowhy ?10:18
T42<elros34> you ask me? because you set it to that version10:19
T42<elros34> it's minor update, not relevant for your device10:19
electrookey but what is the command who fix this version10:20
electrocat /etc/os-release10:20
electroit's only about sdk version ! ?10:20
electroit's this ? TARBALL=ubuntu-trusty-20180613-android-rootfs.tar.bz210:20
electroor this10:20
electrosudo zypper ref10:20
electrosudo zypper in android-tools-hadk tar10:20
T42<elros34> there is nothing to fix you can use both it doesn't matter10:21
electrook, i can just copy all files10:21
electroi will try10:21
T42<Harsh18262> @electro You will have to download everything again or the desktop on u can sync device tree and all other changes u did from github10:38
T42<Harsh18262> Copying it directly will be a waste of time10:38
deathmistfor call audio, could a 32-bit in out/ cause issues on a 64-bit device? just trying to trace back the root cause for my issues10:42
maldeathmist: what issue do you have?10:43
deathmiststill no proper call audio at all, currently using a semi-working script hack:
electro5751@elros34 : symlink look good
electro5751@elros34 : same log after continue -> ;
electro5751same things about device11:13
electro5751i see11:13
T42<elros34> don't paste this useless logs, read yestarday channel log to remember what you did.11:14
rudi36whois umboy11:40
electro5751@elros34 : good ,
electro5751my telnet session is not cut11:49
electro5751@elros34 :
T42<elros34> looks good now, examine journalctl to find out what fails now12:06
electro5751okey, as error ?12:06
electro5751user@100000.service is mask and usb-moded.service12:07
electro5751in sbin/preinit disable_watchdog is comment too12:08
T42<elros34> you can try test_hwcomposer like explained in faq if that works then  you can unmask user12:08
electro5751@elros34 : test_hwcomposer must to do on my computer ? not my device12:11
electro5751@elros34 :
electro5751what chapter of FAQ i must do ?12:37
electro5751this all ?12:37
electro5751@elros34 : an idea about that ?12:53
malMister_Magister: some issues with hybris-16.0, I cannot push all sources due to github limitations so I need to use a different approach13:25
Mister_Magisterfeel free to use my gogs :P13:26
malMister_Magister: ?13:26
Mister_Magisternah nothing13:26
Danct12i figured why fm radio doesn't work13:27
malthe issue is that at one point google pushed unstripped built libs to system/core and those still exist in git history and those are above the size limit of github, not sure how lineage solved that13:27
Danct12but i haven't tested it13:27
malDanct12: why was it?13:27
malDanct12: I have some idea for that in case it doesn't work13:28
Danct12radio iris on qualcomm devices are actually connected through the bluetooth hci smd interface13:28
malDanct12: yes those are13:28
malthey share the same chip13:28
malDanct12: what android base was that?13:28
Danct12yeah but i'm not totally sure if that's the problem, because the previous porter for this device used bt hci smd kernel patch13:29
Danct12the previous port uses hybris-14.113:29
Danct12while i use 15.113:29
malthere are some possibilities what is wrong with fm13:29
Danct12totally not sure anyway13:33
malDanct12: some devices have some patches in iris driver which either need reverting or a custom patched fm radio middleware13:34
Danct12yeah i already read previous logs about compiling iris transport as a module13:34
malnot only that13:37
malthat is one possible issue but depends on the driver13:38
Danct12ohmd[2571]: E: accessories: failed to open device '/dev/input/event5'13:45
Danct12oh this is a little bit bad13:45
malDanct12: is that the headphone device?13:48
Danct12----====( /dev/input/event5 )====---- Name: "msm8920-sku7-snd-card Headset Jack"13:49
malDanct12: do permissions look ok?13:50
Danct12they're owned by root in the group input13:51
*** Piece_Maker is now known as Acou_Bass13:55
electro5751Hi mal, do you know how we can use test_hwcomposer13:56
Danct12<electro5751 "Hi mal, do you know how we can u"> EGL_PLATFORM=hwcomposer test_hwcomposer13:56
electro5751on the device or computer ?13:57
malelectro5751: is droid-hal-init running on the device already?13:58
electro5751yes mal13:58
malthen do what Danct12 said13:59
electro5751on the device or computer ?13:59
malelectro5751: why in the hell would you want to run something on your computer to test some part of your device?14:00
electro5751yes , ...14:00
electro5751seg fault14:00
Danct12which android base is that?14:01
Danct12if it's 15.1 then you'll have to use test_hwc214:01
electro5751no 14.114:01
Danct12are the android services running?14:02
Danct12ps aux | grep system should show things running from /system/bin14:02
malelectro5751: did you add the things said in faq in the "Notes on LOS14.1 porting" part?14:04
electro5751yes mal, it's added14:06
electro5751i must rm user 10000 service now14:06
electro5751can i remove etc/systemd/system/usb-moded.service ?14:08
maldepends on how that works, it might be ok14:10
malelectro5751: how did you make the device stop rebooting after a while?14:10
electro5751it's with this : Run this script in $ANDROID_ROOT
electro5751and disable watchdog in defconfig14:12
malelectro5751: show output of "mount" again14:13
electro5751what is the command again14:13
electro5751sh-3.2# systemctl status system.mount14:14
electro5751Failed to get D-Bus connection: Operation not permitted14:14
malelectro5751: show output of "mount" again14:15
malthe command is right there, it's mount14:15
electro5751but i don't arrived to execute cmd test_hardware14:16
electro5751on my device14:16
malelectro5751: what?14:16
electro5751O, it's done ! can i paste my journalctl ?14:16
malI have no idea what you are talking about, I asked for output of a simple command and even that takes a long time14:17
maland still not what I aasked14:18
malcome on, just do what I said14:18
electro5751mal ,
malelectro5751: and wrong again, I assume that is before you ran echo continue, why would I want that, you did that mistake once before already14:23
malelectro5751: there will never be anything useful anymore before you run echo continue14:23
electro5751yes, i go to give it to you14:24
electro5751mal ,
electro5751Failed to start The lipstick UI.14:27
malelectro5751: try doing lines 894-906 in faq14:29
malelectro5751: you can first check if that can help14:30
electro5751[D] unknown:0 - Hardware Compositor support is disabled14:31
malnot a problem14:31
malmaybe just try to do those lined, trying to get the needed information to check if that change is needed would probably take much longer14:31
electro5751i can paste to you my journalctl14:32
electro5751but i don't know if my processor is QCOM14:32
malelectro5751: what device do you port?14:33
electro5751samsung note II14:34
malok, wait until you do anything else14:34
malI need to check what device is14:35
malelectro5751: what does "cat /proc/cpuinfo" print?14:36
electro5751i loose telnet14:38
electro5751mal ,
electro5751SDMK -> samsung hardware no ?14:39
malelectro5751: might be exynos processor then14:43
T42<elros34> mal: based on dmesg is exynos + mali14:43
malelectro5751: ok, so ignore what I said about doing the lines in faq14:43
mal@elros34 ok, then it needs mali quirks14:44
electro57515:statefs_udev: Even capacity values are not supplied! Fix power_supply driver!14:44
malelectro5751: not a problem now14:44
T42<elros34> electro5751: you have typo in droid-hal-device.conf. Have you run this test_hwcomposer on device?14:44
electro5751before continue ?14:44
electro5751i have tried14:44
mal@elros34 what typo?14:45
T42<elros34> you do NOT run anything befor continue14:45
T42<elros34> mal: probably copy paste type from pdf14:45
electro5751i had segault14:46
T42<elros34> Ignoring invalid environment assignment '˓ → evdevkeybo14:46
electro5751test_hwcomposer: test_hwcomposer.cpp:174: int main(int, char**): Assertion `err == 0' failed.14:47
malelectro5751: stop, you need some changes before you can do anything else14:47
T42<elros34> IIRC lipstick will not start with wrong arguments14:48
mal@elros34 the real issue for graphics side is missing mali quirks afaik14:48
malelectro5751: do you have folder $ANDROID_ROOT/hybris/mw/libhybris on your computer?14:50
electro5751i have yes14:51
malelectro5751: ok, then do lines 73-81 from faq14:52
electro5751i take a break14:53
electro5751my laptop is in high temperature14:54
T42<elros34> based on test_hwcomposer error looks you run it with unmasked user@100000 which might cause issues14:56
electro5751sorry but what can i copy to my device ? mal or elros3415:08
electro5751at the end of this chapter : Devices with Mali GPU15:09
electro5751i have already unmask user@10000015:09
T42<elros34> you have to mask it, reboot, echo continue, EGL_PLATFORM=hwcomposer strace test_hwcomposer15:10
electro5751ok, but after rebuild packages15:10
electro5751what we must copy and paste ?15:10
T42<elros34> what do you mean? I said you have mistake in droid-hal-device.conf15:13
mal@elros34 doesn't test_hwcomposer also need to have mali quirks enabled?15:15
electro5751a mistake ?15:15
T42<elros34> electro5751: cmon just look at the file15:15
T42<elros34> mal: I don't remember exactly whether I needed mali quirks in mali device but for sure it's worth to try15:16
T42<elros34> Do you not see anything wrong? There is even comment "ALL IN ONE LINE"15:19
mal@elros34 I already told him to do the needed things from faq, check lines 73->15:20
electro5751i have made this chapter of faq : Devices with Mali GPU15:21
T42<elros34> electro5751: use this
malelectro5751: adid it change anything?15:22
electro5751i don't have time to test this change15:22
electro5751because i don't know how copy / paste the file15:23
electro5751compile by build_package15:23
electro5751at each changes, i rebuild all, ...15:23
electro5751and flash .zip15:23
electro5751what i build now ?15:24
electro5751i'm not the developer ^^15:27
electro5751just a user15:27
malelectro5751: which file are you talking about?15:29
electro5751rpm/dhd/helpers/ about chapter line 7315:30
electro5751by example15:30
malthat is a command you run15:30
electro5751yes but after15:30
electro5751what do you recompile15:30
electro5751to send to the device properly15:31
malI don't understand what you mean, you run those commands and then build a new image15:32
electro5751of hybris-boot ?15:32
malelectro5751: do you know now how to fix that droid-hal-device.conf file?15:32
electro5751or .zip15:32
malelectro5751: zip of course, that is called image usually15:33
malhybris-boot is kernel15:33
electro5751i have just replace the full text by pastebin of elros3415:33
malelectro5751: and you know where you replace that is you want it to be included in next zip?15:33
mal*if you want15:34
electro5751humm, i don't know exactly15:34
electro5751i have just cut adn copy15:34
malwhat file did you edit, on device or in build sources?15:35
electro5751in this file
electro5751build sources15:35
electro5751on computer15:35
malok, then it's ok15:35
electro5751normally, the GUI will be launched ?15:36
electro5751my laptop have 95°C :/15:36
maljust remember to run "rpm/dhd/helpers/ -c" after you edit that file15:36
electro5751it's for this reason i want to compile on my desktop computer15:36
electro5751erf, i have do this15:36
electro5751but this too15:37
electro5751make -j$(nproc --all) hybris-hal15:37
malhybris-hal has nothing to do with this15:37
electro5751i must recompile avec -c option ?15:37
electro5751with -c option, sorry15:37
malelectro5751: if you run it without -c it will also do what it does with -c15:38
malelectro5751: without any parameters will build everything15:38
electro5751so, it's okey15:38
mal-c is just to build small part15:38
electro5751much better15:38
malelectro5751: you only need to run make hybris-hal if you change kernel or something like that15:39
malyou don't have to run it if you change something in hybris/droid-configs for example15:40
malelectro5751: that file in the last link you gave is wrong,615:41
malelectro5751: are you sure you correctly replaced it15:41
electro5751yes mal15:41
electro5751by paste by elros3415:41
electro5751mal, maybe you know why on my desktop computer i have version rather than my laptop computer have version15:45
malelectro5751: doesn't matter which one15:47
electro5751@elros34 :
electro5751mal :
electro5751Failed to start The lipstick UI.16:12
electro5751Name: Samsung S5PC21X hwcomposer module16:13
malelectro5751: you have now the mali quirks in use? the things in faq I told you to use16:13
electro5751yes exactly16:14
electro5751i have done this16:14
electro5751but how check16:14
malelectro5751: so you built everything mentioned there16:14
malboth -d and rpm/dhd/helpers/ --mw=libhybris16:15
electro5751i have done all of this section : Devices with Mali GPU16:15
electro5751i have already do it16:15
maland then you build new zip and installed it?16:15
malthere is no way to check if that is used or not16:16
electro5751ok, but i have done all of this chapter16:16
electro5751in faq16:16
malshow the $ANDROID_ROOT/rpm/droid-hal-$DEVICE.spec16:16
malnote that $DEVICE is replaced with your device codename i.e. t0lte16:16
maldid you disable something on the device after installing the new zip?16:18
electro5751why this : May 24 03:10:27 Sailfish systemd[1]: Failed to mount Droid mount for /dev/stune.16:19
electro5751Failed to mount Droid mount for /config.16:19
electro5751Failed to mount Droid mount for /storage/usbdisk0.16:20
malyou can probably ignore those16:20
electro5751yes okey, but EGL_PLATFORM=hwcomposer strace test_hwcomposer16:21
electro5751is seg fault16:21
electro5751the problem is the hardware for GUI i suppose16:22
electro5751@elros34 : an idea maybe ?17:01
electro5751mal, Are you an idea ?17:01
electro5751Have you sorry17:02
electro5751nobody can help me to finish my debug to access to the GUI ^^17:49
electro5751last step, after i will see more slowly the debug17:49
T42<elros34> same, starce test_hwcomposer and paste output17:56
electro5751again ?17:58
electro5751@elros34 :
electro5751my phone is blinking18:03
electro5751the led of the device blink18:03
T42<elros34> you need to wait about hal a minut after you echo continue to let system boot untill you try test_hwcomposer18:04
electro5751ok, but the LED is blinking18:05
electro5751it's not a problem ?18:05
electro5751@elros34 :
Danct12mal: have you figured out the accessories.ini failed to open yet?18:12
malDanct12: that is different issue you mentioned earlier18:13
mallast time it was the event device opening issue18:13
electro5751my device is blinking as a christam tree18:15
malelectro5751: then you need to show logs, dmesg, journal and logcat18:16
maland in case you don't know logcat mean output of /usr/libexec/droid-hybris/system/bin/logcat18:17
electro5751okey thanks18:19
electro5751mal, zcat ?18:20
electro5751for logcat18:20
malelectro5751: it's a command18:20
electro5751@elros34 : have you one moment ?18:31
T42<elros34> ?18:31
electro5751yes, the GUI is not deployed18:31
electro5751logcat :
Danct12<mal "last time it was the event devic"> yep, that one.18:32
electro5751dmesg :
electro5751journalctl :
electro5751@elros34 : the command test_hwcomposer display seg fault18:32
electro5751with this cmd : EGL_PLATFORM=hwcomposer strace test_hwcomposer18:33
T42<elros34> electro5751: have you masked user service before test_hwcomposer?  it's not always that easy to fix18:33
electro5751humm, no18:33
electro5751i must18:33
electro5751i have forget18:33
electro5751 ; ; ;
T42<elros34> cmon why do I have to talk about the same thing twice because you never listen18:45
electro5751this is done18:46
T42<elros34> you can try surfaceflinger to see if it also fails (it shoudn't)18:48
electro5751surfaceflinger ?18:50
T42<elros34> command18:50
electro5751surfaceflinger: command not found18:51
electro5751okey found18:51
electro5751@elros34 :
electro5751but what do surfaceflinger18:53
electro5751test_hwcomposer not seg fault18:53
electro5751write(2, "test_hwcomposer: test_hwcomposer"..., 94test_hwcomposer: test_hwcomposer.cpp:185: int main(int, char**): Assertion `err == 0' failed.18:54
T42<elros34> surfaceflinger should display something on your screen provided you do not run everything in the same time and reboot device between attempts18:56
electro5751@elros34 : i must launch this before "echo continue" ?18:59
electro5751as journalctl ?18:59
electro5751or as logcat18:59
malelectro5751: you do NOT run anything before echo continue, NOTHING19:01
T42<elros34> I am tired, how many times I need to repeat that: you do not run anything before echo continue (except logs witch prints constantly). If you do not lose telnet conection you can get rid of init_debug19:01
electro5751but i will loose telnet if i don't have init_debug_2 no ?19:02
electro5751sorry again19:03
malif the device is not rebooting anymore after echo continue then there is no need for init_enter_debug219:03
electro5751yes but, which what link we debug ?19:03
electro5751telnet ?19:03
malI have no idea what you are asking19:04
electro5751okey, don't worry19:04
electro5751i have no text or picture with /system/bin/surfaceflinger19:06
malbut it runs without crashing?19:07
maland you have disabled user@10000019:07
electro5751no output19:07
electro5751enable user@10000019:07
electro5751test_hwcomposer not run correctly19:08
malare you 100% sure user@100000 is disabled19:10
malshow journal log19:10
T42<elros34> have you pressed power button? I am not sure but display might be just off19:14
electro5751humm, i'm trying but no19:15
electro5751my display is turn off19:15
electro5751i can restart my device19:16
electro5751@elros34 : i remove this file so ? init-debug19:16
electro5751and this file : init_enter_debug2 ?19:16
T42<elros34> sure remove whole system :P19:17
T42<elros34> only init_enter_debug219:17
T42<elros34> do you have something on screen when you type: cat /dev/urandom > /dev/fb0 ?19:18
electro5751cat: write error: No space left on device19:19
electro5751;a lot of point19:19
T42<elros34> try EGL_PLATFORM=fbdev test_hwcomposer19:19
electro5751seg fault19:20
electro5751screen turn off19:20
T42<elros34> strace?19:20
electro5751i try this ?19:20
electro5751strace about ? EGL_PLATFORM=fbdev test_hwcomposer19:20
T42<elros34> you can strace everthing which fails19:21
electro5751@elros34 : a last advice maybe ?19:30
T42<elros34> you can use minimer with different EGL_PLATFORM or strace surfaceflinger: I think it should work always19:32
electro5751minimer ?19:38
electro5751end of strace surfaceflinger19:39
T42<elros34> but wait for what? also maybe logcat prints something usefull during surfaceflinger execution19:41
electro5751lot of log strace surfaceflinger ->
electro5751i can try19:42
electro5751@elros34 ->
electro5751--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---19:45
electro5751epoll_pwait(6, 0xbeedbbb8, 16, -1, NULL, 8) = -1 EINTR (Interrupted system call)19:45
T42Sag51 was added by: Sag5119:47
electro5751@elros34 : maybe we will se that tomorrow or another day19:50
T42<elros34> sure, you might need somebody more knowledgeable to figure out this19:52
malit's very odd that surfaceflinger is not working19:54
electro5751it's possible to fix it ?19:56
T42<elros34> electro5751: last thing before I forget for surfaceflinger you should use strace -f19:56
malelectro5751: most things are possible to fix, it just might take a while to figure what is wrong19:58
electro5751i go out20:09
electro5751bye, good night and thanks for helping20:09
deathmistbirdzhang: are these Anbox patches required for a 4.4 kernel? I heard the overlayfs patches aren't necessary either for this kernel. at least lxc-checkconfig seems quite happy now
deathmistsorry, @birdzhang21:06
deathmist@birdzhang anbox packages install and when attemping to start anbox-session-manager when you can take a look :p21:45
deathmistI'll go now tho and check channel logs tomorrow after waking up, gn21:46

Generated by 2.17.1 by Marius Gedminas - find it at!