Tuesday, 2019-08-06

T42<austenite> Is there a command to control the preferred newtork type ofono?07:12
vknecht@austenite: if you mean gsm/umts/lte choosing, I guess a dbus command with this interface and property: https://git.merproject.org/mer-core/ofono/blob/master/ofono/doc/radio-settings-api.txt#L3407:58
vknecht*dbus-send08:00
vknechtthere are some examples of dbus-send at https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet08:00
vknecht@austenite: http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2016-04-15.log.html#t2016-04-15T13:39:5409:07
Danct12__@jusa: about the HIDL module for PA, I tested it and it seems to work16:23
Danct12__no need to use deathmist's hacky script that also doesn't work on some users \o/16:24
malDanct12__: which device was that again?16:24
Danct12__Redmi 4X16:24
malwhat android base?16:24
Danct12__LOS 15.116:24
T42<austenite> vknecht thanks for the info16:25
malok16:26
T42<austenite> but my phone doesnt obey umts mode, it keeps switching to gsm16:26
Danct12__does anyone knows where to get video codecs?16:52
malDanct12__: what is the issue?16:58
Danct12__couldn't play any videos16:58
Danct12__[W] unknown:0 - Error: "Could not configure supporting library."16:58
malwhich codec?16:59
Danct12__mp416:59
malyou mean h.264?16:59
Danct12__yep16:59
malI assume you have droidmedia and gst-droid built and installed?16:59
maldid you check the media_*.xml symlinks in /etc?17:00
Danct12__i wouldnt be able to use the camera without gst droid :P17:00
malhow should I know you have camera working17:00
malI don't remember anymore what each porter has working, I used to remember all but now I know nothing17:00
Danct12__anyway, all media* are symlinked17:02
Danct12__but i wasn't able to find "media_codecs_ffmpeg.xml"17:03
electro@elros34 : i will try to do a diff with my defconfig and it's defconfig https://github.com/CyanogenMod/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/cm_m8_defconfig17:42
malDanct12__: did you also check /vendor partition?17:42
electro@elros34 : before, i disabled selinux17:43
electroand add two lines17:45
electrohybris-boot/init-script17:46
electro /sys/devices/platform/android_usb/usb_function_switch 417:46
electroand this : echo "hybris-boot: initramfs" > /dev/kmsg17:46
electro@elros34 : Do you have an advice maybe ?18:01
electro@elros34 : i just need to build the kernel and flash hybris-boot ? or create an new image18:04
electromal, have you a minute please ?18:04
electrowho are present ?18:55
T42<austenite> electro build hybris-boot as your change is in defconfig18:58
electrookey, it's just that so ?18:58
electroand flash hybris-boot.img18:58
T42<austenite> yeah19:00
electroso, i try with this defconfig ?19:02
electrohttps://github.com/CyanogenMod/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/m8_defconfig19:02
T42<elros34> @electro: maybe usb_function_switch need to be wirtten befor enable or something else is needed, you need to search or test it twrp/android19:02
electroi don't know what i must enable19:02
T42<elros34> regenerate your defconfig: make hybris-boot then copy over /out/target*/.config to your defconfig19:03
electroregenerate = remove defconfig and copy my defconfig_save19:04
T42<elros34> ? copy out/*/.config to your defconfig19:05
electroi search .config19:06
T42<elros34> how could you not know where is your .config when you use it every time with mer-kernel-check?19:06
electroyes, sorry19:07
electroall right19:07
electro./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config19:07
electrookey, i regenerate19:07
electro@elros34 : what do you want to say about this sentences ?19:10
electromaybe usb_function_switch need to be wirtten befor enable or something else is needed, you need to search or test it twrp/android19:10
electroWhat can i do now ?19:11
T42<elros34> I mean move usb_function_switch one line up before write "$ANDROID_USB/enable          1".19:13
electroO okey19:13
electroand after, do you think it's right for rndis ?19:14
electroor need again changes for it19:14
electroin my defconfig19:14
T42<elros34> Also I never tried it but maybe it will be easier to use twrp or android to figure out what needs to be done to get usb0 or rndis0 (ifconfig -a)19:14
T42<elros34> I don't know what needs to be done but there are few htc sfos ports so it should be possible19:15
electrodo you know a guys how have port ?19:15
electrobut port in old sailfish OS19:15
electro2.X19:15
electrolineageos can port htc one m819:17
electromaybe i can enable some part of the defconfig github19:18
electro@elros34 : what is the most different of other ROM CM and LineageOS ? Libhybris ?19:19
electrowho can i contact to debug this beginning19:20
electro@elros34 : when you say copy over it mean "cp source dest" ?19:21
T42<elros34> I mean copy it desn't matter whether you use cp or gui19:22
T42<elros34> for example, here is some usefull info about enabling usb0 https://wiki.merproject.org/wiki/Community_Workspace/HTC_ACE19:26
electrookey19:27
electro@elros34 : i must fix error of kernel_checker ?19:32
T42<elros34> usually it's needed, errors prevents building droid-hal packages19:36
electro@elros34 : the manifest.xml is not the same as mine19:38
electroi suppose it's good, i have follow lineage.dependeices19:39
electrohttps://dpaste.de/YLnj19:39
electrois good ? TheMuppets/proprietary_vendor_htc19:39
electroi ignore this step of .xml and try to do other step of your link ?19:39
electro@elros34 : it's piggz who port HTC ?19:40
electropiggz/android_kernel_htc_msm7x3019:40
T42<elros34> @electro I don't know just read it, it's one line about usb019:45
electroone line ?19:46
T42<elros34> yes...   1 line: echo 1 > /sys/class/android_usb/f_rndis/on19:47
electroon twrp so19:47
electro@elros34 : with this command : echo 1 > /sys/class/android_usb/f_rndis/on20:01
electroi have this on HOST dmesg20:01
electrohttps://dpaste.de/KWvT20:01
electroafter this ?20:01
electroi think it's good, sorry20:02
electroi don't follow all20:02
electro@elros34 : it's not usb0 ? rmnet_usb020:11
electrohttps://dpaste.de/puh920:11
electrono rndis interface20:11
electro@elros34 : this guys have port htc one m8 on LineageOS20:18
electrohttps://github.com/bgcngm/proprietary_vendor_htc/tree/cm-14.1/m820:18
electrohttps://github.com/bgcngm?tab=repositories20:20
electrohttps://github.com/bgcngm/android_kernel_htc_msm8974/blob/lineage-15.1/arch/arm/configs/m8_defconfig20:22
malelectro: android base doesn't matter, some things are different in each base20:36
malI assume you did the thing mentioned in faq for 15.1?20:37
electronot now, but what for beginning ?20:37
electroi will see that20:38
malwhat are you saying?20:38
electrothis notes ? Notes on LOS15.1 Porting20:39
malyes20:39
electroi didn't do that entiry, just the first 4 lines20:39
electrono copy files from20:39
electrodroid-config-sony20:39
malyou need to copy the files if you want to get UI working20:39
electroyes20:40
malI have no idea how far your porting is now20:40
electrohow copy files ?20:40
electrogit clone20:40
electrohumm, i have modify this20:41
electro/home/sailfish-dev-htc-one-m8/hadk/hybris/hybris-boot/init-script20:41
electroadd this line : /sys/devices/platform/android_usb/usb_function_switch 420:41
electroand this line : echo "hybris-boot: initramfs" > /dev/kmsg20:41
electroi will see that tomorrow20:41
malwell it's one way to clone that repo to some other place and the copy from there or open each file in browser, select raw mode from above the file content and then save those to correct place on your computer20:42
electroyes20:43
electroi have no : hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init20:47
electroi have : hybris/droid-configs/sparse/var20:47
T42<elros34> oh I noticed it now you didn't add to init-debug whole line I told you (you miss write). You did not add f_rnids/on also. This is annoying20:47
electrowhat ?20:51
malelectro: how about using your brain and creating the folders needed?20:53
T42<elros34> maybe my english is to bad to explain things to you, somebody else might help you better20:53
electroi have copy all line on file init-debug -> echo 1 > /sys/class/android_usb/f_rndis/on20:55
electroat the end of the file after do_mount_devprocsys20:55
electro@mal, why not okey20:55
electro@elros34 : it's my english whose soso, not you20:57
malelectro: ?20:59
electro@mal: nothing20:59
electro@elros34 : i must add a line with "f_rndis/on" only ?21:00

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