Wednesday, 2019-08-21

*** agander__ is now known as agander07:02
masha11Hello. I updated config submodule. But when I run -c, I get an error "ssu-kickstart-configuration is needed by droid-config-griffin-1-1.armv7hl". Do I need to hard config submodule back as indicated in hadk on line 708.08:00
masha11Or how do I fix the error if I want to keep config update?08:06
electro575sorry but what i must do after this update ?
electro575this ? rpm/dhd/helpers/ --configs08:24
electro575i have modified this file : /home/sailfish-dev/hadk/external/droidmedia/Android.mk08:25
r0kk3rzrebuild droidmedia08:33
electro575what is the right command ?08:34
electro575make -j$(nproc --all) external/droidmedia08:34
electro575rpm/dhd/helpers/ --build=hybris/mw/droidmedia-localbuild08:35
T42<elros34> you must enable it like mentioned yesterday08:37
electro575@elros34 : i have done the update, but how rebuild droid-media ?08:39
T42<elros34> it's all explained in HADK08:40
electro575@elros34 : only this cmd : rpm/dhd/helpers/ --build=hybris/mw/droidmedia-localbuild ?08:43
electro575mal, maybe have you 2 minute ?08:50
electro575i have a lot of package with gstreamer :
electro575i let this configuration ?09:11
electro575sometimes my SIM card is detect and sometimes no, @elros34 have you already this problem ?09:44
malelectro575: you need to do the build things in chapter 13.2 if you update droidmedia09:47
electro575yes, it's done09:47
electro575same error :09:51
electro575Aug 21 11:50:31 Sailfish pulseaudio[11440]: failed to set source 'source.primary' port to 'input-voice_call'09:51
electro575Aug 21 11:50:31 Sailfish pulseaudio[11440]: can't set profiles/ports to source voicecall09:51
T42<elros34> not sure if it is the same, I have rare connection to provider fail issue but enabling/disabling airplane mode fix it. Also if you have problem with sending sms and slow connection to network provider then this ofono fix it:
electro575thanks but my 4G is not established, i have error when i active 4G09:58
electro575i want fix the call problem10:02
electro575mal, i must do an update after add this file ?10:09
electro575@elros34 : an idea maybe ?10:17
electro575E: [pulseaudio] droid-util.c: Failed to open output stream: -3810:18
electro575E: [pulseaudio] droid-sink.c: Failed to open output stream.10:18
electro575with the command, i don't have two song, i have no song10:18
T42<elros34> you did nothing to pulseaudio since yesterday so don't expect different result. Does AudioPolicyService works now?10:19
electro575i have add this file to realcall10:21
electro575audiopolicyservice work now10:21
T42<elros34> so no more errors in logcat?10:21
electro575why this again ?10:22
electro57508-21 10:22:13.665 10966 12590 W AudioSystem: AudioPolicyService not published, waiting...10:22
electro57508-21 10:22:14.166 10966 12590 I ServiceManager: Waiting for service media.audio_policy...10:22
electro575it's when a phone have done a call10:23
electro575i'm trying to stop the call10:24
electro575very strange10:24
electro575i reboot my device10:25
electro575@elros34 : my logcat10:36
jusaelectro575: check logcat output when things fail10:58
jusaelectro575: ah you pasted that one ..11:02
jusaE audio_hw_primary: DLOPEN not successful for CSD CLIENT  <- make sure you really need csd. if you do, you'll need to get rid of this error11:08
electro575jusa, thanks11:11
electro575rid is ?11:12
r0kk3rzfix in this case11:12
electro575what is the rid ? process id ?11:13
electro575new logcat with sim card presence ->
electro575@elros34 : do you know what is the rid ?11:19
malnote that audiopolicy change is not enough, you need to enable it in of droidmedia folder, read channel logs to see how11:23
electro575okey, thanks, but my logcat have no error about that now11:25
electro575when audiopolicy is required ?11:26
electro575during a call ?11:26
malmostly for camera11:27
malmight also be needed for codecs, not sure11:27
electro575my is empty, it's logic ?11:28
electro575i have an error when compile11:35
malwhat did I just a few lines back11:35
mal*just say11:35
electro575i need to enable it in env.mk11:36
electro575of droidmedia folder11:36
electro575what i have done11:36
electro575and so i have an error11:36
malwhat exactly did you do?11:37
malif did you did everything correctly and is empty there is no way you could get that error11:37
electro575add this line into -> MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=111:37
malbut just a moment ago you said was empty11:37
electro575yes, before i add this line11:38
malwhat android base do you use?11:38
electro575cm 14.111:39
electro575lineageOS 14.1 sorry11:39
electro575no cm14.1, humm i don't remember11:39
electro575have you an idea ?11:44
electro575@elros34 maybe ?11:46
malthere is a repo missing from manifest11:51
mal<project path="external/libxml2" name="LineageOS/android_external_libxml2" groups="pdk,libxml2" />11:51
electro575mal, i have the same error11:59
electro575i must have to do : repo sync ?12:00
malonly "repo sync external/libxml2" is needed before build12:01
electro575:/ i have done : repo sync12:01
electro575fatal: duplicate path device/samsung/t0lte in /home/sailfish-dev/hadk/.repo/manifest.xml12:05
electro575how can i repair my fault ?12:06
malwhat did you do now, do you have some room service xml in local manifests12:10
electro575i have room service xml yes12:11
malremove it of course12:11
malhadk pdf says that12:11
electro575an error during compilation12:14
electro575external/droidmedia/minimedia.cpp:24:10: fatal error: 'AudioPolicyService.h' file not found12:14
electro575#include <AudioPolicyService.h>12:15
malhow exactly did you update droidmedia?12:15
mal15:15 < mal> how exactly did you update droidmedia?12:16
electro5751sorry my computer crash12:20
mal15:15 < mal> how exactly did you update droidmedia?12:20
electro5751cd $ANDROID_ROOT12:20
electro5751source build/envsetup.sh12:21
electro5751breakfast $DEVICE12:21
electro5751make -j$(nproc --all) $(external/droidmedia/ \12:21
electro5751$PORT_ARCH $(gettargetarch))12:21
electro5751and that's all12:21
electro5751with this environment : HABUILD_SDK12:21
electro5751be appear12:24
electro5751it's good now12:24
malthat mentioned nothing about how you updated the droidmedia sources to use the code in the pull request12:28
electro5751all chapter 13.212:29
electro5751of hadk pdf12:29
electro5751DROIDMEDIA_VERSION=$(git --git-dir external/droidmedia/.git describe --tags | sed \12:29
electro5751-r "s/\-/\+/g")12:29
electro5751rpm/dhd/helpers/ $DROIDMEDIA_VERSION12:29
malyou are completely missing the point12:29
malI give up12:29
electro5751what i miss ! ? mal12:31
electro5751don't give up please12:31
electro5751mal, my summary ->
electro5751again this error -> external/droidmedia/minimedia.cpp:24:10: fatal error: 'AudioPolicyService.h' file not found12:36
electro5751#include <AudioPolicyService.h>12:36
Mister_Magisterwhat the actual fuck12:38
electro5751@elros34 : what's my error in my paste ?12:38
Mister_Magisterit's like ignoring what mal says totally like not even trying to read12:38
T42<austenite> electro5751 did you upgrade/downgrade the droidmedia ?12:39
electro5751i suppose no12:39
electro5751so what i must do after modifying droidmedia ?12:40
electro5751it's easy to say : see it's writed on faq, on hadk pdf ^^12:48
electro5751upgrade/downgrade the droidmedia, i have never see that12:48
electro5751on this point, if one can help me12:48
Mister_Magisterwhy do i facepalm with his every message12:49
electro5751i have just chapter 13.2 on this12:49
electro5751because i want to fix problem so fast12:52
electro5751that's all12:52
electro5751i have done twice all command of chapter 13.212:53
electro5751so maybe i have changed the droidmedia version12:53
malall this started when we were talking about audiopolicy, what did you do related to that, other than rebuilds12:53
malthe build just cannot break unless you did something to droidmedia source folder12:54
electro5751modify and minimedia.cpp files12:55
electro5751and env.mk12:55
malalso you should have stored what was printed when you did repo sync, wondering if you lost something12:55
electro5751in the folder /home/sailfish-dev/hadk/external/droidmedia/12:55
malwhat did you change in those files?12:55
electro5751this modification ->
malthis is the last time ask that, I asked that many times already12:56
malshow output of "git diff" from droidmedia source folder12:58
electro5751this seem to be correct ?13:02
electro5751my computer crashed, maybe i have no log, i don't know for repo sync13:06
malwhen doing repo sync it is always important to check the last few lines of the out to see that no local changes have been lost13:08
mal*last few lines of the output13:08
electro5751okey but how can i check this, my computer crashed ! in /Var/log13:09
malno way to check anymore13:10
malwe can only hope you still have any changes you made to kernel and device repos13:10
electro5751humm, yes13:10
electro5751what i must do now ?13:12
electro5751i have this problem : external/droidmedia/minimedia.cpp:24:10: fatal error: 'AudioPolicyService.h' file not found13:16
electro5751it's this added line the problem : #include <AudioPolicyService.h>13:17
electro5751Mister_Magister : <Mister_Magister> hmm fatal error: AudioPolicyService.h: No such file or directory13:19
electro5751How have you fixed this point ?13:19
malno idea how that is possible, the build worked fine on android 6 and android 9 bases, why would android 7 base be broken between those13:21
electro5751@elros34 : do you know why "external/droidmedia/minimedia.cpp:24:10: fatal error: 'AudioPolicyService.h' file not found" ?13:23
electro5751i don't know too mal13:23
electro5751i must specified the full path ?13:25
electro5751this ? /home/sailfish-dev/hadk/frameworks/av/services/audiopolicy/service/AudioPolicyService.h13:28
electro5751i have this error13:55
electro5751during compilation13:55
malwhat did you change now?13:58
electro5751i have exit environment14:00
electro5751and recompile all14:00
electro5751and try to fix problem with full path for 3 files14:00
electro5751but no way so i rewrite original path14:00
electro5751i must go sorry14:00
malwhat full path?14:05
electro575mal, full path is the way for find the header17:56
malshow what you changed17:57
maland that should not be needed if you are doing things correctly17:57
electro575i have reset my changes, so we can restart as a original version17:58
electro575i give it to you17:59
electro575i have this error ->
vknechtelectro575, changes you've made are best shown using git diff ; those errors are expected if you didn't apply changes to other files like Android.mk18:14
electro575okey, but must i reset changes as ?18:15
vknechtmaybe for a quick start (you have homework to do to practice git, sysadmin and devel knowledge), you could try my droidmedia fork which I use on 14.1 too18:15
vknechtby adding this to manifest, and repo sync'ing external/droidmedia :
vknecht*localm manifest18:16
electro575i can take your droidmedia ?18:17
electro575get sorry18:17
vknechtyou're just using it, you don't take it from me :-)18:17
electro575so 1 - reset all files changes of droidmedia folder ?18:18
vknechtedit local manifest by adding the snippet, then repo sync external/droidmedia18:19
electro575this snippet ?
electro575vknecht :
vknechtwhat do you think ?18:23
electro575error after add the snippet in my local manifest18:24
vknecht*think about the error ?18:24
vknecht... after reading the error message ?18:24
electro575i must do this command -> repo sync --force-sync external/droidmedia18:24
vknechtfear to try it ? :-)18:25
electro575nono ^^, done18:25
electro575after this ?18:25
electro575i let this manifest ? remove18:26
electro575O, sorry18:26
vknechttry building droidmedia again ? that's the goal, isn't it ?18:27
electro575again error18:28
electro575should i reset the compiling tools18:32
vknechtcd $ANDROID_ROOT/external/droidmedia && git status && git log --oneline -n 3018:36
electro575why ? [android8] Initial Android 8 support. Fixes MER#192318:39
electro575i'm on 14.1 so android 7 i suppose18:39
electro575it's this the problem i suppose, i have update droidmedia ?18:44
electro575mal, an idea ?18:44
electro575i should downgrade droidmedia ?18:50
vknechtno, have to find why the header (.h) which declares AudioPolicyManagerInterface is not found18:52
electro575i don't know why !18:58
vknechtyou sourced envsetup and ran breakfast in the terminal you're in, right ?18:58
electro575yes, too18:59
electro575i give you full log19:00
vknechtseems an audiopolicy framework problem, rather than droidmedia19:02
electro575i disable this line in of droidmedia ? MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=119:04
vknechtbecause you added it ?19:05
electro575but it's for audiopolicy service19:05
electro575function in my device19:05
electro575when i launch camera app19:06
vknechtdid you add/remove other things and didn't tell about it ?19:06
electro575yes, i paste it to you19:06
electro575humm, no19:07
electro575what is the right command for diff ? git diff19:07
malvknecht: just for reference and
malvknecht: so the header should be found19:08
electro575i have done this changes ->
electro575no, none changes after repo sync external/media19:09
vknechtelectro575, thing is, you're mixing stuff between my repo and the pull request while there should be no need19:10
vknechteither you apply one or the other19:10
electro575i have your stuff in ~/hadk/external/droidmedia19:10
electro575what can i do to resolve my problem ?19:11
T42<elros34> probably it will change nothing but if you are dubugging build issues use -j1 instead j$(nproc --all)19:12
T42<elros34> just for the future19:12
electro575how can i clean the compiler ?19:16
electro575how can i remove droidmedia and restore it ?19:21
electro575mal, no idea i suppose19:22
vknechtlook, it's not even trying to build droidmedia yet, only the required libaudiopolicymanager for now19:22
vknechtor it's something I don't get19:24
electro575how it's possible to get libaudiopolicymanager ?19:27
vknechtrepo info frameworks/av/services/audiopolicy/19:27
vknechtthat was the complete output ?19:29
T42<elros34> For strange build issues sometimes is good to make clean but it will remove everything you built so far (hybris-hal, kernel)  so maybe try first to remove any dirs which contains "audiopolicy" in out/19:30
vknechtcd $ANDROID_ROOT && find out -type d -name *audiopolicy* -exec rm -rf {} \;19:33
electro575it's done19:36
electro575now ? recompile ?19:37
vknechtthe operation you just did was ensure that previous compiles don't interfere ; so what else ?19:38
vknechtcool :-)19:41
electro575what else, know what i must do ?19:41
electro575the compilation is not good19:41
electro575how can i fix the problem ?19:42
T42<adampigg> The problem is?19:43
electro575frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:609:9: error: unknown type name 'AudioPolicyManagerInterface'19:44
electro575i have done repo sync, bad command19:44
electro575i try to fix audio policy service19:45
vknechtcould it be a clang/ninja issue ?19:46
electro575it's your droidmedia19:46
vknechtgo on, change it then :-)19:46
electro575change what ?19:47
electro575remove the line in manifest ?19:47
electro575maybe it's a 32 bit problem19:47
T42<adampigg> (Photo, 2560x1920)
electro575my device is 32 bit19:47
T42<adampigg> Keep calm and enjoy pictures of me on holiday :D19:47
vknecht@adampigg: lucky you ; guess the food is great too ? :-)19:49
T42<adampigg> Vknecht, meh, its all-inclusive, so not exactly fine dining, but i'll get by!19:49
electro575 , what should i change ?19:50
electro575all-inclusive, it's good to think to nothing19:51
electro575why i again have the same problem when i launch the last command19:52
electro575i have force sync your repo vknecht19:53
electro575can i remove platform/external/libxml2 ?19:56
electro575to test the compilation19:56
electro575mal please, can you see it two minutes ?19:57
electro575i'm broken19:57
electro575can i reset droidmedia ? or the compilation20:00
electro575<vknecht> could it be a clang/ninja issue ?20:00
electro575someone can help me to continue debugging please ?20:06
malthe error makes absolutely no sense20:08
electro575can i return to an "older" config20:09
electro575this manifest is good ?
electro575with droidmedia original20:10
electro575i want to remove external/libxml220:11
electro575and reset droidmedia20:11
electro575it's possible ?20:11
electro575maybe it was this the problem -> MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=120:12
electro575in this file : ~/hadk/external/droidmedia/env.mk20:12
electro575mal, is it possible to redownload droidmedia ?20:15
r0kk3rzof course20:25
electro575i have done this20:25
electro575i rebuild all20:25
malI just built the droidmedia from the PR for hybris-14.1 and had no issues20:33
malusing the MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=1 in env.mk20:33
electro575not this update ?
electro575thank you mal20:45
malI used that20:47
electro575that what ?20:48
malI of course mean that I used the code from the PR and then added MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=1 to env.mk20:49
malthat should have been obvious20:49
electro575the PR is ?20:50
malcome on use your brain20:52
malthat have we been taking about the whole time20:52
electro575patch release20:52
electro575this so ->
electro575but when i have applied this update20:53
electro575i have an error20:53
electro575and my file have a diff with this url20:53
malI used and without any problems20:53
electro575i say it tomorrow, i must go sleep20:53
electro575okey s20:53
electro575see you tomorrow20:54
electro575i have compile droidmedia without update URL and with MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=120:55
electro575this is good20:55
electro575tomorrow, i will test update file20:55
electro575if it's necessary20:55

Generated by 2.17.1 by Marius Gedminas - find it at!