Tuesday, 2019-07-16

electro575hi06:26
T42<adampigg> Lbt, pls patrernise fxtec:t508:51
*** agander_ is now known as agander08:56
T42<dashinfantry> (Photo, 640x1280) https://irc.thaodan.de/.imgstore/fLiug00bdR.png09:54
T42<dashinfantry> Port Sailfish to it09:54
T42<dashinfantry> (Photo, 1280x1015) https://irc.thaodan.de/.imgstore/DO0Hz9DNED.png09:54
T42<KartikGada> @dashinfantry [<reply to media>], How about porting sailfish to Nokia android smartphones 😁10:00
T42<NotKit> @dashinfantry I doubt they will provide kernel source code10:04
T42<NotKit> isn't it the devicr Jolla demoed at MWC2018 though?10:05
T42<dashinfantry> @NotKit [isn't it the devicr Jolla demoed at MWC2018 th …], Yes10:06
T42<dashinfantry> It is called "广信 esff"10:06
T42<dashinfantry> You can buy its Android  version  from Taobao  for less than 30 Euros .😎10:07
T42<jgibbon> Manufacturer seems to be "kingsun", at least that's printed on the back. Jolla apparently did it for that demo, so there should be sources "somewhere".10:19
T42<NotKit> I would think they approached ODM and got BSP from them10:21
T42<birdzhang> is sfos for feature phone still alive ? doubt that10:24
T42<dashinfantry> Can we install Sailfish  OS for this device ?10:26
ghosalmartin mal: really weird, am still getting wayland compositor and the display service dying on me, BUTTT when I run it through strace, the camera app, it works perfectly and crashes when I try to multitask, like wtf14:18
ghosalmartinsorry about the double notification14:18
T42<birdzhang> @ghosalmartin lipstick crash randomly ?14:31
ghosalmartinnot quite randomly when I try to launch any app14:31
ghosalmartini had this problem with both using qpa-surfaceflinger and qpa-hwcomposer14:31
T42<birdzhang> does dmesg has  binder_alloc_buf, no vma ?14:34
ghosalmartinlets find out14:35
ghosalmartinnah seems an issue with syscall 38514:36
T42<birdzhang> okay, not similar to mine14:37
malghosalmartin: you need to provide logs14:38
ghosalmartinmal: which ones?14:38
ghosalmartinhmm now multitasking under strace doesn't crash when opening contacts app14:38
mallogcat and dmesg at least14:39
ghosalmartinokays :)14:39
ghosalmartinmal: dmesg: https://pastebin.com/962duygA logcat: https://pastebin.com/QEvAfrrL14:46
ghosalmartinI had to manually copy over the selinux context files, could this be a permissions issue14:46
malghosalmartin: which android base is that?14:54
ghosalmartin15.114:55
ghosalmartinI added the selinux patches14:55
ghosalmartinhmm maybe I should remove them actually... :P14:56
malprobably not a good idea14:56
ghosalmartinwhat removing them?14:56
malghosalmartin: which device is that? was is some of those more exotic ones?14:57
ghosalmartinmal: nexus 5x, bullehad14:57
ghosalmartinbullhead14:57
ghosalmartinit used to work perfectly fine when I first ported to hybris-15.1, then some changes and updates happened and boom this started to occur. it happened to me years ago as well14:57
ghosalmartinfeels like possibly corrupted source maybe?14:57
ghosalmartinhappens randomly as well14:57
malcan you explain what the symptoms really are? UI always crashing, random crashing, crashing when doing something or what?14:59
ghosalmartinWell on first boot it makes it through the initial setup but then crashes a lottt, finally itll settle, and then accessing any apps causes a crash and restart of the lipstick client15:02
malhmm, did it add QCOM_BSP and QTI_BSP to android-config.h in droid-hal devel package?15:04
ghosalmartinlemme check15:04
ghosalmartinmal: nahh15:05
malghosalmartin: so no such things?15:06
ghosalmartinnope15:06
malghosalmartin: line 888-> in faq15:06
malghosalmartin: do you build on OBS or locally? suggestion is to remove hybris/mw in local build if you do local builds so packages are really rebuilt15:07
T42Anita_43 was added by: Anita_4315:42
KALUBEHi, I'm back to debugging RIL hangup, this is the output of journalctl with ofonod -d: http://paste.opensuse.org/view//70384671 and logcat -b radio: http://paste.opensuse.org/view//62097747. I have added emptyPinQuery=false to ril_subscription.conf, not sure what else to try now16:00
electro5751hi all17:01
electro5751what is the lineageOS url repo ?17:02
electro5751this ?17:02
electro5751https://storage.googleapis.com/git-repo-downloads/repo17:02
electro5751or this17:02
electro5751https://github.com/LineageOS/android.git17:02
electro5751anybody can help me ? mal17:08
electro5751have you an url for the lineageos repo ?17:08
vknechtyou should find the LOS repos URLs you need in the XML manifest for your device's LOS port17:12
electro5751ok thanks17:12
electro5751Where is locate the XML manifest ?17:13
vknechtwhen things are done right and made easy, you should find it where you get the LOS ROM for your device ; look for instruction about how to build it from source17:20
electro5751this is it ?17:22
electro5751https://github.com/LineageOS/android_device_samsung_t0lte17:22
vknechtthat's probably one of them ; generally you need one "device" repo (the one you linked, likely), one "kernel" repo and one "vendor" repo (sometimes others as well)17:23
T42<Harsh18262> mal that git reset command didnt work properly when runnig buildpackages.sh it fetch the new package again17:23
electro5751thanks vknecht17:25
electro5751how configure this file : /etc/zypp/repos.d/ssu_adaptation0_release.repo"17:27
electro5751with this line : baseurl=plugin:ssu?repo=adaptation017:27
vknecht@Harsh18262: could be you have to add the reset args in build_packages.sh ; if it's for ofono, I found it easier to build --mw libgrilio so a recent enough version gets in your local repo17:27
*** OhYash is now known as ohyash17:29
T42<Harsh18262> Meaning I should get older version of build packages.sh file17:29
vknechtno, I mean mod the line buildmw line for the package to use -b so as to select branch17:32
T42<Harsh18262> Ok will try17:33
electro5751amazing lineageOS clone18:21
electro575<vknecht> device repo = LineageOS ?19:03
electro575Kernel ok but where for lineage OS ?19:04
deathmistelectro575: you mean the device manifest xml right? check https://git.io/fj1IE and ALL the repos listed for more "lineage.dependencies" files recursively to complete the manifest and then repo sync again19:21
electro575deathmist, i have repo sync with this cmd19:24
electro575repo init -u https://github.com/LineageOS/android.git -b cm-14.119:24
electro575i will try the cmd : zypper ref19:24
deathmistelectro575: which part of the hadk are you in right now? chapter 5.2, right?19:30
electro575no 4.219:31
electro575sudo zypper ref19:31
deathmistok, what's the issue then? ignore adaptation0 errors, you don't need to worry about device repos until you have the ubuntu chroot setup19:36
electro575arf19:49
electro575again this19:50
electro575[adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL19:50
KALUBEThat's not a relevant error19:50
KALUBEyou can ignore it19:50
electro575i must clone lineageOS repo ?19:50
electro575i have done this19:51
KALUBEYou add it to your device manifest. The HADK explains all of this19:51
electro575ok19:51
KALUBEYou should be able to find a device manifest somewhere in the lineage repos for your device. You can use these as a base for hybris19:54
electro575ok, like this i suppose19:55
electro575https://github.com/LineageOS/android_device_samsung_t0lte/blob/cm-14.1/lineage.dependencies19:55
electro575KALUBE : sudo: unable to resolve host19:57
electro575with this cmd : ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu19:57
electro575but i have this host in my file /etc/hosts19:57
deathmistelectro575: like hadk explains, you can ignore it for now19:57
KALUBEhadk 4.1, last paragraph19:58
KALUBE4.2*19:58
electro575sorry19:58
KALUBESorry I mean 4.3.219:58
electro575fatal: Couldn't find remote ref refs/heads/cm-14.120:07
electro575with this cmd : repo init -u https://android.googlesource.com/platform/manifest20:08
KALUBEthe command is: repo init -u git://github.com/mer-hybris/android.git -b hybris-11.020:09
KALUBEyou change the branch to match your android base20:09
KALUBEfor lineage 14.1 that would be hybris-14.120:10
electro575ok20:10
KALUBEWhy were you using that url?20:11
electro575i follow this guide20:12
electro575to repo cmd20:12
electro575https://source.android.com/setup/build/downloading#installing-repo20:12
electro575Initializing a Repo client20:12
electro575humm, ... sorry20:12
deathmistthat is just to get access to the used repo command, nothing more20:13
electro575yes20:13
electro575google is exclude of sailfishOS ?20:15
deathmistI don't know what you mean, LineageOS is just used as a base to make hardware work under Sailfish OS software20:16
electro575ok but LineageOS is based on google no ?20:21
deathmistyes it's another open source project based on Google's Android Open Source Project (AOSP) which is used as a base here because it support many devices20:22
deathmistand also doesn't require extensive patching20:23
electro575how can i remove a git config20:24
electro575i have gave a wrong folder20:24
electro575yes20:24
electro575but google stay the one :/20:24
electro575fatal: cloning the git-repo repository failed, will remove '.repo/repo'20:25
T42<Harsh18262> what are you using git or repo?20:28
electro575repo i suppose20:29
electro575but20:29
electro575git config --global user.name "Your Name"20:30
electro575git config --global user.email "you@example.com"20:30
KALUBErepo is a wrapper for git20:30
T42<Harsh18262> so you want to recofigure with correct name and email?20:30
electro575i will do that, i have remove repo directory20:30
electro575arf20:31
electro575repo has been initialized in /home/user/hadk20:33
electro575but no sync with this cmd :20:33
electro575repo init -u git://github.com/mer-hybris/android.git -b hybris-14.120:33
electro575before yes20:33
deathmistyou initilize with that command, after init you use repo sync instead, that actually synchronizes everything, but now you'll need your device manifest xml done20:34
electro575it's ok20:34
electro575deathmist : /home/user/hadk/.repo/local_manifests/1b6b.xml: syntax error: line 1, column 020:40
electro575i have add this text in this file20:41
electro575https://github.com/LineageOS/android_device_samsung_t0lte/blob/cm-14.1/lineage.dependencies20:41
deathmistplease read the hadk. it tells what you need to do.... also your file should be t0lte.xml, I have no clue where you got 1b6b from20:43
electro575no clue ?20:46
electro575what is it ?20:46
T42<Harsh18262> @mal i reverted that commit but still getting that dependence error20:59
electro575i don't know what exactly write in the file : ~/hadk/.repo/local_manifests/1b6b.xml21:00
mal@Harsh1826 what error and what commit?21:01
T42<Harsh18262> @electro575 refer hadk pg 1421:02
electro575yes but, ...21:02
T42<Harsh18262> the one for ofono-ril-binder-plugin21:02
electro575fatal: remote cm not defined in ~/hadk/.repo/manifest.xml21:02
electro575remote is github ?21:03
T42<Harsh18262> @electro575 have you got the links for your devices kernel device tree and vendor(if availble)21:03
electro575<project name="android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="cm" revision="cm-14.1" />21:03
mal@Harsh1826 so are you sure you didn't run full build_packages.sh after that, if you build any older version you have skip that package when running build_packages.sh21:04
electro575remote is ?21:04
electro575where can i found devices kernel, tree and vendor21:04
electro575in : mer-hybris ?21:05
T42<Harsh18262> @mal so after doing git reset ... i have to do no when the scrpit asks for building ofono-ril-binder-plugin?21:05
T42<Harsh18262> @electro575 no those can be found on lineage page if availble or else you will have to find it on github21:06
electro575juste have this21:07
electro575https://wiki.lineageos.org/devices/t0lte21:07
T42<DSstill01> You guys know something about voip calls support on sailfish? On google i only found a hacky plugin, maybe you know more21:07
mal@Harsh1826 what exactly did you run?21:07
T42<Harsh18262> ./rpm/dhd/helper/build_package.sh21:08
T42<Harsh18262> *packages21:08
electro575https://wiki.lineageos.org/devices/t0lte/build21:08
T42<Harsh18262> @electro575 https://github.com/CyanogenMod/android_device_samsung_t0lte this is your device tree21:08
electro575cm-14.121:08
mal@Harsh1826 so when did you run "build_packages.sh -b hybris/mw/ofono-ril-binder-plugin"21:09
electro575T42 thk21:09
T42<Harsh18262> @mal ran just now21:10
mal@Harsh1826 I told you to run that already when I talked about git reset21:11
T42<Harsh18262> @electro575 are u new to porting and rom building?21:11
electro575T42 i don't know21:11
T42<Harsh18262> @mal i have to run that just after git reset right21:11
T42<Harsh18262> @electro575 have u built any roms till now?21:13
mal@Harsh1826 yes, and then skip the package if you at any point after that run build_packages.sh without any parameters21:13
electro575no no21:13
electro575just flash lineageOS and Resurrection Remix21:13
electro575and adb backup21:13
electro575all part of my smartphones21:13
electro575T42 don't have vendor21:15
electro575just have device and kernel in my manifest21:16
malelectro575: please use correct highlighting method if you want to highlight anyone talking via T42, check how I did it just few lines ago21:16
electro575yes21:17
malso @ and then the nick inside <>21:17
electro575@deathmist, do you know what is the link vendor of t0lte ?21:18
malelectro575: now you didn't understand what I meant, when highlighting people talking via irc you only use the nick, when highlighting people with T42 in the beginning you use @ and then the nick which is between <> after the T4221:20
malit really shouldn't be difficult to use that correctly21:21
T42<Harsh18262> @electro575 you can use this for vendor https://github.com/MoKee/android_vendor_samsung_t0lte21:24
electro575it's ok21:24
electro575for my manifest, by example21:24
electro575https://pastebin.com/u3tT8Gqf21:24
electro575the must update is ?21:28
electro575https://github.com/LineageOS/android_device_samsung_t0lte21:28
electro575or this21:28
T42<Harsh18262> u sure smdk4412 is for ur device?21:28
electro575or this21:29
electro575https://github.com/CyanogenMod/android_device_samsung_t0lte21:29
T42<Harsh18262> the lineage os one21:29
T42<Harsh18262> @electro575 manifest is correct just add the lineage device tree also21:30
electro575sorry i must go21:34
electro575thanks, bye21:34
piggzevening21:45

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!